git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23627
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// see comment in Pending()
wxEventLoop * const loop = wxEventLoop::GetActive();
// see comment in Pending()
wxEventLoop * const loop = wxEventLoop::GetActive();
- return loop ? loop->Dispatch() : true;
+ return loop && loop->Dispatch();
#else // wxUSE_EVTLOOP_IN_APP
return true;
#endif // wxUSE_EVTLOOP_IN_APP/!wxUSE_EVTLOOP_IN_APP
#else // wxUSE_EVTLOOP_IN_APP
return true;
#endif // wxUSE_EVTLOOP_IN_APP/!wxUSE_EVTLOOP_IN_APP