]> git.saurik.com Git - wxWidgets.git/commitdiff
wxGLCanvas doesn't derive from wxScrolledWindow since quite some time already despite...
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 May 2003 23:46:34 +0000 (23:46 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 8 May 2003 23:46:34 +0000 (23:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/glcanvas.tex

index 11a0553012edeb3652ce3b075edd3267d8aa69ac..d6ac8afbb0cd2ef87e56775786da049bc3b09212 100644 (file)
@@ -7,15 +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. On Unix,
-pass --with-opengl to configure to compile using OpenGL or Mesa.
+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}