X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72fa3e8a218ea7a521410dda24803a608e3f04ca..82008f15b709fd4544468aec286663be1b24fc69:/include/wx/private/selectdispatcher.h diff --git a/include/wx/private/selectdispatcher.h b/include/wx/private/selectdispatcher.h index 2b43b03aa7..f174d1461f 100644 --- a/include/wx/private/selectdispatcher.h +++ b/include/wx/private/selectdispatcher.h @@ -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);