fix new wxHVScroll code to build with WXWIN_COMPATIBILITY_2_8==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user