]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
restored int (instea of size_t) in Remove() and Detach(); TRUE/FALSE -> true/false
[wxWidgets.git] / src / gtk / window.cpp
index feb8f2ffcec4545d817b04c0fdb3465f692560da..196aaf5dfcccebe8e919639091e715dc218aa636 100644 (file)
@@ -1511,12 +1511,12 @@ wxWindowGTK *FindWindowForMouseEvent(wxWindowGTK *win, wxCoord& x, wxCoord& y)
         yy += pizza->yoffset;
     }
 
-    wxNode *node = win->GetChildren().First();
+    wxWindowList::Node  *node = win->GetChildren().GetFirst();
     while (node)
     {
-        wxWindowGTK *child = (wxWindowGTK*)node->Data();
+        wxWindowGTK *child = node->GetData();
 
-        node = node->Next();
+        node = node->GetNext();
         if (!child->IsShown())
             continue;