Values returned from PtInRect and LB_ITEMFROMPOINT are reversed.

This commit is contained in:
Gerard Patel 1999-05-08 12:35:17 +00:00 committed by Alexandre Julliard
parent 809abaab19
commit 777508a214
1 changed files with 1 additions and 1 deletions

View File

@ -2257,7 +2257,7 @@ static inline LRESULT WINAPI ListBoxWndProc_locked( WND* wnd, UINT msg,
rect.bottom = descr->height;
return MAKELONG( LISTBOX_GetItemFromPoint(wnd, descr, pt.x, pt.y),
PtInRect( &rect, pt ) );
!PtInRect( &rect, pt ) );
}
case LB_SETCARETINDEX16: