MGR: Work around a probable bug in wxWidgets on Linux which prevented some wxListCtrl rows from updating.

This commit is contained in:
Charlie Fenton 2014-12-24 06:28:33 -08:00
parent ce96f71706
commit 5965a2d858
1 changed files with 0 additions and 14 deletions

View File

@ -620,21 +620,7 @@ void CBOINCListCtrl::OnMouseDown(wxMouseEvent& event) {
void CBOINCListCtrl::RefreshCell(int row, int col) {
wxRect r;
#if (defined (__WXMSW__) && wxCHECK_VERSION(2,8,0))
GetSubItemRect(row, col, r);
#else
int i;
GetItemRect(row, r);
#if ! USE_NATIVE_LISTCONTROL
r.y = r.y - GetHeaderHeight() - 1;
#endif
for (i=0; i< col; i++) {
r.x += GetColumnWidth(i);
}
r.width = GetColumnWidth(col);
#endif
RefreshRect(r);
}