- if ( c == 0 )
- {
- handler = (wxGSocketIOHandler*)wxSelectDispatcher::Get().UnregisterFD(m_id[c], wxSelectInput);
- if (handler != NULL)
- handler->RemoveFlag(wxSelectInput);
- }
- else
- {
- handler = (wxGSocketIOHandler*)wxSelectDispatcher::Get().UnregisterFD(m_id[c], wxSelectOutput);
- if (handler != NULL)
- handler->RemoveFlag(wxSelectOutput);
- }
- if (handler && handler->GetFlags() == 0)