We must use 'import wx' instead of 'from wxPython.wx import
*', then how
should I import ogl? I usually did 'from wxPython.ogl import
*'. Now 'import
ogl' or what?
One way:
from wx import ogl
and then, instead of replacing wx* with wx.*,
replace with ogl.*
(I haven't done that for ogl, but have for stc, gizmos, rcsizer;
if file is in a subdirectory, use, for ex:
from wx.lib import rcsizer
)
I found this usage in NewNamespace.py in the demo, but
haven't seen it documented.
John