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
_state_timer.set ("get image");
set_image (
- player_video().first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VIDEO_RANGE_FULL, false, true)
+ player_video().first->image(bind(&PlayerVideo::force, _1, AV_PIX_FMT_RGB24), VideoRange::FULL, false, true)
);
_state_timer.set ("ImageChanged");