git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39061
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxSize client_size = GetClientSize();
m_owner->CalcUnscrolledPosition( client_size.x, client_size.y, &client_size.x, &client_size.y );
wxSize client_size = GetClientSize();
m_owner->CalcUnscrolledPosition( client_size.x, client_size.y, &client_size.x, &client_size.y );
- return wxMin( GetRowCount()-1, (client_size.y/m_lineHeight)+1 );
+ return wxMin( GetRowCount()-1, ((unsigned)client_size.y/m_lineHeight)+1 );
}
size_t wxDataViewMainWindow::GetRowCount()
}
size_t wxDataViewMainWindow::GetRowCount()