Bugs on precedent commit
This commit is contained in:
@@ -35,7 +35,7 @@ User::~User()
|
||||
}
|
||||
}
|
||||
|
||||
Category User::GetCategory(wxString& catId)
|
||||
Category User::GetCategory(const wxString& catId)
|
||||
{
|
||||
Category cat;
|
||||
std::vector<Category>::iterator it;
|
||||
@@ -57,7 +57,7 @@ Category User::GetCategory(wxString& catId)
|
||||
return cat;
|
||||
}
|
||||
|
||||
wxString User::GetCategoryName(wxString& catId)
|
||||
wxString User::GetCategoryName(const wxString& catId)
|
||||
{
|
||||
Category cat;
|
||||
std::vector<Category>::iterator it;
|
||||
@@ -72,7 +72,7 @@ wxString User::GetCategoryName(wxString& catId)
|
||||
return _("Unknown") ;
|
||||
}
|
||||
|
||||
wxString User::GetCategoryId(wxString& catName)
|
||||
wxString User::GetCategoryId(const wxString& catName)
|
||||
{
|
||||
std::vector<Category>::iterator it;
|
||||
Category cat;
|
||||
@@ -87,7 +87,7 @@ wxString User::GetCategoryId(wxString& catName)
|
||||
return wxT("0") ;
|
||||
}
|
||||
|
||||
const wxFont User::GetCategoryFont(wxString& catId)
|
||||
const wxFont User::GetCategoryFont(const wxString& catId)
|
||||
{
|
||||
wxFont f;
|
||||
Category cat;
|
||||
@@ -120,7 +120,7 @@ wxString User::GetAccountName(const wxString& accountId)
|
||||
return _("Unknown") ;
|
||||
}
|
||||
|
||||
wxString User::GetAccountId(wxString& accountName)
|
||||
wxString User::GetAccountId(const wxString& accountName)
|
||||
{
|
||||
std::vector<Account>::iterator it;
|
||||
for (it=_accounts.begin(); it !=_accounts.end(); it++)
|
||||
|
||||
Reference in New Issue
Block a user