X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fgl_video_view.cc;h=2b79bbd5e71074b107312323cbd2a3835060da99;hb=a855b3030e511c130992dec8894e0d96fc811d97;hp=04e0bac46ec373e3b731768fa00b949f5290505a;hpb=9751270721fe4560eae0f53ac1e42ad0ebc80028;p=dcpomatic.git diff --git a/src/wx/gl_video_view.cc b/src/wx/gl_video_view.cc index 04e0bac46..2b79bbd5e 100644 --- a/src/wx/gl_video_view.cc +++ b/src/wx/gl_video_view.cc @@ -24,6 +24,10 @@ #endif #include "gl_video_view.h" + +/* This will only build on an new-enough wxWidgets: see the comment in gl_video_view.h */ +#if wxCHECK_VERSION(3,1,0) + #include "film_viewer.h" #include "wx_util.h" #include "lib/image.h" @@ -830,3 +834,4 @@ Texture::set (shared_ptr image) } } +#endif