MGR: Fix sizes of task panes and buttons, ellipsing button text if needed

svn path=/trunk/boinc/; revision=25151
This commit is contained in:
Charlie Fenton 2012-01-25 12:34:33 +00:00
parent db9d7c60fe
commit 16397f2dcd
1 changed files with 0 additions and 1 deletions

View File

@ -190,7 +190,6 @@ wxInt32 CBOINCTaskCtrl::UpdateControls() {
pItem->m_strNameEllipsed = pItem->m_strName;
EllipseStringIfNeeded(pItem->m_strNameEllipsed);
pItem->m_pButton->Create(this, pItem->m_iEventID, pItem->m_strNameEllipsed, wxDefaultPosition, wxSize(TASKBUTTONWIDTH, -1), 0);
pItem->m_pButton->SetLabel( pItem->m_strNameEllipsed );
pItem->m_pButton->SetHelpText(pItem->m_strDescription);
#if wxUSE_TOOLTIPS
pItem->m_pButton->SetToolTip(pItem->m_strName + wxT(": ") + pItem->m_strDescription);