X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8b089c5e8c8a2140258d150ca1ce42afd3b79e1b..4a6e4a46a356e9abf0760e2d481bbec321cc3adf:/docs/latex/wx/glcanvas.tex diff --git a/docs/latex/wx/glcanvas.tex b/docs/latex/wx/glcanvas.tex index fddb1541ee..d6ac8afbb0 100644 --- a/docs/latex/wx/glcanvas.tex +++ b/docs/latex/wx/glcanvas.tex @@ -7,14 +7,13 @@ To use this class, create a wxGLCanvas window, call \helpref{wxGLCanvas::SetCurr to direct normal OpenGL commands to the window, and then call \helpref{wxGLCanvas::SwapBuffers}{wxglcanvasswapbuffers} to show the OpenGL buffer on the window. -Please note that despite deriving from wxScrolledWindow, scrolling is not enabled for this class under -Windows. - -To switch wxGLCanvas support on under Windows, edit setup.h and set wxUSE\_GLCANVAS to 1. +To switch wxGLCanvas support on under Windows, edit setup.h and set +{\tt wxUSE\_GLCANVAS} to $1$. You may also need to have to add +{\tt opengl32.lib} to the list of libraries your program is linked with. On +Unix, pass {\tt --with-opengl} to configure to compile using OpenGL or Mesa. \wxheading{Derived from} -\helpref{wxScrolledWindow}{wxscrolledwindow}\\ \helpref{wxWindow}{wxwindow}\\ \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject}