diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-10-31 10:12:51 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-10-31 10:12:51 +0100 |
| commit | faf18d32cd69a293a918c33504f9ad90b906d8a1 (patch) | |
| tree | 788a6cfc2b95811dfdd688f1385e3b6fb1de11df /src | |
| parent | 35dd1b0ca7c703bae93c46046ee8858a25ce8929 (diff) | |
Don't even try to use dark mode on Windows (#3107).
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/wx_util.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc index 47f513276..7d0329070 100644 --- a/src/wx/wx_util.cc +++ b/src/wx/wx_util.cc @@ -669,6 +669,10 @@ small_button_size (wxWindow* parent, wxString text) bool gui_is_dark () { +#ifdef DCPOMATIC_WINDOWS + /* Dark mode doesn't really work at all on Windows at the moment, so just don't use it */ + return false; +#endif #if wxCHECK_VERSION(3, 1, 0) auto appearance = wxSystemSettings::GetAppearance(); return appearance.IsDark(); |
