git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58098
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// m_clientSite uses m_frameSite so destroy it first
m_clientSite.Free();
delete m_frameSite;
// m_clientSite uses m_frameSite so destroy it first
m_clientSite.Free();
delete m_frameSite;
+
+ // our window doesn't belong to us, don't destroy it
+ m_hWnd = NULL;
}
// VZ: we might want to really report an error instead of just asserting here
}
// VZ: we might want to really report an error instead of just asserting here