Hi Sébastien,

I don't remember exactly. Certainly because of an GLCanvas bug with OSX/X11.
I used to work with wxPython when working on Windows, but I definitely moved
to PyQt4 under MacOSX. I think these lines can be removed.

Thomas

2010/12/13 Sébastien Ramage <sebastien.ram...@gmail.com>

> Hi !
>
> I have a new question about wxDisplay.py, it use wx.Panel instead of
> wx.glcanvas.GLCanvas on darwin platform, why ?
>
> if sys.platform=='darwin':
>    BaseClass = wx.Panel
> else:
>    import wx.glcanvas
>    BaseClass = wx.glcanvas.GLCanvas
>
> Sébastien
>
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
>
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to