From d2b2fc9a35fca4f9fc811748a461b796ee3c8400 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 16 Apr 2025 21:27:16 +0200 Subject: Respect dark GUI on all platforms, not just macOS. --- src/wx/wx_util.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3