reintroduced m_isBeingDeleted

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2003-05-09 07:12:02 +00:00
parent 7af6b69e74
commit 140f2012cd
6 changed files with 14 additions and 6 deletions

View File

@@ -104,6 +104,7 @@ void wxWindowMac::Init()
// generic
InitBase();
m_isBeingDeleted = FALSE;
m_backgroundTransparent = FALSE;
// as all windows are created with WS_VISIBLE style...
@@ -139,6 +140,8 @@ wxWindowMac::~wxWindowMac()
}
}
m_isBeingDeleted = TRUE;
#ifndef __WXUNIVERSAL__
// VS: make sure there's no wxFrame with last focus set to us:
for ( wxWindow *win = GetParent(); win; win = win->GetParent() )