]>
Commit | Line | Data |
---|---|---|
e91a9dfc | 1 | /* |
c368d904 | 2 | * FILE : contrib/ogl/oglbasic.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__) | |
9c4165ad | 30 | # define SWIGEXPORT(a) a _export |
e91a9dfc | 31 | # else |
9c4165ad | 32 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
33 | # endif |
34 | # endif | |
35 | #else | |
9c4165ad | 36 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
37 | #endif |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
9c4165ad | 42 | #include "Python.h" |
e91a9dfc RD |
43 | extern void SWIG_MakePtr(char *, void *, char *); |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #define SWIG_init initoglbasicc | |
53 | ||
54 | #define SWIG_name "oglbasicc" | |
55 | ||
1e7ecb7b | 56 | #include "export.h" |
e91a9dfc RD |
57 | #include "oglhelpers.h" |
58 | ||
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
185d7c3e | 61 | if (!target) { |
e91a9dfc | 62 | target = o; |
185d7c3e | 63 | } else if (target == Py_None) { |
e91a9dfc RD |
64 | Py_DECREF(Py_None); |
65 | target = o; | |
185d7c3e | 66 | } else { |
e91a9dfc RD |
67 | if (!PyList_Check(target)) { |
68 | o2 = target; | |
69 | target = PyList_New(0); | |
70 | PyList_Append(target, o2); | |
71 | Py_XDECREF(o2); | |
72 | } | |
73 | PyList_Append(target,o); | |
74 | Py_XDECREF(o); | |
75 | } | |
76 | return target; | |
77 | } | |
78 | ||
79 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
80 | PyObject* o2; | |
81 | PyObject* o3; | |
82 | ||
185d7c3e | 83 | if (!target) { |
e91a9dfc | 84 | target = o; |
185d7c3e | 85 | } else if (target == Py_None) { |
e91a9dfc RD |
86 | Py_DECREF(Py_None); |
87 | target = o; | |
185d7c3e | 88 | } else { |
e91a9dfc RD |
89 | if (!PyTuple_Check(target)) { |
90 | o2 = target; | |
91 | target = PyTuple_New(1); | |
92 | PyTuple_SetItem(target, 0, o2); | |
93 | } | |
185d7c3e RD |
94 | o3 = PyTuple_New(1); |
95 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
96 | |
97 | o2 = target; | |
185d7c3e RD |
98 | target = PySequence_Concat(o2, o3); |
99 | Py_DECREF(o2); | |
e91a9dfc RD |
100 | Py_DECREF(o3); |
101 | } | |
102 | return target; | |
103 | } | |
104 | ||
e91a9dfc RD |
105 | static char* wxStringErrorMsg = "string type is required for parameter"; |
106 | ||
107 | WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler); | |
108 | ||
109 | WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape); | |
110 | #ifdef __cplusplus | |
111 | extern "C" { | |
112 | #endif | |
113 | #define new_wxShapeRegion() (new wxShapeRegion()) | |
114 | static PyObject *_wrap_new_wxShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
115 | PyObject * _resultobj; | |
116 | wxShapeRegion * _result; | |
117 | char *_kwnames[] = { NULL }; | |
118 | char _ptemp[128]; | |
119 | ||
120 | self = self; | |
121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxShapeRegion",_kwnames)) | |
122 | return NULL; | |
123 | { | |
124 | wxPy_BEGIN_ALLOW_THREADS; | |
125 | _result = (wxShapeRegion *)new_wxShapeRegion(); | |
126 | ||
127 | wxPy_END_ALLOW_THREADS; | |
128 | } if (_result) { | |
129 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxShapeRegion_p"); | |
130 | _resultobj = Py_BuildValue("s",_ptemp); | |
131 | } else { | |
132 | Py_INCREF(Py_None); | |
133 | _resultobj = Py_None; | |
134 | } | |
135 | return _resultobj; | |
136 | } | |
137 | ||
138 | #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
139 | static PyObject *_wrap_wxShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
140 | PyObject * _resultobj; | |
141 | wxShapeRegion * _arg0; | |
142 | wxString * _arg1; | |
143 | PyObject * _argo0 = 0; | |
144 | PyObject * _obj1 = 0; | |
145 | char *_kwnames[] = { "self","s", NULL }; | |
146 | ||
147 | self = self; | |
148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetText",_kwnames,&_argo0,&_obj1)) | |
149 | return NULL; | |
150 | if (_argo0) { | |
151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p."); | |
154 | return NULL; | |
155 | } | |
156 | } | |
157 | { | |
185d7c3e RD |
158 | #if PYTHON_API_VERSION >= 1009 |
159 | char* tmpPtr; int tmpSize; | |
160 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
161 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
162 | return NULL; | |
163 | } | |
164 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
165 | return NULL; | |
166 | _arg1 = new wxString(tmpPtr, tmpSize); | |
167 | #else | |
e91a9dfc RD |
168 | if (!PyString_Check(_obj1)) { |
169 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
170 | return NULL; | |
171 | } | |
185d7c3e RD |
172 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
173 | #endif | |
e91a9dfc RD |
174 | } |
175 | { | |
176 | wxPy_BEGIN_ALLOW_THREADS; | |
177 | wxShapeRegion_SetText(_arg0,*_arg1); | |
178 | ||
179 | wxPy_END_ALLOW_THREADS; | |
180 | } Py_INCREF(Py_None); | |
181 | _resultobj = Py_None; | |
182 | { | |
183 | if (_obj1) | |
184 | delete _arg1; | |
185 | } | |
186 | return _resultobj; | |
187 | } | |
188 | ||
189 | #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
190 | static PyObject *_wrap_wxShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
191 | PyObject * _resultobj; | |
192 | wxShapeRegion * _arg0; | |
193 | wxFont * _arg1; | |
194 | PyObject * _argo0 = 0; | |
195 | PyObject * _argo1 = 0; | |
196 | char *_kwnames[] = { "self","f", NULL }; | |
197 | ||
198 | self = self; | |
199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetFont",_kwnames,&_argo0,&_argo1)) | |
200 | return NULL; | |
201 | if (_argo0) { | |
202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p."); | |
205 | return NULL; | |
206 | } | |
207 | } | |
208 | if (_argo1) { | |
209 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
210 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxShapeRegion_SetFont. Expected _wxFont_p."); | |
212 | return NULL; | |
213 | } | |
214 | } | |
215 | { | |
216 | wxPy_BEGIN_ALLOW_THREADS; | |
217 | wxShapeRegion_SetFont(_arg0,_arg1); | |
218 | ||
219 | wxPy_END_ALLOW_THREADS; | |
220 | } Py_INCREF(Py_None); | |
221 | _resultobj = Py_None; | |
222 | return _resultobj; | |
223 | } | |
224 | ||
225 | #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1)) | |
226 | static PyObject *_wrap_wxShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
227 | PyObject * _resultobj; | |
228 | wxShapeRegion * _arg0; | |
229 | double _arg1; | |
230 | double _arg2; | |
231 | PyObject * _argo0 = 0; | |
232 | char *_kwnames[] = { "self","w","h", NULL }; | |
233 | ||
234 | self = self; | |
235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetMinSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
236 | return NULL; | |
237 | if (_argo0) { | |
238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p."); | |
241 | return NULL; | |
242 | } | |
243 | } | |
244 | { | |
245 | wxPy_BEGIN_ALLOW_THREADS; | |
246 | wxShapeRegion_SetMinSize(_arg0,_arg1,_arg2); | |
247 | ||
248 | wxPy_END_ALLOW_THREADS; | |
249 | } Py_INCREF(Py_None); | |
250 | _resultobj = Py_None; | |
251 | return _resultobj; | |
252 | } | |
253 | ||
254 | #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
255 | static PyObject *_wrap_wxShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
256 | PyObject * _resultobj; | |
257 | wxShapeRegion * _arg0; | |
258 | double _arg1; | |
259 | double _arg2; | |
260 | PyObject * _argo0 = 0; | |
261 | char *_kwnames[] = { "self","w","h", NULL }; | |
262 | ||
263 | self = self; | |
264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
265 | return NULL; | |
266 | if (_argo0) { | |
267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p."); | |
270 | return NULL; | |
271 | } | |
272 | } | |
273 | { | |
274 | wxPy_BEGIN_ALLOW_THREADS; | |
275 | wxShapeRegion_SetSize(_arg0,_arg1,_arg2); | |
276 | ||
277 | wxPy_END_ALLOW_THREADS; | |
278 | } Py_INCREF(Py_None); | |
279 | _resultobj = Py_None; | |
280 | return _resultobj; | |
281 | } | |
282 | ||
283 | #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1)) | |
284 | static PyObject *_wrap_wxShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
285 | PyObject * _resultobj; | |
286 | wxShapeRegion * _arg0; | |
287 | double _arg1; | |
288 | double _arg2; | |
289 | PyObject * _argo0 = 0; | |
290 | char *_kwnames[] = { "self","x","y", NULL }; | |
291 | ||
292 | self = self; | |
293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetPosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
294 | return NULL; | |
295 | if (_argo0) { | |
296 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
297 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p."); | |
299 | return NULL; | |
300 | } | |
301 | } | |
302 | { | |
303 | wxPy_BEGIN_ALLOW_THREADS; | |
304 | wxShapeRegion_SetPosition(_arg0,_arg1,_arg2); | |
305 | ||
306 | wxPy_END_ALLOW_THREADS; | |
307 | } Py_INCREF(Py_None); | |
308 | _resultobj = Py_None; | |
309 | return _resultobj; | |
310 | } | |
311 | ||
312 | #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1)) | |
313 | static PyObject *_wrap_wxShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
314 | PyObject * _resultobj; | |
315 | wxShapeRegion * _arg0; | |
316 | double _arg1; | |
317 | double _arg2; | |
318 | PyObject * _argo0 = 0; | |
319 | char *_kwnames[] = { "self","x","y", NULL }; | |
320 | ||
321 | self = self; | |
322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetProportions",_kwnames,&_argo0,&_arg1,&_arg2)) | |
323 | return NULL; | |
324 | if (_argo0) { | |
325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p."); | |
328 | return NULL; | |
329 | } | |
330 | } | |
331 | { | |
332 | wxPy_BEGIN_ALLOW_THREADS; | |
333 | wxShapeRegion_SetProportions(_arg0,_arg1,_arg2); | |
334 | ||
335 | wxPy_END_ALLOW_THREADS; | |
336 | } Py_INCREF(Py_None); | |
337 | _resultobj = Py_None; | |
338 | return _resultobj; | |
339 | } | |
340 | ||
341 | #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0)) | |
342 | static PyObject *_wrap_wxShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
343 | PyObject * _resultobj; | |
344 | wxShapeRegion * _arg0; | |
345 | int _arg1; | |
346 | PyObject * _argo0 = 0; | |
347 | char *_kwnames[] = { "self","mode", NULL }; | |
348 | ||
349 | self = self; | |
350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetFormatMode",_kwnames,&_argo0,&_arg1)) | |
351 | return NULL; | |
352 | if (_argo0) { | |
353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p."); | |
356 | return NULL; | |
357 | } | |
358 | } | |
359 | { | |
360 | wxPy_BEGIN_ALLOW_THREADS; | |
361 | wxShapeRegion_SetFormatMode(_arg0,_arg1); | |
362 | ||
363 | wxPy_END_ALLOW_THREADS; | |
364 | } Py_INCREF(Py_None); | |
365 | _resultobj = Py_None; | |
366 | return _resultobj; | |
367 | } | |
368 | ||
369 | #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0)) | |
370 | static PyObject *_wrap_wxShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
371 | PyObject * _resultobj; | |
372 | wxShapeRegion * _arg0; | |
373 | wxString * _arg1; | |
374 | PyObject * _argo0 = 0; | |
375 | PyObject * _obj1 = 0; | |
376 | char *_kwnames[] = { "self","s", NULL }; | |
377 | ||
378 | self = self; | |
379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetName",_kwnames,&_argo0,&_obj1)) | |
380 | return NULL; | |
381 | if (_argo0) { | |
382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p."); | |
385 | return NULL; | |
386 | } | |
387 | } | |
388 | { | |
185d7c3e RD |
389 | #if PYTHON_API_VERSION >= 1009 |
390 | char* tmpPtr; int tmpSize; | |
391 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
392 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
393 | return NULL; | |
394 | } | |
395 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
396 | return NULL; | |
397 | _arg1 = new wxString(tmpPtr, tmpSize); | |
398 | #else | |
e91a9dfc RD |
399 | if (!PyString_Check(_obj1)) { |
400 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
401 | return NULL; | |
402 | } | |
185d7c3e RD |
403 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
404 | #endif | |
e91a9dfc RD |
405 | } |
406 | { | |
407 | wxPy_BEGIN_ALLOW_THREADS; | |
408 | wxShapeRegion_SetName(_arg0,*_arg1); | |
409 | ||
410 | wxPy_END_ALLOW_THREADS; | |
411 | } Py_INCREF(Py_None); | |
412 | _resultobj = Py_None; | |
413 | { | |
414 | if (_obj1) | |
415 | delete _arg1; | |
416 | } | |
417 | return _resultobj; | |
418 | } | |
419 | ||
420 | #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
421 | static PyObject *_wrap_wxShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
422 | PyObject * _resultobj; | |
423 | wxShapeRegion * _arg0; | |
424 | wxString * _arg1; | |
425 | PyObject * _argo0 = 0; | |
426 | PyObject * _obj1 = 0; | |
427 | char *_kwnames[] = { "self","col", NULL }; | |
428 | ||
429 | self = self; | |
430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetColour",_kwnames,&_argo0,&_obj1)) | |
431 | return NULL; | |
432 | if (_argo0) { | |
433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p."); | |
436 | return NULL; | |
437 | } | |
438 | } | |
439 | { | |
185d7c3e RD |
440 | #if PYTHON_API_VERSION >= 1009 |
441 | char* tmpPtr; int tmpSize; | |
442 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
443 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
444 | return NULL; | |
445 | } | |
446 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
447 | return NULL; | |
448 | _arg1 = new wxString(tmpPtr, tmpSize); | |
449 | #else | |
e91a9dfc RD |
450 | if (!PyString_Check(_obj1)) { |
451 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
452 | return NULL; | |
453 | } | |
185d7c3e RD |
454 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
455 | #endif | |
e91a9dfc RD |
456 | } |
457 | { | |
458 | wxPy_BEGIN_ALLOW_THREADS; | |
459 | wxShapeRegion_SetColour(_arg0,*_arg1); | |
460 | ||
461 | wxPy_END_ALLOW_THREADS; | |
462 | } Py_INCREF(Py_None); | |
463 | _resultobj = Py_None; | |
464 | { | |
465 | if (_obj1) | |
466 | delete _arg1; | |
467 | } | |
468 | return _resultobj; | |
469 | } | |
470 | ||
471 | #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText()) | |
472 | static PyObject *_wrap_wxShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
473 | PyObject * _resultobj; | |
474 | wxString * _result; | |
475 | wxShapeRegion * _arg0; | |
476 | PyObject * _argo0 = 0; | |
477 | char *_kwnames[] = { "self", NULL }; | |
478 | ||
479 | self = self; | |
480 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetText",_kwnames,&_argo0)) | |
481 | return NULL; | |
482 | if (_argo0) { | |
483 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
484 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p."); | |
486 | return NULL; | |
487 | } | |
488 | } | |
489 | { | |
490 | wxPy_BEGIN_ALLOW_THREADS; | |
491 | _result = new wxString (wxShapeRegion_GetText(_arg0)); | |
492 | ||
493 | wxPy_END_ALLOW_THREADS; | |
494 | }{ | |
714d23b4 | 495 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
496 | } |
497 | { | |
498 | delete _result; | |
499 | } | |
500 | return _resultobj; | |
501 | } | |
502 | ||
503 | #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont()) | |
504 | static PyObject *_wrap_wxShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
505 | PyObject * _resultobj; | |
506 | wxFont * _result; | |
507 | wxShapeRegion * _arg0; | |
508 | PyObject * _argo0 = 0; | |
509 | char *_kwnames[] = { "self", NULL }; | |
510 | char _ptemp[128]; | |
511 | ||
512 | self = self; | |
513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFont",_kwnames,&_argo0)) | |
514 | return NULL; | |
515 | if (_argo0) { | |
516 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
517 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p."); | |
519 | return NULL; | |
520 | } | |
521 | } | |
522 | { | |
523 | wxPy_BEGIN_ALLOW_THREADS; | |
524 | _result = (wxFont *)wxShapeRegion_GetFont(_arg0); | |
525 | ||
526 | wxPy_END_ALLOW_THREADS; | |
527 | } if (_result) { | |
528 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
529 | _resultobj = Py_BuildValue("s",_ptemp); | |
530 | } else { | |
531 | Py_INCREF(Py_None); | |
532 | _resultobj = Py_None; | |
533 | } | |
534 | return _resultobj; | |
535 | } | |
536 | ||
537 | #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1)) | |
538 | static PyObject *_wrap_wxShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
539 | PyObject * _resultobj; | |
540 | wxShapeRegion * _arg0; | |
541 | double * _arg1; | |
f6bcfd97 | 542 | double temp; |
e91a9dfc | 543 | double * _arg2; |
f6bcfd97 | 544 | double temp0; |
e91a9dfc | 545 | PyObject * _argo0 = 0; |
f6bcfd97 | 546 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
547 | |
548 | self = self; | |
f6bcfd97 BP |
549 | { |
550 | _arg1 = &temp; | |
551 | } | |
552 | { | |
553 | _arg2 = &temp0; | |
554 | } | |
555 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetMinSize",_kwnames,&_argo0)) | |
e91a9dfc RD |
556 | return NULL; |
557 | if (_argo0) { | |
558 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
559 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p."); | |
561 | return NULL; | |
562 | } | |
563 | } | |
e91a9dfc RD |
564 | { |
565 | wxPy_BEGIN_ALLOW_THREADS; | |
566 | wxShapeRegion_GetMinSize(_arg0,_arg1,_arg2); | |
567 | ||
568 | wxPy_END_ALLOW_THREADS; | |
569 | } Py_INCREF(Py_None); | |
570 | _resultobj = Py_None; | |
f6bcfd97 BP |
571 | { |
572 | PyObject *o; | |
573 | o = PyFloat_FromDouble((double) (*_arg1)); | |
574 | _resultobj = t_output_helper(_resultobj, o); | |
575 | } | |
576 | { | |
577 | PyObject *o; | |
578 | o = PyFloat_FromDouble((double) (*_arg2)); | |
579 | _resultobj = t_output_helper(_resultobj, o); | |
580 | } | |
e91a9dfc RD |
581 | return _resultobj; |
582 | } | |
583 | ||
584 | #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1)) | |
585 | static PyObject *_wrap_wxShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
586 | PyObject * _resultobj; | |
587 | wxShapeRegion * _arg0; | |
588 | double * _arg1; | |
f6bcfd97 | 589 | double temp; |
e91a9dfc | 590 | double * _arg2; |
f6bcfd97 | 591 | double temp0; |
e91a9dfc | 592 | PyObject * _argo0 = 0; |
f6bcfd97 | 593 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
594 | |
595 | self = self; | |
f6bcfd97 BP |
596 | { |
597 | _arg1 = &temp; | |
598 | } | |
599 | { | |
600 | _arg2 = &temp0; | |
601 | } | |
602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetProportion",_kwnames,&_argo0)) | |
e91a9dfc RD |
603 | return NULL; |
604 | if (_argo0) { | |
605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p."); | |
608 | return NULL; | |
609 | } | |
610 | } | |
e91a9dfc RD |
611 | { |
612 | wxPy_BEGIN_ALLOW_THREADS; | |
613 | wxShapeRegion_GetProportion(_arg0,_arg1,_arg2); | |
614 | ||
615 | wxPy_END_ALLOW_THREADS; | |
616 | } Py_INCREF(Py_None); | |
617 | _resultobj = Py_None; | |
f6bcfd97 BP |
618 | { |
619 | PyObject *o; | |
620 | o = PyFloat_FromDouble((double) (*_arg1)); | |
621 | _resultobj = t_output_helper(_resultobj, o); | |
622 | } | |
623 | { | |
624 | PyObject *o; | |
625 | o = PyFloat_FromDouble((double) (*_arg2)); | |
626 | _resultobj = t_output_helper(_resultobj, o); | |
627 | } | |
e91a9dfc RD |
628 | return _resultobj; |
629 | } | |
630 | ||
631 | #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) | |
632 | static PyObject *_wrap_wxShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
633 | PyObject * _resultobj; | |
634 | wxShapeRegion * _arg0; | |
635 | double * _arg1; | |
f6bcfd97 | 636 | double temp; |
e91a9dfc | 637 | double * _arg2; |
f6bcfd97 | 638 | double temp0; |
e91a9dfc | 639 | PyObject * _argo0 = 0; |
f6bcfd97 | 640 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
641 | |
642 | self = self; | |
f6bcfd97 BP |
643 | { |
644 | _arg1 = &temp; | |
645 | } | |
646 | { | |
647 | _arg2 = &temp0; | |
648 | } | |
649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetSize",_kwnames,&_argo0)) | |
e91a9dfc RD |
650 | return NULL; |
651 | if (_argo0) { | |
652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p."); | |
655 | return NULL; | |
656 | } | |
657 | } | |
e91a9dfc RD |
658 | { |
659 | wxPy_BEGIN_ALLOW_THREADS; | |
660 | wxShapeRegion_GetSize(_arg0,_arg1,_arg2); | |
661 | ||
662 | wxPy_END_ALLOW_THREADS; | |
663 | } Py_INCREF(Py_None); | |
664 | _resultobj = Py_None; | |
f6bcfd97 BP |
665 | { |
666 | PyObject *o; | |
667 | o = PyFloat_FromDouble((double) (*_arg1)); | |
668 | _resultobj = t_output_helper(_resultobj, o); | |
669 | } | |
670 | { | |
671 | PyObject *o; | |
672 | o = PyFloat_FromDouble((double) (*_arg2)); | |
673 | _resultobj = t_output_helper(_resultobj, o); | |
674 | } | |
e91a9dfc RD |
675 | return _resultobj; |
676 | } | |
677 | ||
678 | #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) | |
679 | static PyObject *_wrap_wxShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
680 | PyObject * _resultobj; | |
681 | wxShapeRegion * _arg0; | |
682 | double * _arg1; | |
f6bcfd97 | 683 | double temp; |
e91a9dfc | 684 | double * _arg2; |
f6bcfd97 | 685 | double temp0; |
e91a9dfc | 686 | PyObject * _argo0 = 0; |
f6bcfd97 | 687 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
688 | |
689 | self = self; | |
f6bcfd97 BP |
690 | { |
691 | _arg1 = &temp; | |
692 | } | |
693 | { | |
694 | _arg2 = &temp0; | |
695 | } | |
696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPosition",_kwnames,&_argo0)) | |
e91a9dfc RD |
697 | return NULL; |
698 | if (_argo0) { | |
699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p."); | |
702 | return NULL; | |
703 | } | |
704 | } | |
e91a9dfc RD |
705 | { |
706 | wxPy_BEGIN_ALLOW_THREADS; | |
707 | wxShapeRegion_GetPosition(_arg0,_arg1,_arg2); | |
708 | ||
709 | wxPy_END_ALLOW_THREADS; | |
710 | } Py_INCREF(Py_None); | |
711 | _resultobj = Py_None; | |
f6bcfd97 BP |
712 | { |
713 | PyObject *o; | |
714 | o = PyFloat_FromDouble((double) (*_arg1)); | |
715 | _resultobj = t_output_helper(_resultobj, o); | |
716 | } | |
717 | { | |
718 | PyObject *o; | |
719 | o = PyFloat_FromDouble((double) (*_arg2)); | |
720 | _resultobj = t_output_helper(_resultobj, o); | |
721 | } | |
e91a9dfc RD |
722 | return _resultobj; |
723 | } | |
724 | ||
725 | #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode()) | |
726 | static PyObject *_wrap_wxShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
727 | PyObject * _resultobj; | |
728 | int _result; | |
729 | wxShapeRegion * _arg0; | |
730 | PyObject * _argo0 = 0; | |
731 | char *_kwnames[] = { "self", NULL }; | |
732 | ||
733 | self = self; | |
734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormatMode",_kwnames,&_argo0)) | |
735 | return NULL; | |
736 | if (_argo0) { | |
737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p."); | |
740 | return NULL; | |
741 | } | |
742 | } | |
743 | { | |
744 | wxPy_BEGIN_ALLOW_THREADS; | |
745 | _result = (int )wxShapeRegion_GetFormatMode(_arg0); | |
746 | ||
747 | wxPy_END_ALLOW_THREADS; | |
748 | } _resultobj = Py_BuildValue("i",_result); | |
749 | return _resultobj; | |
750 | } | |
751 | ||
752 | #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName()) | |
753 | static PyObject *_wrap_wxShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
754 | PyObject * _resultobj; | |
755 | wxString * _result; | |
756 | wxShapeRegion * _arg0; | |
757 | PyObject * _argo0 = 0; | |
758 | char *_kwnames[] = { "self", NULL }; | |
759 | ||
760 | self = self; | |
761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetName",_kwnames,&_argo0)) | |
762 | return NULL; | |
763 | if (_argo0) { | |
764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p."); | |
767 | return NULL; | |
768 | } | |
769 | } | |
770 | { | |
771 | wxPy_BEGIN_ALLOW_THREADS; | |
772 | _result = new wxString (wxShapeRegion_GetName(_arg0)); | |
773 | ||
774 | wxPy_END_ALLOW_THREADS; | |
775 | }{ | |
714d23b4 | 776 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
777 | } |
778 | { | |
779 | delete _result; | |
780 | } | |
781 | return _resultobj; | |
782 | } | |
783 | ||
784 | #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour()) | |
785 | static PyObject *_wrap_wxShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
786 | PyObject * _resultobj; | |
787 | wxString * _result; | |
788 | wxShapeRegion * _arg0; | |
789 | PyObject * _argo0 = 0; | |
790 | char *_kwnames[] = { "self", NULL }; | |
791 | ||
792 | self = self; | |
793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetColour",_kwnames,&_argo0)) | |
794 | return NULL; | |
795 | if (_argo0) { | |
796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p."); | |
799 | return NULL; | |
800 | } | |
801 | } | |
802 | { | |
803 | wxPy_BEGIN_ALLOW_THREADS; | |
804 | _result = new wxString (wxShapeRegion_GetColour(_arg0)); | |
805 | ||
806 | wxPy_END_ALLOW_THREADS; | |
807 | }{ | |
714d23b4 | 808 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
809 | } |
810 | { | |
811 | delete _result; | |
812 | } | |
813 | return _resultobj; | |
814 | } | |
815 | ||
816 | #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject()) | |
817 | static PyObject *_wrap_wxShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
818 | PyObject * _resultobj; | |
819 | wxColour * _result; | |
820 | wxShapeRegion * _arg0; | |
821 | PyObject * _argo0 = 0; | |
822 | char *_kwnames[] = { "self", NULL }; | |
823 | char _ptemp[128]; | |
824 | ||
825 | self = self; | |
826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualColourObject",_kwnames,&_argo0)) | |
827 | return NULL; | |
828 | if (_argo0) { | |
829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p."); | |
832 | return NULL; | |
833 | } | |
834 | } | |
835 | { | |
836 | wxPy_BEGIN_ALLOW_THREADS; | |
837 | _result = (wxColour *)wxShapeRegion_GetActualColourObject(_arg0); | |
838 | ||
839 | wxPy_END_ALLOW_THREADS; | |
840 | } if (_result) { | |
841 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
842 | _resultobj = Py_BuildValue("s",_ptemp); | |
843 | } else { | |
844 | Py_INCREF(Py_None); | |
845 | _resultobj = Py_None; | |
846 | } | |
847 | return _resultobj; | |
848 | } | |
849 | ||
850 | #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText()) | |
851 | static PyObject *_wrap_wxShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
852 | PyObject * _resultobj; | |
853 | wxList * _result; | |
854 | wxShapeRegion * _arg0; | |
855 | PyObject * _argo0 = 0; | |
856 | char *_kwnames[] = { "self", NULL }; | |
857 | char _ptemp[128]; | |
858 | ||
859 | self = self; | |
860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormattedText",_kwnames,&_argo0)) | |
861 | return NULL; | |
862 | if (_argo0) { | |
863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p."); | |
866 | return NULL; | |
867 | } | |
868 | } | |
869 | { | |
870 | wxPy_BEGIN_ALLOW_THREADS; | |
871 | wxList & _result_ref = wxShapeRegion_GetFormattedText(_arg0); | |
872 | _result = (wxList *) &_result_ref; | |
873 | ||
874 | wxPy_END_ALLOW_THREADS; | |
875 | } if (_result) { | |
876 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxList_p"); | |
877 | _resultobj = Py_BuildValue("s",_ptemp); | |
878 | } else { | |
879 | Py_INCREF(Py_None); | |
880 | _resultobj = Py_None; | |
881 | } | |
882 | return _resultobj; | |
883 | } | |
884 | ||
885 | #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour()) | |
886 | static PyObject *_wrap_wxShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
887 | PyObject * _resultobj; | |
888 | wxString * _result; | |
889 | wxShapeRegion * _arg0; | |
890 | PyObject * _argo0 = 0; | |
891 | char *_kwnames[] = { "self", NULL }; | |
892 | ||
893 | self = self; | |
894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenColour",_kwnames,&_argo0)) | |
895 | return NULL; | |
896 | if (_argo0) { | |
897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p."); | |
900 | return NULL; | |
901 | } | |
902 | } | |
903 | { | |
904 | wxPy_BEGIN_ALLOW_THREADS; | |
905 | _result = new wxString (wxShapeRegion_GetPenColour(_arg0)); | |
906 | ||
907 | wxPy_END_ALLOW_THREADS; | |
908 | }{ | |
714d23b4 | 909 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
910 | } |
911 | { | |
912 | delete _result; | |
913 | } | |
914 | return _resultobj; | |
915 | } | |
916 | ||
917 | #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle()) | |
918 | static PyObject *_wrap_wxShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
919 | PyObject * _resultobj; | |
920 | int _result; | |
921 | wxShapeRegion * _arg0; | |
922 | PyObject * _argo0 = 0; | |
923 | char *_kwnames[] = { "self", NULL }; | |
924 | ||
925 | self = self; | |
926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenStyle",_kwnames,&_argo0)) | |
927 | return NULL; | |
928 | if (_argo0) { | |
929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p."); | |
932 | return NULL; | |
933 | } | |
934 | } | |
935 | { | |
936 | wxPy_BEGIN_ALLOW_THREADS; | |
937 | _result = (int )wxShapeRegion_GetPenStyle(_arg0); | |
938 | ||
939 | wxPy_END_ALLOW_THREADS; | |
940 | } _resultobj = Py_BuildValue("i",_result); | |
941 | return _resultobj; | |
942 | } | |
943 | ||
944 | #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0)) | |
945 | static PyObject *_wrap_wxShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
946 | PyObject * _resultobj; | |
947 | wxShapeRegion * _arg0; | |
948 | int _arg1; | |
949 | PyObject * _argo0 = 0; | |
950 | char *_kwnames[] = { "self","style", NULL }; | |
951 | ||
952 | self = self; | |
953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetPenStyle",_kwnames,&_argo0,&_arg1)) | |
954 | return NULL; | |
955 | if (_argo0) { | |
956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p."); | |
959 | return NULL; | |
960 | } | |
961 | } | |
962 | { | |
963 | wxPy_BEGIN_ALLOW_THREADS; | |
964 | wxShapeRegion_SetPenStyle(_arg0,_arg1); | |
965 | ||
966 | wxPy_END_ALLOW_THREADS; | |
967 | } Py_INCREF(Py_None); | |
968 | _resultobj = Py_None; | |
969 | return _resultobj; | |
970 | } | |
971 | ||
972 | #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0)) | |
973 | static PyObject *_wrap_wxShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
974 | PyObject * _resultobj; | |
975 | wxShapeRegion * _arg0; | |
976 | wxString * _arg1; | |
977 | PyObject * _argo0 = 0; | |
978 | PyObject * _obj1 = 0; | |
979 | char *_kwnames[] = { "self","col", NULL }; | |
980 | ||
981 | self = self; | |
982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetPenColour",_kwnames,&_argo0,&_obj1)) | |
983 | return NULL; | |
984 | if (_argo0) { | |
985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p."); | |
988 | return NULL; | |
989 | } | |
990 | } | |
991 | { | |
185d7c3e RD |
992 | #if PYTHON_API_VERSION >= 1009 |
993 | char* tmpPtr; int tmpSize; | |
994 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
995 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
996 | return NULL; | |
997 | } | |
998 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
999 | return NULL; | |
1000 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1001 | #else | |
e91a9dfc RD |
1002 | if (!PyString_Check(_obj1)) { |
1003 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1004 | return NULL; | |
1005 | } | |
185d7c3e RD |
1006 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1007 | #endif | |
e91a9dfc RD |
1008 | } |
1009 | { | |
1010 | wxPy_BEGIN_ALLOW_THREADS; | |
1011 | wxShapeRegion_SetPenColour(_arg0,*_arg1); | |
1012 | ||
1013 | wxPy_END_ALLOW_THREADS; | |
1014 | } Py_INCREF(Py_None); | |
1015 | _resultobj = Py_None; | |
1016 | { | |
1017 | if (_obj1) | |
1018 | delete _arg1; | |
1019 | } | |
1020 | return _resultobj; | |
1021 | } | |
1022 | ||
1023 | #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen()) | |
1024 | static PyObject *_wrap_wxShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1025 | PyObject * _resultobj; | |
1026 | wxPen * _result; | |
1027 | wxShapeRegion * _arg0; | |
1028 | PyObject * _argo0 = 0; | |
1029 | char *_kwnames[] = { "self", NULL }; | |
1030 | char _ptemp[128]; | |
1031 | ||
1032 | self = self; | |
1033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualPen",_kwnames,&_argo0)) | |
1034 | return NULL; | |
1035 | if (_argo0) { | |
1036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p."); | |
1039 | return NULL; | |
1040 | } | |
1041 | } | |
1042 | { | |
1043 | wxPy_BEGIN_ALLOW_THREADS; | |
1044 | _result = (wxPen *)wxShapeRegion_GetActualPen(_arg0); | |
1045 | ||
1046 | wxPy_END_ALLOW_THREADS; | |
1047 | } if (_result) { | |
1048 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
1049 | _resultobj = Py_BuildValue("s",_ptemp); | |
1050 | } else { | |
1051 | Py_INCREF(Py_None); | |
1052 | _resultobj = Py_None; | |
1053 | } | |
1054 | return _resultobj; | |
1055 | } | |
1056 | ||
1057 | #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1058 | static PyObject *_wrap_wxShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1059 | PyObject * _resultobj; | |
1060 | double _result; | |
1061 | wxShapeRegion * _arg0; | |
1062 | PyObject * _argo0 = 0; | |
1063 | char *_kwnames[] = { "self", NULL }; | |
1064 | ||
1065 | self = self; | |
1066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetWidth",_kwnames,&_argo0)) | |
1067 | return NULL; | |
1068 | if (_argo0) { | |
1069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p."); | |
1072 | return NULL; | |
1073 | } | |
1074 | } | |
1075 | { | |
1076 | wxPy_BEGIN_ALLOW_THREADS; | |
1077 | _result = (double )wxShapeRegion_GetWidth(_arg0); | |
1078 | ||
1079 | wxPy_END_ALLOW_THREADS; | |
1080 | } _resultobj = Py_BuildValue("d",_result); | |
1081 | return _resultobj; | |
1082 | } | |
1083 | ||
1084 | #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
1085 | static PyObject *_wrap_wxShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1086 | PyObject * _resultobj; | |
1087 | double _result; | |
1088 | wxShapeRegion * _arg0; | |
1089 | PyObject * _argo0 = 0; | |
1090 | char *_kwnames[] = { "self", NULL }; | |
1091 | ||
1092 | self = self; | |
1093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetHeight",_kwnames,&_argo0)) | |
1094 | return NULL; | |
1095 | if (_argo0) { | |
1096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p."); | |
1099 | return NULL; | |
1100 | } | |
1101 | } | |
1102 | { | |
1103 | wxPy_BEGIN_ALLOW_THREADS; | |
1104 | _result = (double )wxShapeRegion_GetHeight(_arg0); | |
1105 | ||
1106 | wxPy_END_ALLOW_THREADS; | |
1107 | } _resultobj = Py_BuildValue("d",_result); | |
1108 | return _resultobj; | |
1109 | } | |
1110 | ||
1111 | #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText()) | |
1112 | static PyObject *_wrap_wxShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1113 | PyObject * _resultobj; | |
1114 | wxShapeRegion * _arg0; | |
1115 | PyObject * _argo0 = 0; | |
1116 | char *_kwnames[] = { "self", NULL }; | |
1117 | ||
1118 | self = self; | |
1119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_ClearText",_kwnames,&_argo0)) | |
1120 | return NULL; | |
1121 | if (_argo0) { | |
1122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p."); | |
1125 | return NULL; | |
1126 | } | |
1127 | } | |
1128 | { | |
1129 | wxPy_BEGIN_ALLOW_THREADS; | |
1130 | wxShapeRegion_ClearText(_arg0); | |
1131 | ||
1132 | wxPy_END_ALLOW_THREADS; | |
1133 | } Py_INCREF(Py_None); | |
1134 | _resultobj = Py_None; | |
1135 | return _resultobj; | |
1136 | } | |
1137 | ||
1138 | #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1)) | |
1139 | static PyObject *_wrap_new_wxPyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1140 | PyObject * _resultobj; | |
1141 | wxPyShapeEvtHandler * _result; | |
1142 | wxPyShapeEvtHandler * _arg0 = (wxPyShapeEvtHandler *) NULL; | |
1143 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
1144 | PyObject * _argo0 = 0; | |
1145 | PyObject * _argo1 = 0; | |
1146 | char *_kwnames[] = { "prev","shape", NULL }; | |
1147 | char _ptemp[128]; | |
1148 | ||
1149 | self = self; | |
1150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxPyShapeEvtHandler",_kwnames,&_argo0,&_argo1)) | |
1151 | return NULL; | |
1152 | if (_argo0) { | |
1153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p."); | |
1156 | return NULL; | |
1157 | } | |
1158 | } | |
1159 | if (_argo1) { | |
1160 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1161 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p."); | |
1163 | return NULL; | |
1164 | } | |
1165 | } | |
1166 | { | |
1167 | wxPy_BEGIN_ALLOW_THREADS; | |
1168 | _result = (wxPyShapeEvtHandler *)new_wxPyShapeEvtHandler(_arg0,_arg1); | |
1169 | ||
1170 | wxPy_END_ALLOW_THREADS; | |
1171 | } if (_result) { | |
1172 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1173 | _resultobj = Py_BuildValue("s",_ptemp); | |
1174 | } else { | |
1175 | Py_INCREF(Py_None); | |
1176 | _resultobj = Py_None; | |
1177 | } | |
1178 | return _resultobj; | |
1179 | } | |
1180 | ||
f6bcfd97 | 1181 | #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1182 | static PyObject *_wrap_wxPyShapeEvtHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1183 | PyObject * _resultobj; | |
1184 | wxPyShapeEvtHandler * _arg0; | |
1185 | PyObject * _arg1; | |
f6bcfd97 | 1186 | PyObject * _arg2; |
e91a9dfc RD |
1187 | PyObject * _argo0 = 0; |
1188 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1189 | PyObject * _obj2 = 0; |
1190 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1191 | |
1192 | self = self; | |
f6bcfd97 | 1193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShapeEvtHandler__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1194 | return NULL; |
1195 | if (_argo0) { | |
1196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p."); | |
1199 | return NULL; | |
1200 | } | |
1201 | } | |
1202 | { | |
1203 | _arg1 = _obj1; | |
1204 | } | |
f6bcfd97 BP |
1205 | { |
1206 | _arg2 = _obj2; | |
1207 | } | |
e91a9dfc RD |
1208 | { |
1209 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1210 | wxPyShapeEvtHandler__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1211 | |
1212 | wxPy_END_ALLOW_THREADS; | |
1213 | } Py_INCREF(Py_None); | |
1214 | _resultobj = Py_None; | |
1215 | return _resultobj; | |
1216 | } | |
1217 | ||
1218 | static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler *self) { delete self; } | |
1219 | static PyObject *_wrap_wxPyShapeEvtHandler_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1220 | PyObject * _resultobj; | |
1221 | wxPyShapeEvtHandler * _arg0; | |
1222 | PyObject * _argo0 = 0; | |
1223 | char *_kwnames[] = { "self", NULL }; | |
1224 | ||
1225 | self = self; | |
1226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_Destroy",_kwnames,&_argo0)) | |
1227 | return NULL; | |
1228 | if (_argo0) { | |
1229 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1230 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p."); | |
1232 | return NULL; | |
1233 | } | |
1234 | } | |
1235 | { | |
1236 | wxPy_BEGIN_ALLOW_THREADS; | |
1237 | wxPyShapeEvtHandler_Destroy(_arg0); | |
1238 | ||
1239 | wxPy_END_ALLOW_THREADS; | |
1240 | } Py_INCREF(Py_None); | |
1241 | _resultobj = Py_None; | |
1242 | return _resultobj; | |
1243 | } | |
1244 | ||
1245 | #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0)) | |
1246 | static PyObject *_wrap_wxPyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1247 | PyObject * _resultobj; | |
1248 | wxPyShapeEvtHandler * _arg0; | |
1249 | wxPyShape * _arg1; | |
1250 | PyObject * _argo0 = 0; | |
1251 | PyObject * _argo1 = 0; | |
1252 | char *_kwnames[] = { "self","sh", NULL }; | |
1253 | ||
1254 | self = self; | |
1255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetShape",_kwnames,&_argo0,&_argo1)) | |
1256 | return NULL; | |
1257 | if (_argo0) { | |
1258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p."); | |
1261 | return NULL; | |
1262 | } | |
1263 | } | |
1264 | if (_argo1) { | |
1265 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1266 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p."); | |
1268 | return NULL; | |
1269 | } | |
1270 | } | |
1271 | { | |
1272 | wxPy_BEGIN_ALLOW_THREADS; | |
1273 | wxPyShapeEvtHandler_SetShape(_arg0,_arg1); | |
1274 | ||
1275 | wxPy_END_ALLOW_THREADS; | |
1276 | } Py_INCREF(Py_None); | |
1277 | _resultobj = Py_None; | |
1278 | return _resultobj; | |
1279 | } | |
1280 | ||
1281 | #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape()) | |
1282 | static PyObject *_wrap_wxPyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1283 | PyObject * _resultobj; | |
1284 | wxPyShape * _result; | |
1285 | wxPyShapeEvtHandler * _arg0; | |
1286 | PyObject * _argo0 = 0; | |
1287 | char *_kwnames[] = { "self", NULL }; | |
1288 | char _ptemp[128]; | |
1289 | ||
1290 | self = self; | |
1291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetShape",_kwnames,&_argo0)) | |
1292 | return NULL; | |
1293 | if (_argo0) { | |
1294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p."); | |
1297 | return NULL; | |
1298 | } | |
1299 | } | |
1300 | { | |
1301 | wxPy_BEGIN_ALLOW_THREADS; | |
1302 | _result = (wxPyShape *)wxPyShapeEvtHandler_GetShape(_arg0); | |
1303 | ||
1304 | wxPy_END_ALLOW_THREADS; | |
1305 | } if (_result) { | |
1306 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
1307 | _resultobj = Py_BuildValue("s",_ptemp); | |
1308 | } else { | |
1309 | Py_INCREF(Py_None); | |
1310 | _resultobj = Py_None; | |
1311 | } | |
1312 | return _resultobj; | |
1313 | } | |
1314 | ||
1315 | #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0)) | |
1316 | static PyObject *_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1317 | PyObject * _resultobj; | |
1318 | wxPyShapeEvtHandler * _arg0; | |
1319 | wxPyShapeEvtHandler * _arg1; | |
1320 | PyObject * _argo0 = 0; | |
1321 | PyObject * _argo1 = 0; | |
1322 | char *_kwnames[] = { "self","handler", NULL }; | |
1323 | ||
1324 | self = self; | |
1325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1)) | |
1326 | return NULL; | |
1327 | if (_argo0) { | |
1328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1331 | return NULL; | |
1332 | } | |
1333 | } | |
1334 | if (_argo1) { | |
1335 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1336 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) { | |
1337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1338 | return NULL; | |
1339 | } | |
1340 | } | |
1341 | { | |
1342 | wxPy_BEGIN_ALLOW_THREADS; | |
1343 | wxPyShapeEvtHandler_SetPreviousHandler(_arg0,_arg1); | |
1344 | ||
1345 | wxPy_END_ALLOW_THREADS; | |
1346 | } Py_INCREF(Py_None); | |
1347 | _resultobj = Py_None; | |
1348 | return _resultobj; | |
1349 | } | |
1350 | ||
1351 | #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler()) | |
1352 | static PyObject *_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1353 | PyObject * _resultobj; | |
1354 | wxPyShapeEvtHandler * _result; | |
1355 | wxPyShapeEvtHandler * _arg0; | |
1356 | PyObject * _argo0 = 0; | |
1357 | char *_kwnames[] = { "self", NULL }; | |
1358 | char _ptemp[128]; | |
1359 | ||
1360 | self = self; | |
1361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames,&_argo0)) | |
1362 | return NULL; | |
1363 | if (_argo0) { | |
1364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1367 | return NULL; | |
1368 | } | |
1369 | } | |
1370 | { | |
1371 | wxPy_BEGIN_ALLOW_THREADS; | |
1372 | _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_GetPreviousHandler(_arg0); | |
1373 | ||
1374 | wxPy_END_ALLOW_THREADS; | |
1375 | } if (_result) { | |
1376 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1377 | _resultobj = Py_BuildValue("s",_ptemp); | |
1378 | } else { | |
1379 | Py_INCREF(Py_None); | |
1380 | _resultobj = Py_None; | |
1381 | } | |
1382 | return _resultobj; | |
1383 | } | |
1384 | ||
1385 | #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy()) | |
1386 | static PyObject *_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1387 | PyObject * _resultobj; | |
1388 | wxPyShapeEvtHandler * _result; | |
1389 | wxPyShapeEvtHandler * _arg0; | |
1390 | PyObject * _argo0 = 0; | |
1391 | char *_kwnames[] = { "self", NULL }; | |
1392 | char _ptemp[128]; | |
1393 | ||
1394 | self = self; | |
1395 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames,&_argo0)) | |
1396 | return NULL; | |
1397 | if (_argo0) { | |
1398 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1399 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p."); | |
1401 | return NULL; | |
1402 | } | |
1403 | } | |
1404 | { | |
1405 | wxPy_BEGIN_ALLOW_THREADS; | |
1406 | _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_CreateNewCopy(_arg0); | |
1407 | ||
1408 | wxPy_END_ALLOW_THREADS; | |
1409 | } if (_result) { | |
1410 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1411 | _resultobj = Py_BuildValue("s",_ptemp); | |
1412 | } else { | |
1413 | Py_INCREF(Py_None); | |
1414 | _resultobj = Py_None; | |
1415 | } | |
1416 | return _resultobj; | |
1417 | } | |
1418 | ||
1419 | #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1420 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1421 | PyObject * _resultobj; | |
1422 | wxPyShapeEvtHandler * _arg0; | |
1423 | PyObject * _argo0 = 0; | |
1424 | char *_kwnames[] = { "self", NULL }; | |
1425 | ||
1426 | self = self; | |
1427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames,&_argo0)) | |
1428 | return NULL; | |
1429 | if (_argo0) { | |
1430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p."); | |
1433 | return NULL; | |
1434 | } | |
1435 | } | |
1436 | { | |
1437 | wxPy_BEGIN_ALLOW_THREADS; | |
1438 | wxPyShapeEvtHandler_base_OnDelete(_arg0); | |
1439 | ||
1440 | wxPy_END_ALLOW_THREADS; | |
1441 | } Py_INCREF(Py_None); | |
1442 | _resultobj = Py_None; | |
1443 | return _resultobj; | |
1444 | } | |
1445 | ||
1446 | #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1447 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1448 | PyObject * _resultobj; | |
1449 | wxPyShapeEvtHandler * _arg0; | |
1450 | wxDC * _arg1; | |
1451 | PyObject * _argo0 = 0; | |
1452 | PyObject * _argo1 = 0; | |
1453 | char *_kwnames[] = { "self","dc", NULL }; | |
1454 | ||
1455 | self = self; | |
1456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1457 | return NULL; | |
1458 | if (_argo0) { | |
1459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p."); | |
1462 | return NULL; | |
1463 | } | |
1464 | } | |
1465 | if (_argo1) { | |
1466 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1467 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p."); | |
1469 | return NULL; | |
1470 | } | |
1471 | } | |
1472 | { | |
1473 | wxPy_BEGIN_ALLOW_THREADS; | |
1474 | wxPyShapeEvtHandler_base_OnDraw(_arg0,*_arg1); | |
1475 | ||
1476 | wxPy_END_ALLOW_THREADS; | |
1477 | } Py_INCREF(Py_None); | |
1478 | _resultobj = Py_None; | |
1479 | return _resultobj; | |
1480 | } | |
1481 | ||
1482 | #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1483 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1484 | PyObject * _resultobj; | |
1485 | wxPyShapeEvtHandler * _arg0; | |
1486 | wxDC * _arg1; | |
1487 | PyObject * _argo0 = 0; | |
1488 | PyObject * _argo1 = 0; | |
1489 | char *_kwnames[] = { "self","dc", NULL }; | |
1490 | ||
1491 | self = self; | |
1492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1493 | return NULL; | |
1494 | if (_argo0) { | |
1495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p."); | |
1498 | return NULL; | |
1499 | } | |
1500 | } | |
1501 | if (_argo1) { | |
1502 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1503 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p."); | |
1505 | return NULL; | |
1506 | } | |
1507 | } | |
1508 | { | |
1509 | wxPy_BEGIN_ALLOW_THREADS; | |
1510 | wxPyShapeEvtHandler_base_OnDrawContents(_arg0,*_arg1); | |
1511 | ||
1512 | wxPy_END_ALLOW_THREADS; | |
1513 | } Py_INCREF(Py_None); | |
1514 | _resultobj = Py_None; | |
1515 | return _resultobj; | |
1516 | } | |
1517 | ||
1518 | #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1519 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1520 | PyObject * _resultobj; | |
1521 | wxPyShapeEvtHandler * _arg0; | |
1522 | wxDC * _arg1; | |
1523 | bool _arg2 = (bool ) FALSE; | |
1524 | PyObject * _argo0 = 0; | |
1525 | PyObject * _argo1 = 0; | |
1526 | int tempbool2 = (int) FALSE; | |
1527 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1528 | ||
1529 | self = self; | |
1530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1531 | return NULL; | |
1532 | if (_argo0) { | |
1533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p."); | |
1536 | return NULL; | |
1537 | } | |
1538 | } | |
1539 | if (_argo1) { | |
1540 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1541 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p."); | |
1543 | return NULL; | |
1544 | } | |
1545 | } | |
1546 | _arg2 = (bool ) tempbool2; | |
1547 | { | |
1548 | wxPy_BEGIN_ALLOW_THREADS; | |
1549 | wxPyShapeEvtHandler_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1550 | ||
1551 | wxPy_END_ALLOW_THREADS; | |
1552 | } Py_INCREF(Py_None); | |
1553 | _resultobj = Py_None; | |
1554 | return _resultobj; | |
1555 | } | |
1556 | ||
1557 | #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1558 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1559 | PyObject * _resultobj; | |
1560 | wxPyShapeEvtHandler * _arg0; | |
1561 | wxDC * _arg1; | |
1562 | PyObject * _argo0 = 0; | |
1563 | PyObject * _argo1 = 0; | |
1564 | char *_kwnames[] = { "self","dc", NULL }; | |
1565 | ||
1566 | self = self; | |
1567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1568 | return NULL; | |
1569 | if (_argo0) { | |
1570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p."); | |
1573 | return NULL; | |
1574 | } | |
1575 | } | |
1576 | if (_argo1) { | |
1577 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1578 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p."); | |
1580 | return NULL; | |
1581 | } | |
1582 | } | |
1583 | { | |
1584 | wxPy_BEGIN_ALLOW_THREADS; | |
1585 | wxPyShapeEvtHandler_base_OnMoveLinks(_arg0,*_arg1); | |
1586 | ||
1587 | wxPy_END_ALLOW_THREADS; | |
1588 | } Py_INCREF(Py_None); | |
1589 | _resultobj = Py_None; | |
1590 | return _resultobj; | |
1591 | } | |
1592 | ||
1593 | #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1594 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1595 | PyObject * _resultobj; | |
1596 | wxPyShapeEvtHandler * _arg0; | |
1597 | wxDC * _arg1; | |
1598 | PyObject * _argo0 = 0; | |
1599 | PyObject * _argo1 = 0; | |
1600 | char *_kwnames[] = { "self","dc", NULL }; | |
1601 | ||
1602 | self = self; | |
1603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1604 | return NULL; | |
1605 | if (_argo0) { | |
1606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p."); | |
1609 | return NULL; | |
1610 | } | |
1611 | } | |
1612 | if (_argo1) { | |
1613 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1614 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p."); | |
1616 | return NULL; | |
1617 | } | |
1618 | } | |
1619 | { | |
1620 | wxPy_BEGIN_ALLOW_THREADS; | |
1621 | wxPyShapeEvtHandler_base_OnErase(_arg0,*_arg1); | |
1622 | ||
1623 | wxPy_END_ALLOW_THREADS; | |
1624 | } Py_INCREF(Py_None); | |
1625 | _resultobj = Py_None; | |
1626 | return _resultobj; | |
1627 | } | |
1628 | ||
1629 | #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1630 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1631 | PyObject * _resultobj; | |
1632 | wxPyShapeEvtHandler * _arg0; | |
1633 | wxDC * _arg1; | |
1634 | PyObject * _argo0 = 0; | |
1635 | PyObject * _argo1 = 0; | |
1636 | char *_kwnames[] = { "self","dc", NULL }; | |
1637 | ||
1638 | self = self; | |
1639 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1640 | return NULL; | |
1641 | if (_argo0) { | |
1642 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1643 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1644 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p."); | |
1645 | return NULL; | |
1646 | } | |
1647 | } | |
1648 | if (_argo1) { | |
1649 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1650 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p."); | |
1652 | return NULL; | |
1653 | } | |
1654 | } | |
1655 | { | |
1656 | wxPy_BEGIN_ALLOW_THREADS; | |
1657 | wxPyShapeEvtHandler_base_OnEraseContents(_arg0,*_arg1); | |
1658 | ||
1659 | wxPy_END_ALLOW_THREADS; | |
1660 | } Py_INCREF(Py_None); | |
1661 | _resultobj = Py_None; | |
1662 | return _resultobj; | |
1663 | } | |
1664 | ||
1665 | #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
1666 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1667 | PyObject * _resultobj; | |
1668 | wxPyShapeEvtHandler * _arg0; | |
1669 | wxDC * _arg1; | |
1670 | PyObject * _argo0 = 0; | |
1671 | PyObject * _argo1 = 0; | |
1672 | char *_kwnames[] = { "self","dc", NULL }; | |
1673 | ||
1674 | self = self; | |
1675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
1676 | return NULL; | |
1677 | if (_argo0) { | |
1678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p."); | |
1681 | return NULL; | |
1682 | } | |
1683 | } | |
1684 | if (_argo1) { | |
1685 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1686 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p."); | |
1688 | return NULL; | |
1689 | } | |
1690 | } | |
1691 | { | |
1692 | wxPy_BEGIN_ALLOW_THREADS; | |
1693 | wxPyShapeEvtHandler_base_OnHighlight(_arg0,*_arg1); | |
1694 | ||
1695 | wxPy_END_ALLOW_THREADS; | |
1696 | } Py_INCREF(Py_None); | |
1697 | _resultobj = Py_None; | |
1698 | return _resultobj; | |
1699 | } | |
1700 | ||
1701 | #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1702 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1703 | PyObject * _resultobj; | |
1704 | wxPyShapeEvtHandler * _arg0; | |
1705 | double _arg1; | |
1706 | double _arg2; | |
1707 | int _arg3 = (int ) 0; | |
1708 | int _arg4 = (int ) 0; | |
1709 | PyObject * _argo0 = 0; | |
1710 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1711 | ||
1712 | self = self; | |
1713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1714 | return NULL; | |
1715 | if (_argo0) { | |
1716 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1717 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1718 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p."); | |
1719 | return NULL; | |
1720 | } | |
1721 | } | |
1722 | { | |
1723 | wxPy_BEGIN_ALLOW_THREADS; | |
1724 | wxPyShapeEvtHandler_base_OnLeftClick(_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 wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1733 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1734 | PyObject * _resultobj; | |
1735 | wxPyShapeEvtHandler * _arg0; | |
1736 | double _arg1; | |
1737 | double _arg2; | |
1738 | int _arg3 = (int ) 0; | |
1739 | int _arg4 = (int ) 0; | |
1740 | PyObject * _argo0 = 0; | |
1741 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1742 | ||
1743 | self = self; | |
1744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1745 | return NULL; | |
1746 | if (_argo0) { | |
1747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p."); | |
1750 | return NULL; | |
1751 | } | |
1752 | } | |
1753 | { | |
1754 | wxPy_BEGIN_ALLOW_THREADS; | |
1755 | wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1756 | ||
1757 | wxPy_END_ALLOW_THREADS; | |
1758 | } Py_INCREF(Py_None); | |
1759 | _resultobj = Py_None; | |
1760 | return _resultobj; | |
1761 | } | |
1762 | ||
1763 | #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1764 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1765 | PyObject * _resultobj; | |
1766 | wxPyShapeEvtHandler * _arg0; | |
1767 | double _arg1; | |
1768 | double _arg2; | |
1769 | int _arg3 = (int ) 0; | |
1770 | int _arg4 = (int ) 0; | |
1771 | PyObject * _argo0 = 0; | |
1772 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1773 | ||
1774 | self = self; | |
1775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1776 | return NULL; | |
1777 | if (_argo0) { | |
1778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p."); | |
1781 | return NULL; | |
1782 | } | |
1783 | } | |
1784 | { | |
1785 | wxPy_BEGIN_ALLOW_THREADS; | |
1786 | wxPyShapeEvtHandler_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1787 | ||
1788 | wxPy_END_ALLOW_THREADS; | |
1789 | } Py_INCREF(Py_None); | |
1790 | _resultobj = Py_None; | |
1791 | return _resultobj; | |
1792 | } | |
1793 | ||
1794 | #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
1795 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1796 | PyObject * _resultobj; | |
1797 | wxPyShapeEvtHandler * _arg0; | |
1798 | double _arg1; | |
1799 | double _arg2; | |
1800 | PyObject * _argo0 = 0; | |
1801 | char *_kwnames[] = { "self","x","y", NULL }; | |
1802 | ||
1803 | self = self; | |
1804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1805 | return NULL; | |
1806 | if (_argo0) { | |
1807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p."); | |
1810 | return NULL; | |
1811 | } | |
1812 | } | |
1813 | { | |
1814 | wxPy_BEGIN_ALLOW_THREADS; | |
1815 | wxPyShapeEvtHandler_base_OnSize(_arg0,_arg1,_arg2); | |
1816 | ||
1817 | wxPy_END_ALLOW_THREADS; | |
1818 | } Py_INCREF(Py_None); | |
1819 | _resultobj = Py_None; | |
1820 | return _resultobj; | |
1821 | } | |
1822 | ||
1823 | #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1824 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1825 | PyObject * _resultobj; | |
1826 | bool _result; | |
1827 | wxPyShapeEvtHandler * _arg0; | |
1828 | wxDC * _arg1; | |
1829 | double _arg2; | |
1830 | double _arg3; | |
1831 | double _arg4; | |
1832 | double _arg5; | |
1833 | bool _arg6 = (bool ) TRUE; | |
1834 | PyObject * _argo0 = 0; | |
1835 | PyObject * _argo1 = 0; | |
1836 | int tempbool6 = (int) TRUE; | |
1837 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1838 | ||
1839 | self = self; | |
1840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1841 | return NULL; | |
1842 | if (_argo0) { | |
1843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p."); | |
1846 | return NULL; | |
1847 | } | |
1848 | } | |
1849 | if (_argo1) { | |
1850 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1851 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p."); | |
1853 | return NULL; | |
1854 | } | |
1855 | } | |
1856 | _arg6 = (bool ) tempbool6; | |
1857 | { | |
1858 | wxPy_BEGIN_ALLOW_THREADS; | |
1859 | _result = (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1860 | ||
1861 | wxPy_END_ALLOW_THREADS; | |
1862 | } _resultobj = Py_BuildValue("i",_result); | |
1863 | return _resultobj; | |
1864 | } | |
1865 | ||
1866 | #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1867 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1868 | PyObject * _resultobj; | |
1869 | wxPyShapeEvtHandler * _arg0; | |
1870 | wxDC * _arg1; | |
1871 | double _arg2; | |
1872 | double _arg3; | |
1873 | double _arg4; | |
1874 | double _arg5; | |
1875 | bool _arg6 = (bool ) TRUE; | |
1876 | PyObject * _argo0 = 0; | |
1877 | PyObject * _argo1 = 0; | |
1878 | int tempbool6 = (int) TRUE; | |
1879 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1880 | ||
1881 | self = self; | |
1882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1883 | return NULL; | |
1884 | if (_argo0) { | |
1885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p."); | |
1888 | return NULL; | |
1889 | } | |
1890 | } | |
1891 | if (_argo1) { | |
1892 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1893 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p."); | |
1895 | return NULL; | |
1896 | } | |
1897 | } | |
1898 | _arg6 = (bool ) tempbool6; | |
1899 | { | |
1900 | wxPy_BEGIN_ALLOW_THREADS; | |
1901 | wxPyShapeEvtHandler_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1902 | ||
1903 | wxPy_END_ALLOW_THREADS; | |
1904 | } Py_INCREF(Py_None); | |
1905 | _resultobj = Py_None; | |
1906 | return _resultobj; | |
1907 | } | |
1908 | ||
1909 | #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1910 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1911 | PyObject * _resultobj; | |
1912 | wxPyShapeEvtHandler * _arg0; | |
1913 | bool _arg1; | |
1914 | double _arg2; | |
1915 | double _arg3; | |
1916 | int _arg4 = (int ) 0; | |
1917 | int _arg5 = (int ) 0; | |
1918 | PyObject * _argo0 = 0; | |
1919 | int tempbool1; | |
1920 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1921 | ||
1922 | self = self; | |
1923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1924 | return NULL; | |
1925 | if (_argo0) { | |
1926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1929 | return NULL; | |
1930 | } | |
1931 | } | |
1932 | _arg1 = (bool ) tempbool1; | |
1933 | { | |
1934 | wxPy_BEGIN_ALLOW_THREADS; | |
1935 | wxPyShapeEvtHandler_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1936 | ||
1937 | wxPy_END_ALLOW_THREADS; | |
1938 | } Py_INCREF(Py_None); | |
1939 | _resultobj = Py_None; | |
1940 | return _resultobj; | |
1941 | } | |
1942 | ||
1943 | #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1944 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1945 | PyObject * _resultobj; | |
1946 | wxPyShapeEvtHandler * _arg0; | |
1947 | double _arg1; | |
1948 | double _arg2; | |
1949 | int _arg3 = (int ) 0; | |
1950 | int _arg4 = (int ) 0; | |
1951 | PyObject * _argo0 = 0; | |
1952 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1953 | ||
1954 | self = self; | |
1955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1956 | return NULL; | |
1957 | if (_argo0) { | |
1958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1961 | return NULL; | |
1962 | } | |
1963 | } | |
1964 | { | |
1965 | wxPy_BEGIN_ALLOW_THREADS; | |
1966 | wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1967 | ||
1968 | wxPy_END_ALLOW_THREADS; | |
1969 | } Py_INCREF(Py_None); | |
1970 | _resultobj = Py_None; | |
1971 | return _resultobj; | |
1972 | } | |
1973 | ||
1974 | #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1975 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1976 | PyObject * _resultobj; | |
1977 | wxPyShapeEvtHandler * _arg0; | |
1978 | double _arg1; | |
1979 | double _arg2; | |
1980 | int _arg3 = (int ) 0; | |
1981 | int _arg4 = (int ) 0; | |
1982 | PyObject * _argo0 = 0; | |
1983 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1984 | ||
1985 | self = self; | |
1986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1987 | return NULL; | |
1988 | if (_argo0) { | |
1989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1992 | return NULL; | |
1993 | } | |
1994 | } | |
1995 | { | |
1996 | wxPy_BEGIN_ALLOW_THREADS; | |
1997 | wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1998 | ||
1999 | wxPy_END_ALLOW_THREADS; | |
2000 | } Py_INCREF(Py_None); | |
2001 | _resultobj = Py_None; | |
2002 | return _resultobj; | |
2003 | } | |
2004 | ||
2005 | #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2006 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2007 | PyObject * _resultobj; | |
2008 | wxPyShapeEvtHandler * _arg0; | |
2009 | bool _arg1; | |
2010 | double _arg2; | |
2011 | double _arg3; | |
2012 | int _arg4 = (int ) 0; | |
2013 | int _arg5 = (int ) 0; | |
2014 | PyObject * _argo0 = 0; | |
2015 | int tempbool1; | |
2016 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2017 | ||
2018 | self = self; | |
2019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2020 | return NULL; | |
2021 | if (_argo0) { | |
2022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2025 | return NULL; | |
2026 | } | |
2027 | } | |
2028 | _arg1 = (bool ) tempbool1; | |
2029 | { | |
2030 | wxPy_BEGIN_ALLOW_THREADS; | |
2031 | wxPyShapeEvtHandler_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2032 | ||
2033 | wxPy_END_ALLOW_THREADS; | |
2034 | } Py_INCREF(Py_None); | |
2035 | _resultobj = Py_None; | |
2036 | return _resultobj; | |
2037 | } | |
2038 | ||
2039 | #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2040 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2041 | PyObject * _resultobj; | |
2042 | wxPyShapeEvtHandler * _arg0; | |
2043 | double _arg1; | |
2044 | double _arg2; | |
2045 | int _arg3 = (int ) 0; | |
2046 | int _arg4 = (int ) 0; | |
2047 | PyObject * _argo0 = 0; | |
2048 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2049 | ||
2050 | self = self; | |
2051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2052 | return NULL; | |
2053 | if (_argo0) { | |
2054 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2055 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2056 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2057 | return NULL; | |
2058 | } | |
2059 | } | |
2060 | { | |
2061 | wxPy_BEGIN_ALLOW_THREADS; | |
2062 | wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2063 | ||
2064 | wxPy_END_ALLOW_THREADS; | |
2065 | } Py_INCREF(Py_None); | |
2066 | _resultobj = Py_None; | |
2067 | return _resultobj; | |
2068 | } | |
2069 | ||
2070 | #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2071 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2072 | PyObject * _resultobj; | |
2073 | wxPyShapeEvtHandler * _arg0; | |
2074 | double _arg1; | |
2075 | double _arg2; | |
2076 | int _arg3 = (int ) 0; | |
2077 | int _arg4 = (int ) 0; | |
2078 | PyObject * _argo0 = 0; | |
2079 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2080 | ||
2081 | self = self; | |
2082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2083 | return NULL; | |
2084 | if (_argo0) { | |
2085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2088 | return NULL; | |
2089 | } | |
2090 | } | |
2091 | { | |
2092 | wxPy_BEGIN_ALLOW_THREADS; | |
2093 | wxPyShapeEvtHandler_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2094 | ||
2095 | wxPy_END_ALLOW_THREADS; | |
2096 | } Py_INCREF(Py_None); | |
2097 | _resultobj = Py_None; | |
2098 | return _resultobj; | |
2099 | } | |
2100 | ||
2101 | #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2102 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2103 | PyObject * _resultobj; | |
2104 | wxPyShapeEvtHandler * _arg0; | |
2105 | wxDC * _arg1; | |
2106 | double _arg2; | |
2107 | double _arg3; | |
2108 | double _arg4; | |
2109 | double _arg5; | |
2110 | PyObject * _argo0 = 0; | |
2111 | PyObject * _argo1 = 0; | |
2112 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2113 | ||
2114 | self = self; | |
2115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2116 | return NULL; | |
2117 | if (_argo0) { | |
2118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p."); | |
2121 | return NULL; | |
2122 | } | |
2123 | } | |
2124 | if (_argo1) { | |
2125 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2126 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p."); | |
2128 | return NULL; | |
2129 | } | |
2130 | } | |
2131 | { | |
2132 | wxPy_BEGIN_ALLOW_THREADS; | |
2133 | wxPyShapeEvtHandler_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2134 | ||
2135 | wxPy_END_ALLOW_THREADS; | |
2136 | } Py_INCREF(Py_None); | |
2137 | _resultobj = Py_None; | |
2138 | return _resultobj; | |
2139 | } | |
2140 | ||
2141 | #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2142 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2143 | PyObject * _resultobj; | |
2144 | wxPyShapeEvtHandler * _arg0; | |
2145 | wxDC * _arg1; | |
2146 | PyObject * _argo0 = 0; | |
2147 | PyObject * _argo1 = 0; | |
2148 | char *_kwnames[] = { "self","dc", NULL }; | |
2149 | ||
2150 | self = self; | |
2151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2152 | return NULL; | |
2153 | if (_argo0) { | |
2154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p."); | |
2157 | return NULL; | |
2158 | } | |
2159 | } | |
2160 | if (_argo1) { | |
2161 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2162 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2164 | return NULL; | |
2165 | } | |
2166 | } | |
2167 | { | |
2168 | wxPy_BEGIN_ALLOW_THREADS; | |
2169 | wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0,*_arg1); | |
2170 | ||
2171 | wxPy_END_ALLOW_THREADS; | |
2172 | } Py_INCREF(Py_None); | |
2173 | _resultobj = Py_None; | |
2174 | return _resultobj; | |
2175 | } | |
2176 | ||
2177 | #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2178 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2179 | PyObject * _resultobj; | |
2180 | wxPyShapeEvtHandler * _arg0; | |
2181 | wxDC * _arg1; | |
2182 | PyObject * _argo0 = 0; | |
2183 | PyObject * _argo1 = 0; | |
2184 | char *_kwnames[] = { "self","dc", NULL }; | |
2185 | ||
2186 | self = self; | |
2187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2188 | return NULL; | |
2189 | if (_argo0) { | |
2190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p."); | |
2193 | return NULL; | |
2194 | } | |
2195 | } | |
2196 | if (_argo1) { | |
2197 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2198 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2200 | return NULL; | |
2201 | } | |
2202 | } | |
2203 | { | |
2204 | wxPy_BEGIN_ALLOW_THREADS; | |
2205 | wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0,*_arg1); | |
2206 | ||
2207 | wxPy_END_ALLOW_THREADS; | |
2208 | } Py_INCREF(Py_None); | |
2209 | _resultobj = Py_None; | |
2210 | return _resultobj; | |
2211 | } | |
2212 | ||
2213 | #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2214 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2215 | PyObject * _resultobj; | |
2216 | wxPyShapeEvtHandler * _arg0; | |
2217 | wxDC * _arg1; | |
2218 | bool _arg2 = (bool ) TRUE; | |
2219 | PyObject * _argo0 = 0; | |
2220 | PyObject * _argo1 = 0; | |
2221 | int tempbool2 = (int) TRUE; | |
2222 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2223 | ||
2224 | self = self; | |
2225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2226 | return NULL; | |
2227 | if (_argo0) { | |
2228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p."); | |
2231 | return NULL; | |
2232 | } | |
2233 | } | |
2234 | if (_argo1) { | |
2235 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2236 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p."); | |
2238 | return NULL; | |
2239 | } | |
2240 | } | |
2241 | _arg2 = (bool ) tempbool2; | |
2242 | { | |
2243 | wxPy_BEGIN_ALLOW_THREADS; | |
2244 | wxPyShapeEvtHandler_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2245 | ||
2246 | wxPy_END_ALLOW_THREADS; | |
2247 | } Py_INCREF(Py_None); | |
2248 | _resultobj = Py_None; | |
2249 | return _resultobj; | |
2250 | } | |
2251 | ||
2252 | #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2253 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2254 | PyObject * _resultobj; | |
2255 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2256 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2257 | bool _arg2; |
2258 | double _arg3; | |
2259 | double _arg4; | |
2260 | int _arg5 = (int ) 0; | |
2261 | int _arg6 = (int ) 0; | |
2262 | PyObject * _argo0 = 0; | |
2263 | PyObject * _argo1 = 0; | |
2264 | int tempbool2; | |
2265 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2266 | ||
2267 | self = self; | |
2268 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2269 | return NULL; | |
2270 | if (_argo0) { | |
2271 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2272 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2274 | return NULL; | |
2275 | } | |
2276 | } | |
2277 | if (_argo1) { | |
2278 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2279 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2281 | return NULL; |
2282 | } | |
2283 | } | |
2284 | _arg2 = (bool ) tempbool2; | |
2285 | { | |
2286 | wxPy_BEGIN_ALLOW_THREADS; | |
2287 | wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2288 | ||
2289 | wxPy_END_ALLOW_THREADS; | |
2290 | } Py_INCREF(Py_None); | |
2291 | _resultobj = Py_None; | |
2292 | return _resultobj; | |
2293 | } | |
2294 | ||
2295 | #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2296 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2297 | PyObject * _resultobj; | |
2298 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2299 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2300 | double _arg2; |
2301 | double _arg3; | |
2302 | int _arg4 = (int ) 0; | |
2303 | int _arg5 = (int ) 0; | |
2304 | PyObject * _argo0 = 0; | |
2305 | PyObject * _argo1 = 0; | |
2306 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2307 | ||
2308 | self = self; | |
2309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2310 | return NULL; | |
2311 | if (_argo0) { | |
2312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2315 | return NULL; | |
2316 | } | |
2317 | } | |
2318 | if (_argo1) { | |
2319 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2320 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2322 | return NULL; |
2323 | } | |
2324 | } | |
2325 | { | |
2326 | wxPy_BEGIN_ALLOW_THREADS; | |
2327 | wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2328 | ||
2329 | wxPy_END_ALLOW_THREADS; | |
2330 | } Py_INCREF(Py_None); | |
2331 | _resultobj = Py_None; | |
2332 | return _resultobj; | |
2333 | } | |
2334 | ||
2335 | #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2336 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2337 | PyObject * _resultobj; | |
2338 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2339 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2340 | double _arg2; |
2341 | double _arg3; | |
2342 | int _arg4 = (int ) 0; | |
2343 | int _arg5 = (int ) 0; | |
2344 | PyObject * _argo0 = 0; | |
2345 | PyObject * _argo1 = 0; | |
2346 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2347 | ||
2348 | self = self; | |
2349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2350 | return NULL; | |
2351 | if (_argo0) { | |
2352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2355 | return NULL; | |
2356 | } | |
2357 | } | |
2358 | if (_argo1) { | |
2359 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2360 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2362 | return NULL; |
2363 | } | |
2364 | } | |
2365 | { | |
2366 | wxPy_BEGIN_ALLOW_THREADS; | |
2367 | wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2368 | ||
2369 | wxPy_END_ALLOW_THREADS; | |
2370 | } Py_INCREF(Py_None); | |
2371 | _resultobj = Py_None; | |
2372 | return _resultobj; | |
2373 | } | |
2374 | ||
2375 | #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2376 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2377 | PyObject * _resultobj; | |
2378 | wxPyShapeEvtHandler * _arg0; | |
2379 | double _arg1; | |
2380 | double _arg2; | |
2381 | PyObject * _argo0 = 0; | |
2382 | char *_kwnames[] = { "self","w","h", NULL }; | |
2383 | ||
2384 | self = self; | |
2385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2386 | return NULL; | |
2387 | if (_argo0) { | |
2388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p."); | |
2391 | return NULL; | |
2392 | } | |
2393 | } | |
2394 | { | |
2395 | wxPy_BEGIN_ALLOW_THREADS; | |
2396 | wxPyShapeEvtHandler_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2397 | ||
2398 | wxPy_END_ALLOW_THREADS; | |
2399 | } Py_INCREF(Py_None); | |
2400 | _resultobj = Py_None; | |
2401 | return _resultobj; | |
2402 | } | |
2403 | ||
2404 | #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2405 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2406 | PyObject * _resultobj; | |
2407 | wxPyShapeEvtHandler * _arg0; | |
2408 | double _arg1; | |
2409 | double _arg2; | |
2410 | PyObject * _argo0 = 0; | |
2411 | char *_kwnames[] = { "self","w","h", NULL }; | |
2412 | ||
2413 | self = self; | |
2414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2415 | return NULL; | |
2416 | if (_argo0) { | |
2417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p."); | |
2420 | return NULL; | |
2421 | } | |
2422 | } | |
2423 | { | |
2424 | wxPy_BEGIN_ALLOW_THREADS; | |
2425 | wxPyShapeEvtHandler_base_OnEndSize(_arg0,_arg1,_arg2); | |
2426 | ||
2427 | wxPy_END_ALLOW_THREADS; | |
2428 | } Py_INCREF(Py_None); | |
2429 | _resultobj = Py_None; | |
2430 | return _resultobj; | |
2431 | } | |
2432 | ||
2433 | static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr) { | |
2434 | wxPyShape *src; | |
2435 | wxPyShapeEvtHandler *dest; | |
2436 | src = (wxPyShape *) ptr; | |
2437 | dest = (wxPyShapeEvtHandler *) src; | |
2438 | return (void *) dest; | |
2439 | } | |
2440 | ||
f6bcfd97 | 2441 | #define wxPyShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
2442 | static PyObject *_wrap_wxPyShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
2443 | PyObject * _resultobj; | |
2444 | wxPyShape * _arg0; | |
2445 | PyObject * _arg1; | |
f6bcfd97 | 2446 | PyObject * _arg2; |
e91a9dfc RD |
2447 | PyObject * _argo0 = 0; |
2448 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2449 | PyObject * _obj2 = 0; |
2450 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2451 | |
2452 | self = self; | |
f6bcfd97 | 2453 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2454 | return NULL; |
2455 | if (_argo0) { | |
2456 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2457 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p."); | |
2459 | return NULL; | |
2460 | } | |
2461 | } | |
2462 | { | |
2463 | _arg1 = _obj1; | |
2464 | } | |
f6bcfd97 BP |
2465 | { |
2466 | _arg2 = _obj2; | |
2467 | } | |
e91a9dfc RD |
2468 | { |
2469 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2470 | wxPyShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2471 | |
2472 | wxPy_END_ALLOW_THREADS; | |
2473 | } Py_INCREF(Py_None); | |
2474 | _resultobj = Py_None; | |
2475 | return _resultobj; | |
2476 | } | |
2477 | ||
2478 | static void wxPyShape_Destroy(wxPyShape *self) { delete self; } | |
2479 | static PyObject *_wrap_wxPyShape_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2480 | PyObject * _resultobj; | |
2481 | wxPyShape * _arg0; | |
2482 | PyObject * _argo0 = 0; | |
2483 | char *_kwnames[] = { "self", NULL }; | |
2484 | ||
2485 | self = self; | |
2486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Destroy",_kwnames,&_argo0)) | |
2487 | return NULL; | |
2488 | if (_argo0) { | |
2489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p."); | |
2492 | return NULL; | |
2493 | } | |
2494 | } | |
2495 | { | |
2496 | wxPy_BEGIN_ALLOW_THREADS; | |
2497 | wxPyShape_Destroy(_arg0); | |
2498 | ||
2499 | wxPy_END_ALLOW_THREADS; | |
2500 | } Py_INCREF(Py_None); | |
2501 | _resultobj = Py_None; | |
2502 | return _resultobj; | |
2503 | } | |
2504 | ||
2505 | #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1)) | |
2506 | static PyObject *_wrap_wxPyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2507 | PyObject * _resultobj; | |
2508 | wxPyShape * _arg0; | |
2509 | double * _arg1; | |
2510 | double temp; | |
2511 | double * _arg2; | |
2512 | double temp0; | |
2513 | PyObject * _argo0 = 0; | |
2514 | char *_kwnames[] = { "self", NULL }; | |
2515 | ||
2516 | self = self; | |
2517 | { | |
2518 | _arg1 = &temp; | |
2519 | } | |
2520 | { | |
2521 | _arg2 = &temp0; | |
2522 | } | |
2523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMax",_kwnames,&_argo0)) | |
2524 | return NULL; | |
2525 | if (_argo0) { | |
2526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p."); | |
2529 | return NULL; | |
2530 | } | |
2531 | } | |
2532 | { | |
2533 | wxPy_BEGIN_ALLOW_THREADS; | |
2534 | wxPyShape_GetBoundingBoxMax(_arg0,_arg1,_arg2); | |
2535 | ||
2536 | wxPy_END_ALLOW_THREADS; | |
2537 | } Py_INCREF(Py_None); | |
2538 | _resultobj = Py_None; | |
2539 | { | |
2540 | PyObject *o; | |
2541 | o = PyFloat_FromDouble((double) (*_arg1)); | |
2542 | _resultobj = t_output_helper(_resultobj, o); | |
2543 | } | |
2544 | { | |
2545 | PyObject *o; | |
2546 | o = PyFloat_FromDouble((double) (*_arg2)); | |
2547 | _resultobj = t_output_helper(_resultobj, o); | |
2548 | } | |
2549 | return _resultobj; | |
2550 | } | |
2551 | ||
2552 | #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1)) | |
2553 | static PyObject *_wrap_wxPyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2554 | PyObject * _resultobj; | |
2555 | wxPyShape * _arg0; | |
2556 | double * _arg1; | |
2557 | double temp; | |
2558 | double * _arg2; | |
2559 | double temp0; | |
2560 | PyObject * _argo0 = 0; | |
2561 | char *_kwnames[] = { "self", NULL }; | |
2562 | ||
2563 | self = self; | |
2564 | { | |
2565 | _arg1 = &temp; | |
2566 | } | |
2567 | { | |
2568 | _arg2 = &temp0; | |
2569 | } | |
2570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMin",_kwnames,&_argo0)) | |
2571 | return NULL; | |
2572 | if (_argo0) { | |
2573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p."); | |
2576 | return NULL; | |
2577 | } | |
2578 | } | |
2579 | { | |
2580 | wxPy_BEGIN_ALLOW_THREADS; | |
2581 | wxPyShape_GetBoundingBoxMin(_arg0,_arg1,_arg2); | |
2582 | ||
2583 | wxPy_END_ALLOW_THREADS; | |
2584 | } Py_INCREF(Py_None); | |
2585 | _resultobj = Py_None; | |
2586 | { | |
2587 | PyObject *o; | |
2588 | o = PyFloat_FromDouble((double) (*_arg1)); | |
2589 | _resultobj = t_output_helper(_resultobj, o); | |
2590 | } | |
2591 | { | |
2592 | PyObject *o; | |
2593 | o = PyFloat_FromDouble((double) (*_arg2)); | |
2594 | _resultobj = t_output_helper(_resultobj, o); | |
2595 | } | |
2596 | return _resultobj; | |
2597 | } | |
2598 | ||
2599 | #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2600 | static PyObject *_wrap_wxPyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2601 | PyObject * _resultobj; | |
2602 | bool _result; | |
2603 | wxPyShape * _arg0; | |
2604 | double _arg1; | |
2605 | double _arg2; | |
2606 | double _arg3; | |
2607 | double _arg4; | |
2608 | double * _arg5; | |
2609 | double temp; | |
2610 | double * _arg6; | |
2611 | double temp0; | |
2612 | PyObject * _argo0 = 0; | |
2613 | char *_kwnames[] = { "self","x1","y1","x2","y2", NULL }; | |
2614 | ||
2615 | self = self; | |
2616 | { | |
2617 | _arg5 = &temp; | |
2618 | } | |
2619 | { | |
2620 | _arg6 = &temp0; | |
2621 | } | |
2622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2623 | return NULL; | |
2624 | if (_argo0) { | |
2625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p."); | |
2628 | return NULL; | |
2629 | } | |
2630 | } | |
2631 | { | |
2632 | wxPy_BEGIN_ALLOW_THREADS; | |
2633 | _result = (bool )wxPyShape_GetPerimeterPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2634 | ||
2635 | wxPy_END_ALLOW_THREADS; | |
2636 | } _resultobj = Py_BuildValue("i",_result); | |
2637 | { | |
2638 | PyObject *o; | |
2639 | o = PyFloat_FromDouble((double) (*_arg5)); | |
2640 | _resultobj = t_output_helper(_resultobj, o); | |
2641 | } | |
2642 | { | |
2643 | PyObject *o; | |
2644 | o = PyFloat_FromDouble((double) (*_arg6)); | |
2645 | _resultobj = t_output_helper(_resultobj, o); | |
2646 | } | |
2647 | return _resultobj; | |
2648 | } | |
2649 | ||
2650 | #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas()) | |
2651 | static PyObject *_wrap_wxPyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2652 | PyObject * _resultobj; | |
2653 | wxPyShapeCanvas * _result; | |
2654 | wxPyShape * _arg0; | |
2655 | PyObject * _argo0 = 0; | |
2656 | char *_kwnames[] = { "self", NULL }; | |
2657 | char _ptemp[128]; | |
2658 | ||
2659 | self = self; | |
2660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCanvas",_kwnames,&_argo0)) | |
2661 | return NULL; | |
2662 | if (_argo0) { | |
2663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p."); | |
2666 | return NULL; | |
2667 | } | |
2668 | } | |
2669 | { | |
2670 | wxPy_BEGIN_ALLOW_THREADS; | |
2671 | _result = (wxPyShapeCanvas *)wxPyShape_GetCanvas(_arg0); | |
2672 | ||
2673 | wxPy_END_ALLOW_THREADS; | |
2674 | } if (_result) { | |
2675 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeCanvas_p"); | |
2676 | _resultobj = Py_BuildValue("s",_ptemp); | |
2677 | } else { | |
2678 | Py_INCREF(Py_None); | |
2679 | _resultobj = Py_None; | |
2680 | } | |
2681 | return _resultobj; | |
2682 | } | |
2683 | ||
2684 | #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0)) | |
2685 | static PyObject *_wrap_wxPyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2686 | PyObject * _resultobj; | |
2687 | wxPyShape * _arg0; | |
2688 | wxPyShapeCanvas * _arg1; | |
2689 | PyObject * _argo0 = 0; | |
2690 | PyObject * _argo1 = 0; | |
2691 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2692 | ||
2693 | self = self; | |
2694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetCanvas",_kwnames,&_argo0,&_argo1)) | |
2695 | return NULL; | |
2696 | if (_argo0) { | |
2697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p."); | |
2700 | return NULL; | |
2701 | } | |
2702 | } | |
2703 | if (_argo1) { | |
2704 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2705 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p."); | |
2707 | return NULL; | |
2708 | } | |
2709 | } | |
2710 | { | |
2711 | wxPy_BEGIN_ALLOW_THREADS; | |
2712 | wxPyShape_SetCanvas(_arg0,_arg1); | |
2713 | ||
2714 | wxPy_END_ALLOW_THREADS; | |
2715 | } Py_INCREF(Py_None); | |
2716 | _resultobj = Py_None; | |
2717 | return _resultobj; | |
2718 | } | |
2719 | ||
2720 | #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1)) | |
2721 | static PyObject *_wrap_wxPyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2722 | PyObject * _resultobj; | |
2723 | wxPyShape * _arg0; | |
2724 | wxPyShapeCanvas * _arg1; | |
2725 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
2726 | PyObject * _argo0 = 0; | |
2727 | PyObject * _argo1 = 0; | |
2728 | PyObject * _argo2 = 0; | |
2729 | char *_kwnames[] = { "self","the_canvas","addAfter", NULL }; | |
2730 | ||
2731 | self = self; | |
2732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyShape_AddToCanvas",_kwnames,&_argo0,&_argo1,&_argo2)) | |
2733 | return NULL; | |
2734 | if (_argo0) { | |
2735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p."); | |
2738 | return NULL; | |
2739 | } | |
2740 | } | |
2741 | if (_argo1) { | |
2742 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2743 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p."); | |
2745 | return NULL; | |
2746 | } | |
2747 | } | |
2748 | if (_argo2) { | |
2749 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2750 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
2751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p."); | |
2752 | return NULL; | |
2753 | } | |
2754 | } | |
2755 | { | |
2756 | wxPy_BEGIN_ALLOW_THREADS; | |
2757 | wxPyShape_AddToCanvas(_arg0,_arg1,_arg2); | |
2758 | ||
2759 | wxPy_END_ALLOW_THREADS; | |
2760 | } Py_INCREF(Py_None); | |
2761 | _resultobj = Py_None; | |
2762 | return _resultobj; | |
2763 | } | |
2764 | ||
2765 | #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0)) | |
2766 | static PyObject *_wrap_wxPyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2767 | PyObject * _resultobj; | |
2768 | wxPyShape * _arg0; | |
2769 | wxPyShapeCanvas * _arg1; | |
2770 | PyObject * _argo0 = 0; | |
2771 | PyObject * _argo1 = 0; | |
2772 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2773 | ||
2774 | self = self; | |
2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_InsertInCanvas",_kwnames,&_argo0,&_argo1)) | |
2776 | return NULL; | |
2777 | if (_argo0) { | |
2778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p."); | |
2781 | return NULL; | |
2782 | } | |
2783 | } | |
2784 | if (_argo1) { | |
2785 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2786 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p."); | |
2788 | return NULL; | |
2789 | } | |
2790 | } | |
2791 | { | |
2792 | wxPy_BEGIN_ALLOW_THREADS; | |
2793 | wxPyShape_InsertInCanvas(_arg0,_arg1); | |
2794 | ||
2795 | wxPy_END_ALLOW_THREADS; | |
2796 | } Py_INCREF(Py_None); | |
2797 | _resultobj = Py_None; | |
2798 | return _resultobj; | |
2799 | } | |
2800 | ||
2801 | #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0)) | |
2802 | static PyObject *_wrap_wxPyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2803 | PyObject * _resultobj; | |
2804 | wxPyShape * _arg0; | |
2805 | wxPyShapeCanvas * _arg1; | |
2806 | PyObject * _argo0 = 0; | |
2807 | PyObject * _argo1 = 0; | |
2808 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2809 | ||
2810 | self = self; | |
2811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveFromCanvas",_kwnames,&_argo0,&_argo1)) | |
2812 | return NULL; | |
2813 | if (_argo0) { | |
2814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p."); | |
2817 | return NULL; | |
2818 | } | |
2819 | } | |
2820 | if (_argo1) { | |
2821 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2822 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p."); | |
2824 | return NULL; | |
2825 | } | |
2826 | } | |
2827 | { | |
2828 | wxPy_BEGIN_ALLOW_THREADS; | |
2829 | wxPyShape_RemoveFromCanvas(_arg0,_arg1); | |
2830 | ||
2831 | wxPy_END_ALLOW_THREADS; | |
2832 | } Py_INCREF(Py_None); | |
2833 | _resultobj = Py_None; | |
2834 | return _resultobj; | |
2835 | } | |
2836 | ||
2837 | #define wxPyShape_GetX(_swigobj) (_swigobj->GetX()) | |
2838 | static PyObject *_wrap_wxPyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2839 | PyObject * _resultobj; | |
2840 | double _result; | |
2841 | wxPyShape * _arg0; | |
2842 | PyObject * _argo0 = 0; | |
2843 | char *_kwnames[] = { "self", NULL }; | |
2844 | ||
2845 | self = self; | |
2846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetX",_kwnames,&_argo0)) | |
2847 | return NULL; | |
2848 | if (_argo0) { | |
2849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p."); | |
2852 | return NULL; | |
2853 | } | |
2854 | } | |
2855 | { | |
2856 | wxPy_BEGIN_ALLOW_THREADS; | |
2857 | _result = (double )wxPyShape_GetX(_arg0); | |
2858 | ||
2859 | wxPy_END_ALLOW_THREADS; | |
2860 | } _resultobj = Py_BuildValue("d",_result); | |
2861 | return _resultobj; | |
2862 | } | |
2863 | ||
2864 | #define wxPyShape_GetY(_swigobj) (_swigobj->GetY()) | |
2865 | static PyObject *_wrap_wxPyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2866 | PyObject * _resultobj; | |
2867 | double _result; | |
2868 | wxPyShape * _arg0; | |
2869 | PyObject * _argo0 = 0; | |
2870 | char *_kwnames[] = { "self", NULL }; | |
2871 | ||
2872 | self = self; | |
2873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetY",_kwnames,&_argo0)) | |
2874 | return NULL; | |
2875 | if (_argo0) { | |
2876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p."); | |
2879 | return NULL; | |
2880 | } | |
2881 | } | |
2882 | { | |
2883 | wxPy_BEGIN_ALLOW_THREADS; | |
2884 | _result = (double )wxPyShape_GetY(_arg0); | |
2885 | ||
2886 | wxPy_END_ALLOW_THREADS; | |
2887 | } _resultobj = Py_BuildValue("d",_result); | |
2888 | return _resultobj; | |
2889 | } | |
2890 | ||
2891 | #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
2892 | static PyObject *_wrap_wxPyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2893 | PyObject * _resultobj; | |
2894 | wxPyShape * _arg0; | |
2895 | double _arg1; | |
2896 | PyObject * _argo0 = 0; | |
2897 | char *_kwnames[] = { "self","x", NULL }; | |
2898 | ||
2899 | self = self; | |
2900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetX",_kwnames,&_argo0,&_arg1)) | |
2901 | return NULL; | |
2902 | if (_argo0) { | |
2903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p."); | |
2906 | return NULL; | |
2907 | } | |
2908 | } | |
2909 | { | |
2910 | wxPy_BEGIN_ALLOW_THREADS; | |
2911 | wxPyShape_SetX(_arg0,_arg1); | |
2912 | ||
2913 | wxPy_END_ALLOW_THREADS; | |
2914 | } Py_INCREF(Py_None); | |
2915 | _resultobj = Py_None; | |
2916 | return _resultobj; | |
2917 | } | |
2918 | ||
2919 | #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
2920 | static PyObject *_wrap_wxPyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2921 | PyObject * _resultobj; | |
2922 | wxPyShape * _arg0; | |
2923 | double _arg1; | |
2924 | PyObject * _argo0 = 0; | |
2925 | char *_kwnames[] = { "self","y", NULL }; | |
2926 | ||
2927 | self = self; | |
2928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetY",_kwnames,&_argo0,&_arg1)) | |
2929 | return NULL; | |
2930 | if (_argo0) { | |
2931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p."); | |
2934 | return NULL; | |
2935 | } | |
2936 | } | |
2937 | { | |
2938 | wxPy_BEGIN_ALLOW_THREADS; | |
2939 | wxPyShape_SetY(_arg0,_arg1); | |
2940 | ||
2941 | wxPy_END_ALLOW_THREADS; | |
2942 | } Py_INCREF(Py_None); | |
2943 | _resultobj = Py_None; | |
2944 | return _resultobj; | |
2945 | } | |
2946 | ||
2947 | #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent()) | |
2948 | static PyObject *_wrap_wxPyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2949 | PyObject * _resultobj; | |
2950 | wxPyShape * _result; | |
2951 | wxPyShape * _arg0; | |
2952 | PyObject * _argo0 = 0; | |
2953 | char *_kwnames[] = { "self", NULL }; | |
2954 | char _ptemp[128]; | |
2955 | ||
2956 | self = self; | |
2957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetParent",_kwnames,&_argo0)) | |
2958 | return NULL; | |
2959 | if (_argo0) { | |
2960 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2961 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p."); | |
2963 | return NULL; | |
2964 | } | |
2965 | } | |
2966 | { | |
2967 | wxPy_BEGIN_ALLOW_THREADS; | |
2968 | _result = (wxPyShape *)wxPyShape_GetParent(_arg0); | |
2969 | ||
2970 | wxPy_END_ALLOW_THREADS; | |
2971 | } if (_result) { | |
2972 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
2973 | _resultobj = Py_BuildValue("s",_ptemp); | |
2974 | } else { | |
2975 | Py_INCREF(Py_None); | |
2976 | _resultobj = Py_None; | |
2977 | } | |
2978 | return _resultobj; | |
2979 | } | |
2980 | ||
2981 | #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0)) | |
2982 | static PyObject *_wrap_wxPyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2983 | PyObject * _resultobj; | |
2984 | wxPyShape * _arg0; | |
2985 | wxPyShape * _arg1; | |
2986 | PyObject * _argo0 = 0; | |
2987 | PyObject * _argo1 = 0; | |
2988 | char *_kwnames[] = { "self","p", NULL }; | |
2989 | ||
2990 | self = self; | |
2991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetParent",_kwnames,&_argo0,&_argo1)) | |
2992 | return NULL; | |
2993 | if (_argo0) { | |
2994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p."); | |
2997 | return NULL; | |
2998 | } | |
2999 | } | |
3000 | if (_argo1) { | |
3001 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3002 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p."); | |
3004 | return NULL; | |
3005 | } | |
3006 | } | |
3007 | { | |
3008 | wxPy_BEGIN_ALLOW_THREADS; | |
3009 | wxPyShape_SetParent(_arg0,_arg1); | |
3010 | ||
3011 | wxPy_END_ALLOW_THREADS; | |
3012 | } Py_INCREF(Py_None); | |
3013 | _resultobj = Py_None; | |
3014 | return _resultobj; | |
3015 | } | |
3016 | ||
3017 | #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor()) | |
3018 | static PyObject *_wrap_wxPyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3019 | PyObject * _resultobj; | |
3020 | wxPyShape * _result; | |
3021 | wxPyShape * _arg0; | |
3022 | PyObject * _argo0 = 0; | |
3023 | char *_kwnames[] = { "self", NULL }; | |
3024 | char _ptemp[128]; | |
3025 | ||
3026 | self = self; | |
3027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetTopAncestor",_kwnames,&_argo0)) | |
3028 | return NULL; | |
3029 | if (_argo0) { | |
3030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p."); | |
3033 | return NULL; | |
3034 | } | |
3035 | } | |
3036 | { | |
3037 | wxPy_BEGIN_ALLOW_THREADS; | |
3038 | _result = (wxPyShape *)wxPyShape_GetTopAncestor(_arg0); | |
3039 | ||
3040 | wxPy_END_ALLOW_THREADS; | |
3041 | } if (_result) { | |
3042 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3043 | _resultobj = Py_BuildValue("s",_ptemp); | |
3044 | } else { | |
3045 | Py_INCREF(Py_None); | |
3046 | _resultobj = Py_None; | |
3047 | } | |
3048 | return _resultobj; | |
3049 | } | |
3050 | ||
3051 | static PyObject * wxPyShape_GetChildren(wxPyShape *self) { | |
3052 | wxList& list = self->GetChildren(); | |
3053 | return wxPy_ConvertList(&list, "wxPyShape"); | |
3054 | } | |
3055 | static PyObject *_wrap_wxPyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3056 | PyObject * _resultobj; | |
3057 | PyObject * _result; | |
3058 | wxPyShape * _arg0; | |
3059 | PyObject * _argo0 = 0; | |
3060 | char *_kwnames[] = { "self", NULL }; | |
3061 | ||
3062 | self = self; | |
3063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetChildren",_kwnames,&_argo0)) | |
3064 | return NULL; | |
3065 | if (_argo0) { | |
3066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p."); | |
3069 | return NULL; | |
3070 | } | |
3071 | } | |
3072 | { | |
3073 | wxPy_BEGIN_ALLOW_THREADS; | |
3074 | _result = (PyObject *)wxPyShape_GetChildren(_arg0); | |
3075 | ||
3076 | wxPy_END_ALLOW_THREADS; | |
3077 | }{ | |
3078 | _resultobj = _result; | |
3079 | } | |
3080 | return _resultobj; | |
3081 | } | |
3082 | ||
3083 | #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink()) | |
3084 | static PyObject *_wrap_wxPyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3085 | PyObject * _resultobj; | |
3086 | wxPyShape * _arg0; | |
3087 | PyObject * _argo0 = 0; | |
3088 | char *_kwnames[] = { "self", NULL }; | |
3089 | ||
3090 | self = self; | |
3091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Unlink",_kwnames,&_argo0)) | |
3092 | return NULL; | |
3093 | if (_argo0) { | |
3094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p."); | |
3097 | return NULL; | |
3098 | } | |
3099 | } | |
3100 | { | |
3101 | wxPy_BEGIN_ALLOW_THREADS; | |
3102 | wxPyShape_Unlink(_arg0); | |
3103 | ||
3104 | wxPy_END_ALLOW_THREADS; | |
3105 | } Py_INCREF(Py_None); | |
3106 | _resultobj = Py_None; | |
3107 | return _resultobj; | |
3108 | } | |
3109 | ||
3110 | #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0)) | |
3111 | static PyObject *_wrap_wxPyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3112 | PyObject * _resultobj; | |
3113 | wxPyShape * _arg0; | |
3114 | bool _arg1; | |
3115 | PyObject * _argo0 = 0; | |
3116 | int tempbool1; | |
3117 | char *_kwnames[] = { "self","drawH", NULL }; | |
3118 | ||
3119 | self = self; | |
3120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDrawHandles",_kwnames,&_argo0,&tempbool1)) | |
3121 | return NULL; | |
3122 | if (_argo0) { | |
3123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p."); | |
3126 | return NULL; | |
3127 | } | |
3128 | } | |
3129 | _arg1 = (bool ) tempbool1; | |
3130 | { | |
3131 | wxPy_BEGIN_ALLOW_THREADS; | |
3132 | wxPyShape_SetDrawHandles(_arg0,_arg1); | |
3133 | ||
3134 | wxPy_END_ALLOW_THREADS; | |
3135 | } Py_INCREF(Py_None); | |
3136 | _resultobj = Py_None; | |
3137 | return _resultobj; | |
3138 | } | |
3139 | ||
3140 | #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles()) | |
3141 | static PyObject *_wrap_wxPyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3142 | PyObject * _resultobj; | |
3143 | bool _result; | |
3144 | wxPyShape * _arg0; | |
3145 | PyObject * _argo0 = 0; | |
3146 | char *_kwnames[] = { "self", NULL }; | |
3147 | ||
3148 | self = self; | |
3149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDrawHandles",_kwnames,&_argo0)) | |
3150 | return NULL; | |
3151 | if (_argo0) { | |
3152 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3153 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p."); | |
3155 | return NULL; | |
3156 | } | |
3157 | } | |
3158 | { | |
3159 | wxPy_BEGIN_ALLOW_THREADS; | |
3160 | _result = (bool )wxPyShape_GetDrawHandles(_arg0); | |
3161 | ||
3162 | wxPy_END_ALLOW_THREADS; | |
3163 | } _resultobj = Py_BuildValue("i",_result); | |
3164 | return _resultobj; | |
3165 | } | |
3166 | ||
3167 | #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints()) | |
3168 | static PyObject *_wrap_wxPyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3169 | PyObject * _resultobj; | |
3170 | wxPyShape * _arg0; | |
3171 | PyObject * _argo0 = 0; | |
3172 | char *_kwnames[] = { "self", NULL }; | |
3173 | ||
3174 | self = self; | |
3175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeControlPoints",_kwnames,&_argo0)) | |
3176 | return NULL; | |
3177 | if (_argo0) { | |
3178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p."); | |
3181 | return NULL; | |
3182 | } | |
3183 | } | |
3184 | { | |
3185 | wxPy_BEGIN_ALLOW_THREADS; | |
3186 | wxPyShape_MakeControlPoints(_arg0); | |
3187 | ||
3188 | wxPy_END_ALLOW_THREADS; | |
3189 | } Py_INCREF(Py_None); | |
3190 | _resultobj = Py_None; | |
3191 | return _resultobj; | |
3192 | } | |
3193 | ||
3194 | #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0)) | |
3195 | static PyObject *_wrap_wxPyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3196 | PyObject * _resultobj; | |
3197 | wxPyShape * _arg0; | |
3198 | wxDC * _arg1 = (wxDC *) NULL; | |
3199 | PyObject * _argo0 = 0; | |
3200 | PyObject * _argo1 = 0; | |
3201 | char *_kwnames[] = { "self","dc", NULL }; | |
3202 | ||
3203 | self = self; | |
3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_DeleteControlPoints",_kwnames,&_argo0,&_argo1)) | |
3205 | return NULL; | |
3206 | if (_argo0) { | |
3207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p."); | |
3210 | return NULL; | |
3211 | } | |
3212 | } | |
3213 | if (_argo1) { | |
3214 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3215 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p."); | |
3217 | return NULL; | |
3218 | } | |
3219 | } | |
3220 | { | |
3221 | wxPy_BEGIN_ALLOW_THREADS; | |
3222 | wxPyShape_DeleteControlPoints(_arg0,_arg1); | |
3223 | ||
3224 | wxPy_END_ALLOW_THREADS; | |
3225 | } Py_INCREF(Py_None); | |
3226 | _resultobj = Py_None; | |
3227 | return _resultobj; | |
3228 | } | |
3229 | ||
3230 | #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints()) | |
3231 | static PyObject *_wrap_wxPyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3232 | PyObject * _resultobj; | |
3233 | wxPyShape * _arg0; | |
3234 | PyObject * _argo0 = 0; | |
3235 | char *_kwnames[] = { "self", NULL }; | |
3236 | ||
3237 | self = self; | |
3238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetControlPoints",_kwnames,&_argo0)) | |
3239 | return NULL; | |
3240 | if (_argo0) { | |
3241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p."); | |
3244 | return NULL; | |
3245 | } | |
3246 | } | |
3247 | { | |
3248 | wxPy_BEGIN_ALLOW_THREADS; | |
3249 | wxPyShape_ResetControlPoints(_arg0); | |
3250 | ||
3251 | wxPy_END_ALLOW_THREADS; | |
3252 | } Py_INCREF(Py_None); | |
3253 | _resultobj = Py_None; | |
3254 | return _resultobj; | |
3255 | } | |
3256 | ||
3257 | #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler()) | |
3258 | static PyObject *_wrap_wxPyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3259 | PyObject * _resultobj; | |
3260 | wxPyShapeEvtHandler * _result; | |
3261 | wxPyShape * _arg0; | |
3262 | PyObject * _argo0 = 0; | |
3263 | char *_kwnames[] = { "self", NULL }; | |
3264 | char _ptemp[128]; | |
3265 | ||
3266 | self = self; | |
3267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetEventHandler",_kwnames,&_argo0)) | |
3268 | return NULL; | |
3269 | if (_argo0) { | |
3270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p."); | |
3273 | return NULL; | |
3274 | } | |
3275 | } | |
3276 | { | |
3277 | wxPy_BEGIN_ALLOW_THREADS; | |
3278 | _result = (wxPyShapeEvtHandler *)wxPyShape_GetEventHandler(_arg0); | |
3279 | ||
3280 | wxPy_END_ALLOW_THREADS; | |
3281 | } if (_result) { | |
3282 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
3283 | _resultobj = Py_BuildValue("s",_ptemp); | |
3284 | } else { | |
3285 | Py_INCREF(Py_None); | |
3286 | _resultobj = Py_None; | |
3287 | } | |
3288 | return _resultobj; | |
3289 | } | |
3290 | ||
3291 | #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0)) | |
3292 | static PyObject *_wrap_wxPyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3293 | PyObject * _resultobj; | |
3294 | wxPyShape * _arg0; | |
3295 | wxPyShapeEvtHandler * _arg1; | |
3296 | PyObject * _argo0 = 0; | |
3297 | PyObject * _argo1 = 0; | |
3298 | char *_kwnames[] = { "self","handler", NULL }; | |
3299 | ||
3300 | self = self; | |
3301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetEventHandler",_kwnames,&_argo0,&_argo1)) | |
3302 | return NULL; | |
3303 | if (_argo0) { | |
3304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p."); | |
3307 | return NULL; | |
3308 | } | |
3309 | } | |
3310 | if (_argo1) { | |
3311 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3312 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) { | |
3313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p."); | |
3314 | return NULL; | |
3315 | } | |
3316 | } | |
3317 | { | |
3318 | wxPy_BEGIN_ALLOW_THREADS; | |
3319 | wxPyShape_SetEventHandler(_arg0,_arg1); | |
3320 | ||
3321 | wxPy_END_ALLOW_THREADS; | |
3322 | } Py_INCREF(Py_None); | |
3323 | _resultobj = Py_None; | |
3324 | return _resultobj; | |
3325 | } | |
3326 | ||
3327 | #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints()) | |
3328 | static PyObject *_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3329 | PyObject * _resultobj; | |
3330 | wxPyShape * _arg0; | |
3331 | PyObject * _argo0 = 0; | |
3332 | char *_kwnames[] = { "self", NULL }; | |
3333 | ||
3334 | self = self; | |
3335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames,&_argo0)) | |
3336 | return NULL; | |
3337 | if (_argo0) { | |
3338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p."); | |
3341 | return NULL; | |
3342 | } | |
3343 | } | |
3344 | { | |
3345 | wxPy_BEGIN_ALLOW_THREADS; | |
3346 | wxPyShape_MakeMandatoryControlPoints(_arg0); | |
3347 | ||
3348 | wxPy_END_ALLOW_THREADS; | |
3349 | } Py_INCREF(Py_None); | |
3350 | _resultobj = Py_None; | |
3351 | return _resultobj; | |
3352 | } | |
3353 | ||
3354 | #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints()) | |
3355 | static PyObject *_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3356 | PyObject * _resultobj; | |
3357 | wxPyShape * _arg0; | |
3358 | PyObject * _argo0 = 0; | |
3359 | char *_kwnames[] = { "self", NULL }; | |
3360 | ||
3361 | self = self; | |
3362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames,&_argo0)) | |
3363 | return NULL; | |
3364 | if (_argo0) { | |
3365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p."); | |
3368 | return NULL; | |
3369 | } | |
3370 | } | |
3371 | { | |
3372 | wxPy_BEGIN_ALLOW_THREADS; | |
3373 | wxPyShape_ResetMandatoryControlPoints(_arg0); | |
3374 | ||
3375 | wxPy_END_ALLOW_THREADS; | |
3376 | } Py_INCREF(Py_None); | |
3377 | _resultobj = Py_None; | |
3378 | return _resultobj; | |
3379 | } | |
3380 | ||
3381 | #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
3382 | static PyObject *_wrap_wxPyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3383 | PyObject * _resultobj; | |
3384 | bool _result; | |
3385 | wxPyShape * _arg0; | |
3386 | PyObject * _argo0 = 0; | |
3387 | char *_kwnames[] = { "self", NULL }; | |
3388 | ||
3389 | self = self; | |
3390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Recompute",_kwnames,&_argo0)) | |
3391 | return NULL; | |
3392 | if (_argo0) { | |
3393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p."); | |
3396 | return NULL; | |
3397 | } | |
3398 | } | |
3399 | { | |
3400 | wxPy_BEGIN_ALLOW_THREADS; | |
3401 | _result = (bool )wxPyShape_Recompute(_arg0); | |
3402 | ||
3403 | wxPy_END_ALLOW_THREADS; | |
3404 | } _resultobj = Py_BuildValue("i",_result); | |
3405 | return _resultobj; | |
3406 | } | |
3407 | ||
3408 | #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
3409 | static PyObject *_wrap_wxPyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3410 | PyObject * _resultobj; | |
3411 | wxPyShape * _arg0; | |
3412 | PyObject * _argo0 = 0; | |
3413 | char *_kwnames[] = { "self", NULL }; | |
3414 | ||
3415 | self = self; | |
3416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_CalculateSize",_kwnames,&_argo0)) | |
3417 | return NULL; | |
3418 | if (_argo0) { | |
3419 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3420 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3421 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p."); | |
3422 | return NULL; | |
3423 | } | |
3424 | } | |
3425 | { | |
3426 | wxPy_BEGIN_ALLOW_THREADS; | |
3427 | wxPyShape_CalculateSize(_arg0); | |
3428 | ||
3429 | wxPy_END_ALLOW_THREADS; | |
3430 | } Py_INCREF(Py_None); | |
3431 | _resultobj = Py_None; | |
3432 | return _resultobj; | |
3433 | } | |
3434 | ||
3435 | #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1)) | |
3436 | static PyObject *_wrap_wxPyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3437 | PyObject * _resultobj; | |
3438 | wxPyShape * _arg0; | |
3439 | bool _arg1 = (bool ) TRUE; | |
3440 | wxDC * _arg2 = (wxDC *) NULL; | |
3441 | PyObject * _argo0 = 0; | |
3442 | int tempbool1 = (int) TRUE; | |
3443 | PyObject * _argo2 = 0; | |
3444 | char *_kwnames[] = { "self","select","dc", NULL }; | |
3445 | ||
3446 | self = self; | |
3447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxPyShape_Select",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
3448 | return NULL; | |
3449 | if (_argo0) { | |
3450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p."); | |
3453 | return NULL; | |
3454 | } | |
3455 | } | |
3456 | _arg1 = (bool ) tempbool1; | |
3457 | if (_argo2) { | |
3458 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3459 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) { | |
3460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p."); | |
3461 | return NULL; | |
3462 | } | |
3463 | } | |
3464 | { | |
3465 | wxPy_BEGIN_ALLOW_THREADS; | |
3466 | wxPyShape_Select(_arg0,_arg1,_arg2); | |
3467 | ||
3468 | wxPy_END_ALLOW_THREADS; | |
3469 | } Py_INCREF(Py_None); | |
3470 | _resultobj = Py_None; | |
3471 | return _resultobj; | |
3472 | } | |
3473 | ||
3474 | #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1)) | |
3475 | static PyObject *_wrap_wxPyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3476 | PyObject * _resultobj; | |
3477 | wxPyShape * _arg0; | |
3478 | bool _arg1 = (bool ) TRUE; | |
3479 | bool _arg2 = (bool ) FALSE; | |
3480 | PyObject * _argo0 = 0; | |
3481 | int tempbool1 = (int) TRUE; | |
3482 | int tempbool2 = (int) FALSE; | |
3483 | char *_kwnames[] = { "self","hi","recurse", NULL }; | |
3484 | ||
3485 | self = self; | |
3486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetHighlight",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3487 | return NULL; | |
3488 | if (_argo0) { | |
3489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p."); | |
3492 | return NULL; | |
3493 | } | |
3494 | } | |
3495 | _arg1 = (bool ) tempbool1; | |
3496 | _arg2 = (bool ) tempbool2; | |
3497 | { | |
3498 | wxPy_BEGIN_ALLOW_THREADS; | |
3499 | wxPyShape_SetHighlight(_arg0,_arg1,_arg2); | |
3500 | ||
3501 | wxPy_END_ALLOW_THREADS; | |
3502 | } Py_INCREF(Py_None); | |
3503 | _resultobj = Py_None; | |
3504 | return _resultobj; | |
3505 | } | |
3506 | ||
3507 | #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted()) | |
3508 | static PyObject *_wrap_wxPyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3509 | PyObject * _resultobj; | |
3510 | bool _result; | |
3511 | wxPyShape * _arg0; | |
3512 | PyObject * _argo0 = 0; | |
3513 | char *_kwnames[] = { "self", NULL }; | |
3514 | ||
3515 | self = self; | |
3516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsHighlighted",_kwnames,&_argo0)) | |
3517 | return NULL; | |
3518 | if (_argo0) { | |
3519 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3520 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p."); | |
3522 | return NULL; | |
3523 | } | |
3524 | } | |
3525 | { | |
3526 | wxPy_BEGIN_ALLOW_THREADS; | |
3527 | _result = (bool )wxPyShape_IsHighlighted(_arg0); | |
3528 | ||
3529 | wxPy_END_ALLOW_THREADS; | |
3530 | } _resultobj = Py_BuildValue("i",_result); | |
3531 | return _resultobj; | |
3532 | } | |
3533 | ||
3534 | #define wxPyShape_Selected(_swigobj) (_swigobj->Selected()) | |
3535 | static PyObject *_wrap_wxPyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3536 | PyObject * _resultobj; | |
3537 | bool _result; | |
3538 | wxPyShape * _arg0; | |
3539 | PyObject * _argo0 = 0; | |
3540 | char *_kwnames[] = { "self", NULL }; | |
3541 | ||
3542 | self = self; | |
3543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Selected",_kwnames,&_argo0)) | |
3544 | return NULL; | |
3545 | if (_argo0) { | |
3546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p."); | |
3549 | return NULL; | |
3550 | } | |
3551 | } | |
3552 | { | |
3553 | wxPy_BEGIN_ALLOW_THREADS; | |
3554 | _result = (bool )wxPyShape_Selected(_arg0); | |
3555 | ||
3556 | wxPy_END_ALLOW_THREADS; | |
3557 | } _resultobj = Py_BuildValue("i",_result); | |
3558 | return _resultobj; | |
3559 | } | |
3560 | ||
3561 | #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected()) | |
3562 | static PyObject *_wrap_wxPyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3563 | PyObject * _resultobj; | |
3564 | bool _result; | |
3565 | wxPyShape * _arg0; | |
3566 | PyObject * _argo0 = 0; | |
3567 | char *_kwnames[] = { "self", NULL }; | |
3568 | ||
3569 | self = self; | |
3570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AncestorSelected",_kwnames,&_argo0)) | |
3571 | return NULL; | |
3572 | if (_argo0) { | |
3573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p."); | |
3576 | return NULL; | |
3577 | } | |
3578 | } | |
3579 | { | |
3580 | wxPy_BEGIN_ALLOW_THREADS; | |
3581 | _result = (bool )wxPyShape_AncestorSelected(_arg0); | |
3582 | ||
3583 | wxPy_END_ALLOW_THREADS; | |
3584 | } _resultobj = Py_BuildValue("i",_result); | |
3585 | return _resultobj; | |
3586 | } | |
3587 | ||
3588 | #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1)) | |
3589 | static PyObject *_wrap_wxPyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3590 | PyObject * _resultobj; | |
3591 | wxPyShape * _arg0; | |
3592 | int _arg1 = (int ) OP_ALL; | |
3593 | bool _arg2 = (bool ) FALSE; | |
3594 | PyObject * _argo0 = 0; | |
3595 | int tempbool2 = (int) FALSE; | |
3596 | char *_kwnames[] = { "self","sens","recursive", NULL }; | |
3597 | ||
3598 | self = self; | |
3599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3600 | return NULL; | |
3601 | if (_argo0) { | |
3602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p."); | |
3605 | return NULL; | |
3606 | } | |
3607 | } | |
3608 | _arg2 = (bool ) tempbool2; | |
3609 | { | |
3610 | wxPy_BEGIN_ALLOW_THREADS; | |
3611 | wxPyShape_SetSensitivityFilter(_arg0,_arg1,_arg2); | |
3612 | ||
3613 | wxPy_END_ALLOW_THREADS; | |
3614 | } Py_INCREF(Py_None); | |
3615 | _resultobj = Py_None; | |
3616 | return _resultobj; | |
3617 | } | |
3618 | ||
3619 | #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter()) | |
3620 | static PyObject *_wrap_wxPyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3621 | PyObject * _resultobj; | |
3622 | int _result; | |
3623 | wxPyShape * _arg0; | |
3624 | PyObject * _argo0 = 0; | |
3625 | char *_kwnames[] = { "self", NULL }; | |
3626 | ||
3627 | self = self; | |
3628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSensitivityFilter",_kwnames,&_argo0)) | |
3629 | return NULL; | |
3630 | if (_argo0) { | |
3631 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3632 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p."); | |
3634 | return NULL; | |
3635 | } | |
3636 | } | |
3637 | { | |
3638 | wxPy_BEGIN_ALLOW_THREADS; | |
3639 | _result = (int )wxPyShape_GetSensitivityFilter(_arg0); | |
3640 | ||
3641 | wxPy_END_ALLOW_THREADS; | |
3642 | } _resultobj = Py_BuildValue("i",_result); | |
3643 | return _resultobj; | |
3644 | } | |
3645 | ||
3646 | #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1)) | |
3647 | static PyObject *_wrap_wxPyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3648 | PyObject * _resultobj; | |
3649 | wxPyShape * _arg0; | |
3650 | bool _arg1; | |
3651 | bool _arg2 = (bool ) FALSE; | |
3652 | PyObject * _argo0 = 0; | |
3653 | int tempbool1; | |
3654 | int tempbool2 = (int) FALSE; | |
3655 | char *_kwnames[] = { "self","drag","recursive", NULL }; | |
3656 | ||
3657 | self = self; | |
3658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetDraggable",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3659 | return NULL; | |
3660 | if (_argo0) { | |
3661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p."); | |
3664 | return NULL; | |
3665 | } | |
3666 | } | |
3667 | _arg1 = (bool ) tempbool1; | |
3668 | _arg2 = (bool ) tempbool2; | |
3669 | { | |
3670 | wxPy_BEGIN_ALLOW_THREADS; | |
3671 | wxPyShape_SetDraggable(_arg0,_arg1,_arg2); | |
3672 | ||
3673 | wxPy_END_ALLOW_THREADS; | |
3674 | } Py_INCREF(Py_None); | |
3675 | _resultobj = Py_None; | |
3676 | return _resultobj; | |
3677 | } | |
3678 | ||
3679 | #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1)) | |
3680 | static PyObject *_wrap_wxPyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3681 | PyObject * _resultobj; | |
3682 | wxPyShape * _arg0; | |
3683 | bool _arg1; | |
3684 | bool _arg2; | |
3685 | PyObject * _argo0 = 0; | |
3686 | int tempbool1; | |
3687 | int tempbool2; | |
3688 | char *_kwnames[] = { "self","x","y", NULL }; | |
3689 | ||
3690 | self = self; | |
3691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyShape_SetFixedSize",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3692 | return NULL; | |
3693 | if (_argo0) { | |
3694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p."); | |
3697 | return NULL; | |
3698 | } | |
3699 | } | |
3700 | _arg1 = (bool ) tempbool1; | |
3701 | _arg2 = (bool ) tempbool2; | |
3702 | { | |
3703 | wxPy_BEGIN_ALLOW_THREADS; | |
3704 | wxPyShape_SetFixedSize(_arg0,_arg1,_arg2); | |
3705 | ||
3706 | wxPy_END_ALLOW_THREADS; | |
3707 | } Py_INCREF(Py_None); | |
3708 | _resultobj = Py_None; | |
3709 | return _resultobj; | |
3710 | } | |
3711 | ||
3712 | #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1)) | |
3713 | static PyObject *_wrap_wxPyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3714 | PyObject * _resultobj; | |
3715 | wxPyShape * _arg0; | |
3716 | bool * _arg1; | |
3717 | bool * _arg2; | |
3718 | PyObject * _argo0 = 0; | |
3719 | PyObject * _argo1 = 0; | |
3720 | PyObject * _argo2 = 0; | |
3721 | char *_kwnames[] = { "self","OUTPUT","OUTPUT", NULL }; | |
3722 | ||
3723 | self = self; | |
3724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape_GetFixedSize",_kwnames,&_argo0,&_argo1,&_argo2)) | |
3725 | return NULL; | |
3726 | if (_argo0) { | |
3727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p."); | |
3730 | return NULL; | |
3731 | } | |
3732 | } | |
3733 | if (_argo1) { | |
3734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_bool_p")) { | |
3736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p."); | |
3737 | return NULL; | |
3738 | } | |
3739 | } | |
3740 | if (_argo2) { | |
3741 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3742 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_bool_p")) { | |
3743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p."); | |
3744 | return NULL; | |
3745 | } | |
3746 | } | |
3747 | { | |
3748 | wxPy_BEGIN_ALLOW_THREADS; | |
3749 | wxPyShape_GetFixedSize(_arg0,_arg1,_arg2); | |
3750 | ||
3751 | wxPy_END_ALLOW_THREADS; | |
3752 | } Py_INCREF(Py_None); | |
3753 | _resultobj = Py_None; | |
3754 | return _resultobj; | |
3755 | } | |
3756 | ||
3757 | #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth()) | |
3758 | static PyObject *_wrap_wxPyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3759 | PyObject * _resultobj; | |
3760 | bool _result; | |
3761 | wxPyShape * _arg0; | |
3762 | PyObject * _argo0 = 0; | |
3763 | char *_kwnames[] = { "self", NULL }; | |
3764 | ||
3765 | self = self; | |
3766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedWidth",_kwnames,&_argo0)) | |
3767 | return NULL; | |
3768 | if (_argo0) { | |
3769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p."); | |
3772 | return NULL; | |
3773 | } | |
3774 | } | |
3775 | { | |
3776 | wxPy_BEGIN_ALLOW_THREADS; | |
3777 | _result = (bool )wxPyShape_GetFixedWidth(_arg0); | |
3778 | ||
3779 | wxPy_END_ALLOW_THREADS; | |
3780 | } _resultobj = Py_BuildValue("i",_result); | |
3781 | return _resultobj; | |
3782 | } | |
3783 | ||
3784 | #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight()) | |
3785 | static PyObject *_wrap_wxPyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3786 | PyObject * _resultobj; | |
3787 | bool _result; | |
3788 | wxPyShape * _arg0; | |
3789 | PyObject * _argo0 = 0; | |
3790 | char *_kwnames[] = { "self", NULL }; | |
3791 | ||
3792 | self = self; | |
3793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedHeight",_kwnames,&_argo0)) | |
3794 | return NULL; | |
3795 | if (_argo0) { | |
3796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p."); | |
3799 | return NULL; | |
3800 | } | |
3801 | } | |
3802 | { | |
3803 | wxPy_BEGIN_ALLOW_THREADS; | |
3804 | _result = (bool )wxPyShape_GetFixedHeight(_arg0); | |
3805 | ||
3806 | wxPy_END_ALLOW_THREADS; | |
3807 | } _resultobj = Py_BuildValue("i",_result); | |
3808 | return _resultobj; | |
3809 | } | |
3810 | ||
3811 | #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0)) | |
3812 | static PyObject *_wrap_wxPyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3813 | PyObject * _resultobj; | |
3814 | wxPyShape * _arg0; | |
3815 | bool _arg1; | |
3816 | PyObject * _argo0 = 0; | |
3817 | int tempbool1; | |
3818 | char *_kwnames[] = { "self","sp", NULL }; | |
3819 | ||
3820 | self = self; | |
3821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetSpaceAttachments",_kwnames,&_argo0,&tempbool1)) | |
3822 | return NULL; | |
3823 | if (_argo0) { | |
3824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p."); | |
3827 | return NULL; | |
3828 | } | |
3829 | } | |
3830 | _arg1 = (bool ) tempbool1; | |
3831 | { | |
3832 | wxPy_BEGIN_ALLOW_THREADS; | |
3833 | wxPyShape_SetSpaceAttachments(_arg0,_arg1); | |
3834 | ||
3835 | wxPy_END_ALLOW_THREADS; | |
3836 | } Py_INCREF(Py_None); | |
3837 | _resultobj = Py_None; | |
3838 | return _resultobj; | |
3839 | } | |
3840 | ||
3841 | #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments()) | |
3842 | static PyObject *_wrap_wxPyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3843 | PyObject * _resultobj; | |
3844 | bool _result; | |
3845 | wxPyShape * _arg0; | |
3846 | PyObject * _argo0 = 0; | |
3847 | char *_kwnames[] = { "self", NULL }; | |
3848 | ||
3849 | self = self; | |
3850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSpaceAttachments",_kwnames,&_argo0)) | |
3851 | return NULL; | |
3852 | if (_argo0) { | |
3853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p."); | |
3856 | return NULL; | |
3857 | } | |
3858 | } | |
3859 | { | |
3860 | wxPy_BEGIN_ALLOW_THREADS; | |
3861 | _result = (bool )wxPyShape_GetSpaceAttachments(_arg0); | |
3862 | ||
3863 | wxPy_END_ALLOW_THREADS; | |
3864 | } _resultobj = Py_BuildValue("i",_result); | |
3865 | return _resultobj; | |
3866 | } | |
3867 | ||
3868 | #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1)) | |
3869 | static PyObject *_wrap_wxPyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3870 | PyObject * _resultobj; | |
3871 | wxPyShape * _arg0; | |
3872 | int _arg1; | |
3873 | bool _arg2 = (bool ) FALSE; | |
3874 | PyObject * _argo0 = 0; | |
3875 | int tempbool2 = (int) FALSE; | |
3876 | char *_kwnames[] = { "self","mode","redraw", NULL }; | |
3877 | ||
3878 | self = self; | |
3879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetShadowMode",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3880 | return NULL; | |
3881 | if (_argo0) { | |
3882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p."); | |
3885 | return NULL; | |
3886 | } | |
3887 | } | |
3888 | _arg2 = (bool ) tempbool2; | |
3889 | { | |
3890 | wxPy_BEGIN_ALLOW_THREADS; | |
3891 | wxPyShape_SetShadowMode(_arg0,_arg1,_arg2); | |
3892 | ||
3893 | wxPy_END_ALLOW_THREADS; | |
3894 | } Py_INCREF(Py_None); | |
3895 | _resultobj = Py_None; | |
3896 | return _resultobj; | |
3897 | } | |
3898 | ||
3899 | #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode()) | |
3900 | static PyObject *_wrap_wxPyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3901 | PyObject * _resultobj; | |
3902 | int _result; | |
3903 | wxPyShape * _arg0; | |
3904 | PyObject * _argo0 = 0; | |
3905 | char *_kwnames[] = { "self", NULL }; | |
3906 | ||
3907 | self = self; | |
3908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetShadowMode",_kwnames,&_argo0)) | |
3909 | return NULL; | |
3910 | if (_argo0) { | |
3911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p."); | |
3914 | return NULL; | |
3915 | } | |
3916 | } | |
3917 | { | |
3918 | wxPy_BEGIN_ALLOW_THREADS; | |
3919 | _result = (int )wxPyShape_GetShadowMode(_arg0); | |
3920 | ||
3921 | wxPy_END_ALLOW_THREADS; | |
3922 | } _resultobj = Py_BuildValue("i",_result); | |
3923 | return _resultobj; | |
3924 | } | |
3925 | ||
3926 | #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3927 | static PyObject *_wrap_wxPyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3928 | PyObject * _resultobj; | |
3929 | bool _result; | |
3930 | wxPyShape * _arg0; | |
3931 | double _arg1; | |
3932 | double _arg2; | |
3933 | int * _arg3; | |
3934 | int temp; | |
3935 | double * _arg4; | |
3936 | double temp0; | |
3937 | PyObject * _argo0 = 0; | |
3938 | char *_kwnames[] = { "self","x","y", NULL }; | |
3939 | ||
3940 | self = self; | |
3941 | { | |
3942 | _arg3 = &temp; | |
3943 | } | |
3944 | { | |
3945 | _arg4 = &temp0; | |
3946 | } | |
3947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_HitTest",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3948 | return NULL; | |
3949 | if (_argo0) { | |
3950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p."); | |
3953 | return NULL; | |
3954 | } | |
3955 | } | |
3956 | { | |
3957 | wxPy_BEGIN_ALLOW_THREADS; | |
3958 | _result = (bool )wxPyShape_HitTest(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3959 | ||
3960 | wxPy_END_ALLOW_THREADS; | |
3961 | } _resultobj = Py_BuildValue("i",_result); | |
3962 | { | |
3963 | PyObject *o; | |
3964 | o = PyInt_FromLong((long) (*_arg3)); | |
3965 | _resultobj = t_output_helper(_resultobj, o); | |
3966 | } | |
3967 | { | |
3968 | PyObject *o; | |
3969 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3970 | _resultobj = t_output_helper(_resultobj, o); | |
3971 | } | |
3972 | return _resultobj; | |
3973 | } | |
3974 | ||
3975 | #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0)) | |
3976 | static PyObject *_wrap_wxPyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3977 | PyObject * _resultobj; | |
3978 | wxPyShape * _arg0; | |
3979 | bool _arg1; | |
3980 | PyObject * _argo0 = 0; | |
3981 | int tempbool1; | |
3982 | char *_kwnames[] = { "self","cr", NULL }; | |
3983 | ||
3984 | self = self; | |
3985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetCentreResize",_kwnames,&_argo0,&tempbool1)) | |
3986 | return NULL; | |
3987 | if (_argo0) { | |
3988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p."); | |
3991 | return NULL; | |
3992 | } | |
3993 | } | |
3994 | _arg1 = (bool ) tempbool1; | |
3995 | { | |
3996 | wxPy_BEGIN_ALLOW_THREADS; | |
3997 | wxPyShape_SetCentreResize(_arg0,_arg1); | |
3998 | ||
3999 | wxPy_END_ALLOW_THREADS; | |
4000 | } Py_INCREF(Py_None); | |
4001 | _resultobj = Py_None; | |
4002 | return _resultobj; | |
4003 | } | |
4004 | ||
4005 | #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize()) | |
4006 | static PyObject *_wrap_wxPyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4007 | PyObject * _resultobj; | |
4008 | bool _result; | |
4009 | wxPyShape * _arg0; | |
4010 | PyObject * _argo0 = 0; | |
4011 | char *_kwnames[] = { "self", NULL }; | |
4012 | ||
4013 | self = self; | |
4014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCentreResize",_kwnames,&_argo0)) | |
4015 | return NULL; | |
4016 | if (_argo0) { | |
4017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p."); | |
4020 | return NULL; | |
4021 | } | |
4022 | } | |
4023 | { | |
4024 | wxPy_BEGIN_ALLOW_THREADS; | |
4025 | _result = (bool )wxPyShape_GetCentreResize(_arg0); | |
4026 | ||
4027 | wxPy_END_ALLOW_THREADS; | |
4028 | } _resultobj = Py_BuildValue("i",_result); | |
4029 | return _resultobj; | |
4030 | } | |
4031 | ||
4032 | #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0)) | |
4033 | static PyObject *_wrap_wxPyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4034 | PyObject * _resultobj; | |
4035 | wxPyShape * _arg0; | |
4036 | bool _arg1; | |
4037 | PyObject * _argo0 = 0; | |
4038 | int tempbool1; | |
4039 | char *_kwnames[] = { "self","ar", NULL }; | |
4040 | ||
4041 | self = self; | |
4042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames,&_argo0,&tempbool1)) | |
4043 | return NULL; | |
4044 | if (_argo0) { | |
4045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p."); | |
4048 | return NULL; | |
4049 | } | |
4050 | } | |
4051 | _arg1 = (bool ) tempbool1; | |
4052 | { | |
4053 | wxPy_BEGIN_ALLOW_THREADS; | |
4054 | wxPyShape_SetMaintainAspectRatio(_arg0,_arg1); | |
4055 | ||
4056 | wxPy_END_ALLOW_THREADS; | |
4057 | } Py_INCREF(Py_None); | |
4058 | _resultobj = Py_None; | |
4059 | return _resultobj; | |
4060 | } | |
4061 | ||
4062 | #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio()) | |
4063 | static PyObject *_wrap_wxPyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4064 | PyObject * _resultobj; | |
4065 | bool _result; | |
4066 | wxPyShape * _arg0; | |
4067 | PyObject * _argo0 = 0; | |
4068 | char *_kwnames[] = { "self", NULL }; | |
4069 | ||
4070 | self = self; | |
4071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetMaintainAspectRatio",_kwnames,&_argo0)) | |
4072 | return NULL; | |
4073 | if (_argo0) { | |
4074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p."); | |
4077 | return NULL; | |
4078 | } | |
4079 | } | |
4080 | { | |
4081 | wxPy_BEGIN_ALLOW_THREADS; | |
4082 | _result = (bool )wxPyShape_GetMaintainAspectRatio(_arg0); | |
4083 | ||
4084 | wxPy_END_ALLOW_THREADS; | |
4085 | } _resultobj = Py_BuildValue("i",_result); | |
4086 | return _resultobj; | |
4087 | } | |
4088 | ||
4089 | static PyObject * wxPyShape_GetLines(wxPyShape *self) { | |
4090 | wxList& list = self->GetLines(); | |
4091 | return wxPy_ConvertList(&list, "wxPyLineShape"); | |
4092 | } | |
4093 | static PyObject *_wrap_wxPyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4094 | PyObject * _resultobj; | |
4095 | PyObject * _result; | |
4096 | wxPyShape * _arg0; | |
4097 | PyObject * _argo0 = 0; | |
4098 | char *_kwnames[] = { "self", NULL }; | |
4099 | ||
4100 | self = self; | |
4101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetLines",_kwnames,&_argo0)) | |
4102 | return NULL; | |
4103 | if (_argo0) { | |
4104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p."); | |
4107 | return NULL; | |
4108 | } | |
4109 | } | |
4110 | { | |
4111 | wxPy_BEGIN_ALLOW_THREADS; | |
4112 | _result = (PyObject *)wxPyShape_GetLines(_arg0); | |
4113 | ||
4114 | wxPy_END_ALLOW_THREADS; | |
4115 | }{ | |
4116 | _resultobj = _result; | |
4117 | } | |
4118 | return _resultobj; | |
4119 | } | |
4120 | ||
4121 | #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0)) | |
4122 | static PyObject *_wrap_wxPyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4123 | PyObject * _resultobj; | |
4124 | wxPyShape * _arg0; | |
4125 | bool _arg1; | |
4126 | PyObject * _argo0 = 0; | |
4127 | int tempbool1; | |
4128 | char *_kwnames[] = { "self","flag", NULL }; | |
4129 | ||
4130 | self = self; | |
4131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDisableLabel",_kwnames,&_argo0,&tempbool1)) | |
4132 | return NULL; | |
4133 | if (_argo0) { | |
4134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p."); | |
4137 | return NULL; | |
4138 | } | |
4139 | } | |
4140 | _arg1 = (bool ) tempbool1; | |
4141 | { | |
4142 | wxPy_BEGIN_ALLOW_THREADS; | |
4143 | wxPyShape_SetDisableLabel(_arg0,_arg1); | |
4144 | ||
4145 | wxPy_END_ALLOW_THREADS; | |
4146 | } Py_INCREF(Py_None); | |
4147 | _resultobj = Py_None; | |
4148 | return _resultobj; | |
4149 | } | |
4150 | ||
4151 | #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel()) | |
4152 | static PyObject *_wrap_wxPyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4153 | PyObject * _resultobj; | |
4154 | bool _result; | |
4155 | wxPyShape * _arg0; | |
4156 | PyObject * _argo0 = 0; | |
4157 | char *_kwnames[] = { "self", NULL }; | |
4158 | ||
4159 | self = self; | |
4160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDisableLabel",_kwnames,&_argo0)) | |
4161 | return NULL; | |
4162 | if (_argo0) { | |
4163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p."); | |
4166 | return NULL; | |
4167 | } | |
4168 | } | |
4169 | { | |
4170 | wxPy_BEGIN_ALLOW_THREADS; | |
4171 | _result = (bool )wxPyShape_GetDisableLabel(_arg0); | |
4172 | ||
4173 | wxPy_END_ALLOW_THREADS; | |
4174 | } _resultobj = Py_BuildValue("i",_result); | |
4175 | return _resultobj; | |
4176 | } | |
4177 | ||
4178 | #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0)) | |
4179 | static PyObject *_wrap_wxPyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4180 | PyObject * _resultobj; | |
4181 | wxPyShape * _arg0; | |
4182 | int _arg1; | |
4183 | PyObject * _argo0 = 0; | |
4184 | char *_kwnames[] = { "self","mode", NULL }; | |
4185 | ||
4186 | self = self; | |
4187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetAttachmentMode",_kwnames,&_argo0,&_arg1)) | |
4188 | return NULL; | |
4189 | if (_argo0) { | |
4190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p."); | |
4193 | return NULL; | |
4194 | } | |
4195 | } | |
4196 | { | |
4197 | wxPy_BEGIN_ALLOW_THREADS; | |
4198 | wxPyShape_SetAttachmentMode(_arg0,_arg1); | |
4199 | ||
4200 | wxPy_END_ALLOW_THREADS; | |
4201 | } Py_INCREF(Py_None); | |
4202 | _resultobj = Py_None; | |
4203 | return _resultobj; | |
4204 | } | |
4205 | ||
4206 | #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode()) | |
4207 | static PyObject *_wrap_wxPyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4208 | PyObject * _resultobj; | |
4209 | int _result; | |
4210 | wxPyShape * _arg0; | |
4211 | PyObject * _argo0 = 0; | |
4212 | char *_kwnames[] = { "self", NULL }; | |
4213 | ||
4214 | self = self; | |
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetAttachmentMode",_kwnames,&_argo0)) | |
4216 | return NULL; | |
4217 | if (_argo0) { | |
4218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p."); | |
4221 | return NULL; | |
4222 | } | |
4223 | } | |
4224 | { | |
4225 | wxPy_BEGIN_ALLOW_THREADS; | |
4226 | _result = (int )wxPyShape_GetAttachmentMode(_arg0); | |
4227 | ||
4228 | wxPy_END_ALLOW_THREADS; | |
4229 | } _resultobj = Py_BuildValue("i",_result); | |
4230 | return _resultobj; | |
4231 | } | |
4232 | ||
4233 | #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
4234 | static PyObject *_wrap_wxPyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4235 | PyObject * _resultobj; | |
4236 | wxPyShape * _arg0; | |
4237 | long _arg1; | |
4238 | PyObject * _argo0 = 0; | |
4239 | char *_kwnames[] = { "self","i", NULL }; | |
4240 | ||
4241 | self = self; | |
4242 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetId",_kwnames,&_argo0,&_arg1)) | |
4243 | return NULL; | |
4244 | if (_argo0) { | |
4245 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4246 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4247 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p."); | |
4248 | return NULL; | |
4249 | } | |
4250 | } | |
4251 | { | |
4252 | wxPy_BEGIN_ALLOW_THREADS; | |
4253 | wxPyShape_SetId(_arg0,_arg1); | |
4254 | ||
4255 | wxPy_END_ALLOW_THREADS; | |
4256 | } Py_INCREF(Py_None); | |
4257 | _resultobj = Py_None; | |
4258 | return _resultobj; | |
4259 | } | |
4260 | ||
4261 | #define wxPyShape_GetId(_swigobj) (_swigobj->GetId()) | |
4262 | static PyObject *_wrap_wxPyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4263 | PyObject * _resultobj; | |
4264 | long _result; | |
4265 | wxPyShape * _arg0; | |
4266 | PyObject * _argo0 = 0; | |
4267 | char *_kwnames[] = { "self", NULL }; | |
4268 | ||
4269 | self = self; | |
4270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetId",_kwnames,&_argo0)) | |
4271 | return NULL; | |
4272 | if (_argo0) { | |
4273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p."); | |
4276 | return NULL; | |
4277 | } | |
4278 | } | |
4279 | { | |
4280 | wxPy_BEGIN_ALLOW_THREADS; | |
4281 | _result = (long )wxPyShape_GetId(_arg0); | |
4282 | ||
4283 | wxPy_END_ALLOW_THREADS; | |
4284 | } _resultobj = Py_BuildValue("l",_result); | |
4285 | return _resultobj; | |
4286 | } | |
4287 | ||
4288 | #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0)) | |
4289 | static PyObject *_wrap_wxPyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4290 | PyObject * _resultobj; | |
4291 | wxPyShape * _arg0; | |
4292 | wxPen * _arg1; | |
4293 | PyObject * _argo0 = 0; | |
4294 | PyObject * _argo1 = 0; | |
4295 | char *_kwnames[] = { "self","pen", NULL }; | |
4296 | ||
4297 | self = self; | |
4298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetPen",_kwnames,&_argo0,&_argo1)) | |
4299 | return NULL; | |
4300 | if (_argo0) { | |
4301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p."); | |
4304 | return NULL; | |
4305 | } | |
4306 | } | |
4307 | if (_argo1) { | |
4308 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4309 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
4310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetPen. Expected _wxPen_p."); | |
4311 | return NULL; | |
4312 | } | |
4313 | } | |
4314 | { | |
4315 | wxPy_BEGIN_ALLOW_THREADS; | |
4316 | wxPyShape_SetPen(_arg0,_arg1); | |
4317 | ||
4318 | wxPy_END_ALLOW_THREADS; | |
4319 | } Py_INCREF(Py_None); | |
4320 | _resultobj = Py_None; | |
4321 | return _resultobj; | |
4322 | } | |
4323 | ||
4324 | #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0)) | |
4325 | static PyObject *_wrap_wxPyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4326 | PyObject * _resultobj; | |
4327 | wxPyShape * _arg0; | |
4328 | wxBrush * _arg1; | |
4329 | PyObject * _argo0 = 0; | |
4330 | PyObject * _argo1 = 0; | |
4331 | char *_kwnames[] = { "self","brush", NULL }; | |
4332 | ||
4333 | self = self; | |
4334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetBrush",_kwnames,&_argo0,&_argo1)) | |
4335 | return NULL; | |
4336 | if (_argo0) { | |
4337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p."); | |
4340 | return NULL; | |
4341 | } | |
4342 | } | |
4343 | if (_argo1) { | |
4344 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4345 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
4346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetBrush. Expected _wxBrush_p."); | |
4347 | return NULL; | |
4348 | } | |
4349 | } | |
4350 | { | |
4351 | wxPy_BEGIN_ALLOW_THREADS; | |
4352 | wxPyShape_SetBrush(_arg0,_arg1); | |
4353 | ||
4354 | wxPy_END_ALLOW_THREADS; | |
4355 | } Py_INCREF(Py_None); | |
4356 | _resultobj = Py_None; | |
4357 | return _resultobj; | |
4358 | } | |
4359 | ||
714d23b4 RD |
4360 | static void wxPyShape_SetClientData(wxPyShape *self,PyObject * userData) { |
4361 | wxPyUserData* data = NULL; | |
4362 | if (userData) | |
4363 | data = new wxPyUserData(userData); | |
4364 | self->SetClientData(data); | |
4365 | } | |
e91a9dfc RD |
4366 | static PyObject *_wrap_wxPyShape_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { |
4367 | PyObject * _resultobj; | |
4368 | wxPyShape * _arg0; | |
714d23b4 | 4369 | PyObject * _arg1; |
e91a9dfc | 4370 | PyObject * _argo0 = 0; |
714d23b4 RD |
4371 | PyObject * _obj1 = 0; |
4372 | char *_kwnames[] = { "self","userData", NULL }; | |
e91a9dfc RD |
4373 | |
4374 | self = self; | |
714d23b4 | 4375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetClientData",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
4376 | return NULL; |
4377 | if (_argo0) { | |
4378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p."); | |
4381 | return NULL; | |
4382 | } | |
4383 | } | |
714d23b4 RD |
4384 | { |
4385 | _arg1 = _obj1; | |
4386 | } | |
e91a9dfc RD |
4387 | { |
4388 | wxPy_BEGIN_ALLOW_THREADS; | |
4389 | wxPyShape_SetClientData(_arg0,_arg1); | |
4390 | ||
4391 | wxPy_END_ALLOW_THREADS; | |
4392 | } Py_INCREF(Py_None); | |
4393 | _resultobj = Py_None; | |
4394 | return _resultobj; | |
4395 | } | |
4396 | ||
714d23b4 RD |
4397 | static PyObject * wxPyShape_GetClientData(wxPyShape *self) { |
4398 | wxPyUserData* data = (wxPyUserData*)self->GetClientData(); | |
4399 | if (data) { | |
4400 | Py_INCREF(data->m_obj); | |
4401 | return data->m_obj; | |
4402 | } else { | |
4403 | Py_INCREF(Py_None); | |
4404 | return Py_None; | |
4405 | } | |
4406 | } | |
e91a9dfc RD |
4407 | static PyObject *_wrap_wxPyShape_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { |
4408 | PyObject * _resultobj; | |
714d23b4 | 4409 | PyObject * _result; |
e91a9dfc RD |
4410 | wxPyShape * _arg0; |
4411 | PyObject * _argo0 = 0; | |
4412 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
4413 | |
4414 | self = self; | |
4415 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetClientData",_kwnames,&_argo0)) | |
4416 | return NULL; | |
4417 | if (_argo0) { | |
4418 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4419 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p."); | |
4421 | return NULL; | |
4422 | } | |
4423 | } | |
4424 | { | |
4425 | wxPy_BEGIN_ALLOW_THREADS; | |
714d23b4 | 4426 | _result = (PyObject *)wxPyShape_GetClientData(_arg0); |
e91a9dfc RD |
4427 | |
4428 | wxPy_END_ALLOW_THREADS; | |
714d23b4 RD |
4429 | }{ |
4430 | _resultobj = _result; | |
4431 | } | |
e91a9dfc RD |
4432 | return _resultobj; |
4433 | } | |
4434 | ||
4435 | #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
4436 | static PyObject *_wrap_wxPyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4437 | PyObject * _resultobj; | |
4438 | wxPyShape * _arg0; | |
4439 | bool _arg1; | |
4440 | PyObject * _argo0 = 0; | |
4441 | int tempbool1; | |
4442 | char *_kwnames[] = { "self","show", NULL }; | |
4443 | ||
4444 | self = self; | |
4445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_Show",_kwnames,&_argo0,&tempbool1)) | |
4446 | return NULL; | |
4447 | if (_argo0) { | |
4448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p."); | |
4451 | return NULL; | |
4452 | } | |
4453 | } | |
4454 | _arg1 = (bool ) tempbool1; | |
4455 | { | |
4456 | wxPy_BEGIN_ALLOW_THREADS; | |
4457 | wxPyShape_Show(_arg0,_arg1); | |
4458 | ||
4459 | wxPy_END_ALLOW_THREADS; | |
4460 | } Py_INCREF(Py_None); | |
4461 | _resultobj = Py_None; | |
4462 | return _resultobj; | |
4463 | } | |
4464 | ||
4465 | #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown()) | |
4466 | static PyObject *_wrap_wxPyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4467 | PyObject * _resultobj; | |
4468 | bool _result; | |
4469 | wxPyShape * _arg0; | |
4470 | PyObject * _argo0 = 0; | |
4471 | char *_kwnames[] = { "self", NULL }; | |
4472 | ||
4473 | self = self; | |
4474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsShown",_kwnames,&_argo0)) | |
4475 | return NULL; | |
4476 | if (_argo0) { | |
4477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p."); | |
4480 | return NULL; | |
4481 | } | |
4482 | } | |
4483 | { | |
4484 | wxPy_BEGIN_ALLOW_THREADS; | |
4485 | _result = (bool )wxPyShape_IsShown(_arg0); | |
4486 | ||
4487 | wxPy_END_ALLOW_THREADS; | |
4488 | } _resultobj = Py_BuildValue("i",_result); | |
4489 | return _resultobj; | |
4490 | } | |
4491 | ||
4492 | #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4493 | static PyObject *_wrap_wxPyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4494 | PyObject * _resultobj; | |
4495 | wxPyShape * _arg0; | |
4496 | wxDC * _arg1; | |
4497 | double _arg2; | |
4498 | double _arg3; | |
4499 | bool _arg4 = (bool ) TRUE; | |
4500 | PyObject * _argo0 = 0; | |
4501 | PyObject * _argo1 = 0; | |
4502 | int tempbool4 = (int) TRUE; | |
4503 | char *_kwnames[] = { "self","dc","x1","y1","display", NULL }; | |
4504 | ||
4505 | self = self; | |
4506 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|i:wxPyShape_Move",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&tempbool4)) | |
4507 | return NULL; | |
4508 | if (_argo0) { | |
4509 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4510 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p."); | |
4512 | return NULL; | |
4513 | } | |
4514 | } | |
4515 | if (_argo1) { | |
4516 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4517 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p."); | |
4519 | return NULL; | |
4520 | } | |
4521 | } | |
4522 | _arg4 = (bool ) tempbool4; | |
4523 | { | |
4524 | wxPy_BEGIN_ALLOW_THREADS; | |
4525 | wxPyShape_Move(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
4526 | ||
4527 | wxPy_END_ALLOW_THREADS; | |
4528 | } Py_INCREF(Py_None); | |
4529 | _resultobj = Py_None; | |
4530 | return _resultobj; | |
4531 | } | |
4532 | ||
4533 | #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0)) | |
4534 | static PyObject *_wrap_wxPyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4535 | PyObject * _resultobj; | |
4536 | wxPyShape * _arg0; | |
4537 | wxDC * _arg1; | |
4538 | PyObject * _argo0 = 0; | |
4539 | PyObject * _argo1 = 0; | |
4540 | char *_kwnames[] = { "self","dc", NULL }; | |
4541 | ||
4542 | self = self; | |
4543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Erase",_kwnames,&_argo0,&_argo1)) | |
4544 | return NULL; | |
4545 | if (_argo0) { | |
4546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p."); | |
4549 | return NULL; | |
4550 | } | |
4551 | } | |
4552 | if (_argo1) { | |
4553 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4554 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p."); | |
4556 | return NULL; | |
4557 | } | |
4558 | } | |
4559 | { | |
4560 | wxPy_BEGIN_ALLOW_THREADS; | |
4561 | wxPyShape_Erase(_arg0,*_arg1); | |
4562 | ||
4563 | wxPy_END_ALLOW_THREADS; | |
4564 | } Py_INCREF(Py_None); | |
4565 | _resultobj = Py_None; | |
4566 | return _resultobj; | |
4567 | } | |
4568 | ||
4569 | #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0)) | |
4570 | static PyObject *_wrap_wxPyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4571 | PyObject * _resultobj; | |
4572 | wxPyShape * _arg0; | |
4573 | wxDC * _arg1; | |
4574 | PyObject * _argo0 = 0; | |
4575 | PyObject * _argo1 = 0; | |
4576 | char *_kwnames[] = { "self","dc", NULL }; | |
4577 | ||
4578 | self = self; | |
4579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_EraseContents",_kwnames,&_argo0,&_argo1)) | |
4580 | return NULL; | |
4581 | if (_argo0) { | |
4582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p."); | |
4585 | return NULL; | |
4586 | } | |
4587 | } | |
4588 | if (_argo1) { | |
4589 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4590 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p."); | |
4592 | return NULL; | |
4593 | } | |
4594 | } | |
4595 | { | |
4596 | wxPy_BEGIN_ALLOW_THREADS; | |
4597 | wxPyShape_EraseContents(_arg0,*_arg1); | |
4598 | ||
4599 | wxPy_END_ALLOW_THREADS; | |
4600 | } Py_INCREF(Py_None); | |
4601 | _resultobj = Py_None; | |
4602 | return _resultobj; | |
4603 | } | |
4604 | ||
4605 | #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0)) | |
4606 | static PyObject *_wrap_wxPyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4607 | PyObject * _resultobj; | |
4608 | wxPyShape * _arg0; | |
4609 | wxDC * _arg1; | |
4610 | PyObject * _argo0 = 0; | |
4611 | PyObject * _argo1 = 0; | |
4612 | char *_kwnames[] = { "self","dc", NULL }; | |
4613 | ||
4614 | self = self; | |
4615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Draw",_kwnames,&_argo0,&_argo1)) | |
4616 | return NULL; | |
4617 | if (_argo0) { | |
4618 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4619 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p."); | |
4621 | return NULL; | |
4622 | } | |
4623 | } | |
4624 | if (_argo1) { | |
4625 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4626 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p."); | |
4628 | return NULL; | |
4629 | } | |
4630 | } | |
4631 | { | |
4632 | wxPy_BEGIN_ALLOW_THREADS; | |
4633 | wxPyShape_Draw(_arg0,*_arg1); | |
4634 | ||
4635 | wxPy_END_ALLOW_THREADS; | |
4636 | } Py_INCREF(Py_None); | |
4637 | _resultobj = Py_None; | |
4638 | return _resultobj; | |
4639 | } | |
4640 | ||
4641 | #define wxPyShape_Flash(_swigobj) (_swigobj->Flash()) | |
4642 | static PyObject *_wrap_wxPyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4643 | PyObject * _resultobj; | |
4644 | wxPyShape * _arg0; | |
4645 | PyObject * _argo0 = 0; | |
4646 | char *_kwnames[] = { "self", NULL }; | |
4647 | ||
4648 | self = self; | |
4649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Flash",_kwnames,&_argo0)) | |
4650 | return NULL; | |
4651 | if (_argo0) { | |
4652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p."); | |
4655 | return NULL; | |
4656 | } | |
4657 | } | |
4658 | { | |
4659 | wxPy_BEGIN_ALLOW_THREADS; | |
4660 | wxPyShape_Flash(_arg0); | |
4661 | ||
4662 | wxPy_END_ALLOW_THREADS; | |
4663 | } Py_INCREF(Py_None); | |
4664 | _resultobj = Py_None; | |
4665 | return _resultobj; | |
4666 | } | |
4667 | ||
4668 | #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0)) | |
4669 | static PyObject *_wrap_wxPyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4670 | PyObject * _resultobj; | |
4671 | wxPyShape * _arg0; | |
4672 | wxDC * _arg1; | |
4673 | PyObject * _argo0 = 0; | |
4674 | PyObject * _argo1 = 0; | |
4675 | char *_kwnames[] = { "self","dc", NULL }; | |
4676 | ||
4677 | self = self; | |
4678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_MoveLinks",_kwnames,&_argo0,&_argo1)) | |
4679 | return NULL; | |
4680 | if (_argo0) { | |
4681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p."); | |
4684 | return NULL; | |
4685 | } | |
4686 | } | |
4687 | if (_argo1) { | |
4688 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4689 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p."); | |
4691 | return NULL; | |
4692 | } | |
4693 | } | |
4694 | { | |
4695 | wxPy_BEGIN_ALLOW_THREADS; | |
4696 | wxPyShape_MoveLinks(_arg0,*_arg1); | |
4697 | ||
4698 | wxPy_END_ALLOW_THREADS; | |
4699 | } Py_INCREF(Py_None); | |
4700 | _resultobj = Py_None; | |
4701 | return _resultobj; | |
4702 | } | |
4703 | ||
4704 | #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0)) | |
4705 | static PyObject *_wrap_wxPyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4706 | PyObject * _resultobj; | |
4707 | wxPyShape * _arg0; | |
4708 | wxDC * _arg1; | |
4709 | PyObject * _argo0 = 0; | |
4710 | PyObject * _argo1 = 0; | |
4711 | char *_kwnames[] = { "self","dc", NULL }; | |
4712 | ||
4713 | self = self; | |
4714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_DrawContents",_kwnames,&_argo0,&_argo1)) | |
4715 | return NULL; | |
4716 | if (_argo0) { | |
4717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p."); | |
4720 | return NULL; | |
4721 | } | |
4722 | } | |
4723 | if (_argo1) { | |
4724 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4725 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p."); | |
4727 | return NULL; | |
4728 | } | |
4729 | } | |
4730 | { | |
4731 | wxPy_BEGIN_ALLOW_THREADS; | |
4732 | wxPyShape_DrawContents(_arg0,*_arg1); | |
4733 | ||
4734 | wxPy_END_ALLOW_THREADS; | |
4735 | } Py_INCREF(Py_None); | |
4736 | _resultobj = Py_None; | |
4737 | return _resultobj; | |
4738 | } | |
4739 | ||
4740 | #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2)) | |
4741 | static PyObject *_wrap_wxPyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4742 | PyObject * _resultobj; | |
4743 | wxPyShape * _arg0; | |
4744 | double _arg1; | |
4745 | double _arg2; | |
4746 | bool _arg3 = (bool ) TRUE; | |
4747 | PyObject * _argo0 = 0; | |
4748 | int tempbool3 = (int) TRUE; | |
4749 | char *_kwnames[] = { "self","x","y","recursive", NULL }; | |
4750 | ||
4751 | self = self; | |
4752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShape_SetSize",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
4753 | return NULL; | |
4754 | if (_argo0) { | |
4755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p."); | |
4758 | return NULL; | |
4759 | } | |
4760 | } | |
4761 | _arg3 = (bool ) tempbool3; | |
4762 | { | |
4763 | wxPy_BEGIN_ALLOW_THREADS; | |
4764 | wxPyShape_SetSize(_arg0,_arg1,_arg2,_arg3); | |
4765 | ||
4766 | wxPy_END_ALLOW_THREADS; | |
4767 | } Py_INCREF(Py_None); | |
4768 | _resultobj = Py_None; | |
4769 | return _resultobj; | |
4770 | } | |
4771 | ||
4772 | #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1)) | |
4773 | static PyObject *_wrap_wxPyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4774 | PyObject * _resultobj; | |
4775 | wxPyShape * _arg0; | |
4776 | double _arg1; | |
4777 | double _arg2; | |
4778 | PyObject * _argo0 = 0; | |
4779 | char *_kwnames[] = { "self","x","y", NULL }; | |
4780 | ||
4781 | self = self; | |
4782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_SetAttachmentSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4783 | return NULL; | |
4784 | if (_argo0) { | |
4785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p."); | |
4788 | return NULL; | |
4789 | } | |
4790 | } | |
4791 | { | |
4792 | wxPy_BEGIN_ALLOW_THREADS; | |
4793 | wxPyShape_SetAttachmentSize(_arg0,_arg1,_arg2); | |
4794 | ||
4795 | wxPy_END_ALLOW_THREADS; | |
4796 | } Py_INCREF(Py_None); | |
4797 | _resultobj = Py_None; | |
4798 | return _resultobj; | |
4799 | } | |
4800 | ||
4801 | #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0)) | |
4802 | static PyObject *_wrap_wxPyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4803 | PyObject * _resultobj; | |
4804 | wxPyShape * _arg0; | |
4805 | wxPyShapeCanvas * _arg1; | |
4806 | PyObject * _argo0 = 0; | |
4807 | PyObject * _argo1 = 0; | |
4808 | char *_kwnames[] = { "self","can", NULL }; | |
4809 | ||
4810 | self = self; | |
4811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Attach",_kwnames,&_argo0,&_argo1)) | |
4812 | return NULL; | |
4813 | if (_argo0) { | |
4814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p."); | |
4817 | return NULL; | |
4818 | } | |
4819 | } | |
4820 | if (_argo1) { | |
4821 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4822 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
4823 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p."); | |
4824 | return NULL; | |
4825 | } | |
4826 | } | |
4827 | { | |
4828 | wxPy_BEGIN_ALLOW_THREADS; | |
4829 | wxPyShape_Attach(_arg0,_arg1); | |
4830 | ||
4831 | wxPy_END_ALLOW_THREADS; | |
4832 | } Py_INCREF(Py_None); | |
4833 | _resultobj = Py_None; | |
4834 | return _resultobj; | |
4835 | } | |
4836 | ||
4837 | #define wxPyShape_Detach(_swigobj) (_swigobj->Detach()) | |
4838 | static PyObject *_wrap_wxPyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4839 | PyObject * _resultobj; | |
4840 | wxPyShape * _arg0; | |
4841 | PyObject * _argo0 = 0; | |
4842 | char *_kwnames[] = { "self", NULL }; | |
4843 | ||
4844 | self = self; | |
4845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Detach",_kwnames,&_argo0)) | |
4846 | return NULL; | |
4847 | if (_argo0) { | |
4848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p."); | |
4851 | return NULL; | |
4852 | } | |
4853 | } | |
4854 | { | |
4855 | wxPy_BEGIN_ALLOW_THREADS; | |
4856 | wxPyShape_Detach(_arg0); | |
4857 | ||
4858 | wxPy_END_ALLOW_THREADS; | |
4859 | } Py_INCREF(Py_None); | |
4860 | _resultobj = Py_None; | |
4861 | return _resultobj; | |
4862 | } | |
4863 | ||
4864 | #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain()) | |
4865 | static PyObject *_wrap_wxPyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4866 | PyObject * _resultobj; | |
4867 | bool _result; | |
4868 | wxPyShape * _arg0; | |
4869 | PyObject * _argo0 = 0; | |
4870 | char *_kwnames[] = { "self", NULL }; | |
4871 | ||
4872 | self = self; | |
4873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Constrain",_kwnames,&_argo0)) | |
4874 | return NULL; | |
4875 | if (_argo0) { | |
4876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p."); | |
4879 | return NULL; | |
4880 | } | |
4881 | } | |
4882 | { | |
4883 | wxPy_BEGIN_ALLOW_THREADS; | |
4884 | _result = (bool )wxPyShape_Constrain(_arg0); | |
4885 | ||
4886 | wxPy_END_ALLOW_THREADS; | |
4887 | } _resultobj = Py_BuildValue("i",_result); | |
4888 | return _resultobj; | |
4889 | } | |
4890 | ||
4891 | #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4892 | static PyObject *_wrap_wxPyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4893 | PyObject * _resultobj; | |
4894 | wxPyShape * _arg0; | |
4895 | wxPyLineShape * _arg1; | |
4896 | wxPyShape * _arg2; | |
4897 | int _arg3 = (int ) 0; | |
4898 | int _arg4 = (int ) 0; | |
4899 | int _arg5 = (int ) -1; | |
4900 | int _arg6 = (int ) -1; | |
4901 | PyObject * _argo0 = 0; | |
4902 | PyObject * _argo1 = 0; | |
4903 | PyObject * _argo2 = 0; | |
4904 | char *_kwnames[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL }; | |
4905 | ||
4906 | self = self; | |
4907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiii:wxPyShape_AddLine",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
4908 | return NULL; | |
4909 | if (_argo0) { | |
4910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p."); | |
4913 | return NULL; | |
4914 | } | |
4915 | } | |
4916 | if (_argo1) { | |
4917 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4918 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
4919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p."); | |
4920 | return NULL; | |
4921 | } | |
4922 | } | |
4923 | if (_argo2) { | |
4924 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4925 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
4926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p."); | |
4927 | return NULL; | |
4928 | } | |
4929 | } | |
4930 | { | |
4931 | wxPy_BEGIN_ALLOW_THREADS; | |
4932 | wxPyShape_AddLine(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4933 | ||
4934 | wxPy_END_ALLOW_THREADS; | |
4935 | } Py_INCREF(Py_None); | |
4936 | _resultobj = Py_None; | |
4937 | return _resultobj; | |
4938 | } | |
4939 | ||
4940 | #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0)) | |
4941 | static PyObject *_wrap_wxPyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4942 | PyObject * _resultobj; | |
4943 | int _result; | |
4944 | wxPyShape * _arg0; | |
4945 | wxPyLineShape * _arg1; | |
4946 | PyObject * _argo0 = 0; | |
4947 | PyObject * _argo1 = 0; | |
4948 | char *_kwnames[] = { "self","line", NULL }; | |
4949 | ||
4950 | self = self; | |
4951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetLinePosition",_kwnames,&_argo0,&_argo1)) | |
4952 | return NULL; | |
4953 | if (_argo0) { | |
4954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p."); | |
4957 | return NULL; | |
4958 | } | |
4959 | } | |
4960 | if (_argo1) { | |
4961 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4962 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
4963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p."); | |
4964 | return NULL; | |
4965 | } | |
4966 | } | |
4967 | { | |
4968 | wxPy_BEGIN_ALLOW_THREADS; | |
4969 | _result = (int )wxPyShape_GetLinePosition(_arg0,_arg1); | |
4970 | ||
4971 | wxPy_END_ALLOW_THREADS; | |
4972 | } _resultobj = Py_BuildValue("i",_result); | |
4973 | return _resultobj; | |
4974 | } | |
4975 | ||
4976 | #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) | |
4977 | static PyObject *_wrap_wxPyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4978 | PyObject * _resultobj; | |
4979 | wxPyShape * _arg0; | |
4980 | wxString * _arg1; | |
4981 | PyObject * _argo0 = 0; | |
4982 | PyObject * _obj1 = 0; | |
4983 | char *_kwnames[] = { "self","string", NULL }; | |
4984 | ||
4985 | self = self; | |
4986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddText",_kwnames,&_argo0,&_obj1)) | |
4987 | return NULL; | |
4988 | if (_argo0) { | |
4989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p."); | |
4992 | return NULL; | |
4993 | } | |
4994 | } | |
4995 | { | |
185d7c3e RD |
4996 | #if PYTHON_API_VERSION >= 1009 |
4997 | char* tmpPtr; int tmpSize; | |
4998 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
4999 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5000 | return NULL; | |
5001 | } | |
5002 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5003 | return NULL; | |
5004 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5005 | #else | |
e91a9dfc RD |
5006 | if (!PyString_Check(_obj1)) { |
5007 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5008 | return NULL; | |
5009 | } | |
185d7c3e RD |
5010 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5011 | #endif | |
e91a9dfc RD |
5012 | } |
5013 | { | |
5014 | wxPy_BEGIN_ALLOW_THREADS; | |
5015 | wxPyShape_AddText(_arg0,*_arg1); | |
5016 | ||
5017 | wxPy_END_ALLOW_THREADS; | |
5018 | } Py_INCREF(Py_None); | |
5019 | _resultobj = Py_None; | |
5020 | { | |
5021 | if (_obj1) | |
5022 | delete _arg1; | |
5023 | } | |
5024 | return _resultobj; | |
5025 | } | |
5026 | ||
5027 | #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen()) | |
5028 | static PyObject *_wrap_wxPyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5029 | PyObject * _resultobj; | |
5030 | wxPen * _result; | |
5031 | wxPyShape * _arg0; | |
5032 | PyObject * _argo0 = 0; | |
5033 | char *_kwnames[] = { "self", NULL }; | |
5034 | char _ptemp[128]; | |
5035 | ||
5036 | self = self; | |
5037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetPen",_kwnames,&_argo0)) | |
5038 | return NULL; | |
5039 | if (_argo0) { | |
5040 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5041 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p."); | |
5043 | return NULL; | |
5044 | } | |
5045 | } | |
5046 | { | |
5047 | wxPy_BEGIN_ALLOW_THREADS; | |
5048 | _result = (wxPen *)wxPyShape_GetPen(_arg0); | |
5049 | ||
5050 | wxPy_END_ALLOW_THREADS; | |
5051 | } if (_result) { | |
5052 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
5053 | _resultobj = Py_BuildValue("s",_ptemp); | |
5054 | } else { | |
5055 | Py_INCREF(Py_None); | |
5056 | _resultobj = Py_None; | |
5057 | } | |
5058 | return _resultobj; | |
5059 | } | |
5060 | ||
5061 | #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush()) | |
5062 | static PyObject *_wrap_wxPyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5063 | PyObject * _resultobj; | |
5064 | wxBrush * _result; | |
5065 | wxPyShape * _arg0; | |
5066 | PyObject * _argo0 = 0; | |
5067 | char *_kwnames[] = { "self", NULL }; | |
5068 | char _ptemp[128]; | |
5069 | ||
5070 | self = self; | |
5071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBrush",_kwnames,&_argo0)) | |
5072 | return NULL; | |
5073 | if (_argo0) { | |
5074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p."); | |
5077 | return NULL; | |
5078 | } | |
5079 | } | |
5080 | { | |
5081 | wxPy_BEGIN_ALLOW_THREADS; | |
5082 | _result = (wxBrush *)wxPyShape_GetBrush(_arg0); | |
5083 | ||
5084 | wxPy_END_ALLOW_THREADS; | |
5085 | } if (_result) { | |
5086 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
5087 | _resultobj = Py_BuildValue("s",_ptemp); | |
5088 | } else { | |
5089 | Py_INCREF(Py_None); | |
5090 | _resultobj = Py_None; | |
5091 | } | |
5092 | return _resultobj; | |
5093 | } | |
5094 | ||
5095 | #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize()) | |
5096 | static PyObject *_wrap_wxPyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5097 | PyObject * _resultobj; | |
5098 | wxPyShape * _arg0; | |
5099 | PyObject * _argo0 = 0; | |
5100 | char *_kwnames[] = { "self", NULL }; | |
5101 | ||
5102 | self = self; | |
5103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_SetDefaultRegionSize",_kwnames,&_argo0)) | |
5104 | return NULL; | |
5105 | if (_argo0) { | |
5106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p."); | |
5109 | return NULL; | |
5110 | } | |
5111 | } | |
5112 | { | |
5113 | wxPy_BEGIN_ALLOW_THREADS; | |
5114 | wxPyShape_SetDefaultRegionSize(_arg0); | |
5115 | ||
5116 | wxPy_END_ALLOW_THREADS; | |
5117 | } Py_INCREF(Py_None); | |
5118 | _resultobj = Py_None; | |
5119 | return _resultobj; | |
5120 | } | |
5121 | ||
5122 | #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2)) | |
5123 | static PyObject *_wrap_wxPyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5124 | PyObject * _resultobj; | |
5125 | wxPyShape * _arg0; | |
5126 | wxDC * _arg1; | |
5127 | wxString * _arg2; | |
5128 | int _arg3 = (int ) 0; | |
5129 | PyObject * _argo0 = 0; | |
5130 | PyObject * _argo1 = 0; | |
5131 | PyObject * _obj2 = 0; | |
5132 | char *_kwnames[] = { "self","dc","s","regionId", NULL }; | |
5133 | ||
5134 | self = self; | |
5135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyShape_FormatText",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3)) | |
5136 | return NULL; | |
5137 | if (_argo0) { | |
5138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p."); | |
5141 | return NULL; | |
5142 | } | |
5143 | } | |
5144 | if (_argo1) { | |
5145 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5146 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p."); | |
5148 | return NULL; | |
5149 | } | |
5150 | } | |
5151 | { | |
185d7c3e RD |
5152 | #if PYTHON_API_VERSION >= 1009 |
5153 | char* tmpPtr; int tmpSize; | |
5154 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
5155 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5156 | return NULL; | |
5157 | } | |
5158 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
5159 | return NULL; | |
5160 | _arg2 = new wxString(tmpPtr, tmpSize); | |
5161 | #else | |
e91a9dfc RD |
5162 | if (!PyString_Check(_obj2)) { |
5163 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5164 | return NULL; | |
5165 | } | |
185d7c3e RD |
5166 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
5167 | #endif | |
e91a9dfc RD |
5168 | } |
5169 | { | |
5170 | wxPy_BEGIN_ALLOW_THREADS; | |
5171 | wxPyShape_FormatText(_arg0,*_arg1,*_arg2,_arg3); | |
5172 | ||
5173 | wxPy_END_ALLOW_THREADS; | |
5174 | } Py_INCREF(Py_None); | |
5175 | _resultobj = Py_None; | |
5176 | { | |
5177 | if (_obj2) | |
5178 | delete _arg2; | |
5179 | } | |
5180 | return _resultobj; | |
5181 | } | |
5182 | ||
5183 | #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1)) | |
5184 | static PyObject *_wrap_wxPyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5185 | PyObject * _resultobj; | |
5186 | wxPyShape * _arg0; | |
5187 | int _arg1; | |
5188 | int _arg2 = (int ) 0; | |
5189 | PyObject * _argo0 = 0; | |
5190 | char *_kwnames[] = { "self","mode","regionId", NULL }; | |
5191 | ||
5192 | self = self; | |
5193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetFormatMode",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5194 | return NULL; | |
5195 | if (_argo0) { | |
5196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p."); | |
5199 | return NULL; | |
5200 | } | |
5201 | } | |
5202 | { | |
5203 | wxPy_BEGIN_ALLOW_THREADS; | |
5204 | wxPyShape_SetFormatMode(_arg0,_arg1,_arg2); | |
5205 | ||
5206 | wxPy_END_ALLOW_THREADS; | |
5207 | } Py_INCREF(Py_None); | |
5208 | _resultobj = Py_None; | |
5209 | return _resultobj; | |
5210 | } | |
5211 | ||
5212 | #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0)) | |
5213 | static PyObject *_wrap_wxPyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5214 | PyObject * _resultobj; | |
5215 | int _result; | |
5216 | wxPyShape * _arg0; | |
5217 | int _arg1 = (int ) 0; | |
5218 | PyObject * _argo0 = 0; | |
5219 | char *_kwnames[] = { "self","regionId", NULL }; | |
5220 | ||
5221 | self = self; | |
5222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFormatMode",_kwnames,&_argo0,&_arg1)) | |
5223 | return NULL; | |
5224 | if (_argo0) { | |
5225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p."); | |
5228 | return NULL; | |
5229 | } | |
5230 | } | |
5231 | { | |
5232 | wxPy_BEGIN_ALLOW_THREADS; | |
5233 | _result = (int )wxPyShape_GetFormatMode(_arg0,_arg1); | |
5234 | ||
5235 | wxPy_END_ALLOW_THREADS; | |
5236 | } _resultobj = Py_BuildValue("i",_result); | |
5237 | return _resultobj; | |
5238 | } | |
5239 | ||
5240 | #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1)) | |
5241 | static PyObject *_wrap_wxPyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5242 | PyObject * _resultobj; | |
5243 | wxPyShape * _arg0; | |
5244 | wxFont * _arg1; | |
5245 | int _arg2 = (int ) 0; | |
5246 | PyObject * _argo0 = 0; | |
5247 | PyObject * _argo1 = 0; | |
5248 | char *_kwnames[] = { "self","font","regionId", NULL }; | |
5249 | ||
5250 | self = self; | |
5251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetFont",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5252 | return NULL; | |
5253 | if (_argo0) { | |
5254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p."); | |
5257 | return NULL; | |
5258 | } | |
5259 | } | |
5260 | if (_argo1) { | |
5261 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5262 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
5263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p."); | |
5264 | return NULL; | |
5265 | } | |
5266 | } | |
5267 | { | |
5268 | wxPy_BEGIN_ALLOW_THREADS; | |
5269 | wxPyShape_SetFont(_arg0,_arg1,_arg2); | |
5270 | ||
5271 | wxPy_END_ALLOW_THREADS; | |
5272 | } Py_INCREF(Py_None); | |
5273 | _resultobj = Py_None; | |
5274 | return _resultobj; | |
5275 | } | |
5276 | ||
5277 | #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0)) | |
5278 | static PyObject *_wrap_wxPyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5279 | PyObject * _resultobj; | |
5280 | wxFont * _result; | |
5281 | wxPyShape * _arg0; | |
5282 | int _arg1 = (int ) 0; | |
5283 | PyObject * _argo0 = 0; | |
5284 | char *_kwnames[] = { "self","regionId", NULL }; | |
5285 | char _ptemp[128]; | |
5286 | ||
5287 | self = self; | |
5288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFont",_kwnames,&_argo0,&_arg1)) | |
5289 | return NULL; | |
5290 | if (_argo0) { | |
5291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p."); | |
5294 | return NULL; | |
5295 | } | |
5296 | } | |
5297 | { | |
5298 | wxPy_BEGIN_ALLOW_THREADS; | |
5299 | _result = (wxFont *)wxPyShape_GetFont(_arg0,_arg1); | |
5300 | ||
5301 | wxPy_END_ALLOW_THREADS; | |
5302 | } if (_result) { | |
5303 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
5304 | _resultobj = Py_BuildValue("s",_ptemp); | |
5305 | } else { | |
5306 | Py_INCREF(Py_None); | |
5307 | _resultobj = Py_None; | |
5308 | } | |
5309 | return _resultobj; | |
5310 | } | |
5311 | ||
5312 | #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1)) | |
5313 | static PyObject *_wrap_wxPyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5314 | PyObject * _resultobj; | |
5315 | wxPyShape * _arg0; | |
5316 | wxString * _arg1; | |
5317 | int _arg2 = (int ) 0; | |
5318 | PyObject * _argo0 = 0; | |
5319 | PyObject * _obj1 = 0; | |
5320 | char *_kwnames[] = { "self","colour","regionId", NULL }; | |
5321 | ||
5322 | self = self; | |
5323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetTextColour",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5324 | return NULL; | |
5325 | if (_argo0) { | |
5326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p."); | |
5329 | return NULL; | |
5330 | } | |
5331 | } | |
5332 | { | |
185d7c3e RD |
5333 | #if PYTHON_API_VERSION >= 1009 |
5334 | char* tmpPtr; int tmpSize; | |
5335 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5336 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5337 | return NULL; | |
5338 | } | |
5339 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5340 | return NULL; | |
5341 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5342 | #else | |
e91a9dfc RD |
5343 | if (!PyString_Check(_obj1)) { |
5344 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5345 | return NULL; | |
5346 | } | |
185d7c3e RD |
5347 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5348 | #endif | |
e91a9dfc RD |
5349 | } |
5350 | { | |
5351 | wxPy_BEGIN_ALLOW_THREADS; | |
5352 | wxPyShape_SetTextColour(_arg0,*_arg1,_arg2); | |
5353 | ||
5354 | wxPy_END_ALLOW_THREADS; | |
5355 | } Py_INCREF(Py_None); | |
5356 | _resultobj = Py_None; | |
5357 | { | |
5358 | if (_obj1) | |
5359 | delete _arg1; | |
5360 | } | |
5361 | return _resultobj; | |
5362 | } | |
5363 | ||
5364 | #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0)) | |
5365 | static PyObject *_wrap_wxPyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5366 | PyObject * _resultobj; | |
5367 | wxString * _result; | |
5368 | wxPyShape * _arg0; | |
5369 | int _arg1 = (int ) 0; | |
5370 | PyObject * _argo0 = 0; | |
5371 | char *_kwnames[] = { "self","regionId", NULL }; | |
5372 | ||
5373 | self = self; | |
5374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetTextColour",_kwnames,&_argo0,&_arg1)) | |
5375 | return NULL; | |
5376 | if (_argo0) { | |
5377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p."); | |
5380 | return NULL; | |
5381 | } | |
5382 | } | |
5383 | { | |
5384 | wxPy_BEGIN_ALLOW_THREADS; | |
5385 | _result = new wxString (wxPyShape_GetTextColour(_arg0,_arg1)); | |
5386 | ||
5387 | wxPy_END_ALLOW_THREADS; | |
5388 | }{ | |
714d23b4 | 5389 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
5390 | } |
5391 | { | |
5392 | delete _result; | |
5393 | } | |
5394 | return _resultobj; | |
5395 | } | |
5396 | ||
5397 | #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions()) | |
5398 | static PyObject *_wrap_wxPyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5399 | PyObject * _resultobj; | |
5400 | int _result; | |
5401 | wxPyShape * _arg0; | |
5402 | PyObject * _argo0 = 0; | |
5403 | char *_kwnames[] = { "self", NULL }; | |
5404 | ||
5405 | self = self; | |
5406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfTextRegions",_kwnames,&_argo0)) | |
5407 | return NULL; | |
5408 | if (_argo0) { | |
5409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p."); | |
5412 | return NULL; | |
5413 | } | |
5414 | } | |
5415 | { | |
5416 | wxPy_BEGIN_ALLOW_THREADS; | |
5417 | _result = (int )wxPyShape_GetNumberOfTextRegions(_arg0); | |
5418 | ||
5419 | wxPy_END_ALLOW_THREADS; | |
5420 | } _resultobj = Py_BuildValue("i",_result); | |
5421 | return _resultobj; | |
5422 | } | |
5423 | ||
5424 | #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1)) | |
5425 | static PyObject *_wrap_wxPyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5426 | PyObject * _resultobj; | |
5427 | wxPyShape * _arg0; | |
5428 | wxString * _arg1; | |
5429 | int _arg2 = (int ) 0; | |
5430 | PyObject * _argo0 = 0; | |
5431 | PyObject * _obj1 = 0; | |
5432 | char *_kwnames[] = { "self","name","regionId", NULL }; | |
5433 | ||
5434 | self = self; | |
5435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetRegionName",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5436 | return NULL; | |
5437 | if (_argo0) { | |
5438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p."); | |
5441 | return NULL; | |
5442 | } | |
5443 | } | |
5444 | { | |
185d7c3e RD |
5445 | #if PYTHON_API_VERSION >= 1009 |
5446 | char* tmpPtr; int tmpSize; | |
5447 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5448 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5449 | return NULL; | |
5450 | } | |
5451 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5452 | return NULL; | |
5453 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5454 | #else | |
e91a9dfc RD |
5455 | if (!PyString_Check(_obj1)) { |
5456 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5457 | return NULL; | |
5458 | } | |
185d7c3e RD |
5459 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5460 | #endif | |
e91a9dfc RD |
5461 | } |
5462 | { | |
5463 | wxPy_BEGIN_ALLOW_THREADS; | |
5464 | wxPyShape_SetRegionName(_arg0,*_arg1,_arg2); | |
5465 | ||
5466 | wxPy_END_ALLOW_THREADS; | |
5467 | } Py_INCREF(Py_None); | |
5468 | _resultobj = Py_None; | |
5469 | { | |
5470 | if (_obj1) | |
5471 | delete _arg1; | |
5472 | } | |
5473 | return _resultobj; | |
5474 | } | |
5475 | ||
5476 | #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0)) | |
5477 | static PyObject *_wrap_wxPyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5478 | PyObject * _resultobj; | |
5479 | wxString * _result; | |
5480 | wxPyShape * _arg0; | |
5481 | int _arg1; | |
5482 | PyObject * _argo0 = 0; | |
5483 | char *_kwnames[] = { "self","regionId", NULL }; | |
5484 | ||
5485 | self = self; | |
5486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetRegionName",_kwnames,&_argo0,&_arg1)) | |
5487 | return NULL; | |
5488 | if (_argo0) { | |
5489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p."); | |
5492 | return NULL; | |
5493 | } | |
5494 | } | |
5495 | { | |
5496 | wxPy_BEGIN_ALLOW_THREADS; | |
5497 | _result = new wxString (wxPyShape_GetRegionName(_arg0,_arg1)); | |
5498 | ||
5499 | wxPy_END_ALLOW_THREADS; | |
5500 | }{ | |
714d23b4 | 5501 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
5502 | } |
5503 | { | |
5504 | delete _result; | |
5505 | } | |
5506 | return _resultobj; | |
5507 | } | |
5508 | ||
5509 | #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0)) | |
5510 | static PyObject *_wrap_wxPyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5511 | PyObject * _resultobj; | |
5512 | int _result; | |
5513 | wxPyShape * _arg0; | |
5514 | wxString * _arg1; | |
5515 | PyObject * _argo0 = 0; | |
5516 | PyObject * _obj1 = 0; | |
5517 | char *_kwnames[] = { "self","name", NULL }; | |
5518 | ||
5519 | self = self; | |
5520 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetRegionId",_kwnames,&_argo0,&_obj1)) | |
5521 | return NULL; | |
5522 | if (_argo0) { | |
5523 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5524 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5525 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p."); | |
5526 | return NULL; | |
5527 | } | |
5528 | } | |
5529 | { | |
185d7c3e RD |
5530 | #if PYTHON_API_VERSION >= 1009 |
5531 | char* tmpPtr; int tmpSize; | |
5532 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5533 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5534 | return NULL; | |
5535 | } | |
5536 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5537 | return NULL; | |
5538 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5539 | #else | |
e91a9dfc RD |
5540 | if (!PyString_Check(_obj1)) { |
5541 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5542 | return NULL; | |
5543 | } | |
185d7c3e RD |
5544 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5545 | #endif | |
e91a9dfc RD |
5546 | } |
5547 | { | |
5548 | wxPy_BEGIN_ALLOW_THREADS; | |
5549 | _result = (int )wxPyShape_GetRegionId(_arg0,*_arg1); | |
5550 | ||
5551 | wxPy_END_ALLOW_THREADS; | |
5552 | } _resultobj = Py_BuildValue("i",_result); | |
5553 | { | |
5554 | if (_obj1) | |
5555 | delete _arg1; | |
5556 | } | |
5557 | return _resultobj; | |
5558 | } | |
5559 | ||
5560 | #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0)) | |
5561 | static PyObject *_wrap_wxPyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5562 | PyObject * _resultobj; | |
5563 | wxPyShape * _arg0; | |
5564 | wxString * _arg1 = (wxString *) &""; | |
5565 | PyObject * _argo0 = 0; | |
5566 | PyObject * _obj1 = 0; | |
5567 | char *_kwnames[] = { "self","parentName", NULL }; | |
5568 | ||
5569 | self = self; | |
5570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_NameRegions",_kwnames,&_argo0,&_obj1)) | |
5571 | return NULL; | |
5572 | if (_argo0) { | |
5573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p."); | |
5576 | return NULL; | |
5577 | } | |
5578 | } | |
5579 | if (_obj1) | |
5580 | { | |
185d7c3e RD |
5581 | #if PYTHON_API_VERSION >= 1009 |
5582 | char* tmpPtr; int tmpSize; | |
5583 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5584 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5585 | return NULL; | |
5586 | } | |
5587 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5588 | return NULL; | |
5589 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5590 | #else | |
e91a9dfc RD |
5591 | if (!PyString_Check(_obj1)) { |
5592 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5593 | return NULL; | |
5594 | } | |
185d7c3e RD |
5595 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5596 | #endif | |
e91a9dfc RD |
5597 | } |
5598 | { | |
5599 | wxPy_BEGIN_ALLOW_THREADS; | |
5600 | wxPyShape_NameRegions(_arg0,*_arg1); | |
5601 | ||
5602 | wxPy_END_ALLOW_THREADS; | |
5603 | } Py_INCREF(Py_None); | |
5604 | _resultobj = Py_None; | |
5605 | { | |
5606 | if (_obj1) | |
5607 | delete _arg1; | |
5608 | } | |
5609 | return _resultobj; | |
5610 | } | |
5611 | ||
5612 | static PyObject * wxPyShape_GetRegions(wxPyShape *self) { | |
5613 | wxList& list = self->GetRegions(); | |
5614 | return wxPy_ConvertList(&list, "wxShapeRegion"); | |
5615 | } | |
5616 | static PyObject *_wrap_wxPyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5617 | PyObject * _resultobj; | |
5618 | PyObject * _result; | |
5619 | wxPyShape * _arg0; | |
5620 | PyObject * _argo0 = 0; | |
5621 | char *_kwnames[] = { "self", NULL }; | |
5622 | ||
5623 | self = self; | |
5624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRegions",_kwnames,&_argo0)) | |
5625 | return NULL; | |
5626 | if (_argo0) { | |
5627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p."); | |
5630 | return NULL; | |
5631 | } | |
5632 | } | |
5633 | { | |
5634 | wxPy_BEGIN_ALLOW_THREADS; | |
5635 | _result = (PyObject *)wxPyShape_GetRegions(_arg0); | |
5636 | ||
5637 | wxPy_END_ALLOW_THREADS; | |
5638 | }{ | |
5639 | _resultobj = _result; | |
5640 | } | |
5641 | return _resultobj; | |
5642 | } | |
5643 | ||
5644 | #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0)) | |
5645 | static PyObject *_wrap_wxPyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5646 | PyObject * _resultobj; | |
5647 | wxPyShape * _arg0; | |
5648 | wxShapeRegion * _arg1; | |
5649 | PyObject * _argo0 = 0; | |
5650 | PyObject * _argo1 = 0; | |
5651 | char *_kwnames[] = { "self","region", NULL }; | |
5652 | ||
5653 | self = self; | |
5654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddRegion",_kwnames,&_argo0,&_argo1)) | |
5655 | return NULL; | |
5656 | if (_argo0) { | |
5657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p."); | |
5660 | return NULL; | |
5661 | } | |
5662 | } | |
5663 | if (_argo1) { | |
5664 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5665 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxShapeRegion_p")) { | |
5666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p."); | |
5667 | return NULL; | |
5668 | } | |
5669 | } | |
5670 | { | |
5671 | wxPy_BEGIN_ALLOW_THREADS; | |
5672 | wxPyShape_AddRegion(_arg0,_arg1); | |
5673 | ||
5674 | wxPy_END_ALLOW_THREADS; | |
5675 | } Py_INCREF(Py_None); | |
5676 | _resultobj = Py_None; | |
5677 | return _resultobj; | |
5678 | } | |
5679 | ||
5680 | #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions()) | |
5681 | static PyObject *_wrap_wxPyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5682 | PyObject * _resultobj; | |
5683 | wxPyShape * _arg0; | |
5684 | PyObject * _argo0 = 0; | |
5685 | char *_kwnames[] = { "self", NULL }; | |
5686 | ||
5687 | self = self; | |
5688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearRegions",_kwnames,&_argo0)) | |
5689 | return NULL; | |
5690 | if (_argo0) { | |
5691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p."); | |
5694 | return NULL; | |
5695 | } | |
5696 | } | |
5697 | { | |
5698 | wxPy_BEGIN_ALLOW_THREADS; | |
5699 | wxPyShape_ClearRegions(_arg0); | |
5700 | ||
5701 | wxPy_END_ALLOW_THREADS; | |
5702 | } Py_INCREF(Py_None); | |
5703 | _resultobj = Py_None; | |
5704 | return _resultobj; | |
5705 | } | |
5706 | ||
5707 | #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds()) | |
5708 | static PyObject *_wrap_wxPyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5709 | PyObject * _resultobj; | |
5710 | wxPyShape * _arg0; | |
5711 | PyObject * _argo0 = 0; | |
5712 | char *_kwnames[] = { "self", NULL }; | |
5713 | ||
5714 | self = self; | |
5715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AssignNewIds",_kwnames,&_argo0)) | |
5716 | return NULL; | |
5717 | if (_argo0) { | |
5718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p."); | |
5721 | return NULL; | |
5722 | } | |
5723 | } | |
5724 | { | |
5725 | wxPy_BEGIN_ALLOW_THREADS; | |
5726 | wxPyShape_AssignNewIds(_arg0); | |
5727 | ||
5728 | wxPy_END_ALLOW_THREADS; | |
5729 | } Py_INCREF(Py_None); | |
5730 | _resultobj = Py_None; | |
5731 | return _resultobj; | |
5732 | } | |
5733 | ||
5734 | #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1)) | |
5735 | static PyObject *_wrap_wxPyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5736 | PyObject * _resultobj; | |
5737 | wxPyShape * _result; | |
5738 | wxPyShape * _arg0; | |
5739 | wxString * _arg1; | |
5740 | int * _arg2; | |
f6bcfd97 | 5741 | int temp; |
e91a9dfc RD |
5742 | PyObject * _argo0 = 0; |
5743 | PyObject * _obj1 = 0; | |
f6bcfd97 | 5744 | char *_kwnames[] = { "self","regionName", NULL }; |
e91a9dfc RD |
5745 | char _ptemp[128]; |
5746 | ||
5747 | self = self; | |
f6bcfd97 BP |
5748 | { |
5749 | _arg2 = &temp; | |
5750 | } | |
5751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegion",_kwnames,&_argo0,&_obj1)) | |
e91a9dfc RD |
5752 | return NULL; |
5753 | if (_argo0) { | |
5754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p."); | |
5757 | return NULL; | |
5758 | } | |
5759 | } | |
5760 | { | |
185d7c3e RD |
5761 | #if PYTHON_API_VERSION >= 1009 |
5762 | char* tmpPtr; int tmpSize; | |
5763 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5764 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5765 | return NULL; | |
5766 | } | |
5767 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5768 | return NULL; | |
5769 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5770 | #else | |
e91a9dfc RD |
5771 | if (!PyString_Check(_obj1)) { |
5772 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5773 | return NULL; | |
5774 | } | |
185d7c3e RD |
5775 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5776 | #endif | |
e91a9dfc | 5777 | } |
e91a9dfc RD |
5778 | { |
5779 | wxPy_BEGIN_ALLOW_THREADS; | |
5780 | _result = (wxPyShape *)wxPyShape_FindRegion(_arg0,*_arg1,_arg2); | |
5781 | ||
5782 | wxPy_END_ALLOW_THREADS; | |
5783 | } if (_result) { | |
5784 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
5785 | _resultobj = Py_BuildValue("s",_ptemp); | |
5786 | } else { | |
5787 | Py_INCREF(Py_None); | |
5788 | _resultobj = Py_None; | |
5789 | } | |
f6bcfd97 BP |
5790 | { |
5791 | PyObject *o; | |
5792 | o = PyInt_FromLong((long) (*_arg2)); | |
5793 | _resultobj = t_output_helper(_resultobj, o); | |
5794 | } | |
e91a9dfc RD |
5795 | { |
5796 | if (_obj1) | |
5797 | delete _arg1; | |
5798 | } | |
5799 | return _resultobj; | |
5800 | } | |
5801 | ||
5802 | #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0)) | |
5803 | static PyObject *_wrap_wxPyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5804 | PyObject * _resultobj; | |
5805 | wxPyShape * _arg0; | |
5806 | wxStringList * _arg1; | |
5807 | PyObject * _argo0 = 0; | |
5808 | PyObject * _argo1 = 0; | |
5809 | char *_kwnames[] = { "self","list", NULL }; | |
5810 | ||
5811 | self = self; | |
5812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegionNames",_kwnames,&_argo0,&_argo1)) | |
5813 | return NULL; | |
5814 | if (_argo0) { | |
5815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p."); | |
5818 | return NULL; | |
5819 | } | |
5820 | } | |
5821 | if (_argo1) { | |
5822 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5823 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStringList_p")) { | |
5824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p."); | |
5825 | return NULL; | |
5826 | } | |
5827 | } | |
5828 | { | |
5829 | wxPy_BEGIN_ALLOW_THREADS; | |
5830 | wxPyShape_FindRegionNames(_arg0,*_arg1); | |
5831 | ||
5832 | wxPy_END_ALLOW_THREADS; | |
5833 | } Py_INCREF(Py_None); | |
5834 | _resultobj = Py_None; | |
5835 | return _resultobj; | |
5836 | } | |
5837 | ||
5838 | #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0)) | |
5839 | static PyObject *_wrap_wxPyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5840 | PyObject * _resultobj; | |
5841 | wxPyShape * _arg0; | |
5842 | int _arg1 = (int ) 0; | |
5843 | PyObject * _argo0 = 0; | |
5844 | char *_kwnames[] = { "self","regionId", NULL }; | |
5845 | ||
5846 | self = self; | |
5847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_ClearText",_kwnames,&_argo0,&_arg1)) | |
5848 | return NULL; | |
5849 | if (_argo0) { | |
5850 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5851 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p."); | |
5853 | return NULL; | |
5854 | } | |
5855 | } | |
5856 | { | |
5857 | wxPy_BEGIN_ALLOW_THREADS; | |
5858 | wxPyShape_ClearText(_arg0,_arg1); | |
5859 | ||
5860 | wxPy_END_ALLOW_THREADS; | |
5861 | } Py_INCREF(Py_None); | |
5862 | _resultobj = Py_None; | |
5863 | return _resultobj; | |
5864 | } | |
5865 | ||
5866 | #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0)) | |
5867 | static PyObject *_wrap_wxPyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5868 | PyObject * _resultobj; | |
5869 | wxPyShape * _arg0; | |
5870 | wxPyLineShape * _arg1; | |
5871 | PyObject * _argo0 = 0; | |
5872 | PyObject * _argo1 = 0; | |
5873 | char *_kwnames[] = { "self","line", NULL }; | |
5874 | ||
5875 | self = self; | |
5876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveLine",_kwnames,&_argo0,&_argo1)) | |
5877 | return NULL; | |
5878 | if (_argo0) { | |
5879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p."); | |
5882 | return NULL; | |
5883 | } | |
5884 | } | |
5885 | if (_argo1) { | |
5886 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5887 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
5888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p."); | |
5889 | return NULL; | |
5890 | } | |
5891 | } | |
5892 | { | |
5893 | wxPy_BEGIN_ALLOW_THREADS; | |
5894 | wxPyShape_RemoveLine(_arg0,_arg1); | |
5895 | ||
5896 | wxPy_END_ALLOW_THREADS; | |
5897 | } Py_INCREF(Py_None); | |
5898 | _resultobj = Py_None; | |
5899 | return _resultobj; | |
5900 | } | |
5901 | ||
5902 | #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5903 | static PyObject *_wrap_wxPyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5904 | PyObject * _resultobj; | |
5905 | bool _result; | |
5906 | wxPyShape * _arg0; | |
5907 | int _arg1; | |
5908 | double * _arg2; | |
714d23b4 | 5909 | double temp; |
e91a9dfc | 5910 | double * _arg3; |
714d23b4 | 5911 | double temp0; |
e91a9dfc RD |
5912 | int _arg4 = (int ) 0; |
5913 | int _arg5 = (int ) 1; | |
5914 | wxPyLineShape * _arg6 = (wxPyLineShape *) NULL; | |
5915 | PyObject * _argo0 = 0; | |
e91a9dfc | 5916 | PyObject * _argo6 = 0; |
714d23b4 | 5917 | char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL }; |
e91a9dfc RD |
5918 | |
5919 | self = self; | |
714d23b4 RD |
5920 | { |
5921 | _arg2 = &temp; | |
5922 | } | |
5923 | { | |
5924 | _arg3 = &temp0; | |
5925 | } | |
5926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6)) | |
e91a9dfc RD |
5927 | return NULL; |
5928 | if (_argo0) { | |
5929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p."); | |
5932 | return NULL; | |
5933 | } | |
5934 | } | |
e91a9dfc RD |
5935 | if (_argo6) { |
5936 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
5937 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) { | |
5938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p."); | |
5939 | return NULL; | |
5940 | } | |
5941 | } | |
5942 | { | |
5943 | wxPy_BEGIN_ALLOW_THREADS; | |
5944 | _result = (bool )wxPyShape_GetAttachmentPosition(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5945 | ||
5946 | wxPy_END_ALLOW_THREADS; | |
5947 | } _resultobj = Py_BuildValue("i",_result); | |
714d23b4 RD |
5948 | { |
5949 | PyObject *o; | |
5950 | o = PyFloat_FromDouble((double) (*_arg2)); | |
5951 | _resultobj = t_output_helper(_resultobj, o); | |
5952 | } | |
5953 | { | |
5954 | PyObject *o; | |
5955 | o = PyFloat_FromDouble((double) (*_arg3)); | |
5956 | _resultobj = t_output_helper(_resultobj, o); | |
5957 | } | |
e91a9dfc RD |
5958 | return _resultobj; |
5959 | } | |
5960 | ||
5961 | #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments()) | |
5962 | static PyObject *_wrap_wxPyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5963 | PyObject * _resultobj; | |
5964 | int _result; | |
5965 | wxPyShape * _arg0; | |
5966 | PyObject * _argo0 = 0; | |
5967 | char *_kwnames[] = { "self", NULL }; | |
5968 | ||
5969 | self = self; | |
5970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfAttachments",_kwnames,&_argo0)) | |
5971 | return NULL; | |
5972 | if (_argo0) { | |
5973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p."); | |
5976 | return NULL; | |
5977 | } | |
5978 | } | |
5979 | { | |
5980 | wxPy_BEGIN_ALLOW_THREADS; | |
5981 | _result = (int )wxPyShape_GetNumberOfAttachments(_arg0); | |
5982 | ||
5983 | wxPy_END_ALLOW_THREADS; | |
5984 | } _resultobj = Py_BuildValue("i",_result); | |
5985 | return _resultobj; | |
5986 | } | |
5987 | ||
5988 | #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0)) | |
5989 | static PyObject *_wrap_wxPyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5990 | PyObject * _resultobj; | |
5991 | bool _result; | |
5992 | wxPyShape * _arg0; | |
5993 | int _arg1; | |
5994 | PyObject * _argo0 = 0; | |
5995 | char *_kwnames[] = { "self","attachment", NULL }; | |
5996 | ||
5997 | self = self; | |
5998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_AttachmentIsValid",_kwnames,&_argo0,&_arg1)) | |
5999 | return NULL; | |
6000 | if (_argo0) { | |
6001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p."); | |
6004 | return NULL; | |
6005 | } | |
6006 | } | |
6007 | { | |
6008 | wxPy_BEGIN_ALLOW_THREADS; | |
6009 | _result = (bool )wxPyShape_AttachmentIsValid(_arg0,_arg1); | |
6010 | ||
6011 | wxPy_END_ALLOW_THREADS; | |
6012 | } _resultobj = Py_BuildValue("i",_result); | |
6013 | return _resultobj; | |
6014 | } | |
6015 | ||
6016 | #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6017 | static PyObject *_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6018 | PyObject * _resultobj; | |
6019 | bool _result; | |
6020 | wxPyShape * _arg0; | |
6021 | int _arg1; | |
6022 | double * _arg2; | |
714d23b4 | 6023 | double temp; |
e91a9dfc | 6024 | double * _arg3; |
714d23b4 | 6025 | double temp0; |
e91a9dfc RD |
6026 | int _arg4 = (int ) 0; |
6027 | int _arg5 = (int ) 1; | |
6028 | wxPyLineShape * _arg6 = (wxPyLineShape *) NULL; | |
6029 | PyObject * _argo0 = 0; | |
e91a9dfc | 6030 | PyObject * _argo6 = 0; |
714d23b4 | 6031 | char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL }; |
e91a9dfc RD |
6032 | |
6033 | self = self; | |
714d23b4 RD |
6034 | { |
6035 | _arg2 = &temp; | |
6036 | } | |
6037 | { | |
6038 | _arg3 = &temp0; | |
6039 | } | |
6040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6)) | |
e91a9dfc RD |
6041 | return NULL; |
6042 | if (_argo0) { | |
6043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p."); | |
6046 | return NULL; | |
6047 | } | |
6048 | } | |
e91a9dfc RD |
6049 | if (_argo6) { |
6050 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6051 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) { | |
6052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p."); | |
6053 | return NULL; | |
6054 | } | |
6055 | } | |
6056 | { | |
6057 | wxPy_BEGIN_ALLOW_THREADS; | |
6058 | _result = (bool )wxPyShape_GetAttachmentPositionEdge(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6059 | ||
6060 | wxPy_END_ALLOW_THREADS; | |
6061 | } _resultobj = Py_BuildValue("i",_result); | |
714d23b4 RD |
6062 | { |
6063 | PyObject *o; | |
6064 | o = PyFloat_FromDouble((double) (*_arg2)); | |
6065 | _resultobj = t_output_helper(_resultobj, o); | |
6066 | } | |
6067 | { | |
6068 | PyObject *o; | |
6069 | o = PyFloat_FromDouble((double) (*_arg3)); | |
6070 | _resultobj = t_output_helper(_resultobj, o); | |
6071 | } | |
e91a9dfc RD |
6072 | return _resultobj; |
6073 | } | |
6074 | ||
6075 | #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6076 | static PyObject *_wrap_wxPyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6077 | PyObject * _resultobj; | |
6078 | wxRealPoint * _result; | |
6079 | wxPyShape * _arg0; | |
6080 | wxRealPoint * _arg1; | |
6081 | wxRealPoint * _arg2; | |
6082 | int _arg3; | |
6083 | int _arg4; | |
6084 | wxPyLineShape * _arg5; | |
6085 | PyObject * _argo0 = 0; | |
2348eaee RD |
6086 | wxRealPoint temp; |
6087 | PyObject * _obj1 = 0; | |
6088 | wxRealPoint temp0; | |
6089 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
6090 | PyObject * _argo5 = 0; |
6091 | char *_kwnames[] = { "self","pt1","pt2","nth","noArcs","line", NULL }; | |
6092 | char _ptemp[128]; | |
6093 | ||
6094 | self = self; | |
2348eaee | 6095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4,&_argo5)) |
e91a9dfc RD |
6096 | return NULL; |
6097 | if (_argo0) { | |
6098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p."); | |
6101 | return NULL; | |
6102 | } | |
6103 | } | |
2348eaee RD |
6104 | { |
6105 | _arg1 = &temp; | |
6106 | if (! wxRealPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 6107 | return NULL; |
2348eaee RD |
6108 | } |
6109 | { | |
6110 | _arg2 = &temp0; | |
6111 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6112 | return NULL; |
2348eaee | 6113 | } |
e91a9dfc RD |
6114 | if (_argo5) { |
6115 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
6116 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyLineShape_p")) { | |
6117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p."); | |
6118 | return NULL; | |
6119 | } | |
6120 | } | |
6121 | { | |
6122 | wxPy_BEGIN_ALLOW_THREADS; | |
6123 | _result = new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
6124 | ||
6125 | wxPy_END_ALLOW_THREADS; | |
6126 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p"); | |
6127 | _resultobj = Py_BuildValue("s",_ptemp); | |
6128 | return _resultobj; | |
6129 | } | |
6130 | ||
6131 | #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2)) | |
6132 | static PyObject *_wrap_wxPyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6133 | PyObject * _resultobj; | |
6134 | bool _result; | |
6135 | wxPyShape * _arg0; | |
6136 | int _arg1; | |
6137 | wxRealPoint * _arg2; | |
6138 | wxRealPoint * _arg3; | |
6139 | PyObject * _argo0 = 0; | |
2348eaee RD |
6140 | wxRealPoint temp; |
6141 | PyObject * _obj2 = 0; | |
6142 | wxRealPoint temp0; | |
6143 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
6144 | char *_kwnames[] = { "self","attachmentPoint","pt1","pt2", NULL }; |
6145 | ||
6146 | self = self; | |
2348eaee | 6147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyShape_AttachmentSortTest",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3)) |
e91a9dfc RD |
6148 | return NULL; |
6149 | if (_argo0) { | |
6150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p."); | |
6153 | return NULL; | |
6154 | } | |
6155 | } | |
2348eaee RD |
6156 | { |
6157 | _arg2 = &temp; | |
6158 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6159 | return NULL; |
2348eaee RD |
6160 | } |
6161 | { | |
6162 | _arg3 = &temp0; | |
6163 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6164 | return NULL; |
2348eaee | 6165 | } |
e91a9dfc RD |
6166 | { |
6167 | wxPy_BEGIN_ALLOW_THREADS; | |
6168 | _result = (bool )wxPyShape_AttachmentSortTest(_arg0,_arg1,*_arg2,*_arg3); | |
6169 | ||
6170 | wxPy_END_ALLOW_THREADS; | |
6171 | } _resultobj = Py_BuildValue("i",_result); | |
6172 | return _resultobj; | |
6173 | } | |
6174 | ||
6175 | #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2)) | |
6176 | static PyObject *_wrap_wxPyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6177 | PyObject * _resultobj; | |
6178 | wxPyShape * _arg0; | |
6179 | wxDC * _arg1; | |
6180 | int _arg2 = (int ) -1; | |
6181 | bool _arg3 = (bool ) FALSE; | |
6182 | PyObject * _argo0 = 0; | |
6183 | PyObject * _argo1 = 0; | |
6184 | int tempbool3 = (int) FALSE; | |
6185 | char *_kwnames[] = { "self","dc","attachment","recurse", NULL }; | |
6186 | ||
6187 | self = self; | |
6188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_EraseLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3)) | |
6189 | return NULL; | |
6190 | if (_argo0) { | |
6191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p."); | |
6194 | return NULL; | |
6195 | } | |
6196 | } | |
6197 | if (_argo1) { | |
6198 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6199 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p."); | |
6201 | return NULL; | |
6202 | } | |
6203 | } | |
6204 | _arg3 = (bool ) tempbool3; | |
6205 | { | |
6206 | wxPy_BEGIN_ALLOW_THREADS; | |
6207 | wxPyShape_EraseLinks(_arg0,*_arg1,_arg2,_arg3); | |
6208 | ||
6209 | wxPy_END_ALLOW_THREADS; | |
6210 | } Py_INCREF(Py_None); | |
6211 | _resultobj = Py_None; | |
6212 | return _resultobj; | |
6213 | } | |
6214 | ||
6215 | #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2)) | |
6216 | static PyObject *_wrap_wxPyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6217 | PyObject * _resultobj; | |
6218 | wxPyShape * _arg0; | |
6219 | wxDC * _arg1; | |
6220 | int _arg2 = (int ) -1; | |
6221 | bool _arg3 = (bool ) FALSE; | |
6222 | PyObject * _argo0 = 0; | |
6223 | PyObject * _argo1 = 0; | |
6224 | int tempbool3 = (int) FALSE; | |
6225 | char *_kwnames[] = { "self","dc","attachment","recurse", NULL }; | |
6226 | ||
6227 | self = self; | |
6228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_DrawLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3)) | |
6229 | return NULL; | |
6230 | if (_argo0) { | |
6231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p."); | |
6234 | return NULL; | |
6235 | } | |
6236 | } | |
6237 | if (_argo1) { | |
6238 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6239 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p."); | |
6241 | return NULL; | |
6242 | } | |
6243 | } | |
6244 | _arg3 = (bool ) tempbool3; | |
6245 | { | |
6246 | wxPy_BEGIN_ALLOW_THREADS; | |
6247 | wxPyShape_DrawLinks(_arg0,*_arg1,_arg2,_arg3); | |
6248 | ||
6249 | wxPy_END_ALLOW_THREADS; | |
6250 | } Py_INCREF(Py_None); | |
6251 | _resultobj = Py_None; | |
6252 | return _resultobj; | |
6253 | } | |
6254 | ||
6255 | #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6256 | static PyObject *_wrap_wxPyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6257 | PyObject * _resultobj; | |
6258 | bool _result; | |
6259 | wxPyShape * _arg0; | |
6260 | wxDC * _arg1; | |
6261 | wxPyLineShape * _arg2; | |
6262 | double _arg3; | |
6263 | double _arg4; | |
6264 | PyObject * _argo0 = 0; | |
6265 | PyObject * _argo1 = 0; | |
6266 | PyObject * _argo2 = 0; | |
6267 | char *_kwnames[] = { "self","dc","to_move","x","y", NULL }; | |
6268 | ||
6269 | self = self; | |
6270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
6271 | return NULL; | |
6272 | if (_argo0) { | |
6273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p."); | |
6276 | return NULL; | |
6277 | } | |
6278 | } | |
6279 | if (_argo1) { | |
6280 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6281 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p."); | |
6283 | return NULL; | |
6284 | } | |
6285 | } | |
6286 | if (_argo2) { | |
6287 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6288 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyLineShape_p")) { | |
6289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p."); | |
6290 | return NULL; | |
6291 | } | |
6292 | } | |
6293 | { | |
6294 | wxPy_BEGIN_ALLOW_THREADS; | |
6295 | _result = (bool )wxPyShape_MoveLineToNewAttachment(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
6296 | ||
6297 | wxPy_END_ALLOW_THREADS; | |
6298 | } _resultobj = Py_BuildValue("i",_result); | |
6299 | return _resultobj; | |
6300 | } | |
6301 | ||
6302 | static void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject * linesToSort) { | |
99ab9f3b | 6303 | wxList* list = wxPy_wxListHelper(linesToSort, "_wxPyLineShape_p"); |
e91a9dfc RD |
6304 | self->ApplyAttachmentOrdering(*list); |
6305 | delete list; | |
6306 | } | |
6307 | static PyObject *_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6308 | PyObject * _resultobj; | |
6309 | wxPyShape * _arg0; | |
6310 | PyObject * _arg1; | |
6311 | PyObject * _argo0 = 0; | |
6312 | PyObject * _obj1 = 0; | |
6313 | char *_kwnames[] = { "self","linesToSort", NULL }; | |
6314 | ||
6315 | self = self; | |
6316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames,&_argo0,&_obj1)) | |
6317 | return NULL; | |
6318 | if (_argo0) { | |
6319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p."); | |
6322 | return NULL; | |
6323 | } | |
6324 | } | |
6325 | { | |
6326 | _arg1 = _obj1; | |
6327 | } | |
6328 | { | |
6329 | wxPy_BEGIN_ALLOW_THREADS; | |
6330 | wxPyShape_ApplyAttachmentOrdering(_arg0,_arg1); | |
6331 | ||
6332 | wxPy_END_ALLOW_THREADS; | |
6333 | } Py_INCREF(Py_None); | |
6334 | _resultobj = Py_None; | |
6335 | return _resultobj; | |
6336 | } | |
6337 | ||
6338 | #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0)) | |
6339 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6340 | PyObject * _resultobj; | |
6341 | wxRealPoint * _result; | |
6342 | wxPyShape * _arg0; | |
6343 | int _arg1; | |
6344 | PyObject * _argo0 = 0; | |
6345 | char *_kwnames[] = { "self","attachment", NULL }; | |
6346 | char _ptemp[128]; | |
6347 | ||
6348 | self = self; | |
6349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames,&_argo0,&_arg1)) | |
6350 | return NULL; | |
6351 | if (_argo0) { | |
6352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p."); | |
6355 | return NULL; | |
6356 | } | |
6357 | } | |
6358 | { | |
6359 | wxPy_BEGIN_ALLOW_THREADS; | |
6360 | _result = new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0,_arg1)); | |
6361 | ||
6362 | wxPy_END_ALLOW_THREADS; | |
6363 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p"); | |
6364 | _resultobj = Py_BuildValue("s",_ptemp); | |
6365 | return _resultobj; | |
6366 | } | |
6367 | ||
6368 | #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6369 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6370 | PyObject * _resultobj; | |
6371 | bool _result; | |
6372 | wxPyShape * _arg0; | |
6373 | int _arg1; | |
6374 | wxRealPoint * _arg2; | |
6375 | wxRealPoint * _arg3; | |
6376 | wxRealPoint * _arg4; | |
6377 | wxRealPoint * _arg5; | |
6378 | PyObject * _argo0 = 0; | |
2348eaee RD |
6379 | wxRealPoint temp; |
6380 | PyObject * _obj2 = 0; | |
6381 | wxRealPoint temp0; | |
6382 | PyObject * _obj3 = 0; | |
6383 | wxRealPoint temp1; | |
6384 | PyObject * _obj4 = 0; | |
6385 | wxRealPoint temp2; | |
6386 | PyObject * _obj5 = 0; | |
e91a9dfc RD |
6387 | char *_kwnames[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL }; |
6388 | ||
6389 | self = self; | |
2348eaee | 6390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj5)) |
e91a9dfc RD |
6391 | return NULL; |
6392 | if (_argo0) { | |
6393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p."); | |
6396 | return NULL; | |
6397 | } | |
6398 | } | |
2348eaee RD |
6399 | { |
6400 | _arg2 = &temp; | |
6401 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6402 | return NULL; |
2348eaee RD |
6403 | } |
6404 | { | |
6405 | _arg3 = &temp0; | |
6406 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6407 | return NULL; |
2348eaee RD |
6408 | } |
6409 | { | |
6410 | _arg4 = &temp1; | |
6411 | if (! wxRealPoint_helper(_obj4, &_arg4)) | |
e91a9dfc | 6412 | return NULL; |
2348eaee RD |
6413 | } |
6414 | { | |
6415 | _arg5 = &temp2; | |
6416 | if (! wxRealPoint_helper(_obj5, &_arg5)) | |
e91a9dfc | 6417 | return NULL; |
2348eaee | 6418 | } |
e91a9dfc RD |
6419 | { |
6420 | wxPy_BEGIN_ALLOW_THREADS; | |
6421 | _result = (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5); | |
6422 | ||
6423 | wxPy_END_ALLOW_THREADS; | |
6424 | } _resultobj = Py_BuildValue("i",_result); | |
6425 | return _resultobj; | |
6426 | } | |
6427 | ||
6428 | #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6429 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6430 | PyObject * _resultobj; | |
6431 | bool _result; | |
6432 | wxPyShape * _arg0; | |
6433 | int _arg1; | |
6434 | int _arg2; | |
6435 | wxRealPoint * _arg3; | |
6436 | wxRealPoint * _arg4; | |
6437 | PyObject * _argo0 = 0; | |
2348eaee RD |
6438 | wxRealPoint temp; |
6439 | PyObject * _obj3 = 0; | |
6440 | wxRealPoint temp0; | |
6441 | PyObject * _obj4 = 0; | |
e91a9dfc RD |
6442 | char *_kwnames[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL }; |
6443 | ||
6444 | self = self; | |
2348eaee | 6445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
e91a9dfc RD |
6446 | return NULL; |
6447 | if (_argo0) { | |
6448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p."); | |
6451 | return NULL; | |
6452 | } | |
6453 | } | |
2348eaee RD |
6454 | { |
6455 | _arg3 = &temp; | |
6456 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6457 | return NULL; |
2348eaee RD |
6458 | } |
6459 | { | |
6460 | _arg4 = &temp0; | |
6461 | if (! wxRealPoint_helper(_obj4, &_arg4)) | |
e91a9dfc | 6462 | return NULL; |
2348eaee | 6463 | } |
e91a9dfc RD |
6464 | { |
6465 | wxPy_BEGIN_ALLOW_THREADS; | |
6466 | _result = (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0,_arg1,_arg2,*_arg3,*_arg4); | |
6467 | ||
6468 | wxPy_END_ALLOW_THREADS; | |
6469 | } _resultobj = Py_BuildValue("i",_result); | |
6470 | return _resultobj; | |
6471 | } | |
6472 | ||
6473 | #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0)) | |
6474 | static PyObject *_wrap_wxPyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6475 | PyObject * _resultobj; | |
6476 | int _result; | |
6477 | wxPyShape * _arg0; | |
6478 | int _arg1; | |
6479 | PyObject * _argo0 = 0; | |
6480 | char *_kwnames[] = { "self","attachment", NULL }; | |
6481 | ||
6482 | self = self; | |
6483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames,&_argo0,&_arg1)) | |
6484 | return NULL; | |
6485 | if (_argo0) { | |
6486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p."); | |
6489 | return NULL; | |
6490 | } | |
6491 | } | |
6492 | { | |
6493 | wxPy_BEGIN_ALLOW_THREADS; | |
6494 | _result = (int )wxPyShape_GetAttachmentLineCount(_arg0,_arg1); | |
6495 | ||
6496 | wxPy_END_ALLOW_THREADS; | |
6497 | } _resultobj = Py_BuildValue("i",_result); | |
6498 | return _resultobj; | |
6499 | } | |
6500 | ||
6501 | #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0)) | |
6502 | static PyObject *_wrap_wxPyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6503 | PyObject * _resultobj; | |
6504 | wxPyShape * _arg0; | |
6505 | int _arg1; | |
6506 | PyObject * _argo0 = 0; | |
6507 | char *_kwnames[] = { "self","len", NULL }; | |
6508 | ||
6509 | self = self; | |
6510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchNeckLength",_kwnames,&_argo0,&_arg1)) | |
6511 | return NULL; | |
6512 | if (_argo0) { | |
6513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p."); | |
6516 | return NULL; | |
6517 | } | |
6518 | } | |
6519 | { | |
6520 | wxPy_BEGIN_ALLOW_THREADS; | |
6521 | wxPyShape_SetBranchNeckLength(_arg0,_arg1); | |
6522 | ||
6523 | wxPy_END_ALLOW_THREADS; | |
6524 | } Py_INCREF(Py_None); | |
6525 | _resultobj = Py_None; | |
6526 | return _resultobj; | |
6527 | } | |
6528 | ||
6529 | #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength()) | |
6530 | static PyObject *_wrap_wxPyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6531 | PyObject * _resultobj; | |
6532 | int _result; | |
6533 | wxPyShape * _arg0; | |
6534 | PyObject * _argo0 = 0; | |
6535 | char *_kwnames[] = { "self", NULL }; | |
6536 | ||
6537 | self = self; | |
6538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchNeckLength",_kwnames,&_argo0)) | |
6539 | return NULL; | |
6540 | if (_argo0) { | |
6541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p."); | |
6544 | return NULL; | |
6545 | } | |
6546 | } | |
6547 | { | |
6548 | wxPy_BEGIN_ALLOW_THREADS; | |
6549 | _result = (int )wxPyShape_GetBranchNeckLength(_arg0); | |
6550 | ||
6551 | wxPy_END_ALLOW_THREADS; | |
6552 | } _resultobj = Py_BuildValue("i",_result); | |
6553 | return _resultobj; | |
6554 | } | |
6555 | ||
6556 | #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0)) | |
6557 | static PyObject *_wrap_wxPyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6558 | PyObject * _resultobj; | |
6559 | wxPyShape * _arg0; | |
6560 | int _arg1; | |
6561 | PyObject * _argo0 = 0; | |
6562 | char *_kwnames[] = { "self","len", NULL }; | |
6563 | ||
6564 | self = self; | |
6565 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchStemLength",_kwnames,&_argo0,&_arg1)) | |
6566 | return NULL; | |
6567 | if (_argo0) { | |
6568 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6569 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6570 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p."); | |
6571 | return NULL; | |
6572 | } | |
6573 | } | |
6574 | { | |
6575 | wxPy_BEGIN_ALLOW_THREADS; | |
6576 | wxPyShape_SetBranchStemLength(_arg0,_arg1); | |
6577 | ||
6578 | wxPy_END_ALLOW_THREADS; | |
6579 | } Py_INCREF(Py_None); | |
6580 | _resultobj = Py_None; | |
6581 | return _resultobj; | |
6582 | } | |
6583 | ||
6584 | #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength()) | |
6585 | static PyObject *_wrap_wxPyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6586 | PyObject * _resultobj; | |
6587 | int _result; | |
6588 | wxPyShape * _arg0; | |
6589 | PyObject * _argo0 = 0; | |
6590 | char *_kwnames[] = { "self", NULL }; | |
6591 | ||
6592 | self = self; | |
6593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStemLength",_kwnames,&_argo0)) | |
6594 | return NULL; | |
6595 | if (_argo0) { | |
6596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p."); | |
6599 | return NULL; | |
6600 | } | |
6601 | } | |
6602 | { | |
6603 | wxPy_BEGIN_ALLOW_THREADS; | |
6604 | _result = (int )wxPyShape_GetBranchStemLength(_arg0); | |
6605 | ||
6606 | wxPy_END_ALLOW_THREADS; | |
6607 | } _resultobj = Py_BuildValue("i",_result); | |
6608 | return _resultobj; | |
6609 | } | |
6610 | ||
6611 | #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0)) | |
6612 | static PyObject *_wrap_wxPyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6613 | PyObject * _resultobj; | |
6614 | wxPyShape * _arg0; | |
6615 | int _arg1; | |
6616 | PyObject * _argo0 = 0; | |
6617 | char *_kwnames[] = { "self","len", NULL }; | |
6618 | ||
6619 | self = self; | |
6620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchSpacing",_kwnames,&_argo0,&_arg1)) | |
6621 | return NULL; | |
6622 | if (_argo0) { | |
6623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p."); | |
6626 | return NULL; | |
6627 | } | |
6628 | } | |
6629 | { | |
6630 | wxPy_BEGIN_ALLOW_THREADS; | |
6631 | wxPyShape_SetBranchSpacing(_arg0,_arg1); | |
6632 | ||
6633 | wxPy_END_ALLOW_THREADS; | |
6634 | } Py_INCREF(Py_None); | |
6635 | _resultobj = Py_None; | |
6636 | return _resultobj; | |
6637 | } | |
6638 | ||
6639 | #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing()) | |
6640 | static PyObject *_wrap_wxPyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6641 | PyObject * _resultobj; | |
6642 | int _result; | |
6643 | wxPyShape * _arg0; | |
6644 | PyObject * _argo0 = 0; | |
6645 | char *_kwnames[] = { "self", NULL }; | |
6646 | ||
6647 | self = self; | |
6648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchSpacing",_kwnames,&_argo0)) | |
6649 | return NULL; | |
6650 | if (_argo0) { | |
6651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p."); | |
6654 | return NULL; | |
6655 | } | |
6656 | } | |
6657 | { | |
6658 | wxPy_BEGIN_ALLOW_THREADS; | |
6659 | _result = (int )wxPyShape_GetBranchSpacing(_arg0); | |
6660 | ||
6661 | wxPy_END_ALLOW_THREADS; | |
6662 | } _resultobj = Py_BuildValue("i",_result); | |
6663 | return _resultobj; | |
6664 | } | |
6665 | ||
6666 | #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0)) | |
6667 | static PyObject *_wrap_wxPyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6668 | PyObject * _resultobj; | |
6669 | wxPyShape * _arg0; | |
6670 | long _arg1; | |
6671 | PyObject * _argo0 = 0; | |
6672 | char *_kwnames[] = { "self","style", NULL }; | |
6673 | ||
6674 | self = self; | |
6675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetBranchStyle",_kwnames,&_argo0,&_arg1)) | |
6676 | return NULL; | |
6677 | if (_argo0) { | |
6678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p."); | |
6681 | return NULL; | |
6682 | } | |
6683 | } | |
6684 | { | |
6685 | wxPy_BEGIN_ALLOW_THREADS; | |
6686 | wxPyShape_SetBranchStyle(_arg0,_arg1); | |
6687 | ||
6688 | wxPy_END_ALLOW_THREADS; | |
6689 | } Py_INCREF(Py_None); | |
6690 | _resultobj = Py_None; | |
6691 | return _resultobj; | |
6692 | } | |
6693 | ||
6694 | #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle()) | |
6695 | static PyObject *_wrap_wxPyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6696 | PyObject * _resultobj; | |
6697 | long _result; | |
6698 | wxPyShape * _arg0; | |
6699 | PyObject * _argo0 = 0; | |
6700 | char *_kwnames[] = { "self", NULL }; | |
6701 | ||
6702 | self = self; | |
6703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStyle",_kwnames,&_argo0)) | |
6704 | return NULL; | |
6705 | if (_argo0) { | |
6706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p."); | |
6709 | return NULL; | |
6710 | } | |
6711 | } | |
6712 | { | |
6713 | wxPy_BEGIN_ALLOW_THREADS; | |
6714 | _result = (long )wxPyShape_GetBranchStyle(_arg0); | |
6715 | ||
6716 | wxPy_END_ALLOW_THREADS; | |
6717 | } _resultobj = Py_BuildValue("l",_result); | |
6718 | return _resultobj; | |
6719 | } | |
6720 | ||
6721 | #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0)) | |
6722 | static PyObject *_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6723 | PyObject * _resultobj; | |
6724 | int _result; | |
6725 | wxPyShape * _arg0; | |
6726 | int _arg1; | |
6727 | PyObject * _argo0 = 0; | |
6728 | char *_kwnames[] = { "self","physicalAttachment", NULL }; | |
6729 | ||
6730 | self = self; | |
6731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames,&_argo0,&_arg1)) | |
6732 | return NULL; | |
6733 | if (_argo0) { | |
6734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p."); | |
6737 | return NULL; | |
6738 | } | |
6739 | } | |
6740 | { | |
6741 | wxPy_BEGIN_ALLOW_THREADS; | |
6742 | _result = (int )wxPyShape_PhysicalToLogicalAttachment(_arg0,_arg1); | |
6743 | ||
6744 | wxPy_END_ALLOW_THREADS; | |
6745 | } _resultobj = Py_BuildValue("i",_result); | |
6746 | return _resultobj; | |
6747 | } | |
6748 | ||
6749 | #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0)) | |
6750 | static PyObject *_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6751 | PyObject * _resultobj; | |
6752 | int _result; | |
6753 | wxPyShape * _arg0; | |
6754 | int _arg1; | |
6755 | PyObject * _argo0 = 0; | |
6756 | char *_kwnames[] = { "self","logicalAttachment", NULL }; | |
6757 | ||
6758 | self = self; | |
6759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames,&_argo0,&_arg1)) | |
6760 | return NULL; | |
6761 | if (_argo0) { | |
6762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p."); | |
6765 | return NULL; | |
6766 | } | |
6767 | } | |
6768 | { | |
6769 | wxPy_BEGIN_ALLOW_THREADS; | |
6770 | _result = (int )wxPyShape_LogicalToPhysicalAttachment(_arg0,_arg1); | |
6771 | ||
6772 | wxPy_END_ALLOW_THREADS; | |
6773 | } _resultobj = Py_BuildValue("i",_result); | |
6774 | return _resultobj; | |
6775 | } | |
6776 | ||
6777 | #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable()) | |
6778 | static PyObject *_wrap_wxPyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6779 | PyObject * _resultobj; | |
6780 | bool _result; | |
6781 | wxPyShape * _arg0; | |
6782 | PyObject * _argo0 = 0; | |
6783 | char *_kwnames[] = { "self", NULL }; | |
6784 | ||
6785 | self = self; | |
6786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Draggable",_kwnames,&_argo0)) | |
6787 | return NULL; | |
6788 | if (_argo0) { | |
6789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p."); | |
6792 | return NULL; | |
6793 | } | |
6794 | } | |
6795 | { | |
6796 | wxPy_BEGIN_ALLOW_THREADS; | |
6797 | _result = (bool )wxPyShape_Draggable(_arg0); | |
6798 | ||
6799 | wxPy_END_ALLOW_THREADS; | |
6800 | } _resultobj = Py_BuildValue("i",_result); | |
6801 | return _resultobj; | |
6802 | } | |
6803 | ||
6804 | #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0)) | |
6805 | static PyObject *_wrap_wxPyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6806 | PyObject * _resultobj; | |
6807 | bool _result; | |
6808 | wxPyShape * _arg0; | |
6809 | wxPyShape * _arg1; | |
6810 | PyObject * _argo0 = 0; | |
6811 | PyObject * _argo1 = 0; | |
6812 | char *_kwnames[] = { "self","image", NULL }; | |
6813 | ||
6814 | self = self; | |
6815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_HasDescendant",_kwnames,&_argo0,&_argo1)) | |
6816 | return NULL; | |
6817 | if (_argo0) { | |
6818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p."); | |
6821 | return NULL; | |
6822 | } | |
6823 | } | |
6824 | if (_argo1) { | |
6825 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6826 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p."); | |
6828 | return NULL; | |
6829 | } | |
6830 | } | |
6831 | { | |
6832 | wxPy_BEGIN_ALLOW_THREADS; | |
6833 | _result = (bool )wxPyShape_HasDescendant(_arg0,_arg1); | |
6834 | ||
6835 | wxPy_END_ALLOW_THREADS; | |
6836 | } _resultobj = Py_BuildValue("i",_result); | |
6837 | return _resultobj; | |
6838 | } | |
6839 | ||
6840 | #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1)) | |
6841 | static PyObject *_wrap_wxPyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6842 | PyObject * _resultobj; | |
6843 | wxPyShape * _result; | |
6844 | wxPyShape * _arg0; | |
6845 | bool _arg1 = (bool ) TRUE; | |
6846 | bool _arg2 = (bool ) TRUE; | |
6847 | PyObject * _argo0 = 0; | |
6848 | int tempbool1 = (int) TRUE; | |
6849 | int tempbool2 = (int) TRUE; | |
6850 | char *_kwnames[] = { "self","resetMapping","recompute", NULL }; | |
6851 | char _ptemp[128]; | |
6852 | ||
6853 | self = self; | |
6854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_CreateNewCopy",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
6855 | return NULL; | |
6856 | if (_argo0) { | |
6857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p."); | |
6860 | return NULL; | |
6861 | } | |
6862 | } | |
6863 | _arg1 = (bool ) tempbool1; | |
6864 | _arg2 = (bool ) tempbool2; | |
6865 | { | |
6866 | wxPy_BEGIN_ALLOW_THREADS; | |
6867 | _result = (wxPyShape *)wxPyShape_CreateNewCopy(_arg0,_arg1,_arg2); | |
6868 | ||
6869 | wxPy_END_ALLOW_THREADS; | |
6870 | } if (_result) { | |
6871 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
6872 | _resultobj = Py_BuildValue("s",_ptemp); | |
6873 | } else { | |
6874 | Py_INCREF(Py_None); | |
6875 | _resultobj = Py_None; | |
6876 | } | |
6877 | return _resultobj; | |
6878 | } | |
6879 | ||
6880 | #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0)) | |
6881 | static PyObject *_wrap_wxPyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6882 | PyObject * _resultobj; | |
6883 | wxPyShape * _arg0; | |
6884 | wxPyShape * _arg1; | |
6885 | PyObject * _argo0 = 0; | |
6886 | PyObject * _argo1 = 0; | |
6887 | char *_kwnames[] = { "self","copy", NULL }; | |
6888 | ||
6889 | self = self; | |
6890 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Copy",_kwnames,&_argo0,&_argo1)) | |
6891 | return NULL; | |
6892 | if (_argo0) { | |
6893 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6894 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p."); | |
6896 | return NULL; | |
6897 | } | |
6898 | } | |
6899 | if (_argo1) { | |
6900 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6901 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p."); | |
6903 | return NULL; | |
6904 | } | |
6905 | } | |
6906 | { | |
6907 | wxPy_BEGIN_ALLOW_THREADS; | |
6908 | wxPyShape_Copy(_arg0,*_arg1); | |
6909 | ||
6910 | wxPy_END_ALLOW_THREADS; | |
6911 | } Py_INCREF(Py_None); | |
6912 | _resultobj = Py_None; | |
6913 | return _resultobj; | |
6914 | } | |
6915 | ||
6916 | #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0)) | |
6917 | static PyObject *_wrap_wxPyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6918 | PyObject * _resultobj; | |
6919 | wxPyShape * _arg0; | |
6920 | wxPyShape * _arg1; | |
6921 | PyObject * _argo0 = 0; | |
6922 | PyObject * _argo1 = 0; | |
6923 | char *_kwnames[] = { "self","copy", NULL }; | |
6924 | ||
6925 | self = self; | |
6926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_CopyWithHandler",_kwnames,&_argo0,&_argo1)) | |
6927 | return NULL; | |
6928 | if (_argo0) { | |
6929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p."); | |
6932 | return NULL; | |
6933 | } | |
6934 | } | |
6935 | if (_argo1) { | |
6936 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6937 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6938 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p."); | |
6939 | return NULL; | |
6940 | } | |
6941 | } | |
6942 | { | |
6943 | wxPy_BEGIN_ALLOW_THREADS; | |
6944 | wxPyShape_CopyWithHandler(_arg0,*_arg1); | |
6945 | ||
6946 | wxPy_END_ALLOW_THREADS; | |
6947 | } Py_INCREF(Py_None); | |
6948 | _resultobj = Py_None; | |
6949 | return _resultobj; | |
6950 | } | |
6951 | ||
6952 | #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
6953 | static PyObject *_wrap_wxPyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6954 | PyObject * _resultobj; | |
6955 | wxPyShape * _arg0; | |
6956 | double _arg1; | |
6957 | double _arg2; | |
6958 | double _arg3; | |
6959 | PyObject * _argo0 = 0; | |
6960 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
6961 | ||
6962 | self = self; | |
6963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
6964 | return NULL; | |
6965 | if (_argo0) { | |
6966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p."); | |
6969 | return NULL; | |
6970 | } | |
6971 | } | |
6972 | { | |
6973 | wxPy_BEGIN_ALLOW_THREADS; | |
6974 | wxPyShape_Rotate(_arg0,_arg1,_arg2,_arg3); | |
6975 | ||
6976 | wxPy_END_ALLOW_THREADS; | |
6977 | } Py_INCREF(Py_None); | |
6978 | _resultobj = Py_None; | |
6979 | return _resultobj; | |
6980 | } | |
6981 | ||
6982 | #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
6983 | static PyObject *_wrap_wxPyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6984 | PyObject * _resultobj; | |
6985 | double _result; | |
6986 | wxPyShape * _arg0; | |
6987 | PyObject * _argo0 = 0; | |
6988 | char *_kwnames[] = { "self", NULL }; | |
6989 | ||
6990 | self = self; | |
6991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRotation",_kwnames,&_argo0)) | |
6992 | return NULL; | |
6993 | if (_argo0) { | |
6994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p."); | |
6997 | return NULL; | |
6998 | } | |
6999 | } | |
7000 | { | |
7001 | wxPy_BEGIN_ALLOW_THREADS; | |
7002 | _result = (double )wxPyShape_GetRotation(_arg0); | |
7003 | ||
7004 | wxPy_END_ALLOW_THREADS; | |
7005 | } _resultobj = Py_BuildValue("d",_result); | |
7006 | return _resultobj; | |
7007 | } | |
7008 | ||
7009 | #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments()) | |
7010 | static PyObject *_wrap_wxPyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7011 | PyObject * _resultobj; | |
7012 | wxPyShape * _arg0; | |
7013 | PyObject * _argo0 = 0; | |
7014 | char *_kwnames[] = { "self", NULL }; | |
7015 | ||
7016 | self = self; | |
7017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearAttachments",_kwnames,&_argo0)) | |
7018 | return NULL; | |
7019 | if (_argo0) { | |
7020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p."); | |
7023 | return NULL; | |
7024 | } | |
7025 | } | |
7026 | { | |
7027 | wxPy_BEGIN_ALLOW_THREADS; | |
7028 | wxPyShape_ClearAttachments(_arg0); | |
7029 | ||
7030 | wxPy_END_ALLOW_THREADS; | |
7031 | } Py_INCREF(Py_None); | |
7032 | _resultobj = Py_None; | |
7033 | return _resultobj; | |
7034 | } | |
7035 | ||
7036 | #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0)) | |
7037 | static PyObject *_wrap_wxPyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7038 | PyObject * _resultobj; | |
7039 | wxPyShape * _arg0; | |
7040 | wxDC * _arg1; | |
7041 | PyObject * _argo0 = 0; | |
7042 | PyObject * _argo1 = 0; | |
7043 | char *_kwnames[] = { "self","dc", NULL }; | |
7044 | ||
7045 | self = self; | |
7046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Recentre",_kwnames,&_argo0,&_argo1)) | |
7047 | return NULL; | |
7048 | if (_argo0) { | |
7049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p."); | |
7052 | return NULL; | |
7053 | } | |
7054 | } | |
7055 | if (_argo1) { | |
7056 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7057 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p."); | |
7059 | return NULL; | |
7060 | } | |
7061 | } | |
7062 | { | |
7063 | wxPy_BEGIN_ALLOW_THREADS; | |
7064 | wxPyShape_Recentre(_arg0,*_arg1); | |
7065 | ||
7066 | wxPy_END_ALLOW_THREADS; | |
7067 | } Py_INCREF(Py_None); | |
7068 | _resultobj = Py_None; | |
7069 | return _resultobj; | |
7070 | } | |
7071 | ||
7072 | #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0)) | |
7073 | static PyObject *_wrap_wxPyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7074 | PyObject * _resultobj; | |
7075 | wxPyShape * _arg0; | |
7076 | wxList * _arg1; | |
7077 | PyObject * _argo0 = 0; | |
7078 | PyObject * _argo1 = 0; | |
7079 | char *_kwnames[] = { "self","list", NULL }; | |
7080 | ||
7081 | self = self; | |
7082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ClearPointList",_kwnames,&_argo0,&_argo1)) | |
7083 | return NULL; | |
7084 | if (_argo0) { | |
7085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p."); | |
7088 | return NULL; | |
7089 | } | |
7090 | } | |
7091 | if (_argo1) { | |
7092 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7093 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxList_p")) { | |
7094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p."); | |
7095 | return NULL; | |
7096 | } | |
7097 | } | |
7098 | { | |
7099 | wxPy_BEGIN_ALLOW_THREADS; | |
7100 | wxPyShape_ClearPointList(_arg0,*_arg1); | |
7101 | ||
7102 | wxPy_END_ALLOW_THREADS; | |
7103 | } Py_INCREF(Py_None); | |
7104 | _resultobj = Py_None; | |
7105 | return _resultobj; | |
7106 | } | |
7107 | ||
7108 | #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
7109 | static PyObject *_wrap_wxPyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7110 | PyObject * _resultobj; | |
7111 | wxPyShape * _arg0; | |
7112 | PyObject * _argo0 = 0; | |
7113 | char *_kwnames[] = { "self", NULL }; | |
7114 | ||
7115 | self = self; | |
7116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_base_OnDelete",_kwnames,&_argo0)) | |
7117 | return NULL; | |
7118 | if (_argo0) { | |
7119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p."); | |
7122 | return NULL; | |
7123 | } | |
7124 | } | |
7125 | { | |
7126 | wxPy_BEGIN_ALLOW_THREADS; | |
7127 | wxPyShape_base_OnDelete(_arg0); | |
7128 | ||
7129 | wxPy_END_ALLOW_THREADS; | |
7130 | } Py_INCREF(Py_None); | |
7131 | _resultobj = Py_None; | |
7132 | return _resultobj; | |
7133 | } | |
7134 | ||
7135 | #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
7136 | static PyObject *_wrap_wxPyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7137 | PyObject * _resultobj; | |
7138 | wxPyShape * _arg0; | |
7139 | wxDC * _arg1; | |
7140 | PyObject * _argo0 = 0; | |
7141 | PyObject * _argo1 = 0; | |
7142 | char *_kwnames[] = { "self","dc", NULL }; | |
7143 | ||
7144 | self = self; | |
7145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
7146 | return NULL; | |
7147 | if (_argo0) { | |
7148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p."); | |
7151 | return NULL; | |
7152 | } | |
7153 | } | |
7154 | if (_argo1) { | |
7155 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7156 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p."); | |
7158 | return NULL; | |
7159 | } | |
7160 | } | |
7161 | { | |
7162 | wxPy_BEGIN_ALLOW_THREADS; | |
7163 | wxPyShape_base_OnDraw(_arg0,*_arg1); | |
7164 | ||
7165 | wxPy_END_ALLOW_THREADS; | |
7166 | } Py_INCREF(Py_None); | |
7167 | _resultobj = Py_None; | |
7168 | return _resultobj; | |
7169 | } | |
7170 | ||
7171 | #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
7172 | static PyObject *_wrap_wxPyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7173 | PyObject * _resultobj; | |
7174 | wxPyShape * _arg0; | |
7175 | wxDC * _arg1; | |
7176 | PyObject * _argo0 = 0; | |
7177 | PyObject * _argo1 = 0; | |
7178 | char *_kwnames[] = { "self","dc", NULL }; | |
7179 | ||
7180 | self = self; | |
7181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
7182 | return NULL; | |
7183 | if (_argo0) { | |
7184 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7185 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p."); | |
7187 | return NULL; | |
7188 | } | |
7189 | } | |
7190 | if (_argo1) { | |
7191 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7192 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p."); | |
7194 | return NULL; | |
7195 | } | |
7196 | } | |
7197 | { | |
7198 | wxPy_BEGIN_ALLOW_THREADS; | |
7199 | wxPyShape_base_OnDrawContents(_arg0,*_arg1); | |
7200 | ||
7201 | wxPy_END_ALLOW_THREADS; | |
7202 | } Py_INCREF(Py_None); | |
7203 | _resultobj = Py_None; | |
7204 | return _resultobj; | |
7205 | } | |
7206 | ||
7207 | #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
7208 | static PyObject *_wrap_wxPyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7209 | PyObject * _resultobj; | |
7210 | wxPyShape * _arg0; | |
7211 | wxDC * _arg1; | |
7212 | bool _arg2 = (bool ) FALSE; | |
7213 | PyObject * _argo0 = 0; | |
7214 | PyObject * _argo1 = 0; | |
7215 | int tempbool2 = (int) FALSE; | |
7216 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
7217 | ||
7218 | self = self; | |
7219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7220 | return NULL; | |
7221 | if (_argo0) { | |
7222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p."); | |
7225 | return NULL; | |
7226 | } | |
7227 | } | |
7228 | if (_argo1) { | |
7229 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7230 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p."); | |
7232 | return NULL; | |
7233 | } | |
7234 | } | |
7235 | _arg2 = (bool ) tempbool2; | |
7236 | { | |
7237 | wxPy_BEGIN_ALLOW_THREADS; | |
7238 | wxPyShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
7239 | ||
7240 | wxPy_END_ALLOW_THREADS; | |
7241 | } Py_INCREF(Py_None); | |
7242 | _resultobj = Py_None; | |
7243 | return _resultobj; | |
7244 | } | |
7245 | ||
7246 | #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
7247 | static PyObject *_wrap_wxPyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7248 | PyObject * _resultobj; | |
7249 | wxPyShape * _arg0; | |
7250 | wxDC * _arg1; | |
7251 | PyObject * _argo0 = 0; | |
7252 | PyObject * _argo1 = 0; | |
7253 | char *_kwnames[] = { "self","dc", NULL }; | |
7254 | ||
7255 | self = self; | |
7256 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
7257 | return NULL; | |
7258 | if (_argo0) { | |
7259 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7260 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p."); | |
7262 | return NULL; | |
7263 | } | |
7264 | } | |
7265 | if (_argo1) { | |
7266 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7267 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p."); | |
7269 | return NULL; | |
7270 | } | |
7271 | } | |
7272 | { | |
7273 | wxPy_BEGIN_ALLOW_THREADS; | |
7274 | wxPyShape_base_OnMoveLinks(_arg0,*_arg1); | |
7275 | ||
7276 | wxPy_END_ALLOW_THREADS; | |
7277 | } Py_INCREF(Py_None); | |
7278 | _resultobj = Py_None; | |
7279 | return _resultobj; | |
7280 | } | |
7281 | ||
7282 | #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
7283 | static PyObject *_wrap_wxPyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7284 | PyObject * _resultobj; | |
7285 | wxPyShape * _arg0; | |
7286 | wxDC * _arg1; | |
7287 | PyObject * _argo0 = 0; | |
7288 | PyObject * _argo1 = 0; | |
7289 | char *_kwnames[] = { "self","dc", NULL }; | |
7290 | ||
7291 | self = self; | |
7292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
7293 | return NULL; | |
7294 | if (_argo0) { | |
7295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p."); | |
7298 | return NULL; | |
7299 | } | |
7300 | } | |
7301 | if (_argo1) { | |
7302 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7303 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p."); | |
7305 | return NULL; | |
7306 | } | |
7307 | } | |
7308 | { | |
7309 | wxPy_BEGIN_ALLOW_THREADS; | |
7310 | wxPyShape_base_OnErase(_arg0,*_arg1); | |
7311 | ||
7312 | wxPy_END_ALLOW_THREADS; | |
7313 | } Py_INCREF(Py_None); | |
7314 | _resultobj = Py_None; | |
7315 | return _resultobj; | |
7316 | } | |
7317 | ||
7318 | #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
7319 | static PyObject *_wrap_wxPyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7320 | PyObject * _resultobj; | |
7321 | wxPyShape * _arg0; | |
7322 | wxDC * _arg1; | |
7323 | PyObject * _argo0 = 0; | |
7324 | PyObject * _argo1 = 0; | |
7325 | char *_kwnames[] = { "self","dc", NULL }; | |
7326 | ||
7327 | self = self; | |
7328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
7329 | return NULL; | |
7330 | if (_argo0) { | |
7331 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7332 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p."); | |
7334 | return NULL; | |
7335 | } | |
7336 | } | |
7337 | if (_argo1) { | |
7338 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7339 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p."); | |
7341 | return NULL; | |
7342 | } | |
7343 | } | |
7344 | { | |
7345 | wxPy_BEGIN_ALLOW_THREADS; | |
7346 | wxPyShape_base_OnEraseContents(_arg0,*_arg1); | |
7347 | ||
7348 | wxPy_END_ALLOW_THREADS; | |
7349 | } Py_INCREF(Py_None); | |
7350 | _resultobj = Py_None; | |
7351 | return _resultobj; | |
7352 | } | |
7353 | ||
7354 | #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
7355 | static PyObject *_wrap_wxPyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7356 | PyObject * _resultobj; | |
7357 | wxPyShape * _arg0; | |
7358 | wxDC * _arg1; | |
7359 | PyObject * _argo0 = 0; | |
7360 | PyObject * _argo1 = 0; | |
7361 | char *_kwnames[] = { "self","dc", NULL }; | |
7362 | ||
7363 | self = self; | |
7364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
7365 | return NULL; | |
7366 | if (_argo0) { | |
7367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p."); | |
7370 | return NULL; | |
7371 | } | |
7372 | } | |
7373 | if (_argo1) { | |
7374 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7375 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p."); | |
7377 | return NULL; | |
7378 | } | |
7379 | } | |
7380 | { | |
7381 | wxPy_BEGIN_ALLOW_THREADS; | |
7382 | wxPyShape_base_OnHighlight(_arg0,*_arg1); | |
7383 | ||
7384 | wxPy_END_ALLOW_THREADS; | |
7385 | } Py_INCREF(Py_None); | |
7386 | _resultobj = Py_None; | |
7387 | return _resultobj; | |
7388 | } | |
7389 | ||
7390 | #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7391 | static PyObject *_wrap_wxPyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7392 | PyObject * _resultobj; | |
7393 | wxPyShape * _arg0; | |
7394 | double _arg1; | |
7395 | double _arg2; | |
7396 | int _arg3 = (int ) 0; | |
7397 | int _arg4 = (int ) 0; | |
7398 | PyObject * _argo0 = 0; | |
7399 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7400 | ||
7401 | self = self; | |
7402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7403 | return NULL; | |
7404 | if (_argo0) { | |
7405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p."); | |
7408 | return NULL; | |
7409 | } | |
7410 | } | |
7411 | { | |
7412 | wxPy_BEGIN_ALLOW_THREADS; | |
7413 | wxPyShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7414 | ||
7415 | wxPy_END_ALLOW_THREADS; | |
7416 | } Py_INCREF(Py_None); | |
7417 | _resultobj = Py_None; | |
7418 | return _resultobj; | |
7419 | } | |
7420 | ||
7421 | #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7422 | static PyObject *_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7423 | PyObject * _resultobj; | |
7424 | wxPyShape * _arg0; | |
7425 | double _arg1; | |
7426 | double _arg2; | |
7427 | int _arg3 = (int ) 0; | |
7428 | int _arg4 = (int ) 0; | |
7429 | PyObject * _argo0 = 0; | |
7430 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7431 | ||
7432 | self = self; | |
7433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7434 | return NULL; | |
7435 | if (_argo0) { | |
7436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p."); | |
7439 | return NULL; | |
7440 | } | |
7441 | } | |
7442 | { | |
7443 | wxPy_BEGIN_ALLOW_THREADS; | |
7444 | wxPyShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7445 | ||
7446 | wxPy_END_ALLOW_THREADS; | |
7447 | } Py_INCREF(Py_None); | |
7448 | _resultobj = Py_None; | |
7449 | return _resultobj; | |
7450 | } | |
7451 | ||
7452 | #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7453 | static PyObject *_wrap_wxPyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7454 | PyObject * _resultobj; | |
7455 | wxPyShape * _arg0; | |
7456 | double _arg1; | |
7457 | double _arg2; | |
7458 | int _arg3 = (int ) 0; | |
7459 | int _arg4 = (int ) 0; | |
7460 | PyObject * _argo0 = 0; | |
7461 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7462 | ||
7463 | self = self; | |
7464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7465 | return NULL; | |
7466 | if (_argo0) { | |
7467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p."); | |
7470 | return NULL; | |
7471 | } | |
7472 | } | |
7473 | { | |
7474 | wxPy_BEGIN_ALLOW_THREADS; | |
7475 | wxPyShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7476 | ||
7477 | wxPy_END_ALLOW_THREADS; | |
7478 | } Py_INCREF(Py_None); | |
7479 | _resultobj = Py_None; | |
7480 | return _resultobj; | |
7481 | } | |
7482 | ||
7483 | #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
7484 | static PyObject *_wrap_wxPyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7485 | PyObject * _resultobj; | |
7486 | wxPyShape * _arg0; | |
7487 | double _arg1; | |
7488 | double _arg2; | |
7489 | PyObject * _argo0 = 0; | |
7490 | char *_kwnames[] = { "self","x","y", NULL }; | |
7491 | ||
7492 | self = self; | |
7493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7494 | return NULL; | |
7495 | if (_argo0) { | |
7496 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7497 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p."); | |
7499 | return NULL; | |
7500 | } | |
7501 | } | |
7502 | { | |
7503 | wxPy_BEGIN_ALLOW_THREADS; | |
7504 | wxPyShape_base_OnSize(_arg0,_arg1,_arg2); | |
7505 | ||
7506 | wxPy_END_ALLOW_THREADS; | |
7507 | } Py_INCREF(Py_None); | |
7508 | _resultobj = Py_None; | |
7509 | return _resultobj; | |
7510 | } | |
7511 | ||
7512 | #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7513 | static PyObject *_wrap_wxPyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7514 | PyObject * _resultobj; | |
7515 | bool _result; | |
7516 | wxPyShape * _arg0; | |
7517 | wxDC * _arg1; | |
7518 | double _arg2; | |
7519 | double _arg3; | |
7520 | double _arg4; | |
7521 | double _arg5; | |
7522 | bool _arg6 = (bool ) TRUE; | |
7523 | PyObject * _argo0 = 0; | |
7524 | PyObject * _argo1 = 0; | |
7525 | int tempbool6 = (int) TRUE; | |
7526 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7527 | ||
7528 | self = self; | |
7529 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7530 | return NULL; | |
7531 | if (_argo0) { | |
7532 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7533 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7534 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p."); | |
7535 | return NULL; | |
7536 | } | |
7537 | } | |
7538 | if (_argo1) { | |
7539 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7540 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p."); | |
7542 | return NULL; | |
7543 | } | |
7544 | } | |
7545 | _arg6 = (bool ) tempbool6; | |
7546 | { | |
7547 | wxPy_BEGIN_ALLOW_THREADS; | |
7548 | _result = (bool )wxPyShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7549 | ||
7550 | wxPy_END_ALLOW_THREADS; | |
7551 | } _resultobj = Py_BuildValue("i",_result); | |
7552 | return _resultobj; | |
7553 | } | |
7554 | ||
7555 | #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7556 | static PyObject *_wrap_wxPyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7557 | PyObject * _resultobj; | |
7558 | wxPyShape * _arg0; | |
7559 | wxDC * _arg1; | |
7560 | double _arg2; | |
7561 | double _arg3; | |
7562 | double _arg4; | |
7563 | double _arg5; | |
7564 | bool _arg6 = (bool ) TRUE; | |
7565 | PyObject * _argo0 = 0; | |
7566 | PyObject * _argo1 = 0; | |
7567 | int tempbool6 = (int) TRUE; | |
7568 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7569 | ||
7570 | self = self; | |
7571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7572 | return NULL; | |
7573 | if (_argo0) { | |
7574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p."); | |
7577 | return NULL; | |
7578 | } | |
7579 | } | |
7580 | if (_argo1) { | |
7581 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7582 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p."); | |
7584 | return NULL; | |
7585 | } | |
7586 | } | |
7587 | _arg6 = (bool ) tempbool6; | |
7588 | { | |
7589 | wxPy_BEGIN_ALLOW_THREADS; | |
7590 | wxPyShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7591 | ||
7592 | wxPy_END_ALLOW_THREADS; | |
7593 | } Py_INCREF(Py_None); | |
7594 | _resultobj = Py_None; | |
7595 | return _resultobj; | |
7596 | } | |
7597 | ||
7598 | #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7599 | static PyObject *_wrap_wxPyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7600 | PyObject * _resultobj; | |
7601 | wxPyShape * _arg0; | |
7602 | bool _arg1; | |
7603 | double _arg2; | |
7604 | double _arg3; | |
7605 | int _arg4 = (int ) 0; | |
7606 | int _arg5 = (int ) 0; | |
7607 | PyObject * _argo0 = 0; | |
7608 | int tempbool1; | |
7609 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7610 | ||
7611 | self = self; | |
7612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7613 | return NULL; | |
7614 | if (_argo0) { | |
7615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p."); | |
7618 | return NULL; | |
7619 | } | |
7620 | } | |
7621 | _arg1 = (bool ) tempbool1; | |
7622 | { | |
7623 | wxPy_BEGIN_ALLOW_THREADS; | |
7624 | wxPyShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7625 | ||
7626 | wxPy_END_ALLOW_THREADS; | |
7627 | } Py_INCREF(Py_None); | |
7628 | _resultobj = Py_None; | |
7629 | return _resultobj; | |
7630 | } | |
7631 | ||
7632 | #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7633 | static PyObject *_wrap_wxPyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7634 | PyObject * _resultobj; | |
7635 | wxPyShape * _arg0; | |
7636 | double _arg1; | |
7637 | double _arg2; | |
7638 | int _arg3 = (int ) 0; | |
7639 | int _arg4 = (int ) 0; | |
7640 | PyObject * _argo0 = 0; | |
7641 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7642 | ||
7643 | self = self; | |
7644 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7645 | return NULL; | |
7646 | if (_argo0) { | |
7647 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7648 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p."); | |
7650 | return NULL; | |
7651 | } | |
7652 | } | |
7653 | { | |
7654 | wxPy_BEGIN_ALLOW_THREADS; | |
7655 | wxPyShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7656 | ||
7657 | wxPy_END_ALLOW_THREADS; | |
7658 | } Py_INCREF(Py_None); | |
7659 | _resultobj = Py_None; | |
7660 | return _resultobj; | |
7661 | } | |
7662 | ||
7663 | #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7664 | static PyObject *_wrap_wxPyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7665 | PyObject * _resultobj; | |
7666 | wxPyShape * _arg0; | |
7667 | double _arg1; | |
7668 | double _arg2; | |
7669 | int _arg3 = (int ) 0; | |
7670 | int _arg4 = (int ) 0; | |
7671 | PyObject * _argo0 = 0; | |
7672 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7673 | ||
7674 | self = self; | |
7675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7676 | return NULL; | |
7677 | if (_argo0) { | |
7678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p."); | |
7681 | return NULL; | |
7682 | } | |
7683 | } | |
7684 | { | |
7685 | wxPy_BEGIN_ALLOW_THREADS; | |
7686 | wxPyShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7687 | ||
7688 | wxPy_END_ALLOW_THREADS; | |
7689 | } Py_INCREF(Py_None); | |
7690 | _resultobj = Py_None; | |
7691 | return _resultobj; | |
7692 | } | |
7693 | ||
7694 | #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7695 | static PyObject *_wrap_wxPyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7696 | PyObject * _resultobj; | |
7697 | wxPyShape * _arg0; | |
7698 | bool _arg1; | |
7699 | double _arg2; | |
7700 | double _arg3; | |
7701 | int _arg4 = (int ) 0; | |
7702 | int _arg5 = (int ) 0; | |
7703 | PyObject * _argo0 = 0; | |
7704 | int tempbool1; | |
7705 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7706 | ||
7707 | self = self; | |
7708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7709 | return NULL; | |
7710 | if (_argo0) { | |
7711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p."); | |
7714 | return NULL; | |
7715 | } | |
7716 | } | |
7717 | _arg1 = (bool ) tempbool1; | |
7718 | { | |
7719 | wxPy_BEGIN_ALLOW_THREADS; | |
7720 | wxPyShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7721 | ||
7722 | wxPy_END_ALLOW_THREADS; | |
7723 | } Py_INCREF(Py_None); | |
7724 | _resultobj = Py_None; | |
7725 | return _resultobj; | |
7726 | } | |
7727 | ||
7728 | #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7729 | static PyObject *_wrap_wxPyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7730 | PyObject * _resultobj; | |
7731 | wxPyShape * _arg0; | |
7732 | double _arg1; | |
7733 | double _arg2; | |
7734 | int _arg3 = (int ) 0; | |
7735 | int _arg4 = (int ) 0; | |
7736 | PyObject * _argo0 = 0; | |
7737 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7738 | ||
7739 | self = self; | |
7740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7741 | return NULL; | |
7742 | if (_argo0) { | |
7743 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7744 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7745 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p."); | |
7746 | return NULL; | |
7747 | } | |
7748 | } | |
7749 | { | |
7750 | wxPy_BEGIN_ALLOW_THREADS; | |
7751 | wxPyShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7752 | ||
7753 | wxPy_END_ALLOW_THREADS; | |
7754 | } Py_INCREF(Py_None); | |
7755 | _resultobj = Py_None; | |
7756 | return _resultobj; | |
7757 | } | |
7758 | ||
7759 | #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7760 | static PyObject *_wrap_wxPyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7761 | PyObject * _resultobj; | |
7762 | wxPyShape * _arg0; | |
7763 | double _arg1; | |
7764 | double _arg2; | |
7765 | int _arg3 = (int ) 0; | |
7766 | int _arg4 = (int ) 0; | |
7767 | PyObject * _argo0 = 0; | |
7768 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7769 | ||
7770 | self = self; | |
7771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7772 | return NULL; | |
7773 | if (_argo0) { | |
7774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p."); | |
7777 | return NULL; | |
7778 | } | |
7779 | } | |
7780 | { | |
7781 | wxPy_BEGIN_ALLOW_THREADS; | |
7782 | wxPyShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7783 | ||
7784 | wxPy_END_ALLOW_THREADS; | |
7785 | } Py_INCREF(Py_None); | |
7786 | _resultobj = Py_None; | |
7787 | return _resultobj; | |
7788 | } | |
7789 | ||
7790 | #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7791 | static PyObject *_wrap_wxPyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7792 | PyObject * _resultobj; | |
7793 | wxPyShape * _arg0; | |
7794 | wxDC * _arg1; | |
7795 | double _arg2; | |
7796 | double _arg3; | |
7797 | double _arg4; | |
7798 | double _arg5; | |
7799 | PyObject * _argo0 = 0; | |
7800 | PyObject * _argo1 = 0; | |
7801 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7802 | ||
7803 | self = self; | |
7804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7805 | return NULL; | |
7806 | if (_argo0) { | |
7807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p."); | |
7810 | return NULL; | |
7811 | } | |
7812 | } | |
7813 | if (_argo1) { | |
7814 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7815 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7817 | return NULL; | |
7818 | } | |
7819 | } | |
7820 | { | |
7821 | wxPy_BEGIN_ALLOW_THREADS; | |
7822 | wxPyShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7823 | ||
7824 | wxPy_END_ALLOW_THREADS; | |
7825 | } Py_INCREF(Py_None); | |
7826 | _resultobj = Py_None; | |
7827 | return _resultobj; | |
7828 | } | |
7829 | ||
7830 | #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7831 | static PyObject *_wrap_wxPyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7832 | PyObject * _resultobj; | |
7833 | wxPyShape * _arg0; | |
7834 | wxDC * _arg1; | |
7835 | PyObject * _argo0 = 0; | |
7836 | PyObject * _argo1 = 0; | |
7837 | char *_kwnames[] = { "self","dc", NULL }; | |
7838 | ||
7839 | self = self; | |
7840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7841 | return NULL; | |
7842 | if (_argo0) { | |
7843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p."); | |
7846 | return NULL; | |
7847 | } | |
7848 | } | |
7849 | if (_argo1) { | |
7850 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7851 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7853 | return NULL; | |
7854 | } | |
7855 | } | |
7856 | { | |
7857 | wxPy_BEGIN_ALLOW_THREADS; | |
7858 | wxPyShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7859 | ||
7860 | wxPy_END_ALLOW_THREADS; | |
7861 | } Py_INCREF(Py_None); | |
7862 | _resultobj = Py_None; | |
7863 | return _resultobj; | |
7864 | } | |
7865 | ||
7866 | #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7867 | static PyObject *_wrap_wxPyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7868 | PyObject * _resultobj; | |
7869 | wxPyShape * _arg0; | |
7870 | wxDC * _arg1; | |
7871 | PyObject * _argo0 = 0; | |
7872 | PyObject * _argo1 = 0; | |
7873 | char *_kwnames[] = { "self","dc", NULL }; | |
7874 | ||
7875 | self = self; | |
7876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7877 | return NULL; | |
7878 | if (_argo0) { | |
7879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p."); | |
7882 | return NULL; | |
7883 | } | |
7884 | } | |
7885 | if (_argo1) { | |
7886 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7887 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7889 | return NULL; | |
7890 | } | |
7891 | } | |
7892 | { | |
7893 | wxPy_BEGIN_ALLOW_THREADS; | |
7894 | wxPyShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7895 | ||
7896 | wxPy_END_ALLOW_THREADS; | |
7897 | } Py_INCREF(Py_None); | |
7898 | _resultobj = Py_None; | |
7899 | return _resultobj; | |
7900 | } | |
7901 | ||
7902 | #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7903 | static PyObject *_wrap_wxPyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7904 | PyObject * _resultobj; | |
7905 | wxPyShape * _arg0; | |
7906 | wxDC * _arg1; | |
7907 | bool _arg2 = (bool ) TRUE; | |
7908 | PyObject * _argo0 = 0; | |
7909 | PyObject * _argo1 = 0; | |
7910 | int tempbool2 = (int) TRUE; | |
7911 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7912 | ||
7913 | self = self; | |
7914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7915 | return NULL; | |
7916 | if (_argo0) { | |
7917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p."); | |
7920 | return NULL; | |
7921 | } | |
7922 | } | |
7923 | if (_argo1) { | |
7924 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7925 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p."); | |
7927 | return NULL; | |
7928 | } | |
7929 | } | |
7930 | _arg2 = (bool ) tempbool2; | |
7931 | { | |
7932 | wxPy_BEGIN_ALLOW_THREADS; | |
7933 | wxPyShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7934 | ||
7935 | wxPy_END_ALLOW_THREADS; | |
7936 | } Py_INCREF(Py_None); | |
7937 | _resultobj = Py_None; | |
7938 | return _resultobj; | |
7939 | } | |
7940 | ||
7941 | #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7942 | static PyObject *_wrap_wxPyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7943 | PyObject * _resultobj; | |
7944 | wxPyShape * _arg0; | |
2348eaee | 7945 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7946 | bool _arg2; |
7947 | double _arg3; | |
7948 | double _arg4; | |
7949 | int _arg5 = (int ) 0; | |
7950 | int _arg6 = (int ) 0; | |
7951 | PyObject * _argo0 = 0; | |
7952 | PyObject * _argo1 = 0; | |
7953 | int tempbool2; | |
7954 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7955 | ||
7956 | self = self; | |
7957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7958 | return NULL; | |
7959 | if (_argo0) { | |
7960 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7961 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p."); | |
7963 | return NULL; | |
7964 | } | |
7965 | } | |
7966 | if (_argo1) { | |
7967 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7968 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7970 | return NULL; |
7971 | } | |
7972 | } | |
7973 | _arg2 = (bool ) tempbool2; | |
7974 | { | |
7975 | wxPy_BEGIN_ALLOW_THREADS; | |
7976 | wxPyShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7977 | ||
7978 | wxPy_END_ALLOW_THREADS; | |
7979 | } Py_INCREF(Py_None); | |
7980 | _resultobj = Py_None; | |
7981 | return _resultobj; | |
7982 | } | |
7983 | ||
7984 | #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7985 | static PyObject *_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7986 | PyObject * _resultobj; | |
7987 | wxPyShape * _arg0; | |
2348eaee | 7988 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7989 | double _arg2; |
7990 | double _arg3; | |
7991 | int _arg4 = (int ) 0; | |
7992 | int _arg5 = (int ) 0; | |
7993 | PyObject * _argo0 = 0; | |
7994 | PyObject * _argo1 = 0; | |
7995 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7996 | ||
7997 | self = self; | |
7998 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7999 | return NULL; | |
8000 | if (_argo0) { | |
8001 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8002 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p."); | |
8004 | return NULL; | |
8005 | } | |
8006 | } | |
8007 | if (_argo1) { | |
8008 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8009 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8011 | return NULL; |
8012 | } | |
8013 | } | |
8014 | { | |
8015 | wxPy_BEGIN_ALLOW_THREADS; | |
8016 | wxPyShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8017 | ||
8018 | wxPy_END_ALLOW_THREADS; | |
8019 | } Py_INCREF(Py_None); | |
8020 | _resultobj = Py_None; | |
8021 | return _resultobj; | |
8022 | } | |
8023 | ||
8024 | #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8025 | static PyObject *_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8026 | PyObject * _resultobj; | |
8027 | wxPyShape * _arg0; | |
2348eaee | 8028 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8029 | double _arg2; |
8030 | double _arg3; | |
8031 | int _arg4 = (int ) 0; | |
8032 | int _arg5 = (int ) 0; | |
8033 | PyObject * _argo0 = 0; | |
8034 | PyObject * _argo1 = 0; | |
8035 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8036 | ||
8037 | self = self; | |
8038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8039 | return NULL; | |
8040 | if (_argo0) { | |
8041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p."); | |
8044 | return NULL; | |
8045 | } | |
8046 | } | |
8047 | if (_argo1) { | |
8048 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8049 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8051 | return NULL; |
8052 | } | |
8053 | } | |
8054 | { | |
8055 | wxPy_BEGIN_ALLOW_THREADS; | |
8056 | wxPyShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8057 | ||
8058 | wxPy_END_ALLOW_THREADS; | |
8059 | } Py_INCREF(Py_None); | |
8060 | _resultobj = Py_None; | |
8061 | return _resultobj; | |
8062 | } | |
8063 | ||
8064 | #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
8065 | static PyObject *_wrap_wxPyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8066 | PyObject * _resultobj; | |
8067 | wxPyShape * _arg0; | |
8068 | double _arg1; | |
8069 | double _arg2; | |
8070 | PyObject * _argo0 = 0; | |
8071 | char *_kwnames[] = { "self","w","h", NULL }; | |
8072 | ||
8073 | self = self; | |
8074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8075 | return NULL; | |
8076 | if (_argo0) { | |
8077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p."); | |
8080 | return NULL; | |
8081 | } | |
8082 | } | |
8083 | { | |
8084 | wxPy_BEGIN_ALLOW_THREADS; | |
8085 | wxPyShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
8086 | ||
8087 | wxPy_END_ALLOW_THREADS; | |
8088 | } Py_INCREF(Py_None); | |
8089 | _resultobj = Py_None; | |
8090 | return _resultobj; | |
8091 | } | |
8092 | ||
8093 | #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
8094 | static PyObject *_wrap_wxPyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8095 | PyObject * _resultobj; | |
8096 | wxPyShape * _arg0; | |
8097 | double _arg1; | |
8098 | double _arg2; | |
8099 | PyObject * _argo0 = 0; | |
8100 | char *_kwnames[] = { "self","w","h", NULL }; | |
8101 | ||
8102 | self = self; | |
8103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8104 | return NULL; | |
8105 | if (_argo0) { | |
8106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p."); | |
8109 | return NULL; | |
8110 | } | |
8111 | } | |
8112 | { | |
8113 | wxPy_BEGIN_ALLOW_THREADS; | |
8114 | wxPyShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
8115 | ||
8116 | wxPy_END_ALLOW_THREADS; | |
8117 | } Py_INCREF(Py_None); | |
8118 | _resultobj = Py_None; | |
8119 | return _resultobj; | |
8120 | } | |
8121 | ||
8122 | static PyMethodDef oglbasiccMethods[] = { | |
8123 | { "wxPyShape_base_OnEndSize", (PyCFunction) _wrap_wxPyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
8124 | { "wxPyShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
8125 | { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8126 | { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8127 | { "wxPyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8128 | { "wxPyShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
8129 | { "wxPyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8130 | { "wxPyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8131 | { "wxPyShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
8132 | { "wxPyShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8133 | { "wxPyShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8134 | { "wxPyShape_base_OnDragRight", (PyCFunction) _wrap_wxPyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8135 | { "wxPyShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8136 | { "wxPyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8137 | { "wxPyShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8138 | { "wxPyShape_base_OnMovePost", (PyCFunction) _wrap_wxPyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
8139 | { "wxPyShape_base_OnMovePre", (PyCFunction) _wrap_wxPyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
8140 | { "wxPyShape_base_OnSize", (PyCFunction) _wrap_wxPyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
8141 | { "wxPyShape_base_OnRightClick", (PyCFunction) _wrap_wxPyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
8142 | { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
8143 | { "wxPyShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
8144 | { "wxPyShape_base_OnHighlight", (PyCFunction) _wrap_wxPyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8145 | { "wxPyShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8146 | { "wxPyShape_base_OnErase", (PyCFunction) _wrap_wxPyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
8147 | { "wxPyShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8148 | { "wxPyShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
8149 | { "wxPyShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8150 | { "wxPyShape_base_OnDraw", (PyCFunction) _wrap_wxPyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
8151 | { "wxPyShape_base_OnDelete", (PyCFunction) _wrap_wxPyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
8152 | { "wxPyShape_ClearPointList", (PyCFunction) _wrap_wxPyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS }, | |
8153 | { "wxPyShape_Recentre", (PyCFunction) _wrap_wxPyShape_Recentre, METH_VARARGS | METH_KEYWORDS }, | |
8154 | { "wxPyShape_ClearAttachments", (PyCFunction) _wrap_wxPyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8155 | { "wxPyShape_GetRotation", (PyCFunction) _wrap_wxPyShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
8156 | { "wxPyShape_Rotate", (PyCFunction) _wrap_wxPyShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
8157 | { "wxPyShape_CopyWithHandler", (PyCFunction) _wrap_wxPyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS }, | |
8158 | { "wxPyShape_Copy", (PyCFunction) _wrap_wxPyShape_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8159 | { "wxPyShape_CreateNewCopy", (PyCFunction) _wrap_wxPyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS }, | |
8160 | { "wxPyShape_HasDescendant", (PyCFunction) _wrap_wxPyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS }, | |
8161 | { "wxPyShape_Draggable", (PyCFunction) _wrap_wxPyShape_Draggable, METH_VARARGS | METH_KEYWORDS }, | |
8162 | { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_wxPyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8163 | { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_wxPyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8164 | { "wxPyShape_GetBranchStyle", (PyCFunction) _wrap_wxPyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS }, | |
8165 | { "wxPyShape_SetBranchStyle", (PyCFunction) _wrap_wxPyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS }, | |
8166 | { "wxPyShape_GetBranchSpacing", (PyCFunction) _wrap_wxPyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS }, | |
8167 | { "wxPyShape_SetBranchSpacing", (PyCFunction) _wrap_wxPyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS }, | |
8168 | { "wxPyShape_GetBranchStemLength", (PyCFunction) _wrap_wxPyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS }, | |
8169 | { "wxPyShape_SetBranchStemLength", (PyCFunction) _wrap_wxPyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS }, | |
8170 | { "wxPyShape_GetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS }, | |
8171 | { "wxPyShape_SetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS }, | |
8172 | { "wxPyShape_GetAttachmentLineCount", (PyCFunction) _wrap_wxPyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS }, | |
8173 | { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS }, | |
8174 | { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS }, | |
8175 | { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS }, | |
8176 | { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_wxPyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS }, | |
8177 | { "wxPyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_wxPyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8178 | { "wxPyShape_DrawLinks", (PyCFunction) _wrap_wxPyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS }, | |
8179 | { "wxPyShape_EraseLinks", (PyCFunction) _wrap_wxPyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS }, | |
8180 | { "wxPyShape_AttachmentSortTest", (PyCFunction) _wrap_wxPyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS }, | |
8181 | { "wxPyShape_CalcSimpleAttachment", (PyCFunction) _wrap_wxPyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8182 | { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_wxPyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS }, | |
8183 | { "wxPyShape_AttachmentIsValid", (PyCFunction) _wrap_wxPyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS }, | |
8184 | { "wxPyShape_GetNumberOfAttachments", (PyCFunction) _wrap_wxPyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8185 | { "wxPyShape_GetAttachmentPosition", (PyCFunction) _wrap_wxPyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS }, | |
8186 | { "wxPyShape_RemoveLine", (PyCFunction) _wrap_wxPyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS }, | |
8187 | { "wxPyShape_ClearText", (PyCFunction) _wrap_wxPyShape_ClearText, METH_VARARGS | METH_KEYWORDS }, | |
8188 | { "wxPyShape_FindRegionNames", (PyCFunction) _wrap_wxPyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS }, | |
8189 | { "wxPyShape_FindRegion", (PyCFunction) _wrap_wxPyShape_FindRegion, METH_VARARGS | METH_KEYWORDS }, | |
8190 | { "wxPyShape_AssignNewIds", (PyCFunction) _wrap_wxPyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS }, | |
8191 | { "wxPyShape_ClearRegions", (PyCFunction) _wrap_wxPyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS }, | |
8192 | { "wxPyShape_AddRegion", (PyCFunction) _wrap_wxPyShape_AddRegion, METH_VARARGS | METH_KEYWORDS }, | |
8193 | { "wxPyShape_GetRegions", (PyCFunction) _wrap_wxPyShape_GetRegions, METH_VARARGS | METH_KEYWORDS }, | |
8194 | { "wxPyShape_NameRegions", (PyCFunction) _wrap_wxPyShape_NameRegions, METH_VARARGS | METH_KEYWORDS }, | |
8195 | { "wxPyShape_GetRegionId", (PyCFunction) _wrap_wxPyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS }, | |
8196 | { "wxPyShape_GetRegionName", (PyCFunction) _wrap_wxPyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS }, | |
8197 | { "wxPyShape_SetRegionName", (PyCFunction) _wrap_wxPyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS }, | |
8198 | { "wxPyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_wxPyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS }, | |
8199 | { "wxPyShape_GetTextColour", (PyCFunction) _wrap_wxPyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8200 | { "wxPyShape_SetTextColour", (PyCFunction) _wrap_wxPyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8201 | { "wxPyShape_GetFont", (PyCFunction) _wrap_wxPyShape_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
8202 | { "wxPyShape_SetFont", (PyCFunction) _wrap_wxPyShape_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
8203 | { "wxPyShape_GetFormatMode", (PyCFunction) _wrap_wxPyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8204 | { "wxPyShape_SetFormatMode", (PyCFunction) _wrap_wxPyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8205 | { "wxPyShape_FormatText", (PyCFunction) _wrap_wxPyShape_FormatText, METH_VARARGS | METH_KEYWORDS }, | |
8206 | { "wxPyShape_SetDefaultRegionSize", (PyCFunction) _wrap_wxPyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS }, | |
8207 | { "wxPyShape_GetBrush", (PyCFunction) _wrap_wxPyShape_GetBrush, METH_VARARGS | METH_KEYWORDS }, | |
8208 | { "wxPyShape_GetPen", (PyCFunction) _wrap_wxPyShape_GetPen, METH_VARARGS | METH_KEYWORDS }, | |
8209 | { "wxPyShape_AddText", (PyCFunction) _wrap_wxPyShape_AddText, METH_VARARGS | METH_KEYWORDS }, | |
8210 | { "wxPyShape_GetLinePosition", (PyCFunction) _wrap_wxPyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS }, | |
8211 | { "wxPyShape_AddLine", (PyCFunction) _wrap_wxPyShape_AddLine, METH_VARARGS | METH_KEYWORDS }, | |
8212 | { "wxPyShape_Constrain", (PyCFunction) _wrap_wxPyShape_Constrain, METH_VARARGS | METH_KEYWORDS }, | |
8213 | { "wxPyShape_Detach", (PyCFunction) _wrap_wxPyShape_Detach, METH_VARARGS | METH_KEYWORDS }, | |
8214 | { "wxPyShape_Attach", (PyCFunction) _wrap_wxPyShape_Attach, METH_VARARGS | METH_KEYWORDS }, | |
8215 | { "wxPyShape_SetAttachmentSize", (PyCFunction) _wrap_wxPyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS }, | |
8216 | { "wxPyShape_SetSize", (PyCFunction) _wrap_wxPyShape_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
8217 | { "wxPyShape_DrawContents", (PyCFunction) _wrap_wxPyShape_DrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8218 | { "wxPyShape_MoveLinks", (PyCFunction) _wrap_wxPyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8219 | { "wxPyShape_Flash", (PyCFunction) _wrap_wxPyShape_Flash, METH_VARARGS | METH_KEYWORDS }, | |
8220 | { "wxPyShape_Draw", (PyCFunction) _wrap_wxPyShape_Draw, METH_VARARGS | METH_KEYWORDS }, | |
8221 | { "wxPyShape_EraseContents", (PyCFunction) _wrap_wxPyShape_EraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8222 | { "wxPyShape_Erase", (PyCFunction) _wrap_wxPyShape_Erase, METH_VARARGS | METH_KEYWORDS }, | |
8223 | { "wxPyShape_Move", (PyCFunction) _wrap_wxPyShape_Move, METH_VARARGS | METH_KEYWORDS }, | |
8224 | { "wxPyShape_IsShown", (PyCFunction) _wrap_wxPyShape_IsShown, METH_VARARGS | METH_KEYWORDS }, | |
8225 | { "wxPyShape_Show", (PyCFunction) _wrap_wxPyShape_Show, METH_VARARGS | METH_KEYWORDS }, | |
8226 | { "wxPyShape_GetClientData", (PyCFunction) _wrap_wxPyShape_GetClientData, METH_VARARGS | METH_KEYWORDS }, | |
8227 | { "wxPyShape_SetClientData", (PyCFunction) _wrap_wxPyShape_SetClientData, METH_VARARGS | METH_KEYWORDS }, | |
8228 | { "wxPyShape_SetBrush", (PyCFunction) _wrap_wxPyShape_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
8229 | { "wxPyShape_SetPen", (PyCFunction) _wrap_wxPyShape_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
8230 | { "wxPyShape_GetId", (PyCFunction) _wrap_wxPyShape_GetId, METH_VARARGS | METH_KEYWORDS }, | |
8231 | { "wxPyShape_SetId", (PyCFunction) _wrap_wxPyShape_SetId, METH_VARARGS | METH_KEYWORDS }, | |
8232 | { "wxPyShape_GetAttachmentMode", (PyCFunction) _wrap_wxPyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS }, | |
8233 | { "wxPyShape_SetAttachmentMode", (PyCFunction) _wrap_wxPyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS }, | |
8234 | { "wxPyShape_GetDisableLabel", (PyCFunction) _wrap_wxPyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS }, | |
8235 | { "wxPyShape_SetDisableLabel", (PyCFunction) _wrap_wxPyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS }, | |
8236 | { "wxPyShape_GetLines", (PyCFunction) _wrap_wxPyShape_GetLines, METH_VARARGS | METH_KEYWORDS }, | |
8237 | { "wxPyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS }, | |
8238 | { "wxPyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS }, | |
8239 | { "wxPyShape_GetCentreResize", (PyCFunction) _wrap_wxPyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS }, | |
8240 | { "wxPyShape_SetCentreResize", (PyCFunction) _wrap_wxPyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS }, | |
8241 | { "wxPyShape_HitTest", (PyCFunction) _wrap_wxPyShape_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
8242 | { "wxPyShape_GetShadowMode", (PyCFunction) _wrap_wxPyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS }, | |
8243 | { "wxPyShape_SetShadowMode", (PyCFunction) _wrap_wxPyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS }, | |
8244 | { "wxPyShape_GetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8245 | { "wxPyShape_SetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8246 | { "wxPyShape_GetFixedHeight", (PyCFunction) _wrap_wxPyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS }, | |
8247 | { "wxPyShape_GetFixedWidth", (PyCFunction) _wrap_wxPyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS }, | |
8248 | { "wxPyShape_GetFixedSize", (PyCFunction) _wrap_wxPyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS }, | |
8249 | { "wxPyShape_SetFixedSize", (PyCFunction) _wrap_wxPyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS }, | |
8250 | { "wxPyShape_SetDraggable", (PyCFunction) _wrap_wxPyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS }, | |
8251 | { "wxPyShape_GetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS }, | |
8252 | { "wxPyShape_SetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS }, | |
8253 | { "wxPyShape_AncestorSelected", (PyCFunction) _wrap_wxPyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS }, | |
8254 | { "wxPyShape_Selected", (PyCFunction) _wrap_wxPyShape_Selected, METH_VARARGS | METH_KEYWORDS }, | |
8255 | { "wxPyShape_IsHighlighted", (PyCFunction) _wrap_wxPyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS }, | |
8256 | { "wxPyShape_SetHighlight", (PyCFunction) _wrap_wxPyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8257 | { "wxPyShape_Select", (PyCFunction) _wrap_wxPyShape_Select, METH_VARARGS | METH_KEYWORDS }, | |
8258 | { "wxPyShape_CalculateSize", (PyCFunction) _wrap_wxPyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
8259 | { "wxPyShape_Recompute", (PyCFunction) _wrap_wxPyShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
8260 | { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8261 | { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8262 | { "wxPyShape_SetEventHandler", (PyCFunction) _wrap_wxPyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS }, | |
8263 | { "wxPyShape_GetEventHandler", (PyCFunction) _wrap_wxPyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS }, | |
8264 | { "wxPyShape_ResetControlPoints", (PyCFunction) _wrap_wxPyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8265 | { "wxPyShape_DeleteControlPoints", (PyCFunction) _wrap_wxPyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8266 | { "wxPyShape_MakeControlPoints", (PyCFunction) _wrap_wxPyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8267 | { "wxPyShape_GetDrawHandles", (PyCFunction) _wrap_wxPyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS }, | |
8268 | { "wxPyShape_SetDrawHandles", (PyCFunction) _wrap_wxPyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS }, | |
8269 | { "wxPyShape_Unlink", (PyCFunction) _wrap_wxPyShape_Unlink, METH_VARARGS | METH_KEYWORDS }, | |
8270 | { "wxPyShape_GetChildren", (PyCFunction) _wrap_wxPyShape_GetChildren, METH_VARARGS | METH_KEYWORDS }, | |
8271 | { "wxPyShape_GetTopAncestor", (PyCFunction) _wrap_wxPyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS }, | |
8272 | { "wxPyShape_SetParent", (PyCFunction) _wrap_wxPyShape_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
8273 | { "wxPyShape_GetParent", (PyCFunction) _wrap_wxPyShape_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
8274 | { "wxPyShape_SetY", (PyCFunction) _wrap_wxPyShape_SetY, METH_VARARGS | METH_KEYWORDS }, | |
8275 | { "wxPyShape_SetX", (PyCFunction) _wrap_wxPyShape_SetX, METH_VARARGS | METH_KEYWORDS }, | |
8276 | { "wxPyShape_GetY", (PyCFunction) _wrap_wxPyShape_GetY, METH_VARARGS | METH_KEYWORDS }, | |
8277 | { "wxPyShape_GetX", (PyCFunction) _wrap_wxPyShape_GetX, METH_VARARGS | METH_KEYWORDS }, | |
8278 | { "wxPyShape_RemoveFromCanvas", (PyCFunction) _wrap_wxPyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8279 | { "wxPyShape_InsertInCanvas", (PyCFunction) _wrap_wxPyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8280 | { "wxPyShape_AddToCanvas", (PyCFunction) _wrap_wxPyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8281 | { "wxPyShape_SetCanvas", (PyCFunction) _wrap_wxPyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8282 | { "wxPyShape_GetCanvas", (PyCFunction) _wrap_wxPyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8283 | { "wxPyShape_GetPerimeterPoint", (PyCFunction) _wrap_wxPyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS }, | |
8284 | { "wxPyShape_GetBoundingBoxMin", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS }, | |
8285 | { "wxPyShape_GetBoundingBoxMax", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS }, | |
8286 | { "wxPyShape_Destroy", (PyCFunction) _wrap_wxPyShape_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
8287 | { "wxPyShape__setSelf", (PyCFunction) _wrap_wxPyShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
8288 | { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
8289 | { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
8290 | { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8291 | { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8292 | { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8293 | { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
8294 | { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8295 | { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8296 | { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
8297 | { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8298 | { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8299 | { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8300 | { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8301 | { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8302 | { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8303 | { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
8304 | { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
8305 | { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
8306 | { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
8307 | { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
8308 | { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
8309 | { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8310 | { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8311 | { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
8312 | { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8313 | { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
8314 | { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8315 | { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
8316 | { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
8317 | { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_wxPyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS }, | |
8318 | { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS }, | |
8319 | { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS }, | |
8320 | { "wxPyShapeEvtHandler_GetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS }, | |
8321 | { "wxPyShapeEvtHandler_SetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
8322 | { "wxPyShapeEvtHandler_Destroy", (PyCFunction) _wrap_wxPyShapeEvtHandler_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
8323 | { "wxPyShapeEvtHandler__setSelf", (PyCFunction) _wrap_wxPyShapeEvtHandler__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
8324 | { "new_wxPyShapeEvtHandler", (PyCFunction) _wrap_new_wxPyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS }, | |
8325 | { "wxShapeRegion_ClearText", (PyCFunction) _wrap_wxShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS }, | |
8326 | { "wxShapeRegion_GetHeight", (PyCFunction) _wrap_wxShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
8327 | { "wxShapeRegion_GetWidth", (PyCFunction) _wrap_wxShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
8328 | { "wxShapeRegion_GetActualPen", (PyCFunction) _wrap_wxShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS }, | |
8329 | { "wxShapeRegion_SetPenColour", (PyCFunction) _wrap_wxShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS }, | |
8330 | { "wxShapeRegion_SetPenStyle", (PyCFunction) _wrap_wxShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS }, | |
8331 | { "wxShapeRegion_GetPenStyle", (PyCFunction) _wrap_wxShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS }, | |
8332 | { "wxShapeRegion_GetPenColour", (PyCFunction) _wrap_wxShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS }, | |
8333 | { "wxShapeRegion_GetFormattedText", (PyCFunction) _wrap_wxShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS }, | |
8334 | { "wxShapeRegion_GetActualColourObject", (PyCFunction) _wrap_wxShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS }, | |
8335 | { "wxShapeRegion_GetColour", (PyCFunction) _wrap_wxShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
8336 | { "wxShapeRegion_GetName", (PyCFunction) _wrap_wxShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS }, | |
8337 | { "wxShapeRegion_GetFormatMode", (PyCFunction) _wrap_wxShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8338 | { "wxShapeRegion_GetPosition", (PyCFunction) _wrap_wxShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8339 | { "wxShapeRegion_GetSize", (PyCFunction) _wrap_wxShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
8340 | { "wxShapeRegion_GetProportion", (PyCFunction) _wrap_wxShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS }, | |
8341 | { "wxShapeRegion_GetMinSize", (PyCFunction) _wrap_wxShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
8342 | { "wxShapeRegion_GetFont", (PyCFunction) _wrap_wxShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
8343 | { "wxShapeRegion_GetText", (PyCFunction) _wrap_wxShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8344 | { "wxShapeRegion_SetColour", (PyCFunction) _wrap_wxShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
8345 | { "wxShapeRegion_SetName", (PyCFunction) _wrap_wxShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS }, | |
8346 | { "wxShapeRegion_SetFormatMode", (PyCFunction) _wrap_wxShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8347 | { "wxShapeRegion_SetProportions", (PyCFunction) _wrap_wxShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS }, | |
8348 | { "wxShapeRegion_SetPosition", (PyCFunction) _wrap_wxShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8349 | { "wxShapeRegion_SetSize", (PyCFunction) _wrap_wxShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
8350 | { "wxShapeRegion_SetMinSize", (PyCFunction) _wrap_wxShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
8351 | { "wxShapeRegion_SetFont", (PyCFunction) _wrap_wxShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
8352 | { "wxShapeRegion_SetText", (PyCFunction) _wrap_wxShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8353 | { "new_wxShapeRegion", (PyCFunction) _wrap_new_wxShapeRegion, METH_VARARGS | METH_KEYWORDS }, | |
8354 | { NULL, NULL } | |
8355 | }; | |
8356 | #ifdef __cplusplus | |
8357 | } | |
8358 | #endif | |
8359 | /* | |
8360 | * This table is used by the pointer type-checker | |
8361 | */ | |
8362 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8363 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8364 | { "_wxEvent","_class_wxEvent",0}, | |
8365 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8366 | { "_signed_long","_long",0}, | |
8367 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
c368d904 | 8368 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
e91a9dfc | 8369 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
c368d904 | 8370 | { "_class_wxFSFile","_wxFSFile",0}, |
714d23b4 RD |
8371 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
8372 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 8373 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
8374 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
8375 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 8376 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
c368d904 RD |
8377 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
8378 | { "_class_wxDateTime","_wxDateTime",0}, | |
714d23b4 | 8379 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
8380 | { "_wxPrintQuality","_int",0}, |
8381 | { "_wxPrintQuality","_signed_int",0}, | |
8382 | { "_wxPrintQuality","_unsigned_int",0}, | |
8383 | { "_wxPrintQuality","_wxWindowID",0}, | |
8384 | { "_wxPrintQuality","_uint",0}, | |
8385 | { "_wxPrintQuality","_EBool",0}, | |
8386 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 8387 | { "_wxPrintQuality","_time_t",0}, |
714d23b4 | 8388 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 8389 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
e91a9dfc | 8390 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 8391 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
714d23b4 | 8392 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
8393 | { "_class_wxMenuBar","_wxMenuBar",0}, |
8394 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 8395 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
8396 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
8397 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8398 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 8399 | { "_wxPySizer","_class_wxPySizer",0}, |
c368d904 | 8400 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
e91a9dfc RD |
8401 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
8402 | { "_wxCursor","_class_wxCursor",0}, | |
8403 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
c368d904 RD |
8404 | { "_wxPyProcess","_class_wxPyProcess",0}, |
8405 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
e91a9dfc | 8406 | { "_wxImageHandler","_class_wxImageHandler",0}, |
c368d904 | 8407 | { "_wxLog","_class_wxLog",0}, |
714d23b4 | 8408 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
8409 | { "_wxMask","_class_wxMask",0}, |
8410 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
8411 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
8412 | { "_class_wxColourData","_wxColourData",0}, | |
8413 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
8414 | { "_wxPrinter","_class_wxPrinter",0}, | |
8415 | { "_wxPen","_class_wxPen",0}, | |
8416 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 8417 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 8418 | { "_byte","_unsigned_char",0}, |
714d23b4 RD |
8419 | { "_wxDataObject","_class_wxDataObject",0}, |
8420 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 8421 | { "_wxStaticBox","_class_wxStaticBox",0}, |
714d23b4 RD |
8422 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
8423 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
8424 | { "_wxChoice","_class_wxChoice",0}, |
8425 | { "_wxSlider","_class_wxSlider",0}, | |
8426 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
8427 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
8428 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
8429 | { "_long","_unsigned_long",0}, |
8430 | { "_long","_signed_long",0}, | |
8431 | { "_wxImageList","_class_wxImageList",0}, | |
714d23b4 | 8432 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
8433 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
8434 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8435 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 8436 | { "_class_wxSizer","_wxSizer",0}, |
714d23b4 | 8437 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 8438 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 8439 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 8440 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
714d23b4 | 8441 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
8442 | { "_class_wxGauge","_wxGauge",0}, |
8443 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
8444 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 8445 | { "_wxSizerItem","_class_wxSizerItem",0}, |
714d23b4 | 8446 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
8447 | { "_wxListEvent","_class_wxListEvent",0}, |
8448 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
8449 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
8450 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
8451 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 8452 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
8453 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
8454 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
714d23b4 | 8455 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 8456 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 8457 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
8458 | { "_size_t","_unsigned_int",0}, |
8459 | { "_size_t","_int",0}, | |
8460 | { "_size_t","_wxWindowID",0}, | |
8461 | { "_size_t","_uint",0}, | |
8462 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
714d23b4 RD |
8463 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
8464 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
8465 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
c368d904 | 8466 | { "_wxLogGui","_class_wxLogGui",0}, |
e91a9dfc RD |
8467 | { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, |
8468 | { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8469 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
8470 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8471 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8472 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8473 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8474 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 8475 | { "_class_wxPySizer","_wxPySizer",0}, |
9c4165ad | 8476 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
e91a9dfc RD |
8477 | { "_wxPanel","_class_wxPanel",0}, |
8478 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8479 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
c368d904 | 8480 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
e91a9dfc RD |
8481 | { "_wxPyEvent","_class_wxPyEvent",0}, |
8482 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8483 | { "_class_wxMask","_wxMask",0}, | |
714d23b4 | 8484 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 8485 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
714d23b4 | 8486 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc | 8487 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
c368d904 | 8488 | { "_wxFileConfig","_class_wxFileConfig",0}, |
e91a9dfc RD |
8489 | { "_wxColour","_class_wxColour",0}, |
8490 | { "_class_wxDialog","_wxDialog",0}, | |
714d23b4 | 8491 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
8492 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
8493 | { "_class_wxPrinter","_wxPrinter",0}, | |
714d23b4 | 8494 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
8495 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
8496 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8497 | { "_wxToolBar","_class_wxToolBar",0}, | |
714d23b4 | 8498 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 8499 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
8500 | { "_wxStaticLine","_class_wxStaticLine",0}, |
8501 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8502 | { "_wxBrush","_class_wxBrush",0}, | |
8503 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
8504 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8505 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
714d23b4 RD |
8506 | { "_wxDataFormat","_class_wxDataFormat",0}, |
8507 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
8508 | { "_class_wxSashWindow","_wxSashWindow",0}, |
8509 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
714d23b4 | 8510 | { "_uint","_wxCoord",0}, |
e91a9dfc | 8511 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 8512 | { "_uint","_time_t",0}, |
e91a9dfc RD |
8513 | { "_uint","_size_t",0}, |
8514 | { "_uint","_unsigned_int",0}, | |
8515 | { "_uint","_int",0}, | |
8516 | { "_uint","_wxWindowID",0}, | |
c368d904 | 8517 | { "_wxChar","_char",0}, |
f0261a72 | 8518 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
8519 | { "_class_wxEvent","_wxEvent",0}, |
8520 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8521 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
8522 | { "_wxRect","_class_wxRect",0}, |
8523 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8524 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
c368d904 | 8525 | { "_class_wxLogWindow","_wxLogWindow",0}, |
e91a9dfc RD |
8526 | { "_class_wxImage","_wxImage",0}, |
8527 | { "_wxPoint","_class_wxPoint",0}, | |
c368d904 | 8528 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
e91a9dfc RD |
8529 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
8530 | { "_class_wxButton","_wxButton",0}, | |
8531 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 8532 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
e91a9dfc | 8533 | { "_class_wxFontData","_wxFontData",0}, |
714d23b4 | 8534 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 8535 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
c368d904 RD |
8536 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
8537 | { "_char","_wxChar",0}, | |
e91a9dfc | 8538 | { "_wxBitmap","_class_wxBitmap",0}, |
e91a9dfc | 8539 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
e91a9dfc | 8540 | { "_wxWindowDC","_class_wxWindowDC",0}, |
c368d904 RD |
8541 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
8542 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
e91a9dfc RD |
8543 | { "_wxScrollBar","_class_wxScrollBar",0}, |
8544 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
8545 | { "_wxColourDialog","_class_wxColourDialog",0}, |
8546 | { "_wxPrintData","_class_wxPrintData",0}, | |
c368d904 | 8547 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
e91a9dfc RD |
8548 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
8549 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8550 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 8551 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc RD |
8552 | { "_class_wxPyEvent","_wxPyEvent",0}, |
8553 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
c368d904 | 8554 | { "_wxConfig","_class_wxConfig",0}, |
e91a9dfc RD |
8555 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
8556 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
c368d904 | 8557 | { "_class_wxFileConfig","_wxFileConfig",0}, |
714d23b4 RD |
8558 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
8559 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
8560 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
8561 | { "_wxListItem","_class_wxListItem",0}, | |
8562 | { "_class_wxToolBar","_wxToolBar",0}, | |
714d23b4 | 8563 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc RD |
8564 | { "_class_wxStaticLine","_wxStaticLine",0}, |
8565 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
714d23b4 | 8566 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc | 8567 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
c368d904 | 8568 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
e91a9dfc | 8569 | { "_class_wxShapeRegion","_wxShapeRegion",0}, |
714d23b4 | 8570 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
8571 | { "_EBool","_wxPrintQuality",0}, |
8572 | { "_EBool","_signed_int",0}, | |
8573 | { "_EBool","_int",0}, | |
8574 | { "_EBool","_wxWindowID",0}, | |
8575 | { "_class_wxRegion","_wxRegion",0}, | |
714d23b4 | 8576 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 8577 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
714d23b4 | 8578 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
8579 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
8580 | { "_wxStaticText","_class_wxStaticText",0}, | |
8581 | { "_wxFont","_class_wxFont",0}, | |
714d23b4 | 8582 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
8583 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
8584 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
c368d904 | 8585 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
e91a9dfc | 8586 | { "_wxNotebook","_class_wxNotebook",0}, |
c368d904 | 8587 | { "_wxFSFile","_class_wxFSFile",0}, |
e91a9dfc RD |
8588 | { "_unsigned_long","_long",0}, |
8589 | { "_class_wxRect","_wxRect",0}, | |
8590 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 8591 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
f6bcfd97 | 8592 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
e91a9dfc | 8593 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
714d23b4 | 8594 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 8595 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
e91a9dfc | 8596 | { "_wxPyApp","_class_wxPyApp",0}, |
714d23b4 | 8597 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 RD |
8598 | { "_class_wxOutputStream","_wxOutputStream",0}, |
8599 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
e91a9dfc RD |
8600 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
8601 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8602 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
c368d904 | 8603 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
e91a9dfc RD |
8604 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8605 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
c368d904 RD |
8606 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
8607 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
e91a9dfc RD |
8608 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8609 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8610 | { "_class_wxPanel","_wxPanel",0}, | |
8611 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8612 | { "_wxComboBox","_class_wxComboBox",0}, | |
8613 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8614 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
714d23b4 | 8615 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
8616 | { "_signed_int","_wxPrintQuality",0}, |
8617 | { "_signed_int","_EBool",0}, | |
8618 | { "_signed_int","_wxWindowID",0}, | |
8619 | { "_signed_int","_int",0}, | |
8620 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 8621 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 8622 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
714d23b4 | 8623 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
8624 | { "_wxMenu","_class_wxMenu",0}, |
8625 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8626 | { "_wxListBox","_class_wxListBox",0}, | |
8627 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
714d23b4 | 8628 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc | 8629 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
c368d904 | 8630 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
8631 | { "_WXTYPE","_short",0}, |
8632 | { "_WXTYPE","_signed_short",0}, | |
8633 | { "_WXTYPE","_unsigned_short",0}, | |
8634 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
714d23b4 | 8635 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 8636 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
8637 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
8638 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 8639 | { "_wxTipProvider","_class_wxTipProvider",0}, |
c368d904 | 8640 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
8641 | { "_unsigned_short","_WXTYPE",0}, |
8642 | { "_unsigned_short","_short",0}, | |
8643 | { "_class_wxWindow","_wxWindow",0}, | |
c368d904 | 8644 | { "_class_wxLogStderr","_wxLogStderr",0}, |
e91a9dfc | 8645 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, |
c368d904 | 8646 | { "_wxDateSpan","_class_wxDateSpan",0}, |
e91a9dfc RD |
8647 | { "_class_wxStaticText","_wxStaticText",0}, |
8648 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8649 | { "_class_wxFont","_wxFont",0}, | |
714d23b4 | 8650 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 8651 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
8652 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
8653 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
714d23b4 | 8654 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
e91a9dfc | 8655 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
714d23b4 RD |
8656 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
8657 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
e91a9dfc RD |
8658 | { "_wxClientDC","_class_wxClientDC",0}, |
8659 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
f6bcfd97 | 8660 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
e91a9dfc RD |
8661 | { "_wxListCtrl","_class_wxListCtrl",0}, |
8662 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8663 | { "_class_wxPoint","_wxPoint",0}, | |
c368d904 | 8664 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
e91a9dfc RD |
8665 | { "_wxRealPoint","_class_wxRealPoint",0}, |
8666 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 8667 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
8668 | { "_signed_short","_WXTYPE",0}, |
8669 | { "_signed_short","_short",0}, | |
8670 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
714d23b4 | 8671 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
e91a9dfc | 8672 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
c368d904 | 8673 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
e91a9dfc RD |
8674 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8675 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8676 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8677 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8678 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
8679 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
8680 | { "_class_wxCursor","_wxCursor",0}, | |
9c4165ad | 8681 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
714d23b4 | 8682 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 8683 | { "_class_wxPyProcess","_wxPyProcess",0}, |
e91a9dfc RD |
8684 | { "_class_wxImageHandler","_wxImageHandler",0}, |
8685 | { "_wxPyShape","_class_wxPyShape",0}, | |
8686 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
c368d904 | 8687 | { "_class_wxLog","_wxLog",0}, |
e91a9dfc RD |
8688 | { "_wxTreeItemId","_class_wxTreeItemId",0}, |
8689 | { "_unsigned_char","_byte",0}, | |
e91a9dfc RD |
8690 | { "_class_wxMenu","_wxMenu",0}, |
8691 | { "_wxControl","_class_wxControl",0}, | |
8692 | { "_class_wxListBox","_wxListBox",0}, | |
714d23b4 | 8693 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 8694 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8695 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
8696 | { "_unsigned_int","_size_t",0}, |
8697 | { "_unsigned_int","_uint",0}, | |
8698 | { "_unsigned_int","_wxWindowID",0}, | |
8699 | { "_unsigned_int","_int",0}, | |
8700 | { "_wxIcon","_class_wxIcon",0}, | |
8701 | { "_wxDialog","_class_wxDialog",0}, | |
8702 | { "_class_wxListItem","_wxListItem",0}, | |
8703 | { "_class_wxPen","_wxPen",0}, | |
8704 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8705 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
c368d904 RD |
8706 | { "_wxConfigBase","_class_wxConfigBase",0}, |
8707 | { "_short","_wxDateTime_t",0}, | |
e91a9dfc RD |
8708 | { "_short","_WXTYPE",0}, |
8709 | { "_short","_unsigned_short",0}, | |
8710 | { "_short","_signed_short",0}, | |
8711 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8712 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
714d23b4 RD |
8713 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8714 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
8715 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8716 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8717 | { "_class_wxChoice","_wxChoice",0}, | |
8718 | { "_class_wxSlider","_wxSlider",0}, | |
8719 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8720 | { "_class_wxImageList","_wxImageList",0}, | |
8721 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
c368d904 | 8722 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 | 8723 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 8724 | { "_wxFrame","_class_wxFrame",0}, |
714d23b4 | 8725 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 8726 | { "_class_wxGridSizer","_wxGridSizer",0}, |
714d23b4 | 8727 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
8728 | { "_class_wxNotebook","_wxNotebook",0}, |
8729 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
714d23b4 | 8730 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 8731 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8732 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
8733 | { "_wxWindowID","_size_t",0}, |
8734 | { "_wxWindowID","_EBool",0}, | |
8735 | { "_wxWindowID","_uint",0}, | |
8736 | { "_wxWindowID","_int",0}, | |
8737 | { "_wxWindowID","_signed_int",0}, | |
8738 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 8739 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 8740 | { "_class_wxSizerItem","_wxSizerItem",0}, |
714d23b4 | 8741 | { "_int","_wxCoord",0}, |
e91a9dfc | 8742 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8743 | { "_int","_time_t",0}, |
e91a9dfc RD |
8744 | { "_int","_size_t",0}, |
8745 | { "_int","_EBool",0}, | |
8746 | { "_int","_uint",0}, | |
8747 | { "_int","_wxWindowID",0}, | |
8748 | { "_int","_unsigned_int",0}, | |
8749 | { "_int","_signed_int",0}, | |
8750 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 8751 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
c368d904 | 8752 | { "_wxLogWindow","_class_wxLogWindow",0}, |
e91a9dfc RD |
8753 | { "_class_wxListEvent","_wxListEvent",0}, |
8754 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
c368d904 RD |
8755 | { "_wxDateTime_t","_unsigned_short",0}, |
8756 | { "_wxDateTime_t","_short",0}, | |
8757 | { "_wxDateTime_t","_WXTYPE",0}, | |
e91a9dfc | 8758 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
714d23b4 | 8759 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
8760 | { "_wxDateTime","_class_wxDateTime",0}, |
8761 | { "_time_t","_wxCoord",0}, | |
8762 | { "_time_t","_wxPrintQuality",0}, | |
8763 | { "_time_t","_unsigned_int",0}, | |
8764 | { "_time_t","_int",0}, | |
8765 | { "_time_t","_wxWindowID",0}, | |
8766 | { "_time_t","_uint",0}, | |
8767 | { "_time_t","_size_t",0}, | |
714d23b4 | 8768 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
c368d904 | 8769 | { "_wxLogNull","_class_wxLogNull",0}, |
e91a9dfc | 8770 | { "_wxButton","_class_wxButton",0}, |
c368d904 | 8771 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
e91a9dfc RD |
8772 | { "_class_wxPyApp","_wxPyApp",0}, |
8773 | { "_wxSize","_class_wxSize",0}, | |
8774 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
714d23b4 | 8775 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
c368d904 RD |
8776 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
8777 | { "_class_wxLogGui","_wxLogGui",0}, | |
e91a9dfc RD |
8778 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
8779 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
2348eaee | 8780 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
c368d904 RD |
8781 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
8782 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
e91a9dfc RD |
8783 | { "_class_wxPaintDC","_wxPaintDC",0}, |
8784 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
714d23b4 | 8785 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
8786 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8787 | { "_class_wxComboBox","_wxComboBox",0}, | |
8788 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8789 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 8790 | { "_wxValidator","_class_wxValidator",0}, |
714d23b4 | 8791 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc | 8792 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
e91a9dfc RD |
8793 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8794 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8795 | { "_class_wxControl","_wxControl",0}, | |
8796 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8797 | { "_class_wxIcon","_wxIcon",0}, | |
8798 | { "_class_wxColour","_wxColour",0}, | |
8799 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8800 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8801 | { "_wxPalette","_class_wxPalette",0}, | |
8802 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
c368d904 | 8803 | { "_class_wxConfigBase","_wxConfigBase",0}, |
714d23b4 RD |
8804 | { "_wxCoord","_int",0}, |
8805 | { "_wxCoord","_signed_int",0}, | |
8806 | { "_wxCoord","_unsigned_int",0}, | |
8807 | { "_wxCoord","_wxWindowID",0}, | |
8808 | { "_wxCoord","_uint",0}, | |
8809 | { "_wxCoord","_EBool",0}, | |
8810 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8811 | { "_wxCoord","_time_t",0}, |
714d23b4 | 8812 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 8813 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
714d23b4 | 8814 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 8815 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 8816 | { "_class_wxTipProvider","_wxTipProvider",0}, |
e91a9dfc RD |
8817 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
8818 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
c368d904 | 8819 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
e91a9dfc RD |
8820 | { "_wxRegion","_class_wxRegion",0}, |
8821 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8822 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 8823 | { "_wxSizer","_class_wxSizer",0}, |
c368d904 RD |
8824 | { "_class_wxDateSpan","_wxDateSpan",0}, |
8825 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
e91a9dfc | 8826 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 8827 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
714d23b4 RD |
8828 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
8829 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
8830 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
e91a9dfc RD |
8831 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8832 | { "_wxGauge","_class_wxGauge",0}, | |
8833 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
714d23b4 | 8834 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
e91a9dfc RD |
8835 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
8836 | { "_class_wxClientDC","_wxClientDC",0}, | |
8837 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8838 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
714d23b4 | 8839 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
c368d904 | 8840 | { "_class_wxLogNull","_wxLogNull",0}, |
e91a9dfc RD |
8841 | { "_class_wxSize","_wxSize",0}, |
8842 | { "_class_wxBitmap","_wxBitmap",0}, | |
8843 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
714d23b4 | 8844 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc | 8845 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 | 8846 | { "_wxOutputStream","_class_wxOutputStream",0}, |
e91a9dfc RD |
8847 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
8848 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
8849 | { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8850 | { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8851 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
8852 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8853 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8854 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
8855 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
8856 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc | 8857 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
f6bcfd97 | 8858 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc | 8859 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
c368d904 | 8860 | { "_class_wxConfig","_wxConfig",0}, |
e91a9dfc RD |
8861 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
8862 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8863 | { "_wxColourData","_class_wxColourData",0}, | |
8864 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
8865 | { "_class_wxPalette","_wxPalette",0}, | |
714d23b4 | 8866 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 8867 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 8868 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 8869 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
714d23b4 | 8870 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc | 8871 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
714d23b4 RD |
8872 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
8873 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
8874 | { "_class_wxFontDialog","_wxFontDialog",0}, |
8875 | { "_wxWindow","_class_wxWindow",0}, | |
714d23b4 | 8876 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
c368d904 RD |
8877 | { "_wxLogStderr","_class_wxLogStderr",0}, |
8878 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
8879 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
e91a9dfc RD |
8880 | { "_class_wxFrame","_wxFrame",0}, |
8881 | {0,0,0}}; | |
8882 | ||
8883 | static PyObject *SWIG_globals; | |
8884 | #ifdef __cplusplus | |
8885 | extern "C" | |
8886 | #endif | |
8887 | SWIGEXPORT(void) initoglbasicc() { | |
8888 | PyObject *m, *d; | |
8889 | SWIG_globals = SWIG_newvarlink(); | |
8890 | m = Py_InitModule("oglbasicc", oglbasiccMethods); | |
8891 | d = PyModule_GetDict(m); | |
8892 | { | |
8893 | int i; | |
8894 | for (i = 0; _swig_mapping[i].n1; i++) | |
8895 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8896 | } | |
8897 | } |