// wxGenericCollapsiblePane
// ----------------------------------------------------------------------------
-class WXDLLIMPEXP_CORE wxGenericCollapsiblePane : public wxCollapsiblePaneBase
+class WXDLLIMPEXP_CORE wxGenericCollapsiblePane :
+ public wxNavigationEnabled<wxCollapsiblePaneBase>
{
public:
wxGenericCollapsiblePane() { Init(); }
// for the generic collapsible pane only:
wxControl* GetControlWidget() const
- { return m_pButton; }
+ { 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()
};