]>
Commit | Line | Data |
---|---|---|
e91a9dfc | 1 | /* |
c368d904 | 2 | * FILE : contrib/ogl/oglcanvas.cpp |
e91a9dfc RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
e91a9dfc RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
9ae9011b | 30 | # define SWIGEXPORT(a) a _export |
e91a9dfc | 31 | # else |
9ae9011b | 32 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
33 | # endif |
34 | # endif | |
35 | #else | |
9ae9011b | 36 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
37 | #endif |
38 | ||
9ae9011b RD |
39 | #include "Python.h" |
40 | ||
e91a9dfc RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
9ae9011b | 44 | |
e91a9dfc RD |
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); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initoglcanvasc | |
55 | ||
56 | #define SWIG_name "oglcanvasc" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
e91a9dfc RD |
59 | #include "oglhelpers.h" |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
c9482eba | 63 | if (!target) { |
e91a9dfc | 64 | target = o; |
c9482eba | 65 | } else if (target == Py_None) { |
e91a9dfc RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
c9482eba | 68 | } else { |
e91a9dfc RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
c9482eba | 85 | if (!target) { |
e91a9dfc | 86 | target = o; |
c9482eba | 87 | } else if (target == Py_None) { |
e91a9dfc RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
c9482eba | 90 | } else { |
e91a9dfc RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
c9482eba RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
98 | |
99 | o2 = target; | |
c9482eba RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
e91a9dfc RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
e91a9dfc RD |
107 | static char* wxStringErrorMsg = "string type is required for parameter"; |
108 | ||
109 | IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragLeft); | |
110 | IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnBeginDragRight); | |
111 | IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragLeft); | |
112 | IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnEndDragRight); | |
113 | IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragLeft); | |
114 | IMP_PYCALLBACK__BOOL2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnDragRight); | |
115 | IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnLeftClick); | |
116 | IMP_PYCALLBACK__2DBLINT(wxPyShapeCanvas, wxShapeCanvas, OnRightClick); | |
117 | #ifdef __cplusplus | |
118 | extern "C" { | |
119 | #endif | |
120 | #define new_wxDiagram() (new wxDiagram()) | |
121 | static PyObject *_wrap_new_wxDiagram(PyObject *self, PyObject *args, PyObject *kwargs) { | |
122 | PyObject * _resultobj; | |
123 | wxDiagram * _result; | |
124 | char *_kwnames[] = { NULL }; | |
125 | char _ptemp[128]; | |
126 | ||
127 | self = self; | |
128 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxDiagram",_kwnames)) | |
129 | return NULL; | |
130 | { | |
131 | wxPy_BEGIN_ALLOW_THREADS; | |
132 | _result = (wxDiagram *)new_wxDiagram(); | |
133 | ||
134 | wxPy_END_ALLOW_THREADS; | |
135 | } if (_result) { | |
136 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDiagram_p"); | |
137 | _resultobj = Py_BuildValue("s",_ptemp); | |
138 | } else { | |
139 | Py_INCREF(Py_None); | |
140 | _resultobj = Py_None; | |
141 | } | |
142 | return _resultobj; | |
143 | } | |
144 | ||
145 | #define delete_wxDiagram(_swigobj) (delete _swigobj) | |
146 | static PyObject *_wrap_delete_wxDiagram(PyObject *self, PyObject *args, PyObject *kwargs) { | |
147 | PyObject * _resultobj; | |
148 | wxDiagram * _arg0; | |
149 | PyObject * _argo0 = 0; | |
150 | char *_kwnames[] = { "self", NULL }; | |
151 | ||
152 | self = self; | |
153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxDiagram",_kwnames,&_argo0)) | |
154 | return NULL; | |
155 | if (_argo0) { | |
156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxDiagram. Expected _wxDiagram_p."); | |
159 | return NULL; | |
160 | } | |
161 | } | |
162 | { | |
163 | wxPy_BEGIN_ALLOW_THREADS; | |
164 | delete_wxDiagram(_arg0); | |
165 | ||
166 | wxPy_END_ALLOW_THREADS; | |
167 | } Py_INCREF(Py_None); | |
168 | _resultobj = Py_None; | |
169 | return _resultobj; | |
170 | } | |
171 | ||
172 | #define wxDiagram_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1)) | |
173 | static PyObject *_wrap_wxDiagram_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
174 | PyObject * _resultobj; | |
175 | wxDiagram * _arg0; | |
176 | wxPyShape * _arg1; | |
177 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
178 | PyObject * _argo0 = 0; | |
179 | PyObject * _argo1 = 0; | |
180 | PyObject * _argo2 = 0; | |
181 | char *_kwnames[] = { "self","shape","addAfter", NULL }; | |
182 | ||
183 | self = self; | |
184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxDiagram_AddShape",_kwnames,&_argo0,&_argo1,&_argo2)) | |
185 | return NULL; | |
186 | if (_argo0) { | |
187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_AddShape. Expected _wxDiagram_p."); | |
190 | return NULL; | |
191 | } | |
192 | } | |
193 | if (_argo1) { | |
194 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
195 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
196 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_AddShape. Expected _wxPyShape_p."); | |
197 | return NULL; | |
198 | } | |
199 | } | |
200 | if (_argo2) { | |
201 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
202 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxDiagram_AddShape. Expected _wxPyShape_p."); | |
204 | return NULL; | |
205 | } | |
206 | } | |
207 | { | |
208 | wxPy_BEGIN_ALLOW_THREADS; | |
209 | wxDiagram_AddShape(_arg0,_arg1,_arg2); | |
210 | ||
211 | wxPy_END_ALLOW_THREADS; | |
212 | } Py_INCREF(Py_None); | |
213 | _resultobj = Py_None; | |
214 | return _resultobj; | |
215 | } | |
216 | ||
217 | #define wxDiagram_Clear(_swigobj,_swigarg0) (_swigobj->Clear(_swigarg0)) | |
218 | static PyObject *_wrap_wxDiagram_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
219 | PyObject * _resultobj; | |
220 | wxDiagram * _arg0; | |
221 | wxDC * _arg1; | |
222 | PyObject * _argo0 = 0; | |
223 | PyObject * _argo1 = 0; | |
224 | char *_kwnames[] = { "self","dc", NULL }; | |
225 | ||
226 | self = self; | |
227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_Clear",_kwnames,&_argo0,&_argo1)) | |
228 | return NULL; | |
229 | if (_argo0) { | |
230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_Clear. Expected _wxDiagram_p."); | |
233 | return NULL; | |
234 | } | |
235 | } | |
236 | if (_argo1) { | |
237 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
238 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_Clear. Expected _wxDC_p."); | |
240 | return NULL; | |
241 | } | |
242 | } | |
243 | { | |
244 | wxPy_BEGIN_ALLOW_THREADS; | |
245 | wxDiagram_Clear(_arg0,*_arg1); | |
246 | ||
247 | wxPy_END_ALLOW_THREADS; | |
248 | } Py_INCREF(Py_None); | |
249 | _resultobj = Py_None; | |
250 | return _resultobj; | |
251 | } | |
252 | ||
253 | #define wxDiagram_DeleteAllShapes(_swigobj) (_swigobj->DeleteAllShapes()) | |
254 | static PyObject *_wrap_wxDiagram_DeleteAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
255 | PyObject * _resultobj; | |
256 | wxDiagram * _arg0; | |
257 | PyObject * _argo0 = 0; | |
258 | char *_kwnames[] = { "self", NULL }; | |
259 | ||
260 | self = self; | |
261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_DeleteAllShapes",_kwnames,&_argo0)) | |
262 | return NULL; | |
263 | if (_argo0) { | |
264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_DeleteAllShapes. Expected _wxDiagram_p."); | |
267 | return NULL; | |
268 | } | |
269 | } | |
270 | { | |
271 | wxPy_BEGIN_ALLOW_THREADS; | |
272 | wxDiagram_DeleteAllShapes(_arg0); | |
273 | ||
274 | wxPy_END_ALLOW_THREADS; | |
275 | } Py_INCREF(Py_None); | |
276 | _resultobj = Py_None; | |
277 | return _resultobj; | |
278 | } | |
279 | ||
280 | #define wxDiagram_DrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->DrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
281 | static PyObject *_wrap_wxDiagram_DrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
282 | PyObject * _resultobj; | |
283 | wxDiagram * _arg0; | |
284 | wxDC * _arg1; | |
285 | double _arg2; | |
286 | double _arg3; | |
287 | double _arg4; | |
288 | double _arg5; | |
289 | PyObject * _argo0 = 0; | |
290 | PyObject * _argo1 = 0; | |
291 | char *_kwnames[] = { "self","dc","x1","y1","x2","y2", NULL }; | |
292 | ||
293 | self = self; | |
294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxDiagram_DrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
295 | return NULL; | |
296 | if (_argo0) { | |
297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_DrawOutline. Expected _wxDiagram_p."); | |
300 | return NULL; | |
301 | } | |
302 | } | |
303 | if (_argo1) { | |
304 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
305 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_DrawOutline. Expected _wxDC_p."); | |
307 | return NULL; | |
308 | } | |
309 | } | |
310 | { | |
311 | wxPy_BEGIN_ALLOW_THREADS; | |
312 | wxDiagram_DrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
313 | ||
314 | wxPy_END_ALLOW_THREADS; | |
315 | } Py_INCREF(Py_None); | |
316 | _resultobj = Py_None; | |
317 | return _resultobj; | |
318 | } | |
319 | ||
320 | #define wxDiagram_FindShape(_swigobj,_swigarg0) (_swigobj->FindShape(_swigarg0)) | |
321 | static PyObject *_wrap_wxDiagram_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
322 | PyObject * _resultobj; | |
323 | wxPyShape * _result; | |
324 | wxDiagram * _arg0; | |
325 | long _arg1; | |
326 | PyObject * _argo0 = 0; | |
327 | char *_kwnames[] = { "self","id", NULL }; | |
328 | char _ptemp[128]; | |
329 | ||
330 | self = self; | |
331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxDiagram_FindShape",_kwnames,&_argo0,&_arg1)) | |
332 | return NULL; | |
333 | if (_argo0) { | |
334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_FindShape. Expected _wxDiagram_p."); | |
337 | return NULL; | |
338 | } | |
339 | } | |
340 | { | |
341 | wxPy_BEGIN_ALLOW_THREADS; | |
342 | _result = (wxPyShape *)wxDiagram_FindShape(_arg0,_arg1); | |
343 | ||
344 | wxPy_END_ALLOW_THREADS; | |
345 | } if (_result) { | |
346 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
347 | _resultobj = Py_BuildValue("s",_ptemp); | |
348 | } else { | |
349 | Py_INCREF(Py_None); | |
350 | _resultobj = Py_None; | |
351 | } | |
352 | return _resultobj; | |
353 | } | |
354 | ||
355 | #define wxDiagram_GetCanvas(_swigobj) (_swigobj->GetCanvas()) | |
356 | static PyObject *_wrap_wxDiagram_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
357 | PyObject * _resultobj; | |
358 | wxPyShapeCanvas * _result; | |
359 | wxDiagram * _arg0; | |
360 | PyObject * _argo0 = 0; | |
361 | char *_kwnames[] = { "self", NULL }; | |
362 | char _ptemp[128]; | |
363 | ||
364 | self = self; | |
365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetCanvas",_kwnames,&_argo0)) | |
366 | return NULL; | |
367 | if (_argo0) { | |
368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_GetCanvas. Expected _wxDiagram_p."); | |
371 | return NULL; | |
372 | } | |
373 | } | |
374 | { | |
375 | wxPy_BEGIN_ALLOW_THREADS; | |
376 | _result = (wxPyShapeCanvas *)wxDiagram_GetCanvas(_arg0); | |
377 | ||
378 | wxPy_END_ALLOW_THREADS; | |
379 | } if (_result) { | |
380 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeCanvas_p"); | |
381 | _resultobj = Py_BuildValue("s",_ptemp); | |
382 | } else { | |
383 | Py_INCREF(Py_None); | |
384 | _resultobj = Py_None; | |
385 | } | |
386 | return _resultobj; | |
387 | } | |
388 | ||
389 | #define wxDiagram_GetCount(_swigobj) (_swigobj->GetCount()) | |
390 | static PyObject *_wrap_wxDiagram_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
391 | PyObject * _resultobj; | |
392 | int _result; | |
393 | wxDiagram * _arg0; | |
394 | PyObject * _argo0 = 0; | |
395 | char *_kwnames[] = { "self", NULL }; | |
396 | ||
397 | self = self; | |
398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetCount",_kwnames,&_argo0)) | |
399 | return NULL; | |
400 | if (_argo0) { | |
401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_GetCount. Expected _wxDiagram_p."); | |
404 | return NULL; | |
405 | } | |
406 | } | |
407 | { | |
408 | wxPy_BEGIN_ALLOW_THREADS; | |
409 | _result = (int )wxDiagram_GetCount(_arg0); | |
410 | ||
411 | wxPy_END_ALLOW_THREADS; | |
412 | } _resultobj = Py_BuildValue("i",_result); | |
413 | return _resultobj; | |
414 | } | |
415 | ||
416 | #define wxDiagram_GetGridSpacing(_swigobj) (_swigobj->GetGridSpacing()) | |
417 | static PyObject *_wrap_wxDiagram_GetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
418 | PyObject * _resultobj; | |
419 | double _result; | |
420 | wxDiagram * _arg0; | |
421 | PyObject * _argo0 = 0; | |
422 | char *_kwnames[] = { "self", NULL }; | |
423 | ||
424 | self = self; | |
425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetGridSpacing",_kwnames,&_argo0)) | |
426 | return NULL; | |
427 | if (_argo0) { | |
428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_GetGridSpacing. Expected _wxDiagram_p."); | |
431 | return NULL; | |
432 | } | |
433 | } | |
434 | { | |
435 | wxPy_BEGIN_ALLOW_THREADS; | |
436 | _result = (double )wxDiagram_GetGridSpacing(_arg0); | |
437 | ||
438 | wxPy_END_ALLOW_THREADS; | |
439 | } _resultobj = Py_BuildValue("d",_result); | |
440 | return _resultobj; | |
441 | } | |
442 | ||
443 | #define wxDiagram_GetMouseTolerance(_swigobj) (_swigobj->GetMouseTolerance()) | |
444 | static PyObject *_wrap_wxDiagram_GetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) { | |
445 | PyObject * _resultobj; | |
446 | int _result; | |
447 | wxDiagram * _arg0; | |
448 | PyObject * _argo0 = 0; | |
449 | char *_kwnames[] = { "self", NULL }; | |
450 | ||
451 | self = self; | |
452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetMouseTolerance",_kwnames,&_argo0)) | |
453 | return NULL; | |
454 | if (_argo0) { | |
455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_GetMouseTolerance. Expected _wxDiagram_p."); | |
458 | return NULL; | |
459 | } | |
460 | } | |
461 | { | |
462 | wxPy_BEGIN_ALLOW_THREADS; | |
463 | _result = (int )wxDiagram_GetMouseTolerance(_arg0); | |
464 | ||
465 | wxPy_END_ALLOW_THREADS; | |
466 | } _resultobj = Py_BuildValue("i",_result); | |
467 | return _resultobj; | |
468 | } | |
469 | ||
470 | static PyObject * wxDiagram_GetShapeList(wxDiagram *self) { | |
471 | wxList* list = self->GetShapeList(); | |
472 | return wxPy_ConvertList(list, "wxPyShape"); | |
473 | } | |
474 | static PyObject *_wrap_wxDiagram_GetShapeList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
475 | PyObject * _resultobj; | |
476 | PyObject * _result; | |
477 | wxDiagram * _arg0; | |
478 | PyObject * _argo0 = 0; | |
479 | char *_kwnames[] = { "self", NULL }; | |
480 | ||
481 | self = self; | |
482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetShapeList",_kwnames,&_argo0)) | |
483 | return NULL; | |
484 | if (_argo0) { | |
485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_GetShapeList. Expected _wxDiagram_p."); | |
488 | return NULL; | |
489 | } | |
490 | } | |
491 | { | |
492 | wxPy_BEGIN_ALLOW_THREADS; | |
493 | _result = (PyObject *)wxDiagram_GetShapeList(_arg0); | |
494 | ||
495 | wxPy_END_ALLOW_THREADS; | |
496 | }{ | |
497 | _resultobj = _result; | |
498 | } | |
499 | return _resultobj; | |
500 | } | |
501 | ||
502 | #define wxDiagram_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode()) | |
503 | static PyObject *_wrap_wxDiagram_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
504 | PyObject * _resultobj; | |
505 | bool _result; | |
506 | wxDiagram * _arg0; | |
507 | PyObject * _argo0 = 0; | |
508 | char *_kwnames[] = { "self", NULL }; | |
509 | ||
510 | self = self; | |
511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetQuickEditMode",_kwnames,&_argo0)) | |
512 | return NULL; | |
513 | if (_argo0) { | |
514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_GetQuickEditMode. Expected _wxDiagram_p."); | |
517 | return NULL; | |
518 | } | |
519 | } | |
520 | { | |
521 | wxPy_BEGIN_ALLOW_THREADS; | |
522 | _result = (bool )wxDiagram_GetQuickEditMode(_arg0); | |
523 | ||
524 | wxPy_END_ALLOW_THREADS; | |
525 | } _resultobj = Py_BuildValue("i",_result); | |
526 | return _resultobj; | |
527 | } | |
528 | ||
529 | #define wxDiagram_GetSnapToGrid(_swigobj) (_swigobj->GetSnapToGrid()) | |
530 | static PyObject *_wrap_wxDiagram_GetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
531 | PyObject * _resultobj; | |
532 | bool _result; | |
533 | wxDiagram * _arg0; | |
534 | PyObject * _argo0 = 0; | |
535 | char *_kwnames[] = { "self", NULL }; | |
536 | ||
537 | self = self; | |
538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_GetSnapToGrid",_kwnames,&_argo0)) | |
539 | return NULL; | |
540 | if (_argo0) { | |
541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_GetSnapToGrid. Expected _wxDiagram_p."); | |
544 | return NULL; | |
545 | } | |
546 | } | |
547 | { | |
548 | wxPy_BEGIN_ALLOW_THREADS; | |
549 | _result = (bool )wxDiagram_GetSnapToGrid(_arg0); | |
550 | ||
551 | wxPy_END_ALLOW_THREADS; | |
552 | } _resultobj = Py_BuildValue("i",_result); | |
553 | return _resultobj; | |
554 | } | |
555 | ||
556 | #define wxDiagram_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0)) | |
557 | static PyObject *_wrap_wxDiagram_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
558 | PyObject * _resultobj; | |
559 | wxDiagram * _arg0; | |
560 | wxPyShape * _arg1; | |
561 | PyObject * _argo0 = 0; | |
562 | PyObject * _argo1 = 0; | |
563 | char *_kwnames[] = { "self","shape", NULL }; | |
564 | ||
565 | self = self; | |
566 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_InsertShape",_kwnames,&_argo0,&_argo1)) | |
567 | return NULL; | |
568 | if (_argo0) { | |
569 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
570 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_InsertShape. Expected _wxDiagram_p."); | |
572 | return NULL; | |
573 | } | |
574 | } | |
575 | if (_argo1) { | |
576 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
577 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_InsertShape. Expected _wxPyShape_p."); | |
579 | return NULL; | |
580 | } | |
581 | } | |
582 | { | |
583 | wxPy_BEGIN_ALLOW_THREADS; | |
584 | wxDiagram_InsertShape(_arg0,_arg1); | |
585 | ||
586 | wxPy_END_ALLOW_THREADS; | |
587 | } Py_INCREF(Py_None); | |
588 | _resultobj = Py_None; | |
589 | return _resultobj; | |
590 | } | |
591 | ||
592 | #define wxDiagram_LoadFile(_swigobj,_swigarg0) (_swigobj->LoadFile(_swigarg0)) | |
593 | static PyObject *_wrap_wxDiagram_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
594 | PyObject * _resultobj; | |
595 | bool _result; | |
596 | wxDiagram * _arg0; | |
597 | wxString * _arg1; | |
598 | PyObject * _argo0 = 0; | |
599 | PyObject * _obj1 = 0; | |
600 | char *_kwnames[] = { "self","filename", NULL }; | |
601 | ||
602 | self = self; | |
603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_LoadFile",_kwnames,&_argo0,&_obj1)) | |
604 | return NULL; | |
605 | if (_argo0) { | |
606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_LoadFile. Expected _wxDiagram_p."); | |
609 | return NULL; | |
610 | } | |
611 | } | |
612 | { | |
185d7c3e RD |
613 | #if PYTHON_API_VERSION >= 1009 |
614 | char* tmpPtr; int tmpSize; | |
615 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
616 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
617 | return NULL; | |
618 | } | |
619 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
620 | return NULL; | |
621 | _arg1 = new wxString(tmpPtr, tmpSize); | |
622 | #else | |
e91a9dfc RD |
623 | if (!PyString_Check(_obj1)) { |
624 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
625 | return NULL; | |
626 | } | |
185d7c3e RD |
627 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
628 | #endif | |
e91a9dfc RD |
629 | } |
630 | { | |
631 | wxPy_BEGIN_ALLOW_THREADS; | |
632 | _result = (bool )wxDiagram_LoadFile(_arg0,*_arg1); | |
633 | ||
634 | wxPy_END_ALLOW_THREADS; | |
635 | } _resultobj = Py_BuildValue("i",_result); | |
636 | { | |
637 | if (_obj1) | |
638 | delete _arg1; | |
639 | } | |
640 | return _resultobj; | |
641 | } | |
642 | ||
643 | #define wxDiagram_ReadContainerGeometry(_swigobj,_swigarg0) (_swigobj->ReadContainerGeometry(_swigarg0)) | |
644 | static PyObject *_wrap_wxDiagram_ReadContainerGeometry(PyObject *self, PyObject *args, PyObject *kwargs) { | |
645 | PyObject * _resultobj; | |
646 | wxDiagram * _arg0; | |
647 | wxExprDatabase * _arg1; | |
648 | PyObject * _argo0 = 0; | |
649 | PyObject * _argo1 = 0; | |
650 | char *_kwnames[] = { "self","database", NULL }; | |
651 | ||
652 | self = self; | |
653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_ReadContainerGeometry",_kwnames,&_argo0,&_argo1)) | |
654 | return NULL; | |
655 | if (_argo0) { | |
656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_ReadContainerGeometry. Expected _wxDiagram_p."); | |
659 | return NULL; | |
660 | } | |
661 | } | |
662 | if (_argo1) { | |
663 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
664 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExprDatabase_p")) { | |
665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_ReadContainerGeometry. Expected _wxExprDatabase_p."); | |
666 | return NULL; | |
667 | } | |
668 | } | |
669 | { | |
670 | wxPy_BEGIN_ALLOW_THREADS; | |
671 | wxDiagram_ReadContainerGeometry(_arg0,*_arg1); | |
672 | ||
673 | wxPy_END_ALLOW_THREADS; | |
674 | } Py_INCREF(Py_None); | |
675 | _resultobj = Py_None; | |
676 | return _resultobj; | |
677 | } | |
678 | ||
679 | #define wxDiagram_ReadLines(_swigobj,_swigarg0) (_swigobj->ReadLines(_swigarg0)) | |
680 | static PyObject *_wrap_wxDiagram_ReadLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
681 | PyObject * _resultobj; | |
682 | wxDiagram * _arg0; | |
683 | wxExprDatabase * _arg1; | |
684 | PyObject * _argo0 = 0; | |
685 | PyObject * _argo1 = 0; | |
686 | char *_kwnames[] = { "self","database", NULL }; | |
687 | ||
688 | self = self; | |
689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_ReadLines",_kwnames,&_argo0,&_argo1)) | |
690 | return NULL; | |
691 | if (_argo0) { | |
692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_ReadLines. Expected _wxDiagram_p."); | |
695 | return NULL; | |
696 | } | |
697 | } | |
698 | if (_argo1) { | |
699 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
700 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExprDatabase_p")) { | |
701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_ReadLines. Expected _wxExprDatabase_p."); | |
702 | return NULL; | |
703 | } | |
704 | } | |
705 | { | |
706 | wxPy_BEGIN_ALLOW_THREADS; | |
707 | wxDiagram_ReadLines(_arg0,*_arg1); | |
708 | ||
709 | wxPy_END_ALLOW_THREADS; | |
710 | } Py_INCREF(Py_None); | |
711 | _resultobj = Py_None; | |
712 | return _resultobj; | |
713 | } | |
714 | ||
715 | #define wxDiagram_ReadNodes(_swigobj,_swigarg0) (_swigobj->ReadNodes(_swigarg0)) | |
716 | static PyObject *_wrap_wxDiagram_ReadNodes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
717 | PyObject * _resultobj; | |
718 | wxDiagram * _arg0; | |
719 | wxExprDatabase * _arg1; | |
720 | PyObject * _argo0 = 0; | |
721 | PyObject * _argo1 = 0; | |
722 | char *_kwnames[] = { "self","database", NULL }; | |
723 | ||
724 | self = self; | |
725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_ReadNodes",_kwnames,&_argo0,&_argo1)) | |
726 | return NULL; | |
727 | if (_argo0) { | |
728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_ReadNodes. Expected _wxDiagram_p."); | |
731 | return NULL; | |
732 | } | |
733 | } | |
734 | if (_argo1) { | |
735 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
736 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExprDatabase_p")) { | |
737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_ReadNodes. Expected _wxExprDatabase_p."); | |
738 | return NULL; | |
739 | } | |
740 | } | |
741 | { | |
742 | wxPy_BEGIN_ALLOW_THREADS; | |
743 | wxDiagram_ReadNodes(_arg0,*_arg1); | |
744 | ||
745 | wxPy_END_ALLOW_THREADS; | |
746 | } Py_INCREF(Py_None); | |
747 | _resultobj = Py_None; | |
748 | return _resultobj; | |
749 | } | |
750 | ||
751 | #define wxDiagram_RecentreAll(_swigobj,_swigarg0) (_swigobj->RecentreAll(_swigarg0)) | |
752 | static PyObject *_wrap_wxDiagram_RecentreAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
753 | PyObject * _resultobj; | |
754 | wxDiagram * _arg0; | |
755 | wxDC * _arg1; | |
756 | PyObject * _argo0 = 0; | |
757 | PyObject * _argo1 = 0; | |
758 | char *_kwnames[] = { "self","dc", NULL }; | |
759 | ||
760 | self = self; | |
761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_RecentreAll",_kwnames,&_argo0,&_argo1)) | |
762 | return NULL; | |
763 | if (_argo0) { | |
764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_RecentreAll. Expected _wxDiagram_p."); | |
767 | return NULL; | |
768 | } | |
769 | } | |
770 | if (_argo1) { | |
771 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
772 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_RecentreAll. Expected _wxDC_p."); | |
774 | return NULL; | |
775 | } | |
776 | } | |
777 | { | |
778 | wxPy_BEGIN_ALLOW_THREADS; | |
779 | wxDiagram_RecentreAll(_arg0,*_arg1); | |
780 | ||
781 | wxPy_END_ALLOW_THREADS; | |
782 | } Py_INCREF(Py_None); | |
783 | _resultobj = Py_None; | |
784 | return _resultobj; | |
785 | } | |
786 | ||
787 | #define wxDiagram_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0)) | |
788 | static PyObject *_wrap_wxDiagram_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
789 | PyObject * _resultobj; | |
790 | wxDiagram * _arg0; | |
791 | wxDC * _arg1; | |
792 | PyObject * _argo0 = 0; | |
793 | PyObject * _argo1 = 0; | |
794 | char *_kwnames[] = { "self","dc", NULL }; | |
795 | ||
796 | self = self; | |
797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_Redraw",_kwnames,&_argo0,&_argo1)) | |
798 | return NULL; | |
799 | if (_argo0) { | |
800 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
801 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_Redraw. Expected _wxDiagram_p."); | |
803 | return NULL; | |
804 | } | |
805 | } | |
806 | if (_argo1) { | |
807 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
808 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_Redraw. Expected _wxDC_p."); | |
810 | return NULL; | |
811 | } | |
812 | } | |
813 | { | |
814 | wxPy_BEGIN_ALLOW_THREADS; | |
815 | wxDiagram_Redraw(_arg0,*_arg1); | |
816 | ||
817 | wxPy_END_ALLOW_THREADS; | |
818 | } Py_INCREF(Py_None); | |
819 | _resultobj = Py_None; | |
820 | return _resultobj; | |
821 | } | |
822 | ||
823 | #define wxDiagram_RemoveAllShapes(_swigobj) (_swigobj->RemoveAllShapes()) | |
824 | static PyObject *_wrap_wxDiagram_RemoveAllShapes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
825 | PyObject * _resultobj; | |
826 | wxDiagram * _arg0; | |
827 | PyObject * _argo0 = 0; | |
828 | char *_kwnames[] = { "self", NULL }; | |
829 | ||
830 | self = self; | |
831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxDiagram_RemoveAllShapes",_kwnames,&_argo0)) | |
832 | return NULL; | |
833 | if (_argo0) { | |
834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_RemoveAllShapes. Expected _wxDiagram_p."); | |
837 | return NULL; | |
838 | } | |
839 | } | |
840 | { | |
841 | wxPy_BEGIN_ALLOW_THREADS; | |
842 | wxDiagram_RemoveAllShapes(_arg0); | |
843 | ||
844 | wxPy_END_ALLOW_THREADS; | |
845 | } Py_INCREF(Py_None); | |
846 | _resultobj = Py_None; | |
847 | return _resultobj; | |
848 | } | |
849 | ||
850 | #define wxDiagram_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0)) | |
851 | static PyObject *_wrap_wxDiagram_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
852 | PyObject * _resultobj; | |
853 | wxDiagram * _arg0; | |
854 | wxPyShape * _arg1; | |
855 | PyObject * _argo0 = 0; | |
856 | PyObject * _argo1 = 0; | |
857 | char *_kwnames[] = { "self","shape", NULL }; | |
858 | ||
859 | self = self; | |
860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_RemoveShape",_kwnames,&_argo0,&_argo1)) | |
861 | return NULL; | |
862 | if (_argo0) { | |
863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_RemoveShape. Expected _wxDiagram_p."); | |
866 | return NULL; | |
867 | } | |
868 | } | |
869 | if (_argo1) { | |
870 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
871 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_RemoveShape. Expected _wxPyShape_p."); | |
873 | return NULL; | |
874 | } | |
875 | } | |
876 | { | |
877 | wxPy_BEGIN_ALLOW_THREADS; | |
878 | wxDiagram_RemoveShape(_arg0,_arg1); | |
879 | ||
880 | wxPy_END_ALLOW_THREADS; | |
881 | } Py_INCREF(Py_None); | |
882 | _resultobj = Py_None; | |
883 | return _resultobj; | |
884 | } | |
885 | ||
886 | #define wxDiagram_SaveFile(_swigobj,_swigarg0) (_swigobj->SaveFile(_swigarg0)) | |
887 | static PyObject *_wrap_wxDiagram_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
888 | PyObject * _resultobj; | |
889 | bool _result; | |
890 | wxDiagram * _arg0; | |
891 | wxString * _arg1; | |
892 | PyObject * _argo0 = 0; | |
893 | PyObject * _obj1 = 0; | |
894 | char *_kwnames[] = { "self","filename", NULL }; | |
895 | ||
896 | self = self; | |
897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_SaveFile",_kwnames,&_argo0,&_obj1)) | |
898 | return NULL; | |
899 | if (_argo0) { | |
900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_SaveFile. Expected _wxDiagram_p."); | |
903 | return NULL; | |
904 | } | |
905 | } | |
906 | { | |
185d7c3e RD |
907 | #if PYTHON_API_VERSION >= 1009 |
908 | char* tmpPtr; int tmpSize; | |
909 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
910 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
911 | return NULL; | |
912 | } | |
913 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
914 | return NULL; | |
915 | _arg1 = new wxString(tmpPtr, tmpSize); | |
916 | #else | |
e91a9dfc RD |
917 | if (!PyString_Check(_obj1)) { |
918 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
919 | return NULL; | |
920 | } | |
185d7c3e RD |
921 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
922 | #endif | |
e91a9dfc RD |
923 | } |
924 | { | |
925 | wxPy_BEGIN_ALLOW_THREADS; | |
926 | _result = (bool )wxDiagram_SaveFile(_arg0,*_arg1); | |
927 | ||
928 | wxPy_END_ALLOW_THREADS; | |
929 | } _resultobj = Py_BuildValue("i",_result); | |
930 | { | |
931 | if (_obj1) | |
932 | delete _arg1; | |
933 | } | |
934 | return _resultobj; | |
935 | } | |
936 | ||
937 | #define wxDiagram_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0)) | |
938 | static PyObject *_wrap_wxDiagram_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
939 | PyObject * _resultobj; | |
940 | wxDiagram * _arg0; | |
941 | wxPyShapeCanvas * _arg1; | |
942 | PyObject * _argo0 = 0; | |
943 | PyObject * _argo1 = 0; | |
944 | char *_kwnames[] = { "self","canvas", NULL }; | |
945 | ||
946 | self = self; | |
947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxDiagram_SetCanvas",_kwnames,&_argo0,&_argo1)) | |
948 | return NULL; | |
949 | if (_argo0) { | |
950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_SetCanvas. Expected _wxDiagram_p."); | |
953 | return NULL; | |
954 | } | |
955 | } | |
956 | if (_argo1) { | |
957 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
958 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxDiagram_SetCanvas. Expected _wxPyShapeCanvas_p."); | |
960 | return NULL; | |
961 | } | |
962 | } | |
963 | { | |
964 | wxPy_BEGIN_ALLOW_THREADS; | |
965 | wxDiagram_SetCanvas(_arg0,_arg1); | |
966 | ||
967 | wxPy_END_ALLOW_THREADS; | |
968 | } Py_INCREF(Py_None); | |
969 | _resultobj = Py_None; | |
970 | return _resultobj; | |
971 | } | |
972 | ||
973 | #define wxDiagram_SetGridSpacing(_swigobj,_swigarg0) (_swigobj->SetGridSpacing(_swigarg0)) | |
974 | static PyObject *_wrap_wxDiagram_SetGridSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
975 | PyObject * _resultobj; | |
976 | wxDiagram * _arg0; | |
977 | double _arg1; | |
978 | PyObject * _argo0 = 0; | |
979 | char *_kwnames[] = { "self","spacing", NULL }; | |
980 | ||
981 | self = self; | |
982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxDiagram_SetGridSpacing",_kwnames,&_argo0,&_arg1)) | |
983 | return NULL; | |
984 | if (_argo0) { | |
985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_SetGridSpacing. Expected _wxDiagram_p."); | |
988 | return NULL; | |
989 | } | |
990 | } | |
991 | { | |
992 | wxPy_BEGIN_ALLOW_THREADS; | |
993 | wxDiagram_SetGridSpacing(_arg0,_arg1); | |
994 | ||
995 | wxPy_END_ALLOW_THREADS; | |
996 | } Py_INCREF(Py_None); | |
997 | _resultobj = Py_None; | |
998 | return _resultobj; | |
999 | } | |
1000 | ||
1001 | #define wxDiagram_SetMouseTolerance(_swigobj,_swigarg0) (_swigobj->SetMouseTolerance(_swigarg0)) | |
1002 | static PyObject *_wrap_wxDiagram_SetMouseTolerance(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1003 | PyObject * _resultobj; | |
1004 | wxDiagram * _arg0; | |
1005 | int _arg1; | |
1006 | PyObject * _argo0 = 0; | |
1007 | char *_kwnames[] = { "self","tolerance", NULL }; | |
1008 | ||
1009 | self = self; | |
1010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_SetMouseTolerance",_kwnames,&_argo0,&_arg1)) | |
1011 | return NULL; | |
1012 | if (_argo0) { | |
1013 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1014 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
1015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_SetMouseTolerance. Expected _wxDiagram_p."); | |
1016 | return NULL; | |
1017 | } | |
1018 | } | |
1019 | { | |
1020 | wxPy_BEGIN_ALLOW_THREADS; | |
1021 | wxDiagram_SetMouseTolerance(_arg0,_arg1); | |
1022 | ||
1023 | wxPy_END_ALLOW_THREADS; | |
1024 | } Py_INCREF(Py_None); | |
1025 | _resultobj = Py_None; | |
1026 | return _resultobj; | |
1027 | } | |
1028 | ||
1029 | #define wxDiagram_SetQuickEditMode(_swigobj,_swigarg0) (_swigobj->SetQuickEditMode(_swigarg0)) | |
1030 | static PyObject *_wrap_wxDiagram_SetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1031 | PyObject * _resultobj; | |
1032 | wxDiagram * _arg0; | |
1033 | bool _arg1; | |
1034 | PyObject * _argo0 = 0; | |
1035 | int tempbool1; | |
1036 | char *_kwnames[] = { "self","mode", NULL }; | |
1037 | ||
1038 | self = self; | |
1039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_SetQuickEditMode",_kwnames,&_argo0,&tempbool1)) | |
1040 | return NULL; | |
1041 | if (_argo0) { | |
1042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
1044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_SetQuickEditMode. Expected _wxDiagram_p."); | |
1045 | return NULL; | |
1046 | } | |
1047 | } | |
1048 | _arg1 = (bool ) tempbool1; | |
1049 | { | |
1050 | wxPy_BEGIN_ALLOW_THREADS; | |
1051 | wxDiagram_SetQuickEditMode(_arg0,_arg1); | |
1052 | ||
1053 | wxPy_END_ALLOW_THREADS; | |
1054 | } Py_INCREF(Py_None); | |
1055 | _resultobj = Py_None; | |
1056 | return _resultobj; | |
1057 | } | |
1058 | ||
1059 | #define wxDiagram_SetSnapToGrid(_swigobj,_swigarg0) (_swigobj->SetSnapToGrid(_swigarg0)) | |
1060 | static PyObject *_wrap_wxDiagram_SetSnapToGrid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1061 | PyObject * _resultobj; | |
1062 | wxDiagram * _arg0; | |
1063 | bool _arg1; | |
1064 | PyObject * _argo0 = 0; | |
1065 | int tempbool1; | |
1066 | char *_kwnames[] = { "self","snap", NULL }; | |
1067 | ||
1068 | self = self; | |
1069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_SetSnapToGrid",_kwnames,&_argo0,&tempbool1)) | |
1070 | return NULL; | |
1071 | if (_argo0) { | |
1072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
1074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_SetSnapToGrid. Expected _wxDiagram_p."); | |
1075 | return NULL; | |
1076 | } | |
1077 | } | |
1078 | _arg1 = (bool ) tempbool1; | |
1079 | { | |
1080 | wxPy_BEGIN_ALLOW_THREADS; | |
1081 | wxDiagram_SetSnapToGrid(_arg0,_arg1); | |
1082 | ||
1083 | wxPy_END_ALLOW_THREADS; | |
1084 | } Py_INCREF(Py_None); | |
1085 | _resultobj = Py_None; | |
1086 | return _resultobj; | |
1087 | } | |
1088 | ||
1089 | #define wxDiagram_ShowAll(_swigobj,_swigarg0) (_swigobj->ShowAll(_swigarg0)) | |
1090 | static PyObject *_wrap_wxDiagram_ShowAll(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1091 | PyObject * _resultobj; | |
1092 | wxDiagram * _arg0; | |
1093 | bool _arg1; | |
1094 | PyObject * _argo0 = 0; | |
1095 | int tempbool1; | |
1096 | char *_kwnames[] = { "self","show", NULL }; | |
1097 | ||
1098 | self = self; | |
1099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxDiagram_ShowAll",_kwnames,&_argo0,&tempbool1)) | |
1100 | return NULL; | |
1101 | if (_argo0) { | |
1102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
1104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_ShowAll. Expected _wxDiagram_p."); | |
1105 | return NULL; | |
1106 | } | |
1107 | } | |
1108 | _arg1 = (bool ) tempbool1; | |
1109 | { | |
1110 | wxPy_BEGIN_ALLOW_THREADS; | |
1111 | wxDiagram_ShowAll(_arg0,_arg1); | |
1112 | ||
1113 | wxPy_END_ALLOW_THREADS; | |
1114 | } Py_INCREF(Py_None); | |
1115 | _resultobj = Py_None; | |
1116 | return _resultobj; | |
1117 | } | |
1118 | ||
1119 | #define wxDiagram_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1)) | |
1120 | static PyObject *_wrap_wxDiagram_Snap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1121 | PyObject * _resultobj; | |
1122 | wxDiagram * _arg0; | |
1123 | double * _arg1; | |
1124 | double * _arg2; | |
1125 | PyObject * _argo0 = 0; | |
211a46cf RD |
1126 | double temp; |
1127 | PyObject * _obj1 = 0; | |
1128 | double temp0; | |
1129 | PyObject * _obj2 = 0; | |
1130 | char *_kwnames[] = { "self","INOUT","INOUT", NULL }; | |
e91a9dfc RD |
1131 | |
1132 | self = self; | |
211a46cf | 1133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxDiagram_Snap",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1134 | return NULL; |
1135 | if (_argo0) { | |
1136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxDiagram_p")) { | |
1138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxDiagram_Snap. Expected _wxDiagram_p."); | |
1139 | return NULL; | |
1140 | } | |
1141 | } | |
211a46cf RD |
1142 | { |
1143 | temp = PyFloat_AsDouble(_obj1); | |
1144 | _arg1 = &temp; | |
1145 | } | |
1146 | { | |
1147 | temp0 = PyFloat_AsDouble(_obj2); | |
1148 | _arg2 = &temp0; | |
1149 | } | |
e91a9dfc RD |
1150 | { |
1151 | wxPy_BEGIN_ALLOW_THREADS; | |
1152 | wxDiagram_Snap(_arg0,_arg1,_arg2); | |
1153 | ||
1154 | wxPy_END_ALLOW_THREADS; | |
1155 | } Py_INCREF(Py_None); | |
1156 | _resultobj = Py_None; | |
4e0dcbb1 RD |
1157 | { |
1158 | PyObject *o; | |
1159 | o = PyFloat_FromDouble((double) (*_arg1)); | |
1160 | _resultobj = t_output_helper(_resultobj, o); | |
1161 | } | |
1162 | { | |
1163 | PyObject *o; | |
1164 | o = PyFloat_FromDouble((double) (*_arg2)); | |
1165 | _resultobj = t_output_helper(_resultobj, o); | |
1166 | } | |
e91a9dfc RD |
1167 | return _resultobj; |
1168 | } | |
1169 | ||
1170 | static void *SwigwxPyShapeCanvasTowxScrolledWindow(void *ptr) { | |
1171 | wxPyShapeCanvas *src; | |
1172 | wxScrolledWindow *dest; | |
1173 | src = (wxPyShapeCanvas *) ptr; | |
1174 | dest = (wxScrolledWindow *) src; | |
1175 | return (void *) dest; | |
1176 | } | |
1177 | ||
1178 | static void *SwigwxPyShapeCanvasTowxPanel(void *ptr) { | |
1179 | wxPyShapeCanvas *src; | |
1180 | wxPanel *dest; | |
1181 | src = (wxPyShapeCanvas *) ptr; | |
1182 | dest = (wxPanel *) src; | |
1183 | return (void *) dest; | |
1184 | } | |
1185 | ||
1186 | static void *SwigwxPyShapeCanvasTowxWindow(void *ptr) { | |
1187 | wxPyShapeCanvas *src; | |
1188 | wxWindow *dest; | |
1189 | src = (wxPyShapeCanvas *) ptr; | |
1190 | dest = (wxWindow *) src; | |
1191 | return (void *) dest; | |
1192 | } | |
1193 | ||
1194 | static void *SwigwxPyShapeCanvasTowxEvtHandler(void *ptr) { | |
1195 | wxPyShapeCanvas *src; | |
1196 | wxEvtHandler *dest; | |
1197 | src = (wxPyShapeCanvas *) ptr; | |
1198 | dest = (wxEvtHandler *) src; | |
1199 | return (void *) dest; | |
1200 | } | |
1201 | ||
1202 | #define new_wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (new wxPyShapeCanvas(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1203 | static PyObject *_wrap_new_wxPyShapeCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1204 | PyObject * _resultobj; | |
1205 | wxPyShapeCanvas * _result; | |
1206 | wxWindow * _arg0 = (wxWindow *) NULL; | |
1207 | wxWindowID _arg1 = (wxWindowID ) -1; | |
1e7ecb7b RD |
1208 | wxPoint * _arg2 = (wxPoint *) &wxDefaultPosition; |
1209 | wxSize * _arg3 = (wxSize *) &wxDefaultSize; | |
e91a9dfc RD |
1210 | long _arg4 = (long ) wxBORDER; |
1211 | PyObject * _argo0 = 0; | |
2348eaee RD |
1212 | wxPoint temp; |
1213 | PyObject * _obj2 = 0; | |
1214 | wxSize temp0; | |
1215 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
1216 | char *_kwnames[] = { "parent","id","pos","size","style", NULL }; |
1217 | char _ptemp[128]; | |
1218 | ||
1219 | self = self; | |
2348eaee | 1220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OiOOl:new_wxPyShapeCanvas",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_arg4)) |
e91a9dfc RD |
1221 | return NULL; |
1222 | if (_argo0) { | |
1223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxWindow_p")) { | |
1225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyShapeCanvas. Expected _wxWindow_p."); | |
1226 | return NULL; | |
1227 | } | |
1228 | } | |
2348eaee RD |
1229 | if (_obj2) |
1230 | { | |
1231 | _arg2 = &temp; | |
1232 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 1233 | return NULL; |
2348eaee RD |
1234 | } |
1235 | if (_obj3) | |
1236 | { | |
1237 | _arg3 = &temp0; | |
1238 | if (! wxSize_helper(_obj3, &_arg3)) | |
e91a9dfc | 1239 | return NULL; |
2348eaee | 1240 | } |
e91a9dfc RD |
1241 | { |
1242 | wxPy_BEGIN_ALLOW_THREADS; | |
1243 | _result = (wxPyShapeCanvas *)new_wxPyShapeCanvas(_arg0,_arg1,*_arg2,*_arg3,_arg4); | |
1244 | ||
1245 | wxPy_END_ALLOW_THREADS; | |
1246 | } if (_result) { | |
1247 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeCanvas_p"); | |
1248 | _resultobj = Py_BuildValue("s",_ptemp); | |
1249 | } else { | |
1250 | Py_INCREF(Py_None); | |
1251 | _resultobj = Py_None; | |
1252 | } | |
1253 | return _resultobj; | |
1254 | } | |
1255 | ||
f6bcfd97 | 1256 | #define wxPyShapeCanvas__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1257 | static PyObject *_wrap_wxPyShapeCanvas__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1258 | PyObject * _resultobj; | |
1259 | wxPyShapeCanvas * _arg0; | |
1260 | PyObject * _arg1; | |
f6bcfd97 | 1261 | PyObject * _arg2; |
e91a9dfc RD |
1262 | PyObject * _argo0 = 0; |
1263 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1264 | PyObject * _obj2 = 0; |
1265 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1266 | |
1267 | self = self; | |
f6bcfd97 | 1268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShapeCanvas__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1269 | return NULL; |
1270 | if (_argo0) { | |
1271 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1272 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas__setSelf. Expected _wxPyShapeCanvas_p."); | |
1274 | return NULL; | |
1275 | } | |
1276 | } | |
1277 | { | |
1278 | _arg1 = _obj1; | |
1279 | } | |
f6bcfd97 BP |
1280 | { |
1281 | _arg2 = _obj2; | |
1282 | } | |
e91a9dfc RD |
1283 | { |
1284 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1285 | wxPyShapeCanvas__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1286 | |
1287 | wxPy_END_ALLOW_THREADS; | |
1288 | } Py_INCREF(Py_None); | |
1289 | _resultobj = Py_None; | |
1290 | return _resultobj; | |
1291 | } | |
1292 | ||
1293 | #define wxPyShapeCanvas_AddShape(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddShape(_swigarg0,_swigarg1)) | |
1294 | static PyObject *_wrap_wxPyShapeCanvas_AddShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1295 | PyObject * _resultobj; | |
1296 | wxPyShapeCanvas * _arg0; | |
1297 | wxPyShape * _arg1; | |
1298 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
1299 | PyObject * _argo0 = 0; | |
1300 | PyObject * _argo1 = 0; | |
1301 | PyObject * _argo2 = 0; | |
1302 | char *_kwnames[] = { "self","shape","addAfter", NULL }; | |
1303 | ||
1304 | self = self; | |
1305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyShapeCanvas_AddShape",_kwnames,&_argo0,&_argo1,&_argo2)) | |
1306 | return NULL; | |
1307 | if (_argo0) { | |
1308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_AddShape. Expected _wxPyShapeCanvas_p."); | |
1311 | return NULL; | |
1312 | } | |
1313 | } | |
1314 | if (_argo1) { | |
1315 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1316 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p."); | |
1318 | return NULL; | |
1319 | } | |
1320 | } | |
1321 | if (_argo2) { | |
1322 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
1323 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
1324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShapeCanvas_AddShape. Expected _wxPyShape_p."); | |
1325 | return NULL; | |
1326 | } | |
1327 | } | |
1328 | { | |
1329 | wxPy_BEGIN_ALLOW_THREADS; | |
1330 | wxPyShapeCanvas_AddShape(_arg0,_arg1,_arg2); | |
1331 | ||
1332 | wxPy_END_ALLOW_THREADS; | |
1333 | } Py_INCREF(Py_None); | |
1334 | _resultobj = Py_None; | |
1335 | return _resultobj; | |
1336 | } | |
1337 | ||
1338 | #define wxPyShapeCanvas_FindShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->FindShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1339 | static PyObject *_wrap_wxPyShapeCanvas_FindShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1340 | PyObject * _resultobj; | |
1341 | wxPyShape * _result; | |
1342 | wxPyShapeCanvas * _arg0; | |
1343 | double _arg1; | |
1344 | double _arg2; | |
1345 | int * _arg3; | |
4e0dcbb1 | 1346 | int temp; |
e91a9dfc RD |
1347 | wxClassInfo * _arg4 = (wxClassInfo *) NULL; |
1348 | wxPyShape * _arg5 = (wxPyShape *) NULL; | |
1349 | PyObject * _argo0 = 0; | |
e91a9dfc RD |
1350 | PyObject * _argo4 = 0; |
1351 | PyObject * _argo5 = 0; | |
4e0dcbb1 | 1352 | char *_kwnames[] = { "self","x1","y","info","notImage", NULL }; |
e91a9dfc RD |
1353 | char _ptemp[128]; |
1354 | ||
1355 | self = self; | |
4e0dcbb1 RD |
1356 | { |
1357 | _arg3 = &temp; | |
1358 | } | |
1359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|OO:wxPyShapeCanvas_FindShape",_kwnames,&_argo0,&_arg1,&_arg2,&_argo4,&_argo5)) | |
e91a9dfc RD |
1360 | return NULL; |
1361 | if (_argo0) { | |
1362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_FindShape. Expected _wxPyShapeCanvas_p."); | |
1365 | return NULL; | |
1366 | } | |
1367 | } | |
e91a9dfc RD |
1368 | if (_argo4) { |
1369 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
1370 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_wxClassInfo_p")) { | |
1371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPyShapeCanvas_FindShape. Expected _wxClassInfo_p."); | |
1372 | return NULL; | |
1373 | } | |
1374 | } | |
1375 | if (_argo5) { | |
1376 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
1377 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyShape_p")) { | |
1378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxPyShapeCanvas_FindShape. Expected _wxPyShape_p."); | |
1379 | return NULL; | |
1380 | } | |
1381 | } | |
1382 | { | |
1383 | wxPy_BEGIN_ALLOW_THREADS; | |
1384 | _result = (wxPyShape *)wxPyShapeCanvas_FindShape(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1385 | ||
1386 | wxPy_END_ALLOW_THREADS; | |
1387 | } if (_result) { | |
1388 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
1389 | _resultobj = Py_BuildValue("s",_ptemp); | |
1390 | } else { | |
1391 | Py_INCREF(Py_None); | |
1392 | _resultobj = Py_None; | |
1393 | } | |
4e0dcbb1 RD |
1394 | { |
1395 | PyObject *o; | |
1396 | o = PyInt_FromLong((long) (*_arg3)); | |
1397 | _resultobj = t_output_helper(_resultobj, o); | |
1398 | } | |
e91a9dfc RD |
1399 | return _resultobj; |
1400 | } | |
1401 | ||
1402 | #define wxPyShapeCanvas_FindFirstSensitiveShape(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindFirstSensitiveShape(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1403 | static PyObject *_wrap_wxPyShapeCanvas_FindFirstSensitiveShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1404 | PyObject * _resultobj; | |
1405 | wxPyShape * _result; | |
1406 | wxPyShapeCanvas * _arg0; | |
1407 | double _arg1; | |
1408 | double _arg2; | |
1409 | int * _arg3; | |
4e0dcbb1 | 1410 | int temp; |
e91a9dfc RD |
1411 | int _arg4; |
1412 | PyObject * _argo0 = 0; | |
4e0dcbb1 | 1413 | char *_kwnames[] = { "self","x1","y","op", NULL }; |
e91a9dfc RD |
1414 | char _ptemp[128]; |
1415 | ||
1416 | self = self; | |
4e0dcbb1 RD |
1417 | { |
1418 | _arg3 = &temp; | |
1419 | } | |
1420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddi:wxPyShapeCanvas_FindFirstSensitiveShape",_kwnames,&_argo0,&_arg1,&_arg2,&_arg4)) | |
e91a9dfc RD |
1421 | return NULL; |
1422 | if (_argo0) { | |
1423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_FindFirstSensitiveShape. Expected _wxPyShapeCanvas_p."); | |
1426 | return NULL; | |
1427 | } | |
1428 | } | |
e91a9dfc RD |
1429 | { |
1430 | wxPy_BEGIN_ALLOW_THREADS; | |
1431 | _result = (wxPyShape *)wxPyShapeCanvas_FindFirstSensitiveShape(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1432 | ||
1433 | wxPy_END_ALLOW_THREADS; | |
1434 | } if (_result) { | |
1435 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
1436 | _resultobj = Py_BuildValue("s",_ptemp); | |
1437 | } else { | |
1438 | Py_INCREF(Py_None); | |
1439 | _resultobj = Py_None; | |
1440 | } | |
4e0dcbb1 RD |
1441 | { |
1442 | PyObject *o; | |
1443 | o = PyInt_FromLong((long) (*_arg3)); | |
1444 | _resultobj = t_output_helper(_resultobj, o); | |
1445 | } | |
e91a9dfc RD |
1446 | return _resultobj; |
1447 | } | |
1448 | ||
1449 | #define wxPyShapeCanvas_GetDiagram(_swigobj) (_swigobj->GetDiagram()) | |
1450 | static PyObject *_wrap_wxPyShapeCanvas_GetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1451 | PyObject * _resultobj; | |
1452 | wxDiagram * _result; | |
1453 | wxPyShapeCanvas * _arg0; | |
1454 | PyObject * _argo0 = 0; | |
1455 | char *_kwnames[] = { "self", NULL }; | |
1456 | char _ptemp[128]; | |
1457 | ||
1458 | self = self; | |
1459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeCanvas_GetDiagram",_kwnames,&_argo0)) | |
1460 | return NULL; | |
1461 | if (_argo0) { | |
1462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_GetDiagram. Expected _wxPyShapeCanvas_p."); | |
1465 | return NULL; | |
1466 | } | |
1467 | } | |
1468 | { | |
1469 | wxPy_BEGIN_ALLOW_THREADS; | |
1470 | _result = (wxDiagram *)wxPyShapeCanvas_GetDiagram(_arg0); | |
1471 | ||
1472 | wxPy_END_ALLOW_THREADS; | |
1473 | } if (_result) { | |
1474 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxDiagram_p"); | |
1475 | _resultobj = Py_BuildValue("s",_ptemp); | |
1476 | } else { | |
1477 | Py_INCREF(Py_None); | |
1478 | _resultobj = Py_None; | |
1479 | } | |
1480 | return _resultobj; | |
1481 | } | |
1482 | ||
1483 | #define wxPyShapeCanvas_GetQuickEditMode(_swigobj) (_swigobj->GetQuickEditMode()) | |
1484 | static PyObject *_wrap_wxPyShapeCanvas_GetQuickEditMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1485 | PyObject * _resultobj; | |
1486 | bool _result; | |
1487 | wxPyShapeCanvas * _arg0; | |
1488 | PyObject * _argo0 = 0; | |
1489 | char *_kwnames[] = { "self", NULL }; | |
1490 | ||
1491 | self = self; | |
1492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeCanvas_GetQuickEditMode",_kwnames,&_argo0)) | |
1493 | return NULL; | |
1494 | if (_argo0) { | |
1495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_GetQuickEditMode. Expected _wxPyShapeCanvas_p."); | |
1498 | return NULL; | |
1499 | } | |
1500 | } | |
1501 | { | |
1502 | wxPy_BEGIN_ALLOW_THREADS; | |
1503 | _result = (bool )wxPyShapeCanvas_GetQuickEditMode(_arg0); | |
1504 | ||
1505 | wxPy_END_ALLOW_THREADS; | |
1506 | } _resultobj = Py_BuildValue("i",_result); | |
1507 | return _resultobj; | |
1508 | } | |
1509 | ||
1510 | #define wxPyShapeCanvas_InsertShape(_swigobj,_swigarg0) (_swigobj->InsertShape(_swigarg0)) | |
1511 | static PyObject *_wrap_wxPyShapeCanvas_InsertShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1512 | PyObject * _resultobj; | |
1513 | wxPyShapeCanvas * _arg0; | |
1514 | wxPyShape * _arg1; | |
1515 | PyObject * _argo0 = 0; | |
1516 | PyObject * _argo1 = 0; | |
1517 | char *_kwnames[] = { "self","shape", NULL }; | |
1518 | ||
1519 | self = self; | |
1520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_InsertShape",_kwnames,&_argo0,&_argo1)) | |
1521 | return NULL; | |
1522 | if (_argo0) { | |
1523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_InsertShape. Expected _wxPyShapeCanvas_p."); | |
1526 | return NULL; | |
1527 | } | |
1528 | } | |
1529 | if (_argo1) { | |
1530 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1531 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeCanvas_InsertShape. Expected _wxPyShape_p."); | |
1533 | return NULL; | |
1534 | } | |
1535 | } | |
1536 | { | |
1537 | wxPy_BEGIN_ALLOW_THREADS; | |
1538 | wxPyShapeCanvas_InsertShape(_arg0,_arg1); | |
1539 | ||
1540 | wxPy_END_ALLOW_THREADS; | |
1541 | } Py_INCREF(Py_None); | |
1542 | _resultobj = Py_None; | |
1543 | return _resultobj; | |
1544 | } | |
1545 | ||
1546 | #define wxPyShapeCanvas_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2)) | |
1547 | static PyObject *_wrap_wxPyShapeCanvas_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1548 | PyObject * _resultobj; | |
1549 | wxPyShapeCanvas * _arg0; | |
1550 | double _arg1; | |
1551 | double _arg2; | |
1552 | int _arg3 = (int ) 0; | |
1553 | PyObject * _argo0 = 0; | |
1554 | char *_kwnames[] = { "self","x","y","keys", NULL }; | |
1555 | ||
1556 | self = self; | |
1557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
1558 | return NULL; | |
1559 | if (_argo0) { | |
1560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragLeft. Expected _wxPyShapeCanvas_p."); | |
1563 | return NULL; | |
1564 | } | |
1565 | } | |
1566 | { | |
1567 | wxPy_BEGIN_ALLOW_THREADS; | |
1568 | wxPyShapeCanvas_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3); | |
1569 | ||
1570 | wxPy_END_ALLOW_THREADS; | |
1571 | } Py_INCREF(Py_None); | |
1572 | _resultobj = Py_None; | |
1573 | return _resultobj; | |
1574 | } | |
1575 | ||
1576 | #define wxPyShapeCanvas_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2)) | |
1577 | static PyObject *_wrap_wxPyShapeCanvas_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1578 | PyObject * _resultobj; | |
1579 | wxPyShapeCanvas * _arg0; | |
1580 | double _arg1; | |
1581 | double _arg2; | |
1582 | int _arg3 = (int ) 0; | |
1583 | PyObject * _argo0 = 0; | |
1584 | char *_kwnames[] = { "self","x","y","keys", NULL }; | |
1585 | ||
1586 | self = self; | |
1587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
1588 | return NULL; | |
1589 | if (_argo0) { | |
1590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnBeginDragRight. Expected _wxPyShapeCanvas_p."); | |
1593 | return NULL; | |
1594 | } | |
1595 | } | |
1596 | { | |
1597 | wxPy_BEGIN_ALLOW_THREADS; | |
1598 | wxPyShapeCanvas_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3); | |
1599 | ||
1600 | wxPy_END_ALLOW_THREADS; | |
1601 | } Py_INCREF(Py_None); | |
1602 | _resultobj = Py_None; | |
1603 | return _resultobj; | |
1604 | } | |
1605 | ||
1606 | #define wxPyShapeCanvas_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2)) | |
1607 | static PyObject *_wrap_wxPyShapeCanvas_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1608 | PyObject * _resultobj; | |
1609 | wxPyShapeCanvas * _arg0; | |
1610 | double _arg1; | |
1611 | double _arg2; | |
1612 | int _arg3 = (int ) 0; | |
1613 | PyObject * _argo0 = 0; | |
1614 | char *_kwnames[] = { "self","x","y","keys", NULL }; | |
1615 | ||
1616 | self = self; | |
1617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
1618 | return NULL; | |
1619 | if (_argo0) { | |
1620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragLeft. Expected _wxPyShapeCanvas_p."); | |
1623 | return NULL; | |
1624 | } | |
1625 | } | |
1626 | { | |
1627 | wxPy_BEGIN_ALLOW_THREADS; | |
1628 | wxPyShapeCanvas_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3); | |
1629 | ||
1630 | wxPy_END_ALLOW_THREADS; | |
1631 | } Py_INCREF(Py_None); | |
1632 | _resultobj = Py_None; | |
1633 | return _resultobj; | |
1634 | } | |
1635 | ||
1636 | #define wxPyShapeCanvas_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2)) | |
1637 | static PyObject *_wrap_wxPyShapeCanvas_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1638 | PyObject * _resultobj; | |
1639 | wxPyShapeCanvas * _arg0; | |
1640 | double _arg1; | |
1641 | double _arg2; | |
1642 | int _arg3 = (int ) 0; | |
1643 | PyObject * _argo0 = 0; | |
1644 | char *_kwnames[] = { "self","x","y","keys", NULL }; | |
1645 | ||
1646 | self = self; | |
1647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
1648 | return NULL; | |
1649 | if (_argo0) { | |
1650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnEndDragRight. Expected _wxPyShapeCanvas_p."); | |
1653 | return NULL; | |
1654 | } | |
1655 | } | |
1656 | { | |
1657 | wxPy_BEGIN_ALLOW_THREADS; | |
1658 | wxPyShapeCanvas_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3); | |
1659 | ||
1660 | wxPy_END_ALLOW_THREADS; | |
1661 | } Py_INCREF(Py_None); | |
1662 | _resultobj = Py_None; | |
1663 | return _resultobj; | |
1664 | } | |
1665 | ||
1666 | #define wxPyShapeCanvas_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1667 | static PyObject *_wrap_wxPyShapeCanvas_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1668 | PyObject * _resultobj; | |
1669 | wxPyShapeCanvas * _arg0; | |
1670 | bool _arg1; | |
1671 | double _arg2; | |
1672 | double _arg3; | |
1673 | int _arg4 = (int ) 0; | |
1674 | PyObject * _argo0 = 0; | |
1675 | int tempbool1; | |
1676 | char *_kwnames[] = { "self","draw","x","y","keys", NULL }; | |
1677 | ||
1678 | self = self; | |
1679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|i:wxPyShapeCanvas_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4)) | |
1680 | return NULL; | |
1681 | if (_argo0) { | |
1682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragLeft. Expected _wxPyShapeCanvas_p."); | |
1685 | return NULL; | |
1686 | } | |
1687 | } | |
1688 | _arg1 = (bool ) tempbool1; | |
1689 | { | |
1690 | wxPy_BEGIN_ALLOW_THREADS; | |
1691 | wxPyShapeCanvas_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1692 | ||
1693 | wxPy_END_ALLOW_THREADS; | |
1694 | } Py_INCREF(Py_None); | |
1695 | _resultobj = Py_None; | |
1696 | return _resultobj; | |
1697 | } | |
1698 | ||
1699 | #define wxPyShapeCanvas_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1700 | static PyObject *_wrap_wxPyShapeCanvas_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1701 | PyObject * _resultobj; | |
1702 | wxPyShapeCanvas * _arg0; | |
1703 | bool _arg1; | |
1704 | double _arg2; | |
1705 | double _arg3; | |
1706 | int _arg4 = (int ) 0; | |
1707 | PyObject * _argo0 = 0; | |
1708 | int tempbool1; | |
1709 | char *_kwnames[] = { "self","draw","x","y","keys", NULL }; | |
1710 | ||
1711 | self = self; | |
1712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|i:wxPyShapeCanvas_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4)) | |
1713 | return NULL; | |
1714 | if (_argo0) { | |
1715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnDragRight. Expected _wxPyShapeCanvas_p."); | |
1718 | return NULL; | |
1719 | } | |
1720 | } | |
1721 | _arg1 = (bool ) tempbool1; | |
1722 | { | |
1723 | wxPy_BEGIN_ALLOW_THREADS; | |
1724 | wxPyShapeCanvas_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1725 | ||
1726 | wxPy_END_ALLOW_THREADS; | |
1727 | } Py_INCREF(Py_None); | |
1728 | _resultobj = Py_None; | |
1729 | return _resultobj; | |
1730 | } | |
1731 | ||
1732 | #define wxPyShapeCanvas_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2)) | |
1733 | static PyObject *_wrap_wxPyShapeCanvas_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1734 | PyObject * _resultobj; | |
1735 | wxPyShapeCanvas * _arg0; | |
1736 | double _arg1; | |
1737 | double _arg2; | |
1738 | int _arg3 = (int ) 0; | |
1739 | PyObject * _argo0 = 0; | |
1740 | char *_kwnames[] = { "self","x","y","keys", NULL }; | |
1741 | ||
1742 | self = self; | |
1743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
1744 | return NULL; | |
1745 | if (_argo0) { | |
1746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnLeftClick. Expected _wxPyShapeCanvas_p."); | |
1749 | return NULL; | |
1750 | } | |
1751 | } | |
1752 | { | |
1753 | wxPy_BEGIN_ALLOW_THREADS; | |
1754 | wxPyShapeCanvas_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3); | |
1755 | ||
1756 | wxPy_END_ALLOW_THREADS; | |
1757 | } Py_INCREF(Py_None); | |
1758 | _resultobj = Py_None; | |
1759 | return _resultobj; | |
1760 | } | |
1761 | ||
1762 | #define wxPyShapeCanvas_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2)) | |
1763 | static PyObject *_wrap_wxPyShapeCanvas_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1764 | PyObject * _resultobj; | |
1765 | wxPyShapeCanvas * _arg0; | |
1766 | double _arg1; | |
1767 | double _arg2; | |
1768 | int _arg3 = (int ) 0; | |
1769 | PyObject * _argo0 = 0; | |
1770 | char *_kwnames[] = { "self","x","y","keys", NULL }; | |
1771 | ||
1772 | self = self; | |
1773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShapeCanvas_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
1774 | return NULL; | |
1775 | if (_argo0) { | |
1776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_base_OnRightClick. Expected _wxPyShapeCanvas_p."); | |
1779 | return NULL; | |
1780 | } | |
1781 | } | |
1782 | { | |
1783 | wxPy_BEGIN_ALLOW_THREADS; | |
1784 | wxPyShapeCanvas_base_OnRightClick(_arg0,_arg1,_arg2,_arg3); | |
1785 | ||
1786 | wxPy_END_ALLOW_THREADS; | |
1787 | } Py_INCREF(Py_None); | |
1788 | _resultobj = Py_None; | |
1789 | return _resultobj; | |
1790 | } | |
1791 | ||
1792 | #define wxPyShapeCanvas_Redraw(_swigobj,_swigarg0) (_swigobj->Redraw(_swigarg0)) | |
1793 | static PyObject *_wrap_wxPyShapeCanvas_Redraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1794 | PyObject * _resultobj; | |
1795 | wxPyShapeCanvas * _arg0; | |
1796 | wxDC * _arg1; | |
1797 | PyObject * _argo0 = 0; | |
1798 | PyObject * _argo1 = 0; | |
1799 | char *_kwnames[] = { "self","dc", NULL }; | |
1800 | ||
1801 | self = self; | |
1802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_Redraw",_kwnames,&_argo0,&_argo1)) | |
1803 | return NULL; | |
1804 | if (_argo0) { | |
1805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_Redraw. Expected _wxPyShapeCanvas_p."); | |
1808 | return NULL; | |
1809 | } | |
1810 | } | |
1811 | if (_argo1) { | |
1812 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1813 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeCanvas_Redraw. Expected _wxDC_p."); | |
1815 | return NULL; | |
1816 | } | |
1817 | } | |
1818 | { | |
1819 | wxPy_BEGIN_ALLOW_THREADS; | |
1820 | wxPyShapeCanvas_Redraw(_arg0,*_arg1); | |
1821 | ||
1822 | wxPy_END_ALLOW_THREADS; | |
1823 | } Py_INCREF(Py_None); | |
1824 | _resultobj = Py_None; | |
1825 | return _resultobj; | |
1826 | } | |
1827 | ||
1828 | #define wxPyShapeCanvas_RemoveShape(_swigobj,_swigarg0) (_swigobj->RemoveShape(_swigarg0)) | |
1829 | static PyObject *_wrap_wxPyShapeCanvas_RemoveShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1830 | PyObject * _resultobj; | |
1831 | wxPyShapeCanvas * _arg0; | |
1832 | wxPyShape * _arg1; | |
1833 | PyObject * _argo0 = 0; | |
1834 | PyObject * _argo1 = 0; | |
1835 | char *_kwnames[] = { "self","shape", NULL }; | |
1836 | ||
1837 | self = self; | |
1838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_RemoveShape",_kwnames,&_argo0,&_argo1)) | |
1839 | return NULL; | |
1840 | if (_argo0) { | |
1841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShapeCanvas_p."); | |
1844 | return NULL; | |
1845 | } | |
1846 | } | |
1847 | if (_argo1) { | |
1848 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1849 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeCanvas_RemoveShape. Expected _wxPyShape_p."); | |
1851 | return NULL; | |
1852 | } | |
1853 | } | |
1854 | { | |
1855 | wxPy_BEGIN_ALLOW_THREADS; | |
1856 | wxPyShapeCanvas_RemoveShape(_arg0,_arg1); | |
1857 | ||
1858 | wxPy_END_ALLOW_THREADS; | |
1859 | } Py_INCREF(Py_None); | |
1860 | _resultobj = Py_None; | |
1861 | return _resultobj; | |
1862 | } | |
1863 | ||
1864 | #define wxPyShapeCanvas_SetDiagram(_swigobj,_swigarg0) (_swigobj->SetDiagram(_swigarg0)) | |
1865 | static PyObject *_wrap_wxPyShapeCanvas_SetDiagram(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1866 | PyObject * _resultobj; | |
1867 | wxPyShapeCanvas * _arg0; | |
1868 | wxDiagram * _arg1; | |
1869 | PyObject * _argo0 = 0; | |
1870 | PyObject * _argo1 = 0; | |
1871 | char *_kwnames[] = { "self","diagram", NULL }; | |
1872 | ||
1873 | self = self; | |
1874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeCanvas_SetDiagram",_kwnames,&_argo0,&_argo1)) | |
1875 | return NULL; | |
1876 | if (_argo0) { | |
1877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_SetDiagram. Expected _wxPyShapeCanvas_p."); | |
1880 | return NULL; | |
1881 | } | |
1882 | } | |
1883 | if (_argo1) { | |
1884 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1885 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDiagram_p")) { | |
1886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeCanvas_SetDiagram. Expected _wxDiagram_p."); | |
1887 | return NULL; | |
1888 | } | |
1889 | } | |
1890 | { | |
1891 | wxPy_BEGIN_ALLOW_THREADS; | |
1892 | wxPyShapeCanvas_SetDiagram(_arg0,_arg1); | |
1893 | ||
1894 | wxPy_END_ALLOW_THREADS; | |
1895 | } Py_INCREF(Py_None); | |
1896 | _resultobj = Py_None; | |
1897 | return _resultobj; | |
1898 | } | |
1899 | ||
1900 | #define wxPyShapeCanvas_Snap(_swigobj,_swigarg0,_swigarg1) (_swigobj->Snap(_swigarg0,_swigarg1)) | |
1901 | static PyObject *_wrap_wxPyShapeCanvas_Snap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1902 | PyObject * _resultobj; | |
1903 | wxPyShapeCanvas * _arg0; | |
1904 | double * _arg1; | |
1905 | double * _arg2; | |
1906 | PyObject * _argo0 = 0; | |
211a46cf RD |
1907 | double temp; |
1908 | PyObject * _obj1 = 0; | |
1909 | double temp0; | |
1910 | PyObject * _obj2 = 0; | |
1911 | char *_kwnames[] = { "self","INOUT","INOUT", NULL }; | |
e91a9dfc RD |
1912 | |
1913 | self = self; | |
211a46cf | 1914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShapeCanvas_Snap",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1915 | return NULL; |
1916 | if (_argo0) { | |
1917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
1919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeCanvas_Snap. Expected _wxPyShapeCanvas_p."); | |
1920 | return NULL; | |
1921 | } | |
1922 | } | |
211a46cf RD |
1923 | { |
1924 | temp = PyFloat_AsDouble(_obj1); | |
1925 | _arg1 = &temp; | |
1926 | } | |
1927 | { | |
1928 | temp0 = PyFloat_AsDouble(_obj2); | |
1929 | _arg2 = &temp0; | |
1930 | } | |
e91a9dfc RD |
1931 | { |
1932 | wxPy_BEGIN_ALLOW_THREADS; | |
1933 | wxPyShapeCanvas_Snap(_arg0,_arg1,_arg2); | |
1934 | ||
1935 | wxPy_END_ALLOW_THREADS; | |
1936 | } Py_INCREF(Py_None); | |
1937 | _resultobj = Py_None; | |
4e0dcbb1 RD |
1938 | { |
1939 | PyObject *o; | |
1940 | o = PyFloat_FromDouble((double) (*_arg1)); | |
1941 | _resultobj = t_output_helper(_resultobj, o); | |
1942 | } | |
1943 | { | |
1944 | PyObject *o; | |
1945 | o = PyFloat_FromDouble((double) (*_arg2)); | |
1946 | _resultobj = t_output_helper(_resultobj, o); | |
1947 | } | |
e91a9dfc RD |
1948 | return _resultobj; |
1949 | } | |
1950 | ||
1951 | static PyMethodDef oglcanvascMethods[] = { | |
1952 | { "wxPyShapeCanvas_Snap", (PyCFunction) _wrap_wxPyShapeCanvas_Snap, METH_VARARGS | METH_KEYWORDS }, | |
1953 | { "wxPyShapeCanvas_SetDiagram", (PyCFunction) _wrap_wxPyShapeCanvas_SetDiagram, METH_VARARGS | METH_KEYWORDS }, | |
1954 | { "wxPyShapeCanvas_RemoveShape", (PyCFunction) _wrap_wxPyShapeCanvas_RemoveShape, METH_VARARGS | METH_KEYWORDS }, | |
1955 | { "wxPyShapeCanvas_Redraw", (PyCFunction) _wrap_wxPyShapeCanvas_Redraw, METH_VARARGS | METH_KEYWORDS }, | |
1956 | { "wxPyShapeCanvas_base_OnRightClick", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
1957 | { "wxPyShapeCanvas_base_OnLeftClick", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
1958 | { "wxPyShapeCanvas_base_OnDragRight", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
1959 | { "wxPyShapeCanvas_base_OnDragLeft", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
1960 | { "wxPyShapeCanvas_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
1961 | { "wxPyShapeCanvas_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
1962 | { "wxPyShapeCanvas_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
1963 | { "wxPyShapeCanvas_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShapeCanvas_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
1964 | { "wxPyShapeCanvas_InsertShape", (PyCFunction) _wrap_wxPyShapeCanvas_InsertShape, METH_VARARGS | METH_KEYWORDS }, | |
1965 | { "wxPyShapeCanvas_GetQuickEditMode", (PyCFunction) _wrap_wxPyShapeCanvas_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS }, | |
1966 | { "wxPyShapeCanvas_GetDiagram", (PyCFunction) _wrap_wxPyShapeCanvas_GetDiagram, METH_VARARGS | METH_KEYWORDS }, | |
1967 | { "wxPyShapeCanvas_FindFirstSensitiveShape", (PyCFunction) _wrap_wxPyShapeCanvas_FindFirstSensitiveShape, METH_VARARGS | METH_KEYWORDS }, | |
1968 | { "wxPyShapeCanvas_FindShape", (PyCFunction) _wrap_wxPyShapeCanvas_FindShape, METH_VARARGS | METH_KEYWORDS }, | |
1969 | { "wxPyShapeCanvas_AddShape", (PyCFunction) _wrap_wxPyShapeCanvas_AddShape, METH_VARARGS | METH_KEYWORDS }, | |
1970 | { "wxPyShapeCanvas__setSelf", (PyCFunction) _wrap_wxPyShapeCanvas__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
1971 | { "new_wxPyShapeCanvas", (PyCFunction) _wrap_new_wxPyShapeCanvas, METH_VARARGS | METH_KEYWORDS }, | |
1972 | { "wxDiagram_Snap", (PyCFunction) _wrap_wxDiagram_Snap, METH_VARARGS | METH_KEYWORDS }, | |
1973 | { "wxDiagram_ShowAll", (PyCFunction) _wrap_wxDiagram_ShowAll, METH_VARARGS | METH_KEYWORDS }, | |
1974 | { "wxDiagram_SetSnapToGrid", (PyCFunction) _wrap_wxDiagram_SetSnapToGrid, METH_VARARGS | METH_KEYWORDS }, | |
1975 | { "wxDiagram_SetQuickEditMode", (PyCFunction) _wrap_wxDiagram_SetQuickEditMode, METH_VARARGS | METH_KEYWORDS }, | |
1976 | { "wxDiagram_SetMouseTolerance", (PyCFunction) _wrap_wxDiagram_SetMouseTolerance, METH_VARARGS | METH_KEYWORDS }, | |
1977 | { "wxDiagram_SetGridSpacing", (PyCFunction) _wrap_wxDiagram_SetGridSpacing, METH_VARARGS | METH_KEYWORDS }, | |
1978 | { "wxDiagram_SetCanvas", (PyCFunction) _wrap_wxDiagram_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
1979 | { "wxDiagram_SaveFile", (PyCFunction) _wrap_wxDiagram_SaveFile, METH_VARARGS | METH_KEYWORDS }, | |
1980 | { "wxDiagram_RemoveShape", (PyCFunction) _wrap_wxDiagram_RemoveShape, METH_VARARGS | METH_KEYWORDS }, | |
1981 | { "wxDiagram_RemoveAllShapes", (PyCFunction) _wrap_wxDiagram_RemoveAllShapes, METH_VARARGS | METH_KEYWORDS }, | |
1982 | { "wxDiagram_Redraw", (PyCFunction) _wrap_wxDiagram_Redraw, METH_VARARGS | METH_KEYWORDS }, | |
1983 | { "wxDiagram_RecentreAll", (PyCFunction) _wrap_wxDiagram_RecentreAll, METH_VARARGS | METH_KEYWORDS }, | |
1984 | { "wxDiagram_ReadNodes", (PyCFunction) _wrap_wxDiagram_ReadNodes, METH_VARARGS | METH_KEYWORDS }, | |
1985 | { "wxDiagram_ReadLines", (PyCFunction) _wrap_wxDiagram_ReadLines, METH_VARARGS | METH_KEYWORDS }, | |
1986 | { "wxDiagram_ReadContainerGeometry", (PyCFunction) _wrap_wxDiagram_ReadContainerGeometry, METH_VARARGS | METH_KEYWORDS }, | |
1987 | { "wxDiagram_LoadFile", (PyCFunction) _wrap_wxDiagram_LoadFile, METH_VARARGS | METH_KEYWORDS }, | |
1988 | { "wxDiagram_InsertShape", (PyCFunction) _wrap_wxDiagram_InsertShape, METH_VARARGS | METH_KEYWORDS }, | |
1989 | { "wxDiagram_GetSnapToGrid", (PyCFunction) _wrap_wxDiagram_GetSnapToGrid, METH_VARARGS | METH_KEYWORDS }, | |
1990 | { "wxDiagram_GetQuickEditMode", (PyCFunction) _wrap_wxDiagram_GetQuickEditMode, METH_VARARGS | METH_KEYWORDS }, | |
1991 | { "wxDiagram_GetShapeList", (PyCFunction) _wrap_wxDiagram_GetShapeList, METH_VARARGS | METH_KEYWORDS }, | |
1992 | { "wxDiagram_GetMouseTolerance", (PyCFunction) _wrap_wxDiagram_GetMouseTolerance, METH_VARARGS | METH_KEYWORDS }, | |
1993 | { "wxDiagram_GetGridSpacing", (PyCFunction) _wrap_wxDiagram_GetGridSpacing, METH_VARARGS | METH_KEYWORDS }, | |
1994 | { "wxDiagram_GetCount", (PyCFunction) _wrap_wxDiagram_GetCount, METH_VARARGS | METH_KEYWORDS }, | |
1995 | { "wxDiagram_GetCanvas", (PyCFunction) _wrap_wxDiagram_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
1996 | { "wxDiagram_FindShape", (PyCFunction) _wrap_wxDiagram_FindShape, METH_VARARGS | METH_KEYWORDS }, | |
1997 | { "wxDiagram_DrawOutline", (PyCFunction) _wrap_wxDiagram_DrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
1998 | { "wxDiagram_DeleteAllShapes", (PyCFunction) _wrap_wxDiagram_DeleteAllShapes, METH_VARARGS | METH_KEYWORDS }, | |
1999 | { "wxDiagram_Clear", (PyCFunction) _wrap_wxDiagram_Clear, METH_VARARGS | METH_KEYWORDS }, | |
2000 | { "wxDiagram_AddShape", (PyCFunction) _wrap_wxDiagram_AddShape, METH_VARARGS | METH_KEYWORDS }, | |
2001 | { "delete_wxDiagram", (PyCFunction) _wrap_delete_wxDiagram, METH_VARARGS | METH_KEYWORDS }, | |
2002 | { "new_wxDiagram", (PyCFunction) _wrap_new_wxDiagram, METH_VARARGS | METH_KEYWORDS }, | |
2003 | { NULL, NULL } | |
2004 | }; | |
2005 | #ifdef __cplusplus | |
2006 | } | |
2007 | #endif | |
2008 | /* | |
2009 | * This table is used by the pointer type-checker | |
2010 | */ | |
2011 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
2012 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
2013 | { "_wxEvent","_class_wxEvent",0}, | |
2014 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
2015 | { "_signed_long","_long",0}, | |
2016 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
c368d904 | 2017 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
e91a9dfc | 2018 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
c368d904 | 2019 | { "_class_wxFSFile","_wxFSFile",0}, |
e02c03a4 RD |
2020 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
2021 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 2022 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
2023 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
2024 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 2025 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
c368d904 RD |
2026 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
2027 | { "_class_wxDateTime","_wxDateTime",0}, | |
e02c03a4 | 2028 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
2029 | { "_wxPrintQuality","_int",0}, |
2030 | { "_wxPrintQuality","_signed_int",0}, | |
2031 | { "_wxPrintQuality","_unsigned_int",0}, | |
2032 | { "_wxPrintQuality","_wxWindowID",0}, | |
2033 | { "_wxPrintQuality","_uint",0}, | |
2034 | { "_wxPrintQuality","_EBool",0}, | |
2035 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 2036 | { "_wxPrintQuality","_time_t",0}, |
e02c03a4 | 2037 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 2038 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
e91a9dfc | 2039 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 2040 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
e02c03a4 | 2041 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
2042 | { "_class_wxMenuBar","_wxMenuBar",0}, |
2043 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 2044 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
2045 | { "_class_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler}, |
2046 | { "_class_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler}, | |
2047 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
2048 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
2049 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 2050 | { "_wxPySizer","_class_wxPySizer",0}, |
c368d904 | 2051 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
e91a9dfc RD |
2052 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
2053 | { "_wxCursor","_class_wxCursor",0}, | |
2054 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
c368d904 | 2055 | { "_wxPyProcess","_class_wxPyProcess",0}, |
f6bcfd97 | 2056 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, |
e91a9dfc | 2057 | { "_wxImageHandler","_class_wxImageHandler",0}, |
d74525f7 | 2058 | { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0}, |
c368d904 | 2059 | { "_wxLog","_class_wxLog",0}, |
e02c03a4 | 2060 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
2061 | { "_wxMask","_class_wxMask",0}, |
2062 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
2063 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
2064 | { "_class_wxColourData","_wxColourData",0}, | |
2065 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
2066 | { "_wxPrinter","_class_wxPrinter",0}, | |
2067 | { "_wxPen","_class_wxPen",0}, | |
2068 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 2069 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 2070 | { "_byte","_unsigned_char",0}, |
e02c03a4 RD |
2071 | { "_wxDataObject","_class_wxDataObject",0}, |
2072 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 2073 | { "_wxStaticBox","_class_wxStaticBox",0}, |
c9482eba | 2074 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
e02c03a4 RD |
2075 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
2076 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
2077 | { "_wxChoice","_class_wxChoice",0}, |
2078 | { "_wxSlider","_class_wxSlider",0}, | |
2079 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
2080 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
2081 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
2082 | { "_long","_unsigned_long",0}, |
2083 | { "_long","_signed_long",0}, | |
2084 | { "_wxImageList","_class_wxImageList",0}, | |
e02c03a4 | 2085 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
2086 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
2087 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
2088 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 2089 | { "_class_wxSizer","_wxSizer",0}, |
e02c03a4 | 2090 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 2091 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 2092 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 2093 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
e02c03a4 | 2094 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
2095 | { "_class_wxGauge","_wxGauge",0}, |
2096 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
2097 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 2098 | { "_wxSizerItem","_class_wxSizerItem",0}, |
e02c03a4 | 2099 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
2100 | { "_wxListEvent","_class_wxListEvent",0}, |
2101 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
2102 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
2103 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
2104 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 2105 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
2106 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
2107 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
e02c03a4 | 2108 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 2109 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 2110 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
2111 | { "_size_t","_unsigned_int",0}, |
2112 | { "_size_t","_int",0}, | |
2113 | { "_size_t","_wxWindowID",0}, | |
2114 | { "_size_t","_uint",0}, | |
2115 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
e02c03a4 RD |
2116 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
2117 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
2118 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
c368d904 | 2119 | { "_wxLogGui","_class_wxLogGui",0}, |
d74525f7 | 2120 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
e91a9dfc RD |
2121 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, |
2122 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
2123 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
2124 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
2125 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
2126 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 2127 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
2128 | { "_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel}, |
2129 | { "_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel}, | |
2130 | { "_wxPanel","_class_wxPanel",0}, | |
2131 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
2132 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
f6bcfd97 | 2133 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
e91a9dfc RD |
2134 | { "_wxPyEvent","_class_wxPyEvent",0}, |
2135 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
2136 | { "_class_wxMask","_wxMask",0}, | |
e02c03a4 | 2137 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 2138 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
e02c03a4 | 2139 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc | 2140 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
c368d904 | 2141 | { "_wxFileConfig","_class_wxFileConfig",0}, |
e91a9dfc RD |
2142 | { "_wxColour","_class_wxColour",0}, |
2143 | { "_class_wxDialog","_wxDialog",0}, | |
e02c03a4 | 2144 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
2145 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
2146 | { "_class_wxPrinter","_wxPrinter",0}, | |
e02c03a4 | 2147 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
2148 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
2149 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
2150 | { "_wxToolBar","_class_wxToolBar",0}, | |
e02c03a4 | 2151 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 2152 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
2153 | { "_wxStaticLine","_class_wxStaticLine",0}, |
2154 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
2155 | { "_wxBrush","_class_wxBrush",0}, | |
2156 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
2157 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
2158 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
e02c03a4 RD |
2159 | { "_wxDataFormat","_class_wxDataFormat",0}, |
2160 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
2161 | { "_class_wxSashWindow","_wxSashWindow",0}, |
2162 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
e02c03a4 | 2163 | { "_uint","_wxCoord",0}, |
e91a9dfc | 2164 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 2165 | { "_uint","_time_t",0}, |
e91a9dfc RD |
2166 | { "_uint","_size_t",0}, |
2167 | { "_uint","_unsigned_int",0}, | |
2168 | { "_uint","_int",0}, | |
2169 | { "_uint","_wxWindowID",0}, | |
f6bcfd97 | 2170 | { "_wxChar","_char",0}, |
f0261a72 | 2171 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
2172 | { "_class_wxEvent","_wxEvent",0}, |
2173 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
2174 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
2175 | { "_wxRect","_class_wxRect",0}, |
2176 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
2177 | { "_wxPyShapeCanvas","_class_wxPyShapeCanvas",0}, | |
2178 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
c368d904 | 2179 | { "_class_wxLogWindow","_wxLogWindow",0}, |
e91a9dfc RD |
2180 | { "_class_wxImage","_wxImage",0}, |
2181 | { "_wxPoint","_class_wxPoint",0}, | |
c368d904 | 2182 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
e91a9dfc RD |
2183 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
2184 | { "_class_wxButton","_wxButton",0}, | |
2185 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 2186 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
e91a9dfc | 2187 | { "_class_wxFontData","_wxFontData",0}, |
e02c03a4 | 2188 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 2189 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
c368d904 | 2190 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
f6bcfd97 | 2191 | { "_char","_wxChar",0}, |
e91a9dfc | 2192 | { "_wxBitmap","_class_wxBitmap",0}, |
c9482eba | 2193 | { "_wxPenList","_class_wxPenList",0}, |
d74525f7 | 2194 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, |
e91a9dfc | 2195 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
e91a9dfc | 2196 | { "_wxWindowDC","_class_wxWindowDC",0}, |
f6bcfd97 BP |
2197 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
2198 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
e91a9dfc RD |
2199 | { "_wxScrollBar","_class_wxScrollBar",0}, |
2200 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
2201 | { "_wxColourDialog","_class_wxColourDialog",0}, |
2202 | { "_wxPrintData","_class_wxPrintData",0}, | |
c368d904 | 2203 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
e91a9dfc RD |
2204 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
2205 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
2206 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 2207 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc | 2208 | { "_class_wxPyEvent","_wxPyEvent",0}, |
d74525f7 | 2209 | { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0}, |
e91a9dfc | 2210 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, |
c368d904 | 2211 | { "_wxConfig","_class_wxConfig",0}, |
e91a9dfc RD |
2212 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
2213 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
c368d904 | 2214 | { "_class_wxFileConfig","_wxFileConfig",0}, |
e02c03a4 RD |
2215 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
2216 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
2217 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
2218 | { "_wxListItem","_class_wxListItem",0}, | |
2219 | { "_class_wxToolBar","_wxToolBar",0}, | |
e02c03a4 | 2220 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc | 2221 | { "_class_wxStaticLine","_wxStaticLine",0}, |
c9482eba | 2222 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
e91a9dfc | 2223 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
e02c03a4 | 2224 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc | 2225 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
c368d904 | 2226 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
e91a9dfc | 2227 | { "_class_wxShapeRegion","_wxShapeRegion",0}, |
e02c03a4 | 2228 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
2229 | { "_EBool","_wxPrintQuality",0}, |
2230 | { "_EBool","_signed_int",0}, | |
2231 | { "_EBool","_int",0}, | |
2232 | { "_EBool","_wxWindowID",0}, | |
2233 | { "_class_wxRegion","_wxRegion",0}, | |
e02c03a4 | 2234 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 2235 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
e02c03a4 | 2236 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
2237 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
2238 | { "_wxStaticText","_class_wxStaticText",0}, | |
2239 | { "_wxFont","_class_wxFont",0}, | |
e02c03a4 | 2240 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
2241 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
2242 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
c368d904 | 2243 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
e91a9dfc | 2244 | { "_wxNotebook","_class_wxNotebook",0}, |
c368d904 | 2245 | { "_wxFSFile","_class_wxFSFile",0}, |
e91a9dfc RD |
2246 | { "_unsigned_long","_long",0}, |
2247 | { "_class_wxRect","_wxRect",0}, | |
2248 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 2249 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
e91a9dfc | 2250 | { "_class_wxPyShapeCanvas","_wxPyShapeCanvas",0}, |
f6bcfd97 | 2251 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
e91a9dfc | 2252 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
c9482eba | 2253 | { "_class_wxBrushList","_wxBrushList",0}, |
e02c03a4 | 2254 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 2255 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
e91a9dfc | 2256 | { "_wxPyApp","_class_wxPyApp",0}, |
c9482eba | 2257 | { "_class_wxPenList","_wxPenList",0}, |
e02c03a4 | 2258 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 RD |
2259 | { "_class_wxOutputStream","_wxOutputStream",0}, |
2260 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
e91a9dfc RD |
2261 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
2262 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
2263 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
c368d904 | 2264 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
e91a9dfc RD |
2265 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
2266 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
f6bcfd97 BP |
2267 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
2268 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
e91a9dfc RD |
2269 | { "_class_wxSpinButton","_wxSpinButton",0}, |
2270 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
2271 | { "_class_wxPanel","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel}, | |
2272 | { "_class_wxPanel","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxPanel}, | |
2273 | { "_class_wxPanel","_wxPanel",0}, | |
2274 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
2275 | { "_wxComboBox","_class_wxComboBox",0}, | |
2276 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
2277 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
e02c03a4 | 2278 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
2279 | { "_signed_int","_wxPrintQuality",0}, |
2280 | { "_signed_int","_EBool",0}, | |
2281 | { "_signed_int","_wxWindowID",0}, | |
2282 | { "_signed_int","_int",0}, | |
2283 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 2284 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 2285 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
d74525f7 | 2286 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, |
e02c03a4 | 2287 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
2288 | { "_wxMenu","_class_wxMenu",0}, |
2289 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
2290 | { "_wxListBox","_class_wxListBox",0}, | |
2291 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
e02c03a4 | 2292 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc | 2293 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
c368d904 | 2294 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
2295 | { "_WXTYPE","_short",0}, |
2296 | { "_WXTYPE","_signed_short",0}, | |
2297 | { "_WXTYPE","_unsigned_short",0}, | |
2298 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
e02c03a4 | 2299 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 2300 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
2301 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
2302 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 2303 | { "_wxTipProvider","_class_wxTipProvider",0}, |
c368d904 | 2304 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
2305 | { "_unsigned_short","_WXTYPE",0}, |
2306 | { "_unsigned_short","_short",0}, | |
2307 | { "_class_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow}, | |
2308 | { "_class_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow}, | |
2309 | { "_class_wxWindow","_wxWindow",0}, | |
c368d904 | 2310 | { "_class_wxLogStderr","_wxLogStderr",0}, |
e91a9dfc | 2311 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, |
c368d904 | 2312 | { "_wxDateSpan","_class_wxDateSpan",0}, |
e91a9dfc RD |
2313 | { "_class_wxStaticText","_wxStaticText",0}, |
2314 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
2315 | { "_class_wxFont","_wxFont",0}, | |
e02c03a4 | 2316 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 2317 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
2318 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
2319 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
e02c03a4 | 2320 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
c9482eba | 2321 | { "_wxFontList","_class_wxFontList",0}, |
e91a9dfc | 2322 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
e02c03a4 | 2323 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
d74525f7 | 2324 | { "_wxJoystick","_class_wxJoystick",0}, |
e02c03a4 | 2325 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
e91a9dfc RD |
2326 | { "_wxClientDC","_class_wxClientDC",0}, |
2327 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
f6bcfd97 | 2328 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
e91a9dfc RD |
2329 | { "_wxListCtrl","_class_wxListCtrl",0}, |
2330 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
2331 | { "_class_wxPoint","_wxPoint",0}, | |
c368d904 | 2332 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
e91a9dfc RD |
2333 | { "_wxRealPoint","_class_wxRealPoint",0}, |
2334 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 2335 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
2336 | { "_signed_short","_WXTYPE",0}, |
2337 | { "_signed_short","_short",0}, | |
2338 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
e02c03a4 | 2339 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
d74525f7 | 2340 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, |
e91a9dfc | 2341 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
c368d904 | 2342 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
e91a9dfc RD |
2343 | { "_wxPaintDC","_class_wxPaintDC",0}, |
2344 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
2345 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
2346 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
2347 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
2348 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
2349 | { "_class_wxCursor","_wxCursor",0}, | |
e02c03a4 | 2350 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 2351 | { "_class_wxPyProcess","_wxPyProcess",0}, |
e91a9dfc RD |
2352 | { "_class_wxImageHandler","_wxImageHandler",0}, |
2353 | { "_wxPyShape","_class_wxPyShape",0}, | |
2354 | { "_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow}, | |
2355 | { "_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow}, | |
2356 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
c368d904 | 2357 | { "_class_wxLog","_wxLog",0}, |
e91a9dfc RD |
2358 | { "_wxTreeItemId","_class_wxTreeItemId",0}, |
2359 | { "_unsigned_char","_byte",0}, | |
d74525f7 | 2360 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, |
e91a9dfc RD |
2361 | { "_class_wxMenu","_wxMenu",0}, |
2362 | { "_wxControl","_class_wxControl",0}, | |
2363 | { "_class_wxListBox","_wxListBox",0}, | |
e02c03a4 | 2364 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 2365 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 2366 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
2367 | { "_unsigned_int","_size_t",0}, |
2368 | { "_unsigned_int","_uint",0}, | |
2369 | { "_unsigned_int","_wxWindowID",0}, | |
2370 | { "_unsigned_int","_int",0}, | |
2371 | { "_wxIcon","_class_wxIcon",0}, | |
2372 | { "_wxDialog","_class_wxDialog",0}, | |
2373 | { "_class_wxListItem","_wxListItem",0}, | |
2374 | { "_class_wxPen","_wxPen",0}, | |
2375 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
2376 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
c368d904 RD |
2377 | { "_wxConfigBase","_class_wxConfigBase",0}, |
2378 | { "_short","_wxDateTime_t",0}, | |
e91a9dfc RD |
2379 | { "_short","_WXTYPE",0}, |
2380 | { "_short","_unsigned_short",0}, | |
2381 | { "_short","_signed_short",0}, | |
2382 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
2383 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
e02c03a4 RD |
2384 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
2385 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
2386 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
2387 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
2388 | { "_class_wxChoice","_wxChoice",0}, | |
2389 | { "_class_wxSlider","_wxSlider",0}, | |
2390 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
2391 | { "_class_wxImageList","_wxImageList",0}, | |
2392 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
c368d904 | 2393 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 | 2394 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 2395 | { "_wxFrame","_class_wxFrame",0}, |
e02c03a4 | 2396 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 2397 | { "_class_wxGridSizer","_wxGridSizer",0}, |
e02c03a4 | 2398 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
2399 | { "_class_wxNotebook","_wxNotebook",0}, |
2400 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
e02c03a4 | 2401 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 2402 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 2403 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
2404 | { "_wxWindowID","_size_t",0}, |
2405 | { "_wxWindowID","_EBool",0}, | |
2406 | { "_wxWindowID","_uint",0}, | |
2407 | { "_wxWindowID","_int",0}, | |
2408 | { "_wxWindowID","_signed_int",0}, | |
2409 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 2410 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 2411 | { "_class_wxSizerItem","_wxSizerItem",0}, |
e02c03a4 | 2412 | { "_int","_wxCoord",0}, |
e91a9dfc | 2413 | { "_int","_wxPrintQuality",0}, |
c368d904 | 2414 | { "_int","_time_t",0}, |
e91a9dfc RD |
2415 | { "_int","_size_t",0}, |
2416 | { "_int","_EBool",0}, | |
2417 | { "_int","_uint",0}, | |
2418 | { "_int","_wxWindowID",0}, | |
2419 | { "_int","_unsigned_int",0}, | |
2420 | { "_int","_signed_int",0}, | |
2421 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 2422 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
c368d904 | 2423 | { "_wxLogWindow","_class_wxLogWindow",0}, |
e91a9dfc RD |
2424 | { "_class_wxListEvent","_wxListEvent",0}, |
2425 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
c368d904 RD |
2426 | { "_wxDateTime_t","_unsigned_short",0}, |
2427 | { "_wxDateTime_t","_short",0}, | |
2428 | { "_wxDateTime_t","_WXTYPE",0}, | |
e91a9dfc | 2429 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
e02c03a4 | 2430 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
2431 | { "_wxDateTime","_class_wxDateTime",0}, |
2432 | { "_time_t","_wxCoord",0}, | |
2433 | { "_time_t","_wxPrintQuality",0}, | |
2434 | { "_time_t","_unsigned_int",0}, | |
2435 | { "_time_t","_int",0}, | |
2436 | { "_time_t","_wxWindowID",0}, | |
2437 | { "_time_t","_uint",0}, | |
2438 | { "_time_t","_size_t",0}, | |
e02c03a4 | 2439 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
c368d904 | 2440 | { "_wxLogNull","_class_wxLogNull",0}, |
e91a9dfc | 2441 | { "_wxButton","_class_wxButton",0}, |
c368d904 | 2442 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
e91a9dfc RD |
2443 | { "_class_wxPyApp","_wxPyApp",0}, |
2444 | { "_wxSize","_class_wxSize",0}, | |
2445 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
e02c03a4 | 2446 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
c368d904 RD |
2447 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
2448 | { "_class_wxLogGui","_wxLogGui",0}, | |
e91a9dfc RD |
2449 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
2450 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
d74525f7 | 2451 | { "_class_wxPrinterDC","_wxPrinterDC",0}, |
2348eaee | 2452 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
c368d904 RD |
2453 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
2454 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
e91a9dfc RD |
2455 | { "_class_wxPaintDC","_wxPaintDC",0}, |
2456 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
e02c03a4 | 2457 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
2458 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
2459 | { "_class_wxComboBox","_wxComboBox",0}, | |
2460 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
2461 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 2462 | { "_wxValidator","_class_wxValidator",0}, |
e02c03a4 | 2463 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc | 2464 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
e91a9dfc RD |
2465 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
2466 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
2467 | { "_class_wxControl","_wxControl",0}, | |
2468 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
2469 | { "_class_wxIcon","_wxIcon",0}, | |
2470 | { "_class_wxColour","_wxColour",0}, | |
2471 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
2472 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
2473 | { "_wxPalette","_class_wxPalette",0}, | |
2474 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
c368d904 | 2475 | { "_class_wxConfigBase","_wxConfigBase",0}, |
e02c03a4 RD |
2476 | { "_wxCoord","_int",0}, |
2477 | { "_wxCoord","_signed_int",0}, | |
2478 | { "_wxCoord","_unsigned_int",0}, | |
2479 | { "_wxCoord","_wxWindowID",0}, | |
2480 | { "_wxCoord","_uint",0}, | |
2481 | { "_wxCoord","_EBool",0}, | |
2482 | { "_wxCoord","_size_t",0}, | |
c368d904 | 2483 | { "_wxCoord","_time_t",0}, |
e02c03a4 | 2484 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 2485 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
e02c03a4 | 2486 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 2487 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 2488 | { "_class_wxTipProvider","_wxTipProvider",0}, |
e91a9dfc RD |
2489 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
2490 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
c368d904 | 2491 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
e91a9dfc RD |
2492 | { "_wxRegion","_class_wxRegion",0}, |
2493 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
2494 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 2495 | { "_wxSizer","_class_wxSizer",0}, |
c368d904 RD |
2496 | { "_class_wxDateSpan","_wxDateSpan",0}, |
2497 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
e91a9dfc | 2498 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 2499 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
e02c03a4 RD |
2500 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
2501 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
e91a9dfc | 2502 | { "_wxDiagram","_class_wxDiagram",0}, |
e02c03a4 | 2503 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, |
e91a9dfc RD |
2504 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
2505 | { "_wxGauge","_class_wxGauge",0}, | |
2506 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
e02c03a4 | 2507 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
c9482eba | 2508 | { "_class_wxFontList","_wxFontList",0}, |
d74525f7 | 2509 | { "_class_wxJoystick","_wxJoystick",0}, |
e91a9dfc RD |
2510 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
2511 | { "_class_wxClientDC","_wxClientDC",0}, | |
2512 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
2513 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
c9482eba | 2514 | { "_wxBrushList","_class_wxBrushList",0}, |
e02c03a4 | 2515 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
c368d904 | 2516 | { "_class_wxLogNull","_wxLogNull",0}, |
e91a9dfc RD |
2517 | { "_class_wxSize","_wxSize",0}, |
2518 | { "_class_wxBitmap","_wxBitmap",0}, | |
2519 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
e02c03a4 | 2520 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc | 2521 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 | 2522 | { "_wxOutputStream","_class_wxOutputStream",0}, |
e91a9dfc RD |
2523 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
2524 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
2525 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
2526 | { "_wxEvtHandler","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler}, | |
2527 | { "_wxEvtHandler","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxEvtHandler}, | |
2528 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
2529 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
2530 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
2531 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
2532 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc RD |
2533 | { "_class_wxScrolledWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow}, |
2534 | { "_class_wxScrolledWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxScrolledWindow}, | |
2535 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
f6bcfd97 | 2536 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc | 2537 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
c368d904 | 2538 | { "_class_wxConfig","_wxConfig",0}, |
e91a9dfc RD |
2539 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
2540 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
2541 | { "_wxColourData","_class_wxColourData",0}, | |
2542 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
2543 | { "_class_wxPalette","_wxPalette",0}, | |
e02c03a4 | 2544 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 2545 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 2546 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 2547 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
e02c03a4 | 2548 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc | 2549 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
e02c03a4 RD |
2550 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
2551 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
2552 | { "_class_wxFontDialog","_wxFontDialog",0}, |
2553 | { "_wxWindow","_class_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow}, | |
2554 | { "_wxWindow","_wxPyShapeCanvas",SwigwxPyShapeCanvasTowxWindow}, | |
2555 | { "_wxWindow","_class_wxWindow",0}, | |
e02c03a4 | 2556 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
c368d904 RD |
2557 | { "_wxLogStderr","_class_wxLogStderr",0}, |
2558 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
2559 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
e91a9dfc RD |
2560 | { "_class_wxFrame","_wxFrame",0}, |
2561 | { "_class_wxDiagram","_wxDiagram",0}, | |
2562 | {0,0,0}}; | |
2563 | ||
2564 | static PyObject *SWIG_globals; | |
2565 | #ifdef __cplusplus | |
2566 | extern "C" | |
2567 | #endif | |
2568 | SWIGEXPORT(void) initoglcanvasc() { | |
2569 | PyObject *m, *d; | |
2570 | SWIG_globals = SWIG_newvarlink(); | |
2571 | m = Py_InitModule("oglcanvasc", oglcanvascMethods); | |
2572 | d = PyModule_GetDict(m); | |
2573 | { | |
2574 | int i; | |
2575 | for (i = 0; _swig_mapping[i].n1; i++) | |
2576 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
2577 | } | |
2578 | } |