mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Accessor for retrieval of the handler.
This commit is contained in:
committed by
John Paul Mattia
parent
c9cd8fb251
commit
8bd68bf8e4
+1
-1
@@ -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_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user