[wxPython-users] ANN: HyperTreeList Control for wxPython :-D

Andrea Gavana andrea.gavana at gmail.com
Tue May 8 16:39:10 PDT 2007


Hi Stani,

On 5/9/07, Stani's Python Editor wrote:
> Hi Andrea!
> Happy birthday!

Thank you :-D . Just turning on 30...

> Unfortunately something went wrong with unwrapping your present on
> Ubuntu 7.04. wxPen doesn't seem supported by GTK, as you suggested in
> your comment:

<snip>
<snap>

>    self._dottedPen = wxPen("grey", 0, 0) # Bitmap based pen is not
> supported by GTK!
> NameError: global name 'wxPen' is not defined

Well, that's a stupid mistake! It should be wx.Pen, not wxPen! I have
missed it when translating from the C++ source... would you mind
trying with wx.Pen and see if it works? I believe there are other
issues on GTK and Mac (namely drawing inconsistencies)...

Andrea.

"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.virgilio.it/infinity77/




More information about the wxpython-users mailing list