if ( !gs_dispatcher )
#endif // wxUSE_EPOLL_DISPATCHER
#if wxUSE_SELECT_DISPATCHER
- gs_dispatcher = wxSelectDispatcher::Create();
-#endif // wxUSE_WCHAR_T
+ gs_dispatcher = new wxSelectDispatcher();
+#endif // wxUSE_SELECT_DISPATCHER
}
wxASSERT_MSG( gs_dispatcher, _T("failed to create any IO dispatchers") );