X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b8ef0b35d674bc262eb2005ac1321762c831d31..68893d580363f62c7579cade2d9ee8f954eaf309:/src/common/evtloopcmn.cpp?ds=sidebyside diff --git a/src/common/evtloopcmn.cpp b/src/common/evtloopcmn.cpp index 9b72655106..5f9894d125 100644 --- a/src/common/evtloopcmn.cpp +++ b/src/common/evtloopcmn.cpp @@ -54,11 +54,6 @@ void wxEventLoopBase::OnExit() { if (wxTheApp) wxTheApp->OnEventLoopExit(this); - -#if wxUSE_EVENTLOOP_SOURCE - // unregister all sources - (void) RemoveAllSources(); -#endif } void wxEventLoopBase::WakeUpIdle()