mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Start BaseTab design
This commit is contained in:
parent
a8fece4ea6
commit
bdfc577a3b
8 changed files with 618 additions and 1 deletions
|
@ -43,6 +43,12 @@ MainWindow::MainWindow()
|
|||
notebook = new wxAuiNotebook(this, wxID_ANY);
|
||||
NewGame(new Game());
|
||||
|
||||
// Test base tab
|
||||
BaseTab *bt = new BaseTab((wxFrame *)notebook);
|
||||
bt->SetLabel("New Base");
|
||||
notebook->AddPage(bt, bt->GetLabel());
|
||||
notebook->SetSelection(notebook->GetPageIndex(bt));
|
||||
|
||||
Bind(wxEVT_AUINOTEBOOK_PAGE_CHANGED, &MainWindow::OnPageChange, this,
|
||||
wxID_ANY);
|
||||
Bind(REFRESH_TAB_TITLE, &MainWindow::OnRefreshTabTitle, this, wxID_ANY);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue