Nikolay Sivov : comctl32/tab: Simplify hottracked button painting.
Alexandre Julliard
julliard at winehq.org
Thu Apr 9 11:13:49 CDT 2009
Module: wine
Branch: master
Commit: bc22a893068dd380cae5d35d001fd5f60a6f5b8b
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bc22a893068dd380cae5d35d001fd5f60a6f5b8b
Author: Nikolay Sivov <bunglehead at gmail.com>
Date: Wed Apr 8 11:39:08 2009 -0400
comctl32/tab: Simplify hottracked button painting.
---
dlls/comctl32/tab.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/dlls/comctl32/tab.c b/dlls/comctl32/tab.c
index 4eebd15..c2ab01e 100644
--- a/dlls/comctl32/tab.c
+++ b/dlls/comctl32/tab.c
@@ -1483,10 +1483,7 @@ TAB_EraseTabInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect
InflateRect(&rTemp, 2, 2);
FillRect(hdc, &rTemp, hbr);
if (iItem == infoPtr->iHotTracked)
- {
- DrawEdge(hdc, &rTemp, EDGE_RAISED, BF_SOFT|BF_TOPLEFT);
- DrawEdge(hdc, &rTemp, EDGE_RAISED, BF_FLAT|BF_BOTTOMRIGHT);
- }
+ DrawEdge(hdc, &rTemp, BDR_RAISEDINNER, BF_RECT);
}
else
FillRect(hdc, &rTemp, hbr);
More information about the wine-cvs
mailing list