summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-02-13 02:44:20 +0100
committerCarl Hetherington <cth@carlh.net>2026-02-13 03:12:40 +0100
commit3d28c0349b3192fe406796096d1028d90d12dbdd (patch)
tree105f5bfba1623a4000a2a0c72efa88afb955bd0d /src/tools
parentd06dfa960401ebc21fed2f973498b680c1f87f59 (diff)
Fix old macOS build.
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/dcpomatic_verifier.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/dcpomatic_verifier.cc b/src/tools/dcpomatic_verifier.cc
index 78f4b94ff..d24100ff3 100644
--- a/src/tools/dcpomatic_verifier.cc
+++ b/src/tools/dcpomatic_verifier.cc
@@ -146,7 +146,11 @@ public:
add_label_to_sizer(dcp_sizer, _overall_panel, _("DCPs"), true, 0, wxALIGN_CENTER_VERTICAL);
auto add = [this](wxWindow* parent) {
+#if wxCHECK_VERSION(3, 1, 4)
DirDialog dialog(parent, _("Select DCP(s)"), wxDD_MULTIPLE, "AddVerifierInputPath");
+#else
+ DirDialog dialog(parent, _("Select DCP(s)"), 0, "AddVerifierInputPath");
+#endif
if (dialog.show()) {
wxProgressDialog progress(variant::wx::dcpomatic(), _("Examining DCPs"));