wxCalculateLayoutEvent event;
event.SetRect(rect);
- wxWindowList::Node *node = frame->GetChildren().GetFirst();
+ wxWindowList::compatibility_iterator node = frame->GetChildren().GetFirst();
while (node)
{
wxWindow* win = node->GetData();
// 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)
{