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/system_information_dialog.cc | |
| parent | 9751270721fe4560eae0f53ac1e42ad0ebc80028 (diff) | |
Only support GLVideoView when building with wxWidgets >= 3.1.0.
Diffstat (limited to 'src/wx/system_information_dialog.cc')
| -rw-r--r-- | src/wx/system_information_dialog.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/wx/system_information_dialog.cc b/src/wx/system_information_dialog.cc index 1c8dd8d00..addb89da4 100644 --- a/src/wx/system_information_dialog.cc +++ b/src/wx/system_information_dialog.cc @@ -39,6 +39,8 @@ using std::weak_ptr; using std::shared_ptr; +#if wxCHECK_VERSION(3, 1, 0) + SystemInformationDialog::SystemInformationDialog (wxWindow* parent, weak_ptr<FilmViewer> weak_viewer) : TableDialog (parent, _("System information"), 2, 1, false) { @@ -75,3 +77,14 @@ SystemInformationDialog::SystemInformationDialog (wxWindow* parent, weak_ptr<Fil layout (); } + +#else + +SystemInformationDialog::SystemInformationDialog (wxWindow* parent, weak_ptr<FilmViewer>) + : TableDialog (parent, _("System information"), 2, 1, false) +{ + add (_("OpenGL version"), true); + add (_("OpenGL renderer not supported by this DCP-o-matic version"), false); +} + +#endif |
