aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wx/c_src/gen
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/c_src/gen')
-rw-r--r--lib/wx/c_src/gen/gl_fdefs.h1302
-rw-r--r--lib/wx/c_src/gen/gl_finit.h638
-rw-r--r--lib/wx/c_src/gen/gl_funcs.cpp5406
-rw-r--r--lib/wx/c_src/gen/glu_finit.h54
-rw-r--r--lib/wx/c_src/gen/wxe_derived_dest.h742
-rw-r--r--lib/wx/c_src/gen/wxe_events.cpp828
-rw-r--r--lib/wx/c_src/gen/wxe_funcs.cpp31099
-rw-r--r--lib/wx/c_src/gen/wxe_init.cpp136
-rw-r--r--lib/wx/c_src/gen/wxe_macros.h3318
9 files changed, 43523 insertions, 0 deletions
diff --git a/lib/wx/c_src/gen/gl_fdefs.h b/lib/wx/c_src/gen/gl_fdefs.h
new file mode 100644
index 0000000000..5fcd2d8e9b
--- /dev/null
+++ b/lib/wx/c_src/gen/gl_fdefs.h
@@ -0,0 +1,1302 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+/***** This file is generated do not edit ****/
+
+#ifdef WX_DEF_EXTS
+# define WXE_EXTERN
+#else
+# define WXE_EXTERN extern
+#endif
+
+typedef void (APIENTRY * WXEGLACCUM)(GLenum,GLfloat);
+WXE_EXTERN WXEGLACCUM weglAccum;
+typedef void (APIENTRY * WXEGLALPHAFUNC)(GLenum,GLclampf);
+WXE_EXTERN WXEGLALPHAFUNC weglAlphaFunc;
+typedef GLboolean (APIENTRY * WXEGLARETEXTURESRESIDENT)(GLsizei,const GLuint *,GLboolean *);
+WXE_EXTERN WXEGLARETEXTURESRESIDENT weglAreTexturesResident;
+typedef void (APIENTRY * WXEGLARRAYELEMENT)(GLint);
+WXE_EXTERN WXEGLARRAYELEMENT weglArrayElement;
+typedef void (APIENTRY * WXEGLBEGIN)(GLenum);
+WXE_EXTERN WXEGLBEGIN weglBegin;
+typedef void (APIENTRY * WXEGLBINDTEXTURE)(GLenum,GLuint);
+WXE_EXTERN WXEGLBINDTEXTURE weglBindTexture;
+typedef void (APIENTRY * WXEGLBITMAP)(GLsizei,GLsizei,GLfloat,GLfloat,GLfloat,GLfloat,const GLubyte *);
+WXE_EXTERN WXEGLBITMAP weglBitmap;
+typedef void (APIENTRY * WXEGLBLENDFUNC)(GLenum,GLenum);
+WXE_EXTERN WXEGLBLENDFUNC weglBlendFunc;
+typedef void (APIENTRY * WXEGLCALLLIST)(GLuint);
+WXE_EXTERN WXEGLCALLLIST weglCallList;
+typedef void (APIENTRY * WXEGLCALLLISTS)(GLsizei,GLenum,const GLuint *);
+WXE_EXTERN WXEGLCALLLISTS weglCallLists;
+typedef void (APIENTRY * WXEGLCLEAR)(GLbitfield);
+WXE_EXTERN WXEGLCLEAR weglClear;
+typedef void (APIENTRY * WXEGLCLEARACCUM)(GLfloat,GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLCLEARACCUM weglClearAccum;
+typedef void (APIENTRY * WXEGLCLEARCOLOR)(GLclampf,GLclampf,GLclampf,GLclampf);
+WXE_EXTERN WXEGLCLEARCOLOR weglClearColor;
+typedef void (APIENTRY * WXEGLCLEARDEPTH)(GLclampd);
+WXE_EXTERN WXEGLCLEARDEPTH weglClearDepth;
+typedef void (APIENTRY * WXEGLCLEARINDEX)(GLfloat);
+WXE_EXTERN WXEGLCLEARINDEX weglClearIndex;
+typedef void (APIENTRY * WXEGLCLEARSTENCIL)(GLint);
+WXE_EXTERN WXEGLCLEARSTENCIL weglClearStencil;
+typedef void (APIENTRY * WXEGLCLIPPLANE)(GLenum,const GLdouble *);
+WXE_EXTERN WXEGLCLIPPLANE weglClipPlane;
+typedef void (APIENTRY * WXEGLCOLOR3BV)(const GLbyte *);
+WXE_EXTERN WXEGLCOLOR3BV weglColor3bv;
+typedef void (APIENTRY * WXEGLCOLOR3DV)(const GLdouble *);
+WXE_EXTERN WXEGLCOLOR3DV weglColor3dv;
+typedef void (APIENTRY * WXEGLCOLOR3FV)(const GLfloat *);
+WXE_EXTERN WXEGLCOLOR3FV weglColor3fv;
+typedef void (APIENTRY * WXEGLCOLOR3IV)(const GLint *);
+WXE_EXTERN WXEGLCOLOR3IV weglColor3iv;
+typedef void (APIENTRY * WXEGLCOLOR3SV)(const GLshort *);
+WXE_EXTERN WXEGLCOLOR3SV weglColor3sv;
+typedef void (APIENTRY * WXEGLCOLOR3UBV)(const GLubyte *);
+WXE_EXTERN WXEGLCOLOR3UBV weglColor3ubv;
+typedef void (APIENTRY * WXEGLCOLOR3UIV)(const GLuint *);
+WXE_EXTERN WXEGLCOLOR3UIV weglColor3uiv;
+typedef void (APIENTRY * WXEGLCOLOR3USV)(const GLushort *);
+WXE_EXTERN WXEGLCOLOR3USV weglColor3usv;
+typedef void (APIENTRY * WXEGLCOLOR4BV)(const GLbyte *);
+WXE_EXTERN WXEGLCOLOR4BV weglColor4bv;
+typedef void (APIENTRY * WXEGLCOLOR4DV)(const GLdouble *);
+WXE_EXTERN WXEGLCOLOR4DV weglColor4dv;
+typedef void (APIENTRY * WXEGLCOLOR4FV)(const GLfloat *);
+WXE_EXTERN WXEGLCOLOR4FV weglColor4fv;
+typedef void (APIENTRY * WXEGLCOLOR4IV)(const GLint *);
+WXE_EXTERN WXEGLCOLOR4IV weglColor4iv;
+typedef void (APIENTRY * WXEGLCOLOR4SV)(const GLshort *);
+WXE_EXTERN WXEGLCOLOR4SV weglColor4sv;
+typedef void (APIENTRY * WXEGLCOLOR4UBV)(const GLubyte *);
+WXE_EXTERN WXEGLCOLOR4UBV weglColor4ubv;
+typedef void (APIENTRY * WXEGLCOLOR4UIV)(const GLuint *);
+WXE_EXTERN WXEGLCOLOR4UIV weglColor4uiv;
+typedef void (APIENTRY * WXEGLCOLOR4USV)(const GLushort *);
+WXE_EXTERN WXEGLCOLOR4USV weglColor4usv;
+typedef void (APIENTRY * WXEGLCOLORMASK)(GLboolean,GLboolean,GLboolean,GLboolean);
+WXE_EXTERN WXEGLCOLORMASK weglColorMask;
+typedef void (APIENTRY * WXEGLCOLORMATERIAL)(GLenum,GLenum);
+WXE_EXTERN WXEGLCOLORMATERIAL weglColorMaterial;
+typedef void (APIENTRY * WXEGLCOLORPOINTER)(GLint,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLCOLORPOINTER weglColorPointer;
+typedef void (APIENTRY * WXEGLCOPYPIXELS)(GLint,GLint,GLsizei,GLsizei,GLenum);
+WXE_EXTERN WXEGLCOPYPIXELS weglCopyPixels;
+typedef void (APIENTRY * WXEGLCOPYTEXIMAGE1D)(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLint);
+WXE_EXTERN WXEGLCOPYTEXIMAGE1D weglCopyTexImage1D;
+typedef void (APIENTRY * WXEGLCOPYTEXIMAGE2D)(GLenum,GLint,GLenum,GLint,GLint,GLsizei,GLsizei,GLint);
+WXE_EXTERN WXEGLCOPYTEXIMAGE2D weglCopyTexImage2D;
+typedef void (APIENTRY * WXEGLCOPYTEXSUBIMAGE1D)(GLenum,GLint,GLint,GLint,GLint,GLsizei);
+WXE_EXTERN WXEGLCOPYTEXSUBIMAGE1D weglCopyTexSubImage1D;
+typedef void (APIENTRY * WXEGLCOPYTEXSUBIMAGE2D)(GLenum,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei);
+WXE_EXTERN WXEGLCOPYTEXSUBIMAGE2D weglCopyTexSubImage2D;
+typedef void (APIENTRY * WXEGLCULLFACE)(GLenum);
+WXE_EXTERN WXEGLCULLFACE weglCullFace;
+typedef void (APIENTRY * WXEGLDELETELISTS)(GLuint,GLsizei);
+WXE_EXTERN WXEGLDELETELISTS weglDeleteLists;
+typedef void (APIENTRY * WXEGLDELETETEXTURES)(GLsizei,const GLuint *);
+WXE_EXTERN WXEGLDELETETEXTURES weglDeleteTextures;
+typedef void (APIENTRY * WXEGLDEPTHFUNC)(GLenum);
+WXE_EXTERN WXEGLDEPTHFUNC weglDepthFunc;
+typedef void (APIENTRY * WXEGLDEPTHMASK)(GLboolean);
+WXE_EXTERN WXEGLDEPTHMASK weglDepthMask;
+typedef void (APIENTRY * WXEGLDEPTHRANGE)(GLclampd,GLclampd);
+WXE_EXTERN WXEGLDEPTHRANGE weglDepthRange;
+typedef void (APIENTRY * WXEGLDISABLE)(GLenum);
+WXE_EXTERN WXEGLDISABLE weglDisable;
+typedef void (APIENTRY * WXEGLDISABLECLIENTSTATE)(GLenum);
+WXE_EXTERN WXEGLDISABLECLIENTSTATE weglDisableClientState;
+typedef void (APIENTRY * WXEGLDRAWARRAYS)(GLenum,GLint,GLsizei);
+WXE_EXTERN WXEGLDRAWARRAYS weglDrawArrays;
+typedef void (APIENTRY * WXEGLDRAWBUFFER)(GLenum);
+WXE_EXTERN WXEGLDRAWBUFFER weglDrawBuffer;
+typedef void (APIENTRY * WXEGLDRAWELEMENTS)(GLenum,GLsizei,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLDRAWELEMENTS weglDrawElements;
+typedef void (APIENTRY * WXEGLDRAWPIXELS)(GLsizei,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLDRAWPIXELS weglDrawPixels;
+typedef void (APIENTRY * WXEGLEDGEFLAGV)(const GLboolean *);
+WXE_EXTERN WXEGLEDGEFLAGV weglEdgeFlagv;
+typedef void (APIENTRY * WXEGLEDGEFLAGPOINTER)(GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLEDGEFLAGPOINTER weglEdgeFlagPointer;
+typedef void (APIENTRY * WXEGLENABLE)(GLenum);
+WXE_EXTERN WXEGLENABLE weglEnable;
+typedef void (APIENTRY * WXEGLENABLECLIENTSTATE)(GLenum);
+WXE_EXTERN WXEGLENABLECLIENTSTATE weglEnableClientState;
+typedef void (APIENTRY * WXEGLEND)();
+WXE_EXTERN WXEGLEND weglEnd;
+typedef void (APIENTRY * WXEGLENDLIST)();
+WXE_EXTERN WXEGLENDLIST weglEndList;
+typedef void (APIENTRY * WXEGLEVALCOORD1DV)(const GLdouble *);
+WXE_EXTERN WXEGLEVALCOORD1DV weglEvalCoord1dv;
+typedef void (APIENTRY * WXEGLEVALCOORD1FV)(const GLfloat *);
+WXE_EXTERN WXEGLEVALCOORD1FV weglEvalCoord1fv;
+typedef void (APIENTRY * WXEGLEVALCOORD2DV)(const GLdouble *);
+WXE_EXTERN WXEGLEVALCOORD2DV weglEvalCoord2dv;
+typedef void (APIENTRY * WXEGLEVALCOORD2FV)(const GLfloat *);
+WXE_EXTERN WXEGLEVALCOORD2FV weglEvalCoord2fv;
+typedef void (APIENTRY * WXEGLEVALMESH1)(GLenum,GLint,GLint);
+WXE_EXTERN WXEGLEVALMESH1 weglEvalMesh1;
+typedef void (APIENTRY * WXEGLEVALMESH2)(GLenum,GLint,GLint,GLint,GLint);
+WXE_EXTERN WXEGLEVALMESH2 weglEvalMesh2;
+typedef void (APIENTRY * WXEGLEVALPOINT1)(GLint);
+WXE_EXTERN WXEGLEVALPOINT1 weglEvalPoint1;
+typedef void (APIENTRY * WXEGLEVALPOINT2)(GLint,GLint);
+WXE_EXTERN WXEGLEVALPOINT2 weglEvalPoint2;
+typedef void (APIENTRY * WXEGLFEEDBACKBUFFER)(GLsizei,GLenum,GLfloat *);
+WXE_EXTERN WXEGLFEEDBACKBUFFER weglFeedbackBuffer;
+typedef void (APIENTRY * WXEGLFINISH)();
+WXE_EXTERN WXEGLFINISH weglFinish;
+typedef void (APIENTRY * WXEGLFLUSH)();
+WXE_EXTERN WXEGLFLUSH weglFlush;
+typedef void (APIENTRY * WXEGLFOGF)(GLenum,GLfloat);
+WXE_EXTERN WXEGLFOGF weglFogf;
+typedef void (APIENTRY * WXEGLFOGFV)(GLenum,const GLfloat *);
+WXE_EXTERN WXEGLFOGFV weglFogfv;
+typedef void (APIENTRY * WXEGLFOGI)(GLenum,GLint);
+WXE_EXTERN WXEGLFOGI weglFogi;
+typedef void (APIENTRY * WXEGLFOGIV)(GLenum,const GLint *);
+WXE_EXTERN WXEGLFOGIV weglFogiv;
+typedef void (APIENTRY * WXEGLFRONTFACE)(GLenum);
+WXE_EXTERN WXEGLFRONTFACE weglFrontFace;
+typedef void (APIENTRY * WXEGLFRUSTUM)(GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLFRUSTUM weglFrustum;
+typedef GLuint (APIENTRY * WXEGLGENLISTS)(GLsizei);
+WXE_EXTERN WXEGLGENLISTS weglGenLists;
+typedef void (APIENTRY * WXEGLGENTEXTURES)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLGENTEXTURES weglGenTextures;
+typedef void (APIENTRY * WXEGLGETBOOLEANV)(GLenum,GLboolean *);
+WXE_EXTERN WXEGLGETBOOLEANV weglGetBooleanv;
+typedef void (APIENTRY * WXEGLGETCLIPPLANE)(GLenum,GLdouble *);
+WXE_EXTERN WXEGLGETCLIPPLANE weglGetClipPlane;
+typedef void (APIENTRY * WXEGLGETDOUBLEV)(GLenum,GLdouble *);
+WXE_EXTERN WXEGLGETDOUBLEV weglGetDoublev;
+typedef GLenum (APIENTRY * WXEGLGETERROR)();
+WXE_EXTERN WXEGLGETERROR weglGetError;
+typedef void (APIENTRY * WXEGLGETFLOATV)(GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETFLOATV weglGetFloatv;
+typedef void (APIENTRY * WXEGLGETINTEGERV)(GLenum,GLint *);
+WXE_EXTERN WXEGLGETINTEGERV weglGetIntegerv;
+typedef void (APIENTRY * WXEGLGETLIGHTFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETLIGHTFV weglGetLightfv;
+typedef void (APIENTRY * WXEGLGETLIGHTIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETLIGHTIV weglGetLightiv;
+typedef void (APIENTRY * WXEGLGETMAPDV)(GLenum,GLenum,GLdouble *);
+WXE_EXTERN WXEGLGETMAPDV weglGetMapdv;
+typedef void (APIENTRY * WXEGLGETMAPFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETMAPFV weglGetMapfv;
+typedef void (APIENTRY * WXEGLGETMAPIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETMAPIV weglGetMapiv;
+typedef void (APIENTRY * WXEGLGETMATERIALFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETMATERIALFV weglGetMaterialfv;
+typedef void (APIENTRY * WXEGLGETMATERIALIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETMATERIALIV weglGetMaterialiv;
+typedef void (APIENTRY * WXEGLGETPIXELMAPFV)(GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETPIXELMAPFV weglGetPixelMapfv;
+typedef void (APIENTRY * WXEGLGETPIXELMAPUIV)(GLenum,GLuint *);
+WXE_EXTERN WXEGLGETPIXELMAPUIV weglGetPixelMapuiv;
+typedef void (APIENTRY * WXEGLGETPIXELMAPUSV)(GLenum,GLushort *);
+WXE_EXTERN WXEGLGETPIXELMAPUSV weglGetPixelMapusv;
+typedef void (APIENTRY * WXEGLGETPOLYGONSTIPPLE)(GLubyte *);
+WXE_EXTERN WXEGLGETPOLYGONSTIPPLE weglGetPolygonStipple;
+typedef const GLubyte * (APIENTRY * WXEGLGETSTRING)(GLenum);
+WXE_EXTERN WXEGLGETSTRING weglGetString;
+typedef void (APIENTRY * WXEGLGETTEXENVFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETTEXENVFV weglGetTexEnvfv;
+typedef void (APIENTRY * WXEGLGETTEXENVIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETTEXENVIV weglGetTexEnviv;
+typedef void (APIENTRY * WXEGLGETTEXGENDV)(GLenum,GLenum,GLdouble *);
+WXE_EXTERN WXEGLGETTEXGENDV weglGetTexGendv;
+typedef void (APIENTRY * WXEGLGETTEXGENFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETTEXGENFV weglGetTexGenfv;
+typedef void (APIENTRY * WXEGLGETTEXGENIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETTEXGENIV weglGetTexGeniv;
+typedef void (APIENTRY * WXEGLGETTEXIMAGE)(GLenum,GLint,GLenum,GLenum,GLvoid *);
+WXE_EXTERN WXEGLGETTEXIMAGE weglGetTexImage;
+typedef void (APIENTRY * WXEGLGETTEXLEVELPARAMETERFV)(GLenum,GLint,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETTEXLEVELPARAMETERFV weglGetTexLevelParameterfv;
+typedef void (APIENTRY * WXEGLGETTEXLEVELPARAMETERIV)(GLenum,GLint,GLenum,GLint *);
+WXE_EXTERN WXEGLGETTEXLEVELPARAMETERIV weglGetTexLevelParameteriv;
+typedef void (APIENTRY * WXEGLGETTEXPARAMETERFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETTEXPARAMETERFV weglGetTexParameterfv;
+typedef void (APIENTRY * WXEGLGETTEXPARAMETERIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETTEXPARAMETERIV weglGetTexParameteriv;
+typedef void (APIENTRY * WXEGLHINT)(GLenum,GLenum);
+WXE_EXTERN WXEGLHINT weglHint;
+typedef void (APIENTRY * WXEGLINDEXMASK)(GLuint);
+WXE_EXTERN WXEGLINDEXMASK weglIndexMask;
+typedef void (APIENTRY * WXEGLINDEXPOINTER)(GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLINDEXPOINTER weglIndexPointer;
+typedef void (APIENTRY * WXEGLINDEXDV)(const GLdouble *);
+WXE_EXTERN WXEGLINDEXDV weglIndexdv;
+typedef void (APIENTRY * WXEGLINDEXFV)(const GLfloat *);
+WXE_EXTERN WXEGLINDEXFV weglIndexfv;
+typedef void (APIENTRY * WXEGLINDEXIV)(const GLint *);
+WXE_EXTERN WXEGLINDEXIV weglIndexiv;
+typedef void (APIENTRY * WXEGLINDEXSV)(const GLshort *);
+WXE_EXTERN WXEGLINDEXSV weglIndexsv;
+typedef void (APIENTRY * WXEGLINDEXUBV)(const GLubyte *);
+WXE_EXTERN WXEGLINDEXUBV weglIndexubv;
+typedef void (APIENTRY * WXEGLINITNAMES)();
+WXE_EXTERN WXEGLINITNAMES weglInitNames;
+typedef void (APIENTRY * WXEGLINTERLEAVEDARRAYS)(GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLINTERLEAVEDARRAYS weglInterleavedArrays;
+typedef GLboolean (APIENTRY * WXEGLISENABLED)(GLenum);
+WXE_EXTERN WXEGLISENABLED weglIsEnabled;
+typedef GLboolean (APIENTRY * WXEGLISLIST)(GLuint);
+WXE_EXTERN WXEGLISLIST weglIsList;
+typedef GLboolean (APIENTRY * WXEGLISTEXTURE)(GLuint);
+WXE_EXTERN WXEGLISTEXTURE weglIsTexture;
+typedef void (APIENTRY * WXEGLLIGHTMODELF)(GLenum,GLfloat);
+WXE_EXTERN WXEGLLIGHTMODELF weglLightModelf;
+typedef void (APIENTRY * WXEGLLIGHTMODELFV)(GLenum,const GLfloat *);
+WXE_EXTERN WXEGLLIGHTMODELFV weglLightModelfv;
+typedef void (APIENTRY * WXEGLLIGHTMODELI)(GLenum,GLint);
+WXE_EXTERN WXEGLLIGHTMODELI weglLightModeli;
+typedef void (APIENTRY * WXEGLLIGHTMODELIV)(GLenum,const GLint *);
+WXE_EXTERN WXEGLLIGHTMODELIV weglLightModeliv;
+typedef void (APIENTRY * WXEGLLIGHTF)(GLenum,GLenum,GLfloat);
+WXE_EXTERN WXEGLLIGHTF weglLightf;
+typedef void (APIENTRY * WXEGLLIGHTFV)(GLenum,GLenum,const GLfloat *);
+WXE_EXTERN WXEGLLIGHTFV weglLightfv;
+typedef void (APIENTRY * WXEGLLIGHTI)(GLenum,GLenum,GLint);
+WXE_EXTERN WXEGLLIGHTI weglLighti;
+typedef void (APIENTRY * WXEGLLIGHTIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLLIGHTIV weglLightiv;
+typedef void (APIENTRY * WXEGLLINESTIPPLE)(GLint,GLushort);
+WXE_EXTERN WXEGLLINESTIPPLE weglLineStipple;
+typedef void (APIENTRY * WXEGLLINEWIDTH)(GLfloat);
+WXE_EXTERN WXEGLLINEWIDTH weglLineWidth;
+typedef void (APIENTRY * WXEGLLISTBASE)(GLuint);
+WXE_EXTERN WXEGLLISTBASE weglListBase;
+typedef void (APIENTRY * WXEGLLOADIDENTITY)();
+WXE_EXTERN WXEGLLOADIDENTITY weglLoadIdentity;
+typedef void (APIENTRY * WXEGLLOADMATRIXD)(const GLdouble *);
+WXE_EXTERN WXEGLLOADMATRIXD weglLoadMatrixd;
+typedef void (APIENTRY * WXEGLLOADMATRIXF)(const GLfloat *);
+WXE_EXTERN WXEGLLOADMATRIXF weglLoadMatrixf;
+typedef void (APIENTRY * WXEGLLOADNAME)(GLuint);
+WXE_EXTERN WXEGLLOADNAME weglLoadName;
+typedef void (APIENTRY * WXEGLLOGICOP)(GLenum);
+WXE_EXTERN WXEGLLOGICOP weglLogicOp;
+typedef void (APIENTRY * WXEGLMAP1D)(GLenum,GLdouble,GLdouble,GLint,GLint,const GLdouble *);
+WXE_EXTERN WXEGLMAP1D weglMap1d;
+typedef void (APIENTRY * WXEGLMAP1F)(GLenum,GLfloat,GLfloat,GLint,GLint,const GLfloat *);
+WXE_EXTERN WXEGLMAP1F weglMap1f;
+typedef void (APIENTRY * WXEGLMAP2D)(GLenum,GLdouble,GLdouble,GLint,GLint,GLdouble,GLdouble,GLint,GLint,const GLdouble *);
+WXE_EXTERN WXEGLMAP2D weglMap2d;
+typedef void (APIENTRY * WXEGLMAP2F)(GLenum,GLfloat,GLfloat,GLint,GLint,GLfloat,GLfloat,GLint,GLint,const GLfloat *);
+WXE_EXTERN WXEGLMAP2F weglMap2f;
+typedef void (APIENTRY * WXEGLMAPGRID1D)(GLint,GLdouble,GLdouble);
+WXE_EXTERN WXEGLMAPGRID1D weglMapGrid1d;
+typedef void (APIENTRY * WXEGLMAPGRID1F)(GLint,GLfloat,GLfloat);
+WXE_EXTERN WXEGLMAPGRID1F weglMapGrid1f;
+typedef void (APIENTRY * WXEGLMAPGRID2D)(GLint,GLdouble,GLdouble,GLint,GLdouble,GLdouble);
+WXE_EXTERN WXEGLMAPGRID2D weglMapGrid2d;
+typedef void (APIENTRY * WXEGLMAPGRID2F)(GLint,GLfloat,GLfloat,GLint,GLfloat,GLfloat);
+WXE_EXTERN WXEGLMAPGRID2F weglMapGrid2f;
+typedef void (APIENTRY * WXEGLMATERIALF)(GLenum,GLenum,GLfloat);
+WXE_EXTERN WXEGLMATERIALF weglMaterialf;
+typedef void (APIENTRY * WXEGLMATERIALFV)(GLenum,GLenum,const GLfloat *);
+WXE_EXTERN WXEGLMATERIALFV weglMaterialfv;
+typedef void (APIENTRY * WXEGLMATERIALI)(GLenum,GLenum,GLint);
+WXE_EXTERN WXEGLMATERIALI weglMateriali;
+typedef void (APIENTRY * WXEGLMATERIALIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLMATERIALIV weglMaterialiv;
+typedef void (APIENTRY * WXEGLMATRIXMODE)(GLenum);
+WXE_EXTERN WXEGLMATRIXMODE weglMatrixMode;
+typedef void (APIENTRY * WXEGLMULTMATRIXD)(const GLdouble *);
+WXE_EXTERN WXEGLMULTMATRIXD weglMultMatrixd;
+typedef void (APIENTRY * WXEGLMULTMATRIXF)(const GLfloat *);
+WXE_EXTERN WXEGLMULTMATRIXF weglMultMatrixf;
+typedef void (APIENTRY * WXEGLNEWLIST)(GLuint,GLenum);
+WXE_EXTERN WXEGLNEWLIST weglNewList;
+typedef void (APIENTRY * WXEGLNORMAL3BV)(const GLbyte *);
+WXE_EXTERN WXEGLNORMAL3BV weglNormal3bv;
+typedef void (APIENTRY * WXEGLNORMAL3DV)(const GLdouble *);
+WXE_EXTERN WXEGLNORMAL3DV weglNormal3dv;
+typedef void (APIENTRY * WXEGLNORMAL3FV)(const GLfloat *);
+WXE_EXTERN WXEGLNORMAL3FV weglNormal3fv;
+typedef void (APIENTRY * WXEGLNORMAL3IV)(const GLint *);
+WXE_EXTERN WXEGLNORMAL3IV weglNormal3iv;
+typedef void (APIENTRY * WXEGLNORMAL3SV)(const GLshort *);
+WXE_EXTERN WXEGLNORMAL3SV weglNormal3sv;
+typedef void (APIENTRY * WXEGLNORMALPOINTER)(GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLNORMALPOINTER weglNormalPointer;
+typedef void (APIENTRY * WXEGLORTHO)(GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLORTHO weglOrtho;
+typedef void (APIENTRY * WXEGLPASSTHROUGH)(GLfloat);
+WXE_EXTERN WXEGLPASSTHROUGH weglPassThrough;
+typedef void (APIENTRY * WXEGLPIXELMAPFV)(GLenum,GLsizei,const GLfloat *);
+WXE_EXTERN WXEGLPIXELMAPFV weglPixelMapfv;
+typedef void (APIENTRY * WXEGLPIXELMAPUIV)(GLenum,GLsizei,const GLuint *);
+WXE_EXTERN WXEGLPIXELMAPUIV weglPixelMapuiv;
+typedef void (APIENTRY * WXEGLPIXELMAPUSV)(GLenum,GLsizei,const GLushort *);
+WXE_EXTERN WXEGLPIXELMAPUSV weglPixelMapusv;
+typedef void (APIENTRY * WXEGLPIXELSTOREF)(GLenum,GLfloat);
+WXE_EXTERN WXEGLPIXELSTOREF weglPixelStoref;
+typedef void (APIENTRY * WXEGLPIXELSTOREI)(GLenum,GLint);
+WXE_EXTERN WXEGLPIXELSTOREI weglPixelStorei;
+typedef void (APIENTRY * WXEGLPIXELTRANSFERF)(GLenum,GLfloat);
+WXE_EXTERN WXEGLPIXELTRANSFERF weglPixelTransferf;
+typedef void (APIENTRY * WXEGLPIXELTRANSFERI)(GLenum,GLint);
+WXE_EXTERN WXEGLPIXELTRANSFERI weglPixelTransferi;
+typedef void (APIENTRY * WXEGLPIXELZOOM)(GLfloat,GLfloat);
+WXE_EXTERN WXEGLPIXELZOOM weglPixelZoom;
+typedef void (APIENTRY * WXEGLPOINTSIZE)(GLfloat);
+WXE_EXTERN WXEGLPOINTSIZE weglPointSize;
+typedef void (APIENTRY * WXEGLPOLYGONMODE)(GLenum,GLenum);
+WXE_EXTERN WXEGLPOLYGONMODE weglPolygonMode;
+typedef void (APIENTRY * WXEGLPOLYGONOFFSET)(GLfloat,GLfloat);
+WXE_EXTERN WXEGLPOLYGONOFFSET weglPolygonOffset;
+typedef void (APIENTRY * WXEGLPOLYGONSTIPPLE)(const GLubyte *);
+WXE_EXTERN WXEGLPOLYGONSTIPPLE weglPolygonStipple;
+typedef void (APIENTRY * WXEGLPOPATTRIB)();
+WXE_EXTERN WXEGLPOPATTRIB weglPopAttrib;
+typedef void (APIENTRY * WXEGLPOPCLIENTATTRIB)();
+WXE_EXTERN WXEGLPOPCLIENTATTRIB weglPopClientAttrib;
+typedef void (APIENTRY * WXEGLPOPMATRIX)();
+WXE_EXTERN WXEGLPOPMATRIX weglPopMatrix;
+typedef void (APIENTRY * WXEGLPOPNAME)();
+WXE_EXTERN WXEGLPOPNAME weglPopName;
+typedef void (APIENTRY * WXEGLPRIORITIZETEXTURES)(GLsizei,const GLuint *,const GLclampf *);
+WXE_EXTERN WXEGLPRIORITIZETEXTURES weglPrioritizeTextures;
+typedef void (APIENTRY * WXEGLPUSHATTRIB)(GLbitfield);
+WXE_EXTERN WXEGLPUSHATTRIB weglPushAttrib;
+typedef void (APIENTRY * WXEGLPUSHCLIENTATTRIB)(GLbitfield);
+WXE_EXTERN WXEGLPUSHCLIENTATTRIB weglPushClientAttrib;
+typedef void (APIENTRY * WXEGLPUSHMATRIX)();
+WXE_EXTERN WXEGLPUSHMATRIX weglPushMatrix;
+typedef void (APIENTRY * WXEGLPUSHNAME)(GLuint);
+WXE_EXTERN WXEGLPUSHNAME weglPushName;
+typedef void (APIENTRY * WXEGLRASTERPOS2DV)(const GLdouble *);
+WXE_EXTERN WXEGLRASTERPOS2DV weglRasterPos2dv;
+typedef void (APIENTRY * WXEGLRASTERPOS2FV)(const GLfloat *);
+WXE_EXTERN WXEGLRASTERPOS2FV weglRasterPos2fv;
+typedef void (APIENTRY * WXEGLRASTERPOS2IV)(const GLint *);
+WXE_EXTERN WXEGLRASTERPOS2IV weglRasterPos2iv;
+typedef void (APIENTRY * WXEGLRASTERPOS2SV)(const GLshort *);
+WXE_EXTERN WXEGLRASTERPOS2SV weglRasterPos2sv;
+typedef void (APIENTRY * WXEGLRASTERPOS3DV)(const GLdouble *);
+WXE_EXTERN WXEGLRASTERPOS3DV weglRasterPos3dv;
+typedef void (APIENTRY * WXEGLRASTERPOS3FV)(const GLfloat *);
+WXE_EXTERN WXEGLRASTERPOS3FV weglRasterPos3fv;
+typedef void (APIENTRY * WXEGLRASTERPOS3IV)(const GLint *);
+WXE_EXTERN WXEGLRASTERPOS3IV weglRasterPos3iv;
+typedef void (APIENTRY * WXEGLRASTERPOS3SV)(const GLshort *);
+WXE_EXTERN WXEGLRASTERPOS3SV weglRasterPos3sv;
+typedef void (APIENTRY * WXEGLRASTERPOS4DV)(const GLdouble *);
+WXE_EXTERN WXEGLRASTERPOS4DV weglRasterPos4dv;
+typedef void (APIENTRY * WXEGLRASTERPOS4FV)(const GLfloat *);
+WXE_EXTERN WXEGLRASTERPOS4FV weglRasterPos4fv;
+typedef void (APIENTRY * WXEGLRASTERPOS4IV)(const GLint *);
+WXE_EXTERN WXEGLRASTERPOS4IV weglRasterPos4iv;
+typedef void (APIENTRY * WXEGLRASTERPOS4SV)(const GLshort *);
+WXE_EXTERN WXEGLRASTERPOS4SV weglRasterPos4sv;
+typedef void (APIENTRY * WXEGLREADBUFFER)(GLenum);
+WXE_EXTERN WXEGLREADBUFFER weglReadBuffer;
+typedef void (APIENTRY * WXEGLREADPIXELS)(GLint,GLint,GLsizei,GLsizei,GLenum,GLenum,GLvoid *);
+WXE_EXTERN WXEGLREADPIXELS weglReadPixels;
+typedef void (APIENTRY * WXEGLRECTD)(GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLRECTD weglRectd;
+typedef void (APIENTRY * WXEGLRECTDV)(const GLdouble *,const GLdouble *);
+WXE_EXTERN WXEGLRECTDV weglRectdv;
+typedef void (APIENTRY * WXEGLRECTF)(GLfloat,GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLRECTF weglRectf;
+typedef void (APIENTRY * WXEGLRECTFV)(const GLfloat *,const GLfloat *);
+WXE_EXTERN WXEGLRECTFV weglRectfv;
+typedef void (APIENTRY * WXEGLRECTI)(GLint,GLint,GLint,GLint);
+WXE_EXTERN WXEGLRECTI weglRecti;
+typedef void (APIENTRY * WXEGLRECTIV)(const GLint *,const GLint *);
+WXE_EXTERN WXEGLRECTIV weglRectiv;
+typedef void (APIENTRY * WXEGLRECTS)(GLshort,GLshort,GLshort,GLshort);
+WXE_EXTERN WXEGLRECTS weglRects;
+typedef void (APIENTRY * WXEGLRECTSV)(const GLshort *,const GLshort *);
+WXE_EXTERN WXEGLRECTSV weglRectsv;
+typedef GLint (APIENTRY * WXEGLRENDERMODE)(GLenum);
+WXE_EXTERN WXEGLRENDERMODE weglRenderMode;
+typedef void (APIENTRY * WXEGLROTATED)(GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLROTATED weglRotated;
+typedef void (APIENTRY * WXEGLROTATEF)(GLfloat,GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLROTATEF weglRotatef;
+typedef void (APIENTRY * WXEGLSCALED)(GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLSCALED weglScaled;
+typedef void (APIENTRY * WXEGLSCALEF)(GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLSCALEF weglScalef;
+typedef void (APIENTRY * WXEGLSCISSOR)(GLint,GLint,GLsizei,GLsizei);
+WXE_EXTERN WXEGLSCISSOR weglScissor;
+typedef void (APIENTRY * WXEGLSELECTBUFFER)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLSELECTBUFFER weglSelectBuffer;
+typedef void (APIENTRY * WXEGLSHADEMODEL)(GLenum);
+WXE_EXTERN WXEGLSHADEMODEL weglShadeModel;
+typedef void (APIENTRY * WXEGLSTENCILFUNC)(GLenum,GLint,GLuint);
+WXE_EXTERN WXEGLSTENCILFUNC weglStencilFunc;
+typedef void (APIENTRY * WXEGLSTENCILMASK)(GLuint);
+WXE_EXTERN WXEGLSTENCILMASK weglStencilMask;
+typedef void (APIENTRY * WXEGLSTENCILOP)(GLenum,GLenum,GLenum);
+WXE_EXTERN WXEGLSTENCILOP weglStencilOp;
+typedef void (APIENTRY * WXEGLTEXCOORD1DV)(const GLdouble *);
+WXE_EXTERN WXEGLTEXCOORD1DV weglTexCoord1dv;
+typedef void (APIENTRY * WXEGLTEXCOORD1FV)(const GLfloat *);
+WXE_EXTERN WXEGLTEXCOORD1FV weglTexCoord1fv;
+typedef void (APIENTRY * WXEGLTEXCOORD1IV)(const GLint *);
+WXE_EXTERN WXEGLTEXCOORD1IV weglTexCoord1iv;
+typedef void (APIENTRY * WXEGLTEXCOORD1SV)(const GLshort *);
+WXE_EXTERN WXEGLTEXCOORD1SV weglTexCoord1sv;
+typedef void (APIENTRY * WXEGLTEXCOORD2DV)(const GLdouble *);
+WXE_EXTERN WXEGLTEXCOORD2DV weglTexCoord2dv;
+typedef void (APIENTRY * WXEGLTEXCOORD2FV)(const GLfloat *);
+WXE_EXTERN WXEGLTEXCOORD2FV weglTexCoord2fv;
+typedef void (APIENTRY * WXEGLTEXCOORD2IV)(const GLint *);
+WXE_EXTERN WXEGLTEXCOORD2IV weglTexCoord2iv;
+typedef void (APIENTRY * WXEGLTEXCOORD2SV)(const GLshort *);
+WXE_EXTERN WXEGLTEXCOORD2SV weglTexCoord2sv;
+typedef void (APIENTRY * WXEGLTEXCOORD3DV)(const GLdouble *);
+WXE_EXTERN WXEGLTEXCOORD3DV weglTexCoord3dv;
+typedef void (APIENTRY * WXEGLTEXCOORD3FV)(const GLfloat *);
+WXE_EXTERN WXEGLTEXCOORD3FV weglTexCoord3fv;
+typedef void (APIENTRY * WXEGLTEXCOORD3IV)(const GLint *);
+WXE_EXTERN WXEGLTEXCOORD3IV weglTexCoord3iv;
+typedef void (APIENTRY * WXEGLTEXCOORD3SV)(const GLshort *);
+WXE_EXTERN WXEGLTEXCOORD3SV weglTexCoord3sv;
+typedef void (APIENTRY * WXEGLTEXCOORD4DV)(const GLdouble *);
+WXE_EXTERN WXEGLTEXCOORD4DV weglTexCoord4dv;
+typedef void (APIENTRY * WXEGLTEXCOORD4FV)(const GLfloat *);
+WXE_EXTERN WXEGLTEXCOORD4FV weglTexCoord4fv;
+typedef void (APIENTRY * WXEGLTEXCOORD4IV)(const GLint *);
+WXE_EXTERN WXEGLTEXCOORD4IV weglTexCoord4iv;
+typedef void (APIENTRY * WXEGLTEXCOORD4SV)(const GLshort *);
+WXE_EXTERN WXEGLTEXCOORD4SV weglTexCoord4sv;
+typedef void (APIENTRY * WXEGLTEXCOORDPOINTER)(GLint,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLTEXCOORDPOINTER weglTexCoordPointer;
+typedef void (APIENTRY * WXEGLTEXENVF)(GLenum,GLenum,GLfloat);
+WXE_EXTERN WXEGLTEXENVF weglTexEnvf;
+typedef void (APIENTRY * WXEGLTEXENVFV)(GLenum,GLenum,const GLfloat *);
+WXE_EXTERN WXEGLTEXENVFV weglTexEnvfv;
+typedef void (APIENTRY * WXEGLTEXENVI)(GLenum,GLenum,GLint);
+WXE_EXTERN WXEGLTEXENVI weglTexEnvi;
+typedef void (APIENTRY * WXEGLTEXENVIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLTEXENVIV weglTexEnviv;
+typedef void (APIENTRY * WXEGLTEXGEND)(GLenum,GLenum,GLdouble);
+WXE_EXTERN WXEGLTEXGEND weglTexGend;
+typedef void (APIENTRY * WXEGLTEXGENDV)(GLenum,GLenum,const GLdouble *);
+WXE_EXTERN WXEGLTEXGENDV weglTexGendv;
+typedef void (APIENTRY * WXEGLTEXGENF)(GLenum,GLenum,GLfloat);
+WXE_EXTERN WXEGLTEXGENF weglTexGenf;
+typedef void (APIENTRY * WXEGLTEXGENFV)(GLenum,GLenum,const GLfloat *);
+WXE_EXTERN WXEGLTEXGENFV weglTexGenfv;
+typedef void (APIENTRY * WXEGLTEXGENI)(GLenum,GLenum,GLint);
+WXE_EXTERN WXEGLTEXGENI weglTexGeni;
+typedef void (APIENTRY * WXEGLTEXGENIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLTEXGENIV weglTexGeniv;
+typedef void (APIENTRY * WXEGLTEXIMAGE1D)(GLenum,GLint,GLint,GLsizei,GLint,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLTEXIMAGE1D weglTexImage1D;
+typedef void (APIENTRY * WXEGLTEXIMAGE2D)(GLenum,GLint,GLint,GLsizei,GLsizei,GLint,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLTEXIMAGE2D weglTexImage2D;
+typedef void (APIENTRY * WXEGLTEXPARAMETERF)(GLenum,GLenum,GLfloat);
+WXE_EXTERN WXEGLTEXPARAMETERF weglTexParameterf;
+typedef void (APIENTRY * WXEGLTEXPARAMETERFV)(GLenum,GLenum,const GLfloat *);
+WXE_EXTERN WXEGLTEXPARAMETERFV weglTexParameterfv;
+typedef void (APIENTRY * WXEGLTEXPARAMETERI)(GLenum,GLenum,GLint);
+WXE_EXTERN WXEGLTEXPARAMETERI weglTexParameteri;
+typedef void (APIENTRY * WXEGLTEXPARAMETERIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLTEXPARAMETERIV weglTexParameteriv;
+typedef void (APIENTRY * WXEGLTEXSUBIMAGE1D)(GLenum,GLint,GLint,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLTEXSUBIMAGE1D weglTexSubImage1D;
+typedef void (APIENTRY * WXEGLTEXSUBIMAGE2D)(GLenum,GLint,GLint,GLint,GLsizei,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLTEXSUBIMAGE2D weglTexSubImage2D;
+typedef void (APIENTRY * WXEGLTRANSLATED)(GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLTRANSLATED weglTranslated;
+typedef void (APIENTRY * WXEGLTRANSLATEF)(GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLTRANSLATEF weglTranslatef;
+typedef void (APIENTRY * WXEGLVERTEX2DV)(const GLdouble *);
+WXE_EXTERN WXEGLVERTEX2DV weglVertex2dv;
+typedef void (APIENTRY * WXEGLVERTEX2FV)(const GLfloat *);
+WXE_EXTERN WXEGLVERTEX2FV weglVertex2fv;
+typedef void (APIENTRY * WXEGLVERTEX2IV)(const GLint *);
+WXE_EXTERN WXEGLVERTEX2IV weglVertex2iv;
+typedef void (APIENTRY * WXEGLVERTEX2SV)(const GLshort *);
+WXE_EXTERN WXEGLVERTEX2SV weglVertex2sv;
+typedef void (APIENTRY * WXEGLVERTEX3DV)(const GLdouble *);
+WXE_EXTERN WXEGLVERTEX3DV weglVertex3dv;
+typedef void (APIENTRY * WXEGLVERTEX3FV)(const GLfloat *);
+WXE_EXTERN WXEGLVERTEX3FV weglVertex3fv;
+typedef void (APIENTRY * WXEGLVERTEX3IV)(const GLint *);
+WXE_EXTERN WXEGLVERTEX3IV weglVertex3iv;
+typedef void (APIENTRY * WXEGLVERTEX3SV)(const GLshort *);
+WXE_EXTERN WXEGLVERTEX3SV weglVertex3sv;
+typedef void (APIENTRY * WXEGLVERTEX4DV)(const GLdouble *);
+WXE_EXTERN WXEGLVERTEX4DV weglVertex4dv;
+typedef void (APIENTRY * WXEGLVERTEX4FV)(const GLfloat *);
+WXE_EXTERN WXEGLVERTEX4FV weglVertex4fv;
+typedef void (APIENTRY * WXEGLVERTEX4IV)(const GLint *);
+WXE_EXTERN WXEGLVERTEX4IV weglVertex4iv;
+typedef void (APIENTRY * WXEGLVERTEX4SV)(const GLshort *);
+WXE_EXTERN WXEGLVERTEX4SV weglVertex4sv;
+typedef void (APIENTRY * WXEGLVERTEXPOINTER)(GLint,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLVERTEXPOINTER weglVertexPointer;
+typedef void (APIENTRY * WXEGLVIEWPORT)(GLint,GLint,GLsizei,GLsizei);
+WXE_EXTERN WXEGLVIEWPORT weglViewport;
+typedef void (APIENTRY * WXEGLBLENDCOLOR)(GLclampf,GLclampf,GLclampf,GLclampf);
+WXE_EXTERN WXEGLBLENDCOLOR weglBlendColor;
+typedef void (APIENTRY * WXEGLBLENDEQUATION)(GLenum);
+WXE_EXTERN WXEGLBLENDEQUATION weglBlendEquation;
+typedef void (APIENTRY * WXEGLDRAWRANGEELEMENTS)(GLenum,GLuint,GLuint,GLsizei,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLDRAWRANGEELEMENTS weglDrawRangeElements;
+typedef void (APIENTRY * WXEGLTEXIMAGE3D)(GLenum,GLint,GLint,GLsizei,GLsizei,GLsizei,GLint,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLTEXIMAGE3D weglTexImage3D;
+typedef void (APIENTRY * WXEGLTEXSUBIMAGE3D)(GLenum,GLint,GLint,GLint,GLint,GLsizei,GLsizei,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLTEXSUBIMAGE3D weglTexSubImage3D;
+typedef void (APIENTRY * WXEGLCOPYTEXSUBIMAGE3D)(GLenum,GLint,GLint,GLint,GLint,GLint,GLint,GLsizei,GLsizei);
+WXE_EXTERN WXEGLCOPYTEXSUBIMAGE3D weglCopyTexSubImage3D;
+typedef void (APIENTRY * WXEGLCOLORTABLE)(GLenum,GLenum,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLCOLORTABLE weglColorTable;
+typedef void (APIENTRY * WXEGLCOLORTABLEPARAMETERFV)(GLenum,GLenum,const GLfloat *);
+WXE_EXTERN WXEGLCOLORTABLEPARAMETERFV weglColorTableParameterfv;
+typedef void (APIENTRY * WXEGLCOLORTABLEPARAMETERIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLCOLORTABLEPARAMETERIV weglColorTableParameteriv;
+typedef void (APIENTRY * WXEGLCOPYCOLORTABLE)(GLenum,GLenum,GLint,GLint,GLsizei);
+WXE_EXTERN WXEGLCOPYCOLORTABLE weglCopyColorTable;
+typedef void (APIENTRY * WXEGLGETCOLORTABLE)(GLenum,GLenum,GLenum,GLvoid *);
+WXE_EXTERN WXEGLGETCOLORTABLE weglGetColorTable;
+typedef void (APIENTRY * WXEGLGETCOLORTABLEPARAMETERFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETCOLORTABLEPARAMETERFV weglGetColorTableParameterfv;
+typedef void (APIENTRY * WXEGLGETCOLORTABLEPARAMETERIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETCOLORTABLEPARAMETERIV weglGetColorTableParameteriv;
+typedef void (APIENTRY * WXEGLCOLORSUBTABLE)(GLenum,GLsizei,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLCOLORSUBTABLE weglColorSubTable;
+typedef void (APIENTRY * WXEGLCOPYCOLORSUBTABLE)(GLenum,GLsizei,GLint,GLint,GLsizei);
+WXE_EXTERN WXEGLCOPYCOLORSUBTABLE weglCopyColorSubTable;
+typedef void (APIENTRY * WXEGLCONVOLUTIONFILTER1D)(GLenum,GLenum,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLCONVOLUTIONFILTER1D weglConvolutionFilter1D;
+typedef void (APIENTRY * WXEGLCONVOLUTIONFILTER2D)(GLenum,GLenum,GLsizei,GLsizei,GLenum,GLenum,const GLvoid *);
+WXE_EXTERN WXEGLCONVOLUTIONFILTER2D weglConvolutionFilter2D;
+typedef void (APIENTRY * WXEGLCONVOLUTIONPARAMETERFV)(GLenum,GLenum,const GLfloat *);
+WXE_EXTERN WXEGLCONVOLUTIONPARAMETERFV weglConvolutionParameterfv;
+typedef void (APIENTRY * WXEGLCONVOLUTIONPARAMETERIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLCONVOLUTIONPARAMETERIV weglConvolutionParameteriv;
+typedef void (APIENTRY * WXEGLCOPYCONVOLUTIONFILTER1D)(GLenum,GLenum,GLint,GLint,GLsizei);
+WXE_EXTERN WXEGLCOPYCONVOLUTIONFILTER1D weglCopyConvolutionFilter1D;
+typedef void (APIENTRY * WXEGLCOPYCONVOLUTIONFILTER2D)(GLenum,GLenum,GLint,GLint,GLsizei,GLsizei);
+WXE_EXTERN WXEGLCOPYCONVOLUTIONFILTER2D weglCopyConvolutionFilter2D;
+typedef void (APIENTRY * WXEGLGETCONVOLUTIONFILTER)(GLenum,GLenum,GLenum,GLvoid *);
+WXE_EXTERN WXEGLGETCONVOLUTIONFILTER weglGetConvolutionFilter;
+typedef void (APIENTRY * WXEGLGETCONVOLUTIONPARAMETERFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETCONVOLUTIONPARAMETERFV weglGetConvolutionParameterfv;
+typedef void (APIENTRY * WXEGLGETCONVOLUTIONPARAMETERIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETCONVOLUTIONPARAMETERIV weglGetConvolutionParameteriv;
+typedef void (APIENTRY * WXEGLSEPARABLEFILTER2D)(GLenum,GLenum,GLsizei,GLsizei,GLenum,GLenum,const GLvoid *,const GLvoid *);
+WXE_EXTERN WXEGLSEPARABLEFILTER2D weglSeparableFilter2D;
+typedef void (APIENTRY * WXEGLGETHISTOGRAM)(GLenum,GLboolean,GLenum,GLenum,GLvoid *);
+WXE_EXTERN WXEGLGETHISTOGRAM weglGetHistogram;
+typedef void (APIENTRY * WXEGLGETHISTOGRAMPARAMETERFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETHISTOGRAMPARAMETERFV weglGetHistogramParameterfv;
+typedef void (APIENTRY * WXEGLGETHISTOGRAMPARAMETERIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETHISTOGRAMPARAMETERIV weglGetHistogramParameteriv;
+typedef void (APIENTRY * WXEGLGETMINMAX)(GLenum,GLboolean,GLenum,GLenum,GLvoid *);
+WXE_EXTERN WXEGLGETMINMAX weglGetMinmax;
+typedef void (APIENTRY * WXEGLGETMINMAXPARAMETERFV)(GLenum,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETMINMAXPARAMETERFV weglGetMinmaxParameterfv;
+typedef void (APIENTRY * WXEGLGETMINMAXPARAMETERIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETMINMAXPARAMETERIV weglGetMinmaxParameteriv;
+typedef void (APIENTRY * WXEGLHISTOGRAM)(GLenum,GLsizei,GLenum,GLboolean);
+WXE_EXTERN WXEGLHISTOGRAM weglHistogram;
+typedef void (APIENTRY * WXEGLMINMAX)(GLenum,GLenum,GLboolean);
+WXE_EXTERN WXEGLMINMAX weglMinmax;
+typedef void (APIENTRY * WXEGLRESETHISTOGRAM)(GLenum);
+WXE_EXTERN WXEGLRESETHISTOGRAM weglResetHistogram;
+typedef void (APIENTRY * WXEGLRESETMINMAX)(GLenum);
+WXE_EXTERN WXEGLRESETMINMAX weglResetMinmax;
+typedef void (APIENTRY * WXEGLACTIVETEXTURE)(GLenum);
+WXE_EXTERN WXEGLACTIVETEXTURE weglActiveTexture;
+typedef void (APIENTRY * WXEGLSAMPLECOVERAGE)(GLclampf,GLboolean);
+WXE_EXTERN WXEGLSAMPLECOVERAGE weglSampleCoverage;
+typedef void (APIENTRY * WXEGLCOMPRESSEDTEXIMAGE3D)(GLenum,GLint,GLenum,GLsizei,GLsizei,GLsizei,GLint,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLCOMPRESSEDTEXIMAGE3D weglCompressedTexImage3D;
+typedef void (APIENTRY * WXEGLCOMPRESSEDTEXIMAGE2D)(GLenum,GLint,GLenum,GLsizei,GLsizei,GLint,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLCOMPRESSEDTEXIMAGE2D weglCompressedTexImage2D;
+typedef void (APIENTRY * WXEGLCOMPRESSEDTEXIMAGE1D)(GLenum,GLint,GLenum,GLsizei,GLint,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLCOMPRESSEDTEXIMAGE1D weglCompressedTexImage1D;
+typedef void (APIENTRY * WXEGLCOMPRESSEDTEXSUBIMAGE3D)(GLenum,GLint,GLint,GLint,GLint,GLsizei,GLsizei,GLsizei,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLCOMPRESSEDTEXSUBIMAGE3D weglCompressedTexSubImage3D;
+typedef void (APIENTRY * WXEGLCOMPRESSEDTEXSUBIMAGE2D)(GLenum,GLint,GLint,GLint,GLsizei,GLsizei,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLCOMPRESSEDTEXSUBIMAGE2D weglCompressedTexSubImage2D;
+typedef void (APIENTRY * WXEGLCOMPRESSEDTEXSUBIMAGE1D)(GLenum,GLint,GLint,GLsizei,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLCOMPRESSEDTEXSUBIMAGE1D weglCompressedTexSubImage1D;
+typedef void (APIENTRY * WXEGLGETCOMPRESSEDTEXIMAGE)(GLenum,GLint,GLvoid *);
+WXE_EXTERN WXEGLGETCOMPRESSEDTEXIMAGE weglGetCompressedTexImage;
+typedef void (APIENTRY * WXEGLCLIENTACTIVETEXTURE)(GLenum);
+WXE_EXTERN WXEGLCLIENTACTIVETEXTURE weglClientActiveTexture;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD1DV)(GLenum,const GLdouble *);
+WXE_EXTERN WXEGLMULTITEXCOORD1DV weglMultiTexCoord1dv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD1FV)(GLenum,const GLfloat *);
+WXE_EXTERN WXEGLMULTITEXCOORD1FV weglMultiTexCoord1fv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD1IV)(GLenum,const GLint *);
+WXE_EXTERN WXEGLMULTITEXCOORD1IV weglMultiTexCoord1iv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD1SV)(GLenum,const GLshort *);
+WXE_EXTERN WXEGLMULTITEXCOORD1SV weglMultiTexCoord1sv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD2DV)(GLenum,const GLdouble *);
+WXE_EXTERN WXEGLMULTITEXCOORD2DV weglMultiTexCoord2dv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD2FV)(GLenum,const GLfloat *);
+WXE_EXTERN WXEGLMULTITEXCOORD2FV weglMultiTexCoord2fv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD2IV)(GLenum,const GLint *);
+WXE_EXTERN WXEGLMULTITEXCOORD2IV weglMultiTexCoord2iv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD2SV)(GLenum,const GLshort *);
+WXE_EXTERN WXEGLMULTITEXCOORD2SV weglMultiTexCoord2sv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD3DV)(GLenum,const GLdouble *);
+WXE_EXTERN WXEGLMULTITEXCOORD3DV weglMultiTexCoord3dv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD3FV)(GLenum,const GLfloat *);
+WXE_EXTERN WXEGLMULTITEXCOORD3FV weglMultiTexCoord3fv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD3IV)(GLenum,const GLint *);
+WXE_EXTERN WXEGLMULTITEXCOORD3IV weglMultiTexCoord3iv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD3SV)(GLenum,const GLshort *);
+WXE_EXTERN WXEGLMULTITEXCOORD3SV weglMultiTexCoord3sv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD4DV)(GLenum,const GLdouble *);
+WXE_EXTERN WXEGLMULTITEXCOORD4DV weglMultiTexCoord4dv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD4FV)(GLenum,const GLfloat *);
+WXE_EXTERN WXEGLMULTITEXCOORD4FV weglMultiTexCoord4fv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD4IV)(GLenum,const GLint *);
+WXE_EXTERN WXEGLMULTITEXCOORD4IV weglMultiTexCoord4iv;
+typedef void (APIENTRY * WXEGLMULTITEXCOORD4SV)(GLenum,const GLshort *);
+WXE_EXTERN WXEGLMULTITEXCOORD4SV weglMultiTexCoord4sv;
+typedef void (APIENTRY * WXEGLLOADTRANSPOSEMATRIXF)(const GLfloat *);
+WXE_EXTERN WXEGLLOADTRANSPOSEMATRIXF weglLoadTransposeMatrixf;
+typedef void (APIENTRY * WXEGLLOADTRANSPOSEMATRIXD)(const GLdouble *);
+WXE_EXTERN WXEGLLOADTRANSPOSEMATRIXD weglLoadTransposeMatrixd;
+typedef void (APIENTRY * WXEGLMULTTRANSPOSEMATRIXF)(const GLfloat *);
+WXE_EXTERN WXEGLMULTTRANSPOSEMATRIXF weglMultTransposeMatrixf;
+typedef void (APIENTRY * WXEGLMULTTRANSPOSEMATRIXD)(const GLdouble *);
+WXE_EXTERN WXEGLMULTTRANSPOSEMATRIXD weglMultTransposeMatrixd;
+typedef void (APIENTRY * WXEGLBLENDFUNCSEPARATE)(GLenum,GLenum,GLenum,GLenum);
+WXE_EXTERN WXEGLBLENDFUNCSEPARATE weglBlendFuncSeparate;
+typedef void (APIENTRY * WXEGLMULTIDRAWARRAYS)(GLenum,GLint *,GLsizei *,GLsizei);
+WXE_EXTERN WXEGLMULTIDRAWARRAYS weglMultiDrawArrays;
+typedef void (APIENTRY * WXEGLPOINTPARAMETERF)(GLenum,GLfloat);
+WXE_EXTERN WXEGLPOINTPARAMETERF weglPointParameterf;
+typedef void (APIENTRY * WXEGLPOINTPARAMETERFV)(GLenum,const GLfloat *);
+WXE_EXTERN WXEGLPOINTPARAMETERFV weglPointParameterfv;
+typedef void (APIENTRY * WXEGLPOINTPARAMETERI)(GLenum,GLint);
+WXE_EXTERN WXEGLPOINTPARAMETERI weglPointParameteri;
+typedef void (APIENTRY * WXEGLPOINTPARAMETERIV)(GLenum,const GLint *);
+WXE_EXTERN WXEGLPOINTPARAMETERIV weglPointParameteriv;
+typedef void (APIENTRY * WXEGLFOGCOORDFV)(const GLfloat *);
+WXE_EXTERN WXEGLFOGCOORDFV weglFogCoordfv;
+typedef void (APIENTRY * WXEGLFOGCOORDDV)(const GLdouble *);
+WXE_EXTERN WXEGLFOGCOORDDV weglFogCoorddv;
+typedef void (APIENTRY * WXEGLFOGCOORDPOINTER)(GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLFOGCOORDPOINTER weglFogCoordPointer;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3BV)(const GLbyte *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3BV weglSecondaryColor3bv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3DV)(const GLdouble *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3DV weglSecondaryColor3dv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3FV)(const GLfloat *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3FV weglSecondaryColor3fv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3IV)(const GLint *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3IV weglSecondaryColor3iv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3SV)(const GLshort *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3SV weglSecondaryColor3sv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3UBV)(const GLubyte *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3UBV weglSecondaryColor3ubv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3UIV)(const GLuint *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3UIV weglSecondaryColor3uiv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLOR3USV)(const GLushort *);
+WXE_EXTERN WXEGLSECONDARYCOLOR3USV weglSecondaryColor3usv;
+typedef void (APIENTRY * WXEGLSECONDARYCOLORPOINTER)(GLint,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLSECONDARYCOLORPOINTER weglSecondaryColorPointer;
+typedef void (APIENTRY * WXEGLWINDOWPOS2DV)(const GLdouble *);
+WXE_EXTERN WXEGLWINDOWPOS2DV weglWindowPos2dv;
+typedef void (APIENTRY * WXEGLWINDOWPOS2FV)(const GLfloat *);
+WXE_EXTERN WXEGLWINDOWPOS2FV weglWindowPos2fv;
+typedef void (APIENTRY * WXEGLWINDOWPOS2IV)(const GLint *);
+WXE_EXTERN WXEGLWINDOWPOS2IV weglWindowPos2iv;
+typedef void (APIENTRY * WXEGLWINDOWPOS2SV)(const GLshort *);
+WXE_EXTERN WXEGLWINDOWPOS2SV weglWindowPos2sv;
+typedef void (APIENTRY * WXEGLWINDOWPOS3DV)(const GLdouble *);
+WXE_EXTERN WXEGLWINDOWPOS3DV weglWindowPos3dv;
+typedef void (APIENTRY * WXEGLWINDOWPOS3FV)(const GLfloat *);
+WXE_EXTERN WXEGLWINDOWPOS3FV weglWindowPos3fv;
+typedef void (APIENTRY * WXEGLWINDOWPOS3IV)(const GLint *);
+WXE_EXTERN WXEGLWINDOWPOS3IV weglWindowPos3iv;
+typedef void (APIENTRY * WXEGLWINDOWPOS3SV)(const GLshort *);
+WXE_EXTERN WXEGLWINDOWPOS3SV weglWindowPos3sv;
+typedef void (APIENTRY * WXEGLGENQUERIES)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLGENQUERIES weglGenQueries;
+typedef void (APIENTRY * WXEGLDELETEQUERIES)(GLsizei,const GLuint *);
+WXE_EXTERN WXEGLDELETEQUERIES weglDeleteQueries;
+typedef GLboolean (APIENTRY * WXEGLISQUERY)(GLuint);
+WXE_EXTERN WXEGLISQUERY weglIsQuery;
+typedef void (APIENTRY * WXEGLBEGINQUERY)(GLenum,GLuint);
+WXE_EXTERN WXEGLBEGINQUERY weglBeginQuery;
+typedef void (APIENTRY * WXEGLENDQUERY)(GLenum);
+WXE_EXTERN WXEGLENDQUERY weglEndQuery;
+typedef void (APIENTRY * WXEGLGETQUERYIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETQUERYIV weglGetQueryiv;
+typedef void (APIENTRY * WXEGLGETQUERYOBJECTIV)(GLuint,GLenum,GLint *);
+WXE_EXTERN WXEGLGETQUERYOBJECTIV weglGetQueryObjectiv;
+typedef void (APIENTRY * WXEGLGETQUERYOBJECTUIV)(GLuint,GLenum,GLuint *);
+WXE_EXTERN WXEGLGETQUERYOBJECTUIV weglGetQueryObjectuiv;
+typedef void (APIENTRY * WXEGLBINDBUFFER)(GLenum,GLuint);
+WXE_EXTERN WXEGLBINDBUFFER weglBindBuffer;
+typedef void (APIENTRY * WXEGLDELETEBUFFERS)(GLsizei,const GLuint *);
+WXE_EXTERN WXEGLDELETEBUFFERS weglDeleteBuffers;
+typedef void (APIENTRY * WXEGLGENBUFFERS)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLGENBUFFERS weglGenBuffers;
+typedef GLboolean (APIENTRY * WXEGLISBUFFER)(GLuint);
+WXE_EXTERN WXEGLISBUFFER weglIsBuffer;
+typedef void (APIENTRY * WXEGLBUFFERDATA)(GLenum,GLsizeiptr,const GLvoid *,GLenum);
+WXE_EXTERN WXEGLBUFFERDATA weglBufferData;
+typedef void (APIENTRY * WXEGLBUFFERSUBDATA)(GLenum,GLintptr,GLsizeiptr,const GLvoid *);
+WXE_EXTERN WXEGLBUFFERSUBDATA weglBufferSubData;
+typedef void (APIENTRY * WXEGLGETBUFFERSUBDATA)(GLenum,GLintptr,GLsizeiptr,GLvoid *);
+WXE_EXTERN WXEGLGETBUFFERSUBDATA weglGetBufferSubData;
+typedef void (APIENTRY * WXEGLGETBUFFERPARAMETERIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETBUFFERPARAMETERIV weglGetBufferParameteriv;
+typedef void (APIENTRY * WXEGLBLENDEQUATIONSEPARATE)(GLenum,GLenum);
+WXE_EXTERN WXEGLBLENDEQUATIONSEPARATE weglBlendEquationSeparate;
+typedef void (APIENTRY * WXEGLDRAWBUFFERS)(GLsizei,const GLenum *);
+WXE_EXTERN WXEGLDRAWBUFFERS weglDrawBuffers;
+typedef void (APIENTRY * WXEGLSTENCILOPSEPARATE)(GLenum,GLenum,GLenum,GLenum);
+WXE_EXTERN WXEGLSTENCILOPSEPARATE weglStencilOpSeparate;
+typedef void (APIENTRY * WXEGLSTENCILFUNCSEPARATE)(GLenum,GLenum,GLint,GLuint);
+WXE_EXTERN WXEGLSTENCILFUNCSEPARATE weglStencilFuncSeparate;
+typedef void (APIENTRY * WXEGLSTENCILMASKSEPARATE)(GLenum,GLuint);
+WXE_EXTERN WXEGLSTENCILMASKSEPARATE weglStencilMaskSeparate;
+typedef void (APIENTRY * WXEGLATTACHSHADER)(GLuint,GLuint);
+WXE_EXTERN WXEGLATTACHSHADER weglAttachShader;
+typedef void (APIENTRY * WXEGLBINDATTRIBLOCATION)(GLuint,GLuint,const GLchar *);
+WXE_EXTERN WXEGLBINDATTRIBLOCATION weglBindAttribLocation;
+typedef void (APIENTRY * WXEGLCOMPILESHADER)(GLuint);
+WXE_EXTERN WXEGLCOMPILESHADER weglCompileShader;
+typedef GLuint (APIENTRY * WXEGLCREATEPROGRAM)();
+WXE_EXTERN WXEGLCREATEPROGRAM weglCreateProgram;
+typedef GLuint (APIENTRY * WXEGLCREATESHADER)(GLenum);
+WXE_EXTERN WXEGLCREATESHADER weglCreateShader;
+typedef void (APIENTRY * WXEGLDELETEPROGRAM)(GLuint);
+WXE_EXTERN WXEGLDELETEPROGRAM weglDeleteProgram;
+typedef void (APIENTRY * WXEGLDELETESHADER)(GLuint);
+WXE_EXTERN WXEGLDELETESHADER weglDeleteShader;
+typedef void (APIENTRY * WXEGLDETACHSHADER)(GLuint,GLuint);
+WXE_EXTERN WXEGLDETACHSHADER weglDetachShader;
+typedef void (APIENTRY * WXEGLDISABLEVERTEXATTRIBARRAY)(GLuint);
+WXE_EXTERN WXEGLDISABLEVERTEXATTRIBARRAY weglDisableVertexAttribArray;
+typedef void (APIENTRY * WXEGLENABLEVERTEXATTRIBARRAY)(GLuint);
+WXE_EXTERN WXEGLENABLEVERTEXATTRIBARRAY weglEnableVertexAttribArray;
+typedef void (APIENTRY * WXEGLGETACTIVEATTRIB)(GLuint,GLuint,GLsizei,GLsizei *,GLint *,GLenum *,GLchar *);
+WXE_EXTERN WXEGLGETACTIVEATTRIB weglGetActiveAttrib;
+typedef void (APIENTRY * WXEGLGETACTIVEUNIFORM)(GLuint,GLuint,GLsizei,GLsizei *,GLint *,GLenum *,GLchar *);
+WXE_EXTERN WXEGLGETACTIVEUNIFORM weglGetActiveUniform;
+typedef void (APIENTRY * WXEGLGETATTACHEDSHADERS)(GLuint,GLsizei,GLsizei *,GLuint *);
+WXE_EXTERN WXEGLGETATTACHEDSHADERS weglGetAttachedShaders;
+typedef GLint (APIENTRY * WXEGLGETATTRIBLOCATION)(GLuint,const GLchar *);
+WXE_EXTERN WXEGLGETATTRIBLOCATION weglGetAttribLocation;
+typedef void (APIENTRY * WXEGLGETPROGRAMIV)(GLuint,GLenum,GLint *);
+WXE_EXTERN WXEGLGETPROGRAMIV weglGetProgramiv;
+typedef void (APIENTRY * WXEGLGETPROGRAMINFOLOG)(GLuint,GLsizei,GLsizei *,GLchar *);
+WXE_EXTERN WXEGLGETPROGRAMINFOLOG weglGetProgramInfoLog;
+typedef void (APIENTRY * WXEGLGETSHADERIV)(GLuint,GLenum,GLint *);
+WXE_EXTERN WXEGLGETSHADERIV weglGetShaderiv;
+typedef void (APIENTRY * WXEGLGETSHADERINFOLOG)(GLuint,GLsizei,GLsizei *,GLchar *);
+WXE_EXTERN WXEGLGETSHADERINFOLOG weglGetShaderInfoLog;
+typedef void (APIENTRY * WXEGLGETSHADERSOURCE)(GLuint,GLsizei,GLsizei *,GLchar *);
+WXE_EXTERN WXEGLGETSHADERSOURCE weglGetShaderSource;
+typedef GLint (APIENTRY * WXEGLGETUNIFORMLOCATION)(GLuint,const GLchar *);
+WXE_EXTERN WXEGLGETUNIFORMLOCATION weglGetUniformLocation;
+typedef void (APIENTRY * WXEGLGETUNIFORMFV)(GLuint,GLint,GLfloat *);
+WXE_EXTERN WXEGLGETUNIFORMFV weglGetUniformfv;
+typedef void (APIENTRY * WXEGLGETUNIFORMIV)(GLuint,GLint,GLint *);
+WXE_EXTERN WXEGLGETUNIFORMIV weglGetUniformiv;
+typedef void (APIENTRY * WXEGLGETVERTEXATTRIBDV)(GLuint,GLenum,GLdouble *);
+WXE_EXTERN WXEGLGETVERTEXATTRIBDV weglGetVertexAttribdv;
+typedef void (APIENTRY * WXEGLGETVERTEXATTRIBFV)(GLuint,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETVERTEXATTRIBFV weglGetVertexAttribfv;
+typedef void (APIENTRY * WXEGLGETVERTEXATTRIBIV)(GLuint,GLenum,GLint *);
+WXE_EXTERN WXEGLGETVERTEXATTRIBIV weglGetVertexAttribiv;
+typedef GLboolean (APIENTRY * WXEGLISPROGRAM)(GLuint);
+WXE_EXTERN WXEGLISPROGRAM weglIsProgram;
+typedef GLboolean (APIENTRY * WXEGLISSHADER)(GLuint);
+WXE_EXTERN WXEGLISSHADER weglIsShader;
+typedef void (APIENTRY * WXEGLLINKPROGRAM)(GLuint);
+WXE_EXTERN WXEGLLINKPROGRAM weglLinkProgram;
+typedef void (APIENTRY * WXEGLSHADERSOURCE)(GLuint,GLsizei,const GLchar **,const GLint *);
+WXE_EXTERN WXEGLSHADERSOURCE weglShaderSource;
+typedef void (APIENTRY * WXEGLUSEPROGRAM)(GLuint);
+WXE_EXTERN WXEGLUSEPROGRAM weglUseProgram;
+typedef void (APIENTRY * WXEGLUNIFORM1F)(GLint,GLfloat);
+WXE_EXTERN WXEGLUNIFORM1F weglUniform1f;
+typedef void (APIENTRY * WXEGLUNIFORM2F)(GLint,GLfloat,GLfloat);
+WXE_EXTERN WXEGLUNIFORM2F weglUniform2f;
+typedef void (APIENTRY * WXEGLUNIFORM3F)(GLint,GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLUNIFORM3F weglUniform3f;
+typedef void (APIENTRY * WXEGLUNIFORM4F)(GLint,GLfloat,GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLUNIFORM4F weglUniform4f;
+typedef void (APIENTRY * WXEGLUNIFORM1I)(GLint,GLint);
+WXE_EXTERN WXEGLUNIFORM1I weglUniform1i;
+typedef void (APIENTRY * WXEGLUNIFORM2I)(GLint,GLint,GLint);
+WXE_EXTERN WXEGLUNIFORM2I weglUniform2i;
+typedef void (APIENTRY * WXEGLUNIFORM3I)(GLint,GLint,GLint,GLint);
+WXE_EXTERN WXEGLUNIFORM3I weglUniform3i;
+typedef void (APIENTRY * WXEGLUNIFORM4I)(GLint,GLint,GLint,GLint,GLint);
+WXE_EXTERN WXEGLUNIFORM4I weglUniform4i;
+typedef void (APIENTRY * WXEGLUNIFORM1FV)(GLint,GLsizei,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORM1FV weglUniform1fv;
+typedef void (APIENTRY * WXEGLUNIFORM2FV)(GLint,GLsizei,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORM2FV weglUniform2fv;
+typedef void (APIENTRY * WXEGLUNIFORM3FV)(GLint,GLsizei,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORM3FV weglUniform3fv;
+typedef void (APIENTRY * WXEGLUNIFORM4FV)(GLint,GLsizei,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORM4FV weglUniform4fv;
+typedef void (APIENTRY * WXEGLUNIFORM1IV)(GLint,GLsizei,const GLint *);
+WXE_EXTERN WXEGLUNIFORM1IV weglUniform1iv;
+typedef void (APIENTRY * WXEGLUNIFORM2IV)(GLint,GLsizei,const GLint *);
+WXE_EXTERN WXEGLUNIFORM2IV weglUniform2iv;
+typedef void (APIENTRY * WXEGLUNIFORM3IV)(GLint,GLsizei,const GLint *);
+WXE_EXTERN WXEGLUNIFORM3IV weglUniform3iv;
+typedef void (APIENTRY * WXEGLUNIFORM4IV)(GLint,GLsizei,const GLint *);
+WXE_EXTERN WXEGLUNIFORM4IV weglUniform4iv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX2FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX2FV weglUniformMatrix2fv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX3FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX3FV weglUniformMatrix3fv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX4FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX4FV weglUniformMatrix4fv;
+typedef void (APIENTRY * WXEGLVALIDATEPROGRAM)(GLuint);
+WXE_EXTERN WXEGLVALIDATEPROGRAM weglValidateProgram;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB1DV)(GLuint,const GLdouble *);
+WXE_EXTERN WXEGLVERTEXATTRIB1DV weglVertexAttrib1dv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB1FV)(GLuint,const GLfloat *);
+WXE_EXTERN WXEGLVERTEXATTRIB1FV weglVertexAttrib1fv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB1SV)(GLuint,const GLshort *);
+WXE_EXTERN WXEGLVERTEXATTRIB1SV weglVertexAttrib1sv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB2DV)(GLuint,const GLdouble *);
+WXE_EXTERN WXEGLVERTEXATTRIB2DV weglVertexAttrib2dv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB2FV)(GLuint,const GLfloat *);
+WXE_EXTERN WXEGLVERTEXATTRIB2FV weglVertexAttrib2fv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB2SV)(GLuint,const GLshort *);
+WXE_EXTERN WXEGLVERTEXATTRIB2SV weglVertexAttrib2sv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB3DV)(GLuint,const GLdouble *);
+WXE_EXTERN WXEGLVERTEXATTRIB3DV weglVertexAttrib3dv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB3FV)(GLuint,const GLfloat *);
+WXE_EXTERN WXEGLVERTEXATTRIB3FV weglVertexAttrib3fv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB3SV)(GLuint,const GLshort *);
+WXE_EXTERN WXEGLVERTEXATTRIB3SV weglVertexAttrib3sv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4NBV)(GLuint,const GLbyte *);
+WXE_EXTERN WXEGLVERTEXATTRIB4NBV weglVertexAttrib4Nbv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4NIV)(GLuint,const GLint *);
+WXE_EXTERN WXEGLVERTEXATTRIB4NIV weglVertexAttrib4Niv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4NSV)(GLuint,const GLshort *);
+WXE_EXTERN WXEGLVERTEXATTRIB4NSV weglVertexAttrib4Nsv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4NUBV)(GLuint,const GLubyte *);
+WXE_EXTERN WXEGLVERTEXATTRIB4NUBV weglVertexAttrib4Nubv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4NUIV)(GLuint,const GLuint *);
+WXE_EXTERN WXEGLVERTEXATTRIB4NUIV weglVertexAttrib4Nuiv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4NUSV)(GLuint,const GLushort *);
+WXE_EXTERN WXEGLVERTEXATTRIB4NUSV weglVertexAttrib4Nusv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4BV)(GLuint,const GLbyte *);
+WXE_EXTERN WXEGLVERTEXATTRIB4BV weglVertexAttrib4bv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4DV)(GLuint,const GLdouble *);
+WXE_EXTERN WXEGLVERTEXATTRIB4DV weglVertexAttrib4dv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4FV)(GLuint,const GLfloat *);
+WXE_EXTERN WXEGLVERTEXATTRIB4FV weglVertexAttrib4fv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4IV)(GLuint,const GLint *);
+WXE_EXTERN WXEGLVERTEXATTRIB4IV weglVertexAttrib4iv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4SV)(GLuint,const GLshort *);
+WXE_EXTERN WXEGLVERTEXATTRIB4SV weglVertexAttrib4sv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4UBV)(GLuint,const GLubyte *);
+WXE_EXTERN WXEGLVERTEXATTRIB4UBV weglVertexAttrib4ubv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4UIV)(GLuint,const GLuint *);
+WXE_EXTERN WXEGLVERTEXATTRIB4UIV weglVertexAttrib4uiv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIB4USV)(GLuint,const GLushort *);
+WXE_EXTERN WXEGLVERTEXATTRIB4USV weglVertexAttrib4usv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBPOINTER)(GLuint,GLint,GLenum,GLboolean,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLVERTEXATTRIBPOINTER weglVertexAttribPointer;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX2X3FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX2X3FV weglUniformMatrix2x3fv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX3X2FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX3X2FV weglUniformMatrix3x2fv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX2X4FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX2X4FV weglUniformMatrix2x4fv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX4X2FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX4X2FV weglUniformMatrix4x2fv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX3X4FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX3X4FV weglUniformMatrix3x4fv;
+typedef void (APIENTRY * WXEGLUNIFORMMATRIX4X3FV)(GLint,GLsizei,GLboolean,const GLfloat *);
+WXE_EXTERN WXEGLUNIFORMMATRIX4X3FV weglUniformMatrix4x3fv;
+typedef void (APIENTRY * WXEGLCOLORMASKI)(GLuint,GLboolean,GLboolean,GLboolean,GLboolean);
+WXE_EXTERN WXEGLCOLORMASKI weglColorMaski;
+typedef void (APIENTRY * WXEGLGETBOOLEANI_V)(GLenum,GLuint,GLboolean *);
+WXE_EXTERN WXEGLGETBOOLEANI_V weglGetBooleani_v;
+typedef void (APIENTRY * WXEGLGETINTEGERI_V)(GLenum,GLuint,GLint *);
+WXE_EXTERN WXEGLGETINTEGERI_V weglGetIntegeri_v;
+typedef void (APIENTRY * WXEGLENABLEI)(GLenum,GLuint);
+WXE_EXTERN WXEGLENABLEI weglEnablei;
+typedef void (APIENTRY * WXEGLDISABLEI)(GLenum,GLuint);
+WXE_EXTERN WXEGLDISABLEI weglDisablei;
+typedef GLboolean (APIENTRY * WXEGLISENABLEDI)(GLenum,GLuint);
+WXE_EXTERN WXEGLISENABLEDI weglIsEnabledi;
+typedef void (APIENTRY * WXEGLBEGINTRANSFORMFEEDBACK)(GLenum);
+WXE_EXTERN WXEGLBEGINTRANSFORMFEEDBACK weglBeginTransformFeedback;
+typedef void (APIENTRY * WXEGLENDTRANSFORMFEEDBACK)();
+WXE_EXTERN WXEGLENDTRANSFORMFEEDBACK weglEndTransformFeedback;
+typedef void (APIENTRY * WXEGLBINDBUFFERRANGE)(GLenum,GLuint,GLuint,GLintptr,GLsizeiptr);
+WXE_EXTERN WXEGLBINDBUFFERRANGE weglBindBufferRange;
+typedef void (APIENTRY * WXEGLBINDBUFFERBASE)(GLenum,GLuint,GLuint);
+WXE_EXTERN WXEGLBINDBUFFERBASE weglBindBufferBase;
+typedef void (APIENTRY * WXEGLTRANSFORMFEEDBACKVARYINGS)(GLuint,GLsizei,const GLchar **,GLenum);
+WXE_EXTERN WXEGLTRANSFORMFEEDBACKVARYINGS weglTransformFeedbackVaryings;
+typedef void (APIENTRY * WXEGLGETTRANSFORMFEEDBACKVARYING)(GLuint,GLuint,GLsizei,GLsizei *,GLsizei *,GLenum *,GLchar *);
+WXE_EXTERN WXEGLGETTRANSFORMFEEDBACKVARYING weglGetTransformFeedbackVarying;
+typedef void (APIENTRY * WXEGLCLAMPCOLOR)(GLenum,GLenum);
+WXE_EXTERN WXEGLCLAMPCOLOR weglClampColor;
+typedef void (APIENTRY * WXEGLBEGINCONDITIONALRENDER)(GLuint,GLenum);
+WXE_EXTERN WXEGLBEGINCONDITIONALRENDER weglBeginConditionalRender;
+typedef void (APIENTRY * WXEGLENDCONDITIONALRENDER)();
+WXE_EXTERN WXEGLENDCONDITIONALRENDER weglEndConditionalRender;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBIPOINTER)(GLuint,GLint,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLVERTEXATTRIBIPOINTER weglVertexAttribIPointer;
+typedef void (APIENTRY * WXEGLGETVERTEXATTRIBIIV)(GLuint,GLenum,GLint *);
+WXE_EXTERN WXEGLGETVERTEXATTRIBIIV weglGetVertexAttribIiv;
+typedef void (APIENTRY * WXEGLGETVERTEXATTRIBIUIV)(GLuint,GLenum,GLuint *);
+WXE_EXTERN WXEGLGETVERTEXATTRIBIUIV weglGetVertexAttribIuiv;
+typedef void (APIENTRY * WXEGLGETUNIFORMUIV)(GLuint,GLint,GLuint *);
+WXE_EXTERN WXEGLGETUNIFORMUIV weglGetUniformuiv;
+typedef void (APIENTRY * WXEGLBINDFRAGDATALOCATION)(GLuint,GLuint,const GLchar *);
+WXE_EXTERN WXEGLBINDFRAGDATALOCATION weglBindFragDataLocation;
+typedef GLint (APIENTRY * WXEGLGETFRAGDATALOCATION)(GLuint,const GLchar *);
+WXE_EXTERN WXEGLGETFRAGDATALOCATION weglGetFragDataLocation;
+typedef void (APIENTRY * WXEGLUNIFORM1UI)(GLint,GLuint);
+WXE_EXTERN WXEGLUNIFORM1UI weglUniform1ui;
+typedef void (APIENTRY * WXEGLUNIFORM2UI)(GLint,GLuint,GLuint);
+WXE_EXTERN WXEGLUNIFORM2UI weglUniform2ui;
+typedef void (APIENTRY * WXEGLUNIFORM3UI)(GLint,GLuint,GLuint,GLuint);
+WXE_EXTERN WXEGLUNIFORM3UI weglUniform3ui;
+typedef void (APIENTRY * WXEGLUNIFORM4UI)(GLint,GLuint,GLuint,GLuint,GLuint);
+WXE_EXTERN WXEGLUNIFORM4UI weglUniform4ui;
+typedef void (APIENTRY * WXEGLUNIFORM1UIV)(GLint,GLsizei,const GLuint *);
+WXE_EXTERN WXEGLUNIFORM1UIV weglUniform1uiv;
+typedef void (APIENTRY * WXEGLUNIFORM2UIV)(GLint,GLsizei,const GLuint *);
+WXE_EXTERN WXEGLUNIFORM2UIV weglUniform2uiv;
+typedef void (APIENTRY * WXEGLUNIFORM3UIV)(GLint,GLsizei,const GLuint *);
+WXE_EXTERN WXEGLUNIFORM3UIV weglUniform3uiv;
+typedef void (APIENTRY * WXEGLUNIFORM4UIV)(GLint,GLsizei,const GLuint *);
+WXE_EXTERN WXEGLUNIFORM4UIV weglUniform4uiv;
+typedef void (APIENTRY * WXEGLTEXPARAMETERIIV)(GLenum,GLenum,const GLint *);
+WXE_EXTERN WXEGLTEXPARAMETERIIV weglTexParameterIiv;
+typedef void (APIENTRY * WXEGLTEXPARAMETERIUIV)(GLenum,GLenum,const GLuint *);
+WXE_EXTERN WXEGLTEXPARAMETERIUIV weglTexParameterIuiv;
+typedef void (APIENTRY * WXEGLGETTEXPARAMETERIIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETTEXPARAMETERIIV weglGetTexParameterIiv;
+typedef void (APIENTRY * WXEGLGETTEXPARAMETERIUIV)(GLenum,GLenum,GLuint *);
+WXE_EXTERN WXEGLGETTEXPARAMETERIUIV weglGetTexParameterIuiv;
+typedef void (APIENTRY * WXEGLCLEARBUFFERIV)(GLenum,GLint,const GLint *);
+WXE_EXTERN WXEGLCLEARBUFFERIV weglClearBufferiv;
+typedef void (APIENTRY * WXEGLCLEARBUFFERUIV)(GLenum,GLint,const GLuint *);
+WXE_EXTERN WXEGLCLEARBUFFERUIV weglClearBufferuiv;
+typedef void (APIENTRY * WXEGLCLEARBUFFERFV)(GLenum,GLint,const GLfloat *);
+WXE_EXTERN WXEGLCLEARBUFFERFV weglClearBufferfv;
+typedef void (APIENTRY * WXEGLCLEARBUFFERFI)(GLenum,GLint,GLfloat,GLint);
+WXE_EXTERN WXEGLCLEARBUFFERFI weglClearBufferfi;
+typedef const GLubyte * (APIENTRY * WXEGLGETSTRINGI)(GLenum,GLuint);
+WXE_EXTERN WXEGLGETSTRINGI weglGetStringi;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI1IV)(GLuint,const GLint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI1IV weglVertexAttribI1iv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI2IV)(GLuint,const GLint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI2IV weglVertexAttribI2iv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI3IV)(GLuint,const GLint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI3IV weglVertexAttribI3iv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI4IV)(GLuint,const GLint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI4IV weglVertexAttribI4iv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI1UIV)(GLuint,const GLuint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI1UIV weglVertexAttribI1uiv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI2UIV)(GLuint,const GLuint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI2UIV weglVertexAttribI2uiv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI3UIV)(GLuint,const GLuint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI3UIV weglVertexAttribI3uiv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI4UIV)(GLuint,const GLuint *);
+WXE_EXTERN WXEGLVERTEXATTRIBI4UIV weglVertexAttribI4uiv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI4BV)(GLuint,const GLbyte *);
+WXE_EXTERN WXEGLVERTEXATTRIBI4BV weglVertexAttribI4bv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI4SV)(GLuint,const GLshort *);
+WXE_EXTERN WXEGLVERTEXATTRIBI4SV weglVertexAttribI4sv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI4UBV)(GLuint,const GLubyte *);
+WXE_EXTERN WXEGLVERTEXATTRIBI4UBV weglVertexAttribI4ubv;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBI4USV)(GLuint,const GLushort *);
+WXE_EXTERN WXEGLVERTEXATTRIBI4USV weglVertexAttribI4usv;
+typedef void (APIENTRY * WXEGLDRAWARRAYSINSTANCED)(GLenum,GLint,GLsizei,GLsizei);
+WXE_EXTERN WXEGLDRAWARRAYSINSTANCED weglDrawArraysInstanced;
+typedef void (APIENTRY * WXEGLDRAWELEMENTSINSTANCED)(GLenum,GLsizei,GLenum,const GLvoid *,GLsizei);
+WXE_EXTERN WXEGLDRAWELEMENTSINSTANCED weglDrawElementsInstanced;
+typedef void (APIENTRY * WXEGLTEXBUFFER)(GLenum,GLenum,GLuint);
+WXE_EXTERN WXEGLTEXBUFFER weglTexBuffer;
+typedef void (APIENTRY * WXEGLPRIMITIVERESTARTINDEX)(GLuint);
+WXE_EXTERN WXEGLPRIMITIVERESTARTINDEX weglPrimitiveRestartIndex;
+typedef void (APIENTRY * WXEGLLOADTRANSPOSEMATRIXFARB)(const GLfloat *);
+WXE_EXTERN WXEGLLOADTRANSPOSEMATRIXFARB weglLoadTransposeMatrixfARB;
+typedef void (APIENTRY * WXEGLLOADTRANSPOSEMATRIXDARB)(const GLdouble *);
+WXE_EXTERN WXEGLLOADTRANSPOSEMATRIXDARB weglLoadTransposeMatrixdARB;
+typedef void (APIENTRY * WXEGLMULTTRANSPOSEMATRIXFARB)(const GLfloat *);
+WXE_EXTERN WXEGLMULTTRANSPOSEMATRIXFARB weglMultTransposeMatrixfARB;
+typedef void (APIENTRY * WXEGLMULTTRANSPOSEMATRIXDARB)(const GLdouble *);
+WXE_EXTERN WXEGLMULTTRANSPOSEMATRIXDARB weglMultTransposeMatrixdARB;
+typedef void (APIENTRY * WXEGLWEIGHTBVARB)(GLint,const GLbyte *);
+WXE_EXTERN WXEGLWEIGHTBVARB weglWeightbvARB;
+typedef void (APIENTRY * WXEGLWEIGHTSVARB)(GLint,const GLshort *);
+WXE_EXTERN WXEGLWEIGHTSVARB weglWeightsvARB;
+typedef void (APIENTRY * WXEGLWEIGHTIVARB)(GLint,const GLint *);
+WXE_EXTERN WXEGLWEIGHTIVARB weglWeightivARB;
+typedef void (APIENTRY * WXEGLWEIGHTFVARB)(GLint,const GLfloat *);
+WXE_EXTERN WXEGLWEIGHTFVARB weglWeightfvARB;
+typedef void (APIENTRY * WXEGLWEIGHTDVARB)(GLint,const GLdouble *);
+WXE_EXTERN WXEGLWEIGHTDVARB weglWeightdvARB;
+typedef void (APIENTRY * WXEGLWEIGHTUBVARB)(GLint,const GLubyte *);
+WXE_EXTERN WXEGLWEIGHTUBVARB weglWeightubvARB;
+typedef void (APIENTRY * WXEGLWEIGHTUSVARB)(GLint,const GLushort *);
+WXE_EXTERN WXEGLWEIGHTUSVARB weglWeightusvARB;
+typedef void (APIENTRY * WXEGLWEIGHTUIVARB)(GLint,const GLuint *);
+WXE_EXTERN WXEGLWEIGHTUIVARB weglWeightuivARB;
+typedef void (APIENTRY * WXEGLVERTEXBLENDARB)(GLint);
+WXE_EXTERN WXEGLVERTEXBLENDARB weglVertexBlendARB;
+typedef void (APIENTRY * WXEGLCURRENTPALETTEMATRIXARB)(GLint);
+WXE_EXTERN WXEGLCURRENTPALETTEMATRIXARB weglCurrentPaletteMatrixARB;
+typedef void (APIENTRY * WXEGLMATRIXINDEXUBVARB)(GLint,const GLubyte *);
+WXE_EXTERN WXEGLMATRIXINDEXUBVARB weglMatrixIndexubvARB;
+typedef void (APIENTRY * WXEGLMATRIXINDEXUSVARB)(GLint,const GLushort *);
+WXE_EXTERN WXEGLMATRIXINDEXUSVARB weglMatrixIndexusvARB;
+typedef void (APIENTRY * WXEGLMATRIXINDEXUIVARB)(GLint,const GLuint *);
+WXE_EXTERN WXEGLMATRIXINDEXUIVARB weglMatrixIndexuivARB;
+typedef void (APIENTRY * WXEGLPROGRAMSTRINGARB)(GLenum,GLenum,GLsizei,const GLvoid *);
+WXE_EXTERN WXEGLPROGRAMSTRINGARB weglProgramStringARB;
+typedef void (APIENTRY * WXEGLBINDPROGRAMARB)(GLenum,GLuint);
+WXE_EXTERN WXEGLBINDPROGRAMARB weglBindProgramARB;
+typedef void (APIENTRY * WXEGLDELETEPROGRAMSARB)(GLsizei,const GLuint *);
+WXE_EXTERN WXEGLDELETEPROGRAMSARB weglDeleteProgramsARB;
+typedef void (APIENTRY * WXEGLGENPROGRAMSARB)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLGENPROGRAMSARB weglGenProgramsARB;
+typedef void (APIENTRY * WXEGLPROGRAMENVPARAMETER4DARB)(GLenum,GLuint,GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLPROGRAMENVPARAMETER4DARB weglProgramEnvParameter4dARB;
+typedef void (APIENTRY * WXEGLPROGRAMENVPARAMETER4DVARB)(GLenum,GLuint,const GLdouble *);
+WXE_EXTERN WXEGLPROGRAMENVPARAMETER4DVARB weglProgramEnvParameter4dvARB;
+typedef void (APIENTRY * WXEGLPROGRAMENVPARAMETER4FARB)(GLenum,GLuint,GLfloat,GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLPROGRAMENVPARAMETER4FARB weglProgramEnvParameter4fARB;
+typedef void (APIENTRY * WXEGLPROGRAMENVPARAMETER4FVARB)(GLenum,GLuint,const GLfloat *);
+WXE_EXTERN WXEGLPROGRAMENVPARAMETER4FVARB weglProgramEnvParameter4fvARB;
+typedef void (APIENTRY * WXEGLPROGRAMLOCALPARAMETER4DARB)(GLenum,GLuint,GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLPROGRAMLOCALPARAMETER4DARB weglProgramLocalParameter4dARB;
+typedef void (APIENTRY * WXEGLPROGRAMLOCALPARAMETER4DVARB)(GLenum,GLuint,const GLdouble *);
+WXE_EXTERN WXEGLPROGRAMLOCALPARAMETER4DVARB weglProgramLocalParameter4dvARB;
+typedef void (APIENTRY * WXEGLPROGRAMLOCALPARAMETER4FARB)(GLenum,GLuint,GLfloat,GLfloat,GLfloat,GLfloat);
+WXE_EXTERN WXEGLPROGRAMLOCALPARAMETER4FARB weglProgramLocalParameter4fARB;
+typedef void (APIENTRY * WXEGLPROGRAMLOCALPARAMETER4FVARB)(GLenum,GLuint,const GLfloat *);
+WXE_EXTERN WXEGLPROGRAMLOCALPARAMETER4FVARB weglProgramLocalParameter4fvARB;
+typedef void (APIENTRY * WXEGLGETPROGRAMENVPARAMETERDVARB)(GLenum,GLuint,GLdouble *);
+WXE_EXTERN WXEGLGETPROGRAMENVPARAMETERDVARB weglGetProgramEnvParameterdvARB;
+typedef void (APIENTRY * WXEGLGETPROGRAMENVPARAMETERFVARB)(GLenum,GLuint,GLfloat *);
+WXE_EXTERN WXEGLGETPROGRAMENVPARAMETERFVARB weglGetProgramEnvParameterfvARB;
+typedef void (APIENTRY * WXEGLGETPROGRAMLOCALPARAMETERDVARB)(GLenum,GLuint,GLdouble *);
+WXE_EXTERN WXEGLGETPROGRAMLOCALPARAMETERDVARB weglGetProgramLocalParameterdvARB;
+typedef void (APIENTRY * WXEGLGETPROGRAMLOCALPARAMETERFVARB)(GLenum,GLuint,GLfloat *);
+WXE_EXTERN WXEGLGETPROGRAMLOCALPARAMETERFVARB weglGetProgramLocalParameterfvARB;
+typedef void (APIENTRY * WXEGLGETPROGRAMSTRINGARB)(GLenum,GLenum,GLvoid *);
+WXE_EXTERN WXEGLGETPROGRAMSTRINGARB weglGetProgramStringARB;
+typedef void (APIENTRY * WXEGLDELETEOBJECTARB)(GLhandleARB);
+WXE_EXTERN WXEGLDELETEOBJECTARB weglDeleteObjectARB;
+typedef GLhandleARB (APIENTRY * WXEGLGETHANDLEARB)(GLenum);
+WXE_EXTERN WXEGLGETHANDLEARB weglGetHandleARB;
+typedef void (APIENTRY * WXEGLDETACHOBJECTARB)(GLhandleARB,GLhandleARB);
+WXE_EXTERN WXEGLDETACHOBJECTARB weglDetachObjectARB;
+typedef GLhandleARB (APIENTRY * WXEGLCREATESHADEROBJECTARB)(GLenum);
+WXE_EXTERN WXEGLCREATESHADEROBJECTARB weglCreateShaderObjectARB;
+typedef void (APIENTRY * WXEGLSHADERSOURCEARB)(GLhandleARB,GLsizei,const GLchar **,const GLint *);
+WXE_EXTERN WXEGLSHADERSOURCEARB weglShaderSourceARB;
+typedef void (APIENTRY * WXEGLCOMPILESHADERARB)(GLhandleARB);
+WXE_EXTERN WXEGLCOMPILESHADERARB weglCompileShaderARB;
+typedef GLhandleARB (APIENTRY * WXEGLCREATEPROGRAMOBJECTARB)();
+WXE_EXTERN WXEGLCREATEPROGRAMOBJECTARB weglCreateProgramObjectARB;
+typedef void (APIENTRY * WXEGLATTACHOBJECTARB)(GLhandleARB,GLhandleARB);
+WXE_EXTERN WXEGLATTACHOBJECTARB weglAttachObjectARB;
+typedef void (APIENTRY * WXEGLLINKPROGRAMARB)(GLhandleARB);
+WXE_EXTERN WXEGLLINKPROGRAMARB weglLinkProgramARB;
+typedef void (APIENTRY * WXEGLUSEPROGRAMOBJECTARB)(GLhandleARB);
+WXE_EXTERN WXEGLUSEPROGRAMOBJECTARB weglUseProgramObjectARB;
+typedef void (APIENTRY * WXEGLVALIDATEPROGRAMARB)(GLhandleARB);
+WXE_EXTERN WXEGLVALIDATEPROGRAMARB weglValidateProgramARB;
+typedef void (APIENTRY * WXEGLGETOBJECTPARAMETERFVARB)(GLhandleARB,GLenum,GLfloat *);
+WXE_EXTERN WXEGLGETOBJECTPARAMETERFVARB weglGetObjectParameterfvARB;
+typedef void (APIENTRY * WXEGLGETOBJECTPARAMETERIVARB)(GLhandleARB,GLenum,GLint *);
+WXE_EXTERN WXEGLGETOBJECTPARAMETERIVARB weglGetObjectParameterivARB;
+typedef void (APIENTRY * WXEGLGETINFOLOGARB)(GLhandleARB,GLsizei,GLsizei *,GLchar *);
+WXE_EXTERN WXEGLGETINFOLOGARB weglGetInfoLogARB;
+typedef void (APIENTRY * WXEGLGETATTACHEDOBJECTSARB)(GLhandleARB,GLsizei,GLsizei *,GLhandleARB *);
+WXE_EXTERN WXEGLGETATTACHEDOBJECTSARB weglGetAttachedObjectsARB;
+typedef GLint (APIENTRY * WXEGLGETUNIFORMLOCATIONARB)(GLhandleARB,const GLchar *);
+WXE_EXTERN WXEGLGETUNIFORMLOCATIONARB weglGetUniformLocationARB;
+typedef void (APIENTRY * WXEGLGETACTIVEUNIFORMARB)(GLhandleARB,GLuint,GLsizei,GLsizei *,GLint *,GLenum *,GLchar *);
+WXE_EXTERN WXEGLGETACTIVEUNIFORMARB weglGetActiveUniformARB;
+typedef void (APIENTRY * WXEGLGETUNIFORMFVARB)(GLhandleARB,GLint,GLfloat *);
+WXE_EXTERN WXEGLGETUNIFORMFVARB weglGetUniformfvARB;
+typedef void (APIENTRY * WXEGLGETUNIFORMIVARB)(GLhandleARB,GLint,GLint *);
+WXE_EXTERN WXEGLGETUNIFORMIVARB weglGetUniformivARB;
+typedef void (APIENTRY * WXEGLGETSHADERSOURCEARB)(GLhandleARB,GLsizei,GLsizei *,GLchar *);
+WXE_EXTERN WXEGLGETSHADERSOURCEARB weglGetShaderSourceARB;
+typedef void (APIENTRY * WXEGLBINDATTRIBLOCATIONARB)(GLhandleARB,GLuint,const GLchar *);
+WXE_EXTERN WXEGLBINDATTRIBLOCATIONARB weglBindAttribLocationARB;
+typedef void (APIENTRY * WXEGLGETACTIVEATTRIBARB)(GLhandleARB,GLuint,GLsizei,GLsizei *,GLint *,GLenum *,GLchar *);
+WXE_EXTERN WXEGLGETACTIVEATTRIBARB weglGetActiveAttribARB;
+typedef GLint (APIENTRY * WXEGLGETATTRIBLOCATIONARB)(GLhandleARB,const GLchar *);
+WXE_EXTERN WXEGLGETATTRIBLOCATIONARB weglGetAttribLocationARB;
+typedef GLboolean (APIENTRY * WXEGLISRENDERBUFFER)(GLuint);
+WXE_EXTERN WXEGLISRENDERBUFFER weglIsRenderbuffer;
+typedef void (APIENTRY * WXEGLBINDRENDERBUFFER)(GLenum,GLuint);
+WXE_EXTERN WXEGLBINDRENDERBUFFER weglBindRenderbuffer;
+typedef void (APIENTRY * WXEGLDELETERENDERBUFFERS)(GLsizei,const GLuint *);
+WXE_EXTERN WXEGLDELETERENDERBUFFERS weglDeleteRenderbuffers;
+typedef void (APIENTRY * WXEGLGENRENDERBUFFERS)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLGENRENDERBUFFERS weglGenRenderbuffers;
+typedef void (APIENTRY * WXEGLRENDERBUFFERSTORAGE)(GLenum,GLenum,GLsizei,GLsizei);
+WXE_EXTERN WXEGLRENDERBUFFERSTORAGE weglRenderbufferStorage;
+typedef void (APIENTRY * WXEGLGETRENDERBUFFERPARAMETERIV)(GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETRENDERBUFFERPARAMETERIV weglGetRenderbufferParameteriv;
+typedef GLboolean (APIENTRY * WXEGLISFRAMEBUFFER)(GLuint);
+WXE_EXTERN WXEGLISFRAMEBUFFER weglIsFramebuffer;
+typedef void (APIENTRY * WXEGLBINDFRAMEBUFFER)(GLenum,GLuint);
+WXE_EXTERN WXEGLBINDFRAMEBUFFER weglBindFramebuffer;
+typedef void (APIENTRY * WXEGLDELETEFRAMEBUFFERS)(GLsizei,const GLuint *);
+WXE_EXTERN WXEGLDELETEFRAMEBUFFERS weglDeleteFramebuffers;
+typedef void (APIENTRY * WXEGLGENFRAMEBUFFERS)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLGENFRAMEBUFFERS weglGenFramebuffers;
+typedef GLenum (APIENTRY * WXEGLCHECKFRAMEBUFFERSTATUS)(GLenum);
+WXE_EXTERN WXEGLCHECKFRAMEBUFFERSTATUS weglCheckFramebufferStatus;
+typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTURE1D)(GLenum,GLenum,GLenum,GLuint,GLint);
+WXE_EXTERN WXEGLFRAMEBUFFERTEXTURE1D weglFramebufferTexture1D;
+typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTURE2D)(GLenum,GLenum,GLenum,GLuint,GLint);
+WXE_EXTERN WXEGLFRAMEBUFFERTEXTURE2D weglFramebufferTexture2D;
+typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTURE3D)(GLenum,GLenum,GLenum,GLuint,GLint,GLint);
+WXE_EXTERN WXEGLFRAMEBUFFERTEXTURE3D weglFramebufferTexture3D;
+typedef void (APIENTRY * WXEGLFRAMEBUFFERRENDERBUFFER)(GLenum,GLenum,GLenum,GLuint);
+WXE_EXTERN WXEGLFRAMEBUFFERRENDERBUFFER weglFramebufferRenderbuffer;
+typedef void (APIENTRY * WXEGLGETFRAMEBUFFERATTACHMENTPARAMETERIV)(GLenum,GLenum,GLenum,GLint *);
+WXE_EXTERN WXEGLGETFRAMEBUFFERATTACHMENTPARAMETERIV weglGetFramebufferAttachmentParameteriv;
+typedef void (APIENTRY * WXEGLGENERATEMIPMAP)(GLenum);
+WXE_EXTERN WXEGLGENERATEMIPMAP weglGenerateMipmap;
+typedef void (APIENTRY * WXEGLBLITFRAMEBUFFER)(GLint,GLint,GLint,GLint,GLint,GLint,GLint,GLint,GLbitfield,GLenum);
+WXE_EXTERN WXEGLBLITFRAMEBUFFER weglBlitFramebuffer;
+typedef void (APIENTRY * WXEGLRENDERBUFFERSTORAGEMULTISAMPLE)(GLenum,GLsizei,GLenum,GLsizei,GLsizei);
+WXE_EXTERN WXEGLRENDERBUFFERSTORAGEMULTISAMPLE weglRenderbufferStorageMultisample;
+typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTURELAYER)(GLenum,GLenum,GLuint,GLint,GLint);
+WXE_EXTERN WXEGLFRAMEBUFFERTEXTURELAYER weglFramebufferTextureLayer;
+typedef void (APIENTRY * WXEGLPROGRAMPARAMETERIARB)(GLuint,GLenum,GLint);
+WXE_EXTERN WXEGLPROGRAMPARAMETERIARB weglProgramParameteriARB;
+typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTUREARB)(GLenum,GLenum,GLuint,GLint);
+WXE_EXTERN WXEGLFRAMEBUFFERTEXTUREARB weglFramebufferTextureARB;
+typedef void (APIENTRY * WXEGLFRAMEBUFFERTEXTUREFACEARB)(GLenum,GLenum,GLuint,GLint,GLenum);
+WXE_EXTERN WXEGLFRAMEBUFFERTEXTUREFACEARB weglFramebufferTextureFaceARB;
+typedef void (APIENTRY * WXEGLVERTEXATTRIBDIVISORARB)(GLuint,GLuint);
+WXE_EXTERN WXEGLVERTEXATTRIBDIVISORARB weglVertexAttribDivisorARB;
+typedef void (APIENTRY * WXEGLFLUSHMAPPEDBUFFERRANGE)(GLenum,GLintptr,GLsizeiptr);
+WXE_EXTERN WXEGLFLUSHMAPPEDBUFFERRANGE weglFlushMappedBufferRange;
+typedef void (APIENTRY * WXEGLBINDVERTEXARRAY)(GLuint);
+WXE_EXTERN WXEGLBINDVERTEXARRAY weglBindVertexArray;
+typedef void (APIENTRY * WXEGLDELETEVERTEXARRAYS)(GLsizei,const GLuint *);
+WXE_EXTERN WXEGLDELETEVERTEXARRAYS weglDeleteVertexArrays;
+typedef void (APIENTRY * WXEGLGENVERTEXARRAYS)(GLsizei,GLuint *);
+WXE_EXTERN WXEGLGENVERTEXARRAYS weglGenVertexArrays;
+typedef GLboolean (APIENTRY * WXEGLISVERTEXARRAY)(GLuint);
+WXE_EXTERN WXEGLISVERTEXARRAY weglIsVertexArray;
+typedef void (APIENTRY * WXEGLGETUNIFORMINDICES)(GLuint,GLsizei,const GLchar **,GLuint *);
+WXE_EXTERN WXEGLGETUNIFORMINDICES weglGetUniformIndices;
+typedef void (APIENTRY * WXEGLGETACTIVEUNIFORMSIV)(GLuint,GLsizei,const GLuint *,GLenum,GLint *);
+WXE_EXTERN WXEGLGETACTIVEUNIFORMSIV weglGetActiveUniformsiv;
+typedef void (APIENTRY * WXEGLGETACTIVEUNIFORMNAME)(GLuint,GLuint,GLsizei,GLsizei *,GLchar *);
+WXE_EXTERN WXEGLGETACTIVEUNIFORMNAME weglGetActiveUniformName;
+typedef GLuint (APIENTRY * WXEGLGETUNIFORMBLOCKINDEX)(GLuint,const GLchar *);
+WXE_EXTERN WXEGLGETUNIFORMBLOCKINDEX weglGetUniformBlockIndex;
+typedef void (APIENTRY * WXEGLGETACTIVEUNIFORMBLOCKIV)(GLuint,GLuint,GLenum,GLint *);
+WXE_EXTERN WXEGLGETACTIVEUNIFORMBLOCKIV weglGetActiveUniformBlockiv;
+typedef void (APIENTRY * WXEGLGETACTIVEUNIFORMBLOCKNAME)(GLuint,GLuint,GLsizei,GLsizei *,GLchar *);
+WXE_EXTERN WXEGLGETACTIVEUNIFORMBLOCKNAME weglGetActiveUniformBlockName;
+typedef void (APIENTRY * WXEGLUNIFORMBLOCKBINDING)(GLuint,GLuint,GLuint);
+WXE_EXTERN WXEGLUNIFORMBLOCKBINDING weglUniformBlockBinding;
+typedef void (APIENTRY * WXEGLCOPYBUFFERSUBDATA)(GLenum,GLenum,GLintptr,GLintptr,GLsizeiptr);
+WXE_EXTERN WXEGLCOPYBUFFERSUBDATA weglCopyBufferSubData;
+typedef void (APIENTRY * WXEGLRESIZEBUFFERSMESA)();
+WXE_EXTERN WXEGLRESIZEBUFFERSMESA weglResizeBuffersMESA;
+typedef void (APIENTRY * WXEGLWINDOWPOS4DVMESA)(const GLdouble *);
+WXE_EXTERN WXEGLWINDOWPOS4DVMESA weglWindowPos4dvMESA;
+typedef void (APIENTRY * WXEGLWINDOWPOS4FVMESA)(const GLfloat *);
+WXE_EXTERN WXEGLWINDOWPOS4FVMESA weglWindowPos4fvMESA;
+typedef void (APIENTRY * WXEGLWINDOWPOS4IVMESA)(const GLint *);
+WXE_EXTERN WXEGLWINDOWPOS4IVMESA weglWindowPos4ivMESA;
+typedef void (APIENTRY * WXEGLWINDOWPOS4SVMESA)(const GLshort *);
+WXE_EXTERN WXEGLWINDOWPOS4SVMESA weglWindowPos4svMESA;
+typedef void (APIENTRY * WXEGLDEPTHBOUNDSEXT)(GLclampd,GLclampd);
+WXE_EXTERN WXEGLDEPTHBOUNDSEXT weglDepthBoundsEXT;
+typedef void (APIENTRY * WXEGLSTENCILCLEARTAGEXT)(GLsizei,GLuint);
+WXE_EXTERN WXEGLSTENCILCLEARTAGEXT weglStencilClearTagEXT;
+typedef GLint (APIENTRY * WXEGLUBUILD1DMIPMAPLEVELS)(GLenum,GLint,GLsizei,GLenum,GLenum,GLint,GLint,GLint,const void *);
+WXE_EXTERN WXEGLUBUILD1DMIPMAPLEVELS wegluBuild1DMipmapLevels;
+typedef GLint (APIENTRY * WXEGLUBUILD1DMIPMAPS)(GLenum,GLint,GLsizei,GLenum,GLenum,const void *);
+WXE_EXTERN WXEGLUBUILD1DMIPMAPS wegluBuild1DMipmaps;
+typedef GLint (APIENTRY * WXEGLUBUILD2DMIPMAPLEVELS)(GLenum,GLint,GLsizei,GLsizei,GLenum,GLenum,GLint,GLint,GLint,const void *);
+WXE_EXTERN WXEGLUBUILD2DMIPMAPLEVELS wegluBuild2DMipmapLevels;
+typedef GLint (APIENTRY * WXEGLUBUILD2DMIPMAPS)(GLenum,GLint,GLsizei,GLsizei,GLenum,GLenum,const void *);
+WXE_EXTERN WXEGLUBUILD2DMIPMAPS wegluBuild2DMipmaps;
+typedef GLint (APIENTRY * WXEGLUBUILD3DMIPMAPLEVELS)(GLenum,GLint,GLsizei,GLsizei,GLsizei,GLenum,GLenum,GLint,GLint,GLint,const void *);
+WXE_EXTERN WXEGLUBUILD3DMIPMAPLEVELS wegluBuild3DMipmapLevels;
+typedef GLint (APIENTRY * WXEGLUBUILD3DMIPMAPS)(GLenum,GLint,GLsizei,GLsizei,GLsizei,GLenum,GLenum,const void *);
+WXE_EXTERN WXEGLUBUILD3DMIPMAPS wegluBuild3DMipmaps;
+typedef GLboolean (APIENTRY * WXEGLUCHECKEXTENSION)(const GLubyte *,const GLubyte *);
+WXE_EXTERN WXEGLUCHECKEXTENSION wegluCheckExtension;
+typedef void (APIENTRY * WXEGLUCYLINDER)(GLUquadric *,GLdouble,GLdouble,GLdouble,GLint,GLint);
+WXE_EXTERN WXEGLUCYLINDER wegluCylinder;
+typedef void (APIENTRY * WXEGLUDELETEQUADRIC)(GLUquadric *);
+WXE_EXTERN WXEGLUDELETEQUADRIC wegluDeleteQuadric;
+typedef void (APIENTRY * WXEGLUDISK)(GLUquadric *,GLdouble,GLdouble,GLint,GLint);
+WXE_EXTERN WXEGLUDISK wegluDisk;
+typedef const GLubyte * (APIENTRY * WXEGLUERRORSTRING)(GLenum);
+WXE_EXTERN WXEGLUERRORSTRING wegluErrorString;
+typedef const GLubyte * (APIENTRY * WXEGLUGETSTRING)(GLenum);
+WXE_EXTERN WXEGLUGETSTRING wegluGetString;
+typedef void (APIENTRY * WXEGLULOOKAT)(GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLULOOKAT wegluLookAt;
+typedef GLUquadric * (APIENTRY * WXEGLUNEWQUADRIC)();
+WXE_EXTERN WXEGLUNEWQUADRIC wegluNewQuadric;
+typedef void (APIENTRY * WXEGLUORTHO2D)(GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLUORTHO2D wegluOrtho2D;
+typedef void (APIENTRY * WXEGLUPARTIALDISK)(GLUquadric *,GLdouble,GLdouble,GLint,GLint,GLdouble,GLdouble);
+WXE_EXTERN WXEGLUPARTIALDISK wegluPartialDisk;
+typedef void (APIENTRY * WXEGLUPERSPECTIVE)(GLdouble,GLdouble,GLdouble,GLdouble);
+WXE_EXTERN WXEGLUPERSPECTIVE wegluPerspective;
+typedef void (APIENTRY * WXEGLUPICKMATRIX)(GLdouble,GLdouble,GLdouble,GLdouble,GLint *);
+WXE_EXTERN WXEGLUPICKMATRIX wegluPickMatrix;
+typedef GLint (APIENTRY * WXEGLUPROJECT)(GLdouble,GLdouble,GLdouble,const GLdouble *,const GLdouble *,const GLint *,GLdouble *,GLdouble *,GLdouble *);
+WXE_EXTERN WXEGLUPROJECT wegluProject;
+typedef void (APIENTRY * WXEGLUQUADRICDRAWSTYLE)(GLUquadric *,GLenum);
+WXE_EXTERN WXEGLUQUADRICDRAWSTYLE wegluQuadricDrawStyle;
+typedef void (APIENTRY * WXEGLUQUADRICNORMALS)(GLUquadric *,GLenum);
+WXE_EXTERN WXEGLUQUADRICNORMALS wegluQuadricNormals;
+typedef void (APIENTRY * WXEGLUQUADRICORIENTATION)(GLUquadric *,GLenum);
+WXE_EXTERN WXEGLUQUADRICORIENTATION wegluQuadricOrientation;
+typedef void (APIENTRY * WXEGLUQUADRICTEXTURE)(GLUquadric *,GLboolean);
+WXE_EXTERN WXEGLUQUADRICTEXTURE wegluQuadricTexture;
+typedef GLint (APIENTRY * WXEGLUSCALEIMAGE)(GLenum,GLsizei,GLsizei,GLenum,const void *,GLsizei,GLsizei,GLenum,GLvoid *);
+WXE_EXTERN WXEGLUSCALEIMAGE wegluScaleImage;
+typedef void (APIENTRY * WXEGLUSPHERE)(GLUquadric *,GLdouble,GLint,GLint);
+WXE_EXTERN WXEGLUSPHERE wegluSphere;
+typedef GLint (APIENTRY * WXEGLUUNPROJECT)(GLdouble,GLdouble,GLdouble,const GLdouble *,const GLdouble *,const GLint *,GLdouble *,GLdouble *,GLdouble *);
+WXE_EXTERN WXEGLUUNPROJECT wegluUnProject;
+typedef GLint (APIENTRY * WXEGLUUNPROJECT4)(GLdouble,GLdouble,GLdouble,GLdouble,const GLdouble *,const GLdouble *,const GLint *,GLdouble,GLdouble,GLdouble *,GLdouble *,GLdouble *,GLdouble *);
+WXE_EXTERN WXEGLUUNPROJECT4 wegluUnProject4;
diff --git a/lib/wx/c_src/gen/gl_finit.h b/lib/wx/c_src/gen/gl_finit.h
new file mode 100644
index 0000000000..dac74ca7b6
--- /dev/null
+++ b/lib/wx/c_src/gen/gl_finit.h
@@ -0,0 +1,638 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+/***** This file is generated do not edit ****/
+
+static struct {
+ const char * name;
+ const char * alt;
+ void * func;
+} gl_fns[] =
+{
+ {"glAccum", NULL, &weglAccum},
+ {"glAlphaFunc", NULL, &weglAlphaFunc},
+ {"glAreTexturesResident", NULL, &weglAreTexturesResident},
+ {"glArrayElement", NULL, &weglArrayElement},
+ {"glBegin", NULL, &weglBegin},
+ {"glBindTexture", NULL, &weglBindTexture},
+ {"glBitmap", NULL, &weglBitmap},
+ {"glBlendFunc", NULL, &weglBlendFunc},
+ {"glCallList", NULL, &weglCallList},
+ {"glCallLists", NULL, &weglCallLists},
+ {"glClear", NULL, &weglClear},
+ {"glClearAccum", NULL, &weglClearAccum},
+ {"glClearColor", NULL, &weglClearColor},
+ {"glClearDepth", NULL, &weglClearDepth},
+ {"glClearIndex", NULL, &weglClearIndex},
+ {"glClearStencil", NULL, &weglClearStencil},
+ {"glClipPlane", NULL, &weglClipPlane},
+ {"glColor3bv", NULL, &weglColor3bv},
+ {"glColor3dv", NULL, &weglColor3dv},
+ {"glColor3fv", NULL, &weglColor3fv},
+ {"glColor3iv", NULL, &weglColor3iv},
+ {"glColor3sv", NULL, &weglColor3sv},
+ {"glColor3ubv", NULL, &weglColor3ubv},
+ {"glColor3uiv", NULL, &weglColor3uiv},
+ {"glColor3usv", NULL, &weglColor3usv},
+ {"glColor4bv", NULL, &weglColor4bv},
+ {"glColor4dv", NULL, &weglColor4dv},
+ {"glColor4fv", NULL, &weglColor4fv},
+ {"glColor4iv", NULL, &weglColor4iv},
+ {"glColor4sv", NULL, &weglColor4sv},
+ {"glColor4ubv", NULL, &weglColor4ubv},
+ {"glColor4uiv", NULL, &weglColor4uiv},
+ {"glColor4usv", NULL, &weglColor4usv},
+ {"glColorMask", NULL, &weglColorMask},
+ {"glColorMaterial", NULL, &weglColorMaterial},
+ {"glColorPointer", NULL, &weglColorPointer},
+ {"glCopyPixels", NULL, &weglCopyPixels},
+ {"glCopyTexImage1D", NULL, &weglCopyTexImage1D},
+ {"glCopyTexImage2D", NULL, &weglCopyTexImage2D},
+ {"glCopyTexSubImage1D", NULL, &weglCopyTexSubImage1D},
+ {"glCopyTexSubImage2D", NULL, &weglCopyTexSubImage2D},
+ {"glCullFace", NULL, &weglCullFace},
+ {"glDeleteLists", NULL, &weglDeleteLists},
+ {"glDeleteTextures", NULL, &weglDeleteTextures},
+ {"glDepthFunc", NULL, &weglDepthFunc},
+ {"glDepthMask", NULL, &weglDepthMask},
+ {"glDepthRange", NULL, &weglDepthRange},
+ {"glDisable", NULL, &weglDisable},
+ {"glDisableClientState", NULL, &weglDisableClientState},
+ {"glDrawArrays", NULL, &weglDrawArrays},
+ {"glDrawBuffer", NULL, &weglDrawBuffer},
+ {"glDrawElements", NULL, &weglDrawElements},
+ {"glDrawPixels", NULL, &weglDrawPixels},
+ {"glEdgeFlagv", NULL, &weglEdgeFlagv},
+ {"glEdgeFlagPointer", NULL, &weglEdgeFlagPointer},
+ {"glEnable", NULL, &weglEnable},
+ {"glEnableClientState", NULL, &weglEnableClientState},
+ {"glEnd", NULL, &weglEnd},
+ {"glEndList", NULL, &weglEndList},
+ {"glEvalCoord1dv", NULL, &weglEvalCoord1dv},
+ {"glEvalCoord1fv", NULL, &weglEvalCoord1fv},
+ {"glEvalCoord2dv", NULL, &weglEvalCoord2dv},
+ {"glEvalCoord2fv", NULL, &weglEvalCoord2fv},
+ {"glEvalMesh1", NULL, &weglEvalMesh1},
+ {"glEvalMesh2", NULL, &weglEvalMesh2},
+ {"glEvalPoint1", NULL, &weglEvalPoint1},
+ {"glEvalPoint2", NULL, &weglEvalPoint2},
+ {"glFeedbackBuffer", NULL, &weglFeedbackBuffer},
+ {"glFinish", NULL, &weglFinish},
+ {"glFlush", NULL, &weglFlush},
+ {"glFogf", NULL, &weglFogf},
+ {"glFogfv", NULL, &weglFogfv},
+ {"glFogi", NULL, &weglFogi},
+ {"glFogiv", NULL, &weglFogiv},
+ {"glFrontFace", NULL, &weglFrontFace},
+ {"glFrustum", NULL, &weglFrustum},
+ {"glGenLists", NULL, &weglGenLists},
+ {"glGenTextures", NULL, &weglGenTextures},
+ {"glGetBooleanv", NULL, &weglGetBooleanv},
+ {"glGetClipPlane", NULL, &weglGetClipPlane},
+ {"glGetDoublev", NULL, &weglGetDoublev},
+ {"glGetError", NULL, &weglGetError},
+ {"glGetFloatv", NULL, &weglGetFloatv},
+ {"glGetIntegerv", NULL, &weglGetIntegerv},
+ {"glGetLightfv", NULL, &weglGetLightfv},
+ {"glGetLightiv", NULL, &weglGetLightiv},
+ {"glGetMapdv", NULL, &weglGetMapdv},
+ {"glGetMapfv", NULL, &weglGetMapfv},
+ {"glGetMapiv", NULL, &weglGetMapiv},
+ {"glGetMaterialfv", NULL, &weglGetMaterialfv},
+ {"glGetMaterialiv", NULL, &weglGetMaterialiv},
+ {"glGetPixelMapfv", NULL, &weglGetPixelMapfv},
+ {"glGetPixelMapuiv", NULL, &weglGetPixelMapuiv},
+ {"glGetPixelMapusv", NULL, &weglGetPixelMapusv},
+ {"glGetPolygonStipple", NULL, &weglGetPolygonStipple},
+ {"glGetString", NULL, &weglGetString},
+ {"glGetTexEnvfv", NULL, &weglGetTexEnvfv},
+ {"glGetTexEnviv", NULL, &weglGetTexEnviv},
+ {"glGetTexGendv", NULL, &weglGetTexGendv},
+ {"glGetTexGenfv", NULL, &weglGetTexGenfv},
+ {"glGetTexGeniv", NULL, &weglGetTexGeniv},
+ {"glGetTexImage", NULL, &weglGetTexImage},
+ {"glGetTexLevelParameterfv", NULL, &weglGetTexLevelParameterfv},
+ {"glGetTexLevelParameteriv", NULL, &weglGetTexLevelParameteriv},
+ {"glGetTexParameterfv", NULL, &weglGetTexParameterfv},
+ {"glGetTexParameteriv", NULL, &weglGetTexParameteriv},
+ {"glHint", NULL, &weglHint},
+ {"glIndexMask", NULL, &weglIndexMask},
+ {"glIndexPointer", NULL, &weglIndexPointer},
+ {"glIndexdv", NULL, &weglIndexdv},
+ {"glIndexfv", NULL, &weglIndexfv},
+ {"glIndexiv", NULL, &weglIndexiv},
+ {"glIndexsv", NULL, &weglIndexsv},
+ {"glIndexubv", NULL, &weglIndexubv},
+ {"glInitNames", NULL, &weglInitNames},
+ {"glInterleavedArrays", NULL, &weglInterleavedArrays},
+ {"glIsEnabled", NULL, &weglIsEnabled},
+ {"glIsList", NULL, &weglIsList},
+ {"glIsTexture", NULL, &weglIsTexture},
+ {"glLightModelf", NULL, &weglLightModelf},
+ {"glLightModelfv", NULL, &weglLightModelfv},
+ {"glLightModeli", NULL, &weglLightModeli},
+ {"glLightModeliv", NULL, &weglLightModeliv},
+ {"glLightf", NULL, &weglLightf},
+ {"glLightfv", NULL, &weglLightfv},
+ {"glLighti", NULL, &weglLighti},
+ {"glLightiv", NULL, &weglLightiv},
+ {"glLineStipple", NULL, &weglLineStipple},
+ {"glLineWidth", NULL, &weglLineWidth},
+ {"glListBase", NULL, &weglListBase},
+ {"glLoadIdentity", NULL, &weglLoadIdentity},
+ {"glLoadMatrixd", NULL, &weglLoadMatrixd},
+ {"glLoadMatrixf", NULL, &weglLoadMatrixf},
+ {"glLoadName", NULL, &weglLoadName},
+ {"glLogicOp", NULL, &weglLogicOp},
+ {"glMap1d", NULL, &weglMap1d},
+ {"glMap1f", NULL, &weglMap1f},
+ {"glMap2d", NULL, &weglMap2d},
+ {"glMap2f", NULL, &weglMap2f},
+ {"glMapGrid1d", NULL, &weglMapGrid1d},
+ {"glMapGrid1f", NULL, &weglMapGrid1f},
+ {"glMapGrid2d", NULL, &weglMapGrid2d},
+ {"glMapGrid2f", NULL, &weglMapGrid2f},
+ {"glMaterialf", NULL, &weglMaterialf},
+ {"glMaterialfv", NULL, &weglMaterialfv},
+ {"glMateriali", NULL, &weglMateriali},
+ {"glMaterialiv", NULL, &weglMaterialiv},
+ {"glMatrixMode", NULL, &weglMatrixMode},
+ {"glMultMatrixd", NULL, &weglMultMatrixd},
+ {"glMultMatrixf", NULL, &weglMultMatrixf},
+ {"glNewList", NULL, &weglNewList},
+ {"glNormal3bv", NULL, &weglNormal3bv},
+ {"glNormal3dv", NULL, &weglNormal3dv},
+ {"glNormal3fv", NULL, &weglNormal3fv},
+ {"glNormal3iv", NULL, &weglNormal3iv},
+ {"glNormal3sv", NULL, &weglNormal3sv},
+ {"glNormalPointer", NULL, &weglNormalPointer},
+ {"glOrtho", NULL, &weglOrtho},
+ {"glPassThrough", NULL, &weglPassThrough},
+ {"glPixelMapfv", NULL, &weglPixelMapfv},
+ {"glPixelMapuiv", NULL, &weglPixelMapuiv},
+ {"glPixelMapusv", NULL, &weglPixelMapusv},
+ {"glPixelStoref", NULL, &weglPixelStoref},
+ {"glPixelStorei", NULL, &weglPixelStorei},
+ {"glPixelTransferf", NULL, &weglPixelTransferf},
+ {"glPixelTransferi", NULL, &weglPixelTransferi},
+ {"glPixelZoom", NULL, &weglPixelZoom},
+ {"glPointSize", NULL, &weglPointSize},
+ {"glPolygonMode", NULL, &weglPolygonMode},
+ {"glPolygonOffset", NULL, &weglPolygonOffset},
+ {"glPolygonStipple", NULL, &weglPolygonStipple},
+ {"glPopAttrib", NULL, &weglPopAttrib},
+ {"glPopClientAttrib", NULL, &weglPopClientAttrib},
+ {"glPopMatrix", NULL, &weglPopMatrix},
+ {"glPopName", NULL, &weglPopName},
+ {"glPrioritizeTextures", NULL, &weglPrioritizeTextures},
+ {"glPushAttrib", NULL, &weglPushAttrib},
+ {"glPushClientAttrib", NULL, &weglPushClientAttrib},
+ {"glPushMatrix", NULL, &weglPushMatrix},
+ {"glPushName", NULL, &weglPushName},
+ {"glRasterPos2dv", NULL, &weglRasterPos2dv},
+ {"glRasterPos2fv", NULL, &weglRasterPos2fv},
+ {"glRasterPos2iv", NULL, &weglRasterPos2iv},
+ {"glRasterPos2sv", NULL, &weglRasterPos2sv},
+ {"glRasterPos3dv", NULL, &weglRasterPos3dv},
+ {"glRasterPos3fv", NULL, &weglRasterPos3fv},
+ {"glRasterPos3iv", NULL, &weglRasterPos3iv},
+ {"glRasterPos3sv", NULL, &weglRasterPos3sv},
+ {"glRasterPos4dv", NULL, &weglRasterPos4dv},
+ {"glRasterPos4fv", NULL, &weglRasterPos4fv},
+ {"glRasterPos4iv", NULL, &weglRasterPos4iv},
+ {"glRasterPos4sv", NULL, &weglRasterPos4sv},
+ {"glReadBuffer", NULL, &weglReadBuffer},
+ {"glReadPixels", NULL, &weglReadPixels},
+ {"glRectd", NULL, &weglRectd},
+ {"glRectdv", NULL, &weglRectdv},
+ {"glRectf", NULL, &weglRectf},
+ {"glRectfv", NULL, &weglRectfv},
+ {"glRecti", NULL, &weglRecti},
+ {"glRectiv", NULL, &weglRectiv},
+ {"glRects", NULL, &weglRects},
+ {"glRectsv", NULL, &weglRectsv},
+ {"glRenderMode", NULL, &weglRenderMode},
+ {"glRotated", NULL, &weglRotated},
+ {"glRotatef", NULL, &weglRotatef},
+ {"glScaled", NULL, &weglScaled},
+ {"glScalef", NULL, &weglScalef},
+ {"glScissor", NULL, &weglScissor},
+ {"glSelectBuffer", NULL, &weglSelectBuffer},
+ {"glShadeModel", NULL, &weglShadeModel},
+ {"glStencilFunc", NULL, &weglStencilFunc},
+ {"glStencilMask", NULL, &weglStencilMask},
+ {"glStencilOp", NULL, &weglStencilOp},
+ {"glTexCoord1dv", NULL, &weglTexCoord1dv},
+ {"glTexCoord1fv", NULL, &weglTexCoord1fv},
+ {"glTexCoord1iv", NULL, &weglTexCoord1iv},
+ {"glTexCoord1sv", NULL, &weglTexCoord1sv},
+ {"glTexCoord2dv", NULL, &weglTexCoord2dv},
+ {"glTexCoord2fv", NULL, &weglTexCoord2fv},
+ {"glTexCoord2iv", NULL, &weglTexCoord2iv},
+ {"glTexCoord2sv", NULL, &weglTexCoord2sv},
+ {"glTexCoord3dv", NULL, &weglTexCoord3dv},
+ {"glTexCoord3fv", NULL, &weglTexCoord3fv},
+ {"glTexCoord3iv", NULL, &weglTexCoord3iv},
+ {"glTexCoord3sv", NULL, &weglTexCoord3sv},
+ {"glTexCoord4dv", NULL, &weglTexCoord4dv},
+ {"glTexCoord4fv", NULL, &weglTexCoord4fv},
+ {"glTexCoord4iv", NULL, &weglTexCoord4iv},
+ {"glTexCoord4sv", NULL, &weglTexCoord4sv},
+ {"glTexCoordPointer", NULL, &weglTexCoordPointer},
+ {"glTexEnvf", NULL, &weglTexEnvf},
+ {"glTexEnvfv", NULL, &weglTexEnvfv},
+ {"glTexEnvi", NULL, &weglTexEnvi},
+ {"glTexEnviv", NULL, &weglTexEnviv},
+ {"glTexGend", NULL, &weglTexGend},
+ {"glTexGendv", NULL, &weglTexGendv},
+ {"glTexGenf", NULL, &weglTexGenf},
+ {"glTexGenfv", NULL, &weglTexGenfv},
+ {"glTexGeni", NULL, &weglTexGeni},
+ {"glTexGeniv", NULL, &weglTexGeniv},
+ {"glTexImage1D", NULL, &weglTexImage1D},
+ {"glTexImage2D", NULL, &weglTexImage2D},
+ {"glTexParameterf", NULL, &weglTexParameterf},
+ {"glTexParameterfv", NULL, &weglTexParameterfv},
+ {"glTexParameteri", NULL, &weglTexParameteri},
+ {"glTexParameteriv", NULL, &weglTexParameteriv},
+ {"glTexSubImage1D", NULL, &weglTexSubImage1D},
+ {"glTexSubImage2D", NULL, &weglTexSubImage2D},
+ {"glTranslated", NULL, &weglTranslated},
+ {"glTranslatef", NULL, &weglTranslatef},
+ {"glVertex2dv", NULL, &weglVertex2dv},
+ {"glVertex2fv", NULL, &weglVertex2fv},
+ {"glVertex2iv", NULL, &weglVertex2iv},
+ {"glVertex2sv", NULL, &weglVertex2sv},
+ {"glVertex3dv", NULL, &weglVertex3dv},
+ {"glVertex3fv", NULL, &weglVertex3fv},
+ {"glVertex3iv", NULL, &weglVertex3iv},
+ {"glVertex3sv", NULL, &weglVertex3sv},
+ {"glVertex4dv", NULL, &weglVertex4dv},
+ {"glVertex4fv", NULL, &weglVertex4fv},
+ {"glVertex4iv", NULL, &weglVertex4iv},
+ {"glVertex4sv", NULL, &weglVertex4sv},
+ {"glVertexPointer", NULL, &weglVertexPointer},
+ {"glViewport", NULL, &weglViewport},
+ {"glBlendColor", NULL, &weglBlendColor},
+ {"glBlendEquation", NULL, &weglBlendEquation},
+ {"glDrawRangeElements", NULL, &weglDrawRangeElements},
+ {"glTexImage3D", NULL, &weglTexImage3D},
+ {"glTexSubImage3D", NULL, &weglTexSubImage3D},
+ {"glCopyTexSubImage3D", NULL, &weglCopyTexSubImage3D},
+ {"glColorTable", "glColorTableSGI", &weglColorTable},
+ {"glColorTableParameterfv", "glColorTableParameterfvSGI", &weglColorTableParameterfv},
+ {"glColorTableParameteriv", "glColorTableParameterivSGI", &weglColorTableParameteriv},
+ {"glCopyColorTable", "glCopyColorTableSGI", &weglCopyColorTable},
+ {"glGetColorTable", "glGetColorTableSGI", &weglGetColorTable},
+ {"glGetColorTableParameterfv", "glGetColorTableParameterfvSGI", &weglGetColorTableParameterfv},
+ {"glGetColorTableParameteriv", "glGetColorTableParameterivSGI", &weglGetColorTableParameteriv},
+ {"glColorSubTable", NULL, &weglColorSubTable},
+ {"glCopyColorSubTable", NULL, &weglCopyColorSubTable},
+ {"glConvolutionFilter1D", NULL, &weglConvolutionFilter1D},
+ {"glConvolutionFilter2D", NULL, &weglConvolutionFilter2D},
+ {"glConvolutionParameterfv", NULL, &weglConvolutionParameterfv},
+ {"glConvolutionParameteriv", NULL, &weglConvolutionParameteriv},
+ {"glCopyConvolutionFilter1D", NULL, &weglCopyConvolutionFilter1D},
+ {"glCopyConvolutionFilter2D", NULL, &weglCopyConvolutionFilter2D},
+ {"glGetConvolutionFilter", NULL, &weglGetConvolutionFilter},
+ {"glGetConvolutionParameterfv", NULL, &weglGetConvolutionParameterfv},
+ {"glGetConvolutionParameteriv", NULL, &weglGetConvolutionParameteriv},
+ {"glSeparableFilter2D", NULL, &weglSeparableFilter2D},
+ {"glGetHistogram", NULL, &weglGetHistogram},
+ {"glGetHistogramParameterfv", NULL, &weglGetHistogramParameterfv},
+ {"glGetHistogramParameteriv", NULL, &weglGetHistogramParameteriv},
+ {"glGetMinmax", NULL, &weglGetMinmax},
+ {"glGetMinmaxParameterfv", NULL, &weglGetMinmaxParameterfv},
+ {"glGetMinmaxParameteriv", NULL, &weglGetMinmaxParameteriv},
+ {"glHistogram", NULL, &weglHistogram},
+ {"glMinmax", NULL, &weglMinmax},
+ {"glResetHistogram", NULL, &weglResetHistogram},
+ {"glResetMinmax", NULL, &weglResetMinmax},
+ {"glActiveTexture", "glActiveTextureARB", &weglActiveTexture},
+ {"glSampleCoverage", "glSampleCoverageARB", &weglSampleCoverage},
+ {"glCompressedTexImage3D", "glCompressedTexImage3DARB", &weglCompressedTexImage3D},
+ {"glCompressedTexImage2D", "glCompressedTexImage2DARB", &weglCompressedTexImage2D},
+ {"glCompressedTexImage1D", "glCompressedTexImage1DARB", &weglCompressedTexImage1D},
+ {"glCompressedTexSubImage3D", "glCompressedTexSubImage3DARB", &weglCompressedTexSubImage3D},
+ {"glCompressedTexSubImage2D", "glCompressedTexSubImage2DARB", &weglCompressedTexSubImage2D},
+ {"glCompressedTexSubImage1D", "glCompressedTexSubImage1DARB", &weglCompressedTexSubImage1D},
+ {"glGetCompressedTexImage", "glGetCompressedTexImageARB", &weglGetCompressedTexImage},
+ {"glClientActiveTexture", "glClientActiveTextureARB", &weglClientActiveTexture},
+ {"glMultiTexCoord1dv", "glMultiTexCoord1dvARB", &weglMultiTexCoord1dv},
+ {"glMultiTexCoord1fv", "glMultiTexCoord1fvARB", &weglMultiTexCoord1fv},
+ {"glMultiTexCoord1iv", "glMultiTexCoord1ivARB", &weglMultiTexCoord1iv},
+ {"glMultiTexCoord1sv", "glMultiTexCoord1svARB", &weglMultiTexCoord1sv},
+ {"glMultiTexCoord2dv", "glMultiTexCoord2dvARB", &weglMultiTexCoord2dv},
+ {"glMultiTexCoord2fv", "glMultiTexCoord2fvARB", &weglMultiTexCoord2fv},
+ {"glMultiTexCoord2iv", "glMultiTexCoord2ivARB", &weglMultiTexCoord2iv},
+ {"glMultiTexCoord2sv", "glMultiTexCoord2svARB", &weglMultiTexCoord2sv},
+ {"glMultiTexCoord3dv", "glMultiTexCoord3dvARB", &weglMultiTexCoord3dv},
+ {"glMultiTexCoord3fv", "glMultiTexCoord3fvARB", &weglMultiTexCoord3fv},
+ {"glMultiTexCoord3iv", "glMultiTexCoord3ivARB", &weglMultiTexCoord3iv},
+ {"glMultiTexCoord3sv", "glMultiTexCoord3svARB", &weglMultiTexCoord3sv},
+ {"glMultiTexCoord4dv", "glMultiTexCoord4dvARB", &weglMultiTexCoord4dv},
+ {"glMultiTexCoord4fv", "glMultiTexCoord4fvARB", &weglMultiTexCoord4fv},
+ {"glMultiTexCoord4iv", "glMultiTexCoord4ivARB", &weglMultiTexCoord4iv},
+ {"glMultiTexCoord4sv", "glMultiTexCoord4svARB", &weglMultiTexCoord4sv},
+ {"glLoadTransposeMatrixf", NULL, &weglLoadTransposeMatrixf},
+ {"glLoadTransposeMatrixd", NULL, &weglLoadTransposeMatrixd},
+ {"glMultTransposeMatrixf", NULL, &weglMultTransposeMatrixf},
+ {"glMultTransposeMatrixd", NULL, &weglMultTransposeMatrixd},
+ {"glBlendFuncSeparate", "glBlendFuncSeparateINGR", &weglBlendFuncSeparate},
+ {"glMultiDrawArrays", NULL, &weglMultiDrawArrays},
+ {"glPointParameterf", "glPointParameterfARB", &weglPointParameterf},
+ {"glPointParameterfv", "glPointParameterfvARB", &weglPointParameterfv},
+ {"glPointParameteri", NULL, &weglPointParameteri},
+ {"glPointParameteriv", NULL, &weglPointParameteriv},
+ {"glFogCoordfv", NULL, &weglFogCoordfv},
+ {"glFogCoorddv", NULL, &weglFogCoorddv},
+ {"glFogCoordPointer", NULL, &weglFogCoordPointer},
+ {"glSecondaryColor3bv", NULL, &weglSecondaryColor3bv},
+ {"glSecondaryColor3dv", NULL, &weglSecondaryColor3dv},
+ {"glSecondaryColor3fv", NULL, &weglSecondaryColor3fv},
+ {"glSecondaryColor3iv", NULL, &weglSecondaryColor3iv},
+ {"glSecondaryColor3sv", NULL, &weglSecondaryColor3sv},
+ {"glSecondaryColor3ubv", NULL, &weglSecondaryColor3ubv},
+ {"glSecondaryColor3uiv", NULL, &weglSecondaryColor3uiv},
+ {"glSecondaryColor3usv", NULL, &weglSecondaryColor3usv},
+ {"glSecondaryColorPointer", NULL, &weglSecondaryColorPointer},
+ {"glWindowPos2dv", "glWindowPos2dvMESA", &weglWindowPos2dv},
+ {"glWindowPos2fv", "glWindowPos2fvMESA", &weglWindowPos2fv},
+ {"glWindowPos2iv", "glWindowPos2ivMESA", &weglWindowPos2iv},
+ {"glWindowPos2sv", "glWindowPos2svMESA", &weglWindowPos2sv},
+ {"glWindowPos3dv", "glWindowPos3dvMESA", &weglWindowPos3dv},
+ {"glWindowPos3fv", "glWindowPos3fvMESA", &weglWindowPos3fv},
+ {"glWindowPos3iv", "glWindowPos3ivMESA", &weglWindowPos3iv},
+ {"glWindowPos3sv", "glWindowPos3svMESA", &weglWindowPos3sv},
+ {"glGenQueries", "glGenQueriesARB", &weglGenQueries},
+ {"glDeleteQueries", "glDeleteQueriesARB", &weglDeleteQueries},
+ {"glIsQuery", "glIsQueryARB", &weglIsQuery},
+ {"glBeginQuery", "glBeginQueryARB", &weglBeginQuery},
+ {"glEndQuery", "glEndQueryARB", &weglEndQuery},
+ {"glGetQueryiv", "glGetQueryivARB", &weglGetQueryiv},
+ {"glGetQueryObjectiv", "glGetQueryObjectivARB", &weglGetQueryObjectiv},
+ {"glGetQueryObjectuiv", "glGetQueryObjectuivARB", &weglGetQueryObjectuiv},
+ {"glBindBuffer", "glBindBufferARB", &weglBindBuffer},
+ {"glDeleteBuffers", "glDeleteBuffersARB", &weglDeleteBuffers},
+ {"glGenBuffers", "glGenBuffersARB", &weglGenBuffers},
+ {"glIsBuffer", "glIsBufferARB", &weglIsBuffer},
+ {"glBufferData", "glBufferDataARB", &weglBufferData},
+ {"glBufferSubData", "glBufferSubDataARB", &weglBufferSubData},
+ {"glGetBufferSubData", "glGetBufferSubDataARB", &weglGetBufferSubData},
+ {"glGetBufferParameteriv", "glGetBufferParameterivARB", &weglGetBufferParameteriv},
+ {"glBlendEquationSeparate", "glBlendEquationSeparateEXT", &weglBlendEquationSeparate},
+ {"glDrawBuffers", "glDrawBuffersARB", &weglDrawBuffers},
+ {"glStencilOpSeparate", "glStencilOpSeparateATI", &weglStencilOpSeparate},
+ {"glStencilFuncSeparate", "glStencilFuncSeparateATI", &weglStencilFuncSeparate},
+ {"glStencilMaskSeparate", NULL, &weglStencilMaskSeparate},
+ {"glAttachShader", NULL, &weglAttachShader},
+ {"glBindAttribLocation", NULL, &weglBindAttribLocation},
+ {"glCompileShader", NULL, &weglCompileShader},
+ {"glCreateProgram", NULL, &weglCreateProgram},
+ {"glCreateShader", NULL, &weglCreateShader},
+ {"glDeleteProgram", NULL, &weglDeleteProgram},
+ {"glDeleteShader", NULL, &weglDeleteShader},
+ {"glDetachShader", NULL, &weglDetachShader},
+ {"glDisableVertexAttribArray", "glDisableVertexAttribArrayARB", &weglDisableVertexAttribArray},
+ {"glEnableVertexAttribArray", "glEnableVertexAttribArrayARB", &weglEnableVertexAttribArray},
+ {"glGetActiveAttrib", NULL, &weglGetActiveAttrib},
+ {"glGetActiveUniform", NULL, &weglGetActiveUniform},
+ {"glGetAttachedShaders", NULL, &weglGetAttachedShaders},
+ {"glGetAttribLocation", NULL, &weglGetAttribLocation},
+ {"glGetProgramiv", "glGetProgramivARB", &weglGetProgramiv},
+ {"glGetProgramInfoLog", NULL, &weglGetProgramInfoLog},
+ {"glGetShaderiv", NULL, &weglGetShaderiv},
+ {"glGetShaderInfoLog", NULL, &weglGetShaderInfoLog},
+ {"glGetShaderSource", NULL, &weglGetShaderSource},
+ {"glGetUniformLocation", NULL, &weglGetUniformLocation},
+ {"glGetUniformfv", NULL, &weglGetUniformfv},
+ {"glGetUniformiv", NULL, &weglGetUniformiv},
+ {"glGetVertexAttribdv", "glGetVertexAttribdvARB", &weglGetVertexAttribdv},
+ {"glGetVertexAttribfv", "glGetVertexAttribfvARB", &weglGetVertexAttribfv},
+ {"glGetVertexAttribiv", "glGetVertexAttribivARB", &weglGetVertexAttribiv},
+ {"glIsProgram", "glIsProgramARB", &weglIsProgram},
+ {"glIsShader", NULL, &weglIsShader},
+ {"glLinkProgram", NULL, &weglLinkProgram},
+ {"glShaderSource", NULL, &weglShaderSource},
+ {"glUseProgram", NULL, &weglUseProgram},
+ {"glUniform1f", "glUniform1fARB", &weglUniform1f},
+ {"glUniform2f", "glUniform2fARB", &weglUniform2f},
+ {"glUniform3f", "glUniform3fARB", &weglUniform3f},
+ {"glUniform4f", "glUniform4fARB", &weglUniform4f},
+ {"glUniform1i", "glUniform1iARB", &weglUniform1i},
+ {"glUniform2i", "glUniform2iARB", &weglUniform2i},
+ {"glUniform3i", "glUniform3iARB", &weglUniform3i},
+ {"glUniform4i", "glUniform4iARB", &weglUniform4i},
+ {"glUniform1fv", "glUniform1fvARB", &weglUniform1fv},
+ {"glUniform2fv", "glUniform2fvARB", &weglUniform2fv},
+ {"glUniform3fv", "glUniform3fvARB", &weglUniform3fv},
+ {"glUniform4fv", "glUniform4fvARB", &weglUniform4fv},
+ {"glUniform1iv", "glUniform1ivARB", &weglUniform1iv},
+ {"glUniform2iv", "glUniform2ivARB", &weglUniform2iv},
+ {"glUniform3iv", "glUniform3ivARB", &weglUniform3iv},
+ {"glUniform4iv", "glUniform4ivARB", &weglUniform4iv},
+ {"glUniformMatrix2fv", "glUniformMatrix2fvARB", &weglUniformMatrix2fv},
+ {"glUniformMatrix3fv", "glUniformMatrix3fvARB", &weglUniformMatrix3fv},
+ {"glUniformMatrix4fv", "glUniformMatrix4fvARB", &weglUniformMatrix4fv},
+ {"glValidateProgram", NULL, &weglValidateProgram},
+ {"glVertexAttrib1dv", "glVertexAttrib1dvARB", &weglVertexAttrib1dv},
+ {"glVertexAttrib1fv", "glVertexAttrib1fvARB", &weglVertexAttrib1fv},
+ {"glVertexAttrib1sv", "glVertexAttrib1svARB", &weglVertexAttrib1sv},
+ {"glVertexAttrib2dv", "glVertexAttrib2dvARB", &weglVertexAttrib2dv},
+ {"glVertexAttrib2fv", "glVertexAttrib2fvARB", &weglVertexAttrib2fv},
+ {"glVertexAttrib2sv", "glVertexAttrib2svARB", &weglVertexAttrib2sv},
+ {"glVertexAttrib3dv", "glVertexAttrib3dvARB", &weglVertexAttrib3dv},
+ {"glVertexAttrib3fv", "glVertexAttrib3fvARB", &weglVertexAttrib3fv},
+ {"glVertexAttrib3sv", "glVertexAttrib3svARB", &weglVertexAttrib3sv},
+ {"glVertexAttrib4Nbv", "glVertexAttrib4NbvARB", &weglVertexAttrib4Nbv},
+ {"glVertexAttrib4Niv", "glVertexAttrib4NivARB", &weglVertexAttrib4Niv},
+ {"glVertexAttrib4Nsv", "glVertexAttrib4NsvARB", &weglVertexAttrib4Nsv},
+ {"glVertexAttrib4Nubv", "glVertexAttrib4NubvARB", &weglVertexAttrib4Nubv},
+ {"glVertexAttrib4Nuiv", "glVertexAttrib4NuivARB", &weglVertexAttrib4Nuiv},
+ {"glVertexAttrib4Nusv", "glVertexAttrib4NusvARB", &weglVertexAttrib4Nusv},
+ {"glVertexAttrib4bv", "glVertexAttrib4bvARB", &weglVertexAttrib4bv},
+ {"glVertexAttrib4dv", "glVertexAttrib4dvARB", &weglVertexAttrib4dv},
+ {"glVertexAttrib4fv", "glVertexAttrib4fvARB", &weglVertexAttrib4fv},
+ {"glVertexAttrib4iv", "glVertexAttrib4ivARB", &weglVertexAttrib4iv},
+ {"glVertexAttrib4sv", "glVertexAttrib4svARB", &weglVertexAttrib4sv},
+ {"glVertexAttrib4ubv", "glVertexAttrib4ubvARB", &weglVertexAttrib4ubv},
+ {"glVertexAttrib4uiv", "glVertexAttrib4uivARB", &weglVertexAttrib4uiv},
+ {"glVertexAttrib4usv", "glVertexAttrib4usvARB", &weglVertexAttrib4usv},
+ {"glVertexAttribPointer", "glVertexAttribPointerARB", &weglVertexAttribPointer},
+ {"glUniformMatrix2x3fv", NULL, &weglUniformMatrix2x3fv},
+ {"glUniformMatrix3x2fv", NULL, &weglUniformMatrix3x2fv},
+ {"glUniformMatrix2x4fv", NULL, &weglUniformMatrix2x4fv},
+ {"glUniformMatrix4x2fv", NULL, &weglUniformMatrix4x2fv},
+ {"glUniformMatrix3x4fv", NULL, &weglUniformMatrix3x4fv},
+ {"glUniformMatrix4x3fv", NULL, &weglUniformMatrix4x3fv},
+ {"glColorMaski", NULL, &weglColorMaski},
+ {"glGetBooleani_v", NULL, &weglGetBooleani_v},
+ {"glGetIntegeri_v", NULL, &weglGetIntegeri_v},
+ {"glEnablei", NULL, &weglEnablei},
+ {"glDisablei", NULL, &weglDisablei},
+ {"glIsEnabledi", NULL, &weglIsEnabledi},
+ {"glBeginTransformFeedback", NULL, &weglBeginTransformFeedback},
+ {"glEndTransformFeedback", NULL, &weglEndTransformFeedback},
+ {"glBindBufferRange", NULL, &weglBindBufferRange},
+ {"glBindBufferBase", NULL, &weglBindBufferBase},
+ {"glTransformFeedbackVaryings", NULL, &weglTransformFeedbackVaryings},
+ {"glGetTransformFeedbackVarying", NULL, &weglGetTransformFeedbackVarying},
+ {"glClampColor", "glClampColorARB", &weglClampColor},
+ {"glBeginConditionalRender", NULL, &weglBeginConditionalRender},
+ {"glEndConditionalRender", NULL, &weglEndConditionalRender},
+ {"glVertexAttribIPointer", NULL, &weglVertexAttribIPointer},
+ {"glGetVertexAttribIiv", NULL, &weglGetVertexAttribIiv},
+ {"glGetVertexAttribIuiv", NULL, &weglGetVertexAttribIuiv},
+ {"glGetUniformuiv", NULL, &weglGetUniformuiv},
+ {"glBindFragDataLocation", NULL, &weglBindFragDataLocation},
+ {"glGetFragDataLocation", NULL, &weglGetFragDataLocation},
+ {"glUniform1ui", NULL, &weglUniform1ui},
+ {"glUniform2ui", NULL, &weglUniform2ui},
+ {"glUniform3ui", NULL, &weglUniform3ui},
+ {"glUniform4ui", NULL, &weglUniform4ui},
+ {"glUniform1uiv", NULL, &weglUniform1uiv},
+ {"glUniform2uiv", NULL, &weglUniform2uiv},
+ {"glUniform3uiv", NULL, &weglUniform3uiv},
+ {"glUniform4uiv", NULL, &weglUniform4uiv},
+ {"glTexParameterIiv", NULL, &weglTexParameterIiv},
+ {"glTexParameterIuiv", NULL, &weglTexParameterIuiv},
+ {"glGetTexParameterIiv", NULL, &weglGetTexParameterIiv},
+ {"glGetTexParameterIuiv", NULL, &weglGetTexParameterIuiv},
+ {"glClearBufferiv", NULL, &weglClearBufferiv},
+ {"glClearBufferuiv", NULL, &weglClearBufferuiv},
+ {"glClearBufferfv", NULL, &weglClearBufferfv},
+ {"glClearBufferfi", NULL, &weglClearBufferfi},
+ {"glGetStringi", NULL, &weglGetStringi},
+ {"glVertexAttribI1iv", NULL, &weglVertexAttribI1iv},
+ {"glVertexAttribI2iv", NULL, &weglVertexAttribI2iv},
+ {"glVertexAttribI3iv", NULL, &weglVertexAttribI3iv},
+ {"glVertexAttribI4iv", NULL, &weglVertexAttribI4iv},
+ {"glVertexAttribI1uiv", NULL, &weglVertexAttribI1uiv},
+ {"glVertexAttribI2uiv", NULL, &weglVertexAttribI2uiv},
+ {"glVertexAttribI3uiv", NULL, &weglVertexAttribI3uiv},
+ {"glVertexAttribI4uiv", NULL, &weglVertexAttribI4uiv},
+ {"glVertexAttribI4bv", NULL, &weglVertexAttribI4bv},
+ {"glVertexAttribI4sv", NULL, &weglVertexAttribI4sv},
+ {"glVertexAttribI4ubv", NULL, &weglVertexAttribI4ubv},
+ {"glVertexAttribI4usv", NULL, &weglVertexAttribI4usv},
+ {"glDrawArraysInstanced", "glDrawArraysInstancedARB", &weglDrawArraysInstanced},
+ {"glDrawElementsInstanced", "glDrawElementsInstancedARB", &weglDrawElementsInstanced},
+ {"glTexBuffer", "glTexBufferARB", &weglTexBuffer},
+ {"glPrimitiveRestartIndex", NULL, &weglPrimitiveRestartIndex},
+ {"glLoadTransposeMatrixfARB", NULL, &weglLoadTransposeMatrixfARB},
+ {"glLoadTransposeMatrixdARB", NULL, &weglLoadTransposeMatrixdARB},
+ {"glMultTransposeMatrixfARB", NULL, &weglMultTransposeMatrixfARB},
+ {"glMultTransposeMatrixdARB", NULL, &weglMultTransposeMatrixdARB},
+ {"glWeightbvARB", NULL, &weglWeightbvARB},
+ {"glWeightsvARB", NULL, &weglWeightsvARB},
+ {"glWeightivARB", NULL, &weglWeightivARB},
+ {"glWeightfvARB", NULL, &weglWeightfvARB},
+ {"glWeightdvARB", NULL, &weglWeightdvARB},
+ {"glWeightubvARB", NULL, &weglWeightubvARB},
+ {"glWeightusvARB", NULL, &weglWeightusvARB},
+ {"glWeightuivARB", NULL, &weglWeightuivARB},
+ {"glVertexBlendARB", NULL, &weglVertexBlendARB},
+ {"glCurrentPaletteMatrixARB", NULL, &weglCurrentPaletteMatrixARB},
+ {"glMatrixIndexubvARB", NULL, &weglMatrixIndexubvARB},
+ {"glMatrixIndexusvARB", NULL, &weglMatrixIndexusvARB},
+ {"glMatrixIndexuivARB", NULL, &weglMatrixIndexuivARB},
+ {"glProgramStringARB", NULL, &weglProgramStringARB},
+ {"glBindProgramARB", NULL, &weglBindProgramARB},
+ {"glDeleteProgramsARB", NULL, &weglDeleteProgramsARB},
+ {"glGenProgramsARB", NULL, &weglGenProgramsARB},
+ {"glProgramEnvParameter4dARB", NULL, &weglProgramEnvParameter4dARB},
+ {"glProgramEnvParameter4dvARB", NULL, &weglProgramEnvParameter4dvARB},
+ {"glProgramEnvParameter4fARB", NULL, &weglProgramEnvParameter4fARB},
+ {"glProgramEnvParameter4fvARB", NULL, &weglProgramEnvParameter4fvARB},
+ {"glProgramLocalParameter4dARB", NULL, &weglProgramLocalParameter4dARB},
+ {"glProgramLocalParameter4dvARB", NULL, &weglProgramLocalParameter4dvARB},
+ {"glProgramLocalParameter4fARB", NULL, &weglProgramLocalParameter4fARB},
+ {"glProgramLocalParameter4fvARB", NULL, &weglProgramLocalParameter4fvARB},
+ {"glGetProgramEnvParameterdvARB", NULL, &weglGetProgramEnvParameterdvARB},
+ {"glGetProgramEnvParameterfvARB", NULL, &weglGetProgramEnvParameterfvARB},
+ {"glGetProgramLocalParameterdvARB", NULL, &weglGetProgramLocalParameterdvARB},
+ {"glGetProgramLocalParameterfvARB", NULL, &weglGetProgramLocalParameterfvARB},
+ {"glGetProgramStringARB", NULL, &weglGetProgramStringARB},
+ {"glDeleteObjectARB", NULL, &weglDeleteObjectARB},
+ {"glGetHandleARB", NULL, &weglGetHandleARB},
+ {"glDetachObjectARB", NULL, &weglDetachObjectARB},
+ {"glCreateShaderObjectARB", NULL, &weglCreateShaderObjectARB},
+ {"glShaderSourceARB", NULL, &weglShaderSourceARB},
+ {"glCompileShaderARB", NULL, &weglCompileShaderARB},
+ {"glCreateProgramObjectARB", NULL, &weglCreateProgramObjectARB},
+ {"glAttachObjectARB", NULL, &weglAttachObjectARB},
+ {"glLinkProgramARB", NULL, &weglLinkProgramARB},
+ {"glUseProgramObjectARB", NULL, &weglUseProgramObjectARB},
+ {"glValidateProgramARB", NULL, &weglValidateProgramARB},
+ {"glGetObjectParameterfvARB", NULL, &weglGetObjectParameterfvARB},
+ {"glGetObjectParameterivARB", NULL, &weglGetObjectParameterivARB},
+ {"glGetInfoLogARB", NULL, &weglGetInfoLogARB},
+ {"glGetAttachedObjectsARB", NULL, &weglGetAttachedObjectsARB},
+ {"glGetUniformLocationARB", NULL, &weglGetUniformLocationARB},
+ {"glGetActiveUniformARB", NULL, &weglGetActiveUniformARB},
+ {"glGetUniformfvARB", NULL, &weglGetUniformfvARB},
+ {"glGetUniformivARB", NULL, &weglGetUniformivARB},
+ {"glGetShaderSourceARB", NULL, &weglGetShaderSourceARB},
+ {"glBindAttribLocationARB", NULL, &weglBindAttribLocationARB},
+ {"glGetActiveAttribARB", NULL, &weglGetActiveAttribARB},
+ {"glGetAttribLocationARB", NULL, &weglGetAttribLocationARB},
+ {"glIsRenderbuffer", "glIsRenderbufferEXT", &weglIsRenderbuffer},
+ {"glBindRenderbuffer", "glBindRenderbufferEXT", &weglBindRenderbuffer},
+ {"glDeleteRenderbuffers", "glDeleteRenderbuffersEXT", &weglDeleteRenderbuffers},
+ {"glGenRenderbuffers", "glGenRenderbuffersEXT", &weglGenRenderbuffers},
+ {"glRenderbufferStorage", "glRenderbufferStorageEXT", &weglRenderbufferStorage},
+ {"glGetRenderbufferParameteriv", "glGetRenderbufferParameterivEXT", &weglGetRenderbufferParameteriv},
+ {"glIsFramebuffer", "glIsFramebufferEXT", &weglIsFramebuffer},
+ {"glBindFramebuffer", "glBindFramebufferEXT", &weglBindFramebuffer},
+ {"glDeleteFramebuffers", "glDeleteFramebuffersEXT", &weglDeleteFramebuffers},
+ {"glGenFramebuffers", "glGenFramebuffersEXT", &weglGenFramebuffers},
+ {"glCheckFramebufferStatus", "glCheckFramebufferStatusEXT", &weglCheckFramebufferStatus},
+ {"glFramebufferTexture1D", "glFramebufferTexture1DEXT", &weglFramebufferTexture1D},
+ {"glFramebufferTexture2D", "glFramebufferTexture2DEXT", &weglFramebufferTexture2D},
+ {"glFramebufferTexture3D", "glFramebufferTexture3DEXT", &weglFramebufferTexture3D},
+ {"glFramebufferRenderbuffer", "glFramebufferRenderbufferEXT", &weglFramebufferRenderbuffer},
+ {"glGetFramebufferAttachmentParameteriv", "glGetFramebufferAttachmentParameterivEXT", &weglGetFramebufferAttachmentParameteriv},
+ {"glGenerateMipmap", "glGenerateMipmapEXT", &weglGenerateMipmap},
+ {"glBlitFramebuffer", "glBlitFramebufferEXT", &weglBlitFramebuffer},
+ {"glRenderbufferStorageMultisample", "glRenderbufferStorageMultisampleEXT", &weglRenderbufferStorageMultisample},
+ {"glFramebufferTextureLayer", "glFramebufferTextureLayerARB", &weglFramebufferTextureLayer},
+ {"glProgramParameteriARB", NULL, &weglProgramParameteriARB},
+ {"glFramebufferTextureARB", NULL, &weglFramebufferTextureARB},
+ {"glFramebufferTextureFaceARB", NULL, &weglFramebufferTextureFaceARB},
+ {"glVertexAttribDivisorARB", NULL, &weglVertexAttribDivisorARB},
+ {"glFlushMappedBufferRange", NULL, &weglFlushMappedBufferRange},
+ {"glBindVertexArray", NULL, &weglBindVertexArray},
+ {"glDeleteVertexArrays", NULL, &weglDeleteVertexArrays},
+ {"glGenVertexArrays", NULL, &weglGenVertexArrays},
+ {"glIsVertexArray", NULL, &weglIsVertexArray},
+ {"glGetUniformIndices", NULL, &weglGetUniformIndices},
+ {"glGetActiveUniformsiv", NULL, &weglGetActiveUniformsiv},
+ {"glGetActiveUniformName", NULL, &weglGetActiveUniformName},
+ {"glGetUniformBlockIndex", NULL, &weglGetUniformBlockIndex},
+ {"glGetActiveUniformBlockiv", NULL, &weglGetActiveUniformBlockiv},
+ {"glGetActiveUniformBlockName", NULL, &weglGetActiveUniformBlockName},
+ {"glUniformBlockBinding", NULL, &weglUniformBlockBinding},
+ {"glCopyBufferSubData", NULL, &weglCopyBufferSubData},
+ {"glResizeBuffersMESA", NULL, &weglResizeBuffersMESA},
+ {"glWindowPos4dvMESA", NULL, &weglWindowPos4dvMESA},
+ {"glWindowPos4fvMESA", NULL, &weglWindowPos4fvMESA},
+ {"glWindowPos4ivMESA", NULL, &weglWindowPos4ivMESA},
+ {"glWindowPos4svMESA", NULL, &weglWindowPos4svMESA},
+ {"glDepthBoundsEXT", NULL, &weglDepthBoundsEXT},
+ {"glStencilClearTagEXT", NULL, &weglStencilClearTagEXT},
+ { NULL, NULL, NULL}};
diff --git a/lib/wx/c_src/gen/gl_funcs.cpp b/lib/wx/c_src/gen/gl_funcs.cpp
new file mode 100644
index 0000000000..784731f02c
--- /dev/null
+++ b/lib/wx/c_src/gen/gl_funcs.cpp
@@ -0,0 +1,5406 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+/***** This file is generated do not edit ****/
+
+#include <stdio.h>
+#include <string.h>
+#include "../wxe_impl.h"
+#include "../wxe_gl.h"
+#include "gl_fdefs.h"
+
+int gl_error_op;
+void gl_dispatch(int op, char *bp,ErlDrvTermData caller,WXEBinRef *bins[]){
+ gl_error_op = op;
+ if(caller != gl_active) {
+ wxGLCanvas * current = glc[caller];
+ if(current) { gl_active = caller; current->SetCurrent();}
+ else {
+ ErlDrvTermData rt[] = // Error msg
+ {ERL_DRV_ATOM, driver_mk_atom((char *) "_wxe_error_"),
+ ERL_DRV_INT, op,
+ ERL_DRV_ATOM, driver_mk_atom((char *) "no_gl_context"),
+ ERL_DRV_TUPLE,3};
+ driver_send_term(WXE_DRV_PORT,caller,rt,8);
+ return ;
+ }
+ };
+
+ switch(op)
+{
+ case 5000:
+ wxe_tess_impl(bp, caller);
+ break;
+ case WXE_BIN_INCR:
+ driver_binary_inc_refc(bins[0]->bin);
+ break;
+ case WXE_BIN_DECR:
+ driver_binary_dec_refc(bins[0]->bin);
+ break;
+case 5010: { // gluBuild1DMipmapLevels
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *internalFormat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *base = (GLint *) bp; bp += 4;
+ GLint *max = (GLint *) bp; bp += 4;
+ void *data = (void *) bins[0]->base;
+ GLint result = wegluBuild1DMipmapLevels(*target,*internalFormat,*width,*format,*type,*level,*base,*max,data);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5011: { // gluBuild1DMipmaps
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *internalFormat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ void *data = (void *) bins[0]->base;
+ GLint result = wegluBuild1DMipmaps(*target,*internalFormat,*width,*format,*type,data);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5012: { // gluBuild2DMipmapLevels
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *internalFormat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *base = (GLint *) bp; bp += 4;
+ GLint *max = (GLint *) bp; bp += 4;
+ void *data = (void *) bins[0]->base;
+ GLint result = wegluBuild2DMipmapLevels(*target,*internalFormat,*width,*height,*format,*type,*level,*base,*max,data);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5013: { // gluBuild2DMipmaps
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *internalFormat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ void *data = (void *) bins[0]->base;
+ GLint result = wegluBuild2DMipmaps(*target,*internalFormat,*width,*height,*format,*type,data);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5014: { // gluBuild3DMipmapLevels
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *internalFormat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *base = (GLint *) bp; bp += 4;
+ GLint *max = (GLint *) bp; bp += 4;
+ void *data = (void *) bins[0]->base;
+ GLint result = wegluBuild3DMipmapLevels(*target,*internalFormat,*width,*height,*depth,*format,*type,*level,*base,*max,data);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5015: { // gluBuild3DMipmaps
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *internalFormat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ void *data = (void *) bins[0]->base;
+ GLint result = wegluBuild3DMipmaps(*target,*internalFormat,*width,*height,*depth,*format,*type,data);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5016: { // gluCheckExtension
+ int * extNameLen = (int *) bp; bp += 4;
+ GLubyte * extName = (GLubyte *) bp; bp += (8-((*extNameLen*1+4)%8))%8;
+ int * extStringLen = (int *) bp; bp += 4;
+ GLubyte * extString = (GLubyte *) bp; bp += (8-((*extStringLen*1+4)%8))%8;
+ GLboolean result = wegluCheckExtension(extName,extString);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5017: { // gluCylinder
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLdouble *base = (GLdouble *) bp; bp += 8;
+ GLdouble *top = (GLdouble *) bp; bp += 8;
+ GLdouble *height = (GLdouble *) bp; bp += 8;
+ GLint *slices = (GLint *) bp; bp += 4;
+ GLint *stacks = (GLint *) bp; bp += 4;
+ wegluCylinder(quad,*base,*top,*height,*slices,*stacks);
+}; break;
+case 5018: { // gluDeleteQuadric
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ wegluDeleteQuadric(quad);
+}; break;
+case 5019: { // gluDisk
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLdouble *inner = (GLdouble *) bp; bp += 8;
+ GLdouble *outer = (GLdouble *) bp; bp += 8;
+ GLint *slices = (GLint *) bp; bp += 4;
+ GLint *loops = (GLint *) bp; bp += 4;
+ wegluDisk(quad,*inner,*outer,*slices,*loops);
+}; break;
+case 5020: { // gluErrorString
+ GLenum *error = (GLenum *) bp; bp += 4;
+ const GLubyte * result = wegluErrorString(*error);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result);
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5021: { // gluGetString
+ GLenum *name = (GLenum *) bp; bp += 4;
+ const GLubyte * result = wegluGetString(*name);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result);
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5022: { // gluLookAt
+ GLdouble *eyeX = (GLdouble *) bp; bp += 8;
+ GLdouble *eyeY = (GLdouble *) bp; bp += 8;
+ GLdouble *eyeZ = (GLdouble *) bp; bp += 8;
+ GLdouble *centerX = (GLdouble *) bp; bp += 8;
+ GLdouble *centerY = (GLdouble *) bp; bp += 8;
+ GLdouble *centerZ = (GLdouble *) bp; bp += 8;
+ GLdouble *upX = (GLdouble *) bp; bp += 8;
+ GLdouble *upY = (GLdouble *) bp; bp += 8;
+ GLdouble *upZ = (GLdouble *) bp; bp += 8;
+ wegluLookAt(*eyeX,*eyeY,*eyeZ,*centerX,*centerY,*centerZ,*upX,*upY,*upZ);
+}; break;
+case 5023: { // gluNewQuadric
+ GLUquadric * result = wegluNewQuadric();
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5024: { // gluOrtho2D
+ GLdouble *left = (GLdouble *) bp; bp += 8;
+ GLdouble *right = (GLdouble *) bp; bp += 8;
+ GLdouble *bottom = (GLdouble *) bp; bp += 8;
+ GLdouble *top = (GLdouble *) bp; bp += 8;
+ wegluOrtho2D(*left,*right,*bottom,*top);
+}; break;
+case 5025: { // gluPartialDisk
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLdouble *inner = (GLdouble *) bp; bp += 8;
+ GLdouble *outer = (GLdouble *) bp; bp += 8;
+ GLint *slices = (GLint *) bp; bp += 4;
+ GLint *loops = (GLint *) bp; bp += 4;
+ GLdouble *start = (GLdouble *) bp; bp += 8;
+ GLdouble *sweep = (GLdouble *) bp; bp += 8;
+ wegluPartialDisk(quad,*inner,*outer,*slices,*loops,*start,*sweep);
+}; break;
+case 5026: { // gluPerspective
+ GLdouble *fovy = (GLdouble *) bp; bp += 8;
+ GLdouble *aspect = (GLdouble *) bp; bp += 8;
+ GLdouble *zNear = (GLdouble *) bp; bp += 8;
+ GLdouble *zFar = (GLdouble *) bp; bp += 8;
+ wegluPerspective(*fovy,*aspect,*zNear,*zFar);
+}; break;
+case 5027: { // gluPickMatrix
+ GLdouble *x = (GLdouble *) bp; bp += 8;
+ GLdouble *y = (GLdouble *) bp; bp += 8;
+ GLdouble *delX = (GLdouble *) bp; bp += 8;
+ GLdouble *delY = (GLdouble *) bp; bp += 8;
+ GLint * viewport = (GLint *) bp; bp += 16;
+ wegluPickMatrix(*x,*y,*delX,*delY,viewport);
+}; break;
+case 5028: { // gluProject
+ GLdouble *objX = (GLdouble *) bp; bp += 8;
+ GLdouble *objY = (GLdouble *) bp; bp += 8;
+ GLdouble *objZ = (GLdouble *) bp; bp += 8;
+ GLdouble * model = (GLdouble *) bp; bp += 128;
+ GLdouble * proj = (GLdouble *) bp; bp += 128;
+ GLint * view = (GLint *) bp; bp += 16;
+ GLdouble winX[1] = {0.0};
+ GLdouble winY[1] = {0.0};
+ GLdouble winZ[1] = {0.0};
+ GLint result = wegluProject(*objX,*objY,*objZ,model,proj,view,winX,winY,winZ);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) winX;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) winY;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) winZ;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5029: { // gluQuadricDrawStyle
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLenum *draw = (GLenum *) bp; bp += 4;
+ wegluQuadricDrawStyle(quad,*draw);
+}; break;
+case 5030: { // gluQuadricNormals
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLenum *normal = (GLenum *) bp; bp += 4;
+ wegluQuadricNormals(quad,*normal);
+}; break;
+case 5031: { // gluQuadricOrientation
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLenum *orientation = (GLenum *) bp; bp += 4;
+ wegluQuadricOrientation(quad,*orientation);
+}; break;
+case 5032: { // gluQuadricTexture
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLboolean *texture = (GLboolean *) bp; bp += 1;
+ wegluQuadricTexture(quad,*texture);
+}; break;
+case 5033: { // gluScaleImage
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *wIn = (GLsizei *) bp; bp += 4;
+ GLsizei *hIn = (GLsizei *) bp; bp += 4;
+ GLenum *typeIn = (GLenum *) bp; bp += 4;
+ void *dataIn = (void *) bins[0]->base;
+ GLsizei *wOut = (GLsizei *) bp; bp += 4;
+ GLsizei *hOut = (GLsizei *) bp; bp += 4;
+ GLenum *typeOut = (GLenum *) bp; bp += 4;
+ GLvoid *dataOut = (GLvoid *) bins[1]->base;
+ GLint result = wegluScaleImage(*format,*wIn,*hIn,*typeIn,dataIn,*wOut,*hOut,*typeOut,dataOut);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5034: { // gluSphere
+ GLUquadric * quad = (GLUquadric *) * (GLuint64EXT *) bp; bp += 8;
+ GLdouble *radius = (GLdouble *) bp; bp += 8;
+ GLint *slices = (GLint *) bp; bp += 4;
+ GLint *stacks = (GLint *) bp; bp += 4;
+ wegluSphere(quad,*radius,*slices,*stacks);
+}; break;
+case 5035: { // gluUnProject
+ GLdouble *winX = (GLdouble *) bp; bp += 8;
+ GLdouble *winY = (GLdouble *) bp; bp += 8;
+ GLdouble *winZ = (GLdouble *) bp; bp += 8;
+ GLdouble * model = (GLdouble *) bp; bp += 128;
+ GLdouble * proj = (GLdouble *) bp; bp += 128;
+ GLint * view = (GLint *) bp; bp += 16;
+ GLdouble objX[1] = {0.0};
+ GLdouble objY[1] = {0.0};
+ GLdouble objZ[1] = {0.0};
+ GLint result = wegluUnProject(*winX,*winY,*winZ,model,proj,view,objX,objY,objZ);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objX;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objY;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objZ;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5036: { // gluUnProject4
+ GLdouble *winX = (GLdouble *) bp; bp += 8;
+ GLdouble *winY = (GLdouble *) bp; bp += 8;
+ GLdouble *winZ = (GLdouble *) bp; bp += 8;
+ GLdouble *clipW = (GLdouble *) bp; bp += 8;
+ GLdouble * model = (GLdouble *) bp; bp += 128;
+ GLdouble * proj = (GLdouble *) bp; bp += 128;
+ GLint * view = (GLint *) bp; bp += 16;
+ GLdouble *nearVal = (GLdouble *) bp; bp += 8;
+ GLdouble *farVal = (GLdouble *) bp; bp += 8;
+ GLdouble objX[1] = {0.0};
+ GLdouble objY[1] = {0.0};
+ GLdouble objZ[1] = {0.0};
+ GLdouble objW[1] = {0.0};
+ GLint result = wegluUnProject4(*winX,*winY,*winZ,*clipW,model,proj,view,*nearVal,*farVal,objX,objY,objZ,objW);
+ int AP = 0; ErlDrvTermData rt[16];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objX;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objY;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objZ;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) objW;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 5;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 16 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,16);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5037: { // glAccum
+ GLenum *op = (GLenum *) bp; bp += 4;
+ GLfloat *value = (GLfloat *) bp; bp += 4;
+ weglAccum(*op,*value);
+}; break;
+case 5038: { // glAlphaFunc
+ GLenum *func = (GLenum *) bp; bp += 4;
+ GLclampf *ref = (GLclampf *) bp; bp += 4;
+ weglAlphaFunc(*func,*ref);
+}; break;
+case 5039: { // glAreTexturesResident
+ int * texturesLen = (int *) bp; bp += 4;
+ GLuint * textures = (GLuint *) bp; bp += (8-((*texturesLen*4+4)%8))%8;
+ GLboolean *residences;
+ residences = (GLboolean *) driver_alloc(sizeof(GLboolean) * *texturesLen);
+ GLboolean result = weglAreTexturesResident(*texturesLen,textures,residences);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(11 + (*texturesLen)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ for(int i=0; i < *texturesLen; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) residences[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*texturesLen)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 11 + (*texturesLen)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,11 + (*texturesLen)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(residences);
+}; break;
+case 5040: { // glArrayElement
+ GLint *i = (GLint *) bp; bp += 4;
+ weglArrayElement(*i);
+}; break;
+case 5041: { // glBegin
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglBegin(*mode);
+}; break;
+case 5042: { // glBindTexture
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ weglBindTexture(*target,*texture);
+}; break;
+case 5043: { // glBitmap
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLfloat *xorig = (GLfloat *) bp; bp += 4;
+ GLfloat *yorig = (GLfloat *) bp; bp += 4;
+ GLfloat *xmove = (GLfloat *) bp; bp += 4;
+ GLfloat *ymove = (GLfloat *) bp; bp += 4;
+ GLubyte *bitmap = (GLubyte *) * (int *) bp; bp += 4;
+ weglBitmap(*width,*height,*xorig,*yorig,*xmove,*ymove,bitmap);
+}; break;
+case 5044: { // glBitmap
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLfloat *xorig = (GLfloat *) bp; bp += 4;
+ GLfloat *yorig = (GLfloat *) bp; bp += 4;
+ GLfloat *xmove = (GLfloat *) bp; bp += 4;
+ GLfloat *ymove = (GLfloat *) bp; bp += 4;
+ GLubyte *bitmap = (GLubyte *) bins[0]->base;
+ weglBitmap(*width,*height,*xorig,*yorig,*xmove,*ymove,bitmap);
+}; break;
+case 5045: { // glBlendFunc
+ GLenum *sfactor = (GLenum *) bp; bp += 4;
+ GLenum *dfactor = (GLenum *) bp; bp += 4;
+ weglBlendFunc(*sfactor,*dfactor);
+}; break;
+case 5046: { // glCallList
+ GLuint *list = (GLuint *) bp; bp += 4;
+ weglCallList(*list);
+}; break;
+case 5047: { // glCallLists
+ int * listsLen = (int *) bp; bp += 4;
+ GLuint * lists = (GLuint *) bp; bp += (8-((*listsLen*4+4)%8))%8;
+ weglCallLists(*listsLen,GL_UNSIGNED_INT,lists);
+}; break;
+case 5048: { // glClear
+ GLbitfield *mask = (GLbitfield *) bp; bp += 4;
+ weglClear(*mask);
+}; break;
+case 5049: { // glClearAccum
+ GLfloat *red = (GLfloat *) bp; bp += 4;
+ GLfloat *green = (GLfloat *) bp; bp += 4;
+ GLfloat *blue = (GLfloat *) bp; bp += 4;
+ GLfloat *alpha = (GLfloat *) bp; bp += 4;
+ weglClearAccum(*red,*green,*blue,*alpha);
+}; break;
+case 5050: { // glClearColor
+ GLclampf *red = (GLclampf *) bp; bp += 4;
+ GLclampf *green = (GLclampf *) bp; bp += 4;
+ GLclampf *blue = (GLclampf *) bp; bp += 4;
+ GLclampf *alpha = (GLclampf *) bp; bp += 4;
+ weglClearColor(*red,*green,*blue,*alpha);
+}; break;
+case 5051: { // glClearDepth
+ GLclampd *depth = (GLclampd *) bp; bp += 8;
+ weglClearDepth(*depth);
+}; break;
+case 5052: { // glClearIndex
+ GLfloat *c = (GLfloat *) bp; bp += 4;
+ weglClearIndex(*c);
+}; break;
+case 5053: { // glClearStencil
+ GLint *s = (GLint *) bp; bp += 4;
+ weglClearStencil(*s);
+}; break;
+case 5054: { // glClipPlane
+ GLenum *plane = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLdouble * equation = (GLdouble *) bp; bp += 32;
+ weglClipPlane(*plane,equation);
+}; break;
+case 5055: { // glColor3bv
+ GLbyte *v = (GLbyte *) bp; bp += 1;
+ weglColor3bv(v);
+}; break;
+case 5056: { // glColor3dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglColor3dv(v);
+}; break;
+case 5057: { // glColor3fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglColor3fv(v);
+}; break;
+case 5058: { // glColor3iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglColor3iv(v);
+}; break;
+case 5059: { // glColor3sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglColor3sv(v);
+}; break;
+case 5060: { // glColor3ubv
+ GLubyte *v = (GLubyte *) bp; bp += 1;
+ weglColor3ubv(v);
+}; break;
+case 5061: { // glColor3uiv
+ GLuint *v = (GLuint *) bp; bp += 4;
+ weglColor3uiv(v);
+}; break;
+case 5062: { // glColor3usv
+ GLushort *v = (GLushort *) bp; bp += 2;
+ weglColor3usv(v);
+}; break;
+case 5063: { // glColor4bv
+ GLbyte *v = (GLbyte *) bp; bp += 1;
+ weglColor4bv(v);
+}; break;
+case 5064: { // glColor4dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglColor4dv(v);
+}; break;
+case 5065: { // glColor4fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglColor4fv(v);
+}; break;
+case 5066: { // glColor4iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglColor4iv(v);
+}; break;
+case 5067: { // glColor4sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglColor4sv(v);
+}; break;
+case 5068: { // glColor4ubv
+ GLubyte *v = (GLubyte *) bp; bp += 1;
+ weglColor4ubv(v);
+}; break;
+case 5069: { // glColor4uiv
+ GLuint *v = (GLuint *) bp; bp += 4;
+ weglColor4uiv(v);
+}; break;
+case 5070: { // glColor4usv
+ GLushort *v = (GLushort *) bp; bp += 2;
+ weglColor4usv(v);
+}; break;
+case 5071: { // glColorMask
+ GLboolean *red = (GLboolean *) bp; bp += 1;
+ GLboolean *green = (GLboolean *) bp; bp += 1;
+ GLboolean *blue = (GLboolean *) bp; bp += 1;
+ GLboolean *alpha = (GLboolean *) bp; bp += 1;
+ weglColorMask(*red,*green,*blue,*alpha);
+}; break;
+case 5072: { // glColorMaterial
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglColorMaterial(*face,*mode);
+}; break;
+case 5073: { // glColorPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglColorPointer(*size,*type,*stride,pointer);
+}; break;
+case 5074: { // glColorPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglColorPointer(*size,*type,*stride,pointer);
+}; break;
+case 5075: { // glCopyPixels
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ weglCopyPixels(*x,*y,*width,*height,*type);
+}; break;
+case 5076: { // glCopyTexImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalFormat = (GLenum *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ weglCopyTexImage1D(*target,*level,*internalFormat,*x,*y,*width,*border);
+}; break;
+case 5077: { // glCopyTexImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalFormat = (GLenum *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ weglCopyTexImage2D(*target,*level,*internalFormat,*x,*y,*width,*height,*border);
+}; break;
+case 5078: { // glCopyTexSubImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ weglCopyTexSubImage1D(*target,*level,*xoffset,*x,*y,*width);
+}; break;
+case 5079: { // glCopyTexSubImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ weglCopyTexSubImage2D(*target,*level,*xoffset,*yoffset,*x,*y,*width,*height);
+}; break;
+case 5080: { // glCullFace
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglCullFace(*mode);
+}; break;
+case 5081: { // glDeleteLists
+ GLuint *list = (GLuint *) bp; bp += 4;
+ GLsizei *range = (GLsizei *) bp; bp += 4;
+ weglDeleteLists(*list,*range);
+}; break;
+case 5082: { // glDeleteTextures
+ int * texturesLen = (int *) bp; bp += 4;
+ GLuint * textures = (GLuint *) bp; bp += (8-((*texturesLen*4+4)%8))%8;
+ weglDeleteTextures(*texturesLen,textures);
+}; break;
+case 5083: { // glDepthFunc
+ GLenum *func = (GLenum *) bp; bp += 4;
+ weglDepthFunc(*func);
+}; break;
+case 5084: { // glDepthMask
+ GLboolean *flag = (GLboolean *) bp; bp += 1;
+ weglDepthMask(*flag);
+}; break;
+case 5085: { // glDepthRange
+ GLclampd *zNear = (GLclampd *) bp; bp += 8;
+ GLclampd *zFar = (GLclampd *) bp; bp += 8;
+ weglDepthRange(*zNear,*zFar);
+}; break;
+case 5086: { // glDisable
+ GLenum *cap = (GLenum *) bp; bp += 4;
+ weglDisable(*cap);
+}; break;
+case 5087: { // glDisableClientState
+ GLenum *array = (GLenum *) bp; bp += 4;
+ weglDisableClientState(*array);
+}; break;
+case 5088: { // glDrawArrays
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLint *first = (GLint *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ weglDrawArrays(*mode,*first,*count);
+}; break;
+case 5089: { // glDrawBuffer
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglDrawBuffer(*mode);
+}; break;
+case 5090: { // glDrawElements
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4;
+ weglDrawElements(*mode,*count,*type,indices);
+}; break;
+case 5091: { // glDrawElements
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *indices = (GLvoid *) bins[0]->base;
+ weglDrawElements(*mode,*count,*type,indices);
+}; break;
+case 5092: { // glDrawPixels
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4;
+ weglDrawPixels(*width,*height,*format,*type,pixels);
+}; break;
+case 5093: { // glDrawPixels
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglDrawPixels(*width,*height,*format,*type,pixels);
+}; break;
+case 5094: { // glEdgeFlagv
+ GLboolean *flag = (GLboolean *) bp; bp += 1;
+ weglEdgeFlagv(flag);
+}; break;
+case 5095: { // glEdgeFlagPointer
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglEdgeFlagPointer(*stride,pointer);
+}; break;
+case 5096: { // glEdgeFlagPointer
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglEdgeFlagPointer(*stride,pointer);
+}; break;
+case 5097: { // glEnable
+ GLenum *cap = (GLenum *) bp; bp += 4;
+ weglEnable(*cap);
+}; break;
+case 5098: { // glEnableClientState
+ GLenum *array = (GLenum *) bp; bp += 4;
+ weglEnableClientState(*array);
+}; break;
+case 5099: { // glEnd
+ weglEnd();
+}; break;
+case 5100: { // glEndList
+ weglEndList();
+}; break;
+case 5101: { // glEvalCoord1dv
+ GLdouble *u = (GLdouble *) bp; bp += 8;
+ weglEvalCoord1dv(u);
+}; break;
+case 5102: { // glEvalCoord1fv
+ GLfloat *u = (GLfloat *) bp; bp += 4;
+ weglEvalCoord1fv(u);
+}; break;
+case 5103: { // glEvalCoord2dv
+ GLdouble *u = (GLdouble *) bp; bp += 8;
+ weglEvalCoord2dv(u);
+}; break;
+case 5104: { // glEvalCoord2fv
+ GLfloat *u = (GLfloat *) bp; bp += 4;
+ weglEvalCoord2fv(u);
+}; break;
+case 5105: { // glEvalMesh1
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLint *i1 = (GLint *) bp; bp += 4;
+ GLint *i2 = (GLint *) bp; bp += 4;
+ weglEvalMesh1(*mode,*i1,*i2);
+}; break;
+case 5106: { // glEvalMesh2
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLint *i1 = (GLint *) bp; bp += 4;
+ GLint *i2 = (GLint *) bp; bp += 4;
+ GLint *j1 = (GLint *) bp; bp += 4;
+ GLint *j2 = (GLint *) bp; bp += 4;
+ weglEvalMesh2(*mode,*i1,*i2,*j1,*j2);
+}; break;
+case 5107: { // glEvalPoint1
+ GLint *i = (GLint *) bp; bp += 4;
+ weglEvalPoint1(*i);
+}; break;
+case 5108: { // glEvalPoint2
+ GLint *i = (GLint *) bp; bp += 4;
+ GLint *j = (GLint *) bp; bp += 4;
+ weglEvalPoint2(*i,*j);
+}; break;
+case 5109: { // glFeedbackBuffer
+ GLsizei *size = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLfloat *buffer = (GLfloat *) bins[0]->base;
+ weglFeedbackBuffer(*size,*type,buffer);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5110: { // glFinish
+ weglFinish();
+}; break;
+case 5111: { // glFlush
+ weglFlush();
+}; break;
+case 5112: { // glFogf
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglFogf(*pname,*param);
+}; break;
+case 5113: { // glFogfv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4;
+ weglFogfv(*pname,params);
+}; break;
+case 5114: { // glFogi
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglFogi(*pname,*param);
+}; break;
+case 5115: { // glFogiv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4;
+ weglFogiv(*pname,params);
+}; break;
+case 5116: { // glFrontFace
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglFrontFace(*mode);
+}; break;
+case 5117: { // glFrustum
+ GLdouble *left = (GLdouble *) bp; bp += 8;
+ GLdouble *right = (GLdouble *) bp; bp += 8;
+ GLdouble *bottom = (GLdouble *) bp; bp += 8;
+ GLdouble *top = (GLdouble *) bp; bp += 8;
+ GLdouble *zNear = (GLdouble *) bp; bp += 8;
+ GLdouble *zFar = (GLdouble *) bp; bp += 8;
+ weglFrustum(*left,*right,*bottom,*top,*zNear,*zFar);
+}; break;
+case 5118: { // glGenLists
+ GLsizei *range = (GLsizei *) bp; bp += 4;
+ GLuint result = weglGenLists(*range);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5119: { // glGenTextures
+ GLsizei *n = (GLsizei *) bp; bp += 4;
+ GLuint *textures;
+ textures = (GLuint *) driver_alloc(sizeof(GLuint) * *n);
+ weglGenTextures(*n,textures);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *n; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) textures[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(textures);
+}; break;
+case 5120: { // glGetBooleanv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLboolean params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+ weglGetBooleanv(*pname,params);
+ int AP = 0; ErlDrvTermData rt[39];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLboolean *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5121: { // glGetClipPlane
+ GLenum *plane = (GLenum *) bp; bp += 4;
+ GLdouble equation[4] = {0.0,0.0,0.0,0.0};
+ weglGetClipPlane(*plane,equation);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble *equationTmp = equation;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) equationTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) equationTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) equationTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) equationTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5122: { // glGetDoublev
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLdouble params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0};
+ weglGetDoublev(*pname,params);
+ int AP = 0; ErlDrvTermData rt[39];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble *paramsTmp = params;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5123: { // glGetError
+ GLenum result = weglGetError();
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5124: { // glGetFloatv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0};
+ weglGetFloatv(*pname,params);
+ int AP = 0; ErlDrvTermData rt[39];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[16], *paramsTmp = paramsConv;
+ for(int i=0; i < 16; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5125: { // glGetIntegerv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+ weglGetIntegerv(*pname,params);
+ int AP = 0; ErlDrvTermData rt[39];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5126: { // glGetLightfv
+ GLenum *light = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetLightfv(*light,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5127: { // glGetLightiv
+ GLenum *light = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetLightiv(*light,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5128: { // glGetMapdv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *query = (GLenum *) bp; bp += 4;
+ GLdouble *v = (GLdouble *) bins[0]->base;
+ weglGetMapdv(*target,*query,v);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5129: { // glGetMapfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *query = (GLenum *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bins[0]->base;
+ weglGetMapfv(*target,*query,v);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5130: { // glGetMapiv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *query = (GLenum *) bp; bp += 4;
+ GLint *v = (GLint *) bins[0]->base;
+ weglGetMapiv(*target,*query,v);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5131: { // glGetMaterialfv
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetMaterialfv(*face,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5132: { // glGetMaterialiv
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetMaterialiv(*face,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5133: { // glGetPixelMapfv
+ GLenum *map = (GLenum *) bp; bp += 4;
+ GLfloat *values = (GLfloat *) bins[0]->base;
+ weglGetPixelMapfv(*map,values);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5134: { // glGetPixelMapuiv
+ GLenum *map = (GLenum *) bp; bp += 4;
+ GLuint *values = (GLuint *) bins[0]->base;
+ weglGetPixelMapuiv(*map,values);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5135: { // glGetPixelMapusv
+ GLenum *map = (GLenum *) bp; bp += 4;
+ GLushort *values = (GLushort *) bins[0]->base;
+ weglGetPixelMapusv(*map,values);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5136: { // glGetPolygonStipple
+ GLubyte mask[128];
+ weglGetPolygonStipple(mask);
+ int AP = 0; ErlDrvTermData rt[8];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ ErlDrvBinary * BinCopy = driver_alloc_binary(128);
+ memcpy(BinCopy->orig_bytes, mask, 128);
+ rt[AP++] = ERL_DRV_BINARY; rt[AP++] = (ErlDrvTermData) BinCopy; rt[AP++] = 128; rt[AP++] = 0;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free_binary(BinCopy);
+}; break;
+case 5137: { // glGetString
+ GLenum *name = (GLenum *) bp; bp += 4;
+ const GLubyte * result = weglGetString(*name);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result);
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5138: { // glGetTexEnvfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetTexEnvfv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5139: { // glGetTexEnviv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetTexEnviv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5140: { // glGetTexGendv
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLdouble params[4] = {0.0,0.0,0.0,0.0};
+ weglGetTexGendv(*coord,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble *paramsTmp = params;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5141: { // glGetTexGenfv
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetTexGenfv(*coord,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5142: { // glGetTexGeniv
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetTexGeniv(*coord,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5143: { // glGetTexImage
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglGetTexImage(*target,*level,*format,*type,pixels);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5144: { // glGetTexLevelParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[1] = {0.0};
+ weglGetTexLevelParameterfv(*target,*level,*pname,params);
+ int AP = 0; ErlDrvTermData rt[8];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[1], *paramsTmp = paramsConv;
+ for(int i=0; i < 1; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5145: { // glGetTexLevelParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetTexLevelParameteriv(*target,*level,*pname,params);
+ int AP = 0; ErlDrvTermData rt[8];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5146: { // glGetTexParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetTexParameterfv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5147: { // glGetTexParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetTexParameteriv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5148: { // glHint
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglHint(*target,*mode);
+}; break;
+case 5149: { // glIndexMask
+ GLuint *mask = (GLuint *) bp; bp += 4;
+ weglIndexMask(*mask);
+}; break;
+case 5150: { // glIndexPointer
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglIndexPointer(*type,*stride,pointer);
+}; break;
+case 5151: { // glIndexPointer
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglIndexPointer(*type,*stride,pointer);
+}; break;
+case 5152: { // glIndexdv
+ GLdouble *c = (GLdouble *) bp; bp += 8;
+ weglIndexdv(c);
+}; break;
+case 5153: { // glIndexfv
+ GLfloat *c = (GLfloat *) bp; bp += 4;
+ weglIndexfv(c);
+}; break;
+case 5154: { // glIndexiv
+ GLint *c = (GLint *) bp; bp += 4;
+ weglIndexiv(c);
+}; break;
+case 5155: { // glIndexsv
+ GLshort *c = (GLshort *) bp; bp += 2;
+ weglIndexsv(c);
+}; break;
+case 5156: { // glIndexubv
+ GLubyte *c = (GLubyte *) bp; bp += 1;
+ weglIndexubv(c);
+}; break;
+case 5157: { // glInitNames
+ weglInitNames();
+}; break;
+case 5158: { // glInterleavedArrays
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglInterleavedArrays(*format,*stride,pointer);
+}; break;
+case 5159: { // glInterleavedArrays
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglInterleavedArrays(*format,*stride,pointer);
+}; break;
+case 5160: { // glIsEnabled
+ GLenum *cap = (GLenum *) bp; bp += 4;
+ GLboolean result = weglIsEnabled(*cap);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5161: { // glIsList
+ GLuint *list = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsList(*list);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5162: { // glIsTexture
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsTexture(*texture);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5163: { // glLightModelf
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglLightModelf(*pname,*param);
+}; break;
+case 5164: { // glLightModelfv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4;
+ weglLightModelfv(*pname,params);
+}; break;
+case 5165: { // glLightModeli
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglLightModeli(*pname,*param);
+}; break;
+case 5166: { // glLightModeliv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4;
+ weglLightModeliv(*pname,params);
+}; break;
+case 5167: { // glLightf
+ GLenum *light = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglLightf(*light,*pname,*param);
+}; break;
+case 5168: { // glLightfv
+ GLenum *light = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglLightfv(*light,*pname,params);
+}; break;
+case 5169: { // glLighti
+ GLenum *light = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglLighti(*light,*pname,*param);
+}; break;
+case 5170: { // glLightiv
+ GLenum *light = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglLightiv(*light,*pname,params);
+}; break;
+case 5171: { // glLineStipple
+ GLint *factor = (GLint *) bp; bp += 4;
+ GLushort *pattern = (GLushort *) bp; bp += 2;
+ weglLineStipple(*factor,*pattern);
+}; break;
+case 5172: { // glLineWidth
+ GLfloat *width = (GLfloat *) bp; bp += 4;
+ weglLineWidth(*width);
+}; break;
+case 5173: { // glListBase
+ GLuint *base = (GLuint *) bp; bp += 4;
+ weglListBase(*base);
+}; break;
+case 5174: { // glLoadIdentity
+ weglLoadIdentity();
+}; break;
+case 5175: { // glLoadMatrixd
+ GLdouble * m = (GLdouble *) bp; bp += 128;
+ weglLoadMatrixd(m);
+}; break;
+case 5176: { // glLoadMatrixf
+ GLfloat * m = (GLfloat *) bp; bp += 64;
+ weglLoadMatrixf(m);
+}; break;
+case 5177: { // glLoadName
+ GLuint *name = (GLuint *) bp; bp += 4;
+ weglLoadName(*name);
+}; break;
+case 5178: { // glLogicOp
+ GLenum *opcode = (GLenum *) bp; bp += 4;
+ weglLogicOp(*opcode);
+}; break;
+case 5179: { // glMap1d
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLdouble *u1 = (GLdouble *) bp; bp += 8;
+ GLdouble *u2 = (GLdouble *) bp; bp += 8;
+ GLint *stride = (GLint *) bp; bp += 4;
+ GLint *order = (GLint *) bp; bp += 4;
+ GLdouble *points = (GLdouble *) bins[0]->base;
+ weglMap1d(*target,*u1,*u2,*stride,*order,points);
+}; break;
+case 5180: { // glMap1f
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLfloat *u1 = (GLfloat *) bp; bp += 4;
+ GLfloat *u2 = (GLfloat *) bp; bp += 4;
+ GLint *stride = (GLint *) bp; bp += 4;
+ GLint *order = (GLint *) bp; bp += 4;
+ GLfloat *points = (GLfloat *) bins[0]->base;
+ weglMap1f(*target,*u1,*u2,*stride,*order,points);
+}; break;
+case 5181: { // glMap2d
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLdouble *u1 = (GLdouble *) bp; bp += 8;
+ GLdouble *u2 = (GLdouble *) bp; bp += 8;
+ GLint *ustride = (GLint *) bp; bp += 4;
+ GLint *uorder = (GLint *) bp; bp += 4;
+ GLdouble *v1 = (GLdouble *) bp; bp += 8;
+ GLdouble *v2 = (GLdouble *) bp; bp += 8;
+ GLint *vstride = (GLint *) bp; bp += 4;
+ GLint *vorder = (GLint *) bp; bp += 4;
+ GLdouble *points = (GLdouble *) bins[0]->base;
+ weglMap2d(*target,*u1,*u2,*ustride,*uorder,*v1,*v2,*vstride,*vorder,points);
+}; break;
+case 5182: { // glMap2f
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLfloat *u1 = (GLfloat *) bp; bp += 4;
+ GLfloat *u2 = (GLfloat *) bp; bp += 4;
+ GLint *ustride = (GLint *) bp; bp += 4;
+ GLint *uorder = (GLint *) bp; bp += 4;
+ GLfloat *v1 = (GLfloat *) bp; bp += 4;
+ GLfloat *v2 = (GLfloat *) bp; bp += 4;
+ GLint *vstride = (GLint *) bp; bp += 4;
+ GLint *vorder = (GLint *) bp; bp += 4;
+ GLfloat *points = (GLfloat *) bins[0]->base;
+ weglMap2f(*target,*u1,*u2,*ustride,*uorder,*v1,*v2,*vstride,*vorder,points);
+}; break;
+case 5183: { // glMapGrid1d
+ GLint *un = (GLint *) bp; bp += 4;
+ bp += 4;
+ GLdouble *u1 = (GLdouble *) bp; bp += 8;
+ GLdouble *u2 = (GLdouble *) bp; bp += 8;
+ weglMapGrid1d(*un,*u1,*u2);
+}; break;
+case 5184: { // glMapGrid1f
+ GLint *un = (GLint *) bp; bp += 4;
+ GLfloat *u1 = (GLfloat *) bp; bp += 4;
+ GLfloat *u2 = (GLfloat *) bp; bp += 4;
+ weglMapGrid1f(*un,*u1,*u2);
+}; break;
+case 5185: { // glMapGrid2d
+ GLint *un = (GLint *) bp; bp += 4;
+ bp += 4;
+ GLdouble *u1 = (GLdouble *) bp; bp += 8;
+ GLdouble *u2 = (GLdouble *) bp; bp += 8;
+ GLint *vn = (GLint *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v1 = (GLdouble *) bp; bp += 8;
+ GLdouble *v2 = (GLdouble *) bp; bp += 8;
+ weglMapGrid2d(*un,*u1,*u2,*vn,*v1,*v2);
+}; break;
+case 5186: { // glMapGrid2f
+ GLint *un = (GLint *) bp; bp += 4;
+ GLfloat *u1 = (GLfloat *) bp; bp += 4;
+ GLfloat *u2 = (GLfloat *) bp; bp += 4;
+ GLint *vn = (GLint *) bp; bp += 4;
+ GLfloat *v1 = (GLfloat *) bp; bp += 4;
+ GLfloat *v2 = (GLfloat *) bp; bp += 4;
+ weglMapGrid2f(*un,*u1,*u2,*vn,*v1,*v2);
+}; break;
+case 5187: { // glMaterialf
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglMaterialf(*face,*pname,*param);
+}; break;
+case 5188: { // glMaterialfv
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglMaterialfv(*face,*pname,params);
+}; break;
+case 5189: { // glMateriali
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglMateriali(*face,*pname,*param);
+}; break;
+case 5190: { // glMaterialiv
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglMaterialiv(*face,*pname,params);
+}; break;
+case 5191: { // glMatrixMode
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglMatrixMode(*mode);
+}; break;
+case 5192: { // glMultMatrixd
+ GLdouble * m = (GLdouble *) bp; bp += 128;
+ weglMultMatrixd(m);
+}; break;
+case 5193: { // glMultMatrixf
+ GLfloat * m = (GLfloat *) bp; bp += 64;
+ weglMultMatrixf(m);
+}; break;
+case 5194: { // glNewList
+ GLuint *list = (GLuint *) bp; bp += 4;
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglNewList(*list,*mode);
+}; break;
+case 5195: { // glNormal3bv
+ GLbyte *v = (GLbyte *) bp; bp += 1;
+ weglNormal3bv(v);
+}; break;
+case 5196: { // glNormal3dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglNormal3dv(v);
+}; break;
+case 5197: { // glNormal3fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglNormal3fv(v);
+}; break;
+case 5198: { // glNormal3iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglNormal3iv(v);
+}; break;
+case 5199: { // glNormal3sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglNormal3sv(v);
+}; break;
+case 5200: { // glNormalPointer
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglNormalPointer(*type,*stride,pointer);
+}; break;
+case 5201: { // glNormalPointer
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglNormalPointer(*type,*stride,pointer);
+}; break;
+case 5202: { // glOrtho
+ GLdouble *left = (GLdouble *) bp; bp += 8;
+ GLdouble *right = (GLdouble *) bp; bp += 8;
+ GLdouble *bottom = (GLdouble *) bp; bp += 8;
+ GLdouble *top = (GLdouble *) bp; bp += 8;
+ GLdouble *zNear = (GLdouble *) bp; bp += 8;
+ GLdouble *zFar = (GLdouble *) bp; bp += 8;
+ weglOrtho(*left,*right,*bottom,*top,*zNear,*zFar);
+}; break;
+case 5203: { // glPassThrough
+ GLfloat *token = (GLfloat *) bp; bp += 4;
+ weglPassThrough(*token);
+}; break;
+case 5204: { // glPixelMapfv
+ GLenum *map = (GLenum *) bp; bp += 4;
+ GLsizei *mapsize = (GLsizei *) bp; bp += 4;
+ GLfloat *values = (GLfloat *) bins[0]->base;
+ weglPixelMapfv(*map,*mapsize,values);
+}; break;
+case 5205: { // glPixelMapuiv
+ GLenum *map = (GLenum *) bp; bp += 4;
+ GLsizei *mapsize = (GLsizei *) bp; bp += 4;
+ GLuint *values = (GLuint *) bins[0]->base;
+ weglPixelMapuiv(*map,*mapsize,values);
+}; break;
+case 5206: { // glPixelMapusv
+ GLenum *map = (GLenum *) bp; bp += 4;
+ GLsizei *mapsize = (GLsizei *) bp; bp += 4;
+ GLushort *values = (GLushort *) bins[0]->base;
+ weglPixelMapusv(*map,*mapsize,values);
+}; break;
+case 5207: { // glPixelStoref
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglPixelStoref(*pname,*param);
+}; break;
+case 5208: { // glPixelStorei
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglPixelStorei(*pname,*param);
+}; break;
+case 5209: { // glPixelTransferf
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglPixelTransferf(*pname,*param);
+}; break;
+case 5210: { // glPixelTransferi
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglPixelTransferi(*pname,*param);
+}; break;
+case 5211: { // glPixelZoom
+ GLfloat *xfactor = (GLfloat *) bp; bp += 4;
+ GLfloat *yfactor = (GLfloat *) bp; bp += 4;
+ weglPixelZoom(*xfactor,*yfactor);
+}; break;
+case 5212: { // glPointSize
+ GLfloat *size = (GLfloat *) bp; bp += 4;
+ weglPointSize(*size);
+}; break;
+case 5213: { // glPolygonMode
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglPolygonMode(*face,*mode);
+}; break;
+case 5214: { // glPolygonOffset
+ GLfloat *factor = (GLfloat *) bp; bp += 4;
+ GLfloat *units = (GLfloat *) bp; bp += 4;
+ weglPolygonOffset(*factor,*units);
+}; break;
+case 5215: { // glPolygonStipple
+ GLubyte *mask = (GLubyte *) bins[0]->base;
+ weglPolygonStipple(mask);
+}; break;
+case 5216: { // glPopAttrib
+ weglPopAttrib();
+}; break;
+case 5217: { // glPopClientAttrib
+ weglPopClientAttrib();
+}; break;
+case 5218: { // glPopMatrix
+ weglPopMatrix();
+}; break;
+case 5219: { // glPopName
+ weglPopName();
+}; break;
+case 5220: { // glPrioritizeTextures
+ int * texturesLen = (int *) bp; bp += 4;
+ GLuint * textures = (GLuint *) bp; bp += (8-((*texturesLen*4+4)%8))%8;
+ int * prioritiesLen = (int *) bp; bp += 4;
+ GLclampf * priorities = (GLclampf *) bp; bp += (8-((*prioritiesLen*4+4)%8))%8;
+ weglPrioritizeTextures(*texturesLen,textures,priorities);
+}; break;
+case 5221: { // glPushAttrib
+ GLbitfield *mask = (GLbitfield *) bp; bp += 4;
+ weglPushAttrib(*mask);
+}; break;
+case 5222: { // glPushClientAttrib
+ GLbitfield *mask = (GLbitfield *) bp; bp += 4;
+ weglPushClientAttrib(*mask);
+}; break;
+case 5223: { // glPushMatrix
+ weglPushMatrix();
+}; break;
+case 5224: { // glPushName
+ GLuint *name = (GLuint *) bp; bp += 4;
+ weglPushName(*name);
+}; break;
+case 5225: { // glRasterPos2dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglRasterPos2dv(v);
+}; break;
+case 5226: { // glRasterPos2fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglRasterPos2fv(v);
+}; break;
+case 5227: { // glRasterPos2iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglRasterPos2iv(v);
+}; break;
+case 5228: { // glRasterPos2sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglRasterPos2sv(v);
+}; break;
+case 5229: { // glRasterPos3dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglRasterPos3dv(v);
+}; break;
+case 5230: { // glRasterPos3fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglRasterPos3fv(v);
+}; break;
+case 5231: { // glRasterPos3iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglRasterPos3iv(v);
+}; break;
+case 5232: { // glRasterPos3sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglRasterPos3sv(v);
+}; break;
+case 5233: { // glRasterPos4dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglRasterPos4dv(v);
+}; break;
+case 5234: { // glRasterPos4fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglRasterPos4fv(v);
+}; break;
+case 5235: { // glRasterPos4iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglRasterPos4iv(v);
+}; break;
+case 5236: { // glRasterPos4sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglRasterPos4sv(v);
+}; break;
+case 5237: { // glReadBuffer
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglReadBuffer(*mode);
+}; break;
+case 5238: { // glReadPixels
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglReadPixels(*x,*y,*width,*height,*format,*type,pixels);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5239: { // glRectd
+ GLdouble *x1 = (GLdouble *) bp; bp += 8;
+ GLdouble *y1 = (GLdouble *) bp; bp += 8;
+ GLdouble *x2 = (GLdouble *) bp; bp += 8;
+ GLdouble *y2 = (GLdouble *) bp; bp += 8;
+ weglRectd(*x1,*y1,*x2,*y2);
+}; break;
+case 5240: { // glRectdv
+ GLdouble * v1 = (GLdouble *) bp; bp += 16;
+ GLdouble * v2 = (GLdouble *) bp; bp += 16;
+ weglRectdv(v1,v2);
+}; break;
+case 5241: { // glRectf
+ GLfloat *x1 = (GLfloat *) bp; bp += 4;
+ GLfloat *y1 = (GLfloat *) bp; bp += 4;
+ GLfloat *x2 = (GLfloat *) bp; bp += 4;
+ GLfloat *y2 = (GLfloat *) bp; bp += 4;
+ weglRectf(*x1,*y1,*x2,*y2);
+}; break;
+case 5242: { // glRectfv
+ GLfloat * v1 = (GLfloat *) bp; bp += 8;
+ GLfloat * v2 = (GLfloat *) bp; bp += 8;
+ weglRectfv(v1,v2);
+}; break;
+case 5243: { // glRecti
+ GLint *x1 = (GLint *) bp; bp += 4;
+ GLint *y1 = (GLint *) bp; bp += 4;
+ GLint *x2 = (GLint *) bp; bp += 4;
+ GLint *y2 = (GLint *) bp; bp += 4;
+ weglRecti(*x1,*y1,*x2,*y2);
+}; break;
+case 5244: { // glRectiv
+ GLint * v1 = (GLint *) bp; bp += 8;
+ GLint * v2 = (GLint *) bp; bp += 8;
+ weglRectiv(v1,v2);
+}; break;
+case 5245: { // glRects
+ GLshort *x1 = (GLshort *) bp; bp += 2;
+ GLshort *y1 = (GLshort *) bp; bp += 2;
+ GLshort *x2 = (GLshort *) bp; bp += 2;
+ GLshort *y2 = (GLshort *) bp; bp += 2;
+ weglRects(*x1,*y1,*x2,*y2);
+}; break;
+case 5246: { // glRectsv
+ GLshort * v1 = (GLshort *) bp; bp += 4;
+ GLshort * v2 = (GLshort *) bp; bp += 4;
+ weglRectsv(v1,v2);
+}; break;
+case 5247: { // glRenderMode
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLint result = weglRenderMode(*mode);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5248: { // glRotated
+ GLdouble *angle = (GLdouble *) bp; bp += 8;
+ GLdouble *x = (GLdouble *) bp; bp += 8;
+ GLdouble *y = (GLdouble *) bp; bp += 8;
+ GLdouble *z = (GLdouble *) bp; bp += 8;
+ weglRotated(*angle,*x,*y,*z);
+}; break;
+case 5249: { // glRotatef
+ GLfloat *angle = (GLfloat *) bp; bp += 4;
+ GLfloat *x = (GLfloat *) bp; bp += 4;
+ GLfloat *y = (GLfloat *) bp; bp += 4;
+ GLfloat *z = (GLfloat *) bp; bp += 4;
+ weglRotatef(*angle,*x,*y,*z);
+}; break;
+case 5250: { // glScaled
+ GLdouble *x = (GLdouble *) bp; bp += 8;
+ GLdouble *y = (GLdouble *) bp; bp += 8;
+ GLdouble *z = (GLdouble *) bp; bp += 8;
+ weglScaled(*x,*y,*z);
+}; break;
+case 5251: { // glScalef
+ GLfloat *x = (GLfloat *) bp; bp += 4;
+ GLfloat *y = (GLfloat *) bp; bp += 4;
+ GLfloat *z = (GLfloat *) bp; bp += 4;
+ weglScalef(*x,*y,*z);
+}; break;
+case 5252: { // glScissor
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ weglScissor(*x,*y,*width,*height);
+}; break;
+case 5253: { // glSelectBuffer
+ GLsizei *size = (GLsizei *) bp; bp += 4;
+ GLuint *buffer = (GLuint *) bins[0]->base;
+ weglSelectBuffer(*size,buffer);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5254: { // glShadeModel
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglShadeModel(*mode);
+}; break;
+case 5255: { // glStencilFunc
+ GLenum *func = (GLenum *) bp; bp += 4;
+ GLint *ref = (GLint *) bp; bp += 4;
+ GLuint *mask = (GLuint *) bp; bp += 4;
+ weglStencilFunc(*func,*ref,*mask);
+}; break;
+case 5256: { // glStencilMask
+ GLuint *mask = (GLuint *) bp; bp += 4;
+ weglStencilMask(*mask);
+}; break;
+case 5257: { // glStencilOp
+ GLenum *fail = (GLenum *) bp; bp += 4;
+ GLenum *zfail = (GLenum *) bp; bp += 4;
+ GLenum *zpass = (GLenum *) bp; bp += 4;
+ weglStencilOp(*fail,*zfail,*zpass);
+}; break;
+case 5258: { // glTexCoord1dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglTexCoord1dv(v);
+}; break;
+case 5259: { // glTexCoord1fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglTexCoord1fv(v);
+}; break;
+case 5260: { // glTexCoord1iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglTexCoord1iv(v);
+}; break;
+case 5261: { // glTexCoord1sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglTexCoord1sv(v);
+}; break;
+case 5262: { // glTexCoord2dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglTexCoord2dv(v);
+}; break;
+case 5263: { // glTexCoord2fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglTexCoord2fv(v);
+}; break;
+case 5264: { // glTexCoord2iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglTexCoord2iv(v);
+}; break;
+case 5265: { // glTexCoord2sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglTexCoord2sv(v);
+}; break;
+case 5266: { // glTexCoord3dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglTexCoord3dv(v);
+}; break;
+case 5267: { // glTexCoord3fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglTexCoord3fv(v);
+}; break;
+case 5268: { // glTexCoord3iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglTexCoord3iv(v);
+}; break;
+case 5269: { // glTexCoord3sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglTexCoord3sv(v);
+}; break;
+case 5270: { // glTexCoord4dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglTexCoord4dv(v);
+}; break;
+case 5271: { // glTexCoord4fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglTexCoord4fv(v);
+}; break;
+case 5272: { // glTexCoord4iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglTexCoord4iv(v);
+}; break;
+case 5273: { // glTexCoord4sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglTexCoord4sv(v);
+}; break;
+case 5274: { // glTexCoordPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglTexCoordPointer(*size,*type,*stride,pointer);
+}; break;
+case 5275: { // glTexCoordPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglTexCoordPointer(*size,*type,*stride,pointer);
+}; break;
+case 5276: { // glTexEnvf
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglTexEnvf(*target,*pname,*param);
+}; break;
+case 5277: { // glTexEnvfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexEnvfv(*target,*pname,params);
+}; break;
+case 5278: { // glTexEnvi
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglTexEnvi(*target,*pname,*param);
+}; break;
+case 5279: { // glTexEnviv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexEnviv(*target,*pname,params);
+}; break;
+case 5280: { // glTexGend
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLdouble *param = (GLdouble *) bp; bp += 8;
+ weglTexGend(*coord,*pname,*param);
+}; break;
+case 5281: { // glTexGendv
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 8;
+ GLdouble *params = (GLdouble *) bp; bp += *paramsLen*8;
+ weglTexGendv(*coord,*pname,params);
+}; break;
+case 5282: { // glTexGenf
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglTexGenf(*coord,*pname,*param);
+}; break;
+case 5283: { // glTexGenfv
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexGenfv(*coord,*pname,params);
+}; break;
+case 5284: { // glTexGeni
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglTexGeni(*coord,*pname,*param);
+}; break;
+case 5285: { // glTexGeniv
+ GLenum *coord = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexGeniv(*coord,*pname,params);
+}; break;
+case 5286: { // glTexImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *internalformat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4;
+ weglTexImage1D(*target,*level,*internalformat,*width,*border,*format,*type,pixels);
+}; break;
+case 5287: { // glTexImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *internalformat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglTexImage1D(*target,*level,*internalformat,*width,*border,*format,*type,pixels);
+}; break;
+case 5288: { // glTexImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *internalformat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4;
+ weglTexImage2D(*target,*level,*internalformat,*width,*height,*border,*format,*type,pixels);
+}; break;
+case 5289: { // glTexImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *internalformat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglTexImage2D(*target,*level,*internalformat,*width,*height,*border,*format,*type,pixels);
+}; break;
+case 5290: { // glTexParameterf
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglTexParameterf(*target,*pname,*param);
+}; break;
+case 5291: { // glTexParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexParameterfv(*target,*pname,params);
+}; break;
+case 5292: { // glTexParameteri
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglTexParameteri(*target,*pname,*param);
+}; break;
+case 5293: { // glTexParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexParameteriv(*target,*pname,params);
+}; break;
+case 5294: { // glTexSubImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4;
+ weglTexSubImage1D(*target,*level,*xoffset,*width,*format,*type,pixels);
+}; break;
+case 5295: { // glTexSubImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglTexSubImage1D(*target,*level,*xoffset,*width,*format,*type,pixels);
+}; break;
+case 5296: { // glTexSubImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4;
+ weglTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*type,pixels);
+}; break;
+case 5297: { // glTexSubImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*type,pixels);
+}; break;
+case 5298: { // glTranslated
+ GLdouble *x = (GLdouble *) bp; bp += 8;
+ GLdouble *y = (GLdouble *) bp; bp += 8;
+ GLdouble *z = (GLdouble *) bp; bp += 8;
+ weglTranslated(*x,*y,*z);
+}; break;
+case 5299: { // glTranslatef
+ GLfloat *x = (GLfloat *) bp; bp += 4;
+ GLfloat *y = (GLfloat *) bp; bp += 4;
+ GLfloat *z = (GLfloat *) bp; bp += 4;
+ weglTranslatef(*x,*y,*z);
+}; break;
+case 5300: { // glVertex2dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglVertex2dv(v);
+}; break;
+case 5301: { // glVertex2fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglVertex2fv(v);
+}; break;
+case 5302: { // glVertex2iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglVertex2iv(v);
+}; break;
+case 5303: { // glVertex2sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglVertex2sv(v);
+}; break;
+case 5304: { // glVertex3dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglVertex3dv(v);
+}; break;
+case 5305: { // glVertex3fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglVertex3fv(v);
+}; break;
+case 5306: { // glVertex3iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglVertex3iv(v);
+}; break;
+case 5307: { // glVertex3sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglVertex3sv(v);
+}; break;
+case 5308: { // glVertex4dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglVertex4dv(v);
+}; break;
+case 5309: { // glVertex4fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglVertex4fv(v);
+}; break;
+case 5310: { // glVertex4iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglVertex4iv(v);
+}; break;
+case 5311: { // glVertex4sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglVertex4sv(v);
+}; break;
+case 5312: { // glVertexPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglVertexPointer(*size,*type,*stride,pointer);
+}; break;
+case 5313: { // glVertexPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglVertexPointer(*size,*type,*stride,pointer);
+}; break;
+case 5314: { // glViewport
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ weglViewport(*x,*y,*width,*height);
+}; break;
+case 5315: { // glBlendColor
+ GLclampf *red = (GLclampf *) bp; bp += 4;
+ GLclampf *green = (GLclampf *) bp; bp += 4;
+ GLclampf *blue = (GLclampf *) bp; bp += 4;
+ GLclampf *alpha = (GLclampf *) bp; bp += 4;
+ weglBlendColor(*red,*green,*blue,*alpha);
+}; break;
+case 5316: { // glBlendEquation
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglBlendEquation(*mode);
+}; break;
+case 5317: { // glDrawRangeElements
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLuint *start = (GLuint *) bp; bp += 4;
+ GLuint *end = (GLuint *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4;
+ weglDrawRangeElements(*mode,*start,*end,*count,*type,indices);
+}; break;
+case 5318: { // glDrawRangeElements
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLuint *start = (GLuint *) bp; bp += 4;
+ GLuint *end = (GLuint *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *indices = (GLvoid *) bins[0]->base;
+ weglDrawRangeElements(*mode,*start,*end,*count,*type,indices);
+}; break;
+case 5319: { // glTexImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *internalformat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4;
+ weglTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*format,*type,pixels);
+}; break;
+case 5320: { // glTexImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *internalformat = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*format,*type,pixels);
+}; break;
+case 5321: { // glTexSubImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLint *zoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) * (int *) bp; bp += 4;
+ weglTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*type,pixels);
+}; break;
+case 5322: { // glTexSubImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLint *zoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *pixels = (GLvoid *) bins[0]->base;
+ weglTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*type,pixels);
+}; break;
+case 5323: { // glCopyTexSubImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLint *zoffset = (GLint *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ weglCopyTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*x,*y,*width,*height);
+}; break;
+case 5324: { // glColorTable
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *table = (GLvoid *) * (int *) bp; bp += 4;
+ weglColorTable(*target,*internalformat,*width,*format,*type,table);
+}; break;
+case 5325: { // glColorTable
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *table = (GLvoid *) bins[0]->base;
+ weglColorTable(*target,*internalformat,*width,*format,*type,table);
+}; break;
+case 5326: { // glColorTableParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat * params = (GLfloat *) bp; bp += 16;
+ weglColorTableParameterfv(*target,*pname,params);
+}; break;
+case 5327: { // glColorTableParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint * params = (GLint *) bp; bp += 16;
+ weglColorTableParameteriv(*target,*pname,params);
+}; break;
+case 5328: { // glCopyColorTable
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ weglCopyColorTable(*target,*internalformat,*x,*y,*width);
+}; break;
+case 5329: { // glGetColorTable
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *table = (GLvoid *) bins[0]->base;
+ weglGetColorTable(*target,*format,*type,table);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5330: { // glGetColorTableParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetColorTableParameterfv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5331: { // glGetColorTableParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetColorTableParameteriv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5332: { // glColorSubTable
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLsizei *start = (GLsizei *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglColorSubTable(*target,*start,*count,*format,*type,data);
+}; break;
+case 5333: { // glColorSubTable
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLsizei *start = (GLsizei *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglColorSubTable(*target,*start,*count,*format,*type,data);
+}; break;
+case 5334: { // glCopyColorSubTable
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLsizei *start = (GLsizei *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ weglCopyColorSubTable(*target,*start,*x,*y,*width);
+}; break;
+case 5335: { // glConvolutionFilter1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *image = (GLvoid *) * (int *) bp; bp += 4;
+ weglConvolutionFilter1D(*target,*internalformat,*width,*format,*type,image);
+}; break;
+case 5336: { // glConvolutionFilter1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *image = (GLvoid *) bins[0]->base;
+ weglConvolutionFilter1D(*target,*internalformat,*width,*format,*type,image);
+}; break;
+case 5337: { // glConvolutionFilter2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *image = (GLvoid *) * (int *) bp; bp += 4;
+ weglConvolutionFilter2D(*target,*internalformat,*width,*height,*format,*type,image);
+}; break;
+case 5338: { // glConvolutionFilter2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *image = (GLvoid *) bins[0]->base;
+ weglConvolutionFilter2D(*target,*internalformat,*width,*height,*format,*type,image);
+}; break;
+case 5339: { // glConvolutionParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglConvolutionParameterfv(*target,*pname,params);
+}; break;
+case 5340: { // glConvolutionParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglConvolutionParameteriv(*target,*pname,params);
+}; break;
+case 5341: { // glCopyConvolutionFilter1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ weglCopyConvolutionFilter1D(*target,*internalformat,*x,*y,*width);
+}; break;
+case 5342: { // glCopyConvolutionFilter2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLint *x = (GLint *) bp; bp += 4;
+ GLint *y = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ weglCopyConvolutionFilter2D(*target,*internalformat,*x,*y,*width,*height);
+}; break;
+case 5343: { // glGetConvolutionFilter
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *image = (GLvoid *) bins[0]->base;
+ weglGetConvolutionFilter(*target,*format,*type,image);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5344: { // glGetConvolutionParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetConvolutionParameterfv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5345: { // glGetConvolutionParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetConvolutionParameteriv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5346: { // glSeparableFilter2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *row = (GLvoid *) * (int *) bp; bp += 4;
+ GLvoid *column = (GLvoid *) * (int *) bp; bp += 4;
+ weglSeparableFilter2D(*target,*internalformat,*width,*height,*format,*type,row,column);
+}; break;
+case 5347: { // glSeparableFilter2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *row = (GLvoid *) bins[0]->base;
+ GLvoid *column = (GLvoid *) bins[1]->base;
+ weglSeparableFilter2D(*target,*internalformat,*width,*height,*format,*type,row,column);
+}; break;
+case 5348: { // glGetHistogram
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLboolean *reset = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *values = (GLvoid *) bins[0]->base;
+ weglGetHistogram(*target,*reset,*format,*type,values);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5349: { // glGetHistogramParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[1] = {0.0};
+ weglGetHistogramParameterfv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[8];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[1], *paramsTmp = paramsConv;
+ for(int i=0; i < 1; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5350: { // glGetHistogramParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetHistogramParameteriv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[8];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5351: { // glGetMinmax
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLboolean *reset = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *values = (GLvoid *) bins[0]->base;
+ weglGetMinmax(*target,*reset,*format,*type,values);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5352: { // glGetMinmaxParameterfv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[1] = {0.0};
+ weglGetMinmaxParameterfv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[8];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[1], *paramsTmp = paramsConv;
+ for(int i=0; i < 1; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5353: { // glGetMinmaxParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetMinmaxParameteriv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[8];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 8 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,8);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5354: { // glHistogram
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLboolean *sink = (GLboolean *) bp; bp += 1;
+ weglHistogram(*target,*width,*internalformat,*sink);
+}; break;
+case 5355: { // glMinmax
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLboolean *sink = (GLboolean *) bp; bp += 1;
+ weglMinmax(*target,*internalformat,*sink);
+}; break;
+case 5356: { // glResetHistogram
+ GLenum *target = (GLenum *) bp; bp += 4;
+ weglResetHistogram(*target);
+}; break;
+case 5357: { // glResetMinmax
+ GLenum *target = (GLenum *) bp; bp += 4;
+ weglResetMinmax(*target);
+}; break;
+case 5358: { // glActiveTexture
+ GLenum *texture = (GLenum *) bp; bp += 4;
+ weglActiveTexture(*texture);
+}; break;
+case 5359: { // glSampleCoverage
+ GLclampf *value = (GLclampf *) bp; bp += 4;
+ GLboolean *invert = (GLboolean *) bp; bp += 1;
+ weglSampleCoverage(*value,*invert);
+}; break;
+case 5360: { // glCompressedTexImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglCompressedTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*imageSize,data);
+}; break;
+case 5361: { // glCompressedTexImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglCompressedTexImage3D(*target,*level,*internalformat,*width,*height,*depth,*border,*imageSize,data);
+}; break;
+case 5362: { // glCompressedTexImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglCompressedTexImage2D(*target,*level,*internalformat,*width,*height,*border,*imageSize,data);
+}; break;
+case 5363: { // glCompressedTexImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglCompressedTexImage2D(*target,*level,*internalformat,*width,*height,*border,*imageSize,data);
+}; break;
+case 5364: { // glCompressedTexImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglCompressedTexImage1D(*target,*level,*internalformat,*width,*border,*imageSize,data);
+}; break;
+case 5365: { // glCompressedTexImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLint *border = (GLint *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglCompressedTexImage1D(*target,*level,*internalformat,*width,*border,*imageSize,data);
+}; break;
+case 5366: { // glCompressedTexSubImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLint *zoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglCompressedTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*imageSize,data);
+}; break;
+case 5367: { // glCompressedTexSubImage3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLint *zoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLsizei *depth = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglCompressedTexSubImage3D(*target,*level,*xoffset,*yoffset,*zoffset,*width,*height,*depth,*format,*imageSize,data);
+}; break;
+case 5368: { // glCompressedTexSubImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglCompressedTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*imageSize,data);
+}; break;
+case 5369: { // glCompressedTexSubImage2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLint *yoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglCompressedTexSubImage2D(*target,*level,*xoffset,*yoffset,*width,*height,*format,*imageSize,data);
+}; break;
+case 5370: { // glCompressedTexSubImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglCompressedTexSubImage1D(*target,*level,*xoffset,*width,*format,*imageSize,data);
+}; break;
+case 5371: { // glCompressedTexSubImage1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *xoffset = (GLint *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLsizei *imageSize = (GLsizei *) bp; bp += 4;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglCompressedTexSubImage1D(*target,*level,*xoffset,*width,*format,*imageSize,data);
+}; break;
+case 5372: { // glGetCompressedTexImage
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLvoid *img = (GLvoid *) bins[0]->base;
+ weglGetCompressedTexImage(*target,*level,img);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5373: { // glClientActiveTexture
+ GLenum *texture = (GLenum *) bp; bp += 4;
+ weglClientActiveTexture(*texture);
+}; break;
+case 5374: { // glMultiTexCoord1dv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglMultiTexCoord1dv(*target,v);
+}; break;
+case 5375: { // glMultiTexCoord1fv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglMultiTexCoord1fv(*target,v);
+}; break;
+case 5376: { // glMultiTexCoord1iv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *v = (GLint *) bp; bp += 4;
+ weglMultiTexCoord1iv(*target,v);
+}; break;
+case 5377: { // glMultiTexCoord1sv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglMultiTexCoord1sv(*target,v);
+}; break;
+case 5378: { // glMultiTexCoord2dv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglMultiTexCoord2dv(*target,v);
+}; break;
+case 5379: { // glMultiTexCoord2fv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglMultiTexCoord2fv(*target,v);
+}; break;
+case 5380: { // glMultiTexCoord2iv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *v = (GLint *) bp; bp += 4;
+ weglMultiTexCoord2iv(*target,v);
+}; break;
+case 5381: { // glMultiTexCoord2sv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglMultiTexCoord2sv(*target,v);
+}; break;
+case 5382: { // glMultiTexCoord3dv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglMultiTexCoord3dv(*target,v);
+}; break;
+case 5383: { // glMultiTexCoord3fv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglMultiTexCoord3fv(*target,v);
+}; break;
+case 5384: { // glMultiTexCoord3iv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *v = (GLint *) bp; bp += 4;
+ weglMultiTexCoord3iv(*target,v);
+}; break;
+case 5385: { // glMultiTexCoord3sv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglMultiTexCoord3sv(*target,v);
+}; break;
+case 5386: { // glMultiTexCoord4dv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglMultiTexCoord4dv(*target,v);
+}; break;
+case 5387: { // glMultiTexCoord4fv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglMultiTexCoord4fv(*target,v);
+}; break;
+case 5388: { // glMultiTexCoord4iv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLint *v = (GLint *) bp; bp += 4;
+ weglMultiTexCoord4iv(*target,v);
+}; break;
+case 5389: { // glMultiTexCoord4sv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglMultiTexCoord4sv(*target,v);
+}; break;
+case 5390: { // glLoadTransposeMatrixf
+ GLfloat * m = (GLfloat *) bp; bp += 64;
+ weglLoadTransposeMatrixf(m);
+}; break;
+case 5391: { // glLoadTransposeMatrixd
+ GLdouble * m = (GLdouble *) bp; bp += 128;
+ weglLoadTransposeMatrixd(m);
+}; break;
+case 5392: { // glMultTransposeMatrixf
+ GLfloat * m = (GLfloat *) bp; bp += 64;
+ weglMultTransposeMatrixf(m);
+}; break;
+case 5393: { // glMultTransposeMatrixd
+ GLdouble * m = (GLdouble *) bp; bp += 128;
+ weglMultTransposeMatrixd(m);
+}; break;
+case 5394: { // glBlendFuncSeparate
+ GLenum *sfactorRGB = (GLenum *) bp; bp += 4;
+ GLenum *dfactorRGB = (GLenum *) bp; bp += 4;
+ GLenum *sfactorAlpha = (GLenum *) bp; bp += 4;
+ GLenum *dfactorAlpha = (GLenum *) bp; bp += 4;
+ weglBlendFuncSeparate(*sfactorRGB,*dfactorRGB,*sfactorAlpha,*dfactorAlpha);
+}; break;
+case 5395: { // glMultiDrawArrays
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ int * firstLen = (int *) bp; bp += 4;
+ GLint * first = (GLint *) bp; bp += (8-((*firstLen*4+0)%8))%8;
+ int * countLen = (int *) bp; bp += 4;
+ GLsizei * count = (GLsizei *) bp; bp += (8-((*countLen*4+4)%8))%8;
+ weglMultiDrawArrays(*mode,first,count,*firstLen);
+}; break;
+case 5396: { // glPointParameterf
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat *param = (GLfloat *) bp; bp += 4;
+ weglPointParameterf(*pname,*param);
+}; break;
+case 5397: { // glPointParameterfv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLfloat *params = (GLfloat *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4;
+ weglPointParameterfv(*pname,params);
+}; break;
+case 5398: { // glPointParameteri
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *param = (GLint *) bp; bp += 4;
+ weglPointParameteri(*pname,*param);
+}; break;
+case 5399: { // glPointParameteriv
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+0)%2*4;
+ weglPointParameteriv(*pname,params);
+}; break;
+case 5400: { // glFogCoordfv
+ GLfloat *coord = (GLfloat *) bp; bp += 4;
+ weglFogCoordfv(coord);
+}; break;
+case 5401: { // glFogCoorddv
+ GLdouble *coord = (GLdouble *) bp; bp += 8;
+ weglFogCoorddv(coord);
+}; break;
+case 5402: { // glFogCoordPointer
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglFogCoordPointer(*type,*stride,pointer);
+}; break;
+case 5403: { // glFogCoordPointer
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglFogCoordPointer(*type,*stride,pointer);
+}; break;
+case 5404: { // glSecondaryColor3bv
+ GLbyte *v = (GLbyte *) bp; bp += 1;
+ weglSecondaryColor3bv(v);
+}; break;
+case 5405: { // glSecondaryColor3dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglSecondaryColor3dv(v);
+}; break;
+case 5406: { // glSecondaryColor3fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglSecondaryColor3fv(v);
+}; break;
+case 5407: { // glSecondaryColor3iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglSecondaryColor3iv(v);
+}; break;
+case 5408: { // glSecondaryColor3sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglSecondaryColor3sv(v);
+}; break;
+case 5409: { // glSecondaryColor3ubv
+ GLubyte *v = (GLubyte *) bp; bp += 1;
+ weglSecondaryColor3ubv(v);
+}; break;
+case 5410: { // glSecondaryColor3uiv
+ GLuint *v = (GLuint *) bp; bp += 4;
+ weglSecondaryColor3uiv(v);
+}; break;
+case 5411: { // glSecondaryColor3usv
+ GLushort *v = (GLushort *) bp; bp += 2;
+ weglSecondaryColor3usv(v);
+}; break;
+case 5412: { // glSecondaryColorPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglSecondaryColorPointer(*size,*type,*stride,pointer);
+}; break;
+case 5413: { // glSecondaryColorPointer
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglSecondaryColorPointer(*size,*type,*stride,pointer);
+}; break;
+case 5414: { // glWindowPos2dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglWindowPos2dv(v);
+}; break;
+case 5415: { // glWindowPos2fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglWindowPos2fv(v);
+}; break;
+case 5416: { // glWindowPos2iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglWindowPos2iv(v);
+}; break;
+case 5417: { // glWindowPos2sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglWindowPos2sv(v);
+}; break;
+case 5418: { // glWindowPos3dv
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglWindowPos3dv(v);
+}; break;
+case 5419: { // glWindowPos3fv
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglWindowPos3fv(v);
+}; break;
+case 5420: { // glWindowPos3iv
+ GLint *v = (GLint *) bp; bp += 4;
+ weglWindowPos3iv(v);
+}; break;
+case 5421: { // glWindowPos3sv
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglWindowPos3sv(v);
+}; break;
+case 5422: { // glGenQueries
+ GLsizei *n = (GLsizei *) bp; bp += 4;
+ GLuint *ids;
+ ids = (GLuint *) driver_alloc(sizeof(GLuint) * *n);
+ weglGenQueries(*n,ids);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *n; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) ids[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(ids);
+}; break;
+case 5423: { // glDeleteQueries
+ int * idsLen = (int *) bp; bp += 4;
+ GLuint * ids = (GLuint *) bp; bp += (8-((*idsLen*4+4)%8))%8;
+ weglDeleteQueries(*idsLen,ids);
+}; break;
+case 5424: { // glIsQuery
+ GLuint *id = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsQuery(*id);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5425: { // glBeginQuery
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *id = (GLuint *) bp; bp += 4;
+ weglBeginQuery(*target,*id);
+}; break;
+case 5426: { // glEndQuery
+ GLenum *target = (GLenum *) bp; bp += 4;
+ weglEndQuery(*target);
+}; break;
+case 5427: { // glGetQueryiv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetQueryiv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5428: { // glGetQueryObjectiv
+ GLuint *id = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetQueryObjectiv(*id,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5429: { // glGetQueryObjectuiv
+ GLuint *id = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLuint params[1] = {0};
+ weglGetQueryObjectuiv(*id,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5430: { // glBindBuffer
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *buffer = (GLuint *) bp; bp += 4;
+ weglBindBuffer(*target,*buffer);
+}; break;
+case 5431: { // glDeleteBuffers
+ int * buffersLen = (int *) bp; bp += 4;
+ GLuint * buffers = (GLuint *) bp; bp += (8-((*buffersLen*4+4)%8))%8;
+ weglDeleteBuffers(*buffersLen,buffers);
+}; break;
+case 5432: { // glGenBuffers
+ GLsizei *n = (GLsizei *) bp; bp += 4;
+ GLuint *buffers;
+ buffers = (GLuint *) driver_alloc(sizeof(GLuint) * *n);
+ weglGenBuffers(*n,buffers);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *n; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) buffers[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(buffers);
+}; break;
+case 5433: { // glIsBuffer
+ GLuint *buffer = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsBuffer(*buffer);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5434: { // glBufferData
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ GLenum *usage = (GLenum *) bp; bp += 4;
+ weglBufferData(*target,size,data,*usage);
+}; break;
+case 5435: { // glBufferData
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ GLenum *usage = (GLenum *) bp; bp += 4;
+ weglBufferData(*target,size,data,*usage);
+}; break;
+case 5436: { // glBufferSubData
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8;
+ GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ GLvoid *data = (GLvoid *) * (int *) bp; bp += 4;
+ weglBufferSubData(*target,offset,size,data);
+}; break;
+case 5437: { // glBufferSubData
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8;
+ GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglBufferSubData(*target,offset,size,data);
+}; break;
+case 5438: { // glGetBufferSubData
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8;
+ GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ GLvoid *data = (GLvoid *) bins[0]->base;
+ weglGetBufferSubData(*target,offset,size,data);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5439: { // glGetBufferParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetBufferParameteriv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5440: { // glBlendEquationSeparate
+ GLenum *modeRGB = (GLenum *) bp; bp += 4;
+ GLenum *modeAlpha = (GLenum *) bp; bp += 4;
+ weglBlendEquationSeparate(*modeRGB,*modeAlpha);
+}; break;
+case 5441: { // glDrawBuffers
+ int * bufsLen = (int *) bp; bp += 4;
+ GLenum * bufs = (GLenum *) bp; bp += (8-((*bufsLen*4+4)%8))%8;
+ weglDrawBuffers(*bufsLen,bufs);
+}; break;
+case 5442: { // glStencilOpSeparate
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLenum *sfail = (GLenum *) bp; bp += 4;
+ GLenum *dpfail = (GLenum *) bp; bp += 4;
+ GLenum *dppass = (GLenum *) bp; bp += 4;
+ weglStencilOpSeparate(*face,*sfail,*dpfail,*dppass);
+}; break;
+case 5443: { // glStencilFuncSeparate
+ GLenum *frontfunc = (GLenum *) bp; bp += 4;
+ GLenum *backfunc = (GLenum *) bp; bp += 4;
+ GLint *ref = (GLint *) bp; bp += 4;
+ GLuint *mask = (GLuint *) bp; bp += 4;
+ weglStencilFuncSeparate(*frontfunc,*backfunc,*ref,*mask);
+}; break;
+case 5444: { // glStencilMaskSeparate
+ GLenum *face = (GLenum *) bp; bp += 4;
+ GLuint *mask = (GLuint *) bp; bp += 4;
+ weglStencilMaskSeparate(*face,*mask);
+}; break;
+case 5445: { // glAttachShader
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ weglAttachShader(*program,*shader);
+}; break;
+case 5446: { // glBindAttribLocation
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8);
+ weglBindAttribLocation(*program,*index,name);
+}; break;
+case 5447: { // glCompileShader
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ weglCompileShader(*shader);
+}; break;
+case 5448: { // glCreateProgram
+ GLuint result = weglCreateProgram();
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5449: { // glCreateShader
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLuint result = weglCreateShader(*type);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5450: { // glDeleteProgram
+ GLuint *program = (GLuint *) bp; bp += 4;
+ weglDeleteProgram(*program);
+}; break;
+case 5451: { // glDeleteShader
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ weglDeleteShader(*shader);
+}; break;
+case 5452: { // glDetachShader
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ weglDetachShader(*program,*shader);
+}; break;
+case 5453: { // glDisableVertexAttribArray
+ GLuint *index = (GLuint *) bp; bp += 4;
+ weglDisableVertexAttribArray(*index);
+}; break;
+case 5454: { // glEnableVertexAttribArray
+ GLuint *index = (GLuint *) bp; bp += 4;
+ weglEnableVertexAttribArray(*index);
+}; break;
+case 5455: { // glGetActiveAttrib
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLint size[1] = {0};
+ GLenum type[1] = {0};
+ GLchar *name;
+ name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetActiveAttrib(*program,*index,*bufSize,length,size,type,name);
+ int AP = 0; ErlDrvTermData rt[13];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type;
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(name);
+}; break;
+case 5456: { // glGetActiveUniform
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLint size[1] = {0};
+ GLenum type[1] = {0};
+ GLchar *name;
+ name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetActiveUniform(*program,*index,*bufSize,length,size,type,name);
+ int AP = 0; ErlDrvTermData rt[13];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type;
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(name);
+}; break;
+case 5457: { // glGetAttachedShaders
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLsizei *maxCount = (GLsizei *) bp; bp += 4;
+ GLsizei count[1] = {0};
+ GLuint *obj;
+ obj = (GLuint *) driver_alloc(sizeof(GLuint) * *maxCount);
+ weglGetAttachedShaders(*program,*maxCount,count,obj);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*count)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *count; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) obj[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*count)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*count)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*count)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(obj);
+}; break;
+case 5458: { // glGetAttribLocation
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8);
+ GLint result = weglGetAttribLocation(*program,name);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5459: { // glGetProgramiv
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetProgramiv(*program,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5460: { // glGetProgramInfoLog
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLchar *infoLog;
+ infoLog = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetProgramInfoLog(*program,*bufSize,length,infoLog);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) infoLog; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(infoLog);
+}; break;
+case 5461: { // glGetShaderiv
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetShaderiv(*shader,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5462: { // glGetShaderInfoLog
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLchar *infoLog;
+ infoLog = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetShaderInfoLog(*shader,*bufSize,length,infoLog);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) infoLog; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(infoLog);
+}; break;
+case 5463: { // glGetShaderSource
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLchar *source;
+ source = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetShaderSource(*shader,*bufSize,length,source);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) source; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(source);
+}; break;
+case 5464: { // glGetUniformLocation
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8);
+ GLint result = weglGetUniformLocation(*program,name);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5465: { // glGetUniformfv
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLint *location = (GLint *) bp; bp += 4;
+ GLfloat params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0};
+ weglGetUniformfv(*program,*location,params);
+ int AP = 0; ErlDrvTermData rt[38];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[16], *paramsTmp = paramsConv;
+ for(int i=0; i < 16; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5466: { // glGetUniformiv
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLint *location = (GLint *) bp; bp += 4;
+ GLint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+ weglGetUniformiv(*program,*location,params);
+ int AP = 0; ErlDrvTermData rt[38];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5467: { // glGetVertexAttribdv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLdouble params[4] = {0.0,0.0,0.0,0.0};
+ weglGetVertexAttribdv(*index,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble *paramsTmp = params;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5468: { // glGetVertexAttribfv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetVertexAttribfv(*index,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5469: { // glGetVertexAttribiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetVertexAttribiv(*index,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5470: { // glIsProgram
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsProgram(*program);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5471: { // glIsShader
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsShader(*shader);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5472: { // glLinkProgram
+ GLuint *program = (GLuint *) bp; bp += 4;
+ weglLinkProgram(*program);
+}; break;
+case 5473: { // glShaderSource
+ GLuint *shader = (GLuint *) bp; bp += 4;
+ int * stringLen = (int *) bp; bp += 4;
+ int * stringTotSize = (int *) bp; bp += 4;
+ GLchar **string;
+ string = (GLchar **) driver_alloc(sizeof(GLchar *) * *stringLen);
+ for(int i=0;i<*stringLen;i++) {
+ string[i] = (GLchar *) bp; bp += 1+strlen(bp);};
+ bp += (8 - ((0 + *stringTotSize) % 8)) % 8;
+ weglShaderSource(*shader,*stringLen,(const GLchar **) string,NULL);
+ driver_free(string);
+}; break;
+case 5474: { // glUseProgram
+ GLuint *program = (GLuint *) bp; bp += 4;
+ weglUseProgram(*program);
+}; break;
+case 5475: { // glUniform1f
+ GLint *location = (GLint *) bp; bp += 4;
+ GLfloat *v0 = (GLfloat *) bp; bp += 4;
+ weglUniform1f(*location,*v0);
+}; break;
+case 5476: { // glUniform2f
+ GLint *location = (GLint *) bp; bp += 4;
+ GLfloat *v0 = (GLfloat *) bp; bp += 4;
+ GLfloat *v1 = (GLfloat *) bp; bp += 4;
+ weglUniform2f(*location,*v0,*v1);
+}; break;
+case 5477: { // glUniform3f
+ GLint *location = (GLint *) bp; bp += 4;
+ GLfloat *v0 = (GLfloat *) bp; bp += 4;
+ GLfloat *v1 = (GLfloat *) bp; bp += 4;
+ GLfloat *v2 = (GLfloat *) bp; bp += 4;
+ weglUniform3f(*location,*v0,*v1,*v2);
+}; break;
+case 5478: { // glUniform4f
+ GLint *location = (GLint *) bp; bp += 4;
+ GLfloat *v0 = (GLfloat *) bp; bp += 4;
+ GLfloat *v1 = (GLfloat *) bp; bp += 4;
+ GLfloat *v2 = (GLfloat *) bp; bp += 4;
+ GLfloat *v3 = (GLfloat *) bp; bp += 4;
+ weglUniform4f(*location,*v0,*v1,*v2,*v3);
+}; break;
+case 5479: { // glUniform1i
+ GLint *location = (GLint *) bp; bp += 4;
+ GLint *v0 = (GLint *) bp; bp += 4;
+ weglUniform1i(*location,*v0);
+}; break;
+case 5480: { // glUniform2i
+ GLint *location = (GLint *) bp; bp += 4;
+ GLint *v0 = (GLint *) bp; bp += 4;
+ GLint *v1 = (GLint *) bp; bp += 4;
+ weglUniform2i(*location,*v0,*v1);
+}; break;
+case 5481: { // glUniform3i
+ GLint *location = (GLint *) bp; bp += 4;
+ GLint *v0 = (GLint *) bp; bp += 4;
+ GLint *v1 = (GLint *) bp; bp += 4;
+ GLint *v2 = (GLint *) bp; bp += 4;
+ weglUniform3i(*location,*v0,*v1,*v2);
+}; break;
+case 5482: { // glUniform4i
+ GLint *location = (GLint *) bp; bp += 4;
+ GLint *v0 = (GLint *) bp; bp += 4;
+ GLint *v1 = (GLint *) bp; bp += 4;
+ GLint *v2 = (GLint *) bp; bp += 4;
+ GLint *v3 = (GLint *) bp; bp += 4;
+ weglUniform4i(*location,*v0,*v1,*v2,*v3);
+}; break;
+case 5483: { // glUniform1fv
+ GLint *location = (GLint *) bp; bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += (8-((*valueLen*4+0)%8))%8;
+ weglUniform1fv(*location,*valueLen,value);
+}; break;
+case 5484: { // glUniform2fv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*8;
+ weglUniform2fv(*location,*valueLen,value);
+}; break;
+case 5485: { // glUniform3fv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*12;
+ weglUniform3fv(*location,*valueLen,value);
+}; break;
+case 5486: { // glUniform4fv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*16;
+ weglUniform4fv(*location,*valueLen,value);
+}; break;
+case 5487: { // glUniform1iv
+ GLint *location = (GLint *) bp; bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ GLint * value = (GLint *) bp; bp += (8-((*valueLen*4+0)%8))%8;
+ weglUniform1iv(*location,*valueLen,value);
+}; break;
+case 5488: { // glUniform2iv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLint * value = (GLint *) bp; bp += *valueLen*8;
+ weglUniform2iv(*location,*valueLen,value);
+}; break;
+case 5489: { // glUniform3iv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLint * value = (GLint *) bp; bp += *valueLen*12;
+ weglUniform3iv(*location,*valueLen,value);
+}; break;
+case 5490: { // glUniform4iv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLint * value = (GLint *) bp; bp += *valueLen*16;
+ weglUniform4iv(*location,*valueLen,value);
+}; break;
+case 5491: { // glUniformMatrix2fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*16;
+ weglUniformMatrix2fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5492: { // glUniformMatrix3fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*36;
+ weglUniformMatrix3fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5493: { // glUniformMatrix4fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*64;
+ weglUniformMatrix4fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5494: { // glValidateProgram
+ GLuint *program = (GLuint *) bp; bp += 4;
+ weglValidateProgram(*program);
+}; break;
+case 5495: { // glVertexAttrib1dv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglVertexAttrib1dv(*index,v);
+}; break;
+case 5496: { // glVertexAttrib1fv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglVertexAttrib1fv(*index,v);
+}; break;
+case 5497: { // glVertexAttrib1sv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglVertexAttrib1sv(*index,v);
+}; break;
+case 5498: { // glVertexAttrib2dv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglVertexAttrib2dv(*index,v);
+}; break;
+case 5499: { // glVertexAttrib2fv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglVertexAttrib2fv(*index,v);
+}; break;
+case 5500: { // glVertexAttrib2sv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglVertexAttrib2sv(*index,v);
+}; break;
+case 5501: { // glVertexAttrib3dv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ bp += 4;
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglVertexAttrib3dv(*index,v);
+}; break;
+case 5502: { // glVertexAttrib3fv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglVertexAttrib3fv(*index,v);
+}; break;
+case 5503: { // glVertexAttrib3sv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglVertexAttrib3sv(*index,v);
+}; break;
+case 5504: { // glVertexAttrib4Nbv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLbyte * v = (GLbyte *) bp; bp += 4;
+ weglVertexAttrib4Nbv(*index,v);
+}; break;
+case 5505: { // glVertexAttrib4Niv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint * v = (GLint *) bp; bp += 16;
+ weglVertexAttrib4Niv(*index,v);
+}; break;
+case 5506: { // glVertexAttrib4Nsv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLshort * v = (GLshort *) bp; bp += 8;
+ weglVertexAttrib4Nsv(*index,v);
+}; break;
+case 5507: { // glVertexAttrib4Nubv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLubyte * v = (GLubyte *) bp; bp += 4;
+ weglVertexAttrib4Nubv(*index,v);
+}; break;
+case 5508: { // glVertexAttrib4Nuiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint * v = (GLuint *) bp; bp += 16;
+ weglVertexAttrib4Nuiv(*index,v);
+}; break;
+case 5509: { // glVertexAttrib4Nusv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLushort * v = (GLushort *) bp; bp += 8;
+ weglVertexAttrib4Nusv(*index,v);
+}; break;
+case 5510: { // glVertexAttrib4bv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLbyte * v = (GLbyte *) bp; bp += 4;
+ weglVertexAttrib4bv(*index,v);
+}; break;
+case 5511: { // glVertexAttrib4dv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ bp += 4;
+ GLdouble * v = (GLdouble *) bp; bp += 32;
+ weglVertexAttrib4dv(*index,v);
+}; break;
+case 5512: { // glVertexAttrib4fv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat * v = (GLfloat *) bp; bp += 16;
+ weglVertexAttrib4fv(*index,v);
+}; break;
+case 5513: { // glVertexAttrib4iv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint * v = (GLint *) bp; bp += 16;
+ weglVertexAttrib4iv(*index,v);
+}; break;
+case 5514: { // glVertexAttrib4sv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLshort * v = (GLshort *) bp; bp += 8;
+ weglVertexAttrib4sv(*index,v);
+}; break;
+case 5515: { // glVertexAttrib4ubv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLubyte * v = (GLubyte *) bp; bp += 4;
+ weglVertexAttrib4ubv(*index,v);
+}; break;
+case 5516: { // glVertexAttrib4uiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint * v = (GLuint *) bp; bp += 16;
+ weglVertexAttrib4uiv(*index,v);
+}; break;
+case 5517: { // glVertexAttrib4usv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLushort * v = (GLushort *) bp; bp += 8;
+ weglVertexAttrib4usv(*index,v);
+}; break;
+case 5518: { // glVertexAttribPointer
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLboolean *normalized = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglVertexAttribPointer(*index,*size,*type,*normalized,*stride,pointer);
+}; break;
+case 5519: { // glVertexAttribPointer
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLboolean *normalized = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglVertexAttribPointer(*index,*size,*type,*normalized,*stride,pointer);
+}; break;
+case 5520: { // glUniformMatrix2x3fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*24;
+ weglUniformMatrix2x3fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5521: { // glUniformMatrix3x2fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*24;
+ weglUniformMatrix3x2fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5522: { // glUniformMatrix2x4fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*32;
+ weglUniformMatrix2x4fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5523: { // glUniformMatrix4x2fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*32;
+ weglUniformMatrix4x2fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5524: { // glUniformMatrix3x4fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*48;
+ weglUniformMatrix3x4fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5525: { // glUniformMatrix4x3fv
+ GLint *location = (GLint *) bp; bp += 4;
+ GLboolean *transpose = (GLboolean *) bp; bp += 1;
+ bp += 3;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat * value = (GLfloat *) bp; bp += *valueLen*48;
+ weglUniformMatrix4x3fv(*location,*valueLen,*transpose,value);
+}; break;
+case 5526: { // glColorMaski
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLboolean *r = (GLboolean *) bp; bp += 1;
+ GLboolean *g = (GLboolean *) bp; bp += 1;
+ GLboolean *b = (GLboolean *) bp; bp += 1;
+ GLboolean *a = (GLboolean *) bp; bp += 1;
+ weglColorMaski(*index,*r,*g,*b,*a);
+}; break;
+case 5527: { // glGetBooleani_v
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLboolean data[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+ weglGetBooleani_v(*target,*index,data);
+ int AP = 0; ErlDrvTermData rt[39];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLboolean *dataTmp = data;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5528: { // glGetIntegeri_v
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint data[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+ weglGetIntegeri_v(*target,*index,data);
+ int AP = 0; ErlDrvTermData rt[39];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *dataTmp = data;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *dataTmp++;
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = 16+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 39 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,39);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5529: { // glEnablei
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ weglEnablei(*target,*index);
+}; break;
+case 5530: { // glDisablei
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ weglDisablei(*target,*index);
+}; break;
+case 5531: { // glIsEnabledi
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsEnabledi(*target,*index);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5532: { // glBeginTransformFeedback
+ GLenum *primitiveMode = (GLenum *) bp; bp += 4;
+ weglBeginTransformFeedback(*primitiveMode);
+}; break;
+case 5533: { // glEndTransformFeedback
+ weglEndTransformFeedback();
+}; break;
+case 5534: { // glBindBufferRange
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint *buffer = (GLuint *) bp; bp += 4;
+ bp += 4;
+ GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8;
+ GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ weglBindBufferRange(*target,*index,*buffer,offset,size);
+}; break;
+case 5535: { // glBindBufferBase
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint *buffer = (GLuint *) bp; bp += 4;
+ weglBindBufferBase(*target,*index,*buffer);
+}; break;
+case 5536: { // glTransformFeedbackVaryings
+ GLuint *program = (GLuint *) bp; bp += 4;
+ int * varyingsLen = (int *) bp; bp += 4;
+ int * varyingsTotSize = (int *) bp; bp += 4;
+ GLchar **varyings;
+ varyings = (GLchar **) driver_alloc(sizeof(GLchar *) * *varyingsLen);
+ for(int i=0;i<*varyingsLen;i++) {
+ varyings[i] = (GLchar *) bp; bp += 1+strlen(bp);};
+ bp += (8 - ((0 + *varyingsTotSize) % 8)) % 8;
+ GLenum *bufferMode = (GLenum *) bp; bp += 4;
+ weglTransformFeedbackVaryings(*program,*varyingsLen,(const GLchar **) varyings,*bufferMode);
+ driver_free(varyings);
+}; break;
+case 5537: { // glGetTransformFeedbackVarying
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLsizei size[1] = {0};
+ GLenum type[1] = {0};
+ GLchar *name;
+ name = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetTransformFeedbackVarying(*program,*index,*bufSize,length,size,type,name);
+ int AP = 0; ErlDrvTermData rt[13];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type;
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(name);
+}; break;
+case 5538: { // glClampColor
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *clamp = (GLenum *) bp; bp += 4;
+ weglClampColor(*target,*clamp);
+}; break;
+case 5539: { // glBeginConditionalRender
+ GLuint *id = (GLuint *) bp; bp += 4;
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ weglBeginConditionalRender(*id,*mode);
+}; break;
+case 5540: { // glEndConditionalRender
+ weglEndConditionalRender();
+}; break;
+case 5541: { // glVertexAttribIPointer
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) * (int *) bp; bp += 4;
+ weglVertexAttribIPointer(*index,*size,*type,*stride,pointer);
+}; break;
+case 5542: { // glVertexAttribIPointer
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint *size = (GLint *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLsizei *stride = (GLsizei *) bp; bp += 4;
+ GLvoid *pointer = (GLvoid *) bins[0]->base;
+ weglVertexAttribIPointer(*index,*size,*type,*stride,pointer);
+}; break;
+case 5543: { // glGetVertexAttribIiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetVertexAttribIiv(*index,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5544: { // glGetVertexAttribIuiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLuint params[4] = {0,0,0,0};
+ weglGetVertexAttribIuiv(*index,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLuint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5545: { // glGetUniformuiv
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLint *location = (GLint *) bp; bp += 4;
+ GLuint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+ weglGetUniformuiv(*program,*location,params);
+ int AP = 0; ErlDrvTermData rt[38];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLuint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5546: { // glBindFragDataLocation
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *color = (GLuint *) bp; bp += 4;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8);
+ weglBindFragDataLocation(*program,*color,name);
+}; break;
+case 5547: { // glGetFragDataLocation
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8);
+ GLint result = weglGetFragDataLocation(*program,name);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5548: { // glUniform1ui
+ GLint *location = (GLint *) bp; bp += 4;
+ GLuint *v0 = (GLuint *) bp; bp += 4;
+ weglUniform1ui(*location,*v0);
+}; break;
+case 5549: { // glUniform2ui
+ GLint *location = (GLint *) bp; bp += 4;
+ GLuint *v0 = (GLuint *) bp; bp += 4;
+ GLuint *v1 = (GLuint *) bp; bp += 4;
+ weglUniform2ui(*location,*v0,*v1);
+}; break;
+case 5550: { // glUniform3ui
+ GLint *location = (GLint *) bp; bp += 4;
+ GLuint *v0 = (GLuint *) bp; bp += 4;
+ GLuint *v1 = (GLuint *) bp; bp += 4;
+ GLuint *v2 = (GLuint *) bp; bp += 4;
+ weglUniform3ui(*location,*v0,*v1,*v2);
+}; break;
+case 5551: { // glUniform4ui
+ GLint *location = (GLint *) bp; bp += 4;
+ GLuint *v0 = (GLuint *) bp; bp += 4;
+ GLuint *v1 = (GLuint *) bp; bp += 4;
+ GLuint *v2 = (GLuint *) bp; bp += 4;
+ GLuint *v3 = (GLuint *) bp; bp += 4;
+ weglUniform4ui(*location,*v0,*v1,*v2,*v3);
+}; break;
+case 5552: { // glUniform1uiv
+ GLint *location = (GLint *) bp; bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ GLuint * value = (GLuint *) bp; bp += (8-((*valueLen*4+0)%8))%8;
+ weglUniform1uiv(*location,*valueLen,value);
+}; break;
+case 5553: { // glUniform2uiv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLuint * value = (GLuint *) bp; bp += *valueLen*8;
+ weglUniform2uiv(*location,*valueLen,value);
+}; break;
+case 5554: { // glUniform3uiv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLuint * value = (GLuint *) bp; bp += *valueLen*12;
+ weglUniform3uiv(*location,*valueLen,value);
+}; break;
+case 5555: { // glUniform4uiv
+ GLint *location = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLuint * value = (GLuint *) bp; bp += *valueLen*16;
+ weglUniform4uiv(*location,*valueLen,value);
+}; break;
+case 5556: { // glTexParameterIiv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLint *params = (GLint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexParameterIiv(*target,*pname,params);
+}; break;
+case 5557: { // glTexParameterIuiv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ int *paramsLen = (int *) bp; bp += 4;
+ GLuint *params = (GLuint *) bp; bp += *paramsLen*4+((*paramsLen)+1)%2*4;
+ weglTexParameterIuiv(*target,*pname,params);
+}; break;
+case 5558: { // glGetTexParameterIiv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[4] = {0,0,0,0};
+ weglGetTexParameterIiv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5559: { // glGetTexParameterIuiv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLuint params[4] = {0,0,0,0};
+ weglGetTexParameterIuiv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLuint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5560: { // glClearBufferiv
+ GLenum *buffer = (GLenum *) bp; bp += 4;
+ GLint *drawbuffer = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLint *value = (GLint *) bp; bp += *valueLen*4+((*valueLen)+1)%2*4;
+ weglClearBufferiv(*buffer,*drawbuffer,value);
+}; break;
+case 5561: { // glClearBufferuiv
+ GLenum *buffer = (GLenum *) bp; bp += 4;
+ GLint *drawbuffer = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLuint *value = (GLuint *) bp; bp += *valueLen*4+((*valueLen)+1)%2*4;
+ weglClearBufferuiv(*buffer,*drawbuffer,value);
+}; break;
+case 5562: { // glClearBufferfv
+ GLenum *buffer = (GLenum *) bp; bp += 4;
+ GLint *drawbuffer = (GLint *) bp; bp += 4;
+ int *valueLen = (int *) bp; bp += 4;
+ GLfloat *value = (GLfloat *) bp; bp += *valueLen*4+((*valueLen)+1)%2*4;
+ weglClearBufferfv(*buffer,*drawbuffer,value);
+}; break;
+case 5563: { // glClearBufferfi
+ GLenum *buffer = (GLenum *) bp; bp += 4;
+ GLint *drawbuffer = (GLint *) bp; bp += 4;
+ GLfloat *depth = (GLfloat *) bp; bp += 4;
+ GLint *stencil = (GLint *) bp; bp += 4;
+ weglClearBufferfi(*buffer,*drawbuffer,*depth,*stencil);
+}; break;
+case 5564: { // glGetStringi
+ GLenum *name = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ const GLubyte * result = weglGetStringi(*name,*index);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) result; rt[AP++] = strlen((char *) result);
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5565: { // glVertexAttribI1iv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint *v = (GLint *) bp; bp += 4;
+ weglVertexAttribI1iv(*index,v);
+}; break;
+case 5566: { // glVertexAttribI2iv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint *v = (GLint *) bp; bp += 4;
+ weglVertexAttribI2iv(*index,v);
+}; break;
+case 5567: { // glVertexAttribI3iv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint *v = (GLint *) bp; bp += 4;
+ weglVertexAttribI3iv(*index,v);
+}; break;
+case 5568: { // glVertexAttribI4iv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLint * v = (GLint *) bp; bp += 16;
+ weglVertexAttribI4iv(*index,v);
+}; break;
+case 5569: { // glVertexAttribI1uiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint *v = (GLuint *) bp; bp += 4;
+ weglVertexAttribI1uiv(*index,v);
+}; break;
+case 5570: { // glVertexAttribI2uiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint *v = (GLuint *) bp; bp += 4;
+ weglVertexAttribI2uiv(*index,v);
+}; break;
+case 5571: { // glVertexAttribI3uiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint *v = (GLuint *) bp; bp += 4;
+ weglVertexAttribI3uiv(*index,v);
+}; break;
+case 5572: { // glVertexAttribI4uiv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint * v = (GLuint *) bp; bp += 16;
+ weglVertexAttribI4uiv(*index,v);
+}; break;
+case 5573: { // glVertexAttribI4bv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLbyte * v = (GLbyte *) bp; bp += 4;
+ weglVertexAttribI4bv(*index,v);
+}; break;
+case 5574: { // glVertexAttribI4sv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLshort * v = (GLshort *) bp; bp += 8;
+ weglVertexAttribI4sv(*index,v);
+}; break;
+case 5575: { // glVertexAttribI4ubv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLubyte * v = (GLubyte *) bp; bp += 4;
+ weglVertexAttribI4ubv(*index,v);
+}; break;
+case 5576: { // glVertexAttribI4usv
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLushort * v = (GLushort *) bp; bp += 8;
+ weglVertexAttribI4usv(*index,v);
+}; break;
+case 5577: { // glDrawArraysInstanced
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLint *first = (GLint *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLsizei *primcount = (GLsizei *) bp; bp += 4;
+ weglDrawArraysInstanced(*mode,*first,*count,*primcount);
+}; break;
+case 5578: { // glDrawElementsInstanced
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *indices = (GLvoid *) * (int *) bp; bp += 4;
+ GLsizei *primcount = (GLsizei *) bp; bp += 4;
+ weglDrawElementsInstanced(*mode,*count,*type,indices,*primcount);
+}; break;
+case 5579: { // glDrawElementsInstanced
+ GLenum *mode = (GLenum *) bp; bp += 4;
+ GLsizei *count = (GLsizei *) bp; bp += 4;
+ GLenum *type = (GLenum *) bp; bp += 4;
+ GLvoid *indices = (GLvoid *) bins[0]->base;
+ GLsizei *primcount = (GLsizei *) bp; bp += 4;
+ weglDrawElementsInstanced(*mode,*count,*type,indices,*primcount);
+}; break;
+case 5580: { // glTexBuffer
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLuint *buffer = (GLuint *) bp; bp += 4;
+ weglTexBuffer(*target,*internalformat,*buffer);
+}; break;
+case 5581: { // glPrimitiveRestartIndex
+ GLuint *index = (GLuint *) bp; bp += 4;
+ weglPrimitiveRestartIndex(*index);
+}; break;
+case 5582: { // glLoadTransposeMatrixfARB
+ GLfloat * m = (GLfloat *) bp; bp += 64;
+ weglLoadTransposeMatrixfARB(m);
+}; break;
+case 5583: { // glLoadTransposeMatrixdARB
+ GLdouble * m = (GLdouble *) bp; bp += 128;
+ weglLoadTransposeMatrixdARB(m);
+}; break;
+case 5584: { // glMultTransposeMatrixfARB
+ GLfloat * m = (GLfloat *) bp; bp += 64;
+ weglMultTransposeMatrixfARB(m);
+}; break;
+case 5585: { // glMultTransposeMatrixdARB
+ GLdouble * m = (GLdouble *) bp; bp += 128;
+ weglMultTransposeMatrixdARB(m);
+}; break;
+case 5586: { // glWeightbvARB
+ int * weightsLen = (int *) bp; bp += 4;
+ GLbyte * weights = (GLbyte *) bp; bp += (8-((*weightsLen*1+4)%8))%8;
+ weglWeightbvARB(*weightsLen,weights);
+}; break;
+case 5587: { // glWeightsvARB
+ int * weightsLen = (int *) bp; bp += 4;
+ GLshort * weights = (GLshort *) bp; bp += (8-((*weightsLen*2+4)%8))%8;
+ weglWeightsvARB(*weightsLen,weights);
+}; break;
+case 5588: { // glWeightivARB
+ int * weightsLen = (int *) bp; bp += 4;
+ GLint * weights = (GLint *) bp; bp += (8-((*weightsLen*4+4)%8))%8;
+ weglWeightivARB(*weightsLen,weights);
+}; break;
+case 5589: { // glWeightfvARB
+ int * weightsLen = (int *) bp; bp += 4;
+ GLfloat * weights = (GLfloat *) bp; bp += (8-((*weightsLen*4+4)%8))%8;
+ weglWeightfvARB(*weightsLen,weights);
+}; break;
+case 5590: { // glWeightdvARB
+ int * weightsLen = (int *) bp; bp += 8;
+ GLdouble * weights = (GLdouble *) bp; bp += (8-((*weightsLen*8+0)%8))%8;
+ weglWeightdvARB(*weightsLen,weights);
+}; break;
+case 5591: { // glWeightubvARB
+ int * weightsLen = (int *) bp; bp += 4;
+ GLubyte * weights = (GLubyte *) bp; bp += (8-((*weightsLen*1+4)%8))%8;
+ weglWeightubvARB(*weightsLen,weights);
+}; break;
+case 5592: { // glWeightusvARB
+ int * weightsLen = (int *) bp; bp += 4;
+ GLushort * weights = (GLushort *) bp; bp += (8-((*weightsLen*2+4)%8))%8;
+ weglWeightusvARB(*weightsLen,weights);
+}; break;
+case 5593: { // glWeightuivARB
+ int * weightsLen = (int *) bp; bp += 4;
+ GLuint * weights = (GLuint *) bp; bp += (8-((*weightsLen*4+4)%8))%8;
+ weglWeightuivARB(*weightsLen,weights);
+}; break;
+case 5594: { // glVertexBlendARB
+ GLint *count = (GLint *) bp; bp += 4;
+ weglVertexBlendARB(*count);
+}; break;
+case 5595: { // glCurrentPaletteMatrixARB
+ GLint *index = (GLint *) bp; bp += 4;
+ weglCurrentPaletteMatrixARB(*index);
+}; break;
+case 5596: { // glMatrixIndexubvARB
+ int * indicesLen = (int *) bp; bp += 4;
+ GLubyte * indices = (GLubyte *) bp; bp += (8-((*indicesLen*1+4)%8))%8;
+ weglMatrixIndexubvARB(*indicesLen,indices);
+}; break;
+case 5597: { // glMatrixIndexusvARB
+ int * indicesLen = (int *) bp; bp += 4;
+ GLushort * indices = (GLushort *) bp; bp += (8-((*indicesLen*2+4)%8))%8;
+ weglMatrixIndexusvARB(*indicesLen,indices);
+}; break;
+case 5598: { // glMatrixIndexuivARB
+ int * indicesLen = (int *) bp; bp += 4;
+ GLuint * indices = (GLuint *) bp; bp += (8-((*indicesLen*4+4)%8))%8;
+ weglMatrixIndexuivARB(*indicesLen,indices);
+}; break;
+case 5599: { // glProgramStringARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *format = (GLenum *) bp; bp += 4;
+ GLvoid *string = (GLvoid *) bp;
+ int stringLen = strlen((char *)string); bp += stringLen+1+((8-((1+stringLen+0)%8))%8);
+ weglProgramStringARB(*target,*format,stringLen,string);
+}; break;
+case 5600: { // glBindProgramARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *program = (GLuint *) bp; bp += 4;
+ weglBindProgramARB(*target,*program);
+}; break;
+case 5601: { // glDeleteProgramsARB
+ int * programsLen = (int *) bp; bp += 4;
+ GLuint * programs = (GLuint *) bp; bp += (8-((*programsLen*4+4)%8))%8;
+ weglDeleteProgramsARB(*programsLen,programs);
+}; break;
+case 5602: { // glGenProgramsARB
+ GLsizei *n = (GLsizei *) bp; bp += 4;
+ GLuint *programs;
+ programs = (GLuint *) driver_alloc(sizeof(GLuint) * *n);
+ weglGenProgramsARB(*n,programs);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *n; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) programs[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(programs);
+}; break;
+case 5603: { // glProgramEnvParameter4dARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLdouble *x = (GLdouble *) bp; bp += 8;
+ GLdouble *y = (GLdouble *) bp; bp += 8;
+ GLdouble *z = (GLdouble *) bp; bp += 8;
+ GLdouble *w = (GLdouble *) bp; bp += 8;
+ weglProgramEnvParameter4dARB(*target,*index,*x,*y,*z,*w);
+}; break;
+case 5604: { // glProgramEnvParameter4dvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLdouble * params = (GLdouble *) bp; bp += 32;
+ weglProgramEnvParameter4dvARB(*target,*index,params);
+}; break;
+case 5605: { // glProgramEnvParameter4fARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat *x = (GLfloat *) bp; bp += 4;
+ GLfloat *y = (GLfloat *) bp; bp += 4;
+ GLfloat *z = (GLfloat *) bp; bp += 4;
+ GLfloat *w = (GLfloat *) bp; bp += 4;
+ weglProgramEnvParameter4fARB(*target,*index,*x,*y,*z,*w);
+}; break;
+case 5606: { // glProgramEnvParameter4fvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat * params = (GLfloat *) bp; bp += 16;
+ weglProgramEnvParameter4fvARB(*target,*index,params);
+}; break;
+case 5607: { // glProgramLocalParameter4dARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLdouble *x = (GLdouble *) bp; bp += 8;
+ GLdouble *y = (GLdouble *) bp; bp += 8;
+ GLdouble *z = (GLdouble *) bp; bp += 8;
+ GLdouble *w = (GLdouble *) bp; bp += 8;
+ weglProgramLocalParameter4dARB(*target,*index,*x,*y,*z,*w);
+}; break;
+case 5608: { // glProgramLocalParameter4dvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLdouble * params = (GLdouble *) bp; bp += 32;
+ weglProgramLocalParameter4dvARB(*target,*index,params);
+}; break;
+case 5609: { // glProgramLocalParameter4fARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat *x = (GLfloat *) bp; bp += 4;
+ GLfloat *y = (GLfloat *) bp; bp += 4;
+ GLfloat *z = (GLfloat *) bp; bp += 4;
+ GLfloat *w = (GLfloat *) bp; bp += 4;
+ weglProgramLocalParameter4fARB(*target,*index,*x,*y,*z,*w);
+}; break;
+case 5610: { // glProgramLocalParameter4fvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat * params = (GLfloat *) bp; bp += 16;
+ weglProgramLocalParameter4fvARB(*target,*index,params);
+}; break;
+case 5611: { // glGetProgramEnvParameterdvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLdouble params[4] = {0.0,0.0,0.0,0.0};
+ weglGetProgramEnvParameterdvARB(*target,*index,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble *paramsTmp = params;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5612: { // glGetProgramEnvParameterfvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetProgramEnvParameterfvARB(*target,*index,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5613: { // glGetProgramLocalParameterdvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLdouble params[4] = {0.0,0.0,0.0,0.0};
+ weglGetProgramLocalParameterdvARB(*target,*index,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble *paramsTmp = params;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5614: { // glGetProgramLocalParameterfvARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLfloat params[4] = {0.0,0.0,0.0,0.0};
+ weglGetProgramLocalParameterfvARB(*target,*index,params);
+ int AP = 0; ErlDrvTermData rt[14];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[4], *paramsTmp = paramsConv;
+ for(int i=0; i < 4; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 4;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 14 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,14);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5615: { // glGetProgramStringARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLvoid *string = (GLvoid *) bins[0]->base;
+ weglGetProgramStringARB(*target,*pname,string);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5616: { // glDeleteObjectARB
+ GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ weglDeleteObjectARB(obj);
+}; break;
+case 5617: { // glGetHandleARB
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLhandleARB result = weglGetHandleARB(*pname);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5618: { // glDetachObjectARB
+ GLhandleARB containerObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLhandleARB attachedObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ weglDetachObjectARB(containerObj,attachedObj);
+}; break;
+case 5619: { // glCreateShaderObjectARB
+ GLenum *shaderType = (GLenum *) bp; bp += 4;
+ GLhandleARB result = weglCreateShaderObjectARB(*shaderType);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5620: { // glShaderSourceARB
+ GLhandleARB shaderObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ int * stringLen = (int *) bp; bp += 4;
+ int * stringTotSize = (int *) bp; bp += 4;
+ GLchar **string;
+ string = (GLchar **) driver_alloc(sizeof(GLchar *) * *stringLen);
+ for(int i=0;i<*stringLen;i++) {
+ string[i] = (GLchar *) bp; bp += 1+strlen(bp);};
+ bp += (8 - ((4 + *stringTotSize) % 8)) % 8;
+ weglShaderSourceARB(shaderObj,*stringLen,(const GLchar **) string,NULL);
+ driver_free(string);
+}; break;
+case 5621: { // glCompileShaderARB
+ GLhandleARB shaderObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ weglCompileShaderARB(shaderObj);
+}; break;
+case 5622: { // glCreateProgramObjectARB
+ GLhandleARB result = weglCreateProgramObjectARB();
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5623: { // glAttachObjectARB
+ GLhandleARB containerObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ weglAttachObjectARB(containerObj,obj);
+}; break;
+case 5624: { // glLinkProgramARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ weglLinkProgramARB(programObj);
+}; break;
+case 5625: { // glUseProgramObjectARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ weglUseProgramObjectARB(programObj);
+}; break;
+case 5626: { // glValidateProgramARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ weglValidateProgramARB(programObj);
+}; break;
+case 5627: { // glGetObjectParameterfvARB
+ GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLfloat params[1] = {0.0};
+ weglGetObjectParameterfvARB(obj,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv = (double) *params;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) &paramsConv;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5628: { // glGetObjectParameterivARB
+ GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetObjectParameterivARB(obj,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5629: { // glGetInfoLogARB
+ GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLsizei *maxLength = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLchar *infoLog;
+ infoLog = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength);
+ weglGetInfoLogARB(obj,*maxLength,length,infoLog);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) infoLog; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(infoLog);
+}; break;
+case 5630: { // glGetAttachedObjectsARB
+ GLhandleARB containerObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLsizei *maxCount = (GLsizei *) bp; bp += 4;
+ GLsizei count[1] = {0};
+ GLhandleARB *obj;
+ obj = (GLhandleARB *) driver_alloc(sizeof(GLhandleARB) * *maxCount);
+ weglGetAttachedObjectsARB(containerObj,*maxCount,count,obj);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*count)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *count; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) obj[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*count)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*count)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*count)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(obj);
+}; break;
+case 5631: { // glGetUniformLocationARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8);
+ GLint result = weglGetUniformLocationARB(programObj,name);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5632: { // glGetActiveUniformARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLsizei *maxLength = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLint size[1] = {0};
+ GLenum type[1] = {0};
+ GLchar *name;
+ name = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength);
+ weglGetActiveUniformARB(programObj,*index,*maxLength,length,size,type,name);
+ int AP = 0; ErlDrvTermData rt[13];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type;
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(name);
+}; break;
+case 5633: { // glGetUniformfvARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLint *location = (GLint *) bp; bp += 4;
+ GLfloat params[16] = {0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0};
+ weglGetUniformfvARB(programObj,*location,params);
+ int AP = 0; ErlDrvTermData rt[38];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLdouble paramsConv[16], *paramsTmp = paramsConv;
+ for(int i=0; i < 16; i++) paramsConv[i] = (GLdouble) params[i];
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_FLOAT; rt[AP++] = (ErlDrvTermData) paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5634: { // glGetUniformivARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLint *location = (GLint *) bp; bp += 4;
+ GLint params[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};
+ weglGetUniformivARB(programObj,*location,params);
+ int AP = 0; ErlDrvTermData rt[38];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ GLint *paramsTmp = params;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *paramsTmp++;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 16;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 38 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,38);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5635: { // glGetShaderSourceARB
+ GLhandleARB obj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLsizei *maxLength = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLchar *source;
+ source = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength);
+ weglGetShaderSourceARB(obj,*maxLength,length,source);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) source; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(source);
+}; break;
+case 5636: { // glBindAttribLocationARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+4)%8))%8);
+ weglBindAttribLocationARB(programObj,*index,name);
+}; break;
+case 5637: { // glGetActiveAttribARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLsizei *maxLength = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLint size[1] = {0};
+ GLenum type[1] = {0};
+ GLchar *name;
+ name = (GLchar *) driver_alloc(sizeof(GLchar) * *maxLength);
+ weglGetActiveAttribARB(programObj,*index,*maxLength,length,size,type,name);
+ int AP = 0; ErlDrvTermData rt[13];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *size;
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *type;
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) name; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 3;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 13 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,13);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(name);
+}; break;
+case 5638: { // glGetAttribLocationARB
+ GLhandleARB programObj = (GLhandleARB) * (GLuint64EXT *) bp; bp += 8;
+ GLchar *name = (GLchar *) bp;
+ int nameLen = strlen((char *)name); bp += nameLen+1+((8-((1+nameLen+0)%8))%8);
+ GLint result = weglGetAttribLocationARB(programObj,name);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5639: { // glIsRenderbuffer
+ GLuint *renderbuffer = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsRenderbuffer(*renderbuffer);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5640: { // glBindRenderbuffer
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *renderbuffer = (GLuint *) bp; bp += 4;
+ weglBindRenderbuffer(*target,*renderbuffer);
+}; break;
+case 5641: { // glDeleteRenderbuffers
+ int * renderbuffersLen = (int *) bp; bp += 4;
+ GLuint * renderbuffers = (GLuint *) bp; bp += (8-((*renderbuffersLen*4+4)%8))%8;
+ weglDeleteRenderbuffers(*renderbuffersLen,renderbuffers);
+}; break;
+case 5642: { // glGenRenderbuffers
+ GLsizei *n = (GLsizei *) bp; bp += 4;
+ GLuint *renderbuffers;
+ renderbuffers = (GLuint *) driver_alloc(sizeof(GLuint) * *n);
+ weglGenRenderbuffers(*n,renderbuffers);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *n; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) renderbuffers[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(renderbuffers);
+}; break;
+case 5643: { // glRenderbufferStorage
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ weglRenderbufferStorage(*target,*internalformat,*width,*height);
+}; break;
+case 5644: { // glGetRenderbufferParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetRenderbufferParameteriv(*target,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5645: { // glIsFramebuffer
+ GLuint *framebuffer = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsFramebuffer(*framebuffer);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5646: { // glBindFramebuffer
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLuint *framebuffer = (GLuint *) bp; bp += 4;
+ weglBindFramebuffer(*target,*framebuffer);
+}; break;
+case 5647: { // glDeleteFramebuffers
+ int * framebuffersLen = (int *) bp; bp += 4;
+ GLuint * framebuffers = (GLuint *) bp; bp += (8-((*framebuffersLen*4+4)%8))%8;
+ weglDeleteFramebuffers(*framebuffersLen,framebuffers);
+}; break;
+case 5648: { // glGenFramebuffers
+ GLsizei *n = (GLsizei *) bp; bp += 4;
+ GLuint *framebuffers;
+ framebuffers = (GLuint *) driver_alloc(sizeof(GLuint) * *n);
+ weglGenFramebuffers(*n,framebuffers);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *n; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) framebuffers[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(framebuffers);
+}; break;
+case 5649: { // glCheckFramebufferStatus
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum result = weglCheckFramebufferStatus(*target);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5650: { // glFramebufferTexture1D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLenum *textarget = (GLenum *) bp; bp += 4;
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ weglFramebufferTexture1D(*target,*attachment,*textarget,*texture,*level);
+}; break;
+case 5651: { // glFramebufferTexture2D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLenum *textarget = (GLenum *) bp; bp += 4;
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ weglFramebufferTexture2D(*target,*attachment,*textarget,*texture,*level);
+}; break;
+case 5652: { // glFramebufferTexture3D
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLenum *textarget = (GLenum *) bp; bp += 4;
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *zoffset = (GLint *) bp; bp += 4;
+ weglFramebufferTexture3D(*target,*attachment,*textarget,*texture,*level,*zoffset);
+}; break;
+case 5653: { // glFramebufferRenderbuffer
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLenum *renderbuffertarget = (GLenum *) bp; bp += 4;
+ GLuint *renderbuffer = (GLuint *) bp; bp += 4;
+ weglFramebufferRenderbuffer(*target,*attachment,*renderbuffertarget,*renderbuffer);
+}; break;
+case 5654: { // glGetFramebufferAttachmentParameteriv
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint params[1] = {0};
+ weglGetFramebufferAttachmentParameteriv(*target,*attachment,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) *params;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5655: { // glGenerateMipmap
+ GLenum *target = (GLenum *) bp; bp += 4;
+ weglGenerateMipmap(*target);
+}; break;
+case 5656: { // glBlitFramebuffer
+ GLint *srcX0 = (GLint *) bp; bp += 4;
+ GLint *srcY0 = (GLint *) bp; bp += 4;
+ GLint *srcX1 = (GLint *) bp; bp += 4;
+ GLint *srcY1 = (GLint *) bp; bp += 4;
+ GLint *dstX0 = (GLint *) bp; bp += 4;
+ GLint *dstY0 = (GLint *) bp; bp += 4;
+ GLint *dstX1 = (GLint *) bp; bp += 4;
+ GLint *dstY1 = (GLint *) bp; bp += 4;
+ GLbitfield *mask = (GLbitfield *) bp; bp += 4;
+ GLenum *filter = (GLenum *) bp; bp += 4;
+ weglBlitFramebuffer(*srcX0,*srcY0,*srcX1,*srcY1,*dstX0,*dstY0,*dstX1,*dstY1,*mask,*filter);
+}; break;
+case 5657: { // glRenderbufferStorageMultisample
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLsizei *samples = (GLsizei *) bp; bp += 4;
+ GLenum *internalformat = (GLenum *) bp; bp += 4;
+ GLsizei *width = (GLsizei *) bp; bp += 4;
+ GLsizei *height = (GLsizei *) bp; bp += 4;
+ weglRenderbufferStorageMultisample(*target,*samples,*internalformat,*width,*height);
+}; break;
+case 5658: { // glFramebufferTextureLayer
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLint *layer = (GLint *) bp; bp += 4;
+ weglFramebufferTextureLayer(*target,*attachment,*texture,*level,*layer);
+}; break;
+case 5659: { // glProgramParameteriARB
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *value = (GLint *) bp; bp += 4;
+ weglProgramParameteriARB(*program,*pname,*value);
+}; break;
+case 5660: { // glFramebufferTextureARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ weglFramebufferTextureARB(*target,*attachment,*texture,*level);
+}; break;
+case 5661: { // glFramebufferTextureFaceARB
+ GLenum *target = (GLenum *) bp; bp += 4;
+ GLenum *attachment = (GLenum *) bp; bp += 4;
+ GLuint *texture = (GLuint *) bp; bp += 4;
+ GLint *level = (GLint *) bp; bp += 4;
+ GLenum *face = (GLenum *) bp; bp += 4;
+ weglFramebufferTextureFaceARB(*target,*attachment,*texture,*level,*face);
+}; break;
+case 5662: { // glVertexAttribDivisorARB
+ GLuint *index = (GLuint *) bp; bp += 4;
+ GLuint *divisor = (GLuint *) bp; bp += 4;
+ weglVertexAttribDivisorARB(*index,*divisor);
+}; break;
+case 5663: { // glFlushMappedBufferRange
+ GLenum *target = (GLenum *) bp; bp += 4;
+ bp += 4;
+ GLintptr offset = (GLintptr) * (GLuint64EXT *) bp; bp += 8;
+ GLsizeiptr length = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ weglFlushMappedBufferRange(*target,offset,length);
+}; break;
+case 5664: { // glBindVertexArray
+ GLuint *array = (GLuint *) bp; bp += 4;
+ weglBindVertexArray(*array);
+}; break;
+case 5665: { // glDeleteVertexArrays
+ int * arraysLen = (int *) bp; bp += 4;
+ GLuint * arrays = (GLuint *) bp; bp += (8-((*arraysLen*4+4)%8))%8;
+ weglDeleteVertexArrays(*arraysLen,arrays);
+}; break;
+case 5666: { // glGenVertexArrays
+ GLsizei *n = (GLsizei *) bp; bp += 4;
+ GLuint *arrays;
+ arrays = (GLuint *) driver_alloc(sizeof(GLuint) * *n);
+ weglGenVertexArrays(*n,arrays);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*n)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *n; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) arrays[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*n)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*n)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*n)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(arrays);
+}; break;
+case 5667: { // glIsVertexArray
+ GLuint *array = (GLuint *) bp; bp += 4;
+ GLboolean result = weglIsVertexArray(*array);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5668: { // glGetUniformIndices
+ GLuint *program = (GLuint *) bp; bp += 4;
+ int * uniformNamesLen = (int *) bp; bp += 4;
+ int * uniformNamesTotSize = (int *) bp; bp += 4;
+ GLchar **uniformNames;
+ uniformNames = (GLchar **) driver_alloc(sizeof(GLchar *) * *uniformNamesLen);
+ for(int i=0;i<*uniformNamesLen;i++) {
+ uniformNames[i] = (GLchar *) bp; bp += 1+strlen(bp);};
+ bp += (8 - ((0 + *uniformNamesTotSize) % 8)) % 8;
+ GLuint *uniformIndices;
+ uniformIndices = (GLuint *) driver_alloc(sizeof(GLuint) * *uniformNamesLen);
+ weglGetUniformIndices(*program,*uniformNamesLen,(const GLchar **) uniformNames,uniformIndices);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*uniformNamesLen)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *uniformNamesLen; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) uniformIndices[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*uniformNamesLen)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*uniformNamesLen)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*uniformNamesLen)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(uniformIndices);
+ driver_free(uniformNames);
+}; break;
+case 5669: { // glGetActiveUniformsiv
+ GLuint *program = (GLuint *) bp; bp += 4;
+ int * uniformIndicesLen = (int *) bp; bp += 4;
+ GLuint * uniformIndices = (GLuint *) bp; bp += (8-((*uniformIndicesLen*4+0)%8))%8;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *params;
+ params = (GLint *) driver_alloc(sizeof(GLint) * *uniformIndicesLen);
+ weglGetActiveUniformsiv(*program,*uniformIndicesLen,uniformIndices,*pname,params);
+ int AP = 0; ErlDrvTermData *rt;
+ rt = (ErlDrvTermData *) driver_alloc(sizeof(ErlDrvTermData)*(7 + (*uniformIndicesLen)*2));
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ for(int i=0; i < *uniformIndicesLen; i++) {
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) params[i];}
+ rt[AP++] = ERL_DRV_NIL; rt[AP++] = ERL_DRV_LIST; rt[AP++] = (*uniformIndicesLen)+1;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 + (*uniformIndicesLen)*2 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7 + (*uniformIndicesLen)*2);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(rt);
+ driver_free(params);
+}; break;
+case 5670: { // glGetActiveUniformName
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *uniformIndex = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLchar *uniformName;
+ uniformName = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetActiveUniformName(*program,*uniformIndex,*bufSize,length,uniformName);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) uniformName; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(uniformName);
+}; break;
+case 5671: { // glGetUniformBlockIndex
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLchar *uniformBlockName = (GLchar *) bp;
+ int uniformBlockNameLen = strlen((char *)uniformBlockName); bp += uniformBlockNameLen+1+((8-((1+uniformBlockNameLen+4)%8))%8);
+ GLuint result = weglGetUniformBlockIndex(*program,uniformBlockName);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_INT; rt[AP++] = (ErlDrvSInt) result;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 6 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,6);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5672: { // glGetActiveUniformBlockiv
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *uniformBlockIndex = (GLuint *) bp; bp += 4;
+ GLenum *pname = (GLenum *) bp; bp += 4;
+ GLint *params = (GLint *) bins[0]->base;
+ weglGetActiveUniformBlockiv(*program,*uniformBlockIndex,*pname,params);
+ int AP = 0; ErlDrvTermData rt[6];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "ok");
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+}; break;
+case 5673: { // glGetActiveUniformBlockName
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *uniformBlockIndex = (GLuint *) bp; bp += 4;
+ GLsizei *bufSize = (GLsizei *) bp; bp += 4;
+ GLsizei length[1] = {0};
+ GLchar *uniformBlockName;
+ uniformBlockName = (GLchar *) driver_alloc(sizeof(GLchar) * *bufSize);
+ weglGetActiveUniformBlockName(*program,*uniformBlockIndex,*bufSize,length,uniformBlockName);
+ int AP = 0; ErlDrvTermData rt[7];
+ rt[AP++]=ERL_DRV_ATOM; rt[AP++]=driver_mk_atom((char *) "_wxe_result_");
+ rt[AP++] = ERL_DRV_STRING; rt[AP++] = (ErlDrvTermData) uniformBlockName; rt[AP++] = *length;
+ rt[AP++] = ERL_DRV_TUPLE; rt[AP++] = 2;
+ if (AP != 7 ) fprintf(stderr, "%d: ERROR AP mismatch %d %d\r\n",__LINE__,AP,7);
+ driver_send_term(WXE_DRV_PORT,caller,rt,AP);
+ driver_free(uniformBlockName);
+}; break;
+case 5674: { // glUniformBlockBinding
+ GLuint *program = (GLuint *) bp; bp += 4;
+ GLuint *uniformBlockIndex = (GLuint *) bp; bp += 4;
+ GLuint *uniformBlockBinding = (GLuint *) bp; bp += 4;
+ weglUniformBlockBinding(*program,*uniformBlockIndex,*uniformBlockBinding);
+}; break;
+case 5675: { // glCopyBufferSubData
+ GLenum *readTarget = (GLenum *) bp; bp += 4;
+ GLenum *writeTarget = (GLenum *) bp; bp += 4;
+ GLintptr readOffset = (GLintptr) * (GLuint64EXT *) bp; bp += 8;
+ GLintptr writeOffset = (GLintptr) * (GLuint64EXT *) bp; bp += 8;
+ GLsizeiptr size = (GLsizeiptr) * (GLuint64EXT *) bp; bp += 8;
+ weglCopyBufferSubData(*readTarget,*writeTarget,readOffset,writeOffset,size);
+}; break;
+case 5676: { // glResizeBuffersMESA
+ weglResizeBuffersMESA();
+}; break;
+case 5677: { // glWindowPos4dvMESA
+ GLdouble *v = (GLdouble *) bp; bp += 8;
+ weglWindowPos4dvMESA(v);
+}; break;
+case 5678: { // glWindowPos4fvMESA
+ GLfloat *v = (GLfloat *) bp; bp += 4;
+ weglWindowPos4fvMESA(v);
+}; break;
+case 5679: { // glWindowPos4ivMESA
+ GLint *v = (GLint *) bp; bp += 4;
+ weglWindowPos4ivMESA(v);
+}; break;
+case 5680: { // glWindowPos4svMESA
+ GLshort *v = (GLshort *) bp; bp += 2;
+ weglWindowPos4svMESA(v);
+}; break;
+case 5681: { // glDepthBoundsEXT
+ GLclampd *zmin = (GLclampd *) bp; bp += 8;
+ GLclampd *zmax = (GLclampd *) bp; bp += 8;
+ weglDepthBoundsEXT(*zmin,*zmax);
+}; break;
+case 5682: { // glStencilClearTagEXT
+ GLsizei *stencilTagBits = (GLsizei *) bp; bp += 4;
+ GLuint *stencilClearTag = (GLuint *) bp; bp += 4;
+ weglStencilClearTagEXT(*stencilTagBits,*stencilClearTag);
+}; break;
+}} /* The End */
+
diff --git a/lib/wx/c_src/gen/glu_finit.h b/lib/wx/c_src/gen/glu_finit.h
new file mode 100644
index 0000000000..7135c53243
--- /dev/null
+++ b/lib/wx/c_src/gen/glu_finit.h
@@ -0,0 +1,54 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+/***** This file is generated do not edit ****/
+
+static struct {
+ const char * name;
+ const char * alt;
+ void * func;
+} glu_fns[] =
+{
+ {"gluBuild1DMipmapLevels", NULL, &wegluBuild1DMipmapLevels},
+ {"gluBuild1DMipmaps", NULL, &wegluBuild1DMipmaps},
+ {"gluBuild2DMipmapLevels", NULL, &wegluBuild2DMipmapLevels},
+ {"gluBuild2DMipmaps", NULL, &wegluBuild2DMipmaps},
+ {"gluBuild3DMipmapLevels", NULL, &wegluBuild3DMipmapLevels},
+ {"gluBuild3DMipmaps", NULL, &wegluBuild3DMipmaps},
+ {"gluCheckExtension", NULL, &wegluCheckExtension},
+ {"gluCylinder", NULL, &wegluCylinder},
+ {"gluDeleteQuadric", NULL, &wegluDeleteQuadric},
+ {"gluDisk", NULL, &wegluDisk},
+ {"gluErrorString", NULL, &wegluErrorString},
+ {"gluGetString", NULL, &wegluGetString},
+ {"gluLookAt", NULL, &wegluLookAt},
+ {"gluNewQuadric", NULL, &wegluNewQuadric},
+ {"gluOrtho2D", NULL, &wegluOrtho2D},
+ {"gluPartialDisk", NULL, &wegluPartialDisk},
+ {"gluPerspective", NULL, &wegluPerspective},
+ {"gluPickMatrix", NULL, &wegluPickMatrix},
+ {"gluProject", NULL, &wegluProject},
+ {"gluQuadricDrawStyle", NULL, &wegluQuadricDrawStyle},
+ {"gluQuadricNormals", NULL, &wegluQuadricNormals},
+ {"gluQuadricOrientation", NULL, &wegluQuadricOrientation},
+ {"gluQuadricTexture", NULL, &wegluQuadricTexture},
+ {"gluScaleImage", NULL, &wegluScaleImage},
+ {"gluSphere", NULL, &wegluSphere},
+ {"gluUnProject", NULL, &wegluUnProject},
+ {"gluUnProject4", NULL, &wegluUnProject4},
+ { NULL, NULL, NULL}};
diff --git a/lib/wx/c_src/gen/wxe_derived_dest.h b/lib/wx/c_src/gen/wxe_derived_dest.h
new file mode 100644
index 0000000000..ec56df7d4e
--- /dev/null
+++ b/lib/wx/c_src/gen/wxe_derived_dest.h
@@ -0,0 +1,742 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+
+/***** This file is generated do not edit ****/
+
+class EwxWindow : public wxWindow {
+ public: ~EwxWindow() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxWindow(parent,id,pos,size,style) {};
+ EwxWindow() : wxWindow() {};
+};
+
+class EwxFrame : public wxFrame {
+ public: ~EwxFrame() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFrame(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxFrame(parent,id,title,pos,size,style) {};
+ EwxFrame() : wxFrame() {};
+};
+
+class EwxMiniFrame : public wxMiniFrame {
+ public: ~EwxMiniFrame() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMiniFrame(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxMiniFrame(parent,id,title,pos,size,style) {};
+ EwxMiniFrame() : wxMiniFrame() {};
+};
+
+class EwxSplashScreen : public wxSplashScreen {
+ public: ~EwxSplashScreen() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSplashScreen(const wxBitmap& bitmap,long splashStyle,int milliseconds,wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSplashScreen(bitmap,splashStyle,milliseconds,parent,id,pos,size,style) {};
+ EwxSplashScreen() : wxSplashScreen() {};
+};
+
+class EwxPanel : public wxPanel {
+ public: ~EwxPanel() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPanel(wxWindow * parent,int x,int y,int width,int height,long style) : wxPanel(parent,x,y,width,height,style) {};
+ EwxPanel(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style) : wxPanel(parent,winid,pos,size,style) {};
+ EwxPanel() : wxPanel() {};
+};
+
+class EwxScrolledWindow : public wxScrolledWindow {
+ public: ~EwxScrolledWindow() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxScrolledWindow(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style) : wxScrolledWindow(parent,winid,pos,size,style) {};
+ EwxScrolledWindow() : wxScrolledWindow() {};
+};
+
+class EwxSashWindow : public wxSashWindow {
+ public: ~EwxSashWindow() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSashWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSashWindow(parent,id,pos,size,style) {};
+ EwxSashWindow() : wxSashWindow() {};
+};
+
+class EwxSashLayoutWindow : public wxSashLayoutWindow {
+ public: ~EwxSashLayoutWindow() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSashLayoutWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSashLayoutWindow(parent,id,pos,size,style) {};
+ EwxSashLayoutWindow() : wxSashLayoutWindow() {};
+};
+
+class EwxGrid : public wxGrid {
+ public: ~EwxGrid() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxGrid(wxWindow * parent,int x,int y,int w,int h,long style) : wxGrid(parent,x,y,w,h,style) {};
+ EwxGrid(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxGrid(parent,id,pos,size,style) {};
+ EwxGrid() : wxGrid() {};
+};
+
+class EwxMirrorDC : public wxMirrorDC {
+ public: ~EwxMirrorDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMirrorDC(wxDC& dc,bool mirror) : wxMirrorDC(dc,mirror) {};
+};
+
+class EwxScreenDC : public wxScreenDC {
+ public: ~EwxScreenDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxScreenDC() : wxScreenDC() {};
+};
+
+class EwxPostScriptDC : public wxPostScriptDC {
+ public: ~EwxPostScriptDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPostScriptDC(const wxPrintData& printData) : wxPostScriptDC(printData) {};
+ EwxPostScriptDC() : wxPostScriptDC() {};
+};
+
+class EwxWindowDC : public wxWindowDC {
+ public: ~EwxWindowDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxWindowDC(wxWindow * win) : wxWindowDC(win) {};
+ EwxWindowDC() : wxWindowDC() {};
+};
+
+class EwxClientDC : public wxClientDC {
+ public: ~EwxClientDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxClientDC(wxWindow * win) : wxClientDC(win) {};
+ EwxClientDC() : wxClientDC() {};
+};
+
+class EwxPaintDC : public wxPaintDC {
+ public: ~EwxPaintDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPaintDC(wxWindow * win) : wxPaintDC(win) {};
+ EwxPaintDC() : wxPaintDC() {};
+};
+
+class EwxMemoryDC : public wxMemoryDC {
+ public: ~EwxMemoryDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMemoryDC(wxDC * dc) : wxMemoryDC(dc) {};
+ EwxMemoryDC(wxBitmap& dc) : wxMemoryDC(dc) {};
+ EwxMemoryDC() : wxMemoryDC() {};
+};
+
+class EwxBufferedDC : public wxBufferedDC {
+ public: ~EwxBufferedDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxBufferedDC(wxDC * dc,const wxSize& area,int style) : wxBufferedDC(dc,area,style) {};
+ EwxBufferedDC(wxDC * dc,wxBitmap& buffer,int style) : wxBufferedDC(dc,buffer,style) {};
+ EwxBufferedDC() : wxBufferedDC() {};
+};
+
+class EwxBufferedPaintDC : public wxBufferedPaintDC {
+ public: ~EwxBufferedPaintDC() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxBufferedPaintDC(wxWindow * window,wxBitmap& buffer,int style) : wxBufferedPaintDC(window,buffer,style) {};
+ EwxBufferedPaintDC(wxWindow * window,int style) : wxBufferedPaintDC(window,style) {};
+};
+
+class EwxMenuBar : public wxMenuBar {
+ public: ~EwxMenuBar() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMenuBar(long style) : wxMenuBar(style) {};
+ EwxMenuBar() : wxMenuBar() {};
+};
+
+class EwxMenu : public wxMenu {
+ public: ~EwxMenu() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMenu(const wxString& title,long style) : wxMenu(title,style) {};
+ EwxMenu(long style) : wxMenu(style) {};
+};
+
+class EwxMenuItem : public wxMenuItem {
+ public: ~EwxMenuItem() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMenuItem(wxMenu * parentMenu,int id,const wxString& text,const wxString& help,wxItemKind kind,wxMenu * subMenu) : wxMenuItem(parentMenu,id,text,help,kind,subMenu) {};
+};
+
+class EwxStatusBar : public wxStatusBar {
+ public: ~EwxStatusBar() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxStatusBar(wxWindow * parent,wxWindowID winid,long style) : wxStatusBar(parent,winid,style) {};
+ EwxStatusBar() : wxStatusBar() {};
+};
+
+class EwxBitmap : public wxBitmap {
+ public: ~EwxBitmap() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxBitmap(const char * bits,int width,int height,int depth) : wxBitmap(bits,width,height,depth) {};
+ EwxBitmap(int width,int height,int depth) : wxBitmap(width,height,depth) {};
+ EwxBitmap(const wxString& filename,wxBitmapType type) : wxBitmap(filename,type) {};
+ EwxBitmap(const wxImage& image,int depth) : wxBitmap(image,depth) {};
+ EwxBitmap() : wxBitmap() {};
+};
+
+class EwxIcon : public wxIcon {
+ public: ~EwxIcon() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxIcon(const wxString& filename,wxBitmapType type,int desiredWidth,int desiredHeight) : wxIcon(filename,type,desiredWidth,desiredHeight) {};
+ EwxIcon(const wxIconLocation& loc) : wxIcon(loc) {};
+ EwxIcon() : wxIcon() {};
+};
+
+class EwxCursor : public wxCursor {
+ public: ~EwxCursor() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxCursor(const char * bits,int width,int height,int hotSpotX,int hotSpotY) : wxCursor(bits,width,height,hotSpotX,hotSpotY) {};
+ EwxCursor(int cursorId) : wxCursor(cursorId) {};
+ EwxCursor(const wxImage& image) : wxCursor(image) {};
+ EwxCursor() : wxCursor() {};
+};
+
+class EwxMask : public wxMask {
+ public: ~EwxMask() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMask(const wxBitmap& bitmap,int paletteIndex) : wxMask(bitmap,paletteIndex) {};
+ EwxMask(const wxBitmap& bitmap,const wxColour& colour) : wxMask(bitmap,colour) {};
+ EwxMask(const wxBitmap& bitmap) : wxMask(bitmap) {};
+ EwxMask() : wxMask() {};
+};
+
+class EwxImage : public wxImage {
+ public: ~EwxImage() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxImage(int width,int height,unsigned char * data,unsigned char * alpha,bool static_data) : wxImage(width,height,data,alpha,static_data) {};
+ EwxImage(int width,int height,unsigned char * data,bool static_data) : wxImage(width,height,data,static_data) {};
+ EwxImage(int width,int height,bool clear) : wxImage(width,height,clear) {};
+ EwxImage(const wxString& name,const wxString& mimetype,int index) : wxImage(name,mimetype,index) {};
+ EwxImage(const wxString& name,long type,int index) : wxImage(name,type,index) {};
+ EwxImage() : wxImage() {};
+};
+
+class EwxBrush : public wxBrush {
+ public: ~EwxBrush() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxBrush(const wxColour& colour,int style) : wxBrush(colour,style) {};
+ EwxBrush(const wxBitmap& stippleBitmap) : wxBrush(stippleBitmap) {};
+ EwxBrush() : wxBrush() {};
+};
+
+class EwxPen : public wxPen {
+ public: ~EwxPen() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPen(const wxColour& colour,int width,int style) : wxPen(colour,width,style) {};
+ EwxPen() : wxPen() {};
+};
+
+class EwxRegion : public wxRegion {
+ public: ~EwxRegion() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxRegion(wxCoord x,wxCoord y,wxCoord w,wxCoord h) : wxRegion(x,y,w,h) {};
+ EwxRegion(const wxPoint& topLeft,const wxPoint& bottomRight) : wxRegion(topLeft,bottomRight) {};
+ EwxRegion(const wxBitmap& bmp) : wxRegion(bmp) {};
+ EwxRegion(const wxRect& rect) : wxRegion(rect) {};
+ EwxRegion() : wxRegion() {};
+};
+
+class EwxAcceleratorTable : public wxAcceleratorTable {
+ public: ~EwxAcceleratorTable() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxAcceleratorTable(int n,const wxAcceleratorEntry * entries) : wxAcceleratorTable(n,entries) {};
+ EwxAcceleratorTable() : wxAcceleratorTable() {};
+};
+
+class EwxCaret : public wxCaret {
+ public: ~EwxCaret() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxCaret(wxWindow * window,int width,int height) : wxCaret(window,width,height) {};
+ EwxCaret(wxWindow * window,const wxSize& size) : wxCaret(window,size) {};
+};
+
+class EwxSizerItem : public wxSizerItem {
+ public: ~EwxSizerItem() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSizerItem(int width,int height,int proportion,int flag,int border,wxObject * userData) : wxSizerItem(width,height,proportion,flag,border,userData) {};
+ EwxSizerItem(wxWindow * window,int proportion,int flag,int border,wxObject * userData) : wxSizerItem(window,proportion,flag,border,userData) {};
+ EwxSizerItem(wxSizer * window,int proportion,int flag,int border,wxObject * userData) : wxSizerItem(window,proportion,flag,border,userData) {};
+ EwxSizerItem(int width,int height,const wxSizerFlags& flags) : wxSizerItem(width,height,flags) {};
+ EwxSizerItem(wxWindow * window,const wxSizerFlags& flags) : wxSizerItem(window,flags) {};
+ EwxSizerItem(wxSizer * window,const wxSizerFlags& flags) : wxSizerItem(window,flags) {};
+ EwxSizerItem() : wxSizerItem() {};
+};
+
+class EwxBoxSizer : public wxBoxSizer {
+ public: ~EwxBoxSizer() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxBoxSizer(int orient) : wxBoxSizer(orient) {};
+};
+
+class EwxStaticBoxSizer : public wxStaticBoxSizer {
+ public: ~EwxStaticBoxSizer() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxStaticBoxSizer(int orient,wxWindow * win,const wxString& label) : wxStaticBoxSizer(orient,win,label) {};
+ EwxStaticBoxSizer(wxStaticBox * box,int orient) : wxStaticBoxSizer(box,orient) {};
+};
+
+class EwxGridSizer : public wxGridSizer {
+ public: ~EwxGridSizer() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxGridSizer(int rows,int cols,int vgap,int hgap) : wxGridSizer(rows,cols,vgap,hgap) {};
+ EwxGridSizer(int cols,int vgap,int hgap) : wxGridSizer(cols,vgap,hgap) {};
+};
+
+class EwxFlexGridSizer : public wxFlexGridSizer {
+ public: ~EwxFlexGridSizer() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFlexGridSizer(int rows,int cols,int vgap,int hgap) : wxFlexGridSizer(rows,cols,vgap,hgap) {};
+ EwxFlexGridSizer(int cols,int vgap,int hgap) : wxFlexGridSizer(cols,vgap,hgap) {};
+};
+
+class EwxGridBagSizer : public wxGridBagSizer {
+ public: ~EwxGridBagSizer() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxGridBagSizer(int vgap,int hgap) : wxGridBagSizer(vgap,hgap) {};
+};
+
+class EwxStdDialogButtonSizer : public wxStdDialogButtonSizer {
+ public: ~EwxStdDialogButtonSizer() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxStdDialogButtonSizer() : wxStdDialogButtonSizer() {};
+};
+
+class EwxFont : public wxFont {
+ public: ~EwxFont() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFont(int size,int family,int style,int weight,bool underlined,const wxString& face,wxFontEncoding encoding) : wxFont(size,family,style,weight,underlined,face,encoding) {};
+ EwxFont(const wxString& fontname) : wxFont(fontname) {};
+ EwxFont() : wxFont() {};
+};
+
+class EwxToolTip : public wxToolTip {
+ public: ~EwxToolTip() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxToolTip(const wxString& tip) : wxToolTip(tip) {};
+};
+
+class EwxButton : public wxButton {
+ public: ~EwxButton() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxButton(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxButton(parent,id,label,pos,size,style,validator) {};
+ EwxButton() : wxButton() {};
+};
+
+class EwxBitmapButton : public wxBitmapButton {
+ public: ~EwxBitmapButton() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxBitmapButton(wxWindow * parent,wxWindowID id,const wxBitmap& bitmap,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxBitmapButton(parent,id,bitmap,pos,size,style,validator) {};
+ EwxBitmapButton() : wxBitmapButton() {};
+};
+
+class EwxToggleButton : public wxToggleButton {
+ public: ~EwxToggleButton() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxToggleButton(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxToggleButton(parent,id,label,pos,size,style,validator) {};
+ EwxToggleButton() : wxToggleButton() {};
+};
+
+class EwxCalendarCtrl : public wxCalendarCtrl {
+ public: ~EwxCalendarCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxCalendarCtrl(wxWindow * parent,wxWindowID id,const wxDateTime& date,const wxPoint& pos,const wxSize& size,long style) : wxCalendarCtrl(parent,id,date,pos,size,style) {};
+ EwxCalendarCtrl() : wxCalendarCtrl() {};
+};
+
+class EwxCheckBox : public wxCheckBox {
+ public: ~EwxCheckBox() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxCheckBox(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxCheckBox(parent,id,label,pos,size,style,validator) {};
+ EwxCheckBox() : wxCheckBox() {};
+};
+
+class EwxCheckListBox : public wxCheckListBox {
+ public: ~EwxCheckListBox() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxCheckListBox(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxCheckListBox(parent,id,pos,size,choices,style,validator) {};
+ EwxCheckListBox() : wxCheckListBox() {};
+};
+
+class EwxChoice : public wxChoice {
+ public: ~EwxChoice() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxChoice(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxChoice(parent,id,pos,size,choices,style,validator) {};
+ EwxChoice() : wxChoice() {};
+};
+
+class EwxComboBox : public wxComboBox {
+ public: ~EwxComboBox() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxComboBox(wxWindow * parent,wxWindowID id,const wxString& value,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxComboBox(parent,id,value,pos,size,choices,style,validator) {};
+ EwxComboBox() : wxComboBox() {};
+};
+
+class EwxGauge : public wxGauge {
+ public: ~EwxGauge() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxGauge(wxWindow * parent,wxWindowID id,int range,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxGauge(parent,id,range,pos,size,style,validator) {};
+ EwxGauge() : wxGauge() {};
+};
+
+class EwxGenericDirCtrl : public wxGenericDirCtrl {
+ public: ~EwxGenericDirCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxGenericDirCtrl(wxWindow * parent,const wxWindowID id,const wxString& dir,const wxPoint& pos,const wxSize& size,long style,const wxString& filter,int defaultFilter) : wxGenericDirCtrl(parent,id,dir,pos,size,style,filter,defaultFilter) {};
+ EwxGenericDirCtrl() : wxGenericDirCtrl() {};
+};
+
+class EwxStaticBox : public wxStaticBox {
+ public: ~EwxStaticBox() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxStaticBox(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style) : wxStaticBox(parent,id,label,pos,size,style) {};
+ EwxStaticBox() : wxStaticBox() {};
+};
+
+class EwxStaticLine : public wxStaticLine {
+ public: ~EwxStaticLine() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxStaticLine(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxStaticLine(parent,id,pos,size,style) {};
+ EwxStaticLine() : wxStaticLine() {};
+};
+
+class EwxListBox : public wxListBox {
+ public: ~EwxListBox() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxListBox(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,long style,const wxValidator& validator) : wxListBox(parent,id,pos,size,choices,style,validator) {};
+ EwxListBox() : wxListBox() {};
+};
+
+class EwxListCtrl : public wxListCtrl {
+ public: ~EwxListCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxListCtrl(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxListCtrl(parent,winid,pos,size,style,validator) {};
+ EwxListCtrl() : wxListCtrl() {};
+};
+
+class EwxListItem : public wxListItem {
+ public: ~EwxListItem() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxListItem(const wxListItem& item) : wxListItem(item) {};
+ EwxListItem() : wxListItem() {};
+};
+
+class EwxImageList : public wxImageList {
+ public: ~EwxImageList() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxImageList(int width,int height,bool mask,int initialCount) : wxImageList(width,height,mask,initialCount) {};
+ EwxImageList() : wxImageList() {};
+};
+
+class EwxTextCtrl : public wxTextCtrl {
+ public: ~EwxTextCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxTextCtrl(wxWindow * parent,wxWindowID id,const wxString& value,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxTextCtrl(parent,id,value,pos,size,style,validator) {};
+ EwxTextCtrl() : wxTextCtrl() {};
+};
+
+class EwxNotebook : public wxNotebook {
+ public: ~EwxNotebook() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxNotebook(wxWindow * parent,wxWindowID winid,const wxPoint& pos,const wxSize& size,long style) : wxNotebook(parent,winid,pos,size,style) {};
+ EwxNotebook() : wxNotebook() {};
+};
+
+class EwxChoicebook : public wxChoicebook {
+ public: ~EwxChoicebook() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxChoicebook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxChoicebook(parent,id,pos,size,style) {};
+ EwxChoicebook() : wxChoicebook() {};
+};
+
+class EwxToolbook : public wxToolbook {
+ public: ~EwxToolbook() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxToolbook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxToolbook(parent,id,pos,size,style) {};
+ EwxToolbook() : wxToolbook() {};
+};
+
+class EwxListbook : public wxListbook {
+ public: ~EwxListbook() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxListbook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxListbook(parent,id,pos,size,style) {};
+ EwxListbook() : wxListbook() {};
+};
+
+class EwxTreebook : public wxTreebook {
+ public: ~EwxTreebook() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxTreebook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxTreebook(parent,id,pos,size,style) {};
+ EwxTreebook() : wxTreebook() {};
+};
+
+class EwxTreeCtrl : public wxTreeCtrl {
+ public: ~EwxTreeCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxTreeCtrl(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxTreeCtrl(parent,id,pos,size,style,validator) {};
+ EwxTreeCtrl() : wxTreeCtrl() {};
+};
+
+class EwxScrollBar : public wxScrollBar {
+ public: ~EwxScrollBar() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxScrollBar(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxScrollBar(parent,id,pos,size,style,validator) {};
+ EwxScrollBar() : wxScrollBar() {};
+};
+
+class EwxSpinButton : public wxSpinButton {
+ public: ~EwxSpinButton() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSpinButton(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSpinButton(parent,id,pos,size,style) {};
+ EwxSpinButton() : wxSpinButton() {};
+};
+
+class EwxSpinCtrl : public wxSpinCtrl {
+ public: ~EwxSpinCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSpinCtrl(wxWindow * parent,wxWindowID id,const wxString& value,const wxPoint& pos,const wxSize& size,long style,int min,int max,int initial) : wxSpinCtrl(parent,id,value,pos,size,style,min,max,initial) {};
+ EwxSpinCtrl() : wxSpinCtrl() {};
+};
+
+class EwxStaticText : public wxStaticText {
+ public: ~EwxStaticText() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxStaticText(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style) : wxStaticText(parent,id,label,pos,size,style) {};
+ EwxStaticText() : wxStaticText() {};
+};
+
+class EwxStaticBitmap : public wxStaticBitmap {
+ public: ~EwxStaticBitmap() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxStaticBitmap(wxWindow * parent,wxWindowID id,const wxBitmap& label,const wxPoint& pos,const wxSize& size,long style) : wxStaticBitmap(parent,id,label,pos,size,style) {};
+ EwxStaticBitmap() : wxStaticBitmap() {};
+};
+
+class EwxRadioBox : public wxRadioBox {
+ public: ~EwxRadioBox() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxRadioBox(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,const wxArrayString& choices,int majorDim,long style,const wxValidator& val) : wxRadioBox(parent,id,title,pos,size,choices,majorDim,style,val) {};
+};
+
+class EwxRadioButton : public wxRadioButton {
+ public: ~EwxRadioButton() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxRadioButton(wxWindow * parent,wxWindowID id,const wxString& label,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxRadioButton(parent,id,label,pos,size,style,validator) {};
+ EwxRadioButton() : wxRadioButton() {};
+};
+
+class EwxSlider : public wxSlider {
+ public: ~EwxSlider() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSlider(wxWindow * parent,wxWindowID id,int value,int minValue,int maxValue,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxSlider(parent,id,value,minValue,maxValue,pos,size,style,validator) {};
+ EwxSlider() : wxSlider() {};
+};
+
+class EwxDialog : public wxDialog {
+ public: ~EwxDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxDialog(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxDialog(parent,id,title,pos,size,style) {};
+ EwxDialog() : wxDialog() {};
+};
+
+class EwxColourDialog : public wxColourDialog {
+ public: ~EwxColourDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxColourDialog(wxWindow * parent,wxColourData * data) : wxColourDialog(parent,data) {};
+ EwxColourDialog() : wxColourDialog() {};
+};
+
+class EwxColourData : public wxColourData {
+ public: ~EwxColourData() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxColourData(const wxColourData& data) : wxColourData(data) {};
+ EwxColourData() : wxColourData() {};
+};
+
+class EwxPalette : public wxPalette {
+ public: ~EwxPalette() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPalette(int n,const unsigned char * red,const unsigned char * green,const unsigned char * blue) : wxPalette(n,red,green,blue) {};
+ EwxPalette() : wxPalette() {};
+};
+
+class EwxDirDialog : public wxDirDialog {
+ public: ~EwxDirDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxDirDialog(wxWindow * parent,const wxString& title,const wxString& defaultPath,long style,const wxPoint& pos,const wxSize& sz) : wxDirDialog(parent,title,defaultPath,style,pos,sz) {};
+};
+
+class EwxFileDialog : public wxFileDialog {
+ public: ~EwxFileDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFileDialog(wxWindow * parent,const wxString& message,const wxString& defaultDir,const wxString& defaultFile,const wxString& wildCard,long style,const wxPoint& pos,const wxSize& sz) : wxFileDialog(parent,message,defaultDir,defaultFile,wildCard,style,pos,sz) {};
+};
+
+class EwxFilePickerCtrl : public wxFilePickerCtrl {
+ public: ~EwxFilePickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFilePickerCtrl(wxWindow * parent,wxWindowID id,const wxString& path,const wxString& message,const wxString& wildcard,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxFilePickerCtrl(parent,id,path,message,wildcard,pos,size,style,validator) {};
+ EwxFilePickerCtrl() : wxFilePickerCtrl() {};
+};
+
+class EwxDirPickerCtrl : public wxDirPickerCtrl {
+ public: ~EwxDirPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxDirPickerCtrl(wxWindow * parent,wxWindowID id,const wxString& path,const wxString& message,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxDirPickerCtrl(parent,id,path,message,pos,size,style,validator) {};
+ EwxDirPickerCtrl() : wxDirPickerCtrl() {};
+};
+
+class EwxColourPickerCtrl : public wxColourPickerCtrl {
+ public: ~EwxColourPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxColourPickerCtrl(wxWindow * parent,wxWindowID id,const wxColour& col,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxColourPickerCtrl(parent,id,col,pos,size,style,validator) {};
+ EwxColourPickerCtrl() : wxColourPickerCtrl() {};
+};
+
+class EwxDatePickerCtrl : public wxDatePickerCtrl {
+ public: ~EwxDatePickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxDatePickerCtrl(wxWindow * parent,wxWindowID id,const wxDateTime& date,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxDatePickerCtrl(parent,id,date,pos,size,style,validator) {};
+ EwxDatePickerCtrl() : wxDatePickerCtrl() {};
+};
+
+class EwxFontPickerCtrl : public wxFontPickerCtrl {
+ public: ~EwxFontPickerCtrl() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFontPickerCtrl(wxWindow * parent,wxWindowID id,const wxFont& initial,const wxPoint& pos,const wxSize& size,long style,const wxValidator& validator) : wxFontPickerCtrl(parent,id,initial,pos,size,style,validator) {};
+ EwxFontPickerCtrl() : wxFontPickerCtrl() {};
+};
+
+class EwxFindReplaceDialog : public wxFindReplaceDialog {
+ public: ~EwxFindReplaceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFindReplaceDialog(wxWindow * parent,wxFindReplaceData * data,const wxString& title,int style) : wxFindReplaceDialog(parent,data,title,style) {};
+ EwxFindReplaceDialog() : wxFindReplaceDialog() {};
+};
+
+class EwxFindReplaceData : public wxFindReplaceData {
+ public: ~EwxFindReplaceData() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFindReplaceData(unsigned int flags) : wxFindReplaceData(flags) {};
+ EwxFindReplaceData() : wxFindReplaceData() {};
+};
+
+class EwxMultiChoiceDialog : public wxMultiChoiceDialog {
+ public: ~EwxMultiChoiceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMultiChoiceDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxArrayString& choices,long style,const wxPoint& pos) : wxMultiChoiceDialog(parent,message,caption,choices,style,pos) {};
+ EwxMultiChoiceDialog() : wxMultiChoiceDialog() {};
+};
+
+class EwxSingleChoiceDialog : public wxSingleChoiceDialog {
+ public: ~EwxSingleChoiceDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSingleChoiceDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxArrayString& choices,char ** clientData,long style,const wxPoint& pos) : wxSingleChoiceDialog(parent,message,caption,choices,clientData,style,pos) {};
+ EwxSingleChoiceDialog() : wxSingleChoiceDialog() {};
+};
+
+class EwxTextEntryDialog : public wxTextEntryDialog {
+ public: ~EwxTextEntryDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxTextEntryDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxString& value,long style,const wxPoint& pos) : wxTextEntryDialog(parent,message,caption,value,style,pos) {};
+};
+
+class EwxPasswordEntryDialog : public wxPasswordEntryDialog {
+ public: ~EwxPasswordEntryDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPasswordEntryDialog(wxWindow * parent,const wxString& message,const wxString& caption,const wxString& value,long style,const wxPoint& pos) : wxPasswordEntryDialog(parent,message,caption,value,style,pos) {};
+};
+
+class EwxFontData : public wxFontData {
+ public: ~EwxFontData() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFontData(const wxFontData& data) : wxFontData(data) {};
+ EwxFontData() : wxFontData() {};
+};
+
+class EwxFontDialog : public wxFontDialog {
+ public: ~EwxFontDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxFontDialog(wxWindow * parent,const wxFontData& data) : wxFontDialog(parent,data) {};
+ EwxFontDialog() : wxFontDialog() {};
+};
+
+class EwxProgressDialog : public wxProgressDialog {
+ public: ~EwxProgressDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxProgressDialog(const wxString& title,const wxString& message,int maximum,wxWindow * parent,int style) : wxProgressDialog(title,message,maximum,parent,style) {};
+};
+
+class EwxMessageDialog : public wxMessageDialog {
+ public: ~EwxMessageDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMessageDialog(wxWindow * parent,const wxString& message,const wxString& caption,long style,const wxPoint& pos) : wxMessageDialog(parent,message,caption,style,pos) {};
+};
+
+class EwxPageSetupDialog : public wxPageSetupDialog {
+ public: ~EwxPageSetupDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPageSetupDialog(wxWindow * parent,wxPageSetupDialogData * data) : wxPageSetupDialog(parent,data) {};
+};
+
+class EwxPageSetupDialogData : public wxPageSetupDialogData {
+ public: ~EwxPageSetupDialogData() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPageSetupDialogData(const wxPrintData& printData) : wxPageSetupDialogData(printData) {};
+ EwxPageSetupDialogData(const wxPageSetupDialogData& printData) : wxPageSetupDialogData(printData) {};
+ EwxPageSetupDialogData() : wxPageSetupDialogData() {};
+};
+
+class EwxPrintDialog : public wxPrintDialog {
+ public: ~EwxPrintDialog() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPrintDialog(wxWindow * parent,wxPrintDialogData * data) : wxPrintDialog(parent,data) {};
+ EwxPrintDialog(wxWindow * parent,wxPrintData * data) : wxPrintDialog(parent,data) {};
+};
+
+class EwxPrintDialogData : public wxPrintDialogData {
+ public: ~EwxPrintDialogData() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPrintDialogData(const wxPrintDialogData& dialogData) : wxPrintDialogData(dialogData) {};
+ EwxPrintDialogData(const wxPrintData& dialogData) : wxPrintDialogData(dialogData) {};
+ EwxPrintDialogData() : wxPrintDialogData() {};
+};
+
+class EwxPrintData : public wxPrintData {
+ public: ~EwxPrintData() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPrintData(const wxPrintData& printData) : wxPrintData(printData) {};
+ EwxPrintData() : wxPrintData() {};
+};
+
+class EwxPrintPreview : public wxPrintPreview {
+ public: ~EwxPrintPreview() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPrintPreview(wxPrintout * printout,wxPrintout * printoutForPrinting,wxPrintData * data) : wxPrintPreview(printout,printoutForPrinting,data) {};
+ EwxPrintPreview(wxPrintout * printout,wxPrintout * printoutForPrinting,wxPrintDialogData * data) : wxPrintPreview(printout,printoutForPrinting,data) {};
+};
+
+class EwxPreviewFrame : public wxPreviewFrame {
+ public: ~EwxPreviewFrame() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPreviewFrame(wxPrintPreview * preview,wxWindow * parent,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxPreviewFrame(preview,parent,title,pos,size,style) {};
+};
+
+class EwxPreviewControlBar : public wxPreviewControlBar {
+ public: ~EwxPreviewControlBar() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPreviewControlBar(wxPrintPreview * preview,long buttons,wxWindow * parent,const wxPoint& pos,const wxSize& size,long style) : wxPreviewControlBar(preview,buttons,parent,pos,size,style) {};
+};
+
+class EwxPrinter : public wxPrinter {
+ public: ~EwxPrinter() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPrinter(wxPrintDialogData * data) : wxPrinter(data) {};
+};
+
+class EwxXmlResource : public wxXmlResource {
+ public: ~EwxXmlResource() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxXmlResource(const wxString& filemask,int flags,const wxString& domain) : wxXmlResource(filemask,flags,domain) {};
+ EwxXmlResource(int flags,const wxString& domain) : wxXmlResource(flags,domain) {};
+};
+
+class EwxHtmlEasyPrinting : public wxHtmlEasyPrinting {
+ public: ~EwxHtmlEasyPrinting() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxHtmlEasyPrinting(const wxString& name,wxWindow * parentWindow) : wxHtmlEasyPrinting(name,parentWindow) {};
+};
+
+class EwxGLCanvas : public wxGLCanvas {
+ public: ~EwxGLCanvas() {deleteActiveGL(this);((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxGLCanvas(wxWindow * parent,const wxGLContext * shared,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxString& name,int * attribList,const wxPalette& palette) : wxGLCanvas(parent,shared,id,pos,size,style,name,attribList,palette) {};
+ EwxGLCanvas(wxWindow * parent,const wxGLCanvas * shared,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxString& name,int * attribList,const wxPalette& palette) : wxGLCanvas(parent,shared,id,pos,size,style,name,attribList,palette) {};
+ EwxGLCanvas(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style,const wxString& name,int * attribList,const wxPalette& palette) : wxGLCanvas(parent,id,pos,size,style,name,attribList,palette) {};
+};
+
+class EwxAuiManager : public wxAuiManager {
+ public: ~EwxAuiManager() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxAuiManager(wxWindow * managed_wnd,unsigned int flags) : wxAuiManager(managed_wnd,flags) {};
+};
+
+class EwxAuiNotebook : public wxAuiNotebook {
+ public: ~EwxAuiNotebook() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxAuiNotebook(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxAuiNotebook(parent,id,pos,size,style) {};
+ EwxAuiNotebook() : wxAuiNotebook() {};
+};
+
+class EwxMDIParentFrame : public wxMDIParentFrame {
+ public: ~EwxMDIParentFrame() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMDIParentFrame(wxWindow * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxMDIParentFrame(parent,id,title,pos,size,style) {};
+ EwxMDIParentFrame() : wxMDIParentFrame() {};
+};
+
+class EwxMDIChildFrame : public wxMDIChildFrame {
+ public: ~EwxMDIChildFrame() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMDIChildFrame(wxMDIParentFrame * parent,wxWindowID id,const wxString& title,const wxPoint& pos,const wxSize& size,long style) : wxMDIChildFrame(parent,id,title,pos,size,style) {};
+ EwxMDIChildFrame() : wxMDIChildFrame() {};
+};
+
+class EwxMDIClientWindow : public wxMDIClientWindow {
+ public: ~EwxMDIClientWindow() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxMDIClientWindow(wxMDIParentFrame * parent,long style) : wxMDIClientWindow(parent,style) {};
+ EwxMDIClientWindow() : wxMDIClientWindow() {};
+};
+
+class EwxLayoutAlgorithm : public wxLayoutAlgorithm {
+ public: ~EwxLayoutAlgorithm() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxLayoutAlgorithm() : wxLayoutAlgorithm() {};
+};
+
+class EwxPrintout : public wxPrintout {
+ public: ~EwxPrintout() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxPrintout(const wxString& title) : wxPrintout(title) {};
+};
+
+class EwxClipboard : public wxClipboard {
+ public: ~EwxClipboard() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxClipboard() : wxClipboard() {};
+};
+
+class EwxSplitterWindow : public wxSplitterWindow {
+ public: ~EwxSplitterWindow() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxSplitterWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxSplitterWindow(parent,id,pos,size,style) {};
+ EwxSplitterWindow() : wxSplitterWindow() {};
+};
+
+class EwxHtmlWindow : public wxHtmlWindow {
+ public: ~EwxHtmlWindow() {((WxeApp *)wxTheApp)->clearPtr(this);};
+ EwxHtmlWindow(wxWindow * parent,wxWindowID id,const wxPoint& pos,const wxSize& size,long style) : wxHtmlWindow(parent,id,pos,size,style) {};
+ EwxHtmlWindow() : wxHtmlWindow() {};
+};
+
+void WxeApp::delete_object(void *ptr, wxeRefData *refd) {
+ switch(refd->type) {
+ case 24: delete (wxGridCellBoolRenderer *) ptr; break;
+ case 25: delete (wxGridCellBoolEditor *) ptr; break;
+ case 26: delete (wxGridCellFloatRenderer *) ptr; break;
+ case 27: delete (wxGridCellFloatEditor *) ptr; break;
+ case 28: delete (wxGridCellStringRenderer *) ptr; break;
+ case 29: delete (wxGridCellTextEditor *) ptr; break;
+ case 30: delete (wxGridCellChoiceEditor *) ptr; break;
+ case 31: delete (wxGridCellNumberRenderer *) ptr; break;
+ case 32: delete (wxGridCellNumberEditor *) ptr; break;
+ case 61: delete (wxIconBundle *) ptr; break;
+ case 69: delete (wxAcceleratorEntry *) ptr; break;
+ case 70: /* delete (wxCaret *) ptr;These objects must be deleted by owner object */ break;
+ case 72: delete (wxSizerFlags *) ptr; break;
+ case 88: /* delete (wxCalendarDateAttr *) ptr;These objects must be deleted by owner object */ break;
+ case 102: delete (wxTextAttr *) ptr; break;
+ case 154: delete (wxAuiPaneInfo *) ptr; break;
+ case 211: /* delete (wxFileDataObject *) ptr;These objects must be deleted by owner object */ break;
+ case 212: /* delete (wxTextDataObject *) ptr;These objects must be deleted by owner object */ break;
+ case 213: /* delete (wxBitmapDataObject *) ptr;These objects must be deleted by owner object */ break;
+ case 222: delete (wxLogNull *) ptr; break;
+ default: delete (wxObject *) ptr;
+}}
+
diff --git a/lib/wx/c_src/gen/wxe_events.cpp b/lib/wx/c_src/gen/wxe_events.cpp
new file mode 100644
index 0000000000..f15754a072
--- /dev/null
+++ b/lib/wx/c_src/gen/wxe_events.cpp
@@ -0,0 +1,828 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+
+/***** This file is generated do not edit ****/
+
+#include <wx/wx.h>
+#include "../wxe_impl.h"
+
+#include "wxe_macros.h"
+#include "../wxe_events.h"
+
+#include "../wxe_return.h"
+
+wxeEtype::wxeEtype(const char *name, int Id) {eName = name;cID = Id;}
+
+WX_DECLARE_HASH_MAP(int, wxeEtype*, wxIntegerHash, wxIntegerEqual, wxeETmap );
+
+wxeETmap etmap;
+
+int wxeEventTypeFromAtom(char *etype_atom) {
+ wxeETmap::iterator it;
+ for(it = etmap.begin(); it != etmap.end(); ++it) {
+ wxeEtype * value = it->second;
+ if(strcmp(value->eName, etype_atom) == 0) {
+ if(it->first > wxEVT_USER_FIRST) {
+ return it->first - wxEVT_USER_FIRST;
+ } else {
+ return it->first;
+ }
+ }
+ }
+ return -1;
+}
+
+void initEventTable()
+{
+ struct { int ev_type; int class_id; const char * ev_name;} event_types[] =
+ {
+ {wxEVT_NULL, 0, "null"},
+ {wxEVT_COMMAND_BUTTON_CLICKED, 163, "command_button_clicked"},
+ {wxEVT_COMMAND_CHECKBOX_CLICKED, 163, "command_checkbox_clicked"},
+ {wxEVT_COMMAND_CHOICE_SELECTED, 163, "command_choice_selected"},
+ {wxEVT_COMMAND_LISTBOX_SELECTED, 163, "command_listbox_selected"},
+ {wxEVT_COMMAND_LISTBOX_DOUBLECLICKED, 163, "command_listbox_doubleclicked"},
+ {wxEVT_COMMAND_TEXT_UPDATED, 163, "command_text_updated"},
+ {wxEVT_COMMAND_TEXT_ENTER, 163, "command_text_enter"},
+ {wxEVT_COMMAND_MENU_SELECTED, 163, "command_menu_selected"},
+ {wxEVT_COMMAND_SLIDER_UPDATED, 163, "command_slider_updated"},
+ {wxEVT_COMMAND_RADIOBOX_SELECTED, 163, "command_radiobox_selected"},
+ {wxEVT_COMMAND_RADIOBUTTON_SELECTED, 163, "command_radiobutton_selected"},
+ {wxEVT_COMMAND_SCROLLBAR_UPDATED, 163, "command_scrollbar_updated"},
+ {wxEVT_COMMAND_VLBOX_SELECTED, 163, "command_vlbox_selected"},
+ {wxEVT_COMMAND_COMBOBOX_SELECTED, 163, "command_combobox_selected"},
+ {wxEVT_COMMAND_TOOL_RCLICKED, 163, "command_tool_rclicked"},
+ {wxEVT_COMMAND_TOOL_ENTER, 163, "command_tool_enter"},
+ {wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, 163, "command_checklistbox_toggled"},
+ {wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 163, "command_togglebutton_clicked"},
+ {wxEVT_COMMAND_LEFT_CLICK, 163, "command_left_click"},
+ {wxEVT_COMMAND_LEFT_DCLICK, 163, "command_left_dclick"},
+ {wxEVT_COMMAND_RIGHT_CLICK, 163, "command_right_click"},
+ {wxEVT_COMMAND_SET_FOCUS, 163, "command_set_focus"},
+ {wxEVT_COMMAND_KILL_FOCUS, 163, "command_kill_focus"},
+ {wxEVT_COMMAND_ENTER, 163, "command_enter"},
+ {wxEVT_SCROLL_TOP, 164, "scroll_top"},
+ {wxEVT_SCROLL_BOTTOM, 164, "scroll_bottom"},
+ {wxEVT_SCROLL_LINEUP, 164, "scroll_lineup"},
+ {wxEVT_SCROLL_LINEDOWN, 164, "scroll_linedown"},
+ {wxEVT_SCROLL_PAGEUP, 164, "scroll_pageup"},
+ {wxEVT_SCROLL_PAGEDOWN, 164, "scroll_pagedown"},
+ {wxEVT_SCROLL_THUMBTRACK, 164, "scroll_thumbtrack"},
+ {wxEVT_SCROLL_THUMBRELEASE, 164, "scroll_thumbrelease"},
+ {wxEVT_SCROLL_CHANGED, 164, "scroll_changed"},
+ {wxEVT_SCROLLWIN_TOP, 165, "scrollwin_top"},
+ {wxEVT_SCROLLWIN_BOTTOM, 165, "scrollwin_bottom"},
+ {wxEVT_SCROLLWIN_LINEUP, 165, "scrollwin_lineup"},
+ {wxEVT_SCROLLWIN_LINEDOWN, 165, "scrollwin_linedown"},
+ {wxEVT_SCROLLWIN_PAGEUP, 165, "scrollwin_pageup"},
+ {wxEVT_SCROLLWIN_PAGEDOWN, 165, "scrollwin_pagedown"},
+ {wxEVT_SCROLLWIN_THUMBTRACK, 165, "scrollwin_thumbtrack"},
+ {wxEVT_SCROLLWIN_THUMBRELEASE, 165, "scrollwin_thumbrelease"},
+ {wxEVT_LEFT_DOWN, 166, "left_down"},
+ {wxEVT_LEFT_UP, 166, "left_up"},
+ {wxEVT_MIDDLE_DOWN, 166, "middle_down"},
+ {wxEVT_MIDDLE_UP, 166, "middle_up"},
+ {wxEVT_RIGHT_DOWN, 166, "right_down"},
+ {wxEVT_RIGHT_UP, 166, "right_up"},
+ {wxEVT_MOTION, 166, "motion"},
+ {wxEVT_ENTER_WINDOW, 166, "enter_window"},
+ {wxEVT_LEAVE_WINDOW, 166, "leave_window"},
+ {wxEVT_LEFT_DCLICK, 166, "left_dclick"},
+ {wxEVT_MIDDLE_DCLICK, 166, "middle_dclick"},
+ {wxEVT_RIGHT_DCLICK, 166, "right_dclick"},
+ {wxEVT_MOUSEWHEEL, 166, "mousewheel"},
+ {wxEVT_NC_LEFT_DOWN, 166, "nc_left_down"},
+ {wxEVT_NC_LEFT_UP, 166, "nc_left_up"},
+ {wxEVT_NC_MIDDLE_DOWN, 166, "nc_middle_down"},
+ {wxEVT_NC_MIDDLE_UP, 166, "nc_middle_up"},
+ {wxEVT_NC_RIGHT_DOWN, 166, "nc_right_down"},
+ {wxEVT_NC_RIGHT_UP, 166, "nc_right_up"},
+ {wxEVT_NC_MOTION, 166, "nc_motion"},
+ {wxEVT_NC_ENTER_WINDOW, 166, "nc_enter_window"},
+ {wxEVT_NC_LEAVE_WINDOW, 166, "nc_leave_window"},
+ {wxEVT_NC_LEFT_DCLICK, 166, "nc_left_dclick"},
+ {wxEVT_NC_MIDDLE_DCLICK, 166, "nc_middle_dclick"},
+ {wxEVT_NC_RIGHT_DCLICK, 166, "nc_right_dclick"},
+ {wxEVT_SET_CURSOR, 167, "set_cursor"},
+ {wxEVT_CHAR, 168, "char"},
+ {wxEVT_CHAR_HOOK, 168, "char_hook"},
+ {wxEVT_KEY_DOWN, 168, "key_down"},
+ {wxEVT_KEY_UP, 168, "key_up"},
+ {wxEVT_SIZE, 169, "size"},
+ {wxEVT_MOVE, 170, "move"},
+ {wxEVT_PAINT, 171, "paint"},
+ {wxEVT_PAINT_ICON, 171, "paint_icon"},
+ {wxEVT_NC_PAINT, 172, "nc_paint"},
+ {wxEVT_ERASE_BACKGROUND, 173, "erase_background"},
+ {wxEVT_SET_FOCUS, 174, "set_focus"},
+ {wxEVT_KILL_FOCUS, 174, "kill_focus"},
+ {wxEVT_CHILD_FOCUS, 175, "child_focus"},
+ {wxEVT_MENU_OPEN, 176, "menu_open"},
+ {wxEVT_MENU_CLOSE, 176, "menu_close"},
+ {wxEVT_MENU_HIGHLIGHT, 176, "menu_highlight"},
+ {wxEVT_CLOSE_WINDOW, 177, "close_window"},
+ {wxEVT_END_SESSION, 177, "end_session"},
+ {wxEVT_QUERY_END_SESSION, 177, "query_end_session"},
+ {wxEVT_SHOW, 178, "show"},
+ {wxEVT_ICONIZE, 179, "iconize"},
+ {wxEVT_MAXIMIZE, 180, "maximize"},
+ {wxEVT_JOY_BUTTON_DOWN, 181, "joy_button_down"},
+ {wxEVT_JOY_BUTTON_UP, 181, "joy_button_up"},
+ {wxEVT_JOY_MOVE, 181, "joy_move"},
+ {wxEVT_JOY_ZMOVE, 181, "joy_zmove"},
+ {wxEVT_UPDATE_UI, 182, "update_ui"},
+ {wxEVT_SYS_COLOUR_CHANGED, 183, "sys_colour_changed"},
+ {wxEVT_MOUSE_CAPTURE_CHANGED, 184, "mouse_capture_changed"},
+ {wxEVT_DISPLAY_CHANGED, 185, "display_changed"},
+ {wxEVT_PALETTE_CHANGED, 186, "palette_changed"},
+ {wxEVT_QUERY_NEW_PALETTE, 187, "query_new_palette"},
+ {wxEVT_NAVIGATION_KEY, 188, "navigation_key"},
+ {wxEVT_CREATE, 189, "create"},
+ {wxEVT_DESTROY, 190, "destroy"},
+ {wxEVT_HELP, 191, "help"},
+ {wxEVT_DETAILED_HELP, 191, "detailed_help"},
+ {wxEVT_CONTEXT_MENU, 192, "context_menu"},
+ {wxEVT_IDLE, 193, "idle"},
+ {wxEVT_GRID_CELL_LEFT_CLICK, 194, "grid_cell_left_click"},
+ {wxEVT_GRID_CELL_RIGHT_CLICK, 194, "grid_cell_right_click"},
+ {wxEVT_GRID_CELL_LEFT_DCLICK, 194, "grid_cell_left_dclick"},
+ {wxEVT_GRID_CELL_RIGHT_DCLICK, 194, "grid_cell_right_dclick"},
+ {wxEVT_GRID_LABEL_LEFT_CLICK, 194, "grid_label_left_click"},
+ {wxEVT_GRID_LABEL_RIGHT_CLICK, 194, "grid_label_right_click"},
+ {wxEVT_GRID_LABEL_LEFT_DCLICK, 194, "grid_label_left_dclick"},
+ {wxEVT_GRID_LABEL_RIGHT_DCLICK, 194, "grid_label_right_dclick"},
+ {wxEVT_GRID_ROW_SIZE, 194, "grid_row_size"},
+ {wxEVT_GRID_COL_SIZE, 194, "grid_col_size"},
+ {wxEVT_GRID_RANGE_SELECT, 194, "grid_range_select"},
+ {wxEVT_GRID_CELL_CHANGE, 194, "grid_cell_change"},
+ {wxEVT_GRID_SELECT_CELL, 194, "grid_select_cell"},
+ {wxEVT_GRID_EDITOR_SHOWN, 194, "grid_editor_shown"},
+ {wxEVT_GRID_EDITOR_HIDDEN, 194, "grid_editor_hidden"},
+ {wxEVT_GRID_EDITOR_CREATED, 194, "grid_editor_created"},
+ {wxEVT_GRID_CELL_BEGIN_DRAG, 194, "grid_cell_begin_drag"},
+ {wxEVT_SASH_DRAGGED, 196, "sash_dragged"},
+ {wxEVT_COMMAND_LIST_BEGIN_DRAG, 197, "command_list_begin_drag"},
+ {wxEVT_COMMAND_LIST_BEGIN_RDRAG, 197, "command_list_begin_rdrag"},
+ {wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 197, "command_list_begin_label_edit"},
+ {wxEVT_COMMAND_LIST_END_LABEL_EDIT, 197, "command_list_end_label_edit"},
+ {wxEVT_COMMAND_LIST_DELETE_ITEM, 197, "command_list_delete_item"},
+ {wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 197, "command_list_delete_all_items"},
+ {wxEVT_COMMAND_LIST_KEY_DOWN, 197, "command_list_key_down"},
+ {wxEVT_COMMAND_LIST_INSERT_ITEM, 197, "command_list_insert_item"},
+ {wxEVT_COMMAND_LIST_COL_CLICK, 197, "command_list_col_click"},
+ {wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 197, "command_list_col_right_click"},
+ {wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 197, "command_list_col_begin_drag"},
+ {wxEVT_COMMAND_LIST_COL_DRAGGING, 197, "command_list_col_dragging"},
+ {wxEVT_COMMAND_LIST_COL_END_DRAG, 197, "command_list_col_end_drag"},
+ {wxEVT_COMMAND_LIST_ITEM_SELECTED, 197, "command_list_item_selected"},
+ {wxEVT_COMMAND_LIST_ITEM_DESELECTED, 197, "command_list_item_deselected"},
+ {wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 197, "command_list_item_right_click"},
+ {wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 197, "command_list_item_middle_click"},
+ {wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 197, "command_list_item_activated"},
+ {wxEVT_COMMAND_LIST_ITEM_FOCUSED, 197, "command_list_item_focused"},
+ {wxEVT_COMMAND_LIST_CACHE_HINT, 197, "command_list_cache_hint"},
+ {wxEVT_DATE_CHANGED, 198, "date_changed"},
+ {wxEVT_CALENDAR_SEL_CHANGED, 199, "calendar_sel_changed"},
+ {wxEVT_CALENDAR_DAY_CHANGED, 199, "calendar_day_changed"},
+ {wxEVT_CALENDAR_MONTH_CHANGED, 199, "calendar_month_changed"},
+ {wxEVT_CALENDAR_YEAR_CHANGED, 199, "calendar_year_changed"},
+ {wxEVT_CALENDAR_DOUBLECLICKED, 199, "calendar_doubleclicked"},
+ {wxEVT_CALENDAR_WEEKDAY_CLICKED, 199, "calendar_weekday_clicked"},
+ {wxEVT_COMMAND_FILEPICKER_CHANGED, 200, "command_filepicker_changed"},
+ {wxEVT_COMMAND_DIRPICKER_CHANGED, 200, "command_dirpicker_changed"},
+ {wxEVT_COMMAND_COLOURPICKER_CHANGED, 201, "command_colourpicker_changed"},
+ {wxEVT_COMMAND_FONTPICKER_CHANGED, 202, "command_fontpicker_changed"},
+ {wxEVT_STC_CHANGE, 203, "stc_change"},
+ {wxEVT_STC_STYLENEEDED, 203, "stc_styleneeded"},
+ {wxEVT_STC_CHARADDED, 203, "stc_charadded"},
+ {wxEVT_STC_SAVEPOINTREACHED, 203, "stc_savepointreached"},
+ {wxEVT_STC_SAVEPOINTLEFT, 203, "stc_savepointleft"},
+ {wxEVT_STC_ROMODIFYATTEMPT, 203, "stc_romodifyattempt"},
+ {wxEVT_STC_KEY, 203, "stc_key"},
+ {wxEVT_STC_DOUBLECLICK, 203, "stc_doubleclick"},
+ {wxEVT_STC_UPDATEUI, 203, "stc_updateui"},
+ {wxEVT_STC_MODIFIED, 203, "stc_modified"},
+ {wxEVT_STC_MACRORECORD, 203, "stc_macrorecord"},
+ {wxEVT_STC_MARGINCLICK, 203, "stc_marginclick"},
+ {wxEVT_STC_NEEDSHOWN, 203, "stc_needshown"},
+ {wxEVT_STC_PAINTED, 203, "stc_painted"},
+ {wxEVT_STC_USERLISTSELECTION, 203, "stc_userlistselection"},
+ {wxEVT_STC_URIDROPPED, 203, "stc_uridropped"},
+ {wxEVT_STC_DWELLSTART, 203, "stc_dwellstart"},
+ {wxEVT_STC_DWELLEND, 203, "stc_dwellend"},
+ {wxEVT_STC_START_DRAG, 203, "stc_start_drag"},
+ {wxEVT_STC_DRAG_OVER, 203, "stc_drag_over"},
+ {wxEVT_STC_DO_DROP, 203, "stc_do_drop"},
+ {wxEVT_STC_ZOOM, 203, "stc_zoom"},
+ {wxEVT_STC_HOTSPOT_CLICK, 203, "stc_hotspot_click"},
+ {wxEVT_STC_HOTSPOT_DCLICK, 203, "stc_hotspot_dclick"},
+ {wxEVT_STC_CALLTIP_CLICK, 203, "stc_calltip_click"},
+ {wxEVT_STC_AUTOCOMP_SELECTION, 203, "stc_autocomp_selection"},
+ {wxEVT_COMMAND_TREE_BEGIN_DRAG, 208, "command_tree_begin_drag"},
+ {wxEVT_COMMAND_TREE_BEGIN_RDRAG, 208, "command_tree_begin_rdrag"},
+ {wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 208, "command_tree_begin_label_edit"},
+ {wxEVT_COMMAND_TREE_END_LABEL_EDIT, 208, "command_tree_end_label_edit"},
+ {wxEVT_COMMAND_TREE_DELETE_ITEM, 208, "command_tree_delete_item"},
+ {wxEVT_COMMAND_TREE_GET_INFO, 208, "command_tree_get_info"},
+ {wxEVT_COMMAND_TREE_SET_INFO, 208, "command_tree_set_info"},
+ {wxEVT_COMMAND_TREE_ITEM_EXPANDED, 208, "command_tree_item_expanded"},
+ {wxEVT_COMMAND_TREE_ITEM_EXPANDING, 208, "command_tree_item_expanding"},
+ {wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 208, "command_tree_item_collapsed"},
+ {wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 208, "command_tree_item_collapsing"},
+ {wxEVT_COMMAND_TREE_SEL_CHANGED, 208, "command_tree_sel_changed"},
+ {wxEVT_COMMAND_TREE_SEL_CHANGING, 208, "command_tree_sel_changing"},
+ {wxEVT_COMMAND_TREE_KEY_DOWN, 208, "command_tree_key_down"},
+ {wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 208, "command_tree_item_activated"},
+ {wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 208, "command_tree_item_right_click"},
+ {wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 208, "command_tree_item_middle_click"},
+ {wxEVT_COMMAND_TREE_END_DRAG, 208, "command_tree_end_drag"},
+ {wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 208, "command_tree_state_image_click"},
+ {wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 208, "command_tree_item_gettooltip"},
+ {wxEVT_COMMAND_TREE_ITEM_MENU, 208, "command_tree_item_menu"},
+ {wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 209, "command_notebook_page_changed"},
+ {wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 209, "command_notebook_page_changing"},
+ {wxEVT_COMMAND_SPINCTRL_UPDATED, 215, "command_spinctrl_updated"},
+ {wxEVT_SCROLL_LINEUP + wxEVT_USER_FIRST, 164, "spin_up"},
+ {wxEVT_SCROLL_LINEDOWN + wxEVT_USER_FIRST, 164, "spin_down"},
+ {wxEVT_SCROLL_THUMBTRACK + wxEVT_USER_FIRST, 164, "spin"},
+ {wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 217, "command_splitter_sash_pos_changed"},
+ {wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 217, "command_splitter_sash_pos_changing"},
+ {wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 217, "command_splitter_doubleclicked"},
+ {wxEVT_COMMAND_SPLITTER_UNSPLIT, 217, "command_splitter_unsplit"},
+ {wxEVT_COMMAND_HTML_LINK_CLICKED, 219, "command_html_link_clicked"},
+ {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSE, 220, "command_auinotebook_page_close"},
+ {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGED, 220, "command_auinotebook_page_changed"},
+ {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CHANGING, 220, "command_auinotebook_page_changing"},
+ {wxEVT_COMMAND_AUINOTEBOOK_BUTTON, 220, "command_auinotebook_button"},
+ {wxEVT_COMMAND_AUINOTEBOOK_BEGIN_DRAG, 220, "command_auinotebook_begin_drag"},
+ {wxEVT_COMMAND_AUINOTEBOOK_END_DRAG, 220, "command_auinotebook_end_drag"},
+ {wxEVT_COMMAND_AUINOTEBOOK_DRAG_MOTION, 220, "command_auinotebook_drag_motion"},
+ {wxEVT_COMMAND_AUINOTEBOOK_ALLOW_DND, 220, "command_auinotebook_allow_dnd"},
+#if wxCHECK_VERSION(2,8,5)
+ {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_DOWN, 220, "command_auinotebook_tab_middle_down"},
+#endif
+#if wxCHECK_VERSION(2,8,5)
+ {wxEVT_COMMAND_AUINOTEBOOK_TAB_MIDDLE_UP, 220, "command_auinotebook_tab_middle_up"},
+#endif
+#if wxCHECK_VERSION(2,8,5)
+ {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_DOWN, 220, "command_auinotebook_tab_right_down"},
+#endif
+#if wxCHECK_VERSION(2,8,5)
+ {wxEVT_COMMAND_AUINOTEBOOK_TAB_RIGHT_UP, 220, "command_auinotebook_tab_right_up"},
+#endif
+#if wxCHECK_VERSION(2,8,5)
+ {wxEVT_COMMAND_AUINOTEBOOK_PAGE_CLOSED, 220, "command_auinotebook_page_closed"},
+#endif
+#if wxCHECK_VERSION(2,8,5)
+ {wxEVT_COMMAND_AUINOTEBOOK_DRAG_DONE, 220, "command_auinotebook_drag_done"},
+#endif
+#if wxCHECK_VERSION(2,8,5)
+ {wxEVT_COMMAND_AUINOTEBOOK_BG_DCLICK, 220, "command_auinotebook_bg_dclick"},
+#endif
+ {wxEVT_AUI_PANE_BUTTON, 221, "aui_pane_button"},
+ {wxEVT_AUI_PANE_CLOSE, 221, "aui_pane_close"},
+ {wxEVT_AUI_PANE_MAXIMIZE, 221, "aui_pane_maximize"},
+ {wxEVT_AUI_PANE_RESTORE, 221, "aui_pane_restore"},
+ {wxEVT_AUI_RENDER, 221, "aui_render"},
+ {wxEVT_AUI_FIND_MANAGER, 221, "aui_find_manager"},
+ {-1, 0, }
+ };
+ for(int i=0; event_types[i].ev_type != -1; i++) {
+ if(NULL == etmap[event_types[i].ev_type]) {
+ etmap[event_types[i].ev_type] =
+ new wxeEtype(event_types[i].ev_name, event_types[i].class_id);
+ } else {
+ wxeEtype *prev = etmap[event_types[i].ev_type];
+ wxString msg(wxT("Duplicate event defs: "));
+ msg += wxString::FromAscii(event_types[i].ev_name);
+ msg += wxString::Format(wxT(" %d "), event_types[i].class_id);
+ msg += wxString::FromAscii(prev->eName);
+ msg += wxString::Format(wxT(" %d"), prev->cID);
+ send_msg("internal_error", &msg);
+ }
+ }
+}
+
+void wxeEvtListener::forward(wxEvent& event)
+{
+#ifdef DEBUG
+ if(!sendevent(&event, port))
+ fprintf(stderr, "Couldn't send event!\r\n");
+#else
+sendevent(&event, port);
+#endif
+}
+
+int getRef(void* ptr, wxeMemEnv* memenv)
+{
+ WxeApp * app = (WxeApp *) wxTheApp;
+ return app->getRef(ptr,memenv);
+}
+
+bool sendevent(wxEvent *event, ErlDrvPort port)
+{
+ int send_res ;
+ char * evClass = NULL;
+ wxMBConvUTF32 UTFconverter;
+ wxeEtype *Etype = etmap[event->GetEventType()];
+ wxeCallbackData *cb = (wxeCallbackData *)event->m_callbackUserData;
+ WxeApp * app = (WxeApp *) wxTheApp;
+ wxeMemEnv *memenv = app->getMemEnv(port);
+ if(!memenv) return 0;
+
+ wxeReturn rt = wxeReturn(port, cb->listener);
+
+ rt.addAtom((char*)"wx");
+ rt.addInt((int) event->GetId());
+ rt.addRef(getRef((void *)(cb->obj), memenv), cb->class_name);
+ rt.addExt2Term(cb->user_data);
+ switch(Etype->cID) {
+case 163: {// wxCommandEvent
+ wxCommandEvent * ev = (wxCommandEvent *) event;
+ evClass = (char*)"wxCommandEvent";
+ rt.addAtom((char*)"wxCommand");
+ rt.addAtom(Etype->eName);
+ rt.add(ev->GetString());
+ rt.addInt(ev->GetInt());
+ rt.addInt(ev->GetExtraLong());
+ rt.addTupleCount(5);
+ break;
+}
+case 164: {// wxScrollEvent or wxSpinEvent
+ if(event->IsKindOf(CLASSINFO(wxScrollEvent))) {
+ wxScrollEvent * ev = (wxScrollEvent *) event;
+ evClass = (char*)"wxScrollEvent";
+ rt.addAtom((char*)"wxScroll");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetInt());
+ rt.addInt(ev->GetExtraLong());
+ rt.addTupleCount(4);
+ } else {
+ Etype = etmap[event->GetEventType() + wxEVT_USER_FIRST];
+ wxSpinEvent * ev = (wxSpinEvent *) event;
+ evClass = (char*)"wxSpinEvent";
+ rt.addAtom((char*)"wxSpin");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetInt());
+ rt.addTupleCount(3);
+ }
+ break;
+}
+case 165: {// wxScrollWinEvent
+ evClass = (char*)"wxScrollWinEvent";
+ rt.addAtom((char*)"wxScrollWin");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 166: {// wxMouseEvent
+ wxMouseEvent * ev = (wxMouseEvent *) event;
+ evClass = (char*)"wxMouseEvent";
+ rt.addAtom((char*)"wxMouse");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->m_x);
+ rt.addInt(ev->m_y);
+ rt.addBool(ev->m_leftDown);
+ rt.addBool(ev->m_middleDown);
+ rt.addBool(ev->m_rightDown);
+ rt.addBool(ev->m_controlDown);
+ rt.addBool(ev->m_shiftDown);
+ rt.addBool(ev->m_altDown);
+ rt.addBool(ev->m_metaDown);
+ rt.addInt(ev->m_wheelRotation);
+ rt.addInt(ev->m_wheelDelta);
+ rt.addInt(ev->m_linesPerAction);
+ rt.addTupleCount(14);
+ break;
+}
+case 167: {// wxSetCursorEvent
+ evClass = (char*)"wxSetCursorEvent";
+ rt.addAtom((char*)"wxSetCursor");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 168: {// wxKeyEvent
+ wxKeyEvent * ev = (wxKeyEvent *) event;
+ evClass = (char*)"wxKeyEvent";
+ rt.addAtom((char*)"wxKey");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->m_x);
+ rt.addInt(ev->m_y);
+ rt.addInt(ev->m_keyCode);
+ rt.addBool(ev->m_controlDown);
+ rt.addBool(ev->m_shiftDown);
+ rt.addBool(ev->m_altDown);
+ rt.addBool(ev->m_metaDown);
+ rt.addBool(ev->m_scanCode);
+ rt.addInt(ev->m_uniChar);
+ rt.addUint(ev->m_rawCode);
+ rt.addUint(ev->m_rawFlags);
+ rt.addTupleCount(13);
+ break;
+}
+case 169: {// wxSizeEvent
+ wxSizeEvent * ev = (wxSizeEvent *) event;
+ evClass = (char*)"wxSizeEvent";
+ rt.addAtom((char*)"wxSize");
+ rt.addAtom(Etype->eName);
+ rt.add(ev->m_size);
+ rt.add(ev->m_rect);
+ rt.addTupleCount(4);
+ break;
+}
+case 170: {// wxMoveEvent
+ evClass = (char*)"wxMoveEvent";
+ rt.addAtom((char*)"wxMove");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 171: {// wxPaintEvent
+ evClass = (char*)"wxPaintEvent";
+ rt.addAtom((char*)"wxPaint");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 172: {// wxNcPaintEvent
+ evClass = (char*)"wxNcPaintEvent";
+ rt.addAtom((char*)"wxNcPaint");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 173: {// wxEraseEvent
+ wxEraseEvent * ev = (wxEraseEvent *) event;
+ wxDC * GetDC = ev->GetDC();
+ evClass = (char*)"wxEraseEvent";
+ rt.addAtom((char*)"wxErase");
+ rt.addAtom(Etype->eName);
+ rt.addRef(getRef((void *)GetDC,memenv), "wxDC");
+ rt.addTupleCount(3);
+ break;
+}
+case 174: {// wxFocusEvent
+ evClass = (char*)"wxFocusEvent";
+ rt.addAtom((char*)"wxFocus");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 175: {// wxChildFocusEvent
+ evClass = (char*)"wxChildFocusEvent";
+ rt.addAtom((char*)"wxChildFocus");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 176: {// wxMenuEvent
+ evClass = (char*)"wxMenuEvent";
+ rt.addAtom((char*)"wxMenu");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 177: {// wxCloseEvent
+ evClass = (char*)"wxCloseEvent";
+ rt.addAtom((char*)"wxClose");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 178: {// wxShowEvent
+ evClass = (char*)"wxShowEvent";
+ rt.addAtom((char*)"wxShow");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 179: {// wxIconizeEvent
+ evClass = (char*)"wxIconizeEvent";
+ rt.addAtom((char*)"wxIconize");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 180: {// wxMaximizeEvent
+ evClass = (char*)"wxMaximizeEvent";
+ rt.addAtom((char*)"wxMaximize");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 181: {// wxJoystickEvent
+ evClass = (char*)"wxJoystickEvent";
+ rt.addAtom((char*)"wxJoystick");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 182: {// wxUpdateUIEvent
+ evClass = (char*)"wxUpdateUIEvent";
+ rt.addAtom((char*)"wxUpdateUI");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 183: {// wxSysColourChangedEvent
+ evClass = (char*)"wxSysColourChangedEvent";
+ rt.addAtom((char*)"wxSysColourChanged");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 184: {// wxMouseCaptureChangedEvent
+ evClass = (char*)"wxMouseCaptureChangedEvent";
+ rt.addAtom((char*)"wxMouseCaptureChanged");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 185: {// wxDisplayChangedEvent
+ evClass = (char*)"wxDisplayChangedEvent";
+ rt.addAtom((char*)"wxDisplayChanged");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 186: {// wxPaletteChangedEvent
+ evClass = (char*)"wxPaletteChangedEvent";
+ rt.addAtom((char*)"wxPaletteChanged");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 187: {// wxQueryNewPaletteEvent
+ evClass = (char*)"wxQueryNewPaletteEvent";
+ rt.addAtom((char*)"wxQueryNewPalette");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 188: {// wxNavigationKeyEvent
+ wxNavigationKeyEvent * ev = (wxNavigationKeyEvent *) event;
+ evClass = (char*)"wxNavigationKeyEvent";
+ rt.addAtom((char*)"wxNavigationKey");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->m_flags);
+ rt.addRef(getRef((void *)ev->m_focus,memenv), "wxWindow");
+ rt.addTupleCount(4);
+ break;
+}
+case 189: {// wxWindowCreateEvent
+ evClass = (char*)"wxWindowCreateEvent";
+ rt.addAtom((char*)"wxWindowCreate");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 190: {// wxWindowDestroyEvent
+ evClass = (char*)"wxWindowDestroyEvent";
+ rt.addAtom((char*)"wxWindowDestroy");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 191: {// wxHelpEvent
+ evClass = (char*)"wxHelpEvent";
+ rt.addAtom((char*)"wxHelp");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 192: {// wxContextMenuEvent
+ evClass = (char*)"wxContextMenuEvent";
+ rt.addAtom((char*)"wxContextMenu");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 193: {// wxIdleEvent
+ evClass = (char*)"wxIdleEvent";
+ rt.addAtom((char*)"wxIdle");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 194: {// wxGridEvent
+ wxGridEvent * ev = (wxGridEvent *) event;
+ evClass = (char*)"wxGridEvent";
+ rt.addAtom((char*)"wxGrid");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetRow());
+ rt.addInt(ev->GetCol());
+ rt.addInt(ev->GetPosition().x);
+ rt.addInt(ev->GetPosition().y);
+ rt.addBool(ev->Selecting());
+ rt.addBool(ev->ControlDown());
+ rt.addBool(ev->MetaDown());
+ rt.addBool(ev->ShiftDown());
+ rt.addBool(ev->AltDown());
+ rt.addTupleCount(11);
+ break;
+}
+case 196: {// wxSashEvent
+ wxSashEvent * ev = (wxSashEvent *) event;
+ evClass = (char*)"wxSashEvent";
+ rt.addAtom((char*)"wxSash");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetEdge());
+ rt.add(ev->GetDragRect());
+ rt.addInt(ev->GetDragStatus());
+ rt.addTupleCount(5);
+ break;
+}
+case 197: {// wxListEvent
+ wxListEvent * ev = (wxListEvent *) event;
+ evClass = (char*)"wxListEvent";
+ rt.addAtom((char*)"wxList");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetKeyCode());
+ rt.addInt(ev->m_oldItemIndex);
+ rt.addInt(ev->GetIndex());
+ rt.addInt(ev->m_col);
+ rt.add(ev->GetPoint());
+ rt.addTupleCount(7);
+ break;
+}
+case 198: {// wxDateEvent
+ wxDateEvent * ev = (wxDateEvent *) event;
+ evClass = (char*)"wxDateEvent";
+ rt.addAtom((char*)"wxDate");
+ rt.addAtom(Etype->eName);
+ rt.add(ev->GetDate());
+ rt.addTupleCount(3);
+ break;
+}
+case 199: {// wxCalendarEvent
+ evClass = (char*)"wxCalendarEvent";
+ rt.addAtom((char*)"wxCalendar");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 200: {// wxFileDirPickerEvent
+ wxFileDirPickerEvent * ev = (wxFileDirPickerEvent *) event;
+ evClass = (char*)"wxFileDirPickerEvent";
+ rt.addAtom((char*)"wxFileDirPicker");
+ rt.addAtom(Etype->eName);
+ rt.add(ev->GetPath());
+ rt.addTupleCount(3);
+ break;
+}
+case 201: {// wxColourPickerEvent
+ wxColourPickerEvent * ev = (wxColourPickerEvent *) event;
+ evClass = (char*)"wxColourPickerEvent";
+ rt.addAtom((char*)"wxColourPicker");
+ rt.addAtom(Etype->eName);
+ rt.add(ev->GetColour());
+ rt.addTupleCount(3);
+ break;
+}
+case 202: {// wxFontPickerEvent
+ wxFontPickerEvent * ev = (wxFontPickerEvent *) event;
+ wxFont * GetFont = new wxFont(ev->GetFont());
+ app->newPtr((void *) GetFont,3, memenv);
+ evClass = (char*)"wxFontPickerEvent";
+ rt.addAtom((char*)"wxFontPicker");
+ rt.addAtom(Etype->eName);
+ rt.addRef(getRef((void *)GetFont,memenv), "wxFont");
+ rt.addTupleCount(3);
+ break;
+}
+case 203: {// wxStyledTextEvent
+ wxStyledTextEvent * ev = (wxStyledTextEvent *) event;
+ evClass = (char*)"wxStyledTextEvent";
+ rt.addAtom((char*)"wxStyledText");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetPosition());
+ rt.addInt(ev->GetKey());
+ rt.addInt(ev->GetModifiers());
+ rt.addInt(ev->GetModificationType());
+ rt.add(ev->GetText());
+ rt.addInt(ev->GetLength());
+ rt.addInt(ev->GetLinesAdded());
+ rt.addInt(ev->GetLine());
+ rt.addInt(ev->GetFoldLevelNow());
+ rt.addInt(ev->GetFoldLevelPrev());
+ rt.addInt(ev->GetMargin());
+ rt.addInt(ev->GetMessage());
+ rt.addInt(ev->GetWParam());
+ rt.addInt(ev->GetLParam());
+ rt.addInt(ev->GetListType());
+ rt.addInt(ev->GetX());
+ rt.addInt(ev->GetY());
+ rt.add(ev->GetDragText());
+ rt.addBool(ev->GetDragAllowMove());
+ rt.addInt(ev->GetDragResult());
+ rt.addTupleCount(22);
+ break;
+}
+case 208: {// wxTreeEvent
+ wxTreeEvent * ev = (wxTreeEvent *) event;
+ evClass = (char*)"wxTreeEvent";
+ rt.addAtom((char*)"wxTree");
+ rt.addAtom(Etype->eName);
+ rt.addRef(getRef((void *)ev->GetItem().m_pItem,memenv), "wxTreeItemId");
+ rt.addRef(getRef((void *)ev->GetOldItem().m_pItem,memenv), "wxTreeItemId");
+ rt.add(ev->GetPoint());
+ rt.addTupleCount(5);
+ break;
+}
+case 209: {// wxNotebookEvent
+ evClass = (char*)"wxNotebookEvent";
+ rt.addAtom((char*)"wxNotebook");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 215: {// wxSpinEvent
+ wxSpinEvent * ev = (wxSpinEvent *) event;
+ evClass = (char*)"wxSpinEvent";
+ rt.addAtom((char*)"wxSpin");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetInt());
+ rt.addTupleCount(3);
+ break;
+}
+case 217: {// wxSplitterEvent
+ evClass = (char*)"wxSplitterEvent";
+ rt.addAtom((char*)"wxSplitter");
+ rt.addAtom(Etype->eName);
+ rt.addTupleCount(2);
+ break;
+}
+case 219: {// wxHtmlLinkEvent
+ wxHtmlLinkEvent * ev = (wxHtmlLinkEvent *) event;
+ evClass = (char*)"wxHtmlLinkEvent";
+ rt.addAtom((char*)"wxHtmlLink");
+ rt.addAtom(Etype->eName);
+ rt.add(ev->GetLinkInfo());
+ rt.addTupleCount(3);
+ break;
+}
+case 220: {// wxAuiNotebookEvent
+ wxAuiNotebookEvent * ev = (wxAuiNotebookEvent *) event;
+ wxAuiNotebook * GetDragSource = ev->GetDragSource();
+ evClass = (char*)"wxAuiNotebookEvent";
+ rt.addAtom((char*)"wxAuiNotebook");
+ rt.addAtom(Etype->eName);
+ rt.addInt(ev->GetOldSelection());
+ rt.addInt(ev->GetSelection());
+ rt.addRef(getRef((void *)GetDragSource,memenv), "wxAuiNotebook");
+ rt.addTupleCount(5);
+ break;
+}
+case 221: {// wxAuiManagerEvent
+ wxAuiManagerEvent * ev = (wxAuiManagerEvent *) event;
+ wxAuiManager * GetManager = ev->GetManager();
+ wxAuiPaneInfo * GetPane = ev->GetPane();
+ wxDC * GetDC = ev->GetDC();
+ evClass = (char*)"wxAuiManagerEvent";
+ rt.addAtom((char*)"wxAuiManager");
+ rt.addAtom(Etype->eName);
+ rt.addRef(getRef((void *)GetManager,memenv), "wxAuiManager");
+ rt.addRef(getRef((void *)GetPane,memenv), "wxAuiPaneInfo");
+ rt.addInt(ev->GetButton());
+ rt.addBool(ev->veto_flag);
+ rt.addBool(ev->canveto_flag);
+ rt.addRef(getRef((void *)GetDC,memenv), "wxDC");
+ rt.addTupleCount(8);
+ break;
+}
+ }
+
+ rt.addTupleCount(5);
+ if(cb->fun_id) {
+ rt.addRef(getRef((void *)event,memenv), evClass);
+ rt.addTupleCount(2);
+ rt.addInt(cb->fun_id);
+ rt.addAtom("_wx_invoke_cb_");
+ rt.addTupleCount(3);
+ pre_callback();
+ send_res = rt.send();
+ if(send_res) handle_event_callback(port, cb->listener);
+ app->clearPtr((void *) event);
+ } else {
+ send_res = rt.send();
+ if(cb->skip) event->Skip();
+ };
+ return send_res;
+ }
diff --git a/lib/wx/c_src/gen/wxe_funcs.cpp b/lib/wx/c_src/gen/wxe_funcs.cpp
new file mode 100644
index 0000000000..cb662fc91b
--- /dev/null
+++ b/lib/wx/c_src/gen/wxe_funcs.cpp
@@ -0,0 +1,31099 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+
+/***** This file is generated do not edit ****/
+
+#include <wx/wx.h>
+#include "../wxe_impl.h"
+#include "../wxe_events.h"
+#include "../wxe_return.h"
+#include "wxe_macros.h"
+#include "wxe_derived_dest.h"
+
+void WxeApp::wxe_dispatch(wxeCommand& Ecmd)
+{
+ char * bp = Ecmd.buffer;
+ wxeMemEnv *memenv = getMemEnv(Ecmd.port);
+ wxeReturn rt = wxeReturn(WXE_DRV_PORT, Ecmd.caller, true);
+ try {
+ switch (Ecmd.op)
+{
+ case DESTROY_OBJECT: {
+ wxObject *This = (wxObject *) getPtr(bp,memenv); if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This; }
+ } break;
+ case WXE_REGISTER_OBJECT: {
+ registerPid(bp, Ecmd.caller, memenv);
+ rt.addAtom("ok");
+ break;
+ }
+case 98: { // wxeEvtListener::wxeEvtListener
+ wxeEvtListener *Result = new wxeEvtListener(Ecmd.port);
+ rt.addRef(getRef((void *)Result,memenv), "wxeEvtListener");
+ break;
+}
+case 99: { // wxeEvtListener::destroy
+ wxObject *This = (wxObject *) getPtr(bp,memenv);
+ rt.addAtom("ok");
+ delete This;
+ break;
+}
+
+case 100: { // wxEvtHandler::Connect
+ wxeEvtListener *Listener = (wxeEvtListener *) getPtr(bp,memenv); bp += 4;
+ wxEvtHandler *This = (wxEvtHandler *) getPtr(bp, memenv); bp += 4;
+ int * winid = (int *) bp; bp += 4;
+ int * lastId = (int *) bp; bp += 4;
+ int * skip = (int *) bp; bp += 4;
+ int * haveUserData = (int *) bp; bp += 4;
+ wxeErlTerm * userData = NULL;
+ int * fun_cb = (int *) bp; bp += 4;
+ int * eventTypeLen = (int *) bp; bp += 4;
+ int * class_nameLen = (int *) bp; bp += 4;
+
+ if(*haveUserData) {
+ userData = new wxeErlTerm(Ecmd.bin[0]);
+ }
+
+ int eventType = wxeEventTypeFromAtom(bp); bp += *eventTypeLen;
+ char *class_name = bp; bp+= *class_nameLen;
+ if(eventType > 0 ) {
+ wxeCallbackData * Evt_cb = new wxeCallbackData(Ecmd.caller,(void *) This,
+ class_name,*fun_cb,
+ *skip, userData);
+ This->Connect((int) *winid,(int) *lastId,eventType,
+ (wxObjectEventFunction)(wxEventFunction) &wxeEvtListener::forward,
+ Evt_cb, Listener);
+ rt.addAtom("ok");
+ } else {
+ rt.addAtom("badarg");
+ rt.addAtom("event_type");
+ rt.addTupleCount(2);
+ }
+ break;
+}
+case 101: { // wxEvtHandler::Disconnect
+ wxeEvtListener *Listener = (wxeEvtListener *) getPtr(bp,memenv); bp += 4;
+ wxEvtHandler *This = (wxEvtHandler *) getPtr(bp, memenv); bp += 4;
+ int * winid = (int *) bp; bp += 4;
+ int * lastId = (int *) bp; bp += 4;
+ int * eventTypeLen = (int *) bp; bp += 4;
+
+ int eventType = wxeEventTypeFromAtom(bp); bp += *eventTypeLen;
+ if(eventType > 0) {
+ bool Result = This->Disconnect((int) *winid,(int) *lastId,eventType,
+ (wxObjectEventFunction)(wxEventFunction)
+ &wxeEvtListener::forward,
+ NULL, Listener);
+ rt.addBool(Result);
+ } else {
+ rt.addAtom("badarg");
+ rt.addAtom("event_type");
+ rt.addTupleCount(2);
+ }
+ break;
+}
+
+case wxWindow_new_0: { // wxWindow::wxWindow
+ wxWindow * Result = new EwxWindow();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_new_3: { // wxWindow::wxWindow
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxWindow * Result = new EwxWindow(parent,(wxWindowID) *id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_CacheBestSize: { // wxWindow::CacheBestSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->CacheBestSize(size);
+ break;
+}
+case wxWindow_CaptureMouse: { // wxWindow::CaptureMouse
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CaptureMouse();
+ break;
+}
+case wxWindow_Center: { // wxWindow::Center
+ int dir=wxBOTH;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ dir = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Center(dir);
+ break;
+}
+case wxWindow_CenterOnParent: { // wxWindow::CenterOnParent
+ int dir=wxBOTH;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ dir = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->CenterOnParent(dir);
+ break;
+}
+case wxWindow_Centre: { // wxWindow::Centre
+ int dir=wxBOTH;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ dir = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Centre(dir);
+ break;
+}
+case wxWindow_CentreOnParent: { // wxWindow::CentreOnParent
+ int dir=wxBOTH;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ dir = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->CentreOnParent(dir);
+ break;
+}
+case wxWindow_ClearBackground: { // wxWindow::ClearBackground
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearBackground();
+ break;
+}
+case wxWindow_ClientToScreen_2: { // wxWindow::ClientToScreen
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClientToScreen(x,y);
+ rt.addInt(*x);
+ rt.addInt(*y);
+ rt.addTupleCount(2);
+ break;
+}
+case wxWindow_ClientToScreen_1: { // wxWindow::ClientToScreen
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->ClientToScreen(pt);
+ rt.add(Result);
+ break;
+}
+case wxWindow_Close: { // wxWindow::Close
+ bool force=false;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ force = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Close(force);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_ConvertDialogToPixels: { // wxWindow::ConvertDialogToPixels
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->ConvertDialogToPixels(sz);
+ rt.add(Result);
+ break;
+}
+case wxWindow_ConvertPixelsToDialog: { // wxWindow::ConvertPixelsToDialog
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->ConvertPixelsToDialog(sz);
+ rt.add(Result);
+ break;
+}
+case wxWindow_Destroy: { // wxWindow::Destroy
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Destroy();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_DestroyChildren: { // wxWindow::DestroyChildren
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DestroyChildren();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Disable: { // wxWindow::Disable
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Disable();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Enable: { // wxWindow::Enable
+ bool enable=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Enable(enable);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_FindFocus: { // wxWindow::FindFocus
+ wxWindow * Result = (wxWindow*)wxWindow::FindFocus();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_FindWindow_1_0: { // wxWindow::FindWindow
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * winid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->FindWindow((long) *winid);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_FindWindow_1_1: { // wxWindow::FindWindow
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->FindWindow(name);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_FindWindowById: { // wxWindow::FindWindowById
+ const wxWindow * parent=NULL;
+ int * winid = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxWindow * Result = (wxWindow*)wxWindow::FindWindowById((long) *winid,parent);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_FindWindowByName: { // wxWindow::FindWindowByName
+ const wxWindow * parent=NULL;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxWindow * Result = (wxWindow*)wxWindow::FindWindowByName(name,parent);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_FindWindowByLabel: { // wxWindow::FindWindowByLabel
+ const wxWindow * parent=NULL;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxWindow * Result = (wxWindow*)wxWindow::FindWindowByLabel(label,parent);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_Fit: { // wxWindow::Fit
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Fit();
+ break;
+}
+case wxWindow_FitInside: { // wxWindow::FitInside
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->FitInside();
+ break;
+}
+case wxWindow_Freeze: { // wxWindow::Freeze
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Freeze();
+ break;
+}
+case wxWindow_GetAcceleratorTable: { // wxWindow::GetAcceleratorTable
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAcceleratorTable * Result = (wxAcceleratorTable*)This->GetAcceleratorTable();
+ rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorTable");
+ break;
+}
+case wxWindow_GetBackgroundColour: { // wxWindow::GetBackgroundColour
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetBackgroundColour();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetBackgroundStyle: { // wxWindow::GetBackgroundStyle
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetBackgroundStyle();
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetBestSize: { // wxWindow::GetBestSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetBestSize();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetCaret: { // wxWindow::GetCaret
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCaret * Result = (wxCaret*)This->GetCaret();
+ rt.addRef(getRef((void *)Result,memenv), "wxCaret");
+ break;
+}
+case wxWindow_GetCapture: { // wxWindow::GetCapture
+ wxWindow * Result = (wxWindow*)wxWindow::GetCapture();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_GetCharHeight: { // wxWindow::GetCharHeight
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCharHeight();
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetCharWidth: { // wxWindow::GetCharWidth
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCharWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetChildren: { // wxWindow::GetChildren
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxWindowList Result = This->GetChildren();
+ int i=0;
+ for(wxWindowList::const_iterator it = Result.begin(); it != Result.end(); ++it) {
+ wxWindow * ResultTmp = *it;
+ rt.addRef(getRef((void *)ResultTmp,memenv), "wxWindow"); i++;}
+ rt.endList(Result.GetCount());
+ break;
+}
+case wxWindow_GetClientSize: { // wxWindow::GetClientSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetClientSize();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetContainingSizer: { // wxWindow::GetContainingSizer
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizer * Result = (wxSizer*)This->GetContainingSizer();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizer");
+ break;
+}
+case wxWindow_GetCursor: { // wxWindow::GetCursor
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxCursor * Result = &This->GetCursor();
+ rt.addRef(getRef((void *)Result,memenv), "wxCursor");
+ break;
+}
+case wxWindow_GetDropTarget: { // wxWindow::GetDropTarget
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxDropTarget * Result = (wxDropTarget*)This->GetDropTarget();
+ rt.addRef(getRef((void *)Result,memenv), "wxDropTarget");
+ break;
+}
+case wxWindow_GetEventHandler: { // wxWindow::GetEventHandler
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxEvtHandler * Result = (wxEvtHandler*)This->GetEventHandler();
+ rt.addRef(getRef((void *)Result,memenv), "wxEvtHandler");
+ break;
+}
+case wxWindow_GetExtraStyle: { // wxWindow::GetExtraStyle
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetExtraStyle();
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetFont: { // wxWindow::GetFont
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxWindow_GetForegroundColour: { // wxWindow::GetForegroundColour
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetForegroundColour();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetGrandParent: { // wxWindow::GetGrandParent
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetGrandParent();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_GetHandle: { // wxWindow::GetHandle
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxUIntPtr * Result = (wxUIntPtr*)This->GetHandle();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetHelpText: { // wxWindow::GetHelpText
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetHelpText();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetId: { // wxWindow::GetId
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindowID Result = This->GetId();
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetLabel: { // wxWindow::GetLabel
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabel();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetMaxSize: { // wxWindow::GetMaxSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetMaxSize();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetMinSize: { // wxWindow::GetMinSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetMinSize();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetName: { // wxWindow::GetName
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetName();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetParent: { // wxWindow::GetParent
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetParent();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxWindow_GetPosition: { // wxWindow::GetPosition
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetRect: { // wxWindow::GetRect
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetRect();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetScreenPosition: { // wxWindow::GetScreenPosition
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetScreenPosition();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetScreenRect: { // wxWindow::GetScreenRect
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetScreenRect();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetScrollPos: { // wxWindow::GetScrollPos
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetScrollPos((int) *orient);
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetScrollRange: { // wxWindow::GetScrollRange
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetScrollRange((int) *orient);
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetScrollThumb: { // wxWindow::GetScrollThumb
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetScrollThumb((int) *orient);
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetSize: { // wxWindow::GetSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSize();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetSizer: { // wxWindow::GetSizer
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizer * Result = (wxSizer*)This->GetSizer();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizer");
+ break;
+}
+case wxWindow_GetTextExtent: { // wxWindow::GetTextExtent
+ int x;
+ int y;
+ int descent;
+ int externalLeading;
+ const wxFont * theFont=(const wxFont *) NULL;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * stringLen = (int *) bp; bp += 4;
+ wxString string = wxString(bp, wxConvUTF8);
+ bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+theFont = (wxFont *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->GetTextExtent(string,&x,&y,&descent,&externalLeading,theFont);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addInt(descent);
+ rt.addInt(externalLeading);
+ rt.addTupleCount(4);
+ break;
+}
+case wxWindow_GetToolTip: { // wxWindow::GetToolTip
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolTip * Result = (wxToolTip*)This->GetToolTip();
+ rt.addRef(getRef((void *)Result,memenv), "wxToolTip");
+ break;
+}
+case wxWindow_GetUpdateRegion: { // wxWindow::GetUpdateRegion
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxRegion * Result = &This->GetUpdateRegion();
+ rt.addRef(getRef((void *)Result,memenv), "wxRegion");
+ break;
+}
+case wxWindow_GetVirtualSize: { // wxWindow::GetVirtualSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetVirtualSize();
+ rt.add(Result);
+ break;
+}
+case wxWindow_GetWindowStyleFlag: { // wxWindow::GetWindowStyleFlag
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetWindowStyleFlag();
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_GetWindowVariant: { // wxWindow::GetWindowVariant
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWindowVariant();
+ rt.addInt(Result);
+ break;
+}
+case wxWindow_HasCapture: { // wxWindow::HasCapture
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasCapture();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_HasScrollbar: { // wxWindow::HasScrollbar
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasScrollbar((int) *orient);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_HasTransparentBackground: { // wxWindow::HasTransparentBackground
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasTransparentBackground();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Hide: { // wxWindow::Hide
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Hide();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_InheritAttributes: { // wxWindow::InheritAttributes
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->InheritAttributes();
+ break;
+}
+case wxWindow_InitDialog: { // wxWindow::InitDialog
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->InitDialog();
+ break;
+}
+case wxWindow_InvalidateBestSize: { // wxWindow::InvalidateBestSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->InvalidateBestSize();
+ break;
+}
+case wxWindow_IsEnabled: { // wxWindow::IsEnabled
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEnabled();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_IsExposed_2: { // wxWindow::IsExposed
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsExposed((int) *x,(int) *y);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_IsExposed_4: { // wxWindow::IsExposed
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * w = (int *) bp; bp += 4;
+ int * h = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsExposed((int) *x,(int) *y,(int) *w,(int) *h);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_IsExposed_1_0: { // wxWindow::IsExposed
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsExposed(pt);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_IsExposed_1_1: { // wxWindow::IsExposed
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsExposed(rect);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_IsRetained: { // wxWindow::IsRetained
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsRetained();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_IsShown: { // wxWindow::IsShown
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsShown();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_IsTopLevel: { // wxWindow::IsTopLevel
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsTopLevel();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Layout: { // wxWindow::Layout
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Layout();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_LineDown: { // wxWindow::LineDown
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LineDown();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_LineUp: { // wxWindow::LineUp
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LineUp();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Lower: { // wxWindow::Lower
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Lower();
+ break;
+}
+case wxWindow_MakeModal: { // wxWindow::MakeModal
+ bool modal=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ modal = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->MakeModal(modal);
+ break;
+}
+case wxWindow_Move_3: { // wxWindow::Move
+ int flags=wxSIZE_USE_EXISTING;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Move((int) *x,(int) *y,flags);
+ break;
+}
+case wxWindow_Move_2: { // wxWindow::Move
+ int flags=wxSIZE_USE_EXISTING;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Move(pt,flags);
+ break;
+}
+case wxWindow_MoveAfterInTabOrder: { // wxWindow::MoveAfterInTabOrder
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MoveAfterInTabOrder(win);
+ break;
+}
+case wxWindow_MoveBeforeInTabOrder: { // wxWindow::MoveBeforeInTabOrder
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MoveBeforeInTabOrder(win);
+ break;
+}
+case wxWindow_Navigate: { // wxWindow::Navigate
+ int flags=wxNavigationKeyEvent::IsForward;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Navigate(flags);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_PageDown: { // wxWindow::PageDown
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PageDown();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_PageUp: { // wxWindow::PageUp
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PageUp();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_PopEventHandler: { // wxWindow::PopEventHandler
+ bool deleteHandler=false;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ deleteHandler = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxEvtHandler * Result = (wxEvtHandler*)This->PopEventHandler(deleteHandler);
+ rt.addRef(getRef((void *)Result,memenv), "wxEvtHandler");
+ break;
+}
+case wxWindow_PopupMenu_2: { // wxWindow::PopupMenu
+ wxPoint pos= wxDefaultPosition;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PopupMenu(menu,pos);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_PopupMenu_3: { // wxWindow::PopupMenu
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PopupMenu(menu,(int) *x,(int) *y);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Raise: { // wxWindow::Raise
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Raise();
+ break;
+}
+case wxWindow_Refresh: { // wxWindow::Refresh
+ bool eraseBackground=true;
+ const wxRect *rect=(const wxRect *) NULL; wxRect rectTmp;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ eraseBackground = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ rectTmp = wxRect(*rectX,*rectY,*rectW,*rectH); rect = & rectTmp;
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Refresh(eraseBackground,rect);
+ break;
+}
+case wxWindow_RefreshRect: { // wxWindow::RefreshRect
+ bool eraseBackground=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ eraseBackground = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->RefreshRect(rect,eraseBackground);
+ break;
+}
+case wxWindow_ReleaseMouse: { // wxWindow::ReleaseMouse
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ReleaseMouse();
+ break;
+}
+case wxWindow_RemoveChild: { // wxWindow::RemoveChild
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *child = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RemoveChild(child);
+ break;
+}
+case wxWindow_Reparent: { // wxWindow::Reparent
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *newParent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Reparent(newParent);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_ScreenToClient_2: { // wxWindow::ScreenToClient
+ int x;
+ int y;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ScreenToClient(&x,&y);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addTupleCount(2);
+ break;
+}
+case wxWindow_ScreenToClient_1: { // wxWindow::ScreenToClient
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->ScreenToClient(pt);
+ rt.add(Result);
+ break;
+}
+case wxWindow_ScrollLines: { // wxWindow::ScrollLines
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * lines = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ScrollLines((int) *lines);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_ScrollPages: { // wxWindow::ScrollPages
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * pages = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ScrollPages((int) *pages);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_ScrollWindow: { // wxWindow::ScrollWindow
+ const wxRect *rect=(wxRect *) NULL; wxRect rectTmp;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * dx = (int *) bp; bp += 4;
+ int * dy = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ rectTmp = wxRect(*rectX,*rectY,*rectW,*rectH); rect = & rectTmp;
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->ScrollWindow((int) *dx,(int) *dy,rect);
+ break;
+}
+case wxWindow_SetAcceleratorTable: { // wxWindow::SetAcceleratorTable
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxAcceleratorTable *accel = (wxAcceleratorTable *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAcceleratorTable(*accel);
+ break;
+}
+case wxWindow_SetAutoLayout: { // wxWindow::SetAutoLayout
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bool * autoLayout = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAutoLayout((bool) *autoLayout);
+ break;
+}
+case wxWindow_SetBackgroundColour: { // wxWindow::SetBackgroundColour
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetBackgroundColour(colour);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_SetBackgroundStyle: { // wxWindow::SetBackgroundStyle
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxBackgroundStyle style = *(wxBackgroundStyle *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetBackgroundStyle((wxBackgroundStyle) style);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_SetCaret: { // wxWindow::SetCaret
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxCaret *caret = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCaret(caret);
+ break;
+}
+case wxWindow_SetClientSize_2: { // wxWindow::SetClientSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetClientSize((int) *width,(int) *height);
+ break;
+}
+case wxWindow_SetClientSize_1_0: { // wxWindow::SetClientSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetClientSize(size);
+ break;
+}
+case wxWindow_SetClientSize_1_1: { // wxWindow::SetClientSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->SetClientSize(rect);
+ break;
+}
+case wxWindow_SetContainingSizer: { // wxWindow::SetContainingSizer
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetContainingSizer(sizer);
+ break;
+}
+case wxWindow_SetCursor: { // wxWindow::SetCursor
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxCursor *cursor = (wxCursor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetCursor(*cursor);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_SetMaxSize: { // wxWindow::SetMaxSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * maxSizeW = (int *) bp; bp += 4;
+ int * maxSizeH = (int *) bp; bp += 4;
+ wxSize maxSize = wxSize(*maxSizeW,*maxSizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetMaxSize(maxSize);
+ break;
+}
+case wxWindow_SetMinSize: { // wxWindow::SetMinSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * minSizeW = (int *) bp; bp += 4;
+ int * minSizeH = (int *) bp; bp += 4;
+ wxSize minSize = wxSize(*minSizeW,*minSizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetMinSize(minSize);
+ break;
+}
+case wxWindow_SetOwnBackgroundColour: { // wxWindow::SetOwnBackgroundColour
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetOwnBackgroundColour(colour);
+ break;
+}
+case wxWindow_SetOwnFont: { // wxWindow::SetOwnFont
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetOwnFont(*font);
+ break;
+}
+case wxWindow_SetOwnForegroundColour: { // wxWindow::SetOwnForegroundColour
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetOwnForegroundColour(colour);
+ break;
+}
+case wxWindow_SetDropTarget: { // wxWindow::SetDropTarget
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxDropTarget *dropTarget = (wxDropTarget *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDropTarget(dropTarget);
+ break;
+}
+case wxWindow_SetExtraStyle: { // wxWindow::SetExtraStyle
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * exStyle = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetExtraStyle((long) *exStyle);
+ break;
+}
+case wxWindow_SetFocus: { // wxWindow::SetFocus
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFocus();
+ break;
+}
+case wxWindow_SetFocusFromKbd: { // wxWindow::SetFocusFromKbd
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFocusFromKbd();
+ break;
+}
+case wxWindow_SetFont: { // wxWindow::SetFont
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetFont(*font);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_SetForegroundColour: { // wxWindow::SetForegroundColour
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetForegroundColour(colour);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_SetHelpText: { // wxWindow::SetHelpText
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetHelpText(text);
+ break;
+}
+case wxWindow_SetId: { // wxWindow::SetId
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * winid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetId((wxWindowID) *winid);
+ break;
+}
+case wxWindow_SetLabel: { // wxWindow::SetLabel
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabel(label);
+ break;
+}
+case wxWindow_SetName: { // wxWindow::SetName
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetName(name);
+ break;
+}
+case wxWindow_SetPalette: { // wxWindow::SetPalette
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxPalette *pal = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPalette(*pal);
+ break;
+}
+case wxWindow_SetScrollbar: { // wxWindow::SetScrollbar
+ bool refresh=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * thumbVisible = (int *) bp; bp += 4;
+ int * range = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ refresh = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollbar((int) *orient,(int) *pos,(int) *thumbVisible,(int) *range,refresh);
+ break;
+}
+case wxWindow_SetScrollPos: { // wxWindow::SetScrollPos
+ bool refresh=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ refresh = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollPos((int) *orient,(int) *pos,refresh);
+ break;
+}
+case wxWindow_SetSize_5: { // wxWindow::SetSize
+ int sizeFlags=wxSIZE_AUTO;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ sizeFlags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSize((int) *x,(int) *y,(int) *width,(int) *height,sizeFlags);
+ break;
+}
+case wxWindow_SetSize_2_0: { // wxWindow::SetSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSize((int) *width,(int) *height);
+ break;
+}
+case wxWindow_SetSize_1: { // wxWindow::SetSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetSize(size);
+ break;
+}
+case wxWindow_SetSize_2_1: { // wxWindow::SetSize
+ int sizeFlags=wxSIZE_AUTO;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ sizeFlags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSize(rect,sizeFlags);
+ break;
+}
+case wxWindow_SetSizeHints_3: { // wxWindow::SetSizeHints
+ int maxW=wxDefaultCoord;
+ int maxH=wxDefaultCoord;
+ int incW=wxDefaultCoord;
+ int incH=wxDefaultCoord;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * minW = (int *) bp; bp += 4;
+ int * minH = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ maxW = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ maxH = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ incW = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+ incH = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSizeHints((int) *minW,(int) *minH,maxW,maxH,incW,incH);
+ break;
+}
+case wxWindow_SetSizeHints_2: { // wxWindow::SetSizeHints
+ wxSize maxSize= wxDefaultSize;
+ wxSize incSize= wxDefaultSize;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * minSizeW = (int *) bp; bp += 4;
+ int * minSizeH = (int *) bp; bp += 4;
+ wxSize minSize = wxSize(*minSizeW,*minSizeH);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * maxSizeW = (int *) bp; bp += 4;
+ int * maxSizeH = (int *) bp; bp += 4;
+ maxSize = wxSize(*maxSizeW,*maxSizeH);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * incSizeW = (int *) bp; bp += 4;
+ int * incSizeH = (int *) bp; bp += 4;
+ incSize = wxSize(*incSizeW,*incSizeH);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSizeHints(minSize,maxSize,incSize);
+ break;
+}
+case wxWindow_SetSizer: { // wxWindow::SetSizer
+ bool deleteOld=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ deleteOld = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSizer(sizer,deleteOld);
+ break;
+}
+case wxWindow_SetSizerAndFit: { // wxWindow::SetSizerAndFit
+ bool deleteOld=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ deleteOld = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSizerAndFit(sizer,deleteOld);
+ break;
+}
+case wxWindow_SetThemeEnabled: { // wxWindow::SetThemeEnabled
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bool * enableTheme = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetThemeEnabled((bool) *enableTheme);
+ break;
+}
+case wxWindow_SetToolTip_1_0: { // wxWindow::SetToolTip
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * tipLen = (int *) bp; bp += 4;
+ wxString tip = wxString(bp, wxConvUTF8);
+ bp += *tipLen+((8-((0+ *tipLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetToolTip(tip);
+ break;
+}
+case wxWindow_SetToolTip_1_1: { // wxWindow::SetToolTip
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxToolTip *tip = (wxToolTip *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetToolTip(tip);
+ break;
+}
+case wxWindow_SetVirtualSize_1: { // wxWindow::SetVirtualSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetVirtualSize(size);
+ break;
+}
+case wxWindow_SetVirtualSize_2: { // wxWindow::SetVirtualSize
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetVirtualSize((int) *x,(int) *y);
+ break;
+}
+case wxWindow_SetVirtualSizeHints_3: { // wxWindow::SetVirtualSizeHints
+ int maxW=wxDefaultCoord;
+ int maxH=wxDefaultCoord;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * minW = (int *) bp; bp += 4;
+ int * minH = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ maxW = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ maxH = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetVirtualSizeHints((int) *minW,(int) *minH,maxW,maxH);
+ break;
+}
+case wxWindow_SetVirtualSizeHints_2: { // wxWindow::SetVirtualSizeHints
+ wxSize maxSize= wxDefaultSize;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * minSizeW = (int *) bp; bp += 4;
+ int * minSizeH = (int *) bp; bp += 4;
+ wxSize minSize = wxSize(*minSizeW,*minSizeH);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * maxSizeW = (int *) bp; bp += 4;
+ int * maxSizeH = (int *) bp; bp += 4;
+ maxSize = wxSize(*maxSizeW,*maxSizeH);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetVirtualSizeHints(minSize,maxSize);
+ break;
+}
+case wxWindow_SetWindowStyle: { // wxWindow::SetWindowStyle
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWindowStyle((long) *style);
+ break;
+}
+case wxWindow_SetWindowStyleFlag: { // wxWindow::SetWindowStyleFlag
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWindowStyleFlag((long) *style);
+ break;
+}
+case wxWindow_SetWindowVariant: { // wxWindow::SetWindowVariant
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindowVariant variant = *(wxWindowVariant *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetWindowVariant((wxWindowVariant) variant);
+ break;
+}
+case wxWindow_ShouldInheritColours: { // wxWindow::ShouldInheritColours
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ShouldInheritColours();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Show: { // wxWindow::Show
+ bool show=true;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Show(show);
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Thaw: { // wxWindow::Thaw
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Thaw();
+ break;
+}
+case wxWindow_TransferDataFromWindow: { // wxWindow::TransferDataFromWindow
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->TransferDataFromWindow();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_TransferDataToWindow: { // wxWindow::TransferDataToWindow
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->TransferDataToWindow();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_Update: { // wxWindow::Update
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Update();
+ break;
+}
+case wxWindow_UpdateWindowUI: { // wxWindow::UpdateWindowUI
+ long flags=wxUPDATE_UI_NONE;
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->UpdateWindowUI(flags);
+ break;
+}
+case wxWindow_Validate: { // wxWindow::Validate
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Validate();
+ rt.addBool(Result);
+ break;
+}
+case wxWindow_WarpPointer: { // wxWindow::WarpPointer
+ wxWindow *This = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WarpPointer((int) *x,(int) *y);
+ break;
+}
+case wxTopLevelWindow_GetIcon: { // wxTopLevelWindow::GetIcon
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxIcon * Result = &This->GetIcon();
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxTopLevelWindow_GetIcons: { // wxTopLevelWindow::GetIcons
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxIconBundle * Result = &This->GetIcons();
+ rt.addRef(getRef((void *)Result,memenv), "wxIconBundle");
+ break;
+}
+case wxTopLevelWindow_GetTitle: { // wxTopLevelWindow::GetTitle
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetTitle();
+ rt.add(Result);
+ break;
+}
+case wxTopLevelWindow_IsActive: { // wxTopLevelWindow::IsActive
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsActive();
+ rt.addBool(Result);
+ break;
+}
+case wxTopLevelWindow_Iconize: { // wxTopLevelWindow::Iconize
+ bool iconize=true;
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ iconize = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Iconize(iconize);
+ break;
+}
+case wxTopLevelWindow_IsFullScreen: { // wxTopLevelWindow::IsFullScreen
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsFullScreen();
+ rt.addBool(Result);
+ break;
+}
+case wxTopLevelWindow_IsIconized: { // wxTopLevelWindow::IsIconized
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsIconized();
+ rt.addBool(Result);
+ break;
+}
+case wxTopLevelWindow_IsMaximized: { // wxTopLevelWindow::IsMaximized
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsMaximized();
+ rt.addBool(Result);
+ break;
+}
+case wxTopLevelWindow_Maximize: { // wxTopLevelWindow::Maximize
+ bool maximize=true;
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ maximize = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Maximize(maximize);
+ break;
+}
+case wxTopLevelWindow_RequestUserAttention: { // wxTopLevelWindow::RequestUserAttention
+ int flags=wxUSER_ATTENTION_INFO;
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->RequestUserAttention(flags);
+ break;
+}
+case wxTopLevelWindow_SetIcon: { // wxTopLevelWindow::SetIcon
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetIcon(*icon);
+ break;
+}
+case wxTopLevelWindow_SetIcons: { // wxTopLevelWindow::SetIcons
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ wxIconBundle *icons = (wxIconBundle *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetIcons(*icons);
+ break;
+}
+case wxTopLevelWindow_CenterOnScreen: { // wxTopLevelWindow::CenterOnScreen
+ int dir=wxBOTH;
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ dir = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->CenterOnScreen(dir);
+ break;
+}
+case wxTopLevelWindow_CentreOnScreen: { // wxTopLevelWindow::CentreOnScreen
+ int dir=wxBOTH;
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ dir = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->CentreOnScreen(dir);
+ break;
+}
+case wxTopLevelWindow_SetShape: { // wxTopLevelWindow::SetShape
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetShape(*region);
+ rt.addBool(Result);
+ break;
+}
+case wxTopLevelWindow_SetTitle: { // wxTopLevelWindow::SetTitle
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetTitle(title);
+ break;
+}
+case wxTopLevelWindow_ShowFullScreen: { // wxTopLevelWindow::ShowFullScreen
+ long style=wxFULLSCREEN_ALL;
+ wxTopLevelWindow *This = (wxTopLevelWindow *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ShowFullScreen((bool) *show,style);
+ rt.addBool(Result);
+ break;
+}
+case wxFrame_new_4: { // wxFrame::wxFrame
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_FRAME_STYLE;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxFrame * Result = new EwxFrame(parent,(wxWindowID) *id,title,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFrame");
+ break;
+}
+case wxFrame_new_0: { // wxFrame::wxFrame
+ wxFrame * Result = new EwxFrame();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFrame");
+ break;
+}
+case wxFrame_Create: { // wxFrame::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_FRAME_STYLE;
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxFrame_CreateStatusBar: { // wxFrame::CreateStatusBar
+ int number=1;
+ long style=wxST_SIZEGRIP|wxFULL_REPAINT_ON_RESIZE;
+ wxWindowID id=0;
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ number = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxStatusBar * Result = (wxStatusBar*)This->CreateStatusBar(number,style,id);
+ rt.addRef(getRef((void *)Result,memenv), "wxStatusBar");
+ break;
+}
+case wxFrame_CreateToolBar: { // wxFrame::CreateToolBar
+ long style=-1;
+ wxWindowID id=-1;
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBar * Result = (wxToolBar*)This->CreateToolBar(style,id);
+ rt.addRef(getRef((void *)Result,memenv), "wxToolBar");
+ break;
+}
+case wxFrame_GetClientAreaOrigin: { // wxFrame::GetClientAreaOrigin
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetClientAreaOrigin();
+ rt.add(Result);
+ break;
+}
+case wxFrame_GetMenuBar: { // wxFrame::GetMenuBar
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuBar * Result = (wxMenuBar*)This->GetMenuBar();
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuBar");
+ break;
+}
+case wxFrame_GetStatusBar: { // wxFrame::GetStatusBar
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxStatusBar * Result = (wxStatusBar*)This->GetStatusBar();
+ rt.addRef(getRef((void *)Result,memenv), "wxStatusBar");
+ break;
+}
+case wxFrame_GetStatusBarPane: { // wxFrame::GetStatusBarPane
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStatusBarPane();
+ rt.addInt(Result);
+ break;
+}
+case wxFrame_GetToolBar: { // wxFrame::GetToolBar
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBar * Result = (wxToolBar*)This->GetToolBar();
+ rt.addRef(getRef((void *)Result,memenv), "wxToolBar");
+ break;
+}
+case wxFrame_ProcessCommand: { // wxFrame::ProcessCommand
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ int * winid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ProcessCommand((int) *winid);
+ rt.addBool(Result);
+ break;
+}
+case wxFrame_SendSizeEvent: { // wxFrame::SendSizeEvent
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SendSizeEvent();
+ break;
+}
+case wxFrame_SetMenuBar: { // wxFrame::SetMenuBar
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ wxMenuBar *menubar = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMenuBar(menubar);
+ break;
+}
+case wxFrame_SetStatusBar: { // wxFrame::SetStatusBar
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ wxStatusBar *statbar = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStatusBar(statbar);
+ break;
+}
+case wxFrame_SetStatusBarPane: { // wxFrame::SetStatusBarPane
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStatusBarPane((int) *n);
+ break;
+}
+case wxFrame_SetStatusText: { // wxFrame::SetStatusText
+ int number=0;
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ number = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetStatusText(text,number);
+ break;
+}
+case wxFrame_SetStatusWidths: { // wxFrame::SetStatusWidths
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ int * widths_fieldLen = (int *) bp; bp += 4;
+ int * widths_field = (int *) bp; bp += *widths_fieldLen*4+((0+ *widths_fieldLen)%2 )*4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStatusWidths(*widths_fieldLen,widths_field);
+ break;
+}
+case wxFrame_SetToolBar: { // wxFrame::SetToolBar
+ wxFrame *This = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ wxToolBar *toolbar = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetToolBar(toolbar);
+ break;
+}
+case wxMiniFrame_new_0: { // wxMiniFrame::wxMiniFrame
+ wxMiniFrame * Result = new EwxMiniFrame();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMiniFrame");
+ break;
+}
+case wxMiniFrame_new_4: { // wxMiniFrame::wxMiniFrame
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxCAPTION|wxRESIZE_BORDER;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxMiniFrame * Result = new EwxMiniFrame(parent,(wxWindowID) *id,title,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMiniFrame");
+ break;
+}
+case wxMiniFrame_Create: { // wxMiniFrame::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxCAPTION|wxRESIZE_BORDER;
+ wxMiniFrame *This = (wxMiniFrame *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxSplashScreen_new_0: { // wxSplashScreen::wxSplashScreen
+ wxSplashScreen * Result = new EwxSplashScreen();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSplashScreen");
+ break;
+}
+case wxSplashScreen_new_6: { // wxSplashScreen::wxSplashScreen
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * splashStyle = (int *) bp; bp += 4;
+ int * milliseconds = (int *) bp; bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxSplashScreen * Result = new EwxSplashScreen(*bitmap,(long) *splashStyle,(int) *milliseconds,parent,(wxWindowID) *id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSplashScreen");
+ break;
+}
+case wxSplashScreen_GetSplashStyle: { // wxSplashScreen::GetSplashStyle
+ wxSplashScreen *This = (wxSplashScreen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetSplashStyle();
+ rt.addInt(Result);
+ break;
+}
+case wxSplashScreen_GetTimeout: { // wxSplashScreen::GetTimeout
+ wxSplashScreen *This = (wxSplashScreen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetTimeout();
+ rt.addInt(Result);
+ break;
+}
+case wxPanel_new_0: { // wxPanel::wxPanel
+ wxPanel * Result = new EwxPanel();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPanel");
+ break;
+}
+case wxPanel_new_6: { // wxPanel::wxPanel
+ long style=wxTAB_TRAVERSAL|wxNO_BORDER;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxPanel * Result = new EwxPanel(parent,(int) *x,(int) *y,(int) *width,(int) *height,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPanel");
+ break;
+}
+case wxPanel_new_2: { // wxPanel::wxPanel
+ wxWindowID winid=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxTAB_TRAVERSAL|wxNO_BORDER;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ winid = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxPanel * Result = new EwxPanel(parent,winid,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPanel");
+ break;
+}
+case wxPanel_InitDialog: { // wxPanel::InitDialog
+ wxPanel *This = (wxPanel *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->InitDialog();
+ break;
+}
+case wxScrolledWindow_new_0: { // wxScrolledWindow::wxScrolledWindow
+ wxScrolledWindow * Result = new EwxScrolledWindow();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxScrolledWindow");
+ break;
+}
+case wxScrolledWindow_new_2: { // wxScrolledWindow::wxScrolledWindow
+ wxWindowID winid=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(wxHSCROLL|wxVSCROLL);
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ winid = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxScrolledWindow * Result = new EwxScrolledWindow(parent,winid,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxScrolledWindow");
+ break;
+}
+case wxScrolledWindow_CalcScrolledPosition_4: { // wxScrolledWindow::CalcScrolledPosition
+ int xx;
+ int yy;
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CalcScrolledPosition((int) *x,(int) *y,&xx,&yy);
+ rt.addInt(xx);
+ rt.addInt(yy);
+ rt.addTupleCount(2);
+ break;
+}
+case wxScrolledWindow_CalcScrolledPosition_1: { // wxScrolledWindow::CalcScrolledPosition
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->CalcScrolledPosition(pt);
+ rt.add(Result);
+ break;
+}
+case wxScrolledWindow_CalcUnscrolledPosition_4: { // wxScrolledWindow::CalcUnscrolledPosition
+ int xx;
+ int yy;
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CalcUnscrolledPosition((int) *x,(int) *y,&xx,&yy);
+ rt.addInt(xx);
+ rt.addInt(yy);
+ rt.addTupleCount(2);
+ break;
+}
+case wxScrolledWindow_CalcUnscrolledPosition_1: { // wxScrolledWindow::CalcUnscrolledPosition
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->CalcUnscrolledPosition(pt);
+ rt.add(Result);
+ break;
+}
+case wxScrolledWindow_EnableScrolling: { // wxScrolledWindow::EnableScrolling
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ bool * x_scrolling = (bool *) bp; bp += 4;
+ bool * y_scrolling = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableScrolling((bool) *x_scrolling,(bool) *y_scrolling);
+ break;
+}
+case wxScrolledWindow_GetScrollPixelsPerUnit: { // wxScrolledWindow::GetScrollPixelsPerUnit
+ int pixelsPerUnitX;
+ int pixelsPerUnitY;
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetScrollPixelsPerUnit(&pixelsPerUnitX,&pixelsPerUnitY);
+ rt.addInt(pixelsPerUnitX);
+ rt.addInt(pixelsPerUnitY);
+ rt.addTupleCount(2);
+ break;
+}
+case wxScrolledWindow_GetViewStart: { // wxScrolledWindow::GetViewStart
+ int x;
+ int y;
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetViewStart(&x,&y);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addTupleCount(2);
+ break;
+}
+case wxScrolledWindow_DoPrepareDC: { // wxScrolledWindow::DoPrepareDC
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DoPrepareDC(*dc);
+ break;
+}
+case wxScrolledWindow_PrepareDC: { // wxScrolledWindow::PrepareDC
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PrepareDC(*dc);
+ break;
+}
+case wxScrolledWindow_Scroll: { // wxScrolledWindow::Scroll
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Scroll((int) *x,(int) *y);
+ break;
+}
+case wxScrolledWindow_SetScrollbars: { // wxScrolledWindow::SetScrollbars
+ int xPos=0;
+ int yPos=0;
+ bool noRefresh=false;
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ int * pixelsPerUnitX = (int *) bp; bp += 4;
+ int * pixelsPerUnitY = (int *) bp; bp += 4;
+ int * noUnitsX = (int *) bp; bp += 4;
+ int * noUnitsY = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ xPos = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ yPos = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ noRefresh = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollbars((int) *pixelsPerUnitX,(int) *pixelsPerUnitY,(int) *noUnitsX,(int) *noUnitsY,xPos,yPos,noRefresh);
+ break;
+}
+case wxScrolledWindow_SetScrollRate: { // wxScrolledWindow::SetScrollRate
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ int * xstep = (int *) bp; bp += 4;
+ int * ystep = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollRate((int) *xstep,(int) *ystep);
+ break;
+}
+case wxScrolledWindow_SetTargetWindow: { // wxScrolledWindow::SetTargetWindow
+ wxScrolledWindow *This = (wxScrolledWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *target = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTargetWindow(target);
+ break;
+}
+case wxSashWindow_new_0: { // wxSashWindow::wxSashWindow
+ wxSashWindow * Result = new EwxSashWindow();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSashWindow");
+ break;
+}
+case wxSashWindow_new_2: { // wxSashWindow::wxSashWindow
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(0x0040|0x0080)|wxCLIP_CHILDREN;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxSashWindow * Result = new EwxSashWindow(parent,id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSashWindow");
+ break;
+}
+case wxSashWindow_GetSashVisible: { // wxSashWindow::GetSashVisible
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ wxSashEdgePosition edge = *(wxSashEdgePosition *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSashVisible((wxSashEdgePosition) edge);
+ rt.addBool(Result);
+ break;
+}
+case wxSashWindow_GetMaximumSizeX: { // wxSashWindow::GetMaximumSizeX
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMaximumSizeX();
+ rt.addInt(Result);
+ break;
+}
+case wxSashWindow_GetMaximumSizeY: { // wxSashWindow::GetMaximumSizeY
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMaximumSizeY();
+ rt.addInt(Result);
+ break;
+}
+case wxSashWindow_GetMinimumSizeX: { // wxSashWindow::GetMinimumSizeX
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMinimumSizeX();
+ rt.addInt(Result);
+ break;
+}
+case wxSashWindow_GetMinimumSizeY: { // wxSashWindow::GetMinimumSizeY
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMinimumSizeY();
+ rt.addInt(Result);
+ break;
+}
+case wxSashWindow_SetMaximumSizeX: { // wxSashWindow::SetMaximumSizeX
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ int * max = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMaximumSizeX((int) *max);
+ break;
+}
+case wxSashWindow_SetMaximumSizeY: { // wxSashWindow::SetMaximumSizeY
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ int * max = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMaximumSizeY((int) *max);
+ break;
+}
+case wxSashWindow_SetMinimumSizeX: { // wxSashWindow::SetMinimumSizeX
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ int * min = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMinimumSizeX((int) *min);
+ break;
+}
+case wxSashWindow_SetMinimumSizeY: { // wxSashWindow::SetMinimumSizeY
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ int * min = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMinimumSizeY((int) *min);
+ break;
+}
+case wxSashWindow_SetSashVisible: { // wxSashWindow::SetSashVisible
+ wxSashWindow *This = (wxSashWindow *) getPtr(bp,memenv); bp += 4;
+ wxSashEdgePosition edge = *(wxSashEdgePosition *) bp; bp += 4;;
+ bool * sash = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSashVisible((wxSashEdgePosition) edge,(bool) *sash);
+ break;
+}
+case wxSashLayoutWindow_new_0: { // wxSashLayoutWindow::wxSashLayoutWindow
+ wxSashLayoutWindow * Result = new EwxSashLayoutWindow();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSashLayoutWindow");
+ break;
+}
+case wxSashLayoutWindow_new_2: { // wxSashLayoutWindow::wxSashLayoutWindow
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSW_3D|wxCLIP_CHILDREN;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxSashLayoutWindow * Result = new EwxSashLayoutWindow(parent,id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSashLayoutWindow");
+ break;
+}
+case wxSashLayoutWindow_Create: { // wxSashLayoutWindow::Create
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSW_3D|wxCLIP_CHILDREN;
+ wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxSashLayoutWindow_GetAlignment: { // wxSashLayoutWindow::GetAlignment
+ wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetAlignment();
+ rt.addInt(Result);
+ break;
+}
+case wxSashLayoutWindow_GetOrientation: { // wxSashLayoutWindow::GetOrientation
+ wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOrientation();
+ rt.addInt(Result);
+ break;
+}
+case wxSashLayoutWindow_SetAlignment: { // wxSashLayoutWindow::SetAlignment
+ wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4;
+ wxLayoutAlignment align = *(wxLayoutAlignment *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetAlignment((wxLayoutAlignment) align);
+ break;
+}
+case wxSashLayoutWindow_SetDefaultSize: { // wxSashLayoutWindow::SetDefaultSize
+ wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultSize(size);
+ break;
+}
+case wxSashLayoutWindow_SetOrientation: { // wxSashLayoutWindow::SetOrientation
+ wxSashLayoutWindow *This = (wxSashLayoutWindow *) getPtr(bp,memenv); bp += 4;
+ wxLayoutOrientation orient = *(wxLayoutOrientation *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetOrientation((wxLayoutOrientation) orient);
+ break;
+}
+case wxGrid_new_0: { // wxGrid::wxGrid
+ wxGrid * Result = new EwxGrid();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGrid");
+ break;
+}
+case wxGrid_new_3: { // wxGrid::wxGrid
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxWANTS_CHARS;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGrid * Result = new EwxGrid(parent,(wxWindowID) *id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGrid");
+ break;
+}
+case wxGrid_new_4: { // wxGrid::wxGrid
+ int w=wxDefaultCoord;
+ int h=wxDefaultCoord;
+ long style=wxWANTS_CHARS;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ w = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ h = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGrid * Result = new EwxGrid(parent,(int) *x,(int) *y,w,h,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGrid");
+ break;
+}
+case wxGrid_AppendCols: { // wxGrid::AppendCols
+ int numCols=1;
+ bool updateLabels=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ numCols = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ updateLabels = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AppendCols(numCols,updateLabels);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_AppendRows: { // wxGrid::AppendRows
+ int numRows=1;
+ bool updateLabels=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ numRows = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ updateLabels = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AppendRows(numRows,updateLabels);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_AutoSize: { // wxGrid::AutoSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoSize();
+ break;
+}
+case wxGrid_AutoSizeColumn: { // wxGrid::AutoSizeColumn
+ bool setAsMin=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ setAsMin = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AutoSizeColumn((int) *col,setAsMin);
+ break;
+}
+case wxGrid_AutoSizeColumns: { // wxGrid::AutoSizeColumns
+ bool setAsMin=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ setAsMin = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AutoSizeColumns(setAsMin);
+ break;
+}
+case wxGrid_AutoSizeRow: { // wxGrid::AutoSizeRow
+ bool setAsMin=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ setAsMin = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AutoSizeRow((int) *row,setAsMin);
+ break;
+}
+case wxGrid_AutoSizeRows: { // wxGrid::AutoSizeRows
+ bool setAsMin=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ setAsMin = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AutoSizeRows(setAsMin);
+ break;
+}
+case wxGrid_BeginBatch: { // wxGrid::BeginBatch
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->BeginBatch();
+ break;
+}
+case wxGrid_BlockToDeviceRect: { // wxGrid::BlockToDeviceRect
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * topLeftR = (int *) bp; bp += 4;
+ int * topLeftC = (int *) bp; bp += 4;
+ wxGridCellCoords topLeft = wxGridCellCoords(*topLeftR,*topLeftC);
+ int * bottomRightR = (int *) bp; bp += 4;
+ int * bottomRightC = (int *) bp; bp += 4;
+ wxGridCellCoords bottomRight = wxGridCellCoords(*bottomRightR,*bottomRightC);
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->BlockToDeviceRect(topLeft,bottomRight);
+ rt.add(Result);
+ break;
+}
+case wxGrid_CanDragColSize: { // wxGrid::CanDragColSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanDragColSize();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_CanDragRowSize: { // wxGrid::CanDragRowSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanDragRowSize();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_CanDragGridSize: { // wxGrid::CanDragGridSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanDragGridSize();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_CanEnableCellControl: { // wxGrid::CanEnableCellControl
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanEnableCellControl();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_CellToRect_2: { // wxGrid::CellToRect
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->CellToRect((int) *row,(int) *col);
+ rt.add(Result);
+ break;
+}
+case wxGrid_CellToRect_1: { // wxGrid::CellToRect
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * coordsR = (int *) bp; bp += 4;
+ int * coordsC = (int *) bp; bp += 4;
+ wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC);
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->CellToRect(coords);
+ rt.add(Result);
+ break;
+}
+case wxGrid_ClearGrid: { // wxGrid::ClearGrid
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearGrid();
+ break;
+}
+case wxGrid_ClearSelection: { // wxGrid::ClearSelection
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearSelection();
+ break;
+}
+case wxGrid_CreateGrid: { // wxGrid::CreateGrid
+ wxGrid::wxGridSelectionModes selmode=wxGrid::wxGridSelectCells;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * numRows = (int *) bp; bp += 4;
+ int * numCols = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+selmode = *(wxGrid::wxGridSelectionModes *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CreateGrid((int) *numRows,(int) *numCols,(wxGrid::wxGridSelectionModes) selmode);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_DeleteCols: { // wxGrid::DeleteCols
+ int pos=0;
+ int numCols=1;
+ bool updateLabels=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ pos = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ numCols = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ updateLabels = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteCols(pos,numCols,updateLabels);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_DeleteRows: { // wxGrid::DeleteRows
+ int pos=0;
+ int numRows=1;
+ bool updateLabels=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ pos = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ numRows = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ updateLabels = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteRows(pos,numRows,updateLabels);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_DisableCellEditControl: { // wxGrid::DisableCellEditControl
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DisableCellEditControl();
+ break;
+}
+case wxGrid_DisableDragColSize: { // wxGrid::DisableDragColSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DisableDragColSize();
+ break;
+}
+case wxGrid_DisableDragGridSize: { // wxGrid::DisableDragGridSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DisableDragGridSize();
+ break;
+}
+case wxGrid_DisableDragRowSize: { // wxGrid::DisableDragRowSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DisableDragRowSize();
+ break;
+}
+case wxGrid_EnableCellEditControl: { // wxGrid::EnableCellEditControl
+ bool enable=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableCellEditControl(enable);
+ break;
+}
+case wxGrid_EnableDragColSize: { // wxGrid::EnableDragColSize
+ bool enable=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableDragColSize(enable);
+ break;
+}
+case wxGrid_EnableDragGridSize: { // wxGrid::EnableDragGridSize
+ bool enable=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableDragGridSize(enable);
+ break;
+}
+case wxGrid_EnableDragRowSize: { // wxGrid::EnableDragRowSize
+ bool enable=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableDragRowSize(enable);
+ break;
+}
+case wxGrid_EnableEditing: { // wxGrid::EnableEditing
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * edit = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableEditing((bool) *edit);
+ break;
+}
+case wxGrid_EnableGridLines: { // wxGrid::EnableGridLines
+ bool enable=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableGridLines(enable);
+ break;
+}
+case wxGrid_EndBatch: { // wxGrid::EndBatch
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EndBatch();
+ break;
+}
+case wxGrid_Fit: { // wxGrid::Fit
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Fit();
+ break;
+}
+case wxGrid_ForceRefresh: { // wxGrid::ForceRefresh
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ForceRefresh();
+ break;
+}
+case wxGrid_GetBatchCount: { // wxGrid::GetBatchCount
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetBatchCount();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetCellAlignment: { // wxGrid::GetCellAlignment
+ int horiz;
+ int vert;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetCellAlignment((int) *row,(int) *col,&horiz,&vert);
+ rt.addInt(horiz);
+ rt.addInt(vert);
+ rt.addTupleCount(2);
+ break;
+}
+case wxGrid_GetCellBackgroundColour: { // wxGrid::GetCellBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetCellBackgroundColour((int) *row,(int) *col);
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetCellEditor: { // wxGrid::GetCellEditor
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellEditor * Result = (wxGridCellEditor*)This->GetCellEditor((int) *row,(int) *col);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor");
+ break;
+}
+case wxGrid_GetCellFont: { // wxGrid::GetCellFont
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetCellFont((int) *row,(int) *col)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxGrid_GetCellRenderer: { // wxGrid::GetCellRenderer
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetCellRenderer((int) *row,(int) *col);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer");
+ break;
+}
+case wxGrid_GetCellTextColour: { // wxGrid::GetCellTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetCellTextColour((int) *row,(int) *col);
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetCellValue_2: { // wxGrid::GetCellValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetCellValue((int) *row,(int) *col);
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetCellValue_1: { // wxGrid::GetCellValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * coordsR = (int *) bp; bp += 4;
+ int * coordsC = (int *) bp; bp += 4;
+ wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC);
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetCellValue(coords);
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetColLabelAlignment: { // wxGrid::GetColLabelAlignment
+ int horiz;
+ int vert;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetColLabelAlignment(&horiz,&vert);
+ rt.addInt(horiz);
+ rt.addInt(vert);
+ rt.addTupleCount(2);
+ break;
+}
+case wxGrid_GetColLabelSize: { // wxGrid::GetColLabelSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColLabelSize();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetColLabelValue: { // wxGrid::GetColLabelValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetColLabelValue((int) *col);
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetColMinimalAcceptableWidth: { // wxGrid::GetColMinimalAcceptableWidth
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColMinimalAcceptableWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetDefaultCellAlignment: { // wxGrid::GetDefaultCellAlignment
+ int horiz;
+ int vert;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetDefaultCellAlignment(&horiz,&vert);
+ rt.addInt(horiz);
+ rt.addInt(vert);
+ rt.addTupleCount(2);
+ break;
+}
+case wxGrid_GetDefaultCellBackgroundColour: { // wxGrid::GetDefaultCellBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetDefaultCellBackgroundColour();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetDefaultCellFont: { // wxGrid::GetDefaultCellFont
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetDefaultCellFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxGrid_GetDefaultCellTextColour: { // wxGrid::GetDefaultCellTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetDefaultCellTextColour();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetDefaultColLabelSize: { // wxGrid::GetDefaultColLabelSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDefaultColLabelSize();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetDefaultColSize: { // wxGrid::GetDefaultColSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDefaultColSize();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetDefaultEditor: { // wxGrid::GetDefaultEditor
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditor();
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor");
+ break;
+}
+case wxGrid_GetDefaultEditorForCell_2: { // wxGrid::GetDefaultEditorForCell
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditorForCell((int) *row,(int) *col);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor");
+ break;
+}
+case wxGrid_GetDefaultEditorForCell_1: { // wxGrid::GetDefaultEditorForCell
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * cR = (int *) bp; bp += 4;
+ int * cC = (int *) bp; bp += 4;
+ wxGridCellCoords c = wxGridCellCoords(*cR,*cC);
+ if(!This) throw wxe_badarg(0);
+ wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditorForCell(c);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor");
+ break;
+}
+case wxGrid_GetDefaultEditorForType: { // wxGrid::GetDefaultEditorForType
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * typeNameLen = (int *) bp; bp += 4;
+ wxString typeName = wxString(bp, wxConvUTF8);
+ bp += *typeNameLen+((8-((0+ *typeNameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxGridCellEditor * Result = (wxGridCellEditor*)This->GetDefaultEditorForType(typeName);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor");
+ break;
+}
+case wxGrid_GetDefaultRenderer: { // wxGrid::GetDefaultRenderer
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetDefaultRenderer();
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer");
+ break;
+}
+case wxGrid_GetDefaultRendererForCell: { // wxGrid::GetDefaultRendererForCell
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetDefaultRendererForCell((int) *row,(int) *col);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer");
+ break;
+}
+case wxGrid_GetDefaultRendererForType: { // wxGrid::GetDefaultRendererForType
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * typeNameLen = (int *) bp; bp += 4;
+ wxString typeName = wxString(bp, wxConvUTF8);
+ bp += *typeNameLen+((8-((0+ *typeNameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetDefaultRendererForType(typeName);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer");
+ break;
+}
+case wxGrid_GetDefaultRowLabelSize: { // wxGrid::GetDefaultRowLabelSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDefaultRowLabelSize();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetDefaultRowSize: { // wxGrid::GetDefaultRowSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDefaultRowSize();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetGridCursorCol: { // wxGrid::GetGridCursorCol
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetGridCursorCol();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetGridCursorRow: { // wxGrid::GetGridCursorRow
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetGridCursorRow();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetGridLineColour: { // wxGrid::GetGridLineColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetGridLineColour();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GridLinesEnabled: { // wxGrid::GridLinesEnabled
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GridLinesEnabled();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_GetLabelBackgroundColour: { // wxGrid::GetLabelBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetLabelBackgroundColour();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetLabelFont: { // wxGrid::GetLabelFont
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetLabelFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxGrid_GetLabelTextColour: { // wxGrid::GetLabelTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetLabelTextColour();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetNumberCols: { // wxGrid::GetNumberCols
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetNumberCols();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetNumberRows: { // wxGrid::GetNumberRows
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetNumberRows();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetOrCreateCellAttr: { // wxGrid::GetOrCreateCellAttr
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellAttr * Result = (wxGridCellAttr*)This->GetOrCreateCellAttr((int) *row,(int) *col);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellAttr");
+ break;
+}
+case wxGrid_GetRowMinimalAcceptableHeight: { // wxGrid::GetRowMinimalAcceptableHeight
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRowMinimalAcceptableHeight();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetRowLabelAlignment: { // wxGrid::GetRowLabelAlignment
+ int horiz;
+ int vert;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetRowLabelAlignment(&horiz,&vert);
+ rt.addInt(horiz);
+ rt.addInt(vert);
+ rt.addTupleCount(2);
+ break;
+}
+case wxGrid_GetRowLabelSize: { // wxGrid::GetRowLabelSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRowLabelSize();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetRowLabelValue: { // wxGrid::GetRowLabelValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetRowLabelValue((int) *row);
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetRowSize: { // wxGrid::GetRowSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRowSize((int) *row);
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetScrollLineX: { // wxGrid::GetScrollLineX
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetScrollLineX();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetScrollLineY: { // wxGrid::GetScrollLineY
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetScrollLineY();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetSelectedCells: { // wxGrid::GetSelectedCells
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellCoordsArray Result = This->GetSelectedCells();
+ for(unsigned int i=0; i < Result.GetCount(); i++) {
+ rt.add(Result[i]);
+ }
+ rt.endList(Result.GetCount());
+ break;
+}
+case wxGrid_GetSelectedCols: { // wxGrid::GetSelectedCols
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxArrayInt Result = This->GetSelectedCols();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetSelectedRows: { // wxGrid::GetSelectedRows
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxArrayInt Result = This->GetSelectedRows();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetSelectionBackground: { // wxGrid::GetSelectionBackground
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetSelectionBackground();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetSelectionBlockTopLeft: { // wxGrid::GetSelectionBlockTopLeft
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellCoordsArray Result = This->GetSelectionBlockTopLeft();
+ for(unsigned int i=0; i < Result.GetCount(); i++) {
+ rt.add(Result[i]);
+ }
+ rt.endList(Result.GetCount());
+ break;
+}
+case wxGrid_GetSelectionBlockBottomRight: { // wxGrid::GetSelectionBlockBottomRight
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellCoordsArray Result = This->GetSelectionBlockBottomRight();
+ for(unsigned int i=0; i < Result.GetCount(); i++) {
+ rt.add(Result[i]);
+ }
+ rt.endList(Result.GetCount());
+ break;
+}
+case wxGrid_GetSelectionForeground: { // wxGrid::GetSelectionForeground
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetSelectionForeground();
+ rt.add(Result);
+ break;
+}
+case wxGrid_GetViewWidth: { // wxGrid::GetViewWidth
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetViewWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_GetGridWindow: { // wxGrid::GetGridWindow
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetGridWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxGrid_GetGridRowLabelWindow: { // wxGrid::GetGridRowLabelWindow
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetGridRowLabelWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxGrid_GetGridColLabelWindow: { // wxGrid::GetGridColLabelWindow
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetGridColLabelWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxGrid_GetGridCornerLabelWindow: { // wxGrid::GetGridCornerLabelWindow
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetGridCornerLabelWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxGrid_HideCellEditControl: { // wxGrid::HideCellEditControl
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HideCellEditControl();
+ break;
+}
+case wxGrid_InsertCols: { // wxGrid::InsertCols
+ int pos=0;
+ int numCols=1;
+ bool updateLabels=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ pos = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ numCols = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ updateLabels = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertCols(pos,numCols,updateLabels);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_InsertRows: { // wxGrid::InsertRows
+ int pos=0;
+ int numRows=1;
+ bool updateLabels=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ pos = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ numRows = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ updateLabels = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertRows(pos,numRows,updateLabels);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsCellEditControlEnabled: { // wxGrid::IsCellEditControlEnabled
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsCellEditControlEnabled();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsCurrentCellReadOnly: { // wxGrid::IsCurrentCellReadOnly
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsCurrentCellReadOnly();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsEditable: { // wxGrid::IsEditable
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEditable();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsInSelection_2: { // wxGrid::IsInSelection
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsInSelection((int) *row,(int) *col);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsInSelection_1: { // wxGrid::IsInSelection
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * coordsR = (int *) bp; bp += 4;
+ int * coordsC = (int *) bp; bp += 4;
+ wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsInSelection(coords);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsReadOnly: { // wxGrid::IsReadOnly
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsReadOnly((int) *row,(int) *col);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsSelection: { // wxGrid::IsSelection
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSelection();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsVisible_3: { // wxGrid::IsVisible
+ bool wholeCellVisible=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ wholeCellVisible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsVisible((int) *row,(int) *col,wholeCellVisible);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_IsVisible_2: { // wxGrid::IsVisible
+ bool wholeCellVisible=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * coordsR = (int *) bp; bp += 4;
+ int * coordsC = (int *) bp; bp += 4;
+ wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ wholeCellVisible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsVisible(coords,wholeCellVisible);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MakeCellVisible_2: { // wxGrid::MakeCellVisible
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MakeCellVisible((int) *row,(int) *col);
+ break;
+}
+case wxGrid_MakeCellVisible_1: { // wxGrid::MakeCellVisible
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * coordsR = (int *) bp; bp += 4;
+ int * coordsC = (int *) bp; bp += 4;
+ wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC);
+ if(!This) throw wxe_badarg(0);
+ This->MakeCellVisible(coords);
+ break;
+}
+case wxGrid_MoveCursorDown: { // wxGrid::MoveCursorDown
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorDown((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MoveCursorLeft: { // wxGrid::MoveCursorLeft
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorLeft((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MoveCursorRight: { // wxGrid::MoveCursorRight
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorRight((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MoveCursorUp: { // wxGrid::MoveCursorUp
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorUp((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MoveCursorDownBlock: { // wxGrid::MoveCursorDownBlock
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorDownBlock((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MoveCursorLeftBlock: { // wxGrid::MoveCursorLeftBlock
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorLeftBlock((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MoveCursorRightBlock: { // wxGrid::MoveCursorRightBlock
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorRightBlock((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MoveCursorUpBlock: { // wxGrid::MoveCursorUpBlock
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ bool * expandSelection = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoveCursorUpBlock((bool) *expandSelection);
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MovePageDown: { // wxGrid::MovePageDown
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MovePageDown();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_MovePageUp: { // wxGrid::MovePageUp
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MovePageUp();
+ rt.addBool(Result);
+ break;
+}
+case wxGrid_RegisterDataType: { // wxGrid::RegisterDataType
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * typeNameLen = (int *) bp; bp += 4;
+ wxString typeName = wxString(bp, wxConvUTF8);
+ bp += *typeNameLen+((8-((0+ *typeNameLen) & 7)) & 7);
+ wxGridCellRenderer *renderer = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4;
+ wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RegisterDataType(typeName,renderer,editor);
+ break;
+}
+case wxGrid_SaveEditControlValue: { // wxGrid::SaveEditControlValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SaveEditControlValue();
+ break;
+}
+case wxGrid_SelectAll: { // wxGrid::SelectAll
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SelectAll();
+ break;
+}
+case wxGrid_SelectBlock_5: { // wxGrid::SelectBlock
+ bool addToSelected=false;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * topRow = (int *) bp; bp += 4;
+ int * leftCol = (int *) bp; bp += 4;
+ int * bottomRow = (int *) bp; bp += 4;
+ int * rightCol = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ addToSelected = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SelectBlock((int) *topRow,(int) *leftCol,(int) *bottomRow,(int) *rightCol,addToSelected);
+ break;
+}
+case wxGrid_SelectBlock_3: { // wxGrid::SelectBlock
+ bool addToSelected=false;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * topLeftR = (int *) bp; bp += 4;
+ int * topLeftC = (int *) bp; bp += 4;
+ wxGridCellCoords topLeft = wxGridCellCoords(*topLeftR,*topLeftC);
+ int * bottomRightR = (int *) bp; bp += 4;
+ int * bottomRightC = (int *) bp; bp += 4;
+ wxGridCellCoords bottomRight = wxGridCellCoords(*bottomRightR,*bottomRightC);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ addToSelected = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SelectBlock(topLeft,bottomRight,addToSelected);
+ break;
+}
+case wxGrid_SelectCol: { // wxGrid::SelectCol
+ bool addToSelected=false;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ addToSelected = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SelectCol((int) *col,addToSelected);
+ break;
+}
+case wxGrid_SelectRow: { // wxGrid::SelectRow
+ bool addToSelected=false;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ addToSelected = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SelectRow((int) *row,addToSelected);
+ break;
+}
+case wxGrid_SetCellAlignment_4: { // wxGrid::SetCellAlignment
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * horiz = (int *) bp; bp += 4;
+ int * vert = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellAlignment((int) *row,(int) *col,(int) *horiz,(int) *vert);
+ break;
+}
+case wxGrid_SetCellAlignment_3: { // wxGrid::SetCellAlignment
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * align = (int *) bp; bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellAlignment((int) *align,(int) *row,(int) *col);
+ break;
+}
+case wxGrid_SetCellAlignment_1: { // wxGrid::SetCellAlignment
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * align = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellAlignment((int) *align);
+ break;
+}
+case wxGrid_SetCellBackgroundColour_3_0: { // wxGrid::SetCellBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ if(!This) throw wxe_badarg(0);
+ This->SetCellBackgroundColour((int) *row,(int) *col,val);
+ break;
+}
+case wxGrid_SetCellBackgroundColour_1: { // wxGrid::SetCellBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetCellBackgroundColour(col);
+ break;
+}
+case wxGrid_SetCellBackgroundColour_3_1: { // wxGrid::SetCellBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellBackgroundColour(colour,(int) *row,(int) *col);
+ break;
+}
+case wxGrid_SetCellEditor: { // wxGrid::SetCellEditor
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellEditor((int) *row,(int) *col,editor);
+ break;
+}
+case wxGrid_SetCellFont: { // wxGrid::SetCellFont
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxFont *val = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellFont((int) *row,(int) *col,*val);
+ break;
+}
+case wxGrid_SetCellRenderer: { // wxGrid::SetCellRenderer
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxGridCellRenderer *renderer = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellRenderer((int) *row,(int) *col,renderer);
+ break;
+}
+case wxGrid_SetCellTextColour_3_0: { // wxGrid::SetCellTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ if(!This) throw wxe_badarg(0);
+ This->SetCellTextColour((int) *row,(int) *col,val);
+ break;
+}
+case wxGrid_SetCellTextColour_3_1: { // wxGrid::SetCellTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellTextColour(val,(int) *row,(int) *col);
+ break;
+}
+case wxGrid_SetCellTextColour_1: { // wxGrid::SetCellTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetCellTextColour(col);
+ break;
+}
+case wxGrid_SetCellValue_3_0: { // wxGrid::SetCellValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((0+ *sLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetCellValue((int) *row,(int) *col,s);
+ break;
+}
+case wxGrid_SetCellValue_2: { // wxGrid::SetCellValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * coordsR = (int *) bp; bp += 4;
+ int * coordsC = (int *) bp; bp += 4;
+ wxGridCellCoords coords = wxGridCellCoords(*coordsR,*coordsC);
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((0+ *sLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetCellValue(coords,s);
+ break;
+}
+case wxGrid_SetCellValue_3_1: { // wxGrid::SetCellValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * valLen = (int *) bp; bp += 4;
+ wxString val = wxString(bp, wxConvUTF8);
+ bp += *valLen+((8-((0+ *valLen) & 7)) & 7);
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCellValue(val,(int) *row,(int) *col);
+ break;
+}
+case wxGrid_SetColAttr: { // wxGrid::SetColAttr
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColAttr((int) *col,attr);
+ break;
+}
+case wxGrid_SetColFormatBool: { // wxGrid::SetColFormatBool
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColFormatBool((int) *col);
+ break;
+}
+case wxGrid_SetColFormatNumber: { // wxGrid::SetColFormatNumber
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColFormatNumber((int) *col);
+ break;
+}
+case wxGrid_SetColFormatFloat: { // wxGrid::SetColFormatFloat
+ int width=-1;
+ int precision=-1;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ width = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ precision = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetColFormatFloat((int) *col,width,precision);
+ break;
+}
+case wxGrid_SetColFormatCustom: { // wxGrid::SetColFormatCustom
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * typeNameLen = (int *) bp; bp += 4;
+ wxString typeName = wxString(bp, wxConvUTF8);
+ bp += *typeNameLen+((8-((4+ *typeNameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetColFormatCustom((int) *col,typeName);
+ break;
+}
+case wxGrid_SetColLabelAlignment: { // wxGrid::SetColLabelAlignment
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * horiz = (int *) bp; bp += 4;
+ int * vert = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColLabelAlignment((int) *horiz,(int) *vert);
+ break;
+}
+case wxGrid_SetColLabelSize: { // wxGrid::SetColLabelSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColLabelSize((int) *height);
+ break;
+}
+case wxGrid_SetColLabelValue: { // wxGrid::SetColLabelValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * valLen = (int *) bp; bp += 4;
+ wxString val = wxString(bp, wxConvUTF8);
+ bp += *valLen+((8-((4+ *valLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetColLabelValue((int) *col,val);
+ break;
+}
+case wxGrid_SetColMinimalWidth: { // wxGrid::SetColMinimalWidth
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColMinimalWidth((int) *col,(int) *width);
+ break;
+}
+case wxGrid_SetColMinimalAcceptableWidth: { // wxGrid::SetColMinimalAcceptableWidth
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColMinimalAcceptableWidth((int) *width);
+ break;
+}
+case wxGrid_SetColSize: { // wxGrid::SetColSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColSize((int) *col,(int) *width);
+ break;
+}
+case wxGrid_SetDefaultCellAlignment: { // wxGrid::SetDefaultCellAlignment
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * horiz = (int *) bp; bp += 4;
+ int * vert = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultCellAlignment((int) *horiz,(int) *vert);
+ break;
+}
+case wxGrid_SetDefaultCellBackgroundColour: { // wxGrid::SetDefaultCellBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultCellBackgroundColour(val);
+ break;
+}
+case wxGrid_SetDefaultCellFont: { // wxGrid::SetDefaultCellFont
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ wxFont *val = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultCellFont(*val);
+ break;
+}
+case wxGrid_SetDefaultCellTextColour: { // wxGrid::SetDefaultCellTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultCellTextColour(val);
+ break;
+}
+case wxGrid_SetDefaultEditor: { // wxGrid::SetDefaultEditor
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultEditor(editor);
+ break;
+}
+case wxGrid_SetDefaultRenderer: { // wxGrid::SetDefaultRenderer
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ wxGridCellRenderer *renderer = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultRenderer(renderer);
+ break;
+}
+case wxGrid_SetDefaultColSize: { // wxGrid::SetDefaultColSize
+ bool resizeExistingCols=false;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ resizeExistingCols = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultColSize((int) *width,resizeExistingCols);
+ break;
+}
+case wxGrid_SetDefaultRowSize: { // wxGrid::SetDefaultRowSize
+ bool resizeExistingRows=false;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * height = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ resizeExistingRows = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultRowSize((int) *height,resizeExistingRows);
+ break;
+}
+case wxGrid_SetGridCursor: { // wxGrid::SetGridCursor
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetGridCursor((int) *row,(int) *col);
+ break;
+}
+case wxGrid_SetGridLineColour: { // wxGrid::SetGridLineColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ if(!This) throw wxe_badarg(0);
+ This->SetGridLineColour(val);
+ break;
+}
+case wxGrid_SetLabelBackgroundColour: { // wxGrid::SetLabelBackgroundColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabelBackgroundColour(val);
+ break;
+}
+case wxGrid_SetLabelFont: { // wxGrid::SetLabelFont
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ wxFont *val = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLabelFont(*val);
+ break;
+}
+case wxGrid_SetLabelTextColour: { // wxGrid::SetLabelTextColour
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * valR = (int *) bp; bp += 4;
+ int * valG = (int *) bp; bp += 4;
+ int * valB = (int *) bp; bp += 4;
+ int * valA = (int *) bp; bp += 4;
+ wxColour val = wxColour(*valR,*valG,*valB,*valA);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabelTextColour(val);
+ break;
+}
+case wxGrid_SetMargins: { // wxGrid::SetMargins
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * extraWidth = (int *) bp; bp += 4;
+ int * extraHeight = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMargins((int) *extraWidth,(int) *extraHeight);
+ break;
+}
+case wxGrid_SetReadOnly: { // wxGrid::SetReadOnly
+ bool isReadOnly=true;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ isReadOnly = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetReadOnly((int) *row,(int) *col,isReadOnly);
+ break;
+}
+case wxGrid_SetRowAttr: { // wxGrid::SetRowAttr
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRowAttr((int) *row,attr);
+ break;
+}
+case wxGrid_SetRowLabelAlignment: { // wxGrid::SetRowLabelAlignment
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * horiz = (int *) bp; bp += 4;
+ int * vert = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRowLabelAlignment((int) *horiz,(int) *vert);
+ break;
+}
+case wxGrid_SetRowLabelSize: { // wxGrid::SetRowLabelSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRowLabelSize((int) *width);
+ break;
+}
+case wxGrid_SetRowLabelValue: { // wxGrid::SetRowLabelValue
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * valLen = (int *) bp; bp += 4;
+ wxString val = wxString(bp, wxConvUTF8);
+ bp += *valLen+((8-((4+ *valLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetRowLabelValue((int) *row,val);
+ break;
+}
+case wxGrid_SetRowMinimalHeight: { // wxGrid::SetRowMinimalHeight
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRowMinimalHeight((int) *row,(int) *width);
+ break;
+}
+case wxGrid_SetRowMinimalAcceptableHeight: { // wxGrid::SetRowMinimalAcceptableHeight
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRowMinimalAcceptableHeight((int) *width);
+ break;
+}
+case wxGrid_SetRowSize: { // wxGrid::SetRowSize
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRowSize((int) *row,(int) *height);
+ break;
+}
+case wxGrid_SetScrollLineX: { // wxGrid::SetScrollLineX
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollLineX((int) *x);
+ break;
+}
+case wxGrid_SetScrollLineY: { // wxGrid::SetScrollLineY
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollLineY((int) *y);
+ break;
+}
+case wxGrid_SetSelectionBackground: { // wxGrid::SetSelectionBackground
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * cR = (int *) bp; bp += 4;
+ int * cG = (int *) bp; bp += 4;
+ int * cB = (int *) bp; bp += 4;
+ int * cA = (int *) bp; bp += 4;
+ wxColour c = wxColour(*cR,*cG,*cB,*cA);
+ if(!This) throw wxe_badarg(0);
+ This->SetSelectionBackground(c);
+ break;
+}
+case wxGrid_SetSelectionForeground: { // wxGrid::SetSelectionForeground
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * cR = (int *) bp; bp += 4;
+ int * cG = (int *) bp; bp += 4;
+ int * cB = (int *) bp; bp += 4;
+ int * cA = (int *) bp; bp += 4;
+ wxColour c = wxColour(*cR,*cG,*cB,*cA);
+ if(!This) throw wxe_badarg(0);
+ This->SetSelectionForeground(c);
+ break;
+}
+case wxGrid_SetSelectionMode: { // wxGrid::SetSelectionMode
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ wxGrid::wxGridSelectionModes selmode = *(wxGrid::wxGridSelectionModes *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelectionMode((wxGrid::wxGridSelectionModes) selmode);
+ break;
+}
+case wxGrid_ShowCellEditControl: { // wxGrid::ShowCellEditControl
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ShowCellEditControl();
+ break;
+}
+case wxGrid_XToCol: { // wxGrid::XToCol
+ bool clipToMinMax=false;
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ clipToMinMax = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ int Result = This->XToCol((int) *x,clipToMinMax);
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_XToEdgeOfCol: { // wxGrid::XToEdgeOfCol
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->XToEdgeOfCol((int) *x);
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_YToEdgeOfRow: { // wxGrid::YToEdgeOfRow
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->YToEdgeOfRow((int) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxGrid_YToRow: { // wxGrid::YToRow
+ wxGrid *This = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->YToRow((int) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxGridCellRenderer_Draw: { // wxGridCellRenderer::Draw
+ wxGridCellRenderer *This = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4;
+ wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ bool * isSelected = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Draw(*grid,*attr,*dc,rect,(int) *row,(int) *col,(bool) *isSelected);
+ break;
+}
+case wxGridCellRenderer_GetBestSize: { // wxGridCellRenderer::GetBestSize
+ wxGridCellRenderer *This = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4;
+ wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetBestSize(*grid,*attr,*dc,(int) *row,(int) *col);
+ rt.add(Result);
+ break;
+}
+case wxGridCellEditor_Create: { // wxGridCellEditor::Create
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ wxEvtHandler *evtHandler = (wxEvtHandler *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Create(parent,(wxWindowID) *id,evtHandler);
+ break;
+}
+case wxGridCellEditor_IsCreated: { // wxGridCellEditor::IsCreated
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsCreated();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellEditor_SetSize: { // wxGridCellEditor::SetSize
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->SetSize(rect);
+ break;
+}
+case wxGridCellEditor_Show: { // wxGridCellEditor::Show
+ wxGridCellAttr * attr=(wxGridCellAttr *) NULL;
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Show((bool) *show,attr);
+ break;
+}
+case wxGridCellEditor_PaintBackground: { // wxGridCellEditor::PaintBackground
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ int * rectCellX = (int *) bp; bp += 4;
+ int * rectCellY = (int *) bp; bp += 4;
+ int * rectCellW = (int *) bp; bp += 4;
+ int * rectCellH = (int *) bp; bp += 4;
+ wxRect rectCell = wxRect(*rectCellX,*rectCellY,*rectCellW,*rectCellH);
+ wxGridCellAttr *attr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PaintBackground(rectCell,attr);
+ break;
+}
+case wxGridCellEditor_BeginEdit: { // wxGridCellEditor::BeginEdit
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->BeginEdit((int) *row,(int) *col,grid);
+ break;
+}
+case wxGridCellEditor_EndEdit: { // wxGridCellEditor::EndEdit
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->EndEdit((int) *row,(int) *col,grid);
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellEditor_Reset: { // wxGridCellEditor::Reset
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Reset();
+ break;
+}
+case wxGridCellEditor_StartingKey: { // wxGridCellEditor::StartingKey
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ wxKeyEvent *event = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StartingKey(*event);
+ break;
+}
+case wxGridCellEditor_StartingClick: { // wxGridCellEditor::StartingClick
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StartingClick();
+ break;
+}
+case wxGridCellEditor_HandleReturn: { // wxGridCellEditor::HandleReturn
+ wxGridCellEditor *This = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ wxKeyEvent *event = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HandleReturn(*event);
+ break;
+}
+case wxGridCellBoolRenderer_new: { // wxGridCellBoolRenderer::wxGridCellBoolRenderer
+ wxGridCellBoolRenderer * Result = new wxGridCellBoolRenderer();
+ newPtr((void *) Result, 24, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellBoolRenderer");
+ break;
+}
+case wxGridCellBoolRenderer_destroy: { // wxGridCellBoolRenderer::destroy
+ wxGridCellBoolRenderer *This = (wxGridCellBoolRenderer *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellBoolEditor_new: { // wxGridCellBoolEditor::wxGridCellBoolEditor
+ wxGridCellBoolEditor * Result = new wxGridCellBoolEditor();
+ newPtr((void *) Result, 25, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellBoolEditor");
+ break;
+}
+case wxGridCellBoolEditor_IsTrueValue: { // wxGridCellBoolEditor::IsTrueValue
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((4+ *valueLen) & 7)) & 7);
+ bool Result = wxGridCellBoolEditor::IsTrueValue(value);
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellBoolEditor_UseStringValues: { // wxGridCellBoolEditor::UseStringValues
+ wxString valueTrue= _T("1");
+ wxString valueFalse= wxEmptyString;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * valueTrueLen = (int *) bp; bp += 4;
+ valueTrue = wxString(bp, wxConvUTF8);
+ bp += *valueTrueLen+((8-((0+ *valueTrueLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * valueFalseLen = (int *) bp; bp += 4;
+ valueFalse = wxString(bp, wxConvUTF8);
+ bp += *valueFalseLen+((8-((0+ *valueFalseLen) & 7)) & 7);
+ } break;
+ }};
+ wxGridCellBoolEditor::UseStringValues(valueTrue,valueFalse);
+ break;
+}
+case wxGridCellBoolEditor_destroy: { // wxGridCellBoolEditor::destroy
+ wxGridCellBoolEditor *This = (wxGridCellBoolEditor *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellFloatRenderer_new: { // wxGridCellFloatRenderer::wxGridCellFloatRenderer
+ int width=-1;
+ int precision=-1;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ width = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ precision = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGridCellFloatRenderer * Result = new wxGridCellFloatRenderer(width,precision);
+ newPtr((void *) Result, 26, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellFloatRenderer");
+ break;
+}
+case wxGridCellFloatRenderer_GetPrecision: { // wxGridCellFloatRenderer::GetPrecision
+ wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPrecision();
+ rt.addInt(Result);
+ break;
+}
+case wxGridCellFloatRenderer_GetWidth: { // wxGridCellFloatRenderer::GetWidth
+ wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxGridCellFloatRenderer_SetParameters: { // wxGridCellFloatRenderer::SetParameters
+ wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4;
+ int * paramsLen = (int *) bp; bp += 4;
+ wxString params = wxString(bp, wxConvUTF8);
+ bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetParameters(params);
+ break;
+}
+case wxGridCellFloatRenderer_SetPrecision: { // wxGridCellFloatRenderer::SetPrecision
+ wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4;
+ int * precision = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPrecision((int) *precision);
+ break;
+}
+case wxGridCellFloatRenderer_SetWidth: { // wxGridCellFloatRenderer::SetWidth
+ wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWidth((int) *width);
+ break;
+}
+case wxGridCellFloatRenderer_destroy: { // wxGridCellFloatRenderer::destroy
+ wxGridCellFloatRenderer *This = (wxGridCellFloatRenderer *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellFloatEditor_new: { // wxGridCellFloatEditor::wxGridCellFloatEditor
+ int width=-1;
+ int precision=-1;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ width = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ precision = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGridCellFloatEditor * Result = new wxGridCellFloatEditor(width,precision);
+ newPtr((void *) Result, 27, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellFloatEditor");
+ break;
+}
+case wxGridCellFloatEditor_SetParameters: { // wxGridCellFloatEditor::SetParameters
+ wxGridCellFloatEditor *This = (wxGridCellFloatEditor *) getPtr(bp,memenv); bp += 4;
+ int * paramsLen = (int *) bp; bp += 4;
+ wxString params = wxString(bp, wxConvUTF8);
+ bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetParameters(params);
+ break;
+}
+case wxGridCellFloatEditor_destroy: { // wxGridCellFloatEditor::destroy
+ wxGridCellFloatEditor *This = (wxGridCellFloatEditor *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellStringRenderer_new: { // wxGridCellStringRenderer::wxGridCellStringRenderer
+ wxGridCellStringRenderer * Result = new wxGridCellStringRenderer();
+ newPtr((void *) Result, 28, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellStringRenderer");
+ break;
+}
+case wxGridCellStringRenderer_destroy: { // wxGridCellStringRenderer::destroy
+ wxGridCellStringRenderer *This = (wxGridCellStringRenderer *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellTextEditor_new: { // wxGridCellTextEditor::wxGridCellTextEditor
+ wxGridCellTextEditor * Result = new wxGridCellTextEditor();
+ newPtr((void *) Result, 29, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellTextEditor");
+ break;
+}
+case wxGridCellTextEditor_SetParameters: { // wxGridCellTextEditor::SetParameters
+ wxGridCellTextEditor *This = (wxGridCellTextEditor *) getPtr(bp,memenv); bp += 4;
+ int * paramsLen = (int *) bp; bp += 4;
+ wxString params = wxString(bp, wxConvUTF8);
+ bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetParameters(params);
+ break;
+}
+case wxGridCellTextEditor_destroy: { // wxGridCellTextEditor::destroy
+ wxGridCellTextEditor *This = (wxGridCellTextEditor *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellChoiceEditor_new: { // wxGridCellChoiceEditor::wxGridCellChoiceEditor
+ bool allowOthers=false;
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((4+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ allowOthers = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ wxGridCellChoiceEditor * Result = new wxGridCellChoiceEditor(choices,allowOthers);
+ newPtr((void *) Result, 30, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellChoiceEditor");
+ break;
+}
+case wxGridCellChoiceEditor_SetParameters: { // wxGridCellChoiceEditor::SetParameters
+ wxGridCellChoiceEditor *This = (wxGridCellChoiceEditor *) getPtr(bp,memenv); bp += 4;
+ int * paramsLen = (int *) bp; bp += 4;
+ wxString params = wxString(bp, wxConvUTF8);
+ bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetParameters(params);
+ break;
+}
+case wxGridCellChoiceEditor_destroy: { // wxGridCellChoiceEditor::destroy
+ wxGridCellChoiceEditor *This = (wxGridCellChoiceEditor *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellNumberRenderer_new: { // wxGridCellNumberRenderer::wxGridCellNumberRenderer
+ wxGridCellNumberRenderer * Result = new wxGridCellNumberRenderer();
+ newPtr((void *) Result, 31, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellNumberRenderer");
+ break;
+}
+case wxGridCellNumberRenderer_destroy: { // wxGridCellNumberRenderer::destroy
+ wxGridCellNumberRenderer *This = (wxGridCellNumberRenderer *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellNumberEditor_new: { // wxGridCellNumberEditor::wxGridCellNumberEditor
+ int min=-1;
+ int max=-1;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ min = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ max = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGridCellNumberEditor * Result = new wxGridCellNumberEditor(min,max);
+ newPtr((void *) Result, 32, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellNumberEditor");
+ break;
+}
+case wxGridCellNumberEditor_GetValue: { // wxGridCellNumberEditor::GetValue
+ wxGridCellNumberEditor *This = (wxGridCellNumberEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetValue();
+ rt.add(Result);
+ break;
+}
+case wxGridCellNumberEditor_SetParameters: { // wxGridCellNumberEditor::SetParameters
+ wxGridCellNumberEditor *This = (wxGridCellNumberEditor *) getPtr(bp,memenv); bp += 4;
+ int * paramsLen = (int *) bp; bp += 4;
+ wxString params = wxString(bp, wxConvUTF8);
+ bp += *paramsLen+((8-((0+ *paramsLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetParameters(params);
+ break;
+}
+case wxGridCellNumberEditor_destroy: { // wxGridCellNumberEditor::destroy
+ wxGridCellNumberEditor *This = (wxGridCellNumberEditor *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxGridCellAttr_SetTextColour: { // wxGridCellAttr::SetTextColour
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ int * colTextR = (int *) bp; bp += 4;
+ int * colTextG = (int *) bp; bp += 4;
+ int * colTextB = (int *) bp; bp += 4;
+ int * colTextA = (int *) bp; bp += 4;
+ wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA);
+ if(!This) throw wxe_badarg(0);
+ This->SetTextColour(colText);
+ break;
+}
+case wxGridCellAttr_SetBackgroundColour: { // wxGridCellAttr::SetBackgroundColour
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ int * colBackR = (int *) bp; bp += 4;
+ int * colBackG = (int *) bp; bp += 4;
+ int * colBackB = (int *) bp; bp += 4;
+ int * colBackA = (int *) bp; bp += 4;
+ wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA);
+ if(!This) throw wxe_badarg(0);
+ This->SetBackgroundColour(colBack);
+ break;
+}
+case wxGridCellAttr_SetFont: { // wxGridCellAttr::SetFont
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFont(*font);
+ break;
+}
+case wxGridCellAttr_SetAlignment: { // wxGridCellAttr::SetAlignment
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ int * hAlign = (int *) bp; bp += 4;
+ int * vAlign = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAlignment((int) *hAlign,(int) *vAlign);
+ break;
+}
+case wxGridCellAttr_SetReadOnly: { // wxGridCellAttr::SetReadOnly
+ bool isReadOnly=true;
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ isReadOnly = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetReadOnly(isReadOnly);
+ break;
+}
+case wxGridCellAttr_SetRenderer: { // wxGridCellAttr::SetRenderer
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxGridCellRenderer *renderer = (wxGridCellRenderer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRenderer(renderer);
+ break;
+}
+case wxGridCellAttr_SetEditor: { // wxGridCellAttr::SetEditor
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxGridCellEditor *editor = (wxGridCellEditor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetEditor(editor);
+ break;
+}
+case wxGridCellAttr_HasTextColour: { // wxGridCellAttr::HasTextColour
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasTextColour();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellAttr_HasBackgroundColour: { // wxGridCellAttr::HasBackgroundColour
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasBackgroundColour();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellAttr_HasFont: { // wxGridCellAttr::HasFont
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasFont();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellAttr_HasAlignment: { // wxGridCellAttr::HasAlignment
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasAlignment();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellAttr_HasRenderer: { // wxGridCellAttr::HasRenderer
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasRenderer();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellAttr_HasEditor: { // wxGridCellAttr::HasEditor
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasEditor();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellAttr_GetTextColour: { // wxGridCellAttr::GetTextColour
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetTextColour();
+ rt.add((*Result));
+ break;
+}
+case wxGridCellAttr_GetBackgroundColour: { // wxGridCellAttr::GetBackgroundColour
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetBackgroundColour();
+ rt.add((*Result));
+ break;
+}
+case wxGridCellAttr_GetFont: { // wxGridCellAttr::GetFont
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxFont * Result = &This->GetFont();
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxGridCellAttr_GetAlignment: { // wxGridCellAttr::GetAlignment
+ int hAlign;
+ int vAlign;
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetAlignment(&hAlign,&vAlign);
+ rt.addInt(hAlign);
+ rt.addInt(vAlign);
+ rt.addTupleCount(2);
+ break;
+}
+case wxGridCellAttr_GetRenderer: { // wxGridCellAttr::GetRenderer
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellRenderer * Result = (wxGridCellRenderer*)This->GetRenderer(grid,(int) *row,(int) *col);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellRenderer");
+ break;
+}
+case wxGridCellAttr_GetEditor: { // wxGridCellAttr::GetEditor
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxGrid *grid = (wxGrid *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGridCellEditor * Result = (wxGridCellEditor*)This->GetEditor(grid,(int) *row,(int) *col);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridCellEditor");
+ break;
+}
+case wxGridCellAttr_IsReadOnly: { // wxGridCellAttr::IsReadOnly
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsReadOnly();
+ rt.addBool(Result);
+ break;
+}
+case wxGridCellAttr_SetDefAttr: { // wxGridCellAttr::SetDefAttr
+ wxGridCellAttr *This = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ wxGridCellAttr *defAttr = (wxGridCellAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefAttr(defAttr);
+ break;
+}
+case wxDC_Blit: { // wxDC::Blit
+ int rop=wxCOPY;
+ bool useMask=false;
+ wxPoint srcPtMask= wxDefaultPosition;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * destPtX = (int *) bp; bp += 4;
+ int * destPtY = (int *) bp; bp += 4;
+ wxPoint destPt = wxPoint(*destPtX,*destPtY);
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ wxDC *source = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * srcPtX = (int *) bp; bp += 4;
+ int * srcPtY = (int *) bp; bp += 4;
+ wxPoint srcPt = wxPoint(*srcPtX,*srcPtY);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ rop = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ useMask = *(bool *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ int * srcPtMaskX = (int *) bp; bp += 4;
+ int * srcPtMaskY = (int *) bp; bp += 4;
+ srcPtMask = wxPoint(*srcPtMaskX,*srcPtMaskY);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Blit(destPt,sz,source,srcPt,rop,useMask,srcPtMask);
+ rt.addBool(Result);
+ break;
+}
+case wxDC_CalcBoundingBox: { // wxDC::CalcBoundingBox
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CalcBoundingBox((wxCoord) *x,(wxCoord) *y);
+ break;
+}
+case wxDC_Clear: { // wxDC::Clear
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clear();
+ break;
+}
+case wxDC_ComputeScaleAndOrigin: { // wxDC::ComputeScaleAndOrigin
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ComputeScaleAndOrigin();
+ break;
+}
+case wxDC_CrossHair: { // wxDC::CrossHair
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->CrossHair(pt);
+ break;
+}
+case wxDC_DestroyClippingRegion: { // wxDC::DestroyClippingRegion
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DestroyClippingRegion();
+ break;
+}
+case wxDC_DeviceToLogicalX: { // wxDC::DeviceToLogicalX
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->DeviceToLogicalX((wxCoord) *x);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_DeviceToLogicalXRel: { // wxDC::DeviceToLogicalXRel
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->DeviceToLogicalXRel((wxCoord) *x);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_DeviceToLogicalY: { // wxDC::DeviceToLogicalY
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->DeviceToLogicalY((wxCoord) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_DeviceToLogicalYRel: { // wxDC::DeviceToLogicalYRel
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->DeviceToLogicalYRel((wxCoord) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_DrawArc: { // wxDC::DrawArc
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * pt1X = (int *) bp; bp += 4;
+ int * pt1Y = (int *) bp; bp += 4;
+ wxPoint pt1 = wxPoint(*pt1X,*pt1Y);
+ int * pt2X = (int *) bp; bp += 4;
+ int * pt2Y = (int *) bp; bp += 4;
+ wxPoint pt2 = wxPoint(*pt2X,*pt2Y);
+ int * centreX = (int *) bp; bp += 4;
+ int * centreY = (int *) bp; bp += 4;
+ wxPoint centre = wxPoint(*centreX,*centreY);
+ if(!This) throw wxe_badarg(0);
+ This->DrawArc(pt1,pt2,centre);
+ break;
+}
+case wxDC_DrawBitmap: { // wxDC::DrawBitmap
+ bool useMask=false;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ useMask = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->DrawBitmap(*bmp,pt,useMask);
+ break;
+}
+case wxDC_DrawCheckMark: { // wxDC::DrawCheckMark
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->DrawCheckMark(rect);
+ break;
+}
+case wxDC_DrawCircle: { // wxDC::DrawCircle
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * radius = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DrawCircle(pt,(wxCoord) *radius);
+ break;
+}
+case wxDC_DrawEllipse_2: { // wxDC::DrawEllipse
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ if(!This) throw wxe_badarg(0);
+ This->DrawEllipse(pt,sz);
+ break;
+}
+case wxDC_DrawEllipse_1: { // wxDC::DrawEllipse
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->DrawEllipse(rect);
+ break;
+}
+case wxDC_DrawEllipticArc: { // wxDC::DrawEllipticArc
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ bp += 4; /* Align */
+ double * sa = (double *) bp; bp += 8;
+ double * ea = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawEllipticArc(pt,sz,(double) *sa,(double) *ea);
+ break;
+}
+case wxDC_DrawIcon: { // wxDC::DrawIcon
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->DrawIcon(*icon,pt);
+ break;
+}
+case wxDC_DrawLabel: { // wxDC::DrawLabel
+ int alignment=wxALIGN_LEFT|wxALIGN_TOP;
+ int indexAccel=-1;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ alignment = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ indexAccel = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->DrawLabel(text,rect,alignment,indexAccel);
+ break;
+}
+case wxDC_DrawLine: { // wxDC::DrawLine
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * pt1X = (int *) bp; bp += 4;
+ int * pt1Y = (int *) bp; bp += 4;
+ wxPoint pt1 = wxPoint(*pt1X,*pt1Y);
+ int * pt2X = (int *) bp; bp += 4;
+ int * pt2Y = (int *) bp; bp += 4;
+ wxPoint pt2 = wxPoint(*pt2X,*pt2Y);
+ if(!This) throw wxe_badarg(0);
+ This->DrawLine(pt1,pt2);
+ break;
+}
+case wxDC_DrawLines: { // wxDC::DrawLines
+ wxCoord xoffset=0;
+ wxCoord yoffset=0;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * pointsLen = (int *) bp; bp += 4;
+ wxPoint *points;
+ points = (wxPoint *) driver_alloc(sizeof(wxPoint) * *pointsLen);
+ for(int i=0; i < *pointsLen; i++) {
+ int x = * (int *) bp; bp += 4;
+ int y = * (int *) bp; bp += 4;
+ points[i] = wxPoint(x,y);}
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ xoffset = (wxCoord)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ yoffset = (wxCoord)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->DrawLines(*pointsLen,points,xoffset,yoffset);
+ driver_free(points);
+ break;
+}
+case wxDC_DrawPolygon: { // wxDC::DrawPolygon
+ wxCoord xoffset=0;
+ wxCoord yoffset=0;
+ int fillStyle=wxODDEVEN_RULE;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * pointsLen = (int *) bp; bp += 4;
+ wxPoint *points;
+ points = (wxPoint *) driver_alloc(sizeof(wxPoint) * *pointsLen);
+ for(int i=0; i < *pointsLen; i++) {
+ int x = * (int *) bp; bp += 4;
+ int y = * (int *) bp; bp += 4;
+ points[i] = wxPoint(x,y);}
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ xoffset = (wxCoord)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ yoffset = (wxCoord)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ fillStyle = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->DrawPolygon(*pointsLen,points,xoffset,yoffset,fillStyle);
+ driver_free(points);
+ break;
+}
+case wxDC_DrawPoint: { // wxDC::DrawPoint
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->DrawPoint(pt);
+ break;
+}
+case wxDC_DrawRectangle_2: { // wxDC::DrawRectangle
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ if(!This) throw wxe_badarg(0);
+ This->DrawRectangle(pt,sz);
+ break;
+}
+case wxDC_DrawRectangle_1: { // wxDC::DrawRectangle
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->DrawRectangle(rect);
+ break;
+}
+case wxDC_DrawRotatedText: { // wxDC::DrawRotatedText
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ double * angle = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawRotatedText(text,pt,(double) *angle);
+ break;
+}
+case wxDC_DrawRoundedRectangle_3: { // wxDC::DrawRoundedRectangle
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ bp += 4; /* Align */
+ double * radius = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawRoundedRectangle(pt,sz,(double) *radius);
+ break;
+}
+case wxDC_DrawRoundedRectangle_2: { // wxDC::DrawRoundedRectangle
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rX = (int *) bp; bp += 4;
+ int * rY = (int *) bp; bp += 4;
+ int * rW = (int *) bp; bp += 4;
+ int * rH = (int *) bp; bp += 4;
+ wxRect r = wxRect(*rX,*rY,*rW,*rH);
+ bp += 4; /* Align */
+ double * radius = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawRoundedRectangle(r,(double) *radius);
+ break;
+}
+case wxDC_DrawText: { // wxDC::DrawText
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->DrawText(text,pt);
+ break;
+}
+case wxDC_EndDoc: { // wxDC::EndDoc
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EndDoc();
+ break;
+}
+case wxDC_EndPage: { // wxDC::EndPage
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EndPage();
+ break;
+}
+case wxDC_FloodFill: { // wxDC::FloodFill
+ int style=wxFLOOD_SURFACE;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->FloodFill(pt,col,style);
+ rt.addBool(Result);
+ break;
+}
+case wxDC_GetBackground: { // wxDC::GetBackground
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxBrush * Result = &This->GetBackground();
+ rt.addRef(getRef((void *)Result,memenv), "wxBrush");
+ break;
+}
+case wxDC_GetBackgroundMode: { // wxDC::GetBackgroundMode
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetBackgroundMode();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_GetBrush: { // wxDC::GetBrush
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxBrush * Result = &This->GetBrush();
+ rt.addRef(getRef((void *)Result,memenv), "wxBrush");
+ break;
+}
+case wxDC_GetCharHeight: { // wxDC::GetCharHeight
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetCharHeight();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_GetCharWidth: { // wxDC::GetCharWidth
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetCharWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_GetClippingBox: { // wxDC::GetClippingBox
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->GetClippingBox(rect);
+ break;
+}
+case wxDC_GetFont: { // wxDC::GetFont
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxFont * Result = &This->GetFont();
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxDC_GetLayoutDirection: { // wxDC::GetLayoutDirection
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLayoutDirection();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_GetLogicalFunction: { // wxDC::GetLogicalFunction
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLogicalFunction();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_GetMapMode: { // wxDC::GetMapMode
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMapMode();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_GetMultiLineTextExtent_4: { // wxDC::GetMultiLineTextExtent
+ wxCoord width;
+ wxCoord height;
+ wxCoord heightLine;
+ wxFont * font=NULL;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * stringLen = (int *) bp; bp += 4;
+ wxString string = wxString(bp, wxConvUTF8);
+ bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->GetMultiLineTextExtent(string,&width,&height,&heightLine,font);
+ rt.addInt(width);
+ rt.addInt(height);
+ rt.addInt(heightLine);
+ rt.addTupleCount(3);
+ break;
+}
+case wxDC_GetMultiLineTextExtent_1: { // wxDC::GetMultiLineTextExtent
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * stringLen = (int *) bp; bp += 4;
+ wxString string = wxString(bp, wxConvUTF8);
+ bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetMultiLineTextExtent(string);
+ rt.add(Result);
+ break;
+}
+case wxDC_GetPartialTextExtents: { // wxDC::GetPartialTextExtents
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ int * widthsLen = (int *) bp; bp += 4;
+ wxArrayInt widths;
+ for(int i=0; i < *widthsLen; i++) { widths.Add(*(int *) bp); bp += 4;}
+ bp += ((*widthsLen + 1) % 2 )*4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetPartialTextExtents(text,widths);
+ rt.addBool(Result);
+ break;
+}
+case wxDC_GetPen: { // wxDC::GetPen
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxPen * Result = &This->GetPen();
+ rt.addRef(getRef((void *)Result,memenv), "wxPen");
+ break;
+}
+case wxDC_GetPixel: { // wxDC::GetPixel
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetPixel(pt,&col);
+ rt.addBool(Result);
+ break;
+}
+case wxDC_GetPPI: { // wxDC::GetPPI
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetPPI();
+ rt.add(Result);
+ break;
+}
+case wxDC_GetSize: { // wxDC::GetSize
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSize();
+ rt.add(Result);
+ break;
+}
+case wxDC_GetSizeMM: { // wxDC::GetSizeMM
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSizeMM();
+ rt.add(Result);
+ break;
+}
+case wxDC_GetTextBackground: { // wxDC::GetTextBackground
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetTextBackground();
+ rt.add((*Result));
+ break;
+}
+case wxDC_GetTextExtent_4: { // wxDC::GetTextExtent
+ wxCoord x;
+ wxCoord y;
+ wxCoord descent;
+ wxCoord externalLeading;
+ wxFont * theFont=NULL;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * stringLen = (int *) bp; bp += 4;
+ wxString string = wxString(bp, wxConvUTF8);
+ bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+theFont = (wxFont *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->GetTextExtent(string,&x,&y,&descent,&externalLeading,theFont);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addInt(descent);
+ rt.addInt(externalLeading);
+ rt.addTupleCount(4);
+ break;
+}
+case wxDC_GetTextExtent_1: { // wxDC::GetTextExtent
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * stringLen = (int *) bp; bp += 4;
+ wxString string = wxString(bp, wxConvUTF8);
+ bp += *stringLen+((8-((0+ *stringLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetTextExtent(string);
+ rt.add(Result);
+ break;
+}
+case wxDC_GetTextForeground: { // wxDC::GetTextForeground
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetTextForeground();
+ rt.add((*Result));
+ break;
+}
+case wxDC_GetUserScale: { // wxDC::GetUserScale
+ double x;
+ double y;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetUserScale(&x,&y);
+ rt.addFloat(x);
+ rt.addFloat(y);
+ rt.addTupleCount(2);
+ break;
+}
+case wxDC_GradientFillConcentric_3: { // wxDC::GradientFillConcentric
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ int * initialColourR = (int *) bp; bp += 4;
+ int * initialColourG = (int *) bp; bp += 4;
+ int * initialColourB = (int *) bp; bp += 4;
+ int * initialColourA = (int *) bp; bp += 4;
+ wxColour initialColour = wxColour(*initialColourR,*initialColourG,*initialColourB,*initialColourA);
+ int * destColourR = (int *) bp; bp += 4;
+ int * destColourG = (int *) bp; bp += 4;
+ int * destColourB = (int *) bp; bp += 4;
+ int * destColourA = (int *) bp; bp += 4;
+ wxColour destColour = wxColour(*destColourR,*destColourG,*destColourB,*destColourA);
+ if(!This) throw wxe_badarg(0);
+ This->GradientFillConcentric(rect,initialColour,destColour);
+ break;
+}
+case wxDC_GradientFillConcentric_4: { // wxDC::GradientFillConcentric
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ int * initialColourR = (int *) bp; bp += 4;
+ int * initialColourG = (int *) bp; bp += 4;
+ int * initialColourB = (int *) bp; bp += 4;
+ int * initialColourA = (int *) bp; bp += 4;
+ wxColour initialColour = wxColour(*initialColourR,*initialColourG,*initialColourB,*initialColourA);
+ int * destColourR = (int *) bp; bp += 4;
+ int * destColourG = (int *) bp; bp += 4;
+ int * destColourB = (int *) bp; bp += 4;
+ int * destColourA = (int *) bp; bp += 4;
+ wxColour destColour = wxColour(*destColourR,*destColourG,*destColourB,*destColourA);
+ int * circleCenterX = (int *) bp; bp += 4;
+ int * circleCenterY = (int *) bp; bp += 4;
+ wxPoint circleCenter = wxPoint(*circleCenterX,*circleCenterY);
+ if(!This) throw wxe_badarg(0);
+ This->GradientFillConcentric(rect,initialColour,destColour,circleCenter);
+ break;
+}
+case wxDC_GradientFillLinear: { // wxDC::GradientFillLinear
+ wxDirection nDirection=wxEAST;
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ int * initialColourR = (int *) bp; bp += 4;
+ int * initialColourG = (int *) bp; bp += 4;
+ int * initialColourB = (int *) bp; bp += 4;
+ int * initialColourA = (int *) bp; bp += 4;
+ wxColour initialColour = wxColour(*initialColourR,*initialColourG,*initialColourB,*initialColourA);
+ int * destColourR = (int *) bp; bp += 4;
+ int * destColourG = (int *) bp; bp += 4;
+ int * destColourB = (int *) bp; bp += 4;
+ int * destColourA = (int *) bp; bp += 4;
+ wxColour destColour = wxColour(*destColourR,*destColourG,*destColourB,*destColourA);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+nDirection = *(wxDirection *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->GradientFillLinear(rect,initialColour,destColour,(wxDirection) nDirection);
+ break;
+}
+case wxDC_LogicalToDeviceX: { // wxDC::LogicalToDeviceX
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->LogicalToDeviceX((wxCoord) *x);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_LogicalToDeviceXRel: { // wxDC::LogicalToDeviceXRel
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->LogicalToDeviceXRel((wxCoord) *x);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_LogicalToDeviceY: { // wxDC::LogicalToDeviceY
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->LogicalToDeviceY((wxCoord) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_LogicalToDeviceYRel: { // wxDC::LogicalToDeviceYRel
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->LogicalToDeviceYRel((wxCoord) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxDC_MaxX: { // wxDC::MaxX
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->MaxX();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_MaxY: { // wxDC::MaxY
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->MaxY();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_MinX: { // wxDC::MinX
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->MinX();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_MinY: { // wxDC::MinY
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->MinY();
+ rt.addInt(Result);
+ break;
+}
+case wxDC_IsOk: { // wxDC::IsOk
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxDC_ResetBoundingBox: { // wxDC::ResetBoundingBox
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ResetBoundingBox();
+ break;
+}
+case wxDC_SetAxisOrientation: { // wxDC::SetAxisOrientation
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ bool * xLeftRight = (bool *) bp; bp += 4;
+ bool * yBottomUp = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAxisOrientation((bool) *xLeftRight,(bool) *yBottomUp);
+ break;
+}
+case wxDC_SetBackground: { // wxDC::SetBackground
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBackground(*brush);
+ break;
+}
+case wxDC_SetBackgroundMode: { // wxDC::SetBackgroundMode
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * mode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBackgroundMode((int) *mode);
+ break;
+}
+case wxDC_SetBrush: { // wxDC::SetBrush
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBrush(*brush);
+ break;
+}
+case wxDC_SetClippingRegion_2: { // wxDC::SetClippingRegion
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ if(!This) throw wxe_badarg(0);
+ This->SetClippingRegion(pt,sz);
+ break;
+}
+case wxDC_SetClippingRegion_1_1: { // wxDC::SetClippingRegion
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->SetClippingRegion(rect);
+ break;
+}
+case wxDC_SetClippingRegion_1_0: { // wxDC::SetClippingRegion
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetClippingRegion(*region);
+ break;
+}
+case wxDC_SetDeviceOrigin: { // wxDC::SetDeviceOrigin
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDeviceOrigin((wxCoord) *x,(wxCoord) *y);
+ break;
+}
+case wxDC_SetFont: { // wxDC::SetFont
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFont(*font);
+ break;
+}
+case wxDC_SetLayoutDirection: { // wxDC::SetLayoutDirection
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxLayoutDirection dir = *(wxLayoutDirection *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetLayoutDirection((wxLayoutDirection) dir);
+ break;
+}
+case wxDC_SetLogicalFunction: { // wxDC::SetLogicalFunction
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * function = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLogicalFunction((int) *function);
+ break;
+}
+case wxDC_SetMapMode: { // wxDC::SetMapMode
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * mode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMapMode((int) *mode);
+ break;
+}
+case wxDC_SetPalette: { // wxDC::SetPalette
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxPalette *palette = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPalette(*palette);
+ break;
+}
+case wxDC_SetPen: { // wxDC::SetPen
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxPen *pen = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPen(*pen);
+ break;
+}
+case wxDC_SetTextBackground: { // wxDC::SetTextBackground
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetTextBackground(colour);
+ break;
+}
+case wxDC_SetTextForeground: { // wxDC::SetTextForeground
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetTextForeground(colour);
+ break;
+}
+case wxDC_SetUserScale: { // wxDC::SetUserScale
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ double * x = (double *) bp; bp += 8;
+ double * y = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->SetUserScale((double) *x,(double) *y);
+ break;
+}
+case wxDC_StartDoc: { // wxDC::StartDoc
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->StartDoc(message);
+ rt.addBool(Result);
+ break;
+}
+case wxDC_StartPage: { // wxDC::StartPage
+ wxDC *This = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StartPage();
+ break;
+}
+case wxMirrorDC_new: { // wxMirrorDC::wxMirrorDC
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ bool * mirror = (bool *) bp; bp += 4;
+ wxMirrorDC * Result = new EwxMirrorDC(*dc,(bool) *mirror);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMirrorDC");
+ break;
+}
+case wxScreenDC_new: { // wxScreenDC::wxScreenDC
+ wxScreenDC * Result = new EwxScreenDC();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxScreenDC");
+ break;
+}
+case wxPostScriptDC_new_0: { // wxPostScriptDC::wxPostScriptDC
+ wxPostScriptDC * Result = new EwxPostScriptDC();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPostScriptDC");
+ break;
+}
+case wxPostScriptDC_new_1: { // wxPostScriptDC::wxPostScriptDC
+ wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxPostScriptDC * Result = new EwxPostScriptDC(*printData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPostScriptDC");
+ break;
+}
+case wxPostScriptDC_SetResolution: { // wxPostScriptDC::SetResolution
+ int * ppi = (int *) bp; bp += 4;
+ wxPostScriptDC::SetResolution((int) *ppi);
+ break;
+}
+case wxPostScriptDC_GetResolution: { // wxPostScriptDC::GetResolution
+ int Result = wxPostScriptDC::GetResolution();
+ rt.addInt(Result);
+ break;
+}
+case wxWindowDC_new_0: { // wxWindowDC::wxWindowDC
+ wxWindowDC * Result = new EwxWindowDC();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindowDC");
+ break;
+}
+case wxWindowDC_new_1: { // wxWindowDC::wxWindowDC
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindowDC * Result = new EwxWindowDC(win);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindowDC");
+ break;
+}
+case wxClientDC_new_0: { // wxClientDC::wxClientDC
+ wxClientDC * Result = new EwxClientDC();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxClientDC");
+ break;
+}
+case wxClientDC_new_1: { // wxClientDC::wxClientDC
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxClientDC * Result = new EwxClientDC(win);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxClientDC");
+ break;
+}
+case wxPaintDC_new_0: { // wxPaintDC::wxPaintDC
+ wxPaintDC * Result = new EwxPaintDC();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPaintDC");
+ break;
+}
+case wxPaintDC_new_1: { // wxPaintDC::wxPaintDC
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxPaintDC * Result = new EwxPaintDC(win);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPaintDC");
+ break;
+}
+case wxMemoryDC_new_1_0: { // wxMemoryDC::wxMemoryDC
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxMemoryDC * Result = new EwxMemoryDC(*bitmap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMemoryDC");
+ break;
+}
+case wxMemoryDC_new_1_1: { // wxMemoryDC::wxMemoryDC
+ wxDC * dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxMemoryDC * Result = new EwxMemoryDC(dc);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMemoryDC");
+ break;
+}
+case wxMemoryDC_new_0: { // wxMemoryDC::wxMemoryDC
+ wxMemoryDC * Result = new EwxMemoryDC();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMemoryDC");
+ break;
+}
+case wxMemoryDC_SelectObject: { // wxMemoryDC::SelectObject
+ wxMemoryDC *This = (wxMemoryDC *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SelectObject(*bmp);
+ break;
+}
+case wxMemoryDC_SelectObjectAsSource: { // wxMemoryDC::SelectObjectAsSource
+ wxMemoryDC *This = (wxMemoryDC *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SelectObjectAsSource(*bmp);
+ break;
+}
+case wxBufferedDC_new_0: { // wxBufferedDC::wxBufferedDC
+ wxBufferedDC * Result = new EwxBufferedDC();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBufferedDC");
+ break;
+}
+case wxBufferedDC_new_2: { // wxBufferedDC::wxBufferedDC
+ wxBitmap * buffer= &wxNullBitmap;
+ int style=0x02;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBufferedDC * Result = new EwxBufferedDC(dc,*buffer,style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBufferedDC");
+ break;
+}
+case wxBufferedDC_new_3: { // wxBufferedDC::wxBufferedDC
+ int style=0x02;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * areaW = (int *) bp; bp += 4;
+ int * areaH = (int *) bp; bp += 4;
+ wxSize area = wxSize(*areaW,*areaH);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBufferedDC * Result = new EwxBufferedDC(dc,area,style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBufferedDC");
+ break;
+}
+case wxBufferedDC_Init_2: { // wxBufferedDC::Init
+ wxBitmap * buffer= &wxNullBitmap;
+ int style=0x02;
+ wxBufferedDC *This = (wxBufferedDC *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Init(dc,*buffer,style);
+ break;
+}
+case wxBufferedDC_Init_3: { // wxBufferedDC::Init
+ int style=0x02;
+ wxBufferedDC *This = (wxBufferedDC *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * areaW = (int *) bp; bp += 4;
+ int * areaH = (int *) bp; bp += 4;
+ wxSize area = wxSize(*areaW,*areaH);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Init(dc,area,style);
+ break;
+}
+case wxBufferedPaintDC_new_3: { // wxBufferedPaintDC::wxBufferedPaintDC
+ int style=0x02;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *buffer = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBufferedPaintDC * Result = new EwxBufferedPaintDC(window,*buffer,style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBufferedPaintDC");
+ break;
+}
+case wxBufferedPaintDC_new_2: { // wxBufferedPaintDC::wxBufferedPaintDC
+ int style=0x02;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBufferedPaintDC * Result = new EwxBufferedPaintDC(window,style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBufferedPaintDC");
+ break;
+}
+#if wxUSE_GRAPHICS_CONTEXT
+case wxGraphicsObject_GetRenderer: { // wxGraphicsObject::GetRenderer
+ wxGraphicsObject *This = (wxGraphicsObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsRenderer * Result = (wxGraphicsRenderer*)This->GetRenderer();
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsRenderer");
+ break;
+}
+case wxGraphicsObject_IsNull: { // wxGraphicsObject::IsNull
+ wxGraphicsObject *This = (wxGraphicsObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsNull();
+ rt.addBool(Result);
+ break;
+}
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+case wxGraphicsContext_Create_1_1: { // wxGraphicsContext::Create
+ wxWindowDC * dc = (wxWindowDC *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsContext * Result = (wxGraphicsContext*)wxGraphicsContext::Create(*dc);
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext");
+ break;
+}
+case wxGraphicsContext_Create_1_0: { // wxGraphicsContext::Create
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsContext * Result = (wxGraphicsContext*)wxGraphicsContext::Create(window);
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext");
+ break;
+}
+case wxGraphicsContext_Create_0: { // wxGraphicsContext::Create
+ wxGraphicsContext * Result = (wxGraphicsContext*)wxGraphicsContext::Create();
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext");
+ break;
+}
+case wxGraphicsContext_CreatePen: { // wxGraphicsContext::CreatePen
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxPen *pen = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsPen * Result = new wxGraphicsPen(This->CreatePen(*pen)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPen");
+ break;
+}
+case wxGraphicsContext_CreateBrush: { // wxGraphicsContext::CreateBrush
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateBrush(*brush)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush");
+ break;
+}
+case wxGraphicsContext_CreateRadialGradientBrush: { // wxGraphicsContext::CreateRadialGradientBrush
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * xo = (wxDouble *) bp; bp += 8;
+ wxDouble * yo = (wxDouble *) bp; bp += 8;
+ wxDouble * xc = (wxDouble *) bp; bp += 8;
+ wxDouble * yc = (wxDouble *) bp; bp += 8;
+ wxDouble * radius = (wxDouble *) bp; bp += 8;
+ int * oColorR = (int *) bp; bp += 4;
+ int * oColorG = (int *) bp; bp += 4;
+ int * oColorB = (int *) bp; bp += 4;
+ int * oColorA = (int *) bp; bp += 4;
+ wxColour oColor = wxColour(*oColorR,*oColorG,*oColorB,*oColorA);
+ int * cColorR = (int *) bp; bp += 4;
+ int * cColorG = (int *) bp; bp += 4;
+ int * cColorB = (int *) bp; bp += 4;
+ int * cColorA = (int *) bp; bp += 4;
+ wxColour cColor = wxColour(*cColorR,*cColorG,*cColorB,*cColorA);
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateRadialGradientBrush((wxDouble) *xo,(wxDouble) *yo,(wxDouble) *xc,(wxDouble) *yc,(wxDouble) *radius,oColor,cColor)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush");
+ break;
+}
+case wxGraphicsContext_CreateLinearGradientBrush: { // wxGraphicsContext::CreateLinearGradientBrush
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x1 = (wxDouble *) bp; bp += 8;
+ wxDouble * y1 = (wxDouble *) bp; bp += 8;
+ wxDouble * x2 = (wxDouble *) bp; bp += 8;
+ wxDouble * y2 = (wxDouble *) bp; bp += 8;
+ int * c1R = (int *) bp; bp += 4;
+ int * c1G = (int *) bp; bp += 4;
+ int * c1B = (int *) bp; bp += 4;
+ int * c1A = (int *) bp; bp += 4;
+ wxColour c1 = wxColour(*c1R,*c1G,*c1B,*c1A);
+ int * c2R = (int *) bp; bp += 4;
+ int * c2G = (int *) bp; bp += 4;
+ int * c2B = (int *) bp; bp += 4;
+ int * c2A = (int *) bp; bp += 4;
+ wxColour c2 = wxColour(*c2R,*c2G,*c2B,*c2A);
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateLinearGradientBrush((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2,c1,c2)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush");
+ break;
+}
+case wxGraphicsContext_CreateFont: { // wxGraphicsContext::CreateFont
+ wxColour col= *wxBLACK;
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ col = wxColour(*colR,*colG,*colB,*colA);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsFont * Result = new wxGraphicsFont(This->CreateFont(*font,col)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsFont");
+ break;
+}
+case wxGraphicsContext_CreateMatrix: { // wxGraphicsContext::CreateMatrix
+ wxDouble a=1.0;
+ wxDouble b=0.0;
+ wxDouble c=0.0;
+ wxDouble d=1.0;
+ wxDouble tx=0.0;
+ wxDouble ty=0.0;
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bp += 4; /* Align */
+ a = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 2: {bp += 4;
+ bp += 4; /* Align */
+ b = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 3: {bp += 4;
+ bp += 4; /* Align */
+ c = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 4: {bp += 4;
+ bp += 4; /* Align */
+ d = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 5: {bp += 4;
+ bp += 4; /* Align */
+ tx = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 6: {bp += 4;
+ bp += 4; /* Align */
+ ty = * (wxDouble *) bp; bp += 8;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsMatrix * Result = new wxGraphicsMatrix(This->CreateMatrix(a,b,c,d,tx,ty)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsMatrix");
+ break;
+}
+case wxGraphicsContext_CreatePath: { // wxGraphicsContext::CreatePath
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsPath * Result = new wxGraphicsPath(This->CreatePath()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPath");
+ break;
+}
+case wxGraphicsContext_Clip_1: { // wxGraphicsContext::Clip
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clip(*region);
+ break;
+}
+case wxGraphicsContext_Clip_4: { // wxGraphicsContext::Clip
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->Clip((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h);
+ break;
+}
+case wxGraphicsContext_ResetClip: { // wxGraphicsContext::ResetClip
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ResetClip();
+ break;
+}
+case wxGraphicsContext_DrawBitmap: { // wxGraphicsContext::DrawBitmap
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawBitmap(*bmp,(wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h);
+ break;
+}
+case wxGraphicsContext_DrawEllipse: { // wxGraphicsContext::DrawEllipse
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawEllipse((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h);
+ break;
+}
+case wxGraphicsContext_DrawIcon: { // wxGraphicsContext::DrawIcon
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4;
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawIcon(*icon,(wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h);
+ break;
+}
+case wxGraphicsContext_DrawLines: { // wxGraphicsContext::DrawLines
+ int fillStyle=wxODDEVEN_RULE;
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ wxDouble * pointsX = (wxDouble *) bp; bp += 8;
+ wxDouble * pointsY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble points = wxPoint2DDouble(*pointsX,*pointsY);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ fillStyle = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->DrawLines((size_t) *n,&points,fillStyle);
+ break;
+}
+case wxGraphicsContext_DrawPath: { // wxGraphicsContext::DrawPath
+ int fillStyle=wxODDEVEN_RULE;
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ fillStyle = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->DrawPath(*path,fillStyle);
+ break;
+}
+case wxGraphicsContext_DrawRectangle: { // wxGraphicsContext::DrawRectangle
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h);
+ break;
+}
+case wxGraphicsContext_DrawRoundedRectangle: { // wxGraphicsContext::DrawRoundedRectangle
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ wxDouble * radius = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawRoundedRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h,(wxDouble) *radius);
+ break;
+}
+case wxGraphicsContext_DrawText_3: { // wxGraphicsContext::DrawText
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawText(str,(wxDouble) *x,(wxDouble) *y);
+ break;
+}
+case wxGraphicsContext_DrawText_4_0: { // wxGraphicsContext::DrawText
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * angle = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->DrawText(str,(wxDouble) *x,(wxDouble) *y,(wxDouble) *angle);
+ break;
+}
+case wxGraphicsContext_DrawText_4_1: { // wxGraphicsContext::DrawText
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxGraphicsBrush *backgroundBrush = (wxGraphicsBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DrawText(str,(wxDouble) *x,(wxDouble) *y,*backgroundBrush);
+ break;
+}
+case wxGraphicsContext_DrawText_5: { // wxGraphicsContext::DrawText
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * angle = (wxDouble *) bp; bp += 8;
+ wxGraphicsBrush *backgroundBrush = (wxGraphicsBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DrawText(str,(wxDouble) *x,(wxDouble) *y,(wxDouble) *angle,*backgroundBrush);
+ break;
+}
+case wxGraphicsContext_FillPath: { // wxGraphicsContext::FillPath
+ int fillStyle=wxODDEVEN_RULE;
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ fillStyle = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->FillPath(*path,fillStyle);
+ break;
+}
+case wxGraphicsContext_StrokePath: { // wxGraphicsContext::StrokePath
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StrokePath(*path);
+ break;
+}
+case wxGraphicsContext_GetNativeContext: { // wxGraphicsContext::GetNativeContext
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetNativeContext();
+ break;
+}
+case wxGraphicsContext_GetPartialTextExtents: { // wxGraphicsContext::GetPartialTextExtents
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ int * widthsLen = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ wxArrayDouble widths;
+ for(int i=0; i < *widthsLen; i++) { widths.Add(*(int *) bp); bp += 4;}
+ if(!This) throw wxe_badarg(0);
+ This->GetPartialTextExtents(text,widths);
+ break;
+}
+case wxGraphicsContext_GetTextExtent: { // wxGraphicsContext::GetTextExtent
+ wxDouble width;
+ wxDouble height;
+ wxDouble descent;
+ wxDouble externalLeading;
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->GetTextExtent(text,&width,&height,&descent,&externalLeading);
+ rt.addFloat(width);
+ rt.addFloat(height);
+ rt.addFloat(descent);
+ rt.addFloat(externalLeading);
+ rt.addTupleCount(4);
+ break;
+}
+case wxGraphicsContext_Rotate: { // wxGraphicsContext::Rotate
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * angle = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->Rotate((wxDouble) *angle);
+ break;
+}
+case wxGraphicsContext_Scale: { // wxGraphicsContext::Scale
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * xScale = (wxDouble *) bp; bp += 8;
+ wxDouble * yScale = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->Scale((wxDouble) *xScale,(wxDouble) *yScale);
+ break;
+}
+case wxGraphicsContext_Translate: { // wxGraphicsContext::Translate
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * dx = (wxDouble *) bp; bp += 8;
+ wxDouble * dy = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->Translate((wxDouble) *dx,(wxDouble) *dy);
+ break;
+}
+case wxGraphicsContext_GetTransform: { // wxGraphicsContext::GetTransform
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsMatrix * Result = new wxGraphicsMatrix(This->GetTransform()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsMatrix");
+ break;
+}
+case wxGraphicsContext_SetTransform: { // wxGraphicsContext::SetTransform
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsMatrix *matrix = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTransform(*matrix);
+ break;
+}
+case wxGraphicsContext_ConcatTransform: { // wxGraphicsContext::ConcatTransform
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsMatrix *matrix = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ConcatTransform(*matrix);
+ break;
+}
+case wxGraphicsContext_SetBrush_1_1: { // wxGraphicsContext::SetBrush
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsBrush * brush = (wxGraphicsBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBrush(*brush);
+ break;
+}
+case wxGraphicsContext_SetBrush_1_0: { // wxGraphicsContext::SetBrush
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBrush(*brush);
+ break;
+}
+case wxGraphicsContext_SetFont_1: { // wxGraphicsContext::SetFont
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsFont *font = (wxGraphicsFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFont(*font);
+ break;
+}
+case wxGraphicsContext_SetFont_2: { // wxGraphicsContext::SetFont
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetFont(*font,colour);
+ break;
+}
+case wxGraphicsContext_SetPen_1_0: { // wxGraphicsContext::SetPen
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsPen *pen = (wxGraphicsPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPen(*pen);
+ break;
+}
+case wxGraphicsContext_SetPen_1_1: { // wxGraphicsContext::SetPen
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ wxPen * pen = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPen(*pen);
+ break;
+}
+case wxGraphicsContext_StrokeLine: { // wxGraphicsContext::StrokeLine
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x1 = (wxDouble *) bp; bp += 8;
+ wxDouble * y1 = (wxDouble *) bp; bp += 8;
+ wxDouble * x2 = (wxDouble *) bp; bp += 8;
+ wxDouble * y2 = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->StrokeLine((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2);
+ break;
+}
+case wxGraphicsContext_StrokeLines_2: { // wxGraphicsContext::StrokeLines
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ wxDouble * pointsX = (wxDouble *) bp; bp += 8;
+ wxDouble * pointsY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble points = wxPoint2DDouble(*pointsX,*pointsY);
+ if(!This) throw wxe_badarg(0);
+ This->StrokeLines((size_t) *n,&points);
+ break;
+}
+case wxGraphicsContext_StrokeLines_3: { // wxGraphicsContext::StrokeLines
+ wxGraphicsContext *This = (wxGraphicsContext *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ wxDouble * beginPointsX = (wxDouble *) bp; bp += 8;
+ wxDouble * beginPointsY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble beginPoints = wxPoint2DDouble(*beginPointsX,*beginPointsY);
+ wxDouble * endPointsX = (wxDouble *) bp; bp += 8;
+ wxDouble * endPointsY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble endPoints = wxPoint2DDouble(*endPointsX,*endPointsY);
+ if(!This) throw wxe_badarg(0);
+ This->StrokeLines((size_t) *n,&beginPoints,&endPoints);
+ break;
+}
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+case wxGraphicsMatrix_Concat: { // wxGraphicsMatrix::Concat
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsMatrix *t = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Concat(t);
+ break;
+}
+case wxGraphicsMatrix_Get: { // wxGraphicsMatrix::Get
+ wxDouble a;
+ wxDouble b;
+ wxDouble c;
+ wxDouble d;
+ wxDouble tx;
+ wxDouble ty;
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Get(&a,&b,&c,&d,&tx,&ty);
+ rt.addFloat(a);
+ rt.addFloat(b);
+ rt.addFloat(c);
+ rt.addFloat(d);
+ rt.addFloat(tx);
+ rt.addFloat(ty);
+ rt.addTupleCount(6);
+ break;
+}
+case wxGraphicsMatrix_GetNativeMatrix: { // wxGraphicsMatrix::GetNativeMatrix
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetNativeMatrix();
+ break;
+}
+case wxGraphicsMatrix_Invert: { // wxGraphicsMatrix::Invert
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Invert();
+ break;
+}
+case wxGraphicsMatrix_IsEqual: { // wxGraphicsMatrix::IsEqual
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsMatrix *t = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEqual(t);
+ rt.addBool(Result);
+ break;
+}
+case wxGraphicsMatrix_IsIdentity: { // wxGraphicsMatrix::IsIdentity
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsIdentity();
+ rt.addBool(Result);
+ break;
+}
+case wxGraphicsMatrix_Rotate: { // wxGraphicsMatrix::Rotate
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * angle = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->Rotate((wxDouble) *angle);
+ break;
+}
+case wxGraphicsMatrix_Scale: { // wxGraphicsMatrix::Scale
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * xScale = (wxDouble *) bp; bp += 8;
+ wxDouble * yScale = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->Scale((wxDouble) *xScale,(wxDouble) *yScale);
+ break;
+}
+case wxGraphicsMatrix_Translate: { // wxGraphicsMatrix::Translate
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * dx = (wxDouble *) bp; bp += 8;
+ wxDouble * dy = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->Translate((wxDouble) *dx,(wxDouble) *dy);
+ break;
+}
+case wxGraphicsMatrix_Set: { // wxGraphicsMatrix::Set
+ wxDouble a=1.0;
+ wxDouble b=0.0;
+ wxDouble c=0.0;
+ wxDouble d=1.0;
+ wxDouble tx=0.0;
+ wxDouble ty=0.0;
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bp += 4; /* Align */
+ a = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 2: {bp += 4;
+ bp += 4; /* Align */
+ b = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 3: {bp += 4;
+ bp += 4; /* Align */
+ c = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 4: {bp += 4;
+ bp += 4; /* Align */
+ d = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 5: {bp += 4;
+ bp += 4; /* Align */
+ tx = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 6: {bp += 4;
+ bp += 4; /* Align */
+ ty = * (wxDouble *) bp; bp += 8;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Set(a,b,c,d,tx,ty);
+ break;
+}
+case wxGraphicsMatrix_TransformPoint: { // wxGraphicsMatrix::TransformPoint
+ wxDouble x;
+ wxDouble y;
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->TransformPoint(&x,&y);
+ rt.addFloat(x);
+ rt.addFloat(y);
+ rt.addTupleCount(2);
+ break;
+}
+case wxGraphicsMatrix_TransformDistance: { // wxGraphicsMatrix::TransformDistance
+ wxDouble dx;
+ wxDouble dy;
+ wxGraphicsMatrix *This = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->TransformDistance(&dx,&dy);
+ rt.addFloat(dx);
+ rt.addFloat(dy);
+ rt.addTupleCount(2);
+ break;
+}
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+case wxGraphicsPath_MoveToPoint_2: { // wxGraphicsPath::MoveToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->MoveToPoint((wxDouble) *x,(wxDouble) *y);
+ break;
+}
+case wxGraphicsPath_MoveToPoint_1: { // wxGraphicsPath::MoveToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * pX = (wxDouble *) bp; bp += 8;
+ wxDouble * pY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble p = wxPoint2DDouble(*pX,*pY);
+ if(!This) throw wxe_badarg(0);
+ This->MoveToPoint(p);
+ break;
+}
+case wxGraphicsPath_AddArc_6: { // wxGraphicsPath::AddArc
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * r = (wxDouble *) bp; bp += 8;
+ wxDouble * startAngle = (wxDouble *) bp; bp += 8;
+ wxDouble * endAngle = (wxDouble *) bp; bp += 8;
+ bool * clockwise = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AddArc((wxDouble) *x,(wxDouble) *y,(wxDouble) *r,(wxDouble) *startAngle,(wxDouble) *endAngle,(bool) *clockwise);
+ break;
+}
+case wxGraphicsPath_AddArc_5: { // wxGraphicsPath::AddArc
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * cX = (wxDouble *) bp; bp += 8;
+ wxDouble * cY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble c = wxPoint2DDouble(*cX,*cY);
+ wxDouble * r = (wxDouble *) bp; bp += 8;
+ wxDouble * startAngle = (wxDouble *) bp; bp += 8;
+ wxDouble * endAngle = (wxDouble *) bp; bp += 8;
+ bool * clockwise = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AddArc(c,(wxDouble) *r,(wxDouble) *startAngle,(wxDouble) *endAngle,(bool) *clockwise);
+ break;
+}
+case wxGraphicsPath_AddArcToPoint: { // wxGraphicsPath::AddArcToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x1 = (wxDouble *) bp; bp += 8;
+ wxDouble * y1 = (wxDouble *) bp; bp += 8;
+ wxDouble * x2 = (wxDouble *) bp; bp += 8;
+ wxDouble * y2 = (wxDouble *) bp; bp += 8;
+ wxDouble * r = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddArcToPoint((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2,(wxDouble) *r);
+ break;
+}
+case wxGraphicsPath_AddCircle: { // wxGraphicsPath::AddCircle
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * r = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddCircle((wxDouble) *x,(wxDouble) *y,(wxDouble) *r);
+ break;
+}
+case wxGraphicsPath_AddCurveToPoint_6: { // wxGraphicsPath::AddCurveToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * cx1 = (wxDouble *) bp; bp += 8;
+ wxDouble * cy1 = (wxDouble *) bp; bp += 8;
+ wxDouble * cx2 = (wxDouble *) bp; bp += 8;
+ wxDouble * cy2 = (wxDouble *) bp; bp += 8;
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddCurveToPoint((wxDouble) *cx1,(wxDouble) *cy1,(wxDouble) *cx2,(wxDouble) *cy2,(wxDouble) *x,(wxDouble) *y);
+ break;
+}
+case wxGraphicsPath_AddCurveToPoint_3: { // wxGraphicsPath::AddCurveToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * c1X = (wxDouble *) bp; bp += 8;
+ wxDouble * c1Y = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble c1 = wxPoint2DDouble(*c1X,*c1Y);
+ wxDouble * c2X = (wxDouble *) bp; bp += 8;
+ wxDouble * c2Y = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble c2 = wxPoint2DDouble(*c2X,*c2Y);
+ wxDouble * eX = (wxDouble *) bp; bp += 8;
+ wxDouble * eY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble e = wxPoint2DDouble(*eX,*eY);
+ if(!This) throw wxe_badarg(0);
+ This->AddCurveToPoint(c1,c2,e);
+ break;
+}
+case wxGraphicsPath_AddEllipse: { // wxGraphicsPath::AddEllipse
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddEllipse((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h);
+ break;
+}
+case wxGraphicsPath_AddLineToPoint_2: { // wxGraphicsPath::AddLineToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddLineToPoint((wxDouble) *x,(wxDouble) *y);
+ break;
+}
+case wxGraphicsPath_AddLineToPoint_1: { // wxGraphicsPath::AddLineToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * pX = (wxDouble *) bp; bp += 8;
+ wxDouble * pY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble p = wxPoint2DDouble(*pX,*pY);
+ if(!This) throw wxe_badarg(0);
+ This->AddLineToPoint(p);
+ break;
+}
+case wxGraphicsPath_AddPath: { // wxGraphicsPath::AddPath
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsPath *path = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AddPath(*path);
+ break;
+}
+case wxGraphicsPath_AddQuadCurveToPoint: { // wxGraphicsPath::AddQuadCurveToPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * cx = (wxDouble *) bp; bp += 8;
+ wxDouble * cy = (wxDouble *) bp; bp += 8;
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddQuadCurveToPoint((wxDouble) *cx,(wxDouble) *cy,(wxDouble) *x,(wxDouble) *y);
+ break;
+}
+case wxGraphicsPath_AddRectangle: { // wxGraphicsPath::AddRectangle
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h);
+ break;
+}
+case wxGraphicsPath_AddRoundedRectangle: { // wxGraphicsPath::AddRoundedRectangle
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ wxDouble * w = (wxDouble *) bp; bp += 8;
+ wxDouble * h = (wxDouble *) bp; bp += 8;
+ wxDouble * radius = (wxDouble *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->AddRoundedRectangle((wxDouble) *x,(wxDouble) *y,(wxDouble) *w,(wxDouble) *h,(wxDouble) *radius);
+ break;
+}
+case wxGraphicsPath_CloseSubpath: { // wxGraphicsPath::CloseSubpath
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CloseSubpath();
+ break;
+}
+case wxGraphicsPath_Contains_3: { // wxGraphicsPath::Contains
+ int fillStyle=wxODDEVEN_RULE;
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x = (wxDouble *) bp; bp += 8;
+ wxDouble * y = (wxDouble *) bp; bp += 8;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ fillStyle = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Contains((wxDouble) *x,(wxDouble) *y,fillStyle);
+ rt.addBool(Result);
+ break;
+}
+case wxGraphicsPath_Contains_2: { // wxGraphicsPath::Contains
+ int fillStyle=wxODDEVEN_RULE;
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * cX = (wxDouble *) bp; bp += 8;
+ wxDouble * cY = (wxDouble *) bp; bp += 8;
+ wxPoint2DDouble c = wxPoint2DDouble(*cX,*cY);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ fillStyle = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Contains(c,fillStyle);
+ rt.addBool(Result);
+ break;
+}
+case wxGraphicsPath_GetBox: { // wxGraphicsPath::GetBox
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect2DDouble Result = This->GetBox();
+ rt.add(Result);
+ break;
+}
+case wxGraphicsPath_GetCurrentPoint: { // wxGraphicsPath::GetCurrentPoint
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint2DDouble Result = This->GetCurrentPoint();
+ rt.add(Result);
+ break;
+}
+case wxGraphicsPath_Transform: { // wxGraphicsPath::Transform
+ wxGraphicsPath *This = (wxGraphicsPath *) getPtr(bp,memenv); bp += 4;
+ wxGraphicsMatrix *matrix = (wxGraphicsMatrix *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Transform(*matrix);
+ break;
+}
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+case wxGraphicsRenderer_GetDefaultRenderer: { // wxGraphicsRenderer::GetDefaultRenderer
+ wxGraphicsRenderer * Result = (wxGraphicsRenderer*)wxGraphicsRenderer::GetDefaultRenderer();
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsRenderer");
+ break;
+}
+case wxGraphicsRenderer_CreateContext_1_1: { // wxGraphicsRenderer::CreateContext
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ wxWindowDC * dc = (wxWindowDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsContext * Result = (wxGraphicsContext*)This->CreateContext(*dc);
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext");
+ break;
+}
+case wxGraphicsRenderer_CreateContext_1_0: { // wxGraphicsRenderer::CreateContext
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsContext * Result = (wxGraphicsContext*)This->CreateContext(window);
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsContext");
+ break;
+}
+case wxGraphicsRenderer_CreatePen: { // wxGraphicsRenderer::CreatePen
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ wxPen *pen = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsPen * Result = new wxGraphicsPen(This->CreatePen(*pen)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPen");
+ break;
+}
+case wxGraphicsRenderer_CreateBrush: { // wxGraphicsRenderer::CreateBrush
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ wxBrush *brush = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateBrush(*brush)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush");
+ break;
+}
+case wxGraphicsRenderer_CreateLinearGradientBrush: { // wxGraphicsRenderer::CreateLinearGradientBrush
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * x1 = (wxDouble *) bp; bp += 8;
+ wxDouble * y1 = (wxDouble *) bp; bp += 8;
+ wxDouble * x2 = (wxDouble *) bp; bp += 8;
+ wxDouble * y2 = (wxDouble *) bp; bp += 8;
+ int * c1R = (int *) bp; bp += 4;
+ int * c1G = (int *) bp; bp += 4;
+ int * c1B = (int *) bp; bp += 4;
+ int * c1A = (int *) bp; bp += 4;
+ wxColour c1 = wxColour(*c1R,*c1G,*c1B,*c1A);
+ int * c2R = (int *) bp; bp += 4;
+ int * c2G = (int *) bp; bp += 4;
+ int * c2B = (int *) bp; bp += 4;
+ int * c2A = (int *) bp; bp += 4;
+ wxColour c2 = wxColour(*c2R,*c2G,*c2B,*c2A);
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateLinearGradientBrush((wxDouble) *x1,(wxDouble) *y1,(wxDouble) *x2,(wxDouble) *y2,c1,c2)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush");
+ break;
+}
+case wxGraphicsRenderer_CreateRadialGradientBrush: { // wxGraphicsRenderer::CreateRadialGradientBrush
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ wxDouble * xo = (wxDouble *) bp; bp += 8;
+ wxDouble * yo = (wxDouble *) bp; bp += 8;
+ wxDouble * xc = (wxDouble *) bp; bp += 8;
+ wxDouble * yc = (wxDouble *) bp; bp += 8;
+ wxDouble * radius = (wxDouble *) bp; bp += 8;
+ int * oColorR = (int *) bp; bp += 4;
+ int * oColorG = (int *) bp; bp += 4;
+ int * oColorB = (int *) bp; bp += 4;
+ int * oColorA = (int *) bp; bp += 4;
+ wxColour oColor = wxColour(*oColorR,*oColorG,*oColorB,*oColorA);
+ int * cColorR = (int *) bp; bp += 4;
+ int * cColorG = (int *) bp; bp += 4;
+ int * cColorB = (int *) bp; bp += 4;
+ int * cColorA = (int *) bp; bp += 4;
+ wxColour cColor = wxColour(*cColorR,*cColorG,*cColorB,*cColorA);
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsBrush * Result = new wxGraphicsBrush(This->CreateRadialGradientBrush((wxDouble) *xo,(wxDouble) *yo,(wxDouble) *xc,(wxDouble) *yc,(wxDouble) *radius,oColor,cColor)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsBrush");
+ break;
+}
+case wxGraphicsRenderer_CreateFont: { // wxGraphicsRenderer::CreateFont
+ wxColour col= *wxBLACK;
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ col = wxColour(*colR,*colG,*colB,*colA);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsFont * Result = new wxGraphicsFont(This->CreateFont(*font,col)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsFont");
+ break;
+}
+case wxGraphicsRenderer_CreateMatrix: { // wxGraphicsRenderer::CreateMatrix
+ wxDouble a=1.0;
+ wxDouble b=0.0;
+ wxDouble c=0.0;
+ wxDouble d=1.0;
+ wxDouble tx=0.0;
+ wxDouble ty=0.0;
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bp += 4; /* Align */
+ a = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 2: {bp += 4;
+ bp += 4; /* Align */
+ b = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 3: {bp += 4;
+ bp += 4; /* Align */
+ c = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 4: {bp += 4;
+ bp += 4; /* Align */
+ d = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 5: {bp += 4;
+ bp += 4; /* Align */
+ tx = * (wxDouble *) bp; bp += 8;
+ } break;
+ case 6: {bp += 4;
+ bp += 4; /* Align */
+ ty = * (wxDouble *) bp; bp += 8;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsMatrix * Result = new wxGraphicsMatrix(This->CreateMatrix(a,b,c,d,tx,ty)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsMatrix");
+ break;
+}
+case wxGraphicsRenderer_CreatePath: { // wxGraphicsRenderer::CreatePath
+ wxGraphicsRenderer *This = (wxGraphicsRenderer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGraphicsPath * Result = new wxGraphicsPath(This->CreatePath()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxGraphicsPath");
+ break;
+}
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+#endif // wxUSE_GRAPHICS_CONTEXT
+#if wxUSE_GRAPHICS_CONTEXT
+#endif // wxUSE_GRAPHICS_CONTEXT
+case wxMenuBar_new_1: { // wxMenuBar::wxMenuBar
+ int * style = (int *) bp; bp += 4;
+ wxMenuBar * Result = new EwxMenuBar((long) *style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuBar");
+ break;
+}
+case wxMenuBar_new_0: { // wxMenuBar::wxMenuBar
+ wxMenuBar * Result = new EwxMenuBar();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuBar");
+ break;
+}
+case wxMenuBar_Append: { // wxMenuBar::Append
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Append(menu,title);
+ rt.addBool(Result);
+ break;
+}
+case wxMenuBar_Check: { // wxMenuBar::Check
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ bool * check = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Check((int) *itemid,(bool) *check);
+ break;
+}
+case wxMenuBar_Enable_2: { // wxMenuBar::Enable
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ bool * enable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Enable((int) *itemid,(bool) *enable);
+ break;
+}
+case wxMenuBar_Enable_1: { // wxMenuBar::Enable
+ bool enable=true;
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Enable(enable);
+ rt.addBool(Result);
+ break;
+}
+case wxMenuBar_EnableTop: { // wxMenuBar::EnableTop
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableTop((size_t) *pos,(bool) *flag);
+ break;
+}
+case wxMenuBar_FindMenu: { // wxMenuBar::FindMenu
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->FindMenu(title);
+ rt.addInt(Result);
+ break;
+}
+case wxMenuBar_FindMenuItem: { // wxMenuBar::FindMenuItem
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * menuStringLen = (int *) bp; bp += 4;
+ wxString menuString = wxString(bp, wxConvUTF8);
+ bp += *menuStringLen+((8-((0+ *menuStringLen) & 7)) & 7);
+ int * itemStringLen = (int *) bp; bp += 4;
+ wxString itemString = wxString(bp, wxConvUTF8);
+ bp += *itemStringLen+((8-((4+ *itemStringLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->FindMenuItem(menuString,itemString);
+ rt.addInt(Result);
+ break;
+}
+case wxMenuBar_FindItem: { // wxMenuBar::FindItem
+ wxMenu ** menu = NULL;
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->FindItem((int) *id,menu);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenuBar_GetHelpString: { // wxMenuBar::GetHelpString
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetHelpString((int) *itemid);
+ rt.add(Result);
+ break;
+}
+case wxMenuBar_GetLabel_1: { // wxMenuBar::GetLabel
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabel((int) *itemid);
+ rt.add(Result);
+ break;
+}
+case wxMenuBar_GetLabel_0: { // wxMenuBar::GetLabel
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabel();
+ rt.add(Result);
+ break;
+}
+case wxMenuBar_GetLabelTop: { // wxMenuBar::GetLabelTop
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabelTop((size_t) *pos);
+ rt.add(Result);
+ break;
+}
+case wxMenuBar_GetMenu: { // wxMenuBar::GetMenu
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenu * Result = (wxMenu*)This->GetMenu((size_t) *pos);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenuBar_GetMenuCount: { // wxMenuBar::GetMenuCount
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetMenuCount();
+ rt.addInt(Result);
+ break;
+}
+case wxMenuBar_Insert: { // wxMenuBar::Insert
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Insert((size_t) *pos,menu,title);
+ rt.addBool(Result);
+ break;
+}
+case wxMenuBar_IsChecked: { // wxMenuBar::IsChecked
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsChecked((int) *itemid);
+ rt.addBool(Result);
+ break;
+}
+case wxMenuBar_IsEnabled_1: { // wxMenuBar::IsEnabled
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEnabled((int) *itemid);
+ rt.addBool(Result);
+ break;
+}
+case wxMenuBar_IsEnabled_0: { // wxMenuBar::IsEnabled
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEnabled();
+ rt.addBool(Result);
+ break;
+}
+case wxMenuBar_Remove: { // wxMenuBar::Remove
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenu * Result = (wxMenu*)This->Remove((size_t) *pos);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenuBar_Replace: { // wxMenuBar::Replace
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxMenu * Result = (wxMenu*)This->Replace((size_t) *pos,menu,title);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenuBar_SetHelpString: { // wxMenuBar::SetHelpString
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * helpStringLen = (int *) bp; bp += 4;
+ wxString helpString = wxString(bp, wxConvUTF8);
+ bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetHelpString((int) *itemid,helpString);
+ break;
+}
+case wxMenuBar_SetLabel_2: { // wxMenuBar::SetLabel
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabel((int) *itemid,label);
+ break;
+}
+case wxMenuBar_SetLabel_1: { // wxMenuBar::SetLabel
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((0+ *sLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabel(s);
+ break;
+}
+case wxMenuBar_SetLabelTop: { // wxMenuBar::SetLabelTop
+ wxMenuBar *This = (wxMenuBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabelTop((size_t) *pos,label);
+ break;
+}
+case wxControl_GetLabel: { // wxControl::GetLabel
+ wxControl *This = (wxControl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabel();
+ rt.add(Result);
+ break;
+}
+case wxControl_SetLabel: { // wxControl::SetLabel
+ wxControl *This = (wxControl *) getPtr(bp,memenv); bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabel(label);
+ break;
+}
+case wxControlWithItems_Append_1: { // wxControlWithItems::Append
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * itemLen = (int *) bp; bp += 4;
+ wxString item = wxString(bp, wxConvUTF8);
+ bp += *itemLen+((8-((0+ *itemLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Append(item);
+ rt.addInt(Result);
+ break;
+}
+case wxControlWithItems_Append_2: { // wxControlWithItems::Append
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * itemLen = (int *) bp; bp += 4;
+ wxString item = wxString(bp, wxConvUTF8);
+ bp += *itemLen+((8-((0+ *itemLen) & 7)) & 7);
+ wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Append(item,clientData);
+ rt.addInt(Result);
+ break;
+}
+case wxControlWithItems_appendStrings_1: { // wxControlWithItems::Append
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * stringsLen = (int *) bp; bp += 4;
+ wxArrayString strings;
+ int stringsASz = 0, * stringsTemp;
+ for(int i=0; i < *stringsLen; i++) {
+ stringsTemp = (int *) bp; bp += 4;
+ strings.Add(wxString(bp, wxConvUTF8));
+ bp += *stringsTemp;
+ stringsASz += *stringsTemp+4;
+ }
+ bp += (8-((0+ stringsASz) & 7 )) & 7;
+ if(!This) throw wxe_badarg(0);
+ This->Append(strings);
+ break;
+}
+case wxControlWithItems_Clear: { // wxControlWithItems::Clear
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clear();
+ break;
+}
+case wxControlWithItems_Delete: { // wxControlWithItems::Delete
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Delete((int) *n);
+ break;
+}
+case wxControlWithItems_FindString: { // wxControlWithItems::FindString
+ bool bCase=false;
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((0+ *sLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bCase = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ int Result = This->FindString(s,bCase);
+ rt.addInt(Result);
+ break;
+}
+case wxControlWithItems_getClientData: { // wxControlWithItems::GetClientObject
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxeErlTerm * Result = (wxeErlTerm*)This->GetClientObject((int) *n);
+ rt.addExt2Term(Result);
+ break;
+}
+case wxControlWithItems_setClientData: { // wxControlWithItems::SetClientObject
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]);
+ if(!This) throw wxe_badarg(0);
+ This->SetClientObject((int) *n,clientData);
+ break;
+}
+case wxControlWithItems_GetCount: { // wxControlWithItems::GetCount
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCount();
+ rt.addUint(Result);
+ break;
+}
+case wxControlWithItems_GetSelection: { // wxControlWithItems::GetSelection
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxControlWithItems_GetString: { // wxControlWithItems::GetString
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetString((int) *n);
+ rt.add(Result);
+ break;
+}
+case wxControlWithItems_GetStringSelection: { // wxControlWithItems::GetStringSelection
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetStringSelection();
+ rt.add(Result);
+ break;
+}
+case wxControlWithItems_Insert_2: { // wxControlWithItems::Insert
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * itemLen = (int *) bp; bp += 4;
+ wxString item = wxString(bp, wxConvUTF8);
+ bp += *itemLen+((8-((0+ *itemLen) & 7)) & 7);
+ unsigned int * pos = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Insert(item,(int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxControlWithItems_Insert_3: { // wxControlWithItems::Insert
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * itemLen = (int *) bp; bp += 4;
+ wxString item = wxString(bp, wxConvUTF8);
+ bp += *itemLen+((8-((0+ *itemLen) & 7)) & 7);
+ unsigned int * pos = (unsigned int *) bp; bp += 4;
+ wxeErlTerm * clientData = new wxeErlTerm(Ecmd.bin[0]);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Insert(item,(int) *pos,clientData);
+ rt.addInt(Result);
+ break;
+}
+case wxControlWithItems_IsEmpty: { // wxControlWithItems::IsEmpty
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEmpty();
+ rt.addBool(Result);
+ break;
+}
+case wxControlWithItems_Select: { // wxControlWithItems::Select
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Select((int) *n);
+ break;
+}
+case wxControlWithItems_SetSelection: { // wxControlWithItems::SetSelection
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((int) *n);
+ break;
+}
+case wxControlWithItems_SetString: { // wxControlWithItems::SetString
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((4+ *sLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetString((int) *n,s);
+ break;
+}
+case wxControlWithItems_SetStringSelection: { // wxControlWithItems::SetStringSelection
+ wxControlWithItems *This = (wxControlWithItems *) getPtr(bp,memenv); bp += 4;
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((0+ *sLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetStringSelection(s);
+ rt.addBool(Result);
+ break;
+}
+case wxMenu_new_2: { // wxMenu::wxMenu
+ long style=0;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxMenu * Result = new EwxMenu(title,style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenu_new_1: { // wxMenu::wxMenu
+ long style=0;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxMenu * Result = new EwxMenu(style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenu_Append_3: { // wxMenu::Append
+ wxString help= wxEmptyString;
+ wxItemKind kind=wxITEM_NORMAL;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+kind = *(wxItemKind *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Append((int) *itemid,text,help,(wxItemKind) kind);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Append_1: { // wxMenu::Append
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Append(item);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Append_4_0: { // wxMenu::Append
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ int * helpLen = (int *) bp; bp += 4;
+ wxString help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((4+ *helpLen) & 7)) & 7);
+ bool * isCheckable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Append((int) *itemid,text,help,(bool) *isCheckable);
+ break;
+}
+case wxMenu_Append_4_1: { // wxMenu::Append
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ wxMenu *submenu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Append((int) *itemid,text,submenu,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_AppendCheckItem: { // wxMenu::AppendCheckItem
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->AppendCheckItem((int) *itemid,text,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_AppendRadioItem: { // wxMenu::AppendRadioItem
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->AppendRadioItem((int) *itemid,text,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_AppendSeparator: { // wxMenu::AppendSeparator
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->AppendSeparator();
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Break: { // wxMenu::Break
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Break();
+ break;
+}
+case wxMenu_Check: { // wxMenu::Check
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ bool * check = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Check((int) *itemid,(bool) *check);
+ break;
+}
+case wxMenu_Delete_1_0: { // wxMenu::Delete
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Delete((int) *itemid);
+ rt.addBool(Result);
+ break;
+}
+case wxMenu_Delete_1_1: { // wxMenu::Delete
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Delete(item);
+ rt.addBool(Result);
+ break;
+}
+case wxMenu_Destroy_1_0: { // wxMenu::Destroy
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Destroy((int) *itemid);
+ rt.addBool(Result);
+ break;
+}
+case wxMenu_Destroy_1_1: { // wxMenu::Destroy
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Destroy(item);
+ rt.addBool(Result);
+ break;
+}
+case wxMenu_Enable: { // wxMenu::Enable
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ bool * enable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Enable((int) *itemid,(bool) *enable);
+ break;
+}
+case wxMenu_FindItem_1: { // wxMenu::FindItem
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemLen = (int *) bp; bp += 4;
+ wxString item = wxString(bp, wxConvUTF8);
+ bp += *itemLen+((8-((0+ *itemLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->FindItem(item);
+ rt.addInt(Result);
+ break;
+}
+case wxMenu_FindItem_2: { // wxMenu::FindItem
+ wxMenu ** menu = NULL;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->FindItem((int) *itemid,menu);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_FindItemByPosition: { // wxMenu::FindItemByPosition
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * position = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->FindItemByPosition((size_t) *position);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_GetHelpString: { // wxMenu::GetHelpString
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetHelpString((int) *itemid);
+ rt.add(Result);
+ break;
+}
+case wxMenu_GetLabel: { // wxMenu::GetLabel
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabel((int) *itemid);
+ rt.add(Result);
+ break;
+}
+case wxMenu_GetMenuItemCount: { // wxMenu::GetMenuItemCount
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetMenuItemCount();
+ rt.addInt(Result);
+ break;
+}
+case wxMenu_GetMenuItems: { // wxMenu::GetMenuItems
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxMenuItemList Result = This->GetMenuItems();
+ int i=0;
+ for(wxMenuItemList::const_iterator it = Result.begin(); it != Result.end(); ++it) {
+ wxMenuItem * ResultTmp = *it;
+ rt.addRef(getRef((void *)ResultTmp,memenv), "wxMenuItem"); i++;}
+ rt.endList(Result.GetCount());
+ break;
+}
+case wxMenu_GetTitle: { // wxMenu::GetTitle
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString Result = This->GetTitle();
+ rt.add(Result);
+ break;
+}
+case wxMenu_Insert_2: { // wxMenu::Insert
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Insert((size_t) *pos,item);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Insert_3: { // wxMenu::Insert
+ wxString text= wxEmptyString;
+ wxString help= wxEmptyString;
+ wxItemKind kind=wxITEM_NORMAL;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+kind = *(wxItemKind *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Insert((size_t) *pos,(int) *itemid,text,help,(wxItemKind) kind);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Insert_5_1: { // wxMenu::Insert
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ wxMenu *submenu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Insert((size_t) *pos,(int) *itemid,text,submenu,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Insert_5_0: { // wxMenu::Insert
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ int * helpLen = (int *) bp; bp += 4;
+ wxString help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((4+ *helpLen) & 7)) & 7);
+ bool * isCheckable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Insert((size_t) *pos,(int) *itemid,text,help,(bool) *isCheckable);
+ break;
+}
+case wxMenu_InsertCheckItem: { // wxMenu::InsertCheckItem
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->InsertCheckItem((size_t) *pos,(int) *itemid,text,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_InsertRadioItem: { // wxMenu::InsertRadioItem
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->InsertRadioItem((size_t) *pos,(int) *itemid,text,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_InsertSeparator: { // wxMenu::InsertSeparator
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->InsertSeparator((size_t) *pos);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_IsChecked: { // wxMenu::IsChecked
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsChecked((int) *itemid);
+ rt.addBool(Result);
+ break;
+}
+case wxMenu_IsEnabled: { // wxMenu::IsEnabled
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEnabled((int) *itemid);
+ rt.addBool(Result);
+ break;
+}
+case wxMenu_Prepend_1: { // wxMenu::Prepend
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Prepend(item);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Prepend_2: { // wxMenu::Prepend
+ wxString text= wxEmptyString;
+ wxString help= wxEmptyString;
+ wxItemKind kind=wxITEM_NORMAL;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+kind = *(wxItemKind *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Prepend((int) *itemid,text,help,(wxItemKind) kind);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Prepend_4_1: { // wxMenu::Prepend
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ wxMenu *submenu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Prepend((int) *itemid,text,submenu,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Prepend_4_0: { // wxMenu::Prepend
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ int * helpLen = (int *) bp; bp += 4;
+ wxString help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((4+ *helpLen) & 7)) & 7);
+ bool * isCheckable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Prepend((int) *itemid,text,help,(bool) *isCheckable);
+ break;
+}
+case wxMenu_PrependCheckItem: { // wxMenu::PrependCheckItem
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->PrependCheckItem((int) *itemid,text,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_PrependRadioItem: { // wxMenu::PrependRadioItem
+ wxString help= wxEmptyString;
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->PrependRadioItem((int) *itemid,text,help);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_PrependSeparator: { // wxMenu::PrependSeparator
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->PrependSeparator();
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Remove_1_0: { // wxMenu::Remove
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Remove((int) *itemid);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_Remove_1_1: { // wxMenu::Remove
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ wxMenuItem *item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenuItem * Result = (wxMenuItem*)This->Remove(item);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenu_SetHelpString: { // wxMenu::SetHelpString
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * helpStringLen = (int *) bp; bp += 4;
+ wxString helpString = wxString(bp, wxConvUTF8);
+ bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetHelpString((int) *itemid,helpString);
+ break;
+}
+case wxMenu_SetLabel: { // wxMenu::SetLabel
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * itemid = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabel((int) *itemid,label);
+ break;
+}
+case wxMenu_SetTitle: { // wxMenu::SetTitle
+ wxMenu *This = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetTitle(title);
+ break;
+}
+case wxMenuItem_new: { // wxMenuItem::wxMenuItem
+ wxMenu * parentMenu=(wxMenu *) NULL;
+ int id=wxID_SEPARATOR;
+ wxString text= wxEmptyString;
+ wxString help= wxEmptyString;
+ wxItemKind kind=wxITEM_NORMAL;
+ wxMenu * subMenu=(wxMenu *) NULL;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+parentMenu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ id = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+ int * helpLen = (int *) bp; bp += 4;
+ help = wxString(bp, wxConvUTF8);
+ bp += *helpLen+((8-((0+ *helpLen) & 7)) & 7);
+ } break;
+ case 5: {bp += 4;
+kind = *(wxItemKind *) bp; bp += 4;;
+ } break;
+ case 6: {bp += 4;
+subMenu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxMenuItem * Result = new EwxMenuItem(parentMenu,id,text,help,(wxItemKind) kind,subMenu);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuItem");
+ break;
+}
+case wxMenuItem_Check: { // wxMenuItem::Check
+ bool check=TRUE;
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ check = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Check(check);
+ break;
+}
+case wxMenuItem_Enable: { // wxMenuItem::Enable
+ bool enable=TRUE;
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Enable(enable);
+ break;
+}
+case wxMenuItem_GetBitmap: { // wxMenuItem::GetBitmap
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxBitmap * Result = &This->GetBitmap();
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxMenuItem_GetHelp: { // wxMenuItem::GetHelp
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetHelp();
+ rt.add(Result);
+ break;
+}
+case wxMenuItem_GetId: { // wxMenuItem::GetId
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetId();
+ rt.addInt(Result);
+ break;
+}
+case wxMenuItem_GetKind: { // wxMenuItem::GetKind
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetKind();
+ rt.addInt(Result);
+ break;
+}
+case wxMenuItem_GetLabel: { // wxMenuItem::GetLabel
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabel();
+ rt.add(Result);
+ break;
+}
+case wxMenuItem_GetLabelFromText: { // wxMenuItem::GetLabelFromText
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ wxString Result = wxMenuItem::GetLabelFromText(text);
+ rt.add(Result);
+ break;
+}
+case wxMenuItem_GetMenu: { // wxMenuItem::GetMenu
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenu * Result = (wxMenu*)This->GetMenu();
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenuItem_GetText: { // wxMenuItem::GetText
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetText();
+ rt.add(Result);
+ break;
+}
+case wxMenuItem_GetSubMenu: { // wxMenuItem::GetSubMenu
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenu * Result = (wxMenu*)This->GetSubMenu();
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenuItem_IsCheckable: { // wxMenuItem::IsCheckable
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsCheckable();
+ rt.addBool(Result);
+ break;
+}
+case wxMenuItem_IsChecked: { // wxMenuItem::IsChecked
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsChecked();
+ rt.addBool(Result);
+ break;
+}
+case wxMenuItem_IsEnabled: { // wxMenuItem::IsEnabled
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEnabled();
+ rt.addBool(Result);
+ break;
+}
+case wxMenuItem_IsSeparator: { // wxMenuItem::IsSeparator
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSeparator();
+ rt.addBool(Result);
+ break;
+}
+case wxMenuItem_IsSubMenu: { // wxMenuItem::IsSubMenu
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSubMenu();
+ rt.addBool(Result);
+ break;
+}
+case wxMenuItem_SetBitmap: { // wxMenuItem::SetBitmap
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBitmap(*bitmap);
+ break;
+}
+case wxMenuItem_SetHelp: { // wxMenuItem::SetHelp
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetHelp(str);
+ break;
+}
+case wxMenuItem_SetMenu: { // wxMenuItem::SetMenu
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMenu(menu);
+ break;
+}
+case wxMenuItem_SetSubMenu: { // wxMenuItem::SetSubMenu
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ wxMenu *menu = (wxMenu *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSubMenu(menu);
+ break;
+}
+case wxMenuItem_SetText: { // wxMenuItem::SetText
+ wxMenuItem *This = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetText(str);
+ break;
+}
+case wxToolBar_AddControl: { // wxToolBar::AddControl
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ wxControl *control = (wxControl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddControl(control);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddSeparator: { // wxToolBar::AddSeparator
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddSeparator();
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddTool_5: { // wxToolBar::AddTool
+ wxItemKind kind=wxITEM_NORMAL;
+ wxString shortHelp= wxEmptyString;
+ wxString longHelp= wxEmptyString;
+ wxObject * data=NULL;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+kind = *(wxItemKind *) bp; bp += 4;;
+ } break;
+ case 2: {bp += 4;
+ int * shortHelpLen = (int *) bp; bp += 4;
+ shortHelp = wxString(bp, wxConvUTF8);
+ bp += *shortHelpLen+((8-((0+ *shortHelpLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * longHelpLen = (int *) bp; bp += 4;
+ longHelp = wxString(bp, wxConvUTF8);
+ bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+data = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,label,*bitmap,*bmpDisabled,(wxItemKind) kind,shortHelp,longHelp,data);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddTool_4_0: { // wxToolBar::AddTool
+ wxString shortHelp= wxEmptyString;
+ wxItemKind kind=wxITEM_NORMAL;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * shortHelpLen = (int *) bp; bp += 4;
+ shortHelp = wxString(bp, wxConvUTF8);
+ bp += *shortHelpLen+((8-((0+ *shortHelpLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+kind = *(wxItemKind *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,label,*bitmap,shortHelp,(wxItemKind) kind);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddTool_1: { // wxToolBar::AddTool
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ wxToolBarToolBase *tool = (wxToolBarToolBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool(tool);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddTool_4_1: { // wxToolBar::AddTool
+ bool toggle=false;
+ wxObject * clientData=NULL;
+ wxString shortHelpString= wxEmptyString;
+ wxString longHelpString= wxEmptyString;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ toggle = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+clientData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 3: {bp += 4;
+ int * shortHelpStringLen = (int *) bp; bp += 4;
+ shortHelpString = wxString(bp, wxConvUTF8);
+ bp += *shortHelpStringLen+((8-((0+ *shortHelpStringLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+ int * longHelpStringLen = (int *) bp; bp += 4;
+ longHelpString = wxString(bp, wxConvUTF8);
+ bp += *longHelpStringLen+((8-((0+ *longHelpStringLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,*bitmap,*bmpDisabled,toggle,clientData,shortHelpString,longHelpString);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddTool_3: { // wxToolBar::AddTool
+ wxString shortHelpString= wxEmptyString;
+ wxString longHelpString= wxEmptyString;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * shortHelpStringLen = (int *) bp; bp += 4;
+ shortHelpString = wxString(bp, wxConvUTF8);
+ bp += *shortHelpStringLen+((8-((0+ *shortHelpStringLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * longHelpStringLen = (int *) bp; bp += 4;
+ longHelpString = wxString(bp, wxConvUTF8);
+ bp += *longHelpStringLen+((8-((0+ *longHelpStringLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,*bitmap,shortHelpString,longHelpString);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddTool_6: { // wxToolBar::AddTool
+ wxCoord yPos=wxDefaultCoord;
+ wxObject * clientData=NULL;
+ wxString shortHelp= wxEmptyString;
+ wxString longHelp= wxEmptyString;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bool * toggle = (bool *) bp; bp += 4;
+ int * xPos = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ yPos = (wxCoord)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+clientData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 3: {bp += 4;
+ int * shortHelpLen = (int *) bp; bp += 4;
+ shortHelp = wxString(bp, wxConvUTF8);
+ bp += *shortHelpLen+((8-((0+ *shortHelpLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+ int * longHelpLen = (int *) bp; bp += 4;
+ longHelp = wxString(bp, wxConvUTF8);
+ bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddTool((int) *toolid,*bitmap,*bmpDisabled,(bool) *toggle,(wxCoord) *xPos,yPos,clientData,shortHelp,longHelp);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddCheckTool: { // wxToolBar::AddCheckTool
+ const wxBitmap * bmpDisabled= &wxNullBitmap;
+ wxString shortHelp= wxEmptyString;
+ wxString longHelp= wxEmptyString;
+ wxObject * data=NULL;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * shortHelpLen = (int *) bp; bp += 4;
+ shortHelp = wxString(bp, wxConvUTF8);
+ bp += *shortHelpLen+((8-((0+ *shortHelpLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * longHelpLen = (int *) bp; bp += 4;
+ longHelp = wxString(bp, wxConvUTF8);
+ bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+data = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddCheckTool((int) *toolid,label,*bitmap,*bmpDisabled,shortHelp,longHelp,data);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_AddRadioTool: { // wxToolBar::AddRadioTool
+ const wxBitmap * bmpDisabled= &wxNullBitmap;
+ wxString shortHelp= wxEmptyString;
+ wxString longHelp= wxEmptyString;
+ wxObject * data=NULL;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * shortHelpLen = (int *) bp; bp += 4;
+ shortHelp = wxString(bp, wxConvUTF8);
+ bp += *shortHelpLen+((8-((0+ *shortHelpLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * longHelpLen = (int *) bp; bp += 4;
+ longHelp = wxString(bp, wxConvUTF8);
+ bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+data = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->AddRadioTool((int) *toolid,label,*bitmap,*bmpDisabled,shortHelp,longHelp,data);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_DeleteTool: { // wxToolBar::DeleteTool
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteTool((int) *toolid);
+ rt.addBool(Result);
+ break;
+}
+case wxToolBar_DeleteToolByPos: { // wxToolBar::DeleteToolByPos
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteToolByPos((size_t) *pos);
+ rt.addBool(Result);
+ break;
+}
+case wxToolBar_EnableTool: { // wxToolBar::EnableTool
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ bool * enable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableTool((int) *toolid,(bool) *enable);
+ break;
+}
+case wxToolBar_FindById: { // wxToolBar::FindById
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->FindById((int) *toolid);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_FindControl: { // wxToolBar::FindControl
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxControl * Result = (wxControl*)This->FindControl((int) *toolid);
+ rt.addRef(getRef((void *)Result,memenv), "wxControl");
+ break;
+}
+case wxToolBar_FindToolForPosition: { // wxToolBar::FindToolForPosition
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->FindToolForPosition((wxCoord) *x,(wxCoord) *y);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_GetToolSize: { // wxToolBar::GetToolSize
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetToolSize();
+ rt.add(Result);
+ break;
+}
+case wxToolBar_GetToolBitmapSize: { // wxToolBar::GetToolBitmapSize
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetToolBitmapSize();
+ rt.add(Result);
+ break;
+}
+case wxToolBar_GetMargins: { // wxToolBar::GetMargins
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetMargins();
+ rt.add(Result);
+ break;
+}
+case wxToolBar_GetToolEnabled: { // wxToolBar::GetToolEnabled
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetToolEnabled((int) *toolid);
+ rt.addBool(Result);
+ break;
+}
+case wxToolBar_GetToolLongHelp: { // wxToolBar::GetToolLongHelp
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetToolLongHelp((int) *toolid);
+ rt.add(Result);
+ break;
+}
+case wxToolBar_GetToolPacking: { // wxToolBar::GetToolPacking
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetToolPacking();
+ rt.addInt(Result);
+ break;
+}
+case wxToolBar_GetToolPos: { // wxToolBar::GetToolPos
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetToolPos((int) *id);
+ rt.addInt(Result);
+ break;
+}
+case wxToolBar_GetToolSeparation: { // wxToolBar::GetToolSeparation
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetToolSeparation();
+ rt.addInt(Result);
+ break;
+}
+case wxToolBar_GetToolShortHelp: { // wxToolBar::GetToolShortHelp
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetToolShortHelp((int) *toolid);
+ rt.add(Result);
+ break;
+}
+case wxToolBar_GetToolState: { // wxToolBar::GetToolState
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetToolState((int) *toolid);
+ rt.addBool(Result);
+ break;
+}
+case wxToolBar_InsertControl: { // wxToolBar::InsertControl
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ wxControl *control = (wxControl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertControl((size_t) *pos,control);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_InsertSeparator: { // wxToolBar::InsertSeparator
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertSeparator((size_t) *pos);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_InsertTool_5: { // wxToolBar::InsertTool
+ const wxBitmap * bmpDisabled= &wxNullBitmap;
+ wxItemKind kind=wxITEM_NORMAL;
+ wxString shortHelp= wxEmptyString;
+ wxString longHelp= wxEmptyString;
+ wxObject * clientData=NULL;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+kind = *(wxItemKind *) bp; bp += 4;;
+ } break;
+ case 3: {bp += 4;
+ int * shortHelpLen = (int *) bp; bp += 4;
+ shortHelp = wxString(bp, wxConvUTF8);
+ bp += *shortHelpLen+((8-((0+ *shortHelpLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+ int * longHelpLen = (int *) bp; bp += 4;
+ longHelp = wxString(bp, wxConvUTF8);
+ bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7);
+ } break;
+ case 5: {bp += 4;
+clientData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertTool((size_t) *pos,(int) *toolid,label,*bitmap,*bmpDisabled,(wxItemKind) kind,shortHelp,longHelp,clientData);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_InsertTool_2: { // wxToolBar::InsertTool
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ wxToolBarToolBase *tool = (wxToolBarToolBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertTool((size_t) *pos,tool);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_InsertTool_4: { // wxToolBar::InsertTool
+ const wxBitmap * bmpDisabled= &wxNullBitmap;
+ bool toggle=false;
+ wxObject * clientData=NULL;
+ wxString shortHelp= wxEmptyString;
+ wxString longHelp= wxEmptyString;
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+bmpDisabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ toggle = *(bool *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+clientData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 4: {bp += 4;
+ int * shortHelpLen = (int *) bp; bp += 4;
+ shortHelp = wxString(bp, wxConvUTF8);
+ bp += *shortHelpLen+((8-((0+ *shortHelpLen) & 7)) & 7);
+ } break;
+ case 5: {bp += 4;
+ int * longHelpLen = (int *) bp; bp += 4;
+ longHelp = wxString(bp, wxConvUTF8);
+ bp += *longHelpLen+((8-((0+ *longHelpLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->InsertTool((size_t) *pos,(int) *toolid,*bitmap,*bmpDisabled,toggle,clientData,shortHelp,longHelp);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_Realize: { // wxToolBar::Realize
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Realize();
+ rt.addBool(Result);
+ break;
+}
+case wxToolBar_RemoveTool: { // wxToolBar::RemoveTool
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolBarToolBase * Result = (wxToolBarToolBase*)This->RemoveTool((int) *toolid);
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxToolBar_SetMargins: { // wxToolBar::SetMargins
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMargins((int) *x,(int) *y);
+ break;
+}
+case wxToolBar_SetToolBitmapSize: { // wxToolBar::SetToolBitmapSize
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetToolBitmapSize(size);
+ break;
+}
+case wxToolBar_SetToolLongHelp: { // wxToolBar::SetToolLongHelp
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ int * helpStringLen = (int *) bp; bp += 4;
+ wxString helpString = wxString(bp, wxConvUTF8);
+ bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetToolLongHelp((int) *toolid,helpString);
+ break;
+}
+case wxToolBar_SetToolPacking: { // wxToolBar::SetToolPacking
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * packing = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetToolPacking((int) *packing);
+ break;
+}
+case wxToolBar_SetToolShortHelp: { // wxToolBar::SetToolShortHelp
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * helpStringLen = (int *) bp; bp += 4;
+ wxString helpString = wxString(bp, wxConvUTF8);
+ bp += *helpStringLen+((8-((4+ *helpStringLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetToolShortHelp((int) *id,helpString);
+ break;
+}
+case wxToolBar_SetToolSeparation: { // wxToolBar::SetToolSeparation
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * separation = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetToolSeparation((int) *separation);
+ break;
+}
+case wxToolBar_ToggleTool: { // wxToolBar::ToggleTool
+ wxToolBar *This = (wxToolBar *) getPtr(bp,memenv); bp += 4;
+ int * toolid = (int *) bp; bp += 4;
+ bool * toggle = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ToggleTool((int) *toolid,(bool) *toggle);
+ break;
+}
+case wxStatusBar_new_0: { // wxStatusBar::wxStatusBar
+ wxStatusBar * Result = new EwxStatusBar();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStatusBar");
+ break;
+}
+case wxStatusBar_new_2: { // wxStatusBar::wxStatusBar
+ wxWindowID winid=wxID_ANY;
+ long style=wxST_SIZEGRIP;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ winid = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxStatusBar * Result = new EwxStatusBar(parent,winid,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStatusBar");
+ break;
+}
+case wxStatusBar_Create: { // wxStatusBar::Create
+ wxWindowID winid=wxID_ANY;
+ long style=wxST_SIZEGRIP;
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ winid = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,winid,style);
+ rt.addBool(Result);
+ break;
+}
+case wxStatusBar_GetFieldRect: { // wxStatusBar::GetFieldRect
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ int * i = (int *) bp; bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetFieldRect((int) *i,rect);
+ rt.addBool(Result);
+ break;
+}
+case wxStatusBar_GetFieldsCount: { // wxStatusBar::GetFieldsCount
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFieldsCount();
+ rt.addInt(Result);
+ break;
+}
+case wxStatusBar_GetStatusText: { // wxStatusBar::GetStatusText
+ int number=0;
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ number = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetStatusText(number);
+ rt.add(Result);
+ break;
+}
+case wxStatusBar_PopStatusText: { // wxStatusBar::PopStatusText
+ int number=0;
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ number = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->PopStatusText(number);
+ break;
+}
+case wxStatusBar_PushStatusText: { // wxStatusBar::PushStatusText
+ int number=0;
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ number = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->PushStatusText(text,number);
+ break;
+}
+case wxStatusBar_SetFieldsCount: { // wxStatusBar::SetFieldsCount
+ int * widthsLen = 0;
+ int * widths = (int *) NULL;
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ int * number = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ widthsLen = (int *) bp; bp += 4;
+ widths = (int *) bp; bp += *widthsLen*4+((0+ *widthsLen)%2 )*4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetFieldsCount((int) *number,widths);
+ break;
+}
+case wxStatusBar_SetMinHeight: { // wxStatusBar::SetMinHeight
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMinHeight((int) *height);
+ break;
+}
+case wxStatusBar_SetStatusText: { // wxStatusBar::SetStatusText
+ int number=0;
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ number = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetStatusText(text,number);
+ break;
+}
+case wxStatusBar_SetStatusWidths: { // wxStatusBar::SetStatusWidths
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ int * widths_fieldLen = (int *) bp; bp += 4;
+ int * widths_field = (int *) bp; bp += *widths_fieldLen*4+((0+ *widths_fieldLen)%2 )*4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStatusWidths(*widths_fieldLen,widths_field);
+ break;
+}
+case wxStatusBar_SetStatusStyles: { // wxStatusBar::SetStatusStyles
+ wxStatusBar *This = (wxStatusBar *) getPtr(bp,memenv); bp += 4;
+ int * stylesLen = (int *) bp; bp += 4;
+ int * styles = (int *) bp; bp += *stylesLen*4+((0+ *stylesLen)%2 )*4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStatusStyles(*stylesLen,styles);
+ break;
+}
+case wxBitmap_new_0: { // wxBitmap::wxBitmap
+ wxBitmap * Result = new EwxBitmap();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmap_new_3: { // wxBitmap::wxBitmap
+ int depth=-1;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ depth = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBitmap * Result = new EwxBitmap((int) *width,(int) *height,depth);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmap_new_4: { // wxBitmap::wxBitmap
+ int depth=1;
+ const char * bits = (const char*) Ecmd.bin[0]->base;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ depth = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBitmap * Result = new EwxBitmap(bits,(int) *width,(int) *height,depth);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmap_new_2_0: { // wxBitmap::wxBitmap
+ wxBitmapType type=wxBITMAP_TYPE_XPM;
+ int * filenameLen = (int *) bp; bp += 4;
+ wxString filename = wxString(bp, wxConvUTF8);
+ bp += *filenameLen+((8-((4+ *filenameLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+type = *(wxBitmapType *) bp; bp += 4;;
+ } break;
+ }};
+ wxBitmap * Result = new EwxBitmap(filename,(wxBitmapType) type);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmap_new_2_1: { // wxBitmap::wxBitmap
+ int depth=-1;
+ wxImage *image = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ depth = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBitmap * Result = new EwxBitmap(*image,depth);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmap_ConvertToImage: { // wxBitmap::ConvertToImage
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->ConvertToImage()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxBitmap_CopyFromIcon: { // wxBitmap::CopyFromIcon
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CopyFromIcon(*icon);
+ rt.addBool(Result);
+ break;
+}
+case wxBitmap_Create: { // wxBitmap::Create
+ int depth=-1;
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ depth = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create((int) *width,(int) *height,depth);
+ rt.addBool(Result);
+ break;
+}
+case wxBitmap_GetDepth: { // wxBitmap::GetDepth
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDepth();
+ rt.addInt(Result);
+ break;
+}
+case wxBitmap_GetHeight: { // wxBitmap::GetHeight
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetHeight();
+ rt.addInt(Result);
+ break;
+}
+case wxBitmap_GetPalette: { // wxBitmap::GetPalette
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPalette * Result = (wxPalette*)This->GetPalette();
+ rt.addRef(getRef((void *)Result,memenv), "wxPalette");
+ break;
+}
+case wxBitmap_GetMask: { // wxBitmap::GetMask
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMask * Result = (wxMask*)This->GetMask();
+ rt.addRef(getRef((void *)Result,memenv), "wxMask");
+ break;
+}
+case wxBitmap_GetWidth: { // wxBitmap::GetWidth
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxBitmap_GetSubBitmap: { // wxBitmap::GetSubBitmap
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = new wxBitmap(This->GetSubBitmap(rect)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmap_LoadFile: { // wxBitmap::LoadFile
+ wxBitmapType type=wxBITMAP_TYPE_XPM;
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+type = *(wxBitmapType *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadFile(name,(wxBitmapType) type);
+ rt.addBool(Result);
+ break;
+}
+case wxBitmap_Ok: { // wxBitmap::Ok
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Ok();
+ rt.addBool(Result);
+ break;
+}
+case wxBitmap_SaveFile: { // wxBitmap::SaveFile
+ const wxPalette * palette=(wxPalette *) NULL;
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ wxBitmapType type = *(wxBitmapType *) bp; bp += 4;;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+palette = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SaveFile(name,(wxBitmapType) type,palette);
+ rt.addBool(Result);
+ break;
+}
+case wxBitmap_SetDepth: { // wxBitmap::SetDepth
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * depth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDepth((int) *depth);
+ break;
+}
+case wxBitmap_SetHeight: { // wxBitmap::SetHeight
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHeight((int) *height);
+ break;
+}
+case wxBitmap_SetMask: { // wxBitmap::SetMask
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxMask *mask = (wxMask *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMask(mask);
+ break;
+}
+case wxBitmap_SetPalette: { // wxBitmap::SetPalette
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxPalette *palette = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPalette(*palette);
+ break;
+}
+case wxBitmap_SetWidth: { // wxBitmap::SetWidth
+ wxBitmap *This = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWidth((int) *width);
+ break;
+}
+case wxIcon_new_0: { // wxIcon::wxIcon
+ wxIcon * Result = new EwxIcon();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxIcon_new_2: { // wxIcon::wxIcon
+ wxBitmapType type=wxBITMAP_TYPE_XPM;
+ int desiredWidth=-1;
+ int desiredHeight=-1;
+ int * filenameLen = (int *) bp; bp += 4;
+ wxString filename = wxString(bp, wxConvUTF8);
+ bp += *filenameLen+((8-((4+ *filenameLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+type = *(wxBitmapType *) bp; bp += 4;;
+ } break;
+ case 2: {bp += 4;
+ desiredWidth = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ desiredHeight = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxIcon * Result = new EwxIcon(filename,(wxBitmapType) type,desiredWidth,desiredHeight);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxIcon_new_1: { // wxIcon::wxIcon
+ wxIconLocation *loc = (wxIconLocation *) getPtr(bp,memenv); bp += 4;
+ wxIcon * Result = new EwxIcon(*loc);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxIcon_CopyFromBitmap: { // wxIcon::CopyFromBitmap
+ wxIcon *This = (wxIcon *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CopyFromBitmap(*bmp);
+ break;
+}
+case wxIconBundle_new_0: { // wxIconBundle::wxIconBundle
+ wxIconBundle * Result = new wxIconBundle();
+ newPtr((void *) Result, 61, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxIconBundle");
+ break;
+}
+case wxIconBundle_new_2: { // wxIconBundle::wxIconBundle
+ int * fileLen = (int *) bp; bp += 4;
+ wxString file = wxString(bp, wxConvUTF8);
+ bp += *fileLen+((8-((4+ *fileLen) & 7)) & 7);
+ int * type = (int *) bp; bp += 4;
+ wxIconBundle * Result = new wxIconBundle(file,(long) *type);
+ newPtr((void *) Result, 61, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxIconBundle");
+ break;
+}
+case wxIconBundle_new_1_0: { // wxIconBundle::wxIconBundle
+ wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4;
+ wxIconBundle * Result = new wxIconBundle(*icon);
+ newPtr((void *) Result, 61, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxIconBundle");
+ break;
+}
+case wxIconBundle_new_1_1: { // wxIconBundle::wxIconBundle
+ wxIconBundle * ic = (wxIconBundle *) getPtr(bp,memenv); bp += 4;
+ wxIconBundle * Result = new wxIconBundle(*ic);
+ newPtr((void *) Result, 61, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxIconBundle");
+ break;
+}
+case wxIconBundle_destruct: { // wxIconBundle::~wxIconBundle
+ wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxIconBundle_AddIcon_2: { // wxIconBundle::AddIcon
+ wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4;
+ int * fileLen = (int *) bp; bp += 4;
+ wxString file = wxString(bp, wxConvUTF8);
+ bp += *fileLen+((8-((0+ *fileLen) & 7)) & 7);
+ int * type = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AddIcon(file,(long) *type);
+ break;
+}
+case wxIconBundle_AddIcon_1: { // wxIconBundle::AddIcon
+ wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4;
+ wxIcon *icon = (wxIcon *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AddIcon(*icon);
+ break;
+}
+case wxIconBundle_GetIcon_1_1: { // wxIconBundle::GetIcon
+ wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ const wxIcon * Result = &This->GetIcon(size);
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxIconBundle_GetIcon_1_0: { // wxIconBundle::GetIcon
+ wxCoord size=wxDefaultCoord;
+ wxIconBundle *This = (wxIconBundle *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ size = (wxCoord)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ const wxIcon * Result = &This->GetIcon(size);
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxCursor_new_0: { // wxCursor::wxCursor
+ wxCursor * Result = new EwxCursor();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCursor");
+ break;
+}
+case wxCursor_new_1_0: { // wxCursor::wxCursor
+ int * cursorId = (int *) bp; bp += 4;
+ wxCursor * Result = new EwxCursor((int) *cursorId);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCursor");
+ break;
+}
+case wxCursor_new_1_1: { // wxCursor::wxCursor
+ wxImage *image = (wxImage *) getPtr(bp,memenv); bp += 4;
+ wxCursor * Result = new EwxCursor(*image);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCursor");
+ break;
+}
+case wxCursor_new_4: { // wxCursor::wxCursor
+ int hotSpotX=-1;
+ int hotSpotY=-1;
+ const char * bits = (const char*) Ecmd.bin[0]->base;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ hotSpotX = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ hotSpotY = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxCursor * Result = new EwxCursor(bits,(int) *width,(int) *height,hotSpotX,hotSpotY);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCursor");
+ break;
+}
+case wxCursor_Ok: { // wxCursor::Ok
+ wxCursor *This = (wxCursor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Ok();
+ rt.addBool(Result);
+ break;
+}
+case wxMask_new_0: { // wxMask::wxMask
+ wxMask * Result = new EwxMask();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMask");
+ break;
+}
+case wxMask_new_2_1: { // wxMask::wxMask
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ wxMask * Result = new EwxMask(*bitmap,colour);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMask");
+ break;
+}
+case wxMask_new_2_0: { // wxMask::wxMask
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * paletteIndex = (int *) bp; bp += 4;
+ wxMask * Result = new EwxMask(*bitmap,(int) *paletteIndex);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMask");
+ break;
+}
+case wxMask_new_1: { // wxMask::wxMask
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxMask * Result = new EwxMask(*bitmap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMask");
+ break;
+}
+case wxMask_Create_2_1: { // wxMask::Create
+ wxMask *This = (wxMask *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(*bitmap,colour);
+ rt.addBool(Result);
+ break;
+}
+case wxMask_Create_2_0: { // wxMask::Create
+ wxMask *This = (wxMask *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * paletteIndex = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(*bitmap,(int) *paletteIndex);
+ rt.addBool(Result);
+ break;
+}
+case wxMask_Create_1: { // wxMask::Create
+ wxMask *This = (wxMask *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(*bitmap);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_new_0: { // wxImage::wxImage
+ wxImage * Result = new EwxImage();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_new_3_0: { // wxImage::wxImage
+ bool clear=true;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ clear = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ wxImage * Result = new EwxImage((int) *width,(int) *height,clear);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_new_4: { // wxImage::wxImage
+ bool static_data=false;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ unsigned char * data = (unsigned char*) Ecmd.bin[0]->base;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ static_data = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);};
+ wxImage * Result = new EwxImage((int) *width,(int) *height,data,static_data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_new_5: { // wxImage::wxImage
+ bool static_data=false;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ unsigned char * data = (unsigned char*) Ecmd.bin[0]->base;
+ unsigned char * alpha = (unsigned char*) Ecmd.bin[1]->base;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ static_data = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!static_data) { data = (unsigned char *) malloc(Ecmd.bin[0]->size); alpha = (unsigned char *) malloc(Ecmd.bin[1]->size); memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size); memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);};
+ wxImage * Result = new EwxImage((int) *width,(int) *height,data,alpha,static_data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_new_2: { // wxImage::wxImage
+ long type=wxBITMAP_TYPE_ANY;
+ int index=-1;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ type = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ index = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxImage * Result = new EwxImage(name,type,index);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_new_3_1: { // wxImage::wxImage
+ int index=-1;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ int * mimetypeLen = (int *) bp; bp += 4;
+ wxString mimetype = wxString(bp, wxConvUTF8);
+ bp += *mimetypeLen+((8-((4+ *mimetypeLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ index = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxImage * Result = new EwxImage(name,mimetype,index);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_Blur: { // wxImage::Blur
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * radius = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->Blur((int) *radius)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_BlurHorizontal: { // wxImage::BlurHorizontal
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * radius = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->BlurHorizontal((int) *radius)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_BlurVertical: { // wxImage::BlurVertical
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * radius = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->BlurVertical((int) *radius)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_ConvertAlphaToMask: { // wxImage::ConvertAlphaToMask
+ char threshold=wxIMAGE_ALPHA_THRESHOLD;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ threshold = (char)*(unsigned int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ConvertAlphaToMask(threshold);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_ConvertToGreyscale: { // wxImage::ConvertToGreyscale
+ double lr=0.299;
+ double lg=0.587;
+ double lb=0.114;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bp += 4; /* Align */
+ lr = * (double *) bp; bp += 8;
+ } break;
+ case 2: {bp += 4;
+ bp += 4; /* Align */
+ lg = * (double *) bp; bp += 8;
+ } break;
+ case 3: {bp += 4;
+ bp += 4; /* Align */
+ lb = * (double *) bp; bp += 8;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->ConvertToGreyscale(lr,lg,lb)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_ConvertToMono: { // wxImage::ConvertToMono
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ unsigned int * r = (unsigned int *) bp; bp += 4;
+ unsigned int * g = (unsigned int *) bp; bp += 4;
+ unsigned int * b = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->ConvertToMono((char) *r,(char) *g,(char) *b)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_Copy: { // wxImage::Copy
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->Copy()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_Create_3: { // wxImage::Create
+ bool clear=true;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ clear = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create((int) *width,(int) *height,clear);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_Create_4: { // wxImage::Create
+ bool static_data=false;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ unsigned char * data = (unsigned char*) Ecmd.bin[0]->base;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ static_data = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create((int) *width,(int) *height,data,static_data);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_Create_5: { // wxImage::Create
+ bool static_data=false;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ unsigned char * data = (unsigned char*) Ecmd.bin[0]->base;
+ unsigned char * alpha = (unsigned char*) Ecmd.bin[1]->base;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ static_data = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!static_data) { data = (unsigned char *) malloc(Ecmd.bin[0]->size); alpha = (unsigned char *) malloc(Ecmd.bin[1]->size); memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size); memcpy(alpha,Ecmd.bin[1]->base,Ecmd.bin[1]->size);};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create((int) *width,(int) *height,data,alpha,static_data);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_Destroy: { // wxImage::Destroy
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Destroy();
+ break;
+}
+case wxImage_FindFirstUnusedColour: { // wxImage::FindFirstUnusedColour
+ unsigned char r;
+ unsigned char g;
+ unsigned char b;
+ char startR=1;
+ char startG=0;
+ char startB=0;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ startR = (char)*(unsigned int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ startG = (char)*(unsigned int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ startB = (char)*(unsigned int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->FindFirstUnusedColour(&r,&g,&b,startR,startG,startB);
+ rt.addBool(Result);
+ rt.addUint(r);
+ rt.addUint(g);
+ rt.addUint(b);
+ rt.addTupleCount(4);
+ break;
+}
+case wxImage_GetImageExtWildcard: { // wxImage::GetImageExtWildcard
+ wxString Result = wxImage::GetImageExtWildcard();
+ rt.add(Result);
+ break;
+}
+case wxImage_GetAlpha_2: { // wxImage::GetAlpha
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char Result = This->GetAlpha((int) *x,(int) *y);
+ rt.addUint(Result);
+ break;
+}
+case wxImage_GetAlpha_0: { // wxImage::GetAlpha
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char * Result = (char*)This->GetAlpha();
+ if(Result) {
+ rt.addBinary(Result, (This->GetWidth()*This->GetHeight()));
+ } else {rt.addAtom("null");};
+ break;
+}
+case wxImage_GetBlue: { // wxImage::GetBlue
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char Result = This->GetBlue((int) *x,(int) *y);
+ rt.addUint(Result);
+ break;
+}
+case wxImage_GetData: { // wxImage::GetData
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char * Result = (char*)This->GetData();
+ if(Result) {
+ rt.addBinary(Result, (This->GetWidth()*This->GetHeight()*3));
+ } else {rt.addAtom("null");};
+ break;
+}
+case wxImage_GetGreen: { // wxImage::GetGreen
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char Result = This->GetGreen((int) *x,(int) *y);
+ rt.addUint(Result);
+ break;
+}
+case wxImage_GetImageCount: { // wxImage::GetImageCount
+ long type=wxBITMAP_TYPE_ANY;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ type = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ int Result = wxImage::GetImageCount(name,type);
+ rt.addInt(Result);
+ break;
+}
+case wxImage_GetHeight: { // wxImage::GetHeight
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetHeight();
+ rt.addInt(Result);
+ break;
+}
+case wxImage_GetMaskBlue: { // wxImage::GetMaskBlue
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char Result = This->GetMaskBlue();
+ rt.addUint(Result);
+ break;
+}
+case wxImage_GetMaskGreen: { // wxImage::GetMaskGreen
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char Result = This->GetMaskGreen();
+ rt.addUint(Result);
+ break;
+}
+case wxImage_GetMaskRed: { // wxImage::GetMaskRed
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char Result = This->GetMaskRed();
+ rt.addUint(Result);
+ break;
+}
+case wxImage_GetOrFindMaskColour: { // wxImage::GetOrFindMaskColour
+ unsigned char r;
+ unsigned char g;
+ unsigned char b;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetOrFindMaskColour(&r,&g,&b);
+ rt.addBool(Result);
+ rt.addUint(r);
+ rt.addUint(g);
+ rt.addUint(b);
+ rt.addTupleCount(4);
+ break;
+}
+case wxImage_GetPalette: { // wxImage::GetPalette
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxPalette * Result = &This->GetPalette();
+ rt.addRef(getRef((void *)Result,memenv), "wxPalette");
+ break;
+}
+case wxImage_GetRed: { // wxImage::GetRed
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char Result = This->GetRed((int) *x,(int) *y);
+ rt.addUint(Result);
+ break;
+}
+case wxImage_GetSubImage: { // wxImage::GetSubImage
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->GetSubImage(rect)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_GetWidth: { // wxImage::GetWidth
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxImage_HasAlpha: { // wxImage::HasAlpha
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasAlpha();
+ rt.addBool(Result);
+ break;
+}
+case wxImage_HasMask: { // wxImage::HasMask
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasMask();
+ rt.addBool(Result);
+ break;
+}
+case wxImage_GetOption: { // wxImage::GetOption
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetOption(name);
+ rt.add(Result);
+ break;
+}
+case wxImage_GetOptionInt: { // wxImage::GetOptionInt
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOptionInt(name);
+ rt.addInt(Result);
+ break;
+}
+case wxImage_HasOption: { // wxImage::HasOption
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasOption(name);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_InitAlpha: { // wxImage::InitAlpha
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->InitAlpha();
+ break;
+}
+case wxImage_InitStandardHandlers: { // wxImage::InitStandardHandlers
+ wxImage::InitStandardHandlers();
+ break;
+}
+case wxImage_IsTransparent: { // wxImage::IsTransparent
+ char threshold=wxIMAGE_ALPHA_THRESHOLD;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ threshold = (char)*(unsigned int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsTransparent((int) *x,(int) *y,threshold);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_LoadFile_2: { // wxImage::LoadFile
+ long type=wxBITMAP_TYPE_ANY;
+ int index=-1;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ type = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ index = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadFile(name,type,index);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_LoadFile_3: { // wxImage::LoadFile
+ int index=-1;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ int * mimetypeLen = (int *) bp; bp += 4;
+ wxString mimetype = wxString(bp, wxConvUTF8);
+ bp += *mimetypeLen+((8-((4+ *mimetypeLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ index = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadFile(name,mimetype,index);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_Ok: { // wxImage::Ok
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Ok();
+ rt.addBool(Result);
+ break;
+}
+case wxImage_RemoveHandler: { // wxImage::RemoveHandler
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ bool Result = wxImage::RemoveHandler(name);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_Mirror: { // wxImage::Mirror
+ bool horizontally=true;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ horizontally = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->Mirror(horizontally)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_Replace: { // wxImage::Replace
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ unsigned int * r1 = (unsigned int *) bp; bp += 4;
+ unsigned int * g1 = (unsigned int *) bp; bp += 4;
+ unsigned int * b1 = (unsigned int *) bp; bp += 4;
+ unsigned int * r2 = (unsigned int *) bp; bp += 4;
+ unsigned int * g2 = (unsigned int *) bp; bp += 4;
+ unsigned int * b2 = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Replace((char) *r1,(char) *g1,(char) *b1,(char) *r2,(char) *g2,(char) *b2);
+ break;
+}
+case wxImage_Rescale: { // wxImage::Rescale
+ int quality=wxIMAGE_QUALITY_NORMAL;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ quality = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = &This->Rescale((int) *width,(int) *height,quality);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_Resize: { // wxImage::Resize
+ int r=-1;
+ int g=-1;
+ int b=-1;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ r = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ g = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ b = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = &This->Resize(size,pos,r,g,b);
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_Rotate: { // wxImage::Rotate
+ bool interpolating=true;
+ wxPoint *offset_after_rotation=(wxPoint *) NULL; wxPoint offset_after_rotationTmp;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ double * angle = (double *) bp; bp += 8;
+ int * centre_of_rotationX = (int *) bp; bp += 4;
+ int * centre_of_rotationY = (int *) bp; bp += 4;
+ wxPoint centre_of_rotation = wxPoint(*centre_of_rotationX,*centre_of_rotationY);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ interpolating = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * offset_after_rotationX = (int *) bp; bp += 4;
+ int * offset_after_rotationY = (int *) bp; bp += 4;
+ offset_after_rotationTmp = wxPoint(*offset_after_rotationX,*offset_after_rotationY); offset_after_rotation = & offset_after_rotationTmp;
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->Rotate((double) *angle,centre_of_rotation,interpolating,offset_after_rotation)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_RotateHue: { // wxImage::RotateHue
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ double * angle = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->RotateHue((double) *angle);
+ break;
+}
+case wxImage_Rotate90: { // wxImage::Rotate90
+ bool clockwise=true;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ clockwise = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->Rotate90(clockwise)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_SaveFile_1: { // wxImage::SaveFile
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SaveFile(name);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_SaveFile_2_0: { // wxImage::SaveFile
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ int * type = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SaveFile(name,(int) *type);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_SaveFile_2_1: { // wxImage::SaveFile
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ int * mimetypeLen = (int *) bp; bp += 4;
+ wxString mimetype = wxString(bp, wxConvUTF8);
+ bp += *mimetypeLen+((8-((4+ *mimetypeLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SaveFile(name,mimetype);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_Scale: { // wxImage::Scale
+ int quality=wxIMAGE_QUALITY_NORMAL;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ quality = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->Scale((int) *width,(int) *height,quality)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_Size: { // wxImage::Size
+ int r=-1;
+ int g=-1;
+ int b=-1;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ r = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ g = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ b = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxImage * Result = new wxImage(This->Size(size,pos,r,g,b)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxImage");
+ break;
+}
+case wxImage_SetAlpha_3: { // wxImage::SetAlpha
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ unsigned int * alpha = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAlpha((int) *x,(int) *y,(char) *alpha);
+ break;
+}
+case wxImage_SetAlpha_2: { // wxImage::SetAlpha
+ bool static_data=false;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ unsigned char * alpha = (unsigned char*) Ecmd.bin[0]->base;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ static_data = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!static_data) {alpha = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(alpha,Ecmd.bin[0]->base,Ecmd.bin[0]->size);};
+ if(!This) throw wxe_badarg(0);
+ This->SetAlpha(alpha,static_data);
+ break;
+}
+case wxImage_SetData_2: { // wxImage::SetData
+ bool static_data=false;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ unsigned char * data = (unsigned char*) Ecmd.bin[0]->base;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ static_data = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);};
+ if(!This) throw wxe_badarg(0);
+ This->SetData(data,static_data);
+ break;
+}
+case wxImage_SetData_4: { // wxImage::SetData
+ bool static_data=false;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ unsigned char * data = (unsigned char*) Ecmd.bin[0]->base;
+ int * new_width = (int *) bp; bp += 4;
+ int * new_height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ static_data = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!static_data) {data = (unsigned char *) malloc(Ecmd.bin[0]->size);memcpy(data,Ecmd.bin[0]->base,Ecmd.bin[0]->size);};
+ if(!This) throw wxe_badarg(0);
+ This->SetData(data,(int) *new_width,(int) *new_height,static_data);
+ break;
+}
+case wxImage_SetMask: { // wxImage::SetMask
+ bool mask=true;
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ mask = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetMask(mask);
+ break;
+}
+case wxImage_SetMaskColour: { // wxImage::SetMaskColour
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ unsigned int * r = (unsigned int *) bp; bp += 4;
+ unsigned int * g = (unsigned int *) bp; bp += 4;
+ unsigned int * b = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMaskColour((char) *r,(char) *g,(char) *b);
+ break;
+}
+case wxImage_SetMaskFromImage: { // wxImage::SetMaskFromImage
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ wxImage *mask = (wxImage *) getPtr(bp,memenv); bp += 4;
+ unsigned int * mr = (unsigned int *) bp; bp += 4;
+ unsigned int * mg = (unsigned int *) bp; bp += 4;
+ unsigned int * mb = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetMaskFromImage(*mask,(char) *mr,(char) *mg,(char) *mb);
+ rt.addBool(Result);
+ break;
+}
+case wxImage_SetOption_2_1: { // wxImage::SetOption
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((4+ *valueLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetOption(name,value);
+ break;
+}
+case wxImage_SetOption_2_0: { // wxImage::SetOption
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ int * value = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetOption(name,(int) *value);
+ break;
+}
+case wxImage_SetPalette: { // wxImage::SetPalette
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ wxPalette *palette = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPalette(*palette);
+ break;
+}
+case wxImage_SetRGB_5: { // wxImage::SetRGB
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ unsigned int * r = (unsigned int *) bp; bp += 4;
+ unsigned int * g = (unsigned int *) bp; bp += 4;
+ unsigned int * b = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRGB((int) *x,(int) *y,(char) *r,(char) *g,(char) *b);
+ break;
+}
+case wxImage_SetRGB_4: { // wxImage::SetRGB
+ wxImage *This = (wxImage *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ unsigned int * r = (unsigned int *) bp; bp += 4;
+ unsigned int * g = (unsigned int *) bp; bp += 4;
+ unsigned int * b = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRGB(rect,(char) *r,(char) *g,(char) *b);
+ break;
+}
+case wxBrush_new_0: { // wxBrush::wxBrush
+ wxBrush * Result = new EwxBrush();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBrush");
+ break;
+}
+case wxBrush_new_2: { // wxBrush::wxBrush
+ int style=wxSOLID;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxBrush * Result = new EwxBrush(colour,style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBrush");
+ break;
+}
+case wxBrush_new_1: { // wxBrush::wxBrush
+ wxBitmap *stippleBitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBrush * Result = new EwxBrush(*stippleBitmap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBrush");
+ break;
+}
+case wxBrush_GetColour: { // wxBrush::GetColour
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour * Result = &This->GetColour();
+ rt.add((*Result));
+ break;
+}
+case wxBrush_GetStipple: { // wxBrush::GetStipple
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = (wxBitmap*)This->GetStipple();
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBrush_GetStyle: { // wxBrush::GetStyle
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStyle();
+ rt.addInt(Result);
+ break;
+}
+case wxBrush_IsHatch: { // wxBrush::IsHatch
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsHatch();
+ rt.addBool(Result);
+ break;
+}
+case wxBrush_IsOk: { // wxBrush::IsOk
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxBrush_SetColour_1: { // wxBrush::SetColour
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetColour(col);
+ break;
+}
+case wxBrush_SetColour_3: { // wxBrush::SetColour
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ unsigned int * r = (unsigned int *) bp; bp += 4;
+ unsigned int * g = (unsigned int *) bp; bp += 4;
+ unsigned int * b = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColour((char) *r,(char) *g,(char) *b);
+ break;
+}
+case wxBrush_SetStipple: { // wxBrush::SetStipple
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *stipple = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStipple(*stipple);
+ break;
+}
+case wxBrush_SetStyle: { // wxBrush::SetStyle
+ wxBrush *This = (wxBrush *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStyle((int) *style);
+ break;
+}
+case wxPen_new_0: { // wxPen::wxPen
+ wxPen * Result = new EwxPen();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPen");
+ break;
+}
+case wxPen_new_2: { // wxPen::wxPen
+ int width=1;
+ int style=wxSOLID;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ width = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxPen * Result = new EwxPen(colour,width,style);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPen");
+ break;
+}
+case wxPen_GetCap: { // wxPen::GetCap
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCap();
+ rt.addInt(Result);
+ break;
+}
+case wxPen_GetColour: { // wxPen::GetColour
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour * Result = &This->GetColour();
+ rt.add((*Result));
+ break;
+}
+case wxPen_GetJoin: { // wxPen::GetJoin
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetJoin();
+ rt.addInt(Result);
+ break;
+}
+case wxPen_GetStyle: { // wxPen::GetStyle
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStyle();
+ rt.addInt(Result);
+ break;
+}
+case wxPen_GetWidth: { // wxPen::GetWidth
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxPen_IsOk: { // wxPen::IsOk
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxPen_SetCap: { // wxPen::SetCap
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ int * capStyle = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCap((int) *capStyle);
+ break;
+}
+case wxPen_SetColour_1: { // wxPen::SetColour
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetColour(colour);
+ break;
+}
+case wxPen_SetColour_3: { // wxPen::SetColour
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ unsigned int * red = (unsigned int *) bp; bp += 4;
+ unsigned int * green = (unsigned int *) bp; bp += 4;
+ unsigned int * blue = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColour((char) *red,(char) *green,(char) *blue);
+ break;
+}
+case wxPen_SetJoin: { // wxPen::SetJoin
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ int * joinStyle = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetJoin((int) *joinStyle);
+ break;
+}
+case wxPen_SetStyle: { // wxPen::SetStyle
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStyle((int) *style);
+ break;
+}
+case wxPen_SetWidth: { // wxPen::SetWidth
+ wxPen *This = (wxPen *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWidth((int) *width);
+ break;
+}
+case wxRegion_new_0: { // wxRegion::wxRegion
+ wxRegion * Result = new EwxRegion();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRegion");
+ break;
+}
+case wxRegion_new_4: { // wxRegion::wxRegion
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * w = (int *) bp; bp += 4;
+ int * h = (int *) bp; bp += 4;
+ wxRegion * Result = new EwxRegion((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRegion");
+ break;
+}
+case wxRegion_new_2: { // wxRegion::wxRegion
+ int * topLeftX = (int *) bp; bp += 4;
+ int * topLeftY = (int *) bp; bp += 4;
+ wxPoint topLeft = wxPoint(*topLeftX,*topLeftY);
+ int * bottomRightX = (int *) bp; bp += 4;
+ int * bottomRightY = (int *) bp; bp += 4;
+ wxPoint bottomRight = wxPoint(*bottomRightX,*bottomRightY);
+ wxRegion * Result = new EwxRegion(topLeft,bottomRight);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRegion");
+ break;
+}
+case wxRegion_new_1_1: { // wxRegion::wxRegion
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ wxRegion * Result = new EwxRegion(rect);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRegion");
+ break;
+}
+case wxRegion_new_1_0: { // wxRegion::wxRegion
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxRegion * Result = new EwxRegion(*bmp);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRegion");
+ break;
+}
+case wxRegion_Clear: { // wxRegion::Clear
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clear();
+ break;
+}
+case wxRegion_Contains_2: { // wxRegion::Contains
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Contains((wxCoord) *x,(wxCoord) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxRegion_Contains_1_0: { // wxRegion::Contains
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Contains(pt);
+ rt.addInt(Result);
+ break;
+}
+case wxRegion_Contains_4: { // wxRegion::Contains
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * w = (int *) bp; bp += 4;
+ int * h = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Contains((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h);
+ rt.addInt(Result);
+ break;
+}
+case wxRegion_Contains_1_1: { // wxRegion::Contains
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Contains(rect);
+ rt.addInt(Result);
+ break;
+}
+case wxRegion_ConvertToBitmap: { // wxRegion::ConvertToBitmap
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = new wxBitmap(This->ConvertToBitmap()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxRegion_GetBox: { // wxRegion::GetBox
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetBox();
+ rt.add(Result);
+ break;
+}
+case wxRegion_Intersect_4: { // wxRegion::Intersect
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * w = (int *) bp; bp += 4;
+ int * h = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Intersect((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Intersect_1_1: { // wxRegion::Intersect
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Intersect(rect);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Intersect_1_0: { // wxRegion::Intersect
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Intersect(*region);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_IsEmpty: { // wxRegion::IsEmpty
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEmpty();
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Subtract_4: { // wxRegion::Subtract
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * w = (int *) bp; bp += 4;
+ int * h = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Subtract((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Subtract_1_1: { // wxRegion::Subtract
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Subtract(rect);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Subtract_1_0: { // wxRegion::Subtract
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Subtract(*region);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Offset_2: { // wxRegion::Offset
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Offset((wxCoord) *x,(wxCoord) *y);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Offset_1: { // wxRegion::Offset
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Offset(pt);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Union_4: { // wxRegion::Union
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * w = (int *) bp; bp += 4;
+ int * h = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Union((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Union_1_2: { // wxRegion::Union
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Union(rect);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Union_1_1: { // wxRegion::Union
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ wxRegion * region = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Union(*region);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Union_1_0: { // wxRegion::Union
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Union(*bmp);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Union_3: { // wxRegion::Union
+ int tolerance=0;
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * transpR = (int *) bp; bp += 4;
+ int * transpG = (int *) bp; bp += 4;
+ int * transpB = (int *) bp; bp += 4;
+ int * transpA = (int *) bp; bp += 4;
+ wxColour transp = wxColour(*transpR,*transpG,*transpB,*transpA);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ tolerance = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Union(*bmp,transp,tolerance);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Xor_4: { // wxRegion::Xor
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * w = (int *) bp; bp += 4;
+ int * h = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Xor((wxCoord) *x,(wxCoord) *y,(wxCoord) *w,(wxCoord) *h);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Xor_1_1: { // wxRegion::Xor
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Xor(rect);
+ rt.addBool(Result);
+ break;
+}
+case wxRegion_Xor_1_0: { // wxRegion::Xor
+ wxRegion *This = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ wxRegion *region = (wxRegion *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Xor(*region);
+ rt.addBool(Result);
+ break;
+}
+case wxAcceleratorTable_new_0: { // wxAcceleratorTable::wxAcceleratorTable
+ wxAcceleratorTable * Result = new EwxAcceleratorTable();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorTable");
+ break;
+}
+case wxAcceleratorTable_new_2: { // wxAcceleratorTable::wxAcceleratorTable
+ int * n = (int *) bp; bp += 4;
+ int * entriesLen = (int *) bp; bp += 4;
+ wxAcceleratorEntry *entries;
+ entries = (wxAcceleratorEntry *) driver_alloc(sizeof(wxAcceleratorEntry) * *entriesLen); for(int i=0; i < *entriesLen; i++) { entries[i] = * (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4;}
+ bp += ((0+ *entriesLen)%2 )*4;
+ wxAcceleratorTable * Result = new EwxAcceleratorTable((int) *n,entries);
+ newPtr((void *) Result, 1, memenv);
+ driver_free(entries);
+ rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorTable");
+ break;
+}
+case wxAcceleratorTable_Ok: { // wxAcceleratorTable::Ok
+ wxAcceleratorTable *This = (wxAcceleratorTable *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Ok();
+ rt.addBool(Result);
+ break;
+}
+case wxAcceleratorEntry_new_1_0: { // wxAcceleratorEntry::wxAcceleratorEntry
+ int flags=0;
+ int keyCode=0;
+ int cmd=0;
+ wxMenuItem * item=NULL;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ keyCode = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ cmd = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxAcceleratorEntry * Result = new wxAcceleratorEntry(flags,keyCode,cmd,item);
+ newPtr((void *) Result, 69, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorEntry");
+ break;
+}
+case wxAcceleratorEntry_new_1_1: { // wxAcceleratorEntry::wxAcceleratorEntry
+ wxAcceleratorEntry *entry = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4;
+ wxAcceleratorEntry * Result = new wxAcceleratorEntry(*entry);
+ newPtr((void *) Result, 69, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAcceleratorEntry");
+ break;
+}
+case wxAcceleratorEntry_GetCommand: { // wxAcceleratorEntry::GetCommand
+ wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCommand();
+ rt.addInt(Result);
+ break;
+}
+case wxAcceleratorEntry_GetFlags: { // wxAcceleratorEntry::GetFlags
+ wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFlags();
+ rt.addInt(Result);
+ break;
+}
+case wxAcceleratorEntry_GetKeyCode: { // wxAcceleratorEntry::GetKeyCode
+ wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetKeyCode();
+ rt.addInt(Result);
+ break;
+}
+case wxAcceleratorEntry_Set: { // wxAcceleratorEntry::Set
+ wxMenuItem * item=NULL;
+ wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ int * keyCode = (int *) bp; bp += 4;
+ int * cmd = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+item = (wxMenuItem *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Set((int) *flags,(int) *keyCode,(int) *cmd,item);
+ break;
+}
+case wxAcceleratorEntry_destroy: { // wxAcceleratorEntry::destroy
+ wxAcceleratorEntry *This = (wxAcceleratorEntry *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxCaret_new_3: { // wxCaret::wxCaret
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ wxCaret * Result = new EwxCaret(window,(int) *width,(int) *height);
+ newPtr((void *) Result, 70, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCaret");
+ break;
+}
+case wxCaret_new_2: { // wxCaret::wxCaret
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ wxCaret * Result = new EwxCaret(window,size);
+ newPtr((void *) Result, 70, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCaret");
+ break;
+}
+case wxCaret_destruct: { // wxCaret::~wxCaret
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxCaret_Create_3: { // wxCaret::Create
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(window,(int) *width,(int) *height);
+ rt.addBool(Result);
+ break;
+}
+case wxCaret_Create_2: { // wxCaret::Create
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(window,size);
+ rt.addBool(Result);
+ break;
+}
+case wxCaret_GetBlinkTime: { // wxCaret::GetBlinkTime
+ int Result = wxCaret::GetBlinkTime();
+ rt.addInt(Result);
+ break;
+}
+case wxCaret_GetPosition: { // wxCaret::GetPosition
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxCaret_GetSize: { // wxCaret::GetSize
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSize();
+ rt.add(Result);
+ break;
+}
+case wxCaret_GetWindow: { // wxCaret::GetWindow
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxCaret_Hide: { // wxCaret::Hide
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Hide();
+ break;
+}
+case wxCaret_IsOk: { // wxCaret::IsOk
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxCaret_IsVisible: { // wxCaret::IsVisible
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsVisible();
+ rt.addBool(Result);
+ break;
+}
+case wxCaret_Move_2: { // wxCaret::Move
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Move((int) *x,(int) *y);
+ break;
+}
+case wxCaret_Move_1: { // wxCaret::Move
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->Move(pt);
+ break;
+}
+case wxCaret_SetBlinkTime: { // wxCaret::SetBlinkTime
+ int * milliseconds = (int *) bp; bp += 4;
+ wxCaret::SetBlinkTime((int) *milliseconds);
+ break;
+}
+case wxCaret_SetSize_2: { // wxCaret::SetSize
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSize((int) *width,(int) *height);
+ break;
+}
+case wxCaret_SetSize_1: { // wxCaret::SetSize
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetSize(size);
+ break;
+}
+case wxCaret_Show: { // wxCaret::Show
+ bool show=true;
+ wxCaret *This = (wxCaret *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Show(show);
+ break;
+}
+case wxSizer_Add_2_1: { // wxSizer::Add
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(window,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Add_2_0: { // wxSizer::Add
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Add_3: { // wxSizer::Add
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add((int) *width,(int) *height,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Add_2_3: { // wxSizer::Add
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(window,*flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Add_2_2: { // wxSizer::Add
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,*flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_AddSpacer: { // wxSizer::AddSpacer
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * size = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->AddSpacer((int) *size);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_AddStretchSpacer: { // wxSizer::AddStretchSpacer
+ int prop=1;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ prop = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->AddStretchSpacer(prop);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_CalcMin: { // wxSizer::CalcMin
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->CalcMin();
+ rt.add(Result);
+ break;
+}
+case wxSizer_Clear: { // wxSizer::Clear
+ bool delete_windows=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ delete_windows = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Clear(delete_windows);
+ break;
+}
+case wxSizer_Detach_1_2: { // wxSizer::Detach
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Detach(window);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Detach_1_1: { // wxSizer::Detach
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Detach(sizer);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Detach_1_0: { // wxSizer::Detach
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Detach((int) *index);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Fit: { // wxSizer::Fit
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->Fit(window);
+ rt.add(Result);
+ break;
+}
+case wxSizer_FitInside: { // wxSizer::FitInside
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->FitInside(window);
+ break;
+}
+case wxSizer_GetChildren: { // wxSizer::GetChildren
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItemList Result = This->GetChildren();
+ int i=0;
+ for(wxSizerItemList::const_iterator it = Result.begin(); it != Result.end(); ++it) {
+ wxSizerItem * ResultTmp = *it;
+ rt.addRef(getRef((void *)ResultTmp,memenv), "wxSizerItem"); i++;}
+ rt.endList(Result.GetCount());
+ break;
+}
+case wxSizer_GetItem_2_1: { // wxSizer::GetItem
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->GetItem(window,recursive);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_GetItem_2_0: { // wxSizer::GetItem
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->GetItem(sizer,recursive);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_GetItem_1: { // wxSizer::GetItem
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->GetItem((size_t) *index);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_GetSize: { // wxSizer::GetSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSize();
+ rt.add(Result);
+ break;
+}
+case wxSizer_GetPosition: { // wxSizer::GetPosition
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxSizer_GetMinSize: { // wxSizer::GetMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetMinSize();
+ rt.add(Result);
+ break;
+}
+case wxSizer_Hide_2_0: { // wxSizer::Hide
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Hide(sizer,recursive);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Hide_2_1: { // wxSizer::Hide
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Hide(window,recursive);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Hide_1: { // wxSizer::Hide
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Hide((size_t) *index);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Insert_3_1: { // wxSizer::Insert
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,window,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Insert_3_0: { // wxSizer::Insert
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,sizer,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Insert_4: { // wxSizer::Insert
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,(int) *width,(int) *height,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Insert_3_3: { // wxSizer::Insert
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,window,*flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Insert_3_2: { // wxSizer::Insert
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,sizer,*flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Insert_2: { // wxSizer::Insert
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxSizerItem *item = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Insert((size_t) *index,item);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_InsertSpacer: { // wxSizer::InsertSpacer
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * size = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->InsertSpacer((size_t) *index,(int) *size);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_InsertStretchSpacer: { // wxSizer::InsertStretchSpacer
+ int prop=1;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ prop = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->InsertStretchSpacer((size_t) *index,prop);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_IsShown_1_2: { // wxSizer::IsShown
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsShown(window);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_IsShown_1_1: { // wxSizer::IsShown
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsShown(sizer);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_IsShown_1_0: { // wxSizer::IsShown
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsShown((size_t) *index);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Layout: { // wxSizer::Layout
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Layout();
+ break;
+}
+case wxSizer_Prepend_2_1: { // wxSizer::Prepend
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Prepend(window,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Prepend_2_0: { // wxSizer::Prepend
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Prepend(sizer,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Prepend_3: { // wxSizer::Prepend
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Prepend((int) *width,(int) *height,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Prepend_2_3: { // wxSizer::Prepend
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Prepend(window,*flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Prepend_2_2: { // wxSizer::Prepend
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Prepend(sizer,*flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_Prepend_1: { // wxSizer::Prepend
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem *item = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Prepend(item);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_PrependSpacer: { // wxSizer::PrependSpacer
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * size = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->PrependSpacer((int) *size);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_PrependStretchSpacer: { // wxSizer::PrependStretchSpacer
+ int prop=1;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ prop = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->PrependStretchSpacer(prop);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizer_RecalcSizes: { // wxSizer::RecalcSizes
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RecalcSizes();
+ break;
+}
+case wxSizer_Remove_1_1: { // wxSizer::Remove
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Remove(sizer);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Remove_1_0: { // wxSizer::Remove
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Remove((int) *index);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Replace_3_1: { // wxSizer::Replace
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * oldwin = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow * newwin = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Replace(oldwin,newwin,recursive);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Replace_3_0: { // wxSizer::Replace
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *oldsz = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *newsz = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Replace(oldsz,newsz,recursive);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Replace_2: { // wxSizer::Replace
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxSizerItem *newitem = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Replace((size_t) *index,newitem);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_SetDimension: { // wxSizer::SetDimension
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDimension((int) *x,(int) *y,(int) *width,(int) *height);
+ break;
+}
+case wxSizer_SetMinSize_2: { // wxSizer::SetMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMinSize((int) *width,(int) *height);
+ break;
+}
+case wxSizer_SetMinSize_1: { // wxSizer::SetMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetMinSize(size);
+ break;
+}
+case wxSizer_SetItemMinSize_3_2: { // wxSizer::SetItemMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemMinSize(window,(int) *width,(int) *height);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_SetItemMinSize_2_2: { // wxSizer::SetItemMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemMinSize(window,size);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_SetItemMinSize_3_1: { // wxSizer::SetItemMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemMinSize(sizer,(int) *width,(int) *height);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_SetItemMinSize_2_1: { // wxSizer::SetItemMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemMinSize(sizer,size);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_SetItemMinSize_3_0: { // wxSizer::SetItemMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemMinSize((size_t) *index,(int) *width,(int) *height);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_SetItemMinSize_2_0: { // wxSizer::SetItemMinSize
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemMinSize((size_t) *index,size);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_SetSizeHints: { // wxSizer::SetSizeHints
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSizeHints(window);
+ break;
+}
+case wxSizer_SetVirtualSizeHints: { // wxSizer::SetVirtualSizeHints
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetVirtualSizeHints(window);
+ break;
+}
+case wxSizer_Show_2_2: { // wxSizer::Show
+ bool show=true;
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Show(window,show,recursive);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Show_2_1: { // wxSizer::Show
+ bool show=true;
+ bool recursive=false;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ recursive = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Show(sizer,show,recursive);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Show_2_0: { // wxSizer::Show
+ bool show=true;
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Show((size_t) *index,show);
+ rt.addBool(Result);
+ break;
+}
+case wxSizer_Show_1: { // wxSizer::Show
+ wxSizer *This = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Show((bool) *show);
+ break;
+}
+case wxSizerFlags_new: { // wxSizerFlags::wxSizerFlags
+ int proportion=0;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxSizerFlags * Result = new wxSizerFlags(proportion);
+ newPtr((void *) Result, 72, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Align: { // wxSizerFlags::Align
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ int * alignment = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Align((int) *alignment);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Border_2: { // wxSizerFlags::Border
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ int * direction = (int *) bp; bp += 4;
+ int * borderInPixels = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Border((int) *direction,(int) *borderInPixels);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Border_1: { // wxSizerFlags::Border
+ int direction=wxALL;
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ direction = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Border(direction);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Center: { // wxSizerFlags::Center
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Center();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Centre: { // wxSizerFlags::Centre
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Centre();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Expand: { // wxSizerFlags::Expand
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Expand();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Left: { // wxSizerFlags::Left
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Left();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Proportion: { // wxSizerFlags::Proportion
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ int * proportion = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Proportion((int) *proportion);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_Right: { // wxSizerFlags::Right
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerFlags * Result = &This->Right();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerFlags");
+ break;
+}
+case wxSizerFlags_destroy: { // wxSizerFlags::destroy
+ wxSizerFlags *This = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxSizerItem_new_5_1: { // wxSizerItem::wxSizerItem
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * proportion = (int *) bp; bp += 4;
+ int * flag = (int *) bp; bp += 4;
+ int * border = (int *) bp; bp += 4;
+ wxObject *userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem * Result = new EwxSizerItem(window,(int) *proportion,(int) *flag,(int) *border,userData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizerItem_new_2_1: { // wxSizerItem::wxSizerItem
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem * Result = new EwxSizerItem(window,*flags);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizerItem_new_5_0: { // wxSizerItem::wxSizerItem
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * proportion = (int *) bp; bp += 4;
+ int * flag = (int *) bp; bp += 4;
+ int * border = (int *) bp; bp += 4;
+ wxObject *userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem * Result = new EwxSizerItem(sizer,(int) *proportion,(int) *flag,(int) *border,userData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizerItem_new_2_0: { // wxSizerItem::wxSizerItem
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem * Result = new EwxSizerItem(sizer,*flags);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizerItem_new_6: { // wxSizerItem::wxSizerItem
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ int * proportion = (int *) bp; bp += 4;
+ int * flag = (int *) bp; bp += 4;
+ int * border = (int *) bp; bp += 4;
+ wxObject *userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem * Result = new EwxSizerItem((int) *width,(int) *height,(int) *proportion,(int) *flag,(int) *border,userData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizerItem_new_3: { // wxSizerItem::wxSizerItem
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ wxSizerFlags *flags = (wxSizerFlags *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem * Result = new EwxSizerItem((int) *width,(int) *height,*flags);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizerItem_new_0: { // wxSizerItem::wxSizerItem
+ wxSizerItem * Result = new EwxSizerItem();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxSizerItem_CalcMin: { // wxSizerItem::CalcMin
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->CalcMin();
+ rt.add(Result);
+ break;
+}
+case wxSizerItem_DeleteWindows: { // wxSizerItem::DeleteWindows
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DeleteWindows();
+ break;
+}
+case wxSizerItem_DetachSizer: { // wxSizerItem::DetachSizer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DetachSizer();
+ break;
+}
+case wxSizerItem_GetBorder: { // wxSizerItem::GetBorder
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetBorder();
+ rt.addInt(Result);
+ break;
+}
+case wxSizerItem_GetFlag: { // wxSizerItem::GetFlag
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFlag();
+ rt.addInt(Result);
+ break;
+}
+case wxSizerItem_GetMinSize: { // wxSizerItem::GetMinSize
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetMinSize();
+ rt.add(Result);
+ break;
+}
+case wxSizerItem_GetPosition: { // wxSizerItem::GetPosition
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxSizerItem_GetProportion: { // wxSizerItem::GetProportion
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetProportion();
+ rt.addInt(Result);
+ break;
+}
+case wxSizerItem_GetRatio: { // wxSizerItem::GetRatio
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ float Result = This->GetRatio();
+ rt.addFloat(Result);
+ break;
+}
+case wxSizerItem_GetRect: { // wxSizerItem::GetRect
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetRect();
+ rt.add(Result);
+ break;
+}
+case wxSizerItem_GetSize: { // wxSizerItem::GetSize
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSize();
+ rt.add(Result);
+ break;
+}
+case wxSizerItem_GetSizer: { // wxSizerItem::GetSizer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizer * Result = (wxSizer*)This->GetSizer();
+ rt.addRef(getRef((void *)Result,memenv), "wxSizer");
+ break;
+}
+case wxSizerItem_GetSpacer: { // wxSizerItem::GetSpacer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSpacer();
+ rt.add(Result);
+ break;
+}
+case wxSizerItem_GetUserData: { // wxSizerItem::GetUserData
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxObject * Result = (wxObject*)This->GetUserData();
+ rt.addRef(getRef((void *)Result,memenv), "wx");
+ break;
+}
+case wxSizerItem_GetWindow: { // wxSizerItem::GetWindow
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxSizerItem_IsSizer: { // wxSizerItem::IsSizer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSizer();
+ rt.addBool(Result);
+ break;
+}
+case wxSizerItem_IsShown: { // wxSizerItem::IsShown
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsShown();
+ rt.addBool(Result);
+ break;
+}
+case wxSizerItem_IsSpacer: { // wxSizerItem::IsSpacer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSpacer();
+ rt.addBool(Result);
+ break;
+}
+case wxSizerItem_IsWindow: { // wxSizerItem::IsWindow
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsWindow();
+ rt.addBool(Result);
+ break;
+}
+case wxSizerItem_SetBorder: { // wxSizerItem::SetBorder
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * border = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBorder((int) *border);
+ break;
+}
+case wxSizerItem_SetDimension: { // wxSizerItem::SetDimension
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetDimension(pos,size);
+ break;
+}
+case wxSizerItem_SetFlag: { // wxSizerItem::SetFlag
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * flag = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFlag((int) *flag);
+ break;
+}
+case wxSizerItem_SetInitSize: { // wxSizerItem::SetInitSize
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInitSize((int) *x,(int) *y);
+ break;
+}
+case wxSizerItem_SetMinSize_1: { // wxSizerItem::SetMinSize
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetMinSize(size);
+ break;
+}
+case wxSizerItem_SetMinSize_2: { // wxSizerItem::SetMinSize
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMinSize((int) *x,(int) *y);
+ break;
+}
+case wxSizerItem_SetProportion: { // wxSizerItem::SetProportion
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * proportion = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetProportion((int) *proportion);
+ break;
+}
+case wxSizerItem_SetRatio_2: { // wxSizerItem::SetRatio
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRatio((int) *width,(int) *height);
+ break;
+}
+case wxSizerItem_SetRatio_1_1: { // wxSizerItem::SetRatio
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetRatio(size);
+ break;
+}
+case wxSizerItem_SetRatio_1_0: { // wxSizerItem::SetRatio
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ float * ratio = (float *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRatio((float) *ratio);
+ break;
+}
+case wxSizerItem_SetSizer: { // wxSizerItem::SetSizer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSizer(sizer);
+ break;
+}
+case wxSizerItem_SetSpacer_1: { // wxSizerItem::SetSpacer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetSpacer(size);
+ break;
+}
+case wxSizerItem_SetSpacer_2: { // wxSizerItem::SetSpacer
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSpacer((int) *width,(int) *height);
+ break;
+}
+case wxSizerItem_SetWindow: { // wxSizerItem::SetWindow
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWindow(window);
+ break;
+}
+case wxSizerItem_Show: { // wxSizerItem::Show
+ wxSizerItem *This = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Show((bool) *show);
+ break;
+}
+case wxBoxSizer_new: { // wxBoxSizer::wxBoxSizer
+ int * orient = (int *) bp; bp += 4;
+ wxBoxSizer * Result = new EwxBoxSizer((int) *orient);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBoxSizer");
+ break;
+}
+case wxBoxSizer_GetOrientation: { // wxBoxSizer::GetOrientation
+ wxBoxSizer *This = (wxBoxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOrientation();
+ rt.addInt(Result);
+ break;
+}
+case wxStaticBoxSizer_new_2: { // wxStaticBoxSizer::wxStaticBoxSizer
+ wxStaticBox *box = (wxStaticBox *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ wxStaticBoxSizer * Result = new EwxStaticBoxSizer(box,(int) *orient);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticBoxSizer");
+ break;
+}
+case wxStaticBoxSizer_new_3: { // wxStaticBoxSizer::wxStaticBoxSizer
+ wxString label= wxEmptyString;
+ int * orient = (int *) bp; bp += 4;
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ } break;
+ }};
+ wxStaticBoxSizer * Result = new EwxStaticBoxSizer((int) *orient,win,label);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticBoxSizer");
+ break;
+}
+case wxStaticBoxSizer_GetStaticBox: { // wxStaticBoxSizer::GetStaticBox
+ wxStaticBoxSizer *This = (wxStaticBoxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxStaticBox * Result = (wxStaticBox*)This->GetStaticBox();
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticBox");
+ break;
+}
+case wxGridSizer_new_4: { // wxGridSizer::wxGridSizer
+ int * rows = (int *) bp; bp += 4;
+ int * cols = (int *) bp; bp += 4;
+ int * vgap = (int *) bp; bp += 4;
+ int * hgap = (int *) bp; bp += 4;
+ wxGridSizer * Result = new EwxGridSizer((int) *rows,(int) *cols,(int) *vgap,(int) *hgap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridSizer");
+ break;
+}
+case wxGridSizer_new_2: { // wxGridSizer::wxGridSizer
+ int vgap=0;
+ int hgap=0;
+ int * cols = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ vgap = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ hgap = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGridSizer * Result = new EwxGridSizer((int) *cols,vgap,hgap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridSizer");
+ break;
+}
+case wxGridSizer_GetCols: { // wxGridSizer::GetCols
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCols();
+ rt.addInt(Result);
+ break;
+}
+case wxGridSizer_GetHGap: { // wxGridSizer::GetHGap
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetHGap();
+ rt.addInt(Result);
+ break;
+}
+case wxGridSizer_GetRows: { // wxGridSizer::GetRows
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRows();
+ rt.addInt(Result);
+ break;
+}
+case wxGridSizer_GetVGap: { // wxGridSizer::GetVGap
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetVGap();
+ rt.addInt(Result);
+ break;
+}
+case wxGridSizer_SetCols: { // wxGridSizer::SetCols
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * cols = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCols((int) *cols);
+ break;
+}
+case wxGridSizer_SetHGap: { // wxGridSizer::SetHGap
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * gap = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHGap((int) *gap);
+ break;
+}
+case wxGridSizer_SetRows: { // wxGridSizer::SetRows
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * rows = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRows((int) *rows);
+ break;
+}
+case wxGridSizer_SetVGap: { // wxGridSizer::SetVGap
+ wxGridSizer *This = (wxGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * gap = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetVGap((int) *gap);
+ break;
+}
+case wxFlexGridSizer_new_4: { // wxFlexGridSizer::wxFlexGridSizer
+ int * rows = (int *) bp; bp += 4;
+ int * cols = (int *) bp; bp += 4;
+ int * vgap = (int *) bp; bp += 4;
+ int * hgap = (int *) bp; bp += 4;
+ wxFlexGridSizer * Result = new EwxFlexGridSizer((int) *rows,(int) *cols,(int) *vgap,(int) *hgap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFlexGridSizer");
+ break;
+}
+case wxFlexGridSizer_new_2: { // wxFlexGridSizer::wxFlexGridSizer
+ int vgap=0;
+ int hgap=0;
+ int * cols = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ vgap = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ hgap = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxFlexGridSizer * Result = new EwxFlexGridSizer((int) *cols,vgap,hgap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFlexGridSizer");
+ break;
+}
+case wxFlexGridSizer_AddGrowableCol: { // wxFlexGridSizer::AddGrowableCol
+ int proportion=0;
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * idx = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AddGrowableCol((size_t) *idx,proportion);
+ break;
+}
+case wxFlexGridSizer_AddGrowableRow: { // wxFlexGridSizer::AddGrowableRow
+ int proportion=0;
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * idx = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AddGrowableRow((size_t) *idx,proportion);
+ break;
+}
+case wxFlexGridSizer_GetFlexibleDirection: { // wxFlexGridSizer::GetFlexibleDirection
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFlexibleDirection();
+ rt.addInt(Result);
+ break;
+}
+case wxFlexGridSizer_GetNonFlexibleGrowMode: { // wxFlexGridSizer::GetNonFlexibleGrowMode
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetNonFlexibleGrowMode();
+ rt.addInt(Result);
+ break;
+}
+case wxFlexGridSizer_RemoveGrowableCol: { // wxFlexGridSizer::RemoveGrowableCol
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * idx = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RemoveGrowableCol((size_t) *idx);
+ break;
+}
+case wxFlexGridSizer_RemoveGrowableRow: { // wxFlexGridSizer::RemoveGrowableRow
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * idx = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RemoveGrowableRow((size_t) *idx);
+ break;
+}
+case wxFlexGridSizer_SetFlexibleDirection: { // wxFlexGridSizer::SetFlexibleDirection
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ int * direction = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFlexibleDirection((int) *direction);
+ break;
+}
+case wxFlexGridSizer_SetNonFlexibleGrowMode: { // wxFlexGridSizer::SetNonFlexibleGrowMode
+ wxFlexGridSizer *This = (wxFlexGridSizer *) getPtr(bp,memenv); bp += 4;
+ wxFlexSizerGrowMode mode = *(wxFlexSizerGrowMode *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetNonFlexibleGrowMode((wxFlexSizerGrowMode) mode);
+ break;
+}
+case wxGridBagSizer_new: { // wxGridBagSizer::wxGridBagSizer
+ int vgap=0;
+ int hgap=0;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ vgap = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ hgap = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGridBagSizer * Result = new EwxGridBagSizer(vgap,hgap);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGridBagSizer");
+ break;
+}
+case wxGridBagSizer_Add_3_2: { // wxGridBagSizer::Add
+ wxGBSpan span= wxDefaultSpan;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * spanRS = (int *) bp; bp += 4;
+ int * spanCS = (int *) bp; bp += 4;
+ span = wxGBSpan(*spanRS,*spanCS);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(window,pos,span,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_Add_3_1: { // wxGridBagSizer::Add
+ wxGBSpan span= wxDefaultSpan;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * spanRS = (int *) bp; bp += 4;
+ int * spanCS = (int *) bp; bp += 4;
+ span = wxGBSpan(*spanRS,*spanCS);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,pos,span,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_Add_4: { // wxGridBagSizer::Add
+ wxGBSpan span= wxDefaultSpan;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * spanRS = (int *) bp; bp += 4;
+ int * spanCS = (int *) bp; bp += 4;
+ span = wxGBSpan(*spanRS,*spanCS);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add((int) *width,(int) *height,pos,span,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_Add_1_0: { // wxGridBagSizer::Add
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxGBSizerItem *item = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(item);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_Add_2_1: { // wxGridBagSizer::Add
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(window,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_Add_2_0: { // wxGridBagSizer::Add
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(sizer,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_Add_3_0: { // wxGridBagSizer::Add
+ int proportion=0;
+ int flag=0;
+ int border=0;
+ wxObject * userData=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ proportion = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ border = (int)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add((int) *width,(int) *height,proportion,flag,border,userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_Add_1_1: { // wxGridBagSizer::Add
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizerItem * item = (wxSizerItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizerItem * Result = (wxSizerItem*)This->Add(item);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizerItem");
+ break;
+}
+case wxGridBagSizer_CalcMin: { // wxGridBagSizer::CalcMin
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->CalcMin();
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_CheckForIntersection_2: { // wxGridBagSizer::CheckForIntersection
+ wxGBSizerItem * excludeItem=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxGBSizerItem *item = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+excludeItem = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CheckForIntersection(item,excludeItem);
+ rt.addBool(Result);
+ break;
+}
+case wxGridBagSizer_CheckForIntersection_3: { // wxGridBagSizer::CheckForIntersection
+ wxGBSizerItem * excludeItem=NULL;
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ int * spanRS = (int *) bp; bp += 4;
+ int * spanCS = (int *) bp; bp += 4;
+ wxGBSpan span = wxGBSpan(*spanRS,*spanCS);
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+excludeItem = (wxGBSizerItem *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CheckForIntersection(pos,span,excludeItem);
+ rt.addBool(Result);
+ break;
+}
+case wxGridBagSizer_FindItem_1_1: { // wxGridBagSizer::FindItem
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItem(window);
+ rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem");
+ break;
+}
+case wxGridBagSizer_FindItem_1_0: { // wxGridBagSizer::FindItem
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItem(sizer);
+ rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem");
+ break;
+}
+case wxGridBagSizer_FindItemAtPoint: { // wxGridBagSizer::FindItemAtPoint
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItemAtPoint(pt);
+ rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem");
+ break;
+}
+case wxGridBagSizer_FindItemAtPosition: { // wxGridBagSizer::FindItemAtPosition
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ if(!This) throw wxe_badarg(0);
+ wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItemAtPosition(pos);
+ rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem");
+ break;
+}
+case wxGridBagSizer_FindItemWithData: { // wxGridBagSizer::FindItemWithData
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxObject *userData = (wxObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBSizerItem * Result = (wxGBSizerItem*)This->FindItemWithData(userData);
+ rt.addRef(getRef((void *)Result,memenv), "wxGBSizerItem");
+ break;
+}
+case wxGridBagSizer_GetCellSize: { // wxGridBagSizer::GetCellSize
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetCellSize((int) *row,(int) *col);
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_GetEmptyCellSize: { // wxGridBagSizer::GetEmptyCellSize
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetEmptyCellSize();
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_GetItemPosition_1_2: { // wxGridBagSizer::GetItemPosition
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBPosition Result = This->GetItemPosition(window);
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_GetItemPosition_1_1: { // wxGridBagSizer::GetItemPosition
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBPosition Result = This->GetItemPosition(sizer);
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_GetItemPosition_1_0: { // wxGridBagSizer::GetItemPosition
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBPosition Result = This->GetItemPosition((size_t) *index);
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_GetItemSpan_1_2: { // wxGridBagSizer::GetItemSpan
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBSpan Result = This->GetItemSpan(window);
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_GetItemSpan_1_1: { // wxGridBagSizer::GetItemSpan
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBSpan Result = This->GetItemSpan(sizer);
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_GetItemSpan_1_0: { // wxGridBagSizer::GetItemSpan
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGBSpan Result = This->GetItemSpan((size_t) *index);
+ rt.add(Result);
+ break;
+}
+case wxGridBagSizer_SetEmptyCellSize: { // wxGridBagSizer::SetEmptyCellSize
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ if(!This) throw wxe_badarg(0);
+ This->SetEmptyCellSize(sz);
+ break;
+}
+case wxGridBagSizer_SetItemPosition_2_2: { // wxGridBagSizer::SetItemPosition
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemPosition(window,pos);
+ rt.addBool(Result);
+ break;
+}
+case wxGridBagSizer_SetItemPosition_2_1: { // wxGridBagSizer::SetItemPosition
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemPosition(sizer,pos);
+ rt.addBool(Result);
+ break;
+}
+case wxGridBagSizer_SetItemPosition_2_0: { // wxGridBagSizer::SetItemPosition
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * posR = (int *) bp; bp += 4;
+ int * posC = (int *) bp; bp += 4;
+ wxGBPosition pos = wxGBPosition(*posR,*posC);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemPosition((size_t) *index,pos);
+ rt.addBool(Result);
+ break;
+}
+case wxGridBagSizer_SetItemSpan_2_2: { // wxGridBagSizer::SetItemSpan
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxWindow * window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * spanRS = (int *) bp; bp += 4;
+ int * spanCS = (int *) bp; bp += 4;
+ wxGBSpan span = wxGBSpan(*spanRS,*spanCS);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemSpan(window,span);
+ rt.addBool(Result);
+ break;
+}
+case wxGridBagSizer_SetItemSpan_2_1: { // wxGridBagSizer::SetItemSpan
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ wxSizer *sizer = (wxSizer *) getPtr(bp,memenv); bp += 4;
+ int * spanRS = (int *) bp; bp += 4;
+ int * spanCS = (int *) bp; bp += 4;
+ wxGBSpan span = wxGBSpan(*spanRS,*spanCS);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemSpan(sizer,span);
+ rt.addBool(Result);
+ break;
+}
+case wxGridBagSizer_SetItemSpan_2_0: { // wxGridBagSizer::SetItemSpan
+ wxGridBagSizer *This = (wxGridBagSizer *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * spanRS = (int *) bp; bp += 4;
+ int * spanCS = (int *) bp; bp += 4;
+ wxGBSpan span = wxGBSpan(*spanRS,*spanCS);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemSpan((size_t) *index,span);
+ rt.addBool(Result);
+ break;
+}
+case wxStdDialogButtonSizer_new: { // wxStdDialogButtonSizer::wxStdDialogButtonSizer
+ wxStdDialogButtonSizer * Result = new EwxStdDialogButtonSizer();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStdDialogButtonSizer");
+ break;
+}
+case wxStdDialogButtonSizer_AddButton: { // wxStdDialogButtonSizer::AddButton
+ wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4;
+ wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AddButton(button);
+ break;
+}
+case wxStdDialogButtonSizer_Realize: { // wxStdDialogButtonSizer::Realize
+ wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Realize();
+ break;
+}
+case wxStdDialogButtonSizer_SetAffirmativeButton: { // wxStdDialogButtonSizer::SetAffirmativeButton
+ wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4;
+ wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAffirmativeButton(button);
+ break;
+}
+case wxStdDialogButtonSizer_SetCancelButton: { // wxStdDialogButtonSizer::SetCancelButton
+ wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4;
+ wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCancelButton(button);
+ break;
+}
+case wxStdDialogButtonSizer_SetNegativeButton: { // wxStdDialogButtonSizer::SetNegativeButton
+ wxStdDialogButtonSizer *This = (wxStdDialogButtonSizer *) getPtr(bp,memenv); bp += 4;
+ wxButton *button = (wxButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetNegativeButton(button);
+ break;
+}
+case wxFont_new_0: { // wxFont::wxFont
+ wxFont * Result = new EwxFont();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxFont_new_1: { // wxFont::wxFont
+ int * fontnameLen = (int *) bp; bp += 4;
+ wxString fontname = wxString(bp, wxConvUTF8);
+ bp += *fontnameLen+((8-((4+ *fontnameLen) & 7)) & 7);
+ wxFont * Result = new EwxFont(fontname);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxFont_new_5: { // wxFont::wxFont
+ bool underlined=false;
+ wxString face= wxEmptyString;
+ wxFontEncoding encoding=wxFONTENCODING_DEFAULT;
+ int * size = (int *) bp; bp += 4;
+ wxFontFamily family = *(wxFontFamily *) bp; bp += 4;;
+ wxFontStyle style = *(wxFontStyle *) bp; bp += 4;;
+ int * weight = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ underlined = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * faceLen = (int *) bp; bp += 4;
+ face = wxString(bp, wxConvUTF8);
+ bp += *faceLen+((8-((0+ *faceLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+encoding = *(wxFontEncoding *) bp; bp += 4;;
+ } break;
+ }};
+ wxFont * Result = new EwxFont((int) *size,(wxFontFamily) family,(wxFontStyle) style,(int) *weight,underlined,face,(wxFontEncoding) encoding);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxFont_IsFixedWidth: { // wxFont::IsFixedWidth
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsFixedWidth();
+ rt.addBool(Result);
+ break;
+}
+case wxFont_GetDefaultEncoding: { // wxFont::GetDefaultEncoding
+ int Result = wxFont::GetDefaultEncoding();
+ rt.addInt(Result);
+ break;
+}
+case wxFont_GetFaceName: { // wxFont::GetFaceName
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetFaceName();
+ rt.add(Result);
+ break;
+}
+case wxFont_GetFamily: { // wxFont::GetFamily
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFamily();
+ rt.addInt(Result);
+ break;
+}
+case wxFont_GetNativeFontInfoDesc: { // wxFont::GetNativeFontInfoDesc
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetNativeFontInfoDesc();
+ rt.add(Result);
+ break;
+}
+case wxFont_GetNativeFontInfoUserDesc: { // wxFont::GetNativeFontInfoUserDesc
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetNativeFontInfoUserDesc();
+ rt.add(Result);
+ break;
+}
+case wxFont_GetPointSize: { // wxFont::GetPointSize
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPointSize();
+ rt.addInt(Result);
+ break;
+}
+case wxFont_GetStyle: { // wxFont::GetStyle
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStyle();
+ rt.addInt(Result);
+ break;
+}
+case wxFont_GetUnderlined: { // wxFont::GetUnderlined
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetUnderlined();
+ rt.addBool(Result);
+ break;
+}
+case wxFont_GetWeight: { // wxFont::GetWeight
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWeight();
+ rt.addInt(Result);
+ break;
+}
+case wxFont_Ok: { // wxFont::Ok
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Ok();
+ rt.addBool(Result);
+ break;
+}
+case wxFont_SetDefaultEncoding: { // wxFont::SetDefaultEncoding
+ wxFontEncoding encoding = *(wxFontEncoding *) bp; bp += 4;;
+ wxFont::SetDefaultEncoding((wxFontEncoding) encoding);
+ break;
+}
+case wxFont_SetFaceName: { // wxFont::SetFaceName
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ int * faceNameLen = (int *) bp; bp += 4;
+ wxString faceName = wxString(bp, wxConvUTF8);
+ bp += *faceNameLen+((8-((0+ *faceNameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetFaceName(faceName);
+ rt.addBool(Result);
+ break;
+}
+case wxFont_SetFamily: { // wxFont::SetFamily
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ wxFontFamily family = *(wxFontFamily *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetFamily((wxFontFamily) family);
+ break;
+}
+case wxFont_SetPointSize: { // wxFont::SetPointSize
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ int * pointSize = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPointSize((int) *pointSize);
+ break;
+}
+case wxFont_SetStyle: { // wxFont::SetStyle
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ wxFontStyle style = *(wxFontStyle *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetStyle((wxFontStyle) style);
+ break;
+}
+case wxFont_SetUnderlined: { // wxFont::SetUnderlined
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ bool * underlined = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetUnderlined((bool) *underlined);
+ break;
+}
+case wxFont_SetWeight: { // wxFont::SetWeight
+ wxFont *This = (wxFont *) getPtr(bp,memenv); bp += 4;
+ int * weight = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWeight((int) *weight);
+ break;
+}
+case wxToolTip_Enable: { // wxToolTip::Enable
+ bool * flag = (bool *) bp; bp += 4;
+ wxToolTip::Enable((bool) *flag);
+ break;
+}
+case wxToolTip_SetDelay: { // wxToolTip::SetDelay
+ int * msecs = (int *) bp; bp += 4;
+ wxToolTip::SetDelay((long) *msecs);
+ break;
+}
+case wxToolTip_new: { // wxToolTip::wxToolTip
+ int * tipLen = (int *) bp; bp += 4;
+ wxString tip = wxString(bp, wxConvUTF8);
+ bp += *tipLen+((8-((4+ *tipLen) & 7)) & 7);
+ wxToolTip * Result = new EwxToolTip(tip);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxToolTip");
+ break;
+}
+case wxToolTip_SetTip: { // wxToolTip::SetTip
+ wxToolTip *This = (wxToolTip *) getPtr(bp,memenv); bp += 4;
+ int * tipLen = (int *) bp; bp += 4;
+ wxString tip = wxString(bp, wxConvUTF8);
+ bp += *tipLen+((8-((0+ *tipLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetTip(tip);
+ break;
+}
+case wxToolTip_GetTip: { // wxToolTip::GetTip
+ wxToolTip *This = (wxToolTip *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetTip();
+ rt.add(Result);
+ break;
+}
+case wxToolTip_GetWindow: { // wxToolTip::GetWindow
+ wxToolTip *This = (wxToolTip *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxButton_new_3: { // wxButton::wxButton
+ wxString label= wxEmptyString;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxButton * Result = new EwxButton(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxButton");
+ break;
+}
+case wxButton_new_0: { // wxButton::wxButton
+ wxButton * Result = new EwxButton();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxButton");
+ break;
+}
+case wxButton_Create: { // wxButton::Create
+ wxString label= wxEmptyString;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxButton *This = (wxButton *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxButton_GetDefaultSize: { // wxButton::GetDefaultSize
+ wxSize Result = wxButton::GetDefaultSize();
+ rt.add(Result);
+ break;
+}
+case wxButton_SetDefault: { // wxButton::SetDefault
+ wxButton *This = (wxButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefault();
+ break;
+}
+case wxButton_SetLabel: { // wxButton::SetLabel
+ wxButton *This = (wxButton *) getPtr(bp,memenv); bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabel(label);
+ break;
+}
+case wxBitmapButton_new_4: { // wxBitmapButton::wxBitmapButton
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxBU_AUTODRAW;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxBitmapButton * Result = new EwxBitmapButton(parent,(wxWindowID) *id,*bitmap,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmapButton");
+ break;
+}
+case wxBitmapButton_new_0: { // wxBitmapButton::wxBitmapButton
+ wxBitmapButton * Result = new EwxBitmapButton();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmapButton");
+ break;
+}
+case wxBitmapButton_Create: { // wxBitmapButton::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxBU_AUTODRAW;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,*bitmap,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxBitmapButton_GetBitmapDisabled: { // wxBitmapButton::GetBitmapDisabled
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxBitmap * Result = &This->GetBitmapDisabled();
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmapButton_GetBitmapFocus: { // wxBitmapButton::GetBitmapFocus
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxBitmap * Result = &This->GetBitmapFocus();
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmapButton_GetBitmapLabel: { // wxBitmapButton::GetBitmapLabel
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxBitmap * Result = &This->GetBitmapLabel();
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmapButton_GetBitmapSelected: { // wxBitmapButton::GetBitmapSelected
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxBitmap * Result = &This->GetBitmapSelected();
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmapButton_SetBitmapDisabled: { // wxBitmapButton::SetBitmapDisabled
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *disabled = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBitmapDisabled(*disabled);
+ break;
+}
+case wxBitmapButton_SetBitmapFocus: { // wxBitmapButton::SetBitmapFocus
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *focus = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBitmapFocus(*focus);
+ break;
+}
+case wxBitmapButton_SetBitmapLabel: { // wxBitmapButton::SetBitmapLabel
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBitmapLabel(*bitmap);
+ break;
+}
+case wxBitmapButton_SetBitmapSelected: { // wxBitmapButton::SetBitmapSelected
+ wxBitmapButton *This = (wxBitmapButton *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *sel = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBitmapSelected(*sel);
+ break;
+}
+case wxToggleButton_new_0: { // wxToggleButton::wxToggleButton
+ wxToggleButton * Result = new EwxToggleButton();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxToggleButton");
+ break;
+}
+case wxToggleButton_new_4: { // wxToggleButton::wxToggleButton
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxToggleButton * Result = new EwxToggleButton(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxToggleButton");
+ break;
+}
+case wxToggleButton_Create: { // wxToggleButton::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxToggleButton *This = (wxToggleButton *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxToggleButton_GetValue: { // wxToggleButton::GetValue
+ wxToggleButton *This = (wxToggleButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetValue();
+ rt.addBool(Result);
+ break;
+}
+case wxToggleButton_SetValue: { // wxToggleButton::SetValue
+ wxToggleButton *This = (wxToggleButton *) getPtr(bp,memenv); bp += 4;
+ bool * state = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetValue((bool) *state);
+ break;
+}
+case wxCalendarCtrl_new_0: { // wxCalendarCtrl::wxCalendarCtrl
+ wxCalendarCtrl * Result = new EwxCalendarCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCalendarCtrl");
+ break;
+}
+case wxCalendarCtrl_new_3: { // wxCalendarCtrl::wxCalendarCtrl
+ wxDateTime date= wxDefaultDateTime;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * dateD = (int *) bp; bp += 4;
+ int * dateMo = (int *) bp; bp += 4;
+ int * dateY = (int *) bp; bp += 4;
+ int * dateH = (int *) bp; bp += 4;
+ int * dateMi = (int *) bp; bp += 4;
+ int * dateS = (int *) bp; bp += 4;
+ date = wxDateTime((wxDateTime::wxDateTime_t) *dateD,(wxDateTime::Month) *dateMo,*dateY,(wxDateTime::wxDateTime_t) *dateH,(wxDateTime::wxDateTime_t) *dateMi,(wxDateTime::wxDateTime_t) *dateS);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxCalendarCtrl * Result = new EwxCalendarCtrl(parent,(wxWindowID) *id,date,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCalendarCtrl");
+ break;
+}
+case wxCalendarCtrl_Create: { // wxCalendarCtrl::Create
+ wxDateTime date= wxDefaultDateTime;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxCAL_SHOW_HOLIDAYS|wxWANTS_CHARS;
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * dateD = (int *) bp; bp += 4;
+ int * dateMo = (int *) bp; bp += 4;
+ int * dateY = (int *) bp; bp += 4;
+ int * dateH = (int *) bp; bp += 4;
+ int * dateMi = (int *) bp; bp += 4;
+ int * dateS = (int *) bp; bp += 4;
+ date = wxDateTime((wxDateTime::wxDateTime_t) *dateD,(wxDateTime::Month) *dateMo,*dateY,(wxDateTime::wxDateTime_t) *dateH,(wxDateTime::wxDateTime_t) *dateMi,(wxDateTime::wxDateTime_t) *dateS);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,date,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarCtrl_SetDate: { // wxCalendarCtrl::SetDate
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * dateD = (int *) bp; bp += 4;
+ int * dateMo = (int *) bp; bp += 4;
+ int * dateY = (int *) bp; bp += 4;
+ int * dateH = (int *) bp; bp += 4;
+ int * dateMi = (int *) bp; bp += 4;
+ int * dateS = (int *) bp; bp += 4;
+ wxDateTime date = wxDateTime((wxDateTime::wxDateTime_t) *dateD,(wxDateTime::Month) *dateMo,*dateY,(wxDateTime::wxDateTime_t) *dateH,(wxDateTime::wxDateTime_t) *dateMi,(wxDateTime::wxDateTime_t) *dateS);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetDate(date);
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarCtrl_GetDate: { // wxCalendarCtrl::GetDate
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxDateTime * Result = &This->GetDate();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarCtrl_EnableYearChange: { // wxCalendarCtrl::EnableYearChange
+ bool enable=true;
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableYearChange(enable);
+ break;
+}
+case wxCalendarCtrl_EnableMonthChange: { // wxCalendarCtrl::EnableMonthChange
+ bool enable=true;
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableMonthChange(enable);
+ break;
+}
+case wxCalendarCtrl_EnableHolidayDisplay: { // wxCalendarCtrl::EnableHolidayDisplay
+ bool display=true;
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ display = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->EnableHolidayDisplay(display);
+ break;
+}
+case wxCalendarCtrl_SetHeaderColours: { // wxCalendarCtrl::SetHeaderColours
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * colFgR = (int *) bp; bp += 4;
+ int * colFgG = (int *) bp; bp += 4;
+ int * colFgB = (int *) bp; bp += 4;
+ int * colFgA = (int *) bp; bp += 4;
+ wxColour colFg = wxColour(*colFgR,*colFgG,*colFgB,*colFgA);
+ int * colBgR = (int *) bp; bp += 4;
+ int * colBgG = (int *) bp; bp += 4;
+ int * colBgB = (int *) bp; bp += 4;
+ int * colBgA = (int *) bp; bp += 4;
+ wxColour colBg = wxColour(*colBgR,*colBgG,*colBgB,*colBgA);
+ if(!This) throw wxe_badarg(0);
+ This->SetHeaderColours(colFg,colBg);
+ break;
+}
+case wxCalendarCtrl_GetHeaderColourFg: { // wxCalendarCtrl::GetHeaderColourFg
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetHeaderColourFg();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarCtrl_GetHeaderColourBg: { // wxCalendarCtrl::GetHeaderColourBg
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetHeaderColourBg();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarCtrl_SetHighlightColours: { // wxCalendarCtrl::SetHighlightColours
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * colFgR = (int *) bp; bp += 4;
+ int * colFgG = (int *) bp; bp += 4;
+ int * colFgB = (int *) bp; bp += 4;
+ int * colFgA = (int *) bp; bp += 4;
+ wxColour colFg = wxColour(*colFgR,*colFgG,*colFgB,*colFgA);
+ int * colBgR = (int *) bp; bp += 4;
+ int * colBgG = (int *) bp; bp += 4;
+ int * colBgB = (int *) bp; bp += 4;
+ int * colBgA = (int *) bp; bp += 4;
+ wxColour colBg = wxColour(*colBgR,*colBgG,*colBgB,*colBgA);
+ if(!This) throw wxe_badarg(0);
+ This->SetHighlightColours(colFg,colBg);
+ break;
+}
+case wxCalendarCtrl_GetHighlightColourFg: { // wxCalendarCtrl::GetHighlightColourFg
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetHighlightColourFg();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarCtrl_GetHighlightColourBg: { // wxCalendarCtrl::GetHighlightColourBg
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetHighlightColourBg();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarCtrl_SetHolidayColours: { // wxCalendarCtrl::SetHolidayColours
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * colFgR = (int *) bp; bp += 4;
+ int * colFgG = (int *) bp; bp += 4;
+ int * colFgB = (int *) bp; bp += 4;
+ int * colFgA = (int *) bp; bp += 4;
+ wxColour colFg = wxColour(*colFgR,*colFgG,*colFgB,*colFgA);
+ int * colBgR = (int *) bp; bp += 4;
+ int * colBgG = (int *) bp; bp += 4;
+ int * colBgB = (int *) bp; bp += 4;
+ int * colBgA = (int *) bp; bp += 4;
+ wxColour colBg = wxColour(*colBgR,*colBgG,*colBgB,*colBgA);
+ if(!This) throw wxe_badarg(0);
+ This->SetHolidayColours(colFg,colBg);
+ break;
+}
+case wxCalendarCtrl_GetHolidayColourFg: { // wxCalendarCtrl::GetHolidayColourFg
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetHolidayColourFg();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarCtrl_GetHolidayColourBg: { // wxCalendarCtrl::GetHolidayColourBg
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetHolidayColourBg();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarCtrl_GetAttr: { // wxCalendarCtrl::GetAttr
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * day = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCalendarDateAttr * Result = (wxCalendarDateAttr*)This->GetAttr((size_t) *day);
+ rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr");
+ break;
+}
+case wxCalendarCtrl_SetAttr: { // wxCalendarCtrl::SetAttr
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * day = (int *) bp; bp += 4;
+ wxCalendarDateAttr *attr = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAttr((size_t) *day,attr);
+ break;
+}
+case wxCalendarCtrl_SetHoliday: { // wxCalendarCtrl::SetHoliday
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * day = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHoliday((size_t) *day);
+ break;
+}
+case wxCalendarCtrl_ResetAttr: { // wxCalendarCtrl::ResetAttr
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * day = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ResetAttr((size_t) *day);
+ break;
+}
+case wxCalendarCtrl_HitTest: { // wxCalendarCtrl::HitTest
+ wxDateTime date;
+ wxDateTime::WeekDay wd;
+ wxCalendarCtrl *This = (wxCalendarCtrl *) getPtr(bp,memenv); bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->HitTest(pos,&date,&wd);
+ rt.addInt(Result);
+ rt.add(date);
+ rt.addInt(wd);
+ rt.addTupleCount(3);
+ break;
+}
+case wxCalendarDateAttr_new_0: { // wxCalendarDateAttr::wxCalendarDateAttr
+ wxCalendarDateAttr * Result = new wxCalendarDateAttr();
+ newPtr((void *) Result, 88, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr");
+ break;
+}
+case wxCalendarDateAttr_new_2_1: { // wxCalendarDateAttr::wxCalendarDateAttr
+ wxColour colBack= wxNullColour;
+ wxColour colBorder= wxNullColour;
+ const wxFont * font= &wxNullFont;
+ wxCalendarDateBorder border=wxCAL_BORDER_NONE;
+ int * colTextR = (int *) bp; bp += 4;
+ int * colTextG = (int *) bp; bp += 4;
+ int * colTextB = (int *) bp; bp += 4;
+ int * colTextA = (int *) bp; bp += 4;
+ wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * colBackR = (int *) bp; bp += 4;
+ int * colBackG = (int *) bp; bp += 4;
+ int * colBackB = (int *) bp; bp += 4;
+ int * colBackA = (int *) bp; bp += 4;
+ colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * colBorderR = (int *) bp; bp += 4;
+ int * colBorderG = (int *) bp; bp += 4;
+ int * colBorderB = (int *) bp; bp += 4;
+ int * colBorderA = (int *) bp; bp += 4;
+ colBorder = wxColour(*colBorderR,*colBorderG,*colBorderB,*colBorderA);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 4: {bp += 4;
+border = *(wxCalendarDateBorder *) bp; bp += 4;;
+ } break;
+ }};
+ wxCalendarDateAttr * Result = new wxCalendarDateAttr(colText,colBack,colBorder,*font,(wxCalendarDateBorder) border);
+ newPtr((void *) Result, 88, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr");
+ break;
+}
+case wxCalendarDateAttr_new_2_0: { // wxCalendarDateAttr::wxCalendarDateAttr
+ wxColour colBorder= wxNullColour;
+ wxCalendarDateBorder border = *(wxCalendarDateBorder *) bp; bp += 4;;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * colBorderR = (int *) bp; bp += 4;
+ int * colBorderG = (int *) bp; bp += 4;
+ int * colBorderB = (int *) bp; bp += 4;
+ int * colBorderA = (int *) bp; bp += 4;
+ colBorder = wxColour(*colBorderR,*colBorderG,*colBorderB,*colBorderA);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxCalendarDateAttr * Result = new wxCalendarDateAttr((wxCalendarDateBorder) border,colBorder);
+ newPtr((void *) Result, 88, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCalendarDateAttr");
+ break;
+}
+case wxCalendarDateAttr_SetTextColour: { // wxCalendarDateAttr::SetTextColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ int * colTextR = (int *) bp; bp += 4;
+ int * colTextG = (int *) bp; bp += 4;
+ int * colTextB = (int *) bp; bp += 4;
+ int * colTextA = (int *) bp; bp += 4;
+ wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA);
+ if(!This) throw wxe_badarg(0);
+ This->SetTextColour(colText);
+ break;
+}
+case wxCalendarDateAttr_SetBackgroundColour: { // wxCalendarDateAttr::SetBackgroundColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ int * colBackR = (int *) bp; bp += 4;
+ int * colBackG = (int *) bp; bp += 4;
+ int * colBackB = (int *) bp; bp += 4;
+ int * colBackA = (int *) bp; bp += 4;
+ wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA);
+ if(!This) throw wxe_badarg(0);
+ This->SetBackgroundColour(colBack);
+ break;
+}
+case wxCalendarDateAttr_SetBorderColour: { // wxCalendarDateAttr::SetBorderColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetBorderColour(col);
+ break;
+}
+case wxCalendarDateAttr_SetFont: { // wxCalendarDateAttr::SetFont
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFont(*font);
+ break;
+}
+case wxCalendarDateAttr_SetBorder: { // wxCalendarDateAttr::SetBorder
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ wxCalendarDateBorder border = *(wxCalendarDateBorder *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetBorder((wxCalendarDateBorder) border);
+ break;
+}
+case wxCalendarDateAttr_SetHoliday: { // wxCalendarDateAttr::SetHoliday
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ bool * holiday = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHoliday((bool) *holiday);
+ break;
+}
+case wxCalendarDateAttr_HasTextColour: { // wxCalendarDateAttr::HasTextColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasTextColour();
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarDateAttr_HasBackgroundColour: { // wxCalendarDateAttr::HasBackgroundColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasBackgroundColour();
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarDateAttr_HasBorderColour: { // wxCalendarDateAttr::HasBorderColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasBorderColour();
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarDateAttr_HasFont: { // wxCalendarDateAttr::HasFont
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasFont();
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarDateAttr_HasBorder: { // wxCalendarDateAttr::HasBorder
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasBorder();
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarDateAttr_IsHoliday: { // wxCalendarDateAttr::IsHoliday
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsHoliday();
+ rt.addBool(Result);
+ break;
+}
+case wxCalendarDateAttr_GetTextColour: { // wxCalendarDateAttr::GetTextColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetTextColour();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarDateAttr_GetBackgroundColour: { // wxCalendarDateAttr::GetBackgroundColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetBackgroundColour();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarDateAttr_GetBorderColour: { // wxCalendarDateAttr::GetBorderColour
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetBorderColour();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarDateAttr_GetFont: { // wxCalendarDateAttr::GetFont
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxFont * Result = &This->GetFont();
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxCalendarDateAttr_GetBorder: { // wxCalendarDateAttr::GetBorder
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetBorder();
+ rt.addInt(Result);
+ break;
+}
+case wxCalendarDateAttr_destroy: { // wxCalendarDateAttr::destroy
+ wxCalendarDateAttr *This = (wxCalendarDateAttr *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxCheckBox_new_4: { // wxCheckBox::wxCheckBox
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxCheckBox * Result = new EwxCheckBox(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCheckBox");
+ break;
+}
+case wxCheckBox_new_0: { // wxCheckBox::wxCheckBox
+ wxCheckBox * Result = new EwxCheckBox();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCheckBox");
+ break;
+}
+case wxCheckBox_Create: { // wxCheckBox::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxCheckBox_GetValue: { // wxCheckBox::GetValue
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetValue();
+ rt.addBool(Result);
+ break;
+}
+case wxCheckBox_Get3StateValue: { // wxCheckBox::Get3StateValue
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Get3StateValue();
+ rt.addInt(Result);
+ break;
+}
+case wxCheckBox_Is3rdStateAllowedForUser: { // wxCheckBox::Is3rdStateAllowedForUser
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Is3rdStateAllowedForUser();
+ rt.addBool(Result);
+ break;
+}
+case wxCheckBox_Is3State: { // wxCheckBox::Is3State
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Is3State();
+ rt.addBool(Result);
+ break;
+}
+case wxCheckBox_IsChecked: { // wxCheckBox::IsChecked
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsChecked();
+ rt.addBool(Result);
+ break;
+}
+case wxCheckBox_SetValue: { // wxCheckBox::SetValue
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ bool * state = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetValue((bool) *state);
+ break;
+}
+case wxCheckBox_Set3StateValue: { // wxCheckBox::Set3StateValue
+ wxCheckBox *This = (wxCheckBox *) getPtr(bp,memenv); bp += 4;
+ wxCheckBoxState state = *(wxCheckBoxState *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->Set3StateValue((wxCheckBoxState) state);
+ break;
+}
+case wxCheckListBox_new_0: { // wxCheckListBox::wxCheckListBox
+ wxCheckListBox * Result = new EwxCheckListBox();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCheckListBox");
+ break;
+}
+case wxCheckListBox_new_3: { // wxCheckListBox::wxCheckListBox
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ wxArrayString choices;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * choicesLen = (int *) bp; bp += 4;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((0+ choicesASz) & 7 )) & 7;
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxCheckListBox * Result = new EwxCheckListBox(parent,(wxWindowID) *id,pos,size,choices,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxCheckListBox");
+ break;
+}
+case wxCheckListBox_Check: { // wxCheckListBox::Check
+ bool check=true;
+ wxCheckListBox *This = (wxCheckListBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * index = (unsigned int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ check = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Check((int) *index,check);
+ break;
+}
+case wxCheckListBox_IsChecked: { // wxCheckListBox::IsChecked
+ wxCheckListBox *This = (wxCheckListBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * index = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsChecked((int) *index);
+ rt.addBool(Result);
+ break;
+}
+case wxChoice_new_3: { // wxChoice::wxChoice
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ wxArrayString choices;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * choicesLen = (int *) bp; bp += 4;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((0+ choicesASz) & 7 )) & 7;
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxChoice * Result = new EwxChoice(parent,(wxWindowID) *id,pos,size,choices,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxChoice");
+ break;
+}
+case wxChoice_new_0: { // wxChoice::wxChoice
+ wxChoice * Result = new EwxChoice();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxChoice");
+ break;
+}
+case wxChoice_Create: { // wxChoice::Create
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((0+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,choices,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxChoice_Delete: { // wxChoice::Delete
+ wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Delete((int) *n);
+ break;
+}
+case wxChoice_GetColumns: { // wxChoice::GetColumns
+ wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColumns();
+ rt.addInt(Result);
+ break;
+}
+case wxChoice_SetColumns: { // wxChoice::SetColumns
+ int n=1;
+ wxChoice *This = (wxChoice *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ n = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetColumns(n);
+ break;
+}
+case wxComboBox_new_0: { // wxComboBox::wxComboBox
+ wxComboBox * Result = new EwxComboBox();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxComboBox");
+ break;
+}
+case wxComboBox_new_3: { // wxComboBox::wxComboBox
+ wxString value= wxEmptyString;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ wxArrayString choices;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ int * choicesLen = (int *) bp; bp += 4;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((0+ choicesASz) & 7 )) & 7;
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxComboBox * Result = new EwxComboBox(parent,(wxWindowID) *id,value,pos,size,choices,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxComboBox");
+ break;
+}
+case wxComboBox_Create: { // wxComboBox::Create
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((4+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,value,pos,size,choices,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxComboBox_CanCopy: { // wxComboBox::CanCopy
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanCopy();
+ rt.addBool(Result);
+ break;
+}
+case wxComboBox_CanCut: { // wxComboBox::CanCut
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanCut();
+ rt.addBool(Result);
+ break;
+}
+case wxComboBox_CanPaste: { // wxComboBox::CanPaste
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanPaste();
+ rt.addBool(Result);
+ break;
+}
+case wxComboBox_CanRedo: { // wxComboBox::CanRedo
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanRedo();
+ rt.addBool(Result);
+ break;
+}
+case wxComboBox_CanUndo: { // wxComboBox::CanUndo
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanUndo();
+ rt.addBool(Result);
+ break;
+}
+case wxComboBox_Copy: { // wxComboBox::Copy
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Copy();
+ break;
+}
+case wxComboBox_Cut: { // wxComboBox::Cut
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Cut();
+ break;
+}
+case wxComboBox_GetInsertionPoint: { // wxComboBox::GetInsertionPoint
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetInsertionPoint();
+ rt.addInt(Result);
+ break;
+}
+case wxComboBox_GetLastPosition: { // wxComboBox::GetLastPosition
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTextPos Result = This->GetLastPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxComboBox_GetValue: { // wxComboBox::GetValue
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetValue();
+ rt.add(Result);
+ break;
+}
+case wxComboBox_Paste: { // wxComboBox::Paste
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Paste();
+ break;
+}
+case wxComboBox_Redo: { // wxComboBox::Redo
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Redo();
+ break;
+}
+case wxComboBox_Replace: { // wxComboBox::Replace
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->Replace((long) *from,(long) *to,value);
+ break;
+}
+case wxComboBox_Remove: { // wxComboBox::Remove
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Remove((long) *from,(long) *to);
+ break;
+}
+case wxComboBox_SetInsertionPoint: { // wxComboBox::SetInsertionPoint
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInsertionPoint((long) *pos);
+ break;
+}
+case wxComboBox_SetInsertionPointEnd: { // wxComboBox::SetInsertionPointEnd
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInsertionPointEnd();
+ break;
+}
+case wxComboBox_SetSelection_1: { // wxComboBox::SetSelection
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((int) *n);
+ break;
+}
+case wxComboBox_SetSelection_2: { // wxComboBox::SetSelection
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((long) *from,(long) *to);
+ break;
+}
+case wxComboBox_SetValue: { // wxComboBox::SetValue
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetValue(value);
+ break;
+}
+case wxComboBox_Undo: { // wxComboBox::Undo
+ wxComboBox *This = (wxComboBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Undo();
+ break;
+}
+case wxGauge_new_0: { // wxGauge::wxGauge
+ wxGauge * Result = new EwxGauge();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGauge");
+ break;
+}
+case wxGauge_new_4: { // wxGauge::wxGauge
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxGA_HORIZONTAL;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * range = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxGauge * Result = new EwxGauge(parent,(wxWindowID) *id,(int) *range,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGauge");
+ break;
+}
+case wxGauge_Create: { // wxGauge::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxGA_HORIZONTAL;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * range = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,(int) *range,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxGauge_GetBezelFace: { // wxGauge::GetBezelFace
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetBezelFace();
+ rt.addInt(Result);
+ break;
+}
+case wxGauge_GetRange: { // wxGauge::GetRange
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRange();
+ rt.addInt(Result);
+ break;
+}
+case wxGauge_GetShadowWidth: { // wxGauge::GetShadowWidth
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetShadowWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxGauge_GetValue: { // wxGauge::GetValue
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetValue();
+ rt.addInt(Result);
+ break;
+}
+case wxGauge_IsVertical: { // wxGauge::IsVertical
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsVertical();
+ rt.addBool(Result);
+ break;
+}
+case wxGauge_SetBezelFace: { // wxGauge::SetBezelFace
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ int * w = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBezelFace((int) *w);
+ break;
+}
+case wxGauge_SetRange: { // wxGauge::SetRange
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ int * r = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRange((int) *r);
+ break;
+}
+case wxGauge_SetShadowWidth: { // wxGauge::SetShadowWidth
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ int * w = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetShadowWidth((int) *w);
+ break;
+}
+case wxGauge_SetValue: { // wxGauge::SetValue
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetValue((int) *pos);
+ break;
+}
+case wxGauge_Pulse: { // wxGauge::Pulse
+ wxGauge *This = (wxGauge *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Pulse();
+ break;
+}
+case wxGenericDirCtrl_new_0: { // wxGenericDirCtrl::wxGenericDirCtrl
+ wxGenericDirCtrl * Result = new EwxGenericDirCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGenericDirCtrl");
+ break;
+}
+case wxGenericDirCtrl_new_2: { // wxGenericDirCtrl::wxGenericDirCtrl
+ wxWindowID id=wxID_ANY;
+ wxString dir= wxDirDialogDefaultFolderStr;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER;
+ wxString filter= wxEmptyString;
+ int defaultFilter=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(const int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * dirLen = (int *) bp; bp += 4;
+ dir = wxString(bp, wxConvUTF8);
+ bp += *dirLen+((8-((0+ *dirLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+ int * filterLen = (int *) bp; bp += 4;
+ filter = wxString(bp, wxConvUTF8);
+ bp += *filterLen+((8-((0+ *filterLen) & 7)) & 7);
+ } break;
+ case 7: {bp += 4;
+ defaultFilter = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxGenericDirCtrl * Result = new EwxGenericDirCtrl(parent,id,dir,pos,size,style,filter,defaultFilter);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGenericDirCtrl");
+ break;
+}
+case wxGenericDirCtrl_Create: { // wxGenericDirCtrl::Create
+ wxWindowID id=wxID_ANY;
+ wxString dir= wxDirDialogDefaultFolderStr;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER;
+ wxString filter= wxEmptyString;
+ int defaultFilter=0;
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(const int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * dirLen = (int *) bp; bp += 4;
+ dir = wxString(bp, wxConvUTF8);
+ bp += *dirLen+((8-((0+ *dirLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+ int * filterLen = (int *) bp; bp += 4;
+ filter = wxString(bp, wxConvUTF8);
+ bp += *filterLen+((8-((0+ *filterLen) & 7)) & 7);
+ } break;
+ case 7: {bp += 4;
+ defaultFilter = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,dir,pos,size,style,filter,defaultFilter);
+ rt.addBool(Result);
+ break;
+}
+case wxGenericDirCtrl_Init: { // wxGenericDirCtrl::Init
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Init();
+ break;
+}
+case wxGenericDirCtrl_CollapseTree: { // wxGenericDirCtrl::CollapseTree
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CollapseTree();
+ break;
+}
+case wxGenericDirCtrl_ExpandPath: { // wxGenericDirCtrl::ExpandPath
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ wxString path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ExpandPath(path);
+ rt.addBool(Result);
+ break;
+}
+case wxGenericDirCtrl_GetDefaultPath: { // wxGenericDirCtrl::GetDefaultPath
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetDefaultPath();
+ rt.add(Result);
+ break;
+}
+case wxGenericDirCtrl_GetPath: { // wxGenericDirCtrl::GetPath
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPath();
+ rt.add(Result);
+ break;
+}
+case wxGenericDirCtrl_GetFilePath: { // wxGenericDirCtrl::GetFilePath
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetFilePath();
+ rt.add(Result);
+ break;
+}
+case wxGenericDirCtrl_GetFilter: { // wxGenericDirCtrl::GetFilter
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetFilter();
+ rt.add(Result);
+ break;
+}
+case wxGenericDirCtrl_GetFilterIndex: { // wxGenericDirCtrl::GetFilterIndex
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFilterIndex();
+ rt.addInt(Result);
+ break;
+}
+case wxGenericDirCtrl_GetRootId: { // wxGenericDirCtrl::GetRootId
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetRootId();
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxGenericDirCtrl_GetTreeCtrl: { // wxGenericDirCtrl::GetTreeCtrl
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeCtrl * Result = (wxTreeCtrl*)This->GetTreeCtrl();
+ rt.addRef(getRef((void *)Result,memenv), "wxTreeCtrl");
+ break;
+}
+case wxGenericDirCtrl_ReCreateTree: { // wxGenericDirCtrl::ReCreateTree
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ReCreateTree();
+ break;
+}
+case wxGenericDirCtrl_SetDefaultPath: { // wxGenericDirCtrl::SetDefaultPath
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ wxString path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultPath(path);
+ break;
+}
+case wxGenericDirCtrl_SetFilter: { // wxGenericDirCtrl::SetFilter
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ int * filterLen = (int *) bp; bp += 4;
+ wxString filter = wxString(bp, wxConvUTF8);
+ bp += *filterLen+((8-((0+ *filterLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetFilter(filter);
+ break;
+}
+case wxGenericDirCtrl_SetFilterIndex: { // wxGenericDirCtrl::SetFilterIndex
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFilterIndex((int) *n);
+ break;
+}
+case wxGenericDirCtrl_SetPath: { // wxGenericDirCtrl::SetPath
+ wxGenericDirCtrl *This = (wxGenericDirCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ wxString path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetPath(path);
+ break;
+}
+case wxStaticBox_new_4: { // wxStaticBox::wxStaticBox
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxStaticBox * Result = new EwxStaticBox(parent,(wxWindowID) *id,label,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticBox");
+ break;
+}
+case wxStaticBox_new_0: { // wxStaticBox::wxStaticBox
+ wxStaticBox * Result = new EwxStaticBox();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticBox");
+ break;
+}
+case wxStaticBox_Create: { // wxStaticBox::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxStaticBox *This = (wxStaticBox *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxStaticLine_new_2: { // wxStaticLine::wxStaticLine
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxLI_HORIZONTAL;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxStaticLine * Result = new EwxStaticLine(parent,id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticLine");
+ break;
+}
+case wxStaticLine_new_0: { // wxStaticLine::wxStaticLine
+ wxStaticLine * Result = new EwxStaticLine();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticLine");
+ break;
+}
+case wxStaticLine_Create: { // wxStaticLine::Create
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxLI_HORIZONTAL;
+ wxStaticLine *This = (wxStaticLine *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxStaticLine_IsVertical: { // wxStaticLine::IsVertical
+ wxStaticLine *This = (wxStaticLine *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsVertical();
+ rt.addBool(Result);
+ break;
+}
+case wxStaticLine_GetDefaultSize: { // wxStaticLine::GetDefaultSize
+ int Result = wxStaticLine::GetDefaultSize();
+ rt.addInt(Result);
+ break;
+}
+case wxListBox_new_3: { // wxListBox::wxListBox
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ wxArrayString choices;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * choicesLen = (int *) bp; bp += 4;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((0+ choicesASz) & 7 )) & 7;
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxListBox * Result = new EwxListBox(parent,(wxWindowID) *id,pos,size,choices,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListBox");
+ break;
+}
+case wxListBox_new_0: { // wxListBox::wxListBox
+ wxListBox * Result = new EwxListBox();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListBox");
+ break;
+}
+case wxListBox_Create: { // wxListBox::Create
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((0+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,choices,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxListBox_Deselect: { // wxListBox::Deselect
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Deselect((int) *n);
+ break;
+}
+case wxListBox_GetSelections: { // wxListBox::GetSelections
+ wxArrayInt aSelections;
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelections(aSelections);
+ rt.addInt(Result);
+ rt.add(aSelections);
+ rt.addTupleCount(2);
+ break;
+}
+case wxListBox_InsertItems: { // wxListBox::InsertItems
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ int * itemsLen = (int *) bp; bp += 4;
+ wxArrayString items;
+ int itemsASz = 0, * itemsTemp;
+ for(int i=0; i < *itemsLen; i++) {
+ itemsTemp = (int *) bp; bp += 4;
+ items.Add(wxString(bp, wxConvUTF8));
+ bp += *itemsTemp;
+ itemsASz += *itemsTemp+4;
+ }
+ bp += (8-((0+ itemsASz) & 7 )) & 7;
+ unsigned int * pos = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->InsertItems(items,(int) *pos);
+ break;
+}
+case wxListBox_IsSelected: { // wxListBox::IsSelected
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSelected((int) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxListBox_Set: { // wxListBox::Set
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ int * itemsLen = (int *) bp; bp += 4;
+ wxArrayString items;
+ int itemsASz = 0, * itemsTemp;
+ for(int i=0; i < *itemsLen; i++) {
+ itemsTemp = (int *) bp; bp += 4;
+ items.Add(wxString(bp, wxConvUTF8));
+ bp += *itemsTemp;
+ itemsASz += *itemsTemp+4;
+ }
+ bp += (8-((0+ itemsASz) & 7 )) & 7;
+ if(!This) throw wxe_badarg(0);
+ This->Set(items,NULL);
+ break;
+}
+case wxListBox_HitTest: { // wxListBox::HitTest
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ int * pointX = (int *) bp; bp += 4;
+ int * pointY = (int *) bp; bp += 4;
+ wxPoint point = wxPoint(*pointX,*pointY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->HitTest(point);
+ rt.addInt(Result);
+ break;
+}
+case wxListBox_SetFirstItem_1_0: { // wxListBox::SetFirstItem
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFirstItem((int) *n);
+ break;
+}
+case wxListBox_SetFirstItem_1_1: { // wxListBox::SetFirstItem
+ wxListBox *This = (wxListBox *) getPtr(bp,memenv); bp += 4;
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((0+ *sLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetFirstItem(s);
+ break;
+}
+case wxListCtrl_new_0: { // wxListCtrl::wxListCtrl
+ wxListCtrl * Result = new EwxListCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListCtrl");
+ break;
+}
+case wxListCtrl_new_2: { // wxListCtrl::wxListCtrl
+ wxWindowID winid=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxLC_ICON;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ winid = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxListCtrl * Result = new EwxListCtrl(parent,winid,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListCtrl");
+ break;
+}
+case wxListCtrl_Arrange: { // wxListCtrl::Arrange
+ int flag=wxLIST_ALIGN_DEFAULT;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flag = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Arrange(flag);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_AssignImageList: { // wxListCtrl::AssignImageList
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * which = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignImageList(imageList,(int) *which);
+ break;
+}
+case wxListCtrl_ClearAll: { // wxListCtrl::ClearAll
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearAll();
+ break;
+}
+case wxListCtrl_Create: { // wxListCtrl::Create
+ wxWindowID winid=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxLC_ICON;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ winid = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,winid,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_DeleteAllItems: { // wxListCtrl::DeleteAllItems
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteAllItems();
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_DeleteColumn: { // wxListCtrl::DeleteColumn
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteColumn((int) *col);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_DeleteItem: { // wxListCtrl::DeleteItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteItem((long) *item);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_EditLabel: { // wxListCtrl::EditLabel
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTextCtrl * Result = (wxTextCtrl*)This->EditLabel((long) *item);
+ rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl");
+ break;
+}
+case wxListCtrl_EnsureVisible: { // wxListCtrl::EnsureVisible
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->EnsureVisible((long) *item);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_FindItem_3_0: { // wxListCtrl::FindItem
+ bool partial=false;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * start = (int *) bp; bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((4+ *strLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ partial = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ long Result = This->FindItem((long) *start,str,partial);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_FindItem_3_1: { // wxListCtrl::FindItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * start = (int *) bp; bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ int * direction = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->FindItem((long) *start,pt,(int) *direction);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetColumn: { // wxListCtrl::GetColumn
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxListItem *item = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetColumn((int) *col,*item);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_GetColumnCount: { // wxListCtrl::GetColumnCount
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColumnCount();
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetColumnWidth: { // wxListCtrl::GetColumnWidth
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColumnWidth((int) *col);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetCountPerPage: { // wxListCtrl::GetCountPerPage
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCountPerPage();
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetImageList: { // wxListCtrl::GetImageList
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * which = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetImageList((int) *which);
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxListCtrl_GetItem: { // wxListCtrl::GetItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetItem(*info);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_GetItemBackgroundColour: { // wxListCtrl::GetItemBackgroundColour
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetItemBackgroundColour((long) *item);
+ rt.add(Result);
+ break;
+}
+case wxListCtrl_GetItemCount: { // wxListCtrl::GetItemCount
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetItemCount();
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetItemData: { // wxListCtrl::GetItemData
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxUIntPtr Result = This->GetItemData((long) *item);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetItemFont: { // wxListCtrl::GetItemFont
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetItemFont((long) *item)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxListCtrl_GetItemPosition: { // wxListCtrl::GetItemPosition
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetItemPosition((long) *item,pos);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_GetItemRect: { // wxListCtrl::GetItemRect
+ int code=wxLIST_RECT_BOUNDS;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ code = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetItemRect((long) *item,rect,code);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_GetItemSpacing: { // wxListCtrl::GetItemSpacing
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetItemSpacing();
+ rt.add(Result);
+ break;
+}
+case wxListCtrl_GetItemState: { // wxListCtrl::GetItemState
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * stateMask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetItemState((long) *item,(long) *stateMask);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetItemText: { // wxListCtrl::GetItemText
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetItemText((long) *item);
+ rt.add(Result);
+ break;
+}
+case wxListCtrl_GetItemTextColour: { // wxListCtrl::GetItemTextColour
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetItemTextColour((long) *item);
+ rt.add(Result);
+ break;
+}
+case wxListCtrl_GetNextItem: { // wxListCtrl::GetNextItem
+ int geometry=wxLIST_NEXT_ALL;
+ int state=wxLIST_STATE_DONTCARE;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ geometry = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ state = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetNextItem((long) *item,geometry,state);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetSelectedItemCount: { // wxListCtrl::GetSelectedItemCount
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelectedItemCount();
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetTextColour: { // wxListCtrl::GetTextColour
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetTextColour();
+ rt.add(Result);
+ break;
+}
+case wxListCtrl_GetTopItem: { // wxListCtrl::GetTopItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetTopItem();
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_GetViewRect: { // wxListCtrl::GetViewRect
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetViewRect();
+ rt.add(Result);
+ break;
+}
+case wxListCtrl_HitTest: { // wxListCtrl::HitTest
+ int flags;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pointX = (int *) bp; bp += 4;
+ int * pointY = (int *) bp; bp += 4;
+ wxPoint point = wxPoint(*pointX,*pointY);
+ if(!This) throw wxe_badarg(0);
+ long Result = This->HitTest(point,flags);
+ rt.addInt(Result);
+ rt.addInt(flags);
+ rt.addTupleCount(2);
+ break;
+}
+case wxListCtrl_InsertColumn_2: { // wxListCtrl::InsertColumn
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->InsertColumn((long) *col,*info);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_InsertColumn_3: { // wxListCtrl::InsertColumn
+ int format=wxLIST_FORMAT_LEFT;
+ int width=-1;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * headingLen = (int *) bp; bp += 4;
+ wxString heading = wxString(bp, wxConvUTF8);
+ bp += *headingLen+((8-((4+ *headingLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ format = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ width = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ long Result = This->InsertColumn((long) *col,heading,format,width);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_InsertItem_1: { // wxListCtrl::InsertItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->InsertItem(*info);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_InsertItem_2_1: { // wxListCtrl::InsertItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ long Result = This->InsertItem((long) *index,label);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_InsertItem_2_0: { // wxListCtrl::InsertItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * imageIndex = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->InsertItem((long) *index,(int) *imageIndex);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_InsertItem_3: { // wxListCtrl::InsertItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ int * imageIndex = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->InsertItem((long) *index,label,(int) *imageIndex);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_RefreshItem: { // wxListCtrl::RefreshItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RefreshItem((long) *item);
+ break;
+}
+case wxListCtrl_RefreshItems: { // wxListCtrl::RefreshItems
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * itemFrom = (int *) bp; bp += 4;
+ int * itemTo = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RefreshItems((long) *itemFrom,(long) *itemTo);
+ break;
+}
+case wxListCtrl_ScrollList: { // wxListCtrl::ScrollList
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * dx = (int *) bp; bp += 4;
+ int * dy = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ScrollList((int) *dx,(int) *dy);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetBackgroundColour: { // wxListCtrl::SetBackgroundColour
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetBackgroundColour(colour);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetColumn: { // wxListCtrl::SetColumn
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ wxListItem *item = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetColumn((int) *col,*item);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetColumnWidth: { // wxListCtrl::SetColumnWidth
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetColumnWidth((int) *col,(int) *width);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetImageList: { // wxListCtrl::SetImageList
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * which = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImageList(imageList,(int) *which);
+ break;
+}
+case wxListCtrl_SetItem_1: { // wxListCtrl::SetItem
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ wxListItem *info = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItem(*info);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetItem_4: { // wxListCtrl::SetItem
+ int imageId=-1;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ long Result = This->SetItem((long) *index,(int) *col,label,imageId);
+ rt.addInt(Result);
+ break;
+}
+case wxListCtrl_SetItemBackgroundColour: { // wxListCtrl::SetItemBackgroundColour
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemBackgroundColour((long) *item,col);
+ break;
+}
+case wxListCtrl_SetItemCount: { // wxListCtrl::SetItemCount
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * count = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetItemCount((long) *count);
+ break;
+}
+case wxListCtrl_SetItemData: { // wxListCtrl::SetItemData
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * data = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemData((long) *item,(long) *data);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetItemFont: { // wxListCtrl::SetItemFont
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ wxFont *f = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetItemFont((long) *item,*f);
+ break;
+}
+case wxListCtrl_SetItemImage: { // wxListCtrl::SetItemImage
+ int selImage=-1;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * image = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ selImage = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemImage((long) *item,(int) *image,selImage);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetItemColumnImage: { // wxListCtrl::SetItemColumnImage
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * column = (int *) bp; bp += 4;
+ int * image = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemColumnImage((long) *item,(long) *column,(int) *image);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetItemPosition: { // wxListCtrl::SetItemPosition
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemPosition((long) *item,pos);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetItemState: { // wxListCtrl::SetItemState
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * state = (int *) bp; bp += 4;
+ int * stateMask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetItemState((long) *item,(long) *state,(long) *stateMask);
+ rt.addBool(Result);
+ break;
+}
+case wxListCtrl_SetItemText: { // wxListCtrl::SetItemText
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((4+ *strLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemText((long) *item,str);
+ break;
+}
+case wxListCtrl_SetItemTextColour: { // wxListCtrl::SetItemTextColour
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemTextColour((long) *item,col);
+ break;
+}
+case wxListCtrl_SetSingleStyle: { // wxListCtrl::SetSingleStyle
+ bool add=true;
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ add = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSingleStyle((long) *style,add);
+ break;
+}
+case wxListCtrl_SetTextColour: { // wxListCtrl::SetTextColour
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetTextColour(col);
+ break;
+}
+case wxListCtrl_SetWindowStyleFlag: { // wxListCtrl::SetWindowStyleFlag
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWindowStyleFlag((long) *style);
+ break;
+}
+
+case wxListCtrl_SortItems: { // wxListCtrl::SortItems taylormade
+ wxListCtrl *This = (wxListCtrl *) getPtr(bp,memenv); bp += 4;
+ int sortCallback=*(int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+
+ callbackInfo* cb = new callbackInfo();
+ cb->port = Ecmd.port;
+ cb->callbackID = sortCallback;
+ bool Result = This->SortItems(wxEListCtrlCompare, (long)cb);
+ delete cb;
+
+ /* Destroy the callback, see wxEPrintout::clear_cb */
+ wxeReturn cbrt = wxeReturn(WXE_DRV_PORT, memenv->owner, false);
+ // NOTE: Remove this later when changing from funs to gen_server
+ cbrt.addAtom("wx_delete_cb");
+ cbrt.addInt(sortCallback);
+ cbrt.addTupleCount(2);
+ cbrt.send();
+
+ rt.addBool(Result);
+ break;
+}
+case wxListView_ClearColumnImage: { // wxListView::ClearColumnImage
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearColumnImage((int) *col);
+ break;
+}
+case wxListView_Focus: { // wxListView::Focus
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Focus((long) *index);
+ break;
+}
+case wxListView_GetFirstSelected: { // wxListView::GetFirstSelected
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetFirstSelected();
+ rt.addInt(Result);
+ break;
+}
+case wxListView_GetFocusedItem: { // wxListView::GetFocusedItem
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetFocusedItem();
+ rt.addInt(Result);
+ break;
+}
+case wxListView_GetNextSelected: { // wxListView::GetNextSelected
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ int * item = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetNextSelected((long) *item);
+ rt.addInt(Result);
+ break;
+}
+case wxListView_IsSelected: { // wxListView::IsSelected
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSelected((long) *index);
+ rt.addBool(Result);
+ break;
+}
+case wxListView_Select: { // wxListView::Select
+ bool on=true;
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ on = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Select((long) *n,on);
+ break;
+}
+case wxListView_SetColumnImage: { // wxListView::SetColumnImage
+ wxListView *This = (wxListView *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ int * image = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColumnImage((int) *col,(int) *image);
+ break;
+}
+case wxListItem_new_0: { // wxListItem::wxListItem
+ wxListItem * Result = new EwxListItem();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListItem");
+ break;
+}
+case wxListItem_new_1: { // wxListItem::wxListItem
+ wxListItem *item = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ wxListItem * Result = new EwxListItem(*item);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListItem");
+ break;
+}
+case wxListItem_Clear: { // wxListItem::Clear
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clear();
+ break;
+}
+case wxListItem_GetAlign: { // wxListItem::GetAlign
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetAlign();
+ rt.addInt(Result);
+ break;
+}
+case wxListItem_GetBackgroundColour: { // wxListItem::GetBackgroundColour
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetBackgroundColour();
+ rt.add(Result);
+ break;
+}
+case wxListItem_GetColumn: { // wxListItem::GetColumn
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColumn();
+ rt.addInt(Result);
+ break;
+}
+case wxListItem_GetFont: { // wxListItem::GetFont
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxListItem_GetId: { // wxListItem::GetId
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetId();
+ rt.addInt(Result);
+ break;
+}
+case wxListItem_GetImage: { // wxListItem::GetImage
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetImage();
+ rt.addInt(Result);
+ break;
+}
+case wxListItem_GetMask: { // wxListItem::GetMask
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetMask();
+ rt.addInt(Result);
+ break;
+}
+case wxListItem_GetState: { // wxListItem::GetState
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetState();
+ rt.addInt(Result);
+ break;
+}
+case wxListItem_GetText: { // wxListItem::GetText
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetText();
+ rt.add(Result);
+ break;
+}
+case wxListItem_GetTextColour: { // wxListItem::GetTextColour
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetTextColour();
+ rt.add(Result);
+ break;
+}
+case wxListItem_GetWidth: { // wxListItem::GetWidth
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxListItem_SetAlign: { // wxListItem::SetAlign
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ wxListColumnFormat align = *(wxListColumnFormat *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetAlign((wxListColumnFormat) align);
+ break;
+}
+case wxListItem_SetBackgroundColour: { // wxListItem::SetBackgroundColour
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * colBackR = (int *) bp; bp += 4;
+ int * colBackG = (int *) bp; bp += 4;
+ int * colBackB = (int *) bp; bp += 4;
+ int * colBackA = (int *) bp; bp += 4;
+ wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA);
+ if(!This) throw wxe_badarg(0);
+ This->SetBackgroundColour(colBack);
+ break;
+}
+case wxListItem_SetColumn: { // wxListItem::SetColumn
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * col = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColumn((int) *col);
+ break;
+}
+case wxListItem_SetFont: { // wxListItem::SetFont
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFont(*font);
+ break;
+}
+case wxListItem_SetId: { // wxListItem::SetId
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetId((long) *id);
+ break;
+}
+case wxListItem_SetImage: { // wxListItem::SetImage
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * image = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImage((int) *image);
+ break;
+}
+case wxListItem_SetMask: { // wxListItem::SetMask
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * mask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMask((long) *mask);
+ break;
+}
+case wxListItem_SetState: { // wxListItem::SetState
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * state = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetState((long) *state);
+ break;
+}
+case wxListItem_SetStateMask: { // wxListItem::SetStateMask
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * stateMask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStateMask((long) *stateMask);
+ break;
+}
+case wxListItem_SetText: { // wxListItem::SetText
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetText(text);
+ break;
+}
+case wxListItem_SetTextColour: { // wxListItem::SetTextColour
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * colTextR = (int *) bp; bp += 4;
+ int * colTextG = (int *) bp; bp += 4;
+ int * colTextB = (int *) bp; bp += 4;
+ int * colTextA = (int *) bp; bp += 4;
+ wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA);
+ if(!This) throw wxe_badarg(0);
+ This->SetTextColour(colText);
+ break;
+}
+case wxListItem_SetWidth: { // wxListItem::SetWidth
+ wxListItem *This = (wxListItem *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWidth((int) *width);
+ break;
+}
+case wxImageList_new_0: { // wxImageList::wxImageList
+ wxImageList * Result = new EwxImageList();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxImageList_new_3: { // wxImageList::wxImageList
+ bool mask=true;
+ int initialCount=1;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ mask = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ initialCount = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxImageList * Result = new EwxImageList((int) *width,(int) *height,mask,initialCount);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxImageList_Add_1: { // wxImageList::Add
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Add(*bitmap);
+ rt.addInt(Result);
+ break;
+}
+case wxImageList_Add_2_0: { // wxImageList::Add
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *mask = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Add(*bitmap,*mask);
+ rt.addInt(Result);
+ break;
+}
+case wxImageList_Add_2_1: { // wxImageList::Add
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ int * maskColourR = (int *) bp; bp += 4;
+ int * maskColourG = (int *) bp; bp += 4;
+ int * maskColourB = (int *) bp; bp += 4;
+ int * maskColourA = (int *) bp; bp += 4;
+ wxColour maskColour = wxColour(*maskColourR,*maskColourG,*maskColourB,*maskColourA);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->Add(*bitmap,maskColour);
+ rt.addInt(Result);
+ break;
+}
+case wxImageList_Create: { // wxImageList::Create
+ bool mask=true;
+ int initialCount=1;
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ int * height = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ mask = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ initialCount = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create((int) *width,(int) *height,mask,initialCount);
+ rt.addBool(Result);
+ break;
+}
+case wxImageList_Draw: { // wxImageList::Draw
+ int flags=wxIMAGELIST_DRAW_NORMAL;
+ bool solidBackground=false;
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ solidBackground = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Draw((int) *index,*dc,(int) *x,(int) *y,flags,solidBackground);
+ rt.addBool(Result);
+ break;
+}
+case wxImageList_GetBitmap: { // wxImageList::GetBitmap
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = new wxBitmap(This->GetBitmap((int) *index)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxImageList_GetIcon: { // wxImageList::GetIcon
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxIcon * Result = new wxIcon(This->GetIcon((int) *index)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxImageList_GetImageCount: { // wxImageList::GetImageCount
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetImageCount();
+ rt.addInt(Result);
+ break;
+}
+case wxImageList_GetSize: { // wxImageList::GetSize
+ int width;
+ int height;
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSize((int) *index,width,height);
+ rt.addBool(Result);
+ rt.addInt(width);
+ rt.addInt(height);
+ rt.addTupleCount(3);
+ break;
+}
+case wxImageList_Remove: { // wxImageList::Remove
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Remove((int) *index);
+ rt.addBool(Result);
+ break;
+}
+case wxImageList_RemoveAll: { // wxImageList::RemoveAll
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RemoveAll();
+ rt.addBool(Result);
+ break;
+}
+case wxImageList_Replace_2: { // wxImageList::Replace
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Replace((int) *index,*bitmap);
+ rt.addBool(Result);
+ break;
+}
+case wxImageList_Replace_3: { // wxImageList::Replace
+ wxImageList *This = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ int * index = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *mask = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Replace((int) *index,*bitmap,*mask);
+ rt.addBool(Result);
+ break;
+}
+case wxTextAttr_new_0: { // wxTextAttr::wxTextAttr
+ wxTextAttr * Result = new wxTextAttr();
+ newPtr((void *) Result, 102, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTextAttr");
+ break;
+}
+case wxTextAttr_new_2: { // wxTextAttr::wxTextAttr
+ wxColour colBack= wxNullColour;
+ const wxFont * font= &wxNullFont;
+ wxTextAttrAlignment alignment=wxTEXT_ALIGNMENT_DEFAULT;
+ int * colTextR = (int *) bp; bp += 4;
+ int * colTextG = (int *) bp; bp += 4;
+ int * colTextB = (int *) bp; bp += 4;
+ int * colTextA = (int *) bp; bp += 4;
+ wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * colBackR = (int *) bp; bp += 4;
+ int * colBackG = (int *) bp; bp += 4;
+ int * colBackB = (int *) bp; bp += 4;
+ int * colBackA = (int *) bp; bp += 4;
+ colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 3: {bp += 4;
+alignment = *(wxTextAttrAlignment *) bp; bp += 4;;
+ } break;
+ }};
+ wxTextAttr * Result = new wxTextAttr(colText,colBack,*font,(wxTextAttrAlignment) alignment);
+ newPtr((void *) Result, 102, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTextAttr");
+ break;
+}
+case wxTextAttr_GetAlignment: { // wxTextAttr::GetAlignment
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetAlignment();
+ rt.addInt(Result);
+ break;
+}
+case wxTextAttr_GetBackgroundColour: { // wxTextAttr::GetBackgroundColour
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetBackgroundColour();
+ rt.add((*Result));
+ break;
+}
+case wxTextAttr_GetFont: { // wxTextAttr::GetFont
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxFont * Result = &This->GetFont();
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxTextAttr_GetLeftIndent: { // wxTextAttr::GetLeftIndent
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetLeftIndent();
+ rt.addInt(Result);
+ break;
+}
+case wxTextAttr_GetLeftSubIndent: { // wxTextAttr::GetLeftSubIndent
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetLeftSubIndent();
+ rt.addInt(Result);
+ break;
+}
+case wxTextAttr_GetRightIndent: { // wxTextAttr::GetRightIndent
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetRightIndent();
+ rt.addInt(Result);
+ break;
+}
+case wxTextAttr_GetTabs: { // wxTextAttr::GetTabs
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxArrayInt Result = This->GetTabs();
+ rt.add(Result);
+ break;
+}
+case wxTextAttr_GetTextColour: { // wxTextAttr::GetTextColour
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetTextColour();
+ rt.add((*Result));
+ break;
+}
+case wxTextAttr_HasBackgroundColour: { // wxTextAttr::HasBackgroundColour
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasBackgroundColour();
+ rt.addBool(Result);
+ break;
+}
+case wxTextAttr_HasFont: { // wxTextAttr::HasFont
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasFont();
+ rt.addBool(Result);
+ break;
+}
+case wxTextAttr_HasTextColour: { // wxTextAttr::HasTextColour
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasTextColour();
+ rt.addBool(Result);
+ break;
+}
+case wxTextAttr_GetFlags: { // wxTextAttr::GetFlags
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetFlags();
+ rt.addInt(Result);
+ break;
+}
+case wxTextAttr_IsDefault: { // wxTextAttr::IsDefault
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsDefault();
+ rt.addBool(Result);
+ break;
+}
+case wxTextAttr_SetAlignment: { // wxTextAttr::SetAlignment
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ wxTextAttrAlignment alignment = *(wxTextAttrAlignment *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetAlignment((wxTextAttrAlignment) alignment);
+ break;
+}
+case wxTextAttr_SetBackgroundColour: { // wxTextAttr::SetBackgroundColour
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ int * colBackR = (int *) bp; bp += 4;
+ int * colBackG = (int *) bp; bp += 4;
+ int * colBackB = (int *) bp; bp += 4;
+ int * colBackA = (int *) bp; bp += 4;
+ wxColour colBack = wxColour(*colBackR,*colBackG,*colBackB,*colBackA);
+ if(!This) throw wxe_badarg(0);
+ This->SetBackgroundColour(colBack);
+ break;
+}
+case wxTextAttr_SetFlags: { // wxTextAttr::SetFlags
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFlags((long) *flags);
+ break;
+}
+case wxTextAttr_SetFont: { // wxTextAttr::SetFont
+ long flags=(0x0004|0x0008|0x0010|0x0020|0x0040);
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetFont(*font,flags);
+ break;
+}
+case wxTextAttr_SetLeftIndent: { // wxTextAttr::SetLeftIndent
+ int subIndent=0;
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ int * indent = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ subIndent = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetLeftIndent((int) *indent,subIndent);
+ break;
+}
+case wxTextAttr_SetRightIndent: { // wxTextAttr::SetRightIndent
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ int * indent = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRightIndent((int) *indent);
+ break;
+}
+case wxTextAttr_SetTabs: { // wxTextAttr::SetTabs
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ int * tabsLen = (int *) bp; bp += 4;
+ wxArrayInt tabs;
+ for(int i=0; i < *tabsLen; i++) { tabs.Add(*(int *) bp); bp += 4;}
+ bp += ((*tabsLen + 2) % 2 )*4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTabs(tabs);
+ break;
+}
+case wxTextAttr_SetTextColour: { // wxTextAttr::SetTextColour
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ int * colTextR = (int *) bp; bp += 4;
+ int * colTextG = (int *) bp; bp += 4;
+ int * colTextB = (int *) bp; bp += 4;
+ int * colTextA = (int *) bp; bp += 4;
+ wxColour colText = wxColour(*colTextR,*colTextG,*colTextB,*colTextA);
+ if(!This) throw wxe_badarg(0);
+ This->SetTextColour(colText);
+ break;
+}
+case wxTextAttr_destroy: { // wxTextAttr::destroy
+ wxTextAttr *This = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxTextCtrl_new_3: { // wxTextCtrl::wxTextCtrl
+ wxString value= wxEmptyString;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxTextCtrl * Result = new EwxTextCtrl(parent,(wxWindowID) *id,value,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl");
+ break;
+}
+case wxTextCtrl_new_0: { // wxTextCtrl::wxTextCtrl
+ wxTextCtrl * Result = new EwxTextCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl");
+ break;
+}
+case wxTextCtrl_AppendText: { // wxTextCtrl::AppendText
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AppendText(text);
+ break;
+}
+case wxTextCtrl_CanCopy: { // wxTextCtrl::CanCopy
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanCopy();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_CanCut: { // wxTextCtrl::CanCut
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanCut();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_CanPaste: { // wxTextCtrl::CanPaste
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanPaste();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_CanRedo: { // wxTextCtrl::CanRedo
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanRedo();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_CanUndo: { // wxTextCtrl::CanUndo
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanUndo();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_Clear: { // wxTextCtrl::Clear
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clear();
+ break;
+}
+case wxTextCtrl_Copy: { // wxTextCtrl::Copy
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Copy();
+ break;
+}
+case wxTextCtrl_Create: { // wxTextCtrl::Create
+ wxString value= wxEmptyString;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,value,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_Cut: { // wxTextCtrl::Cut
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Cut();
+ break;
+}
+case wxTextCtrl_DiscardEdits: { // wxTextCtrl::DiscardEdits
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DiscardEdits();
+ break;
+}
+case wxTextCtrl_EmulateKeyPress: { // wxTextCtrl::EmulateKeyPress
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ wxKeyEvent *event = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->EmulateKeyPress(*event);
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_GetDefaultStyle: { // wxTextCtrl::GetDefaultStyle
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxTextAttr * Result = &This->GetDefaultStyle();
+ rt.addRef(getRef((void *)Result,memenv), "wxTextAttr");
+ break;
+}
+case wxTextCtrl_GetInsertionPoint: { // wxTextCtrl::GetInsertionPoint
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetInsertionPoint();
+ rt.addInt(Result);
+ break;
+}
+case wxTextCtrl_GetLastPosition: { // wxTextCtrl::GetLastPosition
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTextPos Result = This->GetLastPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxTextCtrl_GetLineLength: { // wxTextCtrl::GetLineLength
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lineNo = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLineLength((long) *lineNo);
+ rt.addInt(Result);
+ break;
+}
+case wxTextCtrl_GetLineText: { // wxTextCtrl::GetLineText
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lineNo = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLineText((long) *lineNo);
+ rt.add(Result);
+ break;
+}
+case wxTextCtrl_GetNumberOfLines: { // wxTextCtrl::GetNumberOfLines
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetNumberOfLines();
+ rt.addInt(Result);
+ break;
+}
+case wxTextCtrl_GetRange: { // wxTextCtrl::GetRange
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetRange((long) *from,(long) *to);
+ rt.add(Result);
+ break;
+}
+case wxTextCtrl_GetSelection: { // wxTextCtrl::GetSelection
+ long from;
+ long to;
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetSelection(&from,&to);
+ rt.addInt(from);
+ rt.addInt(to);
+ rt.addTupleCount(2);
+ break;
+}
+case wxTextCtrl_GetStringSelection: { // wxTextCtrl::GetStringSelection
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetStringSelection();
+ rt.add(Result);
+ break;
+}
+case wxTextCtrl_GetStyle: { // wxTextCtrl::GetStyle
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * position = (int *) bp; bp += 4;
+ wxTextAttr *style = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetStyle((long) *position,*style);
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_GetValue: { // wxTextCtrl::GetValue
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetValue();
+ rt.add(Result);
+ break;
+}
+case wxTextCtrl_IsEditable: { // wxTextCtrl::IsEditable
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEditable();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_IsModified: { // wxTextCtrl::IsModified
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsModified();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_IsMultiLine: { // wxTextCtrl::IsMultiLine
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsMultiLine();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_IsSingleLine: { // wxTextCtrl::IsSingleLine
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSingleLine();
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_LoadFile: { // wxTextCtrl::LoadFile
+ int fileType=0;
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * fileLen = (int *) bp; bp += 4;
+ wxString file = wxString(bp, wxConvUTF8);
+ bp += *fileLen+((8-((0+ *fileLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ fileType = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadFile(file,fileType);
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_MarkDirty: { // wxTextCtrl::MarkDirty
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MarkDirty();
+ break;
+}
+case wxTextCtrl_Paste: { // wxTextCtrl::Paste
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Paste();
+ break;
+}
+case wxTextCtrl_PositionToXY: { // wxTextCtrl::PositionToXY
+ long x;
+ long y;
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PositionToXY((long) *pos,&x,&y);
+ rt.addBool(Result);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addTupleCount(3);
+ break;
+}
+case wxTextCtrl_Redo: { // wxTextCtrl::Redo
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Redo();
+ break;
+}
+case wxTextCtrl_Remove: { // wxTextCtrl::Remove
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Remove((long) *from,(long) *to);
+ break;
+}
+case wxTextCtrl_Replace: { // wxTextCtrl::Replace
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->Replace((long) *from,(long) *to,value);
+ break;
+}
+case wxTextCtrl_SaveFile: { // wxTextCtrl::SaveFile
+ wxString file= wxEmptyString;
+ int fileType=0;
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * fileLen = (int *) bp; bp += 4;
+ file = wxString(bp, wxConvUTF8);
+ bp += *fileLen+((8-((0+ *fileLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ fileType = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SaveFile(file,fileType);
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_SetDefaultStyle: { // wxTextCtrl::SetDefaultStyle
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTextAttr *style = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetDefaultStyle(*style);
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_SetEditable: { // wxTextCtrl::SetEditable
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * editable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetEditable((bool) *editable);
+ break;
+}
+case wxTextCtrl_SetInsertionPoint: { // wxTextCtrl::SetInsertionPoint
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInsertionPoint((long) *pos);
+ break;
+}
+case wxTextCtrl_SetInsertionPointEnd: { // wxTextCtrl::SetInsertionPointEnd
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInsertionPointEnd();
+ break;
+}
+case wxTextCtrl_SetMaxLength: { // wxTextCtrl::SetMaxLength
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ unsigned int * len = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMaxLength((long) *len);
+ break;
+}
+case wxTextCtrl_SetSelection: { // wxTextCtrl::SetSelection
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((long) *from,(long) *to);
+ break;
+}
+case wxTextCtrl_SetStyle: { // wxTextCtrl::SetStyle
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * start = (int *) bp; bp += 4;
+ int * end = (int *) bp; bp += 4;
+ wxTextAttr *style = (wxTextAttr *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetStyle((long) *start,(long) *end,*style);
+ rt.addBool(Result);
+ break;
+}
+case wxTextCtrl_SetValue: { // wxTextCtrl::SetValue
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetValue(value);
+ break;
+}
+case wxTextCtrl_ShowPosition: { // wxTextCtrl::ShowPosition
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ShowPosition((long) *pos);
+ break;
+}
+case wxTextCtrl_Undo: { // wxTextCtrl::Undo
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Undo();
+ break;
+}
+case wxTextCtrl_WriteText: { // wxTextCtrl::WriteText
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->WriteText(text);
+ break;
+}
+case wxTextCtrl_XYToPosition: { // wxTextCtrl::XYToPosition
+ wxTextCtrl *This = (wxTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->XYToPosition((long) *x,(long) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxNotebook_new_0: { // wxNotebook::wxNotebook
+ wxNotebook * Result = new EwxNotebook();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxNotebook");
+ break;
+}
+case wxNotebook_new_3: { // wxNotebook::wxNotebook
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * winid = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxNotebook * Result = new EwxNotebook(parent,(wxWindowID) *winid,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxNotebook");
+ break;
+}
+case wxNotebook_AddPage: { // wxNotebook::AddPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPage(page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_AdvanceSelection: { // wxNotebook::AdvanceSelection
+ bool forward=true;
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ forward = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AdvanceSelection(forward);
+ break;
+}
+case wxNotebook_AssignImageList: { // wxNotebook::AssignImageList
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignImageList(imageList);
+ break;
+}
+case wxNotebook_Create: { // wxNotebook::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_DeleteAllPages: { // wxNotebook::DeleteAllPages
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteAllPages();
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_DeletePage: { // wxNotebook::DeletePage
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeletePage((size_t) *nPage);
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_RemovePage: { // wxNotebook::RemovePage
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RemovePage((size_t) *nPage);
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_GetCurrentPage: { // wxNotebook::GetCurrentPage
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetCurrentPage();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxNotebook_GetImageList: { // wxNotebook::GetImageList
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetImageList();
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxNotebook_GetPage: { // wxNotebook::GetPage
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxNotebook_GetPageCount: { // wxNotebook::GetPageCount
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetPageCount();
+ rt.addInt(Result);
+ break;
+}
+case wxNotebook_GetPageImage: { // wxNotebook::GetPageImage
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageImage((size_t) *nPage);
+ rt.addInt(Result);
+ break;
+}
+case wxNotebook_GetPageText: { // wxNotebook::GetPageText
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPageText((size_t) *nPage);
+ rt.add(Result);
+ break;
+}
+case wxNotebook_GetRowCount: { // wxNotebook::GetRowCount
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRowCount();
+ rt.addInt(Result);
+ break;
+}
+case wxNotebook_GetSelection: { // wxNotebook::GetSelection
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxNotebook_GetThemeBackgroundColour: { // wxNotebook::GetThemeBackgroundColour
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetThemeBackgroundColour();
+ rt.add(Result);
+ break;
+}
+case wxNotebook_HitTest: { // wxNotebook::HitTest
+ long flags;
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->HitTest(pt,&flags);
+ rt.addInt(Result);
+ rt.addInt(flags);
+ rt.addTupleCount(2);
+ break;
+}
+case wxNotebook_InsertPage: { // wxNotebook::InsertPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * position = (int *) bp; bp += 4;
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * strTextLen = (int *) bp; bp += 4;
+ wxString strText = wxString(bp, wxConvUTF8);
+ bp += *strTextLen+((8-((0+ *strTextLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertPage((size_t) *position,win,strText,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_SetImageList: { // wxNotebook::SetImageList
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImageList(imageList);
+ break;
+}
+case wxNotebook_SetPadding: { // wxNotebook::SetPadding
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * paddingW = (int *) bp; bp += 4;
+ int * paddingH = (int *) bp; bp += 4;
+ wxSize padding = wxSize(*paddingW,*paddingH);
+ if(!This) throw wxe_badarg(0);
+ This->SetPadding(padding);
+ break;
+}
+case wxNotebook_SetPageSize: { // wxNotebook::SetPageSize
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetPageSize(size);
+ break;
+}
+case wxNotebook_SetPageImage: { // wxNotebook::SetPageImage
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ int * nImage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageImage((size_t) *nPage,(int) *nImage);
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_SetPageText: { // wxNotebook::SetPageText
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ int * strTextLen = (int *) bp; bp += 4;
+ wxString strText = wxString(bp, wxConvUTF8);
+ bp += *strTextLen+((8-((4+ *strTextLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageText((size_t) *nPage,strText);
+ rt.addBool(Result);
+ break;
+}
+case wxNotebook_SetSelection: { // wxNotebook::SetSelection
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SetSelection((size_t) *nPage);
+ rt.addInt(Result);
+ break;
+}
+case wxNotebook_ChangeSelection: { // wxNotebook::ChangeSelection
+ wxNotebook *This = (wxNotebook *) getPtr(bp,memenv); bp += 4;
+ int * nPage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ChangeSelection((size_t) *nPage);
+ rt.addInt(Result);
+ break;
+}
+case wxChoicebook_new_0: { // wxChoicebook::wxChoicebook
+ wxChoicebook * Result = new EwxChoicebook();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxChoicebook");
+ break;
+}
+case wxChoicebook_new_3: { // wxChoicebook::wxChoicebook
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxChoicebook * Result = new EwxChoicebook(parent,(wxWindowID) *id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxChoicebook");
+ break;
+}
+case wxChoicebook_AddPage: { // wxChoicebook::AddPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPage(page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_AdvanceSelection: { // wxChoicebook::AdvanceSelection
+ bool forward=true;
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ forward = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AdvanceSelection(forward);
+ break;
+}
+case wxChoicebook_AssignImageList: { // wxChoicebook::AssignImageList
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignImageList(imageList);
+ break;
+}
+case wxChoicebook_Create: { // wxChoicebook::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_DeleteAllPages: { // wxChoicebook::DeleteAllPages
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteAllPages();
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_DeletePage: { // wxChoicebook::DeletePage
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeletePage((size_t) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_RemovePage: { // wxChoicebook::RemovePage
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RemovePage((size_t) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_GetCurrentPage: { // wxChoicebook::GetCurrentPage
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetCurrentPage();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxChoicebook_GetImageList: { // wxChoicebook::GetImageList
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetImageList();
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxChoicebook_GetPage: { // wxChoicebook::GetPage
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxChoicebook_GetPageCount: { // wxChoicebook::GetPageCount
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetPageCount();
+ rt.addInt(Result);
+ break;
+}
+case wxChoicebook_GetPageImage: { // wxChoicebook::GetPageImage
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageImage((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxChoicebook_GetPageText: { // wxChoicebook::GetPageText
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPageText((size_t) *n);
+ rt.add(Result);
+ break;
+}
+case wxChoicebook_GetSelection: { // wxChoicebook::GetSelection
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxChoicebook_HitTest: { // wxChoicebook::HitTest
+ long flags;
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->HitTest(pt,&flags);
+ rt.addInt(Result);
+ rt.addInt(flags);
+ rt.addTupleCount(2);
+ break;
+}
+case wxChoicebook_InsertPage: { // wxChoicebook::InsertPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertPage((size_t) *n,page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_SetImageList: { // wxChoicebook::SetImageList
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImageList(imageList);
+ break;
+}
+case wxChoicebook_SetPageSize: { // wxChoicebook::SetPageSize
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetPageSize(size);
+ break;
+}
+case wxChoicebook_SetPageImage: { // wxChoicebook::SetPageImage
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * imageId = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageImage((size_t) *n,(int) *imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_SetPageText: { // wxChoicebook::SetPageText
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * strTextLen = (int *) bp; bp += 4;
+ wxString strText = wxString(bp, wxConvUTF8);
+ bp += *strTextLen+((8-((4+ *strTextLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageText((size_t) *n,strText);
+ rt.addBool(Result);
+ break;
+}
+case wxChoicebook_SetSelection: { // wxChoicebook::SetSelection
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SetSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxChoicebook_ChangeSelection: { // wxChoicebook::ChangeSelection
+ wxChoicebook *This = (wxChoicebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ChangeSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxToolbook_new_0: { // wxToolbook::wxToolbook
+ wxToolbook * Result = new EwxToolbook();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxToolbook");
+ break;
+}
+case wxToolbook_new_3: { // wxToolbook::wxToolbook
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxToolbook * Result = new EwxToolbook(parent,(wxWindowID) *id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxToolbook");
+ break;
+}
+case wxToolbook_AddPage: { // wxToolbook::AddPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPage(page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_AdvanceSelection: { // wxToolbook::AdvanceSelection
+ bool forward=true;
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ forward = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AdvanceSelection(forward);
+ break;
+}
+case wxToolbook_AssignImageList: { // wxToolbook::AssignImageList
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignImageList(imageList);
+ break;
+}
+case wxToolbook_Create: { // wxToolbook::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_DeleteAllPages: { // wxToolbook::DeleteAllPages
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteAllPages();
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_DeletePage: { // wxToolbook::DeletePage
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeletePage((size_t) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_RemovePage: { // wxToolbook::RemovePage
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RemovePage((size_t) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_GetCurrentPage: { // wxToolbook::GetCurrentPage
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetCurrentPage();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxToolbook_GetImageList: { // wxToolbook::GetImageList
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetImageList();
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxToolbook_GetPage: { // wxToolbook::GetPage
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxToolbook_GetPageCount: { // wxToolbook::GetPageCount
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetPageCount();
+ rt.addInt(Result);
+ break;
+}
+case wxToolbook_GetPageImage: { // wxToolbook::GetPageImage
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageImage((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxToolbook_GetPageText: { // wxToolbook::GetPageText
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPageText((size_t) *n);
+ rt.add(Result);
+ break;
+}
+case wxToolbook_GetSelection: { // wxToolbook::GetSelection
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxToolbook_HitTest: { // wxToolbook::HitTest
+ long flags;
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->HitTest(pt,&flags);
+ rt.addInt(Result);
+ rt.addInt(flags);
+ rt.addTupleCount(2);
+ break;
+}
+case wxToolbook_InsertPage: { // wxToolbook::InsertPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertPage((size_t) *n,page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_SetImageList: { // wxToolbook::SetImageList
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImageList(imageList);
+ break;
+}
+case wxToolbook_SetPageSize: { // wxToolbook::SetPageSize
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetPageSize(size);
+ break;
+}
+case wxToolbook_SetPageImage: { // wxToolbook::SetPageImage
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * imageId = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageImage((size_t) *n,(int) *imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_SetPageText: { // wxToolbook::SetPageText
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * strTextLen = (int *) bp; bp += 4;
+ wxString strText = wxString(bp, wxConvUTF8);
+ bp += *strTextLen+((8-((4+ *strTextLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageText((size_t) *n,strText);
+ rt.addBool(Result);
+ break;
+}
+case wxToolbook_SetSelection: { // wxToolbook::SetSelection
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SetSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxToolbook_ChangeSelection: { // wxToolbook::ChangeSelection
+ wxToolbook *This = (wxToolbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ChangeSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxListbook_new_0: { // wxListbook::wxListbook
+ wxListbook * Result = new EwxListbook();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListbook");
+ break;
+}
+case wxListbook_new_3: { // wxListbook::wxListbook
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxListbook * Result = new EwxListbook(parent,(wxWindowID) *id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxListbook");
+ break;
+}
+case wxListbook_AddPage: { // wxListbook::AddPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPage(page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_AdvanceSelection: { // wxListbook::AdvanceSelection
+ bool forward=true;
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ forward = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AdvanceSelection(forward);
+ break;
+}
+case wxListbook_AssignImageList: { // wxListbook::AssignImageList
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignImageList(imageList);
+ break;
+}
+case wxListbook_Create: { // wxListbook::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_DeleteAllPages: { // wxListbook::DeleteAllPages
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteAllPages();
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_DeletePage: { // wxListbook::DeletePage
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeletePage((size_t) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_RemovePage: { // wxListbook::RemovePage
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RemovePage((size_t) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_GetCurrentPage: { // wxListbook::GetCurrentPage
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetCurrentPage();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxListbook_GetImageList: { // wxListbook::GetImageList
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetImageList();
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxListbook_GetPage: { // wxListbook::GetPage
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxListbook_GetPageCount: { // wxListbook::GetPageCount
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetPageCount();
+ rt.addInt(Result);
+ break;
+}
+case wxListbook_GetPageImage: { // wxListbook::GetPageImage
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageImage((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxListbook_GetPageText: { // wxListbook::GetPageText
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPageText((size_t) *n);
+ rt.add(Result);
+ break;
+}
+case wxListbook_GetSelection: { // wxListbook::GetSelection
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxListbook_HitTest: { // wxListbook::HitTest
+ long flags;
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->HitTest(pt,&flags);
+ rt.addInt(Result);
+ rt.addInt(flags);
+ rt.addTupleCount(2);
+ break;
+}
+case wxListbook_InsertPage: { // wxListbook::InsertPage
+ bool bSelect=false;
+ int imageId=-1;
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertPage((size_t) *n,page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_SetImageList: { // wxListbook::SetImageList
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImageList(imageList);
+ break;
+}
+case wxListbook_SetPageSize: { // wxListbook::SetPageSize
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetPageSize(size);
+ break;
+}
+case wxListbook_SetPageImage: { // wxListbook::SetPageImage
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * imageId = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageImage((size_t) *n,(int) *imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_SetPageText: { // wxListbook::SetPageText
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * strTextLen = (int *) bp; bp += 4;
+ wxString strText = wxString(bp, wxConvUTF8);
+ bp += *strTextLen+((8-((4+ *strTextLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageText((size_t) *n,strText);
+ rt.addBool(Result);
+ break;
+}
+case wxListbook_SetSelection: { // wxListbook::SetSelection
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SetSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxListbook_ChangeSelection: { // wxListbook::ChangeSelection
+ wxListbook *This = (wxListbook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ChangeSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxTreebook_new_0: { // wxTreebook::wxTreebook
+ wxTreebook * Result = new EwxTreebook();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTreebook");
+ break;
+}
+case wxTreebook_new_3: { // wxTreebook::wxTreebook
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxBK_DEFAULT;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxTreebook * Result = new EwxTreebook(parent,(wxWindowID) *id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTreebook");
+ break;
+}
+case wxTreebook_AddPage: { // wxTreebook::AddPage
+ bool bSelect=false;
+ int imageId=wxNOT_FOUND;
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPage(page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_AdvanceSelection: { // wxTreebook::AdvanceSelection
+ bool forward=true;
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ forward = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->AdvanceSelection(forward);
+ break;
+}
+case wxTreebook_AssignImageList: { // wxTreebook::AssignImageList
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignImageList(imageList);
+ break;
+}
+case wxTreebook_Create: { // wxTreebook::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxBK_DEFAULT;
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_DeleteAllPages: { // wxTreebook::DeleteAllPages
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeleteAllPages();
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_DeletePage: { // wxTreebook::DeletePage
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeletePage((size_t) *pos);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_RemovePage: { // wxTreebook::RemovePage
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RemovePage((size_t) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_GetCurrentPage: { // wxTreebook::GetCurrentPage
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetCurrentPage();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxTreebook_GetImageList: { // wxTreebook::GetImageList
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetImageList();
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxTreebook_GetPage: { // wxTreebook::GetPage
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetPage((size_t) *n);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxTreebook_GetPageCount: { // wxTreebook::GetPageCount
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetPageCount();
+ rt.addInt(Result);
+ break;
+}
+case wxTreebook_GetPageImage: { // wxTreebook::GetPageImage
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageImage((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxTreebook_GetPageText: { // wxTreebook::GetPageText
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPageText((size_t) *n);
+ rt.add(Result);
+ break;
+}
+case wxTreebook_GetSelection: { // wxTreebook::GetSelection
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxTreebook_ExpandNode: { // wxTreebook::ExpandNode
+ bool expand=true;
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ expand = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ExpandNode((size_t) *pos,expand);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_IsNodeExpanded: { // wxTreebook::IsNodeExpanded
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsNodeExpanded((size_t) *pos);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_HitTest: { // wxTreebook::HitTest
+ long flags;
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->HitTest(pt,&flags);
+ rt.addInt(Result);
+ rt.addInt(flags);
+ rt.addTupleCount(2);
+ break;
+}
+case wxTreebook_InsertPage: { // wxTreebook::InsertPage
+ bool bSelect=false;
+ int imageId=wxNOT_FOUND;
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertPage((size_t) *pos,page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_InsertSubPage: { // wxTreebook::InsertSubPage
+ bool bSelect=false;
+ int imageId=wxNOT_FOUND;
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bSelect = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ imageId = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertSubPage((size_t) *pos,page,text,bSelect,imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_SetImageList: { // wxTreebook::SetImageList
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImageList(imageList);
+ break;
+}
+case wxTreebook_SetPageSize: { // wxTreebook::SetPageSize
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetPageSize(size);
+ break;
+}
+case wxTreebook_SetPageImage: { // wxTreebook::SetPageImage
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * imageId = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageImage((size_t) *n,(int) *imageId);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_SetPageText: { // wxTreebook::SetPageText
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ int * strTextLen = (int *) bp; bp += 4;
+ wxString strText = wxString(bp, wxConvUTF8);
+ bp += *strTextLen+((8-((4+ *strTextLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageText((size_t) *n,strText);
+ rt.addBool(Result);
+ break;
+}
+case wxTreebook_SetSelection: { // wxTreebook::SetSelection
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SetSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxTreebook_ChangeSelection: { // wxTreebook::ChangeSelection
+ wxTreebook *This = (wxTreebook *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ChangeSelection((size_t) *n);
+ rt.addInt(Result);
+ break;
+}
+case wxTreeCtrl_new_2: { // wxTreeCtrl::wxTreeCtrl
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxTreeCtrl * Result = new EwxTreeCtrl(parent,id,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTreeCtrl");
+ break;
+}
+case wxTreeCtrl_new_0: { // wxTreeCtrl::wxTreeCtrl
+ wxTreeCtrl * Result = new EwxTreeCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTreeCtrl");
+ break;
+}
+case wxTreeCtrl_AddRoot: { // wxTreeCtrl::AddRoot
+ int image=-1;
+ int selectedImage=-1;
+ wxETreeItemData * data= NULL;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ image = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ selectedImage = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->AddRoot(text,image,selectedImage,data);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_AppendItem: { // wxTreeCtrl::AppendItem
+ int image=-1;
+ int selectedImage=-1;
+ wxETreeItemData * data= NULL;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId parent = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ image = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ selectedImage = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->AppendItem(parent,text,image,selectedImage,data);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_AssignImageList: { // wxTreeCtrl::AssignImageList
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignImageList(imageList);
+ break;
+}
+case wxTreeCtrl_AssignStateImageList: { // wxTreeCtrl::AssignStateImageList
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AssignStateImageList(imageList);
+ break;
+}
+case wxTreeCtrl_Collapse: { // wxTreeCtrl::Collapse
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Collapse(item);
+ break;
+}
+case wxTreeCtrl_CollapseAndReset: { // wxTreeCtrl::CollapseAndReset
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CollapseAndReset(item);
+ break;
+}
+case wxTreeCtrl_Create: { // wxTreeCtrl::Create
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxTR_HAS_BUTTONS|wxTR_LINES_AT_ROOT;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxTreeCtrl_Delete: { // wxTreeCtrl::Delete
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Delete(item);
+ break;
+}
+case wxTreeCtrl_DeleteAllItems: { // wxTreeCtrl::DeleteAllItems
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DeleteAllItems();
+ break;
+}
+case wxTreeCtrl_DeleteChildren: { // wxTreeCtrl::DeleteChildren
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DeleteChildren(item);
+ break;
+}
+case wxTreeCtrl_EnsureVisible: { // wxTreeCtrl::EnsureVisible
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnsureVisible(item);
+ break;
+}
+case wxTreeCtrl_Expand: { // wxTreeCtrl::Expand
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Expand(item);
+ break;
+}
+case wxTreeCtrl_GetBoundingRect: { // wxTreeCtrl::GetBoundingRect
+ bool textOnly=false;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ textOnly = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetBoundingRect(item,rect,textOnly);
+ rt.addBool(Result);
+ break;
+}
+case wxTreeCtrl_GetChildrenCount: { // wxTreeCtrl::GetChildrenCount
+ bool recursively=true;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ recursively = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetChildrenCount(item,recursively);
+ rt.addInt(Result);
+ break;
+}
+case wxTreeCtrl_GetCount: { // wxTreeCtrl::GetCount
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCount();
+ rt.addUint(Result);
+ break;
+}
+case wxTreeCtrl_GetEditControl: { // wxTreeCtrl::GetEditControl
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTextCtrl * Result = (wxTextCtrl*)This->GetEditControl();
+ rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl");
+ break;
+}
+case wxTreeCtrl_GetFirstVisibleItem: { // wxTreeCtrl::GetFirstVisibleItem
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetFirstVisibleItem();
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetImageList: { // wxTreeCtrl::GetImageList
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetImageList();
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxTreeCtrl_GetIndent: { // wxTreeCtrl::GetIndent
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetIndent();
+ rt.addUint(Result);
+ break;
+}
+case wxTreeCtrl_GetItemBackgroundColour: { // wxTreeCtrl::GetItemBackgroundColour
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetItemBackgroundColour(item);
+ rt.add(Result);
+ break;
+}
+case wxTreeCtrl_GetItemData: { // wxTreeCtrl::GetItemData
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxETreeItemData * Result = (wxETreeItemData*)This->GetItemData(item);
+ rt.addExt2Term(Result);
+ break;
+}
+case wxTreeCtrl_GetItemFont: { // wxTreeCtrl::GetItemFont
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetItemFont(item)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxTreeCtrl_GetItemImage_1: { // wxTreeCtrl::GetItemImage
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetItemImage(item);
+ rt.addInt(Result);
+ break;
+}
+case wxTreeCtrl_GetItemImage_2: { // wxTreeCtrl::GetItemImage
+ wxTreeItemIcon which=wxTreeItemIcon_Normal;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+which = *(wxTreeItemIcon *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetItemImage(item,(wxTreeItemIcon) which);
+ rt.addInt(Result);
+ break;
+}
+case wxTreeCtrl_GetItemText: { // wxTreeCtrl::GetItemText
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetItemText(item);
+ rt.add(Result);
+ break;
+}
+case wxTreeCtrl_GetItemTextColour: { // wxTreeCtrl::GetItemTextColour
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetItemTextColour(item);
+ rt.add(Result);
+ break;
+}
+case wxTreeCtrl_GetLastChild: { // wxTreeCtrl::GetLastChild
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetLastChild(item);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetNextSibling: { // wxTreeCtrl::GetNextSibling
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetNextSibling(item);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetNextVisible: { // wxTreeCtrl::GetNextVisible
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetNextVisible(item);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetItemParent: { // wxTreeCtrl::GetItemParent
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetItemParent(item);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetPrevSibling: { // wxTreeCtrl::GetPrevSibling
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetPrevSibling(item);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetPrevVisible: { // wxTreeCtrl::GetPrevVisible
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetPrevVisible(item);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetRootItem: { // wxTreeCtrl::GetRootItem
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetRootItem();
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetSelection: { // wxTreeCtrl::GetSelection
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetSelection();
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_GetSelections: { // wxTreeCtrl::GetSelections
+ wxArrayTreeItemIds val;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetSelections(val);
+ rt.addInt(Result);
+ for(unsigned int i=0; i < val.GetCount(); i++) {
+ rt.addRef(getRef((void *)val[i].m_pItem,memenv), "wxTreeItemId");}
+ rt.endList(val.GetCount());
+ rt.addTupleCount(2);
+ break;
+}
+case wxTreeCtrl_GetStateImageList: { // wxTreeCtrl::GetStateImageList
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxImageList * Result = (wxImageList*)This->GetStateImageList();
+ rt.addRef(getRef((void *)Result,memenv), "wxImageList");
+ break;
+}
+case wxTreeCtrl_HitTest: { // wxTreeCtrl::HitTest
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pointX = (int *) bp; bp += 4;
+ int * pointY = (int *) bp; bp += 4;
+ wxPoint point = wxPoint(*pointX,*pointY);
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->HitTest(point);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_InsertItem_4_1: { // wxTreeCtrl::InsertItem
+ int image=-1;
+ int selectedImage=-1;
+ wxETreeItemData * data= NULL;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId parent = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ wxTreeItemId idPrevious = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ image = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ selectedImage = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->InsertItem(parent,idPrevious,text,image,selectedImage,data);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_InsertItem_4_0: { // wxTreeCtrl::InsertItem
+ int image=-1;
+ int selImage=-1;
+ wxETreeItemData * data= NULL;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId parent = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ image = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ selImage = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->InsertItem(parent,(size_t) *pos,text,image,selImage,data);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_IsBold: { // wxTreeCtrl::IsBold
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsBold(item);
+ rt.addBool(Result);
+ break;
+}
+case wxTreeCtrl_IsExpanded: { // wxTreeCtrl::IsExpanded
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsExpanded(item);
+ rt.addBool(Result);
+ break;
+}
+case wxTreeCtrl_IsSelected: { // wxTreeCtrl::IsSelected
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSelected(item);
+ rt.addBool(Result);
+ break;
+}
+case wxTreeCtrl_IsVisible: { // wxTreeCtrl::IsVisible
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsVisible(item);
+ rt.addBool(Result);
+ break;
+}
+case wxTreeCtrl_ItemHasChildren: { // wxTreeCtrl::ItemHasChildren
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ItemHasChildren(item);
+ rt.addBool(Result);
+ break;
+}
+case wxTreeCtrl_PrependItem: { // wxTreeCtrl::PrependItem
+ int image=-1;
+ int selectedImage=-1;
+ wxETreeItemData * data= NULL;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId parent = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ image = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ selectedImage = (int)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->PrependItem(parent,text,image,selectedImage,data);
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeCtrl_ScrollTo: { // wxTreeCtrl::ScrollTo
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ScrollTo(item);
+ break;
+}
+case wxTreeCtrl_SelectItem_1: { // wxTreeCtrl::SelectItem
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SelectItem(item);
+ break;
+}
+case wxTreeCtrl_SelectItem_2: { // wxTreeCtrl::SelectItem
+ bool select=true;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ select = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SelectItem(item,select);
+ break;
+}
+case wxTreeCtrl_SetIndent: { // wxTreeCtrl::SetIndent
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ unsigned int * indent = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetIndent((int) *indent);
+ break;
+}
+case wxTreeCtrl_SetImageList: { // wxTreeCtrl::SetImageList
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetImageList(imageList);
+ break;
+}
+case wxTreeCtrl_SetItemBackgroundColour: { // wxTreeCtrl::SetItemBackgroundColour
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemBackgroundColour(item,col);
+ break;
+}
+case wxTreeCtrl_SetItemBold: { // wxTreeCtrl::SetItemBold
+ bool bold=true;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ bold = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetItemBold(item,bold);
+ break;
+}
+case wxTreeCtrl_SetItemData: { // wxTreeCtrl::SetItemData
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ wxETreeItemData * data = new wxETreeItemData(Ecmd.bin[0]->size, Ecmd.bin[0]->base);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemData(item,data);
+ break;
+}
+case wxTreeCtrl_SetItemDropHighlight: { // wxTreeCtrl::SetItemDropHighlight
+ bool highlight=true;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ highlight = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetItemDropHighlight(item,highlight);
+ break;
+}
+case wxTreeCtrl_SetItemFont: { // wxTreeCtrl::SetItemFont
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetItemFont(item,*font);
+ break;
+}
+case wxTreeCtrl_SetItemHasChildren: { // wxTreeCtrl::SetItemHasChildren
+ bool has=true;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ has = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetItemHasChildren(item,has);
+ break;
+}
+case wxTreeCtrl_SetItemImage_2: { // wxTreeCtrl::SetItemImage
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * image = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetItemImage(item,(int) *image);
+ break;
+}
+case wxTreeCtrl_SetItemImage_3: { // wxTreeCtrl::SetItemImage
+ wxTreeItemIcon which=wxTreeItemIcon_Normal;
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * image = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+which = *(wxTreeItemIcon *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetItemImage(item,(int) *image,(wxTreeItemIcon) which);
+ break;
+}
+case wxTreeCtrl_SetItemText: { // wxTreeCtrl::SetItemText
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemText(item,text);
+ break;
+}
+case wxTreeCtrl_SetItemTextColour: { // wxTreeCtrl::SetItemTextColour
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemTextColour(item,col);
+ break;
+}
+case wxTreeCtrl_SetStateImageList: { // wxTreeCtrl::SetStateImageList
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxImageList *imageList = (wxImageList *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStateImageList(imageList);
+ break;
+}
+case wxTreeCtrl_SetWindowStyle: { // wxTreeCtrl::SetWindowStyle
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ const int * styles = (const int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWindowStyle((long) *styles);
+ break;
+}
+case wxTreeCtrl_SortChildren: { // wxTreeCtrl::SortChildren
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SortChildren(item);
+ break;
+}
+case wxTreeCtrl_Toggle: { // wxTreeCtrl::Toggle
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Toggle(item);
+ break;
+}
+case wxTreeCtrl_ToggleItemSelection: { // wxTreeCtrl::ToggleItemSelection
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ToggleItemSelection(item);
+ break;
+}
+case wxTreeCtrl_Unselect: { // wxTreeCtrl::Unselect
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Unselect();
+ break;
+}
+case wxTreeCtrl_UnselectAll: { // wxTreeCtrl::UnselectAll
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->UnselectAll();
+ break;
+}
+case wxTreeCtrl_UnselectItem: { // wxTreeCtrl::UnselectItem
+ wxTreeCtrl *This = (wxTreeCtrl *) getPtr(bp,memenv); bp += 4;
+ wxTreeItemId item = wxTreeItemId(getPtr(bp,memenv)); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->UnselectItem(item);
+ break;
+}
+case wxScrollBar_new_0: { // wxScrollBar::wxScrollBar
+ wxScrollBar * Result = new EwxScrollBar();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxScrollBar");
+ break;
+}
+case wxScrollBar_new_3: { // wxScrollBar::wxScrollBar
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSB_HORIZONTAL;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxScrollBar * Result = new EwxScrollBar(parent,(wxWindowID) *id,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxScrollBar");
+ break;
+}
+case wxScrollBar_Create: { // wxScrollBar::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSB_HORIZONTAL;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxScrollBar_GetRange: { // wxScrollBar::GetRange
+ wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRange();
+ rt.addInt(Result);
+ break;
+}
+case wxScrollBar_GetPageSize: { // wxScrollBar::GetPageSize
+ wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageSize();
+ rt.addInt(Result);
+ break;
+}
+case wxScrollBar_GetThumbPosition: { // wxScrollBar::GetThumbPosition
+ wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetThumbPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxScrollBar_GetThumbSize: { // wxScrollBar::GetThumbSize
+ wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetThumbSize();
+ rt.addInt(Result);
+ break;
+}
+case wxScrollBar_SetThumbPosition: { // wxScrollBar::SetThumbPosition
+ wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ int * viewStart = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetThumbPosition((int) *viewStart);
+ break;
+}
+case wxScrollBar_SetScrollbar: { // wxScrollBar::SetScrollbar
+ bool refresh=true;
+ wxScrollBar *This = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ int * position = (int *) bp; bp += 4;
+ int * thumbSize = (int *) bp; bp += 4;
+ int * range = (int *) bp; bp += 4;
+ int * pageSize = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ refresh = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollbar((int) *position,(int) *thumbSize,(int) *range,(int) *pageSize,refresh);
+ break;
+}
+case wxSpinButton_new_2: { // wxSpinButton::wxSpinButton
+ wxWindowID id=-1;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSP_VERTICAL;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxSpinButton * Result = new EwxSpinButton(parent,id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSpinButton");
+ break;
+}
+case wxSpinButton_new_0: { // wxSpinButton::wxSpinButton
+ wxSpinButton * Result = new EwxSpinButton();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSpinButton");
+ break;
+}
+case wxSpinButton_Create: { // wxSpinButton::Create
+ wxWindowID id=-1;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSP_VERTICAL;
+ wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxSpinButton_GetMax: { // wxSpinButton::GetMax
+ wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMax();
+ rt.addInt(Result);
+ break;
+}
+case wxSpinButton_GetMin: { // wxSpinButton::GetMin
+ wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMin();
+ rt.addInt(Result);
+ break;
+}
+case wxSpinButton_GetValue: { // wxSpinButton::GetValue
+ wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetValue();
+ rt.addInt(Result);
+ break;
+}
+case wxSpinButton_SetRange: { // wxSpinButton::SetRange
+ wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4;
+ int * minVal = (int *) bp; bp += 4;
+ int * maxVal = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRange((int) *minVal,(int) *maxVal);
+ break;
+}
+case wxSpinButton_SetValue: { // wxSpinButton::SetValue
+ wxSpinButton *This = (wxSpinButton *) getPtr(bp,memenv); bp += 4;
+ int * value = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetValue((int) *value);
+ break;
+}
+case wxSpinCtrl_new_0: { // wxSpinCtrl::wxSpinCtrl
+ wxSpinCtrl * Result = new EwxSpinCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSpinCtrl");
+ break;
+}
+case wxSpinCtrl_new_2: { // wxSpinCtrl::wxSpinCtrl
+ wxWindowID id=wxID_ANY;
+ wxString value= wxEmptyString;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSP_ARROW_KEYS;
+ int min=0;
+ int max=100;
+ int initial=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+ min = (int)*(int *) bp; bp += 4;
+ } break;
+ case 7: {bp += 4;
+ max = (int)*(int *) bp; bp += 4;
+ } break;
+ case 8: {bp += 4;
+ initial = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxSpinCtrl * Result = new EwxSpinCtrl(parent,id,value,pos,size,style,min,max,initial);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSpinCtrl");
+ break;
+}
+case wxSpinCtrl_Create: { // wxSpinCtrl::Create
+ wxWindowID id=wxID_ANY;
+ wxString value= wxEmptyString;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSP_ARROW_KEYS;
+ int min=0;
+ int max=100;
+ int initial=0;
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+ min = (int)*(int *) bp; bp += 4;
+ } break;
+ case 7: {bp += 4;
+ max = (int)*(int *) bp; bp += 4;
+ } break;
+ case 8: {bp += 4;
+ initial = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,value,pos,size,style,min,max,initial);
+ rt.addBool(Result);
+ break;
+}
+case wxSpinCtrl_SetValue_1_1: { // wxSpinCtrl::SetValue
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetValue(text);
+ break;
+}
+case wxSpinCtrl_SetValue_1_0: { // wxSpinCtrl::SetValue
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ int * value = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetValue((int) *value);
+ break;
+}
+case wxSpinCtrl_GetValue: { // wxSpinCtrl::GetValue
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetValue();
+ rt.addInt(Result);
+ break;
+}
+case wxSpinCtrl_SetRange: { // wxSpinCtrl::SetRange
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ int * minVal = (int *) bp; bp += 4;
+ int * maxVal = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRange((int) *minVal,(int) *maxVal);
+ break;
+}
+case wxSpinCtrl_SetSelection: { // wxSpinCtrl::SetSelection
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ int * from = (int *) bp; bp += 4;
+ int * to = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((long) *from,(long) *to);
+ break;
+}
+case wxSpinCtrl_GetMin: { // wxSpinCtrl::GetMin
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMin();
+ rt.addInt(Result);
+ break;
+}
+case wxSpinCtrl_GetMax: { // wxSpinCtrl::GetMax
+ wxSpinCtrl *This = (wxSpinCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMax();
+ rt.addInt(Result);
+ break;
+}
+case wxStaticText_new_0: { // wxStaticText::wxStaticText
+ wxStaticText * Result = new EwxStaticText();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticText");
+ break;
+}
+case wxStaticText_new_4: { // wxStaticText::wxStaticText
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxStaticText * Result = new EwxStaticText(parent,(wxWindowID) *id,label,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticText");
+ break;
+}
+case wxStaticText_Create: { // wxStaticText::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxStaticText *This = (wxStaticText *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxStaticText_GetLabel: { // wxStaticText::GetLabel
+ wxStaticText *This = (wxStaticText *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLabel();
+ rt.add(Result);
+ break;
+}
+case wxStaticText_SetLabel: { // wxStaticText::SetLabel
+ wxStaticText *This = (wxStaticText *) getPtr(bp,memenv); bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLabel(label);
+ break;
+}
+case wxStaticText_Wrap: { // wxStaticText::Wrap
+ wxStaticText *This = (wxStaticText *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Wrap((int) *width);
+ break;
+}
+case wxStaticBitmap_new_0: { // wxStaticBitmap::wxStaticBitmap
+ wxStaticBitmap * Result = new EwxStaticBitmap();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticBitmap");
+ break;
+}
+case wxStaticBitmap_new_4: { // wxStaticBitmap::wxStaticBitmap
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ wxBitmap *label = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxStaticBitmap * Result = new EwxStaticBitmap(parent,(wxWindowID) *id,*label,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxStaticBitmap");
+ break;
+}
+case wxStaticBitmap_Create: { // wxStaticBitmap::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxStaticBitmap *This = (wxStaticBitmap *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ wxBitmap *label = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,*label,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxStaticBitmap_GetBitmap: { // wxStaticBitmap::GetBitmap
+ wxStaticBitmap *This = (wxStaticBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = new wxBitmap(This->GetBitmap()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxStaticBitmap_SetBitmap: { // wxStaticBitmap::SetBitmap
+ wxStaticBitmap *This = (wxStaticBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBitmap(*bitmap);
+ break;
+}
+case wxRadioBox_new: { // wxRadioBox::wxRadioBox
+ int majorDim=1;
+ long style=wxRA_HORIZONTAL;
+ const wxValidator * val= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((4+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ majorDim = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+val = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxRadioBox * Result = new EwxRadioBox(parent,(wxWindowID) *id,title,pos,size,choices,majorDim,style,*val);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRadioBox");
+ break;
+}
+case wxRadioBox_Create: { // wxRadioBox::Create
+ int majorDim=0;
+ long style=wxRA_HORIZONTAL;
+ const wxValidator * val= &wxDefaultValidator;
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((4+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ majorDim = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+val = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,choices,majorDim,style,*val);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioBox_Enable_2: { // wxRadioBox::Enable
+ bool enable=true;
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Enable((int) *n,enable);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioBox_Enable_1: { // wxRadioBox::Enable
+ bool enable=true;
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ enable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Enable(enable);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioBox_GetSelection: { // wxRadioBox::GetSelection
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxRadioBox_GetString: { // wxRadioBox::GetString
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetString((int) *n);
+ rt.add(Result);
+ break;
+}
+case wxRadioBox_SetSelection: { // wxRadioBox::SetSelection
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ int * n = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((int) *n);
+ break;
+}
+case wxRadioBox_Show_2: { // wxRadioBox::Show
+ bool show=true;
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Show((int) *n,show);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioBox_Show_1: { // wxRadioBox::Show
+ bool show=true;
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Show(show);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioBox_GetColumnCount: { // wxRadioBox::GetColumnCount
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColumnCount();
+ rt.addUint(Result);
+ break;
+}
+case wxRadioBox_GetItemHelpText: { // wxRadioBox::GetItemHelpText
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetItemHelpText((int) *n);
+ rt.add(Result);
+ break;
+}
+case wxRadioBox_GetItemToolTip: { // wxRadioBox::GetItemToolTip
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * item = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxToolTip * Result = (wxToolTip*)This->GetItemToolTip((int) *item);
+ rt.addRef(getRef((void *)Result,memenv), "wxToolTip");
+ break;
+}
+case wxRadioBox_GetItemFromPoint: { // wxRadioBox::GetItemFromPoint
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetItemFromPoint(pt);
+ rt.addInt(Result);
+ break;
+}
+case wxRadioBox_GetRowCount: { // wxRadioBox::GetRowCount
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRowCount();
+ rt.addUint(Result);
+ break;
+}
+case wxRadioBox_IsItemEnabled: { // wxRadioBox::IsItemEnabled
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsItemEnabled((int) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioBox_IsItemShown: { // wxRadioBox::IsItemShown
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsItemShown((int) *n);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioBox_SetItemHelpText: { // wxRadioBox::SetItemHelpText
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * n = (unsigned int *) bp; bp += 4;
+ int * helpTextLen = (int *) bp; bp += 4;
+ wxString helpText = wxString(bp, wxConvUTF8);
+ bp += *helpTextLen+((8-((4+ *helpTextLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemHelpText((int) *n,helpText);
+ break;
+}
+case wxRadioBox_SetItemToolTip: { // wxRadioBox::SetItemToolTip
+ wxRadioBox *This = (wxRadioBox *) getPtr(bp,memenv); bp += 4;
+ unsigned int * item = (unsigned int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetItemToolTip((int) *item,text);
+ break;
+}
+case wxRadioButton_new_0: { // wxRadioButton::wxRadioButton
+ wxRadioButton * Result = new EwxRadioButton();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRadioButton");
+ break;
+}
+case wxRadioButton_new_4: { // wxRadioButton::wxRadioButton
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((4+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxRadioButton * Result = new EwxRadioButton(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxRadioButton");
+ break;
+}
+case wxRadioButton_Create: { // wxRadioButton::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxRadioButton *This = (wxRadioButton *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * labelLen = (int *) bp; bp += 4;
+ wxString label = wxString(bp, wxConvUTF8);
+ bp += *labelLen+((8-((0+ *labelLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,label,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxRadioButton_GetValue: { // wxRadioButton::GetValue
+ wxRadioButton *This = (wxRadioButton *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetValue();
+ rt.addBool(Result);
+ break;
+}
+case wxRadioButton_SetValue: { // wxRadioButton::SetValue
+ wxRadioButton *This = (wxRadioButton *) getPtr(bp,memenv); bp += 4;
+ bool * val = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetValue((bool) *val);
+ break;
+}
+case wxSlider_new_6: { // wxSlider::wxSlider
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSL_HORIZONTAL;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * value = (int *) bp; bp += 4;
+ int * minValue = (int *) bp; bp += 4;
+ int * maxValue = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxSlider * Result = new EwxSlider(parent,(wxWindowID) *id,(int) *value,(int) *minValue,(int) *maxValue,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSlider");
+ break;
+}
+case wxSlider_new_0: { // wxSlider::wxSlider
+ wxSlider * Result = new EwxSlider();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSlider");
+ break;
+}
+case wxSlider_Create: { // wxSlider::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSL_HORIZONTAL;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * value = (int *) bp; bp += 4;
+ int * minValue = (int *) bp; bp += 4;
+ int * maxValue = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,(int) *value,(int) *minValue,(int) *maxValue,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxSlider_GetLineSize: { // wxSlider::GetLineSize
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLineSize();
+ rt.addInt(Result);
+ break;
+}
+case wxSlider_GetMax: { // wxSlider::GetMax
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMax();
+ rt.addInt(Result);
+ break;
+}
+case wxSlider_GetMin: { // wxSlider::GetMin
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMin();
+ rt.addInt(Result);
+ break;
+}
+case wxSlider_GetPageSize: { // wxSlider::GetPageSize
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageSize();
+ rt.addInt(Result);
+ break;
+}
+case wxSlider_GetThumbLength: { // wxSlider::GetThumbLength
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetThumbLength();
+ rt.addInt(Result);
+ break;
+}
+case wxSlider_GetValue: { // wxSlider::GetValue
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetValue();
+ rt.addInt(Result);
+ break;
+}
+case wxSlider_SetLineSize: { // wxSlider::SetLineSize
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ int * lineSize = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLineSize((int) *lineSize);
+ break;
+}
+case wxSlider_SetPageSize: { // wxSlider::SetPageSize
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ int * pageSize = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPageSize((int) *pageSize);
+ break;
+}
+case wxSlider_SetRange: { // wxSlider::SetRange
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ int * minValue = (int *) bp; bp += 4;
+ int * maxValue = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRange((int) *minValue,(int) *maxValue);
+ break;
+}
+case wxSlider_SetThumbLength: { // wxSlider::SetThumbLength
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ int * lenPixels = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetThumbLength((int) *lenPixels);
+ break;
+}
+case wxSlider_SetValue: { // wxSlider::SetValue
+ wxSlider *This = (wxSlider *) getPtr(bp,memenv); bp += 4;
+ int * value = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetValue((int) *value);
+ break;
+}
+case wxDialog_new_4: { // wxDialog::wxDialog
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_DIALOG_STYLE;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxDialog * Result = new EwxDialog(parent,(wxWindowID) *id,title,pos,size,style);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxDialog");
+ break;
+}
+case wxDialog_new_0: { // wxDialog::wxDialog
+ wxDialog * Result = new EwxDialog();
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxDialog");
+ break;
+}
+case wxDialog_Create: { // wxDialog::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_DIALOG_STYLE;
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxDialog_CreateButtonSizer: { // wxDialog::CreateButtonSizer
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSizer * Result = (wxSizer*)This->CreateButtonSizer((long) *flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxSizer");
+ break;
+}
+case wxDialog_CreateStdDialogButtonSizer: { // wxDialog::CreateStdDialogButtonSizer
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxStdDialogButtonSizer * Result = (wxStdDialogButtonSizer*)This->CreateStdDialogButtonSizer((long) *flags);
+ rt.addRef(getRef((void *)Result,memenv), "wxStdDialogButtonSizer");
+ break;
+}
+case wxDialog_EndModal: { // wxDialog::EndModal
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ int * retCode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EndModal((int) *retCode);
+ break;
+}
+case wxDialog_GetAffirmativeId: { // wxDialog::GetAffirmativeId
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetAffirmativeId();
+ rt.addInt(Result);
+ break;
+}
+case wxDialog_GetReturnCode: { // wxDialog::GetReturnCode
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetReturnCode();
+ rt.addInt(Result);
+ break;
+}
+case wxDialog_IsModal: { // wxDialog::IsModal
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsModal();
+ rt.addBool(Result);
+ break;
+}
+case wxDialog_SetAffirmativeId: { // wxDialog::SetAffirmativeId
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ int * affirmativeId = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAffirmativeId((int) *affirmativeId);
+ break;
+}
+case wxDialog_SetReturnCode: { // wxDialog::SetReturnCode
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ int * returnCode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetReturnCode((int) *returnCode);
+ break;
+}
+case wxDialog_Show: { // wxDialog::Show
+ bool show=TRUE;
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Show(show);
+ rt.addBool(Result);
+ break;
+}
+case wxDialog_ShowModal: { // wxDialog::ShowModal
+ wxDialog *This = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ShowModal();
+ rt.addInt(Result);
+ break;
+}
+case wxColourDialog_new_0: { // wxColourDialog::wxColourDialog
+ wxColourDialog * Result = new EwxColourDialog();
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxColourDialog");
+ break;
+}
+case wxColourDialog_new_2: { // wxColourDialog::wxColourDialog
+ wxColourData * data=(wxColourData *) NULL;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+data = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxColourDialog * Result = new EwxColourDialog(parent,data);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxColourDialog");
+ break;
+}
+case wxColourDialog_Create: { // wxColourDialog::Create
+ wxColourData * data=(wxColourData *) NULL;
+ wxColourDialog *This = (wxColourDialog *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+data = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,data);
+ rt.addBool(Result);
+ break;
+}
+case wxColourDialog_GetColourData: { // wxColourDialog::GetColourData
+ wxColourDialog *This = (wxColourDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColourData * Result = &This->GetColourData();
+ rt.addRef(getRef((void *)Result,memenv), "wxColourData");
+ break;
+}
+case wxColourData_new_0: { // wxColourData::wxColourData
+ wxColourData * Result = new EwxColourData();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxColourData");
+ break;
+}
+case wxColourData_new_1: { // wxColourData::wxColourData
+ wxColourData *data = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ wxColourData * Result = new EwxColourData(*data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxColourData");
+ break;
+}
+case wxColourData_GetChooseFull: { // wxColourData::GetChooseFull
+ wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetChooseFull();
+ rt.addBool(Result);
+ break;
+}
+case wxColourData_GetColour: { // wxColourData::GetColour
+ wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetColour();
+ rt.add((*Result));
+ break;
+}
+case wxColourData_GetCustomColour: { // wxColourData::GetCustomColour
+ wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ int * i = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetCustomColour((int) *i);
+ rt.add(Result);
+ break;
+}
+case wxColourData_SetChooseFull: { // wxColourData::SetChooseFull
+ wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetChooseFull((bool) *flag);
+ break;
+}
+case wxColourData_SetColour: { // wxColourData::SetColour
+ wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetColour(colour);
+ break;
+}
+case wxColourData_SetCustomColour: { // wxColourData::SetCustomColour
+ wxColourData *This = (wxColourData *) getPtr(bp,memenv); bp += 4;
+ int * i = (int *) bp; bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetCustomColour((int) *i,colour);
+ break;
+}
+case wxPalette_new_0: { // wxPalette::wxPalette
+ wxPalette * Result = new EwxPalette();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPalette");
+ break;
+}
+case wxPalette_new_4: { // wxPalette::wxPalette
+ const unsigned char * red = (const unsigned char*) Ecmd.bin[0]->base;
+ const unsigned char * green = (const unsigned char*) Ecmd.bin[1]->base;
+ const unsigned char * blue = (const unsigned char*) Ecmd.bin[2]->base;
+ wxPalette * Result = new EwxPalette(Ecmd.bin[0]->size,red,green,blue);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPalette");
+ break;
+}
+case wxPalette_Create: { // wxPalette::Create
+ wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ const unsigned char * red = (const unsigned char*) Ecmd.bin[0]->base;
+ const unsigned char * green = (const unsigned char*) Ecmd.bin[1]->base;
+ const unsigned char * blue = (const unsigned char*) Ecmd.bin[2]->base;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(Ecmd.bin[0]->size,red,green,blue);
+ rt.addBool(Result);
+ break;
+}
+case wxPalette_GetColoursCount: { // wxPalette::GetColoursCount
+ wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColoursCount();
+ rt.addInt(Result);
+ break;
+}
+case wxPalette_GetPixel: { // wxPalette::GetPixel
+ wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ unsigned int * red = (unsigned int *) bp; bp += 4;
+ unsigned int * green = (unsigned int *) bp; bp += 4;
+ unsigned int * blue = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPixel((char) *red,(char) *green,(char) *blue);
+ rt.addInt(Result);
+ break;
+}
+case wxPalette_GetRGB: { // wxPalette::GetRGB
+ unsigned char red;
+ unsigned char green;
+ unsigned char blue;
+ wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ int * pixel = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetRGB((int) *pixel,&red,&green,&blue);
+ rt.addBool(Result);
+ rt.addUint(red);
+ rt.addUint(green);
+ rt.addUint(blue);
+ rt.addTupleCount(4);
+ break;
+}
+case wxPalette_IsOk: { // wxPalette::IsOk
+ wxPalette *This = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxDirDialog_new: { // wxDirDialog::wxDirDialog
+ wxString title= wxDirSelectorPromptStr;
+ wxString defaultPath= wxEmptyString;
+ long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER);
+ wxPoint pos= wxDefaultPosition;
+ wxSize sz= wxDefaultSize;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * defaultPathLen = (int *) bp; bp += 4;
+ defaultPath = wxString(bp, wxConvUTF8);
+ bp += *defaultPathLen+((8-((0+ *defaultPathLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ sz = wxSize(*szW,*szH);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxDirDialog * Result = new EwxDirDialog(parent,title,defaultPath,style,pos,sz);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxDirDialog");
+ break;
+}
+case wxDirDialog_GetPath: { // wxDirDialog::GetPath
+ wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPath();
+ rt.add(Result);
+ break;
+}
+case wxDirDialog_GetMessage: { // wxDirDialog::GetMessage
+ wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetMessage();
+ rt.add(Result);
+ break;
+}
+case wxDirDialog_SetMessage: { // wxDirDialog::SetMessage
+ wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetMessage(message);
+ break;
+}
+case wxDirDialog_SetPath: { // wxDirDialog::SetPath
+ wxDirDialog *This = (wxDirDialog *) getPtr(bp,memenv); bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ wxString path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetPath(path);
+ break;
+}
+case wxFileDialog_new: { // wxFileDialog::wxFileDialog
+ wxString message= wxFileSelectorPromptStr;
+ wxString defaultDir= wxEmptyString;
+ wxString defaultFile= wxEmptyString;
+ wxString wildCard= wxFileSelectorDefaultWildcardStr;
+ long style=wxFD_OPEN;
+ wxPoint pos= wxDefaultPosition;
+ wxSize sz= wxDefaultSize;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * defaultDirLen = (int *) bp; bp += 4;
+ defaultDir = wxString(bp, wxConvUTF8);
+ bp += *defaultDirLen+((8-((0+ *defaultDirLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * defaultFileLen = (int *) bp; bp += 4;
+ defaultFile = wxString(bp, wxConvUTF8);
+ bp += *defaultFileLen+((8-((0+ *defaultFileLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+ int * wildCardLen = (int *) bp; bp += 4;
+ wildCard = wxString(bp, wxConvUTF8);
+ bp += *wildCardLen+((8-((0+ *wildCardLen) & 7)) & 7);
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 7: {bp += 4;
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ sz = wxSize(*szW,*szH);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxFileDialog * Result = new EwxFileDialog(parent,message,defaultDir,defaultFile,wildCard,style,pos,sz);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFileDialog");
+ break;
+}
+case wxFileDialog_GetDirectory: { // wxFileDialog::GetDirectory
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetDirectory();
+ rt.add(Result);
+ break;
+}
+case wxFileDialog_GetFilename: { // wxFileDialog::GetFilename
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetFilename();
+ rt.add(Result);
+ break;
+}
+case wxFileDialog_GetFilenames: { // wxFileDialog::GetFilenames
+ wxArrayString files;
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetFilenames(files);
+ rt.add(files);
+ break;
+}
+case wxFileDialog_GetFilterIndex: { // wxFileDialog::GetFilterIndex
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFilterIndex();
+ rt.addInt(Result);
+ break;
+}
+case wxFileDialog_GetMessage: { // wxFileDialog::GetMessage
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetMessage();
+ rt.add(Result);
+ break;
+}
+case wxFileDialog_GetPath: { // wxFileDialog::GetPath
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPath();
+ rt.add(Result);
+ break;
+}
+case wxFileDialog_GetPaths: { // wxFileDialog::GetPaths
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ int * pathsLen = (int *) bp; bp += 4;
+ wxArrayString paths;
+ int pathsASz = 0, * pathsTemp;
+ for(int i=0; i < *pathsLen; i++) {
+ pathsTemp = (int *) bp; bp += 4;
+ paths.Add(wxString(bp, wxConvUTF8));
+ bp += *pathsTemp;
+ pathsASz += *pathsTemp+4;
+ }
+ bp += (8-((0+ pathsASz) & 7 )) & 7;
+ if(!This) throw wxe_badarg(0);
+ This->GetPaths(paths);
+ break;
+}
+case wxFileDialog_GetWildcard: { // wxFileDialog::GetWildcard
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetWildcard();
+ rt.add(Result);
+ break;
+}
+case wxFileDialog_SetDirectory: { // wxFileDialog::SetDirectory
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ int * dirLen = (int *) bp; bp += 4;
+ wxString dir = wxString(bp, wxConvUTF8);
+ bp += *dirLen+((8-((0+ *dirLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetDirectory(dir);
+ break;
+}
+case wxFileDialog_SetFilename: { // wxFileDialog::SetFilename
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetFilename(name);
+ break;
+}
+case wxFileDialog_SetFilterIndex: { // wxFileDialog::SetFilterIndex
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ int * filterIndex = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFilterIndex((int) *filterIndex);
+ break;
+}
+case wxFileDialog_SetMessage: { // wxFileDialog::SetMessage
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetMessage(message);
+ break;
+}
+case wxFileDialog_SetPath: { // wxFileDialog::SetPath
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ wxString path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetPath(path);
+ break;
+}
+case wxFileDialog_SetWildcard: { // wxFileDialog::SetWildcard
+ wxFileDialog *This = (wxFileDialog *) getPtr(bp,memenv); bp += 4;
+ int * wildCardLen = (int *) bp; bp += 4;
+ wxString wildCard = wxString(bp, wxConvUTF8);
+ bp += *wildCardLen+((8-((0+ *wildCardLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetWildcard(wildCard);
+ break;
+}
+case wxPickerBase_SetInternalMargin: { // wxPickerBase::SetInternalMargin
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ int * newmargin = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInternalMargin((int) *newmargin);
+ break;
+}
+case wxPickerBase_GetInternalMargin: { // wxPickerBase::GetInternalMargin
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetInternalMargin();
+ rt.addInt(Result);
+ break;
+}
+case wxPickerBase_SetTextCtrlProportion: { // wxPickerBase::SetTextCtrlProportion
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ int * prop = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTextCtrlProportion((int) *prop);
+ break;
+}
+case wxPickerBase_SetPickerCtrlProportion: { // wxPickerBase::SetPickerCtrlProportion
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ int * prop = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPickerCtrlProportion((int) *prop);
+ break;
+}
+case wxPickerBase_GetTextCtrlProportion: { // wxPickerBase::GetTextCtrlProportion
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetTextCtrlProportion();
+ rt.addInt(Result);
+ break;
+}
+case wxPickerBase_GetPickerCtrlProportion: { // wxPickerBase::GetPickerCtrlProportion
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPickerCtrlProportion();
+ rt.addInt(Result);
+ break;
+}
+case wxPickerBase_HasTextCtrl: { // wxPickerBase::HasTextCtrl
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasTextCtrl();
+ rt.addBool(Result);
+ break;
+}
+case wxPickerBase_GetTextCtrl: { // wxPickerBase::GetTextCtrl
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTextCtrl * Result = (wxTextCtrl*)This->GetTextCtrl();
+ rt.addRef(getRef((void *)Result,memenv), "wxTextCtrl");
+ break;
+}
+case wxPickerBase_IsTextCtrlGrowable: { // wxPickerBase::IsTextCtrlGrowable
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsTextCtrlGrowable();
+ rt.addBool(Result);
+ break;
+}
+case wxPickerBase_SetPickerCtrlGrowable: { // wxPickerBase::SetPickerCtrlGrowable
+ bool grow=true;
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ grow = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetPickerCtrlGrowable(grow);
+ break;
+}
+case wxPickerBase_SetTextCtrlGrowable: { // wxPickerBase::SetTextCtrlGrowable
+ bool grow=true;
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ grow = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetTextCtrlGrowable(grow);
+ break;
+}
+case wxPickerBase_IsPickerCtrlGrowable: { // wxPickerBase::IsPickerCtrlGrowable
+ wxPickerBase *This = (wxPickerBase *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsPickerCtrlGrowable();
+ rt.addBool(Result);
+ break;
+}
+case wxFilePickerCtrl_new_0: { // wxFilePickerCtrl::wxFilePickerCtrl
+ wxFilePickerCtrl * Result = new EwxFilePickerCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFilePickerCtrl");
+ break;
+}
+case wxFilePickerCtrl_new_3: { // wxFilePickerCtrl::wxFilePickerCtrl
+ wxString path= wxEmptyString;
+ wxString message= wxFileSelectorPromptStr;
+ wxString wildcard= wxFileSelectorDefaultWildcardStr;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(0x0400|0x2000);
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * wildcardLen = (int *) bp; bp += 4;
+ wildcard = wxString(bp, wxConvUTF8);
+ bp += *wildcardLen+((8-((0+ *wildcardLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 6: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 7: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxFilePickerCtrl * Result = new EwxFilePickerCtrl(parent,(wxWindowID) *id,path,message,wildcard,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFilePickerCtrl");
+ break;
+}
+case wxFilePickerCtrl_Create: { // wxFilePickerCtrl::Create
+ wxString path= wxEmptyString;
+ wxString message= wxFileSelectorPromptStr;
+ wxString wildcard= wxFileSelectorDefaultWildcardStr;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(0x0400|0x2000);
+ const wxValidator * validator= &wxDefaultValidator;
+ wxFilePickerCtrl *This = (wxFilePickerCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * wildcardLen = (int *) bp; bp += 4;
+ wildcard = wxString(bp, wxConvUTF8);
+ bp += *wildcardLen+((8-((0+ *wildcardLen) & 7)) & 7);
+ } break;
+ case 4: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 6: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 7: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,path,message,wildcard,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxFilePickerCtrl_GetPath: { // wxFilePickerCtrl::GetPath
+ wxFilePickerCtrl *This = (wxFilePickerCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPath();
+ rt.add(Result);
+ break;
+}
+case wxFilePickerCtrl_SetPath: { // wxFilePickerCtrl::SetPath
+ wxFilePickerCtrl *This = (wxFilePickerCtrl *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetPath(str);
+ break;
+}
+case wxDirPickerCtrl_new_0: { // wxDirPickerCtrl::wxDirPickerCtrl
+ wxDirPickerCtrl * Result = new EwxDirPickerCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxDirPickerCtrl");
+ break;
+}
+case wxDirPickerCtrl_new_3: { // wxDirPickerCtrl::wxDirPickerCtrl
+ wxString path= wxEmptyString;
+ wxString message= wxDirSelectorPromptStr;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(0x0008);
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxDirPickerCtrl * Result = new EwxDirPickerCtrl(parent,(wxWindowID) *id,path,message,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxDirPickerCtrl");
+ break;
+}
+case wxDirPickerCtrl_Create: { // wxDirPickerCtrl::Create
+ wxString path= wxEmptyString;
+ wxString message= wxDirSelectorPromptStr;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(0x0008);
+ const wxValidator * validator= &wxDefaultValidator;
+ wxDirPickerCtrl *This = (wxDirPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * pathLen = (int *) bp; bp += 4;
+ path = wxString(bp, wxConvUTF8);
+ bp += *pathLen+((8-((0+ *pathLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 5: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 6: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,path,message,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxDirPickerCtrl_GetPath: { // wxDirPickerCtrl::GetPath
+ wxDirPickerCtrl *This = (wxDirPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPath();
+ rt.add(Result);
+ break;
+}
+case wxDirPickerCtrl_SetPath: { // wxDirPickerCtrl::SetPath
+ wxDirPickerCtrl *This = (wxDirPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetPath(str);
+ break;
+}
+case wxColourPickerCtrl_new_0: { // wxColourPickerCtrl::wxColourPickerCtrl
+ wxColourPickerCtrl * Result = new EwxColourPickerCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxColourPickerCtrl");
+ break;
+}
+case wxColourPickerCtrl_new_3: { // wxColourPickerCtrl::wxColourPickerCtrl
+ wxColour col= *wxBLACK;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ col = wxColour(*colR,*colG,*colB,*colA);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxColourPickerCtrl * Result = new EwxColourPickerCtrl(parent,(wxWindowID) *id,col,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxColourPickerCtrl");
+ break;
+}
+case wxColourPickerCtrl_Create: { // wxColourPickerCtrl::Create
+ wxColour col= *wxBLACK;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ col = wxColour(*colR,*colG,*colB,*colA);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,col,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxColourPickerCtrl_GetColour: { // wxColourPickerCtrl::GetColour
+ wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetColour();
+ rt.add(Result);
+ break;
+}
+case wxColourPickerCtrl_SetColour_1_1: { // wxColourPickerCtrl::SetColour
+ wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ int * colR = (int *) bp; bp += 4;
+ int * colG = (int *) bp; bp += 4;
+ int * colB = (int *) bp; bp += 4;
+ int * colA = (int *) bp; bp += 4;
+ wxColour col = wxColour(*colR,*colG,*colB,*colA);
+ if(!This) throw wxe_badarg(0);
+ This->SetColour(col);
+ break;
+}
+case wxColourPickerCtrl_SetColour_1_0: { // wxColourPickerCtrl::SetColour
+ wxColourPickerCtrl *This = (wxColourPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetColour(text);
+ rt.addBool(Result);
+ break;
+}
+case wxDatePickerCtrl_new_0: { // wxDatePickerCtrl::wxDatePickerCtrl
+ wxDatePickerCtrl * Result = new EwxDatePickerCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxDatePickerCtrl");
+ break;
+}
+case wxDatePickerCtrl_new_3: { // wxDatePickerCtrl::wxDatePickerCtrl
+ wxDateTime date= wxDefaultDateTime;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDP_DEFAULT|wxDP_SHOWCENTURY;
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * dateD = (int *) bp; bp += 4;
+ int * dateMo = (int *) bp; bp += 4;
+ int * dateY = (int *) bp; bp += 4;
+ int * dateH = (int *) bp; bp += 4;
+ int * dateMi = (int *) bp; bp += 4;
+ int * dateS = (int *) bp; bp += 4;
+ date = wxDateTime((wxDateTime::wxDateTime_t) *dateD,(wxDateTime::Month) *dateMo,*dateY,(wxDateTime::wxDateTime_t) *dateH,(wxDateTime::wxDateTime_t) *dateMi,(wxDateTime::wxDateTime_t) *dateS);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxDatePickerCtrl * Result = new EwxDatePickerCtrl(parent,(wxWindowID) *id,date,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxDatePickerCtrl");
+ break;
+}
+case wxDatePickerCtrl_GetRange: { // wxDatePickerCtrl::GetRange
+ wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4;
+ int * dt1D = (int *) bp; bp += 4;
+ int * dt1Mo = (int *) bp; bp += 4;
+ int * dt1Y = (int *) bp; bp += 4;
+ int * dt1H = (int *) bp; bp += 4;
+ int * dt1Mi = (int *) bp; bp += 4;
+ int * dt1S = (int *) bp; bp += 4;
+ wxDateTime dt1 = wxDateTime((wxDateTime::wxDateTime_t) *dt1D,(wxDateTime::Month) *dt1Mo,*dt1Y,(wxDateTime::wxDateTime_t) *dt1H,(wxDateTime::wxDateTime_t) *dt1Mi,(wxDateTime::wxDateTime_t) *dt1S);
+ int * dt2D = (int *) bp; bp += 4;
+ int * dt2Mo = (int *) bp; bp += 4;
+ int * dt2Y = (int *) bp; bp += 4;
+ int * dt2H = (int *) bp; bp += 4;
+ int * dt2Mi = (int *) bp; bp += 4;
+ int * dt2S = (int *) bp; bp += 4;
+ wxDateTime dt2 = wxDateTime((wxDateTime::wxDateTime_t) *dt2D,(wxDateTime::Month) *dt2Mo,*dt2Y,(wxDateTime::wxDateTime_t) *dt2H,(wxDateTime::wxDateTime_t) *dt2Mi,(wxDateTime::wxDateTime_t) *dt2S);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetRange(&dt1,&dt2);
+ rt.addBool(Result);
+ break;
+}
+case wxDatePickerCtrl_GetValue: { // wxDatePickerCtrl::GetValue
+ wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxDateTime Result = This->GetValue();
+ rt.add(Result);
+ break;
+}
+case wxDatePickerCtrl_SetRange: { // wxDatePickerCtrl::SetRange
+ wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4;
+ int * dt1D = (int *) bp; bp += 4;
+ int * dt1Mo = (int *) bp; bp += 4;
+ int * dt1Y = (int *) bp; bp += 4;
+ int * dt1H = (int *) bp; bp += 4;
+ int * dt1Mi = (int *) bp; bp += 4;
+ int * dt1S = (int *) bp; bp += 4;
+ wxDateTime dt1 = wxDateTime((wxDateTime::wxDateTime_t) *dt1D,(wxDateTime::Month) *dt1Mo,*dt1Y,(wxDateTime::wxDateTime_t) *dt1H,(wxDateTime::wxDateTime_t) *dt1Mi,(wxDateTime::wxDateTime_t) *dt1S);
+ int * dt2D = (int *) bp; bp += 4;
+ int * dt2Mo = (int *) bp; bp += 4;
+ int * dt2Y = (int *) bp; bp += 4;
+ int * dt2H = (int *) bp; bp += 4;
+ int * dt2Mi = (int *) bp; bp += 4;
+ int * dt2S = (int *) bp; bp += 4;
+ wxDateTime dt2 = wxDateTime((wxDateTime::wxDateTime_t) *dt2D,(wxDateTime::Month) *dt2Mo,*dt2Y,(wxDateTime::wxDateTime_t) *dt2H,(wxDateTime::wxDateTime_t) *dt2Mi,(wxDateTime::wxDateTime_t) *dt2S);
+ if(!This) throw wxe_badarg(0);
+ This->SetRange(dt1,dt2);
+ break;
+}
+case wxDatePickerCtrl_SetValue: { // wxDatePickerCtrl::SetValue
+ wxDatePickerCtrl *This = (wxDatePickerCtrl *) getPtr(bp,memenv); bp += 4;
+ int * dateD = (int *) bp; bp += 4;
+ int * dateMo = (int *) bp; bp += 4;
+ int * dateY = (int *) bp; bp += 4;
+ int * dateH = (int *) bp; bp += 4;
+ int * dateMi = (int *) bp; bp += 4;
+ int * dateS = (int *) bp; bp += 4;
+ wxDateTime date = wxDateTime((wxDateTime::wxDateTime_t) *dateD,(wxDateTime::Month) *dateMo,*dateY,(wxDateTime::wxDateTime_t) *dateH,(wxDateTime::wxDateTime_t) *dateMi,(wxDateTime::wxDateTime_t) *dateS);
+ if(!This) throw wxe_badarg(0);
+ This->SetValue(date);
+ break;
+}
+case wxFontPickerCtrl_new_0: { // wxFontPickerCtrl::wxFontPickerCtrl
+ wxFontPickerCtrl * Result = new EwxFontPickerCtrl();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFontPickerCtrl");
+ break;
+}
+case wxFontPickerCtrl_new_3: { // wxFontPickerCtrl::wxFontPickerCtrl
+ const wxFont * initial= &wxNullFont;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(0x0008|0x0010);
+ const wxValidator * validator= &wxDefaultValidator;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+initial = (wxFont *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxFontPickerCtrl * Result = new EwxFontPickerCtrl(parent,(wxWindowID) *id,*initial,pos,size,style,*validator);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFontPickerCtrl");
+ break;
+}
+case wxFontPickerCtrl_Create: { // wxFontPickerCtrl::Create
+ const wxFont * initial= &wxNullFont;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=(0x0008|0x0010);
+ const wxValidator * validator= &wxDefaultValidator;
+ wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+initial = (wxFont *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+validator = (wxValidator *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,*initial,pos,size,style,*validator);
+ rt.addBool(Result);
+ break;
+}
+case wxFontPickerCtrl_GetSelectedFont: { // wxFontPickerCtrl::GetSelectedFont
+ wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetSelectedFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxFontPickerCtrl_SetSelectedFont: { // wxFontPickerCtrl::SetSelectedFont
+ wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ wxFont *f = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelectedFont(*f);
+ break;
+}
+case wxFontPickerCtrl_GetMaxPointSize: { // wxFontPickerCtrl::GetMaxPointSize
+ wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMaxPointSize();
+ rt.addUint(Result);
+ break;
+}
+case wxFontPickerCtrl_SetMaxPointSize: { // wxFontPickerCtrl::SetMaxPointSize
+ wxFontPickerCtrl *This = (wxFontPickerCtrl *) getPtr(bp,memenv); bp += 4;
+ unsigned int * max = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMaxPointSize((int) *max);
+ break;
+}
+case wxFindReplaceDialog_new_0: { // wxFindReplaceDialog::wxFindReplaceDialog
+ wxFindReplaceDialog * Result = new EwxFindReplaceDialog();
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceDialog");
+ break;
+}
+case wxFindReplaceDialog_new_4: { // wxFindReplaceDialog::wxFindReplaceDialog
+ int style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxFindReplaceData *data = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxFindReplaceDialog * Result = new EwxFindReplaceDialog(parent,data,title,style);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceDialog");
+ break;
+}
+case wxFindReplaceDialog_Create: { // wxFindReplaceDialog::Create
+ int style=0;
+ wxFindReplaceDialog *This = (wxFindReplaceDialog *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxFindReplaceData *data = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,data,title,style);
+ rt.addBool(Result);
+ break;
+}
+case wxFindReplaceDialog_GetData: { // wxFindReplaceDialog::GetData
+ wxFindReplaceDialog *This = (wxFindReplaceDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxFindReplaceData * Result = (wxFindReplaceData*)This->GetData();
+ rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceData");
+ break;
+}
+case wxFindReplaceData_new_0: { // wxFindReplaceData::wxFindReplaceData
+ wxFindReplaceData * Result = new EwxFindReplaceData();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceData");
+ break;
+}
+case wxFindReplaceData_new_1: { // wxFindReplaceData::wxFindReplaceData
+ unsigned int * flags = (unsigned int *) bp; bp += 4;
+ wxFindReplaceData * Result = new EwxFindReplaceData((int) *flags);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFindReplaceData");
+ break;
+}
+case wxFindReplaceData_GetFindString: { // wxFindReplaceData::GetFindString
+ wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetFindString();
+ rt.add(Result);
+ break;
+}
+case wxFindReplaceData_GetReplaceString: { // wxFindReplaceData::GetReplaceString
+ wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetReplaceString();
+ rt.add(Result);
+ break;
+}
+case wxFindReplaceData_GetFlags: { // wxFindReplaceData::GetFlags
+ wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFlags();
+ rt.addInt(Result);
+ break;
+}
+case wxFindReplaceData_SetFlags: { // wxFindReplaceData::SetFlags
+ wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ unsigned int * flags = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFlags((int) *flags);
+ break;
+}
+case wxFindReplaceData_SetFindString: { // wxFindReplaceData::SetFindString
+ wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetFindString(str);
+ break;
+}
+case wxFindReplaceData_SetReplaceString: { // wxFindReplaceData::SetReplaceString
+ wxFindReplaceData *This = (wxFindReplaceData *) getPtr(bp,memenv); bp += 4;
+ int * strLen = (int *) bp; bp += 4;
+ wxString str = wxString(bp, wxConvUTF8);
+ bp += *strLen+((8-((0+ *strLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetReplaceString(str);
+ break;
+}
+case wxMultiChoiceDialog_new_0: { // wxMultiChoiceDialog::wxMultiChoiceDialog
+ wxMultiChoiceDialog * Result = new EwxMultiChoiceDialog();
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMultiChoiceDialog");
+ break;
+}
+case wxMultiChoiceDialog_new_5: { // wxMultiChoiceDialog::wxMultiChoiceDialog
+ long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE);
+ wxPoint pos= wxDefaultPosition;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ int * captionLen = (int *) bp; bp += 4;
+ wxString caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((4+ *captionLen) & 7)) & 7);
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((4+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxMultiChoiceDialog * Result = new EwxMultiChoiceDialog(parent,message,caption,choices,style,pos);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMultiChoiceDialog");
+ break;
+}
+case wxMultiChoiceDialog_GetSelections: { // wxMultiChoiceDialog::GetSelections
+ wxMultiChoiceDialog *This = (wxMultiChoiceDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxArrayInt Result = This->GetSelections();
+ rt.add(Result);
+ break;
+}
+case wxMultiChoiceDialog_SetSelections: { // wxMultiChoiceDialog::SetSelections
+ wxMultiChoiceDialog *This = (wxMultiChoiceDialog *) getPtr(bp,memenv); bp += 4;
+ int * selectionsLen = (int *) bp; bp += 4;
+ wxArrayInt selections;
+ for(int i=0; i < *selectionsLen; i++) { selections.Add(*(int *) bp); bp += 4;}
+ bp += ((*selectionsLen + 2) % 2 )*4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelections(selections);
+ break;
+}
+case wxSingleChoiceDialog_new_0: { // wxSingleChoiceDialog::wxSingleChoiceDialog
+ wxSingleChoiceDialog * Result = new EwxSingleChoiceDialog();
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSingleChoiceDialog");
+ break;
+}
+case wxSingleChoiceDialog_new_5: { // wxSingleChoiceDialog::wxSingleChoiceDialog
+ char ** clientData = (char **) NULL;
+ long style=(wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER|wxOK|wxCANCEL|wxCENTRE);
+ wxPoint pos= wxDefaultPosition;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ int * captionLen = (int *) bp; bp += 4;
+ wxString caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((4+ *captionLen) & 7)) & 7);
+ int * choicesLen = (int *) bp; bp += 4;
+ wxArrayString choices;
+ int choicesASz = 0, * choicesTemp;
+ for(int i=0; i < *choicesLen; i++) {
+ choicesTemp = (int *) bp; bp += 4;
+ choices.Add(wxString(bp, wxConvUTF8));
+ bp += *choicesTemp;
+ choicesASz += *choicesTemp+4;
+ }
+ bp += (8-((4+ choicesASz) & 7 )) & 7;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxSingleChoiceDialog * Result = new EwxSingleChoiceDialog(parent,message,caption,choices,clientData,style,pos);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSingleChoiceDialog");
+ break;
+}
+case wxSingleChoiceDialog_GetSelection: { // wxSingleChoiceDialog::GetSelection
+ wxSingleChoiceDialog *This = (wxSingleChoiceDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxSingleChoiceDialog_GetStringSelection: { // wxSingleChoiceDialog::GetStringSelection
+ wxSingleChoiceDialog *This = (wxSingleChoiceDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetStringSelection();
+ rt.add(Result);
+ break;
+}
+case wxSingleChoiceDialog_SetSelection: { // wxSingleChoiceDialog::SetSelection
+ wxSingleChoiceDialog *This = (wxSingleChoiceDialog *) getPtr(bp,memenv); bp += 4;
+ int * sel = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((int) *sel);
+ break;
+}
+case wxTextEntryDialog_new: { // wxTextEntryDialog::wxTextEntryDialog
+ wxString caption= wxGetTextFromUserPromptStr;
+ wxString value= wxEmptyString;
+ long style=(wxOK|wxCANCEL|wxCENTRE|wxWS_EX_VALIDATE_RECURSIVELY);
+ wxPoint pos= wxDefaultPosition;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * captionLen = (int *) bp; bp += 4;
+ caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((0+ *captionLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxTextEntryDialog * Result = new EwxTextEntryDialog(parent,message,caption,value,style,pos);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTextEntryDialog");
+ break;
+}
+case wxTextEntryDialog_GetValue: { // wxTextEntryDialog::GetValue
+ wxTextEntryDialog *This = (wxTextEntryDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetValue();
+ rt.add(Result);
+ break;
+}
+case wxTextEntryDialog_SetValue: { // wxTextEntryDialog::SetValue
+ wxTextEntryDialog *This = (wxTextEntryDialog *) getPtr(bp,memenv); bp += 4;
+ int * valLen = (int *) bp; bp += 4;
+ wxString val = wxString(bp, wxConvUTF8);
+ bp += *valLen+((8-((0+ *valLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetValue(val);
+ break;
+}
+case wxPasswordEntryDialog_new: { // wxPasswordEntryDialog::wxPasswordEntryDialog
+ wxString caption= wxGetPasswordFromUserPromptStr;
+ wxString value= wxEmptyString;
+ long style=(wxOK|wxCANCEL|wxCENTRE|wxWS_EX_VALIDATE_RECURSIVELY);
+ wxPoint pos= wxDefaultPosition;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * captionLen = (int *) bp; bp += 4;
+ caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((0+ *captionLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * valueLen = (int *) bp; bp += 4;
+ value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((0+ *valueLen) & 7)) & 7);
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 4: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxPasswordEntryDialog * Result = new EwxPasswordEntryDialog(parent,message,caption,value,style,pos);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPasswordEntryDialog");
+ break;
+}
+case wxFontData_new_0: { // wxFontData::wxFontData
+ wxFontData * Result = new EwxFontData();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFontData");
+ break;
+}
+case wxFontData_new_1: { // wxFontData::wxFontData
+ wxFontData *data = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ wxFontData * Result = new EwxFontData(*data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFontData");
+ break;
+}
+case wxFontData_EnableEffects: { // wxFontData::EnableEffects
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableEffects((bool) *flag);
+ break;
+}
+case wxFontData_GetAllowSymbols: { // wxFontData::GetAllowSymbols
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetAllowSymbols();
+ rt.addBool(Result);
+ break;
+}
+case wxFontData_GetColour: { // wxFontData::GetColour
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxColour * Result = &This->GetColour();
+ rt.add((*Result));
+ break;
+}
+case wxFontData_GetChosenFont: { // wxFontData::GetChosenFont
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetChosenFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxFontData_GetEnableEffects: { // wxFontData::GetEnableEffects
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEnableEffects();
+ rt.addBool(Result);
+ break;
+}
+case wxFontData_GetInitialFont: { // wxFontData::GetInitialFont
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetInitialFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxFontData_GetShowHelp: { // wxFontData::GetShowHelp
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetShowHelp();
+ rt.addBool(Result);
+ break;
+}
+case wxFontData_SetAllowSymbols: { // wxFontData::SetAllowSymbols
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAllowSymbols((bool) *flag);
+ break;
+}
+case wxFontData_SetChosenFont: { // wxFontData::SetChosenFont
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetChosenFont(*font);
+ break;
+}
+case wxFontData_SetColour: { // wxFontData::SetColour
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ int * colourR = (int *) bp; bp += 4;
+ int * colourG = (int *) bp; bp += 4;
+ int * colourB = (int *) bp; bp += 4;
+ int * colourA = (int *) bp; bp += 4;
+ wxColour colour = wxColour(*colourR,*colourG,*colourB,*colourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetColour(colour);
+ break;
+}
+case wxFontData_SetInitialFont: { // wxFontData::SetInitialFont
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInitialFont(*font);
+ break;
+}
+case wxFontData_SetRange: { // wxFontData::SetRange
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ int * minRange = (int *) bp; bp += 4;
+ int * maxRange = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRange((int) *minRange,(int) *maxRange);
+ break;
+}
+case wxFontData_SetShowHelp: { // wxFontData::SetShowHelp
+ wxFontData *This = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetShowHelp((bool) *flag);
+ break;
+}
+case wxFontDialog_new_0: { // wxFontDialog::wxFontDialog
+ wxFontDialog * Result = new EwxFontDialog();
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFontDialog");
+ break;
+}
+case wxFontDialog_new_2: { // wxFontDialog::wxFontDialog
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxFontData *data = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ wxFontDialog * Result = new EwxFontDialog(parent,*data);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFontDialog");
+ break;
+}
+case wxFontDialog_Create: { // wxFontDialog::Create
+ wxFontDialog *This = (wxFontDialog *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxFontData *data = (wxFontData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,*data);
+ rt.addBool(Result);
+ break;
+}
+case wxFontDialog_GetFontData: { // wxFontDialog::GetFontData
+ wxFontDialog *This = (wxFontDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxFontData * Result = &This->GetFontData();
+ rt.addRef(getRef((void *)Result,memenv), "wxFontData");
+ break;
+}
+case wxProgressDialog_new: { // wxProgressDialog::wxProgressDialog
+ int maximum=100;
+ wxWindow * parent=NULL;
+ int style=wxPD_APP_MODAL|wxPD_AUTO_HIDE;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((4+ *messageLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ maximum = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 3: {bp += 4;
+ style = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxProgressDialog * Result = new EwxProgressDialog(title,message,maximum,parent,style);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxProgressDialog");
+ break;
+}
+case wxProgressDialog_Resume: { // wxProgressDialog::Resume
+ wxProgressDialog *This = (wxProgressDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Resume();
+ break;
+}
+case wxProgressDialog_Update_2: { // wxProgressDialog::Update
+ wxString newmsg= wxEmptyString;
+ wxProgressDialog *This = (wxProgressDialog *) getPtr(bp,memenv); bp += 4;
+ int * value = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * newmsgLen = (int *) bp; bp += 4;
+ newmsg = wxString(bp, wxConvUTF8);
+ bp += *newmsgLen+((8-((0+ *newmsgLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Update((int) *value,newmsg);
+ rt.addBool(Result);
+ break;
+}
+case wxProgressDialog_Update_0: { // wxProgressDialog::Update
+ wxProgressDialog *This = (wxProgressDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Update();
+ break;
+}
+case wxMessageDialog_new: { // wxMessageDialog::wxMessageDialog
+ wxString caption= wxMessageBoxCaptionStr;
+ long style=wxOK|wxCENTRE;
+ wxPoint pos= wxDefaultPosition;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * captionLen = (int *) bp; bp += 4;
+ caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((0+ *captionLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 3: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxMessageDialog * Result = new EwxMessageDialog(parent,message,caption,style,pos);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMessageDialog");
+ break;
+}
+case wxPageSetupDialog_new: { // wxPageSetupDialog::wxPageSetupDialog
+ wxPageSetupDialogData * data=NULL;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+data = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxPageSetupDialog * Result = new EwxPageSetupDialog(parent,data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialog");
+ break;
+}
+case wxPageSetupDialog_GetPageSetupData: { // wxPageSetupDialog::GetPageSetupData
+ wxPageSetupDialog *This = (wxPageSetupDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPageSetupDialogData * Result = &This->GetPageSetupData();
+ rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData");
+ break;
+}
+case wxPageSetupDialog_ShowModal: { // wxPageSetupDialog::ShowModal
+ wxPageSetupDialog *This = (wxPageSetupDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ShowModal();
+ rt.addInt(Result);
+ break;
+}
+case wxPageSetupDialogData_new_0: { // wxPageSetupDialogData::wxPageSetupDialogData
+ wxPageSetupDialogData * Result = new EwxPageSetupDialogData();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData");
+ break;
+}
+case wxPageSetupDialogData_new_1_0: { // wxPageSetupDialogData::wxPageSetupDialogData
+ wxPageSetupDialogData *dialogData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ wxPageSetupDialogData * Result = new EwxPageSetupDialogData(*dialogData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData");
+ break;
+}
+case wxPageSetupDialogData_new_1_1: { // wxPageSetupDialogData::wxPageSetupDialogData
+ wxPrintData * printData = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxPageSetupDialogData * Result = new EwxPageSetupDialogData(*printData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData");
+ break;
+}
+case wxPageSetupDialogData_EnableHelp: { // wxPageSetupDialogData::EnableHelp
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableHelp((bool) *flag);
+ break;
+}
+case wxPageSetupDialogData_EnableMargins: { // wxPageSetupDialogData::EnableMargins
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableMargins((bool) *flag);
+ break;
+}
+case wxPageSetupDialogData_EnableOrientation: { // wxPageSetupDialogData::EnableOrientation
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableOrientation((bool) *flag);
+ break;
+}
+case wxPageSetupDialogData_EnablePaper: { // wxPageSetupDialogData::EnablePaper
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnablePaper((bool) *flag);
+ break;
+}
+case wxPageSetupDialogData_EnablePrinter: { // wxPageSetupDialogData::EnablePrinter
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnablePrinter((bool) *flag);
+ break;
+}
+case wxPageSetupDialogData_GetDefaultMinMargins: { // wxPageSetupDialogData::GetDefaultMinMargins
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetDefaultMinMargins();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_GetEnableMargins: { // wxPageSetupDialogData::GetEnableMargins
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEnableMargins();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_GetEnableOrientation: { // wxPageSetupDialogData::GetEnableOrientation
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEnableOrientation();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_GetEnablePaper: { // wxPageSetupDialogData::GetEnablePaper
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEnablePaper();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_GetEnablePrinter: { // wxPageSetupDialogData::GetEnablePrinter
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEnablePrinter();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_GetEnableHelp: { // wxPageSetupDialogData::GetEnableHelp
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEnableHelp();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_GetDefaultInfo: { // wxPageSetupDialogData::GetDefaultInfo
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetDefaultInfo();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_GetMarginTopLeft: { // wxPageSetupDialogData::GetMarginTopLeft
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetMarginTopLeft();
+ rt.add(Result);
+ break;
+}
+case wxPageSetupDialogData_GetMarginBottomRight: { // wxPageSetupDialogData::GetMarginBottomRight
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetMarginBottomRight();
+ rt.add(Result);
+ break;
+}
+case wxPageSetupDialogData_GetMinMarginTopLeft: { // wxPageSetupDialogData::GetMinMarginTopLeft
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetMinMarginTopLeft();
+ rt.add(Result);
+ break;
+}
+case wxPageSetupDialogData_GetMinMarginBottomRight: { // wxPageSetupDialogData::GetMinMarginBottomRight
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetMinMarginBottomRight();
+ rt.add(Result);
+ break;
+}
+case wxPageSetupDialogData_GetPaperId: { // wxPageSetupDialogData::GetPaperId
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPaperSize Result = This->GetPaperId();
+ rt.addInt(Result);
+ break;
+}
+case wxPageSetupDialogData_GetPaperSize: { // wxPageSetupDialogData::GetPaperSize
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetPaperSize();
+ rt.add(Result);
+ break;
+}
+case wxPageSetupDialogData_GetPrintData: { // wxPageSetupDialogData::GetPrintData
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxPrintData * Result = &This->GetPrintData();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintData");
+ break;
+}
+case wxPageSetupDialogData_IsOk: { // wxPageSetupDialogData::IsOk
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxPageSetupDialogData_SetDefaultInfo: { // wxPageSetupDialogData::SetDefaultInfo
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultInfo((bool) *flag);
+ break;
+}
+case wxPageSetupDialogData_SetDefaultMinMargins: { // wxPageSetupDialogData::SetDefaultMinMargins
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDefaultMinMargins((bool) *flag);
+ break;
+}
+case wxPageSetupDialogData_SetMarginTopLeft: { // wxPageSetupDialogData::SetMarginTopLeft
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginTopLeft(pt);
+ break;
+}
+case wxPageSetupDialogData_SetMarginBottomRight: { // wxPageSetupDialogData::SetMarginBottomRight
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginBottomRight(pt);
+ break;
+}
+case wxPageSetupDialogData_SetMinMarginTopLeft: { // wxPageSetupDialogData::SetMinMarginTopLeft
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->SetMinMarginTopLeft(pt);
+ break;
+}
+case wxPageSetupDialogData_SetMinMarginBottomRight: { // wxPageSetupDialogData::SetMinMarginBottomRight
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ This->SetMinMarginBottomRight(pt);
+ break;
+}
+case wxPageSetupDialogData_SetPaperId: { // wxPageSetupDialogData::SetPaperId
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPaperId((wxPaperSize) *id);
+ break;
+}
+case wxPageSetupDialogData_SetPaperSize_1_1: { // wxPageSetupDialogData::SetPaperSize
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ int * szW = (int *) bp; bp += 4;
+ int * szH = (int *) bp; bp += 4;
+ wxSize sz = wxSize(*szW,*szH);
+ if(!This) throw wxe_badarg(0);
+ This->SetPaperSize(sz);
+ break;
+}
+case wxPageSetupDialogData_SetPaperSize_1_0: { // wxPageSetupDialogData::SetPaperSize
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPaperSize((wxPaperSize) *id);
+ break;
+}
+case wxPageSetupDialogData_SetPrintData: { // wxPageSetupDialogData::SetPrintData
+ wxPageSetupDialogData *This = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPrintData(*printData);
+ break;
+}
+case wxPrintDialog_new_2_0: { // wxPrintDialog::wxPrintDialog
+ wxPrintDialogData * data=NULL;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+data = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxPrintDialog * Result = new EwxPrintDialog(parent,data);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintDialog");
+ break;
+}
+case wxPrintDialog_new_2_1: { // wxPrintDialog::wxPrintDialog
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxPrintData *data = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxPrintDialog * Result = new EwxPrintDialog(parent,data);
+ newPtr((void *) Result, 2, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintDialog");
+ break;
+}
+case wxPrintDialog_GetPrintDialogData: { // wxPrintDialog::GetPrintDialogData
+ wxPrintDialog *This = (wxPrintDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintDialogData * Result = &This->GetPrintDialogData();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData");
+ break;
+}
+case wxPrintDialog_GetPrintDC: { // wxPrintDialog::GetPrintDC
+ wxPrintDialog *This = (wxPrintDialog *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxDC * Result = (wxDC*)This->GetPrintDC();
+ rt.addRef(getRef((void *)Result,memenv), "wxDC");
+ break;
+}
+case wxPrintDialogData_new_0: { // wxPrintDialogData::wxPrintDialogData
+ wxPrintDialogData * Result = new EwxPrintDialogData();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData");
+ break;
+}
+case wxPrintDialogData_new_1_1: { // wxPrintDialogData::wxPrintDialogData
+ wxPrintDialogData * dialogData = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ wxPrintDialogData * Result = new EwxPrintDialogData(*dialogData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData");
+ break;
+}
+case wxPrintDialogData_new_1_0: { // wxPrintDialogData::wxPrintDialogData
+ wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxPrintDialogData * Result = new EwxPrintDialogData(*printData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData");
+ break;
+}
+case wxPrintDialogData_EnableHelp: { // wxPrintDialogData::EnableHelp
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableHelp((bool) *flag);
+ break;
+}
+case wxPrintDialogData_EnablePageNumbers: { // wxPrintDialogData::EnablePageNumbers
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnablePageNumbers((bool) *flag);
+ break;
+}
+case wxPrintDialogData_EnablePrintToFile: { // wxPrintDialogData::EnablePrintToFile
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnablePrintToFile((bool) *flag);
+ break;
+}
+case wxPrintDialogData_EnableSelection: { // wxPrintDialogData::EnableSelection
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnableSelection((bool) *flag);
+ break;
+}
+case wxPrintDialogData_GetAllPages: { // wxPrintDialogData::GetAllPages
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetAllPages();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintDialogData_GetCollate: { // wxPrintDialogData::GetCollate
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetCollate();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintDialogData_GetFromPage: { // wxPrintDialogData::GetFromPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFromPage();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintDialogData_GetMaxPage: { // wxPrintDialogData::GetMaxPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMaxPage();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintDialogData_GetMinPage: { // wxPrintDialogData::GetMinPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMinPage();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintDialogData_GetNoCopies: { // wxPrintDialogData::GetNoCopies
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetNoCopies();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintDialogData_GetPrintData: { // wxPrintDialogData::GetPrintData
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintData * Result = &This->GetPrintData();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintData");
+ break;
+}
+case wxPrintDialogData_GetPrintToFile: { // wxPrintDialogData::GetPrintToFile
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetPrintToFile();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintDialogData_GetSelection: { // wxPrintDialogData::GetSelection
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSelection();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintDialogData_GetToPage: { // wxPrintDialogData::GetToPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetToPage();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintDialogData_IsOk: { // wxPrintDialogData::IsOk
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintDialogData_SetCollate: { // wxPrintDialogData::SetCollate
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCollate((bool) *flag);
+ break;
+}
+case wxPrintDialogData_SetFromPage: { // wxPrintDialogData::SetFromPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ int * v = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFromPage((int) *v);
+ break;
+}
+case wxPrintDialogData_SetMaxPage: { // wxPrintDialogData::SetMaxPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ int * v = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMaxPage((int) *v);
+ break;
+}
+case wxPrintDialogData_SetMinPage: { // wxPrintDialogData::SetMinPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ int * v = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMinPage((int) *v);
+ break;
+}
+case wxPrintDialogData_SetNoCopies: { // wxPrintDialogData::SetNoCopies
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ int * v = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetNoCopies((int) *v);
+ break;
+}
+case wxPrintDialogData_SetPrintData: { // wxPrintDialogData::SetPrintData
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPrintData(*printData);
+ break;
+}
+case wxPrintDialogData_SetPrintToFile: { // wxPrintDialogData::SetPrintToFile
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPrintToFile((bool) *flag);
+ break;
+}
+case wxPrintDialogData_SetSelection: { // wxPrintDialogData::SetSelection
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((bool) *flag);
+ break;
+}
+case wxPrintDialogData_SetToPage: { // wxPrintDialogData::SetToPage
+ wxPrintDialogData *This = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ int * v = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetToPage((int) *v);
+ break;
+}
+case wxPrintData_new_0: { // wxPrintData::wxPrintData
+ wxPrintData * Result = new EwxPrintData();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintData");
+ break;
+}
+case wxPrintData_new_1: { // wxPrintData::wxPrintData
+ wxPrintData *printData = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxPrintData * Result = new EwxPrintData(*printData);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintData");
+ break;
+}
+case wxPrintData_GetCollate: { // wxPrintData::GetCollate
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetCollate();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintData_GetBin: { // wxPrintData::GetBin
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetBin();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintData_GetColour: { // wxPrintData::GetColour
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetColour();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintData_GetDuplex: { // wxPrintData::GetDuplex
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDuplex();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintData_GetNoCopies: { // wxPrintData::GetNoCopies
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetNoCopies();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintData_GetOrientation: { // wxPrintData::GetOrientation
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOrientation();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintData_GetPaperId: { // wxPrintData::GetPaperId
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPaperSize Result = This->GetPaperId();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintData_GetPrinterName: { // wxPrintData::GetPrinterName
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetPrinterName();
+ rt.add(Result);
+ break;
+}
+case wxPrintData_GetQuality: { // wxPrintData::GetQuality
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintQuality Result = This->GetQuality();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintData_IsOk: { // wxPrintData::IsOk
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintData_SetBin: { // wxPrintData::SetBin
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxPrintBin bin = *(wxPrintBin *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetBin((wxPrintBin) bin);
+ break;
+}
+case wxPrintData_SetCollate: { // wxPrintData::SetCollate
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ bool * flag = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCollate((bool) *flag);
+ break;
+}
+case wxPrintData_SetColour: { // wxPrintData::SetColour
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ bool * colour = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetColour((bool) *colour);
+ break;
+}
+case wxPrintData_SetDuplex: { // wxPrintData::SetDuplex
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxDuplexMode duplex = *(wxDuplexMode *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetDuplex((wxDuplexMode) duplex);
+ break;
+}
+case wxPrintData_SetNoCopies: { // wxPrintData::SetNoCopies
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ int * v = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetNoCopies((int) *v);
+ break;
+}
+case wxPrintData_SetOrientation: { // wxPrintData::SetOrientation
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ int * orient = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetOrientation((int) *orient);
+ break;
+}
+case wxPrintData_SetPaperId: { // wxPrintData::SetPaperId
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ int * sizeId = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPaperId((wxPaperSize) *sizeId);
+ break;
+}
+case wxPrintData_SetPrinterName: { // wxPrintData::SetPrinterName
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetPrinterName(name);
+ break;
+}
+case wxPrintData_SetQuality: { // wxPrintData::SetQuality
+ wxPrintData *This = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ int * quality = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetQuality((wxPrintQuality) *quality);
+ break;
+}
+case wxPrintPreview_new_2: { // wxPrintPreview::wxPrintPreview
+ wxPrintout * printoutForPrinting=(wxPrintout *) NULL;
+ wxPrintDialogData * data=(wxPrintDialogData *) NULL;
+ wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+printoutForPrinting = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+data = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxPrintPreview * Result = new EwxPrintPreview(printout,printoutForPrinting,data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintPreview");
+ break;
+}
+case wxPrintPreview_new_3: { // wxPrintPreview::wxPrintPreview
+ wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ wxPrintout *printoutForPrinting = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ wxPrintData *data = (wxPrintData *) getPtr(bp,memenv); bp += 4;
+ wxPrintPreview * Result = new EwxPrintPreview(printout,printoutForPrinting,data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintPreview");
+ break;
+}
+case wxPrintPreview_GetCanvas: { // wxPrintPreview::GetCanvas
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPreviewCanvas * Result = (wxPreviewCanvas*)This->GetCanvas();
+ rt.addRef(getRef((void *)Result,memenv), "wxPreviewCanvas");
+ break;
+}
+case wxPrintPreview_GetCurrentPage: { // wxPrintPreview::GetCurrentPage
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCurrentPage();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintPreview_GetFrame: { // wxPrintPreview::GetFrame
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFrame * Result = (wxFrame*)This->GetFrame();
+ rt.addRef(getRef((void *)Result,memenv), "wxFrame");
+ break;
+}
+case wxPrintPreview_GetMaxPage: { // wxPrintPreview::GetMaxPage
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMaxPage();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintPreview_GetMinPage: { // wxPrintPreview::GetMinPage
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMinPage();
+ rt.addInt(Result);
+ break;
+}
+case wxPrintPreview_GetPrintout: { // wxPrintPreview::GetPrintout
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintout * Result = (wxPrintout*)This->GetPrintout();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintout");
+ break;
+}
+case wxPrintPreview_GetPrintoutForPrinting: { // wxPrintPreview::GetPrintoutForPrinting
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintout * Result = (wxPrintout*)This->GetPrintoutForPrinting();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintout");
+ break;
+}
+case wxPrintPreview_IsOk: { // wxPrintPreview::IsOk
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintPreview_PaintPage: { // wxPrintPreview::PaintPage
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ wxPreviewCanvas *canvas = (wxPreviewCanvas *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PaintPage(canvas,*dc);
+ rt.addBool(Result);
+ break;
+}
+case wxPrintPreview_Print: { // wxPrintPreview::Print
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ bool * interactive = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Print((bool) *interactive);
+ rt.addBool(Result);
+ break;
+}
+case wxPrintPreview_RenderPage: { // wxPrintPreview::RenderPage
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ int * pageNum = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RenderPage((int) *pageNum);
+ rt.addBool(Result);
+ break;
+}
+case wxPrintPreview_SetCanvas: { // wxPrintPreview::SetCanvas
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ wxPreviewCanvas *canvas = (wxPreviewCanvas *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCanvas(canvas);
+ break;
+}
+case wxPrintPreview_SetCurrentPage: { // wxPrintPreview::SetCurrentPage
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ int * pageNum = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetCurrentPage((int) *pageNum);
+ rt.addBool(Result);
+ break;
+}
+case wxPrintPreview_SetFrame: { // wxPrintPreview::SetFrame
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFrame(frame);
+ break;
+}
+case wxPrintPreview_SetPrintout: { // wxPrintPreview::SetPrintout
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPrintout(printout);
+ break;
+}
+case wxPrintPreview_SetZoom: { // wxPrintPreview::SetZoom
+ wxPrintPreview *This = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ int * percent = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetZoom((int) *percent);
+ break;
+}
+case wxPreviewFrame_new: { // wxPreviewFrame::wxPreviewFrame
+ wxString title= wxT("Print Preview");
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_FRAME_STYLE;
+ wxPrintPreview *preview = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxPreviewFrame * Result = new EwxPreviewFrame(preview,parent,title,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPreviewFrame");
+ break;
+}
+case wxPreviewFrame_CreateControlBar: { // wxPreviewFrame::CreateControlBar
+ wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CreateControlBar();
+ break;
+}
+case wxPreviewFrame_CreateCanvas: { // wxPreviewFrame::CreateCanvas
+ wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CreateCanvas();
+ break;
+}
+case wxPreviewFrame_Initialize: { // wxPreviewFrame::Initialize
+ wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Initialize();
+ break;
+}
+case wxPreviewFrame_OnCloseWindow: { // wxPreviewFrame::OnCloseWindow
+ wxPreviewFrame *This = (wxPreviewFrame *) getPtr(bp,memenv); bp += 4;
+ wxCloseEvent *event = (wxCloseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->OnCloseWindow(*event);
+ break;
+}
+case wxPreviewControlBar_new: { // wxPreviewControlBar::wxPreviewControlBar
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxTAB_TRAVERSAL;
+ wxPrintPreview *preview = (wxPrintPreview *) getPtr(bp,memenv); bp += 4;
+ int * buttons = (int *) bp; bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxPreviewControlBar * Result = new EwxPreviewControlBar(preview,(long) *buttons,parent,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPreviewControlBar");
+ break;
+}
+case wxPreviewControlBar_CreateButtons: { // wxPreviewControlBar::CreateButtons
+ wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CreateButtons();
+ break;
+}
+case wxPreviewControlBar_GetPrintPreview: { // wxPreviewControlBar::GetPrintPreview
+ wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintPreview * Result = (wxPrintPreview*)This->GetPrintPreview();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintPreview");
+ break;
+}
+case wxPreviewControlBar_GetZoomControl: { // wxPreviewControlBar::GetZoomControl
+ wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetZoomControl();
+ rt.addInt(Result);
+ break;
+}
+case wxPreviewControlBar_SetZoomControl: { // wxPreviewControlBar::SetZoomControl
+ wxPreviewControlBar *This = (wxPreviewControlBar *) getPtr(bp,memenv); bp += 4;
+ int * zoom = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetZoomControl((int) *zoom);
+ break;
+}
+case wxPrinter_new: { // wxPrinter::wxPrinter
+ wxPrintDialogData * data=(wxPrintDialogData *) NULL;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+data = (wxPrintDialogData *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxPrinter * Result = new EwxPrinter(data);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxPrinter");
+ break;
+}
+case wxPrinter_CreateAbortWindow: { // wxPrinter::CreateAbortWindow
+ wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->CreateAbortWindow(parent,printout);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxPrinter_GetAbort: { // wxPrinter::GetAbort
+ wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetAbort();
+ rt.addBool(Result);
+ break;
+}
+case wxPrinter_GetLastError: { // wxPrinter::GetLastError
+ int Result = wxPrinter::GetLastError();
+ rt.addInt(Result);
+ break;
+}
+case wxPrinter_GetPrintDialogData: { // wxPrinter::GetPrintDialogData
+ wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintDialogData * Result = &This->GetPrintDialogData();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintDialogData");
+ break;
+}
+case wxPrinter_Print: { // wxPrinter::Print
+ bool prompt=true;
+ wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ prompt = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Print(parent,printout,prompt);
+ rt.addBool(Result);
+ break;
+}
+case wxPrinter_PrintDialog: { // wxPrinter::PrintDialog
+ wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxDC * Result = (wxDC*)This->PrintDialog(parent);
+ rt.addRef(getRef((void *)Result,memenv), "wxDC");
+ break;
+}
+case wxPrinter_ReportError: { // wxPrinter::ReportError
+ wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxPrintout *printout = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ int * messageLen = (int *) bp; bp += 4;
+ wxString message = wxString(bp, wxConvUTF8);
+ bp += *messageLen+((8-((0+ *messageLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->ReportError(parent,printout,message);
+ break;
+}
+case wxPrinter_Setup: { // wxPrinter::Setup
+ wxPrinter *This = (wxPrinter *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Setup(parent);
+ rt.addBool(Result);
+ break;
+}
+case wxXmlResource_new_1: { // wxXmlResource::wxXmlResource
+ int flags=wxXRC_USE_LOCALE;
+ wxString domain= wxEmptyString;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * domainLen = (int *) bp; bp += 4;
+ domain = wxString(bp, wxConvUTF8);
+ bp += *domainLen+((8-((0+ *domainLen) & 7)) & 7);
+ } break;
+ }};
+ wxXmlResource * Result = new EwxXmlResource(flags,domain);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxXmlResource");
+ break;
+}
+case wxXmlResource_new_2: { // wxXmlResource::wxXmlResource
+ int flags=wxXRC_USE_LOCALE;
+ wxString domain= wxEmptyString;
+ int * filemaskLen = (int *) bp; bp += 4;
+ wxString filemask = wxString(bp, wxConvUTF8);
+ bp += *filemaskLen+((8-((4+ *filemaskLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * domainLen = (int *) bp; bp += 4;
+ domain = wxString(bp, wxConvUTF8);
+ bp += *domainLen+((8-((0+ *domainLen) & 7)) & 7);
+ } break;
+ }};
+ wxXmlResource * Result = new EwxXmlResource(filemask,flags,domain);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxXmlResource");
+ break;
+}
+case wxXmlResource_AttachUnknownControl: { // wxXmlResource::AttachUnknownControl
+ wxWindow * parent=NULL;
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ wxWindow *control = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AttachUnknownControl(name,control,parent);
+ rt.addBool(Result);
+ break;
+}
+case wxXmlResource_ClearHandlers: { // wxXmlResource::ClearHandlers
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearHandlers();
+ break;
+}
+case wxXmlResource_CompareVersion: { // wxXmlResource::CompareVersion
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * major = (int *) bp; bp += 4;
+ int * minor = (int *) bp; bp += 4;
+ int * release = (int *) bp; bp += 4;
+ int * revision = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->CompareVersion((int) *major,(int) *minor,(int) *release,(int) *revision);
+ rt.addInt(Result);
+ break;
+}
+case wxXmlResource_Get: { // wxXmlResource::Get
+ wxXmlResource * Result = (wxXmlResource*)wxXmlResource::Get();
+ rt.addRef(getRef((void *)Result,memenv), "wxXmlResource");
+ break;
+}
+case wxXmlResource_GetFlags: { // wxXmlResource::GetFlags
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFlags();
+ rt.addInt(Result);
+ break;
+}
+case wxXmlResource_GetVersion: { // wxXmlResource::GetVersion
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetVersion();
+ rt.addInt(Result);
+ break;
+}
+case wxXmlResource_GetXRCID: { // wxXmlResource::GetXRCID
+ int value_if_not_found=wxID_NONE;
+ int * str_idLen = (int *) bp; bp += 4;
+ wxString str_id = wxString(bp, wxConvUTF8);
+ bp += *str_idLen+((8-((4+ *str_idLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ value_if_not_found = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ int Result = wxXmlResource::GetXRCID(str_id,value_if_not_found);
+ rt.addInt(Result);
+ break;
+}
+case wxXmlResource_InitAllHandlers: { // wxXmlResource::InitAllHandlers
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->InitAllHandlers();
+ break;
+}
+case wxXmlResource_Load: { // wxXmlResource::Load
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * filemaskLen = (int *) bp; bp += 4;
+ wxString filemask = wxString(bp, wxConvUTF8);
+ bp += *filemaskLen+((8-((0+ *filemaskLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Load(filemask);
+ rt.addBool(Result);
+ break;
+}
+case wxXmlResource_LoadBitmap: { // wxXmlResource::LoadBitmap
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = new wxBitmap(This->LoadBitmap(name)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxXmlResource_LoadDialog_2: { // wxXmlResource::LoadDialog
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxDialog * Result = (wxDialog*)This->LoadDialog(parent,name);
+ rt.addRef(getRef((void *)Result,memenv), "wxDialog");
+ break;
+}
+case wxXmlResource_LoadDialog_3: { // wxXmlResource::LoadDialog
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxDialog *dlg = (wxDialog *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadDialog(dlg,parent,name);
+ rt.addBool(Result);
+ break;
+}
+case wxXmlResource_LoadFrame_2: { // wxXmlResource::LoadFrame
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxFrame * Result = (wxFrame*)This->LoadFrame(parent,name);
+ rt.addRef(getRef((void *)Result,memenv), "wxFrame");
+ break;
+}
+case wxXmlResource_LoadFrame_3: { // wxXmlResource::LoadFrame
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadFrame(frame,parent,name);
+ rt.addBool(Result);
+ break;
+}
+case wxXmlResource_LoadIcon: { // wxXmlResource::LoadIcon
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxIcon * Result = new wxIcon(This->LoadIcon(name)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxXmlResource_LoadMenu: { // wxXmlResource::LoadMenu
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxMenu * Result = (wxMenu*)This->LoadMenu(name);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxXmlResource_LoadMenuBar_2: { // wxXmlResource::LoadMenuBar
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxMenuBar * Result = (wxMenuBar*)This->LoadMenuBar(parent,name);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuBar");
+ break;
+}
+case wxXmlResource_LoadMenuBar_1: { // wxXmlResource::LoadMenuBar
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxMenuBar * Result = (wxMenuBar*)This->LoadMenuBar(name);
+ rt.addRef(getRef((void *)Result,memenv), "wxMenuBar");
+ break;
+}
+case wxXmlResource_LoadPanel_2: { // wxXmlResource::LoadPanel
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxPanel * Result = (wxPanel*)This->LoadPanel(parent,name);
+ rt.addRef(getRef((void *)Result,memenv), "wxPanel");
+ break;
+}
+case wxXmlResource_LoadPanel_3: { // wxXmlResource::LoadPanel
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxPanel *panel = (wxPanel *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadPanel(panel,parent,name);
+ rt.addBool(Result);
+ break;
+}
+case wxXmlResource_LoadToolBar: { // wxXmlResource::LoadToolBar
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((4+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxToolBar * Result = (wxToolBar*)This->LoadToolBar(parent,name);
+ rt.addRef(getRef((void *)Result,memenv), "wxToolBar");
+ break;
+}
+case wxXmlResource_Set: { // wxXmlResource::Set
+ wxXmlResource *res = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ wxXmlResource * Result = (wxXmlResource*)wxXmlResource::Set(res);
+ rt.addRef(getRef((void *)Result,memenv), "wxXmlResource");
+ break;
+}
+case wxXmlResource_SetFlags: { // wxXmlResource::SetFlags
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFlags((int) *flags);
+ break;
+}
+case wxXmlResource_Unload: { // wxXmlResource::Unload
+ wxXmlResource *This = (wxXmlResource *) getPtr(bp,memenv); bp += 4;
+ int * filenameLen = (int *) bp; bp += 4;
+ wxString filename = wxString(bp, wxConvUTF8);
+ bp += *filenameLen+((8-((0+ *filenameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Unload(filename);
+ rt.addBool(Result);
+ break;
+}
+
+// XRCTRL macro implemented in erlang funcid wxXmlResource_xrcctrl
+case wxHtmlEasyPrinting_new: { // wxHtmlEasyPrinting::wxHtmlEasyPrinting
+ wxString name= wxT("Printing");
+ wxWindow * parentWindow=NULL;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+parentWindow = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxHtmlEasyPrinting * Result = new EwxHtmlEasyPrinting(name,parentWindow);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxHtmlEasyPrinting");
+ break;
+}
+case wxHtmlEasyPrinting_GetPrintData: { // wxHtmlEasyPrinting::GetPrintData
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPrintData * Result = (wxPrintData*)This->GetPrintData();
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintData");
+ break;
+}
+case wxHtmlEasyPrinting_GetPageSetupData: { // wxHtmlEasyPrinting::GetPageSetupData
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPageSetupDialogData * Result = (wxPageSetupDialogData*)This->GetPageSetupData();
+ rt.addRef(getRef((void *)Result,memenv), "wxPageSetupDialogData");
+ break;
+}
+case wxHtmlEasyPrinting_PreviewFile: { // wxHtmlEasyPrinting::PreviewFile
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ int * htmlfileLen = (int *) bp; bp += 4;
+ wxString htmlfile = wxString(bp, wxConvUTF8);
+ bp += *htmlfileLen+((8-((0+ *htmlfileLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PreviewFile(htmlfile);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlEasyPrinting_PreviewText: { // wxHtmlEasyPrinting::PreviewText
+ wxString basepath= wxEmptyString;
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ int * htmltextLen = (int *) bp; bp += 4;
+ wxString htmltext = wxString(bp, wxConvUTF8);
+ bp += *htmltextLen+((8-((0+ *htmltextLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * basepathLen = (int *) bp; bp += 4;
+ basepath = wxString(bp, wxConvUTF8);
+ bp += *basepathLen+((8-((0+ *basepathLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PreviewText(htmltext,basepath);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlEasyPrinting_PrintFile: { // wxHtmlEasyPrinting::PrintFile
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ int * htmlfileLen = (int *) bp; bp += 4;
+ wxString htmlfile = wxString(bp, wxConvUTF8);
+ bp += *htmlfileLen+((8-((0+ *htmlfileLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PrintFile(htmlfile);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlEasyPrinting_PrintText: { // wxHtmlEasyPrinting::PrintText
+ wxString basepath= wxEmptyString;
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ int * htmltextLen = (int *) bp; bp += 4;
+ wxString htmltext = wxString(bp, wxConvUTF8);
+ bp += *htmltextLen+((8-((0+ *htmltextLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * basepathLen = (int *) bp; bp += 4;
+ basepath = wxString(bp, wxConvUTF8);
+ bp += *basepathLen+((8-((0+ *basepathLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->PrintText(htmltext,basepath);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlEasyPrinting_PageSetup: { // wxHtmlEasyPrinting::PageSetup
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PageSetup();
+ break;
+}
+case wxHtmlEasyPrinting_SetFonts: { // wxHtmlEasyPrinting::SetFonts
+ int * sizesLen = 0;
+ int * sizes = (int *) NULL;
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ int * normal_faceLen = (int *) bp; bp += 4;
+ wxString normal_face = wxString(bp, wxConvUTF8);
+ bp += *normal_faceLen+((8-((0+ *normal_faceLen) & 7)) & 7);
+ int * fixed_faceLen = (int *) bp; bp += 4;
+ wxString fixed_face = wxString(bp, wxConvUTF8);
+ bp += *fixed_faceLen+((8-((4+ *fixed_faceLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ sizesLen = (int *) bp; bp += 4;
+ sizes = (int *) bp; bp += *sizesLen*4+((0+ *sizesLen)%2 )*4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetFonts(normal_face,fixed_face,sizes);
+ break;
+}
+case wxHtmlEasyPrinting_SetHeader: { // wxHtmlEasyPrinting::SetHeader
+ int pg=wxPAGE_ALL;
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ int * headerLen = (int *) bp; bp += 4;
+ wxString header = wxString(bp, wxConvUTF8);
+ bp += *headerLen+((8-((0+ *headerLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ pg = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetHeader(header,pg);
+ break;
+}
+case wxHtmlEasyPrinting_SetFooter: { // wxHtmlEasyPrinting::SetFooter
+ int pg=wxPAGE_ALL;
+ wxHtmlEasyPrinting *This = (wxHtmlEasyPrinting *) getPtr(bp,memenv); bp += 4;
+ int * footerLen = (int *) bp; bp += 4;
+ wxString footer = wxString(bp, wxConvUTF8);
+ bp += *footerLen+((8-((0+ *footerLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ pg = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetFooter(footer,pg);
+ break;
+}
+case wxGLCanvas_new_2: { // wxGLCanvas::wxGLCanvas
+ wxWindowID id=-1;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxString name= wxGLCanvasName;
+ int * attribListLen = 0;
+ int * attribList = (int *) NULL;
+ const wxPalette * palette= &wxNullPalette;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ } break;
+ case 6: {bp += 4;
+ attribListLen = (int *) bp; bp += 4;
+ attribList = (int *) bp; bp += *attribListLen*4+((0+ *attribListLen)%2 )*4;
+ } break;
+ case 7: {bp += 4;
+palette = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxGLCanvas * Result = new EwxGLCanvas(parent,id,pos,size,style,name,attribList,*palette);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGLCanvas");
+ break;
+}
+case wxGLCanvas_new_3_1: { // wxGLCanvas::wxGLCanvas
+ wxWindowID id=-1;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxString name= wxGLCanvasName;
+ int * attribListLen = 0;
+ int * attribList = (int *) NULL;
+ const wxPalette * palette= &wxNullPalette;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxGLContext * shared = (wxGLContext *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ } break;
+ case 6: {bp += 4;
+ attribListLen = (int *) bp; bp += 4;
+ attribList = (int *) bp; bp += *attribListLen*4+((0+ *attribListLen)%2 )*4;
+ } break;
+ case 7: {bp += 4;
+palette = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxGLCanvas * Result = new EwxGLCanvas(parent,shared,id,pos,size,style,name,attribList,*palette);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGLCanvas");
+ break;
+}
+case wxGLCanvas_new_3_0: { // wxGLCanvas::wxGLCanvas
+ wxWindowID id=-1;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxString name= wxGLCanvasName;
+ int * attribListLen = 0;
+ int * attribList = (int *) NULL;
+ const wxPalette * palette= &wxNullPalette;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxGLCanvas *shared = (wxGLCanvas *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ case 5: {bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ } break;
+ case 6: {bp += 4;
+ attribListLen = (int *) bp; bp += 4;
+ attribList = (int *) bp; bp += *attribListLen*4+((0+ *attribListLen)%2 )*4;
+ } break;
+ case 7: {bp += 4;
+palette = (wxPalette *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxGLCanvas * Result = new EwxGLCanvas(parent,shared,id,pos,size,style,name,attribList,*palette);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxGLCanvas");
+ break;
+}
+case wxGLCanvas_GetContext: { // wxGLCanvas::GetContext
+ wxGLCanvas *This = (wxGLCanvas *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxGLContext * Result = (wxGLContext*)This->GetContext();
+ rt.addRef(getRef((void *)Result,memenv), "wxGLContext");
+ break;
+}
+case wxGLCanvas_SetCurrent: { // wxGLCanvas::SetCurrent
+ wxGLCanvas *This = (wxGLCanvas *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCurrent();
+ if(This->GetContext()) setActiveGL(Ecmd.caller,This);
+ break;
+}
+case wxGLCanvas_SwapBuffers: { // wxGLCanvas::SwapBuffers
+ wxGLCanvas *This = (wxGLCanvas *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SwapBuffers();
+ break;
+}
+#if wxUSE_AUI
+case wxAuiManager_new: { // wxAuiManager::wxAuiManager
+ wxWindow * managed_wnd=NULL;
+ int flags=wxAUI_MGR_DEFAULT;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+managed_wnd = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ case 2: {bp += 4;
+ flags = (int)*(unsigned int *) bp; bp += 4;
+ } break;
+ }};
+ wxAuiManager * Result = new EwxAuiManager(managed_wnd,flags);
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiManager");
+ break;
+}
+case wxAuiManager_AddPane_2_1: { // wxAuiManager::AddPane
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxAuiPaneInfo *pane_info = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPane(window,*pane_info);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiManager_AddPane_3: { // wxAuiManager::AddPane
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxAuiPaneInfo *pane_info = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * drop_posX = (int *) bp; bp += 4;
+ int * drop_posY = (int *) bp; bp += 4;
+ wxPoint drop_pos = wxPoint(*drop_posX,*drop_posY);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPane(window,*pane_info,drop_pos);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiManager_AddPane_2_0: { // wxAuiManager::AddPane
+ int direction=wxLEFT;
+ wxString caption= wxEmptyString;
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ direction = (int)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * captionLen = (int *) bp; bp += 4;
+ caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((0+ *captionLen) & 7)) & 7);
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPane(window,direction,caption);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiManager_DetachPane: { // wxAuiManager::DetachPane
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DetachPane(window);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiManager_GetAllPanes: { // wxAuiManager::GetAllPanes
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfoArray * Result = &This->GetAllPanes();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfoArray");
+ break;
+}
+case wxAuiManager_GetArtProvider: { // wxAuiManager::GetArtProvider
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiDockArt * Result = (wxAuiDockArt*)This->GetArtProvider();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiDockArt");
+ break;
+}
+case wxAuiManager_GetDockSizeConstraint: { // wxAuiManager::GetDockSizeConstraint
+ double width_pct;
+ double height_pct;
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetDockSizeConstraint(&width_pct,&height_pct);
+ rt.addFloat(width_pct);
+ rt.addFloat(height_pct);
+ rt.addTupleCount(2);
+ break;
+}
+case wxAuiManager_GetFlags: { // wxAuiManager::GetFlags
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFlags();
+ rt.addUint(Result);
+ break;
+}
+case wxAuiManager_GetManagedWindow: { // wxAuiManager::GetManagedWindow
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetManagedWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxAuiManager_GetManager: { // wxAuiManager::GetManager
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxAuiManager * Result = (wxAuiManager*)wxAuiManager::GetManager(window);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiManager");
+ break;
+}
+case wxAuiManager_GetPane_1_1: { // wxAuiManager::GetPane
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->GetPane(window);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiManager_GetPane_1_0: { // wxAuiManager::GetPane
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ int * nameLen = (int *) bp; bp += 4;
+ wxString name = wxString(bp, wxConvUTF8);
+ bp += *nameLen+((8-((0+ *nameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->GetPane(name);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiManager_HideHint: { // wxAuiManager::HideHint
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HideHint();
+ break;
+}
+case wxAuiManager_InsertPane: { // wxAuiManager::InsertPane
+ int insert_level=wxAUI_INSERT_PANE;
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxAuiPaneInfo *insert_location = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ insert_level = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertPane(window,*insert_location,insert_level);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiManager_LoadPaneInfo: { // wxAuiManager::LoadPaneInfo
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ int * pane_partLen = (int *) bp; bp += 4;
+ wxString pane_part = wxString(bp, wxConvUTF8);
+ bp += *pane_partLen+((8-((0+ *pane_partLen) & 7)) & 7);
+ wxAuiPaneInfo *pane = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LoadPaneInfo(pane_part,*pane);
+ break;
+}
+case wxAuiManager_LoadPerspective: { // wxAuiManager::LoadPerspective
+ bool update=true;
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ int * perspectiveLen = (int *) bp; bp += 4;
+ wxString perspective = wxString(bp, wxConvUTF8);
+ bp += *perspectiveLen+((8-((0+ *perspectiveLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ update = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadPerspective(perspective,update);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiManager_SavePaneInfo: { // wxAuiManager::SavePaneInfo
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxAuiPaneInfo *pane = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->SavePaneInfo(*pane);
+ rt.add(Result);
+ break;
+}
+case wxAuiManager_SavePerspective: { // wxAuiManager::SavePerspective
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->SavePerspective();
+ rt.add(Result);
+ break;
+}
+case wxAuiManager_SetArtProvider: { // wxAuiManager::SetArtProvider
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxAuiDockArt *art_provider = (wxAuiDockArt *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetArtProvider(art_provider);
+ break;
+}
+case wxAuiManager_SetDockSizeConstraint: { // wxAuiManager::SetDockSizeConstraint
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ double * width_pct = (double *) bp; bp += 8;
+ double * height_pct = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->SetDockSizeConstraint((double) *width_pct,(double) *height_pct);
+ break;
+}
+case wxAuiManager_SetFlags: { // wxAuiManager::SetFlags
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ unsigned int * flags = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFlags((int) *flags);
+ break;
+}
+case wxAuiManager_SetManagedWindow: { // wxAuiManager::SetManagedWindow
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ wxWindow *managed_wnd = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetManagedWindow(managed_wnd);
+ break;
+}
+case wxAuiManager_ShowHint: { // wxAuiManager::ShowHint
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ wxRect rect = wxRect(*rectX,*rectY,*rectW,*rectH);
+ if(!This) throw wxe_badarg(0);
+ This->ShowHint(rect);
+ break;
+}
+case wxAuiManager_UnInit: { // wxAuiManager::UnInit
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->UnInit();
+ break;
+}
+case wxAuiManager_Update: { // wxAuiManager::Update
+ wxAuiManager *This = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Update();
+ break;
+}
+#endif // wxUSE_AUI
+#if wxUSE_AUI
+case wxAuiPaneInfo_new_0: { // wxAuiPaneInfo::wxAuiPaneInfo
+ wxAuiPaneInfo * Result = new wxAuiPaneInfo();
+ newPtr((void *) Result, 154, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_new_1: { // wxAuiPaneInfo::wxAuiPaneInfo
+ wxAuiPaneInfo *c = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ wxAuiPaneInfo * Result = new wxAuiPaneInfo(*c);
+ newPtr((void *) Result, 154, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_destruct: { // wxAuiPaneInfo::~wxAuiPaneInfo
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxAuiPaneInfo_BestSize_1: { // wxAuiPaneInfo::BestSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->BestSize(size);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_BestSize_2: { // wxAuiPaneInfo::BestSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->BestSize((int) *x,(int) *y);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Bottom: { // wxAuiPaneInfo::Bottom
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Bottom();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_BottomDockable: { // wxAuiPaneInfo::BottomDockable
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->BottomDockable(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Caption: { // wxAuiPaneInfo::Caption
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * cLen = (int *) bp; bp += 4;
+ wxString c = wxString(bp, wxConvUTF8);
+ bp += *cLen+((8-((0+ *cLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Caption(c);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_CaptionVisible: { // wxAuiPaneInfo::CaptionVisible
+ bool visible=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ visible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->CaptionVisible(visible);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Centre: { // wxAuiPaneInfo::Centre
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Centre();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_CentrePane: { // wxAuiPaneInfo::CentrePane
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->CentrePane();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_CloseButton: { // wxAuiPaneInfo::CloseButton
+ bool visible=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ visible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->CloseButton(visible);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_DefaultPane: { // wxAuiPaneInfo::DefaultPane
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->DefaultPane();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_DestroyOnClose: { // wxAuiPaneInfo::DestroyOnClose
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->DestroyOnClose(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Direction: { // wxAuiPaneInfo::Direction
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * direction = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Direction((int) *direction);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Dock: { // wxAuiPaneInfo::Dock
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Dock();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Dockable: { // wxAuiPaneInfo::Dockable
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Dockable(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Fixed: { // wxAuiPaneInfo::Fixed
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Fixed();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Float: { // wxAuiPaneInfo::Float
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Float();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Floatable: { // wxAuiPaneInfo::Floatable
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Floatable(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_FloatingPosition_1: { // wxAuiPaneInfo::FloatingPosition
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->FloatingPosition(pos);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_FloatingPosition_2: { // wxAuiPaneInfo::FloatingPosition
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->FloatingPosition((int) *x,(int) *y);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_FloatingSize_1: { // wxAuiPaneInfo::FloatingSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->FloatingSize(size);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_FloatingSize_2: { // wxAuiPaneInfo::FloatingSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->FloatingSize((int) *x,(int) *y);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Gripper: { // wxAuiPaneInfo::Gripper
+ bool visible=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ visible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Gripper(visible);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_GripperTop: { // wxAuiPaneInfo::GripperTop
+ bool attop=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ attop = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->GripperTop(attop);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_HasBorder: { // wxAuiPaneInfo::HasBorder
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasBorder();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasCaption: { // wxAuiPaneInfo::HasCaption
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasCaption();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasCloseButton: { // wxAuiPaneInfo::HasCloseButton
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasCloseButton();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasFlag: { // wxAuiPaneInfo::HasFlag
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ unsigned int * flag = (unsigned int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasFlag((int) *flag);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasGripper: { // wxAuiPaneInfo::HasGripper
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasGripper();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasGripperTop: { // wxAuiPaneInfo::HasGripperTop
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasGripperTop();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasMaximizeButton: { // wxAuiPaneInfo::HasMaximizeButton
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasMaximizeButton();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasMinimizeButton: { // wxAuiPaneInfo::HasMinimizeButton
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasMinimizeButton();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_HasPinButton: { // wxAuiPaneInfo::HasPinButton
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasPinButton();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_Hide: { // wxAuiPaneInfo::Hide
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Hide();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_IsBottomDockable: { // wxAuiPaneInfo::IsBottomDockable
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsBottomDockable();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsDocked: { // wxAuiPaneInfo::IsDocked
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsDocked();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsFixed: { // wxAuiPaneInfo::IsFixed
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsFixed();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsFloatable: { // wxAuiPaneInfo::IsFloatable
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsFloatable();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsFloating: { // wxAuiPaneInfo::IsFloating
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsFloating();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsLeftDockable: { // wxAuiPaneInfo::IsLeftDockable
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsLeftDockable();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsMovable: { // wxAuiPaneInfo::IsMovable
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsMovable();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsOk: { // wxAuiPaneInfo::IsOk
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOk();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsResizable: { // wxAuiPaneInfo::IsResizable
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsResizable();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsRightDockable: { // wxAuiPaneInfo::IsRightDockable
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsRightDockable();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsShown: { // wxAuiPaneInfo::IsShown
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsShown();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsToolbar: { // wxAuiPaneInfo::IsToolbar
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsToolbar();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_IsTopDockable: { // wxAuiPaneInfo::IsTopDockable
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsTopDockable();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiPaneInfo_Layer: { // wxAuiPaneInfo::Layer
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * layer = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Layer((int) *layer);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Left: { // wxAuiPaneInfo::Left
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Left();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_LeftDockable: { // wxAuiPaneInfo::LeftDockable
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->LeftDockable(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_MaxSize_1: { // wxAuiPaneInfo::MaxSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->MaxSize(size);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_MaxSize_2: { // wxAuiPaneInfo::MaxSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->MaxSize((int) *x,(int) *y);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_MaximizeButton: { // wxAuiPaneInfo::MaximizeButton
+ bool visible=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ visible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->MaximizeButton(visible);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_MinSize_1: { // wxAuiPaneInfo::MinSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->MinSize(size);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_MinSize_2: { // wxAuiPaneInfo::MinSize
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->MinSize((int) *x,(int) *y);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_MinimizeButton: { // wxAuiPaneInfo::MinimizeButton
+ bool visible=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ visible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->MinimizeButton(visible);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Movable: { // wxAuiPaneInfo::Movable
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Movable(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Name: { // wxAuiPaneInfo::Name
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * nLen = (int *) bp; bp += 4;
+ wxString n = wxString(bp, wxConvUTF8);
+ bp += *nLen+((8-((0+ *nLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Name(n);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_PaneBorder: { // wxAuiPaneInfo::PaneBorder
+ bool visible=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ visible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->PaneBorder(visible);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_PinButton: { // wxAuiPaneInfo::PinButton
+ bool visible=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ visible = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->PinButton(visible);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Position: { // wxAuiPaneInfo::Position
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Position((int) *pos);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Resizable: { // wxAuiPaneInfo::Resizable
+ bool resizable=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ resizable = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Resizable(resizable);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Right: { // wxAuiPaneInfo::Right
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Right();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_RightDockable: { // wxAuiPaneInfo::RightDockable
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->RightDockable(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Row: { // wxAuiPaneInfo::Row
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ int * row = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Row((int) *row);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_SafeSet: { // wxAuiPaneInfo::SafeSet
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ wxAuiPaneInfo *source = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SafeSet(*source);
+ break;
+}
+case wxAuiPaneInfo_SetFlag: { // wxAuiPaneInfo::SetFlag
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ unsigned int * flag = (unsigned int *) bp; bp += 4;
+ bool * option_state = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->SetFlag((int) *flag,(bool) *option_state);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Show: { // wxAuiPaneInfo::Show
+ bool show=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ show = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Show(show);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_ToolbarPane: { // wxAuiPaneInfo::ToolbarPane
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->ToolbarPane();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Top: { // wxAuiPaneInfo::Top
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Top();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_TopDockable: { // wxAuiPaneInfo::TopDockable
+ bool b=true;
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ b = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->TopDockable(b);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiPaneInfo_Window: { // wxAuiPaneInfo::Window
+ wxAuiPaneInfo *This = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ wxWindow *w = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = &This->Window(w);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+#endif // wxUSE_AUI
+#if wxUSE_AUI
+case wxAuiNotebook_new_0: { // wxAuiNotebook::wxAuiNotebook
+ wxAuiNotebook * Result = new EwxAuiNotebook();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiNotebook");
+ break;
+}
+case wxAuiNotebook_new_2: { // wxAuiNotebook::wxAuiNotebook
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxAUI_NB_DEFAULT_STYLE;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxAuiNotebook * Result = new EwxAuiNotebook(parent,id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiNotebook");
+ break;
+}
+case wxAuiNotebook_AddPage: { // wxAuiNotebook::AddPage
+ bool select=false;
+ const wxBitmap * bitmap= &wxNullBitmap;
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * captionLen = (int *) bp; bp += 4;
+ wxString caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((4+ *captionLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ select = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddPage(page,caption,select,*bitmap);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_Create: { // wxAuiNotebook::Create
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_DeletePage: { // wxAuiNotebook::DeletePage
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DeletePage((size_t) *page);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_GetArtProvider: { // wxAuiNotebook::GetArtProvider
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiTabArt * Result = (wxAuiTabArt*)This->GetArtProvider();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiTabArt");
+ break;
+}
+case wxAuiNotebook_GetPage: { // wxAuiNotebook::GetPage
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page_idx = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetPage((size_t) *page_idx);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxAuiNotebook_GetPageBitmap: { // wxAuiNotebook::GetPageBitmap
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page_idx = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = new wxBitmap(This->GetPageBitmap((size_t) *page_idx)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxAuiNotebook_GetPageCount: { // wxAuiNotebook::GetPageCount
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetPageCount();
+ rt.addInt(Result);
+ break;
+}
+case wxAuiNotebook_GetPageIndex: { // wxAuiNotebook::GetPageIndex
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ wxWindow *page_wnd = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPageIndex(page_wnd);
+ rt.addInt(Result);
+ break;
+}
+case wxAuiNotebook_GetPageText: { // wxAuiNotebook::GetPageText
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page_idx = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPageText((size_t) *page_idx);
+ rt.add(Result);
+ break;
+}
+case wxAuiNotebook_GetSelection: { // wxAuiNotebook::GetSelection
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxAuiNotebook_InsertPage: { // wxAuiNotebook::InsertPage
+ bool select=false;
+ const wxBitmap * bitmap= &wxNullBitmap;
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page_idx = (int *) bp; bp += 4;
+ wxWindow *page = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * captionLen = (int *) bp; bp += 4;
+ wxString caption = wxString(bp, wxConvUTF8);
+ bp += *captionLen+((8-((0+ *captionLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ select = *(bool *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->InsertPage((size_t) *page_idx,page,caption,select,*bitmap);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_RemovePage: { // wxAuiNotebook::RemovePage
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RemovePage((size_t) *page);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_SetArtProvider: { // wxAuiNotebook::SetArtProvider
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ wxAuiTabArt *art = (wxAuiTabArt *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetArtProvider(art);
+ break;
+}
+case wxAuiNotebook_SetFont: { // wxAuiNotebook::SetFont
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetFont(*font);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_SetPageBitmap: { // wxAuiNotebook::SetPageBitmap
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page = (int *) bp; bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageBitmap((size_t) *page,*bitmap);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_SetPageText: { // wxAuiNotebook::SetPageText
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * page = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPageText((size_t) *page,text);
+ rt.addBool(Result);
+ break;
+}
+case wxAuiNotebook_SetSelection: { // wxAuiNotebook::SetSelection
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * new_page = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->SetSelection((size_t) *new_page);
+ rt.addInt(Result);
+ break;
+}
+case wxAuiNotebook_SetTabCtrlHeight: { // wxAuiNotebook::SetTabCtrlHeight
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * height = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTabCtrlHeight((int) *height);
+ break;
+}
+case wxAuiNotebook_SetUniformBitmapSize: { // wxAuiNotebook::SetUniformBitmapSize
+ wxAuiNotebook *This = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ wxSize size = wxSize(*sizeW,*sizeH);
+ if(!This) throw wxe_badarg(0);
+ This->SetUniformBitmapSize(size);
+ break;
+}
+#endif // wxUSE_AUI
+#if wxUSE_AUI
+#endif // wxUSE_AUI
+#if wxUSE_AUI
+#endif // wxUSE_AUI
+case wxMDIParentFrame_new_0: { // wxMDIParentFrame::wxMDIParentFrame
+ wxMDIParentFrame * Result = new EwxMDIParentFrame();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIParentFrame");
+ break;
+}
+case wxMDIParentFrame_new_4: { // wxMDIParentFrame::wxMDIParentFrame
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxMDIParentFrame * Result = new EwxMDIParentFrame(parent,(wxWindowID) *id,title,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIParentFrame");
+ break;
+}
+case wxMDIParentFrame_ActivateNext: { // wxMDIParentFrame::ActivateNext
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ActivateNext();
+ break;
+}
+case wxMDIParentFrame_ActivatePrevious: { // wxMDIParentFrame::ActivatePrevious
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ActivatePrevious();
+ break;
+}
+case wxMDIParentFrame_ArrangeIcons: { // wxMDIParentFrame::ArrangeIcons
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ArrangeIcons();
+ break;
+}
+case wxMDIParentFrame_Cascade: { // wxMDIParentFrame::Cascade
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Cascade();
+ break;
+}
+case wxMDIParentFrame_Create: { // wxMDIParentFrame::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL;
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxMDIParentFrame_GetActiveChild: { // wxMDIParentFrame::GetActiveChild
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMDIChildFrame * Result = (wxMDIChildFrame*)This->GetActiveChild();
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIChildFrame");
+ break;
+}
+case wxMDIParentFrame_GetClientWindow: { // wxMDIParentFrame::GetClientWindow
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMDIClientWindow * Result = (wxMDIClientWindow*)This->GetClientWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIClientWindow");
+ break;
+}
+case wxMDIParentFrame_Tile: { // wxMDIParentFrame::Tile
+ wxOrientation orient=wxHORIZONTAL;
+ wxMDIParentFrame *This = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+orient = *(wxOrientation *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Tile((wxOrientation) orient);
+ break;
+}
+case wxMDIChildFrame_new_0: { // wxMDIChildFrame::wxMDIChildFrame
+ wxMDIChildFrame * Result = new EwxMDIChildFrame();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIChildFrame");
+ break;
+}
+case wxMDIChildFrame_new_4: { // wxMDIChildFrame::wxMDIChildFrame
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_FRAME_STYLE;
+ wxMDIParentFrame *parent = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxMDIChildFrame * Result = new EwxMDIChildFrame(parent,(wxWindowID) *id,title,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIChildFrame");
+ break;
+}
+case wxMDIChildFrame_Activate: { // wxMDIChildFrame::Activate
+ wxMDIChildFrame *This = (wxMDIChildFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Activate();
+ break;
+}
+case wxMDIChildFrame_Create: { // wxMDIChildFrame::Create
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxDEFAULT_FRAME_STYLE;
+ wxMDIChildFrame *This = (wxMDIChildFrame *) getPtr(bp,memenv); bp += 4;
+ wxMDIParentFrame *parent = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ int * id = (int *) bp; bp += 4;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((0+ *titleLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,(wxWindowID) *id,title,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxMDIChildFrame_Maximize: { // wxMDIChildFrame::Maximize
+ bool maximize=true;
+ wxMDIChildFrame *This = (wxMDIChildFrame *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ maximize = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Maximize(maximize);
+ break;
+}
+case wxMDIChildFrame_Restore: { // wxMDIChildFrame::Restore
+ wxMDIChildFrame *This = (wxMDIChildFrame *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Restore();
+ break;
+}
+case wxMDIClientWindow_new_0: { // wxMDIClientWindow::wxMDIClientWindow
+ wxMDIClientWindow * Result = new EwxMDIClientWindow();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIClientWindow");
+ break;
+}
+case wxMDIClientWindow_new_2: { // wxMDIClientWindow::wxMDIClientWindow
+ long style=0;
+ wxMDIParentFrame *parent = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxMDIClientWindow * Result = new EwxMDIClientWindow(parent,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxMDIClientWindow");
+ break;
+}
+case wxMDIClientWindow_CreateClient: { // wxMDIClientWindow::CreateClient
+ long style=wxVSCROLL|wxHSCROLL;
+ wxMDIClientWindow *This = (wxMDIClientWindow *) getPtr(bp,memenv); bp += 4;
+ wxMDIParentFrame *parent = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CreateClient(parent,style);
+ rt.addBool(Result);
+ break;
+}
+case wxLayoutAlgorithm_new: { // wxLayoutAlgorithm::wxLayoutAlgorithm
+ wxLayoutAlgorithm * Result = new EwxLayoutAlgorithm();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxLayoutAlgorithm");
+ break;
+}
+case wxLayoutAlgorithm_LayoutFrame: { // wxLayoutAlgorithm::LayoutFrame
+ wxWindow * mainWindow=(wxWindow *) NULL;
+ wxLayoutAlgorithm *This = (wxLayoutAlgorithm *) getPtr(bp,memenv); bp += 4;
+ wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+mainWindow = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LayoutFrame(frame,mainWindow);
+ rt.addBool(Result);
+ break;
+}
+case wxLayoutAlgorithm_LayoutMDIFrame: { // wxLayoutAlgorithm::LayoutMDIFrame
+ wxRect *rect=(wxRect *) NULL; wxRect rectTmp;
+ wxLayoutAlgorithm *This = (wxLayoutAlgorithm *) getPtr(bp,memenv); bp += 4;
+ wxMDIParentFrame *frame = (wxMDIParentFrame *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * rectX = (int *) bp; bp += 4;
+ int * rectY = (int *) bp; bp += 4;
+ int * rectW = (int *) bp; bp += 4;
+ int * rectH = (int *) bp; bp += 4;
+ rectTmp = wxRect(*rectX,*rectY,*rectW,*rectH); rect = & rectTmp;
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LayoutMDIFrame(frame,rect);
+ rt.addBool(Result);
+ break;
+}
+case wxLayoutAlgorithm_LayoutWindow: { // wxLayoutAlgorithm::LayoutWindow
+ wxWindow * mainWindow=(wxWindow *) NULL;
+ wxLayoutAlgorithm *This = (wxLayoutAlgorithm *) getPtr(bp,memenv); bp += 4;
+ wxWindow *frame = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+mainWindow = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LayoutWindow(frame,mainWindow);
+ rt.addBool(Result);
+ break;
+}
+case wxEvent_GetId: { // wxEvent::GetId
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetId();
+ rt.addInt(Result);
+ break;
+}
+case wxEvent_GetSkipped: { // wxEvent::GetSkipped
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSkipped();
+ rt.addBool(Result);
+ break;
+}
+case wxEvent_GetTimestamp: { // wxEvent::GetTimestamp
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetTimestamp();
+ rt.addUint(Result);
+ break;
+}
+case wxEvent_IsCommandEvent: { // wxEvent::IsCommandEvent
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsCommandEvent();
+ rt.addBool(Result);
+ break;
+}
+case wxEvent_ResumePropagation: { // wxEvent::ResumePropagation
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ int * propagationLevel = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ResumePropagation((int) *propagationLevel);
+ break;
+}
+case wxEvent_ShouldPropagate: { // wxEvent::ShouldPropagate
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ShouldPropagate();
+ rt.addBool(Result);
+ break;
+}
+case wxEvent_Skip: { // wxEvent::Skip
+ bool skip=true;
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ skip = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Skip(skip);
+ break;
+}
+case wxEvent_StopPropagation: { // wxEvent::StopPropagation
+ wxEvent *This = (wxEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->StopPropagation();
+ rt.addInt(Result);
+ break;
+}
+case wxCommandEvent_getClientData: { // wxCommandEvent::GetClientObject
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxeErlTerm * Result = (wxeErlTerm*)This->GetClientObject();
+ rt.addExt2Term(Result);
+ break;
+}
+case wxCommandEvent_GetExtraLong: { // wxCommandEvent::GetExtraLong
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetExtraLong();
+ rt.addInt(Result);
+ break;
+}
+case wxCommandEvent_GetInt: { // wxCommandEvent::GetInt
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetInt();
+ rt.addInt(Result);
+ break;
+}
+case wxCommandEvent_GetSelection: { // wxCommandEvent::GetSelection
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxCommandEvent_GetString: { // wxCommandEvent::GetString
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetString();
+ rt.add(Result);
+ break;
+}
+case wxCommandEvent_IsChecked: { // wxCommandEvent::IsChecked
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsChecked();
+ rt.addBool(Result);
+ break;
+}
+case wxCommandEvent_IsSelection: { // wxCommandEvent::IsSelection
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSelection();
+ rt.addBool(Result);
+ break;
+}
+case wxCommandEvent_SetInt: { // wxCommandEvent::SetInt
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ int * i = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetInt((int) *i);
+ break;
+}
+case wxCommandEvent_SetString: { // wxCommandEvent::SetString
+ wxCommandEvent *This = (wxCommandEvent *) getPtr(bp,memenv); bp += 4;
+ int * sLen = (int *) bp; bp += 4;
+ wxString s = wxString(bp, wxConvUTF8);
+ bp += *sLen+((8-((0+ *sLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetString(s);
+ break;
+}
+case wxScrollEvent_GetOrientation: { // wxScrollEvent::GetOrientation
+ wxScrollEvent *This = (wxScrollEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOrientation();
+ rt.addInt(Result);
+ break;
+}
+case wxScrollEvent_GetPosition: { // wxScrollEvent::GetPosition
+ wxScrollEvent *This = (wxScrollEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxScrollWinEvent_GetOrientation: { // wxScrollWinEvent::GetOrientation
+ wxScrollWinEvent *This = (wxScrollWinEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOrientation();
+ rt.addInt(Result);
+ break;
+}
+case wxScrollWinEvent_GetPosition: { // wxScrollWinEvent::GetPosition
+ wxScrollWinEvent *This = (wxScrollWinEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxMouseEvent_AltDown: { // wxMouseEvent::AltDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AltDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_Button: { // wxMouseEvent::Button
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ int * but = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Button((int) *but);
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_ButtonDClick: { // wxMouseEvent::ButtonDClick
+ int but=wxMOUSE_BTN_ANY;
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ but = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ButtonDClick(but);
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_ButtonDown: { // wxMouseEvent::ButtonDown
+ int but=wxMOUSE_BTN_ANY;
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ but = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ButtonDown(but);
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_ButtonUp: { // wxMouseEvent::ButtonUp
+ int but=wxMOUSE_BTN_ANY;
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ but = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ButtonUp(but);
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_CmdDown: { // wxMouseEvent::CmdDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CmdDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_ControlDown: { // wxMouseEvent::ControlDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ControlDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_Dragging: { // wxMouseEvent::Dragging
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Dragging();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_Entering: { // wxMouseEvent::Entering
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Entering();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_GetButton: { // wxMouseEvent::GetButton
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetButton();
+ rt.addInt(Result);
+ break;
+}
+case wxMouseEvent_GetPosition: { // wxMouseEvent::GetPosition
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxMouseEvent_GetLogicalPosition: { // wxMouseEvent::GetLogicalPosition
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ wxDC *dc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetLogicalPosition(*dc);
+ rt.add(Result);
+ break;
+}
+case wxMouseEvent_GetLinesPerAction: { // wxMouseEvent::GetLinesPerAction
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLinesPerAction();
+ rt.addInt(Result);
+ break;
+}
+case wxMouseEvent_GetWheelRotation: { // wxMouseEvent::GetWheelRotation
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWheelRotation();
+ rt.addInt(Result);
+ break;
+}
+case wxMouseEvent_GetWheelDelta: { // wxMouseEvent::GetWheelDelta
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWheelDelta();
+ rt.addInt(Result);
+ break;
+}
+case wxMouseEvent_GetX: { // wxMouseEvent::GetX
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetX();
+ rt.addInt(Result);
+ break;
+}
+case wxMouseEvent_GetY: { // wxMouseEvent::GetY
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetY();
+ rt.addInt(Result);
+ break;
+}
+case wxMouseEvent_IsButton: { // wxMouseEvent::IsButton
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsButton();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_IsPageScroll: { // wxMouseEvent::IsPageScroll
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsPageScroll();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_Leaving: { // wxMouseEvent::Leaving
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Leaving();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_LeftDClick: { // wxMouseEvent::LeftDClick
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LeftDClick();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_LeftDown: { // wxMouseEvent::LeftDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LeftDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_LeftIsDown: { // wxMouseEvent::LeftIsDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LeftIsDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_LeftUp: { // wxMouseEvent::LeftUp
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LeftUp();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_MetaDown: { // wxMouseEvent::MetaDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MetaDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_MiddleDClick: { // wxMouseEvent::MiddleDClick
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MiddleDClick();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_MiddleDown: { // wxMouseEvent::MiddleDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MiddleDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_MiddleIsDown: { // wxMouseEvent::MiddleIsDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MiddleIsDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_MiddleUp: { // wxMouseEvent::MiddleUp
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MiddleUp();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_Moving: { // wxMouseEvent::Moving
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Moving();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_RightDClick: { // wxMouseEvent::RightDClick
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RightDClick();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_RightDown: { // wxMouseEvent::RightDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RightDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_RightIsDown: { // wxMouseEvent::RightIsDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RightIsDown();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_RightUp: { // wxMouseEvent::RightUp
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->RightUp();
+ rt.addBool(Result);
+ break;
+}
+case wxMouseEvent_ShiftDown: { // wxMouseEvent::ShiftDown
+ wxMouseEvent *This = (wxMouseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ShiftDown();
+ rt.addBool(Result);
+ break;
+}
+case wxSetCursorEvent_GetCursor: { // wxSetCursorEvent::GetCursor
+ wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxCursor * Result = &This->GetCursor();
+ rt.addRef(getRef((void *)Result,memenv), "wxCursor");
+ break;
+}
+case wxSetCursorEvent_GetX: { // wxSetCursorEvent::GetX
+ wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetX();
+ rt.addInt(Result);
+ break;
+}
+case wxSetCursorEvent_GetY: { // wxSetCursorEvent::GetY
+ wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetY();
+ rt.addInt(Result);
+ break;
+}
+case wxSetCursorEvent_HasCursor: { // wxSetCursorEvent::HasCursor
+ wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasCursor();
+ rt.addBool(Result);
+ break;
+}
+case wxSetCursorEvent_SetCursor: { // wxSetCursorEvent::SetCursor
+ wxSetCursorEvent *This = (wxSetCursorEvent *) getPtr(bp,memenv); bp += 4;
+ wxCursor *cursor = (wxCursor *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCursor(*cursor);
+ break;
+}
+case wxKeyEvent_AltDown: { // wxKeyEvent::AltDown
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AltDown();
+ rt.addBool(Result);
+ break;
+}
+case wxKeyEvent_CmdDown: { // wxKeyEvent::CmdDown
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CmdDown();
+ rt.addBool(Result);
+ break;
+}
+case wxKeyEvent_ControlDown: { // wxKeyEvent::ControlDown
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ControlDown();
+ rt.addBool(Result);
+ break;
+}
+case wxKeyEvent_GetKeyCode: { // wxKeyEvent::GetKeyCode
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetKeyCode();
+ rt.addInt(Result);
+ break;
+}
+case wxKeyEvent_GetModifiers: { // wxKeyEvent::GetModifiers
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetModifiers();
+ rt.addInt(Result);
+ break;
+}
+case wxKeyEvent_GetPosition: { // wxKeyEvent::GetPosition
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxKeyEvent_GetRawKeyCode: { // wxKeyEvent::GetRawKeyCode
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRawKeyCode();
+ rt.addUint(Result);
+ break;
+}
+case wxKeyEvent_GetRawKeyFlags: { // wxKeyEvent::GetRawKeyFlags
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRawKeyFlags();
+ rt.addUint(Result);
+ break;
+}
+case wxKeyEvent_GetUnicodeKey: { // wxKeyEvent::GetUnicodeKey
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxChar Result = This->GetUnicodeKey();
+ rt.addInt(Result);
+ break;
+}
+case wxKeyEvent_GetX: { // wxKeyEvent::GetX
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetX();
+ rt.addInt(Result);
+ break;
+}
+case wxKeyEvent_GetY: { // wxKeyEvent::GetY
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxCoord Result = This->GetY();
+ rt.addInt(Result);
+ break;
+}
+case wxKeyEvent_HasModifiers: { // wxKeyEvent::HasModifiers
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HasModifiers();
+ rt.addBool(Result);
+ break;
+}
+case wxKeyEvent_MetaDown: { // wxKeyEvent::MetaDown
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MetaDown();
+ rt.addBool(Result);
+ break;
+}
+case wxKeyEvent_ShiftDown: { // wxKeyEvent::ShiftDown
+ wxKeyEvent *This = (wxKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ShiftDown();
+ rt.addBool(Result);
+ break;
+}
+case wxSizeEvent_GetSize: { // wxSizeEvent::GetSize
+ wxSizeEvent *This = (wxSizeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxSize Result = This->GetSize();
+ rt.add(Result);
+ break;
+}
+case wxMoveEvent_GetPosition: { // wxMoveEvent::GetPosition
+ wxMoveEvent *This = (wxMoveEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxEraseEvent_GetDC: { // wxEraseEvent::GetDC
+ wxEraseEvent *This = (wxEraseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxDC * Result = (wxDC*)This->GetDC();
+ rt.addRef(getRef((void *)Result,memenv), "wxDC");
+ break;
+}
+case wxFocusEvent_GetWindow: { // wxFocusEvent::GetWindow
+ wxFocusEvent *This = (wxFocusEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxChildFocusEvent_GetWindow: { // wxChildFocusEvent::GetWindow
+ wxChildFocusEvent *This = (wxChildFocusEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxMenuEvent_GetMenu: { // wxMenuEvent::GetMenu
+ wxMenuEvent *This = (wxMenuEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMenu * Result = (wxMenu*)This->GetMenu();
+ rt.addRef(getRef((void *)Result,memenv), "wxMenu");
+ break;
+}
+case wxMenuEvent_GetMenuId: { // wxMenuEvent::GetMenuId
+ wxMenuEvent *This = (wxMenuEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMenuId();
+ rt.addInt(Result);
+ break;
+}
+case wxMenuEvent_IsPopup: { // wxMenuEvent::IsPopup
+ wxMenuEvent *This = (wxMenuEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsPopup();
+ rt.addBool(Result);
+ break;
+}
+case wxCloseEvent_CanVeto: { // wxCloseEvent::CanVeto
+ wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanVeto();
+ rt.addBool(Result);
+ break;
+}
+case wxCloseEvent_GetLoggingOff: { // wxCloseEvent::GetLoggingOff
+ wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetLoggingOff();
+ rt.addBool(Result);
+ break;
+}
+case wxCloseEvent_SetCanVeto: { // wxCloseEvent::SetCanVeto
+ wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4;
+ bool * canVeto = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCanVeto((bool) *canVeto);
+ break;
+}
+case wxCloseEvent_SetLoggingOff: { // wxCloseEvent::SetLoggingOff
+ wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4;
+ bool * logOff = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLoggingOff((bool) *logOff);
+ break;
+}
+case wxCloseEvent_Veto: { // wxCloseEvent::Veto
+ bool veto=true;
+ wxCloseEvent *This = (wxCloseEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ veto = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Veto(veto);
+ break;
+}
+case wxShowEvent_SetShow: { // wxShowEvent::SetShow
+ wxShowEvent *This = (wxShowEvent *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetShow((bool) *show);
+ break;
+}
+case wxShowEvent_GetShow: { // wxShowEvent::GetShow
+ wxShowEvent *This = (wxShowEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetShow();
+ rt.addBool(Result);
+ break;
+}
+case wxIconizeEvent_Iconized: { // wxIconizeEvent::Iconized
+ wxIconizeEvent *This = (wxIconizeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Iconized();
+ rt.addBool(Result);
+ break;
+}
+case wxJoystickEvent_ButtonDown: { // wxJoystickEvent::ButtonDown
+ int but=wxJOY_BUTTON_ANY;
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ but = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ButtonDown(but);
+ rt.addBool(Result);
+ break;
+}
+case wxJoystickEvent_ButtonIsDown: { // wxJoystickEvent::ButtonIsDown
+ int but=wxJOY_BUTTON_ANY;
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ but = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ButtonIsDown(but);
+ rt.addBool(Result);
+ break;
+}
+case wxJoystickEvent_ButtonUp: { // wxJoystickEvent::ButtonUp
+ int but=wxJOY_BUTTON_ANY;
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ but = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ButtonUp(but);
+ rt.addBool(Result);
+ break;
+}
+case wxJoystickEvent_GetButtonChange: { // wxJoystickEvent::GetButtonChange
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetButtonChange();
+ rt.addInt(Result);
+ break;
+}
+case wxJoystickEvent_GetButtonState: { // wxJoystickEvent::GetButtonState
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetButtonState();
+ rt.addInt(Result);
+ break;
+}
+case wxJoystickEvent_GetJoystick: { // wxJoystickEvent::GetJoystick
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetJoystick();
+ rt.addInt(Result);
+ break;
+}
+case wxJoystickEvent_GetPosition: { // wxJoystickEvent::GetPosition
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxJoystickEvent_GetZPosition: { // wxJoystickEvent::GetZPosition
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetZPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxJoystickEvent_IsButton: { // wxJoystickEvent::IsButton
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsButton();
+ rt.addBool(Result);
+ break;
+}
+case wxJoystickEvent_IsMove: { // wxJoystickEvent::IsMove
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsMove();
+ rt.addBool(Result);
+ break;
+}
+case wxJoystickEvent_IsZMove: { // wxJoystickEvent::IsZMove
+ wxJoystickEvent *This = (wxJoystickEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsZMove();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_CanUpdate: { // wxUpdateUIEvent::CanUpdate
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bool Result = wxUpdateUIEvent::CanUpdate(win);
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_Check: { // wxUpdateUIEvent::Check
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ bool * check = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Check((bool) *check);
+ break;
+}
+case wxUpdateUIEvent_Enable: { // wxUpdateUIEvent::Enable
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ bool * enable = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Enable((bool) *enable);
+ break;
+}
+case wxUpdateUIEvent_Show: { // wxUpdateUIEvent::Show
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Show((bool) *show);
+ break;
+}
+case wxUpdateUIEvent_GetChecked: { // wxUpdateUIEvent::GetChecked
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetChecked();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_GetEnabled: { // wxUpdateUIEvent::GetEnabled
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEnabled();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_GetShown: { // wxUpdateUIEvent::GetShown
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetShown();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_GetSetChecked: { // wxUpdateUIEvent::GetSetChecked
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSetChecked();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_GetSetEnabled: { // wxUpdateUIEvent::GetSetEnabled
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSetEnabled();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_GetSetShown: { // wxUpdateUIEvent::GetSetShown
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSetShown();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_GetSetText: { // wxUpdateUIEvent::GetSetText
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSetText();
+ rt.addBool(Result);
+ break;
+}
+case wxUpdateUIEvent_GetText: { // wxUpdateUIEvent::GetText
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetText();
+ rt.add(Result);
+ break;
+}
+case wxUpdateUIEvent_GetMode: { // wxUpdateUIEvent::GetMode
+ int Result = wxUpdateUIEvent::GetMode();
+ rt.addInt(Result);
+ break;
+}
+case wxUpdateUIEvent_GetUpdateInterval: { // wxUpdateUIEvent::GetUpdateInterval
+ long Result = wxUpdateUIEvent::GetUpdateInterval();
+ rt.addInt(Result);
+ break;
+}
+case wxUpdateUIEvent_ResetUpdateTime: { // wxUpdateUIEvent::ResetUpdateTime
+ wxUpdateUIEvent::ResetUpdateTime();
+ break;
+}
+case wxUpdateUIEvent_SetMode: { // wxUpdateUIEvent::SetMode
+ wxUpdateUIMode mode = *(wxUpdateUIMode *) bp; bp += 4;;
+ wxUpdateUIEvent::SetMode((wxUpdateUIMode) mode);
+ break;
+}
+case wxUpdateUIEvent_SetText: { // wxUpdateUIEvent::SetText
+ wxUpdateUIEvent *This = (wxUpdateUIEvent *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetText(text);
+ break;
+}
+case wxUpdateUIEvent_SetUpdateInterval: { // wxUpdateUIEvent::SetUpdateInterval
+ int * updateInterval = (int *) bp; bp += 4;
+ wxUpdateUIEvent::SetUpdateInterval((long) *updateInterval);
+ break;
+}
+case wxMouseCaptureChangedEvent_GetCapturedWindow: { // wxMouseCaptureChangedEvent::GetCapturedWindow
+ wxMouseCaptureChangedEvent *This = (wxMouseCaptureChangedEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetCapturedWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxPaletteChangedEvent_SetChangedWindow: { // wxPaletteChangedEvent::SetChangedWindow
+ wxPaletteChangedEvent *This = (wxPaletteChangedEvent *) getPtr(bp,memenv); bp += 4;
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetChangedWindow(win);
+ break;
+}
+case wxPaletteChangedEvent_GetChangedWindow: { // wxPaletteChangedEvent::GetChangedWindow
+ wxPaletteChangedEvent *This = (wxPaletteChangedEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetChangedWindow();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxQueryNewPaletteEvent_SetPaletteRealized: { // wxQueryNewPaletteEvent::SetPaletteRealized
+ wxQueryNewPaletteEvent *This = (wxQueryNewPaletteEvent *) getPtr(bp,memenv); bp += 4;
+ bool * realized = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPaletteRealized((bool) *realized);
+ break;
+}
+case wxQueryNewPaletteEvent_GetPaletteRealized: { // wxQueryNewPaletteEvent::GetPaletteRealized
+ wxQueryNewPaletteEvent *This = (wxQueryNewPaletteEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetPaletteRealized();
+ rt.addBool(Result);
+ break;
+}
+case wxNavigationKeyEvent_GetDirection: { // wxNavigationKeyEvent::GetDirection
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetDirection();
+ rt.addBool(Result);
+ break;
+}
+case wxNavigationKeyEvent_SetDirection: { // wxNavigationKeyEvent::SetDirection
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ bool * bForward = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDirection((bool) *bForward);
+ break;
+}
+case wxNavigationKeyEvent_IsWindowChange: { // wxNavigationKeyEvent::IsWindowChange
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsWindowChange();
+ rt.addBool(Result);
+ break;
+}
+case wxNavigationKeyEvent_SetWindowChange: { // wxNavigationKeyEvent::SetWindowChange
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ bool * bIs = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWindowChange((bool) *bIs);
+ break;
+}
+case wxNavigationKeyEvent_IsFromTab: { // wxNavigationKeyEvent::IsFromTab
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsFromTab();
+ rt.addBool(Result);
+ break;
+}
+case wxNavigationKeyEvent_SetFromTab: { // wxNavigationKeyEvent::SetFromTab
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ bool * bIs = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFromTab((bool) *bIs);
+ break;
+}
+case wxNavigationKeyEvent_GetCurrentFocus: { // wxNavigationKeyEvent::GetCurrentFocus
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetCurrentFocus();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxNavigationKeyEvent_SetCurrentFocus: { // wxNavigationKeyEvent::SetCurrentFocus
+ wxNavigationKeyEvent *This = (wxNavigationKeyEvent *) getPtr(bp,memenv); bp += 4;
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCurrentFocus(win);
+ break;
+}
+case wxHelpEvent_GetOrigin: { // wxHelpEvent::GetOrigin
+ wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOrigin();
+ rt.addInt(Result);
+ break;
+}
+case wxHelpEvent_GetPosition: { // wxHelpEvent::GetPosition
+ wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxPoint * Result = &This->GetPosition();
+ rt.add((*Result));
+ break;
+}
+case wxHelpEvent_SetOrigin: { // wxHelpEvent::SetOrigin
+ wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4;
+ wxHelpEvent::Origin origin = *(wxHelpEvent::Origin *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->SetOrigin((wxHelpEvent::Origin) origin);
+ break;
+}
+case wxHelpEvent_SetPosition: { // wxHelpEvent::SetPosition
+ wxHelpEvent *This = (wxHelpEvent *) getPtr(bp,memenv); bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ This->SetPosition(pos);
+ break;
+}
+case wxContextMenuEvent_GetPosition: { // wxContextMenuEvent::GetPosition
+ wxContextMenuEvent *This = (wxContextMenuEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxPoint * Result = &This->GetPosition();
+ rt.add((*Result));
+ break;
+}
+case wxContextMenuEvent_SetPosition: { // wxContextMenuEvent::SetPosition
+ wxContextMenuEvent *This = (wxContextMenuEvent *) getPtr(bp,memenv); bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ This->SetPosition(pos);
+ break;
+}
+case wxIdleEvent_CanSend: { // wxIdleEvent::CanSend
+ wxWindow *win = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bool Result = wxIdleEvent::CanSend(win);
+ rt.addBool(Result);
+ break;
+}
+case wxIdleEvent_GetMode: { // wxIdleEvent::GetMode
+ int Result = wxIdleEvent::GetMode();
+ rt.addInt(Result);
+ break;
+}
+case wxIdleEvent_RequestMore: { // wxIdleEvent::RequestMore
+ bool needMore=true;
+ wxIdleEvent *This = (wxIdleEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ needMore = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->RequestMore(needMore);
+ break;
+}
+case wxIdleEvent_MoreRequested: { // wxIdleEvent::MoreRequested
+ wxIdleEvent *This = (wxIdleEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MoreRequested();
+ rt.addBool(Result);
+ break;
+}
+case wxIdleEvent_SetMode: { // wxIdleEvent::SetMode
+ wxIdleMode mode = *(wxIdleMode *) bp; bp += 4;;
+ wxIdleEvent::SetMode((wxIdleMode) mode);
+ break;
+}
+case wxGridEvent_AltDown: { // wxGridEvent::AltDown
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AltDown();
+ rt.addBool(Result);
+ break;
+}
+case wxGridEvent_ControlDown: { // wxGridEvent::ControlDown
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ControlDown();
+ rt.addBool(Result);
+ break;
+}
+case wxGridEvent_GetCol: { // wxGridEvent::GetCol
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCol();
+ rt.addInt(Result);
+ break;
+}
+case wxGridEvent_GetPosition: { // wxGridEvent::GetPosition
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPosition();
+ rt.add(Result);
+ break;
+}
+case wxGridEvent_GetRow: { // wxGridEvent::GetRow
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetRow();
+ rt.addInt(Result);
+ break;
+}
+case wxGridEvent_MetaDown: { // wxGridEvent::MetaDown
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->MetaDown();
+ rt.addBool(Result);
+ break;
+}
+case wxGridEvent_Selecting: { // wxGridEvent::Selecting
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Selecting();
+ rt.addBool(Result);
+ break;
+}
+case wxGridEvent_ShiftDown: { // wxGridEvent::ShiftDown
+ wxGridEvent *This = (wxGridEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ShiftDown();
+ rt.addBool(Result);
+ break;
+}
+case wxNotifyEvent_Allow: { // wxNotifyEvent::Allow
+ wxNotifyEvent *This = (wxNotifyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Allow();
+ break;
+}
+case wxNotifyEvent_IsAllowed: { // wxNotifyEvent::IsAllowed
+ wxNotifyEvent *This = (wxNotifyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsAllowed();
+ rt.addBool(Result);
+ break;
+}
+case wxNotifyEvent_Veto: { // wxNotifyEvent::Veto
+ wxNotifyEvent *This = (wxNotifyEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Veto();
+ break;
+}
+case wxSashEvent_GetEdge: { // wxSashEvent::GetEdge
+ wxSashEvent *This = (wxSashEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetEdge();
+ rt.addInt(Result);
+ break;
+}
+case wxSashEvent_GetDragRect: { // wxSashEvent::GetDragRect
+ wxSashEvent *This = (wxSashEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetDragRect();
+ rt.add(Result);
+ break;
+}
+case wxSashEvent_GetDragStatus: { // wxSashEvent::GetDragStatus
+ wxSashEvent *This = (wxSashEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDragStatus();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetCacheFrom: { // wxListEvent::GetCacheFrom
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetCacheFrom();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetCacheTo: { // wxListEvent::GetCacheTo
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetCacheTo();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetKeyCode: { // wxListEvent::GetKeyCode
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetKeyCode();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetIndex: { // wxListEvent::GetIndex
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetIndex();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetColumn: { // wxListEvent::GetColumn
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColumn();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetPoint: { // wxListEvent::GetPoint
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPoint();
+ rt.add(Result);
+ break;
+}
+case wxListEvent_GetLabel: { // wxListEvent::GetLabel
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetLabel();
+ rt.add(Result);
+ break;
+}
+case wxListEvent_GetText: { // wxListEvent::GetText
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetText();
+ rt.add(Result);
+ break;
+}
+case wxListEvent_GetImage: { // wxListEvent::GetImage
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetImage();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetData: { // wxListEvent::GetData
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetData();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetMask: { // wxListEvent::GetMask
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ long Result = This->GetMask();
+ rt.addInt(Result);
+ break;
+}
+case wxListEvent_GetItem: { // wxListEvent::GetItem
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxListItem * Result = &This->GetItem();
+ rt.addRef(getRef((void *)Result,memenv), "wxListItem");
+ break;
+}
+case wxListEvent_IsEditCancelled: { // wxListEvent::IsEditCancelled
+ wxListEvent *This = (wxListEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEditCancelled();
+ rt.addBool(Result);
+ break;
+}
+case wxDateEvent_GetDate: { // wxDateEvent::GetDate
+ wxDateEvent *This = (wxDateEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxDateTime * Result = &This->GetDate();
+ rt.add((*Result));
+ break;
+}
+case wxCalendarEvent_GetWeekDay: { // wxCalendarEvent::GetWeekDay
+ wxCalendarEvent *This = (wxCalendarEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWeekDay();
+ rt.addInt(Result);
+ break;
+}
+case wxFileDirPickerEvent_GetPath: { // wxFileDirPickerEvent::GetPath
+ wxFileDirPickerEvent *This = (wxFileDirPickerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetPath();
+ rt.add(Result);
+ break;
+}
+case wxColourPickerEvent_GetColour: { // wxColourPickerEvent::GetColour
+ wxColourPickerEvent *This = (wxColourPickerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetColour();
+ rt.add(Result);
+ break;
+}
+case wxFontPickerEvent_GetFont: { // wxFontPickerEvent::GetFont
+ wxFontPickerEvent *This = (wxFontPickerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFont * Result = new wxFont(This->GetFont()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxFont");
+ break;
+}
+case wxStyledTextEvent_GetPosition: { // wxStyledTextEvent::GetPosition
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetKey: { // wxStyledTextEvent::GetKey
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetKey();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetModifiers: { // wxStyledTextEvent::GetModifiers
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetModifiers();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetModificationType: { // wxStyledTextEvent::GetModificationType
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetModificationType();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetText: { // wxStyledTextEvent::GetText
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetText();
+ rt.add(Result);
+ break;
+}
+case wxStyledTextEvent_GetLength: { // wxStyledTextEvent::GetLength
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLength();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetLinesAdded: { // wxStyledTextEvent::GetLinesAdded
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLinesAdded();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetLine: { // wxStyledTextEvent::GetLine
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLine();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetFoldLevelNow: { // wxStyledTextEvent::GetFoldLevelNow
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFoldLevelNow();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetFoldLevelPrev: { // wxStyledTextEvent::GetFoldLevelPrev
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFoldLevelPrev();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetMargin: { // wxStyledTextEvent::GetMargin
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMargin();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetMessage: { // wxStyledTextEvent::GetMessage
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMessage();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetWParam: { // wxStyledTextEvent::GetWParam
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWParam();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetLParam: { // wxStyledTextEvent::GetLParam
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLParam();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetListType: { // wxStyledTextEvent::GetListType
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetListType();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetX: { // wxStyledTextEvent::GetX
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetX();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetY: { // wxStyledTextEvent::GetY
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetY();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetDragText: { // wxStyledTextEvent::GetDragText
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetDragText();
+ rt.add(Result);
+ break;
+}
+case wxStyledTextEvent_GetDragAllowMove: { // wxStyledTextEvent::GetDragAllowMove
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetDragAllowMove();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextEvent_GetDragResult: { // wxStyledTextEvent::GetDragResult
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetDragResult();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextEvent_GetShift: { // wxStyledTextEvent::GetShift
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetShift();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextEvent_GetControl: { // wxStyledTextEvent::GetControl
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetControl();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextEvent_GetAlt: { // wxStyledTextEvent::GetAlt
+ wxStyledTextEvent *This = (wxStyledTextEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetAlt();
+ rt.addBool(Result);
+ break;
+}
+case utils_wxGetKeyState: { // utils::wxGetKeyState
+ wxKeyCode key = *(wxKeyCode *) bp; bp += 4;;
+ bool Result = ::wxGetKeyState((wxKeyCode) key);
+ rt.addBool(Result);
+ break;
+}
+case utils_wxGetMousePosition: { // utils::wxGetMousePosition
+ int x;
+ int y;
+ ::wxGetMousePosition(&x,&y);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addTupleCount(2);
+ break;
+}
+case utils_wxGetMouseState: { // utils::wxGetMouseState
+ wxMouseState Result = ::wxGetMouseState();
+ rt.add(Result);
+ break;
+}
+case utils_wxSetDetectableAutoRepeat: { // utils::wxSetDetectableAutoRepeat
+ bool * flag = (bool *) bp; bp += 4;
+ bool Result = ::wxSetDetectableAutoRepeat((bool) *flag);
+ rt.addBool(Result);
+ break;
+}
+case utils_wxBell: { // utils::wxBell
+ ::wxBell();
+ break;
+}
+case utils_wxFindMenuItemId: { // utils::wxFindMenuItemId
+ wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ int * menuStringLen = (int *) bp; bp += 4;
+ wxString menuString = wxString(bp, wxConvUTF8);
+ bp += *menuStringLen+((8-((0+ *menuStringLen) & 7)) & 7);
+ int * itemStringLen = (int *) bp; bp += 4;
+ wxString itemString = wxString(bp, wxConvUTF8);
+ bp += *itemStringLen+((8-((4+ *itemStringLen) & 7)) & 7);
+ int Result = ::wxFindMenuItemId(frame,menuString,itemString);
+ rt.addInt(Result);
+ break;
+}
+case utils_wxGenericFindWindowAtPoint: { // utils::wxGenericFindWindowAtPoint
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ wxWindow * Result = (wxWindow*)::wxGenericFindWindowAtPoint(pt);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case utils_wxFindWindowAtPoint: { // utils::wxFindWindowAtPoint
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ wxWindow * Result = (wxWindow*)::wxFindWindowAtPoint(pt);
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case utils_wxBeginBusyCursor: { // utils::wxBeginBusyCursor
+ const wxCursor * cursor=wxHOURGLASS_CURSOR;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+cursor = (wxCursor *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ ::wxBeginBusyCursor(cursor);
+ break;
+}
+case utils_wxEndBusyCursor: { // utils::wxEndBusyCursor
+ ::wxEndBusyCursor();
+ break;
+}
+case utils_wxIsBusy: { // utils::wxIsBusy
+ bool Result = ::wxIsBusy();
+ rt.addBool(Result);
+ break;
+}
+case utils_wxShutdown: { // utils::wxShutdown
+ wxShutdownFlags wFlags = *(wxShutdownFlags *) bp; bp += 4;;
+ bool Result = ::wxShutdown((wxShutdownFlags) wFlags);
+ rt.addBool(Result);
+ break;
+}
+case utils_wxShell: { // utils::wxShell
+ wxString command= wxEmptyString;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * commandLen = (int *) bp; bp += 4;
+ command = wxString(bp, wxConvUTF8);
+ bp += *commandLen+((8-((0+ *commandLen) & 7)) & 7);
+ } break;
+ }};
+ bool Result = ::wxShell(command);
+ rt.addBool(Result);
+ break;
+}
+case utils_wxLaunchDefaultBrowser: { // utils::wxLaunchDefaultBrowser
+ int flags=0;
+ int * urlLen = (int *) bp; bp += 4;
+ wxString url = wxString(bp, wxConvUTF8);
+ bp += *urlLen+((8-((4+ *urlLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ bool Result = ::wxLaunchDefaultBrowser(url,flags);
+ rt.addBool(Result);
+ break;
+}
+case utils_wxGetEmailAddress: { // utils::wxGetEmailAddress
+ wxString Result = ::wxGetEmailAddress();
+ rt.add(Result);
+ break;
+}
+case utils_wxGetUserId: { // utils::wxGetUserId
+ wxString Result = ::wxGetUserId();
+ rt.add(Result);
+ break;
+}
+case utils_wxGetHomeDir: { // utils::wxGetHomeDir
+ wxString Result = ::wxGetHomeDir();
+ rt.add(Result);
+ break;
+}
+case utils_wxNewId: { // utils::wxNewId
+ long Result = ::wxNewId();
+ rt.addInt(Result);
+ break;
+}
+case utils_wxRegisterId: { // utils::wxRegisterId
+ int * id = (int *) bp; bp += 4;
+ ::wxRegisterId((long) *id);
+ break;
+}
+case utils_wxGetCurrentId: { // utils::wxGetCurrentId
+ long Result = ::wxGetCurrentId();
+ rt.addInt(Result);
+ break;
+}
+case utils_wxGetOsDescription: { // utils::wxGetOsDescription
+ wxString Result = ::wxGetOsDescription();
+ rt.add(Result);
+ break;
+}
+case utils_wxIsPlatformLittleEndian: { // utils::wxIsPlatformLittleEndian
+ bool Result = ::wxIsPlatformLittleEndian();
+ rt.addBool(Result);
+ break;
+}
+case utils_wxIsPlatform64Bit: { // utils::wxIsPlatform64Bit
+ bool Result = ::wxIsPlatform64Bit();
+ rt.addBool(Result);
+ break;
+}
+
+case wxPrintout_new: { // wxPrintout::wxPrintout taylormade
+ int onPreparePrinting=0,onBeginPrinting=0,onEndPrinting=0,onBeginDocument=0,
+ onEndDocument=0,hasPage=0,getPageInfo=0;
+ int * titleLen = (int *) bp; bp += 4;
+ wxString title = wxString(bp, wxConvUTF8);
+ bp += *titleLen+((8-((4+ *titleLen) & 7)) & 7);
+ int onPrintPage=*(int *) bp; bp += 4;
+ while( * (int*) bp) {
+ switch (* (int*) bp) {
+ case 1: {bp += 4; onPreparePrinting = *(int *) bp; bp += 4;} break;
+ case 2: {bp += 4; onBeginPrinting = *(int *) bp; bp += 4;} break;
+ case 3: {bp += 4; onEndPrinting = *(int *) bp; bp += 4;} break;
+ case 4: {bp += 4; onBeginDocument = *(int *) bp; bp += 4;} break;
+ case 5: {bp += 4; onEndDocument = *(int *) bp; bp += 4;} break;
+ case 6: {bp += 4; hasPage = *(int *) bp; bp += 4;} break;
+ case 7: {bp += 4; getPageInfo = *(int *) bp; bp += 4;} break;
+ }
+ }
+ wxEPrintout *Result = new wxEPrintout(title,onPrintPage,
+ onPreparePrinting,
+ onBeginPrinting,onEndPrinting,
+ onBeginDocument,onEndDocument,
+ hasPage,getPageInfo, Ecmd.port);
+
+ rt.addRef(getRef((void *)Result,memenv), "wxPrintout");
+ break;
+}
+case wxPrintout_GetDC: { // wxPrintout::GetDC
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxDC * Result = (wxDC*)This->GetDC();
+ rt.addRef(getRef((void *)Result,memenv), "wxDC");
+ break;
+}
+case wxPrintout_GetPageSizeMM: { // wxPrintout::GetPageSizeMM
+ int w;
+ int h;
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetPageSizeMM(&w,&h);
+ rt.addInt(w);
+ rt.addInt(h);
+ rt.addTupleCount(2);
+ break;
+}
+case wxPrintout_GetPageSizePixels: { // wxPrintout::GetPageSizePixels
+ int w;
+ int h;
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetPageSizePixels(&w,&h);
+ rt.addInt(w);
+ rt.addInt(h);
+ rt.addTupleCount(2);
+ break;
+}
+case wxPrintout_GetPaperRectPixels: { // wxPrintout::GetPaperRectPixels
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetPaperRectPixels();
+ rt.add(Result);
+ break;
+}
+case wxPrintout_GetPPIPrinter: { // wxPrintout::GetPPIPrinter
+ int x;
+ int y;
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetPPIPrinter(&x,&y);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addTupleCount(2);
+ break;
+}
+case wxPrintout_GetPPIScreen: { // wxPrintout::GetPPIScreen
+ int x;
+ int y;
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetPPIScreen(&x,&y);
+ rt.addInt(x);
+ rt.addInt(y);
+ rt.addTupleCount(2);
+ break;
+}
+case wxPrintout_GetTitle: { // wxPrintout::GetTitle
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetTitle();
+ rt.add(Result);
+ break;
+}
+case wxPrintout_IsPreview: { // wxPrintout::IsPreview
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsPreview();
+ rt.addBool(Result);
+ break;
+}
+case wxPrintout_FitThisSizeToPaper: { // wxPrintout::FitThisSizeToPaper
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ int * imageSizeW = (int *) bp; bp += 4;
+ int * imageSizeH = (int *) bp; bp += 4;
+ wxSize imageSize = wxSize(*imageSizeW,*imageSizeH);
+ if(!This) throw wxe_badarg(0);
+ This->FitThisSizeToPaper(imageSize);
+ break;
+}
+case wxPrintout_FitThisSizeToPage: { // wxPrintout::FitThisSizeToPage
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ int * imageSizeW = (int *) bp; bp += 4;
+ int * imageSizeH = (int *) bp; bp += 4;
+ wxSize imageSize = wxSize(*imageSizeW,*imageSizeH);
+ if(!This) throw wxe_badarg(0);
+ This->FitThisSizeToPage(imageSize);
+ break;
+}
+case wxPrintout_FitThisSizeToPageMargins: { // wxPrintout::FitThisSizeToPageMargins
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ int * imageSizeW = (int *) bp; bp += 4;
+ int * imageSizeH = (int *) bp; bp += 4;
+ wxSize imageSize = wxSize(*imageSizeW,*imageSizeH);
+ wxPageSetupDialogData *pageSetupData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->FitThisSizeToPageMargins(imageSize,*pageSetupData);
+ break;
+}
+case wxPrintout_MapScreenSizeToPaper: { // wxPrintout::MapScreenSizeToPaper
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MapScreenSizeToPaper();
+ break;
+}
+case wxPrintout_MapScreenSizeToPage: { // wxPrintout::MapScreenSizeToPage
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MapScreenSizeToPage();
+ break;
+}
+case wxPrintout_MapScreenSizeToPageMargins: { // wxPrintout::MapScreenSizeToPageMargins
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ wxPageSetupDialogData *pageSetupData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MapScreenSizeToPageMargins(*pageSetupData);
+ break;
+}
+case wxPrintout_MapScreenSizeToDevice: { // wxPrintout::MapScreenSizeToDevice
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MapScreenSizeToDevice();
+ break;
+}
+case wxPrintout_GetLogicalPaperRect: { // wxPrintout::GetLogicalPaperRect
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetLogicalPaperRect();
+ rt.add(Result);
+ break;
+}
+case wxPrintout_GetLogicalPageRect: { // wxPrintout::GetLogicalPageRect
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetLogicalPageRect();
+ rt.add(Result);
+ break;
+}
+case wxPrintout_GetLogicalPageMarginsRect: { // wxPrintout::GetLogicalPageMarginsRect
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ wxPageSetupDialogData *pageSetupData = (wxPageSetupDialogData *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxRect Result = This->GetLogicalPageMarginsRect(*pageSetupData);
+ rt.add(Result);
+ break;
+}
+case wxPrintout_SetLogicalOrigin: { // wxPrintout::SetLogicalOrigin
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLogicalOrigin((wxCoord) *x,(wxCoord) *y);
+ break;
+}
+case wxPrintout_OffsetLogicalOrigin: { // wxPrintout::OffsetLogicalOrigin
+ wxPrintout *This = (wxPrintout *) getPtr(bp,memenv); bp += 4;
+ int * xoff = (int *) bp; bp += 4;
+ int * yoff = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->OffsetLogicalOrigin((wxCoord) *xoff,(wxCoord) *yoff);
+ break;
+}
+case wxStyledTextCtrl_new_2: { // wxStyledTextCtrl::wxStyledTextCtrl
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxStyledTextCtrl * Result = new wxStyledTextCtrl(parent,id,pos,size,style);
+ /* Possible memory leak here, class is missing virt dest */
+ rt.addRef(getRef((void *)Result,memenv), "wxStyledTextCtrl");
+ break;
+}
+case wxStyledTextCtrl_new_0: { // wxStyledTextCtrl::wxStyledTextCtrl
+ wxStyledTextCtrl * Result = new wxStyledTextCtrl();
+ /* Possible memory leak here, class is missing virt dest */
+ rt.addRef(getRef((void *)Result,memenv), "wxStyledTextCtrl");
+ break;
+}
+case wxStyledTextCtrl_Create: { // wxStyledTextCtrl::Create
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_AddText: { // wxStyledTextCtrl::AddText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AddText(text);
+ break;
+}
+case wxStyledTextCtrl_AddStyledText: { // wxStyledTextCtrl::AddStyledText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ wxMemoryBuffer *data = (wxMemoryBuffer *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AddStyledText(*data);
+ break;
+}
+case wxStyledTextCtrl_InsertText: { // wxStyledTextCtrl::InsertText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->InsertText((int) *pos,text);
+ break;
+}
+case wxStyledTextCtrl_ClearAll: { // wxStyledTextCtrl::ClearAll
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearAll();
+ break;
+}
+case wxStyledTextCtrl_ClearDocumentStyle: { // wxStyledTextCtrl::ClearDocumentStyle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearDocumentStyle();
+ break;
+}
+case wxStyledTextCtrl_GetLength: { // wxStyledTextCtrl::GetLength
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLength();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetCharAt: { // wxStyledTextCtrl::GetCharAt
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCharAt((int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetCurrentPos: { // wxStyledTextCtrl::GetCurrentPos
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCurrentPos();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetAnchor: { // wxStyledTextCtrl::GetAnchor
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetAnchor();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetStyleAt: { // wxStyledTextCtrl::GetStyleAt
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStyleAt((int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_Redo: { // wxStyledTextCtrl::Redo
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Redo();
+ break;
+}
+case wxStyledTextCtrl_SetUndoCollection: { // wxStyledTextCtrl::SetUndoCollection
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * collectUndo = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetUndoCollection((bool) *collectUndo);
+ break;
+}
+case wxStyledTextCtrl_SelectAll: { // wxStyledTextCtrl::SelectAll
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SelectAll();
+ break;
+}
+case wxStyledTextCtrl_SetSavePoint: { // wxStyledTextCtrl::SetSavePoint
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSavePoint();
+ break;
+}
+case wxStyledTextCtrl_GetStyledText: { // wxStyledTextCtrl::GetStyledText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * startPos = (int *) bp; bp += 4;
+ int * endPos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxMemoryBuffer * Result = new wxMemoryBuffer(This->GetStyledText((int) *startPos,(int) *endPos)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxMemoryBuffer");
+ break;
+}
+case wxStyledTextCtrl_CanRedo: { // wxStyledTextCtrl::CanRedo
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanRedo();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_MarkerLineFromHandle: { // wxStyledTextCtrl::MarkerLineFromHandle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * handle = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->MarkerLineFromHandle((int) *handle);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_MarkerDeleteHandle: { // wxStyledTextCtrl::MarkerDeleteHandle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * handle = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MarkerDeleteHandle((int) *handle);
+ break;
+}
+case wxStyledTextCtrl_GetUndoCollection: { // wxStyledTextCtrl::GetUndoCollection
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetUndoCollection();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_GetViewWhiteSpace: { // wxStyledTextCtrl::GetViewWhiteSpace
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetViewWhiteSpace();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetViewWhiteSpace: { // wxStyledTextCtrl::SetViewWhiteSpace
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * viewWS = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetViewWhiteSpace((int) *viewWS);
+ break;
+}
+case wxStyledTextCtrl_PositionFromPoint: { // wxStyledTextCtrl::PositionFromPoint
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * ptX = (int *) bp; bp += 4;
+ int * ptY = (int *) bp; bp += 4;
+ wxPoint pt = wxPoint(*ptX,*ptY);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->PositionFromPoint(pt);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_PositionFromPointClose: { // wxStyledTextCtrl::PositionFromPointClose
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->PositionFromPointClose((int) *x,(int) *y);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GotoLine: { // wxStyledTextCtrl::GotoLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GotoLine((int) *line);
+ break;
+}
+case wxStyledTextCtrl_GotoPos: { // wxStyledTextCtrl::GotoPos
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GotoPos((int) *pos);
+ break;
+}
+case wxStyledTextCtrl_SetAnchor: { // wxStyledTextCtrl::SetAnchor
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * posAnchor = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetAnchor((int) *posAnchor);
+ break;
+}
+case wxStyledTextCtrl_GetCurLine: { // wxStyledTextCtrl::GetCurLine
+ int linePos;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetCurLine(&linePos);
+ rt.add(Result);
+ rt.addInt(linePos);
+ rt.addTupleCount(2);
+ break;
+}
+case wxStyledTextCtrl_GetEndStyled: { // wxStyledTextCtrl::GetEndStyled
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetEndStyled();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_ConvertEOLs: { // wxStyledTextCtrl::ConvertEOLs
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * eolMode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ConvertEOLs((int) *eolMode);
+ break;
+}
+case wxStyledTextCtrl_GetEOLMode: { // wxStyledTextCtrl::GetEOLMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetEOLMode();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetEOLMode: { // wxStyledTextCtrl::SetEOLMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * eolMode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetEOLMode((int) *eolMode);
+ break;
+}
+case wxStyledTextCtrl_StartStyling: { // wxStyledTextCtrl::StartStyling
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * mask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StartStyling((int) *pos,(int) *mask);
+ break;
+}
+case wxStyledTextCtrl_SetStyling: { // wxStyledTextCtrl::SetStyling
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * length = (int *) bp; bp += 4;
+ int * style = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStyling((int) *length,(int) *style);
+ break;
+}
+case wxStyledTextCtrl_GetBufferedDraw: { // wxStyledTextCtrl::GetBufferedDraw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetBufferedDraw();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetBufferedDraw: { // wxStyledTextCtrl::SetBufferedDraw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * buffered = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBufferedDraw((bool) *buffered);
+ break;
+}
+case wxStyledTextCtrl_SetTabWidth: { // wxStyledTextCtrl::SetTabWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * tabWidth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTabWidth((int) *tabWidth);
+ break;
+}
+case wxStyledTextCtrl_GetTabWidth: { // wxStyledTextCtrl::GetTabWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetTabWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetCodePage: { // wxStyledTextCtrl::SetCodePage
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * codePage = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCodePage((int) *codePage);
+ break;
+}
+case wxStyledTextCtrl_MarkerDefine: { // wxStyledTextCtrl::MarkerDefine
+ wxColour foreground= wxNullColour;
+ wxColour background= wxNullColour;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ int * markerSymbol = (int *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * foregroundR = (int *) bp; bp += 4;
+ int * foregroundG = (int *) bp; bp += 4;
+ int * foregroundB = (int *) bp; bp += 4;
+ int * foregroundA = (int *) bp; bp += 4;
+ foreground = wxColour(*foregroundR,*foregroundG,*foregroundB,*foregroundA);
+ bp += 4; /* Align */
+ } break;
+ case 2: {bp += 4;
+ int * backgroundR = (int *) bp; bp += 4;
+ int * backgroundG = (int *) bp; bp += 4;
+ int * backgroundB = (int *) bp; bp += 4;
+ int * backgroundA = (int *) bp; bp += 4;
+ background = wxColour(*backgroundR,*backgroundG,*backgroundB,*backgroundA);
+ bp += 4; /* Align */
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->MarkerDefine((int) *markerNumber,(int) *markerSymbol,foreground,background);
+ break;
+}
+case wxStyledTextCtrl_MarkerSetForeground: { // wxStyledTextCtrl::MarkerSetForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->MarkerSetForeground((int) *markerNumber,fore);
+ break;
+}
+case wxStyledTextCtrl_MarkerSetBackground: { // wxStyledTextCtrl::MarkerSetBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->MarkerSetBackground((int) *markerNumber,back);
+ break;
+}
+case wxStyledTextCtrl_MarkerAdd: { // wxStyledTextCtrl::MarkerAdd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->MarkerAdd((int) *line,(int) *markerNumber);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_MarkerDelete: { // wxStyledTextCtrl::MarkerDelete
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MarkerDelete((int) *line,(int) *markerNumber);
+ break;
+}
+case wxStyledTextCtrl_MarkerDeleteAll: { // wxStyledTextCtrl::MarkerDeleteAll
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MarkerDeleteAll((int) *markerNumber);
+ break;
+}
+case wxStyledTextCtrl_MarkerGet: { // wxStyledTextCtrl::MarkerGet
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->MarkerGet((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_MarkerNext: { // wxStyledTextCtrl::MarkerNext
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lineStart = (int *) bp; bp += 4;
+ int * markerMask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->MarkerNext((int) *lineStart,(int) *markerMask);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_MarkerPrevious: { // wxStyledTextCtrl::MarkerPrevious
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lineStart = (int *) bp; bp += 4;
+ int * markerMask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->MarkerPrevious((int) *lineStart,(int) *markerMask);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_MarkerDefineBitmap: { // wxStyledTextCtrl::MarkerDefineBitmap
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MarkerDefineBitmap((int) *markerNumber,*bmp);
+ break;
+}
+case wxStyledTextCtrl_MarkerAddSet: { // wxStyledTextCtrl::MarkerAddSet
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * set = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MarkerAddSet((int) *line,(int) *set);
+ break;
+}
+case wxStyledTextCtrl_MarkerSetAlpha: { // wxStyledTextCtrl::MarkerSetAlpha
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * markerNumber = (int *) bp; bp += 4;
+ int * alpha = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MarkerSetAlpha((int) *markerNumber,(int) *alpha);
+ break;
+}
+case wxStyledTextCtrl_SetMarginType: { // wxStyledTextCtrl::SetMarginType
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ int * marginType = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginType((int) *margin,(int) *marginType);
+ break;
+}
+case wxStyledTextCtrl_GetMarginType: { // wxStyledTextCtrl::GetMarginType
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMarginType((int) *margin);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetMarginWidth: { // wxStyledTextCtrl::SetMarginWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ int * pixelWidth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginWidth((int) *margin,(int) *pixelWidth);
+ break;
+}
+case wxStyledTextCtrl_GetMarginWidth: { // wxStyledTextCtrl::GetMarginWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMarginWidth((int) *margin);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetMarginMask: { // wxStyledTextCtrl::SetMarginMask
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ int * mask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginMask((int) *margin,(int) *mask);
+ break;
+}
+case wxStyledTextCtrl_GetMarginMask: { // wxStyledTextCtrl::GetMarginMask
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMarginMask((int) *margin);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetMarginSensitive: { // wxStyledTextCtrl::SetMarginSensitive
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ bool * sensitive = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginSensitive((int) *margin,(bool) *sensitive);
+ break;
+}
+case wxStyledTextCtrl_GetMarginSensitive: { // wxStyledTextCtrl::GetMarginSensitive
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * margin = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetMarginSensitive((int) *margin);
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_StyleClearAll: { // wxStyledTextCtrl::StyleClearAll
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleClearAll();
+ break;
+}
+case wxStyledTextCtrl_StyleSetForeground: { // wxStyledTextCtrl::StyleSetForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetForeground((int) *style,fore);
+ break;
+}
+case wxStyledTextCtrl_StyleSetBackground: { // wxStyledTextCtrl::StyleSetBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetBackground((int) *style,back);
+ break;
+}
+case wxStyledTextCtrl_StyleSetBold: { // wxStyledTextCtrl::StyleSetBold
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ bool * bold = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetBold((int) *style,(bool) *bold);
+ break;
+}
+case wxStyledTextCtrl_StyleSetItalic: { // wxStyledTextCtrl::StyleSetItalic
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ bool * italic = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetItalic((int) *style,(bool) *italic);
+ break;
+}
+case wxStyledTextCtrl_StyleSetSize: { // wxStyledTextCtrl::StyleSetSize
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ int * sizePoints = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetSize((int) *style,(int) *sizePoints);
+ break;
+}
+case wxStyledTextCtrl_StyleSetFaceName: { // wxStyledTextCtrl::StyleSetFaceName
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ int * fontNameLen = (int *) bp; bp += 4;
+ wxString fontName = wxString(bp, wxConvUTF8);
+ bp += *fontNameLen+((8-((4+ *fontNameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetFaceName((int) *style,fontName);
+ break;
+}
+case wxStyledTextCtrl_StyleSetEOLFilled: { // wxStyledTextCtrl::StyleSetEOLFilled
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ bool * filled = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetEOLFilled((int) *style,(bool) *filled);
+ break;
+}
+case wxStyledTextCtrl_StyleResetDefault: { // wxStyledTextCtrl::StyleResetDefault
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleResetDefault();
+ break;
+}
+case wxStyledTextCtrl_StyleSetUnderline: { // wxStyledTextCtrl::StyleSetUnderline
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ bool * underline = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetUnderline((int) *style,(bool) *underline);
+ break;
+}
+case wxStyledTextCtrl_StyleSetCase: { // wxStyledTextCtrl::StyleSetCase
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ int * caseForce = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetCase((int) *style,(int) *caseForce);
+ break;
+}
+case wxStyledTextCtrl_StyleSetHotSpot: { // wxStyledTextCtrl::StyleSetHotSpot
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ bool * hotspot = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetHotSpot((int) *style,(bool) *hotspot);
+ break;
+}
+case wxStyledTextCtrl_SetSelForeground: { // wxStyledTextCtrl::SetSelForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->SetSelForeground((bool) *useSetting,fore);
+ break;
+}
+case wxStyledTextCtrl_SetSelBackground: { // wxStyledTextCtrl::SetSelBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->SetSelBackground((bool) *useSetting,back);
+ break;
+}
+case wxStyledTextCtrl_GetSelAlpha: { // wxStyledTextCtrl::GetSelAlpha
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelAlpha();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetSelAlpha: { // wxStyledTextCtrl::SetSelAlpha
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * alpha = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelAlpha((int) *alpha);
+ break;
+}
+case wxStyledTextCtrl_SetCaretForeground: { // wxStyledTextCtrl::SetCaretForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->SetCaretForeground(fore);
+ break;
+}
+case wxStyledTextCtrl_CmdKeyAssign: { // wxStyledTextCtrl::CmdKeyAssign
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * key = (int *) bp; bp += 4;
+ int * modifiers = (int *) bp; bp += 4;
+ int * cmd = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CmdKeyAssign((int) *key,(int) *modifiers,(int) *cmd);
+ break;
+}
+case wxStyledTextCtrl_CmdKeyClear: { // wxStyledTextCtrl::CmdKeyClear
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * key = (int *) bp; bp += 4;
+ int * modifiers = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CmdKeyClear((int) *key,(int) *modifiers);
+ break;
+}
+case wxStyledTextCtrl_CmdKeyClearAll: { // wxStyledTextCtrl::CmdKeyClearAll
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CmdKeyClearAll();
+ break;
+}
+case wxStyledTextCtrl_SetStyleBytes: { // wxStyledTextCtrl::SetStyleBytes
+ char styleBytes;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * length = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStyleBytes((int) *length,&styleBytes);
+ rt.addInt(styleBytes);
+ break;
+}
+case wxStyledTextCtrl_StyleSetVisible: { // wxStyledTextCtrl::StyleSetVisible
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ bool * visible = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetVisible((int) *style,(bool) *visible);
+ break;
+}
+case wxStyledTextCtrl_GetCaretPeriod: { // wxStyledTextCtrl::GetCaretPeriod
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCaretPeriod();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetCaretPeriod: { // wxStyledTextCtrl::SetCaretPeriod
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * periodMilliseconds = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCaretPeriod((int) *periodMilliseconds);
+ break;
+}
+case wxStyledTextCtrl_SetWordChars: { // wxStyledTextCtrl::SetWordChars
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * charactersLen = (int *) bp; bp += 4;
+ wxString characters = wxString(bp, wxConvUTF8);
+ bp += *charactersLen+((8-((0+ *charactersLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetWordChars(characters);
+ break;
+}
+case wxStyledTextCtrl_BeginUndoAction: { // wxStyledTextCtrl::BeginUndoAction
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->BeginUndoAction();
+ break;
+}
+case wxStyledTextCtrl_EndUndoAction: { // wxStyledTextCtrl::EndUndoAction
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EndUndoAction();
+ break;
+}
+case wxStyledTextCtrl_IndicatorSetStyle: { // wxStyledTextCtrl::IndicatorSetStyle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * indic = (int *) bp; bp += 4;
+ int * style = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->IndicatorSetStyle((int) *indic,(int) *style);
+ break;
+}
+case wxStyledTextCtrl_IndicatorGetStyle: { // wxStyledTextCtrl::IndicatorGetStyle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * indic = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->IndicatorGetStyle((int) *indic);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_IndicatorSetForeground: { // wxStyledTextCtrl::IndicatorSetForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * indic = (int *) bp; bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->IndicatorSetForeground((int) *indic,fore);
+ break;
+}
+case wxStyledTextCtrl_IndicatorGetForeground: { // wxStyledTextCtrl::IndicatorGetForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * indic = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->IndicatorGetForeground((int) *indic);
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_SetWhitespaceForeground: { // wxStyledTextCtrl::SetWhitespaceForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->SetWhitespaceForeground((bool) *useSetting,fore);
+ break;
+}
+case wxStyledTextCtrl_SetWhitespaceBackground: { // wxStyledTextCtrl::SetWhitespaceBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->SetWhitespaceBackground((bool) *useSetting,back);
+ break;
+}
+case wxStyledTextCtrl_GetStyleBits: { // wxStyledTextCtrl::GetStyleBits
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStyleBits();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetLineState: { // wxStyledTextCtrl::SetLineState
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * state = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLineState((int) *line,(int) *state);
+ break;
+}
+case wxStyledTextCtrl_GetLineState: { // wxStyledTextCtrl::GetLineState
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLineState((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetMaxLineState: { // wxStyledTextCtrl::GetMaxLineState
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMaxLineState();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetCaretLineVisible: { // wxStyledTextCtrl::GetCaretLineVisible
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetCaretLineVisible();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetCaretLineVisible: { // wxStyledTextCtrl::SetCaretLineVisible
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCaretLineVisible((bool) *show);
+ break;
+}
+case wxStyledTextCtrl_GetCaretLineBackground: { // wxStyledTextCtrl::GetCaretLineBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetCaretLineBackground();
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_SetCaretLineBackground: { // wxStyledTextCtrl::SetCaretLineBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->SetCaretLineBackground(back);
+ break;
+}
+case wxStyledTextCtrl_AutoCompShow: { // wxStyledTextCtrl::AutoCompShow
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lenEntered = (int *) bp; bp += 4;
+ int * itemListLen = (int *) bp; bp += 4;
+ wxString itemList = wxString(bp, wxConvUTF8);
+ bp += *itemListLen+((8-((4+ *itemListLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompShow((int) *lenEntered,itemList);
+ break;
+}
+case wxStyledTextCtrl_AutoCompCancel: { // wxStyledTextCtrl::AutoCompCancel
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompCancel();
+ break;
+}
+case wxStyledTextCtrl_AutoCompActive: { // wxStyledTextCtrl::AutoCompActive
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AutoCompActive();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompPosStart: { // wxStyledTextCtrl::AutoCompPosStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->AutoCompPosStart();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompComplete: { // wxStyledTextCtrl::AutoCompComplete
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompComplete();
+ break;
+}
+case wxStyledTextCtrl_AutoCompStops: { // wxStyledTextCtrl::AutoCompStops
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * characterSetLen = (int *) bp; bp += 4;
+ wxString characterSet = wxString(bp, wxConvUTF8);
+ bp += *characterSetLen+((8-((0+ *characterSetLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompStops(characterSet);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetSeparator: { // wxStyledTextCtrl::AutoCompSetSeparator
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * separatorCharacter = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetSeparator((int) *separatorCharacter);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetSeparator: { // wxStyledTextCtrl::AutoCompGetSeparator
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->AutoCompGetSeparator();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSelect: { // wxStyledTextCtrl::AutoCompSelect
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSelect(text);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetCancelAtStart: { // wxStyledTextCtrl::AutoCompSetCancelAtStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * cancel = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetCancelAtStart((bool) *cancel);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetCancelAtStart: { // wxStyledTextCtrl::AutoCompGetCancelAtStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AutoCompGetCancelAtStart();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetFillUps: { // wxStyledTextCtrl::AutoCompSetFillUps
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * characterSetLen = (int *) bp; bp += 4;
+ wxString characterSet = wxString(bp, wxConvUTF8);
+ bp += *characterSetLen+((8-((0+ *characterSetLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetFillUps(characterSet);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetChooseSingle: { // wxStyledTextCtrl::AutoCompSetChooseSingle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * chooseSingle = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetChooseSingle((bool) *chooseSingle);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetChooseSingle: { // wxStyledTextCtrl::AutoCompGetChooseSingle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AutoCompGetChooseSingle();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetIgnoreCase: { // wxStyledTextCtrl::AutoCompSetIgnoreCase
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * ignoreCase = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetIgnoreCase((bool) *ignoreCase);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetIgnoreCase: { // wxStyledTextCtrl::AutoCompGetIgnoreCase
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AutoCompGetIgnoreCase();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_UserListShow: { // wxStyledTextCtrl::UserListShow
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * listType = (int *) bp; bp += 4;
+ int * itemListLen = (int *) bp; bp += 4;
+ wxString itemList = wxString(bp, wxConvUTF8);
+ bp += *itemListLen+((8-((4+ *itemListLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->UserListShow((int) *listType,itemList);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetAutoHide: { // wxStyledTextCtrl::AutoCompSetAutoHide
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * autoHide = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetAutoHide((bool) *autoHide);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetAutoHide: { // wxStyledTextCtrl::AutoCompGetAutoHide
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AutoCompGetAutoHide();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetDropRestOfWord: { // wxStyledTextCtrl::AutoCompSetDropRestOfWord
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * dropRestOfWord = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetDropRestOfWord((bool) *dropRestOfWord);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetDropRestOfWord: { // wxStyledTextCtrl::AutoCompGetDropRestOfWord
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AutoCompGetDropRestOfWord();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_RegisterImage: { // wxStyledTextCtrl::RegisterImage
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * type = (int *) bp; bp += 4;
+ wxBitmap *bmp = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->RegisterImage((int) *type,*bmp);
+ break;
+}
+case wxStyledTextCtrl_ClearRegisteredImages: { // wxStyledTextCtrl::ClearRegisteredImages
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ClearRegisteredImages();
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetTypeSeparator: { // wxStyledTextCtrl::AutoCompGetTypeSeparator
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->AutoCompGetTypeSeparator();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetTypeSeparator: { // wxStyledTextCtrl::AutoCompSetTypeSeparator
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * separatorCharacter = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetTypeSeparator((int) *separatorCharacter);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetMaxWidth: { // wxStyledTextCtrl::AutoCompSetMaxWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * characterCount = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetMaxWidth((int) *characterCount);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetMaxWidth: { // wxStyledTextCtrl::AutoCompGetMaxWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->AutoCompGetMaxWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_AutoCompSetMaxHeight: { // wxStyledTextCtrl::AutoCompSetMaxHeight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * rowCount = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->AutoCompSetMaxHeight((int) *rowCount);
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetMaxHeight: { // wxStyledTextCtrl::AutoCompGetMaxHeight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->AutoCompGetMaxHeight();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetIndent: { // wxStyledTextCtrl::SetIndent
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * indentSize = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetIndent((int) *indentSize);
+ break;
+}
+case wxStyledTextCtrl_GetIndent: { // wxStyledTextCtrl::GetIndent
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetIndent();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetUseTabs: { // wxStyledTextCtrl::SetUseTabs
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useTabs = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetUseTabs((bool) *useTabs);
+ break;
+}
+case wxStyledTextCtrl_GetUseTabs: { // wxStyledTextCtrl::GetUseTabs
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetUseTabs();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetLineIndentation: { // wxStyledTextCtrl::SetLineIndentation
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * indentSize = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLineIndentation((int) *line,(int) *indentSize);
+ break;
+}
+case wxStyledTextCtrl_GetLineIndentation: { // wxStyledTextCtrl::GetLineIndentation
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLineIndentation((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetLineIndentPosition: { // wxStyledTextCtrl::GetLineIndentPosition
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLineIndentPosition((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetColumn: { // wxStyledTextCtrl::GetColumn
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetColumn((int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetUseHorizontalScrollBar: { // wxStyledTextCtrl::SetUseHorizontalScrollBar
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetUseHorizontalScrollBar((bool) *show);
+ break;
+}
+case wxStyledTextCtrl_GetUseHorizontalScrollBar: { // wxStyledTextCtrl::GetUseHorizontalScrollBar
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetUseHorizontalScrollBar();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetIndentationGuides: { // wxStyledTextCtrl::SetIndentationGuides
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetIndentationGuides((bool) *show);
+ break;
+}
+case wxStyledTextCtrl_GetIndentationGuides: { // wxStyledTextCtrl::GetIndentationGuides
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetIndentationGuides();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetHighlightGuide: { // wxStyledTextCtrl::SetHighlightGuide
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * column = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHighlightGuide((int) *column);
+ break;
+}
+case wxStyledTextCtrl_GetHighlightGuide: { // wxStyledTextCtrl::GetHighlightGuide
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetHighlightGuide();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetLineEndPosition: { // wxStyledTextCtrl::GetLineEndPosition
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLineEndPosition((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetCodePage: { // wxStyledTextCtrl::GetCodePage
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCodePage();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetCaretForeground: { // wxStyledTextCtrl::GetCaretForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetCaretForeground();
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_GetReadOnly: { // wxStyledTextCtrl::GetReadOnly
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetReadOnly();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetCurrentPos: { // wxStyledTextCtrl::SetCurrentPos
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCurrentPos((int) *pos);
+ break;
+}
+case wxStyledTextCtrl_SetSelectionStart: { // wxStyledTextCtrl::SetSelectionStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelectionStart((int) *pos);
+ break;
+}
+case wxStyledTextCtrl_GetSelectionStart: { // wxStyledTextCtrl::GetSelectionStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelectionStart();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetSelectionEnd: { // wxStyledTextCtrl::SetSelectionEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelectionEnd((int) *pos);
+ break;
+}
+case wxStyledTextCtrl_GetSelectionEnd: { // wxStyledTextCtrl::GetSelectionEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelectionEnd();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetPrintMagnification: { // wxStyledTextCtrl::SetPrintMagnification
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * magnification = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPrintMagnification((int) *magnification);
+ break;
+}
+case wxStyledTextCtrl_GetPrintMagnification: { // wxStyledTextCtrl::GetPrintMagnification
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPrintMagnification();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetPrintColourMode: { // wxStyledTextCtrl::SetPrintColourMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * mode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPrintColourMode((int) *mode);
+ break;
+}
+case wxStyledTextCtrl_GetPrintColourMode: { // wxStyledTextCtrl::GetPrintColourMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPrintColourMode();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_FindText: { // wxStyledTextCtrl::FindText
+ int flags=0;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * minPos = (int *) bp; bp += 4;
+ int * maxPos = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ flags = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ int Result = This->FindText((int) *minPos,(int) *maxPos,text,flags);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_FormatRange: { // wxStyledTextCtrl::FormatRange
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * doDraw = (bool *) bp; bp += 4;
+ int * startPos = (int *) bp; bp += 4;
+ int * endPos = (int *) bp; bp += 4;
+ wxDC *draw = (wxDC *) getPtr(bp,memenv); bp += 4;
+ wxDC *target = (wxDC *) getPtr(bp,memenv); bp += 4;
+ int * renderRectX = (int *) bp; bp += 4;
+ int * renderRectY = (int *) bp; bp += 4;
+ int * renderRectW = (int *) bp; bp += 4;
+ int * renderRectH = (int *) bp; bp += 4;
+ wxRect renderRect = wxRect(*renderRectX,*renderRectY,*renderRectW,*renderRectH);
+ int * pageRectX = (int *) bp; bp += 4;
+ int * pageRectY = (int *) bp; bp += 4;
+ int * pageRectW = (int *) bp; bp += 4;
+ int * pageRectH = (int *) bp; bp += 4;
+ wxRect pageRect = wxRect(*pageRectX,*pageRectY,*pageRectW,*pageRectH);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->FormatRange((bool) *doDraw,(int) *startPos,(int) *endPos,draw,target,renderRect,pageRect);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetFirstVisibleLine: { // wxStyledTextCtrl::GetFirstVisibleLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFirstVisibleLine();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetLine: { // wxStyledTextCtrl::GetLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetLine((int) *line);
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_GetLineCount: { // wxStyledTextCtrl::GetLineCount
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLineCount();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetMarginLeft: { // wxStyledTextCtrl::SetMarginLeft
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pixelWidth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginLeft((int) *pixelWidth);
+ break;
+}
+case wxStyledTextCtrl_GetMarginLeft: { // wxStyledTextCtrl::GetMarginLeft
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMarginLeft();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetMarginRight: { // wxStyledTextCtrl::SetMarginRight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pixelWidth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMarginRight((int) *pixelWidth);
+ break;
+}
+case wxStyledTextCtrl_GetMarginRight: { // wxStyledTextCtrl::GetMarginRight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMarginRight();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetModify: { // wxStyledTextCtrl::GetModify
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetModify();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetSelection: { // wxStyledTextCtrl::SetSelection
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * start = (int *) bp; bp += 4;
+ int * end = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((int) *start,(int) *end);
+ break;
+}
+case wxStyledTextCtrl_GetSelectedText: { // wxStyledTextCtrl::GetSelectedText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetSelectedText();
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_GetTextRange: { // wxStyledTextCtrl::GetTextRange
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * startPos = (int *) bp; bp += 4;
+ int * endPos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetTextRange((int) *startPos,(int) *endPos);
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_HideSelection: { // wxStyledTextCtrl::HideSelection
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * normal = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HideSelection((bool) *normal);
+ break;
+}
+case wxStyledTextCtrl_LineFromPosition: { // wxStyledTextCtrl::LineFromPosition
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->LineFromPosition((int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_PositionFromLine: { // wxStyledTextCtrl::PositionFromLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->PositionFromLine((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_LineScroll: { // wxStyledTextCtrl::LineScroll
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * columns = (int *) bp; bp += 4;
+ int * lines = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineScroll((int) *columns,(int) *lines);
+ break;
+}
+case wxStyledTextCtrl_EnsureCaretVisible: { // wxStyledTextCtrl::EnsureCaretVisible
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnsureCaretVisible();
+ break;
+}
+case wxStyledTextCtrl_ReplaceSelection: { // wxStyledTextCtrl::ReplaceSelection
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->ReplaceSelection(text);
+ break;
+}
+case wxStyledTextCtrl_SetReadOnly: { // wxStyledTextCtrl::SetReadOnly
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * readOnly = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetReadOnly((bool) *readOnly);
+ break;
+}
+case wxStyledTextCtrl_CanPaste: { // wxStyledTextCtrl::CanPaste
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanPaste();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_CanUndo: { // wxStyledTextCtrl::CanUndo
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanUndo();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_EmptyUndoBuffer: { // wxStyledTextCtrl::EmptyUndoBuffer
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EmptyUndoBuffer();
+ break;
+}
+case wxStyledTextCtrl_Undo: { // wxStyledTextCtrl::Undo
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Undo();
+ break;
+}
+case wxStyledTextCtrl_Cut: { // wxStyledTextCtrl::Cut
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Cut();
+ break;
+}
+case wxStyledTextCtrl_Copy: { // wxStyledTextCtrl::Copy
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Copy();
+ break;
+}
+case wxStyledTextCtrl_Paste: { // wxStyledTextCtrl::Paste
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Paste();
+ break;
+}
+case wxStyledTextCtrl_Clear: { // wxStyledTextCtrl::Clear
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clear();
+ break;
+}
+case wxStyledTextCtrl_SetText: { // wxStyledTextCtrl::SetText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetText(text);
+ break;
+}
+case wxStyledTextCtrl_GetText: { // wxStyledTextCtrl::GetText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetText();
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_GetTextLength: { // wxStyledTextCtrl::GetTextLength
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetTextLength();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetOvertype: { // wxStyledTextCtrl::GetOvertype
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetOvertype();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetCaretWidth: { // wxStyledTextCtrl::SetCaretWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pixelWidth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCaretWidth((int) *pixelWidth);
+ break;
+}
+case wxStyledTextCtrl_GetCaretWidth: { // wxStyledTextCtrl::GetCaretWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCaretWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetTargetStart: { // wxStyledTextCtrl::SetTargetStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTargetStart((int) *pos);
+ break;
+}
+case wxStyledTextCtrl_GetTargetStart: { // wxStyledTextCtrl::GetTargetStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetTargetStart();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetTargetEnd: { // wxStyledTextCtrl::SetTargetEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTargetEnd((int) *pos);
+ break;
+}
+case wxStyledTextCtrl_GetTargetEnd: { // wxStyledTextCtrl::GetTargetEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetTargetEnd();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_ReplaceTarget: { // wxStyledTextCtrl::ReplaceTarget
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->ReplaceTarget(text);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SearchInTarget: { // wxStyledTextCtrl::SearchInTarget
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SearchInTarget(text);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetSearchFlags: { // wxStyledTextCtrl::SetSearchFlags
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSearchFlags((int) *flags);
+ break;
+}
+case wxStyledTextCtrl_GetSearchFlags: { // wxStyledTextCtrl::GetSearchFlags
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSearchFlags();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_CallTipShow: { // wxStyledTextCtrl::CallTipShow
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ int * definitionLen = (int *) bp; bp += 4;
+ wxString definition = wxString(bp, wxConvUTF8);
+ bp += *definitionLen+((8-((4+ *definitionLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->CallTipShow((int) *pos,definition);
+ break;
+}
+case wxStyledTextCtrl_CallTipCancel: { // wxStyledTextCtrl::CallTipCancel
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CallTipCancel();
+ break;
+}
+case wxStyledTextCtrl_CallTipActive: { // wxStyledTextCtrl::CallTipActive
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CallTipActive();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_CallTipPosAtStart: { // wxStyledTextCtrl::CallTipPosAtStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->CallTipPosAtStart();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_CallTipSetHighlight: { // wxStyledTextCtrl::CallTipSetHighlight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * start = (int *) bp; bp += 4;
+ int * end = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CallTipSetHighlight((int) *start,(int) *end);
+ break;
+}
+case wxStyledTextCtrl_CallTipSetBackground: { // wxStyledTextCtrl::CallTipSetBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->CallTipSetBackground(back);
+ break;
+}
+case wxStyledTextCtrl_CallTipSetForeground: { // wxStyledTextCtrl::CallTipSetForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->CallTipSetForeground(fore);
+ break;
+}
+case wxStyledTextCtrl_CallTipSetForegroundHighlight: { // wxStyledTextCtrl::CallTipSetForegroundHighlight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->CallTipSetForegroundHighlight(fore);
+ break;
+}
+case wxStyledTextCtrl_CallTipUseStyle: { // wxStyledTextCtrl::CallTipUseStyle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * tabSize = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CallTipUseStyle((int) *tabSize);
+ break;
+}
+case wxStyledTextCtrl_VisibleFromDocLine: { // wxStyledTextCtrl::VisibleFromDocLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->VisibleFromDocLine((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_DocLineFromVisible: { // wxStyledTextCtrl::DocLineFromVisible
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lineDisplay = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->DocLineFromVisible((int) *lineDisplay);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_WrapCount: { // wxStyledTextCtrl::WrapCount
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->WrapCount((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetFoldLevel: { // wxStyledTextCtrl::SetFoldLevel
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * level = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFoldLevel((int) *line,(int) *level);
+ break;
+}
+case wxStyledTextCtrl_GetFoldLevel: { // wxStyledTextCtrl::GetFoldLevel
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFoldLevel((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetLastChild: { // wxStyledTextCtrl::GetLastChild
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * level = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLastChild((int) *line,(int) *level);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetFoldParent: { // wxStyledTextCtrl::GetFoldParent
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetFoldParent((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_ShowLines: { // wxStyledTextCtrl::ShowLines
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lineStart = (int *) bp; bp += 4;
+ int * lineEnd = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ShowLines((int) *lineStart,(int) *lineEnd);
+ break;
+}
+case wxStyledTextCtrl_HideLines: { // wxStyledTextCtrl::HideLines
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lineStart = (int *) bp; bp += 4;
+ int * lineEnd = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HideLines((int) *lineStart,(int) *lineEnd);
+ break;
+}
+case wxStyledTextCtrl_GetLineVisible: { // wxStyledTextCtrl::GetLineVisible
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetLineVisible((int) *line);
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetFoldExpanded: { // wxStyledTextCtrl::SetFoldExpanded
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ bool * expanded = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFoldExpanded((int) *line,(bool) *expanded);
+ break;
+}
+case wxStyledTextCtrl_GetFoldExpanded: { // wxStyledTextCtrl::GetFoldExpanded
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetFoldExpanded((int) *line);
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_ToggleFold: { // wxStyledTextCtrl::ToggleFold
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ToggleFold((int) *line);
+ break;
+}
+case wxStyledTextCtrl_EnsureVisible: { // wxStyledTextCtrl::EnsureVisible
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnsureVisible((int) *line);
+ break;
+}
+case wxStyledTextCtrl_SetFoldFlags: { // wxStyledTextCtrl::SetFoldFlags
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetFoldFlags((int) *flags);
+ break;
+}
+case wxStyledTextCtrl_EnsureVisibleEnforcePolicy: { // wxStyledTextCtrl::EnsureVisibleEnforcePolicy
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EnsureVisibleEnforcePolicy((int) *line);
+ break;
+}
+case wxStyledTextCtrl_SetTabIndents: { // wxStyledTextCtrl::SetTabIndents
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * tabIndents = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTabIndents((bool) *tabIndents);
+ break;
+}
+case wxStyledTextCtrl_GetTabIndents: { // wxStyledTextCtrl::GetTabIndents
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetTabIndents();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetBackSpaceUnIndents: { // wxStyledTextCtrl::SetBackSpaceUnIndents
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * bsUnIndents = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBackSpaceUnIndents((bool) *bsUnIndents);
+ break;
+}
+case wxStyledTextCtrl_GetBackSpaceUnIndents: { // wxStyledTextCtrl::GetBackSpaceUnIndents
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetBackSpaceUnIndents();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetMouseDwellTime: { // wxStyledTextCtrl::SetMouseDwellTime
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * periodMilliseconds = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMouseDwellTime((int) *periodMilliseconds);
+ break;
+}
+case wxStyledTextCtrl_GetMouseDwellTime: { // wxStyledTextCtrl::GetMouseDwellTime
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMouseDwellTime();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_WordStartPosition: { // wxStyledTextCtrl::WordStartPosition
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ bool * onlyWordCharacters = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->WordStartPosition((int) *pos,(bool) *onlyWordCharacters);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_WordEndPosition: { // wxStyledTextCtrl::WordEndPosition
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ bool * onlyWordCharacters = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->WordEndPosition((int) *pos,(bool) *onlyWordCharacters);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetWrapMode: { // wxStyledTextCtrl::SetWrapMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * mode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWrapMode((int) *mode);
+ break;
+}
+case wxStyledTextCtrl_GetWrapMode: { // wxStyledTextCtrl::GetWrapMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWrapMode();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetWrapVisualFlags: { // wxStyledTextCtrl::SetWrapVisualFlags
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * wrapVisualFlags = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWrapVisualFlags((int) *wrapVisualFlags);
+ break;
+}
+case wxStyledTextCtrl_GetWrapVisualFlags: { // wxStyledTextCtrl::GetWrapVisualFlags
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWrapVisualFlags();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetWrapVisualFlagsLocation: { // wxStyledTextCtrl::SetWrapVisualFlagsLocation
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * wrapVisualFlagsLocation = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWrapVisualFlagsLocation((int) *wrapVisualFlagsLocation);
+ break;
+}
+case wxStyledTextCtrl_GetWrapVisualFlagsLocation: { // wxStyledTextCtrl::GetWrapVisualFlagsLocation
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWrapVisualFlagsLocation();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetWrapStartIndent: { // wxStyledTextCtrl::SetWrapStartIndent
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * indent = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetWrapStartIndent((int) *indent);
+ break;
+}
+case wxStyledTextCtrl_GetWrapStartIndent: { // wxStyledTextCtrl::GetWrapStartIndent
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetWrapStartIndent();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetLayoutCache: { // wxStyledTextCtrl::SetLayoutCache
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * mode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLayoutCache((int) *mode);
+ break;
+}
+case wxStyledTextCtrl_GetLayoutCache: { // wxStyledTextCtrl::GetLayoutCache
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLayoutCache();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetScrollWidth: { // wxStyledTextCtrl::SetScrollWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pixelWidth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetScrollWidth((int) *pixelWidth);
+ break;
+}
+case wxStyledTextCtrl_GetScrollWidth: { // wxStyledTextCtrl::GetScrollWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetScrollWidth();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_TextWidth: { // wxStyledTextCtrl::TextWidth
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->TextWidth((int) *style,text);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetEndAtLastLine: { // wxStyledTextCtrl::GetEndAtLastLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetEndAtLastLine();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_TextHeight: { // wxStyledTextCtrl::TextHeight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->TextHeight((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetUseVerticalScrollBar: { // wxStyledTextCtrl::SetUseVerticalScrollBar
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * show = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetUseVerticalScrollBar((bool) *show);
+ break;
+}
+case wxStyledTextCtrl_GetUseVerticalScrollBar: { // wxStyledTextCtrl::GetUseVerticalScrollBar
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetUseVerticalScrollBar();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_AppendText: { // wxStyledTextCtrl::AppendText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AppendText(text);
+ break;
+}
+case wxStyledTextCtrl_GetTwoPhaseDraw: { // wxStyledTextCtrl::GetTwoPhaseDraw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetTwoPhaseDraw();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetTwoPhaseDraw: { // wxStyledTextCtrl::SetTwoPhaseDraw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * twoPhase = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetTwoPhaseDraw((bool) *twoPhase);
+ break;
+}
+case wxStyledTextCtrl_TargetFromSelection: { // wxStyledTextCtrl::TargetFromSelection
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->TargetFromSelection();
+ break;
+}
+case wxStyledTextCtrl_LinesJoin: { // wxStyledTextCtrl::LinesJoin
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LinesJoin();
+ break;
+}
+case wxStyledTextCtrl_LinesSplit: { // wxStyledTextCtrl::LinesSplit
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pixelWidth = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LinesSplit((int) *pixelWidth);
+ break;
+}
+case wxStyledTextCtrl_SetFoldMarginColour: { // wxStyledTextCtrl::SetFoldMarginColour
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->SetFoldMarginColour((bool) *useSetting,back);
+ break;
+}
+case wxStyledTextCtrl_SetFoldMarginHiColour: { // wxStyledTextCtrl::SetFoldMarginHiColour
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->SetFoldMarginHiColour((bool) *useSetting,fore);
+ break;
+}
+case wxStyledTextCtrl_LineDown: { // wxStyledTextCtrl::LineDown
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineDown();
+ break;
+}
+case wxStyledTextCtrl_LineDownExtend: { // wxStyledTextCtrl::LineDownExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineDownExtend();
+ break;
+}
+case wxStyledTextCtrl_LineUp: { // wxStyledTextCtrl::LineUp
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineUp();
+ break;
+}
+case wxStyledTextCtrl_LineUpExtend: { // wxStyledTextCtrl::LineUpExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineUpExtend();
+ break;
+}
+case wxStyledTextCtrl_CharLeft: { // wxStyledTextCtrl::CharLeft
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CharLeft();
+ break;
+}
+case wxStyledTextCtrl_CharLeftExtend: { // wxStyledTextCtrl::CharLeftExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CharLeftExtend();
+ break;
+}
+case wxStyledTextCtrl_CharRight: { // wxStyledTextCtrl::CharRight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CharRight();
+ break;
+}
+case wxStyledTextCtrl_CharRightExtend: { // wxStyledTextCtrl::CharRightExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CharRightExtend();
+ break;
+}
+case wxStyledTextCtrl_WordLeft: { // wxStyledTextCtrl::WordLeft
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordLeft();
+ break;
+}
+case wxStyledTextCtrl_WordLeftExtend: { // wxStyledTextCtrl::WordLeftExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordLeftExtend();
+ break;
+}
+case wxStyledTextCtrl_WordRight: { // wxStyledTextCtrl::WordRight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordRight();
+ break;
+}
+case wxStyledTextCtrl_WordRightExtend: { // wxStyledTextCtrl::WordRightExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordRightExtend();
+ break;
+}
+case wxStyledTextCtrl_Home: { // wxStyledTextCtrl::Home
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Home();
+ break;
+}
+case wxStyledTextCtrl_HomeExtend: { // wxStyledTextCtrl::HomeExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HomeExtend();
+ break;
+}
+case wxStyledTextCtrl_LineEnd: { // wxStyledTextCtrl::LineEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineEnd();
+ break;
+}
+case wxStyledTextCtrl_LineEndExtend: { // wxStyledTextCtrl::LineEndExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineEndExtend();
+ break;
+}
+case wxStyledTextCtrl_DocumentStart: { // wxStyledTextCtrl::DocumentStart
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DocumentStart();
+ break;
+}
+case wxStyledTextCtrl_DocumentStartExtend: { // wxStyledTextCtrl::DocumentStartExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DocumentStartExtend();
+ break;
+}
+case wxStyledTextCtrl_DocumentEnd: { // wxStyledTextCtrl::DocumentEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DocumentEnd();
+ break;
+}
+case wxStyledTextCtrl_DocumentEndExtend: { // wxStyledTextCtrl::DocumentEndExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DocumentEndExtend();
+ break;
+}
+case wxStyledTextCtrl_PageUp: { // wxStyledTextCtrl::PageUp
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PageUp();
+ break;
+}
+case wxStyledTextCtrl_PageUpExtend: { // wxStyledTextCtrl::PageUpExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PageUpExtend();
+ break;
+}
+case wxStyledTextCtrl_PageDown: { // wxStyledTextCtrl::PageDown
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PageDown();
+ break;
+}
+case wxStyledTextCtrl_PageDownExtend: { // wxStyledTextCtrl::PageDownExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PageDownExtend();
+ break;
+}
+case wxStyledTextCtrl_EditToggleOvertype: { // wxStyledTextCtrl::EditToggleOvertype
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->EditToggleOvertype();
+ break;
+}
+case wxStyledTextCtrl_Cancel: { // wxStyledTextCtrl::Cancel
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Cancel();
+ break;
+}
+case wxStyledTextCtrl_DeleteBack: { // wxStyledTextCtrl::DeleteBack
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DeleteBack();
+ break;
+}
+case wxStyledTextCtrl_Tab: { // wxStyledTextCtrl::Tab
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Tab();
+ break;
+}
+case wxStyledTextCtrl_BackTab: { // wxStyledTextCtrl::BackTab
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->BackTab();
+ break;
+}
+case wxStyledTextCtrl_NewLine: { // wxStyledTextCtrl::NewLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->NewLine();
+ break;
+}
+case wxStyledTextCtrl_FormFeed: { // wxStyledTextCtrl::FormFeed
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->FormFeed();
+ break;
+}
+case wxStyledTextCtrl_VCHome: { // wxStyledTextCtrl::VCHome
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->VCHome();
+ break;
+}
+case wxStyledTextCtrl_VCHomeExtend: { // wxStyledTextCtrl::VCHomeExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->VCHomeExtend();
+ break;
+}
+case wxStyledTextCtrl_ZoomIn: { // wxStyledTextCtrl::ZoomIn
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ZoomIn();
+ break;
+}
+case wxStyledTextCtrl_ZoomOut: { // wxStyledTextCtrl::ZoomOut
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ZoomOut();
+ break;
+}
+case wxStyledTextCtrl_DelWordLeft: { // wxStyledTextCtrl::DelWordLeft
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DelWordLeft();
+ break;
+}
+case wxStyledTextCtrl_DelWordRight: { // wxStyledTextCtrl::DelWordRight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DelWordRight();
+ break;
+}
+case wxStyledTextCtrl_LineCut: { // wxStyledTextCtrl::LineCut
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineCut();
+ break;
+}
+case wxStyledTextCtrl_LineDelete: { // wxStyledTextCtrl::LineDelete
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineDelete();
+ break;
+}
+case wxStyledTextCtrl_LineTranspose: { // wxStyledTextCtrl::LineTranspose
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineTranspose();
+ break;
+}
+case wxStyledTextCtrl_LineDuplicate: { // wxStyledTextCtrl::LineDuplicate
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineDuplicate();
+ break;
+}
+case wxStyledTextCtrl_LowerCase: { // wxStyledTextCtrl::LowerCase
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LowerCase();
+ break;
+}
+case wxStyledTextCtrl_UpperCase: { // wxStyledTextCtrl::UpperCase
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->UpperCase();
+ break;
+}
+case wxStyledTextCtrl_LineScrollDown: { // wxStyledTextCtrl::LineScrollDown
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineScrollDown();
+ break;
+}
+case wxStyledTextCtrl_LineScrollUp: { // wxStyledTextCtrl::LineScrollUp
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineScrollUp();
+ break;
+}
+case wxStyledTextCtrl_DeleteBackNotLine: { // wxStyledTextCtrl::DeleteBackNotLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DeleteBackNotLine();
+ break;
+}
+case wxStyledTextCtrl_HomeDisplay: { // wxStyledTextCtrl::HomeDisplay
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HomeDisplay();
+ break;
+}
+case wxStyledTextCtrl_HomeDisplayExtend: { // wxStyledTextCtrl::HomeDisplayExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HomeDisplayExtend();
+ break;
+}
+case wxStyledTextCtrl_LineEndDisplay: { // wxStyledTextCtrl::LineEndDisplay
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineEndDisplay();
+ break;
+}
+case wxStyledTextCtrl_LineEndDisplayExtend: { // wxStyledTextCtrl::LineEndDisplayExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineEndDisplayExtend();
+ break;
+}
+case wxStyledTextCtrl_HomeWrapExtend: { // wxStyledTextCtrl::HomeWrapExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HomeWrapExtend();
+ break;
+}
+case wxStyledTextCtrl_LineEndWrap: { // wxStyledTextCtrl::LineEndWrap
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineEndWrap();
+ break;
+}
+case wxStyledTextCtrl_LineEndWrapExtend: { // wxStyledTextCtrl::LineEndWrapExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineEndWrapExtend();
+ break;
+}
+case wxStyledTextCtrl_VCHomeWrap: { // wxStyledTextCtrl::VCHomeWrap
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->VCHomeWrap();
+ break;
+}
+case wxStyledTextCtrl_VCHomeWrapExtend: { // wxStyledTextCtrl::VCHomeWrapExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->VCHomeWrapExtend();
+ break;
+}
+case wxStyledTextCtrl_LineCopy: { // wxStyledTextCtrl::LineCopy
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineCopy();
+ break;
+}
+case wxStyledTextCtrl_MoveCaretInsideView: { // wxStyledTextCtrl::MoveCaretInsideView
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->MoveCaretInsideView();
+ break;
+}
+case wxStyledTextCtrl_LineLength: { // wxStyledTextCtrl::LineLength
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->LineLength((int) *line);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_BraceHighlight: { // wxStyledTextCtrl::BraceHighlight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos1 = (int *) bp; bp += 4;
+ int * pos2 = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->BraceHighlight((int) *pos1,(int) *pos2);
+ break;
+}
+case wxStyledTextCtrl_BraceBadLight: { // wxStyledTextCtrl::BraceBadLight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->BraceBadLight((int) *pos);
+ break;
+}
+case wxStyledTextCtrl_BraceMatch: { // wxStyledTextCtrl::BraceMatch
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->BraceMatch((int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetViewEOL: { // wxStyledTextCtrl::GetViewEOL
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetViewEOL();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetViewEOL: { // wxStyledTextCtrl::SetViewEOL
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * visible = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetViewEOL((bool) *visible);
+ break;
+}
+case wxStyledTextCtrl_SetModEventMask: { // wxStyledTextCtrl::SetModEventMask
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * mask = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetModEventMask((int) *mask);
+ break;
+}
+case wxStyledTextCtrl_GetEdgeColumn: { // wxStyledTextCtrl::GetEdgeColumn
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetEdgeColumn();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetEdgeColumn: { // wxStyledTextCtrl::SetEdgeColumn
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * column = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetEdgeColumn((int) *column);
+ break;
+}
+case wxStyledTextCtrl_GetEdgeMode: { // wxStyledTextCtrl::GetEdgeMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetEdgeMode();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetEdgeColour: { // wxStyledTextCtrl::GetEdgeColour
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxColour Result = This->GetEdgeColour();
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_SetEdgeColour: { // wxStyledTextCtrl::SetEdgeColour
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * edgeColourR = (int *) bp; bp += 4;
+ int * edgeColourG = (int *) bp; bp += 4;
+ int * edgeColourB = (int *) bp; bp += 4;
+ int * edgeColourA = (int *) bp; bp += 4;
+ wxColour edgeColour = wxColour(*edgeColourR,*edgeColourG,*edgeColourB,*edgeColourA);
+ if(!This) throw wxe_badarg(0);
+ This->SetEdgeColour(edgeColour);
+ break;
+}
+case wxStyledTextCtrl_SearchAnchor: { // wxStyledTextCtrl::SearchAnchor
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SearchAnchor();
+ break;
+}
+case wxStyledTextCtrl_SearchNext: { // wxStyledTextCtrl::SearchNext
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SearchNext((int) *flags,text);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SearchPrev: { // wxStyledTextCtrl::SearchPrev
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * flags = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ int Result = This->SearchPrev((int) *flags,text);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_LinesOnScreen: { // wxStyledTextCtrl::LinesOnScreen
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->LinesOnScreen();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_UsePopUp: { // wxStyledTextCtrl::UsePopUp
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * allowPopUp = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->UsePopUp((bool) *allowPopUp);
+ break;
+}
+case wxStyledTextCtrl_SelectionIsRectangle: { // wxStyledTextCtrl::SelectionIsRectangle
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SelectionIsRectangle();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetZoom: { // wxStyledTextCtrl::SetZoom
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * zoom = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetZoom((int) *zoom);
+ break;
+}
+case wxStyledTextCtrl_GetZoom: { // wxStyledTextCtrl::GetZoom
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetZoom();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetModEventMask: { // wxStyledTextCtrl::GetModEventMask
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetModEventMask();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetSTCFocus: { // wxStyledTextCtrl::SetSTCFocus
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * focus = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSTCFocus((bool) *focus);
+ break;
+}
+case wxStyledTextCtrl_GetSTCFocus: { // wxStyledTextCtrl::GetSTCFocus
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetSTCFocus();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetStatus: { // wxStyledTextCtrl::SetStatus
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * statusCode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetStatus((int) *statusCode);
+ break;
+}
+case wxStyledTextCtrl_GetStatus: { // wxStyledTextCtrl::GetStatus
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStatus();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetMouseDownCaptures: { // wxStyledTextCtrl::SetMouseDownCaptures
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * captures = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMouseDownCaptures((bool) *captures);
+ break;
+}
+case wxStyledTextCtrl_GetMouseDownCaptures: { // wxStyledTextCtrl::GetMouseDownCaptures
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetMouseDownCaptures();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetSTCCursor: { // wxStyledTextCtrl::SetSTCCursor
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * cursorType = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSTCCursor((int) *cursorType);
+ break;
+}
+case wxStyledTextCtrl_GetSTCCursor: { // wxStyledTextCtrl::GetSTCCursor
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSTCCursor();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetControlCharSymbol: { // wxStyledTextCtrl::SetControlCharSymbol
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * symbol = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetControlCharSymbol((int) *symbol);
+ break;
+}
+case wxStyledTextCtrl_GetControlCharSymbol: { // wxStyledTextCtrl::GetControlCharSymbol
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetControlCharSymbol();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_WordPartLeft: { // wxStyledTextCtrl::WordPartLeft
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordPartLeft();
+ break;
+}
+case wxStyledTextCtrl_WordPartLeftExtend: { // wxStyledTextCtrl::WordPartLeftExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordPartLeftExtend();
+ break;
+}
+case wxStyledTextCtrl_WordPartRight: { // wxStyledTextCtrl::WordPartRight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordPartRight();
+ break;
+}
+case wxStyledTextCtrl_WordPartRightExtend: { // wxStyledTextCtrl::WordPartRightExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordPartRightExtend();
+ break;
+}
+case wxStyledTextCtrl_SetVisiblePolicy: { // wxStyledTextCtrl::SetVisiblePolicy
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * visiblePolicy = (int *) bp; bp += 4;
+ int * visibleSlop = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetVisiblePolicy((int) *visiblePolicy,(int) *visibleSlop);
+ break;
+}
+case wxStyledTextCtrl_DelLineLeft: { // wxStyledTextCtrl::DelLineLeft
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DelLineLeft();
+ break;
+}
+case wxStyledTextCtrl_DelLineRight: { // wxStyledTextCtrl::DelLineRight
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->DelLineRight();
+ break;
+}
+case wxStyledTextCtrl_GetXOffset: { // wxStyledTextCtrl::GetXOffset
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetXOffset();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_ChooseCaretX: { // wxStyledTextCtrl::ChooseCaretX
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ChooseCaretX();
+ break;
+}
+case wxStyledTextCtrl_SetXCaretPolicy: { // wxStyledTextCtrl::SetXCaretPolicy
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * caretPolicy = (int *) bp; bp += 4;
+ int * caretSlop = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetXCaretPolicy((int) *caretPolicy,(int) *caretSlop);
+ break;
+}
+case wxStyledTextCtrl_SetYCaretPolicy: { // wxStyledTextCtrl::SetYCaretPolicy
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * caretPolicy = (int *) bp; bp += 4;
+ int * caretSlop = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetYCaretPolicy((int) *caretPolicy,(int) *caretSlop);
+ break;
+}
+case wxStyledTextCtrl_GetPrintWrapMode: { // wxStyledTextCtrl::GetPrintWrapMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPrintWrapMode();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetHotspotActiveForeground: { // wxStyledTextCtrl::SetHotspotActiveForeground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * foreR = (int *) bp; bp += 4;
+ int * foreG = (int *) bp; bp += 4;
+ int * foreB = (int *) bp; bp += 4;
+ int * foreA = (int *) bp; bp += 4;
+ wxColour fore = wxColour(*foreR,*foreG,*foreB,*foreA);
+ if(!This) throw wxe_badarg(0);
+ This->SetHotspotActiveForeground((bool) *useSetting,fore);
+ break;
+}
+case wxStyledTextCtrl_SetHotspotActiveBackground: { // wxStyledTextCtrl::SetHotspotActiveBackground
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useSetting = (bool *) bp; bp += 4;
+ int * backR = (int *) bp; bp += 4;
+ int * backG = (int *) bp; bp += 4;
+ int * backB = (int *) bp; bp += 4;
+ int * backA = (int *) bp; bp += 4;
+ wxColour back = wxColour(*backR,*backG,*backB,*backA);
+ if(!This) throw wxe_badarg(0);
+ This->SetHotspotActiveBackground((bool) *useSetting,back);
+ break;
+}
+case wxStyledTextCtrl_SetHotspotActiveUnderline: { // wxStyledTextCtrl::SetHotspotActiveUnderline
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * underline = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHotspotActiveUnderline((bool) *underline);
+ break;
+}
+case wxStyledTextCtrl_SetHotspotSingleLine: { // wxStyledTextCtrl::SetHotspotSingleLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * singleLine = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHotspotSingleLine((bool) *singleLine);
+ break;
+}
+case wxStyledTextCtrl_ParaDownExtend: { // wxStyledTextCtrl::ParaDownExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ParaDownExtend();
+ break;
+}
+case wxStyledTextCtrl_ParaUp: { // wxStyledTextCtrl::ParaUp
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ParaUp();
+ break;
+}
+case wxStyledTextCtrl_ParaUpExtend: { // wxStyledTextCtrl::ParaUpExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ParaUpExtend();
+ break;
+}
+case wxStyledTextCtrl_PositionBefore: { // wxStyledTextCtrl::PositionBefore
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->PositionBefore((int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_PositionAfter: { // wxStyledTextCtrl::PositionAfter
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->PositionAfter((int) *pos);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_CopyRange: { // wxStyledTextCtrl::CopyRange
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * start = (int *) bp; bp += 4;
+ int * end = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CopyRange((int) *start,(int) *end);
+ break;
+}
+case wxStyledTextCtrl_CopyText: { // wxStyledTextCtrl::CopyText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * length = (int *) bp; bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((4+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->CopyText((int) *length,text);
+ break;
+}
+case wxStyledTextCtrl_SetSelectionMode: { // wxStyledTextCtrl::SetSelectionMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * mode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelectionMode((int) *mode);
+ break;
+}
+case wxStyledTextCtrl_GetSelectionMode: { // wxStyledTextCtrl::GetSelectionMode
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelectionMode();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_LineDownRectExtend: { // wxStyledTextCtrl::LineDownRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineDownRectExtend();
+ break;
+}
+case wxStyledTextCtrl_LineUpRectExtend: { // wxStyledTextCtrl::LineUpRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineUpRectExtend();
+ break;
+}
+case wxStyledTextCtrl_CharLeftRectExtend: { // wxStyledTextCtrl::CharLeftRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CharLeftRectExtend();
+ break;
+}
+case wxStyledTextCtrl_CharRightRectExtend: { // wxStyledTextCtrl::CharRightRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CharRightRectExtend();
+ break;
+}
+case wxStyledTextCtrl_HomeRectExtend: { // wxStyledTextCtrl::HomeRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HomeRectExtend();
+ break;
+}
+case wxStyledTextCtrl_VCHomeRectExtend: { // wxStyledTextCtrl::VCHomeRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->VCHomeRectExtend();
+ break;
+}
+case wxStyledTextCtrl_LineEndRectExtend: { // wxStyledTextCtrl::LineEndRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->LineEndRectExtend();
+ break;
+}
+case wxStyledTextCtrl_PageUpRectExtend: { // wxStyledTextCtrl::PageUpRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PageUpRectExtend();
+ break;
+}
+case wxStyledTextCtrl_PageDownRectExtend: { // wxStyledTextCtrl::PageDownRectExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->PageDownRectExtend();
+ break;
+}
+case wxStyledTextCtrl_StutteredPageUp: { // wxStyledTextCtrl::StutteredPageUp
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StutteredPageUp();
+ break;
+}
+case wxStyledTextCtrl_StutteredPageUpExtend: { // wxStyledTextCtrl::StutteredPageUpExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StutteredPageUpExtend();
+ break;
+}
+case wxStyledTextCtrl_StutteredPageDown: { // wxStyledTextCtrl::StutteredPageDown
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StutteredPageDown();
+ break;
+}
+case wxStyledTextCtrl_StutteredPageDownExtend: { // wxStyledTextCtrl::StutteredPageDownExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StutteredPageDownExtend();
+ break;
+}
+case wxStyledTextCtrl_WordLeftEnd: { // wxStyledTextCtrl::WordLeftEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordLeftEnd();
+ break;
+}
+case wxStyledTextCtrl_WordLeftEndExtend: { // wxStyledTextCtrl::WordLeftEndExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordLeftEndExtend();
+ break;
+}
+case wxStyledTextCtrl_WordRightEnd: { // wxStyledTextCtrl::WordRightEnd
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordRightEnd();
+ break;
+}
+case wxStyledTextCtrl_WordRightEndExtend: { // wxStyledTextCtrl::WordRightEndExtend
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->WordRightEndExtend();
+ break;
+}
+case wxStyledTextCtrl_SetWhitespaceChars: { // wxStyledTextCtrl::SetWhitespaceChars
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * charactersLen = (int *) bp; bp += 4;
+ wxString characters = wxString(bp, wxConvUTF8);
+ bp += *charactersLen+((8-((0+ *charactersLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetWhitespaceChars(characters);
+ break;
+}
+case wxStyledTextCtrl_SetCharsDefault: { // wxStyledTextCtrl::SetCharsDefault
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCharsDefault();
+ break;
+}
+case wxStyledTextCtrl_AutoCompGetCurrent: { // wxStyledTextCtrl::AutoCompGetCurrent
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->AutoCompGetCurrent();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_Allocate: { // wxStyledTextCtrl::Allocate
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * bytes = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Allocate((int) *bytes);
+ break;
+}
+case wxStyledTextCtrl_FindColumn: { // wxStyledTextCtrl::FindColumn
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ int * column = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->FindColumn((int) *line,(int) *column);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetCaretSticky: { // wxStyledTextCtrl::GetCaretSticky
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetCaretSticky();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetCaretSticky: { // wxStyledTextCtrl::SetCaretSticky
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * useCaretStickyBehaviour = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCaretSticky((bool) *useCaretStickyBehaviour);
+ break;
+}
+case wxStyledTextCtrl_ToggleCaretSticky: { // wxStyledTextCtrl::ToggleCaretSticky
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ToggleCaretSticky();
+ break;
+}
+case wxStyledTextCtrl_SetPasteConvertEndings: { // wxStyledTextCtrl::SetPasteConvertEndings
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * convert = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPasteConvertEndings((bool) *convert);
+ break;
+}
+case wxStyledTextCtrl_GetPasteConvertEndings: { // wxStyledTextCtrl::GetPasteConvertEndings
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetPasteConvertEndings();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SelectionDuplicate: { // wxStyledTextCtrl::SelectionDuplicate
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SelectionDuplicate();
+ break;
+}
+case wxStyledTextCtrl_SetCaretLineBackAlpha: { // wxStyledTextCtrl::SetCaretLineBackAlpha
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * alpha = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCaretLineBackAlpha((int) *alpha);
+ break;
+}
+case wxStyledTextCtrl_GetCaretLineBackAlpha: { // wxStyledTextCtrl::GetCaretLineBackAlpha
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCaretLineBackAlpha();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_StartRecord: { // wxStyledTextCtrl::StartRecord
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StartRecord();
+ break;
+}
+case wxStyledTextCtrl_StopRecord: { // wxStyledTextCtrl::StopRecord
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StopRecord();
+ break;
+}
+case wxStyledTextCtrl_SetLexer: { // wxStyledTextCtrl::SetLexer
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * lexer = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLexer((int) *lexer);
+ break;
+}
+case wxStyledTextCtrl_GetLexer: { // wxStyledTextCtrl::GetLexer
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetLexer();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_Colourise: { // wxStyledTextCtrl::Colourise
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * start = (int *) bp; bp += 4;
+ int * end = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Colourise((int) *start,(int) *end);
+ break;
+}
+case wxStyledTextCtrl_SetProperty: { // wxStyledTextCtrl::SetProperty
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * keyLen = (int *) bp; bp += 4;
+ wxString key = wxString(bp, wxConvUTF8);
+ bp += *keyLen+((8-((0+ *keyLen) & 7)) & 7);
+ int * valueLen = (int *) bp; bp += 4;
+ wxString value = wxString(bp, wxConvUTF8);
+ bp += *valueLen+((8-((4+ *valueLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetProperty(key,value);
+ break;
+}
+case wxStyledTextCtrl_SetKeyWords: { // wxStyledTextCtrl::SetKeyWords
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * keywordSet = (int *) bp; bp += 4;
+ int * keyWordsLen = (int *) bp; bp += 4;
+ wxString keyWords = wxString(bp, wxConvUTF8);
+ bp += *keyWordsLen+((8-((4+ *keyWordsLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetKeyWords((int) *keywordSet,keyWords);
+ break;
+}
+case wxStyledTextCtrl_SetLexerLanguage: { // wxStyledTextCtrl::SetLexerLanguage
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * languageLen = (int *) bp; bp += 4;
+ wxString language = wxString(bp, wxConvUTF8);
+ bp += *languageLen+((8-((0+ *languageLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetLexerLanguage(language);
+ break;
+}
+case wxStyledTextCtrl_GetProperty: { // wxStyledTextCtrl::GetProperty
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * keyLen = (int *) bp; bp += 4;
+ wxString key = wxString(bp, wxConvUTF8);
+ bp += *keyLen+((8-((0+ *keyLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetProperty(key);
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_GetStyleBitsNeeded: { // wxStyledTextCtrl::GetStyleBitsNeeded
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetStyleBitsNeeded();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_GetCurrentLine: { // wxStyledTextCtrl::GetCurrentLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetCurrentLine();
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_StyleSetSpec: { // wxStyledTextCtrl::StyleSetSpec
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * styleNum = (int *) bp; bp += 4;
+ int * specLen = (int *) bp; bp += 4;
+ wxString spec = wxString(bp, wxConvUTF8);
+ bp += *specLen+((8-((4+ *specLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetSpec((int) *styleNum,spec);
+ break;
+}
+case wxStyledTextCtrl_StyleSetFont: { // wxStyledTextCtrl::StyleSetFont
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * styleNum = (int *) bp; bp += 4;
+ wxFont *font = (wxFont *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetFont((int) *styleNum,*font);
+ break;
+}
+case wxStyledTextCtrl_StyleSetFontAttr: { // wxStyledTextCtrl::StyleSetFontAttr
+ wxFontEncoding encoding=wxFONTENCODING_DEFAULT;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * styleNum = (int *) bp; bp += 4;
+ int * size = (int *) bp; bp += 4;
+ int * faceNameLen = (int *) bp; bp += 4;
+ wxString faceName = wxString(bp, wxConvUTF8);
+ bp += *faceNameLen+((8-((0+ *faceNameLen) & 7)) & 7);
+ bool * bold = (bool *) bp; bp += 4;
+ bool * italic = (bool *) bp; bp += 4;
+ bool * underline = (bool *) bp; bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+encoding = *(wxFontEncoding *) bp; bp += 4;;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetFontAttr((int) *styleNum,(int) *size,faceName,(bool) *bold,(bool) *italic,(bool) *underline,(wxFontEncoding) encoding);
+ break;
+}
+case wxStyledTextCtrl_StyleSetCharacterSet: { // wxStyledTextCtrl::StyleSetCharacterSet
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ int * characterSet = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetCharacterSet((int) *style,(int) *characterSet);
+ break;
+}
+case wxStyledTextCtrl_StyleSetFontEncoding: { // wxStyledTextCtrl::StyleSetFontEncoding
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * style = (int *) bp; bp += 4;
+ wxFontEncoding encoding = *(wxFontEncoding *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ This->StyleSetFontEncoding((int) *style,(wxFontEncoding) encoding);
+ break;
+}
+case wxStyledTextCtrl_CmdKeyExecute: { // wxStyledTextCtrl::CmdKeyExecute
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * cmd = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->CmdKeyExecute((int) *cmd);
+ break;
+}
+case wxStyledTextCtrl_SetMargins: { // wxStyledTextCtrl::SetMargins
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * left = (int *) bp; bp += 4;
+ int * right = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMargins((int) *left,(int) *right);
+ break;
+}
+case wxStyledTextCtrl_GetSelection: { // wxStyledTextCtrl::GetSelection
+ int startPos;
+ int endPos;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->GetSelection(&startPos,&endPos);
+ rt.addInt(startPos);
+ rt.addInt(endPos);
+ rt.addTupleCount(2);
+ break;
+}
+case wxStyledTextCtrl_PointFromPosition: { // wxStyledTextCtrl::PointFromPosition
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->PointFromPosition((int) *pos);
+ rt.add(Result);
+ break;
+}
+case wxStyledTextCtrl_ScrollToLine: { // wxStyledTextCtrl::ScrollToLine
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ScrollToLine((int) *line);
+ break;
+}
+case wxStyledTextCtrl_ScrollToColumn: { // wxStyledTextCtrl::ScrollToColumn
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * column = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->ScrollToColumn((int) *column);
+ break;
+}
+case wxStyledTextCtrl_SendMsg: { // wxStyledTextCtrl::SendMsg
+ long wp=0;
+ long lp=0;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * msg = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ wp = (long)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ lp = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ long Result = This->SendMsg((int) *msg,wp,lp);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_SetVScrollBar: { // wxStyledTextCtrl::SetVScrollBar
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ wxScrollBar *bar = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetVScrollBar(bar);
+ break;
+}
+case wxStyledTextCtrl_SetHScrollBar: { // wxStyledTextCtrl::SetHScrollBar
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ wxScrollBar *bar = (wxScrollBar *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetHScrollBar(bar);
+ break;
+}
+case wxStyledTextCtrl_GetLastKeydownProcessed: { // wxStyledTextCtrl::GetLastKeydownProcessed
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetLastKeydownProcessed();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_SetLastKeydownProcessed: { // wxStyledTextCtrl::SetLastKeydownProcessed
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ bool * val = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetLastKeydownProcessed((bool) *val);
+ break;
+}
+case wxStyledTextCtrl_SaveFile: { // wxStyledTextCtrl::SaveFile
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * filenameLen = (int *) bp; bp += 4;
+ wxString filename = wxString(bp, wxConvUTF8);
+ bp += *filenameLen+((8-((0+ *filenameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SaveFile(filename);
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_LoadFile: { // wxStyledTextCtrl::LoadFile
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * filenameLen = (int *) bp; bp += 4;
+ wxString filename = wxString(bp, wxConvUTF8);
+ bp += *filenameLen+((8-((0+ *filenameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadFile(filename);
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_DoDragOver: { // wxStyledTextCtrl::DoDragOver
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ wxDragResult def = *(wxDragResult *) bp; bp += 4;;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->DoDragOver((wxCoord) *x,(wxCoord) *y,(wxDragResult) def);
+ rt.addInt(Result);
+ break;
+}
+case wxStyledTextCtrl_DoDropText: { // wxStyledTextCtrl::DoDropText
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * x = (int *) bp; bp += 4;
+ int * y = (int *) bp; bp += 4;
+ int * dataLen = (int *) bp; bp += 4;
+ wxString data = wxString(bp, wxConvUTF8);
+ bp += *dataLen+((8-((0+ *dataLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->DoDropText((long) *x,(long) *y,data);
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_GetUseAntiAliasing: { // wxStyledTextCtrl::GetUseAntiAliasing
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetUseAntiAliasing();
+ rt.addBool(Result);
+ break;
+}
+case wxStyledTextCtrl_AddTextRaw: { // wxStyledTextCtrl::AddTextRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ const char * text = (const char*) Ecmd.bin[0]->base;
+ if(!This) throw wxe_badarg(0);
+ This->AddTextRaw(text);
+ break;
+}
+case wxStyledTextCtrl_InsertTextRaw: { // wxStyledTextCtrl::InsertTextRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ const char * text = (const char*) Ecmd.bin[0]->base;
+ if(!This) throw wxe_badarg(0);
+ This->InsertTextRaw((int) *pos,text);
+ break;
+}
+case wxStyledTextCtrl_GetCurLineRaw: { // wxStyledTextCtrl::GetCurLineRaw
+ int linePos;
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char * Result = This->GetCurLineRaw(&linePos).data();
+ if(Result) {
+ rt.addBinary(Result, strlen(Result));
+ } else {rt.addAtom("null");};
+ rt.addInt(linePos);
+ rt.addTupleCount(2);
+ break;
+}
+case wxStyledTextCtrl_GetLineRaw: { // wxStyledTextCtrl::GetLineRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * line = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char * Result = This->GetLineRaw((int) *line).data();
+ if(Result) {
+ rt.addBinary(Result, strlen(Result));
+ } else {rt.addAtom("null");};
+ break;
+}
+case wxStyledTextCtrl_GetSelectedTextRaw: { // wxStyledTextCtrl::GetSelectedTextRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char * Result = This->GetSelectedTextRaw().data();
+ if(Result) {
+ rt.addBinary(Result, strlen(Result));
+ } else {rt.addAtom("null");};
+ break;
+}
+case wxStyledTextCtrl_GetTextRangeRaw: { // wxStyledTextCtrl::GetTextRangeRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ int * startPos = (int *) bp; bp += 4;
+ int * endPos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char * Result = This->GetTextRangeRaw((int) *startPos,(int) *endPos).data();
+ if(Result) {
+ rt.addBinary(Result, strlen(Result));
+ } else {rt.addAtom("null");};
+ break;
+}
+case wxStyledTextCtrl_SetTextRaw: { // wxStyledTextCtrl::SetTextRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ const char * text = (const char*) Ecmd.bin[0]->base;
+ if(!This) throw wxe_badarg(0);
+ This->SetTextRaw(text);
+ break;
+}
+case wxStyledTextCtrl_GetTextRaw: { // wxStyledTextCtrl::GetTextRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ char * Result = This->GetTextRaw().data();
+ if(Result) {
+ rt.addBinary(Result, strlen(Result));
+ } else {rt.addAtom("null");};
+ break;
+}
+case wxStyledTextCtrl_AppendTextRaw: { // wxStyledTextCtrl::AppendTextRaw
+ wxStyledTextCtrl *This = (wxStyledTextCtrl *) getPtr(bp,memenv); bp += 4;
+ const char * text = (const char*) Ecmd.bin[0]->base;
+ if(!This) throw wxe_badarg(0);
+ This->AppendTextRaw(text);
+ break;
+}
+case wxArtProvider_GetBitmap: { // wxArtProvider::GetBitmap
+ wxArtClient client= wxART_OTHER;
+ wxSize size= wxDefaultSize;
+ int * idLen = (int *) bp; bp += 4;
+ wxString id = wxString(bp, wxConvUTF8);
+ bp += *idLen+((8-((4+ *idLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * clientLen = (int *) bp; bp += 4;
+ client = wxString(bp, wxConvUTF8);
+ bp += *clientLen+((8-((0+ *clientLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxBitmap * Result = new wxBitmap(wxArtProvider::GetBitmap(id,client,size)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxArtProvider_GetIcon: { // wxArtProvider::GetIcon
+ wxArtClient client= wxART_OTHER;
+ wxSize size= wxDefaultSize;
+ int * idLen = (int *) bp; bp += 4;
+ wxString id = wxString(bp, wxConvUTF8);
+ bp += *idLen+((8-((4+ *idLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * clientLen = (int *) bp; bp += 4;
+ client = wxString(bp, wxConvUTF8);
+ bp += *clientLen+((8-((0+ *clientLen) & 7)) & 7);
+ } break;
+ case 2: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ }};
+ wxIcon * Result = new wxIcon(wxArtProvider::GetIcon(id,client,size)); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxIcon");
+ break;
+}
+case wxTreeEvent_GetKeyCode: { // wxTreeEvent::GetKeyCode
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetKeyCode();
+ rt.addInt(Result);
+ break;
+}
+case wxTreeEvent_GetItem: { // wxTreeEvent::GetItem
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetItem();
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeEvent_GetKeyEvent: { // wxTreeEvent::GetKeyEvent
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxKeyEvent * Result = &This->GetKeyEvent();
+ rt.addRef(getRef((void *)Result,memenv), "wxKeyEvent");
+ break;
+}
+case wxTreeEvent_GetLabel: { // wxTreeEvent::GetLabel
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxString * Result = &This->GetLabel();
+ rt.add(Result);
+ break;
+}
+case wxTreeEvent_GetOldItem: { // wxTreeEvent::GetOldItem
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxTreeItemId Result = This->GetOldItem();
+ rt.addRef(getRef((void *)Result.m_pItem,memenv), "wxTreeItemId");
+ break;
+}
+case wxTreeEvent_GetPoint: { // wxTreeEvent::GetPoint
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxPoint Result = This->GetPoint();
+ rt.add(Result);
+ break;
+}
+case wxTreeEvent_IsEditCancelled: { // wxTreeEvent::IsEditCancelled
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsEditCancelled();
+ rt.addBool(Result);
+ break;
+}
+case wxTreeEvent_SetToolTip: { // wxTreeEvent::SetToolTip
+ wxTreeEvent *This = (wxTreeEvent *) getPtr(bp,memenv); bp += 4;
+ int * toolTipLen = (int *) bp; bp += 4;
+ wxString toolTip = wxString(bp, wxConvUTF8);
+ bp += *toolTipLen+((8-((0+ *toolTipLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetToolTip(toolTip);
+ break;
+}
+case wxNotebookEvent_GetOldSelection: { // wxNotebookEvent::GetOldSelection
+ wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOldSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxNotebookEvent_GetSelection: { // wxNotebookEvent::GetSelection
+ wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxNotebookEvent_SetOldSelection: { // wxNotebookEvent::SetOldSelection
+ wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ int * nOldSel = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetOldSelection((int) *nOldSel);
+ break;
+}
+case wxNotebookEvent_SetSelection: { // wxNotebookEvent::SetSelection
+ wxNotebookEvent *This = (wxNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ int * nSel = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((int) *nSel);
+ break;
+}
+case wxFileDataObject_new: { // wxFileDataObject::wxFileDataObject
+ wxFileDataObject * Result = new wxFileDataObject();
+ newPtr((void *) Result, 211, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxFileDataObject");
+ break;
+}
+case wxFileDataObject_AddFile: { // wxFileDataObject::AddFile
+ wxFileDataObject *This = (wxFileDataObject *) getPtr(bp,memenv); bp += 4;
+ int * filenameLen = (int *) bp; bp += 4;
+ wxString filename = wxString(bp, wxConvUTF8);
+ bp += *filenameLen+((8-((0+ *filenameLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->AddFile(filename);
+ break;
+}
+case wxFileDataObject_GetFilenames: { // wxFileDataObject::GetFilenames
+ wxFileDataObject *This = (wxFileDataObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxArrayString Result = This->GetFilenames();
+ rt.add(Result);
+ break;
+}
+case wxFileDataObject_destroy: { // wxFileDataObject::destroy
+ wxFileDataObject *This = (wxFileDataObject *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxTextDataObject_new: { // wxTextDataObject::wxTextDataObject
+ wxString text= wxEmptyString;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ } break;
+ }};
+ wxTextDataObject * Result = new wxTextDataObject(text);
+ newPtr((void *) Result, 212, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxTextDataObject");
+ break;
+}
+case wxTextDataObject_GetTextLength: { // wxTextDataObject::GetTextLength
+ wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ size_t Result = This->GetTextLength();
+ rt.addInt(Result);
+ break;
+}
+case wxTextDataObject_GetText: { // wxTextDataObject::GetText
+ wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetText();
+ rt.add(Result);
+ break;
+}
+case wxTextDataObject_SetText: { // wxTextDataObject::SetText
+ wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4;
+ int * textLen = (int *) bp; bp += 4;
+ wxString text = wxString(bp, wxConvUTF8);
+ bp += *textLen+((8-((0+ *textLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetText(text);
+ break;
+}
+case wxTextDataObject_destroy: { // wxTextDataObject::destroy
+ wxTextDataObject *This = (wxTextDataObject *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxBitmapDataObject_new_1_1: { // wxBitmapDataObject::wxBitmapDataObject
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ wxBitmapDataObject * Result = new wxBitmapDataObject(*bitmap);
+ newPtr((void *) Result, 213, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmapDataObject");
+ break;
+}
+case wxBitmapDataObject_new_1_0: { // wxBitmapDataObject::wxBitmapDataObject
+ const wxBitmap * bitmap= &wxNullBitmap;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ wxBitmapDataObject * Result = new wxBitmapDataObject(*bitmap);
+ newPtr((void *) Result, 213, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmapDataObject");
+ break;
+}
+case wxBitmapDataObject_GetBitmap: { // wxBitmapDataObject::GetBitmap
+ wxBitmapDataObject *This = (wxBitmapDataObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxBitmap * Result = new wxBitmap(This->GetBitmap()); newPtr((void *) Result,3, memenv);;
+ rt.addRef(getRef((void *)Result,memenv), "wxBitmap");
+ break;
+}
+case wxBitmapDataObject_SetBitmap: { // wxBitmapDataObject::SetBitmap
+ wxBitmapDataObject *This = (wxBitmapDataObject *) getPtr(bp,memenv); bp += 4;
+ wxBitmap *bitmap = (wxBitmap *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBitmap(*bitmap);
+ break;
+}
+case wxBitmapDataObject_destroy: { // wxBitmapDataObject::destroy
+ wxBitmapDataObject *This = (wxBitmapDataObject *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+case wxClipboard_new: { // wxClipboard::wxClipboard
+ wxClipboard * Result = new EwxClipboard();
+ newPtr((void *) Result, 1, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxClipboard");
+ break;
+}
+case wxClipboard_AddData: { // wxClipboard::AddData
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ wxDataObject *data = (wxDataObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AddData(data);
+ rt.addBool(Result);
+ break;
+}
+case wxClipboard_Clear: { // wxClipboard::Clear
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Clear();
+ break;
+}
+case wxClipboard_Close: { // wxClipboard::Close
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Close();
+ break;
+}
+case wxClipboard_Flush: { // wxClipboard::Flush
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Flush();
+ rt.addBool(Result);
+ break;
+}
+case wxClipboard_GetData: { // wxClipboard::GetData
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ wxDataObject *data = (wxDataObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetData(*data);
+ rt.addBool(Result);
+ break;
+}
+case wxClipboard_IsOpened: { // wxClipboard::IsOpened
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsOpened();
+ rt.addBool(Result);
+ break;
+}
+case wxClipboard_Open: { // wxClipboard::Open
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Open();
+ rt.addBool(Result);
+ break;
+}
+case wxClipboard_SetData: { // wxClipboard::SetData
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ wxDataObject *data = (wxDataObject *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetData(data);
+ rt.addBool(Result);
+ break;
+}
+case wxClipboard_UsePrimarySelection: { // wxClipboard::UsePrimarySelection
+ bool primary=false;
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ primary = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->UsePrimarySelection(primary);
+ break;
+}
+case wxClipboard_IsSupported: { // wxClipboard::IsSupported
+ wxClipboard *This = (wxClipboard *) getPtr(bp,memenv); bp += 4;
+ const int * format = (const int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSupported((wxDataFormatId) *format);
+ rt.addBool(Result);
+ break;
+}
+case wxClipboard_Get: { // wxClipboard::Get
+ wxClipboard * Result = (wxClipboard*)wxClipboard::Get();
+ rt.addRef(getRef((void *)Result,memenv), "wxClipboard");
+ break;
+}
+case wxSpinEvent_GetPosition: { // wxSpinEvent::GetPosition
+ wxSpinEvent *This = (wxSpinEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxSpinEvent_SetPosition: { // wxSpinEvent::SetPosition
+ wxSpinEvent *This = (wxSpinEvent *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPosition((int) *pos);
+ break;
+}
+case wxSplitterWindow_new_0: { // wxSplitterWindow::wxSplitterWindow
+ wxSplitterWindow * Result = new EwxSplitterWindow();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSplitterWindow");
+ break;
+}
+case wxSplitterWindow_new_2: { // wxSplitterWindow::wxSplitterWindow
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSP_3D;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxSplitterWindow * Result = new EwxSplitterWindow(parent,id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxSplitterWindow");
+ break;
+}
+case wxSplitterWindow_Create: { // wxSplitterWindow::Create
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=wxSP_3D;
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Create(parent,id,pos,size,style);
+ rt.addBool(Result);
+ break;
+}
+case wxSplitterWindow_GetMinimumPaneSize: { // wxSplitterWindow::GetMinimumPaneSize
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetMinimumPaneSize();
+ rt.addInt(Result);
+ break;
+}
+case wxSplitterWindow_GetSashGravity: { // wxSplitterWindow::GetSashGravity
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ double Result = This->GetSashGravity();
+ rt.addFloat(Result);
+ break;
+}
+case wxSplitterWindow_GetSashPosition: { // wxSplitterWindow::GetSashPosition
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSashPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxSplitterWindow_GetSplitMode: { // wxSplitterWindow::GetSplitMode
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSplitMode();
+ rt.addInt(Result);
+ break;
+}
+case wxSplitterWindow_GetWindow1: { // wxSplitterWindow::GetWindow1
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindow1();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxSplitterWindow_GetWindow2: { // wxSplitterWindow::GetWindow2
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindow2();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxSplitterWindow_Initialize: { // wxSplitterWindow::Initialize
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->Initialize(window);
+ break;
+}
+case wxSplitterWindow_IsSplit: { // wxSplitterWindow::IsSplit
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->IsSplit();
+ rt.addBool(Result);
+ break;
+}
+case wxSplitterWindow_ReplaceWindow: { // wxSplitterWindow::ReplaceWindow
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *winOld = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *winNew = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->ReplaceWindow(winOld,winNew);
+ rt.addBool(Result);
+ break;
+}
+case wxSplitterWindow_SetSashGravity: { // wxSplitterWindow::SetSashGravity
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ double * gravity = (double *) bp; bp += 8;
+ if(!This) throw wxe_badarg(0);
+ This->SetSashGravity((double) *gravity);
+ break;
+}
+case wxSplitterWindow_SetSashPosition: { // wxSplitterWindow::SetSashPosition
+ bool redraw=true;
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ int * position = (int *) bp; bp += 4;
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ redraw = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetSashPosition((int) *position,redraw);
+ break;
+}
+case wxSplitterWindow_SetSashSize: { // wxSplitterWindow::SetSashSize
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ int * width = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSashSize((int) *width);
+ break;
+}
+case wxSplitterWindow_SetMinimumPaneSize: { // wxSplitterWindow::SetMinimumPaneSize
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ int * min = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetMinimumPaneSize((int) *min);
+ break;
+}
+case wxSplitterWindow_SetSplitMode: { // wxSplitterWindow::SetSplitMode
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ int * mode = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSplitMode((int) *mode);
+ break;
+}
+case wxSplitterWindow_SplitHorizontally: { // wxSplitterWindow::SplitHorizontally
+ int sashPosition=0;
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window1 = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window2 = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ sashPosition = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SplitHorizontally(window1,window2,sashPosition);
+ rt.addBool(Result);
+ break;
+}
+case wxSplitterWindow_SplitVertically: { // wxSplitterWindow::SplitVertically
+ int sashPosition=0;
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window1 = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ wxWindow *window2 = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ sashPosition = (int)*(int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SplitVertically(window1,window2,sashPosition);
+ rt.addBool(Result);
+ break;
+}
+case wxSplitterWindow_Unsplit: { // wxSplitterWindow::Unsplit
+ wxWindow * toRemove=(wxWindow *) NULL;
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+toRemove = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->Unsplit(toRemove);
+ rt.addBool(Result);
+ break;
+}
+case wxSplitterWindow_UpdateSize: { // wxSplitterWindow::UpdateSize
+ wxSplitterWindow *This = (wxSplitterWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->UpdateSize();
+ break;
+}
+case wxSplitterEvent_GetSashPosition: { // wxSplitterEvent::GetSashPosition
+ wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSashPosition();
+ rt.addInt(Result);
+ break;
+}
+case wxSplitterEvent_GetX: { // wxSplitterEvent::GetX
+ wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetX();
+ rt.addInt(Result);
+ break;
+}
+case wxSplitterEvent_GetY: { // wxSplitterEvent::GetY
+ wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetY();
+ rt.addInt(Result);
+ break;
+}
+case wxSplitterEvent_GetWindowBeingRemoved: { // wxSplitterEvent::GetWindowBeingRemoved
+ wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxWindow * Result = (wxWindow*)This->GetWindowBeingRemoved();
+ rt.addRef(getRef((void *)Result,memenv), "wxWindow");
+ break;
+}
+case wxSplitterEvent_SetSashPosition: { // wxSplitterEvent::SetSashPosition
+ wxSplitterEvent *This = (wxSplitterEvent *) getPtr(bp,memenv); bp += 4;
+ int * pos = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSashPosition((int) *pos);
+ break;
+}
+case wxHtmlWindow_new_0: { // wxHtmlWindow::wxHtmlWindow
+ wxHtmlWindow * Result = new EwxHtmlWindow();
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxHtmlWindow");
+ break;
+}
+case wxHtmlWindow_new_2: { // wxHtmlWindow::wxHtmlWindow
+ wxWindowID id=wxID_ANY;
+ wxPoint pos= wxDefaultPosition;
+ wxSize size= wxDefaultSize;
+ long style=0x0004;
+ wxWindow *parent = (wxWindow *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ id = (wxWindowID)*(int *) bp; bp += 4;
+ } break;
+ case 2: {bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ pos = wxPoint(*posX,*posY);
+ bp += 4; /* Align */
+ } break;
+ case 3: {bp += 4;
+ int * sizeW = (int *) bp; bp += 4;
+ int * sizeH = (int *) bp; bp += 4;
+ size = wxSize(*sizeW,*sizeH);
+ bp += 4; /* Align */
+ } break;
+ case 4: {bp += 4;
+ style = (long)*(int *) bp; bp += 4;
+ } break;
+ }};
+ wxHtmlWindow * Result = new EwxHtmlWindow(parent,id,pos,size,style);
+ newPtr((void *) Result, 0, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxHtmlWindow");
+ break;
+}
+case wxHtmlWindow_AppendToPage: { // wxHtmlWindow::AppendToPage
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * sourceLen = (int *) bp; bp += 4;
+ wxString source = wxString(bp, wxConvUTF8);
+ bp += *sourceLen+((8-((0+ *sourceLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->AppendToPage(source);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_GetOpenedAnchor: { // wxHtmlWindow::GetOpenedAnchor
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetOpenedAnchor();
+ rt.add(Result);
+ break;
+}
+case wxHtmlWindow_GetOpenedPage: { // wxHtmlWindow::GetOpenedPage
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetOpenedPage();
+ rt.add(Result);
+ break;
+}
+case wxHtmlWindow_GetOpenedPageTitle: { // wxHtmlWindow::GetOpenedPageTitle
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->GetOpenedPageTitle();
+ rt.add(Result);
+ break;
+}
+case wxHtmlWindow_GetRelatedFrame: { // wxHtmlWindow::GetRelatedFrame
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxFrame * Result = (wxFrame*)This->GetRelatedFrame();
+ rt.addRef(getRef((void *)Result,memenv), "wxFrame");
+ break;
+}
+case wxHtmlWindow_HistoryBack: { // wxHtmlWindow::HistoryBack
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HistoryBack();
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_HistoryCanBack: { // wxHtmlWindow::HistoryCanBack
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HistoryCanBack();
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_HistoryCanForward: { // wxHtmlWindow::HistoryCanForward
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HistoryCanForward();
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_HistoryClear: { // wxHtmlWindow::HistoryClear
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->HistoryClear();
+ break;
+}
+case wxHtmlWindow_HistoryForward: { // wxHtmlWindow::HistoryForward
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->HistoryForward();
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_LoadFile: { // wxHtmlWindow::LoadFile
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * filenameLen = (int *) bp; bp += 4;
+ wxString filenameStr = wxString(bp, wxConvUTF8);
+ bp += *filenameLen+((8-((0+ *filenameLen) & 7)) & 7);
+ wxFileName filename = wxFileName(filenameStr);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadFile(filename);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_LoadPage: { // wxHtmlWindow::LoadPage
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * locationLen = (int *) bp; bp += 4;
+ wxString location = wxString(bp, wxConvUTF8);
+ bp += *locationLen+((8-((0+ *locationLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->LoadPage(location);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_SelectAll: { // wxHtmlWindow::SelectAll
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SelectAll();
+ break;
+}
+case wxHtmlWindow_SelectionToText: { // wxHtmlWindow::SelectionToText
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->SelectionToText();
+ rt.add(Result);
+ break;
+}
+case wxHtmlWindow_SelectLine: { // wxHtmlWindow::SelectLine
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ This->SelectLine(pos);
+ break;
+}
+case wxHtmlWindow_SelectWord: { // wxHtmlWindow::SelectWord
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * posX = (int *) bp; bp += 4;
+ int * posY = (int *) bp; bp += 4;
+ wxPoint pos = wxPoint(*posX,*posY);
+ if(!This) throw wxe_badarg(0);
+ This->SelectWord(pos);
+ break;
+}
+case wxHtmlWindow_SetBorders: { // wxHtmlWindow::SetBorders
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * b = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetBorders((int) *b);
+ break;
+}
+case wxHtmlWindow_SetFonts: { // wxHtmlWindow::SetFonts
+ int *sizes=NULL;
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * normal_faceLen = (int *) bp; bp += 4;
+ wxString normal_face = wxString(bp, wxConvUTF8);
+ bp += *normal_faceLen+((8-((0+ *normal_faceLen) & 7)) & 7);
+ int * fixed_faceLen = (int *) bp; bp += 4;
+ wxString fixed_face = wxString(bp, wxConvUTF8);
+ bp += *fixed_faceLen+((8-((4+ *fixed_faceLen) & 7)) & 7);
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ sizes = (int *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->SetFonts(normal_face,fixed_face,sizes);
+ break;
+}
+case wxHtmlWindow_SetPage: { // wxHtmlWindow::SetPage
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * sourceLen = (int *) bp; bp += 4;
+ wxString source = wxString(bp, wxConvUTF8);
+ bp += *sourceLen+((8-((0+ *sourceLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->SetPage(source);
+ rt.addBool(Result);
+ break;
+}
+case wxHtmlWindow_SetRelatedFrame: { // wxHtmlWindow::SetRelatedFrame
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ wxFrame *frame = (wxFrame *) getPtr(bp,memenv); bp += 4;
+ int * formatLen = (int *) bp; bp += 4;
+ wxString format = wxString(bp, wxConvUTF8);
+ bp += *formatLen+((8-((4+ *formatLen) & 7)) & 7);
+ if(!This) throw wxe_badarg(0);
+ This->SetRelatedFrame(frame,format);
+ break;
+}
+case wxHtmlWindow_SetRelatedStatusBar: { // wxHtmlWindow::SetRelatedStatusBar
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ int * bar = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetRelatedStatusBar((int) *bar);
+ break;
+}
+case wxHtmlWindow_ToText: { // wxHtmlWindow::ToText
+ wxHtmlWindow *This = (wxHtmlWindow *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxString Result = This->ToText();
+ rt.add(Result);
+ break;
+}
+case wxHtmlLinkEvent_GetLinkInfo: { // wxHtmlLinkEvent::GetLinkInfo
+ wxHtmlLinkEvent *This = (wxHtmlLinkEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ const wxHtmlLinkInfo * Result = &This->GetLinkInfo();
+ rt.add(Result);
+ break;
+}
+case wxAuiNotebookEvent_SetSelection: { // wxAuiNotebookEvent::SetSelection
+ wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ int * s = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetSelection((int) *s);
+ break;
+}
+case wxAuiNotebookEvent_GetSelection: { // wxAuiNotebookEvent::GetSelection
+ wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxAuiNotebookEvent_SetOldSelection: { // wxAuiNotebookEvent::SetOldSelection
+ wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ int * s = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetOldSelection((int) *s);
+ break;
+}
+case wxAuiNotebookEvent_GetOldSelection: { // wxAuiNotebookEvent::GetOldSelection
+ wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetOldSelection();
+ rt.addInt(Result);
+ break;
+}
+case wxAuiNotebookEvent_SetDragSource: { // wxAuiNotebookEvent::SetDragSource
+ wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ wxAuiNotebook *s = (wxAuiNotebook *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDragSource(s);
+ break;
+}
+case wxAuiNotebookEvent_GetDragSource: { // wxAuiNotebookEvent::GetDragSource
+ wxAuiNotebookEvent *This = (wxAuiNotebookEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiNotebook * Result = (wxAuiNotebook*)This->GetDragSource();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiNotebook");
+ break;
+}
+case wxAuiManagerEvent_SetManager: { // wxAuiManagerEvent::SetManager
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ wxAuiManager *mgr = (wxAuiManager *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetManager(mgr);
+ break;
+}
+case wxAuiManagerEvent_GetManager: { // wxAuiManagerEvent::GetManager
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiManager * Result = (wxAuiManager*)This->GetManager();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiManager");
+ break;
+}
+case wxAuiManagerEvent_SetPane: { // wxAuiManagerEvent::SetPane
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ wxAuiPaneInfo *p = (wxAuiPaneInfo *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetPane(p);
+ break;
+}
+case wxAuiManagerEvent_GetPane: { // wxAuiManagerEvent::GetPane
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxAuiPaneInfo * Result = (wxAuiPaneInfo*)This->GetPane();
+ rt.addRef(getRef((void *)Result,memenv), "wxAuiPaneInfo");
+ break;
+}
+case wxAuiManagerEvent_SetButton: { // wxAuiManagerEvent::SetButton
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ int * b = (int *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetButton((int) *b);
+ break;
+}
+case wxAuiManagerEvent_GetButton: { // wxAuiManagerEvent::GetButton
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ int Result = This->GetButton();
+ rt.addInt(Result);
+ break;
+}
+case wxAuiManagerEvent_SetDC: { // wxAuiManagerEvent::SetDC
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ wxDC *pdc = (wxDC *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetDC(pdc);
+ break;
+}
+case wxAuiManagerEvent_GetDC: { // wxAuiManagerEvent::GetDC
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ wxDC * Result = (wxDC*)This->GetDC();
+ rt.addRef(getRef((void *)Result,memenv), "wxDC");
+ break;
+}
+case wxAuiManagerEvent_Veto: { // wxAuiManagerEvent::Veto
+ bool veto=true;
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ bp += 4; /* Align */
+ while( * (int*) bp) { switch (* (int*) bp) {
+ case 1: {bp += 4;
+ veto = *(bool *) bp; bp += 4;
+ } break;
+ }};
+ if(!This) throw wxe_badarg(0);
+ This->Veto(veto);
+ break;
+}
+case wxAuiManagerEvent_GetVeto: { // wxAuiManagerEvent::GetVeto
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->GetVeto();
+ rt.addBool(Result);
+ break;
+}
+case wxAuiManagerEvent_SetCanVeto: { // wxAuiManagerEvent::SetCanVeto
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ bool * can_veto = (bool *) bp; bp += 4;
+ if(!This) throw wxe_badarg(0);
+ This->SetCanVeto((bool) *can_veto);
+ break;
+}
+case wxAuiManagerEvent_CanVeto: { // wxAuiManagerEvent::CanVeto
+ wxAuiManagerEvent *This = (wxAuiManagerEvent *) getPtr(bp,memenv); bp += 4;
+ if(!This) throw wxe_badarg(0);
+ bool Result = This->CanVeto();
+ rt.addBool(Result);
+ break;
+}
+case wxLogNull_new: { // wxLogNull::wxLogNull
+ wxLogNull * Result = new wxLogNull();
+ newPtr((void *) Result, 222, memenv);
+ rt.addRef(getRef((void *)Result,memenv), "wxLogNull");
+ break;
+}
+case wxLogNull_destroy: { // wxLogNull::destroy
+ wxLogNull *This = (wxLogNull *) getPtr(bp,memenv); bp += 4;
+ if(This) { ((WxeApp *) wxTheApp)->clearPtr((void *) This);
+ delete This;}
+ break;
+}
+ default: {
+ wxeReturn error = wxeReturn(WXE_DRV_PORT, Ecmd.caller, false); error.addAtom("_wxe_error_");
+ error.addInt((int) Ecmd.op);
+ error.addAtom("not_supported");
+ error.addTupleCount(3);
+ error.send();
+ return ;
+ }
+} // switch
+ rt.send();
+} catch (wxe_badarg badarg) { // try
+ wxeReturn error = wxeReturn(WXE_DRV_PORT, Ecmd.caller, false); error.addAtom("_wxe_error_");
+ error.addInt((int) Ecmd.op);
+ error.addAtom("badarg");
+ error.addInt((int) badarg.ref);
+ error.addTupleCount(2);
+ error.addTupleCount(3);
+ error.send();
+}} /* The End */
diff --git a/lib/wx/c_src/gen/wxe_init.cpp b/lib/wx/c_src/gen/wxe_init.cpp
new file mode 100644
index 0000000000..c69f853203
--- /dev/null
+++ b/lib/wx/c_src/gen/wxe_init.cpp
@@ -0,0 +1,136 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+ /* This file is also generated */
+#include <wx/wx.h>
+#include "../wxe_impl.h"
+#include "wxe_macros.h"
+#include "../wxe_return.h"
+void WxeApp::init_nonconsts(wxeMemEnv *memenv, ErlDrvTermData caller) {
+ wxeReturn rt = wxeReturn(WXE_DRV_PORT, caller);
+ rt.addAtom((char*)"wx_consts");
+ rt.addAtom("wxBYTE_ORDER"); rt.addInt(wxBYTE_ORDER);
+ rt.addTupleCount(2);
+ rt.addAtom("wxDEFAULT_CONTROL_BORDER"); rt.addInt(wxDEFAULT_CONTROL_BORDER);
+ rt.addTupleCount(2);
+ rt.addAtom("wxHAS_INT64"); rt.addInt(wxHAS_INT64);
+ rt.addTupleCount(2);
+ rt.addAtom("wxRETAINED"); rt.addInt(wxRETAINED);
+ rt.addTupleCount(2);
+ rt.addAtom("wxBETA_NUMBER"); rt.addInt(wxBETA_NUMBER);
+ rt.addTupleCount(2);
+ rt.addAtom("wxMAJOR_VERSION"); rt.addInt(wxMAJOR_VERSION);
+ rt.addTupleCount(2);
+ rt.addAtom("wxMINOR_VERSION"); rt.addInt(wxMINOR_VERSION);
+ rt.addTupleCount(2);
+ rt.addAtom("wxRELEASE_NUMBER"); rt.addInt(wxRELEASE_NUMBER);
+ rt.addTupleCount(2);
+ rt.addAtom("wxSUBRELEASE_NUMBER"); rt.addInt(wxSUBRELEASE_NUMBER);
+ rt.addTupleCount(2);
+ rt.addAtom("wxFONTENCODING_UTF16"); rt.addInt(wxFONTENCODING_UTF16);
+ rt.addTupleCount(2);
+ rt.addAtom("wxFONTENCODING_UTF32"); rt.addInt(wxFONTENCODING_UTF32);
+ rt.addTupleCount(2);
+ rt.addAtom("wxMOD_CMD"); rt.addInt(wxMOD_CMD);
+ rt.addTupleCount(2);
+ rt.addAtom("wxBLACK"); rt.add(*(wxBLACK));
+ rt.addTupleCount(2);
+ rt.addAtom("wxBLACK_BRUSH"); rt.addRef(getRef((void *)wxBLACK_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxBLACK_DASHED_PEN"); rt.addRef(getRef((void *)wxBLACK_DASHED_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxBLACK_PEN"); rt.addRef(getRef((void *)wxBLACK_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxBLUE"); rt.add(*(wxBLUE));
+ rt.addTupleCount(2);
+ rt.addAtom("wxBLUE_BRUSH"); rt.addRef(getRef((void *)wxBLUE_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxCROSS_CURSOR"); rt.addRef(getRef((void *)wxCROSS_CURSOR,memenv),"wxCursor");
+ rt.addTupleCount(2);
+ rt.addAtom("wxCYAN"); rt.add(*(wxCYAN));
+ rt.addTupleCount(2);
+ rt.addAtom("wxCYAN_BRUSH"); rt.addRef(getRef((void *)wxCYAN_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxCYAN_PEN"); rt.addRef(getRef((void *)wxCYAN_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxGREEN"); rt.add(*(wxGREEN));
+ rt.addTupleCount(2);
+ rt.addAtom("wxGREEN_BRUSH"); rt.addRef(getRef((void *)wxGREEN_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxGREEN_PEN"); rt.addRef(getRef((void *)wxGREEN_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxGREY_BRUSH"); rt.addRef(getRef((void *)wxGREY_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxGREY_PEN"); rt.addRef(getRef((void *)wxGREY_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxHOURGLASS_CURSOR"); rt.addRef(getRef((void *)wxHOURGLASS_CURSOR,memenv),"wxCursor");
+ rt.addTupleCount(2);
+ rt.addAtom("wxITALIC_FONT"); rt.addRef(getRef((void *)wxITALIC_FONT,memenv),"wxFont");
+ rt.addTupleCount(2);
+ rt.addAtom("wxLIGHT_GREY"); rt.add(*(wxLIGHT_GREY));
+ rt.addTupleCount(2);
+ rt.addAtom("wxLIGHT_GREY_BRUSH"); rt.addRef(getRef((void *)wxLIGHT_GREY_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxLIGHT_GREY_PEN"); rt.addRef(getRef((void *)wxLIGHT_GREY_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxMEDIUM_GREY_BRUSH"); rt.addRef(getRef((void *)wxMEDIUM_GREY_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxMEDIUM_GREY_PEN"); rt.addRef(getRef((void *)wxMEDIUM_GREY_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNORMAL_FONT"); rt.addRef(getRef((void *)wxNORMAL_FONT,memenv),"wxFont");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNullBitmap"); rt.addRef(getRef((void *)&wxNullBitmap,memenv), "wxBitmap");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNullBrush"); rt.addRef(getRef((void *)&wxNullBrush,memenv), "wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNullCursor"); rt.addRef(getRef((void *)&wxNullCursor,memenv), "wxCursor");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNullFont"); rt.addRef(getRef((void *)&wxNullFont,memenv), "wxFont");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNullIcon"); rt.addRef(getRef((void *)&wxNullIcon,memenv), "wxIcon");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNullPalette"); rt.addRef(getRef((void *)&wxNullPalette,memenv), "wxPalette");
+ rt.addTupleCount(2);
+ rt.addAtom("wxNullPen"); rt.addRef(getRef((void *)&wxNullPen,memenv), "wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxRED"); rt.add(*(wxRED));
+ rt.addTupleCount(2);
+ rt.addAtom("wxRED_BRUSH"); rt.addRef(getRef((void *)wxRED_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxRED_PEN"); rt.addRef(getRef((void *)wxRED_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxSMALL_FONT"); rt.addRef(getRef((void *)wxSMALL_FONT,memenv),"wxFont");
+ rt.addTupleCount(2);
+ rt.addAtom("wxSTANDARD_CURSOR"); rt.addRef(getRef((void *)wxSTANDARD_CURSOR,memenv),"wxCursor");
+ rt.addTupleCount(2);
+ rt.addAtom("wxSWISS_FONT"); rt.addRef(getRef((void *)wxSWISS_FONT,memenv),"wxFont");
+ rt.addTupleCount(2);
+ rt.addAtom("wxTRANSPARENT_BRUSH"); rt.addRef(getRef((void *)wxTRANSPARENT_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxTRANSPARENT_PEN"); rt.addRef(getRef((void *)wxTRANSPARENT_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.addAtom("wxWHITE"); rt.add(*(wxWHITE));
+ rt.addTupleCount(2);
+ rt.addAtom("wxWHITE_BRUSH"); rt.addRef(getRef((void *)wxWHITE_BRUSH,memenv),"wxBrush");
+ rt.addTupleCount(2);
+ rt.addAtom("wxWHITE_PEN"); rt.addRef(getRef((void *)wxWHITE_PEN,memenv),"wxPen");
+ rt.addTupleCount(2);
+ rt.endList(53);
+ rt.addTupleCount(2);
+ rt.send();
+}
diff --git a/lib/wx/c_src/gen/wxe_macros.h b/lib/wx/c_src/gen/wxe_macros.h
new file mode 100644
index 0000000000..5e4b4deb9c
--- /dev/null
+++ b/lib/wx/c_src/gen/wxe_macros.h
@@ -0,0 +1,3318 @@
+/*
+ * %CopyrightBegin%
+ *
+ * Copyright Ericsson AB 2008-2009. All Rights Reserved.
+ *
+ * The contents of this file are subject to the Erlang Public License,
+ * Version 1.1, (the "License"); you may not use this file except in
+ * compliance with the License. You should have received a copy of the
+ * Erlang Public License along with this software. If not, it can be
+ * retrieved online at http://www.erlang.org/.
+ *
+ * Software distributed under the License is distributed on an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
+ * the License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * %CopyrightEnd%
+*/
+#include <wx/caret.h>
+#include <wx/tooltip.h>
+#include <wx/gbsizer.h>
+#include <wx/splash.h>
+#include <wx/grid.h>
+#include <wx/image.h>
+#include <wx/tglbtn.h>
+#include <wx/calctrl.h>
+#include <wx/dirctrl.h>
+#include <wx/listctrl.h>
+#include <wx/treectrl.h>
+#include <wx/spinbutt.h>
+#include <wx/spinctrl.h>
+#include <wx/colordlg.h>
+#include <wx/fdrepdlg.h>
+#include <wx/fontdlg.h>
+#include <wx/progdlg.h>
+#include <wx/printdlg.h>
+#include <wx/dcbuffer.h>
+#include <wx/dcmirror.h>
+#include <wx/glcanvas.h>
+#include <wx/dcps.h>
+#include <wx/xrc/xmlres.h>
+#include <wx/html/htmprint.h>
+#include <wx/stc/stc.h>
+#include <wx/minifram.h>
+#include <wx/sashwin.h>
+#include <wx/laywin.h>
+#include <wx/graphics.h>
+#include <wx/aui/aui.h>
+#include <wx/datectrl.h>
+#include <wx/filepicker.h>
+#include <wx/fontpicker.h>
+#include <wx/clrpicker.h>
+#include <wx/statline.h>
+#include <wx/clipbrd.h>
+#include <wx/splitter.h>
+#include <wx/choicebk.h>
+#include <wx/toolbook.h>
+#include <wx/listbook.h>
+#include <wx/treebook.h>
+#include <wx/html/htmlwin.h>
+#include <wx/html/htmlcell.h>
+#include <wx/filename.h>
+
+
+#define wxEvtHandler_Connect 100
+#define wxEvtHandler_Disconnect_2 101
+#define wxEvtHandler_Disconnect_1 102
+#define wxEvtHandler_Disconnect_0 103
+#define wxWindow_new_0 105
+#define wxWindow_new_3 106
+#define wxWindow_destruct 108
+#define wxWindow_CacheBestSize 109
+#define wxWindow_CaptureMouse 110
+#define wxWindow_Center 111
+#define wxWindow_CenterOnParent 112
+#define wxWindow_Centre 113
+#define wxWindow_CentreOnParent 114
+#define wxWindow_ClearBackground 115
+#define wxWindow_ClientToScreen_2 116
+#define wxWindow_ClientToScreen_1 117
+#define wxWindow_Close 118
+#define wxWindow_ConvertDialogToPixels 120
+#define wxWindow_ConvertPixelsToDialog 122
+#define wxWindow_Destroy 123
+#define wxWindow_DestroyChildren 124
+#define wxWindow_Disable 125
+#define wxWindow_Enable 126
+#define wxWindow_FindFocus 127
+#define wxWindow_FindWindow_1_0 128
+#define wxWindow_FindWindow_1_1 129
+#define wxWindow_FindWindowById 130
+#define wxWindow_FindWindowByName 131
+#define wxWindow_FindWindowByLabel 132
+#define wxWindow_Fit 133
+#define wxWindow_FitInside 134
+#define wxWindow_Freeze 135
+#define wxWindow_GetAcceleratorTable 136
+#define wxWindow_GetBackgroundColour 137
+#define wxWindow_GetBackgroundStyle 138
+#define wxWindow_GetBestSize 139
+#define wxWindow_GetCaret 141
+#define wxWindow_GetCapture 142
+#define wxWindow_GetCharHeight 143
+#define wxWindow_GetCharWidth 144
+#define wxWindow_GetChildren 145
+#define wxWindow_GetClientSize 148
+#define wxWindow_GetContainingSizer 149
+#define wxWindow_GetCursor 150
+#define wxWindow_GetDropTarget 151
+#define wxWindow_GetEventHandler 152
+#define wxWindow_GetExtraStyle 153
+#define wxWindow_GetFont 154
+#define wxWindow_GetForegroundColour 155
+#define wxWindow_GetGrandParent 156
+#define wxWindow_GetHandle 157
+#define wxWindow_GetHelpText 158
+#define wxWindow_GetId 159
+#define wxWindow_GetLabel 160
+#define wxWindow_GetMaxSize 161
+#define wxWindow_GetMinSize 162
+#define wxWindow_GetName 163
+#define wxWindow_GetParent 164
+#define wxWindow_GetPosition 166
+#define wxWindow_GetRect 167
+#define wxWindow_GetScreenPosition 169
+#define wxWindow_GetScreenRect 170
+#define wxWindow_GetScrollPos 171
+#define wxWindow_GetScrollRange 172
+#define wxWindow_GetScrollThumb 173
+#define wxWindow_GetSize 175
+#define wxWindow_GetSizer 176
+#define wxWindow_GetTextExtent 177
+#define wxWindow_GetToolTip 178
+#define wxWindow_GetUpdateRegion 179
+#define wxWindow_GetVirtualSize 181
+#define wxWindow_GetWindowStyleFlag 183
+#define wxWindow_GetWindowVariant 184
+#define wxWindow_HasCapture 185
+#define wxWindow_HasScrollbar 186
+#define wxWindow_HasTransparentBackground 187
+#define wxWindow_Hide 188
+#define wxWindow_InheritAttributes 189
+#define wxWindow_InitDialog 190
+#define wxWindow_InvalidateBestSize 191
+#define wxWindow_IsEnabled 192
+#define wxWindow_IsExposed_2 193
+#define wxWindow_IsExposed_4 194
+#define wxWindow_IsExposed_1_0 195
+#define wxWindow_IsExposed_1_1 196
+#define wxWindow_IsRetained 197
+#define wxWindow_IsShown 198
+#define wxWindow_IsTopLevel 199
+#define wxWindow_Layout 200
+#define wxWindow_LineDown 201
+#define wxWindow_LineUp 202
+#define wxWindow_Lower 203
+#define wxWindow_MakeModal 204
+#define wxWindow_Move_3 205
+#define wxWindow_Move_2 206
+#define wxWindow_MoveAfterInTabOrder 207
+#define wxWindow_MoveBeforeInTabOrder 208
+#define wxWindow_Navigate 209
+#define wxWindow_PageDown 210
+#define wxWindow_PageUp 211
+#define wxWindow_PopEventHandler 212
+#define wxWindow_PopupMenu_2 213
+#define wxWindow_PopupMenu_3 214
+#define wxWindow_Raise 215
+#define wxWindow_Refresh 216
+#define wxWindow_RefreshRect 217
+#define wxWindow_ReleaseMouse 218
+#define wxWindow_RemoveChild 219
+#define wxWindow_Reparent 220
+#define wxWindow_ScreenToClient_2 221
+#define wxWindow_ScreenToClient_1 222
+#define wxWindow_ScrollLines 224
+#define wxWindow_ScrollPages 226
+#define wxWindow_ScrollWindow 227
+#define wxWindow_SetAcceleratorTable 228
+#define wxWindow_SetAutoLayout 229
+#define wxWindow_SetBackgroundColour 230
+#define wxWindow_SetBackgroundStyle 231
+#define wxWindow_SetCaret 232
+#define wxWindow_SetClientSize_2 233
+#define wxWindow_SetClientSize_1_0 234
+#define wxWindow_SetClientSize_1_1 235
+#define wxWindow_SetContainingSizer 236
+#define wxWindow_SetCursor 237
+#define wxWindow_SetMaxSize 238
+#define wxWindow_SetMinSize 239
+#define wxWindow_SetOwnBackgroundColour 240
+#define wxWindow_SetOwnFont 241
+#define wxWindow_SetOwnForegroundColour 242
+#define wxWindow_SetDropTarget 243
+#define wxWindow_SetExtraStyle 244
+#define wxWindow_SetFocus 245
+#define wxWindow_SetFocusFromKbd 246
+#define wxWindow_SetFont 247
+#define wxWindow_SetForegroundColour 248
+#define wxWindow_SetHelpText 249
+#define wxWindow_SetId 250
+#define wxWindow_SetLabel 252
+#define wxWindow_SetName 253
+#define wxWindow_SetPalette 254
+#define wxWindow_SetScrollbar 255
+#define wxWindow_SetScrollPos 256
+#define wxWindow_SetSize_5 257
+#define wxWindow_SetSize_2_0 258
+#define wxWindow_SetSize_1 259
+#define wxWindow_SetSize_2_1 260
+#define wxWindow_SetSizeHints_3 261
+#define wxWindow_SetSizeHints_2 262
+#define wxWindow_SetSizer 263
+#define wxWindow_SetSizerAndFit 264
+#define wxWindow_SetThemeEnabled 265
+#define wxWindow_SetToolTip_1_0 266
+#define wxWindow_SetToolTip_1_1 267
+#define wxWindow_SetVirtualSize_1 268
+#define wxWindow_SetVirtualSize_2 269
+#define wxWindow_SetVirtualSizeHints_3 270
+#define wxWindow_SetVirtualSizeHints_2 271
+#define wxWindow_SetWindowStyle 272
+#define wxWindow_SetWindowStyleFlag 273
+#define wxWindow_SetWindowVariant 274
+#define wxWindow_ShouldInheritColours 275
+#define wxWindow_Show 276
+#define wxWindow_Thaw 277
+#define wxWindow_TransferDataFromWindow 278
+#define wxWindow_TransferDataToWindow 279
+#define wxWindow_Update 280
+#define wxWindow_UpdateWindowUI 281
+#define wxWindow_Validate 282
+#define wxWindow_WarpPointer 283
+#define wxTopLevelWindow_GetIcon 284
+#define wxTopLevelWindow_GetIcons 285
+#define wxTopLevelWindow_GetTitle 286
+#define wxTopLevelWindow_IsActive 287
+#define wxTopLevelWindow_Iconize 288
+#define wxTopLevelWindow_IsFullScreen 289
+#define wxTopLevelWindow_IsIconized 290
+#define wxTopLevelWindow_IsMaximized 291
+#define wxTopLevelWindow_Maximize 292
+#define wxTopLevelWindow_RequestUserAttention 293
+#define wxTopLevelWindow_SetIcon 294
+#define wxTopLevelWindow_SetIcons 295
+#define wxTopLevelWindow_CenterOnScreen 296
+#define wxTopLevelWindow_CentreOnScreen 297
+#define wxTopLevelWindow_SetShape 299
+#define wxTopLevelWindow_SetTitle 300
+#define wxTopLevelWindow_ShowFullScreen 301
+#define wxFrame_new_4 303
+#define wxFrame_new_0 304
+#define wxFrame_destruct 306
+#define wxFrame_Create 307
+#define wxFrame_CreateStatusBar 308
+#define wxFrame_CreateToolBar 309
+#define wxFrame_GetClientAreaOrigin 310
+#define wxFrame_GetMenuBar 311
+#define wxFrame_GetStatusBar 312
+#define wxFrame_GetStatusBarPane 313
+#define wxFrame_GetToolBar 314
+#define wxFrame_ProcessCommand 315
+#define wxFrame_SendSizeEvent 316
+#define wxFrame_SetMenuBar 317
+#define wxFrame_SetStatusBar 318
+#define wxFrame_SetStatusBarPane 319
+#define wxFrame_SetStatusText 320
+#define wxFrame_SetStatusWidths 321
+#define wxFrame_SetToolBar 322
+#define wxMiniFrame_new_0 323
+#define wxMiniFrame_new_4 324
+#define wxMiniFrame_Create 325
+#define wxMiniFrame_destroy 326
+#define wxSplashScreen_new_0 327
+#define wxSplashScreen_new_6 328
+#define wxSplashScreen_destruct 329
+#define wxSplashScreen_GetSplashStyle 330
+#define wxSplashScreen_GetTimeout 331
+#define wxPanel_new_0 332
+#define wxPanel_new_6 333
+#define wxPanel_new_2 334
+#define wxPanel_destruct 335
+#define wxPanel_InitDialog 336
+#define wxScrolledWindow_new_0 337
+#define wxScrolledWindow_new_2 338
+#define wxScrolledWindow_destruct 339
+#define wxScrolledWindow_CalcScrolledPosition_4 340
+#define wxScrolledWindow_CalcScrolledPosition_1 341
+#define wxScrolledWindow_CalcUnscrolledPosition_4 342
+#define wxScrolledWindow_CalcUnscrolledPosition_1 343
+#define wxScrolledWindow_EnableScrolling 344
+#define wxScrolledWindow_GetScrollPixelsPerUnit 345
+#define wxScrolledWindow_GetViewStart 346
+#define wxScrolledWindow_DoPrepareDC 347
+#define wxScrolledWindow_PrepareDC 348
+#define wxScrolledWindow_Scroll 349
+#define wxScrolledWindow_SetScrollbars 350
+#define wxScrolledWindow_SetScrollRate 351
+#define wxScrolledWindow_SetTargetWindow 352
+#define wxSashWindow_new_0 353
+#define wxSashWindow_new_2 354
+#define wxSashWindow_destruct 355
+#define wxSashWindow_GetSashVisible 356
+#define wxSashWindow_GetMaximumSizeX 357
+#define wxSashWindow_GetMaximumSizeY 358
+#define wxSashWindow_GetMinimumSizeX 359
+#define wxSashWindow_GetMinimumSizeY 360
+#define wxSashWindow_SetMaximumSizeX 361
+#define wxSashWindow_SetMaximumSizeY 362
+#define wxSashWindow_SetMinimumSizeX 363
+#define wxSashWindow_SetMinimumSizeY 364
+#define wxSashWindow_SetSashVisible 365
+#define wxSashLayoutWindow_new_0 366
+#define wxSashLayoutWindow_new_2 367
+#define wxSashLayoutWindow_Create 368
+#define wxSashLayoutWindow_GetAlignment 369
+#define wxSashLayoutWindow_GetOrientation 370
+#define wxSashLayoutWindow_SetAlignment 371
+#define wxSashLayoutWindow_SetDefaultSize 372
+#define wxSashLayoutWindow_SetOrientation 373
+#define wxSashLayoutWindow_destroy 374
+#define wxGrid_new_0 375
+#define wxGrid_new_3 376
+#define wxGrid_new_4 377
+#define wxGrid_destruct 378
+#define wxGrid_AppendCols 379
+#define wxGrid_AppendRows 380
+#define wxGrid_AutoSize 381
+#define wxGrid_AutoSizeColumn 382
+#define wxGrid_AutoSizeColumns 383
+#define wxGrid_AutoSizeRow 384
+#define wxGrid_AutoSizeRows 385
+#define wxGrid_BeginBatch 386
+#define wxGrid_BlockToDeviceRect 387
+#define wxGrid_CanDragColSize 388
+#define wxGrid_CanDragRowSize 389
+#define wxGrid_CanDragGridSize 390
+#define wxGrid_CanEnableCellControl 391
+#define wxGrid_CellToRect_2 392
+#define wxGrid_CellToRect_1 393
+#define wxGrid_ClearGrid 394
+#define wxGrid_ClearSelection 395
+#define wxGrid_CreateGrid 396
+#define wxGrid_DeleteCols 397
+#define wxGrid_DeleteRows 398
+#define wxGrid_DisableCellEditControl 399
+#define wxGrid_DisableDragColSize 400
+#define wxGrid_DisableDragGridSize 401
+#define wxGrid_DisableDragRowSize 402
+#define wxGrid_EnableCellEditControl 403
+#define wxGrid_EnableDragColSize 404
+#define wxGrid_EnableDragGridSize 405
+#define wxGrid_EnableDragRowSize 406
+#define wxGrid_EnableEditing 407
+#define wxGrid_EnableGridLines 408
+#define wxGrid_EndBatch 409
+#define wxGrid_Fit 410
+#define wxGrid_ForceRefresh 411
+#define wxGrid_GetBatchCount 412
+#define wxGrid_GetCellAlignment 413
+#define wxGrid_GetCellBackgroundColour 414
+#define wxGrid_GetCellEditor 415
+#define wxGrid_GetCellFont 416
+#define wxGrid_GetCellRenderer 417
+#define wxGrid_GetCellTextColour 418
+#define wxGrid_GetCellValue_2 419
+#define wxGrid_GetCellValue_1 420
+#define wxGrid_GetColLabelAlignment 421
+#define wxGrid_GetColLabelSize 422
+#define wxGrid_GetColLabelValue 423
+#define wxGrid_GetColMinimalAcceptableWidth 424
+#define wxGrid_GetDefaultCellAlignment 425
+#define wxGrid_GetDefaultCellBackgroundColour 426
+#define wxGrid_GetDefaultCellFont 427
+#define wxGrid_GetDefaultCellTextColour 428
+#define wxGrid_GetDefaultColLabelSize 429
+#define wxGrid_GetDefaultColSize 430
+#define wxGrid_GetDefaultEditor 431
+#define wxGrid_GetDefaultEditorForCell_2 432
+#define wxGrid_GetDefaultEditorForCell_1 433
+#define wxGrid_GetDefaultEditorForType 434
+#define wxGrid_GetDefaultRenderer 435
+#define wxGrid_GetDefaultRendererForCell 436
+#define wxGrid_GetDefaultRendererForType 437
+#define wxGrid_GetDefaultRowLabelSize 438
+#define wxGrid_GetDefaultRowSize 439
+#define wxGrid_GetGridCursorCol 440
+#define wxGrid_GetGridCursorRow 441
+#define wxGrid_GetGridLineColour 442
+#define wxGrid_GridLinesEnabled 443
+#define wxGrid_GetLabelBackgroundColour 444
+#define wxGrid_GetLabelFont 445
+#define wxGrid_GetLabelTextColour 446
+#define wxGrid_GetNumberCols 447
+#define wxGrid_GetNumberRows 448
+#define wxGrid_GetOrCreateCellAttr 449
+#define wxGrid_GetRowMinimalAcceptableHeight 450
+#define wxGrid_GetRowLabelAlignment 451
+#define wxGrid_GetRowLabelSize 452
+#define wxGrid_GetRowLabelValue 453
+#define wxGrid_GetRowSize 454
+#define wxGrid_GetScrollLineX 455
+#define wxGrid_GetScrollLineY 456
+#define wxGrid_GetSelectedCells 457
+#define wxGrid_GetSelectedCols 458
+#define wxGrid_GetSelectedRows 459
+#define wxGrid_GetSelectionBackground 460
+#define wxGrid_GetSelectionBlockTopLeft 461
+#define wxGrid_GetSelectionBlockBottomRight 462
+#define wxGrid_GetSelectionForeground 463
+#define wxGrid_GetViewWidth 464
+#define wxGrid_GetGridWindow 465
+#define wxGrid_GetGridRowLabelWindow 466
+#define wxGrid_GetGridColLabelWindow 467
+#define wxGrid_GetGridCornerLabelWindow 468
+#define wxGrid_HideCellEditControl 469
+#define wxGrid_InsertCols 470
+#define wxGrid_InsertRows 471
+#define wxGrid_IsCellEditControlEnabled 472
+#define wxGrid_IsCurrentCellReadOnly 473
+#define wxGrid_IsEditable 474
+#define wxGrid_IsInSelection_2 475
+#define wxGrid_IsInSelection_1 476
+#define wxGrid_IsReadOnly 477
+#define wxGrid_IsSelection 478
+#define wxGrid_IsVisible_3 479
+#define wxGrid_IsVisible_2 480
+#define wxGrid_MakeCellVisible_2 481
+#define wxGrid_MakeCellVisible_1 482
+#define wxGrid_MoveCursorDown 483
+#define wxGrid_MoveCursorLeft 484
+#define wxGrid_MoveCursorRight 485
+#define wxGrid_MoveCursorUp 486
+#define wxGrid_MoveCursorDownBlock 487
+#define wxGrid_MoveCursorLeftBlock 488
+#define wxGrid_MoveCursorRightBlock 489
+#define wxGrid_MoveCursorUpBlock 490
+#define wxGrid_MovePageDown 491
+#define wxGrid_MovePageUp 492
+#define wxGrid_RegisterDataType 493
+#define wxGrid_SaveEditControlValue 494
+#define wxGrid_SelectAll 495
+#define wxGrid_SelectBlock_5 496
+#define wxGrid_SelectBlock_3 497
+#define wxGrid_SelectCol 498
+#define wxGrid_SelectRow 499
+#define wxGrid_SetCellAlignment_4 500
+#define wxGrid_SetCellAlignment_3 501
+#define wxGrid_SetCellAlignment_1 502
+#define wxGrid_SetCellBackgroundColour_3_0 503
+#define wxGrid_SetCellBackgroundColour_1 504
+#define wxGrid_SetCellBackgroundColour_3_1 505
+#define wxGrid_SetCellEditor 506
+#define wxGrid_SetCellFont 507
+#define wxGrid_SetCellRenderer 508
+#define wxGrid_SetCellTextColour_3_0 509
+#define wxGrid_SetCellTextColour_3_1 510
+#define wxGrid_SetCellTextColour_1 511
+#define wxGrid_SetCellValue_3_0 512
+#define wxGrid_SetCellValue_2 513
+#define wxGrid_SetCellValue_3_1 514
+#define wxGrid_SetColAttr 515
+#define wxGrid_SetColFormatBool 516
+#define wxGrid_SetColFormatNumber 517
+#define wxGrid_SetColFormatFloat 518
+#define wxGrid_SetColFormatCustom 519
+#define wxGrid_SetColLabelAlignment 520
+#define wxGrid_SetColLabelSize 521
+#define wxGrid_SetColLabelValue 522
+#define wxGrid_SetColMinimalWidth 523
+#define wxGrid_SetColMinimalAcceptableWidth 524
+#define wxGrid_SetColSize 525
+#define wxGrid_SetDefaultCellAlignment 526
+#define wxGrid_SetDefaultCellBackgroundColour 527
+#define wxGrid_SetDefaultCellFont 528
+#define wxGrid_SetDefaultCellTextColour 529
+#define wxGrid_SetDefaultEditor 530
+#define wxGrid_SetDefaultRenderer 531
+#define wxGrid_SetDefaultColSize 532
+#define wxGrid_SetDefaultRowSize 533
+#define wxGrid_SetGridCursor 534
+#define wxGrid_SetGridLineColour 535
+#define wxGrid_SetLabelBackgroundColour 536
+#define wxGrid_SetLabelFont 537
+#define wxGrid_SetLabelTextColour 538
+#define wxGrid_SetMargins 539
+#define wxGrid_SetReadOnly 540
+#define wxGrid_SetRowAttr 541
+#define wxGrid_SetRowLabelAlignment 542
+#define wxGrid_SetRowLabelSize 543
+#define wxGrid_SetRowLabelValue 544
+#define wxGrid_SetRowMinimalHeight 545
+#define wxGrid_SetRowMinimalAcceptableHeight 546
+#define wxGrid_SetRowSize 547
+#define wxGrid_SetScrollLineX 548
+#define wxGrid_SetScrollLineY 549
+#define wxGrid_SetSelectionBackground 550
+#define wxGrid_SetSelectionForeground 551
+#define wxGrid_SetSelectionMode 552
+#define wxGrid_ShowCellEditControl 553
+#define wxGrid_XToCol 554
+#define wxGrid_XToEdgeOfCol 555
+#define wxGrid_YToEdgeOfRow 556
+#define wxGrid_YToRow 557
+#define wxGridCellRenderer_Draw 558
+#define wxGridCellRenderer_GetBestSize 559
+#define wxGridCellEditor_Create 560
+#define wxGridCellEditor_IsCreated 561
+#define wxGridCellEditor_SetSize 562
+#define wxGridCellEditor_Show 563
+#define wxGridCellEditor_PaintBackground 564
+#define wxGridCellEditor_BeginEdit 565
+#define wxGridCellEditor_EndEdit 566
+#define wxGridCellEditor_Reset 567
+#define wxGridCellEditor_StartingKey 568
+#define wxGridCellEditor_StartingClick 569
+#define wxGridCellEditor_HandleReturn 570
+#define wxGridCellBoolRenderer_new 571
+#define wxGridCellBoolRenderer_destroy 572
+#define wxGridCellBoolEditor_new 573
+#define wxGridCellBoolEditor_IsTrueValue 574
+#define wxGridCellBoolEditor_UseStringValues 575
+#define wxGridCellBoolEditor_destroy 576
+#define wxGridCellFloatRenderer_new 577
+#define wxGridCellFloatRenderer_GetPrecision 578
+#define wxGridCellFloatRenderer_GetWidth 579
+#define wxGridCellFloatRenderer_SetParameters 580
+#define wxGridCellFloatRenderer_SetPrecision 581
+#define wxGridCellFloatRenderer_SetWidth 582
+#define wxGridCellFloatRenderer_destroy 583
+#define wxGridCellFloatEditor_new 584
+#define wxGridCellFloatEditor_SetParameters 585
+#define wxGridCellFloatEditor_destroy 586
+#define wxGridCellStringRenderer_new 587
+#define wxGridCellStringRenderer_destroy 588
+#define wxGridCellTextEditor_new 589
+#define wxGridCellTextEditor_SetParameters 590
+#define wxGridCellTextEditor_destroy 591
+#define wxGridCellChoiceEditor_new 593
+#define wxGridCellChoiceEditor_SetParameters 594
+#define wxGridCellChoiceEditor_destroy 595
+#define wxGridCellNumberRenderer_new 596
+#define wxGridCellNumberRenderer_destroy 597
+#define wxGridCellNumberEditor_new 598
+#define wxGridCellNumberEditor_GetValue 599
+#define wxGridCellNumberEditor_SetParameters 600
+#define wxGridCellNumberEditor_destroy 601
+#define wxGridCellAttr_SetTextColour 602
+#define wxGridCellAttr_SetBackgroundColour 603
+#define wxGridCellAttr_SetFont 604
+#define wxGridCellAttr_SetAlignment 605
+#define wxGridCellAttr_SetReadOnly 606
+#define wxGridCellAttr_SetRenderer 607
+#define wxGridCellAttr_SetEditor 608
+#define wxGridCellAttr_HasTextColour 609
+#define wxGridCellAttr_HasBackgroundColour 610
+#define wxGridCellAttr_HasFont 611
+#define wxGridCellAttr_HasAlignment 612
+#define wxGridCellAttr_HasRenderer 613
+#define wxGridCellAttr_HasEditor 614
+#define wxGridCellAttr_GetTextColour 615
+#define wxGridCellAttr_GetBackgroundColour 616
+#define wxGridCellAttr_GetFont 617
+#define wxGridCellAttr_GetAlignment 618
+#define wxGridCellAttr_GetRenderer 619
+#define wxGridCellAttr_GetEditor 620
+#define wxGridCellAttr_IsReadOnly 621
+#define wxGridCellAttr_SetDefAttr 622
+#define wxDC_Blit 623
+#define wxDC_CalcBoundingBox 624
+#define wxDC_Clear 625
+#define wxDC_ComputeScaleAndOrigin 626
+#define wxDC_CrossHair 627
+#define wxDC_DestroyClippingRegion 628
+#define wxDC_DeviceToLogicalX 629
+#define wxDC_DeviceToLogicalXRel 630
+#define wxDC_DeviceToLogicalY 631
+#define wxDC_DeviceToLogicalYRel 632
+#define wxDC_DrawArc 633
+#define wxDC_DrawBitmap 634
+#define wxDC_DrawCheckMark 635
+#define wxDC_DrawCircle 636
+#define wxDC_DrawEllipse_2 638
+#define wxDC_DrawEllipse_1 639
+#define wxDC_DrawEllipticArc 640
+#define wxDC_DrawIcon 641
+#define wxDC_DrawLabel 642
+#define wxDC_DrawLine 643
+#define wxDC_DrawLines 644
+#define wxDC_DrawPolygon 646
+#define wxDC_DrawPoint 648
+#define wxDC_DrawRectangle_2 650
+#define wxDC_DrawRectangle_1 651
+#define wxDC_DrawRotatedText 652
+#define wxDC_DrawRoundedRectangle_3 654
+#define wxDC_DrawRoundedRectangle_2 655
+#define wxDC_DrawText 656
+#define wxDC_EndDoc 657
+#define wxDC_EndPage 658
+#define wxDC_FloodFill 659
+#define wxDC_GetBackground 660
+#define wxDC_GetBackgroundMode 661
+#define wxDC_GetBrush 662
+#define wxDC_GetCharHeight 663
+#define wxDC_GetCharWidth 664
+#define wxDC_GetClippingBox 665
+#define wxDC_GetFont 666
+#define wxDC_GetLayoutDirection 667
+#define wxDC_GetLogicalFunction 668
+#define wxDC_GetMapMode 669
+#define wxDC_GetMultiLineTextExtent_4 670
+#define wxDC_GetMultiLineTextExtent_1 671
+#define wxDC_GetPartialTextExtents 672
+#define wxDC_GetPen 673
+#define wxDC_GetPixel 674
+#define wxDC_GetPPI 675
+#define wxDC_GetSize 677
+#define wxDC_GetSizeMM 679
+#define wxDC_GetTextBackground 680
+#define wxDC_GetTextExtent_4 681
+#define wxDC_GetTextExtent_1 682
+#define wxDC_GetTextForeground 684
+#define wxDC_GetUserScale 685
+#define wxDC_GradientFillConcentric_3 686
+#define wxDC_GradientFillConcentric_4 687
+#define wxDC_GradientFillLinear 688
+#define wxDC_LogicalToDeviceX 689
+#define wxDC_LogicalToDeviceXRel 690
+#define wxDC_LogicalToDeviceY 691
+#define wxDC_LogicalToDeviceYRel 692
+#define wxDC_MaxX 693
+#define wxDC_MaxY 694
+#define wxDC_MinX 695
+#define wxDC_MinY 696
+#define wxDC_IsOk 697
+#define wxDC_ResetBoundingBox 698
+#define wxDC_SetAxisOrientation 699
+#define wxDC_SetBackground 700
+#define wxDC_SetBackgroundMode 701
+#define wxDC_SetBrush 702
+#define wxDC_SetClippingRegion_2 704
+#define wxDC_SetClippingRegion_1_1 705
+#define wxDC_SetClippingRegion_1_0 706
+#define wxDC_SetDeviceOrigin 707
+#define wxDC_SetFont 708
+#define wxDC_SetLayoutDirection 709
+#define wxDC_SetLogicalFunction 710
+#define wxDC_SetMapMode 711
+#define wxDC_SetPalette 712
+#define wxDC_SetPen 713
+#define wxDC_SetTextBackground 714
+#define wxDC_SetTextForeground 715
+#define wxDC_SetUserScale 716
+#define wxDC_StartDoc 717
+#define wxDC_StartPage 718
+#define wxMirrorDC_new 719
+#define wxMirrorDC_destroy 720
+#define wxScreenDC_new 721
+#define wxScreenDC_destruct 722
+#define wxPostScriptDC_new_0 723
+#define wxPostScriptDC_new_1 724
+#define wxPostScriptDC_destruct 725
+#define wxPostScriptDC_SetResolution 726
+#define wxPostScriptDC_GetResolution 727
+#define wxWindowDC_new_0 728
+#define wxWindowDC_new_1 729
+#define wxWindowDC_destruct 730
+#define wxClientDC_new_0 731
+#define wxClientDC_new_1 732
+#define wxClientDC_destroy 733
+#define wxPaintDC_new_0 734
+#define wxPaintDC_new_1 735
+#define wxPaintDC_destroy 736
+#define wxMemoryDC_new_1_0 738
+#define wxMemoryDC_new_1_1 739
+#define wxMemoryDC_new_0 740
+#define wxMemoryDC_destruct 742
+#define wxMemoryDC_SelectObject 743
+#define wxMemoryDC_SelectObjectAsSource 744
+#define wxBufferedDC_new_0 745
+#define wxBufferedDC_new_2 746
+#define wxBufferedDC_new_3 747
+#define wxBufferedDC_destruct 748
+#define wxBufferedDC_Init_2 749
+#define wxBufferedDC_Init_3 750
+#define wxBufferedPaintDC_new_3 751
+#define wxBufferedPaintDC_new_2 752
+#define wxBufferedPaintDC_destruct 753
+#define wxGraphicsObject_GetRenderer 754
+#define wxGraphicsObject_IsNull 755
+#define wxGraphicsContext_Create_1_1 756
+#define wxGraphicsContext_Create_1_0 757
+#define wxGraphicsContext_Create_0 758
+#define wxGraphicsContext_CreatePen 759
+#define wxGraphicsContext_CreateBrush 760
+#define wxGraphicsContext_CreateRadialGradientBrush 761
+#define wxGraphicsContext_CreateLinearGradientBrush 762
+#define wxGraphicsContext_CreateFont 763
+#define wxGraphicsContext_CreateMatrix 764
+#define wxGraphicsContext_CreatePath 765
+#define wxGraphicsContext_Clip_1 766
+#define wxGraphicsContext_Clip_4 767
+#define wxGraphicsContext_ResetClip 768
+#define wxGraphicsContext_DrawBitmap 769
+#define wxGraphicsContext_DrawEllipse 770
+#define wxGraphicsContext_DrawIcon 771
+#define wxGraphicsContext_DrawLines 772
+#define wxGraphicsContext_DrawPath 773
+#define wxGraphicsContext_DrawRectangle 774
+#define wxGraphicsContext_DrawRoundedRectangle 775
+#define wxGraphicsContext_DrawText_3 776
+#define wxGraphicsContext_DrawText_4_0 777
+#define wxGraphicsContext_DrawText_4_1 778
+#define wxGraphicsContext_DrawText_5 779
+#define wxGraphicsContext_FillPath 780
+#define wxGraphicsContext_StrokePath 781
+#define wxGraphicsContext_GetNativeContext 782
+#define wxGraphicsContext_GetPartialTextExtents 783
+#define wxGraphicsContext_GetTextExtent 784
+#define wxGraphicsContext_Rotate 785
+#define wxGraphicsContext_Scale 786
+#define wxGraphicsContext_Translate 787
+#define wxGraphicsContext_GetTransform 788
+#define wxGraphicsContext_SetTransform 789
+#define wxGraphicsContext_ConcatTransform 790
+#define wxGraphicsContext_SetBrush_1_1 791
+#define wxGraphicsContext_SetBrush_1_0 792
+#define wxGraphicsContext_SetFont_1 793
+#define wxGraphicsContext_SetFont_2 794
+#define wxGraphicsContext_SetPen_1_0 795
+#define wxGraphicsContext_SetPen_1_1 796
+#define wxGraphicsContext_StrokeLine 797
+#define wxGraphicsContext_StrokeLines_2 798
+#define wxGraphicsContext_StrokeLines_3 799
+#define wxGraphicsMatrix_Concat 800
+#define wxGraphicsMatrix_Get 802
+#define wxGraphicsMatrix_GetNativeMatrix 803
+#define wxGraphicsMatrix_Invert 804
+#define wxGraphicsMatrix_IsEqual 805
+#define wxGraphicsMatrix_IsIdentity 807
+#define wxGraphicsMatrix_Rotate 808
+#define wxGraphicsMatrix_Scale 809
+#define wxGraphicsMatrix_Translate 810
+#define wxGraphicsMatrix_Set 811
+#define wxGraphicsMatrix_TransformPoint 812
+#define wxGraphicsMatrix_TransformDistance 813
+#define wxGraphicsPath_MoveToPoint_2 814
+#define wxGraphicsPath_MoveToPoint_1 815
+#define wxGraphicsPath_AddArc_6 816
+#define wxGraphicsPath_AddArc_5 817
+#define wxGraphicsPath_AddArcToPoint 818
+#define wxGraphicsPath_AddCircle 819
+#define wxGraphicsPath_AddCurveToPoint_6 820
+#define wxGraphicsPath_AddCurveToPoint_3 821
+#define wxGraphicsPath_AddEllipse 822
+#define wxGraphicsPath_AddLineToPoint_2 823
+#define wxGraphicsPath_AddLineToPoint_1 824
+#define wxGraphicsPath_AddPath 825
+#define wxGraphicsPath_AddQuadCurveToPoint 826
+#define wxGraphicsPath_AddRectangle 827
+#define wxGraphicsPath_AddRoundedRectangle 828
+#define wxGraphicsPath_CloseSubpath 829
+#define wxGraphicsPath_Contains_3 830
+#define wxGraphicsPath_Contains_2 831
+#define wxGraphicsPath_GetBox 833
+#define wxGraphicsPath_GetCurrentPoint 835
+#define wxGraphicsPath_Transform 836
+#define wxGraphicsRenderer_GetDefaultRenderer 837
+#define wxGraphicsRenderer_CreateContext_1_1 838
+#define wxGraphicsRenderer_CreateContext_1_0 839
+#define wxGraphicsRenderer_CreatePen 840
+#define wxGraphicsRenderer_CreateBrush 841
+#define wxGraphicsRenderer_CreateLinearGradientBrush 842
+#define wxGraphicsRenderer_CreateRadialGradientBrush 843
+#define wxGraphicsRenderer_CreateFont 844
+#define wxGraphicsRenderer_CreateMatrix 845
+#define wxGraphicsRenderer_CreatePath 846
+#define wxMenuBar_new_1 848
+#define wxMenuBar_new_0 850
+#define wxMenuBar_destruct 852
+#define wxMenuBar_Append 853
+#define wxMenuBar_Check 854
+#define wxMenuBar_Enable_2 855
+#define wxMenuBar_Enable_1 856
+#define wxMenuBar_EnableTop 857
+#define wxMenuBar_FindMenu 858
+#define wxMenuBar_FindMenuItem 859
+#define wxMenuBar_FindItem 860
+#define wxMenuBar_GetHelpString 861
+#define wxMenuBar_GetLabel_1 862
+#define wxMenuBar_GetLabel_0 863
+#define wxMenuBar_GetLabelTop 864
+#define wxMenuBar_GetMenu 865
+#define wxMenuBar_GetMenuCount 866
+#define wxMenuBar_Insert 867
+#define wxMenuBar_IsChecked 868
+#define wxMenuBar_IsEnabled_1 869
+#define wxMenuBar_IsEnabled_0 870
+#define wxMenuBar_Remove 871
+#define wxMenuBar_Replace 872
+#define wxMenuBar_SetHelpString 873
+#define wxMenuBar_SetLabel_2 874
+#define wxMenuBar_SetLabel_1 875
+#define wxMenuBar_SetLabelTop 876
+#define wxControl_GetLabel 877
+#define wxControl_SetLabel 878
+#define wxControlWithItems_Append_1 879
+#define wxControlWithItems_Append_2 880
+#define wxControlWithItems_appendStrings_1 881
+#define wxControlWithItems_Clear 882
+#define wxControlWithItems_Delete 883
+#define wxControlWithItems_FindString 884
+#define wxControlWithItems_getClientData 886
+#define wxControlWithItems_setClientData 888
+#define wxControlWithItems_GetCount 889
+#define wxControlWithItems_GetSelection 890
+#define wxControlWithItems_GetString 891
+#define wxControlWithItems_GetStringSelection 892
+#define wxControlWithItems_Insert_2 893
+#define wxControlWithItems_Insert_3 894
+#define wxControlWithItems_IsEmpty 895
+#define wxControlWithItems_Select 896
+#define wxControlWithItems_SetSelection 897
+#define wxControlWithItems_SetString 898
+#define wxControlWithItems_SetStringSelection 899
+#define wxMenu_new_2 902
+#define wxMenu_new_1 903
+#define wxMenu_destruct 905
+#define wxMenu_Append_3 906
+#define wxMenu_Append_1 907
+#define wxMenu_Append_4_0 908
+#define wxMenu_Append_4_1 909
+#define wxMenu_AppendCheckItem 910
+#define wxMenu_AppendRadioItem 911
+#define wxMenu_AppendSeparator 912
+#define wxMenu_Break 913
+#define wxMenu_Check 914
+#define wxMenu_Delete_1_0 915
+#define wxMenu_Delete_1_1 916
+#define wxMenu_Destroy_1_0 917
+#define wxMenu_Destroy_1_1 918
+#define wxMenu_Enable 919
+#define wxMenu_FindItem_1 920
+#define wxMenu_FindItem_2 921
+#define wxMenu_FindItemByPosition 922
+#define wxMenu_GetHelpString 923
+#define wxMenu_GetLabel 924
+#define wxMenu_GetMenuItemCount 925
+#define wxMenu_GetMenuItems 926
+#define wxMenu_GetTitle 928
+#define wxMenu_Insert_2 929
+#define wxMenu_Insert_3 930
+#define wxMenu_Insert_5_1 931
+#define wxMenu_Insert_5_0 932
+#define wxMenu_InsertCheckItem 933
+#define wxMenu_InsertRadioItem 934
+#define wxMenu_InsertSeparator 935
+#define wxMenu_IsChecked 936
+#define wxMenu_IsEnabled 937
+#define wxMenu_Prepend_1 938
+#define wxMenu_Prepend_2 939
+#define wxMenu_Prepend_4_1 940
+#define wxMenu_Prepend_4_0 941
+#define wxMenu_PrependCheckItem 942
+#define wxMenu_PrependRadioItem 943
+#define wxMenu_PrependSeparator 944
+#define wxMenu_Remove_1_0 945
+#define wxMenu_Remove_1_1 946
+#define wxMenu_SetHelpString 947
+#define wxMenu_SetLabel 948
+#define wxMenu_SetTitle 949
+#define wxMenuItem_new 950
+#define wxMenuItem_destruct 952
+#define wxMenuItem_Check 953
+#define wxMenuItem_Enable 954
+#define wxMenuItem_GetBitmap 955
+#define wxMenuItem_GetHelp 956
+#define wxMenuItem_GetId 957
+#define wxMenuItem_GetKind 958
+#define wxMenuItem_GetLabel 959
+#define wxMenuItem_GetLabelFromText 960
+#define wxMenuItem_GetMenu 961
+#define wxMenuItem_GetText 962
+#define wxMenuItem_GetSubMenu 963
+#define wxMenuItem_IsCheckable 964
+#define wxMenuItem_IsChecked 965
+#define wxMenuItem_IsEnabled 966
+#define wxMenuItem_IsSeparator 967
+#define wxMenuItem_IsSubMenu 968
+#define wxMenuItem_SetBitmap 969
+#define wxMenuItem_SetHelp 970
+#define wxMenuItem_SetMenu 971
+#define wxMenuItem_SetSubMenu 972
+#define wxMenuItem_SetText 973
+#define wxToolBar_AddControl 974
+#define wxToolBar_AddSeparator 975
+#define wxToolBar_AddTool_5 976
+#define wxToolBar_AddTool_4_0 977
+#define wxToolBar_AddTool_1 978
+#define wxToolBar_AddTool_4_1 979
+#define wxToolBar_AddTool_3 980
+#define wxToolBar_AddTool_6 981
+#define wxToolBar_AddCheckTool 982
+#define wxToolBar_AddRadioTool 983
+#define wxToolBar_DeleteTool 984
+#define wxToolBar_DeleteToolByPos 985
+#define wxToolBar_EnableTool 986
+#define wxToolBar_FindById 987
+#define wxToolBar_FindControl 988
+#define wxToolBar_FindToolForPosition 989
+#define wxToolBar_GetToolSize 990
+#define wxToolBar_GetToolBitmapSize 991
+#define wxToolBar_GetMargins 992
+#define wxToolBar_GetToolEnabled 993
+#define wxToolBar_GetToolLongHelp 994
+#define wxToolBar_GetToolPacking 995
+#define wxToolBar_GetToolPos 996
+#define wxToolBar_GetToolSeparation 997
+#define wxToolBar_GetToolShortHelp 998
+#define wxToolBar_GetToolState 999
+#define wxToolBar_InsertControl 1000
+#define wxToolBar_InsertSeparator 1001
+#define wxToolBar_InsertTool_5 1002
+#define wxToolBar_InsertTool_2 1003
+#define wxToolBar_InsertTool_4 1004
+#define wxToolBar_Realize 1005
+#define wxToolBar_RemoveTool 1006
+#define wxToolBar_SetMargins 1007
+#define wxToolBar_SetToolBitmapSize 1008
+#define wxToolBar_SetToolLongHelp 1009
+#define wxToolBar_SetToolPacking 1010
+#define wxToolBar_SetToolShortHelp 1011
+#define wxToolBar_SetToolSeparation 1012
+#define wxToolBar_ToggleTool 1013
+#define wxStatusBar_new_0 1015
+#define wxStatusBar_new_2 1016
+#define wxStatusBar_destruct 1018
+#define wxStatusBar_Create 1019
+#define wxStatusBar_GetFieldRect 1020
+#define wxStatusBar_GetFieldsCount 1021
+#define wxStatusBar_GetStatusText 1022
+#define wxStatusBar_PopStatusText 1023
+#define wxStatusBar_PushStatusText 1024
+#define wxStatusBar_SetFieldsCount 1025
+#define wxStatusBar_SetMinHeight 1026
+#define wxStatusBar_SetStatusText 1027
+#define wxStatusBar_SetStatusWidths 1028
+#define wxStatusBar_SetStatusStyles 1029
+#define wxBitmap_new_0 1030
+#define wxBitmap_new_3 1031
+#define wxBitmap_new_4 1032
+#define wxBitmap_new_2_0 1033
+#define wxBitmap_new_2_1 1034
+#define wxBitmap_destruct 1035
+#define wxBitmap_ConvertToImage 1036
+#define wxBitmap_CopyFromIcon 1037
+#define wxBitmap_Create 1038
+#define wxBitmap_GetDepth 1039
+#define wxBitmap_GetHeight 1040
+#define wxBitmap_GetPalette 1041
+#define wxBitmap_GetMask 1042
+#define wxBitmap_GetWidth 1043
+#define wxBitmap_GetSubBitmap 1044
+#define wxBitmap_LoadFile 1045
+#define wxBitmap_Ok 1046
+#define wxBitmap_SaveFile 1047
+#define wxBitmap_SetDepth 1048
+#define wxBitmap_SetHeight 1049
+#define wxBitmap_SetMask 1050
+#define wxBitmap_SetPalette 1051
+#define wxBitmap_SetWidth 1052
+#define wxIcon_new_0 1053
+#define wxIcon_new_2 1054
+#define wxIcon_new_1 1055
+#define wxIcon_CopyFromBitmap 1056
+#define wxIcon_destroy 1057
+#define wxIconBundle_new_0 1058
+#define wxIconBundle_new_2 1059
+#define wxIconBundle_new_1_0 1060
+#define wxIconBundle_new_1_1 1061
+#define wxIconBundle_destruct 1062
+#define wxIconBundle_AddIcon_2 1063
+#define wxIconBundle_AddIcon_1 1064
+#define wxIconBundle_GetIcon_1_1 1065
+#define wxIconBundle_GetIcon_1_0 1066
+#define wxCursor_new_0 1067
+#define wxCursor_new_1_0 1068
+#define wxCursor_new_1_1 1069
+#define wxCursor_new_4 1070
+#define wxCursor_destruct 1071
+#define wxCursor_Ok 1072
+#define wxMask_new_0 1073
+#define wxMask_new_2_1 1074
+#define wxMask_new_2_0 1075
+#define wxMask_new_1 1076
+#define wxMask_destruct 1077
+#define wxMask_Create_2_1 1078
+#define wxMask_Create_2_0 1079
+#define wxMask_Create_1 1080
+#define wxImage_new_0 1081
+#define wxImage_new_3_0 1082
+#define wxImage_new_4 1083
+#define wxImage_new_5 1084
+#define wxImage_new_2 1085
+#define wxImage_new_3_1 1086
+#define wxImage_Blur 1087
+#define wxImage_BlurHorizontal 1088
+#define wxImage_BlurVertical 1089
+#define wxImage_ConvertAlphaToMask 1090
+#define wxImage_ConvertToGreyscale 1091
+#define wxImage_ConvertToMono 1092
+#define wxImage_Copy 1093
+#define wxImage_Create_3 1094
+#define wxImage_Create_4 1095
+#define wxImage_Create_5 1096
+#define wxImage_Destroy 1097
+#define wxImage_FindFirstUnusedColour 1098
+#define wxImage_GetImageExtWildcard 1099
+#define wxImage_GetAlpha_2 1100
+#define wxImage_GetAlpha_0 1101
+#define wxImage_GetBlue 1102
+#define wxImage_GetData 1103
+#define wxImage_GetGreen 1104
+#define wxImage_GetImageCount 1105
+#define wxImage_GetHeight 1106
+#define wxImage_GetMaskBlue 1107
+#define wxImage_GetMaskGreen 1108
+#define wxImage_GetMaskRed 1109
+#define wxImage_GetOrFindMaskColour 1110
+#define wxImage_GetPalette 1111
+#define wxImage_GetRed 1112
+#define wxImage_GetSubImage 1113
+#define wxImage_GetWidth 1114
+#define wxImage_HasAlpha 1115
+#define wxImage_HasMask 1116
+#define wxImage_GetOption 1117
+#define wxImage_GetOptionInt 1118
+#define wxImage_HasOption 1119
+#define wxImage_InitAlpha 1120
+#define wxImage_InitStandardHandlers 1121
+#define wxImage_IsTransparent 1122
+#define wxImage_LoadFile_2 1123
+#define wxImage_LoadFile_3 1124
+#define wxImage_Ok 1125
+#define wxImage_RemoveHandler 1126
+#define wxImage_Mirror 1127
+#define wxImage_Replace 1128
+#define wxImage_Rescale 1129
+#define wxImage_Resize 1130
+#define wxImage_Rotate 1131
+#define wxImage_RotateHue 1132
+#define wxImage_Rotate90 1133
+#define wxImage_SaveFile_1 1134
+#define wxImage_SaveFile_2_0 1135
+#define wxImage_SaveFile_2_1 1136
+#define wxImage_Scale 1137
+#define wxImage_Size 1138
+#define wxImage_SetAlpha_3 1139
+#define wxImage_SetAlpha_2 1140
+#define wxImage_SetData_2 1141
+#define wxImage_SetData_4 1142
+#define wxImage_SetMask 1143
+#define wxImage_SetMaskColour 1144
+#define wxImage_SetMaskFromImage 1145
+#define wxImage_SetOption_2_1 1146
+#define wxImage_SetOption_2_0 1147
+#define wxImage_SetPalette 1148
+#define wxImage_SetRGB_5 1149
+#define wxImage_SetRGB_4 1150
+#define wxImage_destroy 1151
+#define wxBrush_new_0 1152
+#define wxBrush_new_2 1153
+#define wxBrush_new_1 1154
+#define wxBrush_destruct 1156
+#define wxBrush_GetColour 1157
+#define wxBrush_GetStipple 1158
+#define wxBrush_GetStyle 1159
+#define wxBrush_IsHatch 1160
+#define wxBrush_IsOk 1161
+#define wxBrush_SetColour_1 1162
+#define wxBrush_SetColour_3 1163
+#define wxBrush_SetStipple 1164
+#define wxBrush_SetStyle 1165
+#define wxPen_new_0 1166
+#define wxPen_new_2 1167
+#define wxPen_destruct 1168
+#define wxPen_GetCap 1169
+#define wxPen_GetColour 1170
+#define wxPen_GetJoin 1171
+#define wxPen_GetStyle 1172
+#define wxPen_GetWidth 1173
+#define wxPen_IsOk 1174
+#define wxPen_SetCap 1175
+#define wxPen_SetColour_1 1176
+#define wxPen_SetColour_3 1177
+#define wxPen_SetJoin 1178
+#define wxPen_SetStyle 1179
+#define wxPen_SetWidth 1180
+#define wxRegion_new_0 1181
+#define wxRegion_new_4 1182
+#define wxRegion_new_2 1183
+#define wxRegion_new_1_1 1184
+#define wxRegion_new_1_0 1186
+#define wxRegion_destruct 1188
+#define wxRegion_Clear 1189
+#define wxRegion_Contains_2 1190
+#define wxRegion_Contains_1_0 1191
+#define wxRegion_Contains_4 1192
+#define wxRegion_Contains_1_1 1193
+#define wxRegion_ConvertToBitmap 1194
+#define wxRegion_GetBox 1195
+#define wxRegion_Intersect_4 1196
+#define wxRegion_Intersect_1_1 1197
+#define wxRegion_Intersect_1_0 1198
+#define wxRegion_IsEmpty 1199
+#define wxRegion_Subtract_4 1200
+#define wxRegion_Subtract_1_1 1201
+#define wxRegion_Subtract_1_0 1202
+#define wxRegion_Offset_2 1203
+#define wxRegion_Offset_1 1204
+#define wxRegion_Union_4 1205
+#define wxRegion_Union_1_2 1206
+#define wxRegion_Union_1_1 1207
+#define wxRegion_Union_1_0 1208
+#define wxRegion_Union_3 1209
+#define wxRegion_Xor_4 1210
+#define wxRegion_Xor_1_1 1211
+#define wxRegion_Xor_1_0 1212
+#define wxAcceleratorTable_new_0 1213
+#define wxAcceleratorTable_new_2 1214
+#define wxAcceleratorTable_destruct 1215
+#define wxAcceleratorTable_Ok 1216
+#define wxAcceleratorEntry_new_1_0 1217
+#define wxAcceleratorEntry_new_1_1 1218
+#define wxAcceleratorEntry_GetCommand 1219
+#define wxAcceleratorEntry_GetFlags 1220
+#define wxAcceleratorEntry_GetKeyCode 1221
+#define wxAcceleratorEntry_Set 1222
+#define wxAcceleratorEntry_destroy 1223
+#define wxCaret_new_3 1228
+#define wxCaret_new_2 1229
+#define wxCaret_destruct 1231
+#define wxCaret_Create_3 1232
+#define wxCaret_Create_2 1233
+#define wxCaret_GetBlinkTime 1234
+#define wxCaret_GetPosition 1236
+#define wxCaret_GetSize 1238
+#define wxCaret_GetWindow 1239
+#define wxCaret_Hide 1240
+#define wxCaret_IsOk 1241
+#define wxCaret_IsVisible 1242
+#define wxCaret_Move_2 1243
+#define wxCaret_Move_1 1244
+#define wxCaret_SetBlinkTime 1245
+#define wxCaret_SetSize_2 1246
+#define wxCaret_SetSize_1 1247
+#define wxCaret_Show 1248
+#define wxSizer_Add_2_1 1249
+#define wxSizer_Add_2_0 1250
+#define wxSizer_Add_3 1251
+#define wxSizer_Add_2_3 1252
+#define wxSizer_Add_2_2 1253
+#define wxSizer_AddSpacer 1254
+#define wxSizer_AddStretchSpacer 1255
+#define wxSizer_CalcMin 1256
+#define wxSizer_Clear 1257
+#define wxSizer_Detach_1_2 1258
+#define wxSizer_Detach_1_1 1259
+#define wxSizer_Detach_1_0 1260
+#define wxSizer_Fit 1261
+#define wxSizer_FitInside 1262
+#define wxSizer_GetChildren 1263
+#define wxSizer_GetItem_2_1 1264
+#define wxSizer_GetItem_2_0 1265
+#define wxSizer_GetItem_1 1266
+#define wxSizer_GetSize 1267
+#define wxSizer_GetPosition 1268
+#define wxSizer_GetMinSize 1269
+#define wxSizer_Hide_2_0 1270
+#define wxSizer_Hide_2_1 1271
+#define wxSizer_Hide_1 1272
+#define wxSizer_Insert_3_1 1273
+#define wxSizer_Insert_3_0 1274
+#define wxSizer_Insert_4 1275
+#define wxSizer_Insert_3_3 1276
+#define wxSizer_Insert_3_2 1277
+#define wxSizer_Insert_2 1278
+#define wxSizer_InsertSpacer 1279
+#define wxSizer_InsertStretchSpacer 1280
+#define wxSizer_IsShown_1_2 1281
+#define wxSizer_IsShown_1_1 1282
+#define wxSizer_IsShown_1_0 1283
+#define wxSizer_Layout 1284
+#define wxSizer_Prepend_2_1 1285
+#define wxSizer_Prepend_2_0 1286
+#define wxSizer_Prepend_3 1287
+#define wxSizer_Prepend_2_3 1288
+#define wxSizer_Prepend_2_2 1289
+#define wxSizer_Prepend_1 1290
+#define wxSizer_PrependSpacer 1291
+#define wxSizer_PrependStretchSpacer 1292
+#define wxSizer_RecalcSizes 1293
+#define wxSizer_Remove_1_1 1294
+#define wxSizer_Remove_1_0 1295
+#define wxSizer_Replace_3_1 1296
+#define wxSizer_Replace_3_0 1297
+#define wxSizer_Replace_2 1298
+#define wxSizer_SetDimension 1299
+#define wxSizer_SetMinSize_2 1300
+#define wxSizer_SetMinSize_1 1301
+#define wxSizer_SetItemMinSize_3_2 1302
+#define wxSizer_SetItemMinSize_2_2 1303
+#define wxSizer_SetItemMinSize_3_1 1304
+#define wxSizer_SetItemMinSize_2_1 1305
+#define wxSizer_SetItemMinSize_3_0 1306
+#define wxSizer_SetItemMinSize_2_0 1307
+#define wxSizer_SetSizeHints 1308
+#define wxSizer_SetVirtualSizeHints 1309
+#define wxSizer_Show_2_2 1310
+#define wxSizer_Show_2_1 1311
+#define wxSizer_Show_2_0 1312
+#define wxSizer_Show_1 1313
+#define wxSizerFlags_new 1314
+#define wxSizerFlags_Align 1315
+#define wxSizerFlags_Border_2 1316
+#define wxSizerFlags_Border_1 1317
+#define wxSizerFlags_Center 1318
+#define wxSizerFlags_Centre 1319
+#define wxSizerFlags_Expand 1320
+#define wxSizerFlags_Left 1321
+#define wxSizerFlags_Proportion 1322
+#define wxSizerFlags_Right 1323
+#define wxSizerFlags_destroy 1324
+#define wxSizerItem_new_5_1 1325
+#define wxSizerItem_new_2_1 1326
+#define wxSizerItem_new_5_0 1327
+#define wxSizerItem_new_2_0 1328
+#define wxSizerItem_new_6 1329
+#define wxSizerItem_new_3 1330
+#define wxSizerItem_new_0 1331
+#define wxSizerItem_destruct 1332
+#define wxSizerItem_CalcMin 1333
+#define wxSizerItem_DeleteWindows 1334
+#define wxSizerItem_DetachSizer 1335
+#define wxSizerItem_GetBorder 1336
+#define wxSizerItem_GetFlag 1337
+#define wxSizerItem_GetMinSize 1338
+#define wxSizerItem_GetPosition 1339
+#define wxSizerItem_GetProportion 1340
+#define wxSizerItem_GetRatio 1341
+#define wxSizerItem_GetRect 1342
+#define wxSizerItem_GetSize 1343
+#define wxSizerItem_GetSizer 1344
+#define wxSizerItem_GetSpacer 1345
+#define wxSizerItem_GetUserData 1346
+#define wxSizerItem_GetWindow 1347
+#define wxSizerItem_IsSizer 1348
+#define wxSizerItem_IsShown 1349
+#define wxSizerItem_IsSpacer 1350
+#define wxSizerItem_IsWindow 1351
+#define wxSizerItem_SetBorder 1352
+#define wxSizerItem_SetDimension 1353
+#define wxSizerItem_SetFlag 1354
+#define wxSizerItem_SetInitSize 1355
+#define wxSizerItem_SetMinSize_1 1356
+#define wxSizerItem_SetMinSize_2 1357
+#define wxSizerItem_SetProportion 1358
+#define wxSizerItem_SetRatio_2 1359
+#define wxSizerItem_SetRatio_1_1 1360
+#define wxSizerItem_SetRatio_1_0 1361
+#define wxSizerItem_SetSizer 1362
+#define wxSizerItem_SetSpacer_1 1363
+#define wxSizerItem_SetSpacer_2 1364
+#define wxSizerItem_SetWindow 1365
+#define wxSizerItem_Show 1366
+#define wxBoxSizer_new 1367
+#define wxBoxSizer_GetOrientation 1368
+#define wxBoxSizer_destroy 1369
+#define wxStaticBoxSizer_new_2 1370
+#define wxStaticBoxSizer_new_3 1371
+#define wxStaticBoxSizer_GetStaticBox 1372
+#define wxStaticBoxSizer_destroy 1373
+#define wxGridSizer_new_4 1374
+#define wxGridSizer_new_2 1375
+#define wxGridSizer_GetCols 1376
+#define wxGridSizer_GetHGap 1377
+#define wxGridSizer_GetRows 1378
+#define wxGridSizer_GetVGap 1379
+#define wxGridSizer_SetCols 1380
+#define wxGridSizer_SetHGap 1381
+#define wxGridSizer_SetRows 1382
+#define wxGridSizer_SetVGap 1383
+#define wxGridSizer_destroy 1384
+#define wxFlexGridSizer_new_4 1385
+#define wxFlexGridSizer_new_2 1386
+#define wxFlexGridSizer_AddGrowableCol 1387
+#define wxFlexGridSizer_AddGrowableRow 1388
+#define wxFlexGridSizer_GetFlexibleDirection 1389
+#define wxFlexGridSizer_GetNonFlexibleGrowMode 1390
+#define wxFlexGridSizer_RemoveGrowableCol 1391
+#define wxFlexGridSizer_RemoveGrowableRow 1392
+#define wxFlexGridSizer_SetFlexibleDirection 1393
+#define wxFlexGridSizer_SetNonFlexibleGrowMode 1394
+#define wxFlexGridSizer_destroy 1395
+#define wxGridBagSizer_new 1396
+#define wxGridBagSizer_Add_3_2 1397
+#define wxGridBagSizer_Add_3_1 1398
+#define wxGridBagSizer_Add_4 1399
+#define wxGridBagSizer_Add_1_0 1400
+#define wxGridBagSizer_Add_2_1 1401
+#define wxGridBagSizer_Add_2_0 1402
+#define wxGridBagSizer_Add_3_0 1403
+#define wxGridBagSizer_Add_1_1 1404
+#define wxGridBagSizer_CalcMin 1405
+#define wxGridBagSizer_CheckForIntersection_2 1406
+#define wxGridBagSizer_CheckForIntersection_3 1407
+#define wxGridBagSizer_FindItem_1_1 1408
+#define wxGridBagSizer_FindItem_1_0 1409
+#define wxGridBagSizer_FindItemAtPoint 1410
+#define wxGridBagSizer_FindItemAtPosition 1411
+#define wxGridBagSizer_FindItemWithData 1412
+#define wxGridBagSizer_GetCellSize 1413
+#define wxGridBagSizer_GetEmptyCellSize 1414
+#define wxGridBagSizer_GetItemPosition_1_2 1415
+#define wxGridBagSizer_GetItemPosition_1_1 1416
+#define wxGridBagSizer_GetItemPosition_1_0 1417
+#define wxGridBagSizer_GetItemSpan_1_2 1418
+#define wxGridBagSizer_GetItemSpan_1_1 1419
+#define wxGridBagSizer_GetItemSpan_1_0 1420
+#define wxGridBagSizer_SetEmptyCellSize 1421
+#define wxGridBagSizer_SetItemPosition_2_2 1422
+#define wxGridBagSizer_SetItemPosition_2_1 1423
+#define wxGridBagSizer_SetItemPosition_2_0 1424
+#define wxGridBagSizer_SetItemSpan_2_2 1425
+#define wxGridBagSizer_SetItemSpan_2_1 1426
+#define wxGridBagSizer_SetItemSpan_2_0 1427
+#define wxGridBagSizer_destroy 1428
+#define wxStdDialogButtonSizer_new 1429
+#define wxStdDialogButtonSizer_AddButton 1430
+#define wxStdDialogButtonSizer_Realize 1431
+#define wxStdDialogButtonSizer_SetAffirmativeButton 1432
+#define wxStdDialogButtonSizer_SetCancelButton 1433
+#define wxStdDialogButtonSizer_SetNegativeButton 1434
+#define wxStdDialogButtonSizer_destroy 1435
+#define wxFont_new_0 1436
+#define wxFont_new_1 1437
+#define wxFont_new_5 1438
+#define wxFont_destruct 1440
+#define wxFont_IsFixedWidth 1441
+#define wxFont_GetDefaultEncoding 1442
+#define wxFont_GetFaceName 1443
+#define wxFont_GetFamily 1444
+#define wxFont_GetNativeFontInfoDesc 1445
+#define wxFont_GetNativeFontInfoUserDesc 1446
+#define wxFont_GetPointSize 1447
+#define wxFont_GetStyle 1448
+#define wxFont_GetUnderlined 1449
+#define wxFont_GetWeight 1450
+#define wxFont_Ok 1451
+#define wxFont_SetDefaultEncoding 1452
+#define wxFont_SetFaceName 1453
+#define wxFont_SetFamily 1454
+#define wxFont_SetPointSize 1455
+#define wxFont_SetStyle 1456
+#define wxFont_SetUnderlined 1457
+#define wxFont_SetWeight 1458
+#define wxToolTip_Enable 1459
+#define wxToolTip_SetDelay 1460
+#define wxToolTip_new 1461
+#define wxToolTip_SetTip 1462
+#define wxToolTip_GetTip 1463
+#define wxToolTip_GetWindow 1464
+#define wxToolTip_destroy 1465
+#define wxButton_new_3 1467
+#define wxButton_new_0 1468
+#define wxButton_destruct 1469
+#define wxButton_Create 1470
+#define wxButton_GetDefaultSize 1471
+#define wxButton_SetDefault 1472
+#define wxButton_SetLabel 1473
+#define wxBitmapButton_new_4 1475
+#define wxBitmapButton_new_0 1476
+#define wxBitmapButton_Create 1477
+#define wxBitmapButton_GetBitmapDisabled 1478
+#define wxBitmapButton_GetBitmapFocus 1480
+#define wxBitmapButton_GetBitmapLabel 1482
+#define wxBitmapButton_GetBitmapSelected 1484
+#define wxBitmapButton_SetBitmapDisabled 1486
+#define wxBitmapButton_SetBitmapFocus 1487
+#define wxBitmapButton_SetBitmapLabel 1488
+#define wxBitmapButton_SetBitmapSelected 1489
+#define wxBitmapButton_destroy 1490
+#define wxToggleButton_new_0 1491
+#define wxToggleButton_new_4 1492
+#define wxToggleButton_Create 1493
+#define wxToggleButton_GetValue 1494
+#define wxToggleButton_SetValue 1495
+#define wxToggleButton_destroy 1496
+#define wxCalendarCtrl_new_0 1497
+#define wxCalendarCtrl_new_3 1498
+#define wxCalendarCtrl_Create 1499
+#define wxCalendarCtrl_destruct 1500
+#define wxCalendarCtrl_SetDate 1501
+#define wxCalendarCtrl_GetDate 1502
+#define wxCalendarCtrl_EnableYearChange 1503
+#define wxCalendarCtrl_EnableMonthChange 1504
+#define wxCalendarCtrl_EnableHolidayDisplay 1505
+#define wxCalendarCtrl_SetHeaderColours 1506
+#define wxCalendarCtrl_GetHeaderColourFg 1507
+#define wxCalendarCtrl_GetHeaderColourBg 1508
+#define wxCalendarCtrl_SetHighlightColours 1509
+#define wxCalendarCtrl_GetHighlightColourFg 1510
+#define wxCalendarCtrl_GetHighlightColourBg 1511
+#define wxCalendarCtrl_SetHolidayColours 1512
+#define wxCalendarCtrl_GetHolidayColourFg 1513
+#define wxCalendarCtrl_GetHolidayColourBg 1514
+#define wxCalendarCtrl_GetAttr 1515
+#define wxCalendarCtrl_SetAttr 1516
+#define wxCalendarCtrl_SetHoliday 1517
+#define wxCalendarCtrl_ResetAttr 1518
+#define wxCalendarCtrl_HitTest 1519
+#define wxCalendarDateAttr_new_0 1520
+#define wxCalendarDateAttr_new_2_1 1521
+#define wxCalendarDateAttr_new_2_0 1522
+#define wxCalendarDateAttr_SetTextColour 1523
+#define wxCalendarDateAttr_SetBackgroundColour 1524
+#define wxCalendarDateAttr_SetBorderColour 1525
+#define wxCalendarDateAttr_SetFont 1526
+#define wxCalendarDateAttr_SetBorder 1527
+#define wxCalendarDateAttr_SetHoliday 1528
+#define wxCalendarDateAttr_HasTextColour 1529
+#define wxCalendarDateAttr_HasBackgroundColour 1530
+#define wxCalendarDateAttr_HasBorderColour 1531
+#define wxCalendarDateAttr_HasFont 1532
+#define wxCalendarDateAttr_HasBorder 1533
+#define wxCalendarDateAttr_IsHoliday 1534
+#define wxCalendarDateAttr_GetTextColour 1535
+#define wxCalendarDateAttr_GetBackgroundColour 1536
+#define wxCalendarDateAttr_GetBorderColour 1537
+#define wxCalendarDateAttr_GetFont 1538
+#define wxCalendarDateAttr_GetBorder 1539
+#define wxCalendarDateAttr_destroy 1540
+#define wxCheckBox_new_4 1542
+#define wxCheckBox_new_0 1543
+#define wxCheckBox_Create 1544
+#define wxCheckBox_GetValue 1545
+#define wxCheckBox_Get3StateValue 1546
+#define wxCheckBox_Is3rdStateAllowedForUser 1547
+#define wxCheckBox_Is3State 1548
+#define wxCheckBox_IsChecked 1549
+#define wxCheckBox_SetValue 1550
+#define wxCheckBox_Set3StateValue 1551
+#define wxCheckBox_destroy 1552
+#define wxCheckListBox_new_0 1553
+#define wxCheckListBox_new_3 1555
+#define wxCheckListBox_Check 1556
+#define wxCheckListBox_IsChecked 1557
+#define wxCheckListBox_destroy 1558
+#define wxChoice_new_3 1561
+#define wxChoice_new_0 1562
+#define wxChoice_destruct 1564
+#define wxChoice_Create 1566
+#define wxChoice_Delete 1567
+#define wxChoice_GetColumns 1568
+#define wxChoice_SetColumns 1569
+#define wxComboBox_new_0 1570
+#define wxComboBox_new_3 1572
+#define wxComboBox_destruct 1573
+#define wxComboBox_Create 1575
+#define wxComboBox_CanCopy 1576
+#define wxComboBox_CanCut 1577
+#define wxComboBox_CanPaste 1578
+#define wxComboBox_CanRedo 1579
+#define wxComboBox_CanUndo 1580
+#define wxComboBox_Copy 1581
+#define wxComboBox_Cut 1582
+#define wxComboBox_GetInsertionPoint 1583
+#define wxComboBox_GetLastPosition 1584
+#define wxComboBox_GetValue 1585
+#define wxComboBox_Paste 1586
+#define wxComboBox_Redo 1587
+#define wxComboBox_Replace 1588
+#define wxComboBox_Remove 1589
+#define wxComboBox_SetInsertionPoint 1590
+#define wxComboBox_SetInsertionPointEnd 1591
+#define wxComboBox_SetSelection_1 1592
+#define wxComboBox_SetSelection_2 1593
+#define wxComboBox_SetValue 1594
+#define wxComboBox_Undo 1595
+#define wxGauge_new_0 1596
+#define wxGauge_new_4 1597
+#define wxGauge_Create 1598
+#define wxGauge_GetBezelFace 1599
+#define wxGauge_GetRange 1600
+#define wxGauge_GetShadowWidth 1601
+#define wxGauge_GetValue 1602
+#define wxGauge_IsVertical 1603
+#define wxGauge_SetBezelFace 1604
+#define wxGauge_SetRange 1605
+#define wxGauge_SetShadowWidth 1606
+#define wxGauge_SetValue 1607
+#define wxGauge_Pulse 1608
+#define wxGauge_destroy 1609
+#define wxGenericDirCtrl_new_0 1610
+#define wxGenericDirCtrl_new_2 1611
+#define wxGenericDirCtrl_destruct 1612
+#define wxGenericDirCtrl_Create 1613
+#define wxGenericDirCtrl_Init 1614
+#define wxGenericDirCtrl_CollapseTree 1615
+#define wxGenericDirCtrl_ExpandPath 1616
+#define wxGenericDirCtrl_GetDefaultPath 1617
+#define wxGenericDirCtrl_GetPath 1618
+#define wxGenericDirCtrl_GetFilePath 1619
+#define wxGenericDirCtrl_GetFilter 1620
+#define wxGenericDirCtrl_GetFilterIndex 1621
+#define wxGenericDirCtrl_GetRootId 1622
+#define wxGenericDirCtrl_GetTreeCtrl 1623
+#define wxGenericDirCtrl_ReCreateTree 1624
+#define wxGenericDirCtrl_SetDefaultPath 1625
+#define wxGenericDirCtrl_SetFilter 1626
+#define wxGenericDirCtrl_SetFilterIndex 1627
+#define wxGenericDirCtrl_SetPath 1628
+#define wxStaticBox_new_4 1630
+#define wxStaticBox_new_0 1631
+#define wxStaticBox_Create 1632
+#define wxStaticBox_destroy 1633
+#define wxStaticLine_new_2 1635
+#define wxStaticLine_new_0 1636
+#define wxStaticLine_Create 1637
+#define wxStaticLine_IsVertical 1638
+#define wxStaticLine_GetDefaultSize 1639
+#define wxStaticLine_destroy 1640
+#define wxListBox_new_3 1643
+#define wxListBox_new_0 1644
+#define wxListBox_destruct 1646
+#define wxListBox_Create 1648
+#define wxListBox_Deselect 1649
+#define wxListBox_GetSelections 1650
+#define wxListBox_InsertItems 1651
+#define wxListBox_IsSelected 1652
+#define wxListBox_Set 1654
+#define wxListBox_HitTest 1655
+#define wxListBox_SetFirstItem_1_0 1656
+#define wxListBox_SetFirstItem_1_1 1657
+#define wxListCtrl_new_0 1658
+#define wxListCtrl_new_2 1659
+#define wxListCtrl_Arrange 1660
+#define wxListCtrl_AssignImageList 1661
+#define wxListCtrl_ClearAll 1662
+#define wxListCtrl_Create 1663
+#define wxListCtrl_DeleteAllItems 1664
+#define wxListCtrl_DeleteColumn 1665
+#define wxListCtrl_DeleteItem 1666
+#define wxListCtrl_EditLabel 1667
+#define wxListCtrl_EnsureVisible 1668
+#define wxListCtrl_FindItem_3_0 1669
+#define wxListCtrl_FindItem_3_1 1670
+#define wxListCtrl_GetColumn 1671
+#define wxListCtrl_GetColumnCount 1672
+#define wxListCtrl_GetColumnWidth 1673
+#define wxListCtrl_GetCountPerPage 1674
+#define wxListCtrl_GetImageList 1675
+#define wxListCtrl_GetItem 1676
+#define wxListCtrl_GetItemBackgroundColour 1677
+#define wxListCtrl_GetItemCount 1678
+#define wxListCtrl_GetItemData 1679
+#define wxListCtrl_GetItemFont 1680
+#define wxListCtrl_GetItemPosition 1681
+#define wxListCtrl_GetItemRect 1682
+#define wxListCtrl_GetItemSpacing 1683
+#define wxListCtrl_GetItemState 1684
+#define wxListCtrl_GetItemText 1685
+#define wxListCtrl_GetItemTextColour 1686
+#define wxListCtrl_GetNextItem 1687
+#define wxListCtrl_GetSelectedItemCount 1688
+#define wxListCtrl_GetTextColour 1689
+#define wxListCtrl_GetTopItem 1690
+#define wxListCtrl_GetViewRect 1691
+#define wxListCtrl_HitTest 1692
+#define wxListCtrl_InsertColumn_2 1693
+#define wxListCtrl_InsertColumn_3 1694
+#define wxListCtrl_InsertItem_1 1695
+#define wxListCtrl_InsertItem_2_1 1696
+#define wxListCtrl_InsertItem_2_0 1697
+#define wxListCtrl_InsertItem_3 1698
+#define wxListCtrl_RefreshItem 1699
+#define wxListCtrl_RefreshItems 1700
+#define wxListCtrl_ScrollList 1701
+#define wxListCtrl_SetBackgroundColour 1702
+#define wxListCtrl_SetColumn 1703
+#define wxListCtrl_SetColumnWidth 1704
+#define wxListCtrl_SetImageList 1705
+#define wxListCtrl_SetItem_1 1706
+#define wxListCtrl_SetItem_4 1707
+#define wxListCtrl_SetItemBackgroundColour 1708
+#define wxListCtrl_SetItemCount 1709
+#define wxListCtrl_SetItemData 1710
+#define wxListCtrl_SetItemFont 1711
+#define wxListCtrl_SetItemImage 1712
+#define wxListCtrl_SetItemColumnImage 1713
+#define wxListCtrl_SetItemPosition 1714
+#define wxListCtrl_SetItemState 1715
+#define wxListCtrl_SetItemText 1716
+#define wxListCtrl_SetItemTextColour 1717
+#define wxListCtrl_SetSingleStyle 1718
+#define wxListCtrl_SetTextColour 1719
+#define wxListCtrl_SetWindowStyleFlag 1720
+#define wxListCtrl_SortItems 1721
+#define wxListCtrl_destroy 1722
+#define wxListView_ClearColumnImage 1723
+#define wxListView_Focus 1724
+#define wxListView_GetFirstSelected 1725
+#define wxListView_GetFocusedItem 1726
+#define wxListView_GetNextSelected 1727
+#define wxListView_IsSelected 1728
+#define wxListView_Select 1729
+#define wxListView_SetColumnImage 1730
+#define wxListItem_new_0 1731
+#define wxListItem_new_1 1732
+#define wxListItem_destruct 1733
+#define wxListItem_Clear 1734
+#define wxListItem_GetAlign 1735
+#define wxListItem_GetBackgroundColour 1736
+#define wxListItem_GetColumn 1737
+#define wxListItem_GetFont 1738
+#define wxListItem_GetId 1739
+#define wxListItem_GetImage 1740
+#define wxListItem_GetMask 1741
+#define wxListItem_GetState 1742
+#define wxListItem_GetText 1743
+#define wxListItem_GetTextColour 1744
+#define wxListItem_GetWidth 1745
+#define wxListItem_SetAlign 1746
+#define wxListItem_SetBackgroundColour 1747
+#define wxListItem_SetColumn 1748
+#define wxListItem_SetFont 1749
+#define wxListItem_SetId 1750
+#define wxListItem_SetImage 1751
+#define wxListItem_SetMask 1752
+#define wxListItem_SetState 1753
+#define wxListItem_SetStateMask 1754
+#define wxListItem_SetText 1755
+#define wxListItem_SetTextColour 1756
+#define wxListItem_SetWidth 1757
+#define wxImageList_new_0 1758
+#define wxImageList_new_3 1759
+#define wxImageList_Add_1 1760
+#define wxImageList_Add_2_0 1761
+#define wxImageList_Add_2_1 1762
+#define wxImageList_Create 1763
+#define wxImageList_Draw 1765
+#define wxImageList_GetBitmap 1766
+#define wxImageList_GetIcon 1767
+#define wxImageList_GetImageCount 1768
+#define wxImageList_GetSize 1769
+#define wxImageList_Remove 1770
+#define wxImageList_RemoveAll 1771
+#define wxImageList_Replace_2 1772
+#define wxImageList_Replace_3 1773
+#define wxImageList_destroy 1774
+#define wxTextAttr_new_0 1775
+#define wxTextAttr_new_2 1776
+#define wxTextAttr_GetAlignment 1777
+#define wxTextAttr_GetBackgroundColour 1778
+#define wxTextAttr_GetFont 1779
+#define wxTextAttr_GetLeftIndent 1780
+#define wxTextAttr_GetLeftSubIndent 1781
+#define wxTextAttr_GetRightIndent 1782
+#define wxTextAttr_GetTabs 1783
+#define wxTextAttr_GetTextColour 1784
+#define wxTextAttr_HasBackgroundColour 1785
+#define wxTextAttr_HasFont 1786
+#define wxTextAttr_HasTextColour 1787
+#define wxTextAttr_GetFlags 1788
+#define wxTextAttr_IsDefault 1789
+#define wxTextAttr_SetAlignment 1790
+#define wxTextAttr_SetBackgroundColour 1791
+#define wxTextAttr_SetFlags 1792
+#define wxTextAttr_SetFont 1793
+#define wxTextAttr_SetLeftIndent 1794
+#define wxTextAttr_SetRightIndent 1795
+#define wxTextAttr_SetTabs 1796
+#define wxTextAttr_SetTextColour 1797
+#define wxTextAttr_destroy 1798
+#define wxTextCtrl_new_3 1800
+#define wxTextCtrl_new_0 1801
+#define wxTextCtrl_destruct 1803
+#define wxTextCtrl_AppendText 1804
+#define wxTextCtrl_CanCopy 1805
+#define wxTextCtrl_CanCut 1806
+#define wxTextCtrl_CanPaste 1807
+#define wxTextCtrl_CanRedo 1808
+#define wxTextCtrl_CanUndo 1809
+#define wxTextCtrl_Clear 1810
+#define wxTextCtrl_Copy 1811
+#define wxTextCtrl_Create 1812
+#define wxTextCtrl_Cut 1813
+#define wxTextCtrl_DiscardEdits 1814
+#define wxTextCtrl_EmulateKeyPress 1815
+#define wxTextCtrl_GetDefaultStyle 1816
+#define wxTextCtrl_GetInsertionPoint 1817
+#define wxTextCtrl_GetLastPosition 1818
+#define wxTextCtrl_GetLineLength 1819
+#define wxTextCtrl_GetLineText 1820
+#define wxTextCtrl_GetNumberOfLines 1821
+#define wxTextCtrl_GetRange 1822
+#define wxTextCtrl_GetSelection 1823
+#define wxTextCtrl_GetStringSelection 1824
+#define wxTextCtrl_GetStyle 1825
+#define wxTextCtrl_GetValue 1826
+#define wxTextCtrl_IsEditable 1827
+#define wxTextCtrl_IsModified 1828
+#define wxTextCtrl_IsMultiLine 1829
+#define wxTextCtrl_IsSingleLine 1830
+#define wxTextCtrl_LoadFile 1831
+#define wxTextCtrl_MarkDirty 1832
+#define wxTextCtrl_Paste 1833
+#define wxTextCtrl_PositionToXY 1834
+#define wxTextCtrl_Redo 1835
+#define wxTextCtrl_Remove 1836
+#define wxTextCtrl_Replace 1837
+#define wxTextCtrl_SaveFile 1838
+#define wxTextCtrl_SetDefaultStyle 1839
+#define wxTextCtrl_SetEditable 1840
+#define wxTextCtrl_SetInsertionPoint 1841
+#define wxTextCtrl_SetInsertionPointEnd 1842
+#define wxTextCtrl_SetMaxLength 1844
+#define wxTextCtrl_SetSelection 1845
+#define wxTextCtrl_SetStyle 1846
+#define wxTextCtrl_SetValue 1847
+#define wxTextCtrl_ShowPosition 1848
+#define wxTextCtrl_Undo 1849
+#define wxTextCtrl_WriteText 1850
+#define wxTextCtrl_XYToPosition 1851
+#define wxNotebook_new_0 1854
+#define wxNotebook_new_3 1855
+#define wxNotebook_destruct 1856
+#define wxNotebook_AddPage 1857
+#define wxNotebook_AdvanceSelection 1858
+#define wxNotebook_AssignImageList 1859
+#define wxNotebook_Create 1860
+#define wxNotebook_DeleteAllPages 1861
+#define wxNotebook_DeletePage 1862
+#define wxNotebook_RemovePage 1863
+#define wxNotebook_GetCurrentPage 1864
+#define wxNotebook_GetImageList 1865
+#define wxNotebook_GetPage 1867
+#define wxNotebook_GetPageCount 1868
+#define wxNotebook_GetPageImage 1869
+#define wxNotebook_GetPageText 1870
+#define wxNotebook_GetRowCount 1871
+#define wxNotebook_GetSelection 1872
+#define wxNotebook_GetThemeBackgroundColour 1873
+#define wxNotebook_HitTest 1875
+#define wxNotebook_InsertPage 1877
+#define wxNotebook_SetImageList 1878
+#define wxNotebook_SetPadding 1879
+#define wxNotebook_SetPageSize 1880
+#define wxNotebook_SetPageImage 1881
+#define wxNotebook_SetPageText 1882
+#define wxNotebook_SetSelection 1883
+#define wxNotebook_ChangeSelection 1884
+#define wxChoicebook_new_0 1885
+#define wxChoicebook_new_3 1886
+#define wxChoicebook_AddPage 1887
+#define wxChoicebook_AdvanceSelection 1888
+#define wxChoicebook_AssignImageList 1889
+#define wxChoicebook_Create 1890
+#define wxChoicebook_DeleteAllPages 1891
+#define wxChoicebook_DeletePage 1892
+#define wxChoicebook_RemovePage 1893
+#define wxChoicebook_GetCurrentPage 1894
+#define wxChoicebook_GetImageList 1895
+#define wxChoicebook_GetPage 1897
+#define wxChoicebook_GetPageCount 1898
+#define wxChoicebook_GetPageImage 1899
+#define wxChoicebook_GetPageText 1900
+#define wxChoicebook_GetSelection 1901
+#define wxChoicebook_HitTest 1902
+#define wxChoicebook_InsertPage 1903
+#define wxChoicebook_SetImageList 1904
+#define wxChoicebook_SetPageSize 1905
+#define wxChoicebook_SetPageImage 1906
+#define wxChoicebook_SetPageText 1907
+#define wxChoicebook_SetSelection 1908
+#define wxChoicebook_ChangeSelection 1909
+#define wxChoicebook_destroy 1910
+#define wxToolbook_new_0 1911
+#define wxToolbook_new_3 1912
+#define wxToolbook_AddPage 1913
+#define wxToolbook_AdvanceSelection 1914
+#define wxToolbook_AssignImageList 1915
+#define wxToolbook_Create 1916
+#define wxToolbook_DeleteAllPages 1917
+#define wxToolbook_DeletePage 1918
+#define wxToolbook_RemovePage 1919
+#define wxToolbook_GetCurrentPage 1920
+#define wxToolbook_GetImageList 1921
+#define wxToolbook_GetPage 1923
+#define wxToolbook_GetPageCount 1924
+#define wxToolbook_GetPageImage 1925
+#define wxToolbook_GetPageText 1926
+#define wxToolbook_GetSelection 1927
+#define wxToolbook_HitTest 1929
+#define wxToolbook_InsertPage 1930
+#define wxToolbook_SetImageList 1931
+#define wxToolbook_SetPageSize 1932
+#define wxToolbook_SetPageImage 1933
+#define wxToolbook_SetPageText 1934
+#define wxToolbook_SetSelection 1935
+#define wxToolbook_ChangeSelection 1936
+#define wxToolbook_destroy 1937
+#define wxListbook_new_0 1938
+#define wxListbook_new_3 1939
+#define wxListbook_AddPage 1940
+#define wxListbook_AdvanceSelection 1941
+#define wxListbook_AssignImageList 1942
+#define wxListbook_Create 1943
+#define wxListbook_DeleteAllPages 1944
+#define wxListbook_DeletePage 1945
+#define wxListbook_RemovePage 1946
+#define wxListbook_GetCurrentPage 1947
+#define wxListbook_GetImageList 1948
+#define wxListbook_GetPage 1950
+#define wxListbook_GetPageCount 1951
+#define wxListbook_GetPageImage 1952
+#define wxListbook_GetPageText 1953
+#define wxListbook_GetSelection 1954
+#define wxListbook_HitTest 1956
+#define wxListbook_InsertPage 1957
+#define wxListbook_SetImageList 1958
+#define wxListbook_SetPageSize 1959
+#define wxListbook_SetPageImage 1960
+#define wxListbook_SetPageText 1961
+#define wxListbook_SetSelection 1962
+#define wxListbook_ChangeSelection 1963
+#define wxListbook_destroy 1964
+#define wxTreebook_new_0 1965
+#define wxTreebook_new_3 1966
+#define wxTreebook_AddPage 1967
+#define wxTreebook_AdvanceSelection 1968
+#define wxTreebook_AssignImageList 1969
+#define wxTreebook_Create 1970
+#define wxTreebook_DeleteAllPages 1971
+#define wxTreebook_DeletePage 1972
+#define wxTreebook_RemovePage 1973
+#define wxTreebook_GetCurrentPage 1974
+#define wxTreebook_GetImageList 1975
+#define wxTreebook_GetPage 1977
+#define wxTreebook_GetPageCount 1978
+#define wxTreebook_GetPageImage 1979
+#define wxTreebook_GetPageText 1980
+#define wxTreebook_GetSelection 1981
+#define wxTreebook_ExpandNode 1982
+#define wxTreebook_IsNodeExpanded 1983
+#define wxTreebook_HitTest 1985
+#define wxTreebook_InsertPage 1986
+#define wxTreebook_InsertSubPage 1987
+#define wxTreebook_SetImageList 1988
+#define wxTreebook_SetPageSize 1989
+#define wxTreebook_SetPageImage 1990
+#define wxTreebook_SetPageText 1991
+#define wxTreebook_SetSelection 1992
+#define wxTreebook_ChangeSelection 1993
+#define wxTreebook_destroy 1994
+#define wxTreeCtrl_new_2 1997
+#define wxTreeCtrl_new_0 1998
+#define wxTreeCtrl_destruct 2000
+#define wxTreeCtrl_AddRoot 2001
+#define wxTreeCtrl_AppendItem 2002
+#define wxTreeCtrl_AssignImageList 2003
+#define wxTreeCtrl_AssignStateImageList 2004
+#define wxTreeCtrl_Collapse 2005
+#define wxTreeCtrl_CollapseAndReset 2006
+#define wxTreeCtrl_Create 2007
+#define wxTreeCtrl_Delete 2008
+#define wxTreeCtrl_DeleteAllItems 2009
+#define wxTreeCtrl_DeleteChildren 2010
+#define wxTreeCtrl_EnsureVisible 2011
+#define wxTreeCtrl_Expand 2012
+#define wxTreeCtrl_GetBoundingRect 2013
+#define wxTreeCtrl_GetChildrenCount 2015
+#define wxTreeCtrl_GetCount 2016
+#define wxTreeCtrl_GetEditControl 2017
+#define wxTreeCtrl_GetFirstVisibleItem 2018
+#define wxTreeCtrl_GetImageList 2019
+#define wxTreeCtrl_GetIndent 2020
+#define wxTreeCtrl_GetItemBackgroundColour 2021
+#define wxTreeCtrl_GetItemData 2022
+#define wxTreeCtrl_GetItemFont 2023
+#define wxTreeCtrl_GetItemImage_1 2024
+#define wxTreeCtrl_GetItemImage_2 2025
+#define wxTreeCtrl_GetItemText 2026
+#define wxTreeCtrl_GetItemTextColour 2027
+#define wxTreeCtrl_GetLastChild 2028
+#define wxTreeCtrl_GetNextSibling 2029
+#define wxTreeCtrl_GetNextVisible 2030
+#define wxTreeCtrl_GetItemParent 2031
+#define wxTreeCtrl_GetPrevSibling 2032
+#define wxTreeCtrl_GetPrevVisible 2033
+#define wxTreeCtrl_GetRootItem 2034
+#define wxTreeCtrl_GetSelection 2035
+#define wxTreeCtrl_GetSelections 2036
+#define wxTreeCtrl_GetStateImageList 2037
+#define wxTreeCtrl_HitTest 2038
+#define wxTreeCtrl_InsertItem_4_1 2039
+#define wxTreeCtrl_InsertItem_4_0 2040
+#define wxTreeCtrl_IsBold 2041
+#define wxTreeCtrl_IsExpanded 2042
+#define wxTreeCtrl_IsSelected 2043
+#define wxTreeCtrl_IsVisible 2044
+#define wxTreeCtrl_ItemHasChildren 2045
+#define wxTreeCtrl_PrependItem 2046
+#define wxTreeCtrl_ScrollTo 2047
+#define wxTreeCtrl_SelectItem_1 2048
+#define wxTreeCtrl_SelectItem_2 2049
+#define wxTreeCtrl_SetIndent 2050
+#define wxTreeCtrl_SetImageList 2051
+#define wxTreeCtrl_SetItemBackgroundColour 2052
+#define wxTreeCtrl_SetItemBold 2053
+#define wxTreeCtrl_SetItemData 2054
+#define wxTreeCtrl_SetItemDropHighlight 2055
+#define wxTreeCtrl_SetItemFont 2056
+#define wxTreeCtrl_SetItemHasChildren 2057
+#define wxTreeCtrl_SetItemImage_2 2058
+#define wxTreeCtrl_SetItemImage_3 2059
+#define wxTreeCtrl_SetItemText 2060
+#define wxTreeCtrl_SetItemTextColour 2061
+#define wxTreeCtrl_SetStateImageList 2062
+#define wxTreeCtrl_SetWindowStyle 2063
+#define wxTreeCtrl_SortChildren 2064
+#define wxTreeCtrl_Toggle 2065
+#define wxTreeCtrl_ToggleItemSelection 2066
+#define wxTreeCtrl_Unselect 2067
+#define wxTreeCtrl_UnselectAll 2068
+#define wxTreeCtrl_UnselectItem 2069
+#define wxScrollBar_new_0 2070
+#define wxScrollBar_new_3 2071
+#define wxScrollBar_destruct 2072
+#define wxScrollBar_Create 2073
+#define wxScrollBar_GetRange 2074
+#define wxScrollBar_GetPageSize 2075
+#define wxScrollBar_GetThumbPosition 2076
+#define wxScrollBar_GetThumbSize 2077
+#define wxScrollBar_SetThumbPosition 2078
+#define wxScrollBar_SetScrollbar 2079
+#define wxSpinButton_new_2 2081
+#define wxSpinButton_new_0 2082
+#define wxSpinButton_Create 2083
+#define wxSpinButton_GetMax 2084
+#define wxSpinButton_GetMin 2085
+#define wxSpinButton_GetValue 2086
+#define wxSpinButton_SetRange 2087
+#define wxSpinButton_SetValue 2088
+#define wxSpinButton_destroy 2089
+#define wxSpinCtrl_new_0 2090
+#define wxSpinCtrl_new_2 2091
+#define wxSpinCtrl_Create 2093
+#define wxSpinCtrl_SetValue_1_1 2096
+#define wxSpinCtrl_SetValue_1_0 2097
+#define wxSpinCtrl_GetValue 2099
+#define wxSpinCtrl_SetRange 2101
+#define wxSpinCtrl_SetSelection 2102
+#define wxSpinCtrl_GetMin 2104
+#define wxSpinCtrl_GetMax 2106
+#define wxSpinCtrl_destroy 2107
+#define wxStaticText_new_0 2108
+#define wxStaticText_new_4 2109
+#define wxStaticText_Create 2110
+#define wxStaticText_GetLabel 2111
+#define wxStaticText_SetLabel 2112
+#define wxStaticText_Wrap 2113
+#define wxStaticText_destroy 2114
+#define wxStaticBitmap_new_0 2115
+#define wxStaticBitmap_new_4 2116
+#define wxStaticBitmap_Create 2117
+#define wxStaticBitmap_GetBitmap 2118
+#define wxStaticBitmap_SetBitmap 2119
+#define wxStaticBitmap_destroy 2120
+#define wxRadioBox_new 2121
+#define wxRadioBox_destruct 2123
+#define wxRadioBox_Create 2124
+#define wxRadioBox_Enable_2 2125
+#define wxRadioBox_Enable_1 2126
+#define wxRadioBox_GetSelection 2127
+#define wxRadioBox_GetString 2128
+#define wxRadioBox_SetSelection 2129
+#define wxRadioBox_Show_2 2130
+#define wxRadioBox_Show_1 2131
+#define wxRadioBox_GetColumnCount 2132
+#define wxRadioBox_GetItemHelpText 2133
+#define wxRadioBox_GetItemToolTip 2134
+#define wxRadioBox_GetItemFromPoint 2136
+#define wxRadioBox_GetRowCount 2137
+#define wxRadioBox_IsItemEnabled 2138
+#define wxRadioBox_IsItemShown 2139
+#define wxRadioBox_SetItemHelpText 2140
+#define wxRadioBox_SetItemToolTip 2141
+#define wxRadioButton_new_0 2142
+#define wxRadioButton_new_4 2143
+#define wxRadioButton_Create 2144
+#define wxRadioButton_GetValue 2145
+#define wxRadioButton_SetValue 2146
+#define wxRadioButton_destroy 2147
+#define wxSlider_new_6 2149
+#define wxSlider_new_0 2150
+#define wxSlider_Create 2151
+#define wxSlider_GetLineSize 2152
+#define wxSlider_GetMax 2153
+#define wxSlider_GetMin 2154
+#define wxSlider_GetPageSize 2155
+#define wxSlider_GetThumbLength 2156
+#define wxSlider_GetValue 2157
+#define wxSlider_SetLineSize 2158
+#define wxSlider_SetPageSize 2159
+#define wxSlider_SetRange 2160
+#define wxSlider_SetThumbLength 2161
+#define wxSlider_SetValue 2162
+#define wxSlider_destroy 2163
+#define wxDialog_new_4 2165
+#define wxDialog_new_0 2166
+#define wxDialog_destruct 2168
+#define wxDialog_Create 2169
+#define wxDialog_CreateButtonSizer 2170
+#define wxDialog_CreateStdDialogButtonSizer 2171
+#define wxDialog_EndModal 2172
+#define wxDialog_GetAffirmativeId 2173
+#define wxDialog_GetReturnCode 2174
+#define wxDialog_IsModal 2175
+#define wxDialog_SetAffirmativeId 2176
+#define wxDialog_SetReturnCode 2177
+#define wxDialog_Show 2178
+#define wxDialog_ShowModal 2179
+#define wxColourDialog_new_0 2180
+#define wxColourDialog_new_2 2181
+#define wxColourDialog_destruct 2182
+#define wxColourDialog_Create 2183
+#define wxColourDialog_GetColourData 2184
+#define wxColourData_new_0 2185
+#define wxColourData_new_1 2186
+#define wxColourData_destruct 2187
+#define wxColourData_GetChooseFull 2188
+#define wxColourData_GetColour 2189
+#define wxColourData_GetCustomColour 2191
+#define wxColourData_SetChooseFull 2192
+#define wxColourData_SetColour 2193
+#define wxColourData_SetCustomColour 2194
+#define wxPalette_new_0 2195
+#define wxPalette_new_4 2196
+#define wxPalette_destruct 2198
+#define wxPalette_Create 2199
+#define wxPalette_GetColoursCount 2200
+#define wxPalette_GetPixel 2201
+#define wxPalette_GetRGB 2202
+#define wxPalette_IsOk 2203
+#define wxDirDialog_new 2207
+#define wxDirDialog_destruct 2208
+#define wxDirDialog_GetPath 2209
+#define wxDirDialog_GetMessage 2210
+#define wxDirDialog_SetMessage 2211
+#define wxDirDialog_SetPath 2212
+#define wxFileDialog_new 2216
+#define wxFileDialog_destruct 2217
+#define wxFileDialog_GetDirectory 2218
+#define wxFileDialog_GetFilename 2219
+#define wxFileDialog_GetFilenames 2220
+#define wxFileDialog_GetFilterIndex 2221
+#define wxFileDialog_GetMessage 2222
+#define wxFileDialog_GetPath 2223
+#define wxFileDialog_GetPaths 2224
+#define wxFileDialog_GetWildcard 2225
+#define wxFileDialog_SetDirectory 2226
+#define wxFileDialog_SetFilename 2227
+#define wxFileDialog_SetFilterIndex 2228
+#define wxFileDialog_SetMessage 2229
+#define wxFileDialog_SetPath 2230
+#define wxFileDialog_SetWildcard 2231
+#define wxPickerBase_SetInternalMargin 2232
+#define wxPickerBase_GetInternalMargin 2233
+#define wxPickerBase_SetTextCtrlProportion 2234
+#define wxPickerBase_SetPickerCtrlProportion 2235
+#define wxPickerBase_GetTextCtrlProportion 2236
+#define wxPickerBase_GetPickerCtrlProportion 2237
+#define wxPickerBase_HasTextCtrl 2238
+#define wxPickerBase_GetTextCtrl 2239
+#define wxPickerBase_IsTextCtrlGrowable 2240
+#define wxPickerBase_SetPickerCtrlGrowable 2241
+#define wxPickerBase_SetTextCtrlGrowable 2242
+#define wxPickerBase_IsPickerCtrlGrowable 2243
+#define wxFilePickerCtrl_new_0 2244
+#define wxFilePickerCtrl_new_3 2245
+#define wxFilePickerCtrl_Create 2246
+#define wxFilePickerCtrl_GetPath 2247
+#define wxFilePickerCtrl_SetPath 2248
+#define wxFilePickerCtrl_destroy 2249
+#define wxDirPickerCtrl_new_0 2250
+#define wxDirPickerCtrl_new_3 2251
+#define wxDirPickerCtrl_Create 2252
+#define wxDirPickerCtrl_GetPath 2253
+#define wxDirPickerCtrl_SetPath 2254
+#define wxDirPickerCtrl_destroy 2255
+#define wxColourPickerCtrl_new_0 2256
+#define wxColourPickerCtrl_new_3 2257
+#define wxColourPickerCtrl_Create 2258
+#define wxColourPickerCtrl_GetColour 2259
+#define wxColourPickerCtrl_SetColour_1_1 2260
+#define wxColourPickerCtrl_SetColour_1_0 2261
+#define wxColourPickerCtrl_destroy 2262
+#define wxDatePickerCtrl_new_0 2263
+#define wxDatePickerCtrl_new_3 2264
+#define wxDatePickerCtrl_GetRange 2265
+#define wxDatePickerCtrl_GetValue 2266
+#define wxDatePickerCtrl_SetRange 2267
+#define wxDatePickerCtrl_SetValue 2268
+#define wxDatePickerCtrl_destroy 2269
+#define wxFontPickerCtrl_new_0 2270
+#define wxFontPickerCtrl_new_3 2271
+#define wxFontPickerCtrl_Create 2272
+#define wxFontPickerCtrl_GetSelectedFont 2273
+#define wxFontPickerCtrl_SetSelectedFont 2274
+#define wxFontPickerCtrl_GetMaxPointSize 2275
+#define wxFontPickerCtrl_SetMaxPointSize 2276
+#define wxFontPickerCtrl_destroy 2277
+#define wxFindReplaceDialog_new_0 2280
+#define wxFindReplaceDialog_new_4 2281
+#define wxFindReplaceDialog_destruct 2282
+#define wxFindReplaceDialog_Create 2283
+#define wxFindReplaceDialog_GetData 2284
+#define wxFindReplaceData_new_0 2285
+#define wxFindReplaceData_new_1 2286
+#define wxFindReplaceData_GetFindString 2287
+#define wxFindReplaceData_GetReplaceString 2288
+#define wxFindReplaceData_GetFlags 2289
+#define wxFindReplaceData_SetFlags 2290
+#define wxFindReplaceData_SetFindString 2291
+#define wxFindReplaceData_SetReplaceString 2292
+#define wxFindReplaceData_destroy 2293
+#define wxMultiChoiceDialog_new_0 2294
+#define wxMultiChoiceDialog_new_5 2296
+#define wxMultiChoiceDialog_GetSelections 2297
+#define wxMultiChoiceDialog_SetSelections 2298
+#define wxMultiChoiceDialog_destroy 2299
+#define wxSingleChoiceDialog_new_0 2300
+#define wxSingleChoiceDialog_new_5 2302
+#define wxSingleChoiceDialog_GetSelection 2303
+#define wxSingleChoiceDialog_GetStringSelection 2304
+#define wxSingleChoiceDialog_SetSelection 2305
+#define wxSingleChoiceDialog_destroy 2306
+#define wxTextEntryDialog_new 2307
+#define wxTextEntryDialog_GetValue 2308
+#define wxTextEntryDialog_SetValue 2309
+#define wxTextEntryDialog_destroy 2310
+#define wxPasswordEntryDialog_new 2311
+#define wxPasswordEntryDialog_destroy 2312
+#define wxFontData_new_0 2313
+#define wxFontData_new_1 2314
+#define wxFontData_destruct 2315
+#define wxFontData_EnableEffects 2316
+#define wxFontData_GetAllowSymbols 2317
+#define wxFontData_GetColour 2318
+#define wxFontData_GetChosenFont 2319
+#define wxFontData_GetEnableEffects 2320
+#define wxFontData_GetInitialFont 2321
+#define wxFontData_GetShowHelp 2322
+#define wxFontData_SetAllowSymbols 2323
+#define wxFontData_SetChosenFont 2324
+#define wxFontData_SetColour 2325
+#define wxFontData_SetInitialFont 2326
+#define wxFontData_SetRange 2327
+#define wxFontData_SetShowHelp 2328
+#define wxFontDialog_new_0 2332
+#define wxFontDialog_new_2 2334
+#define wxFontDialog_Create 2336
+#define wxFontDialog_GetFontData 2337
+#define wxFontDialog_destroy 2339
+#define wxProgressDialog_new 2340
+#define wxProgressDialog_destruct 2341
+#define wxProgressDialog_Resume 2342
+#define wxProgressDialog_Update_2 2343
+#define wxProgressDialog_Update_0 2344
+#define wxMessageDialog_new 2345
+#define wxMessageDialog_destruct 2346
+#define wxPageSetupDialog_new 2347
+#define wxPageSetupDialog_destruct 2348
+#define wxPageSetupDialog_GetPageSetupData 2349
+#define wxPageSetupDialog_ShowModal 2350
+#define wxPageSetupDialogData_new_0 2351
+#define wxPageSetupDialogData_new_1_0 2352
+#define wxPageSetupDialogData_new_1_1 2353
+#define wxPageSetupDialogData_destruct 2354
+#define wxPageSetupDialogData_EnableHelp 2355
+#define wxPageSetupDialogData_EnableMargins 2356
+#define wxPageSetupDialogData_EnableOrientation 2357
+#define wxPageSetupDialogData_EnablePaper 2358
+#define wxPageSetupDialogData_EnablePrinter 2359
+#define wxPageSetupDialogData_GetDefaultMinMargins 2360
+#define wxPageSetupDialogData_GetEnableMargins 2361
+#define wxPageSetupDialogData_GetEnableOrientation 2362
+#define wxPageSetupDialogData_GetEnablePaper 2363
+#define wxPageSetupDialogData_GetEnablePrinter 2364
+#define wxPageSetupDialogData_GetEnableHelp 2365
+#define wxPageSetupDialogData_GetDefaultInfo 2366
+#define wxPageSetupDialogData_GetMarginTopLeft 2367
+#define wxPageSetupDialogData_GetMarginBottomRight 2368
+#define wxPageSetupDialogData_GetMinMarginTopLeft 2369
+#define wxPageSetupDialogData_GetMinMarginBottomRight 2370
+#define wxPageSetupDialogData_GetPaperId 2371
+#define wxPageSetupDialogData_GetPaperSize 2372
+#define wxPageSetupDialogData_GetPrintData 2374
+#define wxPageSetupDialogData_IsOk 2375
+#define wxPageSetupDialogData_SetDefaultInfo 2376
+#define wxPageSetupDialogData_SetDefaultMinMargins 2377
+#define wxPageSetupDialogData_SetMarginTopLeft 2378
+#define wxPageSetupDialogData_SetMarginBottomRight 2379
+#define wxPageSetupDialogData_SetMinMarginTopLeft 2380
+#define wxPageSetupDialogData_SetMinMarginBottomRight 2381
+#define wxPageSetupDialogData_SetPaperId 2382
+#define wxPageSetupDialogData_SetPaperSize_1_1 2383
+#define wxPageSetupDialogData_SetPaperSize_1_0 2384
+#define wxPageSetupDialogData_SetPrintData 2385
+#define wxPrintDialog_new_2_0 2386
+#define wxPrintDialog_new_2_1 2387
+#define wxPrintDialog_destruct 2388
+#define wxPrintDialog_GetPrintDialogData 2389
+#define wxPrintDialog_GetPrintDC 2390
+#define wxPrintDialogData_new_0 2391
+#define wxPrintDialogData_new_1_1 2392
+#define wxPrintDialogData_new_1_0 2393
+#define wxPrintDialogData_destruct 2394
+#define wxPrintDialogData_EnableHelp 2395
+#define wxPrintDialogData_EnablePageNumbers 2396
+#define wxPrintDialogData_EnablePrintToFile 2397
+#define wxPrintDialogData_EnableSelection 2398
+#define wxPrintDialogData_GetAllPages 2399
+#define wxPrintDialogData_GetCollate 2400
+#define wxPrintDialogData_GetFromPage 2401
+#define wxPrintDialogData_GetMaxPage 2402
+#define wxPrintDialogData_GetMinPage 2403
+#define wxPrintDialogData_GetNoCopies 2404
+#define wxPrintDialogData_GetPrintData 2405
+#define wxPrintDialogData_GetPrintToFile 2406
+#define wxPrintDialogData_GetSelection 2407
+#define wxPrintDialogData_GetToPage 2408
+#define wxPrintDialogData_IsOk 2409
+#define wxPrintDialogData_SetCollate 2410
+#define wxPrintDialogData_SetFromPage 2411
+#define wxPrintDialogData_SetMaxPage 2412
+#define wxPrintDialogData_SetMinPage 2413
+#define wxPrintDialogData_SetNoCopies 2414
+#define wxPrintDialogData_SetPrintData 2415
+#define wxPrintDialogData_SetPrintToFile 2416
+#define wxPrintDialogData_SetSelection 2417
+#define wxPrintDialogData_SetToPage 2418
+#define wxPrintData_new_0 2419
+#define wxPrintData_new_1 2420
+#define wxPrintData_destruct 2421
+#define wxPrintData_GetCollate 2422
+#define wxPrintData_GetBin 2423
+#define wxPrintData_GetColour 2424
+#define wxPrintData_GetDuplex 2425
+#define wxPrintData_GetNoCopies 2426
+#define wxPrintData_GetOrientation 2427
+#define wxPrintData_GetPaperId 2428
+#define wxPrintData_GetPrinterName 2429
+#define wxPrintData_GetQuality 2430
+#define wxPrintData_IsOk 2431
+#define wxPrintData_SetBin 2432
+#define wxPrintData_SetCollate 2433
+#define wxPrintData_SetColour 2434
+#define wxPrintData_SetDuplex 2435
+#define wxPrintData_SetNoCopies 2436
+#define wxPrintData_SetOrientation 2437
+#define wxPrintData_SetPaperId 2438
+#define wxPrintData_SetPrinterName 2439
+#define wxPrintData_SetQuality 2440
+#define wxPrintPreview_new_2 2443
+#define wxPrintPreview_new_3 2444
+#define wxPrintPreview_destruct 2446
+#define wxPrintPreview_GetCanvas 2447
+#define wxPrintPreview_GetCurrentPage 2448
+#define wxPrintPreview_GetFrame 2449
+#define wxPrintPreview_GetMaxPage 2450
+#define wxPrintPreview_GetMinPage 2451
+#define wxPrintPreview_GetPrintout 2452
+#define wxPrintPreview_GetPrintoutForPrinting 2453
+#define wxPrintPreview_IsOk 2454
+#define wxPrintPreview_PaintPage 2455
+#define wxPrintPreview_Print 2456
+#define wxPrintPreview_RenderPage 2457
+#define wxPrintPreview_SetCanvas 2458
+#define wxPrintPreview_SetCurrentPage 2459
+#define wxPrintPreview_SetFrame 2460
+#define wxPrintPreview_SetPrintout 2461
+#define wxPrintPreview_SetZoom 2462
+#define wxPreviewFrame_new 2463
+#define wxPreviewFrame_destruct 2464
+#define wxPreviewFrame_CreateControlBar 2465
+#define wxPreviewFrame_CreateCanvas 2466
+#define wxPreviewFrame_Initialize 2467
+#define wxPreviewFrame_OnCloseWindow 2468
+#define wxPreviewControlBar_new 2469
+#define wxPreviewControlBar_destruct 2470
+#define wxPreviewControlBar_CreateButtons 2471
+#define wxPreviewControlBar_GetPrintPreview 2472
+#define wxPreviewControlBar_GetZoomControl 2473
+#define wxPreviewControlBar_SetZoomControl 2474
+#define wxPrinter_new 2476
+#define wxPrinter_CreateAbortWindow 2477
+#define wxPrinter_GetAbort 2478
+#define wxPrinter_GetLastError 2479
+#define wxPrinter_GetPrintDialogData 2480
+#define wxPrinter_Print 2481
+#define wxPrinter_PrintDialog 2482
+#define wxPrinter_ReportError 2483
+#define wxPrinter_Setup 2484
+#define wxPrinter_destroy 2485
+#define wxXmlResource_new_1 2486
+#define wxXmlResource_new_2 2487
+#define wxXmlResource_destruct 2488
+#define wxXmlResource_AttachUnknownControl 2489
+#define wxXmlResource_ClearHandlers 2490
+#define wxXmlResource_CompareVersion 2491
+#define wxXmlResource_Get 2492
+#define wxXmlResource_GetFlags 2493
+#define wxXmlResource_GetVersion 2494
+#define wxXmlResource_GetXRCID 2495
+#define wxXmlResource_InitAllHandlers 2496
+#define wxXmlResource_Load 2497
+#define wxXmlResource_LoadBitmap 2498
+#define wxXmlResource_LoadDialog_2 2499
+#define wxXmlResource_LoadDialog_3 2500
+#define wxXmlResource_LoadFrame_2 2501
+#define wxXmlResource_LoadFrame_3 2502
+#define wxXmlResource_LoadIcon 2503
+#define wxXmlResource_LoadMenu 2504
+#define wxXmlResource_LoadMenuBar_2 2505
+#define wxXmlResource_LoadMenuBar_1 2506
+#define wxXmlResource_LoadPanel_2 2507
+#define wxXmlResource_LoadPanel_3 2508
+#define wxXmlResource_LoadToolBar 2509
+#define wxXmlResource_Set 2510
+#define wxXmlResource_SetFlags 2511
+#define wxXmlResource_Unload 2512
+#define wxXmlResource_xrcctrl 2513
+#define wxHtmlEasyPrinting_new 2514
+#define wxHtmlEasyPrinting_destruct 2515
+#define wxHtmlEasyPrinting_GetPrintData 2516
+#define wxHtmlEasyPrinting_GetPageSetupData 2517
+#define wxHtmlEasyPrinting_PreviewFile 2518
+#define wxHtmlEasyPrinting_PreviewText 2519
+#define wxHtmlEasyPrinting_PrintFile 2520
+#define wxHtmlEasyPrinting_PrintText 2521
+#define wxHtmlEasyPrinting_PageSetup 2522
+#define wxHtmlEasyPrinting_SetFonts 2523
+#define wxHtmlEasyPrinting_SetHeader 2524
+#define wxHtmlEasyPrinting_SetFooter 2525
+#define wxGLCanvas_new_2 2527
+#define wxGLCanvas_new_3_1 2528
+#define wxGLCanvas_new_3_0 2529
+#define wxGLCanvas_GetContext 2530
+#define wxGLCanvas_SetCurrent 2532
+#define wxGLCanvas_SwapBuffers 2533
+#define wxGLCanvas_destroy 2534
+#define wxAuiManager_new 2535
+#define wxAuiManager_destruct 2536
+#define wxAuiManager_AddPane_2_1 2537
+#define wxAuiManager_AddPane_3 2538
+#define wxAuiManager_AddPane_2_0 2539
+#define wxAuiManager_DetachPane 2540
+#define wxAuiManager_GetAllPanes 2541
+#define wxAuiManager_GetArtProvider 2542
+#define wxAuiManager_GetDockSizeConstraint 2543
+#define wxAuiManager_GetFlags 2544
+#define wxAuiManager_GetManagedWindow 2545
+#define wxAuiManager_GetManager 2546
+#define wxAuiManager_GetPane_1_1 2547
+#define wxAuiManager_GetPane_1_0 2548
+#define wxAuiManager_HideHint 2549
+#define wxAuiManager_InsertPane 2550
+#define wxAuiManager_LoadPaneInfo 2551
+#define wxAuiManager_LoadPerspective 2552
+#define wxAuiManager_SavePaneInfo 2553
+#define wxAuiManager_SavePerspective 2554
+#define wxAuiManager_SetArtProvider 2555
+#define wxAuiManager_SetDockSizeConstraint 2556
+#define wxAuiManager_SetFlags 2557
+#define wxAuiManager_SetManagedWindow 2558
+#define wxAuiManager_ShowHint 2559
+#define wxAuiManager_UnInit 2560
+#define wxAuiManager_Update 2561
+#define wxAuiPaneInfo_new_0 2562
+#define wxAuiPaneInfo_new_1 2563
+#define wxAuiPaneInfo_destruct 2564
+#define wxAuiPaneInfo_BestSize_1 2565
+#define wxAuiPaneInfo_BestSize_2 2566
+#define wxAuiPaneInfo_Bottom 2567
+#define wxAuiPaneInfo_BottomDockable 2568
+#define wxAuiPaneInfo_Caption 2569
+#define wxAuiPaneInfo_CaptionVisible 2570
+#define wxAuiPaneInfo_Centre 2571
+#define wxAuiPaneInfo_CentrePane 2572
+#define wxAuiPaneInfo_CloseButton 2573
+#define wxAuiPaneInfo_DefaultPane 2574
+#define wxAuiPaneInfo_DestroyOnClose 2575
+#define wxAuiPaneInfo_Direction 2576
+#define wxAuiPaneInfo_Dock 2577
+#define wxAuiPaneInfo_Dockable 2578
+#define wxAuiPaneInfo_Fixed 2579
+#define wxAuiPaneInfo_Float 2580
+#define wxAuiPaneInfo_Floatable 2581
+#define wxAuiPaneInfo_FloatingPosition_1 2582
+#define wxAuiPaneInfo_FloatingPosition_2 2583
+#define wxAuiPaneInfo_FloatingSize_1 2584
+#define wxAuiPaneInfo_FloatingSize_2 2585
+#define wxAuiPaneInfo_Gripper 2586
+#define wxAuiPaneInfo_GripperTop 2587
+#define wxAuiPaneInfo_HasBorder 2588
+#define wxAuiPaneInfo_HasCaption 2589
+#define wxAuiPaneInfo_HasCloseButton 2590
+#define wxAuiPaneInfo_HasFlag 2591
+#define wxAuiPaneInfo_HasGripper 2592
+#define wxAuiPaneInfo_HasGripperTop 2593
+#define wxAuiPaneInfo_HasMaximizeButton 2594
+#define wxAuiPaneInfo_HasMinimizeButton 2595
+#define wxAuiPaneInfo_HasPinButton 2596
+#define wxAuiPaneInfo_Hide 2597
+#define wxAuiPaneInfo_IsBottomDockable 2598
+#define wxAuiPaneInfo_IsDocked 2599
+#define wxAuiPaneInfo_IsFixed 2600
+#define wxAuiPaneInfo_IsFloatable 2601
+#define wxAuiPaneInfo_IsFloating 2602
+#define wxAuiPaneInfo_IsLeftDockable 2603
+#define wxAuiPaneInfo_IsMovable 2604
+#define wxAuiPaneInfo_IsOk 2605
+#define wxAuiPaneInfo_IsResizable 2606
+#define wxAuiPaneInfo_IsRightDockable 2607
+#define wxAuiPaneInfo_IsShown 2608
+#define wxAuiPaneInfo_IsToolbar 2609
+#define wxAuiPaneInfo_IsTopDockable 2610
+#define wxAuiPaneInfo_Layer 2611
+#define wxAuiPaneInfo_Left 2612
+#define wxAuiPaneInfo_LeftDockable 2613
+#define wxAuiPaneInfo_MaxSize_1 2614
+#define wxAuiPaneInfo_MaxSize_2 2615
+#define wxAuiPaneInfo_MaximizeButton 2616
+#define wxAuiPaneInfo_MinSize_1 2617
+#define wxAuiPaneInfo_MinSize_2 2618
+#define wxAuiPaneInfo_MinimizeButton 2619
+#define wxAuiPaneInfo_Movable 2620
+#define wxAuiPaneInfo_Name 2621
+#define wxAuiPaneInfo_PaneBorder 2622
+#define wxAuiPaneInfo_PinButton 2623
+#define wxAuiPaneInfo_Position 2624
+#define wxAuiPaneInfo_Resizable 2625
+#define wxAuiPaneInfo_Right 2626
+#define wxAuiPaneInfo_RightDockable 2627
+#define wxAuiPaneInfo_Row 2628
+#define wxAuiPaneInfo_SafeSet 2629
+#define wxAuiPaneInfo_SetFlag 2630
+#define wxAuiPaneInfo_Show 2631
+#define wxAuiPaneInfo_ToolbarPane 2632
+#define wxAuiPaneInfo_Top 2633
+#define wxAuiPaneInfo_TopDockable 2634
+#define wxAuiPaneInfo_Window 2635
+#define wxAuiNotebook_new_0 2636
+#define wxAuiNotebook_new_2 2637
+#define wxAuiNotebook_AddPage 2638
+#define wxAuiNotebook_Create 2639
+#define wxAuiNotebook_DeletePage 2640
+#define wxAuiNotebook_GetArtProvider 2641
+#define wxAuiNotebook_GetPage 2642
+#define wxAuiNotebook_GetPageBitmap 2643
+#define wxAuiNotebook_GetPageCount 2644
+#define wxAuiNotebook_GetPageIndex 2645
+#define wxAuiNotebook_GetPageText 2646
+#define wxAuiNotebook_GetSelection 2647
+#define wxAuiNotebook_InsertPage 2648
+#define wxAuiNotebook_RemovePage 2649
+#define wxAuiNotebook_SetArtProvider 2650
+#define wxAuiNotebook_SetFont 2651
+#define wxAuiNotebook_SetPageBitmap 2652
+#define wxAuiNotebook_SetPageText 2653
+#define wxAuiNotebook_SetSelection 2654
+#define wxAuiNotebook_SetTabCtrlHeight 2655
+#define wxAuiNotebook_SetUniformBitmapSize 2656
+#define wxAuiNotebook_destroy 2657
+#define wxMDIParentFrame_new_0 2658
+#define wxMDIParentFrame_new_4 2659
+#define wxMDIParentFrame_destruct 2660
+#define wxMDIParentFrame_ActivateNext 2661
+#define wxMDIParentFrame_ActivatePrevious 2662
+#define wxMDIParentFrame_ArrangeIcons 2663
+#define wxMDIParentFrame_Cascade 2664
+#define wxMDIParentFrame_Create 2665
+#define wxMDIParentFrame_GetActiveChild 2666
+#define wxMDIParentFrame_GetClientWindow 2667
+#define wxMDIParentFrame_Tile 2668
+#define wxMDIChildFrame_new_0 2669
+#define wxMDIChildFrame_new_4 2670
+#define wxMDIChildFrame_destruct 2671
+#define wxMDIChildFrame_Activate 2672
+#define wxMDIChildFrame_Create 2673
+#define wxMDIChildFrame_Maximize 2674
+#define wxMDIChildFrame_Restore 2675
+#define wxMDIClientWindow_new_0 2676
+#define wxMDIClientWindow_new_2 2677
+#define wxMDIClientWindow_destruct 2678
+#define wxMDIClientWindow_CreateClient 2679
+#define wxLayoutAlgorithm_new 2680
+#define wxLayoutAlgorithm_LayoutFrame 2681
+#define wxLayoutAlgorithm_LayoutMDIFrame 2682
+#define wxLayoutAlgorithm_LayoutWindow 2683
+#define wxLayoutAlgorithm_destroy 2684
+#define wxEvent_GetId 2685
+#define wxEvent_GetSkipped 2686
+#define wxEvent_GetTimestamp 2687
+#define wxEvent_IsCommandEvent 2688
+#define wxEvent_ResumePropagation 2689
+#define wxEvent_ShouldPropagate 2690
+#define wxEvent_Skip 2691
+#define wxEvent_StopPropagation 2692
+#define wxCommandEvent_getClientData 2693
+#define wxCommandEvent_GetExtraLong 2694
+#define wxCommandEvent_GetInt 2695
+#define wxCommandEvent_GetSelection 2696
+#define wxCommandEvent_GetString 2697
+#define wxCommandEvent_IsChecked 2698
+#define wxCommandEvent_IsSelection 2699
+#define wxCommandEvent_SetInt 2700
+#define wxCommandEvent_SetString 2701
+#define wxScrollEvent_GetOrientation 2702
+#define wxScrollEvent_GetPosition 2703
+#define wxScrollWinEvent_GetOrientation 2704
+#define wxScrollWinEvent_GetPosition 2705
+#define wxMouseEvent_AltDown 2706
+#define wxMouseEvent_Button 2707
+#define wxMouseEvent_ButtonDClick 2708
+#define wxMouseEvent_ButtonDown 2709
+#define wxMouseEvent_ButtonUp 2710
+#define wxMouseEvent_CmdDown 2711
+#define wxMouseEvent_ControlDown 2712
+#define wxMouseEvent_Dragging 2713
+#define wxMouseEvent_Entering 2714
+#define wxMouseEvent_GetButton 2715
+#define wxMouseEvent_GetPosition 2718
+#define wxMouseEvent_GetLogicalPosition 2719
+#define wxMouseEvent_GetLinesPerAction 2720
+#define wxMouseEvent_GetWheelRotation 2721
+#define wxMouseEvent_GetWheelDelta 2722
+#define wxMouseEvent_GetX 2723
+#define wxMouseEvent_GetY 2724
+#define wxMouseEvent_IsButton 2725
+#define wxMouseEvent_IsPageScroll 2726
+#define wxMouseEvent_Leaving 2727
+#define wxMouseEvent_LeftDClick 2728
+#define wxMouseEvent_LeftDown 2729
+#define wxMouseEvent_LeftIsDown 2730
+#define wxMouseEvent_LeftUp 2731
+#define wxMouseEvent_MetaDown 2732
+#define wxMouseEvent_MiddleDClick 2733
+#define wxMouseEvent_MiddleDown 2734
+#define wxMouseEvent_MiddleIsDown 2735
+#define wxMouseEvent_MiddleUp 2736
+#define wxMouseEvent_Moving 2737
+#define wxMouseEvent_RightDClick 2738
+#define wxMouseEvent_RightDown 2739
+#define wxMouseEvent_RightIsDown 2740
+#define wxMouseEvent_RightUp 2741
+#define wxMouseEvent_ShiftDown 2742
+#define wxSetCursorEvent_GetCursor 2743
+#define wxSetCursorEvent_GetX 2744
+#define wxSetCursorEvent_GetY 2745
+#define wxSetCursorEvent_HasCursor 2746
+#define wxSetCursorEvent_SetCursor 2747
+#define wxKeyEvent_AltDown 2748
+#define wxKeyEvent_CmdDown 2749
+#define wxKeyEvent_ControlDown 2750
+#define wxKeyEvent_GetKeyCode 2751
+#define wxKeyEvent_GetModifiers 2752
+#define wxKeyEvent_GetPosition 2755
+#define wxKeyEvent_GetRawKeyCode 2756
+#define wxKeyEvent_GetRawKeyFlags 2757
+#define wxKeyEvent_GetUnicodeKey 2758
+#define wxKeyEvent_GetX 2759
+#define wxKeyEvent_GetY 2760
+#define wxKeyEvent_HasModifiers 2761
+#define wxKeyEvent_MetaDown 2762
+#define wxKeyEvent_ShiftDown 2763
+#define wxSizeEvent_GetSize 2764
+#define wxMoveEvent_GetPosition 2765
+#define wxEraseEvent_GetDC 2766
+#define wxFocusEvent_GetWindow 2767
+#define wxChildFocusEvent_GetWindow 2768
+#define wxMenuEvent_GetMenu 2769
+#define wxMenuEvent_GetMenuId 2770
+#define wxMenuEvent_IsPopup 2771
+#define wxCloseEvent_CanVeto 2772
+#define wxCloseEvent_GetLoggingOff 2773
+#define wxCloseEvent_SetCanVeto 2774
+#define wxCloseEvent_SetLoggingOff 2775
+#define wxCloseEvent_Veto 2776
+#define wxShowEvent_SetShow 2777
+#define wxShowEvent_GetShow 2778
+#define wxIconizeEvent_Iconized 2779
+#define wxJoystickEvent_ButtonDown 2780
+#define wxJoystickEvent_ButtonIsDown 2781
+#define wxJoystickEvent_ButtonUp 2782
+#define wxJoystickEvent_GetButtonChange 2783
+#define wxJoystickEvent_GetButtonState 2784
+#define wxJoystickEvent_GetJoystick 2785
+#define wxJoystickEvent_GetPosition 2786
+#define wxJoystickEvent_GetZPosition 2787
+#define wxJoystickEvent_IsButton 2788
+#define wxJoystickEvent_IsMove 2789
+#define wxJoystickEvent_IsZMove 2790
+#define wxUpdateUIEvent_CanUpdate 2791
+#define wxUpdateUIEvent_Check 2792
+#define wxUpdateUIEvent_Enable 2793
+#define wxUpdateUIEvent_Show 2794
+#define wxUpdateUIEvent_GetChecked 2795
+#define wxUpdateUIEvent_GetEnabled 2796
+#define wxUpdateUIEvent_GetShown 2797
+#define wxUpdateUIEvent_GetSetChecked 2798
+#define wxUpdateUIEvent_GetSetEnabled 2799
+#define wxUpdateUIEvent_GetSetShown 2800
+#define wxUpdateUIEvent_GetSetText 2801
+#define wxUpdateUIEvent_GetText 2802
+#define wxUpdateUIEvent_GetMode 2803
+#define wxUpdateUIEvent_GetUpdateInterval 2804
+#define wxUpdateUIEvent_ResetUpdateTime 2805
+#define wxUpdateUIEvent_SetMode 2806
+#define wxUpdateUIEvent_SetText 2807
+#define wxUpdateUIEvent_SetUpdateInterval 2808
+#define wxMouseCaptureChangedEvent_GetCapturedWindow 2809
+#define wxPaletteChangedEvent_SetChangedWindow 2810
+#define wxPaletteChangedEvent_GetChangedWindow 2811
+#define wxQueryNewPaletteEvent_SetPaletteRealized 2812
+#define wxQueryNewPaletteEvent_GetPaletteRealized 2813
+#define wxNavigationKeyEvent_GetDirection 2814
+#define wxNavigationKeyEvent_SetDirection 2815
+#define wxNavigationKeyEvent_IsWindowChange 2816
+#define wxNavigationKeyEvent_SetWindowChange 2817
+#define wxNavigationKeyEvent_IsFromTab 2818
+#define wxNavigationKeyEvent_SetFromTab 2819
+#define wxNavigationKeyEvent_GetCurrentFocus 2820
+#define wxNavigationKeyEvent_SetCurrentFocus 2821
+#define wxHelpEvent_GetOrigin 2822
+#define wxHelpEvent_GetPosition 2823
+#define wxHelpEvent_SetOrigin 2824
+#define wxHelpEvent_SetPosition 2825
+#define wxContextMenuEvent_GetPosition 2826
+#define wxContextMenuEvent_SetPosition 2827
+#define wxIdleEvent_CanSend 2828
+#define wxIdleEvent_GetMode 2829
+#define wxIdleEvent_RequestMore 2830
+#define wxIdleEvent_MoreRequested 2831
+#define wxIdleEvent_SetMode 2832
+#define wxGridEvent_AltDown 2833
+#define wxGridEvent_ControlDown 2834
+#define wxGridEvent_GetCol 2835
+#define wxGridEvent_GetPosition 2836
+#define wxGridEvent_GetRow 2837
+#define wxGridEvent_MetaDown 2838
+#define wxGridEvent_Selecting 2839
+#define wxGridEvent_ShiftDown 2840
+#define wxNotifyEvent_Allow 2841
+#define wxNotifyEvent_IsAllowed 2842
+#define wxNotifyEvent_Veto 2843
+#define wxSashEvent_GetEdge 2844
+#define wxSashEvent_GetDragRect 2845
+#define wxSashEvent_GetDragStatus 2846
+#define wxListEvent_GetCacheFrom 2847
+#define wxListEvent_GetCacheTo 2848
+#define wxListEvent_GetKeyCode 2849
+#define wxListEvent_GetIndex 2850
+#define wxListEvent_GetColumn 2851
+#define wxListEvent_GetPoint 2852
+#define wxListEvent_GetLabel 2853
+#define wxListEvent_GetText 2854
+#define wxListEvent_GetImage 2855
+#define wxListEvent_GetData 2856
+#define wxListEvent_GetMask 2857
+#define wxListEvent_GetItem 2858
+#define wxListEvent_IsEditCancelled 2859
+#define wxDateEvent_GetDate 2860
+#define wxCalendarEvent_GetWeekDay 2861
+#define wxFileDirPickerEvent_GetPath 2862
+#define wxColourPickerEvent_GetColour 2863
+#define wxFontPickerEvent_GetFont 2864
+#define wxStyledTextEvent_GetPosition 2865
+#define wxStyledTextEvent_GetKey 2866
+#define wxStyledTextEvent_GetModifiers 2867
+#define wxStyledTextEvent_GetModificationType 2868
+#define wxStyledTextEvent_GetText 2869
+#define wxStyledTextEvent_GetLength 2870
+#define wxStyledTextEvent_GetLinesAdded 2871
+#define wxStyledTextEvent_GetLine 2872
+#define wxStyledTextEvent_GetFoldLevelNow 2873
+#define wxStyledTextEvent_GetFoldLevelPrev 2874
+#define wxStyledTextEvent_GetMargin 2875
+#define wxStyledTextEvent_GetMessage 2876
+#define wxStyledTextEvent_GetWParam 2877
+#define wxStyledTextEvent_GetLParam 2878
+#define wxStyledTextEvent_GetListType 2879
+#define wxStyledTextEvent_GetX 2880
+#define wxStyledTextEvent_GetY 2881
+#define wxStyledTextEvent_GetDragText 2882
+#define wxStyledTextEvent_GetDragAllowMove 2883
+#define wxStyledTextEvent_GetDragResult 2884
+#define wxStyledTextEvent_GetShift 2885
+#define wxStyledTextEvent_GetControl 2886
+#define wxStyledTextEvent_GetAlt 2887
+#define utils_wxGetKeyState 2888
+#define utils_wxGetMousePosition 2889
+#define utils_wxGetMouseState 2890
+#define utils_wxSetDetectableAutoRepeat 2891
+#define utils_wxBell 2892
+#define utils_wxFindMenuItemId 2893
+#define utils_wxGenericFindWindowAtPoint 2894
+#define utils_wxFindWindowAtPoint 2895
+#define utils_wxBeginBusyCursor 2896
+#define utils_wxEndBusyCursor 2897
+#define utils_wxIsBusy 2898
+#define utils_wxShutdown 2899
+#define utils_wxShell 2900
+#define utils_wxLaunchDefaultBrowser 2901
+#define utils_wxGetEmailAddress 2902
+#define utils_wxGetUserId 2903
+#define utils_wxGetHomeDir 2904
+#define utils_wxNewId 2905
+#define utils_wxRegisterId 2906
+#define utils_wxGetCurrentId 2907
+#define utils_wxGetOsDescription 2908
+#define utils_wxIsPlatformLittleEndian 2909
+#define utils_wxIsPlatform64Bit 2910
+#define wxPrintout_new 2911
+#define wxPrintout_destruct 2912
+#define wxPrintout_GetDC 2913
+#define wxPrintout_GetPageSizeMM 2914
+#define wxPrintout_GetPageSizePixels 2915
+#define wxPrintout_GetPaperRectPixels 2916
+#define wxPrintout_GetPPIPrinter 2917
+#define wxPrintout_GetPPIScreen 2918
+#define wxPrintout_GetTitle 2919
+#define wxPrintout_IsPreview 2920
+#define wxPrintout_FitThisSizeToPaper 2921
+#define wxPrintout_FitThisSizeToPage 2922
+#define wxPrintout_FitThisSizeToPageMargins 2923
+#define wxPrintout_MapScreenSizeToPaper 2924
+#define wxPrintout_MapScreenSizeToPage 2925
+#define wxPrintout_MapScreenSizeToPageMargins 2926
+#define wxPrintout_MapScreenSizeToDevice 2927
+#define wxPrintout_GetLogicalPaperRect 2928
+#define wxPrintout_GetLogicalPageRect 2929
+#define wxPrintout_GetLogicalPageMarginsRect 2930
+#define wxPrintout_SetLogicalOrigin 2931
+#define wxPrintout_OffsetLogicalOrigin 2932
+#define wxStyledTextCtrl_new_2 2933
+#define wxStyledTextCtrl_new_0 2934
+#define wxStyledTextCtrl_destruct 2935
+#define wxStyledTextCtrl_Create 2936
+#define wxStyledTextCtrl_AddText 2937
+#define wxStyledTextCtrl_AddStyledText 2938
+#define wxStyledTextCtrl_InsertText 2939
+#define wxStyledTextCtrl_ClearAll 2940
+#define wxStyledTextCtrl_ClearDocumentStyle 2941
+#define wxStyledTextCtrl_GetLength 2942
+#define wxStyledTextCtrl_GetCharAt 2943
+#define wxStyledTextCtrl_GetCurrentPos 2944
+#define wxStyledTextCtrl_GetAnchor 2945
+#define wxStyledTextCtrl_GetStyleAt 2946
+#define wxStyledTextCtrl_Redo 2947
+#define wxStyledTextCtrl_SetUndoCollection 2948
+#define wxStyledTextCtrl_SelectAll 2949
+#define wxStyledTextCtrl_SetSavePoint 2950
+#define wxStyledTextCtrl_GetStyledText 2951
+#define wxStyledTextCtrl_CanRedo 2952
+#define wxStyledTextCtrl_MarkerLineFromHandle 2953
+#define wxStyledTextCtrl_MarkerDeleteHandle 2954
+#define wxStyledTextCtrl_GetUndoCollection 2955
+#define wxStyledTextCtrl_GetViewWhiteSpace 2956
+#define wxStyledTextCtrl_SetViewWhiteSpace 2957
+#define wxStyledTextCtrl_PositionFromPoint 2958
+#define wxStyledTextCtrl_PositionFromPointClose 2959
+#define wxStyledTextCtrl_GotoLine 2960
+#define wxStyledTextCtrl_GotoPos 2961
+#define wxStyledTextCtrl_SetAnchor 2962
+#define wxStyledTextCtrl_GetCurLine 2963
+#define wxStyledTextCtrl_GetEndStyled 2964
+#define wxStyledTextCtrl_ConvertEOLs 2965
+#define wxStyledTextCtrl_GetEOLMode 2966
+#define wxStyledTextCtrl_SetEOLMode 2967
+#define wxStyledTextCtrl_StartStyling 2968
+#define wxStyledTextCtrl_SetStyling 2969
+#define wxStyledTextCtrl_GetBufferedDraw 2970
+#define wxStyledTextCtrl_SetBufferedDraw 2971
+#define wxStyledTextCtrl_SetTabWidth 2972
+#define wxStyledTextCtrl_GetTabWidth 2973
+#define wxStyledTextCtrl_SetCodePage 2974
+#define wxStyledTextCtrl_MarkerDefine 2975
+#define wxStyledTextCtrl_MarkerSetForeground 2976
+#define wxStyledTextCtrl_MarkerSetBackground 2977
+#define wxStyledTextCtrl_MarkerAdd 2978
+#define wxStyledTextCtrl_MarkerDelete 2979
+#define wxStyledTextCtrl_MarkerDeleteAll 2980
+#define wxStyledTextCtrl_MarkerGet 2981
+#define wxStyledTextCtrl_MarkerNext 2982
+#define wxStyledTextCtrl_MarkerPrevious 2983
+#define wxStyledTextCtrl_MarkerDefineBitmap 2984
+#define wxStyledTextCtrl_MarkerAddSet 2985
+#define wxStyledTextCtrl_MarkerSetAlpha 2986
+#define wxStyledTextCtrl_SetMarginType 2987
+#define wxStyledTextCtrl_GetMarginType 2988
+#define wxStyledTextCtrl_SetMarginWidth 2989
+#define wxStyledTextCtrl_GetMarginWidth 2990
+#define wxStyledTextCtrl_SetMarginMask 2991
+#define wxStyledTextCtrl_GetMarginMask 2992
+#define wxStyledTextCtrl_SetMarginSensitive 2993
+#define wxStyledTextCtrl_GetMarginSensitive 2994
+#define wxStyledTextCtrl_StyleClearAll 2995
+#define wxStyledTextCtrl_StyleSetForeground 2996
+#define wxStyledTextCtrl_StyleSetBackground 2997
+#define wxStyledTextCtrl_StyleSetBold 2998
+#define wxStyledTextCtrl_StyleSetItalic 2999
+#define wxStyledTextCtrl_StyleSetSize 3000
+#define wxStyledTextCtrl_StyleSetFaceName 3001
+#define wxStyledTextCtrl_StyleSetEOLFilled 3002
+#define wxStyledTextCtrl_StyleResetDefault 3003
+#define wxStyledTextCtrl_StyleSetUnderline 3004
+#define wxStyledTextCtrl_StyleSetCase 3005
+#define wxStyledTextCtrl_StyleSetHotSpot 3006
+#define wxStyledTextCtrl_SetSelForeground 3007
+#define wxStyledTextCtrl_SetSelBackground 3008
+#define wxStyledTextCtrl_GetSelAlpha 3009
+#define wxStyledTextCtrl_SetSelAlpha 3010
+#define wxStyledTextCtrl_SetCaretForeground 3011
+#define wxStyledTextCtrl_CmdKeyAssign 3012
+#define wxStyledTextCtrl_CmdKeyClear 3013
+#define wxStyledTextCtrl_CmdKeyClearAll 3014
+#define wxStyledTextCtrl_SetStyleBytes 3015
+#define wxStyledTextCtrl_StyleSetVisible 3016
+#define wxStyledTextCtrl_GetCaretPeriod 3017
+#define wxStyledTextCtrl_SetCaretPeriod 3018
+#define wxStyledTextCtrl_SetWordChars 3019
+#define wxStyledTextCtrl_BeginUndoAction 3020
+#define wxStyledTextCtrl_EndUndoAction 3021
+#define wxStyledTextCtrl_IndicatorSetStyle 3022
+#define wxStyledTextCtrl_IndicatorGetStyle 3023
+#define wxStyledTextCtrl_IndicatorSetForeground 3024
+#define wxStyledTextCtrl_IndicatorGetForeground 3025
+#define wxStyledTextCtrl_SetWhitespaceForeground 3026
+#define wxStyledTextCtrl_SetWhitespaceBackground 3027
+#define wxStyledTextCtrl_GetStyleBits 3028
+#define wxStyledTextCtrl_SetLineState 3029
+#define wxStyledTextCtrl_GetLineState 3030
+#define wxStyledTextCtrl_GetMaxLineState 3031
+#define wxStyledTextCtrl_GetCaretLineVisible 3032
+#define wxStyledTextCtrl_SetCaretLineVisible 3033
+#define wxStyledTextCtrl_GetCaretLineBackground 3034
+#define wxStyledTextCtrl_SetCaretLineBackground 3035
+#define wxStyledTextCtrl_AutoCompShow 3036
+#define wxStyledTextCtrl_AutoCompCancel 3037
+#define wxStyledTextCtrl_AutoCompActive 3038
+#define wxStyledTextCtrl_AutoCompPosStart 3039
+#define wxStyledTextCtrl_AutoCompComplete 3040
+#define wxStyledTextCtrl_AutoCompStops 3041
+#define wxStyledTextCtrl_AutoCompSetSeparator 3042
+#define wxStyledTextCtrl_AutoCompGetSeparator 3043
+#define wxStyledTextCtrl_AutoCompSelect 3044
+#define wxStyledTextCtrl_AutoCompSetCancelAtStart 3045
+#define wxStyledTextCtrl_AutoCompGetCancelAtStart 3046
+#define wxStyledTextCtrl_AutoCompSetFillUps 3047
+#define wxStyledTextCtrl_AutoCompSetChooseSingle 3048
+#define wxStyledTextCtrl_AutoCompGetChooseSingle 3049
+#define wxStyledTextCtrl_AutoCompSetIgnoreCase 3050
+#define wxStyledTextCtrl_AutoCompGetIgnoreCase 3051
+#define wxStyledTextCtrl_UserListShow 3052
+#define wxStyledTextCtrl_AutoCompSetAutoHide 3053
+#define wxStyledTextCtrl_AutoCompGetAutoHide 3054
+#define wxStyledTextCtrl_AutoCompSetDropRestOfWord 3055
+#define wxStyledTextCtrl_AutoCompGetDropRestOfWord 3056
+#define wxStyledTextCtrl_RegisterImage 3057
+#define wxStyledTextCtrl_ClearRegisteredImages 3058
+#define wxStyledTextCtrl_AutoCompGetTypeSeparator 3059
+#define wxStyledTextCtrl_AutoCompSetTypeSeparator 3060
+#define wxStyledTextCtrl_AutoCompSetMaxWidth 3061
+#define wxStyledTextCtrl_AutoCompGetMaxWidth 3062
+#define wxStyledTextCtrl_AutoCompSetMaxHeight 3063
+#define wxStyledTextCtrl_AutoCompGetMaxHeight 3064
+#define wxStyledTextCtrl_SetIndent 3065
+#define wxStyledTextCtrl_GetIndent 3066
+#define wxStyledTextCtrl_SetUseTabs 3067
+#define wxStyledTextCtrl_GetUseTabs 3068
+#define wxStyledTextCtrl_SetLineIndentation 3069
+#define wxStyledTextCtrl_GetLineIndentation 3070
+#define wxStyledTextCtrl_GetLineIndentPosition 3071
+#define wxStyledTextCtrl_GetColumn 3072
+#define wxStyledTextCtrl_SetUseHorizontalScrollBar 3073
+#define wxStyledTextCtrl_GetUseHorizontalScrollBar 3074
+#define wxStyledTextCtrl_SetIndentationGuides 3075
+#define wxStyledTextCtrl_GetIndentationGuides 3076
+#define wxStyledTextCtrl_SetHighlightGuide 3077
+#define wxStyledTextCtrl_GetHighlightGuide 3078
+#define wxStyledTextCtrl_GetLineEndPosition 3079
+#define wxStyledTextCtrl_GetCodePage 3080
+#define wxStyledTextCtrl_GetCaretForeground 3081
+#define wxStyledTextCtrl_GetReadOnly 3082
+#define wxStyledTextCtrl_SetCurrentPos 3083
+#define wxStyledTextCtrl_SetSelectionStart 3084
+#define wxStyledTextCtrl_GetSelectionStart 3085
+#define wxStyledTextCtrl_SetSelectionEnd 3086
+#define wxStyledTextCtrl_GetSelectionEnd 3087
+#define wxStyledTextCtrl_SetPrintMagnification 3088
+#define wxStyledTextCtrl_GetPrintMagnification 3089
+#define wxStyledTextCtrl_SetPrintColourMode 3090
+#define wxStyledTextCtrl_GetPrintColourMode 3091
+#define wxStyledTextCtrl_FindText 3092
+#define wxStyledTextCtrl_FormatRange 3093
+#define wxStyledTextCtrl_GetFirstVisibleLine 3094
+#define wxStyledTextCtrl_GetLine 3095
+#define wxStyledTextCtrl_GetLineCount 3096
+#define wxStyledTextCtrl_SetMarginLeft 3097
+#define wxStyledTextCtrl_GetMarginLeft 3098
+#define wxStyledTextCtrl_SetMarginRight 3099
+#define wxStyledTextCtrl_GetMarginRight 3100
+#define wxStyledTextCtrl_GetModify 3101
+#define wxStyledTextCtrl_SetSelection 3102
+#define wxStyledTextCtrl_GetSelectedText 3103
+#define wxStyledTextCtrl_GetTextRange 3104
+#define wxStyledTextCtrl_HideSelection 3105
+#define wxStyledTextCtrl_LineFromPosition 3106
+#define wxStyledTextCtrl_PositionFromLine 3107
+#define wxStyledTextCtrl_LineScroll 3108
+#define wxStyledTextCtrl_EnsureCaretVisible 3109
+#define wxStyledTextCtrl_ReplaceSelection 3110
+#define wxStyledTextCtrl_SetReadOnly 3111
+#define wxStyledTextCtrl_CanPaste 3112
+#define wxStyledTextCtrl_CanUndo 3113
+#define wxStyledTextCtrl_EmptyUndoBuffer 3114
+#define wxStyledTextCtrl_Undo 3115
+#define wxStyledTextCtrl_Cut 3116
+#define wxStyledTextCtrl_Copy 3117
+#define wxStyledTextCtrl_Paste 3118
+#define wxStyledTextCtrl_Clear 3119
+#define wxStyledTextCtrl_SetText 3120
+#define wxStyledTextCtrl_GetText 3121
+#define wxStyledTextCtrl_GetTextLength 3122
+#define wxStyledTextCtrl_GetOvertype 3123
+#define wxStyledTextCtrl_SetCaretWidth 3124
+#define wxStyledTextCtrl_GetCaretWidth 3125
+#define wxStyledTextCtrl_SetTargetStart 3126
+#define wxStyledTextCtrl_GetTargetStart 3127
+#define wxStyledTextCtrl_SetTargetEnd 3128
+#define wxStyledTextCtrl_GetTargetEnd 3129
+#define wxStyledTextCtrl_ReplaceTarget 3130
+#define wxStyledTextCtrl_SearchInTarget 3131
+#define wxStyledTextCtrl_SetSearchFlags 3132
+#define wxStyledTextCtrl_GetSearchFlags 3133
+#define wxStyledTextCtrl_CallTipShow 3134
+#define wxStyledTextCtrl_CallTipCancel 3135
+#define wxStyledTextCtrl_CallTipActive 3136
+#define wxStyledTextCtrl_CallTipPosAtStart 3137
+#define wxStyledTextCtrl_CallTipSetHighlight 3138
+#define wxStyledTextCtrl_CallTipSetBackground 3139
+#define wxStyledTextCtrl_CallTipSetForeground 3140
+#define wxStyledTextCtrl_CallTipSetForegroundHighlight 3141
+#define wxStyledTextCtrl_CallTipUseStyle 3142
+#define wxStyledTextCtrl_VisibleFromDocLine 3143
+#define wxStyledTextCtrl_DocLineFromVisible 3144
+#define wxStyledTextCtrl_WrapCount 3145
+#define wxStyledTextCtrl_SetFoldLevel 3146
+#define wxStyledTextCtrl_GetFoldLevel 3147
+#define wxStyledTextCtrl_GetLastChild 3148
+#define wxStyledTextCtrl_GetFoldParent 3149
+#define wxStyledTextCtrl_ShowLines 3150
+#define wxStyledTextCtrl_HideLines 3151
+#define wxStyledTextCtrl_GetLineVisible 3152
+#define wxStyledTextCtrl_SetFoldExpanded 3153
+#define wxStyledTextCtrl_GetFoldExpanded 3154
+#define wxStyledTextCtrl_ToggleFold 3155
+#define wxStyledTextCtrl_EnsureVisible 3156
+#define wxStyledTextCtrl_SetFoldFlags 3157
+#define wxStyledTextCtrl_EnsureVisibleEnforcePolicy 3158
+#define wxStyledTextCtrl_SetTabIndents 3159
+#define wxStyledTextCtrl_GetTabIndents 3160
+#define wxStyledTextCtrl_SetBackSpaceUnIndents 3161
+#define wxStyledTextCtrl_GetBackSpaceUnIndents 3162
+#define wxStyledTextCtrl_SetMouseDwellTime 3163
+#define wxStyledTextCtrl_GetMouseDwellTime 3164
+#define wxStyledTextCtrl_WordStartPosition 3165
+#define wxStyledTextCtrl_WordEndPosition 3166
+#define wxStyledTextCtrl_SetWrapMode 3167
+#define wxStyledTextCtrl_GetWrapMode 3168
+#define wxStyledTextCtrl_SetWrapVisualFlags 3169
+#define wxStyledTextCtrl_GetWrapVisualFlags 3170
+#define wxStyledTextCtrl_SetWrapVisualFlagsLocation 3171
+#define wxStyledTextCtrl_GetWrapVisualFlagsLocation 3172
+#define wxStyledTextCtrl_SetWrapStartIndent 3173
+#define wxStyledTextCtrl_GetWrapStartIndent 3174
+#define wxStyledTextCtrl_SetLayoutCache 3175
+#define wxStyledTextCtrl_GetLayoutCache 3176
+#define wxStyledTextCtrl_SetScrollWidth 3177
+#define wxStyledTextCtrl_GetScrollWidth 3178
+#define wxStyledTextCtrl_TextWidth 3179
+#define wxStyledTextCtrl_GetEndAtLastLine 3180
+#define wxStyledTextCtrl_TextHeight 3181
+#define wxStyledTextCtrl_SetUseVerticalScrollBar 3182
+#define wxStyledTextCtrl_GetUseVerticalScrollBar 3183
+#define wxStyledTextCtrl_AppendText 3184
+#define wxStyledTextCtrl_GetTwoPhaseDraw 3185
+#define wxStyledTextCtrl_SetTwoPhaseDraw 3186
+#define wxStyledTextCtrl_TargetFromSelection 3187
+#define wxStyledTextCtrl_LinesJoin 3188
+#define wxStyledTextCtrl_LinesSplit 3189
+#define wxStyledTextCtrl_SetFoldMarginColour 3190
+#define wxStyledTextCtrl_SetFoldMarginHiColour 3191
+#define wxStyledTextCtrl_LineDown 3192
+#define wxStyledTextCtrl_LineDownExtend 3193
+#define wxStyledTextCtrl_LineUp 3194
+#define wxStyledTextCtrl_LineUpExtend 3195
+#define wxStyledTextCtrl_CharLeft 3196
+#define wxStyledTextCtrl_CharLeftExtend 3197
+#define wxStyledTextCtrl_CharRight 3198
+#define wxStyledTextCtrl_CharRightExtend 3199
+#define wxStyledTextCtrl_WordLeft 3200
+#define wxStyledTextCtrl_WordLeftExtend 3201
+#define wxStyledTextCtrl_WordRight 3202
+#define wxStyledTextCtrl_WordRightExtend 3203
+#define wxStyledTextCtrl_Home 3204
+#define wxStyledTextCtrl_HomeExtend 3205
+#define wxStyledTextCtrl_LineEnd 3206
+#define wxStyledTextCtrl_LineEndExtend 3207
+#define wxStyledTextCtrl_DocumentStart 3208
+#define wxStyledTextCtrl_DocumentStartExtend 3209
+#define wxStyledTextCtrl_DocumentEnd 3210
+#define wxStyledTextCtrl_DocumentEndExtend 3211
+#define wxStyledTextCtrl_PageUp 3212
+#define wxStyledTextCtrl_PageUpExtend 3213
+#define wxStyledTextCtrl_PageDown 3214
+#define wxStyledTextCtrl_PageDownExtend 3215
+#define wxStyledTextCtrl_EditToggleOvertype 3216
+#define wxStyledTextCtrl_Cancel 3217
+#define wxStyledTextCtrl_DeleteBack 3218
+#define wxStyledTextCtrl_Tab 3219
+#define wxStyledTextCtrl_BackTab 3220
+#define wxStyledTextCtrl_NewLine 3221
+#define wxStyledTextCtrl_FormFeed 3222
+#define wxStyledTextCtrl_VCHome 3223
+#define wxStyledTextCtrl_VCHomeExtend 3224
+#define wxStyledTextCtrl_ZoomIn 3225
+#define wxStyledTextCtrl_ZoomOut 3226
+#define wxStyledTextCtrl_DelWordLeft 3227
+#define wxStyledTextCtrl_DelWordRight 3228
+#define wxStyledTextCtrl_LineCut 3229
+#define wxStyledTextCtrl_LineDelete 3230
+#define wxStyledTextCtrl_LineTranspose 3231
+#define wxStyledTextCtrl_LineDuplicate 3232
+#define wxStyledTextCtrl_LowerCase 3233
+#define wxStyledTextCtrl_UpperCase 3234
+#define wxStyledTextCtrl_LineScrollDown 3235
+#define wxStyledTextCtrl_LineScrollUp 3236
+#define wxStyledTextCtrl_DeleteBackNotLine 3237
+#define wxStyledTextCtrl_HomeDisplay 3238
+#define wxStyledTextCtrl_HomeDisplayExtend 3239
+#define wxStyledTextCtrl_LineEndDisplay 3240
+#define wxStyledTextCtrl_LineEndDisplayExtend 3241
+#define wxStyledTextCtrl_HomeWrapExtend 3242
+#define wxStyledTextCtrl_LineEndWrap 3243
+#define wxStyledTextCtrl_LineEndWrapExtend 3244
+#define wxStyledTextCtrl_VCHomeWrap 3245
+#define wxStyledTextCtrl_VCHomeWrapExtend 3246
+#define wxStyledTextCtrl_LineCopy 3247
+#define wxStyledTextCtrl_MoveCaretInsideView 3248
+#define wxStyledTextCtrl_LineLength 3249
+#define wxStyledTextCtrl_BraceHighlight 3250
+#define wxStyledTextCtrl_BraceBadLight 3251
+#define wxStyledTextCtrl_BraceMatch 3252
+#define wxStyledTextCtrl_GetViewEOL 3253
+#define wxStyledTextCtrl_SetViewEOL 3254
+#define wxStyledTextCtrl_SetModEventMask 3255
+#define wxStyledTextCtrl_GetEdgeColumn 3256
+#define wxStyledTextCtrl_SetEdgeColumn 3257
+#define wxStyledTextCtrl_GetEdgeMode 3258
+#define wxStyledTextCtrl_GetEdgeColour 3259
+#define wxStyledTextCtrl_SetEdgeColour 3260
+#define wxStyledTextCtrl_SearchAnchor 3261
+#define wxStyledTextCtrl_SearchNext 3262
+#define wxStyledTextCtrl_SearchPrev 3263
+#define wxStyledTextCtrl_LinesOnScreen 3264
+#define wxStyledTextCtrl_UsePopUp 3265
+#define wxStyledTextCtrl_SelectionIsRectangle 3266
+#define wxStyledTextCtrl_SetZoom 3267
+#define wxStyledTextCtrl_GetZoom 3268
+#define wxStyledTextCtrl_GetModEventMask 3269
+#define wxStyledTextCtrl_SetSTCFocus 3270
+#define wxStyledTextCtrl_GetSTCFocus 3271
+#define wxStyledTextCtrl_SetStatus 3272
+#define wxStyledTextCtrl_GetStatus 3273
+#define wxStyledTextCtrl_SetMouseDownCaptures 3274
+#define wxStyledTextCtrl_GetMouseDownCaptures 3275
+#define wxStyledTextCtrl_SetSTCCursor 3276
+#define wxStyledTextCtrl_GetSTCCursor 3277
+#define wxStyledTextCtrl_SetControlCharSymbol 3278
+#define wxStyledTextCtrl_GetControlCharSymbol 3279
+#define wxStyledTextCtrl_WordPartLeft 3280
+#define wxStyledTextCtrl_WordPartLeftExtend 3281
+#define wxStyledTextCtrl_WordPartRight 3282
+#define wxStyledTextCtrl_WordPartRightExtend 3283
+#define wxStyledTextCtrl_SetVisiblePolicy 3284
+#define wxStyledTextCtrl_DelLineLeft 3285
+#define wxStyledTextCtrl_DelLineRight 3286
+#define wxStyledTextCtrl_GetXOffset 3287
+#define wxStyledTextCtrl_ChooseCaretX 3288
+#define wxStyledTextCtrl_SetXCaretPolicy 3289
+#define wxStyledTextCtrl_SetYCaretPolicy 3290
+#define wxStyledTextCtrl_GetPrintWrapMode 3291
+#define wxStyledTextCtrl_SetHotspotActiveForeground 3292
+#define wxStyledTextCtrl_SetHotspotActiveBackground 3293
+#define wxStyledTextCtrl_SetHotspotActiveUnderline 3294
+#define wxStyledTextCtrl_SetHotspotSingleLine 3295
+#define wxStyledTextCtrl_ParaDownExtend 3296
+#define wxStyledTextCtrl_ParaUp 3297
+#define wxStyledTextCtrl_ParaUpExtend 3298
+#define wxStyledTextCtrl_PositionBefore 3299
+#define wxStyledTextCtrl_PositionAfter 3300
+#define wxStyledTextCtrl_CopyRange 3301
+#define wxStyledTextCtrl_CopyText 3302
+#define wxStyledTextCtrl_SetSelectionMode 3303
+#define wxStyledTextCtrl_GetSelectionMode 3304
+#define wxStyledTextCtrl_LineDownRectExtend 3305
+#define wxStyledTextCtrl_LineUpRectExtend 3306
+#define wxStyledTextCtrl_CharLeftRectExtend 3307
+#define wxStyledTextCtrl_CharRightRectExtend 3308
+#define wxStyledTextCtrl_HomeRectExtend 3309
+#define wxStyledTextCtrl_VCHomeRectExtend 3310
+#define wxStyledTextCtrl_LineEndRectExtend 3311
+#define wxStyledTextCtrl_PageUpRectExtend 3312
+#define wxStyledTextCtrl_PageDownRectExtend 3313
+#define wxStyledTextCtrl_StutteredPageUp 3314
+#define wxStyledTextCtrl_StutteredPageUpExtend 3315
+#define wxStyledTextCtrl_StutteredPageDown 3316
+#define wxStyledTextCtrl_StutteredPageDownExtend 3317
+#define wxStyledTextCtrl_WordLeftEnd 3318
+#define wxStyledTextCtrl_WordLeftEndExtend 3319
+#define wxStyledTextCtrl_WordRightEnd 3320
+#define wxStyledTextCtrl_WordRightEndExtend 3321
+#define wxStyledTextCtrl_SetWhitespaceChars 3322
+#define wxStyledTextCtrl_SetCharsDefault 3323
+#define wxStyledTextCtrl_AutoCompGetCurrent 3324
+#define wxStyledTextCtrl_Allocate 3325
+#define wxStyledTextCtrl_FindColumn 3326
+#define wxStyledTextCtrl_GetCaretSticky 3327
+#define wxStyledTextCtrl_SetCaretSticky 3328
+#define wxStyledTextCtrl_ToggleCaretSticky 3329
+#define wxStyledTextCtrl_SetPasteConvertEndings 3330
+#define wxStyledTextCtrl_GetPasteConvertEndings 3331
+#define wxStyledTextCtrl_SelectionDuplicate 3332
+#define wxStyledTextCtrl_SetCaretLineBackAlpha 3333
+#define wxStyledTextCtrl_GetCaretLineBackAlpha 3334
+#define wxStyledTextCtrl_StartRecord 3335
+#define wxStyledTextCtrl_StopRecord 3336
+#define wxStyledTextCtrl_SetLexer 3337
+#define wxStyledTextCtrl_GetLexer 3338
+#define wxStyledTextCtrl_Colourise 3339
+#define wxStyledTextCtrl_SetProperty 3340
+#define wxStyledTextCtrl_SetKeyWords 3341
+#define wxStyledTextCtrl_SetLexerLanguage 3342
+#define wxStyledTextCtrl_GetProperty 3343
+#define wxStyledTextCtrl_GetStyleBitsNeeded 3344
+#define wxStyledTextCtrl_GetCurrentLine 3345
+#define wxStyledTextCtrl_StyleSetSpec 3346
+#define wxStyledTextCtrl_StyleSetFont 3347
+#define wxStyledTextCtrl_StyleSetFontAttr 3348
+#define wxStyledTextCtrl_StyleSetCharacterSet 3349
+#define wxStyledTextCtrl_StyleSetFontEncoding 3350
+#define wxStyledTextCtrl_CmdKeyExecute 3351
+#define wxStyledTextCtrl_SetMargins 3352
+#define wxStyledTextCtrl_GetSelection 3353
+#define wxStyledTextCtrl_PointFromPosition 3354
+#define wxStyledTextCtrl_ScrollToLine 3355
+#define wxStyledTextCtrl_ScrollToColumn 3356
+#define wxStyledTextCtrl_SendMsg 3357
+#define wxStyledTextCtrl_SetVScrollBar 3358
+#define wxStyledTextCtrl_SetHScrollBar 3359
+#define wxStyledTextCtrl_GetLastKeydownProcessed 3360
+#define wxStyledTextCtrl_SetLastKeydownProcessed 3361
+#define wxStyledTextCtrl_SaveFile 3362
+#define wxStyledTextCtrl_LoadFile 3363
+#define wxStyledTextCtrl_DoDragOver 3364
+#define wxStyledTextCtrl_DoDropText 3365
+#define wxStyledTextCtrl_GetUseAntiAliasing 3366
+#define wxStyledTextCtrl_AddTextRaw 3367
+#define wxStyledTextCtrl_InsertTextRaw 3368
+#define wxStyledTextCtrl_GetCurLineRaw 3369
+#define wxStyledTextCtrl_GetLineRaw 3370
+#define wxStyledTextCtrl_GetSelectedTextRaw 3371
+#define wxStyledTextCtrl_GetTextRangeRaw 3372
+#define wxStyledTextCtrl_SetTextRaw 3373
+#define wxStyledTextCtrl_GetTextRaw 3374
+#define wxStyledTextCtrl_AppendTextRaw 3375
+#define wxArtProvider_GetBitmap 3376
+#define wxArtProvider_GetIcon 3377
+#define wxTreeEvent_GetKeyCode 3378
+#define wxTreeEvent_GetItem 3379
+#define wxTreeEvent_GetKeyEvent 3380
+#define wxTreeEvent_GetLabel 3381
+#define wxTreeEvent_GetOldItem 3382
+#define wxTreeEvent_GetPoint 3383
+#define wxTreeEvent_IsEditCancelled 3384
+#define wxTreeEvent_SetToolTip 3385
+#define wxNotebookEvent_GetOldSelection 3386
+#define wxNotebookEvent_GetSelection 3387
+#define wxNotebookEvent_SetOldSelection 3388
+#define wxNotebookEvent_SetSelection 3389
+#define wxFileDataObject_new 3390
+#define wxFileDataObject_AddFile 3391
+#define wxFileDataObject_GetFilenames 3392
+#define wxFileDataObject_destroy 3393
+#define wxTextDataObject_new 3394
+#define wxTextDataObject_GetTextLength 3395
+#define wxTextDataObject_GetText 3396
+#define wxTextDataObject_SetText 3397
+#define wxTextDataObject_destroy 3398
+#define wxBitmapDataObject_new_1_1 3399
+#define wxBitmapDataObject_new_1_0 3400
+#define wxBitmapDataObject_GetBitmap 3401
+#define wxBitmapDataObject_SetBitmap 3402
+#define wxBitmapDataObject_destroy 3403
+#define wxClipboard_new 3405
+#define wxClipboard_destruct 3406
+#define wxClipboard_AddData 3407
+#define wxClipboard_Clear 3408
+#define wxClipboard_Close 3409
+#define wxClipboard_Flush 3410
+#define wxClipboard_GetData 3411
+#define wxClipboard_IsOpened 3412
+#define wxClipboard_Open 3413
+#define wxClipboard_SetData 3414
+#define wxClipboard_UsePrimarySelection 3416
+#define wxClipboard_IsSupported 3417
+#define wxClipboard_Get 3418
+#define wxSpinEvent_GetPosition 3419
+#define wxSpinEvent_SetPosition 3420
+#define wxSplitterWindow_new_0 3421
+#define wxSplitterWindow_new_2 3422
+#define wxSplitterWindow_destruct 3423
+#define wxSplitterWindow_Create 3424
+#define wxSplitterWindow_GetMinimumPaneSize 3425
+#define wxSplitterWindow_GetSashGravity 3426
+#define wxSplitterWindow_GetSashPosition 3427
+#define wxSplitterWindow_GetSplitMode 3428
+#define wxSplitterWindow_GetWindow1 3429
+#define wxSplitterWindow_GetWindow2 3430
+#define wxSplitterWindow_Initialize 3431
+#define wxSplitterWindow_IsSplit 3432
+#define wxSplitterWindow_ReplaceWindow 3433
+#define wxSplitterWindow_SetSashGravity 3434
+#define wxSplitterWindow_SetSashPosition 3435
+#define wxSplitterWindow_SetSashSize 3436
+#define wxSplitterWindow_SetMinimumPaneSize 3437
+#define wxSplitterWindow_SetSplitMode 3438
+#define wxSplitterWindow_SplitHorizontally 3439
+#define wxSplitterWindow_SplitVertically 3440
+#define wxSplitterWindow_Unsplit 3441
+#define wxSplitterWindow_UpdateSize 3442
+#define wxSplitterEvent_GetSashPosition 3443
+#define wxSplitterEvent_GetX 3444
+#define wxSplitterEvent_GetY 3445
+#define wxSplitterEvent_GetWindowBeingRemoved 3446
+#define wxSplitterEvent_SetSashPosition 3447
+#define wxHtmlWindow_new_0 3448
+#define wxHtmlWindow_new_2 3449
+#define wxHtmlWindow_AppendToPage 3450
+#define wxHtmlWindow_GetOpenedAnchor 3451
+#define wxHtmlWindow_GetOpenedPage 3452
+#define wxHtmlWindow_GetOpenedPageTitle 3453
+#define wxHtmlWindow_GetRelatedFrame 3454
+#define wxHtmlWindow_HistoryBack 3455
+#define wxHtmlWindow_HistoryCanBack 3456
+#define wxHtmlWindow_HistoryCanForward 3457
+#define wxHtmlWindow_HistoryClear 3458
+#define wxHtmlWindow_HistoryForward 3459
+#define wxHtmlWindow_LoadFile 3460
+#define wxHtmlWindow_LoadPage 3461
+#define wxHtmlWindow_SelectAll 3462
+#define wxHtmlWindow_SelectionToText 3463
+#define wxHtmlWindow_SelectLine 3464
+#define wxHtmlWindow_SelectWord 3465
+#define wxHtmlWindow_SetBorders 3466
+#define wxHtmlWindow_SetFonts 3467
+#define wxHtmlWindow_SetPage 3468
+#define wxHtmlWindow_SetRelatedFrame 3469
+#define wxHtmlWindow_SetRelatedStatusBar 3470
+#define wxHtmlWindow_ToText 3471
+#define wxHtmlWindow_destroy 3472
+#define wxHtmlLinkEvent_GetLinkInfo 3473
+#define wxAuiNotebookEvent_SetSelection 3474
+#define wxAuiNotebookEvent_GetSelection 3475
+#define wxAuiNotebookEvent_SetOldSelection 3476
+#define wxAuiNotebookEvent_GetOldSelection 3477
+#define wxAuiNotebookEvent_SetDragSource 3478
+#define wxAuiNotebookEvent_GetDragSource 3479
+#define wxAuiManagerEvent_SetManager 3480
+#define wxAuiManagerEvent_GetManager 3481
+#define wxAuiManagerEvent_SetPane 3482
+#define wxAuiManagerEvent_GetPane 3483
+#define wxAuiManagerEvent_SetButton 3484
+#define wxAuiManagerEvent_GetButton 3485
+#define wxAuiManagerEvent_SetDC 3486
+#define wxAuiManagerEvent_GetDC 3487
+#define wxAuiManagerEvent_Veto 3488
+#define wxAuiManagerEvent_GetVeto 3489
+#define wxAuiManagerEvent_SetCanVeto 3490
+#define wxAuiManagerEvent_CanVeto 3491
+#define wxLogNull_new 3492
+#define wxLogNull_destroy 3493
+
+