From cbcc455e339a6fec87f16369e450620ef7692a34 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 25 Feb 2022 13:38:49 +0100 Subject: Cleaning code --- src/MainWindow.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/MainWindow.cpp') 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; -- cgit v1.2.3