From: Ryan Norton Date: Thu, 23 Sep 2004 03:35:07 +0000 (+0000) Subject: simple GetContext() and one other minor doc X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/01168e9591c6114140768de014695e3908922033?ds=inline simple GetContext() and one other minor doc git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/docs/latex/wx/glcanvas.tex b/docs/latex/wx/glcanvas.tex index 714c243721..a2f1abad3d 100644 --- a/docs/latex/wx/glcanvas.tex +++ b/docs/latex/wx/glcanvas.tex @@ -77,6 +77,8 @@ Constructor. \docparam{parent}{Pointer to a parent window.} +\docparam{sharedcontext}{Context to share object resources with.} + \docparam{id}{Window identifier. If -1, will automatically create an identifier.} \docparam{pos}{Window position. wxDefaultPosition is (-1, -1) which indicates that wxWidgets @@ -104,6 +106,12 @@ and so on. \docparam{palette}{If the window has the palette, it should by pass this value. Note: palette and WX\_GL\_RGBA are mutually exclusive.} +\membersection{wxGLCanvas::GetContext}\label{wxglcanvasgetcontext} + +\func{wxGLContext*}{GetContext}{\void} + +Obtains the context that is associated with this canvas. + \membersection{wxGLCanvas::SetCurrent}\label{wxglcanvassetcurrent} \func{void}{SetCurrent}{\void}