MGR: fix text position in progress bars

svn path=/trunk/boinc/; revision=16146
This commit is contained in:
Charlie Fenton 2008-10-06 23:09:28 +00:00
parent 16e5e5062e
commit 4ed28dab7a
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,6 @@ void CBOINCListCtrl::DrawProgressBars()
#endif
r.x = x;
r.width = w;
r.Inflate(-1, -2);
wxString progressString = m_pParentView->GetProgressText(row);
dc.GetTextExtent(progressString, &xx, &yy);
@ -337,6 +336,7 @@ void CBOINCListCtrl::DrawProgressBars()
}
rr = r;
rr.Inflate(-1, -2);
dc.SetLogicalFunction(wxCOPY);
dc.SetBackgroundMode(wxSOLID);