@library{wxcore}
@category{ctrl}
- <!-- @appearance{collapsiblepane.png} -->
+ @appearance{collapsiblepane.png}
@see wxPanel, wxCollapsiblePaneEvent
*/
Default constructor.
*/
wxCollapsiblePane();
-
+
/**
Initializes the object and calls Create() with all the parameters.
*/
const wxSize& size = wxDefaultSize,
long style = wxCP_DEFAULT_STYLE,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = "collapsiblePane");
+ const wxString& name = wxCollapsiblePaneNameStr);
/**
@param parent
const wxSize& size = wxDefaultSize,
long style = wxCP_DEFAULT_STYLE,
const wxValidator& validator = wxDefaultValidator,
- const wxString& name = "collapsiblePane");
+ const wxString& name = wxCollapsiblePaneNameStr);
/**
Collapses or expands the pane window.
*/
- void Collapse(bool collapse = true);
+ virtual void Collapse(bool collapse = true);
/**
Same as calling Collapse(@false).
Returns a pointer to the pane window. Add controls to the returned
wxWindow to make them collapsible.
*/
- wxWindow* GetPane() const;
+ virtual wxWindow* GetPane() const;
/**
Returns @true if the pane window is currently hidden.
*/
- bool IsCollapsed() const;
+ virtual bool IsCollapsed() const;
/**
Returns @true if the pane window is currently shown.