%module oglshapes2
%{
-#include "helpers.h"
+#include "export.h"
#include "oglhelpers.h"
%}
};
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
-class wxArrowHead {
+class wxArrowHead : public wxObject {
public:
wxArrowHead(int type = 0,
int end = 0,
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);