X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e1a5d3aa9e43d8a53a939bf43ec06d45eb08b93..b483f5fed274a9152faab05b0ebb4e5f5158c506:/wxPython/contrib/glcanvas/glcanvas.i diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index 56d111e7da..77d209a58e 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -131,9 +131,9 @@ public: int *attribList = NULL, const wxPalette& palette = wxNullPalette )); -#ifdef __WXMAC__ + %nokwargs SetCurrent; void SetCurrent(); -#else +#ifndef __WXMAC__ void SetCurrent(const wxGLContext& RC); #endif void SetColour(const wxString& colour); @@ -147,6 +147,8 @@ public: wxPalette CreateDefaultPalette(); wxPalette* GetPalette(); #endif + + %property(Context, GetContext, doc="See `GetContext`"); };