| 487 | |
| 488 | |
| 489 | void CSharedFilesCtrl::ShowFilesCount() |
| 490 | { |
| 491 | wxStaticText* label = CastByName( "sharedFilesLabel", GetParent(), wxStaticText ); |
| 492 | |
| 493 | label->SetLabel(CFormat(_("Shared Files (%i)")) % GetItemCount()); |
| 494 | label->GetParent()->Layout(); |
| 495 | // If file list was updated, the "selection" is involved too, if we chose to show clients for all files. |
| 496 | // So update client list here too. |
| 497 | theApp->amuledlg->m_sharedfileswnd->SelectionUpdated(); |
| 498 | } |
| 499 | |
| 500 | |
| 501 | void CSharedFilesCtrl::OnDrawItem( int item, wxDC* dc, const wxRect& rect, const wxRect& rectHL, bool highlighted ) |
no test coverage detected