Mathieu,
Mathieu wrote( http://groups.google.com/group/comp.soft-sys.wxwindows/browse_thread/thread/dfc1b064ac30f4f5
):
> But if I now switch to wxWindow I can see a couple of minor issues:
> - When the first OnPaint occur the image is not displayed correctly.
> - When I move another window on top of my wxVTK window and then remove
> it. The display is scrambled (not redrawn correctly).
>
from wxWidgets reference about wxPaintDC:
'''
To draw on a window from outside OnPaint, construct a wxClientDC object.
'''
I don't know if that was the cause for those problems. Apparently
Render() is not only called from within OnPaint() but also in
OnMotion() etc. And I did not see any wxClientDC object in the source
code.
Hope it helps.
Shang
|