X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/baaa1d1a58224f2d1509965e5e9d9e8fd5799cf0..320700213165fc9d163f3a361fce12dc6a796fa3:/wxPython/contrib/ogl/_oglshapes.i diff --git a/wxPython/contrib/ogl/_oglshapes.i b/wxPython/contrib/ogl/_oglshapes.i index fb9bc95136..65aca87428 100644 --- a/wxPython/contrib/ogl/_oglshapes.i +++ b/wxPython/contrib/ogl/_oglshapes.i @@ -538,9 +538,12 @@ public: class wxPyDivisionShape : public wxPyCompositeShape { public: %pythonAppend wxPyDivisionShape "self._setOORandCallbackInfo(PyDivisionShape)" + %typemap(out) wxPyDivisionShape*; // turn off this typemap wxPyDivisionShape(); + %typemap(out) wxPyDivisionShape* { $result = wxPyMake_wxShapeEvtHandler($1, $owner); } + void _setCallbackInfo(PyObject* self, PyObject* _class); void AdjustBottom(double bottom, bool test);