]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/prop.h
move code from .h to .cpp to prevent Borland warning
[wxWidgets.git] / include / wx / prop.h
index 24348b1e70062e3bc7d05f007d9df3022d0ca583..6ddf2f3b5f0a2b3b9a528c2b1c1b76101810b80d 100644 (file)
 #ifndef _WX_PROP_H_
 #define _WX_PROP_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #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_