Opened 7 years ago

Closed 7 years ago

#13070 closed optimization (fixed)

Grey out bitmap when wxButton is disabled

Reported by: R.U.10 Owned by:
Priority: normal Milestone: 2.9.2
Component: wxMSW Version: stable-latest
Keywords: wxBitmapButton wxButton grayed disabled bitmap Cc:
Blocked By: Blocking:
Patch: yes


Provides a grayed out version of the default bitmap given at the wx[Bitmap]Button construction to display it when the button is disabled.

Attachments (1)

DisabledBitmapButton.patch download (646 bytes) - added by R.U.10 7 years ago.
Grey out disabled bitmap button

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by R.U.10

Grey out disabled bitmap button

comment:1 Changed 7 years ago by VZ

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

(In [67284]) Use disabled version of normal bitmap for disabled one in wxMSW::wxButton.

Initialize the disabled button bitmap with a greyed out version of the normal
one instead of using the same normal bitmap for it. This is more consistent
with the other ports and makes more sense.

Closes #13070.

Note: See TracTickets for help on using tickets.