X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/42b4e99e9a72c259e6a4d24b7e9cd5a3129a990f..159b66c02a8f1c724d1af3c768ad5d90f4c8a0e2:/include/wx/prop.h?ds=sidebyside

diff --git a/include/wx/prop.h b/include/wx/prop.h
index 109b51a4ad..9207cb2d93 100644
--- a/include/wx/prop.h
+++ b/include/wx/prop.h
@@ -16,6 +16,8 @@
 #pragma interface "prop.h"
 #endif
 
+#if wxUSE_PROPSHEET
+
 #include "wx/defs.h"
 #include "wx/string.h"
 #include "wx/hash.h"
@@ -334,5 +336,8 @@ class WXDLLEXPORT wxProperty: public wxObject
   inline bool IsEnabled(void) const { return m_enabled; }
 };
 
+#endif
+  // wxUSE_PROPSHEET
+
 #endif
   // _WX_PROP_H_