diff options
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 1562a9d..f705173 100644 --- a/src/MainWindow.hpp +++ b/src/MainWindow.hpp @@ -12,6 +12,7 @@ wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent); wxDECLARE_EVENT(NEW_GAME_EVENT, wxCommandEvent); wxDECLARE_EVENT(CLOSE_TAB_EVENT, wxCommandEvent); wxDECLARE_EVENT(REFRESH_ENGINE_LIST, wxCommandEvent); +wxDECLARE_EVENT(CLOSE_LINKED_TAB, wxCommandEvent); class MainWindow : public MainFrame { wxPreferencesEditor *prefsEditor; @@ -29,6 +30,7 @@ class MainWindow : public MainFrame { void OnCloseTabEvent(wxCommandEvent &event); void OnRefreshEngineList(wxCommandEvent &event); void OnMenuItemClick(wxCommandEvent &event); + void OnCloseTabLinkedTo(wxCommandEvent &event); void AddPage(wxWindow* window, TabInfos* infos); void CloseTabLinkedTo(long id); public: |
