aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.hpp')
-rw-r--r--src/MainWindow.hpp6
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);