diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-01-12 22:30:43 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-01-12 22:30:43 +0000 |
| commit | f1dbcec7552052856369631e77c5eb160badd619 (patch) | |
| tree | 6fa9d8f36fe525fc32e8e88e8ae703d756fc1b43 /src/wx/wx_util.h | |
| parent | 49281333410c321e616c5d3cfd4308e21d0c9cb4 (diff) | |
Separate readable error from technical detail in some places.
Diffstat (limited to 'src/wx/wx_util.h')
| -rw-r--r-- | src/wx/wx_util.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<wxString> e = boost::optional<wxString>()); 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); |
