]> git.saurik.com Git - wxWidgets.git/commitdiff
wxASSERT_MSG instead of wxASSERT
authorDavid Elliott <dfe@tgwbd.org>
Wed, 14 Apr 2004 06:00:13 +0000 (06:00 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 14 Apr 2004 06:00:13 +0000 (06:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/dialog.mm

index 58815ed7d43fd8dc28a2ea9985aa2cb8363d474c..6b5e0c49556d6e1c3adf906192f7e8d9b405d8cf 100644 (file)
@@ -170,7 +170,7 @@ int wxDialog::ShowModal()
 
 void wxDialog::EndModal(int retCode)
 {
-    wxASSERT(IsModal(), wxT("EndModal() should only be used within ShowModal()"));
+    wxASSERT_MSG(IsModal(), wxT("EndModal() should only be used within ShowModal()"));
     SetReturnCode(retCode);
     Show(false);
 }