git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50409
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
bool wxHtmlListBox::PhysicalCoordsToCell(wxPoint& pos, wxHtmlCell*& cell) const
{
- int n = HitTest(pos);
+ int n = VirtualHitTest(pos.y);
if ( n == wxNOT_FOUND )
return false;
{
SetFocus();
- int item = HitTest(event.GetPosition());
+ int item = VirtualHitTest(event.GetPosition().y);
if ( item != wxNOT_FOUND )
{
void wxVListBox::OnLeftDClick(wxMouseEvent& eventMouse)
{
- int item = HitTest(eventMouse.GetPosition());
+ int item = VirtualHitTest(eventMouse.GetPosition().y);
if ( item != wxNOT_FOUND )
{