Corretta la funzione set column header
git-svn-id: svn://10.65.10.50/trunk@4303 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
6e47eeb7de
commit
24a56b4a2d
@ -1801,8 +1801,8 @@ void TSpreadsheet::set_column_header(const int col, const TString& header) cons
|
||||
if (column)
|
||||
{
|
||||
xi_set_text(column, (char *)(const char *)header );
|
||||
RCT r; xi_get_rect(column, &r);
|
||||
xi_set_column_width(column, (r.right-r.left+1) / CHARX); // Force redraw
|
||||
//RCT r; xi_get_rect(column, &r);
|
||||
//xi_set_column_width(column, (r.right-r.left+1) / CHARX); // Force redraw
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user