]>
Commit | Line | Data |
---|---|---|
1 | /* ---------------------------------------------------------------------------- | |
2 | * This file was automatically generated by SWIG (http://www.swig.org). | |
3 | * Version 1.3.20 | |
4 | * | |
5 | * This file is not intended to be easily readable and contains a number of | |
6 | * coding conventions designed to improve portability and efficiency. Do not make | |
7 | * changes to this file unless you know what you are doing--modify the SWIG | |
8 | * interface file instead. | |
9 | * ----------------------------------------------------------------------------- */ | |
10 | ||
11 | #define SWIGPYTHON | |
12 | #define SWIG_NOINCLUDE | |
13 | ||
14 | #ifdef __cplusplus | |
15 | template<class T> class SwigValueWrapper { | |
16 | T *tt; | |
17 | public: | |
18 | SwigValueWrapper() : tt(0) { } | |
19 | SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { } | |
20 | SwigValueWrapper(const T& t) : tt(new T(t)) { } | |
21 | ~SwigValueWrapper() { delete tt; } | |
22 | SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; } | |
23 | operator T&() const { return *tt; } | |
24 | T *operator&() { return tt; } | |
25 | private: | |
26 | SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs); | |
27 | }; | |
28 | #endif | |
29 | ||
30 | ||
31 | #include "Python.h" | |
32 | ||
33 | /*************************************************************** -*- c -*- | |
34 | * python/precommon.swg | |
35 | * | |
36 | * Rename all exported symbols from common.swg, to avoid symbol | |
37 | * clashes if multiple interpreters are included | |
38 | * | |
39 | ************************************************************************/ | |
40 | ||
41 | #define SWIG_TypeRegister SWIG_Python_TypeRegister | |
42 | #define SWIG_TypeCheck SWIG_Python_TypeCheck | |
43 | #define SWIG_TypeCast SWIG_Python_TypeCast | |
44 | #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast | |
45 | #define SWIG_TypeName SWIG_Python_TypeName | |
46 | #define SWIG_TypeQuery SWIG_Python_TypeQuery | |
47 | #define SWIG_TypeClientData SWIG_Python_TypeClientData | |
48 | #define SWIG_PackData SWIG_Python_PackData | |
49 | #define SWIG_UnpackData SWIG_Python_UnpackData | |
50 | ||
51 | ||
52 | /*********************************************************************** | |
53 | * common.swg for wxPython | |
54 | * | |
55 | * Include only the function prototypes and such from SWIG's common.swg, | |
56 | * but not the runtime functions themselves. This helps keep the | |
57 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
58 | * anyway. | |
59 | * | |
60 | ************************************************************************/ | |
61 | ||
62 | #include <string.h> | |
63 | ||
64 | #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) | |
65 | # if defined(_MSC_VER) || defined(__GNUC__) | |
66 | # if defined(STATIC_LINKED) | |
67 | # define SWIGEXPORT(a) a | |
68 | # define SWIGIMPORT(a) extern a | |
69 | # else | |
70 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
71 | # define SWIGIMPORT(a) extern a | |
72 | # endif | |
73 | # else | |
74 | # if defined(__BORLANDC__) | |
75 | # define SWIGEXPORT(a) a _export | |
76 | # define SWIGIMPORT(a) a _export | |
77 | # else | |
78 | # define SWIGEXPORT(a) a | |
79 | # define SWIGIMPORT(a) a | |
80 | # endif | |
81 | # endif | |
82 | #else | |
83 | # define SWIGEXPORT(a) a | |
84 | # define SWIGIMPORT(a) a | |
85 | #endif | |
86 | ||
87 | #ifdef SWIG_GLOBAL | |
88 | # define SWIGRUNTIME(a) SWIGEXPORT(a) | |
89 | #else | |
90 | # define SWIGRUNTIME(a) static a | |
91 | #endif | |
92 | ||
93 | #ifdef __cplusplus | |
94 | extern "C" { | |
95 | #endif | |
96 | ||
97 | typedef void *(*swig_converter_func)(void *); | |
98 | typedef struct swig_type_info *(*swig_dycast_func)(void **); | |
99 | ||
100 | typedef struct swig_type_info { | |
101 | const char *name; | |
102 | swig_converter_func converter; | |
103 | const char *str; | |
104 | void *clientdata; | |
105 | swig_dycast_func dcast; | |
106 | struct swig_type_info *next; | |
107 | struct swig_type_info *prev; | |
108 | } swig_type_info; | |
109 | ||
110 | ||
111 | SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *); | |
112 | SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *); | |
113 | SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *); | |
114 | SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **); | |
115 | SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *); | |
116 | SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *); | |
117 | SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *); | |
118 | SWIGIMPORT(char *) SWIG_PackData(char *, void *, int); | |
119 | SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int); | |
120 | ||
121 | ||
122 | #ifdef __cplusplus | |
123 | } | |
124 | ||
125 | #endif | |
126 | ||
127 | ||
128 | /*********************************************************************** | |
129 | * pyrun.swg for wxPython | |
130 | * | |
131 | * Include only the function prototypes and such from SWIG's pyrun.swg, | |
132 | * but not the runtime functions themselves. This helps keep the | |
133 | * wrapper files clean of unnecessary stuff that is in the libpy.c file | |
134 | * anyway. | |
135 | * | |
136 | ************************************************************************/ | |
137 | ||
138 | #include "Python.h" | |
139 | ||
140 | #ifdef __cplusplus | |
141 | extern "C" { | |
142 | #endif | |
143 | ||
144 | #define SWIG_PY_INT 1 | |
145 | #define SWIG_PY_FLOAT 2 | |
146 | #define SWIG_PY_STRING 3 | |
147 | #define SWIG_PY_POINTER 4 | |
148 | #define SWIG_PY_BINARY 5 | |
149 | ||
150 | /* Flags for pointer conversion */ | |
151 | ||
152 | #define SWIG_POINTER_EXCEPTION 0x1 | |
153 | #define SWIG_POINTER_DISOWN 0x2 | |
154 | ||
155 | /* Exception handling in wrappers */ | |
156 | #define SWIG_fail goto fail | |
157 | ||
158 | /* Constant information structure */ | |
159 | typedef struct swig_const_info { | |
160 | int type; | |
161 | char *name; | |
162 | long lvalue; | |
163 | double dvalue; | |
164 | void *pvalue; | |
165 | swig_type_info **ptype; | |
166 | } swig_const_info; | |
167 | ||
168 | /* Common SWIG API */ | |
169 | #define SWIG_ConvertPtr(obj, pp, type, flags) \ | |
170 | SWIG_Python_ConvertPtr(obj, pp, type, flags) | |
171 | #define SWIG_NewPointerObj(p, type, flags) \ | |
172 | SWIG_Python_NewPointerObj(p, type, flags) | |
173 | #define SWIG_MustGetPtr(p, type, argnum, flags) \ | |
174 | SWIG_Python_MustGetPtr(p, type, argnum, flags) | |
175 | ||
176 | /* Python-specific SWIG API */ | |
177 | #define SWIG_newvarlink() \ | |
178 | SWIG_Python_newvarlink() | |
179 | #define SWIG_addvarlink(p, name, get_attr, set_attr) \ | |
180 | SWIG_Python_addvarlink(p, name, get_attr, set_attr) | |
181 | #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \ | |
182 | SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags) | |
183 | #define SWIG_NewPackedObj(ptr, sz, type) \ | |
184 | SWIG_Python_NewPackedObj(ptr, sz, type) | |
185 | #define SWIG_InstallConstants(d, constants) \ | |
186 | SWIG_Python_InstallConstants(d, constants) | |
187 | ||
188 | ||
189 | SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int); | |
190 | SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own); | |
191 | SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int); | |
192 | SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void); | |
193 | SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
194 | SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int); | |
195 | SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *); | |
196 | SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]); | |
197 | ||
198 | ||
199 | ||
200 | /* Contract support */ | |
201 | ||
202 | #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else | |
203 | ||
204 | #ifdef __cplusplus | |
205 | } | |
206 | #endif | |
207 | ||
208 | ||
209 | ||
210 | /* -------- TYPES TABLE (BEGIN) -------- */ | |
211 | ||
212 | #define SWIGTYPE_p_wxWindow swig_types[0] | |
213 | #define SWIGTYPE_p_wxObject swig_types[1] | |
214 | #define SWIGTYPE_p_wxEvtHandler swig_types[2] | |
215 | #define SWIGTYPE_p_wxPalette swig_types[3] | |
216 | #define SWIGTYPE_p_wxGLCanvas swig_types[4] | |
217 | #define SWIGTYPE_p_wxString swig_types[5] | |
218 | #define SWIGTYPE_p_wxGLContext swig_types[6] | |
219 | #define SWIGTYPE_p_int swig_types[7] | |
220 | static swig_type_info *swig_types[9]; | |
221 | ||
222 | /* -------- TYPES TABLE (END) -------- */ | |
223 | ||
224 | ||
225 | /*----------------------------------------------- | |
226 | @(target):= _glcanvas.so | |
227 | ------------------------------------------------*/ | |
228 | #define SWIG_init init_glcanvas | |
229 | ||
230 | #define SWIG_name "_glcanvas" | |
231 | ||
232 | #include "wx/wxPython/wxPython.h" | |
233 | #include "wx/wxPython/pyclasses.h" | |
234 | ||
235 | #include <wx/glcanvas.h> | |
236 | ||
237 | ||
238 | static const wxString wxPyGLCanvasNameStr(wxT("GLCanvas")); | |
239 | static const wxString wxPyEmptyString(wxEmptyString); | |
240 | wxGLContext *new_wxGLContext(bool isRGB,wxGLCanvas *win,wxPalette const &palette,wxGLContext const *other){ | |
241 | AGLPixelFormat fmt; // TODO: How should this be initialized? | |
242 | return new wxGLContext(fmt, win, palette, other); | |
243 | } | |
244 | #ifdef __cplusplus | |
245 | extern "C" { | |
246 | #endif | |
247 | static int _wrap_GLCanvasNameStr_set(PyObject *_val) { | |
248 | PyErr_SetString(PyExc_TypeError,"Variable GLCanvasNameStr is read-only."); | |
249 | return 1; | |
250 | } | |
251 | ||
252 | ||
253 | static PyObject *_wrap_GLCanvasNameStr_get() { | |
254 | PyObject *pyobj; | |
255 | ||
256 | { | |
257 | #if wxUSE_UNICODE | |
258 | pyobj = PyUnicode_FromWideChar((&wxPyGLCanvasNameStr)->c_str(), (&wxPyGLCanvasNameStr)->Len()); | |
259 | #else | |
260 | pyobj = PyString_FromStringAndSize((&wxPyGLCanvasNameStr)->c_str(), (&wxPyGLCanvasNameStr)->Len()); | |
261 | #endif | |
262 | } | |
263 | return pyobj; | |
264 | } | |
265 | ||
266 | ||
267 | static PyObject *_wrap_new_GLContext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
268 | PyObject *resultobj; | |
269 | bool arg1 ; | |
270 | wxGLCanvas *arg2 = (wxGLCanvas *) 0 ; | |
271 | wxPalette const &arg3_defvalue = wxNullPalette ; | |
272 | wxPalette *arg3 = (wxPalette *) &arg3_defvalue ; | |
273 | wxGLContext *arg4 = (wxGLContext *) NULL ; | |
274 | wxGLContext *result; | |
275 | PyObject * obj0 = 0 ; | |
276 | PyObject * obj1 = 0 ; | |
277 | PyObject * obj2 = 0 ; | |
278 | PyObject * obj3 = 0 ; | |
279 | char *kwnames[] = { | |
280 | (char *) "isRGB",(char *) "win",(char *) "palette",(char *) "other", NULL | |
281 | }; | |
282 | ||
283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_GLContext",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail; | |
284 | arg1 = PyInt_AsLong(obj0) ? true : false; | |
285 | if (PyErr_Occurred()) SWIG_fail; | |
286 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGLCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
287 | if (obj2) { | |
288 | if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPalette,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
289 | if (arg3 == NULL) { | |
290 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
291 | } | |
292 | } | |
293 | if (obj3) { | |
294 | if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxGLContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
295 | } | |
296 | { | |
297 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
298 | result = (wxGLContext *)new_wxGLContext(arg1,arg2,(wxPalette const &)*arg3,(wxGLContext const *)arg4); | |
299 | ||
300 | wxPyEndAllowThreads(__tstate); | |
301 | if (PyErr_Occurred()) SWIG_fail; | |
302 | } | |
303 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGLContext, 1); | |
304 | return resultobj; | |
305 | fail: | |
306 | return NULL; | |
307 | } | |
308 | ||
309 | ||
310 | static PyObject *_wrap_delete_GLContext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
311 | PyObject *resultobj; | |
312 | wxGLContext *arg1 = (wxGLContext *) 0 ; | |
313 | PyObject * obj0 = 0 ; | |
314 | char *kwnames[] = { | |
315 | (char *) "self", NULL | |
316 | }; | |
317 | ||
318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_GLContext",kwnames,&obj0)) goto fail; | |
319 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
320 | { | |
321 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
322 | delete arg1; | |
323 | ||
324 | wxPyEndAllowThreads(__tstate); | |
325 | if (PyErr_Occurred()) SWIG_fail; | |
326 | } | |
327 | Py_INCREF(Py_None); resultobj = Py_None; | |
328 | return resultobj; | |
329 | fail: | |
330 | return NULL; | |
331 | } | |
332 | ||
333 | ||
334 | static PyObject *_wrap_GLContext_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
335 | PyObject *resultobj; | |
336 | wxGLContext *arg1 = (wxGLContext *) 0 ; | |
337 | PyObject * obj0 = 0 ; | |
338 | char *kwnames[] = { | |
339 | (char *) "self", NULL | |
340 | }; | |
341 | ||
342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GLContext_SetCurrent",kwnames,&obj0)) goto fail; | |
343 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
344 | { | |
345 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
346 | (arg1)->SetCurrent(); | |
347 | ||
348 | wxPyEndAllowThreads(__tstate); | |
349 | if (PyErr_Occurred()) SWIG_fail; | |
350 | } | |
351 | Py_INCREF(Py_None); resultobj = Py_None; | |
352 | return resultobj; | |
353 | fail: | |
354 | return NULL; | |
355 | } | |
356 | ||
357 | ||
358 | static PyObject *_wrap_GLContext_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
359 | PyObject *resultobj; | |
360 | wxGLContext *arg1 = (wxGLContext *) 0 ; | |
361 | wxString *arg2 = 0 ; | |
362 | bool temp2 = False ; | |
363 | PyObject * obj0 = 0 ; | |
364 | PyObject * obj1 = 0 ; | |
365 | char *kwnames[] = { | |
366 | (char *) "self",(char *) "colour", NULL | |
367 | }; | |
368 | ||
369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GLContext_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
370 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
371 | { | |
372 | arg2 = wxString_in_helper(obj1); | |
373 | if (arg2 == NULL) SWIG_fail; | |
374 | temp2 = True; | |
375 | } | |
376 | { | |
377 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
378 | (arg1)->SetColour((wxString const &)*arg2); | |
379 | ||
380 | wxPyEndAllowThreads(__tstate); | |
381 | if (PyErr_Occurred()) SWIG_fail; | |
382 | } | |
383 | Py_INCREF(Py_None); resultobj = Py_None; | |
384 | { | |
385 | if (temp2) | |
386 | delete arg2; | |
387 | } | |
388 | return resultobj; | |
389 | fail: | |
390 | { | |
391 | if (temp2) | |
392 | delete arg2; | |
393 | } | |
394 | return NULL; | |
395 | } | |
396 | ||
397 | ||
398 | static PyObject *_wrap_GLContext_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
399 | PyObject *resultobj; | |
400 | wxGLContext *arg1 = (wxGLContext *) 0 ; | |
401 | PyObject * obj0 = 0 ; | |
402 | char *kwnames[] = { | |
403 | (char *) "self", NULL | |
404 | }; | |
405 | ||
406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GLContext_SwapBuffers",kwnames,&obj0)) goto fail; | |
407 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
408 | { | |
409 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
410 | (arg1)->SwapBuffers(); | |
411 | ||
412 | wxPyEndAllowThreads(__tstate); | |
413 | if (PyErr_Occurred()) SWIG_fail; | |
414 | } | |
415 | Py_INCREF(Py_None); resultobj = Py_None; | |
416 | return resultobj; | |
417 | fail: | |
418 | return NULL; | |
419 | } | |
420 | ||
421 | ||
422 | static PyObject *_wrap_GLContext_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
423 | PyObject *resultobj; | |
424 | wxGLContext *arg1 = (wxGLContext *) 0 ; | |
425 | wxWindow *result; | |
426 | PyObject * obj0 = 0 ; | |
427 | char *kwnames[] = { | |
428 | (char *) "self", NULL | |
429 | }; | |
430 | ||
431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GLContext_GetWindow",kwnames,&obj0)) goto fail; | |
432 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
433 | { | |
434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
435 | result = (wxWindow *)(arg1)->GetWindow(); | |
436 | ||
437 | wxPyEndAllowThreads(__tstate); | |
438 | if (PyErr_Occurred()) SWIG_fail; | |
439 | } | |
440 | { | |
441 | resultobj = wxPyMake_wxObject(result); | |
442 | } | |
443 | return resultobj; | |
444 | fail: | |
445 | return NULL; | |
446 | } | |
447 | ||
448 | ||
449 | static PyObject * GLContext_swigregister(PyObject *self, PyObject *args) { | |
450 | PyObject *obj; | |
451 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
452 | SWIG_TypeClientData(SWIGTYPE_p_wxGLContext, obj); | |
453 | Py_INCREF(obj); | |
454 | return Py_BuildValue((char *)""); | |
455 | } | |
456 | static PyObject *_wrap_new_GLCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
457 | PyObject *resultobj; | |
458 | wxWindow *arg1 = (wxWindow *) 0 ; | |
459 | int arg2 = (int) -1 ; | |
460 | wxPoint const &arg3_defvalue = wxDefaultPosition ; | |
461 | wxPoint *arg3 = (wxPoint *) &arg3_defvalue ; | |
462 | wxSize const &arg4_defvalue = wxDefaultSize ; | |
463 | wxSize *arg4 = (wxSize *) &arg4_defvalue ; | |
464 | long arg5 = (long) 0 ; | |
465 | wxString const &arg6_defvalue = wxPyGLCanvasNameStr ; | |
466 | wxString *arg6 = (wxString *) &arg6_defvalue ; | |
467 | int *arg7 = (int *) NULL ; | |
468 | wxPalette const &arg8_defvalue = wxNullPalette ; | |
469 | wxPalette *arg8 = (wxPalette *) &arg8_defvalue ; | |
470 | wxGLCanvas *result; | |
471 | wxPoint temp3 ; | |
472 | wxSize temp4 ; | |
473 | bool temp6 = False ; | |
474 | int *temp7 ; | |
475 | PyObject * obj0 = 0 ; | |
476 | PyObject * obj2 = 0 ; | |
477 | PyObject * obj3 = 0 ; | |
478 | PyObject * obj5 = 0 ; | |
479 | PyObject * obj6 = 0 ; | |
480 | PyObject * obj7 = 0 ; | |
481 | char *kwnames[] = { | |
482 | (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name",(char *) "attribList",(char *) "palette", NULL | |
483 | }; | |
484 | ||
485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOOO:new_GLCanvas",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6,&obj7)) goto fail; | |
486 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
487 | if (obj2) { | |
488 | { | |
489 | arg3 = &temp3; | |
490 | if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail; | |
491 | } | |
492 | } | |
493 | if (obj3) { | |
494 | { | |
495 | arg4 = &temp4; | |
496 | if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail; | |
497 | } | |
498 | } | |
499 | if (obj5) { | |
500 | { | |
501 | arg6 = wxString_in_helper(obj5); | |
502 | if (arg6 == NULL) SWIG_fail; | |
503 | temp6 = True; | |
504 | } | |
505 | } | |
506 | if (obj6) { | |
507 | { | |
508 | int i; | |
509 | if (PySequence_Check(obj6)) { | |
510 | int size = PyObject_Length(obj6); | |
511 | temp7 = new int[size+1]; // (int*)malloc((size + 1) * sizeof(int)); | |
512 | for (i = 0; i < size; i++) { | |
513 | temp7[i] = PyInt_AsLong(PySequence_GetItem(obj6, i)); | |
514 | } | |
515 | temp7[size] = 0; | |
516 | arg7 = temp7; | |
517 | } | |
518 | } | |
519 | } | |
520 | if (obj7) { | |
521 | if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxPalette,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
522 | if (arg8 == NULL) { | |
523 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
524 | } | |
525 | } | |
526 | { | |
527 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
528 | result = (wxGLCanvas *)new wxGLCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6,arg7,(wxPalette const &)*arg8); | |
529 | ||
530 | wxPyEndAllowThreads(__tstate); | |
531 | if (PyErr_Occurred()) SWIG_fail; | |
532 | } | |
533 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGLCanvas, 1); | |
534 | { | |
535 | if (temp6) | |
536 | delete arg6; | |
537 | } | |
538 | { | |
539 | delete [] arg7; | |
540 | } | |
541 | return resultobj; | |
542 | fail: | |
543 | { | |
544 | if (temp6) | |
545 | delete arg6; | |
546 | } | |
547 | { | |
548 | delete [] arg7; | |
549 | } | |
550 | return NULL; | |
551 | } | |
552 | ||
553 | ||
554 | static PyObject *_wrap_new_wxGLCanvasWithContext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
555 | PyObject *resultobj; | |
556 | wxWindow *arg1 = (wxWindow *) 0 ; | |
557 | wxGLContext *arg2 = (wxGLContext *) NULL ; | |
558 | int arg3 = (int) -1 ; | |
559 | wxPoint const &arg4_defvalue = wxDefaultPosition ; | |
560 | wxPoint *arg4 = (wxPoint *) &arg4_defvalue ; | |
561 | wxSize const &arg5_defvalue = wxDefaultSize ; | |
562 | wxSize *arg5 = (wxSize *) &arg5_defvalue ; | |
563 | long arg6 = (long) 0 ; | |
564 | wxString const &arg7_defvalue = wxPyGLCanvasNameStr ; | |
565 | wxString *arg7 = (wxString *) &arg7_defvalue ; | |
566 | int *arg8 = (int *) NULL ; | |
567 | wxPalette const &arg9_defvalue = wxNullPalette ; | |
568 | wxPalette *arg9 = (wxPalette *) &arg9_defvalue ; | |
569 | wxGLCanvas *result; | |
570 | wxPoint temp4 ; | |
571 | wxSize temp5 ; | |
572 | bool temp7 = False ; | |
573 | int *temp8 ; | |
574 | PyObject * obj0 = 0 ; | |
575 | PyObject * obj1 = 0 ; | |
576 | PyObject * obj3 = 0 ; | |
577 | PyObject * obj4 = 0 ; | |
578 | PyObject * obj6 = 0 ; | |
579 | PyObject * obj7 = 0 ; | |
580 | PyObject * obj8 = 0 ; | |
581 | char *kwnames[] = { | |
582 | (char *) "parent",(char *) "shared",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name",(char *) "attribList",(char *) "palette", NULL | |
583 | }; | |
584 | ||
585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OiOOlOOO:new_wxGLCanvasWithContext",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail; | |
586 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
587 | if (obj1) { | |
588 | if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGLContext,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
589 | } | |
590 | if (obj3) { | |
591 | { | |
592 | arg4 = &temp4; | |
593 | if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail; | |
594 | } | |
595 | } | |
596 | if (obj4) { | |
597 | { | |
598 | arg5 = &temp5; | |
599 | if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail; | |
600 | } | |
601 | } | |
602 | if (obj6) { | |
603 | { | |
604 | arg7 = wxString_in_helper(obj6); | |
605 | if (arg7 == NULL) SWIG_fail; | |
606 | temp7 = True; | |
607 | } | |
608 | } | |
609 | if (obj7) { | |
610 | { | |
611 | int i; | |
612 | if (PySequence_Check(obj7)) { | |
613 | int size = PyObject_Length(obj7); | |
614 | temp8 = new int[size+1]; // (int*)malloc((size + 1) * sizeof(int)); | |
615 | for (i = 0; i < size; i++) { | |
616 | temp8[i] = PyInt_AsLong(PySequence_GetItem(obj7, i)); | |
617 | } | |
618 | temp8[size] = 0; | |
619 | arg8 = temp8; | |
620 | } | |
621 | } | |
622 | } | |
623 | if (obj8) { | |
624 | if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxPalette,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
625 | if (arg9 == NULL) { | |
626 | PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail; | |
627 | } | |
628 | } | |
629 | { | |
630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
631 | result = (wxGLCanvas *)new wxGLCanvas(arg1,(wxGLContext const *)arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxPalette const &)*arg9); | |
632 | ||
633 | wxPyEndAllowThreads(__tstate); | |
634 | if (PyErr_Occurred()) SWIG_fail; | |
635 | } | |
636 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGLCanvas, 1); | |
637 | { | |
638 | if (temp7) | |
639 | delete arg7; | |
640 | } | |
641 | { | |
642 | delete [] arg8; | |
643 | } | |
644 | return resultobj; | |
645 | fail: | |
646 | { | |
647 | if (temp7) | |
648 | delete arg7; | |
649 | } | |
650 | { | |
651 | delete [] arg8; | |
652 | } | |
653 | return NULL; | |
654 | } | |
655 | ||
656 | ||
657 | static PyObject *_wrap_GLCanvas_SetCurrent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
658 | PyObject *resultobj; | |
659 | wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; | |
660 | PyObject * obj0 = 0 ; | |
661 | char *kwnames[] = { | |
662 | (char *) "self", NULL | |
663 | }; | |
664 | ||
665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GLCanvas_SetCurrent",kwnames,&obj0)) goto fail; | |
666 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
667 | { | |
668 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
669 | (arg1)->SetCurrent(); | |
670 | ||
671 | wxPyEndAllowThreads(__tstate); | |
672 | if (PyErr_Occurred()) SWIG_fail; | |
673 | } | |
674 | Py_INCREF(Py_None); resultobj = Py_None; | |
675 | return resultobj; | |
676 | fail: | |
677 | return NULL; | |
678 | } | |
679 | ||
680 | ||
681 | static PyObject *_wrap_GLCanvas_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
682 | PyObject *resultobj; | |
683 | wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; | |
684 | wxString *arg2 = 0 ; | |
685 | bool temp2 = False ; | |
686 | PyObject * obj0 = 0 ; | |
687 | PyObject * obj1 = 0 ; | |
688 | char *kwnames[] = { | |
689 | (char *) "self",(char *) "colour", NULL | |
690 | }; | |
691 | ||
692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GLCanvas_SetColour",kwnames,&obj0,&obj1)) goto fail; | |
693 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
694 | { | |
695 | arg2 = wxString_in_helper(obj1); | |
696 | if (arg2 == NULL) SWIG_fail; | |
697 | temp2 = True; | |
698 | } | |
699 | { | |
700 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
701 | (arg1)->SetColour((wxString const &)*arg2); | |
702 | ||
703 | wxPyEndAllowThreads(__tstate); | |
704 | if (PyErr_Occurred()) SWIG_fail; | |
705 | } | |
706 | Py_INCREF(Py_None); resultobj = Py_None; | |
707 | { | |
708 | if (temp2) | |
709 | delete arg2; | |
710 | } | |
711 | return resultobj; | |
712 | fail: | |
713 | { | |
714 | if (temp2) | |
715 | delete arg2; | |
716 | } | |
717 | return NULL; | |
718 | } | |
719 | ||
720 | ||
721 | static PyObject *_wrap_GLCanvas_SwapBuffers(PyObject *self, PyObject *args, PyObject *kwargs) { | |
722 | PyObject *resultobj; | |
723 | wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; | |
724 | PyObject * obj0 = 0 ; | |
725 | char *kwnames[] = { | |
726 | (char *) "self", NULL | |
727 | }; | |
728 | ||
729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GLCanvas_SwapBuffers",kwnames,&obj0)) goto fail; | |
730 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
731 | { | |
732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
733 | (arg1)->SwapBuffers(); | |
734 | ||
735 | wxPyEndAllowThreads(__tstate); | |
736 | if (PyErr_Occurred()) SWIG_fail; | |
737 | } | |
738 | Py_INCREF(Py_None); resultobj = Py_None; | |
739 | return resultobj; | |
740 | fail: | |
741 | return NULL; | |
742 | } | |
743 | ||
744 | ||
745 | static PyObject *_wrap_GLCanvas_GetContext(PyObject *self, PyObject *args, PyObject *kwargs) { | |
746 | PyObject *resultobj; | |
747 | wxGLCanvas *arg1 = (wxGLCanvas *) 0 ; | |
748 | wxGLContext *result; | |
749 | PyObject * obj0 = 0 ; | |
750 | char *kwnames[] = { | |
751 | (char *) "self", NULL | |
752 | }; | |
753 | ||
754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GLCanvas_GetContext",kwnames,&obj0)) goto fail; | |
755 | if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGLCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail; | |
756 | { | |
757 | PyThreadState* __tstate = wxPyBeginAllowThreads(); | |
758 | result = (wxGLContext *)(arg1)->GetContext(); | |
759 | ||
760 | wxPyEndAllowThreads(__tstate); | |
761 | if (PyErr_Occurred()) SWIG_fail; | |
762 | } | |
763 | resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGLContext, 0); | |
764 | return resultobj; | |
765 | fail: | |
766 | return NULL; | |
767 | } | |
768 | ||
769 | ||
770 | static PyObject * GLCanvas_swigregister(PyObject *self, PyObject *args) { | |
771 | PyObject *obj; | |
772 | if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL; | |
773 | SWIG_TypeClientData(SWIGTYPE_p_wxGLCanvas, obj); | |
774 | Py_INCREF(obj); | |
775 | return Py_BuildValue((char *)""); | |
776 | } | |
777 | static PyMethodDef SwigMethods[] = { | |
778 | { (char *)"new_GLContext", (PyCFunction) _wrap_new_GLContext, METH_VARARGS | METH_KEYWORDS }, | |
779 | { (char *)"delete_GLContext", (PyCFunction) _wrap_delete_GLContext, METH_VARARGS | METH_KEYWORDS }, | |
780 | { (char *)"GLContext_SetCurrent", (PyCFunction) _wrap_GLContext_SetCurrent, METH_VARARGS | METH_KEYWORDS }, | |
781 | { (char *)"GLContext_SetColour", (PyCFunction) _wrap_GLContext_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
782 | { (char *)"GLContext_SwapBuffers", (PyCFunction) _wrap_GLContext_SwapBuffers, METH_VARARGS | METH_KEYWORDS }, | |
783 | { (char *)"GLContext_GetWindow", (PyCFunction) _wrap_GLContext_GetWindow, METH_VARARGS | METH_KEYWORDS }, | |
784 | { (char *)"GLContext_swigregister", GLContext_swigregister, METH_VARARGS }, | |
785 | { (char *)"new_GLCanvas", (PyCFunction) _wrap_new_GLCanvas, METH_VARARGS | METH_KEYWORDS }, | |
786 | { (char *)"new_wxGLCanvasWithContext", (PyCFunction) _wrap_new_wxGLCanvasWithContext, METH_VARARGS | METH_KEYWORDS }, | |
787 | { (char *)"GLCanvas_SetCurrent", (PyCFunction) _wrap_GLCanvas_SetCurrent, METH_VARARGS | METH_KEYWORDS }, | |
788 | { (char *)"GLCanvas_SetColour", (PyCFunction) _wrap_GLCanvas_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
789 | { (char *)"GLCanvas_SwapBuffers", (PyCFunction) _wrap_GLCanvas_SwapBuffers, METH_VARARGS | METH_KEYWORDS }, | |
790 | { (char *)"GLCanvas_GetContext", (PyCFunction) _wrap_GLCanvas_GetContext, METH_VARARGS | METH_KEYWORDS }, | |
791 | { (char *)"GLCanvas_swigregister", GLCanvas_swigregister, METH_VARARGS }, | |
792 | { NULL, NULL } | |
793 | }; | |
794 | ||
795 | ||
796 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */ | |
797 | ||
798 | static void *_p_wxControlTo_p_wxWindow(void *x) { | |
799 | return (void *)((wxWindow *) ((wxControl *) x)); | |
800 | } | |
801 | static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) { | |
802 | return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x)); | |
803 | } | |
804 | static void *_p_wxMenuBarTo_p_wxWindow(void *x) { | |
805 | return (void *)((wxWindow *) ((wxMenuBar *) x)); | |
806 | } | |
807 | static void *_p_wxGLCanvasTo_p_wxWindow(void *x) { | |
808 | return (void *)((wxWindow *) ((wxGLCanvas *) x)); | |
809 | } | |
810 | static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) { | |
811 | return (void *)((wxObject *) ((wxLayoutConstraints *) x)); | |
812 | } | |
813 | static void *_p_wxGBSizerItemTo_p_wxObject(void *x) { | |
814 | return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x)); | |
815 | } | |
816 | static void *_p_wxSizerItemTo_p_wxObject(void *x) { | |
817 | return (void *)((wxObject *) ((wxSizerItem *) x)); | |
818 | } | |
819 | static void *_p_wxScrollEventTo_p_wxObject(void *x) { | |
820 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x)); | |
821 | } | |
822 | static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) { | |
823 | return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x)); | |
824 | } | |
825 | static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) { | |
826 | return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x)); | |
827 | } | |
828 | static void *_p_wxBoxSizerTo_p_wxObject(void *x) { | |
829 | return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x)); | |
830 | } | |
831 | static void *_p_wxSizerTo_p_wxObject(void *x) { | |
832 | return (void *)((wxObject *) ((wxSizer *) x)); | |
833 | } | |
834 | static void *_p_wxGridBagSizerTo_p_wxObject(void *x) { | |
835 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x)); | |
836 | } | |
837 | static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) { | |
838 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x)); | |
839 | } | |
840 | static void *_p_wxEventTo_p_wxObject(void *x) { | |
841 | return (void *)((wxObject *) ((wxEvent *) x)); | |
842 | } | |
843 | static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) { | |
844 | return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x)); | |
845 | } | |
846 | static void *_p_wxGridSizerTo_p_wxObject(void *x) { | |
847 | return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x)); | |
848 | } | |
849 | static void *_p_wxInitDialogEventTo_p_wxObject(void *x) { | |
850 | return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x)); | |
851 | } | |
852 | static void *_p_wxPaintEventTo_p_wxObject(void *x) { | |
853 | return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x)); | |
854 | } | |
855 | static void *_p_wxNcPaintEventTo_p_wxObject(void *x) { | |
856 | return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x)); | |
857 | } | |
858 | static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) { | |
859 | return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x)); | |
860 | } | |
861 | static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) { | |
862 | return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x)); | |
863 | } | |
864 | static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) { | |
865 | return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x)); | |
866 | } | |
867 | static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) { | |
868 | return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x)); | |
869 | } | |
870 | static void *_p_wxControlTo_p_wxObject(void *x) { | |
871 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x)); | |
872 | } | |
873 | static void *_p_wxSetCursorEventTo_p_wxObject(void *x) { | |
874 | return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x)); | |
875 | } | |
876 | static void *_p_wxFSFileTo_p_wxObject(void *x) { | |
877 | return (void *)((wxObject *) ((wxFSFile *) x)); | |
878 | } | |
879 | static void *_p_wxPySizerTo_p_wxObject(void *x) { | |
880 | return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x)); | |
881 | } | |
882 | static void *_p_wxPyEventTo_p_wxObject(void *x) { | |
883 | return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x)); | |
884 | } | |
885 | static void *_p_wxNotifyEventTo_p_wxObject(void *x) { | |
886 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x)); | |
887 | } | |
888 | static void *_p_wxGLContextTo_p_wxObject(void *x) { | |
889 | return (void *)((wxObject *) ((wxGLContext *) x)); | |
890 | } | |
891 | static void *_p_wxShowEventTo_p_wxObject(void *x) { | |
892 | return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x)); | |
893 | } | |
894 | static void *_p_wxMenuItemTo_p_wxObject(void *x) { | |
895 | return (void *)((wxObject *) ((wxMenuItem *) x)); | |
896 | } | |
897 | static void *_p_wxIdleEventTo_p_wxObject(void *x) { | |
898 | return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x)); | |
899 | } | |
900 | static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) { | |
901 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x)); | |
902 | } | |
903 | static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) { | |
904 | return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x)); | |
905 | } | |
906 | static void *_p_wxMaximizeEventTo_p_wxObject(void *x) { | |
907 | return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x)); | |
908 | } | |
909 | static void *_p_wxIconizeEventTo_p_wxObject(void *x) { | |
910 | return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x)); | |
911 | } | |
912 | static void *_p_wxSizeEventTo_p_wxObject(void *x) { | |
913 | return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x)); | |
914 | } | |
915 | static void *_p_wxMoveEventTo_p_wxObject(void *x) { | |
916 | return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x)); | |
917 | } | |
918 | static void *_p_wxActivateEventTo_p_wxObject(void *x) { | |
919 | return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x)); | |
920 | } | |
921 | static void *_p_wxXPMHandlerTo_p_wxObject(void *x) { | |
922 | return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x)); | |
923 | } | |
924 | static void *_p_wxPNMHandlerTo_p_wxObject(void *x) { | |
925 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x)); | |
926 | } | |
927 | static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) { | |
928 | return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x)); | |
929 | } | |
930 | static void *_p_wxPCXHandlerTo_p_wxObject(void *x) { | |
931 | return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x)); | |
932 | } | |
933 | static void *_p_wxGIFHandlerTo_p_wxObject(void *x) { | |
934 | return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x)); | |
935 | } | |
936 | static void *_p_wxPNGHandlerTo_p_wxObject(void *x) { | |
937 | return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x)); | |
938 | } | |
939 | static void *_p_wxANIHandlerTo_p_wxObject(void *x) { | |
940 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x)); | |
941 | } | |
942 | static void *_p_wxCURHandlerTo_p_wxObject(void *x) { | |
943 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x)); | |
944 | } | |
945 | static void *_p_wxICOHandlerTo_p_wxObject(void *x) { | |
946 | return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x)); | |
947 | } | |
948 | static void *_p_wxBMPHandlerTo_p_wxObject(void *x) { | |
949 | return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x)); | |
950 | } | |
951 | static void *_p_wxImageHandlerTo_p_wxObject(void *x) { | |
952 | return (void *)((wxObject *) ((wxImageHandler *) x)); | |
953 | } | |
954 | static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) { | |
955 | return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x)); | |
956 | } | |
957 | static void *_p_wxEvtHandlerTo_p_wxObject(void *x) { | |
958 | return (void *)((wxObject *) ((wxEvtHandler *) x)); | |
959 | } | |
960 | static void *_p_wxGLCanvasTo_p_wxObject(void *x) { | |
961 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxGLCanvas *) x)); | |
962 | } | |
963 | static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) { | |
964 | return (void *)((wxObject *) ((wxAcceleratorTable *) x)); | |
965 | } | |
966 | static void *_p_wxImageTo_p_wxObject(void *x) { | |
967 | return (void *)((wxObject *) ((wxImage *) x)); | |
968 | } | |
969 | static void *_p_wxScrollWinEventTo_p_wxObject(void *x) { | |
970 | return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x)); | |
971 | } | |
972 | static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) { | |
973 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x)); | |
974 | } | |
975 | static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) { | |
976 | return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x)); | |
977 | } | |
978 | static void *_p_wxKeyEventTo_p_wxObject(void *x) { | |
979 | return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x)); | |
980 | } | |
981 | static void *_p_wxWindowTo_p_wxObject(void *x) { | |
982 | return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x)); | |
983 | } | |
984 | static void *_p_wxMenuTo_p_wxObject(void *x) { | |
985 | return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x)); | |
986 | } | |
987 | static void *_p_wxMenuBarTo_p_wxObject(void *x) { | |
988 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x)); | |
989 | } | |
990 | static void *_p_wxFileSystemTo_p_wxObject(void *x) { | |
991 | return (void *)((wxObject *) ((wxFileSystem *) x)); | |
992 | } | |
993 | static void *_p_wxContextMenuEventTo_p_wxObject(void *x) { | |
994 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x)); | |
995 | } | |
996 | static void *_p_wxMenuEventTo_p_wxObject(void *x) { | |
997 | return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x)); | |
998 | } | |
999 | static void *_p_wxPyAppTo_p_wxObject(void *x) { | |
1000 | return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x)); | |
1001 | } | |
1002 | static void *_p_wxCloseEventTo_p_wxObject(void *x) { | |
1003 | return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x)); | |
1004 | } | |
1005 | static void *_p_wxMouseEventTo_p_wxObject(void *x) { | |
1006 | return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x)); | |
1007 | } | |
1008 | static void *_p_wxEraseEventTo_p_wxObject(void *x) { | |
1009 | return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x)); | |
1010 | } | |
1011 | static void *_p_wxPyCommandEventTo_p_wxObject(void *x) { | |
1012 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x)); | |
1013 | } | |
1014 | static void *_p_wxCommandEventTo_p_wxObject(void *x) { | |
1015 | return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x)); | |
1016 | } | |
1017 | static void *_p_wxDropFilesEventTo_p_wxObject(void *x) { | |
1018 | return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x)); | |
1019 | } | |
1020 | static void *_p_wxFocusEventTo_p_wxObject(void *x) { | |
1021 | return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x)); | |
1022 | } | |
1023 | static void *_p_wxChildFocusEventTo_p_wxObject(void *x) { | |
1024 | return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x)); | |
1025 | } | |
1026 | static void *_p_wxControlWithItemsTo_p_wxObject(void *x) { | |
1027 | return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
1028 | } | |
1029 | static void *_p_wxPyValidatorTo_p_wxObject(void *x) { | |
1030 | return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x)); | |
1031 | } | |
1032 | static void *_p_wxValidatorTo_p_wxObject(void *x) { | |
1033 | return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x)); | |
1034 | } | |
1035 | static void *_p_wxControlTo_p_wxEvtHandler(void *x) { | |
1036 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x)); | |
1037 | } | |
1038 | static void *_p_wxWindowTo_p_wxEvtHandler(void *x) { | |
1039 | return (void *)((wxEvtHandler *) ((wxWindow *) x)); | |
1040 | } | |
1041 | static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) { | |
1042 | return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x)); | |
1043 | } | |
1044 | static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) { | |
1045 | return (void *)((wxEvtHandler *) ((wxPyApp *) x)); | |
1046 | } | |
1047 | static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) { | |
1048 | return (void *)((wxEvtHandler *) ((wxValidator *) x)); | |
1049 | } | |
1050 | static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) { | |
1051 | return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x)); | |
1052 | } | |
1053 | static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) { | |
1054 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x)); | |
1055 | } | |
1056 | static void *_p_wxGLCanvasTo_p_wxEvtHandler(void *x) { | |
1057 | return (void *)((wxEvtHandler *) (wxWindow *) ((wxGLCanvas *) x)); | |
1058 | } | |
1059 | static void *_p_wxMenuTo_p_wxEvtHandler(void *x) { | |
1060 | return (void *)((wxEvtHandler *) ((wxMenu *) x)); | |
1061 | } | |
1062 | static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxWindow},{0}}; | |
1063 | static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxGLContext", _p_wxGLContextTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{0}}; | |
1064 | static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxGLCanvas", _p_wxGLCanvasTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{0}}; | |
1065 | static swig_type_info _swigt__p_wxPalette[] = {{"_p_wxPalette", 0, "wxPalette *", 0},{"_p_wxPalette"},{0}}; | |
1066 | static swig_type_info _swigt__p_wxGLCanvas[] = {{"_p_wxGLCanvas", 0, "wxGLCanvas *", 0},{"_p_wxGLCanvas"},{0}}; | |
1067 | static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}}; | |
1068 | static swig_type_info _swigt__p_wxGLContext[] = {{"_p_wxGLContext", 0, "wxGLContext *", 0},{"_p_wxGLContext"},{0}}; | |
1069 | static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}}; | |
1070 | ||
1071 | static swig_type_info *swig_types_initial[] = { | |
1072 | _swigt__p_wxWindow, | |
1073 | _swigt__p_wxObject, | |
1074 | _swigt__p_wxEvtHandler, | |
1075 | _swigt__p_wxPalette, | |
1076 | _swigt__p_wxGLCanvas, | |
1077 | _swigt__p_wxString, | |
1078 | _swigt__p_wxGLContext, | |
1079 | _swigt__p_int, | |
1080 | 0 | |
1081 | }; | |
1082 | ||
1083 | ||
1084 | /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */ | |
1085 | ||
1086 | static swig_const_info swig_const_table[] = { | |
1087 | { SWIG_PY_INT, (char *)"WX_GL_RGBA", (long) WX_GL_RGBA, 0, 0, 0}, | |
1088 | { SWIG_PY_INT, (char *)"WX_GL_BUFFER_SIZE", (long) WX_GL_BUFFER_SIZE, 0, 0, 0}, | |
1089 | { SWIG_PY_INT, (char *)"WX_GL_LEVEL", (long) WX_GL_LEVEL, 0, 0, 0}, | |
1090 | { SWIG_PY_INT, (char *)"WX_GL_DOUBLEBUFFER", (long) WX_GL_DOUBLEBUFFER, 0, 0, 0}, | |
1091 | { SWIG_PY_INT, (char *)"WX_GL_STEREO", (long) WX_GL_STEREO, 0, 0, 0}, | |
1092 | { SWIG_PY_INT, (char *)"WX_GL_AUX_BUFFERS", (long) WX_GL_AUX_BUFFERS, 0, 0, 0}, | |
1093 | { SWIG_PY_INT, (char *)"WX_GL_MIN_RED", (long) WX_GL_MIN_RED, 0, 0, 0}, | |
1094 | { SWIG_PY_INT, (char *)"WX_GL_MIN_GREEN", (long) WX_GL_MIN_GREEN, 0, 0, 0}, | |
1095 | { SWIG_PY_INT, (char *)"WX_GL_MIN_BLUE", (long) WX_GL_MIN_BLUE, 0, 0, 0}, | |
1096 | { SWIG_PY_INT, (char *)"WX_GL_MIN_ALPHA", (long) WX_GL_MIN_ALPHA, 0, 0, 0}, | |
1097 | { SWIG_PY_INT, (char *)"WX_GL_DEPTH_SIZE", (long) WX_GL_DEPTH_SIZE, 0, 0, 0}, | |
1098 | { SWIG_PY_INT, (char *)"WX_GL_STENCIL_SIZE", (long) WX_GL_STENCIL_SIZE, 0, 0, 0}, | |
1099 | { SWIG_PY_INT, (char *)"WX_GL_MIN_ACCUM_RED", (long) WX_GL_MIN_ACCUM_RED, 0, 0, 0}, | |
1100 | { SWIG_PY_INT, (char *)"WX_GL_MIN_ACCUM_GREEN", (long) WX_GL_MIN_ACCUM_GREEN, 0, 0, 0}, | |
1101 | { SWIG_PY_INT, (char *)"WX_GL_MIN_ACCUM_BLUE", (long) WX_GL_MIN_ACCUM_BLUE, 0, 0, 0}, | |
1102 | { SWIG_PY_INT, (char *)"WX_GL_MIN_ACCUM_ALPHA", (long) WX_GL_MIN_ACCUM_ALPHA, 0, 0, 0}, | |
1103 | {0}}; | |
1104 | ||
1105 | #ifdef __cplusplus | |
1106 | } | |
1107 | #endif | |
1108 | ||
1109 | #ifdef __cplusplus | |
1110 | extern "C" | |
1111 | #endif | |
1112 | SWIGEXPORT(void) SWIG_init(void) { | |
1113 | static PyObject *SWIG_globals = 0; | |
1114 | static int typeinit = 0; | |
1115 | PyObject *m, *d; | |
1116 | int i; | |
1117 | if (!SWIG_globals) SWIG_globals = SWIG_newvarlink(); | |
1118 | m = Py_InitModule((char *) SWIG_name, SwigMethods); | |
1119 | d = PyModule_GetDict(m); | |
1120 | ||
1121 | if (!typeinit) { | |
1122 | for (i = 0; swig_types_initial[i]; i++) { | |
1123 | swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]); | |
1124 | } | |
1125 | typeinit = 1; | |
1126 | } | |
1127 | SWIG_InstallConstants(d,swig_const_table); | |
1128 | ||
1129 | PyDict_SetItemString(d,(char*)"cvar", SWIG_globals); | |
1130 | SWIG_addvarlink(SWIG_globals,(char*)"GLCanvasNameStr",_wrap_GLCanvasNameStr_get, _wrap_GLCanvasNameStr_set); | |
1131 | ||
1132 | ||
1133 | ||
1134 | } | |
1135 |