remove the badle defined and apparently unnecessary wxSocketImpl::m_detected field
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,17 +72,13 @@ private:
|
||||
|
||||
// enable or disable notifications for socket input/output events
|
||||
void EnableEvents() { DoEnableEvents(true); }
|
||||
void DisableEvents() { DoEnableEvents(false);
|
||||
}
|
||||
void DisableEvents() { DoEnableEvents(false); }
|
||||
|
||||
// really enable or disable socket input/output events
|
||||
void DoEnableEvents(bool enable);
|
||||
|
||||
|
||||
// enable or disable events for the given event
|
||||
//
|
||||
// notice that these functions also update m_detected: EnableEvent() clears
|
||||
// the corresponding bit in it and DisableEvent() sets it
|
||||
void EnableEvent(wxSocketNotify event);
|
||||
void DisableEvent(wxSocketNotify event);
|
||||
|
||||
@@ -99,9 +95,6 @@ protected:
|
||||
|
||||
// the events which are currently enabled for this socket, combination of
|
||||
// wxFDIO_INPUT and wxFDIO_OUTPUT values
|
||||
//
|
||||
// TODO: this overlaps with m_detected but the semantics of the latter are
|
||||
// very unclear so I don't dare to remove it right now
|
||||
int m_enabledCallbacks;
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user