]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/_oglshapes.i
SetSizeHints fix
[wxWidgets.git] / wxPython / contrib / ogl / _oglshapes.i
index fb9bc951360ca2fdc6d1a1ea8cd4fa36f629e551..65aca874281d725fad488fa5ab69c27d89961c0e 100644 (file)
@@ -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);