mirror of
https://gitlab.com/manzerbredes/ochess.git
synced 2025-04-19 04:09:41 +00:00
Cleaning code
This commit is contained in:
parent
6ccdc954c5
commit
cbcc455e33
4 changed files with 13 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue