corrected #ifdefs testing wxUSE_UNICODE_MSLU
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -282,8 +282,7 @@ static bool wxIsUnicodeAvailable()
|
|||||||
);
|
);
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
#endif // !wxUSE_UNICODE_MSLU
|
#else // wxUSE_UNICODE_MSLU
|
||||||
|
|
||||||
// and the MSLU DLL must also be available
|
// and the MSLU DLL must also be available
|
||||||
HMODULE hmod = ::LoadLibraryA("unicows.dll");
|
HMODULE hmod = ::LoadLibraryA("unicows.dll");
|
||||||
if ( !hmod )
|
if ( !hmod )
|
||||||
@@ -324,6 +323,7 @@ static bool wxIsUnicodeAvailable()
|
|||||||
}
|
}
|
||||||
|
|
||||||
::FreeLibrary(hmod);
|
::FreeLibrary(hmod);
|
||||||
|
#endif // !wxUSE_UNICODE_MSLU
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user