[ComCtl32] Fix ownerdraw tab width

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch fixes a regression introduced by last Vitaliy Margolen patch.
The ownerdraw tabs were no longer sized correctly.

Changelog:
     * Fix ownerdraw tabs sizing.
-- 
Maxime Bellengà <maxime.bellenge@laposte.net>
Index: wine/dlls/comctl32/tab.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/tab.c,v
retrieving revision 1.86
diff -u -r1.86 tab.c
--- wine/dlls/comctl32/tab.c	14 Oct 2003 20:12:05 -0000	1.86
+++ wine/dlls/comctl32/tab.c	18 Oct 2003 09:55:53 -0000
@@ -1139,7 +1139,7 @@
     /* Set the leftmost position of the tab. */
     infoPtr->items[curItem].rect.left = curItemLeftPos;
 
-    if ( lStyle & (TCS_FIXEDWIDTH | TCS_OWNERDRAWFIXED) )
+    if ( lStyle & TCS_FIXEDWIDTH) 
     {
       infoPtr->items[curItem].rect.right = infoPtr->items[curItem].rect.left +
                                            infoPtr->tabWidth +

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux