comctl32/tab.c
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Thu Aug 19 10:06:15 CDT 2004
ChangeLog:
Ulrich Czekalla <ulrich at codeweavers.com>
The rectangle passed in DRAWITEMSTRUCT is slightly too large as
compared with Windows
-------------- next part --------------
Index: dlls/comctl32/tab.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tab.c,v
retrieving revision 1.95
diff -u -r1.95 tab.c
--- dlls/comctl32/tab.c 16 Jul 2004 02:30:48 -0000 1.95
+++ dlls/comctl32/tab.c 19 Aug 2004 15:01:16 -0000
@@ -1637,6 +1637,14 @@
DRAWITEMSTRUCT dis;
UINT id;
+ drawRect->top += 2;
+ drawRect->right -= 1;
+ if ( iItem == infoPtr->iSelected )
+ {
+ drawRect->right -= 1;
+ drawRect->left += 1;
+ }
+
/*
* get the control id
*/
More information about the wine-patches
mailing list