aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-02-23 19:41:50 +0100
committerLoic Guegan <manzerbredes@mailbox.org>2022-02-23 19:41:50 +0100
commit5a43d62920f82bac38490ac92dd9a49edd1d44de (patch)
tree291fa23e50c16d2d4a6f5e04a4944eebb233388c /src/MainWindow.hpp
parenta3c24f27f081e49b9a814aba61d298f1d0a5d0fa (diff)
Debug and improve preferences editor
Diffstat (limited to 'src/MainWindow.hpp')
-rw-r--r--src/MainWindow.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/MainWindow.hpp b/src/MainWindow.hpp
index 78d481e..31e63d8 100644
--- a/src/MainWindow.hpp
+++ b/src/MainWindow.hpp
@@ -3,6 +3,7 @@
#include <wx/aui/auibook.h>
#include <wx/filedlg.h>
#include <wx/textdlg.h>
+#include <wx/preferences.h>
wxDECLARE_EVENT(REFRESH_TAB_TITLE, wxCommandEvent);
@@ -10,8 +11,10 @@ class MainWindow : public wxFrame {
wxAuiNotebook *notebook;
wxMenu *menuGame;
wxMenuBar *menuBar;
+ wxPreferencesEditor *prefsEditor;
void OnExit(wxCommandEvent &event);
+ void OnClose(wxCloseEvent &e);
void OnNewGame(wxCommandEvent &event);
void OnOpen(wxCommandEvent &event);
void OnPageChange(wxAuiNotebookEvent &event);