diff --git a/clientgui/BOINCListCtrl.cpp b/clientgui/BOINCListCtrl.cpp index 41133c4b39..af9c1151c3 100644 --- a/clientgui/BOINCListCtrl.cpp +++ b/clientgui/BOINCListCtrl.cpp @@ -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); }