Commentato in UNIX una parte dell' abilitazione colonne
git-svn-id: svn://10.65.10.50/trunk@447 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e61426336c
commit
a5f3870b44
@ -873,6 +873,7 @@ void TSpreadsheet::enable_column(int col, bool on)
|
||||
{
|
||||
const bool change = _column_disabled[col] == on;
|
||||
_column_disabled.set(col, !on);
|
||||
#if XVT_OS == XVT_OS_WIN
|
||||
if (change)
|
||||
{
|
||||
int num;
|
||||
@ -889,6 +890,7 @@ void TSpreadsheet::enable_column(int col, bool on)
|
||||
RCT r; xi_get_rect(column, &r);
|
||||
xi_set_column_width(column, (r.right-r.left+1) / CHARX); // Force redraw
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user