%module oglshapes
%{
-#include "helpers.h"
+#include "export.h"
#include "oglhelpers.h"
%}
//---------------------------------------------------------------------------
//---------------------------------------------------------------------------
-class wxPseudoMetaFile {
+class wxPseudoMetaFile : public wxObject {
public:
wxPseudoMetaFile();
~wxPseudoMetaFile();
//---------------------------------------------------------------------------
-class wxOGLConstraint {
+class wxOGLConstraint : public wxObject {
public:
//wxOGLConstraint(int type, wxPyShape *constraining, wxList& constrained);
%addmethods {
return rv;
}
}
- ~wxOGLConstraint();
+
+ //~wxOGLConstraint(); The wxCompositShape takes ownership of the constraint
bool Evaluate();
void SetSpacing(double x, double y);