Toolbar: Fix CheckButton + Other Minor Fixes

Robert Shearman R.J.Shearman at warwick.ac.uk
Sun Mar 14 22:41:41 CST 2004


Hi,

This patch fixes TBSTATE_MARKED drawing with text supposed to be drawn
with the highlight colour and a temporary hack for setting the drawing
mode to OPAQUE. This should probably done in DrawButton based on the
values in the custom draw structure, but I have yet to determine what
Windows defines as "highlighted" on this particular occasion. This patch
also removes a check in CheckButton, which the native version does not
do and on which IE depends.

Rob

Changelog:
- Fix TBSTATE_MARKED drawing
- Indeterminate buttons should be drawn with the disabled image list.
- Remove bad check in TOOLBAR_CheckButton
- More debug messages

-------------- next part --------------
A non-text attachment was scrubbed...
Name: toolbar_check.diff
Type: text/x-patch
Size: 2442 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040315/f07c1488/toolbar_check.bin


More information about the wine-patches mailing list