added wxEvtHandler::Disconnect(evtType, ...) overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
d8809820cc
commit
bdbe28fa38
@ -121,6 +121,9 @@ handler is disconnected.}
|
||||
|
||||
\membersection{wxEvtHandler::Disconnect}\label{wxevthandlerdisconnect}
|
||||
|
||||
\func{bool}{Disconnect}{\param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
|
||||
\param{wxObject*}{ userData = NULL}, \param{wxEvtHandler*}{ eventSink = NULL}}
|
||||
|
||||
\func{bool}{Disconnect}{\param{int}{ id = \texttt{wxID\_ANY}},
|
||||
\param{wxEventType }{eventType = wxEVT\_NULL}, \param{wxObjectEventFunction}{ function = NULL},
|
||||
\param{wxObject*}{ userData = NULL}, \param{wxEvtHandler*}{ eventSink = NULL}}
|
||||
|
@ -2355,6 +2355,11 @@ public:
|
||||
wxEvtHandler *eventSink = (wxEvtHandler *) NULL)
|
||||
{ return Disconnect(winid, wxID_ANY, eventType, func, userData, eventSink); }
|
||||
|
||||
bool Disconnect(wxEventType eventType,
|
||||
wxObjectEventFunction func = NULL,
|
||||
wxObject *userData = (wxObject *) NULL,
|
||||
wxEvtHandler *eventSink = (wxEvtHandler *) NULL)
|
||||
{ return Disconnect(wxID_ANY, eventType, func, userData, eventSink); }
|
||||
|
||||
wxList* GetDynamicEventTable() const { return m_dynamicEvents ; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user