summaryrefslogtreecommitdiff
path: root/src/wx/wx_util.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-01-12 22:30:43 +0000
committerCarl Hetherington <cth@carlh.net>2018-01-12 22:30:43 +0000
commitf1dbcec7552052856369631e77c5eb160badd619 (patch)
tree6fa9d8f36fe525fc32e8e88e8ae703d756fc1b43 /src/wx/wx_util.h
parent49281333410c321e616c5d3cfd4308e21d0c9cb4 (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.h2
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);