]> git.saurik.com Git - wxWidgets.git/commitdiff
clarified EndModal assert message
authorVáclav Slavík <vslavik@fastmail.fm>
Wed, 30 Jan 2008 19:49:24 +0000 (19:49 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Wed, 30 Jan 2008 19:49:24 +0000 (19:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dialog.cpp

index 7a4f9e300917bb366ccd89d5e8bf495456d54c8e..bb0f74e2efcee2dc2bc8e7c500681757380915d7 100644 (file)
@@ -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;
     }