X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2804f77d88eb478f85a281b19d87e38cd96e0d0c..0bbe61b8c18a1795189f0cf73cc61c14a0fb846d:/src/common/fdiodispatcher.cpp?ds=sidebyside diff --git a/src/common/fdiodispatcher.cpp b/src/common/fdiodispatcher.cpp index 65c862cf88..83573829c1 100644 --- a/src/common/fdiodispatcher.cpp +++ b/src/common/fdiodispatcher.cpp @@ -54,7 +54,7 @@ wxFDIODispatcher *wxFDIODispatcher::Get() if ( !gs_dispatcher ) #endif // wxUSE_EPOLL_DISPATCHER #if wxUSE_SELECT_DISPATCHER - gs_dispatcher = wxSelectDispatcher::Create(); + gs_dispatcher = new wxSelectDispatcher(); #endif // wxUSE_SELECT_DISPATCHER }