Apply patch (plus some additional changes) upgrading Scintilla to version 2.03. Closes #11765, #11748, #11346
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1275,7 +1275,7 @@ bool wxWindowBase::RemoveEventHandler(wxEvtHandler *handlerToRemove)
|
||||
|
||||
// NOTE: the wxWindow event handler list is always terminated with "this" handler
|
||||
wxEvtHandler *handlerCur = GetEventHandler()->GetNextHandler();
|
||||
while ( handlerCur != this )
|
||||
while ( handlerCur != this && handlerCur )
|
||||
{
|
||||
wxEvtHandler *handlerNext = handlerCur->GetNextHandler();
|
||||
|
||||
|
Reference in New Issue
Block a user