Fix checked disabled wxToolBar tools with custom images in wxMSW.

Windows doesn't use the correct image for checked disabled tools, at least up
to and including Windows 7, so don't put such tools in the "checked" state at
all: this doesn't matter as they are disabled anyhow, but shows the correct
image for them.

Closes #12989.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2014-12-05 22:19:25 +00:00
parent bf08ea2666
commit 29cd13cc8f
2 changed files with 30 additions and 4 deletions

View File

@@ -124,6 +124,7 @@ wxMSW:
- Fix wxMenuEvent::GetMenu() for wxEVT_MENU_{OPEN,CLOSE} in MDI frames.
- Added support for reading multi string values to wxRegKey (Carl Godkin).
- Fix updating wxSpinCtrlDouble tooltip text (Laurent Poujoulat).
- Fix appearance of checked disabled wxToolBar tools with custom images.
wxOSX/Cocoa: