mirror of
https://github.com/reactos/wine.git
synced 2025-01-27 15:02:26 +00:00
user32: Fix selected brush color for caret bitmap creation.
This commit is contained in:
parent
27c8564605
commit
dcddea361f
@ -154,7 +154,7 @@ BOOL WINAPI CreateCaret( HWND hwnd, HBITMAP bitmap, INT width, INT height )
|
||||
{
|
||||
HBITMAP hPrevBmp = SelectObject(hMemDC, hBmp);
|
||||
SetRect( &r, 0, 0, width, height );
|
||||
FillRect(hMemDC, &r, ULongToHandle((bitmap ? COLOR_GRAYTEXT : COLOR_WINDOW) + 1));
|
||||
FillRect(hMemDC, &r, bitmap ? GetStockObject(GRAY_BRUSH) : GetStockObject(WHITE_BRUSH));
|
||||
SelectObject(hMemDC, hPrevBmp);
|
||||
}
|
||||
DeleteDC(hMemDC);
|
||||
|
Loading…
x
Reference in New Issue
Block a user