Respect dark GUI on all platforms, not just macOS.
authorCarl Hetherington <cth@carlh.net>
Wed, 16 Apr 2025 19:27:16 +0000 (21:27 +0200)
committerCarl Hetherington <cth@carlh.net>
Wed, 16 Apr 2025 19:27:16 +0000 (21:27 +0200)
src/wx/wx_util.cc

index 33179ca74839dbf04fbe223acc12103ccdf20249..e4229c1b7004a2ff6f9f680d7c6a8c68e94295e1 100644 (file)
@@ -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