Patch level :2.0 aga 370

Files correlati     :libs
Ricompilazione Demo : [ ]
Commento            :sistemati errori di compilazione


git-svn-id: svn://10.65.10.50/trunk@10720 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2003-01-10 14:09:13 +00:00
parent d5d454e929
commit 156b614a92
2 changed files with 3 additions and 9 deletions

View File

@ -1444,7 +1444,7 @@ bool TSpreadsheet::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
case K_F9:
if (_edit_field != NULL)
{
const bool spork = _edit_field->dirty(); // TBT
const bool spork = _edit_field->dirty() != 0; // TBT
notify_change();
copy_cell2field();
@ -1476,7 +1476,7 @@ bool TSpreadsheet::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
sheet_mask().notify_focus_field(_edit_field->dlg());
ok = _edit_field->on_key(k);
_cell_dirty = _edit_field->dirty(); // TBT
_cell_dirty = _edit_field->dirty() != 0; // TBT
if (!ok && k == K_F9) // Ricerca non completata?
{
@ -2759,13 +2759,6 @@ void TSheet_field::set_column_header( const int col, const TString& header ) con
s->set_column_header(col, header);
}
const char* TSheet_field::get_column_header( const int col) const
{
TSpreadsheet* s = (TSpreadsheet*)_ctl;
return s->get_column_header(col);
}
void TSheet_field::set_column_justify(int col, bool right)
{
if (col < FIRST_FIELD)

View File

@ -1184,6 +1184,7 @@ bool TRelation_application::remove()
const int maxf = _mask->fields();
for (int i = 0; i < maxf; i++)
{
const TMask_field& mf = _mask->fld(i);
if (mf.is_sheet())
{
TSheet_field& f = (TSheet_field&)mf;