fixed crash due to double deletion of wxListTextCtrlWrapper intorduced in a recent change (wrong use of PopEventHandler instead of RemoveEventHandler)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2042,7 +2042,7 @@ void wxListTextCtrlWrapper::Finish()
|
||||
{
|
||||
m_finished = true;
|
||||
|
||||
m_text->PopEventHandler(this);
|
||||
m_text->RemoveEventHandler(this);
|
||||
m_owner->FinishEditing(m_text);
|
||||
|
||||
delete this;
|
||||
|
Reference in New Issue
Block a user