summaryrefslogtreecommitdiff
path: root/src/wx/system_information_dialog.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/system_information_dialog.cc')
-rw-r--r--src/wx/system_information_dialog.cc13
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