First pass
This commit is contained in:
@@ -21,21 +21,14 @@
|
||||
#define ACCOUNTAMOUNT_H
|
||||
|
||||
struct AccountAmount {
|
||||
wxString account;
|
||||
int account;
|
||||
int month;
|
||||
int year;
|
||||
|
||||
bool operator()(const AccountAmount& x, const AccountAmount& y) const
|
||||
{
|
||||
long x1, y1;
|
||||
|
||||
if (x.account != y.account)
|
||||
{
|
||||
x.account.ToLong(&x1);
|
||||
y.account.ToLong(&y1);
|
||||
|
||||
return x1 < y1;
|
||||
}
|
||||
return x.account < y.account;
|
||||
|
||||
return (x.year < y.year || ((x.year == y.year) && x.month < y.month));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user