]> git.saurik.com Git - wxWidgets.git/commitdiff
remove duplicate end iterator declaration from Destroy()
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Mar 2008 12:06:40 +0000 (12:06 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 4 Mar 2008 12:06:40 +0000 (12:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/toplvcmn.cpp

index 4f34b30e4dc56c31370ebb920fa65e8c834a2099..bcfd5291052b5a4a9c9f030571e0aa8dbf299b5c 100644 (file)
@@ -124,7 +124,6 @@ bool wxTopLevelWindowBase::Destroy()
     // any more as no events will be sent to the hidden window and without idle
     // events we won't prune wxPendingDelete list and the application won't
     // terminate
-    const wxWindowList::const_iterator end = wxTopLevelWindows.end();
     for ( wxWindowList::const_iterator i = wxTopLevelWindows.begin(),
                                      end = wxTopLevelWindows.end();
           i != end;