mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Improve game import
This commit is contained in:
parent
f40fd3e7a4
commit
c97e151e1b
14 changed files with 47 additions and 106 deletions
|
@ -60,11 +60,11 @@ MainWindow::MainWindow()
|
|||
NewGame(std::shared_ptr<Game>(new Game()));
|
||||
|
||||
// Temporary TO REMOVE JUST FOR TESTS:
|
||||
/*BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/jean.pgn");
|
||||
BaseTab *bt = new BaseTab((wxFrame *)notebook, "/home/loic/pgn/Milov.pgn");
|
||||
this->AddPage(bt,bt);
|
||||
|
||||
bt = new BaseTab((wxFrame *)notebook, "/home/loic/pgn/Milov.pgn");
|
||||
this->AddPage(bt,bt);*/
|
||||
bt = new BaseTab((wxFrame *)notebook, "/home/loic/jean.pgn");
|
||||
this->AddPage(bt,bt);
|
||||
}
|
||||
|
||||
void MainWindow::AddPage(wxWindow* window, TabInfos* infos){
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue