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