"Matthieu Brucher" <matthieu.brucher@gmail.com> writes:
> On 2.8 and Windows, the error is this one :
>
> RectangleShape.__init__(self, 100.0, 100.0)
> File "D:\Python25\lib\site-packages\wx-
> 2.8-msw-unicode\wx\lib\ogl\_basic.py", line 2314, in __init__
> Shape.__init__(self)
> File "D:\Python25\lib\site-packages\wx-
> 2.8-msw-unicode\wx\lib\ogl\_basic.py", line 232, in __init__
> self._pen = BlackForegroundPen
> NameError: global name 'BlackForegroundPen' is not defined
>
> What am I missing ??
>
You have to call ogl.OGLInitialize() first.
···
--
Pierre Hjälm