]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/preferences.h
adding OnLaunched
[wxWidgets.git] / include / wx / preferences.h
index fb6387a0757a8314ae8d66c0c01e189add01354b..f93472e4f297476b9d3fb5695ffbe6563fb296ca 100644 (file)
@@ -12,6 +12,9 @@
 #define _WX_PREFERENCES_H_
 
 #include "wx/defs.h"
+
+#if wxUSE_PREFERENCES_EDITOR
+
 #include "wx/bitmap.h"
 #include "wx/vector.h"
 
@@ -138,4 +141,6 @@ private:
     wxDECLARE_NO_COPY_CLASS(wxPreferencesEditor);
 };
 
+#endif // wxUSE_PREFERENCES_EDITOR
+
 #endif // _WX_PREFERENCES_H_