]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/prefconf.h
Fix compilation of wxIconBundle in some particular minimal builds.
[wxWidgets.git] / include / wx / palmos / prefconf.h
index 1ca9a013ee70f4b87ab3d2d24d92fd26b11ff71a..dabcaef369e0c3f40d83ba688ac226db1ff8f9cc 100644 (file)
 #ifndef _PREFCONF_H_
 #define _PREFCONF_H_
 
+#include "wx/defs.h"
+
+#if wxUSE_CONFIG
+
 // ----------------------------------------------------------------------------
 // wxPrefConfig
 // ----------------------------------------------------------------------------
@@ -83,9 +87,10 @@ private:
   // current group modified ?
   bool m_modGroup;
 
-  DECLARE_NO_COPY_CLASS(wxPrefConfig)
+  wxDECLARE_NO_COPY_CLASS(wxPrefConfig);
   DECLARE_ABSTRACT_CLASS(wxPrefConfig)
 };
 
-#endif // _PREFCONF_H_
+#endif // wxUSE_CONFIG
 
+#endif // _PREFCONF_H_