From 98c627a498e0bfbdc8cbf69c5cd52ca68904c2e1 Mon Sep 17 00:00:00 2001 From: Mattia Barbon Date: Sat, 5 Jun 2004 20:47:41 +0000 Subject: [PATCH] Compilation fix for wxUSE_STL == 1. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/docview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/docview.cpp b/src/common/docview.cpp index d881e212d1..38dd2f9363 100644 --- a/src/common/docview.cpp +++ b/src/common/docview.cpp @@ -261,7 +261,7 @@ bool wxDocument::SaveAs() if (docTemplate->GetViewClassInfo() && docTemplate->GetDocClassInfo()) { - wxObjectListNode* node = wxDocManager::GetDocumentManager()->GetTemplates().GetFirst(); + wxList::compatibility_iterator node = wxDocManager::GetDocumentManager()->GetTemplates().GetFirst(); while (node) { wxDocTemplate *t = (wxDocTemplate*) node->GetData(); -- 2.45.2