diff --git a/wxPython/contrib/ogl/oglshapes.cpp b/wxPython/contrib/ogl/oglshapes.cpp index 4da8d8a782..4b6f31f1c1 100644 --- a/wxPython/contrib/ogl/oglshapes.cpp +++ b/wxPython/contrib/ogl/oglshapes.cpp @@ -12838,6 +12838,8 @@ SWIGEXPORT(void) initoglshapesc() { SWIG_globals = SWIG_newvarlink(); m = Py_InitModule("oglshapesc", oglshapescMethods); d = PyModule_GetDict(m); + PyDict_SetItemString(d,"oglMETAFLAGS_OUTLINE", PyInt_FromLong((long) oglMETAFLAGS_OUTLINE)); + PyDict_SetItemString(d,"oglMETAFLAGS_ATTACHMENTS", PyInt_FromLong((long) oglMETAFLAGS_ATTACHMENTS)); { int i; for (i = 0; _swig_mapping[i].n1; i++) diff --git a/wxPython/contrib/ogl/oglshapes.i b/wxPython/contrib/ogl/oglshapes.i index e3e3c114d5..5261df2d16 100644 --- a/wxPython/contrib/ogl/oglshapes.i +++ b/wxPython/contrib/ogl/oglshapes.i @@ -37,6 +37,12 @@ %pragma(python) code = "import wx" //--------------------------------------------------------------------------- + +enum { + oglMETAFLAGS_OUTLINE, + oglMETAFLAGS_ATTACHMENTS +}; + //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- diff --git a/wxPython/contrib/ogl/oglshapes.py b/wxPython/contrib/ogl/oglshapes.py index 1cbd1eeb8f..0bdd20d05a 100644 --- a/wxPython/contrib/ogl/oglshapes.py +++ b/wxPython/contrib/ogl/oglshapes.py @@ -1185,3 +1185,5 @@ class wxPyDivisionShape(wxPyDivisionShapePtr): #-------------- VARIABLE WRAPPERS ------------------ +oglMETAFLAGS_OUTLINE = oglshapesc.oglMETAFLAGS_OUTLINE +oglMETAFLAGS_ATTACHMENTS = oglshapesc.oglMETAFLAGS_ATTACHMENTS