summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-04-16 21:27:16 +0200
committerCarl Hetherington <cth@carlh.net>2025-04-16 21:27:16 +0200
commitd2b2fc9a35fca4f9fc811748a461b796ee3c8400 (patch)
tree4645c60e230766765abde8fc1aa4c96886813fb0
parent672d0c419007cafcff96938f42de51a1e5033202 (diff)
Respect dark GUI on all platforms, not just macOS.
-rw-r--r--src/wx/wx_util.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/wx_util.cc b/src/wx/wx_util.cc
index 33179ca74..e4229c1b7 100644
--- a/src/wx/wx_util.cc
+++ b/src/wx/wx_util.cc
@@ -785,7 +785,7 @@ small_button_size (wxWindow* parent, wxString text)
bool
gui_is_dark ()
{
-#if defined(DCPOMATIC_OSX) && wxCHECK_VERSION(3, 1, 0)
+#if wxCHECK_VERSION(3, 1, 0)
auto appearance = wxSystemSettings::GetAppearance();
return appearance.IsDark();
#else