Can't change grid highlight pen width

Robin Dunn wrote:

Grzegorz Adam Hankiewicz wrote:

I'm calling grid.SetCellHighlightPenWidth(1) but I get a C++ assertion:
[...]
I'm using wxPython 2.8.0.1.

Please try it in 2.8.3.0. If it still fails there then please make a small runnable sample that demonstrates the problem.

In 2.8.3.0 you can modify GridSimple.py and append the following to the end of the __init__ method:

    self.SetCellHighlightPenWidth(3)

···

--
     Rastertech España S.A.
  Grzegorz Adam Hankiewicz
/Jefe de Producto TeraVial/

C/ Perfumería 21. Nave I. Polígono industrial La Mina
28770 Colmenar Viejo. Madrid (España)
Tel. +34 918 467 390 (Ext.17) *·* Fax +34 918 457 889
ghankiewicz@rastertech.es *·* www.rastertech.es
<http://www.rastertech.es/&gt;

Grzegorz Adam Hankiewicz wrote:

Robin Dunn wrote:

Grzegorz Adam Hankiewicz wrote:

I'm calling grid.SetCellHighlightPenWidth(1) but I get a C++ assertion:
[...]
I'm using wxPython 2.8.0.1.

Please try it in 2.8.3.0. If it still fails there then please make a small runnable sample that demonstrates the problem.

In 2.8.3.0 you can modify GridSimple.py and append the following to the end of the __init__ method:

   self.SetCellHighlightPenWidth(3)

Ok thanks. I was trying it later in the process but I didn't see it because the bug is that it is trying to get the width/height of the current cell before there is a current cell set. I've implemented a fix.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!

Robin Dunn wrote:

Grzegorz Adam Hankiewicz wrote:

Robin Dunn wrote:

Grzegorz Adam Hankiewicz wrote:

I'm calling grid.SetCellHighlightPenWidth(1) but I get a C++ assertion:
[...]
I'm using wxPython 2.8.0.1.

Please try it in 2.8.3.0. If it still fails there then please make a small runnable sample that demonstrates the problem.

In 2.8.3.0 you can modify GridSimple.py and append the following to the end of the __init__ method:

   self.SetCellHighlightPenWidth(3)

Ok thanks. I was trying it later in the process but I didn't see it because the bug is that it is trying to get the width/height of the current cell before there is a current cell set. I've implemented a fix.

I was hoping for it to be on the python side, rather than c++ so I could apply it easily over 2.8.0.1. Do you have any time estimation for the following bug?

http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:msp:60595:nkelbhhkkcafmajhdoop

···

--
     Rastertech España S.A.
  Grzegorz Adam Hankiewicz
/Jefe de Producto TeraVial/

C/ Perfumería 21. Nave I. Polígono industrial La Mina
28770 Colmenar Viejo. Madrid (España)
Tel. +34 918 467 390 (Ext.17) *·* Fax +34 918 457 889
ghankiewicz@rastertech.es *·* www.rastertech.es
<http://www.rastertech.es/&gt;

Grzegorz Adam Hankiewicz wrote:

Do you have any time estimation for the following bug?

http://lists.wxwidgets.org/cgi-bin/ezmlm-cgi?11:msp:60595:nkelbhhkkcafmajhdoop

It will be fixed in the next release as well.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!