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:
parent
5620726fd7
commit
9dcf65d3c1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user