2008-02-21 21:11:25 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: const_stdevtid.h
|
|
|
|
// Purpose: std event values enumerated
|
|
|
|
// Author: wxWidgets team
|
2010-07-13 13:29:13 +00:00
|
|
|
// Licence: wxWindows licence
|
2008-02-21 21:11:25 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
|
2008-03-12 08:50:42 +00:00
|
|
|
/**
|
2008-02-21 21:11:25 +00:00
|
|
|
|
2012-11-03 18:29:28 +00:00
|
|
|
@page page_stdevtid Standard Event Identifiers
|
2008-03-22 17:49:09 +00:00
|
|
|
|
|
|
|
wxWidgets defines a special identifier value @c wxID_ANY which is used in
|
|
|
|
the following two situations:
|
|
|
|
|
|
|
|
@li when creating a new window you may specify @c wxID_ANY to let
|
|
|
|
wxWidgets assign an unused identifier to it automatically
|
|
|
|
@li when installing an event handler using either the event table
|
|
|
|
macros or wxEvtHandler::Connect,
|
|
|
|
you may use it to indicate that you want to handle the events
|
|
|
|
coming from any control, regardless of its identifier
|
|
|
|
|
|
|
|
Another standard special identifier value is @c wxID_NONE: this is a value
|
|
|
|
which is not matched by any other id.
|
|
|
|
|
|
|
|
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 @c wxID_LOWEST and
|
|
|
|
@c wxID_HIGHEST and, accordingly, the user code should avoid defining its
|
|
|
|
own constants in this range (e.g. by using wxNewId()).
|
|
|
|
|
2011-11-05 11:54:14 +00:00
|
|
|
Refer to @ref page_stockitems "the list of stock items" for the subset of standard IDs
|
|
|
|
which are stock IDs as well.
|
2008-02-21 21:11:25 +00:00
|
|
|
|
|
|
|
*/
|