]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/glcanvas/msw/glcanvas.cpp
Massive code changes and cleanup to allow wxPython to be split into
[wxWidgets.git] / wxPython / contrib / glcanvas / msw / glcanvas.cpp
CommitLineData
325274bb 1/*
c368d904 2 * FILE : contrib/glcanvas/msw/glcanvas.cpp
325274bb
RD
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
185d7c3e 6 * Version 1.1 (Build 883)
325274bb
RD
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18#define SWIGCODE
19/* Implementation : PYTHON */
20
21#define SWIGPYTHON
22#include <string.h>
23#include <stdlib.h>
24/* Definitions for Windows/Unix exporting */
25#if defined(__WIN32__)
26# if defined(_MSC_VER)
27# define SWIGEXPORT(a) __declspec(dllexport) a
28# else
29# if defined(__BORLANDC__)
c368d904 30# define SWIGEXPORT(a) a _export
325274bb 31# else
c368d904 32# define SWIGEXPORT(a) a
325274bb
RD
33# endif
34# endif
35#else
c368d904 36# define SWIGEXPORT(a) a
325274bb
RD
37#endif
38
c368d904
RD
39#include "Python.h"
40
325274bb
RD
41#ifdef __cplusplus
42extern "C" {
43#endif
185d7c3e 44
325274bb
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern PyObject *SWIG_newvarlink(void);
51#ifdef __cplusplus
52}
53#endif
54#define SWIG_init initglcanvasc
55
56#define SWIG_name "glcanvasc"
57
1e7ecb7b 58#include "export.h"
4c9993c3 59#include <wx/glcanvas.h>
325274bb
RD
60
61static PyObject* l_output_helper(PyObject* target, PyObject* o) {
62 PyObject* o2;
185d7c3e 63 if (!target) {
325274bb 64 target = o;
185d7c3e 65 } else if (target == Py_None) {
325274bb
RD
66 Py_DECREF(Py_None);
67 target = o;
185d7c3e 68 } else {
325274bb
RD
69 if (!PyList_Check(target)) {
70 o2 = target;
71 target = PyList_New(0);
72 PyList_Append(target, o2);
73 Py_XDECREF(o2);
74 }
75 PyList_Append(target,o);
76 Py_XDECREF(o);
77 }
78 return target;
79}
80
81static PyObject* t_output_helper(PyObject* target, PyObject* o) {
82 PyObject* o2;
83 PyObject* o3;
84
185d7c3e 85 if (!target) {
325274bb 86 target = o;
185d7c3e 87 } else if (target == Py_None) {
325274bb
RD
88 Py_DECREF(Py_None);
89 target = o;
185d7c3e 90 } else {
325274bb
RD
91 if (!PyTuple_Check(target)) {
92 o2 = target;
93 target = PyTuple_New(1);
94 PyTuple_SetItem(target, 0, o2);
95 }
185d7c3e
RD
96 o3 = PyTuple_New(1);
97 PyTuple_SetItem(o3, 0, o);
325274bb
RD
98
99 o2 = target;
185d7c3e
RD
100 target = PySequence_Concat(o2, o3);
101 Py_DECREF(o2);
325274bb
RD
102 Py_DECREF(o3);
103 }
104 return target;
105}
106
d2103cf2 107static char* wxStringErrorMsg = "string type is required for parameter";
d2103cf2
RD
108#ifdef __cplusplus
109extern "C" {
110#endif
325274bb 111#define new_wxGLContext(_swigarg0,_swigarg1,_swigarg2) (new wxGLContext(_swigarg0,_swigarg1,_swigarg2))
efc5f224 112static PyObject *_wrap_new_wxGLContext(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
113 PyObject * _resultobj;
114 wxGLContext * _result;
115 bool _arg0;
116 wxGLCanvas * _arg1;
117 wxPalette * _arg2 = (wxPalette *) &wxNullPalette;
118 int tempbool0;
119 PyObject * _argo1 = 0;
120 PyObject * _argo2 = 0;
efc5f224 121 char *_kwnames[] = { "isRGB","win","palette", NULL };
325274bb
RD
122 char _ptemp[128];
123
124 self = self;
efc5f224 125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iO|O:new_wxGLContext",_kwnames,&tempbool0,&_argo1,&_argo2))
325274bb
RD
126 return NULL;
127 _arg0 = (bool ) tempbool0;
128 if (_argo1) {
129 if (_argo1 == Py_None) { _arg1 = NULL; }
130 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxGLCanvas_p")) {
131 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxGLContext. Expected _wxGLCanvas_p.");
132 return NULL;
133 }
134 }
135 if (_argo2) {
136 if (_argo2 == Py_None) { _arg2 = NULL; }
137 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPalette_p")) {
138 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of new_wxGLContext. Expected _wxPalette_p.");
139 return NULL;
140 }
141 }
142{
143 wxPy_BEGIN_ALLOW_THREADS;
144 _result = (wxGLContext *)new_wxGLContext(_arg0,_arg1,*_arg2);
145
146 wxPy_END_ALLOW_THREADS;
147} if (_result) {
148 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p");
149 _resultobj = Py_BuildValue("s",_ptemp);
150 } else {
151 Py_INCREF(Py_None);
152 _resultobj = Py_None;
153 }
154 return _resultobj;
155}
156
157#define delete_wxGLContext(_swigobj) (delete _swigobj)
efc5f224 158static PyObject *_wrap_delete_wxGLContext(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
159 PyObject * _resultobj;
160 wxGLContext * _arg0;
161 PyObject * _argo0 = 0;
efc5f224 162 char *_kwnames[] = { "self", NULL };
325274bb
RD
163
164 self = self;
efc5f224 165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxGLContext",_kwnames,&_argo0))
325274bb
RD
166 return NULL;
167 if (_argo0) {
168 if (_argo0 == Py_None) { _arg0 = NULL; }
169 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
170 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxGLContext. Expected _wxGLContext_p.");
171 return NULL;
172 }
173 }
174{
175 wxPy_BEGIN_ALLOW_THREADS;
176 delete_wxGLContext(_arg0);
177
178 wxPy_END_ALLOW_THREADS;
179} Py_INCREF(Py_None);
180 _resultobj = Py_None;
181 return _resultobj;
182}
183
184#define wxGLContext_SetCurrent(_swigobj) (_swigobj->SetCurrent())
efc5f224 185static PyObject *_wrap_wxGLContext_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
186 PyObject * _resultobj;
187 wxGLContext * _arg0;
188 PyObject * _argo0 = 0;
efc5f224 189 char *_kwnames[] = { "self", NULL };
325274bb
RD
190
191 self = self;
efc5f224 192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_SetCurrent",_kwnames,&_argo0))
325274bb
RD
193 return NULL;
194 if (_argo0) {
195 if (_argo0 == Py_None) { _arg0 = NULL; }
196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetCurrent. Expected _wxGLContext_p.");
198 return NULL;
199 }
200 }
201{
202 wxPy_BEGIN_ALLOW_THREADS;
203 wxGLContext_SetCurrent(_arg0);
204
205 wxPy_END_ALLOW_THREADS;
206} Py_INCREF(Py_None);
207 _resultobj = Py_None;
208 return _resultobj;
209}
210
211#define wxGLContext_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
efc5f224 212static PyObject *_wrap_wxGLContext_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
213 PyObject * _resultobj;
214 wxGLContext * _arg0;
215 char * _arg1;
216 PyObject * _argo0 = 0;
efc5f224 217 char *_kwnames[] = { "self","colour", NULL };
325274bb
RD
218
219 self = self;
efc5f224 220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxGLContext_SetColour",_kwnames,&_argo0,&_arg1))
325274bb
RD
221 return NULL;
222 if (_argo0) {
223 if (_argo0 == Py_None) { _arg0 = NULL; }
224 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
225 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SetColour. Expected _wxGLContext_p.");
226 return NULL;
227 }
228 }
229{
230 wxPy_BEGIN_ALLOW_THREADS;
231 wxGLContext_SetColour(_arg0,_arg1);
232
233 wxPy_END_ALLOW_THREADS;
234} Py_INCREF(Py_None);
235 _resultobj = Py_None;
236 return _resultobj;
237}
238
239#define wxGLContext_SwapBuffers(_swigobj) (_swigobj->SwapBuffers())
efc5f224 240static PyObject *_wrap_wxGLContext_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
241 PyObject * _resultobj;
242 wxGLContext * _arg0;
243 PyObject * _argo0 = 0;
efc5f224 244 char *_kwnames[] = { "self", NULL };
325274bb
RD
245
246 self = self;
efc5f224 247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_SwapBuffers",_kwnames,&_argo0))
325274bb
RD
248 return NULL;
249 if (_argo0) {
250 if (_argo0 == Py_None) { _arg0 = NULL; }
251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_SwapBuffers. Expected _wxGLContext_p.");
253 return NULL;
254 }
255 }
256{
257 wxPy_BEGIN_ALLOW_THREADS;
258 wxGLContext_SwapBuffers(_arg0);
259
260 wxPy_END_ALLOW_THREADS;
261} Py_INCREF(Py_None);
262 _resultobj = Py_None;
263 return _resultobj;
264}
265
266#define wxGLContext_GetWindow(_swigobj) (_swigobj->GetWindow())
efc5f224 267static PyObject *_wrap_wxGLContext_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
268 PyObject * _resultobj;
269 wxWindow * _result;
270 wxGLContext * _arg0;
271 PyObject * _argo0 = 0;
efc5f224 272 char *_kwnames[] = { "self", NULL };
325274bb
RD
273 char _ptemp[128];
274
275 self = self;
efc5f224 276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLContext_GetWindow",_kwnames,&_argo0))
325274bb
RD
277 return NULL;
278 if (_argo0) {
279 if (_argo0 == Py_None) { _arg0 = NULL; }
280 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLContext_p")) {
281 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLContext_GetWindow. Expected _wxGLContext_p.");
282 return NULL;
283 }
284 }
285{
286 wxPy_BEGIN_ALLOW_THREADS;
287 _result = (wxWindow *)wxGLContext_GetWindow(_arg0);
288
289 wxPy_END_ALLOW_THREADS;
290} if (_result) {
291 SWIG_MakePtr(_ptemp, (char *) _result,"_wxWindow_p");
292 _resultobj = Py_BuildValue("s",_ptemp);
293 } else {
294 Py_INCREF(Py_None);
295 _resultobj = Py_None;
296 }
297 return _resultobj;
298}
299
300static void *SwigwxGLCanvasTowxScrolledWindow(void *ptr) {
301 wxGLCanvas *src;
302 wxScrolledWindow *dest;
303 src = (wxGLCanvas *) ptr;
304 dest = (wxScrolledWindow *) src;
305 return (void *) dest;
306}
307
308static void *SwigwxGLCanvasTowxPanel(void *ptr) {
309 wxGLCanvas *src;
310 wxPanel *dest;
311 src = (wxGLCanvas *) ptr;
312 dest = (wxPanel *) src;
313 return (void *) dest;
314}
315
316static void *SwigwxGLCanvasTowxWindow(void *ptr) {
317 wxGLCanvas *src;
318 wxWindow *dest;
319 src = (wxGLCanvas *) ptr;
320 dest = (wxWindow *) src;
321 return (void *) dest;
322}
323
324static void *SwigwxGLCanvasTowxEvtHandler(void *ptr) {
325 wxGLCanvas *src;
326 wxEvtHandler *dest;
327 src = (wxGLCanvas *) ptr;
328 dest = (wxEvtHandler *) src;
329 return (void *) dest;
330}
331
332#define new_wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
efc5f224 333static PyObject *_wrap_new_wxGLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
334 PyObject * _resultobj;
335 wxGLCanvas * _result;
336 wxWindow * _arg0;
337 wxWindowID _arg1 = (wxWindowID ) -1;
1e7ecb7b
RD
338 wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition;
339 wxSize * _arg3 = (wxSize *) &wxDefaultSize;
325274bb
RD
340 long _arg4 = (long ) 0;
341 char * _arg5 = (char *) "GLCanvas";
c368d904 342 int * _arg6 = (int *) NULL;
325274bb
RD
343 wxPalette * _arg7 = (wxPalette *) &wxNullPalette;
344 PyObject * _argo0 = 0;
d2103cf2
RD
345 wxPoint temp;
346 PyObject * _obj2 = 0;
347 wxSize temp0;
348 PyObject * _obj3 = 0;
c368d904
RD
349 int * temp1;
350 PyObject * _obj6 = 0;
325274bb 351 PyObject * _argo7 = 0;
efc5f224 352 char *_kwnames[] = { "parent","id","pos","size","style","name","attribList","palette", NULL };
325274bb
RD
353 char _ptemp[128];
354
355 self = self;
c368d904 356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iOOlsOO:new_wxGLCanvas",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4,&_arg5,&_obj6,&_argo7))
325274bb
RD
357 return NULL;
358 if (_argo0) {
359 if (_argo0 == Py_None) { _arg0 = NULL; }
360 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) {
361 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxGLCanvas. Expected _wxWindow_p.");
362 return NULL;
363 }
364 }
d2103cf2
RD
365 if (_obj2)
366{
367 _arg2 = &temp;
368 if (! wxPoint_helper(_obj2, &_arg2))
325274bb 369 return NULL;
d2103cf2
RD
370}
371 if (_obj3)
372{
373 _arg3 = &temp0;
374 if (! wxSize_helper(_obj3, &_arg3))
325274bb 375 return NULL;
d2103cf2 376}
c368d904
RD
377 if (_obj6)
378{
379 int i;
380 if (PySequence_Check(_obj6)) {
381 int size = PyObject_Length(_obj6);
382 temp1 = new int[size+1]; // (int*)malloc((size + 1) * sizeof(int));
383 for (i = 0; i < size; i++) {
384 temp1[i] = PyInt_AsLong(PySequence_GetItem(_obj6, i));
325274bb 385 }
c368d904
RD
386 temp1[size] = 0;
387 _arg6 = temp1;
325274bb 388 }
c368d904 389}
325274bb
RD
390 if (_argo7) {
391 if (_argo7 == Py_None) { _arg7 = NULL; }
392 else if (SWIG_GetPtrObj(_argo7,(void **) &_arg7,"_wxPalette_p")) {
393 PyErr_SetString(PyExc_TypeError,"Type error in argument 8 of new_wxGLCanvas. Expected _wxPalette_p.");
394 return NULL;
395 }
396 }
397{
398 wxPy_BEGIN_ALLOW_THREADS;
399 _result = (wxGLCanvas *)new_wxGLCanvas(_arg0,_arg1,*_arg2,*_arg3,_arg4,_arg5,_arg6,*_arg7);
400
401 wxPy_END_ALLOW_THREADS;
402} if (_result) {
403 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLCanvas_p");
404 _resultobj = Py_BuildValue("s",_ptemp);
405 } else {
406 Py_INCREF(Py_None);
407 _resultobj = Py_None;
408 }
c368d904
RD
409{
410 delete [] _arg6;
411}
325274bb
RD
412 return _resultobj;
413}
414
415#define wxGLCanvas_SetCurrent(_swigobj) (_swigobj->SetCurrent())
efc5f224 416static PyObject *_wrap_wxGLCanvas_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
417 PyObject * _resultobj;
418 wxGLCanvas * _arg0;
419 PyObject * _argo0 = 0;
efc5f224 420 char *_kwnames[] = { "self", NULL };
325274bb
RD
421
422 self = self;
efc5f224 423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_SetCurrent",_kwnames,&_argo0))
325274bb
RD
424 return NULL;
425 if (_argo0) {
426 if (_argo0 == Py_None) { _arg0 = NULL; }
427 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
428 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetCurrent. Expected _wxGLCanvas_p.");
429 return NULL;
430 }
431 }
432{
433 wxPy_BEGIN_ALLOW_THREADS;
434 wxGLCanvas_SetCurrent(_arg0);
435
436 wxPy_END_ALLOW_THREADS;
437} Py_INCREF(Py_None);
438 _resultobj = Py_None;
439 return _resultobj;
440}
441
442#define wxGLCanvas_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
efc5f224 443static PyObject *_wrap_wxGLCanvas_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
444 PyObject * _resultobj;
445 wxGLCanvas * _arg0;
446 char * _arg1;
447 PyObject * _argo0 = 0;
efc5f224 448 char *_kwnames[] = { "self","colour", NULL };
325274bb
RD
449
450 self = self;
efc5f224 451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxGLCanvas_SetColour",_kwnames,&_argo0,&_arg1))
325274bb
RD
452 return NULL;
453 if (_argo0) {
454 if (_argo0 == Py_None) { _arg0 = NULL; }
455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SetColour. Expected _wxGLCanvas_p.");
457 return NULL;
458 }
459 }
460{
461 wxPy_BEGIN_ALLOW_THREADS;
462 wxGLCanvas_SetColour(_arg0,_arg1);
463
464 wxPy_END_ALLOW_THREADS;
465} Py_INCREF(Py_None);
466 _resultobj = Py_None;
467 return _resultobj;
468}
469
470#define wxGLCanvas_SwapBuffers(_swigobj) (_swigobj->SwapBuffers())
efc5f224 471static PyObject *_wrap_wxGLCanvas_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
472 PyObject * _resultobj;
473 wxGLCanvas * _arg0;
474 PyObject * _argo0 = 0;
efc5f224 475 char *_kwnames[] = { "self", NULL };
325274bb
RD
476
477 self = self;
efc5f224 478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_SwapBuffers",_kwnames,&_argo0))
325274bb
RD
479 return NULL;
480 if (_argo0) {
481 if (_argo0 == Py_None) { _arg0 = NULL; }
482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_SwapBuffers. Expected _wxGLCanvas_p.");
484 return NULL;
485 }
486 }
487{
488 wxPy_BEGIN_ALLOW_THREADS;
489 wxGLCanvas_SwapBuffers(_arg0);
490
491 wxPy_END_ALLOW_THREADS;
492} Py_INCREF(Py_None);
493 _resultobj = Py_None;
494 return _resultobj;
495}
496
497#define wxGLCanvas_GetContext(_swigobj) (_swigobj->GetContext())
efc5f224 498static PyObject *_wrap_wxGLCanvas_GetContext(PyObject *self, PyObject *args, PyObject *kwargs) {
325274bb
RD
499 PyObject * _resultobj;
500 wxGLContext * _result;
501 wxGLCanvas * _arg0;
502 PyObject * _argo0 = 0;
efc5f224 503 char *_kwnames[] = { "self", NULL };
325274bb
RD
504 char _ptemp[128];
505
506 self = self;
efc5f224 507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxGLCanvas_GetContext",_kwnames,&_argo0))
325274bb
RD
508 return NULL;
509 if (_argo0) {
510 if (_argo0 == Py_None) { _arg0 = NULL; }
511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxGLCanvas_p")) {
512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxGLCanvas_GetContext. Expected _wxGLCanvas_p.");
513 return NULL;
514 }
515 }
516{
517 wxPy_BEGIN_ALLOW_THREADS;
518 _result = (wxGLContext *)wxGLCanvas_GetContext(_arg0);
519
520 wxPy_END_ALLOW_THREADS;
521} if (_result) {
522 SWIG_MakePtr(_ptemp, (char *) _result,"_wxGLContext_p");
523 _resultobj = Py_BuildValue("s",_ptemp);
524 } else {
525 Py_INCREF(Py_None);
526 _resultobj = Py_None;
527 }
528 return _resultobj;
529}
530
531static PyMethodDef glcanvascMethods[] = {
efc5f224
RD
532 { "wxGLCanvas_GetContext", (PyCFunction) _wrap_wxGLCanvas_GetContext, METH_VARARGS | METH_KEYWORDS },
533 { "wxGLCanvas_SwapBuffers", (PyCFunction) _wrap_wxGLCanvas_SwapBuffers, METH_VARARGS | METH_KEYWORDS },
534 { "wxGLCanvas_SetColour", (PyCFunction) _wrap_wxGLCanvas_SetColour, METH_VARARGS | METH_KEYWORDS },
535 { "wxGLCanvas_SetCurrent", (PyCFunction) _wrap_wxGLCanvas_SetCurrent, METH_VARARGS | METH_KEYWORDS },
536 { "new_wxGLCanvas", (PyCFunction) _wrap_new_wxGLCanvas, METH_VARARGS | METH_KEYWORDS },
537 { "wxGLContext_GetWindow", (PyCFunction) _wrap_wxGLContext_GetWindow, METH_VARARGS | METH_KEYWORDS },
538 { "wxGLContext_SwapBuffers", (PyCFunction) _wrap_wxGLContext_SwapBuffers, METH_VARARGS | METH_KEYWORDS },
539 { "wxGLContext_SetColour", (PyCFunction) _wrap_wxGLContext_SetColour, METH_VARARGS | METH_KEYWORDS },
540 { "wxGLContext_SetCurrent", (PyCFunction) _wrap_wxGLContext_SetCurrent, METH_VARARGS | METH_KEYWORDS },
541 { "delete_wxGLContext", (PyCFunction) _wrap_delete_wxGLContext, METH_VARARGS | METH_KEYWORDS },
542 { "new_wxGLContext", (PyCFunction) _wrap_new_wxGLContext, METH_VARARGS | METH_KEYWORDS },
325274bb
RD
543 { NULL, NULL }
544};
545#ifdef __cplusplus
546}
547#endif
548/*
549 * This table is used by the pointer type-checker
550 */
551static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
552 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
553 { "_wxEvent","_class_wxEvent",0},
554 { "_class_wxActivateEvent","_wxActivateEvent",0},
325274bb
RD
555 { "_signed_long","_long",0},
556 { "_wxMenuEvent","_class_wxMenuEvent",0},
dbbb98cd 557 { "_class_wxProcessEvent","_wxProcessEvent",0},
325274bb 558 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
dbbb98cd 559 { "_class_wxFSFile","_wxFSFile",0},
d2103cf2
RD
560 { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0},
561 { "_wxBitmapDataObject","_class_wxBitmapDataObject",0},
562 { "_class_wxPyCommandEvent","_wxPyCommandEvent",0},
325274bb
RD
563 { "_wxBMPHandler","_class_wxBMPHandler",0},
564 { "_wxImage","_class_wxImage",0},
f6bcfd97 565 { "_wxFlexGridSizer","_class_wxFlexGridSizer",0},
dbbb98cd
RD
566 { "_wxWindowDisabler","_class_wxWindowDisabler",0},
567 { "_class_wxDateTime","_wxDateTime",0},
d2103cf2 568 { "_wxPrintQuality","_wxCoord",0},
325274bb
RD
569 { "_wxPrintQuality","_int",0},
570 { "_wxPrintQuality","_signed_int",0},
571 { "_wxPrintQuality","_unsigned_int",0},
572 { "_wxPrintQuality","_wxWindowID",0},
573 { "_wxPrintQuality","_uint",0},
574 { "_wxPrintQuality","_EBool",0},
575 { "_wxPrintQuality","_size_t",0},
c368d904 576 { "_wxPrintQuality","_time_t",0},
d2103cf2 577 { "_class_wxCustomDataObject","_wxCustomDataObject",0},
c368d904 578 { "_wxSpinCtrl","_class_wxSpinCtrl",0},
325274bb 579 { "_wxFontData","_class_wxFontData",0},
325274bb 580 { "_class_wxRegionIterator","_wxRegionIterator",0},
d2103cf2 581 { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0},
325274bb
RD
582 { "_class_wxMenuBar","_wxMenuBar",0},
583 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
d2103cf2 584 { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0},
325274bb
RD
585 { "_class_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
586 { "_class_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
587 { "_class_wxEvtHandler","_wxEvtHandler",0},
588 { "_wxPaintEvent","_class_wxPaintEvent",0},
589 { "_wxGIFHandler","_class_wxGIFHandler",0},
d2103cf2 590 { "_wxPySizer","_class_wxPySizer",0},
dbbb98cd 591 { "_wxInternetFSHandler","_class_wxInternetFSHandler",0},
325274bb
RD
592 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
593 { "_wxCursor","_class_wxCursor",0},
594 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
dbbb98cd 595 { "_wxPyProcess","_class_wxPyProcess",0},
f6bcfd97 596 { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0},
325274bb 597 { "_wxImageHandler","_class_wxImageHandler",0},
c368d904 598 { "_wxLog","_class_wxLog",0},
d2103cf2 599 { "_class_wxToolBarBase","_wxToolBarBase",0},
325274bb
RD
600 { "_wxMask","_class_wxMask",0},
601 { "_wxToolTip","_class_wxToolTip",0},
325274bb
RD
602 { "_wxPNGHandler","_class_wxPNGHandler",0},
603 { "_class_wxColourData","_wxColourData",0},
604 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
605 { "_wxPrinter","_class_wxPrinter",0},
325274bb
RD
606 { "_wxPen","_class_wxPen",0},
607 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
f6bcfd97 608 { "_class_wxNotebookSizer","_wxNotebookSizer",0},
325274bb 609 { "_byte","_unsigned_char",0},
d2103cf2
RD
610 { "_wxDataObject","_class_wxDataObject",0},
611 { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0},
325274bb 612 { "_wxStaticBox","_class_wxStaticBox",0},
d2103cf2
RD
613 { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0},
614 { "_wxPyDropSource","_class_wxPyDropSource",0},
325274bb
RD
615 { "_wxChoice","_class_wxChoice",0},
616 { "_wxSlider","_class_wxSlider",0},
617 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
618 { "_wxPyPrintout","_class_wxPyPrintout",0},
325274bb
RD
619 { "_long","_unsigned_long",0},
620 { "_long","_signed_long",0},
621 { "_wxImageList","_class_wxImageList",0},
d2103cf2 622 { "_wxDataObjectSimple","_class_wxDataObjectSimple",0},
325274bb
RD
623 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
624 { "_wxBitmapButton","_class_wxBitmapButton",0},
625 { "_wxSashWindow","_class_wxSashWindow",0},
d2103cf2
RD
626 { "_class_wxSizer","_wxSizer",0},
627 { "_class_wxTIFFHandler","_wxTIFFHandler",0},
325274bb 628 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
f6bcfd97 629 { "_wxGridSizer","_class_wxGridSizer",0},
325274bb
RD
630 { "_wxGLContext","_class_wxGLContext",0},
631 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
d2103cf2 632 { "_class_wxClipboard","_wxClipboard",0},
325274bb
RD
633 { "_class_wxGauge","_wxGauge",0},
634 { "_class_wxSashEvent","_wxSashEvent",0},
325274bb 635 { "_wxDC","_class_wxDC",0},
d2103cf2
RD
636 { "_wxSizerItem","_class_wxSizerItem",0},
637 { "_class_wxBitmapDataObject","_wxBitmapDataObject",0},
325274bb
RD
638 { "_wxListEvent","_class_wxListEvent",0},
639 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
640 { "_wxProgressDialog","_class_wxProgressDialog",0},
641 { "_class_wxBMPHandler","_wxBMPHandler",0},
642 { "_wxPrintPreview","_class_wxPrintPreview",0},
f6bcfd97 643 { "_class_wxFlexGridSizer","_wxFlexGridSizer",0},
325274bb
RD
644 { "_wxSpinEvent","_class_wxSpinEvent",0},
645 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
d2103cf2 646 { "_size_t","_wxCoord",0},
325274bb 647 { "_size_t","_wxPrintQuality",0},
c368d904 648 { "_size_t","_time_t",0},
325274bb
RD
649 { "_size_t","_unsigned_int",0},
650 { "_size_t","_int",0},
651 { "_size_t","_wxWindowID",0},
652 { "_size_t","_uint",0},
653 { "_class_wxRealPoint","_wxRealPoint",0},
d2103cf2
RD
654 { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0},
655 { "_wxPNMHandler","_class_wxPNMHandler",0},
325274bb 656 { "_wxPrinterDC","_class_wxPrinterDC",0},
d2103cf2 657 { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0},
c368d904 658 { "_wxLogGui","_class_wxLogGui",0},
325274bb
RD
659 { "_class_wxMenuItem","_wxMenuItem",0},
660 { "_class_wxPaintEvent","_wxPaintEvent",0},
661 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
662 { "_class_wxStatusBar","_wxStatusBar",0},
663 { "_class_wxGIFHandler","_wxGIFHandler",0},
d2103cf2 664 { "_class_wxPySizer","_wxPySizer",0},
325274bb
RD
665 { "_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel},
666 { "_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel},
667 { "_wxPanel","_class_wxPanel",0},
668 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
669 { "_wxCheckBox","_class_wxCheckBox",0},
f6bcfd97 670 { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0},
325274bb
RD
671 { "_wxPyEvent","_class_wxPyEvent",0},
672 { "_wxTextCtrl","_class_wxTextCtrl",0},
325274bb 673 { "_class_wxMask","_wxMask",0},
d2103cf2 674 { "_wxTextDataObject","_class_wxTextDataObject",0},
325274bb 675 { "_class_wxKeyEvent","_wxKeyEvent",0},
d2103cf2 676 { "_class_wxToolTip","_wxToolTip",0},
325274bb 677 { "_class_wxPNGHandler","_wxPNGHandler",0},
dbbb98cd 678 { "_wxFileConfig","_class_wxFileConfig",0},
325274bb
RD
679 { "_wxColour","_class_wxColour",0},
680 { "_class_wxDialog","_wxDialog",0},
d2103cf2 681 { "_wxBusyCursor","_class_wxBusyCursor",0},
325274bb
RD
682 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
683 { "_class_wxPrinter","_wxPrinter",0},
d2103cf2 684 { "_class_wxFileDataObject","_wxFileDataObject",0},
325274bb
RD
685 { "_wxIdleEvent","_class_wxIdleEvent",0},
686 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
687 { "_wxToolBar","_class_wxToolBar",0},
d2103cf2
RD
688 { "_class_wxDataObject","_wxDataObject",0},
689 { "_wxCaret","_class_wxCaret",0},
325274bb
RD
690 { "_wxStaticLine","_class_wxStaticLine",0},
691 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
692 { "_wxBrush","_class_wxBrush",0},
693 { "_wxMiniFrame","_class_wxMiniFrame",0},
694 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
695 { "_class_wxPyPrintout","_wxPyPrintout",0},
d2103cf2
RD
696 { "_wxDataFormat","_class_wxDataFormat",0},
697 { "_class_wxDataObjectSimple","_wxDataObjectSimple",0},
325274bb 698 { "_class_wxSashWindow","_wxSashWindow",0},
325274bb 699 { "_wxShowEvent","_class_wxShowEvent",0},
d2103cf2 700 { "_uint","_wxCoord",0},
325274bb 701 { "_uint","_wxPrintQuality",0},
c368d904 702 { "_uint","_time_t",0},
325274bb
RD
703 { "_uint","_size_t",0},
704 { "_uint","_unsigned_int",0},
705 { "_uint","_int",0},
706 { "_uint","_wxWindowID",0},
f6bcfd97 707 { "_wxChar","_char",0},
d2103cf2 708 { "_wxPyValidator","_class_wxPyValidator",0},
325274bb
RD
709 { "_class_wxEvent","_wxEvent",0},
710 { "_wxCheckListBox","_class_wxCheckListBox",0},
711 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
325274bb
RD
712 { "_wxRect","_class_wxRect",0},
713 { "_wxCommandEvent","_class_wxCommandEvent",0},
714 { "_wxSizeEvent","_class_wxSizeEvent",0},
c368d904 715 { "_class_wxLogWindow","_wxLogWindow",0},
325274bb 716 { "_class_wxImage","_wxImage",0},
325274bb 717 { "_wxPoint","_class_wxPoint",0},
dbbb98cd 718 { "_class_wxWindowDisabler","_wxWindowDisabler",0},
325274bb
RD
719 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
720 { "_class_wxButton","_wxButton",0},
721 { "_wxRadioBox","_class_wxRadioBox",0},
c368d904 722 { "_class_wxSpinCtrl","_wxSpinCtrl",0},
325274bb 723 { "_class_wxFontData","_wxFontData",0},
d2103cf2
RD
724 { "_class_wxPNMHandler","_wxPNMHandler",0},
725 { "_wxBoxSizer","_class_wxBoxSizer",0},
dbbb98cd 726 { "_class_wxZipFSHandler","_wxZipFSHandler",0},
f6bcfd97 727 { "_char","_wxChar",0},
325274bb
RD
728 { "_wxBitmap","_class_wxBitmap",0},
729 { "_wxTaskBarIcon","_class_wxTaskBarIcon",0},
730 { "_wxPrintDialog","_class_wxPrintDialog",0},
325274bb 731 { "_wxWindowDC","_class_wxWindowDC",0},
f6bcfd97
BP
732 { "_wxTimerEvent","_class_wxTimerEvent",0},
733 { "_wxPyTimer","_class_wxPyTimer",0},
325274bb
RD
734 { "_wxScrollBar","_class_wxScrollBar",0},
735 { "_wxSpinButton","_class_wxSpinButton",0},
325274bb
RD
736 { "_wxColourDialog","_class_wxColourDialog",0},
737 { "_wxPrintData","_class_wxPrintData",0},
dbbb98cd 738 { "_class_wxInternetFSHandler","_wxInternetFSHandler",0},
325274bb
RD
739 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
740 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
741 { "_wxMessageDialog","_class_wxMessageDialog",0},
d2103cf2 742 { "_class_wxValidator","_wxValidator",0},
325274bb
RD
743 { "_class_wxPyEvent","_wxPyEvent",0},
744 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
dbbb98cd 745 { "_wxConfig","_class_wxConfig",0},
325274bb
RD
746 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
747 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
dbbb98cd 748 { "_class_wxFileConfig","_wxFileConfig",0},
d2103cf2
RD
749 { "_class_wxBusyCursor","_wxBusyCursor",0},
750 { "_wxToolBarSimple","_class_wxToolBarSimple",0},
325274bb
RD
751 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
752 { "_wxListItem","_class_wxListItem",0},
753 { "_class_wxToolBar","_wxToolBar",0},
d2103cf2 754 { "_wxDropTarget","_class_wxDropTarget",0},
325274bb
RD
755 { "_class_wxStaticLine","_wxStaticLine",0},
756 { "_wxScrollEvent","_class_wxScrollEvent",0},
d2103cf2 757 { "_wxToolBarToolBase","_class_wxToolBarToolBase",0},
325274bb 758 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
dbbb98cd 759 { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0},
d2103cf2 760 { "_EBool","_wxCoord",0},
325274bb
RD
761 { "_EBool","_wxPrintQuality",0},
762 { "_EBool","_signed_int",0},
763 { "_EBool","_int",0},
764 { "_EBool","_wxWindowID",0},
765 { "_class_wxRegion","_wxRegion",0},
d2103cf2 766 { "_class_wxDataFormat","_wxDataFormat",0},
325274bb 767 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
d2103cf2 768 { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0},
325274bb
RD
769 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
770 { "_wxStaticText","_class_wxStaticText",0},
771 { "_wxFont","_class_wxFont",0},
d2103cf2 772 { "_class_wxPyDropTarget","_wxPyDropTarget",0},
325274bb
RD
773 { "_wxCloseEvent","_class_wxCloseEvent",0},
774 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
dbbb98cd 775 { "_wxProcessEvent","_class_wxProcessEvent",0},
325274bb 776 { "_wxNotebook","_class_wxNotebook",0},
dbbb98cd 777 { "_wxFSFile","_class_wxFSFile",0},
325274bb
RD
778 { "_unsigned_long","_long",0},
779 { "_class_wxRect","_wxRect",0},
780 { "_class_wxDC","_wxDC",0},
d2103cf2 781 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
f6bcfd97 782 { "_wxGenericDragImage","_class_wxGenericDragImage",0},
325274bb 783 { "_class_wxProgressDialog","_wxProgressDialog",0},
d2103cf2 784 { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0},
dbbb98cd 785 { "_wxPyInputStream","_class_wxPyInputStream",0},
325274bb 786 { "_wxPyApp","_class_wxPyApp",0},
d2103cf2 787 { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0},
dbbb98cd 788 { "_class_wxOutputStream","_wxOutputStream",0},
c368d904 789 { "_wxLogTextCtrl","_class_wxLogTextCtrl",0},
325274bb
RD
790 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
791 { "_class_wxTreeEvent","_wxTreeEvent",0},
792 { "_class_wxDirDialog","_wxDirDialog",0},
dbbb98cd 793 { "_wxTimeSpan","_class_wxTimeSpan",0},
325274bb
RD
794 { "_wxFocusEvent","_class_wxFocusEvent",0},
795 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
f6bcfd97
BP
796 { "_class_wxTimerEvent","_wxTimerEvent",0},
797 { "_class_wxPyTimer","_wxPyTimer",0},
325274bb
RD
798 { "_class_wxSpinButton","_wxSpinButton",0},
799 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
800 { "_class_wxPanel","_class_wxGLCanvas",SwigwxGLCanvasTowxPanel},
801 { "_class_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel},
802 { "_class_wxPanel","_wxPanel",0},
803 { "_class_wxCheckBox","_wxCheckBox",0},
804 { "_wxComboBox","_class_wxComboBox",0},
805 { "_wxRadioButton","_class_wxRadioButton",0},
806 { "_class_wxMessageDialog","_wxMessageDialog",0},
d2103cf2 807 { "_signed_int","_wxCoord",0},
325274bb
RD
808 { "_signed_int","_wxPrintQuality",0},
809 { "_signed_int","_EBool",0},
810 { "_signed_int","_wxWindowID",0},
811 { "_signed_int","_int",0},
812 { "_class_wxTextCtrl","_wxTextCtrl",0},
f6bcfd97 813 { "_class_wxListItemAttr","_wxListItemAttr",0},
325274bb
RD
814 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
815 { "_wxMetaFileDC","_class_wxMetaFileDC",0},
d2103cf2 816 { "_class_wxTextDataObject","_wxTextDataObject",0},
325274bb
RD
817 { "_wxMenu","_class_wxMenu",0},
818 { "_class_wxMoveEvent","_wxMoveEvent",0},
819 { "_wxListBox","_class_wxListBox",0},
820 { "_wxScreenDC","_class_wxScreenDC",0},
d2103cf2 821 { "_class_wxToolBarSimple","_wxToolBarSimple",0},
325274bb 822 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
dbbb98cd 823 { "_WXTYPE","_wxDateTime_t",0},
325274bb
RD
824 { "_WXTYPE","_short",0},
825 { "_WXTYPE","_signed_short",0},
826 { "_WXTYPE","_unsigned_short",0},
827 { "_wxFileDialog","_class_wxFileDialog",0},
d2103cf2
RD
828 { "_class_wxDropTarget","_wxDropTarget",0},
829 { "_class_wxCaret","_wxCaret",0},
325274bb
RD
830 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
831 { "_class_wxBrush","_wxBrush",0},
f6bcfd97 832 { "_wxTipProvider","_class_wxTipProvider",0},
dbbb98cd 833 { "_unsigned_short","_wxDateTime_t",0},
325274bb
RD
834 { "_unsigned_short","_WXTYPE",0},
835 { "_unsigned_short","_short",0},
836 { "_class_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow},
837 { "_class_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow},
838 { "_class_wxWindow","_wxWindow",0},
c368d904 839 { "_class_wxLogStderr","_wxLogStderr",0},
325274bb 840 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
dbbb98cd 841 { "_wxDateSpan","_class_wxDateSpan",0},
325274bb
RD
842 { "_class_wxStaticText","_wxStaticText",0},
843 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
325274bb 844 { "_class_wxFont","_wxFont",0},
d2103cf2
RD
845 { "_wxClipboard","_class_wxClipboard",0},
846 { "_class_wxPyValidator","_wxPyValidator",0},
325274bb
RD
847 { "_class_wxCloseEvent","_wxCloseEvent",0},
848 { "_wxSashEvent","_class_wxSashEvent",0},
d2103cf2 849 { "_wxBusyInfo","_class_wxBusyInfo",0},
325274bb 850 { "_class_wxMenuEvent","_wxMenuEvent",0},
d2103cf2 851 { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0},
de20db99 852 { "_wxJoystick","_class_wxJoystick",0},
d2103cf2 853 { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0},
325274bb
RD
854 { "_wxClientDC","_class_wxClientDC",0},
855 { "_wxMouseEvent","_class_wxMouseEvent",0},
f6bcfd97 856 { "_class_wxGenericDragImage","_wxGenericDragImage",0},
325274bb
RD
857 { "_wxListCtrl","_class_wxListCtrl",0},
858 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
859 { "_wxGLCanvas","_class_wxGLCanvas",0},
860 { "_class_wxPoint","_wxPoint",0},
dbbb98cd 861 { "_class_wxPyInputStream","_wxPyInputStream",0},
325274bb
RD
862 { "_wxRealPoint","_class_wxRealPoint",0},
863 { "_class_wxRadioBox","_wxRadioBox",0},
d2103cf2 864 { "_class_wxBoxSizer","_wxBoxSizer",0},
325274bb
RD
865 { "_signed_short","_WXTYPE",0},
866 { "_signed_short","_short",0},
867 { "_wxMemoryDC","_class_wxMemoryDC",0},
d2103cf2 868 { "_wxPyTextDataObject","_class_wxPyTextDataObject",0},
325274bb
RD
869 { "_class_wxTaskBarIcon","_wxTaskBarIcon",0},
870 { "_class_wxPrintDialog","_wxPrintDialog",0},
dbbb98cd 871 { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0},
325274bb
RD
872 { "_wxPaintDC","_class_wxPaintDC",0},
873 { "_class_wxWindowDC","_wxWindowDC",0},
874 { "_class_wxFocusEvent","_wxFocusEvent",0},
875 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
876 { "_wxStatusBar","_class_wxStatusBar",0},
325274bb
RD
877 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
878 { "_class_wxCursor","_wxCursor",0},
d2103cf2 879 { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0},
dbbb98cd 880 { "_class_wxPyProcess","_wxPyProcess",0},
325274bb
RD
881 { "_class_wxImageHandler","_wxImageHandler",0},
882 { "_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
883 { "_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
884 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
c368d904 885 { "_class_wxLog","_wxLog",0},
325274bb 886 { "_wxTreeItemId","_class_wxTreeItemId",0},
325274bb
RD
887 { "_unsigned_char","_byte",0},
888 { "_class_wxMetaFileDC","_wxMetaFileDC",0},
889 { "_class_wxMenu","_wxMenu",0},
890 { "_wxControl","_class_wxControl",0},
891 { "_class_wxListBox","_wxListBox",0},
d2103cf2 892 { "_unsigned_int","_wxCoord",0},
325274bb 893 { "_unsigned_int","_wxPrintQuality",0},
c368d904 894 { "_unsigned_int","_time_t",0},
325274bb
RD
895 { "_unsigned_int","_size_t",0},
896 { "_unsigned_int","_uint",0},
897 { "_unsigned_int","_wxWindowID",0},
898 { "_unsigned_int","_int",0},
899 { "_wxIcon","_class_wxIcon",0},
900 { "_wxDialog","_class_wxDialog",0},
901 { "_class_wxListItem","_wxListItem",0},
325274bb
RD
902 { "_class_wxPen","_wxPen",0},
903 { "_class_wxFileDialog","_wxFileDialog",0},
904 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
dbbb98cd
RD
905 { "_wxConfigBase","_class_wxConfigBase",0},
906 { "_short","_wxDateTime_t",0},
325274bb
RD
907 { "_short","_WXTYPE",0},
908 { "_short","_unsigned_short",0},
909 { "_short","_signed_short",0},
910 { "_class_wxStaticBox","_wxStaticBox",0},
911 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
d2103cf2
RD
912 { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0},
913 { "_class_wxPyDropSource","_wxPyDropSource",0},
325274bb
RD
914 { "_class_wxScrollEvent","_wxScrollEvent",0},
915 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
916 { "_class_wxChoice","_wxChoice",0},
917 { "_class_wxSlider","_wxSlider",0},
918 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
919 { "_class_wxImageList","_wxImageList",0},
920 { "_class_wxBitmapButton","_wxBitmapButton",0},
dbbb98cd 921 { "_wxFileSystemHandler","_class_wxFileSystemHandler",0},
f6bcfd97 922 { "_wxPyTipProvider","_class_wxPyTipProvider",0},
325274bb 923 { "_wxFrame","_class_wxFrame",0},
d2103cf2 924 { "_wxPCXHandler","_class_wxPCXHandler",0},
f6bcfd97 925 { "_class_wxGridSizer","_wxGridSizer",0},
325274bb 926 { "_class_wxGLContext","_wxGLContext",0},
d2103cf2 927 { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0},
325274bb
RD
928 { "_class_wxNotebook","_wxNotebook",0},
929 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
d2103cf2 930 { "_wxWindowID","_wxCoord",0},
325274bb 931 { "_wxWindowID","_wxPrintQuality",0},
c368d904 932 { "_wxWindowID","_time_t",0},
325274bb
RD
933 { "_wxWindowID","_size_t",0},
934 { "_wxWindowID","_EBool",0},
935 { "_wxWindowID","_uint",0},
936 { "_wxWindowID","_int",0},
937 { "_wxWindowID","_signed_int",0},
938 { "_wxWindowID","_unsigned_int",0},
d2103cf2
RD
939 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
940 { "_class_wxSizerItem","_wxSizerItem",0},
941 { "_int","_wxCoord",0},
325274bb 942 { "_int","_wxPrintQuality",0},
c368d904 943 { "_int","_time_t",0},
325274bb
RD
944 { "_int","_size_t",0},
945 { "_int","_EBool",0},
946 { "_int","_uint",0},
947 { "_int","_wxWindowID",0},
948 { "_int","_unsigned_int",0},
949 { "_int","_signed_int",0},
950 { "_class_wxMouseEvent","_wxMouseEvent",0},
d2103cf2 951 { "_wxPyCommandEvent","_class_wxPyCommandEvent",0},
c368d904 952 { "_wxLogWindow","_class_wxLogWindow",0},
325274bb
RD
953 { "_class_wxListEvent","_wxListEvent",0},
954 { "_class_wxPrintPreview","_wxPrintPreview",0},
dbbb98cd
RD
955 { "_wxDateTime_t","_unsigned_short",0},
956 { "_wxDateTime_t","_short",0},
957 { "_wxDateTime_t","_WXTYPE",0},
325274bb 958 { "_class_wxSpinEvent","_wxSpinEvent",0},
d2103cf2 959 { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0},
dbbb98cd 960 { "_wxDateTime","_class_wxDateTime",0},
c368d904
RD
961 { "_time_t","_wxCoord",0},
962 { "_time_t","_wxPrintQuality",0},
963 { "_time_t","_unsigned_int",0},
964 { "_time_t","_int",0},
965 { "_time_t","_wxWindowID",0},
966 { "_time_t","_uint",0},
967 { "_time_t","_size_t",0},
d2103cf2 968 { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0},
c368d904 969 { "_wxLogNull","_class_wxLogNull",0},
325274bb 970 { "_wxButton","_class_wxButton",0},
dbbb98cd 971 { "_wxZipFSHandler","_class_wxZipFSHandler",0},
325274bb
RD
972 { "_class_wxPyApp","_wxPyApp",0},
973 { "_wxSize","_class_wxSize",0},
974 { "_wxRegionIterator","_class_wxRegionIterator",0},
975 { "_class_wxPrinterDC","_wxPrinterDC",0},
d2103cf2 976 { "_class_wxPyTextDataObject","_wxPyTextDataObject",0},
c368d904
RD
977 { "_class_wxLogTextCtrl","_wxLogTextCtrl",0},
978 { "_class_wxLogGui","_wxLogGui",0},
325274bb
RD
979 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
980 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
d2103cf2 981 { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0},
dbbb98cd
RD
982 { "_class_wxTimeSpan","_wxTimeSpan",0},
983 { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0},
325274bb
RD
984 { "_class_wxPaintDC","_wxPaintDC",0},
985 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
d2103cf2 986 { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0},
325274bb
RD
987 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
988 { "_class_wxComboBox","_wxComboBox",0},
989 { "_class_wxRadioButton","_wxRadioButton",0},
d2103cf2
RD
990 { "_wxValidator","_class_wxValidator",0},
991 { "_wxToolBarBase","_class_wxToolBarBase",0},
325274bb 992 { "_class_wxTreeItemId","_wxTreeItemId",0},
325274bb
RD
993 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
994 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
995 { "_class_wxControl","_wxControl",0},
996 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
997 { "_class_wxIcon","_wxIcon",0},
998 { "_class_wxColour","_wxColour",0},
999 { "_class_wxScreenDC","_wxScreenDC",0},
1000 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
1001 { "_wxPalette","_class_wxPalette",0},
1002 { "_class_wxIdleEvent","_wxIdleEvent",0},
dbbb98cd 1003 { "_class_wxConfigBase","_wxConfigBase",0},
d2103cf2
RD
1004 { "_wxCoord","_int",0},
1005 { "_wxCoord","_signed_int",0},
1006 { "_wxCoord","_unsigned_int",0},
1007 { "_wxCoord","_wxWindowID",0},
1008 { "_wxCoord","_uint",0},
1009 { "_wxCoord","_EBool",0},
1010 { "_wxCoord","_size_t",0},
c368d904 1011 { "_wxCoord","_time_t",0},
d2103cf2 1012 { "_wxCoord","_wxPrintQuality",0},
325274bb 1013 { "_wxEraseEvent","_class_wxEraseEvent",0},
d2103cf2 1014 { "_wxDataObjectComposite","_class_wxDataObjectComposite",0},
325274bb 1015 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
f6bcfd97 1016 { "_class_wxTipProvider","_wxTipProvider",0},
325274bb
RD
1017 { "_class_wxMiniFrame","_wxMiniFrame",0},
1018 { "_wxFontDialog","_class_wxFontDialog",0},
dbbb98cd 1019 { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0},
325274bb
RD
1020 { "_wxRegion","_class_wxRegion",0},
1021 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
1022 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
d2103cf2 1023 { "_wxSizer","_class_wxSizer",0},
dbbb98cd
RD
1024 { "_class_wxDateSpan","_wxDateSpan",0},
1025 { "_wxFileSystem","_class_wxFileSystem",0},
325274bb 1026 { "_class_wxShowEvent","_wxShowEvent",0},
f6bcfd97 1027 { "_class_wxPyTipProvider","_wxPyTipProvider",0},
d2103cf2
RD
1028 { "_class_wxPCXHandler","_wxPCXHandler",0},
1029 { "_wxTIFFHandler","_class_wxTIFFHandler",0},
1030 { "_wxPyDropTarget","_class_wxPyDropTarget",0},
325274bb
RD
1031 { "_wxActivateEvent","_class_wxActivateEvent",0},
1032 { "_wxGauge","_class_wxGauge",0},
1033 { "_class_wxCheckListBox","_wxCheckListBox",0},
d2103cf2 1034 { "_class_wxBusyInfo","_wxBusyInfo",0},
de20db99 1035 { "_class_wxJoystick","_wxJoystick",0},
325274bb 1036 { "_class_wxCommandEvent","_wxCommandEvent",0},
325274bb
RD
1037 { "_class_wxClientDC","_wxClientDC",0},
1038 { "_class_wxSizeEvent","_wxSizeEvent",0},
1039 { "_class_wxListCtrl","_wxListCtrl",0},
1040 { "_class_wxGLCanvas","_wxGLCanvas",0},
d2103cf2 1041 { "_wxCustomDataObject","_class_wxCustomDataObject",0},
c368d904 1042 { "_class_wxLogNull","_wxLogNull",0},
325274bb
RD
1043 { "_class_wxSize","_wxSize",0},
1044 { "_class_wxBitmap","_wxBitmap",0},
1045 { "_class_wxMemoryDC","_wxMemoryDC",0},
d2103cf2 1046 { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0},
325274bb 1047 { "_wxMenuBar","_class_wxMenuBar",0},
dbbb98cd 1048 { "_wxOutputStream","_class_wxOutputStream",0},
325274bb
RD
1049 { "_wxTreeEvent","_class_wxTreeEvent",0},
1050 { "_wxDirDialog","_class_wxDirDialog",0},
1051 { "_wxEvtHandler","_class_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
1052 { "_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler},
1053 { "_wxEvtHandler","_class_wxEvtHandler",0},
1054 { "_wxMenuItem","_class_wxMenuItem",0},
1055 { "_class_wxScrollBar","_wxScrollBar",0},
1056 { "_class_wxColourDialog","_wxColourDialog",0},
1057 { "_class_wxPrintData","_wxPrintData",0},
325274bb
RD
1058 { "_class_wxScrolledWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
1059 { "_class_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow},
1060 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
f6bcfd97 1061 { "_wxListItemAttr","_class_wxListItemAttr",0},
325274bb 1062 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
dbbb98cd 1063 { "_class_wxConfig","_wxConfig",0},
325274bb
RD
1064 { "_wxKeyEvent","_class_wxKeyEvent",0},
1065 { "_wxMoveEvent","_class_wxMoveEvent",0},
1066 { "_wxColourData","_class_wxColourData",0},
1067 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
1068 { "_class_wxPalette","_wxPalette",0},
d2103cf2 1069 { "_wxFileDataObject","_class_wxFileDataObject",0},
325274bb 1070 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
f6bcfd97 1071 { "_wxNotebookSizer","_class_wxNotebookSizer",0},
325274bb 1072 { "_class_wxEraseEvent","_wxEraseEvent",0},
d2103cf2 1073 { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0},
325274bb 1074 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
d2103cf2
RD
1075 { "_class_wxDataObjectComposite","_wxDataObjectComposite",0},
1076 { "_class_wxToolBarToolBase","_wxToolBarToolBase",0},
325274bb
RD
1077 { "_class_wxFontDialog","_wxFontDialog",0},
1078 { "_wxWindow","_class_wxGLCanvas",SwigwxGLCanvasTowxWindow},
1079 { "_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow},
1080 { "_wxWindow","_class_wxWindow",0},
d2103cf2 1081 { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0},
c368d904 1082 { "_wxLogStderr","_class_wxLogStderr",0},
dbbb98cd
RD
1083 { "_class_wxFileSystemHandler","_wxFileSystemHandler",0},
1084 { "_class_wxFileSystem","_wxFileSystem",0},
325274bb
RD
1085 { "_class_wxFrame","_wxFrame",0},
1086{0,0,0}};
1087
1088static PyObject *SWIG_globals;
1089#ifdef __cplusplus
1090extern "C"
1091#endif
1092SWIGEXPORT(void) initglcanvasc() {
1093 PyObject *m, *d;
1094 SWIG_globals = SWIG_newvarlink();
1095 m = Py_InitModule("glcanvasc", glcanvascMethods);
1096 d = PyModule_GetDict(m);
325274bb
RD
1097
1098
1e7ecb7b
RD
1099// wxClassInfo::CleanUpClasses();
1100// wxClassInfo::InitializeClasses();
325274bb
RD
1101
1102{
1103 int i;
1104 for (i = 0; _swig_mapping[i].n1; i++)
1105 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
1106}
1107}