Removed FillRect in the ownerdrawn button procedure.

This commit is contained in:
Francois Boisvert 1999-10-13 13:49:42 +00:00 committed by Alexandre Julliard
parent fbecbc2952
commit 73d7337e83
1 changed files with 0 additions and 1 deletions

View File

@ -892,7 +892,6 @@ static void OB_Paint( WND *wndPtr, HDC hDC, WORD action )
GetClientRect( wndPtr->hwndSelf, &dis.rcItem ); GetClientRect( wndPtr->hwndSelf, &dis.rcItem );
SetBkColor( hDC, GetSysColor( COLOR_BTNFACE ) ); SetBkColor( hDC, GetSysColor( COLOR_BTNFACE ) );
FillRect( hDC, &dis.rcItem, GetSysColorBrush( COLOR_BTNFACE ) );
SendMessageA( GetParent(wndPtr->hwndSelf), WM_DRAWITEM, SendMessageA( GetParent(wndPtr->hwndSelf), WM_DRAWITEM,
wndPtr->wIDmenu, (LPARAM)&dis ); wndPtr->wIDmenu, (LPARAM)&dis );