From 774960ce3cd18e4722f940d59031144a4bcc7fc9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 28 Aug 2005 13:11:18 +0000 Subject: [PATCH] corrected #ifdefs testing wxUSE_UNICODE_MSLU git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/main.cpp b/src/msw/main.cpp index ead91896d5..8fb3fa3b23 100644 --- a/src/msw/main.cpp +++ b/src/msw/main.cpp @@ -282,8 +282,7 @@ static bool wxIsUnicodeAvailable() ); return false; -#endif // !wxUSE_UNICODE_MSLU - +#else // wxUSE_UNICODE_MSLU // and the MSLU DLL must also be available HMODULE hmod = ::LoadLibraryA("unicows.dll"); if ( !hmod ) @@ -324,6 +323,7 @@ static bool wxIsUnicodeAvailable() } ::FreeLibrary(hmod); +#endif // !wxUSE_UNICODE_MSLU } return true; -- 2.45.2