X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e72b8b51770b59a83eb32f4d766b89f6c4dc615..b13cd66e42c77e1c71585e67eeab6560b38178b3:/docs/latex/wx/evthand.tex diff --git a/docs/latex/wx/evthand.tex b/docs/latex/wx/evthand.tex index 3b543f1a72..45ae21f81b 100644 --- a/docs/latex/wx/evthand.tex +++ b/docs/latex/wx/evthand.tex @@ -142,6 +142,17 @@ should be made available by deriving a new class with new data members. \helpref{wxEvtHandler::SetClientData}{wxevthandlersetclientdata} +\membersection{wxEvtHandler::GetClientObject}\label{wxevthandlergetclientobject} + +\constfunc{wxClientData*}{GetClientObject}{\void} + +Get a pointer to the user-supplied client data object. + +\wxheading{See also} + +\helpref{wxEvtHandler::SetClientObject}{wxevthandlersetclientobject}, +\helpref{wxClientData}{wxclientdata} + \membersection{wxEvtHandler::GetEvtHandlerEnabled}\label{wxevthandlergetevthandlerenabled} \func{bool}{GetEvtHandlerEnabled}{\void} @@ -282,12 +293,25 @@ Sets user-supplied client data. Normally, any extra data the programmer wishes to associate with the object should be made available by deriving a new class -with new data members. +with new data members. You must not call this method and +\helpref{SetClientObject}{wxevthandlersetclientobject} on the +same class - only one of them. \wxheading{See also} \helpref{wxEvtHandler::GetClientData}{wxevthandlergetclientdata} +\membersection{wxEvtHandler::SetClientObject}\label{wxevthandlersetclientobject} + +\func{void}{SetClientObject}{\param{wxClientData* }{data}} + +Set the client data object. Any previous object will be deleted. + +\wxheading{See also} + +\helpref{wxEvtHandler::GetClientObject}{wxevthandlergetclientobject}, +\helpref{wxClientData}{wxclientdata} + \membersection{wxEvtHandler::SetEvtHandlerEnabled}\label{wxevthandlersetevthandlerenabled} \func{void}{SetEvtHandlerEnabled}{\param{bool }{enabled}}