// wxGenericCollapsiblePane
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxGenericCollapsiblePane : public wxCollapsiblePaneBase
+class WXDLLIMPEXP_CORE wxGenericCollapsiblePane :
+ public wxNavigationEnabled<wxCollapsiblePaneBase>
{
public:
wxGenericCollapsiblePane() { Init(); }
virtual bool Layout();
+
+ // for the generic collapsible pane only:
+ wxControl* GetControlWidget() const
+ { return (wxControl*)m_pButton; }
+
// implementation only, don't use
void OnStateChange(const wxSize& sizeNew);
void OnButton(wxCommandEvent &ev);
void OnSize(wxSizeEvent &ev);
- WX_DECLARE_CONTROL_CONTAINER();
DECLARE_DYNAMIC_CLASS(wxGenericCollapsiblePane)
DECLARE_EVENT_TABLE()
};