From 9dcf65d3c1a2dc99917f2fcd1743a0290e41a0d5 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 5 May 2007 12:35:36 +0000 Subject: [PATCH 1/1] fixed typo in IsBeingDeleted() test in GetParentForModalDialog() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/dlgcmn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.45.2