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:
@@ -97,7 +97,7 @@ void GrisbiImportEngine::LoadCategory(GrisbiImportEngine* _this, const char** at
|
||||
cat.id = id;
|
||||
cat.name = name;
|
||||
cat.parent = wxT("0");
|
||||
cat.backcolor = OWN_GREEN ;
|
||||
cat.backcolor = view::OWN_GREEN ;
|
||||
cat.forecolor = *wxBLACK;
|
||||
cat.fix_cost = false;
|
||||
_this->_unresolvedCategories.push_back(cat);
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
|
||||
#include "ImportEngine.h"
|
||||
|
||||
wxString ImportEngine::NULL_IMPORT_PATTERN = wxT("(nil)");
|
||||
|
||||
ImportEngine::ImportEngine()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -33,10 +33,10 @@ public:
|
||||
wxString category;
|
||||
} ;
|
||||
|
||||
#define NULL_IMPORT_PATTERN wxT("(nil)")
|
||||
|
||||
class ImportEngine {
|
||||
public:
|
||||
static wxString NULL_IMPORT_PATTERN;
|
||||
|
||||
ImportEngine();
|
||||
~ImportEngine();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user