Fix wxQT monolithic build on Linux
- Remove duplicate wxConsoleAppTraits::CreateEventLoop() It's already defined for Unix as well as Windows - Remove wxEventLoop AddSourceForFD() "override" the base version is static and therefore clearly not meant to be overridden
This commit is contained in:
@@ -53,17 +53,3 @@ wxPortId wxGUIAppTraits::GetToolkitVersion(int *majVer,
|
||||
|
||||
return wxPORT_QT;
|
||||
}
|
||||
|
||||
//#############################################################################
|
||||
|
||||
// this one fails to link under Windows; why is src/msw/basemsw.cpp picked up???
|
||||
#if wxUSE_CONSOLE_EVENTLOOP && !defined(__WINDOWS__)
|
||||
|
||||
wxEventLoopBase *wxConsoleAppTraits::CreateEventLoop()
|
||||
{
|
||||
return new wxEventLoop();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
//#############################################################################
|
||||
|
Reference in New Issue
Block a user