mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
[USER32][NTUSER] Fill by white in DrawFrameControl:DFC_MENU (#4779)
DrawFrameControl:DFC_MENU draws the monochrome image of menu arrow or checkmark. However, the function didn't draw the entire rectangle correctly when the rectangle was not a square. CORE-18417
This commit is contained in:
parent
b448fbdf59
commit
13868ee0e8
2 changed files with 2 additions and 0 deletions
|
@ -959,6 +959,7 @@ BOOL FASTCALL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
|
|||
WCHAR Symbol;
|
||||
RECT myr;
|
||||
INT cxy;
|
||||
FillRect(dc, r, (HBRUSH)NtGdiGetStockObject(WHITE_BRUSH));
|
||||
cxy = UITOOLS_MakeSquareRect(r, &myr);
|
||||
switch(uFlags & 0x1f)
|
||||
{
|
||||
|
|
|
@ -978,6 +978,7 @@ static BOOL UITOOLS95_DrawFrameMenu(HDC dc, LPRECT r, UINT uFlags)
|
|||
TCHAR Symbol;
|
||||
RECT myr;
|
||||
INT cxy;
|
||||
FillRect(dc, r, (HBRUSH)GetStockObject(WHITE_BRUSH));
|
||||
cxy = UITOOLS_MakeSquareRect(r, &myr);
|
||||
switch(uFlags & 0x1f)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue