]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/oglshapes2.i
Delete help text entry before adding new one, else
[wxWidgets.git] / wxPython / contrib / ogl / oglshapes2.i
index f4e28ee29fe05451b9cc0d9fb5795ef610cfa65b..2cb69e5a437f821150343f8d72e897b532e92558 100644 (file)
@@ -14,7 +14,7 @@
 %module oglshapes2
 
 %{
 %module oglshapes2
 
 %{
-#include "export.h"
+#include "wxPython.h"
 #include "oglhelpers.h"
 %}
 
 #include "oglhelpers.h"
 %}
 
@@ -221,7 +221,7 @@ public:
     %addmethods {
         PyObject* GetLineControlPoints() {
             wxList* list = self->GetLineControlPoints();
     %addmethods {
         PyObject* GetLineControlPoints() {
             wxList* list = self->GetLineControlPoints();
-            return wxPy_ConvertList(list, "wxPyControlPoint");
+            return wxPy_ConvertShapeList(list, "wxPyControlPoint");
         }
     }
 
         }
     }