wxGrid and colsize

I'm porting one "old" application from 2.4 to 2.6 and I have seen that
there are a problem with "SetColSize" because I want to have a column
(the last) with a value inside (for example 1) but 0 width. With the
preview wx version (2.4) I could, but with new I don't find a solution
to "hide" it.
Can someone help me?

Thanks,
Michele

Try .SetColMinimalAcceptableWidth(0)

before the .SetColSize

Ricardo

···

On Mon, 2005-07-11 at 18:52 +0200, Michele Petrazzo wrote:

I'm porting one "old" application from 2.4 to 2.6 and I have seen that
there are a problem with "SetColSize" because I want to have a column
(the last) with a value inside (for example 1) but 0 width. With the
preview wx version (2.4) I could, but with new I don't find a solution
to "hide" it.
Can someone help me?

Try .SetColMinimalAcceptableWidth(0)

before the .SetColSize

Ricardo

···

On Mon, 2005-07-11 at 18:52 +0200, Michele Petrazzo wrote:

I'm porting one "old" application from 2.4 to 2.6 and I have seen that
there are a problem with "SetColSize" because I want to have a column
(the last) with a value inside (for example 1) but 0 width. With the
preview wx version (2.4) I could, but with new I don't find a solution
to "hide" it.
Can someone help me?

Ricardo Pedroso wrote:

···

On Mon, 2005-07-11 at 18:52 +0200, Michele Petrazzo wrote:

I'm porting one "old" application from 2.4 to 2.6 and I have seen that
there are a problem with "SetColSize" because I want to have a column
(the last) with a value inside (for example 1) but 0 width. With the
preview wx version (2.4) I could, but with new I don't find a solution
to "hide" it.
Can someone help me?

Try .SetColMinimalAcceptableWidth(0)

before the .SetColSize

Ricardo

Thanks, with this all work fine.

Michele