diff --git a/docs/latex/wx/glcanvas.tex b/docs/latex/wx/glcanvas.tex index ff8d0cc2e1..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 = wxDefaultPosition}, - \param{const wxSize\&}{ size = wxDefaultSize}, \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.}