2 * FILE : contrib/glcanvas/msw/glcanvas.cpp
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 883)
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.
13 * Do not make changes to this file--changes will be lost!
19 /* Implementation : PYTHON */
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
32 # define SWIGEXPORT(a) a
36 # define SWIGEXPORT(a) a
45 extern void SWIG_MakePtr(char *, void *, char *);
46 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47 extern char *SWIG_GetPtr(char *, void **, char *);
48 extern char *SWIG_GetPtrObj(PyObject
*, void **, char *);
49 extern void SWIG_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
50 extern PyObject
*SWIG_newvarlink(void);
54 #define SWIG_init initglcanvasc
56 #define SWIG_name "glcanvasc"
60 #include "myglcanvas.h"
62 #include <wx/glcanvas.h>
67 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
73 } else if (target
== Py_None
) {
77 if (!PyTuple_Check(target
)) {
79 target
= PyTuple_New(1);
80 PyTuple_SetItem(target
, 0, o2
);
83 PyTuple_SetItem(o3
, 0, o
);
86 target
= PySequence_Concat(o2
, o3
);
93 #if PYTHON_API_VERSION >= 1009
94 static char* wxStringErrorMsg
= "String or Unicode type required";
96 static char* wxStringErrorMsg
= "string type is required for parameter";
101 static void *SwigwxGLContextTowxObject(void *ptr
) {
104 src
= (wxGLContext
*) ptr
;
105 dest
= (wxObject
*) src
;
106 return (void *) dest
;
109 #define new_wxGLContext(_swigarg0,_swigarg1,_swigarg2) (new wxGLContext(_swigarg0,_swigarg1,_swigarg2))
110 static PyObject
*_wrap_new_wxGLContext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
111 PyObject
* _resultobj
;
112 wxGLContext
* _result
;
115 wxPalette
* _arg2
= (wxPalette
*) &wxNullPalette
;
117 PyObject
* _argo1
= 0;
118 PyObject
* _argo2
= 0;
119 char *_kwnames
[] = { "isRGB","win","palette", NULL
};
123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"iO|O:new_wxGLContext",_kwnames
,&tempbool0
,&_argo1
,&_argo2
))
125 _arg0
= (bool ) tempbool0
;
127 if (_argo1
== Py_None
) { _arg1
= NULL
; }
128 else if (SWIG_GetPtrObj(_argo1
,(void **) &_arg1
,"_wxGLCanvas_p")) {
129 PyErr_SetString(PyExc_TypeError
,"Type error in argument 2 of new_wxGLContext. Expected _wxGLCanvas_p.");
134 if (_argo2
== Py_None
) { _arg2
= NULL
; }
135 else if (SWIG_GetPtrObj(_argo2
,(void **) &_arg2
,"_wxPalette_p")) {
136 PyErr_SetString(PyExc_TypeError
,"Type error in argument 3 of new_wxGLContext. Expected _wxPalette_p.");
141 wxPy_BEGIN_ALLOW_THREADS
;
142 _result
= (wxGLContext
*)new_wxGLContext(_arg0
,_arg1
,*_arg2
);
144 wxPy_END_ALLOW_THREADS
;
146 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGLContext_p");
147 _resultobj
= Py_BuildValue("s",_ptemp
);
150 _resultobj
= Py_None
;
155 #define delete_wxGLContext(_swigobj) (delete _swigobj)
156 static PyObject
*_wrap_delete_wxGLContext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
157 PyObject
* _resultobj
;
159 PyObject
* _argo0
= 0;
160 char *_kwnames
[] = { "self", NULL
};
163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:delete_wxGLContext",_kwnames
,&_argo0
))
166 if (_argo0
== Py_None
) { _arg0
= NULL
; }
167 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLContext_p")) {
168 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of delete_wxGLContext. Expected _wxGLContext_p.");
173 wxPy_BEGIN_ALLOW_THREADS
;
174 delete_wxGLContext(_arg0
);
176 wxPy_END_ALLOW_THREADS
;
177 } Py_INCREF(Py_None
);
178 _resultobj
= Py_None
;
182 #define wxGLContext_SetCurrent(_swigobj) (_swigobj->SetCurrent())
183 static PyObject
*_wrap_wxGLContext_SetCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
184 PyObject
* _resultobj
;
186 PyObject
* _argo0
= 0;
187 char *_kwnames
[] = { "self", NULL
};
190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGLContext_SetCurrent",_kwnames
,&_argo0
))
193 if (_argo0
== Py_None
) { _arg0
= NULL
; }
194 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLContext_p")) {
195 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLContext_SetCurrent. Expected _wxGLContext_p.");
200 wxPy_BEGIN_ALLOW_THREADS
;
201 wxGLContext_SetCurrent(_arg0
);
203 wxPy_END_ALLOW_THREADS
;
204 } Py_INCREF(Py_None
);
205 _resultobj
= Py_None
;
209 #define wxGLContext_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
210 static PyObject
*_wrap_wxGLContext_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
211 PyObject
* _resultobj
;
214 PyObject
* _argo0
= 0;
215 char *_kwnames
[] = { "self","colour", NULL
};
218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxGLContext_SetColour",_kwnames
,&_argo0
,&_arg1
))
221 if (_argo0
== Py_None
) { _arg0
= NULL
; }
222 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLContext_p")) {
223 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLContext_SetColour. Expected _wxGLContext_p.");
228 wxPy_BEGIN_ALLOW_THREADS
;
229 wxGLContext_SetColour(_arg0
,_arg1
);
231 wxPy_END_ALLOW_THREADS
;
232 } Py_INCREF(Py_None
);
233 _resultobj
= Py_None
;
237 #define wxGLContext_SwapBuffers(_swigobj) (_swigobj->SwapBuffers())
238 static PyObject
*_wrap_wxGLContext_SwapBuffers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
239 PyObject
* _resultobj
;
241 PyObject
* _argo0
= 0;
242 char *_kwnames
[] = { "self", NULL
};
245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGLContext_SwapBuffers",_kwnames
,&_argo0
))
248 if (_argo0
== Py_None
) { _arg0
= NULL
; }
249 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLContext_p")) {
250 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLContext_SwapBuffers. Expected _wxGLContext_p.");
255 wxPy_BEGIN_ALLOW_THREADS
;
256 wxGLContext_SwapBuffers(_arg0
);
258 wxPy_END_ALLOW_THREADS
;
259 } Py_INCREF(Py_None
);
260 _resultobj
= Py_None
;
264 #define wxGLContext_GetWindow(_swigobj) (_swigobj->GetWindow())
265 static PyObject
*_wrap_wxGLContext_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
266 PyObject
* _resultobj
;
269 PyObject
* _argo0
= 0;
270 char *_kwnames
[] = { "self", NULL
};
273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGLContext_GetWindow",_kwnames
,&_argo0
))
276 if (_argo0
== Py_None
) { _arg0
= NULL
; }
277 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLContext_p")) {
278 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLContext_GetWindow. Expected _wxGLContext_p.");
283 wxPy_BEGIN_ALLOW_THREADS
;
284 _result
= (wxWindow
*)wxGLContext_GetWindow(_arg0
);
286 wxPy_END_ALLOW_THREADS
;
287 }{ _resultobj
= wxPyMake_wxObject(_result
); }
291 static void *SwigwxGLCanvasTowxScrolledWindow(void *ptr
) {
293 wxScrolledWindow
*dest
;
294 src
= (wxGLCanvas
*) ptr
;
295 dest
= (wxScrolledWindow
*) src
;
296 return (void *) dest
;
299 static void *SwigwxGLCanvasTowxPanel(void *ptr
) {
302 src
= (wxGLCanvas
*) ptr
;
303 dest
= (wxPanel
*) src
;
304 return (void *) dest
;
307 static void *SwigwxGLCanvasTowxWindow(void *ptr
) {
310 src
= (wxGLCanvas
*) ptr
;
311 dest
= (wxWindow
*) src
;
312 return (void *) dest
;
315 static void *SwigwxGLCanvasTowxEvtHandler(void *ptr
) {
318 src
= (wxGLCanvas
*) ptr
;
319 dest
= (wxEvtHandler
*) src
;
320 return (void *) dest
;
323 static void *SwigwxGLCanvasTowxObject(void *ptr
) {
326 src
= (wxGLCanvas
*) ptr
;
327 dest
= (wxObject
*) src
;
328 return (void *) dest
;
331 #define new_wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7) (new wxGLCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6,_swigarg7))
332 static PyObject
*_wrap_new_wxGLCanvas(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
333 PyObject
* _resultobj
;
334 wxGLCanvas
* _result
;
336 wxWindowID _arg1
= (wxWindowID
) -1;
337 wxPoint
* _arg2
= (wxPoint
*) &wxDefaultPosition
;
338 wxSize
* _arg3
= (wxSize
*) &wxDefaultSize
;
339 long _arg4
= (long ) 0;
340 char * _arg5
= (char *) "GLCanvas";
341 int * _arg6
= (int *) NULL
;
342 wxPalette
* _arg7
= (wxPalette
*) &wxNullPalette
;
343 PyObject
* _argo0
= 0;
345 PyObject
* _obj2
= 0;
347 PyObject
* _obj3
= 0;
349 PyObject
* _obj6
= 0;
350 PyObject
* _argo7
= 0;
351 char *_kwnames
[] = { "parent","id","pos","size","style","name","attribList","palette", NULL
};
355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O|iOOlsOO:new_wxGLCanvas",_kwnames
,&_argo0
,&_arg1
,&_obj2
,&_obj3
,&_arg4
,&_arg5
,&_obj6
,&_argo7
))
358 if (_argo0
== Py_None
) { _arg0
= NULL
; }
359 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxWindow_p")) {
360 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of new_wxGLCanvas. Expected _wxWindow_p.");
367 if (! wxPoint_helper(_obj2
, &_arg2
))
373 if (! wxSize_helper(_obj3
, &_arg3
))
379 if (PySequence_Check(_obj6
)) {
380 int size
= PyObject_Length(_obj6
);
381 temp1
= new int[size
+1]; // (int*)malloc((size + 1) * sizeof(int));
382 for (i
= 0; i
< size
; i
++) {
383 temp1
[i
] = PyInt_AsLong(PySequence_GetItem(_obj6
, i
));
390 if (_argo7
== Py_None
) { _arg7
= NULL
; }
391 else if (SWIG_GetPtrObj(_argo7
,(void **) &_arg7
,"_wxPalette_p")) {
392 PyErr_SetString(PyExc_TypeError
,"Type error in argument 8 of new_wxGLCanvas. Expected _wxPalette_p.");
397 wxPy_BEGIN_ALLOW_THREADS
;
398 _result
= (wxGLCanvas
*)new_wxGLCanvas(_arg0
,_arg1
,*_arg2
,*_arg3
,_arg4
,_arg5
,_arg6
,*_arg7
);
400 wxPy_END_ALLOW_THREADS
;
402 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGLCanvas_p");
403 _resultobj
= Py_BuildValue("s",_ptemp
);
406 _resultobj
= Py_None
;
414 #define wxGLCanvas_SetCurrent(_swigobj) (_swigobj->SetCurrent())
415 static PyObject
*_wrap_wxGLCanvas_SetCurrent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
416 PyObject
* _resultobj
;
418 PyObject
* _argo0
= 0;
419 char *_kwnames
[] = { "self", NULL
};
422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGLCanvas_SetCurrent",_kwnames
,&_argo0
))
425 if (_argo0
== Py_None
) { _arg0
= NULL
; }
426 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLCanvas_p")) {
427 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLCanvas_SetCurrent. Expected _wxGLCanvas_p.");
432 wxPy_BEGIN_ALLOW_THREADS
;
433 wxGLCanvas_SetCurrent(_arg0
);
435 wxPy_END_ALLOW_THREADS
;
436 } Py_INCREF(Py_None
);
437 _resultobj
= Py_None
;
441 #define wxGLCanvas_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0))
442 static PyObject
*_wrap_wxGLCanvas_SetColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
443 PyObject
* _resultobj
;
446 PyObject
* _argo0
= 0;
447 char *_kwnames
[] = { "self","colour", NULL
};
450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"Os:wxGLCanvas_SetColour",_kwnames
,&_argo0
,&_arg1
))
453 if (_argo0
== Py_None
) { _arg0
= NULL
; }
454 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLCanvas_p")) {
455 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLCanvas_SetColour. Expected _wxGLCanvas_p.");
460 wxPy_BEGIN_ALLOW_THREADS
;
461 wxGLCanvas_SetColour(_arg0
,_arg1
);
463 wxPy_END_ALLOW_THREADS
;
464 } Py_INCREF(Py_None
);
465 _resultobj
= Py_None
;
469 #define wxGLCanvas_SwapBuffers(_swigobj) (_swigobj->SwapBuffers())
470 static PyObject
*_wrap_wxGLCanvas_SwapBuffers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
471 PyObject
* _resultobj
;
473 PyObject
* _argo0
= 0;
474 char *_kwnames
[] = { "self", NULL
};
477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGLCanvas_SwapBuffers",_kwnames
,&_argo0
))
480 if (_argo0
== Py_None
) { _arg0
= NULL
; }
481 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLCanvas_p")) {
482 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLCanvas_SwapBuffers. Expected _wxGLCanvas_p.");
487 wxPy_BEGIN_ALLOW_THREADS
;
488 wxGLCanvas_SwapBuffers(_arg0
);
490 wxPy_END_ALLOW_THREADS
;
491 } Py_INCREF(Py_None
);
492 _resultobj
= Py_None
;
496 #define wxGLCanvas_GetContext(_swigobj) (_swigobj->GetContext())
497 static PyObject
*_wrap_wxGLCanvas_GetContext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
498 PyObject
* _resultobj
;
499 wxGLContext
* _result
;
501 PyObject
* _argo0
= 0;
502 char *_kwnames
[] = { "self", NULL
};
506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,"O:wxGLCanvas_GetContext",_kwnames
,&_argo0
))
509 if (_argo0
== Py_None
) { _arg0
= NULL
; }
510 else if (SWIG_GetPtrObj(_argo0
,(void **) &_arg0
,"_wxGLCanvas_p")) {
511 PyErr_SetString(PyExc_TypeError
,"Type error in argument 1 of wxGLCanvas_GetContext. Expected _wxGLCanvas_p.");
516 wxPy_BEGIN_ALLOW_THREADS
;
517 _result
= (wxGLContext
*)wxGLCanvas_GetContext(_arg0
);
519 wxPy_END_ALLOW_THREADS
;
521 SWIG_MakePtr(_ptemp
, (char *) _result
,"_wxGLContext_p");
522 _resultobj
= Py_BuildValue("s",_ptemp
);
525 _resultobj
= Py_None
;
530 static PyMethodDef glcanvascMethods
[] = {
531 { "wxGLCanvas_GetContext", (PyCFunction
) _wrap_wxGLCanvas_GetContext
, METH_VARARGS
| METH_KEYWORDS
},
532 { "wxGLCanvas_SwapBuffers", (PyCFunction
) _wrap_wxGLCanvas_SwapBuffers
, METH_VARARGS
| METH_KEYWORDS
},
533 { "wxGLCanvas_SetColour", (PyCFunction
) _wrap_wxGLCanvas_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
534 { "wxGLCanvas_SetCurrent", (PyCFunction
) _wrap_wxGLCanvas_SetCurrent
, METH_VARARGS
| METH_KEYWORDS
},
535 { "new_wxGLCanvas", (PyCFunction
) _wrap_new_wxGLCanvas
, METH_VARARGS
| METH_KEYWORDS
},
536 { "wxGLContext_GetWindow", (PyCFunction
) _wrap_wxGLContext_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
537 { "wxGLContext_SwapBuffers", (PyCFunction
) _wrap_wxGLContext_SwapBuffers
, METH_VARARGS
| METH_KEYWORDS
},
538 { "wxGLContext_SetColour", (PyCFunction
) _wrap_wxGLContext_SetColour
, METH_VARARGS
| METH_KEYWORDS
},
539 { "wxGLContext_SetCurrent", (PyCFunction
) _wrap_wxGLContext_SetCurrent
, METH_VARARGS
| METH_KEYWORDS
},
540 { "delete_wxGLContext", (PyCFunction
) _wrap_delete_wxGLContext
, METH_VARARGS
| METH_KEYWORDS
},
541 { "new_wxGLContext", (PyCFunction
) _wrap_new_wxGLContext
, METH_VARARGS
| METH_KEYWORDS
},
548 * This table is used by the pointer type-checker
550 static struct { char *n1
; char *n2
; void *(*pcnv
)(void *); } _swig_mapping
[] = {
551 { "_signed_long","_long",0},
552 { "_wxPrintQuality","_wxCoord",0},
553 { "_wxPrintQuality","_int",0},
554 { "_wxPrintQuality","_signed_int",0},
555 { "_wxPrintQuality","_unsigned_int",0},
556 { "_wxPrintQuality","_wxWindowID",0},
557 { "_wxPrintQuality","_uint",0},
558 { "_wxPrintQuality","_EBool",0},
559 { "_wxPrintQuality","_size_t",0},
560 { "_wxPrintQuality","_time_t",0},
561 { "_byte","_unsigned_char",0},
562 { "_long","_unsigned_long",0},
563 { "_long","_signed_long",0},
564 { "_size_t","_wxCoord",0},
565 { "_size_t","_wxPrintQuality",0},
566 { "_size_t","_time_t",0},
567 { "_size_t","_unsigned_int",0},
568 { "_size_t","_int",0},
569 { "_size_t","_wxWindowID",0},
570 { "_size_t","_uint",0},
571 { "_wxPanel","_wxGLCanvas",SwigwxGLCanvasTowxPanel
},
572 { "_uint","_wxCoord",0},
573 { "_uint","_wxPrintQuality",0},
574 { "_uint","_time_t",0},
575 { "_uint","_size_t",0},
576 { "_uint","_unsigned_int",0},
578 { "_uint","_wxWindowID",0},
579 { "_wxChar","_char",0},
580 { "_char","_wxChar",0},
581 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
582 { "_EBool","_wxCoord",0},
583 { "_EBool","_wxPrintQuality",0},
584 { "_EBool","_signed_int",0},
585 { "_EBool","_int",0},
586 { "_EBool","_wxWindowID",0},
587 { "_unsigned_long","_long",0},
588 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
589 { "_signed_int","_wxCoord",0},
590 { "_signed_int","_wxPrintQuality",0},
591 { "_signed_int","_EBool",0},
592 { "_signed_int","_wxWindowID",0},
593 { "_signed_int","_int",0},
594 { "_WXTYPE","_wxDateTime_t",0},
595 { "_WXTYPE","_short",0},
596 { "_WXTYPE","_signed_short",0},
597 { "_WXTYPE","_unsigned_short",0},
598 { "_unsigned_short","_wxDateTime_t",0},
599 { "_unsigned_short","_WXTYPE",0},
600 { "_unsigned_short","_short",0},
601 { "_wxObject","_wxGLCanvas",SwigwxGLCanvasTowxObject
},
602 { "_wxObject","_wxGLContext",SwigwxGLContextTowxObject
},
603 { "_signed_short","_WXTYPE",0},
604 { "_signed_short","_short",0},
605 { "_wxScrolledWindow","_wxGLCanvas",SwigwxGLCanvasTowxScrolledWindow
},
606 { "_unsigned_char","_byte",0},
607 { "_unsigned_int","_wxCoord",0},
608 { "_unsigned_int","_wxPrintQuality",0},
609 { "_unsigned_int","_time_t",0},
610 { "_unsigned_int","_size_t",0},
611 { "_unsigned_int","_uint",0},
612 { "_unsigned_int","_wxWindowID",0},
613 { "_unsigned_int","_int",0},
614 { "_short","_wxDateTime_t",0},
615 { "_short","_WXTYPE",0},
616 { "_short","_unsigned_short",0},
617 { "_short","_signed_short",0},
618 { "_wxWindowID","_wxCoord",0},
619 { "_wxWindowID","_wxPrintQuality",0},
620 { "_wxWindowID","_time_t",0},
621 { "_wxWindowID","_size_t",0},
622 { "_wxWindowID","_EBool",0},
623 { "_wxWindowID","_uint",0},
624 { "_wxWindowID","_int",0},
625 { "_wxWindowID","_signed_int",0},
626 { "_wxWindowID","_unsigned_int",0},
627 { "_int","_wxCoord",0},
628 { "_int","_wxPrintQuality",0},
629 { "_int","_time_t",0},
630 { "_int","_size_t",0},
631 { "_int","_EBool",0},
633 { "_int","_wxWindowID",0},
634 { "_int","_unsigned_int",0},
635 { "_int","_signed_int",0},
636 { "_wxDateTime_t","_unsigned_short",0},
637 { "_wxDateTime_t","_short",0},
638 { "_wxDateTime_t","_WXTYPE",0},
639 { "_time_t","_wxCoord",0},
640 { "_time_t","_wxPrintQuality",0},
641 { "_time_t","_unsigned_int",0},
642 { "_time_t","_int",0},
643 { "_time_t","_wxWindowID",0},
644 { "_time_t","_uint",0},
645 { "_time_t","_size_t",0},
646 { "_wxCoord","_int",0},
647 { "_wxCoord","_signed_int",0},
648 { "_wxCoord","_unsigned_int",0},
649 { "_wxCoord","_wxWindowID",0},
650 { "_wxCoord","_uint",0},
651 { "_wxCoord","_EBool",0},
652 { "_wxCoord","_size_t",0},
653 { "_wxCoord","_time_t",0},
654 { "_wxCoord","_wxPrintQuality",0},
655 { "_wxEvtHandler","_wxGLCanvas",SwigwxGLCanvasTowxEvtHandler
},
656 { "_wxWindow","_wxGLCanvas",SwigwxGLCanvasTowxWindow
},
659 static PyObject
*SWIG_globals
;
663 SWIGEXPORT(void) initglcanvasc() {
665 SWIG_globals
= SWIG_newvarlink();
666 m
= Py_InitModule("glcanvasc", glcanvascMethods
);
667 d
= PyModule_GetDict(m
);
670 wxClassInfo::CleanUpClasses();
671 wxClassInfo::InitializeClasses();
675 for (i
= 0; _swig_mapping
[i
].n1
; i
++)
676 SWIG_RegisterMapping(_swig_mapping
[i
].n1
,_swig_mapping
[i
].n2
,_swig_mapping
[i
].pcnv
);