diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-25 13:38:49 +0100 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2022-02-25 13:38:49 +0100 |
| commit | cbcc455e339a6fec87f16369e450620ef7692a34 (patch) | |
| tree | b880587f5210244add48625c279acc93e5580bef /src/MainWindow.cpp | |
| parent | 6ccdc954c5c08e81a29415ff9edda7a5bef6ef2a (diff) | |
Cleaning code
Diffstat (limited to 'src/MainWindow.cpp')
| -rw-r--r-- | src/MainWindow.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index afca91e..f9d5905 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -58,22 +58,6 @@ MainWindow::MainWindow() Bind(wxEVT_CLOSE_WINDOW, &MainWindow::OnClose, this); } -class AdvancePage : public wxPreferencesPage { -public: - virtual wxString GetName() const { return "Topics"; } - virtual wxBitmap GetLargeIcon() { - return wxArtProvider::GetBitmap(wxART_HELP, wxART_TOOLBAR); - } - virtual wxWindow *CreateWindow(wxWindow *parent) { - wxPanel *p = - new wxPanel(parent, wxID_ANY, wxDefaultPosition, wxSize(800, 800)); - wxBoxSizer *s = new wxBoxSizer(wxVERTICAL); - s->Add(new wxButton(p, COPY_FEN_BTN, L"Copy FEN"), 1, wxEXPAND); - p->SetSizer(s); - return p; - } -}; - void MainWindow::OnSettings(wxCommandEvent &event) { if (prefsEditor != NULL) { delete prefsEditor; |
