Allow both SetCurrent() and SetCurrent(context)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-10-24 01:08:17 +00:00
parent bbc8f304c6
commit 7f44209657
6 changed files with 114 additions and 30 deletions

View 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);