From a855b3030e511c130992dec8894e0d96fc811d97 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 29 Sep 2021 12:33:08 +0200 Subject: Only support GLVideoView when building with wxWidgets >= 3.1.0. --- src/wx/system_information_dialog.cc | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/wx/system_information_dialog.cc') 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 weak_viewer) : TableDialog (parent, _("System information"), 2, 1, false) { @@ -75,3 +77,14 @@ SystemInformationDialog::SystemInformationDialog (wxWindow* parent, weak_ptr) + : TableDialog (parent, _("System information"), 2, 1, false) +{ + add (_("OpenGL version"), true); + add (_("OpenGL renderer not supported by this DCP-o-matic version"), false); +} + +#endif -- cgit v1.2.3