cleanup (mainly wrapping lines to be < 80 chars); added IsExpanded()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-22 23:10:07 +00:00
parent a978c7d258
commit 550d433e52
4 changed files with 107 additions and 139 deletions

View File

@@ -26,15 +26,16 @@ class WXDLLEXPORT wxCollapsiblePaneBase : public wxControl
public:
wxCollapsiblePaneBase() {}
virtual void Expand()
{ Collapse(false); }
virtual void Collapse(bool collapse = true) = 0;
void Expand() { Collapse(false); }
virtual bool IsCollapsed() const = 0;
bool IsExpanded() const { return !IsCollapsed(); }
virtual wxWindow *GetPane() const = 0;
virtual wxString GetLabel() const = 0;
virtual void SetLabel(const wxString &label) = 0;
virtual void SetLabel(const wxString& label) = 0;
};