wxGLCanvas and document-view architecture

Tsolakos Stavros sou1980 at tellas.gr
Sun Apr 1 13:04:27 PDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.

We are writing an OpenGL based application using the wxGLCanvas class.
We also want to make use of the document-view classes.

What is the best way to use them with the wxGLCanvas class?

For example, it would be very suitable if we could override the
wxView::OnDraw method and direct OpenGL calls to that DC, so that the
image could be printed, which is impossible with the wxGLCanvas class.
Perhaps I am missing something very fundamental because I am a GL-newbie.

Thanks a lot.

Stavros
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGEBBL0xCY3CSKEiMRAvNuAJ40Y5m7Sec5TYPro0hGC7CnQKITTgCeM05+
C/H7nVeawZyg6wP84YB81PE=
=vOyS
-----END PGP SIGNATURE-----




More information about the wx-users mailing list