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:
parent
71a0c62f2f
commit
327940530c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user