Fix a bug with

This commit is contained in:
Grégory Soutadé
2010-09-08 11:02:03 +02:00
parent fc0159fbc5
commit 7edd4854f4
19 changed files with 606 additions and 141 deletions
+11
View File
@@ -70,6 +70,17 @@ wxString User::GetCategoryId(wxString& catName)
return wxT("0") ;
}
const wxFont& User::GetCategoryFont(wxString& catId)
{
wxFont f;
for (unsigned int i=0; i<_categories.size(); i++)
if (_categories[i].id == catId)
return _categoriesFonts[i];
return f;
}
wxString User::GetAccountName(const wxString& accountId)
{
std::vector<Account>::iterator it;