X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ab2469043f2cb803720c4000dd93d3494bf3ef46..0fec2f73ecb616a2189f95c340e9fa7e5cc2350f:/docs/latex/wx/stdevtid.tex?ds=sidebyside diff --git a/docs/latex/wx/stdevtid.tex b/docs/latex/wx/stdevtid.tex index 679ff5b976..b186b9f3c3 100644 --- a/docs/latex/wx/stdevtid.tex +++ b/docs/latex/wx/stdevtid.tex @@ -1,18 +1,19 @@ \section{Standard event identifiers}\label{stdevtid} -wxWindows defines a special identifier value {\tt wxID\_ANY} which is used in +wxWidgets defines a special identifier value {\tt wxID\_ANY} which is used in the following two situations: + \begin{itemize} - \item when creating a new window you may specify {\tt wxID\_ANY} to let - wxWindows assign an unused identifier to it automatically - \item when installing an event handler using either the event table - macros or \helpref{wxEvtHandler::Connect}{wxevthandlerconnect} - you may use it to indicate that you want to handle the events - coming from any control, regardless of its identifier +\item when creating a new window you may specify {\tt wxID\_ANY} to let +wxWidgets assign an unused identifier to it automatically +\item when installing an event handler using either the event table +macros or \helpref{wxEvtHandler::Connect}{wxevthandlerconnect}, +you may use it to indicate that you want to handle the events +coming from any control, regardless of its identifier \end{itemize} -wxWindows also defines a few standard command identifiers which may be used by -the user code and also are sometimes used by wxWindows itself. These reserved +wxWidgets also defines a few standard command identifiers which may be used by +the user code and also are sometimes used by wxWidgets itself. These reserved identifiers are all in the range between {\tt wxID\_LOWEST} and {\tt wxID\_HIGHEST} and, accordingly, the user code should avoid defining its own constants in this range.