]> git.saurik.com Git - wxWidgets.git/commit - src/msw/button.cpp
Use disabled version of normal bitmap for disabled one in wxMSW::wxButton.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2011 17:15:34 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2011 17:15:34 +0000 (17:15 +0000)
commitb78a53aca02d92b3334b40a94a322d467c75372c
tree7daa2e9aa40760be98bc6e887633df6c9f432bad
parent38e4bfde171ed2ea63c0aeacb7b921f8983b7211
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.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/button.cpp