diff --git a/src/common/cshelp.cpp b/src/common/cshelp.cpp index 6267f85db0..a7da4a1cf5 100644 --- a/src/common/cshelp.cpp +++ b/src/common/cshelp.cpp @@ -99,7 +99,7 @@ static void wxPushOrPopEventHandlers(wxContextHelp* help, wxWindow* win, bool pu else win->PopEventHandler(TRUE); - wxWindowList::Node* node = win->GetChildren().GetFirst(); + wxWindowList::compatibility_iterator node = win->GetChildren().GetFirst(); while (node) { wxWindow* child = node->GetData();