X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..17808a759627b03c2acbe7333dd2386557e1b804:/src/generic/htmllbox.cpp?ds=inline diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index fb819ab3e6..cc51601b0d 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -464,7 +464,7 @@ wxPoint wxHtmlListBox::GetRootCellCoords(size_t n) const bool wxHtmlListBox::PhysicalCoordsToCell(wxPoint& pos, wxHtmlCell*& cell) const { - int n = HitTest(pos); + int n = VirtualHitTest(pos.y); if ( n == wxNOT_FOUND ) return false;