-#ifndef __WXMAC__
- wxGLContext(bool isRGB, wxGLCanvas *win,
- const wxPalette& palette = wxNullPalette,
- const wxGLContext* other = NULL);
-#else
- %extend {
- wxGLContext(bool isRGB, wxGLCanvas *win,
- const wxPalette& palette = wxNullPalette,
- const wxGLContext* other = NULL) {
- AGLPixelFormat fmt; // TODO: How should this be initialized?
- return new wxGLContext(fmt, win, palette, other);
- }
- }
-
-#endif