From db3272a001f710cd8520dc712978fc068ef64016 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 17 Dec 2001 00:29:52 +0000 Subject: [PATCH] added wxUSE_UNICODE_MSLU git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/setup0.h | 16 ++++++++++++++-- setup.h.in | 5 +++++ 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 2a49eafd46..efb848adfb 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -161,15 +161,27 @@ // 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 (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 // under 9x). // // 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 +// 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 // compiling the program in Unicode mode. More precisely, it will be possible // to construct wxString from a wide (Unicode) string and convert any wxString diff --git a/setup.h.in b/setup.h.in index f10213dcda..0921b8c429 100644 --- a/setup.h.in +++ b/setup.h.in @@ -606,6 +606,11 @@ */ #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. * -- 2.45.2