]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/htmllbox.cpp
move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently...
[wxWidgets.git] / src / generic / htmllbox.cpp
index fb819ab3e64de579c6e82d923a14af29bffe127c..cc51601b0d8d490a0f3eb1e4c367a74d4dc53f1d 100644 (file)
@@ -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;