]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/contrib/ogl/_ogldefs.i
Fixed compile errors, warnings and other DSMs, and improved comments.
[wxWidgets.git] / wxPython / contrib / ogl / _ogldefs.i
index 2aa9cf1befedbcc3475a68305ab3e0f706e9a376..1241092a2e5155df7339f25bf7f1433ef83da33f 100644 (file)
@@ -57,10 +57,22 @@ class wxPyControlPoint;
 // Typemaps just for OGL
 
 
 // Typemaps just for OGL
 
 
+// OOR Support
+%typemap(python, out) wxPyShape*                { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxPyShapeEvtHandler*      { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxPyShapeCanvas*          { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxDiagram*                { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxOGLConstraint*          { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxPyDivisionShape*        { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxPseudoMetaFile*         { $target = wxPyMake_wxObject($source); }
+%typemap(python, out) wxArrowHead*              { $target = wxPyMake_wxObject($source); }
+
+
+
+
 // wxOGL doesn't use a ref-counted copy of pens and brushes, so we'll
 // use the pen and brush lists to simulate that...
 
 // wxOGL doesn't use a ref-counted copy of pens and brushes, so we'll
 // use the pen and brush lists to simulate that...
 
-
 %typemap(python, in) wxPen* {
     wxPen* temp;
     if ($source) {
 %typemap(python, in) wxPen* {
     wxPen* temp;
     if ($source) {