projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c432ef9
)
Check that wxSystemSettings::GetAppearance() exists.
author
Carl Hetherington
<cth@carlh.net>
Mon, 17 May 2021 18:35:38 +0000
(20:35 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 20 May 2021 21:32:40 +0000
(23:32 +0200)
src/wx/simple_video_view.cc
patch
|
blob
|
history
diff --git
a/src/wx/simple_video_view.cc
b/src/wx/simple_video_view.cc
index cd138e2393bff7d581584618d3f419d243fe0507..0df4d6d22e6143257d198a6761715c087649881b 100644
(file)
--- a/
src/wx/simple_video_view.cc
+++ b/
src/wx/simple_video_view.cc
@@
-75,7
+75,7
@@
SimpleVideoView::paint ()
dc.DrawBitmap (frame_bitmap, 0, max(0, (panel_size.GetHeight() - out_size.height) / 2));
}
-#if
def DCPOMATIC_OSX
+#if
defined(DCPOMATIC_OSX) && wxCHECK_VERSION(3, 1, 0)
auto appearance = wxSystemSettings::GetAppearance();
auto dark = appearance.IsDark();
#else