Thread overview | |||||
---|---|---|---|---|---|
|
April 11, 2006 UNICODE | ||||
---|---|---|---|---|
| ||||
When I compiling wxWidgets v2.6.3 in UNICODE with: smake -f makefile.dms UNICODE=1 Have I got that to set in \lib\dmc_lib\mswu\wx\setup.h wxUSE_UNICODE to 1, or this is only when I compiling my wxWidgets' application? I have compiled wxWidgets with this flag to 0, with smake -f makefile.dms UNICODE=1, and there isn't any errors in my applications. // ---------------------------------------------------------------------------- // Unicode support // ---------------------------------------------------------------------------- // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be // defined as wchar_t, wxString will use Unicode internally. If you set this // to 1, you must use wxT() macro for all literal strings in the program. // // Unicode is currently only fully supported under Windows NT/2000/XP // (Windows 9x doesn't support it and the programs compiled in Unicode mode // will not run under 9x -- but see wxUSE_UNICODE_MSLU below). // // Default is 0 // // Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP) #ifndef wxUSE_UNICODE #define wxUSE_UNICODE 0 #endif |
April 11, 2006 Re: UNICODE | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jar | // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
// defined as wchar_t, wxString will use Unicode internally. If you set this
// to 1, you must use wxT() macro for all literal strings in the program.
//
// Unicode is currently only fully supported under Windows NT/2000/XP
// (Windows 9x doesn't support it and the programs compiled in Unicode mode
// will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
//
// Default is 0
//
// Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
You have to set it to 1 when you compile wxWidgets...
You have to set it to 1 when you compile your executables including wxWidgets.
Jan
--
ManiaC++
Jan Knepper
But as for me and my household, we shall use Mozilla...
www.mozilla.org
Jar wrote:
> When I compiling wxWidgets v2.6.3 in UNICODE with:
> smake -f makefile.dms UNICODE=1
> Have I got that to set in \lib\dmc_lib\mswu\wx\setup.h wxUSE_UNICODE to 1, or
> this is only when I compiling my wxWidgets' application?
> I have compiled wxWidgets with this flag to 0, with smake -f makefile.dms
> UNICODE=1, and there isn't any errors in my applications.
>
> // ----------------------------------------------------------------------------
> // Unicode support
> // ----------------------------------------------------------------------------
>
> // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar will be
> // defined as wchar_t, wxString will use Unicode internally. If you set this
> // to 1, you must use wxT() macro for all literal strings in the program.
> //
> // Unicode is currently only fully supported under Windows NT/2000/XP
> // (Windows 9x doesn't support it and the programs compiled in Unicode mode
> // will not run under 9x -- but see wxUSE_UNICODE_MSLU below).
> //
> // Default is 0
> //
> // Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
> #ifndef wxUSE_UNICODE
> #define wxUSE_UNICODE 0
> #endif
>
>
>
|
August 08, 2007 Re: UNICODE | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jan Knepper | aha |
Copyright © 1999-2021 by the D Language Foundation