X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0122b7e3fcfd78f879470053c91a60e3c66537a3..df7c5d28a3e14e915f618e801eb13dd0945d6325:/wxPython/contrib/ogl/oglshapes2.cpp diff --git a/wxPython/contrib/ogl/oglshapes2.cpp b/wxPython/contrib/ogl/oglshapes2.cpp index 72c0f23315..72fcdbb747 100644 --- a/wxPython/contrib/ogl/oglshapes2.cpp +++ b/wxPython/contrib/ogl/oglshapes2.cpp @@ -3722,7 +3722,7 @@ static PyObject *_wrap_wxPyLineShape_GetFrom(PyObject *self, PyObject *args, PyO _result = (wxPyShape *)wxPyLineShape_GetFrom(_arg0); wxPy_END_ALLOW_THREADS; -}{ _resultobj = wxPyMake_wxObject(_result); } +}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); } return _resultobj; } @@ -3840,7 +3840,7 @@ static PyObject *_wrap_wxPyLineShape_GetTo(PyObject *self, PyObject *args, PyObj _result = (wxPyShape *)wxPyLineShape_GetTo(_arg0); wxPy_END_ALLOW_THREADS; -}{ _resultobj = wxPyMake_wxObject(_result); } +}{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); } return _resultobj; }