--- cvs/hq/wine/dlls/user/listbox.c 2005-07-13 17:56:48.000000000 +0900 +++ wine/dlls/user/listbox.c 2005-07-28 16:22:34.000000000 +0900 @@ -540,7 +540,6 @@ static void LISTBOX_PaintItem( LB_DESCR if (IS_OWNERDRAW(descr)) { DRAWITEMSTRUCT dis; - RECT r; HRGN hrgn; UINT id = (UINT)GetWindowLongPtrW( descr->self, GWLP_ID ); @@ -557,8 +556,7 @@ static void LISTBOX_PaintItem( LB_DESCR drawing the item, *and* restore the previous region after they are done, so a region has better to exist else everything ends clipped */ - GetClientRect(descr->self, &r); - hrgn = CreateRectRgnIndirect(&r); + hrgn = CreateRectRgnIndirect(rect); SelectClipRgn( hdc, hrgn); DeleteObject( hrgn );