//------------------------------------------------------------------------
-#if !wxUSE_UNICODE_MSLU
-
-bool wxUsingUnicowsDll()
-{
- return false;
-}
-
-#else
+#if wxUSE_UNICODE_MSLU
//------------------------------------------------------------------------
//
#undef GetOpenFileNameW
#undef GetSaveFileNameW
-// Returns true if we are running under Unicode emulation in Win9x environment.
-// Workaround hacks take effect only if this condition is met
-bool wxUsingUnicowsDll()
-{
- return (wxGetOsVersion() == wxWIN95);
-}
-
//------------------------------------------------------------------------
// Wrongly implemented functions from unicows.dll
//------------------------------------------------------------------------
// implementation
// ============================================================================
+#if !wxUSE_UNICODE_MSLU
+
+bool wxUsingUnicowsDll()
+{
+ return false;
+}
+
+#else
+
+bool wxUsingUnicowsDll()
+{
+ return (wxGetOsVersion() == wxWIN95);
+}
+
+#endif
+
// ----------------------------------------------------------------------------
// get host name and related
// ----------------------------------------------------------------------------