diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-24 16:45:28 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-24 16:45:28 +0100 |
| commit | 829525acb94876a464a359548bce4faf0708bbc7 (patch) | |
| tree | 066e933cf54d3408a2e1cc408bbcc03961599562 /src/MainWindow.hpp | |
| parent | f99a7b699a6169003fc8b56f652de44c2e834ca5 (diff) | |
Update chessarbiter and improve pgn loader
Diffstat (limited to 'src/MainWindow.hpp')
| -rw-r--r-- | src/MainWindow.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/MainWindow.hpp b/src/MainWindow.hpp index 87cf015..e827df3 100644 --- a/src/MainWindow.hpp +++ b/src/MainWindow.hpp @@ -1,12 +1,13 @@ -#include "game_tab/GameTab.hpp" #include "base_tab/BaseTab.hpp" +#include "game_tab/GameTab.hpp" #include "ochess.hpp" #include <wx/aui/auibook.h> #include <wx/filedlg.h> -#include <wx/textdlg.h> #include <wx/preferences.h> +#include <wx/textdlg.h> wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); +wxDECLARE_EVENT(NEW_GAME_EVENT, wxCommandEvent); class MainWindow : public wxFrame { wxAuiNotebook *notebook; @@ -17,6 +18,7 @@ class MainWindow : public wxFrame { void OnExit(wxCommandEvent &event); void OnClose(wxCloseEvent &e); void OnNewGame(wxCommandEvent &event); + void OnNewGame2(wxCommandEvent &event); void OnOpen(wxCommandEvent &event); void OnPageChange(wxAuiNotebookEvent &event); void OnRefreshTabTitle(wxCommandEvent &event); |
