// Copyright: (c) 2006, 2013 Vadim Zeitlin <vadim@wxwindows.org>
// (c) 2013 Rob Bresalier
// Licence: wxWindows licence
// Copyright: (c) 2006, 2013 Vadim Zeitlin <vadim@wxwindows.org>
// (c) 2013 Rob Bresalier
// Licence: wxWindows licence
// Delegate to the event loop sources manager defined by it.
wxEventLoopSourcesManagerBase* const
manager = wxApp::GetValidTraits().GetEventLoopSourcesManager();
wxCHECK_MSG( manager, NULL, wxS("Must have wxEventLoopSourcesManager") );
return manager->AddSourceForFD(fd, handler, flags);
// Delegate to the event loop sources manager defined by it.
wxEventLoopSourcesManagerBase* const
manager = wxApp::GetValidTraits().GetEventLoopSourcesManager();
wxCHECK_MSG( manager, NULL, wxS("Must have wxEventLoopSourcesManager") );
return manager->AddSourceForFD(fd, handler, flags);