]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/collpaneg.h
SetTextColour is gone
[wxWidgets.git] / include / wx / generic / collpaneg.h
index 843b8d6dc2cb8522e64019d3ba6bbc62e1947429..c8466c690d58d2481042cc336ac6effe0d9a2dce 100644 (file)
@@ -12,6 +12,8 @@
 #ifndef _WX_COLLAPSABLE_PANE_H_GENERIC_
 #define _WX_COLLAPSABLE_PANE_H_GENERIC_
 
+#if wxUSE_BUTTON && wxUSE_STATLINE
+
 // forward declared
 class WXDLLEXPORT wxButton;
 class WXDLLEXPORT wxStaticLine;
@@ -102,5 +104,7 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
+#endif // wxUSE_BUTTON && wxUSE_STATLINE
+
 
 #endif // _WX_COLLAPSABLE_PANE_H_GENERIC_