mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 20:42:16 +00:00
[COMCTL32] Fix StatusBar left border frame missing (#7979)
Remove flag BF_MIDDLE from DrawEdge function. CORE-19854
This commit is contained in:
parent
0fa49018cd
commit
a2dd6efcb4
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue