added multiple choice field

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@35 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-10-19 17:18:35 +00:00
parent b7908e38af
commit 46a6ed39dc
5 changed files with 137 additions and 6 deletions
+3 -3
View File
@@ -11,9 +11,9 @@
// ----------------------------------------------------------------------------- : BooleanField
BooleanField::BooleanField() {
// choices->choices.push_back(new_shared1<Choice>(_("yes")));
// choices->choices.push_back(new_shared1<Choice>(_("no")));
// choices->initIds();
choices->choices.push_back(new_shared1<Choice>(_("yes")));
choices->choices.push_back(new_shared1<Choice>(_("no")));
choices->initIds();
}
StyleP BooleanField::newStyle(const FieldP& thisP) const {