Don't make wxEventLoop::WakeUpIdle() virtual
It just forwards to (virtual) WakeUp() and there should be no need to ever override this method itself (nor even to keep it, except for backwards compatibility). No real changes.
This commit is contained in:
@@ -128,8 +128,9 @@ public:
|
|||||||
// idle handling
|
// idle handling
|
||||||
// -------------
|
// -------------
|
||||||
|
|
||||||
// make sure that idle events are sent again
|
// make sure that idle events are sent again: this is just an obsolete
|
||||||
virtual void WakeUpIdle();
|
// synonym for WakeUp()
|
||||||
|
void WakeUpIdle() { WakeUp(); }
|
||||||
|
|
||||||
// this virtual function is called when the application
|
// this virtual function is called when the application
|
||||||
// becomes idle and by default it forwards to wxApp::ProcessIdle() and
|
// becomes idle and by default it forwards to wxApp::ProcessIdle() and
|
||||||
|
@@ -88,11 +88,6 @@ void wxEventLoopBase::OnExit()
|
|||||||
wxTheApp->OnEventLoopExit(this);
|
wxTheApp->OnEventLoopExit(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void wxEventLoopBase::WakeUpIdle()
|
|
||||||
{
|
|
||||||
WakeUp();
|
|
||||||
}
|
|
||||||
|
|
||||||
bool wxEventLoopBase::ProcessIdle()
|
bool wxEventLoopBase::ProcessIdle()
|
||||||
{
|
{
|
||||||
return wxTheApp && wxTheApp->ProcessIdle();
|
return wxTheApp && wxTheApp->ProcessIdle();
|
||||||
|
Reference in New Issue
Block a user