projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
672d0c4
)
Respect dark GUI on all platforms, not just macOS.
author
Carl Hetherington
<cth@carlh.net>
Wed, 16 Apr 2025 19:27:16 +0000
(21:27 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 16 Apr 2025 19:27:16 +0000
(21:27 +0200)
src/wx/wx_util.cc
patch
|
blob
|
history
diff --git
a/src/wx/wx_util.cc
b/src/wx/wx_util.cc
index 33179ca74839dbf04fbe223acc12103ccdf20249..e4229c1b7004a2ff6f9f680d7c6a8c68e94295e1 100644
(file)
--- 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