]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dialog.mm
fix for motif /scintilla bugs
[wxWidgets.git] / 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);
 }