Fixed return type in the wrapper to match the actual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19267 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3832,7 +3832,7 @@ static PyObject *_wrap_wxPyLineShape_GetLabelPosition(PyObject *self, PyObject *
|
|||||||
#define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0))
|
#define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0))
|
||||||
static PyObject *_wrap_wxPyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
|
static PyObject *_wrap_wxPyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
|
||||||
PyObject * _resultobj;
|
PyObject * _resultobj;
|
||||||
wxPoint * _result;
|
wxRealPoint * _result;
|
||||||
wxPyLineShape * _arg0;
|
wxPyLineShape * _arg0;
|
||||||
wxPyShape * _arg1;
|
wxPyShape * _arg1;
|
||||||
PyObject * _argo0 = 0;
|
PyObject * _argo0 = 0;
|
||||||
@@ -3859,12 +3859,12 @@ static PyObject *_wrap_wxPyLineShape_GetNextControlPoint(PyObject *self, PyObjec
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
PyThreadState* __tstate = wxPyBeginAllowThreads();
|
||||||
_result = (wxPoint *)wxPyLineShape_GetNextControlPoint(_arg0,_arg1);
|
_result = (wxRealPoint *)wxPyLineShape_GetNextControlPoint(_arg0,_arg1);
|
||||||
|
|
||||||
wxPyEndAllowThreads(__tstate);
|
wxPyEndAllowThreads(__tstate);
|
||||||
if (PyErr_Occurred()) return NULL;
|
if (PyErr_Occurred()) return NULL;
|
||||||
} if (_result) {
|
} if (_result) {
|
||||||
SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p");
|
SWIG_MakePtr(_ptemp, (char *) _result,"_wxRealPoint_p");
|
||||||
_resultobj = Py_BuildValue("s",_ptemp);
|
_resultobj = Py_BuildValue("s",_ptemp);
|
||||||
} else {
|
} else {
|
||||||
Py_INCREF(Py_None);
|
Py_INCREF(Py_None);
|
||||||
|
@@ -209,7 +209,7 @@ public:
|
|||||||
void GetEnds(double *OUTPUT, double *OUTPUT, double *OUTPUT, double *OUTPUT);
|
void GetEnds(double *OUTPUT, double *OUTPUT, double *OUTPUT, double *OUTPUT);
|
||||||
wxPyShape * GetFrom();
|
wxPyShape * GetFrom();
|
||||||
void GetLabelPosition(int position, double *OUTPUT, double *OUTPUT);
|
void GetLabelPosition(int position, double *OUTPUT, double *OUTPUT);
|
||||||
wxPoint * GetNextControlPoint(wxPyShape *shape);
|
wxRealPoint * GetNextControlPoint(wxPyShape *shape);
|
||||||
wxPyShape * GetTo();
|
wxPyShape * GetTo();
|
||||||
void Initialise();
|
void Initialise();
|
||||||
void InsertLineControlPoint(wxDC* dc);
|
void InsertLineControlPoint(wxDC* dc);
|
||||||
|
@@ -393,7 +393,7 @@ class wxPyLineShapePtr(wxPyShapePtr):
|
|||||||
return val
|
return val
|
||||||
def GetNextControlPoint(self, *_args, **_kwargs):
|
def GetNextControlPoint(self, *_args, **_kwargs):
|
||||||
val = apply(oglshapes2c.wxPyLineShape_GetNextControlPoint,(self,) + _args, _kwargs)
|
val = apply(oglshapes2c.wxPyLineShape_GetNextControlPoint,(self,) + _args, _kwargs)
|
||||||
if val: val = wxPointPtr(val)
|
if val: val = wxRealPointPtr(val)
|
||||||
return val
|
return val
|
||||||
def GetTo(self, *_args, **_kwargs):
|
def GetTo(self, *_args, **_kwargs):
|
||||||
val = apply(oglshapes2c.wxPyLineShape_GetTo,(self,) + _args, _kwargs)
|
val = apply(oglshapes2c.wxPyLineShape_GetTo,(self,) + _args, _kwargs)
|
||||||
|
Reference in New Issue
Block a user