wxComboCtrlBase: Fix SEGV due to double deletion where SetPopupControl is called twice after lazy creation of the popup, the first deleting m_popupExtraHandler and the second attempting to delete it a second time.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Alex Bligh 2006-07-06 19:19:04 +00:00
parent d9e0958c7e
commit 25ae9fb8ca

View File

@ -1562,6 +1562,7 @@ void wxComboCtrlBase::DestroyPopup()
if ( m_winPopup )
m_winPopup->Destroy();
m_popupExtraHandler = (wxEvtHandler*) NULL;
m_popupInterface = (wxComboPopup*) NULL;
m_winPopup = (wxWindow*) NULL;
m_popup = (wxWindow*) NULL;