Now games can be imported

This commit is contained in:
Loic Guegan 2022-02-26 12:48:52 +01:00
parent e0a1894928
commit b1a82ff568
5 changed files with 38 additions and 7 deletions

View file

@ -57,9 +57,9 @@ MainWindow::MainWindow()
Bind(NEW_GAME_EVENT, &MainWindow::OnNewGame, this, wxID_ANY);
Bind(wxEVT_CLOSE_WINDOW, &MainWindow::OnClose, this);
/*BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/hartwig.pgn");
BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/hartwig_tests.pgn");
notebook->AddPage(bt, bt->GetLabel());
notebook->SetSelection(notebook->GetPageIndex(bt));*/
notebook->SetSelection(notebook->GetPageIndex(bt));
}
void MainWindow::OnSettings(wxCommandEvent &event) {