%module oglshapes2
%{
-#include "export.h"
+#include "wxPython.h"
#include "oglhelpers.h"
%}
void GetEnds(double *OUTPUT, double *OUTPUT, double *OUTPUT, double *OUTPUT);
wxPyShape * GetFrom();
void GetLabelPosition(int position, double *OUTPUT, double *OUTPUT);
- wxPoint * GetNextControlPoint(wxPyShape *shape);
+ wxRealPoint * GetNextControlPoint(wxPyShape *shape);
wxPyShape * GetTo();
void Initialise();
void InsertLineControlPoint(wxDC* dc);
%addmethods {
PyObject* GetLineControlPoints() {
wxList* list = self->GetLineControlPoints();
- return wxPy_ConvertList(list, "wxPyControlPoint");
+ return wxPy_ConvertShapeList(list, "wxPyControlPoint");
}
}