X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e7ecb7be084f5815051682b2a5809090ebb2706..2beb01db001c9c22e4865fba3ba9b46ff5fc2dda:/wxPython/contrib/ogl/oglshapes.i?ds=sidebyside diff --git a/wxPython/contrib/ogl/oglshapes.i b/wxPython/contrib/ogl/oglshapes.i index 6beaa08a41..4b89b5a8c2 100644 --- a/wxPython/contrib/ogl/oglshapes.i +++ b/wxPython/contrib/ogl/oglshapes.i @@ -40,7 +40,7 @@ //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- -class wxPseudoMetaFile { +class wxPseudoMetaFile : public wxObject { public: wxPseudoMetaFile(); ~wxPseudoMetaFile(); @@ -326,7 +326,7 @@ public: //--------------------------------------------------------------------------- -class wxOGLConstraint { +class wxOGLConstraint : public wxObject { public: //wxOGLConstraint(int type, wxPyShape *constraining, wxList& constrained); %addmethods { @@ -337,7 +337,8 @@ public: return rv; } } - ~wxOGLConstraint(); + + //~wxOGLConstraint(); The wxCompositShape takes ownership of the constraint bool Evaluate(); void SetSpacing(double x, double y);