X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..cba5a276e4821a0ae7d1e7a435d6aab38baa0a9f:/include/wx/propform.h diff --git a/include/wx/propform.h b/include/wx/propform.h index 3b3b1ad859..723fc50333 100644 --- a/include/wx/propform.h +++ b/include/wx/propform.h @@ -12,10 +12,12 @@ #ifndef _WX_PROPFORM_H_ #define _WX_PROPFORM_H_ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "propform.h" #endif +#if wxUSE_PROPSHEET + #include "wx/prop.h" //// @@ -324,5 +326,8 @@ private: DECLARE_CLASS(wxPropertyFormFrame) }; +#endif + // wxUSE_PROPSHEET + #endif // _WX_PROPFORM_H_