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.

See #12989.

(cherry picked from commit 29cd13cc8f)
This commit is contained in:
Vadim Zeitlin
2014-12-05 22:19:25 +00:00
committed by Dimitri Schoolwerth
parent fd95ab5615
commit cfe9625a0d
2 changed files with 30 additions and 4 deletions

View File

@@ -715,6 +715,7 @@ wxMSW:
- Fix using Esc as accelerator in the menus.
- Fix wrong initial status bar height in some cases (Artur Wieczorek).
- Correct wxGetOsDescription() for Windows 10 (Tobias Taschner).
- Fix appearance of checked disabled wxToolBar tools with custom images.
3.0.1: (released 2014-06-15)