]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fdiodispatcher.cpp
don't call OnCloseDocument() from OnNewDocument(), this plainly doesn't make sense...
[wxWidgets.git] / src / common / fdiodispatcher.cpp
index 65c862cf880f36105d6a63890385fb3fedf08333..83573829c108adbbad34b578d165b334f9508b23 100644 (file)
@@ -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
     }