]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/app.cpp
Remove check for other wxPaintDCs. It should be done in wxWindow instead.
[wxWidgets.git] / src / mgl / app.cpp
index 2e85732f90a20108672462b4b5fa928469c6f5cc..45f77b88ae150d4309768e29ca659f4e2a4da61e 100644 (file)
@@ -272,15 +272,6 @@ bool wxApp::OnInitGui()
     return TRUE;
 }
 
-bool wxApp::ProcessIdle()
-{
-    wxIdleEvent event;
-    event.SetEventObject(this);
-    ProcessEvent(event);
-
-    return event.MoreRequested();
-}
-
 void wxApp::OnIdle(wxIdleEvent &event)
 {
     static bool s_inOnIdle = FALSE;
@@ -310,46 +301,6 @@ void wxApp::OnIdle(wxIdleEvent &event)
     s_inOnIdle = FALSE;
 }
 
-bool wxApp::SendIdleEvents()
-{
-    bool needMore = FALSE;
-
-    wxWindowList::Node* node = wxTopLevelWindows.GetFirst();
-    while (node)
-    {
-        wxWindow* win = node->GetData();
-        if ( SendIdleEvents(win) )
-            needMore = TRUE;
-        node = node->GetNext();
-    }
-
-    return needMore;
-}
-
-bool wxApp::SendIdleEvents(wxWindow* win)
-{
-    bool needMore = FALSE;
-
-    wxIdleEvent event;
-    event.SetEventObject(win);
-
-    win->GetEventHandler()->ProcessEvent(event);
-
-    if ( event.MoreRequested() )
-        needMore = TRUE;
-
-    wxNode* node = win->GetChildren().First();
-    while (node)
-    {
-        wxWindow* win = (wxWindow*) node->Data();
-        if ( SendIdleEvents(win) )
-            needMore = TRUE;
-
-        node = node->Next();
-    }
-    return needMore;
-}
-
 int wxApp::MainLoop()
 {
     int rt;