[COMCTL32] Fix StatusBar left border frame missing (#7979)

Remove flag BF_MIDDLE from DrawEdge function.

CORE-19854
This commit is contained in:
Doug Lyons 2025-05-14 17:15:16 -05:00 committed by GitHub
parent 0fa49018cd
commit a2dd6efcb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {