From 3e63c3158d155f845b893d73315daa6adcd8d3d0 Mon Sep 17 00:00:00 2001 From: Michael Wetherell Date: Mon, 6 Feb 2006 18:12:16 +0000 Subject: [PATCH] Compile fix for --enable-stl git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/helpfrm.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/html/helpfrm.cpp b/src/html/helpfrm.cpp index d01182f17f..11ac77f2f9 100644 --- a/src/html/helpfrm.cpp +++ b/src/html/helpfrm.cpp @@ -198,11 +198,11 @@ void wxHtmlHelpFrame::AddGrabIfNeeded() // Check if there are any modal windows present, // in which case we need to add a grab. - for ( wxWindowList::Node * node = wxTopLevelWindows.GetFirst(); - node; - node = node->GetNext() ) + for ( wxWindowList::iterator it = wxTopLevelWindows.begin(); + it != wxTopLevelWindows.end(); + ++it ) { - wxWindow *win = node->GetData(); + wxWindow *win = *it; wxDialog *dialog = wxDynamicCast(win, wxDialog); if (dialog && dialog->IsModal())