]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/odcombo.cpp
fix new wxHVScroll code to build with WXWIN_COMPATIBILITY_2_8==0
[wxWidgets.git] / src / generic / odcombo.cpp
index 575641d93dc2e1b2e61e690ea4ace8f6ba34c7f8..1aef60c99cb75b8dc7ce8181412cfb157909b351 100644 (file)
@@ -399,7 +399,7 @@ void wxVListBoxComboPopup::OnMouseMove(wxMouseEvent& event)
     const size_t lineMax = GetVisibleEnd();
     for ( size_t line = GetVisibleBegin(); line < lineMax; line++ )
     {
-        y -= OnGetLineHeight(line);
+        y -= OnGetRowHeight(line);
         if ( y < 0 )
         {
             // Only change selection if item is fully visible