Move SendIdleEvents() from wxApp to wxWindow.

Use it to properly implement idle events for
wxGTK menubar, toolbar and statusbar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Paul Cornett
2011-01-08 06:42:41 +00:00
parent 8d6eed5f04
commit 0c3e2a5baa
7 changed files with 45 additions and 72 deletions

View File

@@ -722,19 +722,6 @@ public:
*/
bool ProcessMessage(WXMSG* msg);
/**
Sends idle events to a window and its children.
Please note that this function is internal to wxWidgets and shouldn't be used
by user code.
@remarks These functions poll the top-level windows, and their children,
for idle event processing. If @true is returned, more OnIdle
processing is requested by one or more window.
@see wxIdleEvent
*/
virtual bool SendIdleEvents(wxWindow* win, wxIdleEvent& event);
/**
Set display mode to use. This is only used in framebuffer wxWidgets
ports (such as wxMGL or wxDFB).