git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44074
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxWindow *parent = wxTheApp->GetTopWindow();
if ( parent &&
parent != this &&
- parent->IsBeingDeleted() &&
+ !parent->IsBeingDeleted() &&
!(parent->GetExtraStyle() & wxWS_EX_TRANSIENT) )
{
m_parent = parent;
wxWindow *parent = wxTheApp->GetTopWindow();
if ( parent &&
parent != this &&
- parent->IsBeingDeleted() &&
+ !parent->IsBeingDeleted() &&
!(parent->GetExtraStyle() & wxWS_EX_TRANSIENT) )
{
m_parent = parent;