]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
corrected WXDLLIMPEXP_ declaration for wxEventBlocker: it's part of core, not base
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index 56d111e7da5f859ddbcedac8ec040a624217f1fe..77d209a58eef437fdf6f5ffbc68d1fac72abb11a 100644 (file)
@@ -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`");
 };