Rationalised OnIdle

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-07-14 08:41:08 +00:00
parent 9977626de4
commit 955a919785
18 changed files with 37 additions and 349 deletions

View File

@@ -381,16 +381,13 @@ public:
// it should return TRUE if more idle events are needed, FALSE if not
virtual bool ProcessIdle() ;
#if 0
// Send idle event to all top-level windows.
// Returns TRUE if more idle time is requested.
virtual bool SendIdleEvents();
#endif
// Send idle event to window and all subwindows
// Returns TRUE if more idle time is requested.
virtual bool SendIdleEvents(wxWindow* win, wxIdleEvent& event);
// Perform standard OnIdle behaviour: call from port's OnIdle
void OnIdle(wxIdleEvent& event);
// top level window functions
// --------------------------

View File

@@ -53,9 +53,6 @@ public:
virtual bool Yield(bool onlyIfNeeded = FALSE);
virtual void WakeUpIdle() { CocoaRequestIdle(); }
/* Idle Processing */
void OnIdle(wxIdleEvent& event);
virtual bool Initialize(int& argc, wxChar **argv);
virtual void CleanUp();
virtual bool CallOnInit();

View File

@@ -52,9 +52,6 @@ public:
virtual bool Yield(bool onlyIfNeeded = FALSE);
virtual void WakeUpIdle();
// implementation only from now on
void OnIdle( wxIdleEvent &event );
virtual bool Initialize(int& argc, wxChar **argv);
virtual void CleanUp();

View File

@@ -52,9 +52,6 @@ public:
virtual bool Yield(bool onlyIfNeeded = FALSE);
virtual void WakeUpIdle();
// implementation only from now on
void OnIdle( wxIdleEvent &event );
virtual bool Initialize(int& argc, wxChar **argv);
virtual void CleanUp();

View File

@@ -48,9 +48,6 @@ public:
virtual bool Pending();
virtual void Dispatch();
// implementation only from now on
void OnIdle(wxIdleEvent &event);
virtual bool Initialize(int& argc, wxChar **argv);
virtual void CleanUp();

View File

@@ -66,8 +66,6 @@ public:
// implementation from now on
// --------------------------
void OnIdle(wxIdleEvent& event);
protected:
bool m_showOnInit;

View File

@@ -66,8 +66,6 @@ public:
// implementation from now on
// --------------------------
void OnIdle(wxIdleEvent& event);
// Processes an X event.
virtual bool ProcessXEvent(WXEvent* event);