diff options
Diffstat (limited to 'library/globalFunctions.cpp')
-rw-r--r-- | library/globalFunctions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/globalFunctions.cpp b/library/globalFunctions.cpp index 7e99e036..7f8b57c0 100644 --- a/library/globalFunctions.cpp +++ b/library/globalFunctions.cpp @@ -73,7 +73,7 @@ int globalFunctions::wxStringToInt(const wxString& number) if (number.ToLong(&result)) return result; else - throw RuntimeException(_("Error when converting wxString to long")); + throw RuntimeException(wxString(_("Conversion error:")) + wxT(" wxString -> long")); } @@ -84,7 +84,7 @@ double globalFunctions::wxStringToDouble(const wxString& number) if (number.ToDouble(&result)) return result; else - throw RuntimeException(_("Error when converting wxString to double")); + throw RuntimeException(wxString(_("Conversion error:")) + wxT(" wxString -> double")); } |