Use class enums and constants rather than global enums and define

Fix a bug : virtual transferts must not be considered as a debit
This commit is contained in:
2011-08-16 18:22:35 +02:00
parent 6d0fe8ec7b
commit 08ba72664c
20 changed files with 97 additions and 112 deletions

View File

@@ -27,8 +27,8 @@ EVT_BUTTON(BUTTON_ABOUT_ID, wxUI::OnButtonAbout)
EVT_BUTTON(BUTTON_QUIT_ID, wxUI::OnButtonQuit)
END_EVENT_TABLE()
wxString months[12] ;
wxColour categoryColors[MAX_CATEGORY] = {wxColour(0x00, 0x45, 0x86),
wxString wxUI::months[12] ;
wxColour wxUI::categoryColors[MAX_CATEGORY] = {wxColour(0x00, 0x45, 0x86),
wxColour(0xFF, 0x3E, 0x0E),
wxColour(0xFF, 0xD3, 0x20),
wxColour(0x58, 0x9D, 0x1B),