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:
@@ -1562,6 +1562,7 @@ void wxComboCtrlBase::DestroyPopup()
|
|||||||
if ( m_winPopup )
|
if ( m_winPopup )
|
||||||
m_winPopup->Destroy();
|
m_winPopup->Destroy();
|
||||||
|
|
||||||
|
m_popupExtraHandler = (wxEvtHandler*) NULL;
|
||||||
m_popupInterface = (wxComboPopup*) NULL;
|
m_popupInterface = (wxComboPopup*) NULL;
|
||||||
m_winPopup = (wxWindow*) NULL;
|
m_winPopup = (wxWindow*) NULL;
|
||||||
m_popup = (wxWindow*) NULL;
|
m_popup = (wxWindow*) NULL;
|
||||||
|
Reference in New Issue
Block a user