1 \section{Standard event identifiers
}\label{stdevtid
}
3 wxWidgets defines a special identifier value
{\tt wxID
\_ANY} which is used in
4 the following two situations:
7 \item when creating a new window you may specify
{\tt wxID
\_ANY} to let
8 wxWidgets assign an unused identifier to it automatically
9 \item when installing an event handler using either the event table
10 macros or
\helpref{wxEvtHandler::Connect
}{wxevthandlerconnect
},
11 you may use it to indicate that you want to handle the events
12 coming from any control, regardless of its identifier
15 Another standard special identifier value is
{\tt wxID
\_NONE}: this is a value
16 which is not matched by any other id.
18 wxWidgets also defines a few standard command identifiers which may be used by
19 the user code and also are sometimes used by wxWidgets itself. These reserved
20 identifiers are all in the range between
{\tt wxID
\_LOWEST} and
21 {\tt wxID
\_HIGHEST} and, accordingly, the user code should avoid defining its
22 own constants in this range.
80 // Standard button IDs
121 wxID_REVERT_TO_SAVED,
123 // System menu IDs (used by wxUniv):
124 wxID_SYSTEM_MENU =
5200,
132 // IDs used by generic file dialog (
13 consecutive starting from this value)
133 wxID_FILEDLGG =
5900,