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