From: Václav Slavík Date: Wed, 30 Jan 2008 19:49:24 +0000 (+0000) Subject: clarified EndModal assert message X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dc409d37f2fbd5fec4f8ae2676cfd87dbb479e4f clarified EndModal assert message git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }