git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42523
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
#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;
DECLARE_EVENT_TABLE()
};
+#endif // wxUSE_BUTTON && wxUSE_STATLINE
+
#endif // _WX_COLLAPSABLE_PANE_H_GENERIC_
#include "wx/collpane.h"
+#if wxUSE_BUTTON && wxUSE_STATLINE
+
#ifndef WX_PRECOMP
#include "wx/toplevel.h"
#include "wx/button.h"
// this is very important to make the pane window layout show correctly
m_pPane->Layout();
}
+
+#endif // wxUSE_BUTTON && wxUSE_STATLINE