]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cshelp.cpp
otherwise all runloop dependent callbacks cannot work outside of the main thread
[wxWidgets.git] / src / common / cshelp.cpp
index 6267f85db0fc95d6c9d899b99c5a543a75da5209..a7da4a1cf5b9f07053cc1ffdfe2e7bdbd71619de 100644 (file)
@@ -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();