From 1162d0a257ef956710b150ebc89f8bb1161ffe9a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 8 May 2003 23:46:34 +0000 Subject: [PATCH] wxGLCanvas doesn't derive from wxScrolledWindow since quite some time already despite of the docs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/latex/wx/glcanvas.tex | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/latex/wx/glcanvas.tex b/docs/latex/wx/glcanvas.tex index 11a0553012..d6ac8afbb0 100644 --- a/docs/latex/wx/glcanvas.tex +++ b/docs/latex/wx/glcanvas.tex @@ -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} -- 2.45.2