]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/config.h
Fix errors in handling of maximum field in wxGenericProgressDialog.
[wxWidgets.git] / include / wx / config.h
index ddbbbe2f47f508ce4a45387a4ca9cadd00810efd..e8734bf25d51c19180cc0771767c574f9092428f 100644 (file)
 #ifndef _WX_CONFIG_H_BASE_
 #define _WX_CONFIG_H_BASE_
 
-#include "wx/defs.h"
 #include "wx/confbase.h"
 
+#if wxUSE_CONFIG
+
 // ----------------------------------------------------------------------------
 // define the native wxConfigBase implementation
 // ----------------------------------------------------------------------------
@@ -35,4 +36,6 @@
     #define wxConfig wxFileConfig
 #endif
 
+#endif // wxUSE_CONFIG
+
 #endif // _WX_CONFIG_H_BASE_