]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
No need to use wxPyMake_wxObject for wxImageList. There are no
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index b792320539a66799a2b2cb1322c66b168077a881..1cdf22827693e3910047c7e5249eccdfa77f1c2b 100644 (file)
@@ -46,7 +46,7 @@ MustHaveApp(wxGLContext);
 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,
@@ -147,6 +147,8 @@ public:
     wxPalette CreateDefaultPalette();
     wxPalette* GetPalette();
 #endif
+
+    %property(Context, GetContext, doc="See `GetContext`");
 };