added wxID_NONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
8c6785f071
commit
dadacffc74
@ -12,6 +12,9 @@ you may use it to indicate that you want to handle the events
|
||||
coming from any control, regardless of its identifier
|
||||
\end{itemize}
|
||||
|
||||
Another standard special identifier value is {\tt 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 {\tt wxID\_LOWEST} and
|
||||
|
@ -1617,22 +1617,21 @@ enum wxBackgroundStyle
|
||||
/* standard IDs */
|
||||
/* ---------------------------------------------------------------------------- */
|
||||
|
||||
/* any id: means that we don't care about the id, whether when installing an */
|
||||
/* event handler or when creating a new window */
|
||||
enum
|
||||
{
|
||||
wxID_ANY = -1
|
||||
};
|
||||
|
||||
/* id for a separator line in the menu (invalid for normal item) */
|
||||
enum
|
||||
{
|
||||
wxID_SEPARATOR = -2
|
||||
};
|
||||
|
||||
/* Standard menu IDs */
|
||||
enum
|
||||
{
|
||||
/* no id matches this one when compared to it */
|
||||
wxID_NONE = -3,
|
||||
|
||||
/* id for a separator line in the menu (invalid for normal item) */
|
||||
wxID_SEPARATOR = -2,
|
||||
|
||||
/* any id: means that we don't care about the id, whether when installing
|
||||
* an event handler or when creating a new window */
|
||||
wxID_ANY = -1,
|
||||
|
||||
|
||||
/* all predefined ids are between wxID_LOWEST and wxID_HIGHEST */
|
||||
wxID_LOWEST = 4999,
|
||||
|
||||
wxID_OPEN,
|
||||
|
Loading…
Reference in New Issue
Block a user