mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[COMCTL32] Fix StatusBar left border frame missing (#7979)
Remove flag BF_MIDDLE from DrawEdge function. CORE-19854
This commit is contained in:
@@ -686,7 +686,11 @@ void WINAPI DrawStatusTextW (HDC hdc, LPCRECT lprc, LPCWSTR text, UINT style)
|
||||
border = 0;
|
||||
|
||||
oldbkcolor = SetBkColor (hdc, comctl32_color.clrBtnFace);
|
||||
#ifdef __REACTOS__ // HACK for CORE-19854.
|
||||
DrawEdge (hdc, &r, border, BF_RECT|BF_ADJUST);
|
||||
#else
|
||||
DrawEdge (hdc, &r, border, BF_MIDDLE|BF_RECT|BF_ADJUST);
|
||||
#endif
|
||||
|
||||
/* now draw text */
|
||||
if (text) {
|
||||
|
||||
Reference in New Issue
Block a user