From: Gilles Depeyrot Date: Sat, 21 Jul 2001 05:23:06 +0000 (+0000) Subject: added missing conditional compilation test for wxUSE_PROPSHEET X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/057d323c632162872dd42e804e60d6f1c2d04ed9 added missing conditional compilation test for wxUSE_PROPSHEET git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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_ diff --git a/include/wx/propform.h b/include/wx/propform.h index 3b3b1ad859..426bd05a52 100644 --- a/include/wx/propform.h +++ b/include/wx/propform.h @@ -16,6 +16,8 @@ #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_ diff --git a/include/wx/proplist.h b/include/wx/proplist.h index ea93c33eb0..21be88015a 100644 --- a/include/wx/proplist.h +++ b/include/wx/proplist.h @@ -46,6 +46,8 @@ #pragma interface "proplist.h" #endif +#if wxUSE_PROPSHEET + #include "wx/prop.h" #define wxPROP_BUTTON_CLOSE 1 @@ -578,5 +580,8 @@ class WXDLLEXPORT wxListOfStringsListValidator: public wxPropertyListValidator void OnEdit(wxProperty *property, wxPropertyListView *view, wxWindow *parentWindow); }; +#endif + // wxUSE_PROPSHEET + #endif // _WX_PROPLIST_H_