[ 1712381 ] CRASH: closing floating panel on GTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-05-22 07:55:39 +00:00
parent c5b9bd2560
commit 58080ea3e8

View File

@@ -3550,6 +3550,10 @@ void wxAuiManager::OnFloatingPaneActivated(wxWindow* wnd)
void wxAuiManager::OnRender(wxAuiManagerEvent& evt)
{
// if the frame is about to be deleted, don't bother
if (!m_frame || wxPendingDelete.Member(m_frame))
return;
wxDC* dc = evt.GetDC();
#ifdef __WXMAC__