From 73d7337e8308f5d8d0ba0568a13d258d58f14545 Mon Sep 17 00:00:00 2001 From: Francois Boisvert Date: Wed, 13 Oct 1999 13:49:42 +0000 Subject: [PATCH] Removed FillRect in the ownerdrawn button procedure. --- controls/button.c | 1 - 1 file changed, 1 deletion(-) diff --git a/controls/button.c b/controls/button.c index 5ca6457728d..50e816007f9 100644 --- a/controls/button.c +++ b/controls/button.c @@ -892,7 +892,6 @@ static void OB_Paint( WND *wndPtr, HDC hDC, WORD action ) GetClientRect( wndPtr->hwndSelf, &dis.rcItem ); SetBkColor( hDC, GetSysColor( COLOR_BTNFACE ) ); - FillRect( hDC, &dis.rcItem, GetSysColorBrush( COLOR_BTNFACE ) ); SendMessageA( GetParent(wndPtr->hwndSelf), WM_DRAWITEM, wndPtr->wIDmenu, (LPARAM)&dis );