#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;
// class name
-extern WXDLLEXPORT_DATA(const wxChar) wxGenericCollapsiblePaneNameStr[];
+extern WXDLLIMPEXP_DATA_ADV(const wxChar) wxGenericCollapsiblePaneNameStr[];
// ----------------------------------------------------------------------------
// wxGenericCollapsiblePane
// ----------------------------------------------------------------------------
-class WXDLLEXPORT wxGenericCollapsiblePane : public wxCollapsiblePaneBase
+class WXDLLIMPEXP_ADV wxGenericCollapsiblePane : public wxCollapsiblePaneBase
{
public:
wxGenericCollapsiblePane() { Init(); }
// implementation only, don't use
void OnStateChange(const wxSize& sizeNew);
-protected:
+protected:
// overridden methods
virtual wxSize DoGetBestSize() const;
DECLARE_EVENT_TABLE()
};
+#endif // wxUSE_BUTTON && wxUSE_STATLINE
-#endif // _WX_COLLAPSABLE_PANE_H_GENERIC_
+#endif // _WX_COLLAPSABLE_PANE_H_GENERIC_