From 32fdf9272e1a94f8c51274a1758f4feae555341a Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 27 Dec 2022 18:33:21 +0100 Subject: Cleaning code --- src/MainWindow.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/MainWindow.hpp') diff --git a/src/MainWindow.hpp b/src/MainWindow.hpp index 866a98b..567ce3a 100644 --- a/src/MainWindow.hpp +++ b/src/MainWindow.hpp @@ -19,11 +19,9 @@ class MainWindow : public MainFrame { void OnClose(wxCloseEvent &e); void NewGame(bool useFen); - void OnNewGame(wxCommandEvent &event); void OpenFile(); void OnPageChange(wxAuiNotebookEvent &event); void OnRefreshTabTitle(wxCommandEvent &event); - TabInfos* NewGame(std::shared_ptr game); void OpenSettings(); void NewEngine(); void OnCloseTabEvent(wxCommandEvent &event); @@ -34,5 +32,6 @@ class MainWindow : public MainFrame { void AddPage(wxWindow* window, TabInfos* infos); public: MainWindow(); + TabInfos* NewGame(std::shared_ptr game); void ApplyPreferences(); }; \ No newline at end of file -- cgit v1.2.3