]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/app.cpp
Fixed core dump for when there is no image list on the TreeCtrl
[wxWidgets.git] / src / stubs / app.cpp
index bfe240f2259d65995dd04927b70441824c883a42..b04a01bbe254908e39fe0a9b0d67217474674ac7 100644 (file)
@@ -326,7 +326,7 @@ bool wxApp::SendIdleEvents(wxWindow* win)
     if (event.MoreRequested())
         needMore = TRUE;
 
     if (event.MoreRequested())
         needMore = TRUE;
 
-       wxNode* node = win->GetChildren()->First();
+       wxNode* node = win->GetChildren().First();
        while (node)
        {
                wxWindow* win = (wxWindow*) node->Data();
        while (node)
        {
                wxWindow* win = (wxWindow*) node->Data();