X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1d4dd7add411ebff1ce4a8d1d992e0e43ee26b1..2da2f941bbd25599c2c1453204b5f1a4e116ae91:/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) {