const_stdevtid.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. /////////////////////////////////////////////////////////////////////////////
  2. // Name: const_stdevtid.h
  3. // Purpose: std event values enumerated
  4. // Author: wxWidgets team
  5. // Licence: wxWindows licence
  6. /////////////////////////////////////////////////////////////////////////////
  7. /**
  8. @page page_stdevtid Standard Event Identifiers
  9. wxWidgets defines a special identifier value @c wxID_ANY which is used in
  10. the following two situations:
  11. @li when creating a new window you may specify @c wxID_ANY to let
  12. wxWidgets assign an unused identifier to it automatically
  13. @li when installing an event handler using either the event table
  14. macros or wxEvtHandler::Connect,
  15. you may use it to indicate that you want to handle the events
  16. coming from any control, regardless of its identifier
  17. Another standard special identifier value is @c wxID_NONE: this is a value
  18. which is not matched by any other id.
  19. wxWidgets also defines a few standard command identifiers which may be used by
  20. the user code and also are sometimes used by wxWidgets itself. These reserved
  21. identifiers are all in the range between @c wxID_LOWEST and
  22. @c wxID_HIGHEST and, accordingly, the user code should avoid defining its
  23. own constants in this range (e.g. by using wxNewId()).
  24. Refer to @ref page_stockitems "the list of stock items" for the subset of standard IDs
  25. which are stock IDs as well.
  26. */