From 63fd3d143387bc0dbbbe228955421a59239dbe5c Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 11 May 2024 10:57:01 +0200 Subject: Fix link icon width again. Seems to be different on wxWidgets 3.1.x vs 3.2.x. --- src/wx/video_panel.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/wx') diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index 859c0a886..e065f9bb4 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -108,7 +108,11 @@ VideoPanel::create () int const link_height = 32; #elif defined(DCPOMATIC_OSX) int const crop_width = 56; +#if wxCHECK_VERSION(3, 2, 0) int const link_width = 8 + 15 / dpi_scale_factor(this); +#else + int const link_width = 23; +#endif int const link_height = 28; #else int const crop_width = 56; -- cgit v1.2.3