First pass

This commit is contained in:
2011-08-25 17:45:41 +02:00
parent ed6a7a5fef
commit 991486a042
64 changed files with 1257 additions and 8876 deletions

View File

@@ -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));
}