X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1d4dd7add411ebff1ce4a8d1d992e0e43ee26b1..15d9a04c6877a2f730b679402e6798aaace16e3a:/src/generic/laywin.cpp diff --git a/src/generic/laywin.cpp b/src/generic/laywin.cpp index 943351d8e6..e32bb52e57 100644 --- a/src/generic/laywin.cpp +++ b/src/generic/laywin.cpp @@ -195,7 +195,7 @@ bool wxLayoutAlgorithm::LayoutMDIFrame(wxMDIParentFrame* frame, wxRect* r) wxCalculateLayoutEvent event; event.SetRect(rect); - wxWindowList::Node *node = frame->GetChildren().GetFirst(); + wxWindowList::compatibility_iterator node = frame->GetChildren().GetFirst(); while (node) { wxWindow* win = node->GetData(); @@ -264,7 +264,7 @@ bool wxLayoutAlgorithm::LayoutWindow(wxWindow* parent, wxWindow* mainWindow) // Find the last layout-aware window, so we can make it fill all remaining // space. wxWindow *lastAwareWindow = NULL; - wxWindowList::Node *node = parent->GetChildren().GetFirst(); + wxWindowList::compatibility_iterator node = parent->GetChildren().GetFirst(); while (node) {