diff --git a/src/gtk/dialog.cpp b/src/gtk/dialog.cpp index 7a4f9e3009..bb0f74e2ef 100644 --- a/src/gtk/dialog.cpp +++ b/src/gtk/dialog.cpp @@ -139,7 +139,7 @@ void wxDialog::EndModal( int retCode ) if (!IsModal()) { - wxFAIL_MSG( wxT("wxDialog:EndModal called twice") ); + wxFAIL_MSG( "either wxDialog:EndModal called twice or ShowModal wasn't called" ); return; }