]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/config.h
Warning fixes for MinGW.
[wxWidgets.git] / include / wx / config.h
index d9ffb9fa58042f6b3ce6904afb7e62333b84f9c1..e6275cb52ef1e0aa4c14bc9d8f771b7fb9cfff71 100644 (file)
@@ -3,12 +3,14 @@
 
 #include "wx/confbase.h"
 
-#if defined(__WXMSW__) && defined(wxCONFIG_WIN32_NATIVE)
-#  ifdef __WIN32__
-#    include "wx/msw/regconf.h"
-#else
-#    include "wx/msw/iniconf.h"
-#  endif
+#if defined(__WXMSW__) && wxUSE_CONFIG_NATIVE
+#    ifdef __WIN32__
+#        include "wx/msw/regconf.h"
+#    else
+#        include "wx/msw/iniconf.h"
+#    endif
+#elif defined(__WXPALMOS__) && wxUSE_CONFIG_NATIVE
+#    include "wx/palmos/prefconf.h"
 #else
 #    include "wx/fileconf.h"
 #endif