X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..d38e8d5f34262fa688cd0e5d397a2201978e5fa7:/include/wx/proplist.h diff --git a/include/wx/proplist.h b/include/wx/proplist.h index ea93c33eb0..b21f36aa09 100644 --- a/include/wx/proplist.h +++ b/include/wx/proplist.h @@ -42,11 +42,14 @@ #ifndef _WX_PROPLIST_H_ #define _WX_PROPLIST_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "proplist.h" #endif +#if wxUSE_PROPSHEET + #include "wx/prop.h" +#include "wx/panel.h" #define wxPROP_BUTTON_CLOSE 1 #define wxPROP_BUTTON_OK 2 @@ -578,5 +581,8 @@ class WXDLLEXPORT wxListOfStringsListValidator: public wxPropertyListValidator void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); }; +#endif + // wxUSE_PROPSHEET + #endif // _WX_PROPLIST_H_