summaryrefslogtreecommitdiff
path: root/src/wx/config_dialog.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-02 12:27:14 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-02 19:22:59 +0100
commita073de1b022b362347d46b7895dc946d6506cf95 (patch)
tree8e8cfb6e0dccbf12cd76a2da6b7a2f742ff87e6d /src/wx/config_dialog.h
parent68a61d00f3754f6fc473f6ac86fb3abfe670d190 (diff)
Move General preferences tab parent to its own file.
Diffstat (limited to 'src/wx/config_dialog.h')
-rw-r--r--src/wx/config_dialog.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/wx/config_dialog.h b/src/wx/config_dialog.h
index 33ffcc515..f87e60f45 100644
--- a/src/wx/config_dialog.h
+++ b/src/wx/config_dialog.h
@@ -82,45 +82,6 @@ private:
};
-class GeneralPage : public Page
-{
-public:
- GeneralPage(wxSize panel_size, int border);
-
- wxString GetName() const override;
-
-#ifdef DCPOMATIC_OSX
- wxBitmap GetLargeIcon() const override
- {
- return wxBitmap(icon_path("general"), wxBITMAP_TYPE_PNG);
- }
-#endif
-
-protected:
- void add_language_controls(wxGridBagSizer* table, int& r);
- void add_config_file_controls(wxGridBagSizer* table, int& r);
- void add_update_controls(wxGridBagSizer* table, int& r);
- void config_changed() override;
-
-private:
- void setup_sensitivity();
- void set_language_changed();
- void language_changed();
- void config_file_changed();
- void cinemas_file_changed();
- void export_cinemas_file();
- void check_for_updates_changed();
- void check_for_test_updates_changed();
-
- CheckBox* _set_language;
- wxChoice* _language;
- FilePickerCtrl* _config_file;
- FilePickerCtrl* _cinemas_file;
- CheckBox* _check_for_updates;
- CheckBox* _check_for_test_updates;
-};
-
-
}
}