]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for wxUSE_STL=1 build with MSVC8 with _HAS_ITERATOR_DEBUGGING==0 (patch 1712215)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 May 2007 18:17:08 +0000 (18:17 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 12 May 2007 18:17:08 +0000 (18:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/event.cpp

index 3acfaa7efd11095c7423f364aa80b0fc86b6b569..a838cbf10213258790f10af3f145dacc9fef859a 100644 (file)
@@ -1026,9 +1026,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;