Adattate librerie al nuovo costruttore di TMask

git-svn-id: svn://10.65.10.50/trunk@688 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1994-11-22 18:09:03 +00:00
parent 59f5181b11
commit e6880ab19a
4 changed files with 6 additions and 7 deletions

View File

@ -400,7 +400,7 @@ void TForm_item::from_mask(const TMask& m)
bool TForm_item::edit(TMaskmode mode)
{
TMask m("bagn003", mode);
TMask m("bagn003");
if (mode == MODE_INS)
{
m.enable(0);

View File

@ -115,7 +115,7 @@ TSpreadsheet::TSpreadsheet(short x, short y, short dx, short dy,
const char* maskname, int maskno,
const char* head, WINDOW parent,
TSheet_field* o)
: _mask(maskname, NO_MODE, maskno), _notify(NULL), _edit_field(NULL),
: _mask(maskname, maskno), _notify(NULL), _edit_field(NULL),
_owner(o), _cur_row(0), _cur_col(0),
_row_dirty(FALSE), _check_enabled(TRUE), _firstfocus(TRUE)
{

View File

@ -1 +1 @@
#define VERSION 1.16
#define VERSION 1.15

View File

@ -684,12 +684,11 @@ WINDOW xvt_create_control(WIN_TYPE wt,
while (*caption == '@') caption += 2;
win = create_control(wt, &r, (char*)caption, parent,
flags, app_data, id);
if (win == NULL_WIN)
fatal_box("Can't create control %d: XVT error %d", id, get_xvterrno());
}
#ifdef DBG
if (win == NULL_WIN)
fatal_box("Can't create control %d: XVT error %d", id, get_xvterrno());
#endif
#if XVT_OS == XVT_OS_WIN
#ifdef __CTL3D__