X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a8ff046ba980a89f11125477e736cf235ebd7186..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/msw/basemsw.cpp diff --git a/src/msw/basemsw.cpp b/src/msw/basemsw.cpp index 5becc21693..4ba9b8b091 100644 --- a/src/msw/basemsw.cpp +++ b/src/msw/basemsw.cpp @@ -91,14 +91,15 @@ wxTimerImpl *wxConsoleAppTraits::CreateTimerImpl(wxTimer *timer) #endif // wxUSE_TIMER -#if wxUSE_CONSOLE_EVENTLOOP - wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop() { +#if wxUSE_CONSOLE_EVENTLOOP return new wxEventLoop(); +#else // !wxUSE_CONSOLE_EVENTLOOP + return NULL; +#endif // wxUSE_CONSOLE_EVENTLOOP/!wxUSE_CONSOLE_EVENTLOOP } -#endif // wxUSE_CONSOLE_EVENTLOOP WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread) {