Tips on where to go for PyOpenGL communication with wxPython?
<p>Tips on where to go for PyOpenGL communication with wxPython?
How do i communicate amongst panels and canvasses?</p>

<p>Ignore the following:</p>

<pre><code>from OpenGL.GLU import *
from OpenGL.GL import *
import sys,math

name = 'ball_glut'

class myGLCanvas(wxGLCanvas):
def __init__(self, parent):
wxGLCanvas.__init__(self, parent,-1)
EVT_PAINT(self, self.OnPaint)
self.init = 0
return






def main():
    app = wxPySimpleApp()
    frame = wxFrame(None,-1,'ball_wx',wxDefaultPosition,wxSize(400,400))
    canvas = myGLCanvas(frame)
    frame.Show()
    app.MainLoop()

if __name__ == '__main__': main()
## end of http://code.activestate.com/recipes/325392/ }}}
</code></pre>
