git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46120
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxEventLoop* wxGUIAppTraits::CreateEventLoop()
{
- return new wxEventLoop;
+ // MAJOR HACK: wxEventLoop is implemented in both core and base libraries.
+ // Fortunately, it has an empty implementation so an instance of the
+ // wxGUIEventLoop parent class will be fine until this issue is fixed.
+ return static_cast<wxEventLoop*>(new wxGUIEventLoop);
}
wxWindow* wxFindWindowAtPoint(const wxPoint& pt)