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:
Vadim Zeitlin
2006-03-04 20:24:48 +00:00
parent ebadbb76d3
commit 75ae9acfa8

View File

@@ -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;