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 wxWidgets also defines a few standard command identifiers which may be used by
16 the user code and also are sometimes used by wxWidgets itself. These reserved
17 identifiers are all in the range between
{\tt wxID
\_LOWEST} and
18 {\tt wxID
\_HIGHEST} and, accordingly, the user code should avoid defining its
19 own constants in this range.
75 // Standard button IDs
116 wxID_REVERT_TO_SAVED,
118 // System menu IDs (used by wxUniv):
119 wxID_SYSTEM_MENU =
5200,
127 // IDs used by generic file dialog (
13 consecutive starting from this value)
128 wxID_FILEDLGG =
5900,