]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/dialog.mm
Moved function from mslu to utils to make the
[wxWidgets.git] / src / cocoa / dialog.mm
index 58815ed7d43fd8dc28a2ea9985aa2cb8363d474c..59adee30689d20a6184591976eae094f4faf30b6 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     2002/12/15
 // RCS-ID:      $Id: 
 // Copyright:   2002 David Elliott
 // Created:     2002/12/15
 // RCS-ID:      $Id: 
 // Copyright:   2002 David Elliott
-// Licence:    wxWindows license
+// Licence:    wxWidgets licence
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
@@ -170,7 +170,7 @@ int wxDialog::ShowModal()
 
 void wxDialog::EndModal(int retCode)
 {
 
 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);
 }
     SetReturnCode(retCode);
     Show(false);
 }