From: Vadim Zeitlin Date: Sat, 5 May 2007 12:35:36 +0000 (+0000) Subject: fixed typo in IsBeingDeleted() test in GetParentForModalDialog() X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9dcf65d3c1a2dc99917f2fcd1743a0290e41a0d5 fixed typo in IsBeingDeleted() test in GetParentForModalDialog() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dlgcmn.cpp b/src/common/dlgcmn.cpp index 8430081563..0991a598ae 100644 --- a/src/common/dlgcmn.cpp +++ b/src/common/dlgcmn.cpp @@ -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