X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/041295149d0db765378978f2f47d8dd8ee82b1ab..a4de7e8ccf4bf69d150c29c9a3d53e5754c8b8a9:/src/common/docview.cpp?ds=inline 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();