X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/90c108964caba82a62602c7eef1268d4bb6e4841..d109c5849ed117966311a44875c97ae3d77b44e5:/src/cocoa/dialog.mm diff --git a/src/cocoa/dialog.mm b/src/cocoa/dialog.mm index 58815ed7d4..59adee3068 100644 --- a/src/cocoa/dialog.mm +++ b/src/cocoa/dialog.mm @@ -6,7 +6,7 @@ // Created: 2002/12/15 // RCS-ID: $Id: // Copyright: 2002 David Elliott -// Licence: wxWindows license +// Licence: wxWidgets licence ///////////////////////////////////////////////////////////////////////////// #include "wx/wxprec.h" @@ -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); }