define CreateEventLoop() even if wxUSE_CONSOLE_EVENTLOOP == 0 (because it's declared pure virtual in the base class), just return NULL from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -91,14 +91,15 @@ wxTimerImpl *wxConsoleAppTraits::CreateTimerImpl(wxTimer *timer)
|
|||||||
|
|
||||||
#endif // wxUSE_TIMER
|
#endif // wxUSE_TIMER
|
||||||
|
|
||||||
#if wxUSE_CONSOLE_EVENTLOOP
|
|
||||||
|
|
||||||
wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
|
wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
|
||||||
{
|
{
|
||||||
|
#if wxUSE_CONSOLE_EVENTLOOP
|
||||||
return new wxEventLoop();
|
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)
|
WXDWORD wxConsoleAppTraits::WaitForThread(WXHANDLE hThread)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user