]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/config.h
wxCHECK/wxCHECK_RET changes
[wxWidgets.git] / include / wx / config.h
index 07ddc77804cd14d894c21a2dec73545c85b90789..2f1a93cfe4a80325d4903f454aa4400fe8cf4af0 100644 (file)
@@ -1,6 +1,7 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        
-// Purpose:     
+// Name:        config.h
+// Purpose:     declaration of the base class of all config implementations
+//              (see also: fileconf.h and msw/regconf.h)
 // Author:      Karsten Ballüder & Vadim Zeitlin
 // Modified by: 
 // Created:     07.04.98 (adapted from appconf.h)
 #ifndef   _APPCONF_H
 #define   _APPCONF_H
 
+// ----------------------------------------------------------------------------
+// compile options
+// ----------------------------------------------------------------------------
+
+// it won't compile without it anyhow
+#ifndef USE_WXCONFIG
+  #error "Please define USE_WXCONFIG or remove config.cpp from your makefile"
+#endif // USE_WXCONFIG
+
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------