]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fileconf.h
added wx<TemplateListName>::Node typedef for the node corresponding to this list
[wxWidgets.git] / include / wx / fileconf.h
index 532f0c4a63b7192ccf3cf2198fc10aa2b6f45dbc..e4eec24fa1d36a34464cd1c3277634e80a5bbe0f 100644 (file)
 #endif
 
 #include "wx/defs.h"
+
+#ifdef wxUSE_CONFIG
+
+#include "wx/confbase.h"
 #include "wx/textfile.h"
 #include "wx/string.h"
 
-// ----------------------------------------------------------------------------
-// compile options
-// ----------------------------------------------------------------------------
-
-// it won't compile without it anyhow
-#ifndef wxUSE_CONFIG
-  #error "Please define wxUSE_CONFIG or remove fileconf.cpp from your makefile"
-#endif // wxUSE_CONFIG
 
 // ----------------------------------------------------------------------------
 // wxFileConfig
@@ -351,5 +347,9 @@ public:
   };
 };
 
-#endif  //_FILECONF_H
+#endif
+   // wxUSE_CONFIG
+
+#endif
+  //_FILECONF_H