Ticket #11682 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

wxSTOCK_FOR_BUTTON details

Reported by: troelsk Owned by:
Priority: normal Milestone:
Component: base Version: 2.9-svn
Keywords: wxGetStockLabel Cc:
Blocked By: Patch: yes
Blocking:

Description

Patch:
- The comment is weird
- Be explicit, avoid "magic" number (5)

Attachments

wxSTOCK_FOR_BUTTON.patch download (0.9 KB) - added by troelsk 3 years ago.
Trunk

Change History

Changed 3 years ago by troelsk

Trunk

Changed 3 years ago by VZ

  • status changed from new to closed
  • resolution set to fixed

(In [63383]) Extract wxSTOCK_WITHOUT_ELLIPSIS from wxSTOCK_FOR_BUTTON.

Make it possible to use this flag on its own, without wxSTOCK_WITH_MNEMONIC
which is also part of wxSTOCK_FOR_BUTTON. This can be useful for e.g. toolbar
buttons.

Closes #11681, #11682.

Note: See TracTickets for help on using tickets.