summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-10-31 10:12:51 +0100
committerCarl Hetherington <cth@carlh.net>2025-10-31 10:12:51 +0100
commitfaf18d32cd69a293a918c33504f9ad90b906d8a1 (patch)
tree788a6cfc2b95811dfdd688f1385e3b6fb1de11df
parent35dd1b0ca7c703bae93c46046ee8858a25ce8929 (diff)
Don't even try to use dark mode on Windows (#3107).
-rw-r--r--src/wx/wx_util.cc4
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();