diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 20:34:42 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-26 20:34:42 +0100 |
| commit | e601902dd5a9f023594fef6a0f4995e59b4d9a0e (patch) | |
| tree | 4ed1fdbaa9503a2dcfbc701377d9f5d2309858c3 /src/MainWindow.hpp | |
| parent | ca6c1b1e75e771e3bea596367e502b77dea2c3aa (diff) | |
Improve engine managemen
Diffstat (limited to 'src/MainWindow.hpp')
| -rw-r--r-- | src/MainWindow.hpp | 2 |
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(); |
