[ 1712381 ] CRASH: closing floating panel on GTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b8a922d0d3
commit
befda04080
@ -3540,6 +3540,10 @@ void wxAuiManager::OnFloatingPaneActivated(wxWindow* wnd)
|
|||||||
|
|
||||||
void wxAuiManager::OnRender(wxAuiManagerEvent& evt)
|
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();
|
wxDC* dc = evt.GetDC();
|
||||||
|
|
||||||
#ifdef __WXMAC__
|
#ifdef __WXMAC__
|
||||||
|
Loading…
Reference in New Issue
Block a user