class wxGLContext : public wxObject {
public:
#ifndef __WXMAC__
- wxGLContext(wxWindow *win, const wxGLContext* other = NULL);
+ wxGLContext(wxGLCanvas *win, const wxGLContext* other = NULL);
#else
%extend {
wxGLContext(bool isRGB, wxGLCanvas *win,
wxPalette CreateDefaultPalette();
wxPalette* GetPalette();
#endif
+
+ %property(Context, GetContext, doc="See `GetContext`");
};