resetting the wrapper flag later, otherwise the native destructors dealloc too much, fixes #12448
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -176,9 +176,9 @@ void wxNonOwnedWindow::UnsubclassWin()
|
||||
GetParent()->RemoveChild(this);
|
||||
|
||||
wxNonOwnedWindowImpl::RemoveAssociations(m_nowpeer) ;
|
||||
m_isNativeWindowWrapper = false;
|
||||
wxDELETE(m_nowpeer);
|
||||
wxDELETE(m_peer);
|
||||
m_isNativeWindowWrapper = false;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user