X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c693edf3bc9539378a7ac56d90d41d89c7dc7579..b814b812485527736a6c11fd3468df36f97a1e4a:/include/wx/prop.h diff --git a/include/wx/prop.h b/include/wx/prop.h index 24348b1e70..6ddf2f3b5f 100644 --- a/include/wx/prop.h +++ b/include/wx/prop.h @@ -12,10 +12,12 @@ #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_