wxASSERT_MSG instead of wxASSERT

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Elliott 2004-04-14 06:00:13 +00:00
parent 71a0c62f2f
commit 327940530c

View File

@ -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); SetReturnCode(retCode);
Show(false); Show(false);
} }