diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-09-29 12:33:08 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-09-30 00:49:35 +0200 |
| commit | a855b3030e511c130992dec8894e0d96fc811d97 (patch) | |
| tree | 7e22531163d8313747fa6eb8ea743eed116a4956 /src/wx/gl_video_view.cc | |
| parent | 9751270721fe4560eae0f53ac1e42ad0ebc80028 (diff) | |
Only support GLVideoView when building with wxWidgets >= 3.1.0.
Diffstat (limited to 'src/wx/gl_video_view.cc')
| -rw-r--r-- | src/wx/gl_video_view.cc | 5 |
1 files changed, 5 insertions, 0 deletions
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<const Image> image) } } +#endif |
