X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fwx%2Fwx_util.h;h=e36a35e1e336e4c83ca0bee8354d1bc5b8b026d6;hb=f1dbcec7552052856369631e77c5eb160badd619;hp=dbd8e117a476b290a80ec2354490f852aab5532b;hpb=49281333410c321e616c5d3cfd4308e21d0c9cb4;p=dcpomatic.git diff --git a/src/wx/wx_util.h b/src/wx/wx_util.h index dbd8e117a..e36a35e1e 100644 --- a/src/wx/wx_util.h +++ b/src/wx/wx_util.h @@ -69,7 +69,7 @@ class wxSplashScreen; */ #define S_(x) context_translation(x) -extern void error_dialog (wxWindow *, wxString); +extern void error_dialog (wxWindow *, wxString, boost::optional e = boost::optional()); extern void message_dialog (wxWindow *, wxString); extern bool confirm_dialog (wxWindow *, wxString); extern wxStaticText* add_label_to_sizer (wxSizer *, wxWindow *, wxString, bool left, int prop = 0);