wxAUI: Do not leak a wxFrame if transparency is not supported

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Alex Bligh
2006-07-22 16:41:14 +00:00
parent 96fc10390b
commit f2c78bada4

View File

@@ -526,6 +526,7 @@ void wxFrameManager::SetManagedWindow(wxWindow* frame)
if (m_hint_wnd && !m_hint_wnd->CanSetTransparent())
{
m_hint_wnd->Close();
m_hint_wnd->Destroy();
m_hint_wnd = NULL;
}
}