X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/df4895f610d8d2afd782a96ce573af4d9cfc3ef6..bbc3761ee897d2cdae209c60d415ba00fe825554:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index b792320539..1cdf228276 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -46,7 +46,7 @@ MustHaveApp(wxGLContext); class wxGLContext : public wxObject { public: #ifndef __WXMAC__ - wxGLContext(wxWindow *win, const wxGLContext* other = NULL); + wxGLContext(wxGLCanvas *win, const wxGLContext* other = NULL); #else %extend { wxGLContext(bool isRGB, wxGLCanvas *win, @@ -147,6 +147,8 @@ public: wxPalette CreateDefaultPalette(); wxPalette* GetPalette(); #endif + + %property(Context, GetContext, doc="See `GetContext`"); };