Values returned from PtInRect and LB_ITEMFROMPOINT are reversed.
This commit is contained in:
parent
809abaab19
commit
777508a214
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue