diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-23 19:41:50 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-23 19:41:50 +0100 |
| commit | 5a43d62920f82bac38490ac92dd9a49edd1d44de (patch) | |
| tree | 291fa23e50c16d2d4a6f5e04a4944eebb233388c /src/MainWindow.hpp | |
| parent | a3c24f27f081e49b9a814aba61d298f1d0a5d0fa (diff) | |
Debug and improve preferences editor
Diffstat (limited to 'src/MainWindow.hpp')
| -rw-r--r-- | src/MainWindow.hpp | 3 |
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); |
