]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/fileconf.h
Added wxPrivateDropTarget
[wxWidgets.git] / include / wx / fileconf.h
index 532f0c4a63b7192ccf3cf2198fc10aa2b6f45dbc..e9d45d9e1106b7d451e433cd94db6af01590f7a5 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
@@ -99,7 +95,7 @@
    IsExpandingEnvVars function).
 */
 
-class wxFileConfig : public wxConfigBase
+class WXDLLEXPORT wxFileConfig : public wxConfigBase
 {
 public:
   // construct the "standard" full name for global (system-wide) and
@@ -351,5 +347,9 @@ public:
   };
 };
 
-#endif  //_FILECONF_H
+#endif
+   // wxUSE_CONFIG
+
+#endif
+  //_FILECONF_H