// called when there is exception on descriptor
virtual void OnExceptionWaiting(int fd) = 0;
+
+ // virtual dtor for the base class
+ virtual ~wxFDIOHandler() { }
};
// those flags describes sets where descriptor should be added
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);