]> git.saurik.com Git - wxWidgets.git/commitdiff
wxMac's glcanvas doesn't have the new API changes yet...
authorRobin Dunn <robin@alldunn.com>
Fri, 8 Sep 2006 02:47:56 +0000 (02:47 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 8 Sep 2006 02:47:56 +0000 (02:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/contrib/glcanvas/glcanvas.i

index e399a9e7f3a2ba57f5431182f84a484a729a9f73..b792320539a66799a2b2cb1322c66b168077a881 100644 (file)
@@ -60,7 +60,9 @@ public:
 #endif
     ~wxGLContext();
 
+#ifndef __WXMAC__  
     void SetCurrent(const wxGLCanvas& win);
+#endif
 };
 
 //---------------------------------------------------------------------------
@@ -129,8 +131,11 @@ public:
                     int *attribList = NULL,
                     const wxPalette& palette = wxNullPalette ));
 
-
+#ifdef __WXMAC__
+    void SetCurrent();
+#else
     void SetCurrent(const wxGLContext& RC);
+#endif
     void SetColour(const wxString& colour);
     void SwapBuffers();