Signed-off-by: Jinoh Kang jinoh.kang.kr@gmail.com --- dlls/comctl32/static.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/comctl32/static.c b/dlls/comctl32/static.c index 7a3ac958111..3b79a650ed9 100644 --- a/dlls/comctl32/static.c +++ b/dlls/comctl32/static.c @@ -858,9 +858,9 @@ static void STATIC_PaintBitmapfn(HWND hwnd, HDC hdc, DWORD style ) SetBkColor(hdc, brush.lbColor); } GetClientRect(hwnd, &rcClient); + FillRect( hdc, &rcClient, hbrush ); if (style & SS_CENTERIMAGE) { - FillRect( hdc, &rcClient, hbrush ); rcClient.left = (rcClient.right - rcClient.left)/2 - bm.bmWidth/2; rcClient.top = (rcClient.bottom - rcClient.top)/2 - bm.bmHeight/2; rcClient.right = rcClient.left + bm.bmWidth;