]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/glcanvas/glcanvas.i
buttonbar.cpp/.h must be in GUI_CMN_SRC/HDR as toolbkg.cpp which is in common depends...
[wxWidgets.git] / wxPython / contrib / glcanvas / glcanvas.i
index ab3dd14b296dff41dede1a0830a74bae76c9b9f1..a8f7da4d85531854aa9046cd27f8ab476608b2a0 100644 (file)
@@ -14,7 +14,8 @@
 %define DOCSTRING
 "`GLCanvas` provides an OpenGL Context on a `wx.Window`."
 %enddef
-%module(docstring=DOCSTRING) glcanvas
+
+%module(package="wx", docstring=DOCSTRING) glcanvas
 
 %{
 #include "wx/wxPython/wxPython.h"
@@ -133,7 +134,7 @@ public:
                const wxPalette& palette = wxNullPalette);
 
     %pythonAppend wxGLCanvas   "val._setOORInfo(val)"
-    %name(GLCanvasWithContext)
+    %RenameCtor(GLCanvasWithContext, 
         wxGLCanvas( wxWindow *parent,
                     const wxGLContext *shared = NULL,
                     wxWindowID id = -1,
@@ -142,7 +143,7 @@ public:
                     long style = 0,
                     const wxString& name = wxPyGLCanvasNameStr,
                     int *attribList = NULL,
-                    const wxPalette& palette = wxNullPalette );
+                    const wxPalette& palette = wxNullPalette ));
 
 
     void SetCurrent();