X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e7ecb7be084f5815051682b2a5809090ebb2706..94e2ed3b8db0220160c0b939782cd46914ec073a:/wxPython/contrib/ogl/oglshapes2.i diff --git a/wxPython/contrib/ogl/oglshapes2.i b/wxPython/contrib/ogl/oglshapes2.i index 2b90a48590..ebdb5090cf 100644 --- a/wxPython/contrib/ogl/oglshapes2.i +++ b/wxPython/contrib/ogl/oglshapes2.i @@ -125,7 +125,7 @@ public: }; //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- -class wxArrowHead { +class wxArrowHead : public wxObject { public: wxArrowHead(int type = 0, int end = 0, @@ -207,6 +207,14 @@ public: bool IsSpline(); void MakeLineControlPoints(int n); + // inline wxList *GetLineControlPoints() { return m_lineControlPoints; } + %addmethods { + PyObject* GetLineControlPoints() { + wxList* list = self->GetLineControlPoints(); + return wxPy_ConvertList(list, "wxPyControlPoint"); + } + } + void SetAttachmentFrom(int fromAttach); void SetAttachments(int fromAttach, int toAttach); void SetAttachmentTo(int toAttach);