aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.hpp')
-rw-r--r--src/MainWindow.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/MainWindow.hpp b/src/MainWindow.hpp
index 918dc8a..4111612 100644
--- a/src/MainWindow.hpp
+++ b/src/MainWindow.hpp
@@ -10,6 +10,7 @@
wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent);
wxDECLARE_EVENT(NEW_GAME_EVENT, wxCommandEvent);
+wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent);
class MainWindow : public wxFrame {
wxAuiNotebook *notebook;
@@ -27,6 +28,7 @@ class MainWindow : public wxFrame {
void NewGame(Game *game);
void OnSettings(wxCommandEvent &event);
void OnNewEngine(wxCommandEvent &event);
+ void OnCloseTabEvent(wxCommandEvent &event);
public:
MainWindow();