Game list can now be sorted

This commit is contained in:
Loic Guegan 2022-12-26 08:26:02 +01:00
parent 54cb4dc6c6
commit 2bd85f53bc
3 changed files with 33 additions and 18 deletions

View file

@ -59,8 +59,8 @@ MainWindow::MainWindow()
NewGame(std::shared_ptr<Game>(new Game()));
// Temporary TO REMOVE JUST FOR TESTS:
//BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/Downloads/PGN.pgn");
//this->AddPage(bt,bt);
BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/pgn/twic1467.pgn");
this->AddPage(bt,bt);
}
void MainWindow::AddPage(wxWindow* window, TabInfos* infos){