added wxUSE_UNICODE_MSLU

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2001-12-17 00:29:52 +00:00
parent c4d596ea01
commit db3272a001
2 changed files with 19 additions and 2 deletions

View File

@@ -161,15 +161,27 @@
// defined as wchar_t, wxString will use Unicode internally. If you set this // 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. // to 1, you must use wxT() macro for all literal strings in the program.
// //
// Unicode is currently only fully supported under Windows NT/2000 (Windows 9x // 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 // doesn't support it and the programs compiled in Unicode mode will not run
// under 9x). // under 9x).
// //
// Default is 0 // Default is 0
// //
// Recommended setting: 0 (unless you only plan to use Windows NT/2000) // Recommended setting: 0 (unless you only plan to use Windows NT/2000/XP)
#define wxUSE_UNICODE 0 #define wxUSE_UNICODE 0
// Set wxUSE_UNICODE_MSLU to 1 if you want to compile wxWindows in Unicode mode
// and be able to run compiled apps under Windows 9x as well as NT/2000/XP. This
// setting enables use of unicows.dll from MSLU (MS Layer for Unicode, see
// http://www.microsoft.com/globaldev/Articles/mslu_announce.asp). Note that you
// will have to modify the makefiles to include unicows.lib import library as the first
// library.
//
// Default is 0
//
// Recommended setting: 0
#define wxUSE_UNICODE_MSLU 0
// Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without // Setting wxUSE_WCHAR_T to 1 gives you some degree of Unicode support without
// compiling the program in Unicode mode. More precisely, it will be possible // compiling the program in Unicode mode. More precisely, it will be possible
// to construct wxString from a wide (Unicode) string and convert any wxString // to construct wxString from a wide (Unicode) string and convert any wxString

View File

@@ -606,6 +606,11 @@
*/ */
#define wxUSE_UNICODE 0 #define wxUSE_UNICODE 0
/*
* Use MS Layer for Unicode on Win9X (Win32 only)?
*/
#define wxUSE_UNICODE_MSLU 0
/* /*
* Work around a bug in GNU libc 5.x wcstombs() implementation. * Work around a bug in GNU libc 5.x wcstombs() implementation.
* *