diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-05-17 20:35:38 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-05-18 07:38:34 +0200 |
| commit | e9f33884ef47bbf4e8f4af830a1a89fd7b3d30cc (patch) | |
| tree | 52247fe84a00b21d2492d294b4a0ee56b658265c | |
| parent | e102a01b4d9e00a712090a3a82a596703dc65812 (diff) | |
Check that wxSystemSettings::GetAppearance() exists.
| -rw-r--r-- | src/wx/simple_video_view.cc | 2 |
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 |
