]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fdiodispatcher.cpp
fixed pagebreaks computation in tables (#9935, patch by D.J.Stauffer)
[wxWidgets.git] / src / common / fdiodispatcher.cpp
index f5264871305bad3a612f8d7e1c65a834d7dece28..83573829c108adbbad34b578d165b334f9508b23 100644 (file)
@@ -54,8 +54,8 @@ wxFDIODispatcher *wxFDIODispatcher::Get()
         if ( !gs_dispatcher )
 #endif // wxUSE_EPOLL_DISPATCHER
 #if wxUSE_SELECT_DISPATCHER
         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") );
     }
 
     wxASSERT_MSG( gs_dispatcher, _T("failed to create any IO dispatchers") );