Opened 5 years ago

Closed 5 years ago

#11682 closed enhancement (fixed)

wxSTOCK_FOR_BUTTON details

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

Description

Patch:

  • The comment is weird
  • Be explicit, avoid "magic" number (5)

Attachments (1)

wxSTOCK_FOR_BUTTON.patch download (934 bytes) - added by troelsk 5 years ago.
Trunk

Download all attachments as: .zip

Change History (2)

Changed 5 years ago by troelsk

Trunk

comment:1 Changed 5 years ago by VZ

  • Resolution set to fixed
  • Status changed from new to closed

(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.