46
Graphics / Draw on wxWidgets with double-Buffering
« on: March 26, 2008, 04:54:58 pm »
Hi
I want to draw on a control with SFML and wxWidgets(I need SFML there but I also have to draw primitives like lines, so I have to use the normal wxWidgets drawing, too).
It works fine as long as I use wxPaintDC, but when I use wxBufferedPaintDC I can't draw with sfml.
But I need double buffering? What shall I do?
I want to draw on a control with SFML and wxWidgets(I need SFML there but I also have to draw primitives like lines, so I have to use the normal wxWidgets drawing, too).
It works fine as long as I use wxPaintDC, but when I use wxBufferedPaintDC I can't draw with sfml.
But I need double buffering? What shall I do?