X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..558820fd083635d3e1dc026a56b2f14870cb5c38:/include/wx/apptrait.h diff --git a/include/wx/apptrait.h b/include/wx/apptrait.h index aca979f67a..322b047c8e 100644 --- a/include/wx/apptrait.h +++ b/include/wx/apptrait.h @@ -205,6 +205,10 @@ protected: class WXDLLIMPEXP_BASE wxConsoleAppTraitsBase : public wxAppTraits { public: +#if !wxUSE_CONSOLE_EVENTLOOP + virtual wxEventLoopBase *CreateEventLoop() { return NULL; } +#endif // !wxUSE_CONSOLE_EVENTLOOP + #if wxUSE_LOG virtual wxLog *CreateLogTarget(); #endif // wxUSE_LOG