X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/037c7b4c7b6c87c40f3ba966a0c3e91a402b4dfa..89360a8c873add3f68e05191d9311cc10a49442d:/include/wx/gtk/collpane.h diff --git a/include/wx/gtk/collpane.h b/include/wx/gtk/collpane.h index 76dc4bd2f4..563ad8f3df 100644 --- a/include/wx/gtk/collpane.h +++ b/include/wx/gtk/collpane.h @@ -51,25 +51,22 @@ public: const wxValidator& val = wxDefaultValidator, const wxString& name = wxCollapsiblePaneNameStr); -public: // public API - - wxSize DoGetBestSize() const; void Collapse(bool collapse = true); bool IsCollapsed() const; void SetLabel(const wxString &str); - void OnSize(wxSizeEvent&); +protected: + virtual wxSize DoGetBestSize() const; public: // used by GTK callbacks - bool m_bIgnoreNextChange; wxSize m_szCollapsed; private: + void OnSize(wxSizeEvent&); + DECLARE_DYNAMIC_CLASS(wxCollapsiblePane) DECLARE_EVENT_TABLE() }; - -#endif - // _WX_COLLAPSABLE_PANEL_H_GTK_ +#endif // _WX_COLLAPSABLE_PANEL_H_GTK_