// Created: 2002/12/15
// RCS-ID: $Id:
// Copyright: 2002 David Elliott
-// Licence: wxWindows license
+// Licence: wxWidgets licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/wxprec.h"
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);
}