X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f6bcfd974ef26faf6f91a62cac09827e09463fd1..16d38102e8ad5534d185cc532b9aa8077a75e0a4:/wxPython/contrib/ogl/oglshapes.i?ds=inline diff --git a/wxPython/contrib/ogl/oglshapes.i b/wxPython/contrib/ogl/oglshapes.i index 2b2f94e40f..4b89b5a8c2 100644 --- a/wxPython/contrib/ogl/oglshapes.i +++ b/wxPython/contrib/ogl/oglshapes.i @@ -14,7 +14,7 @@ %module oglshapes %{ -#include "helpers.h" +#include "export.h" #include "oglhelpers.h" %} @@ -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);