]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/private/selectdispatcher.h
allow passing wx[W]CharBuffer to wx vararg templates
[wxWidgets.git] / include / wx / private / selectdispatcher.h
index 2b43b03aa762da0200b5d9c38aae1654164d4c1d..f174d1461f40789863511acbdb37dec711cb3e4a 100644 (file)
@@ -75,7 +75,7 @@ public:
     void RunLoop(int timeout = wxSELECT_TIMEOUT_INFINITE);
 
 protected:
-    wxSelectDispatcher() { }
+    wxSelectDispatcher() { m_maxFD = -1; }
 
 private:
     void ProcessSets(fd_set* readset, fd_set* writeset, fd_set* exeptset, int max_fd);