RemoveEventHandler() didn't reset all pointers correctly (patch 819545)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@24197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,6 +185,10 @@ All:
|
||||
|
||||
- Spanish translations updated (Javier San Jose)
|
||||
|
||||
All (GUI):
|
||||
|
||||
- bug in wxWindow::RemoveEventHandler() fixed (Yingjun Zhang)
|
||||
|
||||
wxMSW:
|
||||
|
||||
- strip ampersands from strings returned by wxMenuBar::GetLabelTop()
|
||||
|
@@ -788,7 +788,9 @@ bool wxWindowBase::RemoveEventHandler(wxEvtHandler *handler)
|
||||
{
|
||||
handlerNext->SetPreviousHandler ( handlerPrev );
|
||||
}
|
||||
|
||||
handler->SetNextHandler(NULL);
|
||||
handler->SetPreviousHandler(NULL);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user