I made a little App using SDL to show some sprite animations, and it works really fine. It's important that the rendering is as smooth as possible.
Since now I need some GUI, I decided to use wxWidgets 3 to create kind of the same application but where I can now also add some GUI elements like menus, modals, etc.
After diving into the wxWidget's wiki, I found there are different ways to draw into a window.
I also found other kind of classes like the "Graphics Context classes" which I'm still not sure if they could be useful for what I need.
My application already uses an internal buffer which just needs to be copied.
So my question is What's the most appropriate way to do this on wxWidgets? And, how much performance/overhead does that solution impose?
What would be the difference in performance/overhead between the different methods wxWidgets has for drawing pixels inside a window? Why one uses OnPaint events while others don't.