Compilation fix for wxUSE_STL == 1.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27653 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2004-06-05 20:47:41 +00:00
parent 78c67f19b3
commit 98c627a498

View File

@ -261,7 +261,7 @@ bool wxDocument::SaveAs()
if (docTemplate->GetViewClassInfo() && docTemplate->GetDocClassInfo()) if (docTemplate->GetViewClassInfo() && docTemplate->GetDocClassInfo())
{ {
wxObjectListNode* node = wxDocManager::GetDocumentManager()->GetTemplates().GetFirst(); wxList::compatibility_iterator node = wxDocManager::GetDocumentManager()->GetTemplates().GetFirst();
while (node) while (node)
{ {
wxDocTemplate *t = (wxDocTemplate*) node->GetData(); wxDocTemplate *t = (wxDocTemplate*) node->GetData();