X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e39af974ef7846e26686ae39d74e4696c1fef0c3..2eb10e2a17a02acaaa32a41304243999f3a862a1:/include/wx/app.h diff --git a/include/wx/app.h b/include/wx/app.h index c479f17df7..35d9b5d06e 100644 --- a/include/wx/app.h +++ b/include/wx/app.h @@ -381,13 +381,12 @@ public: // it should return TRUE if more idle events are needed, FALSE if not virtual bool ProcessIdle() ; - // Send idle event to all top-level windows. - // Returns TRUE if more idle time is requested. - virtual bool SendIdleEvents(); - // Send idle event to window and all subwindows // Returns TRUE if more idle time is requested. - virtual bool SendIdleEvents(wxWindow* win); + virtual bool SendIdleEvents(wxWindow* win, wxIdleEvent& event); + + // Perform standard OnIdle behaviour: call from port's OnIdle + void OnIdle(wxIdleEvent& event); // top level window functions