c++.wxwindows - UNICODE
- Jar (23/23) Apr 11 2006 When I compiling wxWidgets v2.6.3 in UNICODE with:
- Jan Knepper (22/50) Apr 11 2006 // Set wxUSE_UNICODE to 1 to compile wxWidgets in Unicode mode: wxChar
- ceva (1/1) Aug 08 2007 aha
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
Apr 11 2006
// 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
Apr 11 2006