wxBoxSizer * mainSizer
Pointer to the main sizer for layout management.
wxWindow * mainWindow
Pointer to the main application window.
wxPanel * panel
Pointer to the wxPanel instance managed by this class.
Definition Panel.h:30
std::string _title
Stores the title of the panel.
Definition Panel.h:52
~Panel()
Destructor that deletes the current panel and restores the previous one.
Panel * _origin
Pointer to the previous panel.
Definition Panel.h:51
Panel(Panel *origin)
Constructs a new Panel and hides the previous one if provided.
void SetTitle(std::string title)
Sets the title of the main window.