From 17c07bd8af2f6c26bf08d56788774ab1f46db559 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 12 May 2007 18:25:31 +0000 Subject: [PATCH] fix for wxUSE_STL=1 build with MSVC8 with _HAS_ITERATOR_DEBUGGING==0 (patch 1712215) [backport from HEAD] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/event.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/common/event.cpp b/src/common/event.cpp index 598b66ae99..a3e0b004e1 100644 --- a/src/common/event.cpp +++ b/src/common/event.cpp @@ -1028,9 +1028,10 @@ wxEvtHandler::~wxEvtHandler() if (m_dynamicEvents) { - wxList::iterator it = m_dynamicEvents->begin(), - en = m_dynamicEvents->end(); - for (;it != en; ++it) + for ( wxList::iterator it = m_dynamicEvents->begin(), + end = m_dynamicEvents->end(); + it != end; + ++it ) { #if WXWIN_COMPATIBILITY_EVENT_TYPES wxEventTableEntry *entry = (wxEventTableEntry*)*it;