fixed typo in IsBeingDeleted() test in GetParentForModalDialog()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-05-05 12:35:36 +00:00
parent 5620726fd7
commit 9dcf65d3c1

View File

@ -80,7 +80,7 @@ static bool CanBeUsedAsParent(wxWindow *parent)
return !parent->HasExtraStyle(wxWS_EX_TRANSIENT) &&
parent->IsShownOnScreen() &&
!wxPendingDelete.Member(parent) &&
parent->IsBeingDeleted();
!parent->IsBeingDeleted();
}
wxWindow *wxDialogBase::GetParentForModalDialog(wxWindow *parent) const