From 5965a2d858536c16542c85542a212acb0946c591 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Wed, 24 Dec 2014 06:28:33 -0800 Subject: [PATCH] MGR: Work around a probable bug in wxWidgets on Linux which prevented some wxListCtrl rows from updating. --- clientgui/BOINCListCtrl.cpp | 14 -------------- 1 file changed, 14 deletions(-) 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); }