From 75ae9acfa815c7d8b70d2d38153bd110b6731495 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 4 Mar 2006 20:24:48 +0000 Subject: [PATCH] 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 --- src/generic/listctrl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic/listctrl.cpp b/src/generic/listctrl.cpp index 05ac0602d0..fb4924f17e 100644 --- a/src/generic/listctrl.cpp +++ b/src/generic/listctrl.cpp @@ -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; -- 2.45.2