isolate Unix-only code with if guards

This commit is contained in:
Cătălin Răceanu
2018-08-03 00:40:00 +03:00
parent f1bfa20fca
commit aa2d2aa761

View File

@@ -94,10 +94,12 @@ public:
wxVector<wxQtFDIONotifier*> m_qtNotifiers;
};
#if defined(__UNIX__)
wxFDIOManager *wxGUIAppTraits::GetFDIOManager()
{
static QtFDIOManager s_manager;
return &s_manager;
}
#endif // __UNIX__
#endif // wxUSE_SOCKETS && __UNIX__
#endif // wxUSE_SOCKETS