From: Vadim Zeitlin Date: Sun, 28 Aug 2005 13:11:18 +0000 (+0000) Subject: corrected #ifdefs testing wxUSE_UNICODE_MSLU X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/774960ce3cd18e4722f940d59031144a4bcc7fc9?ds=sidebyside corrected #ifdefs testing wxUSE_UNICODE_MSLU git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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;