From: Robin Dunn Date: Fri, 8 Sep 2006 02:47:56 +0000 (+0000) Subject: wxMac's glcanvas doesn't have the new API changes yet... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/df4895f610d8d2afd782a96ce573af4d9cfc3ef6?ds=inline wxMac's glcanvas doesn't have the new API changes yet... git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/wxPython/contrib/glcanvas/glcanvas.i b/wxPython/contrib/glcanvas/glcanvas.i index e399a9e7f3..b792320539 100644 --- a/wxPython/contrib/glcanvas/glcanvas.i +++ b/wxPython/contrib/glcanvas/glcanvas.i @@ -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();