fix for the previous fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2000-06-30 13:42:17 +00:00
parent 0e86e26936
commit 057327a687
2 changed files with 4 additions and 0 deletions

View File

@@ -314,6 +314,8 @@ bool wxDialog::Create( wxWindow *parent,
wxDialog::~wxDialog()
{
Destroy();
m_isBeingDeleted = TRUE;
if ((wxTopLevelWindows.Number() == 0) &&

View File

@@ -314,6 +314,8 @@ bool wxDialog::Create( wxWindow *parent,
wxDialog::~wxDialog()
{
Destroy();
m_isBeingDeleted = TRUE;
if ((wxTopLevelWindows.Number() == 0) &&