16#ifndef __albaGUIPanelStack_H__
17#define __albaGUIPanelStack_H__
32 const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name =
"panel");
class name: albaGUIPanelStack Panel with the same behaviour of a stack container (push and pop method...
void Pop()
Retrieve the last pushed panel.
void OnSize(wxSizeEvent &event)
Call DoLayout.
void Push(albaGUIPanel *p)
Insert the panel into the stack.
bool Put(albaGUIPanel *p)
Put the panel on the panel stack removing the previous panel.
albaGUIPanel * m_CurrentPanel
virtual ~albaGUIPanelStack()
destructor
void DoLayout()
Adjust the size calling wxPanel::OnSize.
bool Remove(albaGUIPanel *p)
Remove the panel from the stack.
albaGUIPanelStack(wxWindow *parent, wxWindowID id, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name="panel")
constructor
class name: albaGUIPanel Inherits directly from wxPanel and adds the pointer to the next panel