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