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:
Vadim Zeitlin
2018-01-13 17:39:40 +01:00
parent 9b4759d7b6
commit d617834eb9
2 changed files with 3 additions and 7 deletions

View File

@@ -128,8 +128,9 @@ public:
// idle handling
// -------------
// make sure that idle events are sent again
virtual void WakeUpIdle();
// make sure that idle events are sent again: this is just an obsolete
// synonym for WakeUp()
void WakeUpIdle() { WakeUp(); }
// this virtual function is called when the application
// becomes idle and by default it forwards to wxApp::ProcessIdle() and

View File

@@ -88,11 +88,6 @@ void wxEventLoopBase::OnExit()
wxTheApp->OnEventLoopExit(this);
}
void wxEventLoopBase::WakeUpIdle()
{
WakeUp();
}
bool wxEventLoopBase::ProcessIdle()
{
return wxTheApp && wxTheApp->ProcessIdle();