Commit bc22a893 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/tab: Simplify hottracked button painting.

parent 09d7fa70
...@@ -1483,10 +1483,7 @@ TAB_EraseTabInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect ...@@ -1483,10 +1483,7 @@ TAB_EraseTabInterior(const TAB_INFO *infoPtr, HDC hdc, INT iItem, RECT *drawRect
InflateRect(&rTemp, 2, 2); InflateRect(&rTemp, 2, 2);
FillRect(hdc, &rTemp, hbr); FillRect(hdc, &rTemp, hbr);
if (iItem == infoPtr->iHotTracked) if (iItem == infoPtr->iHotTracked)
{ DrawEdge(hdc, &rTemp, BDR_RAISEDINNER, BF_RECT);
DrawEdge(hdc, &rTemp, EDGE_RAISED, BF_SOFT|BF_TOPLEFT);
DrawEdge(hdc, &rTemp, EDGE_RAISED, BF_FLAT|BF_BOTTOMRIGHT);
}
} }
else else
FillRect(hdc, &rTemp, hbr); FillRect(hdc, &rTemp, hbr);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment