]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/chkconf.h
compilation fix for Borland C++
[wxWidgets.git] / include / wx / msw / chkconf.h
index 3dfde0d6dd59efa63f2289d7115c9440664c3469..6e8d2e815b09ede5dfe1ecd284ef5f18c6243bf8 100644 (file)
 #   define wxUSE_UNICODE_MSLU 0
 #endif
 
+/*
+ * Don't use MSLU if compiling with Wine
+ */
+
+#if wxUSE_UNICODE_MSLU && defined(__WINE__)
+#   undef wxUSE_UNICODE_MSLU
+#   define wxUSE_UNICODE_MSLU 0
+#endif
+
 /*
  * All of the settings below require SEH support (__try/__catch) and can't work
  * without it.
     #if wxUSE_ACTIVEX
         #undef wxUSE_ACTIVEX
         #define wxUSE_ACTIVEX 0
-    #endif // wxUSE_ACTIVEX
-#endif // __WINE__
+    #endif /* wxUSE_ACTIVEX */
+#endif /* __WINE__ */
 
 
 /* check settings consistency for MSW-specific ones */