#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
IsExpandingEnvVars function).
*/
-class wxFileConfig : public wxConfigBase
+class WXDLLEXPORT wxFileConfig : public wxConfigBase
{
public:
// construct the "standard" full name for global (system-wide) and
};
};
-#endif //_FILECONF_H
+#endif
+ // wxUSE_CONFIG
+
+#endif
+ //_FILECONF_H