X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ba06d5a8ccf8c224fcfbd52fa01a55abf7befbd..d3d0b8dba702091fb19c83ae0ad9844a9bc4bf47:/contrib/samples/ogl/studio/dialogs.cpp diff --git a/contrib/samples/ogl/studio/dialogs.cpp b/contrib/samples/ogl/studio/dialogs.cpp index 5445c1bc51..09e91a5fb8 100644 --- a/contrib/samples/ogl/studio/dialogs.cpp +++ b/contrib/samples/ogl/studio/dialogs.cpp @@ -205,7 +205,7 @@ bool csSettingsDialog::TransferDataFromWindow() } // Apply settings to all open diagram documents - wxNode* node = wxGetApp().GetDocManager()->GetDocuments().GetFirst(); + wxObjectList::compatibility_iterator node = wxGetApp().GetDocManager()->GetDocuments().GetFirst(); while (node) { wxDocument* doc = (wxDocument*) node->GetData(); @@ -365,7 +365,7 @@ void csShapePropertiesDialog::SetDefaults() if (!m_attributeDialog) return; - wxWindowListNode* node = m_attributeDialog->GetChildren().GetFirst(); + wxWindowList::compatibility_iterator node = m_attributeDialog->GetChildren().GetFirst(); while (node) { wxWindow* child = (wxWindow*) node->GetData();