X-Git-Url: http://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=c%2B%2B%2Fcursesf.cc;h=fcf0080f9db5bfd1cdade3b4fa72a3455ccad2f5;hp=fea592a0f3ee0d58301152890baf2e6da98610d4;hb=cf6a62567b2365c8678b7d561845bdbd1739e5da;hpb=47d2fb4537d9ad5bb14f4810561a327930ca4280 diff --git a/c++/cursesf.cc b/c++/cursesf.cc index fea592a0..fcf0080f 100644 --- a/c++/cursesf.cc +++ b/c++/cursesf.cc @@ -36,7 +36,7 @@ #include "cursesf.h" #include "cursesapp.h" -MODULE_ID("$Id: cursesf.cc,v 1.24 2020/02/02 23:34:34 tom Exp $") +MODULE_ID("$Id: cursesf.cc,v 1.25 2020/07/18 19:57:11 anonymous.maarten Exp $") NCursesFormField::~NCursesFormField () THROWS(NCursesException) { @@ -406,10 +406,19 @@ FIELDTYPE* UserDefinedFieldType::generic_fieldtype = ::new_fieldtype(_nc_xx_fld_fcheck, _nc_xx_fld_ccheck); + +UserDefinedFieldType::UserDefinedFieldType() : NCursesFieldType(generic_fieldtype) { +} + FIELDTYPE* UserDefinedFieldType_With_Choice::generic_fieldtype_with_choice = ::new_fieldtype(_nc_xx_fld_fcheck, _nc_xx_fld_ccheck); + +UserDefinedFieldType_With_Choice::UserDefinedFieldType_With_Choice() { + fieldtype = generic_fieldtype_with_choice; +} + bool _nc_xx_next_choice(FIELD *f, const void *u) { (void) f; @@ -461,3 +470,5 @@ public: }; UDF_Init* UDF_Init::I = new UDF_Init(); + +