summaryrefslogtreecommitdiff
path: root/src/wx/job_wrapper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/wx/job_wrapper.cc')
-rw-r--r--src/wx/job_wrapper.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/wx/job_wrapper.cc b/src/wx/job_wrapper.cc
index be214b0ac..4c037ae28 100644
--- a/src/wx/job_wrapper.cc
+++ b/src/wx/job_wrapper.cc
@@ -21,12 +21,12 @@
#include "lib/film.h"
#include "lib/exceptions.h"
#include "job_wrapper.h"
-#include "gtk_util.h"
+#include "wx_util.h"
using namespace std;
void
-JobWrapper::make_dcp (Film* film, bool transcode)
+JobWrapper::make_dcp (wxWindow* parent, Film* film, bool transcode)
{
if (!film) {
return;
@@ -41,10 +41,10 @@ JobWrapper::make_dcp (Film* film, bool transcode)
} else {
s << "Bad setting for " << e.setting() << "(" << e.what() << ")";
}
- error_dialog (s.str ());
+ error_dialog (parent, s.str ());
} catch (std::exception& e) {
stringstream s;
s << "Could not make DCP: " << e.what () << ".";
- error_dialog (s.str ());
+ error_dialog (parent, s.str ());
}
}