]> git.saurik.com Git - wxWidgets.git/commitdiff
add wxUSE_CONFIG guard
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Mar 2009 14:03:45 +0000 (14:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 7 Mar 2009 14:03:45 +0000 (14:03 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/config.h

index ddbbbe2f47f508ce4a45387a4ca9cadd00810efd..74f90300f786d204bde25b2f21a927448a332ac2 100644 (file)
@@ -13,6 +13,9 @@
 #define _WX_CONFIG_H_BASE_
 
 #include "wx/defs.h"
+
+#if wxUSE_CONFIG
+
 #include "wx/confbase.h"
 
 // ----------------------------------------------------------------------------
@@ -35,4 +38,6 @@
     #define wxConfig wxFileConfig
 #endif
 
+#endif // wxUSE_CONFIG
+
 #endif // _WX_CONFIG_H_BASE_