]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/collpaneg.cpp
update the Cairo version to match recent changes in the others
[wxWidgets.git] / src / generic / collpaneg.cpp
index 8985914aa10b1c565799a776379d52ef93f3332e..2f1ea156b472f824c5cdc48ab0cb9ff04d1f51d3 100644 (file)
@@ -19,6 +19,8 @@
 
 #include "wx/collpane.h"
 
+#if wxUSE_BUTTON && wxUSE_STATLINE
+
 #ifndef WX_PRECOMP
     #include "wx/toplevel.h"
     #include "wx/button.h"
@@ -236,3 +238,5 @@ void wxGenericCollapsiblePane::OnSize(wxSizeEvent& WXUNUSED(event))
     // this is very important to make the pane window layout show correctly
     m_pPane->Layout();
 }
+
+#endif // wxUSE_BUTTON && wxUSE_STATLINE