Commit 06e09f67 authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Disable SetSolidBrush16 since it requires access to gdi32 internals.

parent d9700b6a
......@@ -447,24 +447,3 @@ static INT BRUSH_GetObject( HGDIOBJ handle, INT count, LPVOID buffer )
GDI_ReleaseObj( handle );
return count;
}
/***********************************************************************
* BRUSH_SetSolid
*/
BOOL BRUSH_SetSolid( HGDIOBJ handle, COLORREF new_color )
{
BRUSHOBJ * brushPtr;
BOOL res = FALSE;
if (!(brushPtr = GDI_GetObjPtr( handle, OBJ_BRUSH )))
return FALSE;
if (brushPtr->logbrush.lbStyle == BS_SOLID)
{
brushPtr->logbrush.lbColor = new_color;
res = TRUE;
}
GDI_ReleaseObj( handle );
return res;
}
......@@ -3521,9 +3521,8 @@ BOOL16 WINAPI SetLayout16( HDC16 hdc, DWORD layout )
*/
BOOL16 WINAPI SetSolidBrush16(HBRUSH16 hBrush, COLORREF newColor )
{
TRACE("(hBrush %04x, newColor %08x)\n", hBrush, newColor);
return BRUSH_SetSolid( HBRUSH_32(hBrush), newColor );
FIXME( "%04x %08x no longer supported\n", hBrush, newColor );
return FALSE;
}
......
......@@ -359,9 +359,6 @@ extern HBITMAP BITMAP_CopyBitmap( HBITMAP hbitmap ) DECLSPEC_HIDDEN;
extern BOOL BITMAP_SetOwnerDC( HBITMAP hbitmap, DC *dc ) DECLSPEC_HIDDEN;
extern INT BITMAP_GetWidthBytes( INT bmWidth, INT bpp ) DECLSPEC_HIDDEN;
/* brush.c */
extern BOOL BRUSH_SetSolid( HGDIOBJ handle, COLORREF new_color ) DECLSPEC_HIDDEN;
/* clipping.c */
extern void CLIPPING_UpdateGCRegion( DC * dc ) DECLSPEC_HIDDEN;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment