X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6b8ef0b35d674bc262eb2005ac1321762c831d31..17d98558b35b75e3cad68d96841b4fa5a0c7e6ee:/src/common/evtloopcmn.cpp diff --git a/src/common/evtloopcmn.cpp b/src/common/evtloopcmn.cpp index 9b72655106..300a1885d1 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() @@ -87,7 +82,7 @@ bool wxEventLoopBase::Yield(bool onlyIfNeeded) } // wxEventLoopManual is unused in the other ports -#if defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXDFB__) || (defined(__UNIX__) && wxUSE_BASE) +#if defined(__WXMSW__) || defined(__WXDFB__) || ( ( defined(__UNIX__) && !defined(__WXOSX__) ) && wxUSE_BASE) // ============================================================================ // wxEventLoopManual implementation