X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d918775fa4b1cb5172e4b9ceda27afe93b29e2a..db67d86dd1de506a5bb14dd59e9c45230120758a:/docs/latex/wx/glcanvas.tex diff --git a/docs/latex/wx/glcanvas.tex b/docs/latex/wx/glcanvas.tex index f0cbc168c6..af29c1f49e 100644 --- a/docs/latex/wx/glcanvas.tex +++ b/docs/latex/wx/glcanvas.tex @@ -66,23 +66,28 @@ alpha channel, and accum buffer. Other implementations may support them. \membersection{wxGLCanvas::wxGLCanvas}\label{wxglcanvasconstr} -\func{void}{wxGLCanvas}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id = -1}, \param{const wxPoint\&}{ pos}, - \param{const wxSize\&}{ size}, \param{long}{ style=0}, \param{const wxString\& }{name="GLCanvas"}, +\func{void}{wxGLCanvas}{\param{wxWindow* }{parent}, \param{wxWindowID}{ id = -1}, + \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize}, + \param{long}{ style=0}, \param{const wxString\& }{name="GLCanvas"}, \param{int*}{ attribList = 0}, \param{const wxPalette\&}{ palette = wxNullPalette}} -\func{void}{wxGLCanvas}{\param{wxWindow* }{parent}, \param{wxGLCanvas* }{ sharedCanvas = NULL}, \param{wxWindowID}{ id = -1}, \param{const wxPoint\&}{ pos}, - \param{const wxSize\&}{ size}, \param{long}{ style=0}, \param{const wxString\& }{name="GLCanvas"}, +\func{void}{wxGLCanvas}{\param{wxWindow* }{parent}, \param{wxGLContext* }{sharedContext}, \param{wxWindowID}{ id = -1}, + \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize}, + \param{long}{ style=0}, \param{const wxString\& }{name="GLCanvas"}, \param{int*}{ attribList = 0}, \param{const wxPalette\&}{ palette = wxNullPalette}} -\func{void}{wxGLCanvas}{\param{wxWindow* }{parent}, \param{wxGLContext* }{ sharedContext = NULL}, \param{wxWindowID}{ id = -1}, \param{const wxPoint\&}{ pos}, - \param{const wxSize\&}{ size}, \param{long}{ style=0}, \param{const wxString\& }{name="GLCanvas"}, +\func{void}{wxGLCanvas}{\param{wxWindow* }{parent}, \param{wxGLCanvas* }{sharedCanvas}, \param{wxWindowID}{ id = -1}, + \param{const wxPoint\&}{ pos = wxDefaultPosition}, \param{const wxSize\&}{ size = wxDefaultSize}, + \param{long}{ style=0}, \param{const wxString\& }{name="GLCanvas"}, \param{int*}{ attribList = 0}, \param{const wxPalette\&}{ palette = wxNullPalette}} Constructor. \docparam{parent}{Pointer to a parent window.} -\docparam{sharedcontext}{Context to share object resources with.} +\docparam{sharedContext}{Context to share object resources with.} + +%TODO document sharedCanvas meaning \docparam{id}{Window identifier. If -1, will automatically create an identifier.}