X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/985acf8734d61067c66b4812a9dd9da90d725851..7bf2b0881a6bf28138f258504e88b2643daa854e:/src/common/fdiodispatcher.cpp?ds=inline diff --git a/src/common/fdiodispatcher.cpp b/src/common/fdiodispatcher.cpp index f526487130..83573829c1 100644 --- a/src/common/fdiodispatcher.cpp +++ b/src/common/fdiodispatcher.cpp @@ -54,8 +54,8 @@ wxFDIODispatcher *wxFDIODispatcher::Get() 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") );