]> git.saurik.com Git - wxWidgets.git/commitdiff
Trying hard to make things compile.
authorRobert Roebling <robert@roebling.de>
Sun, 26 Sep 2004 18:13:18 +0000 (18:13 +0000)
committerRobert Roebling <robert@roebling.de>
Sun, 26 Sep 2004 18:13:18 +0000 (18:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/mslu.h
src/msw/mslu.cpp

index 1cdc0b33370634bedeb6691a8320ccd1fb9f2569..af0a0d5eb65428b636fc29014cb8c0bd117a3d38 100644 (file)
 #include "wx/utils.h"
 #include "wx/wxchar.h"
 
-#if !wxUSE_UNICODE_MSLU
-inline bool wxUsingUnicowsDll() { return false; }
-#else
-
-// Returns true if we are running under Unicode emulation in Win9x environment.
-// Workaround hacks take effect only if this condition is met
-inline bool wxUsingUnicowsDll()
-{
-    return (wxGetOsVersion() == wxWIN95);
-}
+//------------------------------------------------------------------------
+
+WXDLLEXPORT bool wxUsingUnicowsDll();
+
+#if wxUSE_UNICODE_MSLU
 
 //------------------------------------------------------------------------
 // Wrongly implemented functions from unicows.dll
index b77c2e507a3fa4e98ca3587b11e224cb60150859..3e63d04fb25b795fa8739dd9bca36ab74d77d245 100644 (file)
     #include "wx/defs.h"
 #endif
 
-#if wxUSE_UNICODE_MSLU
+//------------------------------------------------------------------------
+
+#if !wxUSE_UNICODE_MSLU
+
+bool wxUsingUnicowsDll()
+{ 
+    return false; 
+}
+
+#else
 
 //------------------------------------------------------------------------
 //
 #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
 //------------------------------------------------------------------------