summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/wx/simple_video_view.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/simple_video_view.cc b/src/wx/simple_video_view.cc
index cd138e239..0df4d6d22 100644
--- 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));
}
-#ifdef DCPOMATIC_OSX
+#if defined(DCPOMATIC_OSX) && wxCHECK_VERSION(3, 1, 0)
auto appearance = wxSystemSettings::GetAppearance();
auto dark = appearance.IsDark();
#else