wxWindows and openGL, anyone?

Hi there

I’ve recently decided to try to learn how to use the wxWindows API. For a starting project I’ve dediced to port a program I’ve made (one of those rotating cube apps) from win32 to wxWindows.

The thing is, I’m having trouble finding any information on how to do openGL stuff with wxWindows. I’ve read some stuff in the wxWiki pages and I was able to print a nice little white rectangle on a black background, all courtesy of openGL. But still, what about the “animation” loop? How do you do it?

Thanks in advance