]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/prop.h
fixed off by one error in wxXPMDecoder::ReadFile
[wxWidgets.git] / include / wx / prop.h
index 24348b1e70062e3bc7d05f007d9df3022d0ca583..9207cb2d93b3704b88defbd6252e3ba4809ad455 100644 (file)
@@ -16,6 +16,8 @@
 #pragma interface "prop.h"
 #endif
 
+#if wxUSE_PROPSHEET
+
 #include "wx/defs.h"
 #include "wx/string.h"
 #include "wx/hash.h"
@@ -26,6 +28,7 @@
 #include "wx/textctrl.h"
 #include "wx/gdicmn.h"
 #include "wx/layout.h"
+#include "wx/sizer.h"
 
 class wxWindow;
 class wxProperty;
@@ -333,5 +336,8 @@ class WXDLLEXPORT wxProperty: public wxObject
   inline bool IsEnabled(void) const { return m_enabled; }
 };
 
+#endif
+  // wxUSE_PROPSHEET
+
 #endif
   // _WX_PROP_H_