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:
parent
d5d454e929
commit
156b614a92
@ -1444,7 +1444,7 @@ bool TSpreadsheet::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
|
|||||||
case K_F9:
|
case K_F9:
|
||||||
if (_edit_field != NULL)
|
if (_edit_field != NULL)
|
||||||
{
|
{
|
||||||
const bool spork = _edit_field->dirty(); // TBT
|
const bool spork = _edit_field->dirty() != 0; // TBT
|
||||||
|
|
||||||
notify_change();
|
notify_change();
|
||||||
copy_cell2field();
|
copy_cell2field();
|
||||||
@ -1476,7 +1476,7 @@ bool TSpreadsheet::event_handler(XI_OBJ* itf, XI_EVENT *xiev)
|
|||||||
sheet_mask().notify_focus_field(_edit_field->dlg());
|
sheet_mask().notify_focus_field(_edit_field->dlg());
|
||||||
|
|
||||||
ok = _edit_field->on_key(k);
|
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?
|
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);
|
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)
|
void TSheet_field::set_column_justify(int col, bool right)
|
||||||
{
|
{
|
||||||
if (col < FIRST_FIELD)
|
if (col < FIRST_FIELD)
|
||||||
|
@ -1184,6 +1184,7 @@ bool TRelation_application::remove()
|
|||||||
const int maxf = _mask->fields();
|
const int maxf = _mask->fields();
|
||||||
for (int i = 0; i < maxf; i++)
|
for (int i = 0; i < maxf; i++)
|
||||||
{
|
{
|
||||||
|
const TMask_field& mf = _mask->fld(i);
|
||||||
if (mf.is_sheet())
|
if (mf.is_sheet())
|
||||||
{
|
{
|
||||||
TSheet_field& f = (TSheet_field&)mf;
|
TSheet_field& f = (TSheet_field&)mf;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user