Accessor for retrieval of the handler.

This commit is contained in:
JP Mattia
2026-07-09 17:53:51 -07:00
committed by John Paul Mattia
parent c9cd8fb251
commit 8bd68bf8e4
+1 -1
View File
@@ -191,6 +191,7 @@ public:
// event handling
void *GetClientData() const { return m_clientData; }
void SetClientData(void *data) { m_clientData = data; }
wxEvtHandler* GetEventHandler() const { return m_handler; }
void SetEventHandler(wxEvtHandler& handler, int id = wxID_ANY);
void SetNotify(wxSocketEventFlags flags);
void Notify(bool notify);
@@ -456,4 +457,3 @@ typedef void (wxEvtHandler::*wxSocketEventFunction)(wxSocketEvent&);
#endif // wxUSE_SOCKETS
#endif // _WX_SOCKET_H_