views:

41

answers:

0

I'm using glcanvas for providing 3D opengl object to wxpython. Every time I place the mouse on drawn object there is some flickering of this object: it generates OnPaint and rotates scene on some small angle. I can't track a reason that generates OnPaint and where the rotating takes place - sure it is not in my code.

Any ideas? Is there any event that is responsible for placing a mouse on object?