]>
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__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
e91a9dfc | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
e91a9dfc RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
185d7c3e | 44 | |
e91a9dfc RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initoglbasicc | |
55 | ||
56 | #define SWIG_name "oglbasicc" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
e91a9dfc RD |
59 | #include "oglhelpers.h" |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
185d7c3e | 63 | if (!target) { |
e91a9dfc | 64 | target = o; |
185d7c3e | 65 | } else if (target == Py_None) { |
e91a9dfc RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
185d7c3e | 68 | } else { |
e91a9dfc RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
185d7c3e | 85 | if (!target) { |
e91a9dfc | 86 | target = o; |
185d7c3e | 87 | } else if (target == Py_None) { |
e91a9dfc RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
185d7c3e | 90 | } else { |
e91a9dfc RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
185d7c3e RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
98 | |
99 | o2 = target; | |
185d7c3e RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
e91a9dfc RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
e91a9dfc RD |
107 | static char* wxStringErrorMsg = "string type is required for parameter"; |
108 | ||
109 | WXSHAPE_IMP_CALLBACKS(wxPyShapeEvtHandler,wxShapeEvtHandler); | |
110 | ||
111 | WXSHAPE_IMP_CALLBACKS(wxPyShape, wxShape); | |
112 | #ifdef __cplusplus | |
113 | extern "C" { | |
114 | #endif | |
115 | #define new_wxShapeRegion() (new wxShapeRegion()) | |
116 | static PyObject *_wrap_new_wxShapeRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
117 | PyObject * _resultobj; | |
118 | wxShapeRegion * _result; | |
119 | char *_kwnames[] = { NULL }; | |
120 | char _ptemp[128]; | |
121 | ||
122 | self = self; | |
123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxShapeRegion",_kwnames)) | |
124 | return NULL; | |
125 | { | |
126 | wxPy_BEGIN_ALLOW_THREADS; | |
127 | _result = (wxShapeRegion *)new_wxShapeRegion(); | |
128 | ||
129 | wxPy_END_ALLOW_THREADS; | |
130 | } if (_result) { | |
131 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxShapeRegion_p"); | |
132 | _resultobj = Py_BuildValue("s",_ptemp); | |
133 | } else { | |
134 | Py_INCREF(Py_None); | |
135 | _resultobj = Py_None; | |
136 | } | |
137 | return _resultobj; | |
138 | } | |
139 | ||
140 | #define wxShapeRegion_SetText(_swigobj,_swigarg0) (_swigobj->SetText(_swigarg0)) | |
141 | static PyObject *_wrap_wxShapeRegion_SetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
142 | PyObject * _resultobj; | |
143 | wxShapeRegion * _arg0; | |
144 | wxString * _arg1; | |
145 | PyObject * _argo0 = 0; | |
146 | PyObject * _obj1 = 0; | |
147 | char *_kwnames[] = { "self","s", NULL }; | |
148 | ||
149 | self = self; | |
150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetText",_kwnames,&_argo0,&_obj1)) | |
151 | return NULL; | |
152 | if (_argo0) { | |
153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetText. Expected _wxShapeRegion_p."); | |
156 | return NULL; | |
157 | } | |
158 | } | |
159 | { | |
185d7c3e RD |
160 | #if PYTHON_API_VERSION >= 1009 |
161 | char* tmpPtr; int tmpSize; | |
162 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
163 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
164 | return NULL; | |
165 | } | |
166 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
167 | return NULL; | |
168 | _arg1 = new wxString(tmpPtr, tmpSize); | |
169 | #else | |
e91a9dfc RD |
170 | if (!PyString_Check(_obj1)) { |
171 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
172 | return NULL; | |
173 | } | |
185d7c3e RD |
174 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
175 | #endif | |
e91a9dfc RD |
176 | } |
177 | { | |
178 | wxPy_BEGIN_ALLOW_THREADS; | |
179 | wxShapeRegion_SetText(_arg0,*_arg1); | |
180 | ||
181 | wxPy_END_ALLOW_THREADS; | |
182 | } Py_INCREF(Py_None); | |
183 | _resultobj = Py_None; | |
184 | { | |
185 | if (_obj1) | |
186 | delete _arg1; | |
187 | } | |
188 | return _resultobj; | |
189 | } | |
190 | ||
191 | #define wxShapeRegion_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
192 | static PyObject *_wrap_wxShapeRegion_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
193 | PyObject * _resultobj; | |
194 | wxShapeRegion * _arg0; | |
195 | wxFont * _arg1; | |
196 | PyObject * _argo0 = 0; | |
197 | PyObject * _argo1 = 0; | |
198 | char *_kwnames[] = { "self","f", NULL }; | |
199 | ||
200 | self = self; | |
201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetFont",_kwnames,&_argo0,&_argo1)) | |
202 | return NULL; | |
203 | if (_argo0) { | |
204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetFont. Expected _wxShapeRegion_p."); | |
207 | return NULL; | |
208 | } | |
209 | } | |
210 | if (_argo1) { | |
211 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
212 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxShapeRegion_SetFont. Expected _wxFont_p."); | |
214 | return NULL; | |
215 | } | |
216 | } | |
217 | { | |
218 | wxPy_BEGIN_ALLOW_THREADS; | |
219 | wxShapeRegion_SetFont(_arg0,_arg1); | |
220 | ||
221 | wxPy_END_ALLOW_THREADS; | |
222 | } Py_INCREF(Py_None); | |
223 | _resultobj = Py_None; | |
224 | return _resultobj; | |
225 | } | |
226 | ||
227 | #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1)) | |
228 | static PyObject *_wrap_wxShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
229 | PyObject * _resultobj; | |
230 | wxShapeRegion * _arg0; | |
231 | double _arg1; | |
232 | double _arg2; | |
233 | PyObject * _argo0 = 0; | |
234 | char *_kwnames[] = { "self","w","h", NULL }; | |
235 | ||
236 | self = self; | |
237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetMinSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
238 | return NULL; | |
239 | if (_argo0) { | |
240 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
241 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p."); | |
243 | return NULL; | |
244 | } | |
245 | } | |
246 | { | |
247 | wxPy_BEGIN_ALLOW_THREADS; | |
248 | wxShapeRegion_SetMinSize(_arg0,_arg1,_arg2); | |
249 | ||
250 | wxPy_END_ALLOW_THREADS; | |
251 | } Py_INCREF(Py_None); | |
252 | _resultobj = Py_None; | |
253 | return _resultobj; | |
254 | } | |
255 | ||
256 | #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
257 | static PyObject *_wrap_wxShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
258 | PyObject * _resultobj; | |
259 | wxShapeRegion * _arg0; | |
260 | double _arg1; | |
261 | double _arg2; | |
262 | PyObject * _argo0 = 0; | |
263 | char *_kwnames[] = { "self","w","h", NULL }; | |
264 | ||
265 | self = self; | |
266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
267 | return NULL; | |
268 | if (_argo0) { | |
269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p."); | |
272 | return NULL; | |
273 | } | |
274 | } | |
275 | { | |
276 | wxPy_BEGIN_ALLOW_THREADS; | |
277 | wxShapeRegion_SetSize(_arg0,_arg1,_arg2); | |
278 | ||
279 | wxPy_END_ALLOW_THREADS; | |
280 | } Py_INCREF(Py_None); | |
281 | _resultobj = Py_None; | |
282 | return _resultobj; | |
283 | } | |
284 | ||
285 | #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1)) | |
286 | static PyObject *_wrap_wxShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
287 | PyObject * _resultobj; | |
288 | wxShapeRegion * _arg0; | |
289 | double _arg1; | |
290 | double _arg2; | |
291 | PyObject * _argo0 = 0; | |
292 | char *_kwnames[] = { "self","x","y", NULL }; | |
293 | ||
294 | self = self; | |
295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetPosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
296 | return NULL; | |
297 | if (_argo0) { | |
298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p."); | |
301 | return NULL; | |
302 | } | |
303 | } | |
304 | { | |
305 | wxPy_BEGIN_ALLOW_THREADS; | |
306 | wxShapeRegion_SetPosition(_arg0,_arg1,_arg2); | |
307 | ||
308 | wxPy_END_ALLOW_THREADS; | |
309 | } Py_INCREF(Py_None); | |
310 | _resultobj = Py_None; | |
311 | return _resultobj; | |
312 | } | |
313 | ||
314 | #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1)) | |
315 | static PyObject *_wrap_wxShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
316 | PyObject * _resultobj; | |
317 | wxShapeRegion * _arg0; | |
318 | double _arg1; | |
319 | double _arg2; | |
320 | PyObject * _argo0 = 0; | |
321 | char *_kwnames[] = { "self","x","y", NULL }; | |
322 | ||
323 | self = self; | |
324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetProportions",_kwnames,&_argo0,&_arg1,&_arg2)) | |
325 | return NULL; | |
326 | if (_argo0) { | |
327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p."); | |
330 | return NULL; | |
331 | } | |
332 | } | |
333 | { | |
334 | wxPy_BEGIN_ALLOW_THREADS; | |
335 | wxShapeRegion_SetProportions(_arg0,_arg1,_arg2); | |
336 | ||
337 | wxPy_END_ALLOW_THREADS; | |
338 | } Py_INCREF(Py_None); | |
339 | _resultobj = Py_None; | |
340 | return _resultobj; | |
341 | } | |
342 | ||
343 | #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0)) | |
344 | static PyObject *_wrap_wxShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
345 | PyObject * _resultobj; | |
346 | wxShapeRegion * _arg0; | |
347 | int _arg1; | |
348 | PyObject * _argo0 = 0; | |
349 | char *_kwnames[] = { "self","mode", NULL }; | |
350 | ||
351 | self = self; | |
352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetFormatMode",_kwnames,&_argo0,&_arg1)) | |
353 | return NULL; | |
354 | if (_argo0) { | |
355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p."); | |
358 | return NULL; | |
359 | } | |
360 | } | |
361 | { | |
362 | wxPy_BEGIN_ALLOW_THREADS; | |
363 | wxShapeRegion_SetFormatMode(_arg0,_arg1); | |
364 | ||
365 | wxPy_END_ALLOW_THREADS; | |
366 | } Py_INCREF(Py_None); | |
367 | _resultobj = Py_None; | |
368 | return _resultobj; | |
369 | } | |
370 | ||
371 | #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0)) | |
372 | static PyObject *_wrap_wxShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
373 | PyObject * _resultobj; | |
374 | wxShapeRegion * _arg0; | |
375 | wxString * _arg1; | |
376 | PyObject * _argo0 = 0; | |
377 | PyObject * _obj1 = 0; | |
378 | char *_kwnames[] = { "self","s", NULL }; | |
379 | ||
380 | self = self; | |
381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetName",_kwnames,&_argo0,&_obj1)) | |
382 | return NULL; | |
383 | if (_argo0) { | |
384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p."); | |
387 | return NULL; | |
388 | } | |
389 | } | |
390 | { | |
185d7c3e RD |
391 | #if PYTHON_API_VERSION >= 1009 |
392 | char* tmpPtr; int tmpSize; | |
393 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
394 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
395 | return NULL; | |
396 | } | |
397 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
398 | return NULL; | |
399 | _arg1 = new wxString(tmpPtr, tmpSize); | |
400 | #else | |
e91a9dfc RD |
401 | if (!PyString_Check(_obj1)) { |
402 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
403 | return NULL; | |
404 | } | |
185d7c3e RD |
405 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
406 | #endif | |
e91a9dfc RD |
407 | } |
408 | { | |
409 | wxPy_BEGIN_ALLOW_THREADS; | |
410 | wxShapeRegion_SetName(_arg0,*_arg1); | |
411 | ||
412 | wxPy_END_ALLOW_THREADS; | |
413 | } Py_INCREF(Py_None); | |
414 | _resultobj = Py_None; | |
415 | { | |
416 | if (_obj1) | |
417 | delete _arg1; | |
418 | } | |
419 | return _resultobj; | |
420 | } | |
421 | ||
422 | #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
423 | static PyObject *_wrap_wxShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
424 | PyObject * _resultobj; | |
425 | wxShapeRegion * _arg0; | |
426 | wxString * _arg1; | |
427 | PyObject * _argo0 = 0; | |
428 | PyObject * _obj1 = 0; | |
429 | char *_kwnames[] = { "self","col", NULL }; | |
430 | ||
431 | self = self; | |
432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetColour",_kwnames,&_argo0,&_obj1)) | |
433 | return NULL; | |
434 | if (_argo0) { | |
435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p."); | |
438 | return NULL; | |
439 | } | |
440 | } | |
441 | { | |
185d7c3e RD |
442 | #if PYTHON_API_VERSION >= 1009 |
443 | char* tmpPtr; int tmpSize; | |
444 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
445 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
446 | return NULL; | |
447 | } | |
448 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
449 | return NULL; | |
450 | _arg1 = new wxString(tmpPtr, tmpSize); | |
451 | #else | |
e91a9dfc RD |
452 | if (!PyString_Check(_obj1)) { |
453 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
454 | return NULL; | |
455 | } | |
185d7c3e RD |
456 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
457 | #endif | |
e91a9dfc RD |
458 | } |
459 | { | |
460 | wxPy_BEGIN_ALLOW_THREADS; | |
461 | wxShapeRegion_SetColour(_arg0,*_arg1); | |
462 | ||
463 | wxPy_END_ALLOW_THREADS; | |
464 | } Py_INCREF(Py_None); | |
465 | _resultobj = Py_None; | |
466 | { | |
467 | if (_obj1) | |
468 | delete _arg1; | |
469 | } | |
470 | return _resultobj; | |
471 | } | |
472 | ||
473 | #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText()) | |
474 | static PyObject *_wrap_wxShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
475 | PyObject * _resultobj; | |
476 | wxString * _result; | |
477 | wxShapeRegion * _arg0; | |
478 | PyObject * _argo0 = 0; | |
479 | char *_kwnames[] = { "self", NULL }; | |
480 | ||
481 | self = self; | |
482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetText",_kwnames,&_argo0)) | |
483 | return NULL; | |
484 | if (_argo0) { | |
485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p."); | |
488 | return NULL; | |
489 | } | |
490 | } | |
491 | { | |
492 | wxPy_BEGIN_ALLOW_THREADS; | |
493 | _result = new wxString (wxShapeRegion_GetText(_arg0)); | |
494 | ||
495 | wxPy_END_ALLOW_THREADS; | |
496 | }{ | |
714d23b4 | 497 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
498 | } |
499 | { | |
500 | delete _result; | |
501 | } | |
502 | return _resultobj; | |
503 | } | |
504 | ||
505 | #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont()) | |
506 | static PyObject *_wrap_wxShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
507 | PyObject * _resultobj; | |
508 | wxFont * _result; | |
509 | wxShapeRegion * _arg0; | |
510 | PyObject * _argo0 = 0; | |
511 | char *_kwnames[] = { "self", NULL }; | |
512 | char _ptemp[128]; | |
513 | ||
514 | self = self; | |
515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFont",_kwnames,&_argo0)) | |
516 | return NULL; | |
517 | if (_argo0) { | |
518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p."); | |
521 | return NULL; | |
522 | } | |
523 | } | |
524 | { | |
525 | wxPy_BEGIN_ALLOW_THREADS; | |
526 | _result = (wxFont *)wxShapeRegion_GetFont(_arg0); | |
527 | ||
528 | wxPy_END_ALLOW_THREADS; | |
529 | } if (_result) { | |
530 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
531 | _resultobj = Py_BuildValue("s",_ptemp); | |
532 | } else { | |
533 | Py_INCREF(Py_None); | |
534 | _resultobj = Py_None; | |
535 | } | |
536 | return _resultobj; | |
537 | } | |
538 | ||
539 | #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1)) | |
540 | static PyObject *_wrap_wxShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
541 | PyObject * _resultobj; | |
542 | wxShapeRegion * _arg0; | |
543 | double * _arg1; | |
f6bcfd97 | 544 | double temp; |
e91a9dfc | 545 | double * _arg2; |
f6bcfd97 | 546 | double temp0; |
e91a9dfc | 547 | PyObject * _argo0 = 0; |
f6bcfd97 | 548 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
549 | |
550 | self = self; | |
f6bcfd97 BP |
551 | { |
552 | _arg1 = &temp; | |
553 | } | |
554 | { | |
555 | _arg2 = &temp0; | |
556 | } | |
557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetMinSize",_kwnames,&_argo0)) | |
e91a9dfc RD |
558 | return NULL; |
559 | if (_argo0) { | |
560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p."); | |
563 | return NULL; | |
564 | } | |
565 | } | |
e91a9dfc RD |
566 | { |
567 | wxPy_BEGIN_ALLOW_THREADS; | |
568 | wxShapeRegion_GetMinSize(_arg0,_arg1,_arg2); | |
569 | ||
570 | wxPy_END_ALLOW_THREADS; | |
571 | } Py_INCREF(Py_None); | |
572 | _resultobj = Py_None; | |
f6bcfd97 BP |
573 | { |
574 | PyObject *o; | |
575 | o = PyFloat_FromDouble((double) (*_arg1)); | |
576 | _resultobj = t_output_helper(_resultobj, o); | |
577 | } | |
578 | { | |
579 | PyObject *o; | |
580 | o = PyFloat_FromDouble((double) (*_arg2)); | |
581 | _resultobj = t_output_helper(_resultobj, o); | |
582 | } | |
e91a9dfc RD |
583 | return _resultobj; |
584 | } | |
585 | ||
586 | #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1)) | |
587 | static PyObject *_wrap_wxShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
588 | PyObject * _resultobj; | |
589 | wxShapeRegion * _arg0; | |
590 | double * _arg1; | |
f6bcfd97 | 591 | double temp; |
e91a9dfc | 592 | double * _arg2; |
f6bcfd97 | 593 | double temp0; |
e91a9dfc | 594 | PyObject * _argo0 = 0; |
f6bcfd97 | 595 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
596 | |
597 | self = self; | |
f6bcfd97 BP |
598 | { |
599 | _arg1 = &temp; | |
600 | } | |
601 | { | |
602 | _arg2 = &temp0; | |
603 | } | |
604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetProportion",_kwnames,&_argo0)) | |
e91a9dfc RD |
605 | return NULL; |
606 | if (_argo0) { | |
607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p."); | |
610 | return NULL; | |
611 | } | |
612 | } | |
e91a9dfc RD |
613 | { |
614 | wxPy_BEGIN_ALLOW_THREADS; | |
615 | wxShapeRegion_GetProportion(_arg0,_arg1,_arg2); | |
616 | ||
617 | wxPy_END_ALLOW_THREADS; | |
618 | } Py_INCREF(Py_None); | |
619 | _resultobj = Py_None; | |
f6bcfd97 BP |
620 | { |
621 | PyObject *o; | |
622 | o = PyFloat_FromDouble((double) (*_arg1)); | |
623 | _resultobj = t_output_helper(_resultobj, o); | |
624 | } | |
625 | { | |
626 | PyObject *o; | |
627 | o = PyFloat_FromDouble((double) (*_arg2)); | |
628 | _resultobj = t_output_helper(_resultobj, o); | |
629 | } | |
e91a9dfc RD |
630 | return _resultobj; |
631 | } | |
632 | ||
633 | #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) | |
634 | static PyObject *_wrap_wxShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
635 | PyObject * _resultobj; | |
636 | wxShapeRegion * _arg0; | |
637 | double * _arg1; | |
f6bcfd97 | 638 | double temp; |
e91a9dfc | 639 | double * _arg2; |
f6bcfd97 | 640 | double temp0; |
e91a9dfc | 641 | PyObject * _argo0 = 0; |
f6bcfd97 | 642 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
643 | |
644 | self = self; | |
f6bcfd97 BP |
645 | { |
646 | _arg1 = &temp; | |
647 | } | |
648 | { | |
649 | _arg2 = &temp0; | |
650 | } | |
651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetSize",_kwnames,&_argo0)) | |
e91a9dfc RD |
652 | return NULL; |
653 | if (_argo0) { | |
654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p."); | |
657 | return NULL; | |
658 | } | |
659 | } | |
e91a9dfc RD |
660 | { |
661 | wxPy_BEGIN_ALLOW_THREADS; | |
662 | wxShapeRegion_GetSize(_arg0,_arg1,_arg2); | |
663 | ||
664 | wxPy_END_ALLOW_THREADS; | |
665 | } Py_INCREF(Py_None); | |
666 | _resultobj = Py_None; | |
f6bcfd97 BP |
667 | { |
668 | PyObject *o; | |
669 | o = PyFloat_FromDouble((double) (*_arg1)); | |
670 | _resultobj = t_output_helper(_resultobj, o); | |
671 | } | |
672 | { | |
673 | PyObject *o; | |
674 | o = PyFloat_FromDouble((double) (*_arg2)); | |
675 | _resultobj = t_output_helper(_resultobj, o); | |
676 | } | |
e91a9dfc RD |
677 | return _resultobj; |
678 | } | |
679 | ||
680 | #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) | |
681 | static PyObject *_wrap_wxShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
682 | PyObject * _resultobj; | |
683 | wxShapeRegion * _arg0; | |
684 | double * _arg1; | |
f6bcfd97 | 685 | double temp; |
e91a9dfc | 686 | double * _arg2; |
f6bcfd97 | 687 | double temp0; |
e91a9dfc | 688 | PyObject * _argo0 = 0; |
f6bcfd97 | 689 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
690 | |
691 | self = self; | |
f6bcfd97 BP |
692 | { |
693 | _arg1 = &temp; | |
694 | } | |
695 | { | |
696 | _arg2 = &temp0; | |
697 | } | |
698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPosition",_kwnames,&_argo0)) | |
e91a9dfc RD |
699 | return NULL; |
700 | if (_argo0) { | |
701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p."); | |
704 | return NULL; | |
705 | } | |
706 | } | |
e91a9dfc RD |
707 | { |
708 | wxPy_BEGIN_ALLOW_THREADS; | |
709 | wxShapeRegion_GetPosition(_arg0,_arg1,_arg2); | |
710 | ||
711 | wxPy_END_ALLOW_THREADS; | |
712 | } Py_INCREF(Py_None); | |
713 | _resultobj = Py_None; | |
f6bcfd97 BP |
714 | { |
715 | PyObject *o; | |
716 | o = PyFloat_FromDouble((double) (*_arg1)); | |
717 | _resultobj = t_output_helper(_resultobj, o); | |
718 | } | |
719 | { | |
720 | PyObject *o; | |
721 | o = PyFloat_FromDouble((double) (*_arg2)); | |
722 | _resultobj = t_output_helper(_resultobj, o); | |
723 | } | |
e91a9dfc RD |
724 | return _resultobj; |
725 | } | |
726 | ||
727 | #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode()) | |
728 | static PyObject *_wrap_wxShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
729 | PyObject * _resultobj; | |
730 | int _result; | |
731 | wxShapeRegion * _arg0; | |
732 | PyObject * _argo0 = 0; | |
733 | char *_kwnames[] = { "self", NULL }; | |
734 | ||
735 | self = self; | |
736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormatMode",_kwnames,&_argo0)) | |
737 | return NULL; | |
738 | if (_argo0) { | |
739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p."); | |
742 | return NULL; | |
743 | } | |
744 | } | |
745 | { | |
746 | wxPy_BEGIN_ALLOW_THREADS; | |
747 | _result = (int )wxShapeRegion_GetFormatMode(_arg0); | |
748 | ||
749 | wxPy_END_ALLOW_THREADS; | |
750 | } _resultobj = Py_BuildValue("i",_result); | |
751 | return _resultobj; | |
752 | } | |
753 | ||
754 | #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName()) | |
755 | static PyObject *_wrap_wxShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
756 | PyObject * _resultobj; | |
757 | wxString * _result; | |
758 | wxShapeRegion * _arg0; | |
759 | PyObject * _argo0 = 0; | |
760 | char *_kwnames[] = { "self", NULL }; | |
761 | ||
762 | self = self; | |
763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetName",_kwnames,&_argo0)) | |
764 | return NULL; | |
765 | if (_argo0) { | |
766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p."); | |
769 | return NULL; | |
770 | } | |
771 | } | |
772 | { | |
773 | wxPy_BEGIN_ALLOW_THREADS; | |
774 | _result = new wxString (wxShapeRegion_GetName(_arg0)); | |
775 | ||
776 | wxPy_END_ALLOW_THREADS; | |
777 | }{ | |
714d23b4 | 778 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
779 | } |
780 | { | |
781 | delete _result; | |
782 | } | |
783 | return _resultobj; | |
784 | } | |
785 | ||
786 | #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour()) | |
787 | static PyObject *_wrap_wxShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
788 | PyObject * _resultobj; | |
789 | wxString * _result; | |
790 | wxShapeRegion * _arg0; | |
791 | PyObject * _argo0 = 0; | |
792 | char *_kwnames[] = { "self", NULL }; | |
793 | ||
794 | self = self; | |
795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetColour",_kwnames,&_argo0)) | |
796 | return NULL; | |
797 | if (_argo0) { | |
798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p."); | |
801 | return NULL; | |
802 | } | |
803 | } | |
804 | { | |
805 | wxPy_BEGIN_ALLOW_THREADS; | |
806 | _result = new wxString (wxShapeRegion_GetColour(_arg0)); | |
807 | ||
808 | wxPy_END_ALLOW_THREADS; | |
809 | }{ | |
714d23b4 | 810 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
811 | } |
812 | { | |
813 | delete _result; | |
814 | } | |
815 | return _resultobj; | |
816 | } | |
817 | ||
818 | #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject()) | |
819 | static PyObject *_wrap_wxShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
820 | PyObject * _resultobj; | |
821 | wxColour * _result; | |
822 | wxShapeRegion * _arg0; | |
823 | PyObject * _argo0 = 0; | |
824 | char *_kwnames[] = { "self", NULL }; | |
825 | char _ptemp[128]; | |
826 | ||
827 | self = self; | |
828 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualColourObject",_kwnames,&_argo0)) | |
829 | return NULL; | |
830 | if (_argo0) { | |
831 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
832 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p."); | |
834 | return NULL; | |
835 | } | |
836 | } | |
837 | { | |
838 | wxPy_BEGIN_ALLOW_THREADS; | |
839 | _result = (wxColour *)wxShapeRegion_GetActualColourObject(_arg0); | |
840 | ||
841 | wxPy_END_ALLOW_THREADS; | |
842 | } if (_result) { | |
843 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
844 | _resultobj = Py_BuildValue("s",_ptemp); | |
845 | } else { | |
846 | Py_INCREF(Py_None); | |
847 | _resultobj = Py_None; | |
848 | } | |
849 | return _resultobj; | |
850 | } | |
851 | ||
852 | #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText()) | |
853 | static PyObject *_wrap_wxShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
854 | PyObject * _resultobj; | |
855 | wxList * _result; | |
856 | wxShapeRegion * _arg0; | |
857 | PyObject * _argo0 = 0; | |
858 | char *_kwnames[] = { "self", NULL }; | |
859 | char _ptemp[128]; | |
860 | ||
861 | self = self; | |
862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormattedText",_kwnames,&_argo0)) | |
863 | return NULL; | |
864 | if (_argo0) { | |
865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p."); | |
868 | return NULL; | |
869 | } | |
870 | } | |
871 | { | |
872 | wxPy_BEGIN_ALLOW_THREADS; | |
873 | wxList & _result_ref = wxShapeRegion_GetFormattedText(_arg0); | |
874 | _result = (wxList *) &_result_ref; | |
875 | ||
876 | wxPy_END_ALLOW_THREADS; | |
877 | } if (_result) { | |
878 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxList_p"); | |
879 | _resultobj = Py_BuildValue("s",_ptemp); | |
880 | } else { | |
881 | Py_INCREF(Py_None); | |
882 | _resultobj = Py_None; | |
883 | } | |
884 | return _resultobj; | |
885 | } | |
886 | ||
887 | #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour()) | |
888 | static PyObject *_wrap_wxShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
889 | PyObject * _resultobj; | |
890 | wxString * _result; | |
891 | wxShapeRegion * _arg0; | |
892 | PyObject * _argo0 = 0; | |
893 | char *_kwnames[] = { "self", NULL }; | |
894 | ||
895 | self = self; | |
896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenColour",_kwnames,&_argo0)) | |
897 | return NULL; | |
898 | if (_argo0) { | |
899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p."); | |
902 | return NULL; | |
903 | } | |
904 | } | |
905 | { | |
906 | wxPy_BEGIN_ALLOW_THREADS; | |
907 | _result = new wxString (wxShapeRegion_GetPenColour(_arg0)); | |
908 | ||
909 | wxPy_END_ALLOW_THREADS; | |
910 | }{ | |
714d23b4 | 911 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
912 | } |
913 | { | |
914 | delete _result; | |
915 | } | |
916 | return _resultobj; | |
917 | } | |
918 | ||
919 | #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle()) | |
920 | static PyObject *_wrap_wxShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
921 | PyObject * _resultobj; | |
922 | int _result; | |
923 | wxShapeRegion * _arg0; | |
924 | PyObject * _argo0 = 0; | |
925 | char *_kwnames[] = { "self", NULL }; | |
926 | ||
927 | self = self; | |
928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenStyle",_kwnames,&_argo0)) | |
929 | return NULL; | |
930 | if (_argo0) { | |
931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p."); | |
934 | return NULL; | |
935 | } | |
936 | } | |
937 | { | |
938 | wxPy_BEGIN_ALLOW_THREADS; | |
939 | _result = (int )wxShapeRegion_GetPenStyle(_arg0); | |
940 | ||
941 | wxPy_END_ALLOW_THREADS; | |
942 | } _resultobj = Py_BuildValue("i",_result); | |
943 | return _resultobj; | |
944 | } | |
945 | ||
946 | #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0)) | |
947 | static PyObject *_wrap_wxShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
948 | PyObject * _resultobj; | |
949 | wxShapeRegion * _arg0; | |
950 | int _arg1; | |
951 | PyObject * _argo0 = 0; | |
952 | char *_kwnames[] = { "self","style", NULL }; | |
953 | ||
954 | self = self; | |
955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetPenStyle",_kwnames,&_argo0,&_arg1)) | |
956 | return NULL; | |
957 | if (_argo0) { | |
958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p."); | |
961 | return NULL; | |
962 | } | |
963 | } | |
964 | { | |
965 | wxPy_BEGIN_ALLOW_THREADS; | |
966 | wxShapeRegion_SetPenStyle(_arg0,_arg1); | |
967 | ||
968 | wxPy_END_ALLOW_THREADS; | |
969 | } Py_INCREF(Py_None); | |
970 | _resultobj = Py_None; | |
971 | return _resultobj; | |
972 | } | |
973 | ||
974 | #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0)) | |
975 | static PyObject *_wrap_wxShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
976 | PyObject * _resultobj; | |
977 | wxShapeRegion * _arg0; | |
978 | wxString * _arg1; | |
979 | PyObject * _argo0 = 0; | |
980 | PyObject * _obj1 = 0; | |
981 | char *_kwnames[] = { "self","col", NULL }; | |
982 | ||
983 | self = self; | |
984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetPenColour",_kwnames,&_argo0,&_obj1)) | |
985 | return NULL; | |
986 | if (_argo0) { | |
987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p."); | |
990 | return NULL; | |
991 | } | |
992 | } | |
993 | { | |
185d7c3e RD |
994 | #if PYTHON_API_VERSION >= 1009 |
995 | char* tmpPtr; int tmpSize; | |
996 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
997 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
998 | return NULL; | |
999 | } | |
1000 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1001 | return NULL; | |
1002 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1003 | #else | |
e91a9dfc RD |
1004 | if (!PyString_Check(_obj1)) { |
1005 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1006 | return NULL; | |
1007 | } | |
185d7c3e RD |
1008 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1009 | #endif | |
e91a9dfc RD |
1010 | } |
1011 | { | |
1012 | wxPy_BEGIN_ALLOW_THREADS; | |
1013 | wxShapeRegion_SetPenColour(_arg0,*_arg1); | |
1014 | ||
1015 | wxPy_END_ALLOW_THREADS; | |
1016 | } Py_INCREF(Py_None); | |
1017 | _resultobj = Py_None; | |
1018 | { | |
1019 | if (_obj1) | |
1020 | delete _arg1; | |
1021 | } | |
1022 | return _resultobj; | |
1023 | } | |
1024 | ||
1025 | #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen()) | |
1026 | static PyObject *_wrap_wxShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1027 | PyObject * _resultobj; | |
1028 | wxPen * _result; | |
1029 | wxShapeRegion * _arg0; | |
1030 | PyObject * _argo0 = 0; | |
1031 | char *_kwnames[] = { "self", NULL }; | |
1032 | char _ptemp[128]; | |
1033 | ||
1034 | self = self; | |
1035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualPen",_kwnames,&_argo0)) | |
1036 | return NULL; | |
1037 | if (_argo0) { | |
1038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p."); | |
1041 | return NULL; | |
1042 | } | |
1043 | } | |
1044 | { | |
1045 | wxPy_BEGIN_ALLOW_THREADS; | |
1046 | _result = (wxPen *)wxShapeRegion_GetActualPen(_arg0); | |
1047 | ||
1048 | wxPy_END_ALLOW_THREADS; | |
1049 | } if (_result) { | |
1050 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
1051 | _resultobj = Py_BuildValue("s",_ptemp); | |
1052 | } else { | |
1053 | Py_INCREF(Py_None); | |
1054 | _resultobj = Py_None; | |
1055 | } | |
1056 | return _resultobj; | |
1057 | } | |
1058 | ||
1059 | #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1060 | static PyObject *_wrap_wxShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1061 | PyObject * _resultobj; | |
1062 | double _result; | |
1063 | wxShapeRegion * _arg0; | |
1064 | PyObject * _argo0 = 0; | |
1065 | char *_kwnames[] = { "self", NULL }; | |
1066 | ||
1067 | self = self; | |
1068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetWidth",_kwnames,&_argo0)) | |
1069 | return NULL; | |
1070 | if (_argo0) { | |
1071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p."); | |
1074 | return NULL; | |
1075 | } | |
1076 | } | |
1077 | { | |
1078 | wxPy_BEGIN_ALLOW_THREADS; | |
1079 | _result = (double )wxShapeRegion_GetWidth(_arg0); | |
1080 | ||
1081 | wxPy_END_ALLOW_THREADS; | |
1082 | } _resultobj = Py_BuildValue("d",_result); | |
1083 | return _resultobj; | |
1084 | } | |
1085 | ||
1086 | #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
1087 | static PyObject *_wrap_wxShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1088 | PyObject * _resultobj; | |
1089 | double _result; | |
1090 | wxShapeRegion * _arg0; | |
1091 | PyObject * _argo0 = 0; | |
1092 | char *_kwnames[] = { "self", NULL }; | |
1093 | ||
1094 | self = self; | |
1095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetHeight",_kwnames,&_argo0)) | |
1096 | return NULL; | |
1097 | if (_argo0) { | |
1098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p."); | |
1101 | return NULL; | |
1102 | } | |
1103 | } | |
1104 | { | |
1105 | wxPy_BEGIN_ALLOW_THREADS; | |
1106 | _result = (double )wxShapeRegion_GetHeight(_arg0); | |
1107 | ||
1108 | wxPy_END_ALLOW_THREADS; | |
1109 | } _resultobj = Py_BuildValue("d",_result); | |
1110 | return _resultobj; | |
1111 | } | |
1112 | ||
1113 | #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText()) | |
1114 | static PyObject *_wrap_wxShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1115 | PyObject * _resultobj; | |
1116 | wxShapeRegion * _arg0; | |
1117 | PyObject * _argo0 = 0; | |
1118 | char *_kwnames[] = { "self", NULL }; | |
1119 | ||
1120 | self = self; | |
1121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_ClearText",_kwnames,&_argo0)) | |
1122 | return NULL; | |
1123 | if (_argo0) { | |
1124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p."); | |
1127 | return NULL; | |
1128 | } | |
1129 | } | |
1130 | { | |
1131 | wxPy_BEGIN_ALLOW_THREADS; | |
1132 | wxShapeRegion_ClearText(_arg0); | |
1133 | ||
1134 | wxPy_END_ALLOW_THREADS; | |
1135 | } Py_INCREF(Py_None); | |
1136 | _resultobj = Py_None; | |
1137 | return _resultobj; | |
1138 | } | |
1139 | ||
1140 | #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1)) | |
1141 | static PyObject *_wrap_new_wxPyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1142 | PyObject * _resultobj; | |
1143 | wxPyShapeEvtHandler * _result; | |
1144 | wxPyShapeEvtHandler * _arg0 = (wxPyShapeEvtHandler *) NULL; | |
1145 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
1146 | PyObject * _argo0 = 0; | |
1147 | PyObject * _argo1 = 0; | |
1148 | char *_kwnames[] = { "prev","shape", NULL }; | |
1149 | char _ptemp[128]; | |
1150 | ||
1151 | self = self; | |
1152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxPyShapeEvtHandler",_kwnames,&_argo0,&_argo1)) | |
1153 | return NULL; | |
1154 | if (_argo0) { | |
1155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p."); | |
1158 | return NULL; | |
1159 | } | |
1160 | } | |
1161 | if (_argo1) { | |
1162 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1163 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p."); | |
1165 | return NULL; | |
1166 | } | |
1167 | } | |
1168 | { | |
1169 | wxPy_BEGIN_ALLOW_THREADS; | |
1170 | _result = (wxPyShapeEvtHandler *)new_wxPyShapeEvtHandler(_arg0,_arg1); | |
1171 | ||
1172 | wxPy_END_ALLOW_THREADS; | |
1173 | } if (_result) { | |
1174 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1175 | _resultobj = Py_BuildValue("s",_ptemp); | |
1176 | } else { | |
1177 | Py_INCREF(Py_None); | |
1178 | _resultobj = Py_None; | |
1179 | } | |
1180 | return _resultobj; | |
1181 | } | |
1182 | ||
f6bcfd97 | 1183 | #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1184 | static PyObject *_wrap_wxPyShapeEvtHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1185 | PyObject * _resultobj; | |
1186 | wxPyShapeEvtHandler * _arg0; | |
1187 | PyObject * _arg1; | |
f6bcfd97 | 1188 | PyObject * _arg2; |
e91a9dfc RD |
1189 | PyObject * _argo0 = 0; |
1190 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1191 | PyObject * _obj2 = 0; |
1192 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1193 | |
1194 | self = self; | |
f6bcfd97 | 1195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShapeEvtHandler__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1196 | return NULL; |
1197 | if (_argo0) { | |
1198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p."); | |
1201 | return NULL; | |
1202 | } | |
1203 | } | |
1204 | { | |
1205 | _arg1 = _obj1; | |
1206 | } | |
f6bcfd97 BP |
1207 | { |
1208 | _arg2 = _obj2; | |
1209 | } | |
e91a9dfc RD |
1210 | { |
1211 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1212 | wxPyShapeEvtHandler__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1213 | |
1214 | wxPy_END_ALLOW_THREADS; | |
1215 | } Py_INCREF(Py_None); | |
1216 | _resultobj = Py_None; | |
1217 | return _resultobj; | |
1218 | } | |
1219 | ||
1220 | static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler *self) { delete self; } | |
1221 | static PyObject *_wrap_wxPyShapeEvtHandler_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1222 | PyObject * _resultobj; | |
1223 | wxPyShapeEvtHandler * _arg0; | |
1224 | PyObject * _argo0 = 0; | |
1225 | char *_kwnames[] = { "self", NULL }; | |
1226 | ||
1227 | self = self; | |
1228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_Destroy",_kwnames,&_argo0)) | |
1229 | return NULL; | |
1230 | if (_argo0) { | |
1231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p."); | |
1234 | return NULL; | |
1235 | } | |
1236 | } | |
1237 | { | |
1238 | wxPy_BEGIN_ALLOW_THREADS; | |
1239 | wxPyShapeEvtHandler_Destroy(_arg0); | |
1240 | ||
1241 | wxPy_END_ALLOW_THREADS; | |
1242 | } Py_INCREF(Py_None); | |
1243 | _resultobj = Py_None; | |
1244 | return _resultobj; | |
1245 | } | |
1246 | ||
1247 | #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0)) | |
1248 | static PyObject *_wrap_wxPyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1249 | PyObject * _resultobj; | |
1250 | wxPyShapeEvtHandler * _arg0; | |
1251 | wxPyShape * _arg1; | |
1252 | PyObject * _argo0 = 0; | |
1253 | PyObject * _argo1 = 0; | |
1254 | char *_kwnames[] = { "self","sh", NULL }; | |
1255 | ||
1256 | self = self; | |
1257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetShape",_kwnames,&_argo0,&_argo1)) | |
1258 | return NULL; | |
1259 | if (_argo0) { | |
1260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p."); | |
1263 | return NULL; | |
1264 | } | |
1265 | } | |
1266 | if (_argo1) { | |
1267 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1268 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p."); | |
1270 | return NULL; | |
1271 | } | |
1272 | } | |
1273 | { | |
1274 | wxPy_BEGIN_ALLOW_THREADS; | |
1275 | wxPyShapeEvtHandler_SetShape(_arg0,_arg1); | |
1276 | ||
1277 | wxPy_END_ALLOW_THREADS; | |
1278 | } Py_INCREF(Py_None); | |
1279 | _resultobj = Py_None; | |
1280 | return _resultobj; | |
1281 | } | |
1282 | ||
1283 | #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape()) | |
1284 | static PyObject *_wrap_wxPyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1285 | PyObject * _resultobj; | |
1286 | wxPyShape * _result; | |
1287 | wxPyShapeEvtHandler * _arg0; | |
1288 | PyObject * _argo0 = 0; | |
1289 | char *_kwnames[] = { "self", NULL }; | |
1290 | char _ptemp[128]; | |
1291 | ||
1292 | self = self; | |
1293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetShape",_kwnames,&_argo0)) | |
1294 | return NULL; | |
1295 | if (_argo0) { | |
1296 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1297 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p."); | |
1299 | return NULL; | |
1300 | } | |
1301 | } | |
1302 | { | |
1303 | wxPy_BEGIN_ALLOW_THREADS; | |
1304 | _result = (wxPyShape *)wxPyShapeEvtHandler_GetShape(_arg0); | |
1305 | ||
1306 | wxPy_END_ALLOW_THREADS; | |
1307 | } if (_result) { | |
1308 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
1309 | _resultobj = Py_BuildValue("s",_ptemp); | |
1310 | } else { | |
1311 | Py_INCREF(Py_None); | |
1312 | _resultobj = Py_None; | |
1313 | } | |
1314 | return _resultobj; | |
1315 | } | |
1316 | ||
1317 | #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0)) | |
1318 | static PyObject *_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1319 | PyObject * _resultobj; | |
1320 | wxPyShapeEvtHandler * _arg0; | |
1321 | wxPyShapeEvtHandler * _arg1; | |
1322 | PyObject * _argo0 = 0; | |
1323 | PyObject * _argo1 = 0; | |
1324 | char *_kwnames[] = { "self","handler", NULL }; | |
1325 | ||
1326 | self = self; | |
1327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1)) | |
1328 | return NULL; | |
1329 | if (_argo0) { | |
1330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1333 | return NULL; | |
1334 | } | |
1335 | } | |
1336 | if (_argo1) { | |
1337 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1338 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) { | |
1339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1340 | return NULL; | |
1341 | } | |
1342 | } | |
1343 | { | |
1344 | wxPy_BEGIN_ALLOW_THREADS; | |
1345 | wxPyShapeEvtHandler_SetPreviousHandler(_arg0,_arg1); | |
1346 | ||
1347 | wxPy_END_ALLOW_THREADS; | |
1348 | } Py_INCREF(Py_None); | |
1349 | _resultobj = Py_None; | |
1350 | return _resultobj; | |
1351 | } | |
1352 | ||
1353 | #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler()) | |
1354 | static PyObject *_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1355 | PyObject * _resultobj; | |
1356 | wxPyShapeEvtHandler * _result; | |
1357 | wxPyShapeEvtHandler * _arg0; | |
1358 | PyObject * _argo0 = 0; | |
1359 | char *_kwnames[] = { "self", NULL }; | |
1360 | char _ptemp[128]; | |
1361 | ||
1362 | self = self; | |
1363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames,&_argo0)) | |
1364 | return NULL; | |
1365 | if (_argo0) { | |
1366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1369 | return NULL; | |
1370 | } | |
1371 | } | |
1372 | { | |
1373 | wxPy_BEGIN_ALLOW_THREADS; | |
1374 | _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_GetPreviousHandler(_arg0); | |
1375 | ||
1376 | wxPy_END_ALLOW_THREADS; | |
1377 | } if (_result) { | |
1378 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1379 | _resultobj = Py_BuildValue("s",_ptemp); | |
1380 | } else { | |
1381 | Py_INCREF(Py_None); | |
1382 | _resultobj = Py_None; | |
1383 | } | |
1384 | return _resultobj; | |
1385 | } | |
1386 | ||
1387 | #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy()) | |
1388 | static PyObject *_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1389 | PyObject * _resultobj; | |
1390 | wxPyShapeEvtHandler * _result; | |
1391 | wxPyShapeEvtHandler * _arg0; | |
1392 | PyObject * _argo0 = 0; | |
1393 | char *_kwnames[] = { "self", NULL }; | |
1394 | char _ptemp[128]; | |
1395 | ||
1396 | self = self; | |
1397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames,&_argo0)) | |
1398 | return NULL; | |
1399 | if (_argo0) { | |
1400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p."); | |
1403 | return NULL; | |
1404 | } | |
1405 | } | |
1406 | { | |
1407 | wxPy_BEGIN_ALLOW_THREADS; | |
1408 | _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_CreateNewCopy(_arg0); | |
1409 | ||
1410 | wxPy_END_ALLOW_THREADS; | |
1411 | } if (_result) { | |
1412 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1413 | _resultobj = Py_BuildValue("s",_ptemp); | |
1414 | } else { | |
1415 | Py_INCREF(Py_None); | |
1416 | _resultobj = Py_None; | |
1417 | } | |
1418 | return _resultobj; | |
1419 | } | |
1420 | ||
1421 | #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1422 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1423 | PyObject * _resultobj; | |
1424 | wxPyShapeEvtHandler * _arg0; | |
1425 | PyObject * _argo0 = 0; | |
1426 | char *_kwnames[] = { "self", NULL }; | |
1427 | ||
1428 | self = self; | |
1429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames,&_argo0)) | |
1430 | return NULL; | |
1431 | if (_argo0) { | |
1432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p."); | |
1435 | return NULL; | |
1436 | } | |
1437 | } | |
1438 | { | |
1439 | wxPy_BEGIN_ALLOW_THREADS; | |
1440 | wxPyShapeEvtHandler_base_OnDelete(_arg0); | |
1441 | ||
1442 | wxPy_END_ALLOW_THREADS; | |
1443 | } Py_INCREF(Py_None); | |
1444 | _resultobj = Py_None; | |
1445 | return _resultobj; | |
1446 | } | |
1447 | ||
1448 | #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1449 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1450 | PyObject * _resultobj; | |
1451 | wxPyShapeEvtHandler * _arg0; | |
1452 | wxDC * _arg1; | |
1453 | PyObject * _argo0 = 0; | |
1454 | PyObject * _argo1 = 0; | |
1455 | char *_kwnames[] = { "self","dc", NULL }; | |
1456 | ||
1457 | self = self; | |
1458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1459 | return NULL; | |
1460 | if (_argo0) { | |
1461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p."); | |
1464 | return NULL; | |
1465 | } | |
1466 | } | |
1467 | if (_argo1) { | |
1468 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1469 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p."); | |
1471 | return NULL; | |
1472 | } | |
1473 | } | |
1474 | { | |
1475 | wxPy_BEGIN_ALLOW_THREADS; | |
1476 | wxPyShapeEvtHandler_base_OnDraw(_arg0,*_arg1); | |
1477 | ||
1478 | wxPy_END_ALLOW_THREADS; | |
1479 | } Py_INCREF(Py_None); | |
1480 | _resultobj = Py_None; | |
1481 | return _resultobj; | |
1482 | } | |
1483 | ||
1484 | #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1485 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1486 | PyObject * _resultobj; | |
1487 | wxPyShapeEvtHandler * _arg0; | |
1488 | wxDC * _arg1; | |
1489 | PyObject * _argo0 = 0; | |
1490 | PyObject * _argo1 = 0; | |
1491 | char *_kwnames[] = { "self","dc", NULL }; | |
1492 | ||
1493 | self = self; | |
1494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1495 | return NULL; | |
1496 | if (_argo0) { | |
1497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p."); | |
1500 | return NULL; | |
1501 | } | |
1502 | } | |
1503 | if (_argo1) { | |
1504 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1505 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p."); | |
1507 | return NULL; | |
1508 | } | |
1509 | } | |
1510 | { | |
1511 | wxPy_BEGIN_ALLOW_THREADS; | |
1512 | wxPyShapeEvtHandler_base_OnDrawContents(_arg0,*_arg1); | |
1513 | ||
1514 | wxPy_END_ALLOW_THREADS; | |
1515 | } Py_INCREF(Py_None); | |
1516 | _resultobj = Py_None; | |
1517 | return _resultobj; | |
1518 | } | |
1519 | ||
1520 | #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1521 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1522 | PyObject * _resultobj; | |
1523 | wxPyShapeEvtHandler * _arg0; | |
1524 | wxDC * _arg1; | |
1525 | bool _arg2 = (bool ) FALSE; | |
1526 | PyObject * _argo0 = 0; | |
1527 | PyObject * _argo1 = 0; | |
1528 | int tempbool2 = (int) FALSE; | |
1529 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1530 | ||
1531 | self = self; | |
1532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1533 | return NULL; | |
1534 | if (_argo0) { | |
1535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p."); | |
1538 | return NULL; | |
1539 | } | |
1540 | } | |
1541 | if (_argo1) { | |
1542 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1543 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p."); | |
1545 | return NULL; | |
1546 | } | |
1547 | } | |
1548 | _arg2 = (bool ) tempbool2; | |
1549 | { | |
1550 | wxPy_BEGIN_ALLOW_THREADS; | |
1551 | wxPyShapeEvtHandler_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1552 | ||
1553 | wxPy_END_ALLOW_THREADS; | |
1554 | } Py_INCREF(Py_None); | |
1555 | _resultobj = Py_None; | |
1556 | return _resultobj; | |
1557 | } | |
1558 | ||
1559 | #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1560 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1561 | PyObject * _resultobj; | |
1562 | wxPyShapeEvtHandler * _arg0; | |
1563 | wxDC * _arg1; | |
1564 | PyObject * _argo0 = 0; | |
1565 | PyObject * _argo1 = 0; | |
1566 | char *_kwnames[] = { "self","dc", NULL }; | |
1567 | ||
1568 | self = self; | |
1569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1570 | return NULL; | |
1571 | if (_argo0) { | |
1572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p."); | |
1575 | return NULL; | |
1576 | } | |
1577 | } | |
1578 | if (_argo1) { | |
1579 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1580 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p."); | |
1582 | return NULL; | |
1583 | } | |
1584 | } | |
1585 | { | |
1586 | wxPy_BEGIN_ALLOW_THREADS; | |
1587 | wxPyShapeEvtHandler_base_OnMoveLinks(_arg0,*_arg1); | |
1588 | ||
1589 | wxPy_END_ALLOW_THREADS; | |
1590 | } Py_INCREF(Py_None); | |
1591 | _resultobj = Py_None; | |
1592 | return _resultobj; | |
1593 | } | |
1594 | ||
1595 | #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1596 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1597 | PyObject * _resultobj; | |
1598 | wxPyShapeEvtHandler * _arg0; | |
1599 | wxDC * _arg1; | |
1600 | PyObject * _argo0 = 0; | |
1601 | PyObject * _argo1 = 0; | |
1602 | char *_kwnames[] = { "self","dc", NULL }; | |
1603 | ||
1604 | self = self; | |
1605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1606 | return NULL; | |
1607 | if (_argo0) { | |
1608 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1609 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p."); | |
1611 | return NULL; | |
1612 | } | |
1613 | } | |
1614 | if (_argo1) { | |
1615 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1616 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p."); | |
1618 | return NULL; | |
1619 | } | |
1620 | } | |
1621 | { | |
1622 | wxPy_BEGIN_ALLOW_THREADS; | |
1623 | wxPyShapeEvtHandler_base_OnErase(_arg0,*_arg1); | |
1624 | ||
1625 | wxPy_END_ALLOW_THREADS; | |
1626 | } Py_INCREF(Py_None); | |
1627 | _resultobj = Py_None; | |
1628 | return _resultobj; | |
1629 | } | |
1630 | ||
1631 | #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1632 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1633 | PyObject * _resultobj; | |
1634 | wxPyShapeEvtHandler * _arg0; | |
1635 | wxDC * _arg1; | |
1636 | PyObject * _argo0 = 0; | |
1637 | PyObject * _argo1 = 0; | |
1638 | char *_kwnames[] = { "self","dc", NULL }; | |
1639 | ||
1640 | self = self; | |
1641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1642 | return NULL; | |
1643 | if (_argo0) { | |
1644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p."); | |
1647 | return NULL; | |
1648 | } | |
1649 | } | |
1650 | if (_argo1) { | |
1651 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1652 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p."); | |
1654 | return NULL; | |
1655 | } | |
1656 | } | |
1657 | { | |
1658 | wxPy_BEGIN_ALLOW_THREADS; | |
1659 | wxPyShapeEvtHandler_base_OnEraseContents(_arg0,*_arg1); | |
1660 | ||
1661 | wxPy_END_ALLOW_THREADS; | |
1662 | } Py_INCREF(Py_None); | |
1663 | _resultobj = Py_None; | |
1664 | return _resultobj; | |
1665 | } | |
1666 | ||
1667 | #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
1668 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1669 | PyObject * _resultobj; | |
1670 | wxPyShapeEvtHandler * _arg0; | |
1671 | wxDC * _arg1; | |
1672 | PyObject * _argo0 = 0; | |
1673 | PyObject * _argo1 = 0; | |
1674 | char *_kwnames[] = { "self","dc", NULL }; | |
1675 | ||
1676 | self = self; | |
1677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
1678 | return NULL; | |
1679 | if (_argo0) { | |
1680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p."); | |
1683 | return NULL; | |
1684 | } | |
1685 | } | |
1686 | if (_argo1) { | |
1687 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1688 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p."); | |
1690 | return NULL; | |
1691 | } | |
1692 | } | |
1693 | { | |
1694 | wxPy_BEGIN_ALLOW_THREADS; | |
1695 | wxPyShapeEvtHandler_base_OnHighlight(_arg0,*_arg1); | |
1696 | ||
1697 | wxPy_END_ALLOW_THREADS; | |
1698 | } Py_INCREF(Py_None); | |
1699 | _resultobj = Py_None; | |
1700 | return _resultobj; | |
1701 | } | |
1702 | ||
1703 | #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1704 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1705 | PyObject * _resultobj; | |
1706 | wxPyShapeEvtHandler * _arg0; | |
1707 | double _arg1; | |
1708 | double _arg2; | |
1709 | int _arg3 = (int ) 0; | |
1710 | int _arg4 = (int ) 0; | |
1711 | PyObject * _argo0 = 0; | |
1712 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1713 | ||
1714 | self = self; | |
1715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1716 | return NULL; | |
1717 | if (_argo0) { | |
1718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p."); | |
1721 | return NULL; | |
1722 | } | |
1723 | } | |
1724 | { | |
1725 | wxPy_BEGIN_ALLOW_THREADS; | |
1726 | wxPyShapeEvtHandler_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1727 | ||
1728 | wxPy_END_ALLOW_THREADS; | |
1729 | } Py_INCREF(Py_None); | |
1730 | _resultobj = Py_None; | |
1731 | return _resultobj; | |
1732 | } | |
1733 | ||
1734 | #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1735 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1736 | PyObject * _resultobj; | |
1737 | wxPyShapeEvtHandler * _arg0; | |
1738 | double _arg1; | |
1739 | double _arg2; | |
1740 | int _arg3 = (int ) 0; | |
1741 | int _arg4 = (int ) 0; | |
1742 | PyObject * _argo0 = 0; | |
1743 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1744 | ||
1745 | self = self; | |
1746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1747 | return NULL; | |
1748 | if (_argo0) { | |
1749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p."); | |
1752 | return NULL; | |
1753 | } | |
1754 | } | |
1755 | { | |
1756 | wxPy_BEGIN_ALLOW_THREADS; | |
1757 | wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1758 | ||
1759 | wxPy_END_ALLOW_THREADS; | |
1760 | } Py_INCREF(Py_None); | |
1761 | _resultobj = Py_None; | |
1762 | return _resultobj; | |
1763 | } | |
1764 | ||
1765 | #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1766 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1767 | PyObject * _resultobj; | |
1768 | wxPyShapeEvtHandler * _arg0; | |
1769 | double _arg1; | |
1770 | double _arg2; | |
1771 | int _arg3 = (int ) 0; | |
1772 | int _arg4 = (int ) 0; | |
1773 | PyObject * _argo0 = 0; | |
1774 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1775 | ||
1776 | self = self; | |
1777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1778 | return NULL; | |
1779 | if (_argo0) { | |
1780 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1781 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p."); | |
1783 | return NULL; | |
1784 | } | |
1785 | } | |
1786 | { | |
1787 | wxPy_BEGIN_ALLOW_THREADS; | |
1788 | wxPyShapeEvtHandler_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1789 | ||
1790 | wxPy_END_ALLOW_THREADS; | |
1791 | } Py_INCREF(Py_None); | |
1792 | _resultobj = Py_None; | |
1793 | return _resultobj; | |
1794 | } | |
1795 | ||
1796 | #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
1797 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1798 | PyObject * _resultobj; | |
1799 | wxPyShapeEvtHandler * _arg0; | |
1800 | double _arg1; | |
1801 | double _arg2; | |
1802 | PyObject * _argo0 = 0; | |
1803 | char *_kwnames[] = { "self","x","y", NULL }; | |
1804 | ||
1805 | self = self; | |
1806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1807 | return NULL; | |
1808 | if (_argo0) { | |
1809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p."); | |
1812 | return NULL; | |
1813 | } | |
1814 | } | |
1815 | { | |
1816 | wxPy_BEGIN_ALLOW_THREADS; | |
1817 | wxPyShapeEvtHandler_base_OnSize(_arg0,_arg1,_arg2); | |
1818 | ||
1819 | wxPy_END_ALLOW_THREADS; | |
1820 | } Py_INCREF(Py_None); | |
1821 | _resultobj = Py_None; | |
1822 | return _resultobj; | |
1823 | } | |
1824 | ||
1825 | #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1826 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1827 | PyObject * _resultobj; | |
1828 | bool _result; | |
1829 | wxPyShapeEvtHandler * _arg0; | |
1830 | wxDC * _arg1; | |
1831 | double _arg2; | |
1832 | double _arg3; | |
1833 | double _arg4; | |
1834 | double _arg5; | |
1835 | bool _arg6 = (bool ) TRUE; | |
1836 | PyObject * _argo0 = 0; | |
1837 | PyObject * _argo1 = 0; | |
1838 | int tempbool6 = (int) TRUE; | |
1839 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1840 | ||
1841 | self = self; | |
1842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1843 | return NULL; | |
1844 | if (_argo0) { | |
1845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p."); | |
1848 | return NULL; | |
1849 | } | |
1850 | } | |
1851 | if (_argo1) { | |
1852 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1853 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p."); | |
1855 | return NULL; | |
1856 | } | |
1857 | } | |
1858 | _arg6 = (bool ) tempbool6; | |
1859 | { | |
1860 | wxPy_BEGIN_ALLOW_THREADS; | |
1861 | _result = (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1862 | ||
1863 | wxPy_END_ALLOW_THREADS; | |
1864 | } _resultobj = Py_BuildValue("i",_result); | |
1865 | return _resultobj; | |
1866 | } | |
1867 | ||
1868 | #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1869 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1870 | PyObject * _resultobj; | |
1871 | wxPyShapeEvtHandler * _arg0; | |
1872 | wxDC * _arg1; | |
1873 | double _arg2; | |
1874 | double _arg3; | |
1875 | double _arg4; | |
1876 | double _arg5; | |
1877 | bool _arg6 = (bool ) TRUE; | |
1878 | PyObject * _argo0 = 0; | |
1879 | PyObject * _argo1 = 0; | |
1880 | int tempbool6 = (int) TRUE; | |
1881 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1882 | ||
1883 | self = self; | |
1884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1885 | return NULL; | |
1886 | if (_argo0) { | |
1887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p."); | |
1890 | return NULL; | |
1891 | } | |
1892 | } | |
1893 | if (_argo1) { | |
1894 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1895 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p."); | |
1897 | return NULL; | |
1898 | } | |
1899 | } | |
1900 | _arg6 = (bool ) tempbool6; | |
1901 | { | |
1902 | wxPy_BEGIN_ALLOW_THREADS; | |
1903 | wxPyShapeEvtHandler_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1904 | ||
1905 | wxPy_END_ALLOW_THREADS; | |
1906 | } Py_INCREF(Py_None); | |
1907 | _resultobj = Py_None; | |
1908 | return _resultobj; | |
1909 | } | |
1910 | ||
1911 | #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1912 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1913 | PyObject * _resultobj; | |
1914 | wxPyShapeEvtHandler * _arg0; | |
1915 | bool _arg1; | |
1916 | double _arg2; | |
1917 | double _arg3; | |
1918 | int _arg4 = (int ) 0; | |
1919 | int _arg5 = (int ) 0; | |
1920 | PyObject * _argo0 = 0; | |
1921 | int tempbool1; | |
1922 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1923 | ||
1924 | self = self; | |
1925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1926 | return NULL; | |
1927 | if (_argo0) { | |
1928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1931 | return NULL; | |
1932 | } | |
1933 | } | |
1934 | _arg1 = (bool ) tempbool1; | |
1935 | { | |
1936 | wxPy_BEGIN_ALLOW_THREADS; | |
1937 | wxPyShapeEvtHandler_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1938 | ||
1939 | wxPy_END_ALLOW_THREADS; | |
1940 | } Py_INCREF(Py_None); | |
1941 | _resultobj = Py_None; | |
1942 | return _resultobj; | |
1943 | } | |
1944 | ||
1945 | #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1946 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1947 | PyObject * _resultobj; | |
1948 | wxPyShapeEvtHandler * _arg0; | |
1949 | double _arg1; | |
1950 | double _arg2; | |
1951 | int _arg3 = (int ) 0; | |
1952 | int _arg4 = (int ) 0; | |
1953 | PyObject * _argo0 = 0; | |
1954 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1955 | ||
1956 | self = self; | |
1957 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1958 | return NULL; | |
1959 | if (_argo0) { | |
1960 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1961 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1962 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1963 | return NULL; | |
1964 | } | |
1965 | } | |
1966 | { | |
1967 | wxPy_BEGIN_ALLOW_THREADS; | |
1968 | wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1969 | ||
1970 | wxPy_END_ALLOW_THREADS; | |
1971 | } Py_INCREF(Py_None); | |
1972 | _resultobj = Py_None; | |
1973 | return _resultobj; | |
1974 | } | |
1975 | ||
1976 | #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1977 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1978 | PyObject * _resultobj; | |
1979 | wxPyShapeEvtHandler * _arg0; | |
1980 | double _arg1; | |
1981 | double _arg2; | |
1982 | int _arg3 = (int ) 0; | |
1983 | int _arg4 = (int ) 0; | |
1984 | PyObject * _argo0 = 0; | |
1985 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1986 | ||
1987 | self = self; | |
1988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1989 | return NULL; | |
1990 | if (_argo0) { | |
1991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1994 | return NULL; | |
1995 | } | |
1996 | } | |
1997 | { | |
1998 | wxPy_BEGIN_ALLOW_THREADS; | |
1999 | wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2000 | ||
2001 | wxPy_END_ALLOW_THREADS; | |
2002 | } Py_INCREF(Py_None); | |
2003 | _resultobj = Py_None; | |
2004 | return _resultobj; | |
2005 | } | |
2006 | ||
2007 | #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2008 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2009 | PyObject * _resultobj; | |
2010 | wxPyShapeEvtHandler * _arg0; | |
2011 | bool _arg1; | |
2012 | double _arg2; | |
2013 | double _arg3; | |
2014 | int _arg4 = (int ) 0; | |
2015 | int _arg5 = (int ) 0; | |
2016 | PyObject * _argo0 = 0; | |
2017 | int tempbool1; | |
2018 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2019 | ||
2020 | self = self; | |
2021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2022 | return NULL; | |
2023 | if (_argo0) { | |
2024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2027 | return NULL; | |
2028 | } | |
2029 | } | |
2030 | _arg1 = (bool ) tempbool1; | |
2031 | { | |
2032 | wxPy_BEGIN_ALLOW_THREADS; | |
2033 | wxPyShapeEvtHandler_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2034 | ||
2035 | wxPy_END_ALLOW_THREADS; | |
2036 | } Py_INCREF(Py_None); | |
2037 | _resultobj = Py_None; | |
2038 | return _resultobj; | |
2039 | } | |
2040 | ||
2041 | #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2042 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2043 | PyObject * _resultobj; | |
2044 | wxPyShapeEvtHandler * _arg0; | |
2045 | double _arg1; | |
2046 | double _arg2; | |
2047 | int _arg3 = (int ) 0; | |
2048 | int _arg4 = (int ) 0; | |
2049 | PyObject * _argo0 = 0; | |
2050 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2051 | ||
2052 | self = self; | |
2053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2054 | return NULL; | |
2055 | if (_argo0) { | |
2056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2059 | return NULL; | |
2060 | } | |
2061 | } | |
2062 | { | |
2063 | wxPy_BEGIN_ALLOW_THREADS; | |
2064 | wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2065 | ||
2066 | wxPy_END_ALLOW_THREADS; | |
2067 | } Py_INCREF(Py_None); | |
2068 | _resultobj = Py_None; | |
2069 | return _resultobj; | |
2070 | } | |
2071 | ||
2072 | #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2073 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2074 | PyObject * _resultobj; | |
2075 | wxPyShapeEvtHandler * _arg0; | |
2076 | double _arg1; | |
2077 | double _arg2; | |
2078 | int _arg3 = (int ) 0; | |
2079 | int _arg4 = (int ) 0; | |
2080 | PyObject * _argo0 = 0; | |
2081 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2082 | ||
2083 | self = self; | |
2084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2085 | return NULL; | |
2086 | if (_argo0) { | |
2087 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2088 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2090 | return NULL; | |
2091 | } | |
2092 | } | |
2093 | { | |
2094 | wxPy_BEGIN_ALLOW_THREADS; | |
2095 | wxPyShapeEvtHandler_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2096 | ||
2097 | wxPy_END_ALLOW_THREADS; | |
2098 | } Py_INCREF(Py_None); | |
2099 | _resultobj = Py_None; | |
2100 | return _resultobj; | |
2101 | } | |
2102 | ||
2103 | #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2104 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2105 | PyObject * _resultobj; | |
2106 | wxPyShapeEvtHandler * _arg0; | |
2107 | wxDC * _arg1; | |
2108 | double _arg2; | |
2109 | double _arg3; | |
2110 | double _arg4; | |
2111 | double _arg5; | |
2112 | PyObject * _argo0 = 0; | |
2113 | PyObject * _argo1 = 0; | |
2114 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2115 | ||
2116 | self = self; | |
2117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2118 | return NULL; | |
2119 | if (_argo0) { | |
2120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p."); | |
2123 | return NULL; | |
2124 | } | |
2125 | } | |
2126 | if (_argo1) { | |
2127 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2128 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p."); | |
2130 | return NULL; | |
2131 | } | |
2132 | } | |
2133 | { | |
2134 | wxPy_BEGIN_ALLOW_THREADS; | |
2135 | wxPyShapeEvtHandler_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2136 | ||
2137 | wxPy_END_ALLOW_THREADS; | |
2138 | } Py_INCREF(Py_None); | |
2139 | _resultobj = Py_None; | |
2140 | return _resultobj; | |
2141 | } | |
2142 | ||
2143 | #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2144 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2145 | PyObject * _resultobj; | |
2146 | wxPyShapeEvtHandler * _arg0; | |
2147 | wxDC * _arg1; | |
2148 | PyObject * _argo0 = 0; | |
2149 | PyObject * _argo1 = 0; | |
2150 | char *_kwnames[] = { "self","dc", NULL }; | |
2151 | ||
2152 | self = self; | |
2153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2154 | return NULL; | |
2155 | if (_argo0) { | |
2156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p."); | |
2159 | return NULL; | |
2160 | } | |
2161 | } | |
2162 | if (_argo1) { | |
2163 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2164 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2166 | return NULL; | |
2167 | } | |
2168 | } | |
2169 | { | |
2170 | wxPy_BEGIN_ALLOW_THREADS; | |
2171 | wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0,*_arg1); | |
2172 | ||
2173 | wxPy_END_ALLOW_THREADS; | |
2174 | } Py_INCREF(Py_None); | |
2175 | _resultobj = Py_None; | |
2176 | return _resultobj; | |
2177 | } | |
2178 | ||
2179 | #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2180 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2181 | PyObject * _resultobj; | |
2182 | wxPyShapeEvtHandler * _arg0; | |
2183 | wxDC * _arg1; | |
2184 | PyObject * _argo0 = 0; | |
2185 | PyObject * _argo1 = 0; | |
2186 | char *_kwnames[] = { "self","dc", NULL }; | |
2187 | ||
2188 | self = self; | |
2189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2190 | return NULL; | |
2191 | if (_argo0) { | |
2192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p."); | |
2195 | return NULL; | |
2196 | } | |
2197 | } | |
2198 | if (_argo1) { | |
2199 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2200 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2202 | return NULL; | |
2203 | } | |
2204 | } | |
2205 | { | |
2206 | wxPy_BEGIN_ALLOW_THREADS; | |
2207 | wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0,*_arg1); | |
2208 | ||
2209 | wxPy_END_ALLOW_THREADS; | |
2210 | } Py_INCREF(Py_None); | |
2211 | _resultobj = Py_None; | |
2212 | return _resultobj; | |
2213 | } | |
2214 | ||
2215 | #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2216 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2217 | PyObject * _resultobj; | |
2218 | wxPyShapeEvtHandler * _arg0; | |
2219 | wxDC * _arg1; | |
2220 | bool _arg2 = (bool ) TRUE; | |
2221 | PyObject * _argo0 = 0; | |
2222 | PyObject * _argo1 = 0; | |
2223 | int tempbool2 = (int) TRUE; | |
2224 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2225 | ||
2226 | self = self; | |
2227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2228 | return NULL; | |
2229 | if (_argo0) { | |
2230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p."); | |
2233 | return NULL; | |
2234 | } | |
2235 | } | |
2236 | if (_argo1) { | |
2237 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2238 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p."); | |
2240 | return NULL; | |
2241 | } | |
2242 | } | |
2243 | _arg2 = (bool ) tempbool2; | |
2244 | { | |
2245 | wxPy_BEGIN_ALLOW_THREADS; | |
2246 | wxPyShapeEvtHandler_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2247 | ||
2248 | wxPy_END_ALLOW_THREADS; | |
2249 | } Py_INCREF(Py_None); | |
2250 | _resultobj = Py_None; | |
2251 | return _resultobj; | |
2252 | } | |
2253 | ||
2254 | #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2255 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2256 | PyObject * _resultobj; | |
2257 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2258 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2259 | bool _arg2; |
2260 | double _arg3; | |
2261 | double _arg4; | |
2262 | int _arg5 = (int ) 0; | |
2263 | int _arg6 = (int ) 0; | |
2264 | PyObject * _argo0 = 0; | |
2265 | PyObject * _argo1 = 0; | |
2266 | int tempbool2; | |
2267 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2268 | ||
2269 | self = self; | |
2270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2271 | return NULL; | |
2272 | if (_argo0) { | |
2273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2276 | return NULL; | |
2277 | } | |
2278 | } | |
2279 | if (_argo1) { | |
2280 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2281 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2283 | return NULL; |
2284 | } | |
2285 | } | |
2286 | _arg2 = (bool ) tempbool2; | |
2287 | { | |
2288 | wxPy_BEGIN_ALLOW_THREADS; | |
2289 | wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2290 | ||
2291 | wxPy_END_ALLOW_THREADS; | |
2292 | } Py_INCREF(Py_None); | |
2293 | _resultobj = Py_None; | |
2294 | return _resultobj; | |
2295 | } | |
2296 | ||
2297 | #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2298 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2299 | PyObject * _resultobj; | |
2300 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2301 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2302 | double _arg2; |
2303 | double _arg3; | |
2304 | int _arg4 = (int ) 0; | |
2305 | int _arg5 = (int ) 0; | |
2306 | PyObject * _argo0 = 0; | |
2307 | PyObject * _argo1 = 0; | |
2308 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2309 | ||
2310 | self = self; | |
2311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2312 | return NULL; | |
2313 | if (_argo0) { | |
2314 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2315 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2317 | return NULL; | |
2318 | } | |
2319 | } | |
2320 | if (_argo1) { | |
2321 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2322 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2324 | return NULL; |
2325 | } | |
2326 | } | |
2327 | { | |
2328 | wxPy_BEGIN_ALLOW_THREADS; | |
2329 | wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2330 | ||
2331 | wxPy_END_ALLOW_THREADS; | |
2332 | } Py_INCREF(Py_None); | |
2333 | _resultobj = Py_None; | |
2334 | return _resultobj; | |
2335 | } | |
2336 | ||
2337 | #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2338 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2339 | PyObject * _resultobj; | |
2340 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2341 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2342 | double _arg2; |
2343 | double _arg3; | |
2344 | int _arg4 = (int ) 0; | |
2345 | int _arg5 = (int ) 0; | |
2346 | PyObject * _argo0 = 0; | |
2347 | PyObject * _argo1 = 0; | |
2348 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2349 | ||
2350 | self = self; | |
2351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2352 | return NULL; | |
2353 | if (_argo0) { | |
2354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2357 | return NULL; | |
2358 | } | |
2359 | } | |
2360 | if (_argo1) { | |
2361 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2362 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2364 | return NULL; |
2365 | } | |
2366 | } | |
2367 | { | |
2368 | wxPy_BEGIN_ALLOW_THREADS; | |
2369 | wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2370 | ||
2371 | wxPy_END_ALLOW_THREADS; | |
2372 | } Py_INCREF(Py_None); | |
2373 | _resultobj = Py_None; | |
2374 | return _resultobj; | |
2375 | } | |
2376 | ||
2377 | #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2378 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2379 | PyObject * _resultobj; | |
2380 | wxPyShapeEvtHandler * _arg0; | |
2381 | double _arg1; | |
2382 | double _arg2; | |
2383 | PyObject * _argo0 = 0; | |
2384 | char *_kwnames[] = { "self","w","h", NULL }; | |
2385 | ||
2386 | self = self; | |
2387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2388 | return NULL; | |
2389 | if (_argo0) { | |
2390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p."); | |
2393 | return NULL; | |
2394 | } | |
2395 | } | |
2396 | { | |
2397 | wxPy_BEGIN_ALLOW_THREADS; | |
2398 | wxPyShapeEvtHandler_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2399 | ||
2400 | wxPy_END_ALLOW_THREADS; | |
2401 | } Py_INCREF(Py_None); | |
2402 | _resultobj = Py_None; | |
2403 | return _resultobj; | |
2404 | } | |
2405 | ||
2406 | #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2407 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2408 | PyObject * _resultobj; | |
2409 | wxPyShapeEvtHandler * _arg0; | |
2410 | double _arg1; | |
2411 | double _arg2; | |
2412 | PyObject * _argo0 = 0; | |
2413 | char *_kwnames[] = { "self","w","h", NULL }; | |
2414 | ||
2415 | self = self; | |
2416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2417 | return NULL; | |
2418 | if (_argo0) { | |
2419 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2420 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2421 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p."); | |
2422 | return NULL; | |
2423 | } | |
2424 | } | |
2425 | { | |
2426 | wxPy_BEGIN_ALLOW_THREADS; | |
2427 | wxPyShapeEvtHandler_base_OnEndSize(_arg0,_arg1,_arg2); | |
2428 | ||
2429 | wxPy_END_ALLOW_THREADS; | |
2430 | } Py_INCREF(Py_None); | |
2431 | _resultobj = Py_None; | |
2432 | return _resultobj; | |
2433 | } | |
2434 | ||
2435 | static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr) { | |
2436 | wxPyShape *src; | |
2437 | wxPyShapeEvtHandler *dest; | |
2438 | src = (wxPyShape *) ptr; | |
2439 | dest = (wxPyShapeEvtHandler *) src; | |
2440 | return (void *) dest; | |
2441 | } | |
2442 | ||
f6bcfd97 | 2443 | #define wxPyShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
2444 | static PyObject *_wrap_wxPyShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
2445 | PyObject * _resultobj; | |
2446 | wxPyShape * _arg0; | |
2447 | PyObject * _arg1; | |
f6bcfd97 | 2448 | PyObject * _arg2; |
e91a9dfc RD |
2449 | PyObject * _argo0 = 0; |
2450 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2451 | PyObject * _obj2 = 0; |
2452 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2453 | |
2454 | self = self; | |
f6bcfd97 | 2455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2456 | return NULL; |
2457 | if (_argo0) { | |
2458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p."); | |
2461 | return NULL; | |
2462 | } | |
2463 | } | |
2464 | { | |
2465 | _arg1 = _obj1; | |
2466 | } | |
f6bcfd97 BP |
2467 | { |
2468 | _arg2 = _obj2; | |
2469 | } | |
e91a9dfc RD |
2470 | { |
2471 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2472 | wxPyShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2473 | |
2474 | wxPy_END_ALLOW_THREADS; | |
2475 | } Py_INCREF(Py_None); | |
2476 | _resultobj = Py_None; | |
2477 | return _resultobj; | |
2478 | } | |
2479 | ||
2480 | static void wxPyShape_Destroy(wxPyShape *self) { delete self; } | |
2481 | static PyObject *_wrap_wxPyShape_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2482 | PyObject * _resultobj; | |
2483 | wxPyShape * _arg0; | |
2484 | PyObject * _argo0 = 0; | |
2485 | char *_kwnames[] = { "self", NULL }; | |
2486 | ||
2487 | self = self; | |
2488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Destroy",_kwnames,&_argo0)) | |
2489 | return NULL; | |
2490 | if (_argo0) { | |
2491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p."); | |
2494 | return NULL; | |
2495 | } | |
2496 | } | |
2497 | { | |
2498 | wxPy_BEGIN_ALLOW_THREADS; | |
2499 | wxPyShape_Destroy(_arg0); | |
2500 | ||
2501 | wxPy_END_ALLOW_THREADS; | |
2502 | } Py_INCREF(Py_None); | |
2503 | _resultobj = Py_None; | |
2504 | return _resultobj; | |
2505 | } | |
2506 | ||
2507 | #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1)) | |
2508 | static PyObject *_wrap_wxPyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2509 | PyObject * _resultobj; | |
2510 | wxPyShape * _arg0; | |
2511 | double * _arg1; | |
2512 | double temp; | |
2513 | double * _arg2; | |
2514 | double temp0; | |
2515 | PyObject * _argo0 = 0; | |
2516 | char *_kwnames[] = { "self", NULL }; | |
2517 | ||
2518 | self = self; | |
2519 | { | |
2520 | _arg1 = &temp; | |
2521 | } | |
2522 | { | |
2523 | _arg2 = &temp0; | |
2524 | } | |
2525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMax",_kwnames,&_argo0)) | |
2526 | return NULL; | |
2527 | if (_argo0) { | |
2528 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2529 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2530 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p."); | |
2531 | return NULL; | |
2532 | } | |
2533 | } | |
2534 | { | |
2535 | wxPy_BEGIN_ALLOW_THREADS; | |
2536 | wxPyShape_GetBoundingBoxMax(_arg0,_arg1,_arg2); | |
2537 | ||
2538 | wxPy_END_ALLOW_THREADS; | |
2539 | } Py_INCREF(Py_None); | |
2540 | _resultobj = Py_None; | |
2541 | { | |
2542 | PyObject *o; | |
2543 | o = PyFloat_FromDouble((double) (*_arg1)); | |
2544 | _resultobj = t_output_helper(_resultobj, o); | |
2545 | } | |
2546 | { | |
2547 | PyObject *o; | |
2548 | o = PyFloat_FromDouble((double) (*_arg2)); | |
2549 | _resultobj = t_output_helper(_resultobj, o); | |
2550 | } | |
2551 | return _resultobj; | |
2552 | } | |
2553 | ||
2554 | #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1)) | |
2555 | static PyObject *_wrap_wxPyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2556 | PyObject * _resultobj; | |
2557 | wxPyShape * _arg0; | |
2558 | double * _arg1; | |
2559 | double temp; | |
2560 | double * _arg2; | |
2561 | double temp0; | |
2562 | PyObject * _argo0 = 0; | |
2563 | char *_kwnames[] = { "self", NULL }; | |
2564 | ||
2565 | self = self; | |
2566 | { | |
2567 | _arg1 = &temp; | |
2568 | } | |
2569 | { | |
2570 | _arg2 = &temp0; | |
2571 | } | |
2572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMin",_kwnames,&_argo0)) | |
2573 | return NULL; | |
2574 | if (_argo0) { | |
2575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p."); | |
2578 | return NULL; | |
2579 | } | |
2580 | } | |
2581 | { | |
2582 | wxPy_BEGIN_ALLOW_THREADS; | |
2583 | wxPyShape_GetBoundingBoxMin(_arg0,_arg1,_arg2); | |
2584 | ||
2585 | wxPy_END_ALLOW_THREADS; | |
2586 | } Py_INCREF(Py_None); | |
2587 | _resultobj = Py_None; | |
2588 | { | |
2589 | PyObject *o; | |
2590 | o = PyFloat_FromDouble((double) (*_arg1)); | |
2591 | _resultobj = t_output_helper(_resultobj, o); | |
2592 | } | |
2593 | { | |
2594 | PyObject *o; | |
2595 | o = PyFloat_FromDouble((double) (*_arg2)); | |
2596 | _resultobj = t_output_helper(_resultobj, o); | |
2597 | } | |
2598 | return _resultobj; | |
2599 | } | |
2600 | ||
2601 | #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2602 | static PyObject *_wrap_wxPyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2603 | PyObject * _resultobj; | |
2604 | bool _result; | |
2605 | wxPyShape * _arg0; | |
2606 | double _arg1; | |
2607 | double _arg2; | |
2608 | double _arg3; | |
2609 | double _arg4; | |
2610 | double * _arg5; | |
2611 | double temp; | |
2612 | double * _arg6; | |
2613 | double temp0; | |
2614 | PyObject * _argo0 = 0; | |
2615 | char *_kwnames[] = { "self","x1","y1","x2","y2", NULL }; | |
2616 | ||
2617 | self = self; | |
2618 | { | |
2619 | _arg5 = &temp; | |
2620 | } | |
2621 | { | |
2622 | _arg6 = &temp0; | |
2623 | } | |
2624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2625 | return NULL; | |
2626 | if (_argo0) { | |
2627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p."); | |
2630 | return NULL; | |
2631 | } | |
2632 | } | |
2633 | { | |
2634 | wxPy_BEGIN_ALLOW_THREADS; | |
2635 | _result = (bool )wxPyShape_GetPerimeterPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2636 | ||
2637 | wxPy_END_ALLOW_THREADS; | |
2638 | } _resultobj = Py_BuildValue("i",_result); | |
2639 | { | |
2640 | PyObject *o; | |
2641 | o = PyFloat_FromDouble((double) (*_arg5)); | |
2642 | _resultobj = t_output_helper(_resultobj, o); | |
2643 | } | |
2644 | { | |
2645 | PyObject *o; | |
2646 | o = PyFloat_FromDouble((double) (*_arg6)); | |
2647 | _resultobj = t_output_helper(_resultobj, o); | |
2648 | } | |
2649 | return _resultobj; | |
2650 | } | |
2651 | ||
2652 | #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas()) | |
2653 | static PyObject *_wrap_wxPyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2654 | PyObject * _resultobj; | |
2655 | wxPyShapeCanvas * _result; | |
2656 | wxPyShape * _arg0; | |
2657 | PyObject * _argo0 = 0; | |
2658 | char *_kwnames[] = { "self", NULL }; | |
2659 | char _ptemp[128]; | |
2660 | ||
2661 | self = self; | |
2662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCanvas",_kwnames,&_argo0)) | |
2663 | return NULL; | |
2664 | if (_argo0) { | |
2665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p."); | |
2668 | return NULL; | |
2669 | } | |
2670 | } | |
2671 | { | |
2672 | wxPy_BEGIN_ALLOW_THREADS; | |
2673 | _result = (wxPyShapeCanvas *)wxPyShape_GetCanvas(_arg0); | |
2674 | ||
2675 | wxPy_END_ALLOW_THREADS; | |
2676 | } if (_result) { | |
2677 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeCanvas_p"); | |
2678 | _resultobj = Py_BuildValue("s",_ptemp); | |
2679 | } else { | |
2680 | Py_INCREF(Py_None); | |
2681 | _resultobj = Py_None; | |
2682 | } | |
2683 | return _resultobj; | |
2684 | } | |
2685 | ||
2686 | #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0)) | |
2687 | static PyObject *_wrap_wxPyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2688 | PyObject * _resultobj; | |
2689 | wxPyShape * _arg0; | |
2690 | wxPyShapeCanvas * _arg1; | |
2691 | PyObject * _argo0 = 0; | |
2692 | PyObject * _argo1 = 0; | |
2693 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2694 | ||
2695 | self = self; | |
2696 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetCanvas",_kwnames,&_argo0,&_argo1)) | |
2697 | return NULL; | |
2698 | if (_argo0) { | |
2699 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2700 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2701 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p."); | |
2702 | return NULL; | |
2703 | } | |
2704 | } | |
2705 | if (_argo1) { | |
2706 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2707 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p."); | |
2709 | return NULL; | |
2710 | } | |
2711 | } | |
2712 | { | |
2713 | wxPy_BEGIN_ALLOW_THREADS; | |
2714 | wxPyShape_SetCanvas(_arg0,_arg1); | |
2715 | ||
2716 | wxPy_END_ALLOW_THREADS; | |
2717 | } Py_INCREF(Py_None); | |
2718 | _resultobj = Py_None; | |
2719 | return _resultobj; | |
2720 | } | |
2721 | ||
2722 | #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1)) | |
2723 | static PyObject *_wrap_wxPyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2724 | PyObject * _resultobj; | |
2725 | wxPyShape * _arg0; | |
2726 | wxPyShapeCanvas * _arg1; | |
2727 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
2728 | PyObject * _argo0 = 0; | |
2729 | PyObject * _argo1 = 0; | |
2730 | PyObject * _argo2 = 0; | |
2731 | char *_kwnames[] = { "self","the_canvas","addAfter", NULL }; | |
2732 | ||
2733 | self = self; | |
2734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyShape_AddToCanvas",_kwnames,&_argo0,&_argo1,&_argo2)) | |
2735 | return NULL; | |
2736 | if (_argo0) { | |
2737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p."); | |
2740 | return NULL; | |
2741 | } | |
2742 | } | |
2743 | if (_argo1) { | |
2744 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2745 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p."); | |
2747 | return NULL; | |
2748 | } | |
2749 | } | |
2750 | if (_argo2) { | |
2751 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2752 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
2753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p."); | |
2754 | return NULL; | |
2755 | } | |
2756 | } | |
2757 | { | |
2758 | wxPy_BEGIN_ALLOW_THREADS; | |
2759 | wxPyShape_AddToCanvas(_arg0,_arg1,_arg2); | |
2760 | ||
2761 | wxPy_END_ALLOW_THREADS; | |
2762 | } Py_INCREF(Py_None); | |
2763 | _resultobj = Py_None; | |
2764 | return _resultobj; | |
2765 | } | |
2766 | ||
2767 | #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0)) | |
2768 | static PyObject *_wrap_wxPyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2769 | PyObject * _resultobj; | |
2770 | wxPyShape * _arg0; | |
2771 | wxPyShapeCanvas * _arg1; | |
2772 | PyObject * _argo0 = 0; | |
2773 | PyObject * _argo1 = 0; | |
2774 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2775 | ||
2776 | self = self; | |
2777 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_InsertInCanvas",_kwnames,&_argo0,&_argo1)) | |
2778 | return NULL; | |
2779 | if (_argo0) { | |
2780 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2781 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p."); | |
2783 | return NULL; | |
2784 | } | |
2785 | } | |
2786 | if (_argo1) { | |
2787 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2788 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p."); | |
2790 | return NULL; | |
2791 | } | |
2792 | } | |
2793 | { | |
2794 | wxPy_BEGIN_ALLOW_THREADS; | |
2795 | wxPyShape_InsertInCanvas(_arg0,_arg1); | |
2796 | ||
2797 | wxPy_END_ALLOW_THREADS; | |
2798 | } Py_INCREF(Py_None); | |
2799 | _resultobj = Py_None; | |
2800 | return _resultobj; | |
2801 | } | |
2802 | ||
2803 | #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0)) | |
2804 | static PyObject *_wrap_wxPyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2805 | PyObject * _resultobj; | |
2806 | wxPyShape * _arg0; | |
2807 | wxPyShapeCanvas * _arg1; | |
2808 | PyObject * _argo0 = 0; | |
2809 | PyObject * _argo1 = 0; | |
2810 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2811 | ||
2812 | self = self; | |
2813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveFromCanvas",_kwnames,&_argo0,&_argo1)) | |
2814 | return NULL; | |
2815 | if (_argo0) { | |
2816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p."); | |
2819 | return NULL; | |
2820 | } | |
2821 | } | |
2822 | if (_argo1) { | |
2823 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2824 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p."); | |
2826 | return NULL; | |
2827 | } | |
2828 | } | |
2829 | { | |
2830 | wxPy_BEGIN_ALLOW_THREADS; | |
2831 | wxPyShape_RemoveFromCanvas(_arg0,_arg1); | |
2832 | ||
2833 | wxPy_END_ALLOW_THREADS; | |
2834 | } Py_INCREF(Py_None); | |
2835 | _resultobj = Py_None; | |
2836 | return _resultobj; | |
2837 | } | |
2838 | ||
2839 | #define wxPyShape_GetX(_swigobj) (_swigobj->GetX()) | |
2840 | static PyObject *_wrap_wxPyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2841 | PyObject * _resultobj; | |
2842 | double _result; | |
2843 | wxPyShape * _arg0; | |
2844 | PyObject * _argo0 = 0; | |
2845 | char *_kwnames[] = { "self", NULL }; | |
2846 | ||
2847 | self = self; | |
2848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetX",_kwnames,&_argo0)) | |
2849 | return NULL; | |
2850 | if (_argo0) { | |
2851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p."); | |
2854 | return NULL; | |
2855 | } | |
2856 | } | |
2857 | { | |
2858 | wxPy_BEGIN_ALLOW_THREADS; | |
2859 | _result = (double )wxPyShape_GetX(_arg0); | |
2860 | ||
2861 | wxPy_END_ALLOW_THREADS; | |
2862 | } _resultobj = Py_BuildValue("d",_result); | |
2863 | return _resultobj; | |
2864 | } | |
2865 | ||
2866 | #define wxPyShape_GetY(_swigobj) (_swigobj->GetY()) | |
2867 | static PyObject *_wrap_wxPyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2868 | PyObject * _resultobj; | |
2869 | double _result; | |
2870 | wxPyShape * _arg0; | |
2871 | PyObject * _argo0 = 0; | |
2872 | char *_kwnames[] = { "self", NULL }; | |
2873 | ||
2874 | self = self; | |
2875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetY",_kwnames,&_argo0)) | |
2876 | return NULL; | |
2877 | if (_argo0) { | |
2878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p."); | |
2881 | return NULL; | |
2882 | } | |
2883 | } | |
2884 | { | |
2885 | wxPy_BEGIN_ALLOW_THREADS; | |
2886 | _result = (double )wxPyShape_GetY(_arg0); | |
2887 | ||
2888 | wxPy_END_ALLOW_THREADS; | |
2889 | } _resultobj = Py_BuildValue("d",_result); | |
2890 | return _resultobj; | |
2891 | } | |
2892 | ||
2893 | #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
2894 | static PyObject *_wrap_wxPyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2895 | PyObject * _resultobj; | |
2896 | wxPyShape * _arg0; | |
2897 | double _arg1; | |
2898 | PyObject * _argo0 = 0; | |
2899 | char *_kwnames[] = { "self","x", NULL }; | |
2900 | ||
2901 | self = self; | |
2902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetX",_kwnames,&_argo0,&_arg1)) | |
2903 | return NULL; | |
2904 | if (_argo0) { | |
2905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p."); | |
2908 | return NULL; | |
2909 | } | |
2910 | } | |
2911 | { | |
2912 | wxPy_BEGIN_ALLOW_THREADS; | |
2913 | wxPyShape_SetX(_arg0,_arg1); | |
2914 | ||
2915 | wxPy_END_ALLOW_THREADS; | |
2916 | } Py_INCREF(Py_None); | |
2917 | _resultobj = Py_None; | |
2918 | return _resultobj; | |
2919 | } | |
2920 | ||
2921 | #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
2922 | static PyObject *_wrap_wxPyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2923 | PyObject * _resultobj; | |
2924 | wxPyShape * _arg0; | |
2925 | double _arg1; | |
2926 | PyObject * _argo0 = 0; | |
2927 | char *_kwnames[] = { "self","y", NULL }; | |
2928 | ||
2929 | self = self; | |
2930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetY",_kwnames,&_argo0,&_arg1)) | |
2931 | return NULL; | |
2932 | if (_argo0) { | |
2933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p."); | |
2936 | return NULL; | |
2937 | } | |
2938 | } | |
2939 | { | |
2940 | wxPy_BEGIN_ALLOW_THREADS; | |
2941 | wxPyShape_SetY(_arg0,_arg1); | |
2942 | ||
2943 | wxPy_END_ALLOW_THREADS; | |
2944 | } Py_INCREF(Py_None); | |
2945 | _resultobj = Py_None; | |
2946 | return _resultobj; | |
2947 | } | |
2948 | ||
2949 | #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent()) | |
2950 | static PyObject *_wrap_wxPyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2951 | PyObject * _resultobj; | |
2952 | wxPyShape * _result; | |
2953 | wxPyShape * _arg0; | |
2954 | PyObject * _argo0 = 0; | |
2955 | char *_kwnames[] = { "self", NULL }; | |
2956 | char _ptemp[128]; | |
2957 | ||
2958 | self = self; | |
2959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetParent",_kwnames,&_argo0)) | |
2960 | return NULL; | |
2961 | if (_argo0) { | |
2962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p."); | |
2965 | return NULL; | |
2966 | } | |
2967 | } | |
2968 | { | |
2969 | wxPy_BEGIN_ALLOW_THREADS; | |
2970 | _result = (wxPyShape *)wxPyShape_GetParent(_arg0); | |
2971 | ||
2972 | wxPy_END_ALLOW_THREADS; | |
2973 | } if (_result) { | |
2974 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
2975 | _resultobj = Py_BuildValue("s",_ptemp); | |
2976 | } else { | |
2977 | Py_INCREF(Py_None); | |
2978 | _resultobj = Py_None; | |
2979 | } | |
2980 | return _resultobj; | |
2981 | } | |
2982 | ||
2983 | #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0)) | |
2984 | static PyObject *_wrap_wxPyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2985 | PyObject * _resultobj; | |
2986 | wxPyShape * _arg0; | |
2987 | wxPyShape * _arg1; | |
2988 | PyObject * _argo0 = 0; | |
2989 | PyObject * _argo1 = 0; | |
2990 | char *_kwnames[] = { "self","p", NULL }; | |
2991 | ||
2992 | self = self; | |
2993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetParent",_kwnames,&_argo0,&_argo1)) | |
2994 | return NULL; | |
2995 | if (_argo0) { | |
2996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p."); | |
2999 | return NULL; | |
3000 | } | |
3001 | } | |
3002 | if (_argo1) { | |
3003 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3004 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p."); | |
3006 | return NULL; | |
3007 | } | |
3008 | } | |
3009 | { | |
3010 | wxPy_BEGIN_ALLOW_THREADS; | |
3011 | wxPyShape_SetParent(_arg0,_arg1); | |
3012 | ||
3013 | wxPy_END_ALLOW_THREADS; | |
3014 | } Py_INCREF(Py_None); | |
3015 | _resultobj = Py_None; | |
3016 | return _resultobj; | |
3017 | } | |
3018 | ||
3019 | #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor()) | |
3020 | static PyObject *_wrap_wxPyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3021 | PyObject * _resultobj; | |
3022 | wxPyShape * _result; | |
3023 | wxPyShape * _arg0; | |
3024 | PyObject * _argo0 = 0; | |
3025 | char *_kwnames[] = { "self", NULL }; | |
3026 | char _ptemp[128]; | |
3027 | ||
3028 | self = self; | |
3029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetTopAncestor",_kwnames,&_argo0)) | |
3030 | return NULL; | |
3031 | if (_argo0) { | |
3032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p."); | |
3035 | return NULL; | |
3036 | } | |
3037 | } | |
3038 | { | |
3039 | wxPy_BEGIN_ALLOW_THREADS; | |
3040 | _result = (wxPyShape *)wxPyShape_GetTopAncestor(_arg0); | |
3041 | ||
3042 | wxPy_END_ALLOW_THREADS; | |
3043 | } if (_result) { | |
3044 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3045 | _resultobj = Py_BuildValue("s",_ptemp); | |
3046 | } else { | |
3047 | Py_INCREF(Py_None); | |
3048 | _resultobj = Py_None; | |
3049 | } | |
3050 | return _resultobj; | |
3051 | } | |
3052 | ||
3053 | static PyObject * wxPyShape_GetChildren(wxPyShape *self) { | |
3054 | wxList& list = self->GetChildren(); | |
3055 | return wxPy_ConvertList(&list, "wxPyShape"); | |
3056 | } | |
3057 | static PyObject *_wrap_wxPyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3058 | PyObject * _resultobj; | |
3059 | PyObject * _result; | |
3060 | wxPyShape * _arg0; | |
3061 | PyObject * _argo0 = 0; | |
3062 | char *_kwnames[] = { "self", NULL }; | |
3063 | ||
3064 | self = self; | |
3065 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetChildren",_kwnames,&_argo0)) | |
3066 | return NULL; | |
3067 | if (_argo0) { | |
3068 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3069 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p."); | |
3071 | return NULL; | |
3072 | } | |
3073 | } | |
3074 | { | |
3075 | wxPy_BEGIN_ALLOW_THREADS; | |
3076 | _result = (PyObject *)wxPyShape_GetChildren(_arg0); | |
3077 | ||
3078 | wxPy_END_ALLOW_THREADS; | |
3079 | }{ | |
3080 | _resultobj = _result; | |
3081 | } | |
3082 | return _resultobj; | |
3083 | } | |
3084 | ||
3085 | #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink()) | |
3086 | static PyObject *_wrap_wxPyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3087 | PyObject * _resultobj; | |
3088 | wxPyShape * _arg0; | |
3089 | PyObject * _argo0 = 0; | |
3090 | char *_kwnames[] = { "self", NULL }; | |
3091 | ||
3092 | self = self; | |
3093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Unlink",_kwnames,&_argo0)) | |
3094 | return NULL; | |
3095 | if (_argo0) { | |
3096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p."); | |
3099 | return NULL; | |
3100 | } | |
3101 | } | |
3102 | { | |
3103 | wxPy_BEGIN_ALLOW_THREADS; | |
3104 | wxPyShape_Unlink(_arg0); | |
3105 | ||
3106 | wxPy_END_ALLOW_THREADS; | |
3107 | } Py_INCREF(Py_None); | |
3108 | _resultobj = Py_None; | |
3109 | return _resultobj; | |
3110 | } | |
3111 | ||
3112 | #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0)) | |
3113 | static PyObject *_wrap_wxPyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3114 | PyObject * _resultobj; | |
3115 | wxPyShape * _arg0; | |
3116 | bool _arg1; | |
3117 | PyObject * _argo0 = 0; | |
3118 | int tempbool1; | |
3119 | char *_kwnames[] = { "self","drawH", NULL }; | |
3120 | ||
3121 | self = self; | |
3122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDrawHandles",_kwnames,&_argo0,&tempbool1)) | |
3123 | return NULL; | |
3124 | if (_argo0) { | |
3125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p."); | |
3128 | return NULL; | |
3129 | } | |
3130 | } | |
3131 | _arg1 = (bool ) tempbool1; | |
3132 | { | |
3133 | wxPy_BEGIN_ALLOW_THREADS; | |
3134 | wxPyShape_SetDrawHandles(_arg0,_arg1); | |
3135 | ||
3136 | wxPy_END_ALLOW_THREADS; | |
3137 | } Py_INCREF(Py_None); | |
3138 | _resultobj = Py_None; | |
3139 | return _resultobj; | |
3140 | } | |
3141 | ||
3142 | #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles()) | |
3143 | static PyObject *_wrap_wxPyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3144 | PyObject * _resultobj; | |
3145 | bool _result; | |
3146 | wxPyShape * _arg0; | |
3147 | PyObject * _argo0 = 0; | |
3148 | char *_kwnames[] = { "self", NULL }; | |
3149 | ||
3150 | self = self; | |
3151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDrawHandles",_kwnames,&_argo0)) | |
3152 | return NULL; | |
3153 | if (_argo0) { | |
3154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p."); | |
3157 | return NULL; | |
3158 | } | |
3159 | } | |
3160 | { | |
3161 | wxPy_BEGIN_ALLOW_THREADS; | |
3162 | _result = (bool )wxPyShape_GetDrawHandles(_arg0); | |
3163 | ||
3164 | wxPy_END_ALLOW_THREADS; | |
3165 | } _resultobj = Py_BuildValue("i",_result); | |
3166 | return _resultobj; | |
3167 | } | |
3168 | ||
3169 | #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints()) | |
3170 | static PyObject *_wrap_wxPyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3171 | PyObject * _resultobj; | |
3172 | wxPyShape * _arg0; | |
3173 | PyObject * _argo0 = 0; | |
3174 | char *_kwnames[] = { "self", NULL }; | |
3175 | ||
3176 | self = self; | |
3177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeControlPoints",_kwnames,&_argo0)) | |
3178 | return NULL; | |
3179 | if (_argo0) { | |
3180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p."); | |
3183 | return NULL; | |
3184 | } | |
3185 | } | |
3186 | { | |
3187 | wxPy_BEGIN_ALLOW_THREADS; | |
3188 | wxPyShape_MakeControlPoints(_arg0); | |
3189 | ||
3190 | wxPy_END_ALLOW_THREADS; | |
3191 | } Py_INCREF(Py_None); | |
3192 | _resultobj = Py_None; | |
3193 | return _resultobj; | |
3194 | } | |
3195 | ||
3196 | #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0)) | |
3197 | static PyObject *_wrap_wxPyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3198 | PyObject * _resultobj; | |
3199 | wxPyShape * _arg0; | |
3200 | wxDC * _arg1 = (wxDC *) NULL; | |
3201 | PyObject * _argo0 = 0; | |
3202 | PyObject * _argo1 = 0; | |
3203 | char *_kwnames[] = { "self","dc", NULL }; | |
3204 | ||
3205 | self = self; | |
3206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_DeleteControlPoints",_kwnames,&_argo0,&_argo1)) | |
3207 | return NULL; | |
3208 | if (_argo0) { | |
3209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p."); | |
3212 | return NULL; | |
3213 | } | |
3214 | } | |
3215 | if (_argo1) { | |
3216 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3217 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p."); | |
3219 | return NULL; | |
3220 | } | |
3221 | } | |
3222 | { | |
3223 | wxPy_BEGIN_ALLOW_THREADS; | |
3224 | wxPyShape_DeleteControlPoints(_arg0,_arg1); | |
3225 | ||
3226 | wxPy_END_ALLOW_THREADS; | |
3227 | } Py_INCREF(Py_None); | |
3228 | _resultobj = Py_None; | |
3229 | return _resultobj; | |
3230 | } | |
3231 | ||
3232 | #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints()) | |
3233 | static PyObject *_wrap_wxPyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3234 | PyObject * _resultobj; | |
3235 | wxPyShape * _arg0; | |
3236 | PyObject * _argo0 = 0; | |
3237 | char *_kwnames[] = { "self", NULL }; | |
3238 | ||
3239 | self = self; | |
3240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetControlPoints",_kwnames,&_argo0)) | |
3241 | return NULL; | |
3242 | if (_argo0) { | |
3243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p."); | |
3246 | return NULL; | |
3247 | } | |
3248 | } | |
3249 | { | |
3250 | wxPy_BEGIN_ALLOW_THREADS; | |
3251 | wxPyShape_ResetControlPoints(_arg0); | |
3252 | ||
3253 | wxPy_END_ALLOW_THREADS; | |
3254 | } Py_INCREF(Py_None); | |
3255 | _resultobj = Py_None; | |
3256 | return _resultobj; | |
3257 | } | |
3258 | ||
3259 | #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler()) | |
3260 | static PyObject *_wrap_wxPyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3261 | PyObject * _resultobj; | |
3262 | wxPyShapeEvtHandler * _result; | |
3263 | wxPyShape * _arg0; | |
3264 | PyObject * _argo0 = 0; | |
3265 | char *_kwnames[] = { "self", NULL }; | |
3266 | char _ptemp[128]; | |
3267 | ||
3268 | self = self; | |
3269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetEventHandler",_kwnames,&_argo0)) | |
3270 | return NULL; | |
3271 | if (_argo0) { | |
3272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p."); | |
3275 | return NULL; | |
3276 | } | |
3277 | } | |
3278 | { | |
3279 | wxPy_BEGIN_ALLOW_THREADS; | |
3280 | _result = (wxPyShapeEvtHandler *)wxPyShape_GetEventHandler(_arg0); | |
3281 | ||
3282 | wxPy_END_ALLOW_THREADS; | |
3283 | } if (_result) { | |
3284 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
3285 | _resultobj = Py_BuildValue("s",_ptemp); | |
3286 | } else { | |
3287 | Py_INCREF(Py_None); | |
3288 | _resultobj = Py_None; | |
3289 | } | |
3290 | return _resultobj; | |
3291 | } | |
3292 | ||
3293 | #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0)) | |
3294 | static PyObject *_wrap_wxPyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3295 | PyObject * _resultobj; | |
3296 | wxPyShape * _arg0; | |
3297 | wxPyShapeEvtHandler * _arg1; | |
3298 | PyObject * _argo0 = 0; | |
3299 | PyObject * _argo1 = 0; | |
3300 | char *_kwnames[] = { "self","handler", NULL }; | |
3301 | ||
3302 | self = self; | |
3303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetEventHandler",_kwnames,&_argo0,&_argo1)) | |
3304 | return NULL; | |
3305 | if (_argo0) { | |
3306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p."); | |
3309 | return NULL; | |
3310 | } | |
3311 | } | |
3312 | if (_argo1) { | |
3313 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3314 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) { | |
3315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p."); | |
3316 | return NULL; | |
3317 | } | |
3318 | } | |
3319 | { | |
3320 | wxPy_BEGIN_ALLOW_THREADS; | |
3321 | wxPyShape_SetEventHandler(_arg0,_arg1); | |
3322 | ||
3323 | wxPy_END_ALLOW_THREADS; | |
3324 | } Py_INCREF(Py_None); | |
3325 | _resultobj = Py_None; | |
3326 | return _resultobj; | |
3327 | } | |
3328 | ||
3329 | #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints()) | |
3330 | static PyObject *_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3331 | PyObject * _resultobj; | |
3332 | wxPyShape * _arg0; | |
3333 | PyObject * _argo0 = 0; | |
3334 | char *_kwnames[] = { "self", NULL }; | |
3335 | ||
3336 | self = self; | |
3337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames,&_argo0)) | |
3338 | return NULL; | |
3339 | if (_argo0) { | |
3340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p."); | |
3343 | return NULL; | |
3344 | } | |
3345 | } | |
3346 | { | |
3347 | wxPy_BEGIN_ALLOW_THREADS; | |
3348 | wxPyShape_MakeMandatoryControlPoints(_arg0); | |
3349 | ||
3350 | wxPy_END_ALLOW_THREADS; | |
3351 | } Py_INCREF(Py_None); | |
3352 | _resultobj = Py_None; | |
3353 | return _resultobj; | |
3354 | } | |
3355 | ||
3356 | #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints()) | |
3357 | static PyObject *_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3358 | PyObject * _resultobj; | |
3359 | wxPyShape * _arg0; | |
3360 | PyObject * _argo0 = 0; | |
3361 | char *_kwnames[] = { "self", NULL }; | |
3362 | ||
3363 | self = self; | |
3364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames,&_argo0)) | |
3365 | return NULL; | |
3366 | if (_argo0) { | |
3367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p."); | |
3370 | return NULL; | |
3371 | } | |
3372 | } | |
3373 | { | |
3374 | wxPy_BEGIN_ALLOW_THREADS; | |
3375 | wxPyShape_ResetMandatoryControlPoints(_arg0); | |
3376 | ||
3377 | wxPy_END_ALLOW_THREADS; | |
3378 | } Py_INCREF(Py_None); | |
3379 | _resultobj = Py_None; | |
3380 | return _resultobj; | |
3381 | } | |
3382 | ||
3383 | #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
3384 | static PyObject *_wrap_wxPyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3385 | PyObject * _resultobj; | |
3386 | bool _result; | |
3387 | wxPyShape * _arg0; | |
3388 | PyObject * _argo0 = 0; | |
3389 | char *_kwnames[] = { "self", NULL }; | |
3390 | ||
3391 | self = self; | |
3392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Recompute",_kwnames,&_argo0)) | |
3393 | return NULL; | |
3394 | if (_argo0) { | |
3395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p."); | |
3398 | return NULL; | |
3399 | } | |
3400 | } | |
3401 | { | |
3402 | wxPy_BEGIN_ALLOW_THREADS; | |
3403 | _result = (bool )wxPyShape_Recompute(_arg0); | |
3404 | ||
3405 | wxPy_END_ALLOW_THREADS; | |
3406 | } _resultobj = Py_BuildValue("i",_result); | |
3407 | return _resultobj; | |
3408 | } | |
3409 | ||
3410 | #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
3411 | static PyObject *_wrap_wxPyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3412 | PyObject * _resultobj; | |
3413 | wxPyShape * _arg0; | |
3414 | PyObject * _argo0 = 0; | |
3415 | char *_kwnames[] = { "self", NULL }; | |
3416 | ||
3417 | self = self; | |
3418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_CalculateSize",_kwnames,&_argo0)) | |
3419 | return NULL; | |
3420 | if (_argo0) { | |
3421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p."); | |
3424 | return NULL; | |
3425 | } | |
3426 | } | |
3427 | { | |
3428 | wxPy_BEGIN_ALLOW_THREADS; | |
3429 | wxPyShape_CalculateSize(_arg0); | |
3430 | ||
3431 | wxPy_END_ALLOW_THREADS; | |
3432 | } Py_INCREF(Py_None); | |
3433 | _resultobj = Py_None; | |
3434 | return _resultobj; | |
3435 | } | |
3436 | ||
3437 | #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1)) | |
3438 | static PyObject *_wrap_wxPyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3439 | PyObject * _resultobj; | |
3440 | wxPyShape * _arg0; | |
3441 | bool _arg1 = (bool ) TRUE; | |
3442 | wxDC * _arg2 = (wxDC *) NULL; | |
3443 | PyObject * _argo0 = 0; | |
3444 | int tempbool1 = (int) TRUE; | |
3445 | PyObject * _argo2 = 0; | |
3446 | char *_kwnames[] = { "self","select","dc", NULL }; | |
3447 | ||
3448 | self = self; | |
3449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxPyShape_Select",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
3450 | return NULL; | |
3451 | if (_argo0) { | |
3452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p."); | |
3455 | return NULL; | |
3456 | } | |
3457 | } | |
3458 | _arg1 = (bool ) tempbool1; | |
3459 | if (_argo2) { | |
3460 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3461 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) { | |
3462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p."); | |
3463 | return NULL; | |
3464 | } | |
3465 | } | |
3466 | { | |
3467 | wxPy_BEGIN_ALLOW_THREADS; | |
3468 | wxPyShape_Select(_arg0,_arg1,_arg2); | |
3469 | ||
3470 | wxPy_END_ALLOW_THREADS; | |
3471 | } Py_INCREF(Py_None); | |
3472 | _resultobj = Py_None; | |
3473 | return _resultobj; | |
3474 | } | |
3475 | ||
3476 | #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1)) | |
3477 | static PyObject *_wrap_wxPyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3478 | PyObject * _resultobj; | |
3479 | wxPyShape * _arg0; | |
3480 | bool _arg1 = (bool ) TRUE; | |
3481 | bool _arg2 = (bool ) FALSE; | |
3482 | PyObject * _argo0 = 0; | |
3483 | int tempbool1 = (int) TRUE; | |
3484 | int tempbool2 = (int) FALSE; | |
3485 | char *_kwnames[] = { "self","hi","recurse", NULL }; | |
3486 | ||
3487 | self = self; | |
3488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetHighlight",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3489 | return NULL; | |
3490 | if (_argo0) { | |
3491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p."); | |
3494 | return NULL; | |
3495 | } | |
3496 | } | |
3497 | _arg1 = (bool ) tempbool1; | |
3498 | _arg2 = (bool ) tempbool2; | |
3499 | { | |
3500 | wxPy_BEGIN_ALLOW_THREADS; | |
3501 | wxPyShape_SetHighlight(_arg0,_arg1,_arg2); | |
3502 | ||
3503 | wxPy_END_ALLOW_THREADS; | |
3504 | } Py_INCREF(Py_None); | |
3505 | _resultobj = Py_None; | |
3506 | return _resultobj; | |
3507 | } | |
3508 | ||
3509 | #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted()) | |
3510 | static PyObject *_wrap_wxPyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3511 | PyObject * _resultobj; | |
3512 | bool _result; | |
3513 | wxPyShape * _arg0; | |
3514 | PyObject * _argo0 = 0; | |
3515 | char *_kwnames[] = { "self", NULL }; | |
3516 | ||
3517 | self = self; | |
3518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsHighlighted",_kwnames,&_argo0)) | |
3519 | return NULL; | |
3520 | if (_argo0) { | |
3521 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3522 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p."); | |
3524 | return NULL; | |
3525 | } | |
3526 | } | |
3527 | { | |
3528 | wxPy_BEGIN_ALLOW_THREADS; | |
3529 | _result = (bool )wxPyShape_IsHighlighted(_arg0); | |
3530 | ||
3531 | wxPy_END_ALLOW_THREADS; | |
3532 | } _resultobj = Py_BuildValue("i",_result); | |
3533 | return _resultobj; | |
3534 | } | |
3535 | ||
3536 | #define wxPyShape_Selected(_swigobj) (_swigobj->Selected()) | |
3537 | static PyObject *_wrap_wxPyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3538 | PyObject * _resultobj; | |
3539 | bool _result; | |
3540 | wxPyShape * _arg0; | |
3541 | PyObject * _argo0 = 0; | |
3542 | char *_kwnames[] = { "self", NULL }; | |
3543 | ||
3544 | self = self; | |
3545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Selected",_kwnames,&_argo0)) | |
3546 | return NULL; | |
3547 | if (_argo0) { | |
3548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p."); | |
3551 | return NULL; | |
3552 | } | |
3553 | } | |
3554 | { | |
3555 | wxPy_BEGIN_ALLOW_THREADS; | |
3556 | _result = (bool )wxPyShape_Selected(_arg0); | |
3557 | ||
3558 | wxPy_END_ALLOW_THREADS; | |
3559 | } _resultobj = Py_BuildValue("i",_result); | |
3560 | return _resultobj; | |
3561 | } | |
3562 | ||
3563 | #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected()) | |
3564 | static PyObject *_wrap_wxPyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3565 | PyObject * _resultobj; | |
3566 | bool _result; | |
3567 | wxPyShape * _arg0; | |
3568 | PyObject * _argo0 = 0; | |
3569 | char *_kwnames[] = { "self", NULL }; | |
3570 | ||
3571 | self = self; | |
3572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AncestorSelected",_kwnames,&_argo0)) | |
3573 | return NULL; | |
3574 | if (_argo0) { | |
3575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p."); | |
3578 | return NULL; | |
3579 | } | |
3580 | } | |
3581 | { | |
3582 | wxPy_BEGIN_ALLOW_THREADS; | |
3583 | _result = (bool )wxPyShape_AncestorSelected(_arg0); | |
3584 | ||
3585 | wxPy_END_ALLOW_THREADS; | |
3586 | } _resultobj = Py_BuildValue("i",_result); | |
3587 | return _resultobj; | |
3588 | } | |
3589 | ||
3590 | #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1)) | |
3591 | static PyObject *_wrap_wxPyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3592 | PyObject * _resultobj; | |
3593 | wxPyShape * _arg0; | |
3594 | int _arg1 = (int ) OP_ALL; | |
3595 | bool _arg2 = (bool ) FALSE; | |
3596 | PyObject * _argo0 = 0; | |
3597 | int tempbool2 = (int) FALSE; | |
3598 | char *_kwnames[] = { "self","sens","recursive", NULL }; | |
3599 | ||
3600 | self = self; | |
3601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3602 | return NULL; | |
3603 | if (_argo0) { | |
3604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p."); | |
3607 | return NULL; | |
3608 | } | |
3609 | } | |
3610 | _arg2 = (bool ) tempbool2; | |
3611 | { | |
3612 | wxPy_BEGIN_ALLOW_THREADS; | |
3613 | wxPyShape_SetSensitivityFilter(_arg0,_arg1,_arg2); | |
3614 | ||
3615 | wxPy_END_ALLOW_THREADS; | |
3616 | } Py_INCREF(Py_None); | |
3617 | _resultobj = Py_None; | |
3618 | return _resultobj; | |
3619 | } | |
3620 | ||
3621 | #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter()) | |
3622 | static PyObject *_wrap_wxPyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3623 | PyObject * _resultobj; | |
3624 | int _result; | |
3625 | wxPyShape * _arg0; | |
3626 | PyObject * _argo0 = 0; | |
3627 | char *_kwnames[] = { "self", NULL }; | |
3628 | ||
3629 | self = self; | |
3630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSensitivityFilter",_kwnames,&_argo0)) | |
3631 | return NULL; | |
3632 | if (_argo0) { | |
3633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p."); | |
3636 | return NULL; | |
3637 | } | |
3638 | } | |
3639 | { | |
3640 | wxPy_BEGIN_ALLOW_THREADS; | |
3641 | _result = (int )wxPyShape_GetSensitivityFilter(_arg0); | |
3642 | ||
3643 | wxPy_END_ALLOW_THREADS; | |
3644 | } _resultobj = Py_BuildValue("i",_result); | |
3645 | return _resultobj; | |
3646 | } | |
3647 | ||
3648 | #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1)) | |
3649 | static PyObject *_wrap_wxPyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3650 | PyObject * _resultobj; | |
3651 | wxPyShape * _arg0; | |
3652 | bool _arg1; | |
3653 | bool _arg2 = (bool ) FALSE; | |
3654 | PyObject * _argo0 = 0; | |
3655 | int tempbool1; | |
3656 | int tempbool2 = (int) FALSE; | |
3657 | char *_kwnames[] = { "self","drag","recursive", NULL }; | |
3658 | ||
3659 | self = self; | |
3660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetDraggable",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3661 | return NULL; | |
3662 | if (_argo0) { | |
3663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p."); | |
3666 | return NULL; | |
3667 | } | |
3668 | } | |
3669 | _arg1 = (bool ) tempbool1; | |
3670 | _arg2 = (bool ) tempbool2; | |
3671 | { | |
3672 | wxPy_BEGIN_ALLOW_THREADS; | |
3673 | wxPyShape_SetDraggable(_arg0,_arg1,_arg2); | |
3674 | ||
3675 | wxPy_END_ALLOW_THREADS; | |
3676 | } Py_INCREF(Py_None); | |
3677 | _resultobj = Py_None; | |
3678 | return _resultobj; | |
3679 | } | |
3680 | ||
3681 | #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1)) | |
3682 | static PyObject *_wrap_wxPyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3683 | PyObject * _resultobj; | |
3684 | wxPyShape * _arg0; | |
3685 | bool _arg1; | |
3686 | bool _arg2; | |
3687 | PyObject * _argo0 = 0; | |
3688 | int tempbool1; | |
3689 | int tempbool2; | |
3690 | char *_kwnames[] = { "self","x","y", NULL }; | |
3691 | ||
3692 | self = self; | |
3693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyShape_SetFixedSize",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3694 | return NULL; | |
3695 | if (_argo0) { | |
3696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p."); | |
3699 | return NULL; | |
3700 | } | |
3701 | } | |
3702 | _arg1 = (bool ) tempbool1; | |
3703 | _arg2 = (bool ) tempbool2; | |
3704 | { | |
3705 | wxPy_BEGIN_ALLOW_THREADS; | |
3706 | wxPyShape_SetFixedSize(_arg0,_arg1,_arg2); | |
3707 | ||
3708 | wxPy_END_ALLOW_THREADS; | |
3709 | } Py_INCREF(Py_None); | |
3710 | _resultobj = Py_None; | |
3711 | return _resultobj; | |
3712 | } | |
3713 | ||
3714 | #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1)) | |
3715 | static PyObject *_wrap_wxPyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3716 | PyObject * _resultobj; | |
3717 | wxPyShape * _arg0; | |
3718 | bool * _arg1; | |
3719 | bool * _arg2; | |
3720 | PyObject * _argo0 = 0; | |
3721 | PyObject * _argo1 = 0; | |
3722 | PyObject * _argo2 = 0; | |
3723 | char *_kwnames[] = { "self","OUTPUT","OUTPUT", NULL }; | |
3724 | ||
3725 | self = self; | |
3726 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape_GetFixedSize",_kwnames,&_argo0,&_argo1,&_argo2)) | |
3727 | return NULL; | |
3728 | if (_argo0) { | |
3729 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3730 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3731 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p."); | |
3732 | return NULL; | |
3733 | } | |
3734 | } | |
3735 | if (_argo1) { | |
3736 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3737 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_bool_p")) { | |
3738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p."); | |
3739 | return NULL; | |
3740 | } | |
3741 | } | |
3742 | if (_argo2) { | |
3743 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3744 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_bool_p")) { | |
3745 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p."); | |
3746 | return NULL; | |
3747 | } | |
3748 | } | |
3749 | { | |
3750 | wxPy_BEGIN_ALLOW_THREADS; | |
3751 | wxPyShape_GetFixedSize(_arg0,_arg1,_arg2); | |
3752 | ||
3753 | wxPy_END_ALLOW_THREADS; | |
3754 | } Py_INCREF(Py_None); | |
3755 | _resultobj = Py_None; | |
3756 | return _resultobj; | |
3757 | } | |
3758 | ||
3759 | #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth()) | |
3760 | static PyObject *_wrap_wxPyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3761 | PyObject * _resultobj; | |
3762 | bool _result; | |
3763 | wxPyShape * _arg0; | |
3764 | PyObject * _argo0 = 0; | |
3765 | char *_kwnames[] = { "self", NULL }; | |
3766 | ||
3767 | self = self; | |
3768 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedWidth",_kwnames,&_argo0)) | |
3769 | return NULL; | |
3770 | if (_argo0) { | |
3771 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3772 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p."); | |
3774 | return NULL; | |
3775 | } | |
3776 | } | |
3777 | { | |
3778 | wxPy_BEGIN_ALLOW_THREADS; | |
3779 | _result = (bool )wxPyShape_GetFixedWidth(_arg0); | |
3780 | ||
3781 | wxPy_END_ALLOW_THREADS; | |
3782 | } _resultobj = Py_BuildValue("i",_result); | |
3783 | return _resultobj; | |
3784 | } | |
3785 | ||
3786 | #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight()) | |
3787 | static PyObject *_wrap_wxPyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3788 | PyObject * _resultobj; | |
3789 | bool _result; | |
3790 | wxPyShape * _arg0; | |
3791 | PyObject * _argo0 = 0; | |
3792 | char *_kwnames[] = { "self", NULL }; | |
3793 | ||
3794 | self = self; | |
3795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedHeight",_kwnames,&_argo0)) | |
3796 | return NULL; | |
3797 | if (_argo0) { | |
3798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p."); | |
3801 | return NULL; | |
3802 | } | |
3803 | } | |
3804 | { | |
3805 | wxPy_BEGIN_ALLOW_THREADS; | |
3806 | _result = (bool )wxPyShape_GetFixedHeight(_arg0); | |
3807 | ||
3808 | wxPy_END_ALLOW_THREADS; | |
3809 | } _resultobj = Py_BuildValue("i",_result); | |
3810 | return _resultobj; | |
3811 | } | |
3812 | ||
3813 | #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0)) | |
3814 | static PyObject *_wrap_wxPyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3815 | PyObject * _resultobj; | |
3816 | wxPyShape * _arg0; | |
3817 | bool _arg1; | |
3818 | PyObject * _argo0 = 0; | |
3819 | int tempbool1; | |
3820 | char *_kwnames[] = { "self","sp", NULL }; | |
3821 | ||
3822 | self = self; | |
3823 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetSpaceAttachments",_kwnames,&_argo0,&tempbool1)) | |
3824 | return NULL; | |
3825 | if (_argo0) { | |
3826 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3827 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3828 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p."); | |
3829 | return NULL; | |
3830 | } | |
3831 | } | |
3832 | _arg1 = (bool ) tempbool1; | |
3833 | { | |
3834 | wxPy_BEGIN_ALLOW_THREADS; | |
3835 | wxPyShape_SetSpaceAttachments(_arg0,_arg1); | |
3836 | ||
3837 | wxPy_END_ALLOW_THREADS; | |
3838 | } Py_INCREF(Py_None); | |
3839 | _resultobj = Py_None; | |
3840 | return _resultobj; | |
3841 | } | |
3842 | ||
3843 | #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments()) | |
3844 | static PyObject *_wrap_wxPyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3845 | PyObject * _resultobj; | |
3846 | bool _result; | |
3847 | wxPyShape * _arg0; | |
3848 | PyObject * _argo0 = 0; | |
3849 | char *_kwnames[] = { "self", NULL }; | |
3850 | ||
3851 | self = self; | |
3852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSpaceAttachments",_kwnames,&_argo0)) | |
3853 | return NULL; | |
3854 | if (_argo0) { | |
3855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p."); | |
3858 | return NULL; | |
3859 | } | |
3860 | } | |
3861 | { | |
3862 | wxPy_BEGIN_ALLOW_THREADS; | |
3863 | _result = (bool )wxPyShape_GetSpaceAttachments(_arg0); | |
3864 | ||
3865 | wxPy_END_ALLOW_THREADS; | |
3866 | } _resultobj = Py_BuildValue("i",_result); | |
3867 | return _resultobj; | |
3868 | } | |
3869 | ||
3870 | #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1)) | |
3871 | static PyObject *_wrap_wxPyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3872 | PyObject * _resultobj; | |
3873 | wxPyShape * _arg0; | |
3874 | int _arg1; | |
3875 | bool _arg2 = (bool ) FALSE; | |
3876 | PyObject * _argo0 = 0; | |
3877 | int tempbool2 = (int) FALSE; | |
3878 | char *_kwnames[] = { "self","mode","redraw", NULL }; | |
3879 | ||
3880 | self = self; | |
3881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetShadowMode",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3882 | return NULL; | |
3883 | if (_argo0) { | |
3884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p."); | |
3887 | return NULL; | |
3888 | } | |
3889 | } | |
3890 | _arg2 = (bool ) tempbool2; | |
3891 | { | |
3892 | wxPy_BEGIN_ALLOW_THREADS; | |
3893 | wxPyShape_SetShadowMode(_arg0,_arg1,_arg2); | |
3894 | ||
3895 | wxPy_END_ALLOW_THREADS; | |
3896 | } Py_INCREF(Py_None); | |
3897 | _resultobj = Py_None; | |
3898 | return _resultobj; | |
3899 | } | |
3900 | ||
3901 | #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode()) | |
3902 | static PyObject *_wrap_wxPyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3903 | PyObject * _resultobj; | |
3904 | int _result; | |
3905 | wxPyShape * _arg0; | |
3906 | PyObject * _argo0 = 0; | |
3907 | char *_kwnames[] = { "self", NULL }; | |
3908 | ||
3909 | self = self; | |
3910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetShadowMode",_kwnames,&_argo0)) | |
3911 | return NULL; | |
3912 | if (_argo0) { | |
3913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p."); | |
3916 | return NULL; | |
3917 | } | |
3918 | } | |
3919 | { | |
3920 | wxPy_BEGIN_ALLOW_THREADS; | |
3921 | _result = (int )wxPyShape_GetShadowMode(_arg0); | |
3922 | ||
3923 | wxPy_END_ALLOW_THREADS; | |
3924 | } _resultobj = Py_BuildValue("i",_result); | |
3925 | return _resultobj; | |
3926 | } | |
3927 | ||
3928 | #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3929 | static PyObject *_wrap_wxPyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3930 | PyObject * _resultobj; | |
3931 | bool _result; | |
3932 | wxPyShape * _arg0; | |
3933 | double _arg1; | |
3934 | double _arg2; | |
3935 | int * _arg3; | |
3936 | int temp; | |
3937 | double * _arg4; | |
3938 | double temp0; | |
3939 | PyObject * _argo0 = 0; | |
3940 | char *_kwnames[] = { "self","x","y", NULL }; | |
3941 | ||
3942 | self = self; | |
3943 | { | |
3944 | _arg3 = &temp; | |
3945 | } | |
3946 | { | |
3947 | _arg4 = &temp0; | |
3948 | } | |
3949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_HitTest",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3950 | return NULL; | |
3951 | if (_argo0) { | |
3952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p."); | |
3955 | return NULL; | |
3956 | } | |
3957 | } | |
3958 | { | |
3959 | wxPy_BEGIN_ALLOW_THREADS; | |
3960 | _result = (bool )wxPyShape_HitTest(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3961 | ||
3962 | wxPy_END_ALLOW_THREADS; | |
3963 | } _resultobj = Py_BuildValue("i",_result); | |
3964 | { | |
3965 | PyObject *o; | |
3966 | o = PyInt_FromLong((long) (*_arg3)); | |
3967 | _resultobj = t_output_helper(_resultobj, o); | |
3968 | } | |
3969 | { | |
3970 | PyObject *o; | |
3971 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3972 | _resultobj = t_output_helper(_resultobj, o); | |
3973 | } | |
3974 | return _resultobj; | |
3975 | } | |
3976 | ||
3977 | #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0)) | |
3978 | static PyObject *_wrap_wxPyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3979 | PyObject * _resultobj; | |
3980 | wxPyShape * _arg0; | |
3981 | bool _arg1; | |
3982 | PyObject * _argo0 = 0; | |
3983 | int tempbool1; | |
3984 | char *_kwnames[] = { "self","cr", NULL }; | |
3985 | ||
3986 | self = self; | |
3987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetCentreResize",_kwnames,&_argo0,&tempbool1)) | |
3988 | return NULL; | |
3989 | if (_argo0) { | |
3990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p."); | |
3993 | return NULL; | |
3994 | } | |
3995 | } | |
3996 | _arg1 = (bool ) tempbool1; | |
3997 | { | |
3998 | wxPy_BEGIN_ALLOW_THREADS; | |
3999 | wxPyShape_SetCentreResize(_arg0,_arg1); | |
4000 | ||
4001 | wxPy_END_ALLOW_THREADS; | |
4002 | } Py_INCREF(Py_None); | |
4003 | _resultobj = Py_None; | |
4004 | return _resultobj; | |
4005 | } | |
4006 | ||
4007 | #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize()) | |
4008 | static PyObject *_wrap_wxPyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4009 | PyObject * _resultobj; | |
4010 | bool _result; | |
4011 | wxPyShape * _arg0; | |
4012 | PyObject * _argo0 = 0; | |
4013 | char *_kwnames[] = { "self", NULL }; | |
4014 | ||
4015 | self = self; | |
4016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCentreResize",_kwnames,&_argo0)) | |
4017 | return NULL; | |
4018 | if (_argo0) { | |
4019 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4020 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p."); | |
4022 | return NULL; | |
4023 | } | |
4024 | } | |
4025 | { | |
4026 | wxPy_BEGIN_ALLOW_THREADS; | |
4027 | _result = (bool )wxPyShape_GetCentreResize(_arg0); | |
4028 | ||
4029 | wxPy_END_ALLOW_THREADS; | |
4030 | } _resultobj = Py_BuildValue("i",_result); | |
4031 | return _resultobj; | |
4032 | } | |
4033 | ||
4034 | #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0)) | |
4035 | static PyObject *_wrap_wxPyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4036 | PyObject * _resultobj; | |
4037 | wxPyShape * _arg0; | |
4038 | bool _arg1; | |
4039 | PyObject * _argo0 = 0; | |
4040 | int tempbool1; | |
4041 | char *_kwnames[] = { "self","ar", NULL }; | |
4042 | ||
4043 | self = self; | |
4044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames,&_argo0,&tempbool1)) | |
4045 | return NULL; | |
4046 | if (_argo0) { | |
4047 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4048 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4049 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p."); | |
4050 | return NULL; | |
4051 | } | |
4052 | } | |
4053 | _arg1 = (bool ) tempbool1; | |
4054 | { | |
4055 | wxPy_BEGIN_ALLOW_THREADS; | |
4056 | wxPyShape_SetMaintainAspectRatio(_arg0,_arg1); | |
4057 | ||
4058 | wxPy_END_ALLOW_THREADS; | |
4059 | } Py_INCREF(Py_None); | |
4060 | _resultobj = Py_None; | |
4061 | return _resultobj; | |
4062 | } | |
4063 | ||
4064 | #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio()) | |
4065 | static PyObject *_wrap_wxPyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4066 | PyObject * _resultobj; | |
4067 | bool _result; | |
4068 | wxPyShape * _arg0; | |
4069 | PyObject * _argo0 = 0; | |
4070 | char *_kwnames[] = { "self", NULL }; | |
4071 | ||
4072 | self = self; | |
4073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetMaintainAspectRatio",_kwnames,&_argo0)) | |
4074 | return NULL; | |
4075 | if (_argo0) { | |
4076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p."); | |
4079 | return NULL; | |
4080 | } | |
4081 | } | |
4082 | { | |
4083 | wxPy_BEGIN_ALLOW_THREADS; | |
4084 | _result = (bool )wxPyShape_GetMaintainAspectRatio(_arg0); | |
4085 | ||
4086 | wxPy_END_ALLOW_THREADS; | |
4087 | } _resultobj = Py_BuildValue("i",_result); | |
4088 | return _resultobj; | |
4089 | } | |
4090 | ||
4091 | static PyObject * wxPyShape_GetLines(wxPyShape *self) { | |
4092 | wxList& list = self->GetLines(); | |
4093 | return wxPy_ConvertList(&list, "wxPyLineShape"); | |
4094 | } | |
4095 | static PyObject *_wrap_wxPyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4096 | PyObject * _resultobj; | |
4097 | PyObject * _result; | |
4098 | wxPyShape * _arg0; | |
4099 | PyObject * _argo0 = 0; | |
4100 | char *_kwnames[] = { "self", NULL }; | |
4101 | ||
4102 | self = self; | |
4103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetLines",_kwnames,&_argo0)) | |
4104 | return NULL; | |
4105 | if (_argo0) { | |
4106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p."); | |
4109 | return NULL; | |
4110 | } | |
4111 | } | |
4112 | { | |
4113 | wxPy_BEGIN_ALLOW_THREADS; | |
4114 | _result = (PyObject *)wxPyShape_GetLines(_arg0); | |
4115 | ||
4116 | wxPy_END_ALLOW_THREADS; | |
4117 | }{ | |
4118 | _resultobj = _result; | |
4119 | } | |
4120 | return _resultobj; | |
4121 | } | |
4122 | ||
4123 | #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0)) | |
4124 | static PyObject *_wrap_wxPyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4125 | PyObject * _resultobj; | |
4126 | wxPyShape * _arg0; | |
4127 | bool _arg1; | |
4128 | PyObject * _argo0 = 0; | |
4129 | int tempbool1; | |
4130 | char *_kwnames[] = { "self","flag", NULL }; | |
4131 | ||
4132 | self = self; | |
4133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDisableLabel",_kwnames,&_argo0,&tempbool1)) | |
4134 | return NULL; | |
4135 | if (_argo0) { | |
4136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p."); | |
4139 | return NULL; | |
4140 | } | |
4141 | } | |
4142 | _arg1 = (bool ) tempbool1; | |
4143 | { | |
4144 | wxPy_BEGIN_ALLOW_THREADS; | |
4145 | wxPyShape_SetDisableLabel(_arg0,_arg1); | |
4146 | ||
4147 | wxPy_END_ALLOW_THREADS; | |
4148 | } Py_INCREF(Py_None); | |
4149 | _resultobj = Py_None; | |
4150 | return _resultobj; | |
4151 | } | |
4152 | ||
4153 | #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel()) | |
4154 | static PyObject *_wrap_wxPyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4155 | PyObject * _resultobj; | |
4156 | bool _result; | |
4157 | wxPyShape * _arg0; | |
4158 | PyObject * _argo0 = 0; | |
4159 | char *_kwnames[] = { "self", NULL }; | |
4160 | ||
4161 | self = self; | |
4162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDisableLabel",_kwnames,&_argo0)) | |
4163 | return NULL; | |
4164 | if (_argo0) { | |
4165 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4166 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p."); | |
4168 | return NULL; | |
4169 | } | |
4170 | } | |
4171 | { | |
4172 | wxPy_BEGIN_ALLOW_THREADS; | |
4173 | _result = (bool )wxPyShape_GetDisableLabel(_arg0); | |
4174 | ||
4175 | wxPy_END_ALLOW_THREADS; | |
4176 | } _resultobj = Py_BuildValue("i",_result); | |
4177 | return _resultobj; | |
4178 | } | |
4179 | ||
4180 | #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0)) | |
4181 | static PyObject *_wrap_wxPyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4182 | PyObject * _resultobj; | |
4183 | wxPyShape * _arg0; | |
4184 | int _arg1; | |
4185 | PyObject * _argo0 = 0; | |
4186 | char *_kwnames[] = { "self","mode", NULL }; | |
4187 | ||
4188 | self = self; | |
4189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetAttachmentMode",_kwnames,&_argo0,&_arg1)) | |
4190 | return NULL; | |
4191 | if (_argo0) { | |
4192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p."); | |
4195 | return NULL; | |
4196 | } | |
4197 | } | |
4198 | { | |
4199 | wxPy_BEGIN_ALLOW_THREADS; | |
4200 | wxPyShape_SetAttachmentMode(_arg0,_arg1); | |
4201 | ||
4202 | wxPy_END_ALLOW_THREADS; | |
4203 | } Py_INCREF(Py_None); | |
4204 | _resultobj = Py_None; | |
4205 | return _resultobj; | |
4206 | } | |
4207 | ||
4208 | #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode()) | |
4209 | static PyObject *_wrap_wxPyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4210 | PyObject * _resultobj; | |
4211 | int _result; | |
4212 | wxPyShape * _arg0; | |
4213 | PyObject * _argo0 = 0; | |
4214 | char *_kwnames[] = { "self", NULL }; | |
4215 | ||
4216 | self = self; | |
4217 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetAttachmentMode",_kwnames,&_argo0)) | |
4218 | return NULL; | |
4219 | if (_argo0) { | |
4220 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4221 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4222 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p."); | |
4223 | return NULL; | |
4224 | } | |
4225 | } | |
4226 | { | |
4227 | wxPy_BEGIN_ALLOW_THREADS; | |
4228 | _result = (int )wxPyShape_GetAttachmentMode(_arg0); | |
4229 | ||
4230 | wxPy_END_ALLOW_THREADS; | |
4231 | } _resultobj = Py_BuildValue("i",_result); | |
4232 | return _resultobj; | |
4233 | } | |
4234 | ||
4235 | #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
4236 | static PyObject *_wrap_wxPyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4237 | PyObject * _resultobj; | |
4238 | wxPyShape * _arg0; | |
4239 | long _arg1; | |
4240 | PyObject * _argo0 = 0; | |
4241 | char *_kwnames[] = { "self","i", NULL }; | |
4242 | ||
4243 | self = self; | |
4244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetId",_kwnames,&_argo0,&_arg1)) | |
4245 | return NULL; | |
4246 | if (_argo0) { | |
4247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p."); | |
4250 | return NULL; | |
4251 | } | |
4252 | } | |
4253 | { | |
4254 | wxPy_BEGIN_ALLOW_THREADS; | |
4255 | wxPyShape_SetId(_arg0,_arg1); | |
4256 | ||
4257 | wxPy_END_ALLOW_THREADS; | |
4258 | } Py_INCREF(Py_None); | |
4259 | _resultobj = Py_None; | |
4260 | return _resultobj; | |
4261 | } | |
4262 | ||
4263 | #define wxPyShape_GetId(_swigobj) (_swigobj->GetId()) | |
4264 | static PyObject *_wrap_wxPyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4265 | PyObject * _resultobj; | |
4266 | long _result; | |
4267 | wxPyShape * _arg0; | |
4268 | PyObject * _argo0 = 0; | |
4269 | char *_kwnames[] = { "self", NULL }; | |
4270 | ||
4271 | self = self; | |
4272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetId",_kwnames,&_argo0)) | |
4273 | return NULL; | |
4274 | if (_argo0) { | |
4275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p."); | |
4278 | return NULL; | |
4279 | } | |
4280 | } | |
4281 | { | |
4282 | wxPy_BEGIN_ALLOW_THREADS; | |
4283 | _result = (long )wxPyShape_GetId(_arg0); | |
4284 | ||
4285 | wxPy_END_ALLOW_THREADS; | |
4286 | } _resultobj = Py_BuildValue("l",_result); | |
4287 | return _resultobj; | |
4288 | } | |
4289 | ||
4290 | #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0)) | |
4291 | static PyObject *_wrap_wxPyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4292 | PyObject * _resultobj; | |
4293 | wxPyShape * _arg0; | |
4294 | wxPen * _arg1; | |
4295 | PyObject * _argo0 = 0; | |
4296 | PyObject * _argo1 = 0; | |
4297 | char *_kwnames[] = { "self","pen", NULL }; | |
4298 | ||
4299 | self = self; | |
4300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetPen",_kwnames,&_argo0,&_argo1)) | |
4301 | return NULL; | |
4302 | if (_argo0) { | |
4303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p."); | |
4306 | return NULL; | |
4307 | } | |
4308 | } | |
4309 | if (_argo1) { | |
4310 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4311 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
4312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetPen. Expected _wxPen_p."); | |
4313 | return NULL; | |
4314 | } | |
4315 | } | |
4316 | { | |
4317 | wxPy_BEGIN_ALLOW_THREADS; | |
4318 | wxPyShape_SetPen(_arg0,_arg1); | |
4319 | ||
4320 | wxPy_END_ALLOW_THREADS; | |
4321 | } Py_INCREF(Py_None); | |
4322 | _resultobj = Py_None; | |
4323 | return _resultobj; | |
4324 | } | |
4325 | ||
4326 | #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0)) | |
4327 | static PyObject *_wrap_wxPyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4328 | PyObject * _resultobj; | |
4329 | wxPyShape * _arg0; | |
4330 | wxBrush * _arg1; | |
4331 | PyObject * _argo0 = 0; | |
4332 | PyObject * _argo1 = 0; | |
4333 | char *_kwnames[] = { "self","brush", NULL }; | |
4334 | ||
4335 | self = self; | |
4336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetBrush",_kwnames,&_argo0,&_argo1)) | |
4337 | return NULL; | |
4338 | if (_argo0) { | |
4339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p."); | |
4342 | return NULL; | |
4343 | } | |
4344 | } | |
4345 | if (_argo1) { | |
4346 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4347 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
4348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetBrush. Expected _wxBrush_p."); | |
4349 | return NULL; | |
4350 | } | |
4351 | } | |
4352 | { | |
4353 | wxPy_BEGIN_ALLOW_THREADS; | |
4354 | wxPyShape_SetBrush(_arg0,_arg1); | |
4355 | ||
4356 | wxPy_END_ALLOW_THREADS; | |
4357 | } Py_INCREF(Py_None); | |
4358 | _resultobj = Py_None; | |
4359 | return _resultobj; | |
4360 | } | |
4361 | ||
714d23b4 RD |
4362 | static void wxPyShape_SetClientData(wxPyShape *self,PyObject * userData) { |
4363 | wxPyUserData* data = NULL; | |
4364 | if (userData) | |
4365 | data = new wxPyUserData(userData); | |
4366 | self->SetClientData(data); | |
4367 | } | |
e91a9dfc RD |
4368 | static PyObject *_wrap_wxPyShape_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { |
4369 | PyObject * _resultobj; | |
4370 | wxPyShape * _arg0; | |
714d23b4 | 4371 | PyObject * _arg1; |
e91a9dfc | 4372 | PyObject * _argo0 = 0; |
714d23b4 RD |
4373 | PyObject * _obj1 = 0; |
4374 | char *_kwnames[] = { "self","userData", NULL }; | |
e91a9dfc RD |
4375 | |
4376 | self = self; | |
714d23b4 | 4377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetClientData",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
4378 | return NULL; |
4379 | if (_argo0) { | |
4380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p."); | |
4383 | return NULL; | |
4384 | } | |
4385 | } | |
714d23b4 RD |
4386 | { |
4387 | _arg1 = _obj1; | |
4388 | } | |
e91a9dfc RD |
4389 | { |
4390 | wxPy_BEGIN_ALLOW_THREADS; | |
4391 | wxPyShape_SetClientData(_arg0,_arg1); | |
4392 | ||
4393 | wxPy_END_ALLOW_THREADS; | |
4394 | } Py_INCREF(Py_None); | |
4395 | _resultobj = Py_None; | |
4396 | return _resultobj; | |
4397 | } | |
4398 | ||
714d23b4 RD |
4399 | static PyObject * wxPyShape_GetClientData(wxPyShape *self) { |
4400 | wxPyUserData* data = (wxPyUserData*)self->GetClientData(); | |
4401 | if (data) { | |
4402 | Py_INCREF(data->m_obj); | |
4403 | return data->m_obj; | |
4404 | } else { | |
4405 | Py_INCREF(Py_None); | |
4406 | return Py_None; | |
4407 | } | |
4408 | } | |
e91a9dfc RD |
4409 | static PyObject *_wrap_wxPyShape_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { |
4410 | PyObject * _resultobj; | |
714d23b4 | 4411 | PyObject * _result; |
e91a9dfc RD |
4412 | wxPyShape * _arg0; |
4413 | PyObject * _argo0 = 0; | |
4414 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
4415 | |
4416 | self = self; | |
4417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetClientData",_kwnames,&_argo0)) | |
4418 | return NULL; | |
4419 | if (_argo0) { | |
4420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p."); | |
4423 | return NULL; | |
4424 | } | |
4425 | } | |
4426 | { | |
4427 | wxPy_BEGIN_ALLOW_THREADS; | |
714d23b4 | 4428 | _result = (PyObject *)wxPyShape_GetClientData(_arg0); |
e91a9dfc RD |
4429 | |
4430 | wxPy_END_ALLOW_THREADS; | |
714d23b4 RD |
4431 | }{ |
4432 | _resultobj = _result; | |
4433 | } | |
e91a9dfc RD |
4434 | return _resultobj; |
4435 | } | |
4436 | ||
4437 | #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
4438 | static PyObject *_wrap_wxPyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4439 | PyObject * _resultobj; | |
4440 | wxPyShape * _arg0; | |
4441 | bool _arg1; | |
4442 | PyObject * _argo0 = 0; | |
4443 | int tempbool1; | |
4444 | char *_kwnames[] = { "self","show", NULL }; | |
4445 | ||
4446 | self = self; | |
4447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_Show",_kwnames,&_argo0,&tempbool1)) | |
4448 | return NULL; | |
4449 | if (_argo0) { | |
4450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Show. Expected _wxPyShape_p."); | |
4453 | return NULL; | |
4454 | } | |
4455 | } | |
4456 | _arg1 = (bool ) tempbool1; | |
4457 | { | |
4458 | wxPy_BEGIN_ALLOW_THREADS; | |
4459 | wxPyShape_Show(_arg0,_arg1); | |
4460 | ||
4461 | wxPy_END_ALLOW_THREADS; | |
4462 | } Py_INCREF(Py_None); | |
4463 | _resultobj = Py_None; | |
4464 | return _resultobj; | |
4465 | } | |
4466 | ||
4467 | #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown()) | |
4468 | static PyObject *_wrap_wxPyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4469 | PyObject * _resultobj; | |
4470 | bool _result; | |
4471 | wxPyShape * _arg0; | |
4472 | PyObject * _argo0 = 0; | |
4473 | char *_kwnames[] = { "self", NULL }; | |
4474 | ||
4475 | self = self; | |
4476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsShown",_kwnames,&_argo0)) | |
4477 | return NULL; | |
4478 | if (_argo0) { | |
4479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p."); | |
4482 | return NULL; | |
4483 | } | |
4484 | } | |
4485 | { | |
4486 | wxPy_BEGIN_ALLOW_THREADS; | |
4487 | _result = (bool )wxPyShape_IsShown(_arg0); | |
4488 | ||
4489 | wxPy_END_ALLOW_THREADS; | |
4490 | } _resultobj = Py_BuildValue("i",_result); | |
4491 | return _resultobj; | |
4492 | } | |
4493 | ||
4494 | #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4495 | static PyObject *_wrap_wxPyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4496 | PyObject * _resultobj; | |
4497 | wxPyShape * _arg0; | |
4498 | wxDC * _arg1; | |
4499 | double _arg2; | |
4500 | double _arg3; | |
4501 | bool _arg4 = (bool ) TRUE; | |
4502 | PyObject * _argo0 = 0; | |
4503 | PyObject * _argo1 = 0; | |
4504 | int tempbool4 = (int) TRUE; | |
4505 | char *_kwnames[] = { "self","dc","x1","y1","display", NULL }; | |
4506 | ||
4507 | self = self; | |
4508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|i:wxPyShape_Move",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&tempbool4)) | |
4509 | return NULL; | |
4510 | if (_argo0) { | |
4511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p."); | |
4514 | return NULL; | |
4515 | } | |
4516 | } | |
4517 | if (_argo1) { | |
4518 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4519 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p."); | |
4521 | return NULL; | |
4522 | } | |
4523 | } | |
4524 | _arg4 = (bool ) tempbool4; | |
4525 | { | |
4526 | wxPy_BEGIN_ALLOW_THREADS; | |
4527 | wxPyShape_Move(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
4528 | ||
4529 | wxPy_END_ALLOW_THREADS; | |
4530 | } Py_INCREF(Py_None); | |
4531 | _resultobj = Py_None; | |
4532 | return _resultobj; | |
4533 | } | |
4534 | ||
4535 | #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0)) | |
4536 | static PyObject *_wrap_wxPyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4537 | PyObject * _resultobj; | |
4538 | wxPyShape * _arg0; | |
4539 | wxDC * _arg1; | |
4540 | PyObject * _argo0 = 0; | |
4541 | PyObject * _argo1 = 0; | |
4542 | char *_kwnames[] = { "self","dc", NULL }; | |
4543 | ||
4544 | self = self; | |
4545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Erase",_kwnames,&_argo0,&_argo1)) | |
4546 | return NULL; | |
4547 | if (_argo0) { | |
4548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p."); | |
4551 | return NULL; | |
4552 | } | |
4553 | } | |
4554 | if (_argo1) { | |
4555 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4556 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p."); | |
4558 | return NULL; | |
4559 | } | |
4560 | } | |
4561 | { | |
4562 | wxPy_BEGIN_ALLOW_THREADS; | |
4563 | wxPyShape_Erase(_arg0,*_arg1); | |
4564 | ||
4565 | wxPy_END_ALLOW_THREADS; | |
4566 | } Py_INCREF(Py_None); | |
4567 | _resultobj = Py_None; | |
4568 | return _resultobj; | |
4569 | } | |
4570 | ||
4571 | #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0)) | |
4572 | static PyObject *_wrap_wxPyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4573 | PyObject * _resultobj; | |
4574 | wxPyShape * _arg0; | |
4575 | wxDC * _arg1; | |
4576 | PyObject * _argo0 = 0; | |
4577 | PyObject * _argo1 = 0; | |
4578 | char *_kwnames[] = { "self","dc", NULL }; | |
4579 | ||
4580 | self = self; | |
4581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_EraseContents",_kwnames,&_argo0,&_argo1)) | |
4582 | return NULL; | |
4583 | if (_argo0) { | |
4584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p."); | |
4587 | return NULL; | |
4588 | } | |
4589 | } | |
4590 | if (_argo1) { | |
4591 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4592 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p."); | |
4594 | return NULL; | |
4595 | } | |
4596 | } | |
4597 | { | |
4598 | wxPy_BEGIN_ALLOW_THREADS; | |
4599 | wxPyShape_EraseContents(_arg0,*_arg1); | |
4600 | ||
4601 | wxPy_END_ALLOW_THREADS; | |
4602 | } Py_INCREF(Py_None); | |
4603 | _resultobj = Py_None; | |
4604 | return _resultobj; | |
4605 | } | |
4606 | ||
4607 | #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0)) | |
4608 | static PyObject *_wrap_wxPyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4609 | PyObject * _resultobj; | |
4610 | wxPyShape * _arg0; | |
4611 | wxDC * _arg1; | |
4612 | PyObject * _argo0 = 0; | |
4613 | PyObject * _argo1 = 0; | |
4614 | char *_kwnames[] = { "self","dc", NULL }; | |
4615 | ||
4616 | self = self; | |
4617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Draw",_kwnames,&_argo0,&_argo1)) | |
4618 | return NULL; | |
4619 | if (_argo0) { | |
4620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p."); | |
4623 | return NULL; | |
4624 | } | |
4625 | } | |
4626 | if (_argo1) { | |
4627 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4628 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p."); | |
4630 | return NULL; | |
4631 | } | |
4632 | } | |
4633 | { | |
4634 | wxPy_BEGIN_ALLOW_THREADS; | |
4635 | wxPyShape_Draw(_arg0,*_arg1); | |
4636 | ||
4637 | wxPy_END_ALLOW_THREADS; | |
4638 | } Py_INCREF(Py_None); | |
4639 | _resultobj = Py_None; | |
4640 | return _resultobj; | |
4641 | } | |
4642 | ||
4643 | #define wxPyShape_Flash(_swigobj) (_swigobj->Flash()) | |
4644 | static PyObject *_wrap_wxPyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4645 | PyObject * _resultobj; | |
4646 | wxPyShape * _arg0; | |
4647 | PyObject * _argo0 = 0; | |
4648 | char *_kwnames[] = { "self", NULL }; | |
4649 | ||
4650 | self = self; | |
4651 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Flash",_kwnames,&_argo0)) | |
4652 | return NULL; | |
4653 | if (_argo0) { | |
4654 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4655 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4656 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Flash. Expected _wxPyShape_p."); | |
4657 | return NULL; | |
4658 | } | |
4659 | } | |
4660 | { | |
4661 | wxPy_BEGIN_ALLOW_THREADS; | |
4662 | wxPyShape_Flash(_arg0); | |
4663 | ||
4664 | wxPy_END_ALLOW_THREADS; | |
4665 | } Py_INCREF(Py_None); | |
4666 | _resultobj = Py_None; | |
4667 | return _resultobj; | |
4668 | } | |
4669 | ||
4670 | #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0)) | |
4671 | static PyObject *_wrap_wxPyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4672 | PyObject * _resultobj; | |
4673 | wxPyShape * _arg0; | |
4674 | wxDC * _arg1; | |
4675 | PyObject * _argo0 = 0; | |
4676 | PyObject * _argo1 = 0; | |
4677 | char *_kwnames[] = { "self","dc", NULL }; | |
4678 | ||
4679 | self = self; | |
4680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_MoveLinks",_kwnames,&_argo0,&_argo1)) | |
4681 | return NULL; | |
4682 | if (_argo0) { | |
4683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p."); | |
4686 | return NULL; | |
4687 | } | |
4688 | } | |
4689 | if (_argo1) { | |
4690 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4691 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p."); | |
4693 | return NULL; | |
4694 | } | |
4695 | } | |
4696 | { | |
4697 | wxPy_BEGIN_ALLOW_THREADS; | |
4698 | wxPyShape_MoveLinks(_arg0,*_arg1); | |
4699 | ||
4700 | wxPy_END_ALLOW_THREADS; | |
4701 | } Py_INCREF(Py_None); | |
4702 | _resultobj = Py_None; | |
4703 | return _resultobj; | |
4704 | } | |
4705 | ||
4706 | #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0)) | |
4707 | static PyObject *_wrap_wxPyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4708 | PyObject * _resultobj; | |
4709 | wxPyShape * _arg0; | |
4710 | wxDC * _arg1; | |
4711 | PyObject * _argo0 = 0; | |
4712 | PyObject * _argo1 = 0; | |
4713 | char *_kwnames[] = { "self","dc", NULL }; | |
4714 | ||
4715 | self = self; | |
4716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_DrawContents",_kwnames,&_argo0,&_argo1)) | |
4717 | return NULL; | |
4718 | if (_argo0) { | |
4719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p."); | |
4722 | return NULL; | |
4723 | } | |
4724 | } | |
4725 | if (_argo1) { | |
4726 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4727 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p."); | |
4729 | return NULL; | |
4730 | } | |
4731 | } | |
4732 | { | |
4733 | wxPy_BEGIN_ALLOW_THREADS; | |
4734 | wxPyShape_DrawContents(_arg0,*_arg1); | |
4735 | ||
4736 | wxPy_END_ALLOW_THREADS; | |
4737 | } Py_INCREF(Py_None); | |
4738 | _resultobj = Py_None; | |
4739 | return _resultobj; | |
4740 | } | |
4741 | ||
4742 | #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2)) | |
4743 | static PyObject *_wrap_wxPyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4744 | PyObject * _resultobj; | |
4745 | wxPyShape * _arg0; | |
4746 | double _arg1; | |
4747 | double _arg2; | |
4748 | bool _arg3 = (bool ) TRUE; | |
4749 | PyObject * _argo0 = 0; | |
4750 | int tempbool3 = (int) TRUE; | |
4751 | char *_kwnames[] = { "self","x","y","recursive", NULL }; | |
4752 | ||
4753 | self = self; | |
4754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShape_SetSize",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
4755 | return NULL; | |
4756 | if (_argo0) { | |
4757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p."); | |
4760 | return NULL; | |
4761 | } | |
4762 | } | |
4763 | _arg3 = (bool ) tempbool3; | |
4764 | { | |
4765 | wxPy_BEGIN_ALLOW_THREADS; | |
4766 | wxPyShape_SetSize(_arg0,_arg1,_arg2,_arg3); | |
4767 | ||
4768 | wxPy_END_ALLOW_THREADS; | |
4769 | } Py_INCREF(Py_None); | |
4770 | _resultobj = Py_None; | |
4771 | return _resultobj; | |
4772 | } | |
4773 | ||
4774 | #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1)) | |
4775 | static PyObject *_wrap_wxPyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4776 | PyObject * _resultobj; | |
4777 | wxPyShape * _arg0; | |
4778 | double _arg1; | |
4779 | double _arg2; | |
4780 | PyObject * _argo0 = 0; | |
4781 | char *_kwnames[] = { "self","x","y", NULL }; | |
4782 | ||
4783 | self = self; | |
4784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_SetAttachmentSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4785 | return NULL; | |
4786 | if (_argo0) { | |
4787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentSize. Expected _wxPyShape_p."); | |
4790 | return NULL; | |
4791 | } | |
4792 | } | |
4793 | { | |
4794 | wxPy_BEGIN_ALLOW_THREADS; | |
4795 | wxPyShape_SetAttachmentSize(_arg0,_arg1,_arg2); | |
4796 | ||
4797 | wxPy_END_ALLOW_THREADS; | |
4798 | } Py_INCREF(Py_None); | |
4799 | _resultobj = Py_None; | |
4800 | return _resultobj; | |
4801 | } | |
4802 | ||
4803 | #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0)) | |
4804 | static PyObject *_wrap_wxPyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4805 | PyObject * _resultobj; | |
4806 | wxPyShape * _arg0; | |
4807 | wxPyShapeCanvas * _arg1; | |
4808 | PyObject * _argo0 = 0; | |
4809 | PyObject * _argo1 = 0; | |
4810 | char *_kwnames[] = { "self","can", NULL }; | |
4811 | ||
4812 | self = self; | |
4813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Attach",_kwnames,&_argo0,&_argo1)) | |
4814 | return NULL; | |
4815 | if (_argo0) { | |
4816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p."); | |
4819 | return NULL; | |
4820 | } | |
4821 | } | |
4822 | if (_argo1) { | |
4823 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4824 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
4825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p."); | |
4826 | return NULL; | |
4827 | } | |
4828 | } | |
4829 | { | |
4830 | wxPy_BEGIN_ALLOW_THREADS; | |
4831 | wxPyShape_Attach(_arg0,_arg1); | |
4832 | ||
4833 | wxPy_END_ALLOW_THREADS; | |
4834 | } Py_INCREF(Py_None); | |
4835 | _resultobj = Py_None; | |
4836 | return _resultobj; | |
4837 | } | |
4838 | ||
4839 | #define wxPyShape_Detach(_swigobj) (_swigobj->Detach()) | |
4840 | static PyObject *_wrap_wxPyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4841 | PyObject * _resultobj; | |
4842 | wxPyShape * _arg0; | |
4843 | PyObject * _argo0 = 0; | |
4844 | char *_kwnames[] = { "self", NULL }; | |
4845 | ||
4846 | self = self; | |
4847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Detach",_kwnames,&_argo0)) | |
4848 | return NULL; | |
4849 | if (_argo0) { | |
4850 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4851 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p."); | |
4853 | return NULL; | |
4854 | } | |
4855 | } | |
4856 | { | |
4857 | wxPy_BEGIN_ALLOW_THREADS; | |
4858 | wxPyShape_Detach(_arg0); | |
4859 | ||
4860 | wxPy_END_ALLOW_THREADS; | |
4861 | } Py_INCREF(Py_None); | |
4862 | _resultobj = Py_None; | |
4863 | return _resultobj; | |
4864 | } | |
4865 | ||
4866 | #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain()) | |
4867 | static PyObject *_wrap_wxPyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4868 | PyObject * _resultobj; | |
4869 | bool _result; | |
4870 | wxPyShape * _arg0; | |
4871 | PyObject * _argo0 = 0; | |
4872 | char *_kwnames[] = { "self", NULL }; | |
4873 | ||
4874 | self = self; | |
4875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Constrain",_kwnames,&_argo0)) | |
4876 | return NULL; | |
4877 | if (_argo0) { | |
4878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p."); | |
4881 | return NULL; | |
4882 | } | |
4883 | } | |
4884 | { | |
4885 | wxPy_BEGIN_ALLOW_THREADS; | |
4886 | _result = (bool )wxPyShape_Constrain(_arg0); | |
4887 | ||
4888 | wxPy_END_ALLOW_THREADS; | |
4889 | } _resultobj = Py_BuildValue("i",_result); | |
4890 | return _resultobj; | |
4891 | } | |
4892 | ||
4893 | #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4894 | static PyObject *_wrap_wxPyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4895 | PyObject * _resultobj; | |
4896 | wxPyShape * _arg0; | |
4897 | wxPyLineShape * _arg1; | |
4898 | wxPyShape * _arg2; | |
4899 | int _arg3 = (int ) 0; | |
4900 | int _arg4 = (int ) 0; | |
4901 | int _arg5 = (int ) -1; | |
4902 | int _arg6 = (int ) -1; | |
4903 | PyObject * _argo0 = 0; | |
4904 | PyObject * _argo1 = 0; | |
4905 | PyObject * _argo2 = 0; | |
4906 | char *_kwnames[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL }; | |
4907 | ||
4908 | self = self; | |
4909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiii:wxPyShape_AddLine",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
4910 | return NULL; | |
4911 | if (_argo0) { | |
4912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p."); | |
4915 | return NULL; | |
4916 | } | |
4917 | } | |
4918 | if (_argo1) { | |
4919 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4920 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
4921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p."); | |
4922 | return NULL; | |
4923 | } | |
4924 | } | |
4925 | if (_argo2) { | |
4926 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4927 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
4928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p."); | |
4929 | return NULL; | |
4930 | } | |
4931 | } | |
4932 | { | |
4933 | wxPy_BEGIN_ALLOW_THREADS; | |
4934 | wxPyShape_AddLine(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4935 | ||
4936 | wxPy_END_ALLOW_THREADS; | |
4937 | } Py_INCREF(Py_None); | |
4938 | _resultobj = Py_None; | |
4939 | return _resultobj; | |
4940 | } | |
4941 | ||
4942 | #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0)) | |
4943 | static PyObject *_wrap_wxPyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4944 | PyObject * _resultobj; | |
4945 | int _result; | |
4946 | wxPyShape * _arg0; | |
4947 | wxPyLineShape * _arg1; | |
4948 | PyObject * _argo0 = 0; | |
4949 | PyObject * _argo1 = 0; | |
4950 | char *_kwnames[] = { "self","line", NULL }; | |
4951 | ||
4952 | self = self; | |
4953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetLinePosition",_kwnames,&_argo0,&_argo1)) | |
4954 | return NULL; | |
4955 | if (_argo0) { | |
4956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p."); | |
4959 | return NULL; | |
4960 | } | |
4961 | } | |
4962 | if (_argo1) { | |
4963 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4964 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
4965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p."); | |
4966 | return NULL; | |
4967 | } | |
4968 | } | |
4969 | { | |
4970 | wxPy_BEGIN_ALLOW_THREADS; | |
4971 | _result = (int )wxPyShape_GetLinePosition(_arg0,_arg1); | |
4972 | ||
4973 | wxPy_END_ALLOW_THREADS; | |
4974 | } _resultobj = Py_BuildValue("i",_result); | |
4975 | return _resultobj; | |
4976 | } | |
4977 | ||
4978 | #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) | |
4979 | static PyObject *_wrap_wxPyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4980 | PyObject * _resultobj; | |
4981 | wxPyShape * _arg0; | |
4982 | wxString * _arg1; | |
4983 | PyObject * _argo0 = 0; | |
4984 | PyObject * _obj1 = 0; | |
4985 | char *_kwnames[] = { "self","string", NULL }; | |
4986 | ||
4987 | self = self; | |
4988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddText",_kwnames,&_argo0,&_obj1)) | |
4989 | return NULL; | |
4990 | if (_argo0) { | |
4991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p."); | |
4994 | return NULL; | |
4995 | } | |
4996 | } | |
4997 | { | |
185d7c3e RD |
4998 | #if PYTHON_API_VERSION >= 1009 |
4999 | char* tmpPtr; int tmpSize; | |
5000 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5001 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5002 | return NULL; | |
5003 | } | |
5004 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5005 | return NULL; | |
5006 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5007 | #else | |
e91a9dfc RD |
5008 | if (!PyString_Check(_obj1)) { |
5009 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5010 | return NULL; | |
5011 | } | |
185d7c3e RD |
5012 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5013 | #endif | |
e91a9dfc RD |
5014 | } |
5015 | { | |
5016 | wxPy_BEGIN_ALLOW_THREADS; | |
5017 | wxPyShape_AddText(_arg0,*_arg1); | |
5018 | ||
5019 | wxPy_END_ALLOW_THREADS; | |
5020 | } Py_INCREF(Py_None); | |
5021 | _resultobj = Py_None; | |
5022 | { | |
5023 | if (_obj1) | |
5024 | delete _arg1; | |
5025 | } | |
5026 | return _resultobj; | |
5027 | } | |
5028 | ||
5029 | #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen()) | |
5030 | static PyObject *_wrap_wxPyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5031 | PyObject * _resultobj; | |
5032 | wxPen * _result; | |
5033 | wxPyShape * _arg0; | |
5034 | PyObject * _argo0 = 0; | |
5035 | char *_kwnames[] = { "self", NULL }; | |
5036 | char _ptemp[128]; | |
5037 | ||
5038 | self = self; | |
5039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetPen",_kwnames,&_argo0)) | |
5040 | return NULL; | |
5041 | if (_argo0) { | |
5042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p."); | |
5045 | return NULL; | |
5046 | } | |
5047 | } | |
5048 | { | |
5049 | wxPy_BEGIN_ALLOW_THREADS; | |
5050 | _result = (wxPen *)wxPyShape_GetPen(_arg0); | |
5051 | ||
5052 | wxPy_END_ALLOW_THREADS; | |
5053 | } if (_result) { | |
5054 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
5055 | _resultobj = Py_BuildValue("s",_ptemp); | |
5056 | } else { | |
5057 | Py_INCREF(Py_None); | |
5058 | _resultobj = Py_None; | |
5059 | } | |
5060 | return _resultobj; | |
5061 | } | |
5062 | ||
5063 | #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush()) | |
5064 | static PyObject *_wrap_wxPyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5065 | PyObject * _resultobj; | |
5066 | wxBrush * _result; | |
5067 | wxPyShape * _arg0; | |
5068 | PyObject * _argo0 = 0; | |
5069 | char *_kwnames[] = { "self", NULL }; | |
5070 | char _ptemp[128]; | |
5071 | ||
5072 | self = self; | |
5073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBrush",_kwnames,&_argo0)) | |
5074 | return NULL; | |
5075 | if (_argo0) { | |
5076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p."); | |
5079 | return NULL; | |
5080 | } | |
5081 | } | |
5082 | { | |
5083 | wxPy_BEGIN_ALLOW_THREADS; | |
5084 | _result = (wxBrush *)wxPyShape_GetBrush(_arg0); | |
5085 | ||
5086 | wxPy_END_ALLOW_THREADS; | |
5087 | } if (_result) { | |
5088 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
5089 | _resultobj = Py_BuildValue("s",_ptemp); | |
5090 | } else { | |
5091 | Py_INCREF(Py_None); | |
5092 | _resultobj = Py_None; | |
5093 | } | |
5094 | return _resultobj; | |
5095 | } | |
5096 | ||
5097 | #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize()) | |
5098 | static PyObject *_wrap_wxPyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5099 | PyObject * _resultobj; | |
5100 | wxPyShape * _arg0; | |
5101 | PyObject * _argo0 = 0; | |
5102 | char *_kwnames[] = { "self", NULL }; | |
5103 | ||
5104 | self = self; | |
5105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_SetDefaultRegionSize",_kwnames,&_argo0)) | |
5106 | return NULL; | |
5107 | if (_argo0) { | |
5108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p."); | |
5111 | return NULL; | |
5112 | } | |
5113 | } | |
5114 | { | |
5115 | wxPy_BEGIN_ALLOW_THREADS; | |
5116 | wxPyShape_SetDefaultRegionSize(_arg0); | |
5117 | ||
5118 | wxPy_END_ALLOW_THREADS; | |
5119 | } Py_INCREF(Py_None); | |
5120 | _resultobj = Py_None; | |
5121 | return _resultobj; | |
5122 | } | |
5123 | ||
5124 | #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2)) | |
5125 | static PyObject *_wrap_wxPyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5126 | PyObject * _resultobj; | |
5127 | wxPyShape * _arg0; | |
5128 | wxDC * _arg1; | |
5129 | wxString * _arg2; | |
5130 | int _arg3 = (int ) 0; | |
5131 | PyObject * _argo0 = 0; | |
5132 | PyObject * _argo1 = 0; | |
5133 | PyObject * _obj2 = 0; | |
5134 | char *_kwnames[] = { "self","dc","s","regionId", NULL }; | |
5135 | ||
5136 | self = self; | |
5137 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyShape_FormatText",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3)) | |
5138 | return NULL; | |
5139 | if (_argo0) { | |
5140 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5141 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p."); | |
5143 | return NULL; | |
5144 | } | |
5145 | } | |
5146 | if (_argo1) { | |
5147 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5148 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p."); | |
5150 | return NULL; | |
5151 | } | |
5152 | } | |
5153 | { | |
185d7c3e RD |
5154 | #if PYTHON_API_VERSION >= 1009 |
5155 | char* tmpPtr; int tmpSize; | |
5156 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
5157 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5158 | return NULL; | |
5159 | } | |
5160 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
5161 | return NULL; | |
5162 | _arg2 = new wxString(tmpPtr, tmpSize); | |
5163 | #else | |
e91a9dfc RD |
5164 | if (!PyString_Check(_obj2)) { |
5165 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5166 | return NULL; | |
5167 | } | |
185d7c3e RD |
5168 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
5169 | #endif | |
e91a9dfc RD |
5170 | } |
5171 | { | |
5172 | wxPy_BEGIN_ALLOW_THREADS; | |
5173 | wxPyShape_FormatText(_arg0,*_arg1,*_arg2,_arg3); | |
5174 | ||
5175 | wxPy_END_ALLOW_THREADS; | |
5176 | } Py_INCREF(Py_None); | |
5177 | _resultobj = Py_None; | |
5178 | { | |
5179 | if (_obj2) | |
5180 | delete _arg2; | |
5181 | } | |
5182 | return _resultobj; | |
5183 | } | |
5184 | ||
5185 | #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1)) | |
5186 | static PyObject *_wrap_wxPyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5187 | PyObject * _resultobj; | |
5188 | wxPyShape * _arg0; | |
5189 | int _arg1; | |
5190 | int _arg2 = (int ) 0; | |
5191 | PyObject * _argo0 = 0; | |
5192 | char *_kwnames[] = { "self","mode","regionId", NULL }; | |
5193 | ||
5194 | self = self; | |
5195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetFormatMode",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5196 | return NULL; | |
5197 | if (_argo0) { | |
5198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFormatMode. Expected _wxPyShape_p."); | |
5201 | return NULL; | |
5202 | } | |
5203 | } | |
5204 | { | |
5205 | wxPy_BEGIN_ALLOW_THREADS; | |
5206 | wxPyShape_SetFormatMode(_arg0,_arg1,_arg2); | |
5207 | ||
5208 | wxPy_END_ALLOW_THREADS; | |
5209 | } Py_INCREF(Py_None); | |
5210 | _resultobj = Py_None; | |
5211 | return _resultobj; | |
5212 | } | |
5213 | ||
5214 | #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0)) | |
5215 | static PyObject *_wrap_wxPyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5216 | PyObject * _resultobj; | |
5217 | int _result; | |
5218 | wxPyShape * _arg0; | |
5219 | int _arg1 = (int ) 0; | |
5220 | PyObject * _argo0 = 0; | |
5221 | char *_kwnames[] = { "self","regionId", NULL }; | |
5222 | ||
5223 | self = self; | |
5224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFormatMode",_kwnames,&_argo0,&_arg1)) | |
5225 | return NULL; | |
5226 | if (_argo0) { | |
5227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFormatMode. Expected _wxPyShape_p."); | |
5230 | return NULL; | |
5231 | } | |
5232 | } | |
5233 | { | |
5234 | wxPy_BEGIN_ALLOW_THREADS; | |
5235 | _result = (int )wxPyShape_GetFormatMode(_arg0,_arg1); | |
5236 | ||
5237 | wxPy_END_ALLOW_THREADS; | |
5238 | } _resultobj = Py_BuildValue("i",_result); | |
5239 | return _resultobj; | |
5240 | } | |
5241 | ||
5242 | #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1)) | |
5243 | static PyObject *_wrap_wxPyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5244 | PyObject * _resultobj; | |
5245 | wxPyShape * _arg0; | |
5246 | wxFont * _arg1; | |
5247 | int _arg2 = (int ) 0; | |
5248 | PyObject * _argo0 = 0; | |
5249 | PyObject * _argo1 = 0; | |
5250 | char *_kwnames[] = { "self","font","regionId", NULL }; | |
5251 | ||
5252 | self = self; | |
5253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetFont",_kwnames,&_argo0,&_argo1,&_arg2)) | |
5254 | return NULL; | |
5255 | if (_argo0) { | |
5256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p."); | |
5259 | return NULL; | |
5260 | } | |
5261 | } | |
5262 | if (_argo1) { | |
5263 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5264 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
5265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetFont. Expected _wxFont_p."); | |
5266 | return NULL; | |
5267 | } | |
5268 | } | |
5269 | { | |
5270 | wxPy_BEGIN_ALLOW_THREADS; | |
5271 | wxPyShape_SetFont(_arg0,_arg1,_arg2); | |
5272 | ||
5273 | wxPy_END_ALLOW_THREADS; | |
5274 | } Py_INCREF(Py_None); | |
5275 | _resultobj = Py_None; | |
5276 | return _resultobj; | |
5277 | } | |
5278 | ||
5279 | #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0)) | |
5280 | static PyObject *_wrap_wxPyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5281 | PyObject * _resultobj; | |
5282 | wxFont * _result; | |
5283 | wxPyShape * _arg0; | |
5284 | int _arg1 = (int ) 0; | |
5285 | PyObject * _argo0 = 0; | |
5286 | char *_kwnames[] = { "self","regionId", NULL }; | |
5287 | char _ptemp[128]; | |
5288 | ||
5289 | self = self; | |
5290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFont",_kwnames,&_argo0,&_arg1)) | |
5291 | return NULL; | |
5292 | if (_argo0) { | |
5293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p."); | |
5296 | return NULL; | |
5297 | } | |
5298 | } | |
5299 | { | |
5300 | wxPy_BEGIN_ALLOW_THREADS; | |
5301 | _result = (wxFont *)wxPyShape_GetFont(_arg0,_arg1); | |
5302 | ||
5303 | wxPy_END_ALLOW_THREADS; | |
5304 | } if (_result) { | |
5305 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
5306 | _resultobj = Py_BuildValue("s",_ptemp); | |
5307 | } else { | |
5308 | Py_INCREF(Py_None); | |
5309 | _resultobj = Py_None; | |
5310 | } | |
5311 | return _resultobj; | |
5312 | } | |
5313 | ||
5314 | #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1)) | |
5315 | static PyObject *_wrap_wxPyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5316 | PyObject * _resultobj; | |
5317 | wxPyShape * _arg0; | |
5318 | wxString * _arg1; | |
5319 | int _arg2 = (int ) 0; | |
5320 | PyObject * _argo0 = 0; | |
5321 | PyObject * _obj1 = 0; | |
5322 | char *_kwnames[] = { "self","colour","regionId", NULL }; | |
5323 | ||
5324 | self = self; | |
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetTextColour",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5326 | return NULL; | |
5327 | if (_argo0) { | |
5328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p."); | |
5331 | return NULL; | |
5332 | } | |
5333 | } | |
5334 | { | |
185d7c3e RD |
5335 | #if PYTHON_API_VERSION >= 1009 |
5336 | char* tmpPtr; int tmpSize; | |
5337 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5338 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5339 | return NULL; | |
5340 | } | |
5341 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5342 | return NULL; | |
5343 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5344 | #else | |
e91a9dfc RD |
5345 | if (!PyString_Check(_obj1)) { |
5346 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5347 | return NULL; | |
5348 | } | |
185d7c3e RD |
5349 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5350 | #endif | |
e91a9dfc RD |
5351 | } |
5352 | { | |
5353 | wxPy_BEGIN_ALLOW_THREADS; | |
5354 | wxPyShape_SetTextColour(_arg0,*_arg1,_arg2); | |
5355 | ||
5356 | wxPy_END_ALLOW_THREADS; | |
5357 | } Py_INCREF(Py_None); | |
5358 | _resultobj = Py_None; | |
5359 | { | |
5360 | if (_obj1) | |
5361 | delete _arg1; | |
5362 | } | |
5363 | return _resultobj; | |
5364 | } | |
5365 | ||
5366 | #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0)) | |
5367 | static PyObject *_wrap_wxPyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5368 | PyObject * _resultobj; | |
5369 | wxString * _result; | |
5370 | wxPyShape * _arg0; | |
5371 | int _arg1 = (int ) 0; | |
5372 | PyObject * _argo0 = 0; | |
5373 | char *_kwnames[] = { "self","regionId", NULL }; | |
5374 | ||
5375 | self = self; | |
5376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetTextColour",_kwnames,&_argo0,&_arg1)) | |
5377 | return NULL; | |
5378 | if (_argo0) { | |
5379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p."); | |
5382 | return NULL; | |
5383 | } | |
5384 | } | |
5385 | { | |
5386 | wxPy_BEGIN_ALLOW_THREADS; | |
5387 | _result = new wxString (wxPyShape_GetTextColour(_arg0,_arg1)); | |
5388 | ||
5389 | wxPy_END_ALLOW_THREADS; | |
5390 | }{ | |
714d23b4 | 5391 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
5392 | } |
5393 | { | |
5394 | delete _result; | |
5395 | } | |
5396 | return _resultobj; | |
5397 | } | |
5398 | ||
5399 | #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions()) | |
5400 | static PyObject *_wrap_wxPyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5401 | PyObject * _resultobj; | |
5402 | int _result; | |
5403 | wxPyShape * _arg0; | |
5404 | PyObject * _argo0 = 0; | |
5405 | char *_kwnames[] = { "self", NULL }; | |
5406 | ||
5407 | self = self; | |
5408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfTextRegions",_kwnames,&_argo0)) | |
5409 | return NULL; | |
5410 | if (_argo0) { | |
5411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p."); | |
5414 | return NULL; | |
5415 | } | |
5416 | } | |
5417 | { | |
5418 | wxPy_BEGIN_ALLOW_THREADS; | |
5419 | _result = (int )wxPyShape_GetNumberOfTextRegions(_arg0); | |
5420 | ||
5421 | wxPy_END_ALLOW_THREADS; | |
5422 | } _resultobj = Py_BuildValue("i",_result); | |
5423 | return _resultobj; | |
5424 | } | |
5425 | ||
5426 | #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1)) | |
5427 | static PyObject *_wrap_wxPyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5428 | PyObject * _resultobj; | |
5429 | wxPyShape * _arg0; | |
5430 | wxString * _arg1; | |
5431 | int _arg2 = (int ) 0; | |
5432 | PyObject * _argo0 = 0; | |
5433 | PyObject * _obj1 = 0; | |
5434 | char *_kwnames[] = { "self","name","regionId", NULL }; | |
5435 | ||
5436 | self = self; | |
5437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetRegionName",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5438 | return NULL; | |
5439 | if (_argo0) { | |
5440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p."); | |
5443 | return NULL; | |
5444 | } | |
5445 | } | |
5446 | { | |
185d7c3e RD |
5447 | #if PYTHON_API_VERSION >= 1009 |
5448 | char* tmpPtr; int tmpSize; | |
5449 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5450 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5451 | return NULL; | |
5452 | } | |
5453 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5454 | return NULL; | |
5455 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5456 | #else | |
e91a9dfc RD |
5457 | if (!PyString_Check(_obj1)) { |
5458 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5459 | return NULL; | |
5460 | } | |
185d7c3e RD |
5461 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5462 | #endif | |
e91a9dfc RD |
5463 | } |
5464 | { | |
5465 | wxPy_BEGIN_ALLOW_THREADS; | |
5466 | wxPyShape_SetRegionName(_arg0,*_arg1,_arg2); | |
5467 | ||
5468 | wxPy_END_ALLOW_THREADS; | |
5469 | } Py_INCREF(Py_None); | |
5470 | _resultobj = Py_None; | |
5471 | { | |
5472 | if (_obj1) | |
5473 | delete _arg1; | |
5474 | } | |
5475 | return _resultobj; | |
5476 | } | |
5477 | ||
5478 | #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0)) | |
5479 | static PyObject *_wrap_wxPyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5480 | PyObject * _resultobj; | |
5481 | wxString * _result; | |
5482 | wxPyShape * _arg0; | |
5483 | int _arg1; | |
5484 | PyObject * _argo0 = 0; | |
5485 | char *_kwnames[] = { "self","regionId", NULL }; | |
5486 | ||
5487 | self = self; | |
5488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetRegionName",_kwnames,&_argo0,&_arg1)) | |
5489 | return NULL; | |
5490 | if (_argo0) { | |
5491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p."); | |
5494 | return NULL; | |
5495 | } | |
5496 | } | |
5497 | { | |
5498 | wxPy_BEGIN_ALLOW_THREADS; | |
5499 | _result = new wxString (wxPyShape_GetRegionName(_arg0,_arg1)); | |
5500 | ||
5501 | wxPy_END_ALLOW_THREADS; | |
5502 | }{ | |
714d23b4 | 5503 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
5504 | } |
5505 | { | |
5506 | delete _result; | |
5507 | } | |
5508 | return _resultobj; | |
5509 | } | |
5510 | ||
5511 | #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0)) | |
5512 | static PyObject *_wrap_wxPyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5513 | PyObject * _resultobj; | |
5514 | int _result; | |
5515 | wxPyShape * _arg0; | |
5516 | wxString * _arg1; | |
5517 | PyObject * _argo0 = 0; | |
5518 | PyObject * _obj1 = 0; | |
5519 | char *_kwnames[] = { "self","name", NULL }; | |
5520 | ||
5521 | self = self; | |
5522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetRegionId",_kwnames,&_argo0,&_obj1)) | |
5523 | return NULL; | |
5524 | if (_argo0) { | |
5525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p."); | |
5528 | return NULL; | |
5529 | } | |
5530 | } | |
5531 | { | |
185d7c3e RD |
5532 | #if PYTHON_API_VERSION >= 1009 |
5533 | char* tmpPtr; int tmpSize; | |
5534 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5535 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5536 | return NULL; | |
5537 | } | |
5538 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5539 | return NULL; | |
5540 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5541 | #else | |
e91a9dfc RD |
5542 | if (!PyString_Check(_obj1)) { |
5543 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5544 | return NULL; | |
5545 | } | |
185d7c3e RD |
5546 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5547 | #endif | |
e91a9dfc RD |
5548 | } |
5549 | { | |
5550 | wxPy_BEGIN_ALLOW_THREADS; | |
5551 | _result = (int )wxPyShape_GetRegionId(_arg0,*_arg1); | |
5552 | ||
5553 | wxPy_END_ALLOW_THREADS; | |
5554 | } _resultobj = Py_BuildValue("i",_result); | |
5555 | { | |
5556 | if (_obj1) | |
5557 | delete _arg1; | |
5558 | } | |
5559 | return _resultobj; | |
5560 | } | |
5561 | ||
5562 | #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0)) | |
5563 | static PyObject *_wrap_wxPyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5564 | PyObject * _resultobj; | |
5565 | wxPyShape * _arg0; | |
5566 | wxString * _arg1 = (wxString *) &""; | |
5567 | PyObject * _argo0 = 0; | |
5568 | PyObject * _obj1 = 0; | |
5569 | char *_kwnames[] = { "self","parentName", NULL }; | |
5570 | ||
5571 | self = self; | |
5572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_NameRegions",_kwnames,&_argo0,&_obj1)) | |
5573 | return NULL; | |
5574 | if (_argo0) { | |
5575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p."); | |
5578 | return NULL; | |
5579 | } | |
5580 | } | |
5581 | if (_obj1) | |
5582 | { | |
185d7c3e RD |
5583 | #if PYTHON_API_VERSION >= 1009 |
5584 | char* tmpPtr; int tmpSize; | |
5585 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5586 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5587 | return NULL; | |
5588 | } | |
5589 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5590 | return NULL; | |
5591 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5592 | #else | |
e91a9dfc RD |
5593 | if (!PyString_Check(_obj1)) { |
5594 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5595 | return NULL; | |
5596 | } | |
185d7c3e RD |
5597 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5598 | #endif | |
e91a9dfc RD |
5599 | } |
5600 | { | |
5601 | wxPy_BEGIN_ALLOW_THREADS; | |
5602 | wxPyShape_NameRegions(_arg0,*_arg1); | |
5603 | ||
5604 | wxPy_END_ALLOW_THREADS; | |
5605 | } Py_INCREF(Py_None); | |
5606 | _resultobj = Py_None; | |
5607 | { | |
5608 | if (_obj1) | |
5609 | delete _arg1; | |
5610 | } | |
5611 | return _resultobj; | |
5612 | } | |
5613 | ||
5614 | static PyObject * wxPyShape_GetRegions(wxPyShape *self) { | |
5615 | wxList& list = self->GetRegions(); | |
5616 | return wxPy_ConvertList(&list, "wxShapeRegion"); | |
5617 | } | |
5618 | static PyObject *_wrap_wxPyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5619 | PyObject * _resultobj; | |
5620 | PyObject * _result; | |
5621 | wxPyShape * _arg0; | |
5622 | PyObject * _argo0 = 0; | |
5623 | char *_kwnames[] = { "self", NULL }; | |
5624 | ||
5625 | self = self; | |
5626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRegions",_kwnames,&_argo0)) | |
5627 | return NULL; | |
5628 | if (_argo0) { | |
5629 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5630 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p."); | |
5632 | return NULL; | |
5633 | } | |
5634 | } | |
5635 | { | |
5636 | wxPy_BEGIN_ALLOW_THREADS; | |
5637 | _result = (PyObject *)wxPyShape_GetRegions(_arg0); | |
5638 | ||
5639 | wxPy_END_ALLOW_THREADS; | |
5640 | }{ | |
5641 | _resultobj = _result; | |
5642 | } | |
5643 | return _resultobj; | |
5644 | } | |
5645 | ||
5646 | #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0)) | |
5647 | static PyObject *_wrap_wxPyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5648 | PyObject * _resultobj; | |
5649 | wxPyShape * _arg0; | |
5650 | wxShapeRegion * _arg1; | |
5651 | PyObject * _argo0 = 0; | |
5652 | PyObject * _argo1 = 0; | |
5653 | char *_kwnames[] = { "self","region", NULL }; | |
5654 | ||
5655 | self = self; | |
5656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddRegion",_kwnames,&_argo0,&_argo1)) | |
5657 | return NULL; | |
5658 | if (_argo0) { | |
5659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p."); | |
5662 | return NULL; | |
5663 | } | |
5664 | } | |
5665 | if (_argo1) { | |
5666 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5667 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxShapeRegion_p")) { | |
5668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p."); | |
5669 | return NULL; | |
5670 | } | |
5671 | } | |
5672 | { | |
5673 | wxPy_BEGIN_ALLOW_THREADS; | |
5674 | wxPyShape_AddRegion(_arg0,_arg1); | |
5675 | ||
5676 | wxPy_END_ALLOW_THREADS; | |
5677 | } Py_INCREF(Py_None); | |
5678 | _resultobj = Py_None; | |
5679 | return _resultobj; | |
5680 | } | |
5681 | ||
5682 | #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions()) | |
5683 | static PyObject *_wrap_wxPyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5684 | PyObject * _resultobj; | |
5685 | wxPyShape * _arg0; | |
5686 | PyObject * _argo0 = 0; | |
5687 | char *_kwnames[] = { "self", NULL }; | |
5688 | ||
5689 | self = self; | |
5690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearRegions",_kwnames,&_argo0)) | |
5691 | return NULL; | |
5692 | if (_argo0) { | |
5693 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5694 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p."); | |
5696 | return NULL; | |
5697 | } | |
5698 | } | |
5699 | { | |
5700 | wxPy_BEGIN_ALLOW_THREADS; | |
5701 | wxPyShape_ClearRegions(_arg0); | |
5702 | ||
5703 | wxPy_END_ALLOW_THREADS; | |
5704 | } Py_INCREF(Py_None); | |
5705 | _resultobj = Py_None; | |
5706 | return _resultobj; | |
5707 | } | |
5708 | ||
5709 | #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds()) | |
5710 | static PyObject *_wrap_wxPyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5711 | PyObject * _resultobj; | |
5712 | wxPyShape * _arg0; | |
5713 | PyObject * _argo0 = 0; | |
5714 | char *_kwnames[] = { "self", NULL }; | |
5715 | ||
5716 | self = self; | |
5717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AssignNewIds",_kwnames,&_argo0)) | |
5718 | return NULL; | |
5719 | if (_argo0) { | |
5720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p."); | |
5723 | return NULL; | |
5724 | } | |
5725 | } | |
5726 | { | |
5727 | wxPy_BEGIN_ALLOW_THREADS; | |
5728 | wxPyShape_AssignNewIds(_arg0); | |
5729 | ||
5730 | wxPy_END_ALLOW_THREADS; | |
5731 | } Py_INCREF(Py_None); | |
5732 | _resultobj = Py_None; | |
5733 | return _resultobj; | |
5734 | } | |
5735 | ||
5736 | #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1)) | |
5737 | static PyObject *_wrap_wxPyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5738 | PyObject * _resultobj; | |
5739 | wxPyShape * _result; | |
5740 | wxPyShape * _arg0; | |
5741 | wxString * _arg1; | |
5742 | int * _arg2; | |
f6bcfd97 | 5743 | int temp; |
e91a9dfc RD |
5744 | PyObject * _argo0 = 0; |
5745 | PyObject * _obj1 = 0; | |
f6bcfd97 | 5746 | char *_kwnames[] = { "self","regionName", NULL }; |
e91a9dfc RD |
5747 | char _ptemp[128]; |
5748 | ||
5749 | self = self; | |
f6bcfd97 BP |
5750 | { |
5751 | _arg2 = &temp; | |
5752 | } | |
5753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegion",_kwnames,&_argo0,&_obj1)) | |
e91a9dfc RD |
5754 | return NULL; |
5755 | if (_argo0) { | |
5756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p."); | |
5759 | return NULL; | |
5760 | } | |
5761 | } | |
5762 | { | |
185d7c3e RD |
5763 | #if PYTHON_API_VERSION >= 1009 |
5764 | char* tmpPtr; int tmpSize; | |
5765 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5766 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5767 | return NULL; | |
5768 | } | |
5769 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5770 | return NULL; | |
5771 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5772 | #else | |
e91a9dfc RD |
5773 | if (!PyString_Check(_obj1)) { |
5774 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5775 | return NULL; | |
5776 | } | |
185d7c3e RD |
5777 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5778 | #endif | |
e91a9dfc | 5779 | } |
e91a9dfc RD |
5780 | { |
5781 | wxPy_BEGIN_ALLOW_THREADS; | |
5782 | _result = (wxPyShape *)wxPyShape_FindRegion(_arg0,*_arg1,_arg2); | |
5783 | ||
5784 | wxPy_END_ALLOW_THREADS; | |
5785 | } if (_result) { | |
5786 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
5787 | _resultobj = Py_BuildValue("s",_ptemp); | |
5788 | } else { | |
5789 | Py_INCREF(Py_None); | |
5790 | _resultobj = Py_None; | |
5791 | } | |
f6bcfd97 BP |
5792 | { |
5793 | PyObject *o; | |
5794 | o = PyInt_FromLong((long) (*_arg2)); | |
5795 | _resultobj = t_output_helper(_resultobj, o); | |
5796 | } | |
e91a9dfc RD |
5797 | { |
5798 | if (_obj1) | |
5799 | delete _arg1; | |
5800 | } | |
5801 | return _resultobj; | |
5802 | } | |
5803 | ||
5804 | #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0)) | |
5805 | static PyObject *_wrap_wxPyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5806 | PyObject * _resultobj; | |
5807 | wxPyShape * _arg0; | |
5808 | wxStringList * _arg1; | |
5809 | PyObject * _argo0 = 0; | |
5810 | PyObject * _argo1 = 0; | |
5811 | char *_kwnames[] = { "self","list", NULL }; | |
5812 | ||
5813 | self = self; | |
5814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegionNames",_kwnames,&_argo0,&_argo1)) | |
5815 | return NULL; | |
5816 | if (_argo0) { | |
5817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p."); | |
5820 | return NULL; | |
5821 | } | |
5822 | } | |
5823 | if (_argo1) { | |
5824 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5825 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStringList_p")) { | |
5826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p."); | |
5827 | return NULL; | |
5828 | } | |
5829 | } | |
5830 | { | |
5831 | wxPy_BEGIN_ALLOW_THREADS; | |
5832 | wxPyShape_FindRegionNames(_arg0,*_arg1); | |
5833 | ||
5834 | wxPy_END_ALLOW_THREADS; | |
5835 | } Py_INCREF(Py_None); | |
5836 | _resultobj = Py_None; | |
5837 | return _resultobj; | |
5838 | } | |
5839 | ||
5840 | #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0)) | |
5841 | static PyObject *_wrap_wxPyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5842 | PyObject * _resultobj; | |
5843 | wxPyShape * _arg0; | |
5844 | int _arg1 = (int ) 0; | |
5845 | PyObject * _argo0 = 0; | |
5846 | char *_kwnames[] = { "self","regionId", NULL }; | |
5847 | ||
5848 | self = self; | |
5849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_ClearText",_kwnames,&_argo0,&_arg1)) | |
5850 | return NULL; | |
5851 | if (_argo0) { | |
5852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p."); | |
5855 | return NULL; | |
5856 | } | |
5857 | } | |
5858 | { | |
5859 | wxPy_BEGIN_ALLOW_THREADS; | |
5860 | wxPyShape_ClearText(_arg0,_arg1); | |
5861 | ||
5862 | wxPy_END_ALLOW_THREADS; | |
5863 | } Py_INCREF(Py_None); | |
5864 | _resultobj = Py_None; | |
5865 | return _resultobj; | |
5866 | } | |
5867 | ||
5868 | #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0)) | |
5869 | static PyObject *_wrap_wxPyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5870 | PyObject * _resultobj; | |
5871 | wxPyShape * _arg0; | |
5872 | wxPyLineShape * _arg1; | |
5873 | PyObject * _argo0 = 0; | |
5874 | PyObject * _argo1 = 0; | |
5875 | char *_kwnames[] = { "self","line", NULL }; | |
5876 | ||
5877 | self = self; | |
5878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveLine",_kwnames,&_argo0,&_argo1)) | |
5879 | return NULL; | |
5880 | if (_argo0) { | |
5881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p."); | |
5884 | return NULL; | |
5885 | } | |
5886 | } | |
5887 | if (_argo1) { | |
5888 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5889 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
5890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p."); | |
5891 | return NULL; | |
5892 | } | |
5893 | } | |
5894 | { | |
5895 | wxPy_BEGIN_ALLOW_THREADS; | |
5896 | wxPyShape_RemoveLine(_arg0,_arg1); | |
5897 | ||
5898 | wxPy_END_ALLOW_THREADS; | |
5899 | } Py_INCREF(Py_None); | |
5900 | _resultobj = Py_None; | |
5901 | return _resultobj; | |
5902 | } | |
5903 | ||
5904 | #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5905 | static PyObject *_wrap_wxPyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5906 | PyObject * _resultobj; | |
5907 | bool _result; | |
5908 | wxPyShape * _arg0; | |
5909 | int _arg1; | |
5910 | double * _arg2; | |
714d23b4 | 5911 | double temp; |
e91a9dfc | 5912 | double * _arg3; |
714d23b4 | 5913 | double temp0; |
e91a9dfc RD |
5914 | int _arg4 = (int ) 0; |
5915 | int _arg5 = (int ) 1; | |
5916 | wxPyLineShape * _arg6 = (wxPyLineShape *) NULL; | |
5917 | PyObject * _argo0 = 0; | |
e91a9dfc | 5918 | PyObject * _argo6 = 0; |
714d23b4 | 5919 | char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL }; |
e91a9dfc RD |
5920 | |
5921 | self = self; | |
714d23b4 RD |
5922 | { |
5923 | _arg2 = &temp; | |
5924 | } | |
5925 | { | |
5926 | _arg3 = &temp0; | |
5927 | } | |
5928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6)) | |
e91a9dfc RD |
5929 | return NULL; |
5930 | if (_argo0) { | |
5931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p."); | |
5934 | return NULL; | |
5935 | } | |
5936 | } | |
e91a9dfc RD |
5937 | if (_argo6) { |
5938 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
5939 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) { | |
5940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p."); | |
5941 | return NULL; | |
5942 | } | |
5943 | } | |
5944 | { | |
5945 | wxPy_BEGIN_ALLOW_THREADS; | |
5946 | _result = (bool )wxPyShape_GetAttachmentPosition(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5947 | ||
5948 | wxPy_END_ALLOW_THREADS; | |
5949 | } _resultobj = Py_BuildValue("i",_result); | |
714d23b4 RD |
5950 | { |
5951 | PyObject *o; | |
5952 | o = PyFloat_FromDouble((double) (*_arg2)); | |
5953 | _resultobj = t_output_helper(_resultobj, o); | |
5954 | } | |
5955 | { | |
5956 | PyObject *o; | |
5957 | o = PyFloat_FromDouble((double) (*_arg3)); | |
5958 | _resultobj = t_output_helper(_resultobj, o); | |
5959 | } | |
e91a9dfc RD |
5960 | return _resultobj; |
5961 | } | |
5962 | ||
5963 | #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments()) | |
5964 | static PyObject *_wrap_wxPyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5965 | PyObject * _resultobj; | |
5966 | int _result; | |
5967 | wxPyShape * _arg0; | |
5968 | PyObject * _argo0 = 0; | |
5969 | char *_kwnames[] = { "self", NULL }; | |
5970 | ||
5971 | self = self; | |
5972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfAttachments",_kwnames,&_argo0)) | |
5973 | return NULL; | |
5974 | if (_argo0) { | |
5975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p."); | |
5978 | return NULL; | |
5979 | } | |
5980 | } | |
5981 | { | |
5982 | wxPy_BEGIN_ALLOW_THREADS; | |
5983 | _result = (int )wxPyShape_GetNumberOfAttachments(_arg0); | |
5984 | ||
5985 | wxPy_END_ALLOW_THREADS; | |
5986 | } _resultobj = Py_BuildValue("i",_result); | |
5987 | return _resultobj; | |
5988 | } | |
5989 | ||
5990 | #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0)) | |
5991 | static PyObject *_wrap_wxPyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5992 | PyObject * _resultobj; | |
5993 | bool _result; | |
5994 | wxPyShape * _arg0; | |
5995 | int _arg1; | |
5996 | PyObject * _argo0 = 0; | |
5997 | char *_kwnames[] = { "self","attachment", NULL }; | |
5998 | ||
5999 | self = self; | |
6000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_AttachmentIsValid",_kwnames,&_argo0,&_arg1)) | |
6001 | return NULL; | |
6002 | if (_argo0) { | |
6003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentIsValid. Expected _wxPyShape_p."); | |
6006 | return NULL; | |
6007 | } | |
6008 | } | |
6009 | { | |
6010 | wxPy_BEGIN_ALLOW_THREADS; | |
6011 | _result = (bool )wxPyShape_AttachmentIsValid(_arg0,_arg1); | |
6012 | ||
6013 | wxPy_END_ALLOW_THREADS; | |
6014 | } _resultobj = Py_BuildValue("i",_result); | |
6015 | return _resultobj; | |
6016 | } | |
6017 | ||
6018 | #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6019 | static PyObject *_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6020 | PyObject * _resultobj; | |
6021 | bool _result; | |
6022 | wxPyShape * _arg0; | |
6023 | int _arg1; | |
6024 | double * _arg2; | |
714d23b4 | 6025 | double temp; |
e91a9dfc | 6026 | double * _arg3; |
714d23b4 | 6027 | double temp0; |
e91a9dfc RD |
6028 | int _arg4 = (int ) 0; |
6029 | int _arg5 = (int ) 1; | |
6030 | wxPyLineShape * _arg6 = (wxPyLineShape *) NULL; | |
6031 | PyObject * _argo0 = 0; | |
e91a9dfc | 6032 | PyObject * _argo6 = 0; |
714d23b4 | 6033 | char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL }; |
e91a9dfc RD |
6034 | |
6035 | self = self; | |
714d23b4 RD |
6036 | { |
6037 | _arg2 = &temp; | |
6038 | } | |
6039 | { | |
6040 | _arg3 = &temp0; | |
6041 | } | |
6042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6)) | |
e91a9dfc RD |
6043 | return NULL; |
6044 | if (_argo0) { | |
6045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p."); | |
6048 | return NULL; | |
6049 | } | |
6050 | } | |
e91a9dfc RD |
6051 | if (_argo6) { |
6052 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6053 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) { | |
6054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p."); | |
6055 | return NULL; | |
6056 | } | |
6057 | } | |
6058 | { | |
6059 | wxPy_BEGIN_ALLOW_THREADS; | |
6060 | _result = (bool )wxPyShape_GetAttachmentPositionEdge(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6061 | ||
6062 | wxPy_END_ALLOW_THREADS; | |
6063 | } _resultobj = Py_BuildValue("i",_result); | |
714d23b4 RD |
6064 | { |
6065 | PyObject *o; | |
6066 | o = PyFloat_FromDouble((double) (*_arg2)); | |
6067 | _resultobj = t_output_helper(_resultobj, o); | |
6068 | } | |
6069 | { | |
6070 | PyObject *o; | |
6071 | o = PyFloat_FromDouble((double) (*_arg3)); | |
6072 | _resultobj = t_output_helper(_resultobj, o); | |
6073 | } | |
e91a9dfc RD |
6074 | return _resultobj; |
6075 | } | |
6076 | ||
6077 | #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6078 | static PyObject *_wrap_wxPyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6079 | PyObject * _resultobj; | |
6080 | wxRealPoint * _result; | |
6081 | wxPyShape * _arg0; | |
6082 | wxRealPoint * _arg1; | |
6083 | wxRealPoint * _arg2; | |
6084 | int _arg3; | |
6085 | int _arg4; | |
6086 | wxPyLineShape * _arg5; | |
6087 | PyObject * _argo0 = 0; | |
2348eaee RD |
6088 | wxRealPoint temp; |
6089 | PyObject * _obj1 = 0; | |
6090 | wxRealPoint temp0; | |
6091 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
6092 | PyObject * _argo5 = 0; |
6093 | char *_kwnames[] = { "self","pt1","pt2","nth","noArcs","line", NULL }; | |
6094 | char _ptemp[128]; | |
6095 | ||
6096 | self = self; | |
2348eaee | 6097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4,&_argo5)) |
e91a9dfc RD |
6098 | return NULL; |
6099 | if (_argo0) { | |
6100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p."); | |
6103 | return NULL; | |
6104 | } | |
6105 | } | |
2348eaee RD |
6106 | { |
6107 | _arg1 = &temp; | |
6108 | if (! wxRealPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 6109 | return NULL; |
2348eaee RD |
6110 | } |
6111 | { | |
6112 | _arg2 = &temp0; | |
6113 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6114 | return NULL; |
2348eaee | 6115 | } |
e91a9dfc RD |
6116 | if (_argo5) { |
6117 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
6118 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyLineShape_p")) { | |
6119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p."); | |
6120 | return NULL; | |
6121 | } | |
6122 | } | |
6123 | { | |
6124 | wxPy_BEGIN_ALLOW_THREADS; | |
6125 | _result = new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
6126 | ||
6127 | wxPy_END_ALLOW_THREADS; | |
6128 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p"); | |
6129 | _resultobj = Py_BuildValue("s",_ptemp); | |
6130 | return _resultobj; | |
6131 | } | |
6132 | ||
6133 | #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2)) | |
6134 | static PyObject *_wrap_wxPyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6135 | PyObject * _resultobj; | |
6136 | bool _result; | |
6137 | wxPyShape * _arg0; | |
6138 | int _arg1; | |
6139 | wxRealPoint * _arg2; | |
6140 | wxRealPoint * _arg3; | |
6141 | PyObject * _argo0 = 0; | |
2348eaee RD |
6142 | wxRealPoint temp; |
6143 | PyObject * _obj2 = 0; | |
6144 | wxRealPoint temp0; | |
6145 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
6146 | char *_kwnames[] = { "self","attachmentPoint","pt1","pt2", NULL }; |
6147 | ||
6148 | self = self; | |
2348eaee | 6149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyShape_AttachmentSortTest",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3)) |
e91a9dfc RD |
6150 | return NULL; |
6151 | if (_argo0) { | |
6152 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6153 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p."); | |
6155 | return NULL; | |
6156 | } | |
6157 | } | |
2348eaee RD |
6158 | { |
6159 | _arg2 = &temp; | |
6160 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6161 | return NULL; |
2348eaee RD |
6162 | } |
6163 | { | |
6164 | _arg3 = &temp0; | |
6165 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6166 | return NULL; |
2348eaee | 6167 | } |
e91a9dfc RD |
6168 | { |
6169 | wxPy_BEGIN_ALLOW_THREADS; | |
6170 | _result = (bool )wxPyShape_AttachmentSortTest(_arg0,_arg1,*_arg2,*_arg3); | |
6171 | ||
6172 | wxPy_END_ALLOW_THREADS; | |
6173 | } _resultobj = Py_BuildValue("i",_result); | |
6174 | return _resultobj; | |
6175 | } | |
6176 | ||
6177 | #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2)) | |
6178 | static PyObject *_wrap_wxPyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6179 | PyObject * _resultobj; | |
6180 | wxPyShape * _arg0; | |
6181 | wxDC * _arg1; | |
6182 | int _arg2 = (int ) -1; | |
6183 | bool _arg3 = (bool ) FALSE; | |
6184 | PyObject * _argo0 = 0; | |
6185 | PyObject * _argo1 = 0; | |
6186 | int tempbool3 = (int) FALSE; | |
6187 | char *_kwnames[] = { "self","dc","attachment","recurse", NULL }; | |
6188 | ||
6189 | self = self; | |
6190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_EraseLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3)) | |
6191 | return NULL; | |
6192 | if (_argo0) { | |
6193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p."); | |
6196 | return NULL; | |
6197 | } | |
6198 | } | |
6199 | if (_argo1) { | |
6200 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6201 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p."); | |
6203 | return NULL; | |
6204 | } | |
6205 | } | |
6206 | _arg3 = (bool ) tempbool3; | |
6207 | { | |
6208 | wxPy_BEGIN_ALLOW_THREADS; | |
6209 | wxPyShape_EraseLinks(_arg0,*_arg1,_arg2,_arg3); | |
6210 | ||
6211 | wxPy_END_ALLOW_THREADS; | |
6212 | } Py_INCREF(Py_None); | |
6213 | _resultobj = Py_None; | |
6214 | return _resultobj; | |
6215 | } | |
6216 | ||
6217 | #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2)) | |
6218 | static PyObject *_wrap_wxPyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6219 | PyObject * _resultobj; | |
6220 | wxPyShape * _arg0; | |
6221 | wxDC * _arg1; | |
6222 | int _arg2 = (int ) -1; | |
6223 | bool _arg3 = (bool ) FALSE; | |
6224 | PyObject * _argo0 = 0; | |
6225 | PyObject * _argo1 = 0; | |
6226 | int tempbool3 = (int) FALSE; | |
6227 | char *_kwnames[] = { "self","dc","attachment","recurse", NULL }; | |
6228 | ||
6229 | self = self; | |
6230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_DrawLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3)) | |
6231 | return NULL; | |
6232 | if (_argo0) { | |
6233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawLinks. Expected _wxPyShape_p."); | |
6236 | return NULL; | |
6237 | } | |
6238 | } | |
6239 | if (_argo1) { | |
6240 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6241 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawLinks. Expected _wxDC_p."); | |
6243 | return NULL; | |
6244 | } | |
6245 | } | |
6246 | _arg3 = (bool ) tempbool3; | |
6247 | { | |
6248 | wxPy_BEGIN_ALLOW_THREADS; | |
6249 | wxPyShape_DrawLinks(_arg0,*_arg1,_arg2,_arg3); | |
6250 | ||
6251 | wxPy_END_ALLOW_THREADS; | |
6252 | } Py_INCREF(Py_None); | |
6253 | _resultobj = Py_None; | |
6254 | return _resultobj; | |
6255 | } | |
6256 | ||
6257 | #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6258 | static PyObject *_wrap_wxPyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6259 | PyObject * _resultobj; | |
6260 | bool _result; | |
6261 | wxPyShape * _arg0; | |
6262 | wxDC * _arg1; | |
6263 | wxPyLineShape * _arg2; | |
6264 | double _arg3; | |
6265 | double _arg4; | |
6266 | PyObject * _argo0 = 0; | |
6267 | PyObject * _argo1 = 0; | |
6268 | PyObject * _argo2 = 0; | |
6269 | char *_kwnames[] = { "self","dc","to_move","x","y", NULL }; | |
6270 | ||
6271 | self = self; | |
6272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
6273 | return NULL; | |
6274 | if (_argo0) { | |
6275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p."); | |
6278 | return NULL; | |
6279 | } | |
6280 | } | |
6281 | if (_argo1) { | |
6282 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6283 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p."); | |
6285 | return NULL; | |
6286 | } | |
6287 | } | |
6288 | if (_argo2) { | |
6289 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6290 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyLineShape_p")) { | |
6291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p."); | |
6292 | return NULL; | |
6293 | } | |
6294 | } | |
6295 | { | |
6296 | wxPy_BEGIN_ALLOW_THREADS; | |
6297 | _result = (bool )wxPyShape_MoveLineToNewAttachment(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
6298 | ||
6299 | wxPy_END_ALLOW_THREADS; | |
6300 | } _resultobj = Py_BuildValue("i",_result); | |
6301 | return _resultobj; | |
6302 | } | |
6303 | ||
6304 | static void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject * linesToSort) { | |
99ab9f3b | 6305 | wxList* list = wxPy_wxListHelper(linesToSort, "_wxPyLineShape_p"); |
e91a9dfc RD |
6306 | self->ApplyAttachmentOrdering(*list); |
6307 | delete list; | |
6308 | } | |
6309 | static PyObject *_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6310 | PyObject * _resultobj; | |
6311 | wxPyShape * _arg0; | |
6312 | PyObject * _arg1; | |
6313 | PyObject * _argo0 = 0; | |
6314 | PyObject * _obj1 = 0; | |
6315 | char *_kwnames[] = { "self","linesToSort", NULL }; | |
6316 | ||
6317 | self = self; | |
6318 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames,&_argo0,&_obj1)) | |
6319 | return NULL; | |
6320 | if (_argo0) { | |
6321 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6322 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6323 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p."); | |
6324 | return NULL; | |
6325 | } | |
6326 | } | |
6327 | { | |
6328 | _arg1 = _obj1; | |
6329 | } | |
6330 | { | |
6331 | wxPy_BEGIN_ALLOW_THREADS; | |
6332 | wxPyShape_ApplyAttachmentOrdering(_arg0,_arg1); | |
6333 | ||
6334 | wxPy_END_ALLOW_THREADS; | |
6335 | } Py_INCREF(Py_None); | |
6336 | _resultobj = Py_None; | |
6337 | return _resultobj; | |
6338 | } | |
6339 | ||
6340 | #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0)) | |
6341 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6342 | PyObject * _resultobj; | |
6343 | wxRealPoint * _result; | |
6344 | wxPyShape * _arg0; | |
6345 | int _arg1; | |
6346 | PyObject * _argo0 = 0; | |
6347 | char *_kwnames[] = { "self","attachment", NULL }; | |
6348 | char _ptemp[128]; | |
6349 | ||
6350 | self = self; | |
6351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames,&_argo0,&_arg1)) | |
6352 | return NULL; | |
6353 | if (_argo0) { | |
6354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p."); | |
6357 | return NULL; | |
6358 | } | |
6359 | } | |
6360 | { | |
6361 | wxPy_BEGIN_ALLOW_THREADS; | |
6362 | _result = new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0,_arg1)); | |
6363 | ||
6364 | wxPy_END_ALLOW_THREADS; | |
6365 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p"); | |
6366 | _resultobj = Py_BuildValue("s",_ptemp); | |
6367 | return _resultobj; | |
6368 | } | |
6369 | ||
6370 | #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6371 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6372 | PyObject * _resultobj; | |
6373 | bool _result; | |
6374 | wxPyShape * _arg0; | |
6375 | int _arg1; | |
6376 | wxRealPoint * _arg2; | |
6377 | wxRealPoint * _arg3; | |
6378 | wxRealPoint * _arg4; | |
6379 | wxRealPoint * _arg5; | |
6380 | PyObject * _argo0 = 0; | |
2348eaee RD |
6381 | wxRealPoint temp; |
6382 | PyObject * _obj2 = 0; | |
6383 | wxRealPoint temp0; | |
6384 | PyObject * _obj3 = 0; | |
6385 | wxRealPoint temp1; | |
6386 | PyObject * _obj4 = 0; | |
6387 | wxRealPoint temp2; | |
6388 | PyObject * _obj5 = 0; | |
e91a9dfc RD |
6389 | char *_kwnames[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL }; |
6390 | ||
6391 | self = self; | |
2348eaee | 6392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj5)) |
e91a9dfc RD |
6393 | return NULL; |
6394 | if (_argo0) { | |
6395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p."); | |
6398 | return NULL; | |
6399 | } | |
6400 | } | |
2348eaee RD |
6401 | { |
6402 | _arg2 = &temp; | |
6403 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6404 | return NULL; |
2348eaee RD |
6405 | } |
6406 | { | |
6407 | _arg3 = &temp0; | |
6408 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6409 | return NULL; |
2348eaee RD |
6410 | } |
6411 | { | |
6412 | _arg4 = &temp1; | |
6413 | if (! wxRealPoint_helper(_obj4, &_arg4)) | |
e91a9dfc | 6414 | return NULL; |
2348eaee RD |
6415 | } |
6416 | { | |
6417 | _arg5 = &temp2; | |
6418 | if (! wxRealPoint_helper(_obj5, &_arg5)) | |
e91a9dfc | 6419 | return NULL; |
2348eaee | 6420 | } |
e91a9dfc RD |
6421 | { |
6422 | wxPy_BEGIN_ALLOW_THREADS; | |
6423 | _result = (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5); | |
6424 | ||
6425 | wxPy_END_ALLOW_THREADS; | |
6426 | } _resultobj = Py_BuildValue("i",_result); | |
6427 | return _resultobj; | |
6428 | } | |
6429 | ||
6430 | #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6431 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6432 | PyObject * _resultobj; | |
6433 | bool _result; | |
6434 | wxPyShape * _arg0; | |
6435 | int _arg1; | |
6436 | int _arg2; | |
6437 | wxRealPoint * _arg3; | |
6438 | wxRealPoint * _arg4; | |
6439 | PyObject * _argo0 = 0; | |
2348eaee RD |
6440 | wxRealPoint temp; |
6441 | PyObject * _obj3 = 0; | |
6442 | wxRealPoint temp0; | |
6443 | PyObject * _obj4 = 0; | |
e91a9dfc RD |
6444 | char *_kwnames[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL }; |
6445 | ||
6446 | self = self; | |
2348eaee | 6447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
e91a9dfc RD |
6448 | return NULL; |
6449 | if (_argo0) { | |
6450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p."); | |
6453 | return NULL; | |
6454 | } | |
6455 | } | |
2348eaee RD |
6456 | { |
6457 | _arg3 = &temp; | |
6458 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6459 | return NULL; |
2348eaee RD |
6460 | } |
6461 | { | |
6462 | _arg4 = &temp0; | |
6463 | if (! wxRealPoint_helper(_obj4, &_arg4)) | |
e91a9dfc | 6464 | return NULL; |
2348eaee | 6465 | } |
e91a9dfc RD |
6466 | { |
6467 | wxPy_BEGIN_ALLOW_THREADS; | |
6468 | _result = (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0,_arg1,_arg2,*_arg3,*_arg4); | |
6469 | ||
6470 | wxPy_END_ALLOW_THREADS; | |
6471 | } _resultobj = Py_BuildValue("i",_result); | |
6472 | return _resultobj; | |
6473 | } | |
6474 | ||
6475 | #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0)) | |
6476 | static PyObject *_wrap_wxPyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6477 | PyObject * _resultobj; | |
6478 | int _result; | |
6479 | wxPyShape * _arg0; | |
6480 | int _arg1; | |
6481 | PyObject * _argo0 = 0; | |
6482 | char *_kwnames[] = { "self","attachment", NULL }; | |
6483 | ||
6484 | self = self; | |
6485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames,&_argo0,&_arg1)) | |
6486 | return NULL; | |
6487 | if (_argo0) { | |
6488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p."); | |
6491 | return NULL; | |
6492 | } | |
6493 | } | |
6494 | { | |
6495 | wxPy_BEGIN_ALLOW_THREADS; | |
6496 | _result = (int )wxPyShape_GetAttachmentLineCount(_arg0,_arg1); | |
6497 | ||
6498 | wxPy_END_ALLOW_THREADS; | |
6499 | } _resultobj = Py_BuildValue("i",_result); | |
6500 | return _resultobj; | |
6501 | } | |
6502 | ||
6503 | #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0)) | |
6504 | static PyObject *_wrap_wxPyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6505 | PyObject * _resultobj; | |
6506 | wxPyShape * _arg0; | |
6507 | int _arg1; | |
6508 | PyObject * _argo0 = 0; | |
6509 | char *_kwnames[] = { "self","len", NULL }; | |
6510 | ||
6511 | self = self; | |
6512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchNeckLength",_kwnames,&_argo0,&_arg1)) | |
6513 | return NULL; | |
6514 | if (_argo0) { | |
6515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p."); | |
6518 | return NULL; | |
6519 | } | |
6520 | } | |
6521 | { | |
6522 | wxPy_BEGIN_ALLOW_THREADS; | |
6523 | wxPyShape_SetBranchNeckLength(_arg0,_arg1); | |
6524 | ||
6525 | wxPy_END_ALLOW_THREADS; | |
6526 | } Py_INCREF(Py_None); | |
6527 | _resultobj = Py_None; | |
6528 | return _resultobj; | |
6529 | } | |
6530 | ||
6531 | #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength()) | |
6532 | static PyObject *_wrap_wxPyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6533 | PyObject * _resultobj; | |
6534 | int _result; | |
6535 | wxPyShape * _arg0; | |
6536 | PyObject * _argo0 = 0; | |
6537 | char *_kwnames[] = { "self", NULL }; | |
6538 | ||
6539 | self = self; | |
6540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchNeckLength",_kwnames,&_argo0)) | |
6541 | return NULL; | |
6542 | if (_argo0) { | |
6543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p."); | |
6546 | return NULL; | |
6547 | } | |
6548 | } | |
6549 | { | |
6550 | wxPy_BEGIN_ALLOW_THREADS; | |
6551 | _result = (int )wxPyShape_GetBranchNeckLength(_arg0); | |
6552 | ||
6553 | wxPy_END_ALLOW_THREADS; | |
6554 | } _resultobj = Py_BuildValue("i",_result); | |
6555 | return _resultobj; | |
6556 | } | |
6557 | ||
6558 | #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0)) | |
6559 | static PyObject *_wrap_wxPyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6560 | PyObject * _resultobj; | |
6561 | wxPyShape * _arg0; | |
6562 | int _arg1; | |
6563 | PyObject * _argo0 = 0; | |
6564 | char *_kwnames[] = { "self","len", NULL }; | |
6565 | ||
6566 | self = self; | |
6567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchStemLength",_kwnames,&_argo0,&_arg1)) | |
6568 | return NULL; | |
6569 | if (_argo0) { | |
6570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p."); | |
6573 | return NULL; | |
6574 | } | |
6575 | } | |
6576 | { | |
6577 | wxPy_BEGIN_ALLOW_THREADS; | |
6578 | wxPyShape_SetBranchStemLength(_arg0,_arg1); | |
6579 | ||
6580 | wxPy_END_ALLOW_THREADS; | |
6581 | } Py_INCREF(Py_None); | |
6582 | _resultobj = Py_None; | |
6583 | return _resultobj; | |
6584 | } | |
6585 | ||
6586 | #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength()) | |
6587 | static PyObject *_wrap_wxPyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6588 | PyObject * _resultobj; | |
6589 | int _result; | |
6590 | wxPyShape * _arg0; | |
6591 | PyObject * _argo0 = 0; | |
6592 | char *_kwnames[] = { "self", NULL }; | |
6593 | ||
6594 | self = self; | |
6595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStemLength",_kwnames,&_argo0)) | |
6596 | return NULL; | |
6597 | if (_argo0) { | |
6598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p."); | |
6601 | return NULL; | |
6602 | } | |
6603 | } | |
6604 | { | |
6605 | wxPy_BEGIN_ALLOW_THREADS; | |
6606 | _result = (int )wxPyShape_GetBranchStemLength(_arg0); | |
6607 | ||
6608 | wxPy_END_ALLOW_THREADS; | |
6609 | } _resultobj = Py_BuildValue("i",_result); | |
6610 | return _resultobj; | |
6611 | } | |
6612 | ||
6613 | #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0)) | |
6614 | static PyObject *_wrap_wxPyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6615 | PyObject * _resultobj; | |
6616 | wxPyShape * _arg0; | |
6617 | int _arg1; | |
6618 | PyObject * _argo0 = 0; | |
6619 | char *_kwnames[] = { "self","len", NULL }; | |
6620 | ||
6621 | self = self; | |
6622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchSpacing",_kwnames,&_argo0,&_arg1)) | |
6623 | return NULL; | |
6624 | if (_argo0) { | |
6625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p."); | |
6628 | return NULL; | |
6629 | } | |
6630 | } | |
6631 | { | |
6632 | wxPy_BEGIN_ALLOW_THREADS; | |
6633 | wxPyShape_SetBranchSpacing(_arg0,_arg1); | |
6634 | ||
6635 | wxPy_END_ALLOW_THREADS; | |
6636 | } Py_INCREF(Py_None); | |
6637 | _resultobj = Py_None; | |
6638 | return _resultobj; | |
6639 | } | |
6640 | ||
6641 | #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing()) | |
6642 | static PyObject *_wrap_wxPyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6643 | PyObject * _resultobj; | |
6644 | int _result; | |
6645 | wxPyShape * _arg0; | |
6646 | PyObject * _argo0 = 0; | |
6647 | char *_kwnames[] = { "self", NULL }; | |
6648 | ||
6649 | self = self; | |
6650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchSpacing",_kwnames,&_argo0)) | |
6651 | return NULL; | |
6652 | if (_argo0) { | |
6653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p."); | |
6656 | return NULL; | |
6657 | } | |
6658 | } | |
6659 | { | |
6660 | wxPy_BEGIN_ALLOW_THREADS; | |
6661 | _result = (int )wxPyShape_GetBranchSpacing(_arg0); | |
6662 | ||
6663 | wxPy_END_ALLOW_THREADS; | |
6664 | } _resultobj = Py_BuildValue("i",_result); | |
6665 | return _resultobj; | |
6666 | } | |
6667 | ||
6668 | #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0)) | |
6669 | static PyObject *_wrap_wxPyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6670 | PyObject * _resultobj; | |
6671 | wxPyShape * _arg0; | |
6672 | long _arg1; | |
6673 | PyObject * _argo0 = 0; | |
6674 | char *_kwnames[] = { "self","style", NULL }; | |
6675 | ||
6676 | self = self; | |
6677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetBranchStyle",_kwnames,&_argo0,&_arg1)) | |
6678 | return NULL; | |
6679 | if (_argo0) { | |
6680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p."); | |
6683 | return NULL; | |
6684 | } | |
6685 | } | |
6686 | { | |
6687 | wxPy_BEGIN_ALLOW_THREADS; | |
6688 | wxPyShape_SetBranchStyle(_arg0,_arg1); | |
6689 | ||
6690 | wxPy_END_ALLOW_THREADS; | |
6691 | } Py_INCREF(Py_None); | |
6692 | _resultobj = Py_None; | |
6693 | return _resultobj; | |
6694 | } | |
6695 | ||
6696 | #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle()) | |
6697 | static PyObject *_wrap_wxPyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6698 | PyObject * _resultobj; | |
6699 | long _result; | |
6700 | wxPyShape * _arg0; | |
6701 | PyObject * _argo0 = 0; | |
6702 | char *_kwnames[] = { "self", NULL }; | |
6703 | ||
6704 | self = self; | |
6705 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStyle",_kwnames,&_argo0)) | |
6706 | return NULL; | |
6707 | if (_argo0) { | |
6708 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6709 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p."); | |
6711 | return NULL; | |
6712 | } | |
6713 | } | |
6714 | { | |
6715 | wxPy_BEGIN_ALLOW_THREADS; | |
6716 | _result = (long )wxPyShape_GetBranchStyle(_arg0); | |
6717 | ||
6718 | wxPy_END_ALLOW_THREADS; | |
6719 | } _resultobj = Py_BuildValue("l",_result); | |
6720 | return _resultobj; | |
6721 | } | |
6722 | ||
6723 | #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0)) | |
6724 | static PyObject *_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6725 | PyObject * _resultobj; | |
6726 | int _result; | |
6727 | wxPyShape * _arg0; | |
6728 | int _arg1; | |
6729 | PyObject * _argo0 = 0; | |
6730 | char *_kwnames[] = { "self","physicalAttachment", NULL }; | |
6731 | ||
6732 | self = self; | |
6733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames,&_argo0,&_arg1)) | |
6734 | return NULL; | |
6735 | if (_argo0) { | |
6736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p."); | |
6739 | return NULL; | |
6740 | } | |
6741 | } | |
6742 | { | |
6743 | wxPy_BEGIN_ALLOW_THREADS; | |
6744 | _result = (int )wxPyShape_PhysicalToLogicalAttachment(_arg0,_arg1); | |
6745 | ||
6746 | wxPy_END_ALLOW_THREADS; | |
6747 | } _resultobj = Py_BuildValue("i",_result); | |
6748 | return _resultobj; | |
6749 | } | |
6750 | ||
6751 | #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0)) | |
6752 | static PyObject *_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6753 | PyObject * _resultobj; | |
6754 | int _result; | |
6755 | wxPyShape * _arg0; | |
6756 | int _arg1; | |
6757 | PyObject * _argo0 = 0; | |
6758 | char *_kwnames[] = { "self","logicalAttachment", NULL }; | |
6759 | ||
6760 | self = self; | |
6761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames,&_argo0,&_arg1)) | |
6762 | return NULL; | |
6763 | if (_argo0) { | |
6764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p."); | |
6767 | return NULL; | |
6768 | } | |
6769 | } | |
6770 | { | |
6771 | wxPy_BEGIN_ALLOW_THREADS; | |
6772 | _result = (int )wxPyShape_LogicalToPhysicalAttachment(_arg0,_arg1); | |
6773 | ||
6774 | wxPy_END_ALLOW_THREADS; | |
6775 | } _resultobj = Py_BuildValue("i",_result); | |
6776 | return _resultobj; | |
6777 | } | |
6778 | ||
6779 | #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable()) | |
6780 | static PyObject *_wrap_wxPyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6781 | PyObject * _resultobj; | |
6782 | bool _result; | |
6783 | wxPyShape * _arg0; | |
6784 | PyObject * _argo0 = 0; | |
6785 | char *_kwnames[] = { "self", NULL }; | |
6786 | ||
6787 | self = self; | |
6788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Draggable",_kwnames,&_argo0)) | |
6789 | return NULL; | |
6790 | if (_argo0) { | |
6791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p."); | |
6794 | return NULL; | |
6795 | } | |
6796 | } | |
6797 | { | |
6798 | wxPy_BEGIN_ALLOW_THREADS; | |
6799 | _result = (bool )wxPyShape_Draggable(_arg0); | |
6800 | ||
6801 | wxPy_END_ALLOW_THREADS; | |
6802 | } _resultobj = Py_BuildValue("i",_result); | |
6803 | return _resultobj; | |
6804 | } | |
6805 | ||
6806 | #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0)) | |
6807 | static PyObject *_wrap_wxPyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6808 | PyObject * _resultobj; | |
6809 | bool _result; | |
6810 | wxPyShape * _arg0; | |
6811 | wxPyShape * _arg1; | |
6812 | PyObject * _argo0 = 0; | |
6813 | PyObject * _argo1 = 0; | |
6814 | char *_kwnames[] = { "self","image", NULL }; | |
6815 | ||
6816 | self = self; | |
6817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_HasDescendant",_kwnames,&_argo0,&_argo1)) | |
6818 | return NULL; | |
6819 | if (_argo0) { | |
6820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p."); | |
6823 | return NULL; | |
6824 | } | |
6825 | } | |
6826 | if (_argo1) { | |
6827 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6828 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p."); | |
6830 | return NULL; | |
6831 | } | |
6832 | } | |
6833 | { | |
6834 | wxPy_BEGIN_ALLOW_THREADS; | |
6835 | _result = (bool )wxPyShape_HasDescendant(_arg0,_arg1); | |
6836 | ||
6837 | wxPy_END_ALLOW_THREADS; | |
6838 | } _resultobj = Py_BuildValue("i",_result); | |
6839 | return _resultobj; | |
6840 | } | |
6841 | ||
6842 | #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1)) | |
6843 | static PyObject *_wrap_wxPyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6844 | PyObject * _resultobj; | |
6845 | wxPyShape * _result; | |
6846 | wxPyShape * _arg0; | |
6847 | bool _arg1 = (bool ) TRUE; | |
6848 | bool _arg2 = (bool ) TRUE; | |
6849 | PyObject * _argo0 = 0; | |
6850 | int tempbool1 = (int) TRUE; | |
6851 | int tempbool2 = (int) TRUE; | |
6852 | char *_kwnames[] = { "self","resetMapping","recompute", NULL }; | |
6853 | char _ptemp[128]; | |
6854 | ||
6855 | self = self; | |
6856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_CreateNewCopy",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
6857 | return NULL; | |
6858 | if (_argo0) { | |
6859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p."); | |
6862 | return NULL; | |
6863 | } | |
6864 | } | |
6865 | _arg1 = (bool ) tempbool1; | |
6866 | _arg2 = (bool ) tempbool2; | |
6867 | { | |
6868 | wxPy_BEGIN_ALLOW_THREADS; | |
6869 | _result = (wxPyShape *)wxPyShape_CreateNewCopy(_arg0,_arg1,_arg2); | |
6870 | ||
6871 | wxPy_END_ALLOW_THREADS; | |
6872 | } if (_result) { | |
6873 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
6874 | _resultobj = Py_BuildValue("s",_ptemp); | |
6875 | } else { | |
6876 | Py_INCREF(Py_None); | |
6877 | _resultobj = Py_None; | |
6878 | } | |
6879 | return _resultobj; | |
6880 | } | |
6881 | ||
6882 | #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0)) | |
6883 | static PyObject *_wrap_wxPyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6884 | PyObject * _resultobj; | |
6885 | wxPyShape * _arg0; | |
6886 | wxPyShape * _arg1; | |
6887 | PyObject * _argo0 = 0; | |
6888 | PyObject * _argo1 = 0; | |
6889 | char *_kwnames[] = { "self","copy", NULL }; | |
6890 | ||
6891 | self = self; | |
6892 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Copy",_kwnames,&_argo0,&_argo1)) | |
6893 | return NULL; | |
6894 | if (_argo0) { | |
6895 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6896 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6897 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p."); | |
6898 | return NULL; | |
6899 | } | |
6900 | } | |
6901 | if (_argo1) { | |
6902 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6903 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p."); | |
6905 | return NULL; | |
6906 | } | |
6907 | } | |
6908 | { | |
6909 | wxPy_BEGIN_ALLOW_THREADS; | |
6910 | wxPyShape_Copy(_arg0,*_arg1); | |
6911 | ||
6912 | wxPy_END_ALLOW_THREADS; | |
6913 | } Py_INCREF(Py_None); | |
6914 | _resultobj = Py_None; | |
6915 | return _resultobj; | |
6916 | } | |
6917 | ||
6918 | #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0)) | |
6919 | static PyObject *_wrap_wxPyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6920 | PyObject * _resultobj; | |
6921 | wxPyShape * _arg0; | |
6922 | wxPyShape * _arg1; | |
6923 | PyObject * _argo0 = 0; | |
6924 | PyObject * _argo1 = 0; | |
6925 | char *_kwnames[] = { "self","copy", NULL }; | |
6926 | ||
6927 | self = self; | |
6928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_CopyWithHandler",_kwnames,&_argo0,&_argo1)) | |
6929 | return NULL; | |
6930 | if (_argo0) { | |
6931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p."); | |
6934 | return NULL; | |
6935 | } | |
6936 | } | |
6937 | if (_argo1) { | |
6938 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6939 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p."); | |
6941 | return NULL; | |
6942 | } | |
6943 | } | |
6944 | { | |
6945 | wxPy_BEGIN_ALLOW_THREADS; | |
6946 | wxPyShape_CopyWithHandler(_arg0,*_arg1); | |
6947 | ||
6948 | wxPy_END_ALLOW_THREADS; | |
6949 | } Py_INCREF(Py_None); | |
6950 | _resultobj = Py_None; | |
6951 | return _resultobj; | |
6952 | } | |
6953 | ||
6954 | #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
6955 | static PyObject *_wrap_wxPyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6956 | PyObject * _resultobj; | |
6957 | wxPyShape * _arg0; | |
6958 | double _arg1; | |
6959 | double _arg2; | |
6960 | double _arg3; | |
6961 | PyObject * _argo0 = 0; | |
6962 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
6963 | ||
6964 | self = self; | |
6965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
6966 | return NULL; | |
6967 | if (_argo0) { | |
6968 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6969 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6970 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p."); | |
6971 | return NULL; | |
6972 | } | |
6973 | } | |
6974 | { | |
6975 | wxPy_BEGIN_ALLOW_THREADS; | |
6976 | wxPyShape_Rotate(_arg0,_arg1,_arg2,_arg3); | |
6977 | ||
6978 | wxPy_END_ALLOW_THREADS; | |
6979 | } Py_INCREF(Py_None); | |
6980 | _resultobj = Py_None; | |
6981 | return _resultobj; | |
6982 | } | |
6983 | ||
6984 | #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
6985 | static PyObject *_wrap_wxPyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6986 | PyObject * _resultobj; | |
6987 | double _result; | |
6988 | wxPyShape * _arg0; | |
6989 | PyObject * _argo0 = 0; | |
6990 | char *_kwnames[] = { "self", NULL }; | |
6991 | ||
6992 | self = self; | |
6993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRotation",_kwnames,&_argo0)) | |
6994 | return NULL; | |
6995 | if (_argo0) { | |
6996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p."); | |
6999 | return NULL; | |
7000 | } | |
7001 | } | |
7002 | { | |
7003 | wxPy_BEGIN_ALLOW_THREADS; | |
7004 | _result = (double )wxPyShape_GetRotation(_arg0); | |
7005 | ||
7006 | wxPy_END_ALLOW_THREADS; | |
7007 | } _resultobj = Py_BuildValue("d",_result); | |
7008 | return _resultobj; | |
7009 | } | |
7010 | ||
7011 | #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments()) | |
7012 | static PyObject *_wrap_wxPyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7013 | PyObject * _resultobj; | |
7014 | wxPyShape * _arg0; | |
7015 | PyObject * _argo0 = 0; | |
7016 | char *_kwnames[] = { "self", NULL }; | |
7017 | ||
7018 | self = self; | |
7019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearAttachments",_kwnames,&_argo0)) | |
7020 | return NULL; | |
7021 | if (_argo0) { | |
7022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p."); | |
7025 | return NULL; | |
7026 | } | |
7027 | } | |
7028 | { | |
7029 | wxPy_BEGIN_ALLOW_THREADS; | |
7030 | wxPyShape_ClearAttachments(_arg0); | |
7031 | ||
7032 | wxPy_END_ALLOW_THREADS; | |
7033 | } Py_INCREF(Py_None); | |
7034 | _resultobj = Py_None; | |
7035 | return _resultobj; | |
7036 | } | |
7037 | ||
7038 | #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0)) | |
7039 | static PyObject *_wrap_wxPyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7040 | PyObject * _resultobj; | |
7041 | wxPyShape * _arg0; | |
7042 | wxDC * _arg1; | |
7043 | PyObject * _argo0 = 0; | |
7044 | PyObject * _argo1 = 0; | |
7045 | char *_kwnames[] = { "self","dc", NULL }; | |
7046 | ||
7047 | self = self; | |
7048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Recentre",_kwnames,&_argo0,&_argo1)) | |
7049 | return NULL; | |
7050 | if (_argo0) { | |
7051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p."); | |
7054 | return NULL; | |
7055 | } | |
7056 | } | |
7057 | if (_argo1) { | |
7058 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7059 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p."); | |
7061 | return NULL; | |
7062 | } | |
7063 | } | |
7064 | { | |
7065 | wxPy_BEGIN_ALLOW_THREADS; | |
7066 | wxPyShape_Recentre(_arg0,*_arg1); | |
7067 | ||
7068 | wxPy_END_ALLOW_THREADS; | |
7069 | } Py_INCREF(Py_None); | |
7070 | _resultobj = Py_None; | |
7071 | return _resultobj; | |
7072 | } | |
7073 | ||
7074 | #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0)) | |
7075 | static PyObject *_wrap_wxPyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7076 | PyObject * _resultobj; | |
7077 | wxPyShape * _arg0; | |
7078 | wxList * _arg1; | |
7079 | PyObject * _argo0 = 0; | |
7080 | PyObject * _argo1 = 0; | |
7081 | char *_kwnames[] = { "self","list", NULL }; | |
7082 | ||
7083 | self = self; | |
7084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ClearPointList",_kwnames,&_argo0,&_argo1)) | |
7085 | return NULL; | |
7086 | if (_argo0) { | |
7087 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7088 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p."); | |
7090 | return NULL; | |
7091 | } | |
7092 | } | |
7093 | if (_argo1) { | |
7094 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7095 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxList_p")) { | |
7096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p."); | |
7097 | return NULL; | |
7098 | } | |
7099 | } | |
7100 | { | |
7101 | wxPy_BEGIN_ALLOW_THREADS; | |
7102 | wxPyShape_ClearPointList(_arg0,*_arg1); | |
7103 | ||
7104 | wxPy_END_ALLOW_THREADS; | |
7105 | } Py_INCREF(Py_None); | |
7106 | _resultobj = Py_None; | |
7107 | return _resultobj; | |
7108 | } | |
7109 | ||
7110 | #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
7111 | static PyObject *_wrap_wxPyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7112 | PyObject * _resultobj; | |
7113 | wxPyShape * _arg0; | |
7114 | PyObject * _argo0 = 0; | |
7115 | char *_kwnames[] = { "self", NULL }; | |
7116 | ||
7117 | self = self; | |
7118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_base_OnDelete",_kwnames,&_argo0)) | |
7119 | return NULL; | |
7120 | if (_argo0) { | |
7121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p."); | |
7124 | return NULL; | |
7125 | } | |
7126 | } | |
7127 | { | |
7128 | wxPy_BEGIN_ALLOW_THREADS; | |
7129 | wxPyShape_base_OnDelete(_arg0); | |
7130 | ||
7131 | wxPy_END_ALLOW_THREADS; | |
7132 | } Py_INCREF(Py_None); | |
7133 | _resultobj = Py_None; | |
7134 | return _resultobj; | |
7135 | } | |
7136 | ||
7137 | #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
7138 | static PyObject *_wrap_wxPyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7139 | PyObject * _resultobj; | |
7140 | wxPyShape * _arg0; | |
7141 | wxDC * _arg1; | |
7142 | PyObject * _argo0 = 0; | |
7143 | PyObject * _argo1 = 0; | |
7144 | char *_kwnames[] = { "self","dc", NULL }; | |
7145 | ||
7146 | self = self; | |
7147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
7148 | return NULL; | |
7149 | if (_argo0) { | |
7150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p."); | |
7153 | return NULL; | |
7154 | } | |
7155 | } | |
7156 | if (_argo1) { | |
7157 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7158 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p."); | |
7160 | return NULL; | |
7161 | } | |
7162 | } | |
7163 | { | |
7164 | wxPy_BEGIN_ALLOW_THREADS; | |
7165 | wxPyShape_base_OnDraw(_arg0,*_arg1); | |
7166 | ||
7167 | wxPy_END_ALLOW_THREADS; | |
7168 | } Py_INCREF(Py_None); | |
7169 | _resultobj = Py_None; | |
7170 | return _resultobj; | |
7171 | } | |
7172 | ||
7173 | #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
7174 | static PyObject *_wrap_wxPyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7175 | PyObject * _resultobj; | |
7176 | wxPyShape * _arg0; | |
7177 | wxDC * _arg1; | |
7178 | PyObject * _argo0 = 0; | |
7179 | PyObject * _argo1 = 0; | |
7180 | char *_kwnames[] = { "self","dc", NULL }; | |
7181 | ||
7182 | self = self; | |
7183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
7184 | return NULL; | |
7185 | if (_argo0) { | |
7186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p."); | |
7189 | return NULL; | |
7190 | } | |
7191 | } | |
7192 | if (_argo1) { | |
7193 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7194 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p."); | |
7196 | return NULL; | |
7197 | } | |
7198 | } | |
7199 | { | |
7200 | wxPy_BEGIN_ALLOW_THREADS; | |
7201 | wxPyShape_base_OnDrawContents(_arg0,*_arg1); | |
7202 | ||
7203 | wxPy_END_ALLOW_THREADS; | |
7204 | } Py_INCREF(Py_None); | |
7205 | _resultobj = Py_None; | |
7206 | return _resultobj; | |
7207 | } | |
7208 | ||
7209 | #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
7210 | static PyObject *_wrap_wxPyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7211 | PyObject * _resultobj; | |
7212 | wxPyShape * _arg0; | |
7213 | wxDC * _arg1; | |
7214 | bool _arg2 = (bool ) FALSE; | |
7215 | PyObject * _argo0 = 0; | |
7216 | PyObject * _argo1 = 0; | |
7217 | int tempbool2 = (int) FALSE; | |
7218 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
7219 | ||
7220 | self = self; | |
7221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7222 | return NULL; | |
7223 | if (_argo0) { | |
7224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p."); | |
7227 | return NULL; | |
7228 | } | |
7229 | } | |
7230 | if (_argo1) { | |
7231 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7232 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p."); | |
7234 | return NULL; | |
7235 | } | |
7236 | } | |
7237 | _arg2 = (bool ) tempbool2; | |
7238 | { | |
7239 | wxPy_BEGIN_ALLOW_THREADS; | |
7240 | wxPyShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
7241 | ||
7242 | wxPy_END_ALLOW_THREADS; | |
7243 | } Py_INCREF(Py_None); | |
7244 | _resultobj = Py_None; | |
7245 | return _resultobj; | |
7246 | } | |
7247 | ||
7248 | #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
7249 | static PyObject *_wrap_wxPyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7250 | PyObject * _resultobj; | |
7251 | wxPyShape * _arg0; | |
7252 | wxDC * _arg1; | |
7253 | PyObject * _argo0 = 0; | |
7254 | PyObject * _argo1 = 0; | |
7255 | char *_kwnames[] = { "self","dc", NULL }; | |
7256 | ||
7257 | self = self; | |
7258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
7259 | return NULL; | |
7260 | if (_argo0) { | |
7261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p."); | |
7264 | return NULL; | |
7265 | } | |
7266 | } | |
7267 | if (_argo1) { | |
7268 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7269 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p."); | |
7271 | return NULL; | |
7272 | } | |
7273 | } | |
7274 | { | |
7275 | wxPy_BEGIN_ALLOW_THREADS; | |
7276 | wxPyShape_base_OnMoveLinks(_arg0,*_arg1); | |
7277 | ||
7278 | wxPy_END_ALLOW_THREADS; | |
7279 | } Py_INCREF(Py_None); | |
7280 | _resultobj = Py_None; | |
7281 | return _resultobj; | |
7282 | } | |
7283 | ||
7284 | #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
7285 | static PyObject *_wrap_wxPyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7286 | PyObject * _resultobj; | |
7287 | wxPyShape * _arg0; | |
7288 | wxDC * _arg1; | |
7289 | PyObject * _argo0 = 0; | |
7290 | PyObject * _argo1 = 0; | |
7291 | char *_kwnames[] = { "self","dc", NULL }; | |
7292 | ||
7293 | self = self; | |
7294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
7295 | return NULL; | |
7296 | if (_argo0) { | |
7297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p."); | |
7300 | return NULL; | |
7301 | } | |
7302 | } | |
7303 | if (_argo1) { | |
7304 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7305 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p."); | |
7307 | return NULL; | |
7308 | } | |
7309 | } | |
7310 | { | |
7311 | wxPy_BEGIN_ALLOW_THREADS; | |
7312 | wxPyShape_base_OnErase(_arg0,*_arg1); | |
7313 | ||
7314 | wxPy_END_ALLOW_THREADS; | |
7315 | } Py_INCREF(Py_None); | |
7316 | _resultobj = Py_None; | |
7317 | return _resultobj; | |
7318 | } | |
7319 | ||
7320 | #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
7321 | static PyObject *_wrap_wxPyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7322 | PyObject * _resultobj; | |
7323 | wxPyShape * _arg0; | |
7324 | wxDC * _arg1; | |
7325 | PyObject * _argo0 = 0; | |
7326 | PyObject * _argo1 = 0; | |
7327 | char *_kwnames[] = { "self","dc", NULL }; | |
7328 | ||
7329 | self = self; | |
7330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
7331 | return NULL; | |
7332 | if (_argo0) { | |
7333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p."); | |
7336 | return NULL; | |
7337 | } | |
7338 | } | |
7339 | if (_argo1) { | |
7340 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7341 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p."); | |
7343 | return NULL; | |
7344 | } | |
7345 | } | |
7346 | { | |
7347 | wxPy_BEGIN_ALLOW_THREADS; | |
7348 | wxPyShape_base_OnEraseContents(_arg0,*_arg1); | |
7349 | ||
7350 | wxPy_END_ALLOW_THREADS; | |
7351 | } Py_INCREF(Py_None); | |
7352 | _resultobj = Py_None; | |
7353 | return _resultobj; | |
7354 | } | |
7355 | ||
7356 | #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
7357 | static PyObject *_wrap_wxPyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7358 | PyObject * _resultobj; | |
7359 | wxPyShape * _arg0; | |
7360 | wxDC * _arg1; | |
7361 | PyObject * _argo0 = 0; | |
7362 | PyObject * _argo1 = 0; | |
7363 | char *_kwnames[] = { "self","dc", NULL }; | |
7364 | ||
7365 | self = self; | |
7366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
7367 | return NULL; | |
7368 | if (_argo0) { | |
7369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p."); | |
7372 | return NULL; | |
7373 | } | |
7374 | } | |
7375 | if (_argo1) { | |
7376 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7377 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p."); | |
7379 | return NULL; | |
7380 | } | |
7381 | } | |
7382 | { | |
7383 | wxPy_BEGIN_ALLOW_THREADS; | |
7384 | wxPyShape_base_OnHighlight(_arg0,*_arg1); | |
7385 | ||
7386 | wxPy_END_ALLOW_THREADS; | |
7387 | } Py_INCREF(Py_None); | |
7388 | _resultobj = Py_None; | |
7389 | return _resultobj; | |
7390 | } | |
7391 | ||
7392 | #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7393 | static PyObject *_wrap_wxPyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7394 | PyObject * _resultobj; | |
7395 | wxPyShape * _arg0; | |
7396 | double _arg1; | |
7397 | double _arg2; | |
7398 | int _arg3 = (int ) 0; | |
7399 | int _arg4 = (int ) 0; | |
7400 | PyObject * _argo0 = 0; | |
7401 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7402 | ||
7403 | self = self; | |
7404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7405 | return NULL; | |
7406 | if (_argo0) { | |
7407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p."); | |
7410 | return NULL; | |
7411 | } | |
7412 | } | |
7413 | { | |
7414 | wxPy_BEGIN_ALLOW_THREADS; | |
7415 | wxPyShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7416 | ||
7417 | wxPy_END_ALLOW_THREADS; | |
7418 | } Py_INCREF(Py_None); | |
7419 | _resultobj = Py_None; | |
7420 | return _resultobj; | |
7421 | } | |
7422 | ||
7423 | #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7424 | static PyObject *_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7425 | PyObject * _resultobj; | |
7426 | wxPyShape * _arg0; | |
7427 | double _arg1; | |
7428 | double _arg2; | |
7429 | int _arg3 = (int ) 0; | |
7430 | int _arg4 = (int ) 0; | |
7431 | PyObject * _argo0 = 0; | |
7432 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7433 | ||
7434 | self = self; | |
7435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7436 | return NULL; | |
7437 | if (_argo0) { | |
7438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p."); | |
7441 | return NULL; | |
7442 | } | |
7443 | } | |
7444 | { | |
7445 | wxPy_BEGIN_ALLOW_THREADS; | |
7446 | wxPyShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7447 | ||
7448 | wxPy_END_ALLOW_THREADS; | |
7449 | } Py_INCREF(Py_None); | |
7450 | _resultobj = Py_None; | |
7451 | return _resultobj; | |
7452 | } | |
7453 | ||
7454 | #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7455 | static PyObject *_wrap_wxPyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7456 | PyObject * _resultobj; | |
7457 | wxPyShape * _arg0; | |
7458 | double _arg1; | |
7459 | double _arg2; | |
7460 | int _arg3 = (int ) 0; | |
7461 | int _arg4 = (int ) 0; | |
7462 | PyObject * _argo0 = 0; | |
7463 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7464 | ||
7465 | self = self; | |
7466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7467 | return NULL; | |
7468 | if (_argo0) { | |
7469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p."); | |
7472 | return NULL; | |
7473 | } | |
7474 | } | |
7475 | { | |
7476 | wxPy_BEGIN_ALLOW_THREADS; | |
7477 | wxPyShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7478 | ||
7479 | wxPy_END_ALLOW_THREADS; | |
7480 | } Py_INCREF(Py_None); | |
7481 | _resultobj = Py_None; | |
7482 | return _resultobj; | |
7483 | } | |
7484 | ||
7485 | #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
7486 | static PyObject *_wrap_wxPyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7487 | PyObject * _resultobj; | |
7488 | wxPyShape * _arg0; | |
7489 | double _arg1; | |
7490 | double _arg2; | |
7491 | PyObject * _argo0 = 0; | |
7492 | char *_kwnames[] = { "self","x","y", NULL }; | |
7493 | ||
7494 | self = self; | |
7495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7496 | return NULL; | |
7497 | if (_argo0) { | |
7498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p."); | |
7501 | return NULL; | |
7502 | } | |
7503 | } | |
7504 | { | |
7505 | wxPy_BEGIN_ALLOW_THREADS; | |
7506 | wxPyShape_base_OnSize(_arg0,_arg1,_arg2); | |
7507 | ||
7508 | wxPy_END_ALLOW_THREADS; | |
7509 | } Py_INCREF(Py_None); | |
7510 | _resultobj = Py_None; | |
7511 | return _resultobj; | |
7512 | } | |
7513 | ||
7514 | #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7515 | static PyObject *_wrap_wxPyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7516 | PyObject * _resultobj; | |
7517 | bool _result; | |
7518 | wxPyShape * _arg0; | |
7519 | wxDC * _arg1; | |
7520 | double _arg2; | |
7521 | double _arg3; | |
7522 | double _arg4; | |
7523 | double _arg5; | |
7524 | bool _arg6 = (bool ) TRUE; | |
7525 | PyObject * _argo0 = 0; | |
7526 | PyObject * _argo1 = 0; | |
7527 | int tempbool6 = (int) TRUE; | |
7528 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7529 | ||
7530 | self = self; | |
7531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7532 | return NULL; | |
7533 | if (_argo0) { | |
7534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePre. Expected _wxPyShape_p."); | |
7537 | return NULL; | |
7538 | } | |
7539 | } | |
7540 | if (_argo1) { | |
7541 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7542 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePre. Expected _wxDC_p."); | |
7544 | return NULL; | |
7545 | } | |
7546 | } | |
7547 | _arg6 = (bool ) tempbool6; | |
7548 | { | |
7549 | wxPy_BEGIN_ALLOW_THREADS; | |
7550 | _result = (bool )wxPyShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7551 | ||
7552 | wxPy_END_ALLOW_THREADS; | |
7553 | } _resultobj = Py_BuildValue("i",_result); | |
7554 | return _resultobj; | |
7555 | } | |
7556 | ||
7557 | #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7558 | static PyObject *_wrap_wxPyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7559 | PyObject * _resultobj; | |
7560 | wxPyShape * _arg0; | |
7561 | wxDC * _arg1; | |
7562 | double _arg2; | |
7563 | double _arg3; | |
7564 | double _arg4; | |
7565 | double _arg5; | |
7566 | bool _arg6 = (bool ) TRUE; | |
7567 | PyObject * _argo0 = 0; | |
7568 | PyObject * _argo1 = 0; | |
7569 | int tempbool6 = (int) TRUE; | |
7570 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7571 | ||
7572 | self = self; | |
7573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7574 | return NULL; | |
7575 | if (_argo0) { | |
7576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p."); | |
7579 | return NULL; | |
7580 | } | |
7581 | } | |
7582 | if (_argo1) { | |
7583 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7584 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p."); | |
7586 | return NULL; | |
7587 | } | |
7588 | } | |
7589 | _arg6 = (bool ) tempbool6; | |
7590 | { | |
7591 | wxPy_BEGIN_ALLOW_THREADS; | |
7592 | wxPyShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7593 | ||
7594 | wxPy_END_ALLOW_THREADS; | |
7595 | } Py_INCREF(Py_None); | |
7596 | _resultobj = Py_None; | |
7597 | return _resultobj; | |
7598 | } | |
7599 | ||
7600 | #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7601 | static PyObject *_wrap_wxPyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7602 | PyObject * _resultobj; | |
7603 | wxPyShape * _arg0; | |
7604 | bool _arg1; | |
7605 | double _arg2; | |
7606 | double _arg3; | |
7607 | int _arg4 = (int ) 0; | |
7608 | int _arg5 = (int ) 0; | |
7609 | PyObject * _argo0 = 0; | |
7610 | int tempbool1; | |
7611 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7612 | ||
7613 | self = self; | |
7614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7615 | return NULL; | |
7616 | if (_argo0) { | |
7617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p."); | |
7620 | return NULL; | |
7621 | } | |
7622 | } | |
7623 | _arg1 = (bool ) tempbool1; | |
7624 | { | |
7625 | wxPy_BEGIN_ALLOW_THREADS; | |
7626 | wxPyShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7627 | ||
7628 | wxPy_END_ALLOW_THREADS; | |
7629 | } Py_INCREF(Py_None); | |
7630 | _resultobj = Py_None; | |
7631 | return _resultobj; | |
7632 | } | |
7633 | ||
7634 | #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7635 | static PyObject *_wrap_wxPyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7636 | PyObject * _resultobj; | |
7637 | wxPyShape * _arg0; | |
7638 | double _arg1; | |
7639 | double _arg2; | |
7640 | int _arg3 = (int ) 0; | |
7641 | int _arg4 = (int ) 0; | |
7642 | PyObject * _argo0 = 0; | |
7643 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7644 | ||
7645 | self = self; | |
7646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7647 | return NULL; | |
7648 | if (_argo0) { | |
7649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p."); | |
7652 | return NULL; | |
7653 | } | |
7654 | } | |
7655 | { | |
7656 | wxPy_BEGIN_ALLOW_THREADS; | |
7657 | wxPyShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7658 | ||
7659 | wxPy_END_ALLOW_THREADS; | |
7660 | } Py_INCREF(Py_None); | |
7661 | _resultobj = Py_None; | |
7662 | return _resultobj; | |
7663 | } | |
7664 | ||
7665 | #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7666 | static PyObject *_wrap_wxPyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7667 | PyObject * _resultobj; | |
7668 | wxPyShape * _arg0; | |
7669 | double _arg1; | |
7670 | double _arg2; | |
7671 | int _arg3 = (int ) 0; | |
7672 | int _arg4 = (int ) 0; | |
7673 | PyObject * _argo0 = 0; | |
7674 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7675 | ||
7676 | self = self; | |
7677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7678 | return NULL; | |
7679 | if (_argo0) { | |
7680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p."); | |
7683 | return NULL; | |
7684 | } | |
7685 | } | |
7686 | { | |
7687 | wxPy_BEGIN_ALLOW_THREADS; | |
7688 | wxPyShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7689 | ||
7690 | wxPy_END_ALLOW_THREADS; | |
7691 | } Py_INCREF(Py_None); | |
7692 | _resultobj = Py_None; | |
7693 | return _resultobj; | |
7694 | } | |
7695 | ||
7696 | #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7697 | static PyObject *_wrap_wxPyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7698 | PyObject * _resultobj; | |
7699 | wxPyShape * _arg0; | |
7700 | bool _arg1; | |
7701 | double _arg2; | |
7702 | double _arg3; | |
7703 | int _arg4 = (int ) 0; | |
7704 | int _arg5 = (int ) 0; | |
7705 | PyObject * _argo0 = 0; | |
7706 | int tempbool1; | |
7707 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7708 | ||
7709 | self = self; | |
7710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7711 | return NULL; | |
7712 | if (_argo0) { | |
7713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p."); | |
7716 | return NULL; | |
7717 | } | |
7718 | } | |
7719 | _arg1 = (bool ) tempbool1; | |
7720 | { | |
7721 | wxPy_BEGIN_ALLOW_THREADS; | |
7722 | wxPyShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7723 | ||
7724 | wxPy_END_ALLOW_THREADS; | |
7725 | } Py_INCREF(Py_None); | |
7726 | _resultobj = Py_None; | |
7727 | return _resultobj; | |
7728 | } | |
7729 | ||
7730 | #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7731 | static PyObject *_wrap_wxPyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7732 | PyObject * _resultobj; | |
7733 | wxPyShape * _arg0; | |
7734 | double _arg1; | |
7735 | double _arg2; | |
7736 | int _arg3 = (int ) 0; | |
7737 | int _arg4 = (int ) 0; | |
7738 | PyObject * _argo0 = 0; | |
7739 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7740 | ||
7741 | self = self; | |
7742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7743 | return NULL; | |
7744 | if (_argo0) { | |
7745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p."); | |
7748 | return NULL; | |
7749 | } | |
7750 | } | |
7751 | { | |
7752 | wxPy_BEGIN_ALLOW_THREADS; | |
7753 | wxPyShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7754 | ||
7755 | wxPy_END_ALLOW_THREADS; | |
7756 | } Py_INCREF(Py_None); | |
7757 | _resultobj = Py_None; | |
7758 | return _resultobj; | |
7759 | } | |
7760 | ||
7761 | #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7762 | static PyObject *_wrap_wxPyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7763 | PyObject * _resultobj; | |
7764 | wxPyShape * _arg0; | |
7765 | double _arg1; | |
7766 | double _arg2; | |
7767 | int _arg3 = (int ) 0; | |
7768 | int _arg4 = (int ) 0; | |
7769 | PyObject * _argo0 = 0; | |
7770 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7771 | ||
7772 | self = self; | |
7773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7774 | return NULL; | |
7775 | if (_argo0) { | |
7776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p."); | |
7779 | return NULL; | |
7780 | } | |
7781 | } | |
7782 | { | |
7783 | wxPy_BEGIN_ALLOW_THREADS; | |
7784 | wxPyShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7785 | ||
7786 | wxPy_END_ALLOW_THREADS; | |
7787 | } Py_INCREF(Py_None); | |
7788 | _resultobj = Py_None; | |
7789 | return _resultobj; | |
7790 | } | |
7791 | ||
7792 | #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7793 | static PyObject *_wrap_wxPyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7794 | PyObject * _resultobj; | |
7795 | wxPyShape * _arg0; | |
7796 | wxDC * _arg1; | |
7797 | double _arg2; | |
7798 | double _arg3; | |
7799 | double _arg4; | |
7800 | double _arg5; | |
7801 | PyObject * _argo0 = 0; | |
7802 | PyObject * _argo1 = 0; | |
7803 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7804 | ||
7805 | self = self; | |
7806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7807 | return NULL; | |
7808 | if (_argo0) { | |
7809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p."); | |
7812 | return NULL; | |
7813 | } | |
7814 | } | |
7815 | if (_argo1) { | |
7816 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7817 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7819 | return NULL; | |
7820 | } | |
7821 | } | |
7822 | { | |
7823 | wxPy_BEGIN_ALLOW_THREADS; | |
7824 | wxPyShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7825 | ||
7826 | wxPy_END_ALLOW_THREADS; | |
7827 | } Py_INCREF(Py_None); | |
7828 | _resultobj = Py_None; | |
7829 | return _resultobj; | |
7830 | } | |
7831 | ||
7832 | #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7833 | static PyObject *_wrap_wxPyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7834 | PyObject * _resultobj; | |
7835 | wxPyShape * _arg0; | |
7836 | wxDC * _arg1; | |
7837 | PyObject * _argo0 = 0; | |
7838 | PyObject * _argo1 = 0; | |
7839 | char *_kwnames[] = { "self","dc", NULL }; | |
7840 | ||
7841 | self = self; | |
7842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7843 | return NULL; | |
7844 | if (_argo0) { | |
7845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p."); | |
7848 | return NULL; | |
7849 | } | |
7850 | } | |
7851 | if (_argo1) { | |
7852 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7853 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7855 | return NULL; | |
7856 | } | |
7857 | } | |
7858 | { | |
7859 | wxPy_BEGIN_ALLOW_THREADS; | |
7860 | wxPyShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7861 | ||
7862 | wxPy_END_ALLOW_THREADS; | |
7863 | } Py_INCREF(Py_None); | |
7864 | _resultobj = Py_None; | |
7865 | return _resultobj; | |
7866 | } | |
7867 | ||
7868 | #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7869 | static PyObject *_wrap_wxPyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7870 | PyObject * _resultobj; | |
7871 | wxPyShape * _arg0; | |
7872 | wxDC * _arg1; | |
7873 | PyObject * _argo0 = 0; | |
7874 | PyObject * _argo1 = 0; | |
7875 | char *_kwnames[] = { "self","dc", NULL }; | |
7876 | ||
7877 | self = self; | |
7878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7879 | return NULL; | |
7880 | if (_argo0) { | |
7881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p."); | |
7884 | return NULL; | |
7885 | } | |
7886 | } | |
7887 | if (_argo1) { | |
7888 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7889 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7891 | return NULL; | |
7892 | } | |
7893 | } | |
7894 | { | |
7895 | wxPy_BEGIN_ALLOW_THREADS; | |
7896 | wxPyShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7897 | ||
7898 | wxPy_END_ALLOW_THREADS; | |
7899 | } Py_INCREF(Py_None); | |
7900 | _resultobj = Py_None; | |
7901 | return _resultobj; | |
7902 | } | |
7903 | ||
7904 | #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7905 | static PyObject *_wrap_wxPyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7906 | PyObject * _resultobj; | |
7907 | wxPyShape * _arg0; | |
7908 | wxDC * _arg1; | |
7909 | bool _arg2 = (bool ) TRUE; | |
7910 | PyObject * _argo0 = 0; | |
7911 | PyObject * _argo1 = 0; | |
7912 | int tempbool2 = (int) TRUE; | |
7913 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7914 | ||
7915 | self = self; | |
7916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7917 | return NULL; | |
7918 | if (_argo0) { | |
7919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p."); | |
7922 | return NULL; | |
7923 | } | |
7924 | } | |
7925 | if (_argo1) { | |
7926 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7927 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p."); | |
7929 | return NULL; | |
7930 | } | |
7931 | } | |
7932 | _arg2 = (bool ) tempbool2; | |
7933 | { | |
7934 | wxPy_BEGIN_ALLOW_THREADS; | |
7935 | wxPyShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7936 | ||
7937 | wxPy_END_ALLOW_THREADS; | |
7938 | } Py_INCREF(Py_None); | |
7939 | _resultobj = Py_None; | |
7940 | return _resultobj; | |
7941 | } | |
7942 | ||
7943 | #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7944 | static PyObject *_wrap_wxPyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7945 | PyObject * _resultobj; | |
7946 | wxPyShape * _arg0; | |
2348eaee | 7947 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7948 | bool _arg2; |
7949 | double _arg3; | |
7950 | double _arg4; | |
7951 | int _arg5 = (int ) 0; | |
7952 | int _arg6 = (int ) 0; | |
7953 | PyObject * _argo0 = 0; | |
7954 | PyObject * _argo1 = 0; | |
7955 | int tempbool2; | |
7956 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7957 | ||
7958 | self = self; | |
7959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7960 | return NULL; | |
7961 | if (_argo0) { | |
7962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p."); | |
7965 | return NULL; | |
7966 | } | |
7967 | } | |
7968 | if (_argo1) { | |
7969 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7970 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7972 | return NULL; |
7973 | } | |
7974 | } | |
7975 | _arg2 = (bool ) tempbool2; | |
7976 | { | |
7977 | wxPy_BEGIN_ALLOW_THREADS; | |
7978 | wxPyShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7979 | ||
7980 | wxPy_END_ALLOW_THREADS; | |
7981 | } Py_INCREF(Py_None); | |
7982 | _resultobj = Py_None; | |
7983 | return _resultobj; | |
7984 | } | |
7985 | ||
7986 | #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7987 | static PyObject *_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7988 | PyObject * _resultobj; | |
7989 | wxPyShape * _arg0; | |
2348eaee | 7990 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7991 | double _arg2; |
7992 | double _arg3; | |
7993 | int _arg4 = (int ) 0; | |
7994 | int _arg5 = (int ) 0; | |
7995 | PyObject * _argo0 = 0; | |
7996 | PyObject * _argo1 = 0; | |
7997 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7998 | ||
7999 | self = self; | |
8000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8001 | return NULL; | |
8002 | if (_argo0) { | |
8003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p."); | |
8006 | return NULL; | |
8007 | } | |
8008 | } | |
8009 | if (_argo1) { | |
8010 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8011 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8013 | return NULL; |
8014 | } | |
8015 | } | |
8016 | { | |
8017 | wxPy_BEGIN_ALLOW_THREADS; | |
8018 | wxPyShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8019 | ||
8020 | wxPy_END_ALLOW_THREADS; | |
8021 | } Py_INCREF(Py_None); | |
8022 | _resultobj = Py_None; | |
8023 | return _resultobj; | |
8024 | } | |
8025 | ||
8026 | #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8027 | static PyObject *_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8028 | PyObject * _resultobj; | |
8029 | wxPyShape * _arg0; | |
2348eaee | 8030 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8031 | double _arg2; |
8032 | double _arg3; | |
8033 | int _arg4 = (int ) 0; | |
8034 | int _arg5 = (int ) 0; | |
8035 | PyObject * _argo0 = 0; | |
8036 | PyObject * _argo1 = 0; | |
8037 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8038 | ||
8039 | self = self; | |
8040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8041 | return NULL; | |
8042 | if (_argo0) { | |
8043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p."); | |
8046 | return NULL; | |
8047 | } | |
8048 | } | |
8049 | if (_argo1) { | |
8050 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8051 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8053 | return NULL; |
8054 | } | |
8055 | } | |
8056 | { | |
8057 | wxPy_BEGIN_ALLOW_THREADS; | |
8058 | wxPyShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8059 | ||
8060 | wxPy_END_ALLOW_THREADS; | |
8061 | } Py_INCREF(Py_None); | |
8062 | _resultobj = Py_None; | |
8063 | return _resultobj; | |
8064 | } | |
8065 | ||
8066 | #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
8067 | static PyObject *_wrap_wxPyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8068 | PyObject * _resultobj; | |
8069 | wxPyShape * _arg0; | |
8070 | double _arg1; | |
8071 | double _arg2; | |
8072 | PyObject * _argo0 = 0; | |
8073 | char *_kwnames[] = { "self","w","h", NULL }; | |
8074 | ||
8075 | self = self; | |
8076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8077 | return NULL; | |
8078 | if (_argo0) { | |
8079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p."); | |
8082 | return NULL; | |
8083 | } | |
8084 | } | |
8085 | { | |
8086 | wxPy_BEGIN_ALLOW_THREADS; | |
8087 | wxPyShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
8088 | ||
8089 | wxPy_END_ALLOW_THREADS; | |
8090 | } Py_INCREF(Py_None); | |
8091 | _resultobj = Py_None; | |
8092 | return _resultobj; | |
8093 | } | |
8094 | ||
8095 | #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
8096 | static PyObject *_wrap_wxPyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8097 | PyObject * _resultobj; | |
8098 | wxPyShape * _arg0; | |
8099 | double _arg1; | |
8100 | double _arg2; | |
8101 | PyObject * _argo0 = 0; | |
8102 | char *_kwnames[] = { "self","w","h", NULL }; | |
8103 | ||
8104 | self = self; | |
8105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8106 | return NULL; | |
8107 | if (_argo0) { | |
8108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p."); | |
8111 | return NULL; | |
8112 | } | |
8113 | } | |
8114 | { | |
8115 | wxPy_BEGIN_ALLOW_THREADS; | |
8116 | wxPyShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
8117 | ||
8118 | wxPy_END_ALLOW_THREADS; | |
8119 | } Py_INCREF(Py_None); | |
8120 | _resultobj = Py_None; | |
8121 | return _resultobj; | |
8122 | } | |
8123 | ||
8124 | static PyMethodDef oglbasiccMethods[] = { | |
8125 | { "wxPyShape_base_OnEndSize", (PyCFunction) _wrap_wxPyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
8126 | { "wxPyShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
8127 | { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8128 | { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8129 | { "wxPyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8130 | { "wxPyShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
8131 | { "wxPyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8132 | { "wxPyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8133 | { "wxPyShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
8134 | { "wxPyShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8135 | { "wxPyShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8136 | { "wxPyShape_base_OnDragRight", (PyCFunction) _wrap_wxPyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8137 | { "wxPyShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8138 | { "wxPyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8139 | { "wxPyShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8140 | { "wxPyShape_base_OnMovePost", (PyCFunction) _wrap_wxPyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
8141 | { "wxPyShape_base_OnMovePre", (PyCFunction) _wrap_wxPyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
8142 | { "wxPyShape_base_OnSize", (PyCFunction) _wrap_wxPyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
8143 | { "wxPyShape_base_OnRightClick", (PyCFunction) _wrap_wxPyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
8144 | { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
8145 | { "wxPyShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
8146 | { "wxPyShape_base_OnHighlight", (PyCFunction) _wrap_wxPyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8147 | { "wxPyShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8148 | { "wxPyShape_base_OnErase", (PyCFunction) _wrap_wxPyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
8149 | { "wxPyShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8150 | { "wxPyShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
8151 | { "wxPyShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8152 | { "wxPyShape_base_OnDraw", (PyCFunction) _wrap_wxPyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
8153 | { "wxPyShape_base_OnDelete", (PyCFunction) _wrap_wxPyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
8154 | { "wxPyShape_ClearPointList", (PyCFunction) _wrap_wxPyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS }, | |
8155 | { "wxPyShape_Recentre", (PyCFunction) _wrap_wxPyShape_Recentre, METH_VARARGS | METH_KEYWORDS }, | |
8156 | { "wxPyShape_ClearAttachments", (PyCFunction) _wrap_wxPyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8157 | { "wxPyShape_GetRotation", (PyCFunction) _wrap_wxPyShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
8158 | { "wxPyShape_Rotate", (PyCFunction) _wrap_wxPyShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
8159 | { "wxPyShape_CopyWithHandler", (PyCFunction) _wrap_wxPyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS }, | |
8160 | { "wxPyShape_Copy", (PyCFunction) _wrap_wxPyShape_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8161 | { "wxPyShape_CreateNewCopy", (PyCFunction) _wrap_wxPyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS }, | |
8162 | { "wxPyShape_HasDescendant", (PyCFunction) _wrap_wxPyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS }, | |
8163 | { "wxPyShape_Draggable", (PyCFunction) _wrap_wxPyShape_Draggable, METH_VARARGS | METH_KEYWORDS }, | |
8164 | { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_wxPyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8165 | { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_wxPyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8166 | { "wxPyShape_GetBranchStyle", (PyCFunction) _wrap_wxPyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS }, | |
8167 | { "wxPyShape_SetBranchStyle", (PyCFunction) _wrap_wxPyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS }, | |
8168 | { "wxPyShape_GetBranchSpacing", (PyCFunction) _wrap_wxPyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS }, | |
8169 | { "wxPyShape_SetBranchSpacing", (PyCFunction) _wrap_wxPyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS }, | |
8170 | { "wxPyShape_GetBranchStemLength", (PyCFunction) _wrap_wxPyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS }, | |
8171 | { "wxPyShape_SetBranchStemLength", (PyCFunction) _wrap_wxPyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS }, | |
8172 | { "wxPyShape_GetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS }, | |
8173 | { "wxPyShape_SetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS }, | |
8174 | { "wxPyShape_GetAttachmentLineCount", (PyCFunction) _wrap_wxPyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS }, | |
8175 | { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS }, | |
8176 | { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS }, | |
8177 | { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS }, | |
8178 | { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_wxPyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS }, | |
8179 | { "wxPyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_wxPyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8180 | { "wxPyShape_DrawLinks", (PyCFunction) _wrap_wxPyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS }, | |
8181 | { "wxPyShape_EraseLinks", (PyCFunction) _wrap_wxPyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS }, | |
8182 | { "wxPyShape_AttachmentSortTest", (PyCFunction) _wrap_wxPyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS }, | |
8183 | { "wxPyShape_CalcSimpleAttachment", (PyCFunction) _wrap_wxPyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8184 | { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_wxPyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS }, | |
8185 | { "wxPyShape_AttachmentIsValid", (PyCFunction) _wrap_wxPyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS }, | |
8186 | { "wxPyShape_GetNumberOfAttachments", (PyCFunction) _wrap_wxPyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8187 | { "wxPyShape_GetAttachmentPosition", (PyCFunction) _wrap_wxPyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS }, | |
8188 | { "wxPyShape_RemoveLine", (PyCFunction) _wrap_wxPyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS }, | |
8189 | { "wxPyShape_ClearText", (PyCFunction) _wrap_wxPyShape_ClearText, METH_VARARGS | METH_KEYWORDS }, | |
8190 | { "wxPyShape_FindRegionNames", (PyCFunction) _wrap_wxPyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS }, | |
8191 | { "wxPyShape_FindRegion", (PyCFunction) _wrap_wxPyShape_FindRegion, METH_VARARGS | METH_KEYWORDS }, | |
8192 | { "wxPyShape_AssignNewIds", (PyCFunction) _wrap_wxPyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS }, | |
8193 | { "wxPyShape_ClearRegions", (PyCFunction) _wrap_wxPyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS }, | |
8194 | { "wxPyShape_AddRegion", (PyCFunction) _wrap_wxPyShape_AddRegion, METH_VARARGS | METH_KEYWORDS }, | |
8195 | { "wxPyShape_GetRegions", (PyCFunction) _wrap_wxPyShape_GetRegions, METH_VARARGS | METH_KEYWORDS }, | |
8196 | { "wxPyShape_NameRegions", (PyCFunction) _wrap_wxPyShape_NameRegions, METH_VARARGS | METH_KEYWORDS }, | |
8197 | { "wxPyShape_GetRegionId", (PyCFunction) _wrap_wxPyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS }, | |
8198 | { "wxPyShape_GetRegionName", (PyCFunction) _wrap_wxPyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS }, | |
8199 | { "wxPyShape_SetRegionName", (PyCFunction) _wrap_wxPyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS }, | |
8200 | { "wxPyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_wxPyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS }, | |
8201 | { "wxPyShape_GetTextColour", (PyCFunction) _wrap_wxPyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8202 | { "wxPyShape_SetTextColour", (PyCFunction) _wrap_wxPyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8203 | { "wxPyShape_GetFont", (PyCFunction) _wrap_wxPyShape_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
8204 | { "wxPyShape_SetFont", (PyCFunction) _wrap_wxPyShape_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
8205 | { "wxPyShape_GetFormatMode", (PyCFunction) _wrap_wxPyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8206 | { "wxPyShape_SetFormatMode", (PyCFunction) _wrap_wxPyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8207 | { "wxPyShape_FormatText", (PyCFunction) _wrap_wxPyShape_FormatText, METH_VARARGS | METH_KEYWORDS }, | |
8208 | { "wxPyShape_SetDefaultRegionSize", (PyCFunction) _wrap_wxPyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS }, | |
8209 | { "wxPyShape_GetBrush", (PyCFunction) _wrap_wxPyShape_GetBrush, METH_VARARGS | METH_KEYWORDS }, | |
8210 | { "wxPyShape_GetPen", (PyCFunction) _wrap_wxPyShape_GetPen, METH_VARARGS | METH_KEYWORDS }, | |
8211 | { "wxPyShape_AddText", (PyCFunction) _wrap_wxPyShape_AddText, METH_VARARGS | METH_KEYWORDS }, | |
8212 | { "wxPyShape_GetLinePosition", (PyCFunction) _wrap_wxPyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS }, | |
8213 | { "wxPyShape_AddLine", (PyCFunction) _wrap_wxPyShape_AddLine, METH_VARARGS | METH_KEYWORDS }, | |
8214 | { "wxPyShape_Constrain", (PyCFunction) _wrap_wxPyShape_Constrain, METH_VARARGS | METH_KEYWORDS }, | |
8215 | { "wxPyShape_Detach", (PyCFunction) _wrap_wxPyShape_Detach, METH_VARARGS | METH_KEYWORDS }, | |
8216 | { "wxPyShape_Attach", (PyCFunction) _wrap_wxPyShape_Attach, METH_VARARGS | METH_KEYWORDS }, | |
8217 | { "wxPyShape_SetAttachmentSize", (PyCFunction) _wrap_wxPyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS }, | |
8218 | { "wxPyShape_SetSize", (PyCFunction) _wrap_wxPyShape_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
8219 | { "wxPyShape_DrawContents", (PyCFunction) _wrap_wxPyShape_DrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8220 | { "wxPyShape_MoveLinks", (PyCFunction) _wrap_wxPyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8221 | { "wxPyShape_Flash", (PyCFunction) _wrap_wxPyShape_Flash, METH_VARARGS | METH_KEYWORDS }, | |
8222 | { "wxPyShape_Draw", (PyCFunction) _wrap_wxPyShape_Draw, METH_VARARGS | METH_KEYWORDS }, | |
8223 | { "wxPyShape_EraseContents", (PyCFunction) _wrap_wxPyShape_EraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8224 | { "wxPyShape_Erase", (PyCFunction) _wrap_wxPyShape_Erase, METH_VARARGS | METH_KEYWORDS }, | |
8225 | { "wxPyShape_Move", (PyCFunction) _wrap_wxPyShape_Move, METH_VARARGS | METH_KEYWORDS }, | |
8226 | { "wxPyShape_IsShown", (PyCFunction) _wrap_wxPyShape_IsShown, METH_VARARGS | METH_KEYWORDS }, | |
8227 | { "wxPyShape_Show", (PyCFunction) _wrap_wxPyShape_Show, METH_VARARGS | METH_KEYWORDS }, | |
8228 | { "wxPyShape_GetClientData", (PyCFunction) _wrap_wxPyShape_GetClientData, METH_VARARGS | METH_KEYWORDS }, | |
8229 | { "wxPyShape_SetClientData", (PyCFunction) _wrap_wxPyShape_SetClientData, METH_VARARGS | METH_KEYWORDS }, | |
8230 | { "wxPyShape_SetBrush", (PyCFunction) _wrap_wxPyShape_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
8231 | { "wxPyShape_SetPen", (PyCFunction) _wrap_wxPyShape_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
8232 | { "wxPyShape_GetId", (PyCFunction) _wrap_wxPyShape_GetId, METH_VARARGS | METH_KEYWORDS }, | |
8233 | { "wxPyShape_SetId", (PyCFunction) _wrap_wxPyShape_SetId, METH_VARARGS | METH_KEYWORDS }, | |
8234 | { "wxPyShape_GetAttachmentMode", (PyCFunction) _wrap_wxPyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS }, | |
8235 | { "wxPyShape_SetAttachmentMode", (PyCFunction) _wrap_wxPyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS }, | |
8236 | { "wxPyShape_GetDisableLabel", (PyCFunction) _wrap_wxPyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS }, | |
8237 | { "wxPyShape_SetDisableLabel", (PyCFunction) _wrap_wxPyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS }, | |
8238 | { "wxPyShape_GetLines", (PyCFunction) _wrap_wxPyShape_GetLines, METH_VARARGS | METH_KEYWORDS }, | |
8239 | { "wxPyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS }, | |
8240 | { "wxPyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS }, | |
8241 | { "wxPyShape_GetCentreResize", (PyCFunction) _wrap_wxPyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS }, | |
8242 | { "wxPyShape_SetCentreResize", (PyCFunction) _wrap_wxPyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS }, | |
8243 | { "wxPyShape_HitTest", (PyCFunction) _wrap_wxPyShape_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
8244 | { "wxPyShape_GetShadowMode", (PyCFunction) _wrap_wxPyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS }, | |
8245 | { "wxPyShape_SetShadowMode", (PyCFunction) _wrap_wxPyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS }, | |
8246 | { "wxPyShape_GetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8247 | { "wxPyShape_SetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8248 | { "wxPyShape_GetFixedHeight", (PyCFunction) _wrap_wxPyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS }, | |
8249 | { "wxPyShape_GetFixedWidth", (PyCFunction) _wrap_wxPyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS }, | |
8250 | { "wxPyShape_GetFixedSize", (PyCFunction) _wrap_wxPyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS }, | |
8251 | { "wxPyShape_SetFixedSize", (PyCFunction) _wrap_wxPyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS }, | |
8252 | { "wxPyShape_SetDraggable", (PyCFunction) _wrap_wxPyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS }, | |
8253 | { "wxPyShape_GetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS }, | |
8254 | { "wxPyShape_SetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS }, | |
8255 | { "wxPyShape_AncestorSelected", (PyCFunction) _wrap_wxPyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS }, | |
8256 | { "wxPyShape_Selected", (PyCFunction) _wrap_wxPyShape_Selected, METH_VARARGS | METH_KEYWORDS }, | |
8257 | { "wxPyShape_IsHighlighted", (PyCFunction) _wrap_wxPyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS }, | |
8258 | { "wxPyShape_SetHighlight", (PyCFunction) _wrap_wxPyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8259 | { "wxPyShape_Select", (PyCFunction) _wrap_wxPyShape_Select, METH_VARARGS | METH_KEYWORDS }, | |
8260 | { "wxPyShape_CalculateSize", (PyCFunction) _wrap_wxPyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
8261 | { "wxPyShape_Recompute", (PyCFunction) _wrap_wxPyShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
8262 | { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8263 | { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8264 | { "wxPyShape_SetEventHandler", (PyCFunction) _wrap_wxPyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS }, | |
8265 | { "wxPyShape_GetEventHandler", (PyCFunction) _wrap_wxPyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS }, | |
8266 | { "wxPyShape_ResetControlPoints", (PyCFunction) _wrap_wxPyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8267 | { "wxPyShape_DeleteControlPoints", (PyCFunction) _wrap_wxPyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8268 | { "wxPyShape_MakeControlPoints", (PyCFunction) _wrap_wxPyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8269 | { "wxPyShape_GetDrawHandles", (PyCFunction) _wrap_wxPyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS }, | |
8270 | { "wxPyShape_SetDrawHandles", (PyCFunction) _wrap_wxPyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS }, | |
8271 | { "wxPyShape_Unlink", (PyCFunction) _wrap_wxPyShape_Unlink, METH_VARARGS | METH_KEYWORDS }, | |
8272 | { "wxPyShape_GetChildren", (PyCFunction) _wrap_wxPyShape_GetChildren, METH_VARARGS | METH_KEYWORDS }, | |
8273 | { "wxPyShape_GetTopAncestor", (PyCFunction) _wrap_wxPyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS }, | |
8274 | { "wxPyShape_SetParent", (PyCFunction) _wrap_wxPyShape_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
8275 | { "wxPyShape_GetParent", (PyCFunction) _wrap_wxPyShape_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
8276 | { "wxPyShape_SetY", (PyCFunction) _wrap_wxPyShape_SetY, METH_VARARGS | METH_KEYWORDS }, | |
8277 | { "wxPyShape_SetX", (PyCFunction) _wrap_wxPyShape_SetX, METH_VARARGS | METH_KEYWORDS }, | |
8278 | { "wxPyShape_GetY", (PyCFunction) _wrap_wxPyShape_GetY, METH_VARARGS | METH_KEYWORDS }, | |
8279 | { "wxPyShape_GetX", (PyCFunction) _wrap_wxPyShape_GetX, METH_VARARGS | METH_KEYWORDS }, | |
8280 | { "wxPyShape_RemoveFromCanvas", (PyCFunction) _wrap_wxPyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8281 | { "wxPyShape_InsertInCanvas", (PyCFunction) _wrap_wxPyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8282 | { "wxPyShape_AddToCanvas", (PyCFunction) _wrap_wxPyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8283 | { "wxPyShape_SetCanvas", (PyCFunction) _wrap_wxPyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8284 | { "wxPyShape_GetCanvas", (PyCFunction) _wrap_wxPyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8285 | { "wxPyShape_GetPerimeterPoint", (PyCFunction) _wrap_wxPyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS }, | |
8286 | { "wxPyShape_GetBoundingBoxMin", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS }, | |
8287 | { "wxPyShape_GetBoundingBoxMax", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS }, | |
8288 | { "wxPyShape_Destroy", (PyCFunction) _wrap_wxPyShape_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
8289 | { "wxPyShape__setSelf", (PyCFunction) _wrap_wxPyShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
8290 | { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
8291 | { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
8292 | { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8293 | { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8294 | { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8295 | { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
8296 | { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8297 | { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8298 | { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
8299 | { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8300 | { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8301 | { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8302 | { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8303 | { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8304 | { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8305 | { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
8306 | { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
8307 | { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
8308 | { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
8309 | { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
8310 | { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
8311 | { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8312 | { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8313 | { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
8314 | { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8315 | { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
8316 | { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8317 | { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
8318 | { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
8319 | { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_wxPyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS }, | |
8320 | { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS }, | |
8321 | { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS }, | |
8322 | { "wxPyShapeEvtHandler_GetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS }, | |
8323 | { "wxPyShapeEvtHandler_SetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
8324 | { "wxPyShapeEvtHandler_Destroy", (PyCFunction) _wrap_wxPyShapeEvtHandler_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
8325 | { "wxPyShapeEvtHandler__setSelf", (PyCFunction) _wrap_wxPyShapeEvtHandler__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
8326 | { "new_wxPyShapeEvtHandler", (PyCFunction) _wrap_new_wxPyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS }, | |
8327 | { "wxShapeRegion_ClearText", (PyCFunction) _wrap_wxShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS }, | |
8328 | { "wxShapeRegion_GetHeight", (PyCFunction) _wrap_wxShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
8329 | { "wxShapeRegion_GetWidth", (PyCFunction) _wrap_wxShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
8330 | { "wxShapeRegion_GetActualPen", (PyCFunction) _wrap_wxShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS }, | |
8331 | { "wxShapeRegion_SetPenColour", (PyCFunction) _wrap_wxShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS }, | |
8332 | { "wxShapeRegion_SetPenStyle", (PyCFunction) _wrap_wxShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS }, | |
8333 | { "wxShapeRegion_GetPenStyle", (PyCFunction) _wrap_wxShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS }, | |
8334 | { "wxShapeRegion_GetPenColour", (PyCFunction) _wrap_wxShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS }, | |
8335 | { "wxShapeRegion_GetFormattedText", (PyCFunction) _wrap_wxShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS }, | |
8336 | { "wxShapeRegion_GetActualColourObject", (PyCFunction) _wrap_wxShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS }, | |
8337 | { "wxShapeRegion_GetColour", (PyCFunction) _wrap_wxShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
8338 | { "wxShapeRegion_GetName", (PyCFunction) _wrap_wxShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS }, | |
8339 | { "wxShapeRegion_GetFormatMode", (PyCFunction) _wrap_wxShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8340 | { "wxShapeRegion_GetPosition", (PyCFunction) _wrap_wxShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8341 | { "wxShapeRegion_GetSize", (PyCFunction) _wrap_wxShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
8342 | { "wxShapeRegion_GetProportion", (PyCFunction) _wrap_wxShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS }, | |
8343 | { "wxShapeRegion_GetMinSize", (PyCFunction) _wrap_wxShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
8344 | { "wxShapeRegion_GetFont", (PyCFunction) _wrap_wxShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
8345 | { "wxShapeRegion_GetText", (PyCFunction) _wrap_wxShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8346 | { "wxShapeRegion_SetColour", (PyCFunction) _wrap_wxShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
8347 | { "wxShapeRegion_SetName", (PyCFunction) _wrap_wxShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS }, | |
8348 | { "wxShapeRegion_SetFormatMode", (PyCFunction) _wrap_wxShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8349 | { "wxShapeRegion_SetProportions", (PyCFunction) _wrap_wxShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS }, | |
8350 | { "wxShapeRegion_SetPosition", (PyCFunction) _wrap_wxShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8351 | { "wxShapeRegion_SetSize", (PyCFunction) _wrap_wxShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
8352 | { "wxShapeRegion_SetMinSize", (PyCFunction) _wrap_wxShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
8353 | { "wxShapeRegion_SetFont", (PyCFunction) _wrap_wxShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
8354 | { "wxShapeRegion_SetText", (PyCFunction) _wrap_wxShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8355 | { "new_wxShapeRegion", (PyCFunction) _wrap_new_wxShapeRegion, METH_VARARGS | METH_KEYWORDS }, | |
8356 | { NULL, NULL } | |
8357 | }; | |
8358 | #ifdef __cplusplus | |
8359 | } | |
8360 | #endif | |
8361 | /* | |
8362 | * This table is used by the pointer type-checker | |
8363 | */ | |
8364 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8365 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8366 | { "_wxEvent","_class_wxEvent",0}, | |
8367 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8368 | { "_signed_long","_long",0}, | |
8369 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
c368d904 | 8370 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
e91a9dfc | 8371 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
c368d904 | 8372 | { "_class_wxFSFile","_wxFSFile",0}, |
714d23b4 RD |
8373 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
8374 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 8375 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
8376 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
8377 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 8378 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
c368d904 RD |
8379 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
8380 | { "_class_wxDateTime","_wxDateTime",0}, | |
714d23b4 | 8381 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
8382 | { "_wxPrintQuality","_int",0}, |
8383 | { "_wxPrintQuality","_signed_int",0}, | |
8384 | { "_wxPrintQuality","_unsigned_int",0}, | |
8385 | { "_wxPrintQuality","_wxWindowID",0}, | |
8386 | { "_wxPrintQuality","_uint",0}, | |
8387 | { "_wxPrintQuality","_EBool",0}, | |
8388 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 8389 | { "_wxPrintQuality","_time_t",0}, |
714d23b4 | 8390 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 8391 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
e91a9dfc | 8392 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 8393 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
714d23b4 | 8394 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
8395 | { "_class_wxMenuBar","_wxMenuBar",0}, |
8396 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 8397 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
8398 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
8399 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8400 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 8401 | { "_wxPySizer","_class_wxPySizer",0}, |
c368d904 | 8402 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
e91a9dfc RD |
8403 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
8404 | { "_wxCursor","_class_wxCursor",0}, | |
8405 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
c368d904 RD |
8406 | { "_wxPyProcess","_class_wxPyProcess",0}, |
8407 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
e91a9dfc | 8408 | { "_wxImageHandler","_class_wxImageHandler",0}, |
c368d904 | 8409 | { "_wxLog","_class_wxLog",0}, |
714d23b4 | 8410 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
8411 | { "_wxMask","_class_wxMask",0}, |
8412 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
8413 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
8414 | { "_class_wxColourData","_wxColourData",0}, | |
8415 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
8416 | { "_wxPrinter","_class_wxPrinter",0}, | |
8417 | { "_wxPen","_class_wxPen",0}, | |
8418 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 8419 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 8420 | { "_byte","_unsigned_char",0}, |
714d23b4 RD |
8421 | { "_wxDataObject","_class_wxDataObject",0}, |
8422 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 8423 | { "_wxStaticBox","_class_wxStaticBox",0}, |
714d23b4 RD |
8424 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
8425 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
8426 | { "_wxChoice","_class_wxChoice",0}, |
8427 | { "_wxSlider","_class_wxSlider",0}, | |
8428 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
8429 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
8430 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
8431 | { "_long","_unsigned_long",0}, |
8432 | { "_long","_signed_long",0}, | |
8433 | { "_wxImageList","_class_wxImageList",0}, | |
714d23b4 | 8434 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
8435 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
8436 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8437 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 8438 | { "_class_wxSizer","_wxSizer",0}, |
714d23b4 | 8439 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 8440 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 8441 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 8442 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
714d23b4 | 8443 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
8444 | { "_class_wxGauge","_wxGauge",0}, |
8445 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
8446 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 8447 | { "_wxSizerItem","_class_wxSizerItem",0}, |
714d23b4 | 8448 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
8449 | { "_wxListEvent","_class_wxListEvent",0}, |
8450 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
8451 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
8452 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
8453 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 8454 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
8455 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
8456 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
714d23b4 | 8457 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 8458 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 8459 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
8460 | { "_size_t","_unsigned_int",0}, |
8461 | { "_size_t","_int",0}, | |
8462 | { "_size_t","_wxWindowID",0}, | |
8463 | { "_size_t","_uint",0}, | |
8464 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
714d23b4 RD |
8465 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
8466 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
8467 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
c368d904 | 8468 | { "_wxLogGui","_class_wxLogGui",0}, |
1b62f00d | 8469 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
e91a9dfc RD |
8470 | { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, |
8471 | { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8472 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
8473 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8474 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8475 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8476 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8477 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 8478 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
8479 | { "_wxPanel","_class_wxPanel",0}, |
8480 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8481 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
c368d904 | 8482 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
e91a9dfc RD |
8483 | { "_wxPyEvent","_class_wxPyEvent",0}, |
8484 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8485 | { "_class_wxMask","_wxMask",0}, | |
714d23b4 | 8486 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 8487 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
714d23b4 | 8488 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc | 8489 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
c368d904 | 8490 | { "_wxFileConfig","_class_wxFileConfig",0}, |
e91a9dfc RD |
8491 | { "_wxColour","_class_wxColour",0}, |
8492 | { "_class_wxDialog","_wxDialog",0}, | |
714d23b4 | 8493 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
8494 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
8495 | { "_class_wxPrinter","_wxPrinter",0}, | |
714d23b4 | 8496 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
8497 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
8498 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8499 | { "_wxToolBar","_class_wxToolBar",0}, | |
714d23b4 | 8500 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 8501 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
8502 | { "_wxStaticLine","_class_wxStaticLine",0}, |
8503 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8504 | { "_wxBrush","_class_wxBrush",0}, | |
8505 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
8506 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8507 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
714d23b4 RD |
8508 | { "_wxDataFormat","_class_wxDataFormat",0}, |
8509 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
8510 | { "_class_wxSashWindow","_wxSashWindow",0}, |
8511 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
714d23b4 | 8512 | { "_uint","_wxCoord",0}, |
e91a9dfc | 8513 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 8514 | { "_uint","_time_t",0}, |
e91a9dfc RD |
8515 | { "_uint","_size_t",0}, |
8516 | { "_uint","_unsigned_int",0}, | |
8517 | { "_uint","_int",0}, | |
8518 | { "_uint","_wxWindowID",0}, | |
c368d904 | 8519 | { "_wxChar","_char",0}, |
f0261a72 | 8520 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
8521 | { "_class_wxEvent","_wxEvent",0}, |
8522 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8523 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
8524 | { "_wxRect","_class_wxRect",0}, |
8525 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8526 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
c368d904 | 8527 | { "_class_wxLogWindow","_wxLogWindow",0}, |
e91a9dfc RD |
8528 | { "_class_wxImage","_wxImage",0}, |
8529 | { "_wxPoint","_class_wxPoint",0}, | |
c368d904 | 8530 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
e91a9dfc RD |
8531 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
8532 | { "_class_wxButton","_wxButton",0}, | |
8533 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 8534 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
e91a9dfc | 8535 | { "_class_wxFontData","_wxFontData",0}, |
714d23b4 | 8536 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 8537 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
c368d904 RD |
8538 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
8539 | { "_char","_wxChar",0}, | |
e91a9dfc | 8540 | { "_wxBitmap","_class_wxBitmap",0}, |
1b62f00d | 8541 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, |
e91a9dfc | 8542 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
e91a9dfc | 8543 | { "_wxWindowDC","_class_wxWindowDC",0}, |
c368d904 RD |
8544 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
8545 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
e91a9dfc RD |
8546 | { "_wxScrollBar","_class_wxScrollBar",0}, |
8547 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
8548 | { "_wxColourDialog","_class_wxColourDialog",0}, |
8549 | { "_wxPrintData","_class_wxPrintData",0}, | |
c368d904 | 8550 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
e91a9dfc RD |
8551 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
8552 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8553 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 8554 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc RD |
8555 | { "_class_wxPyEvent","_wxPyEvent",0}, |
8556 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
c368d904 | 8557 | { "_wxConfig","_class_wxConfig",0}, |
e91a9dfc RD |
8558 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
8559 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
c368d904 | 8560 | { "_class_wxFileConfig","_wxFileConfig",0}, |
714d23b4 RD |
8561 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
8562 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
8563 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
8564 | { "_wxListItem","_class_wxListItem",0}, | |
8565 | { "_class_wxToolBar","_wxToolBar",0}, | |
714d23b4 | 8566 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc RD |
8567 | { "_class_wxStaticLine","_wxStaticLine",0}, |
8568 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
714d23b4 | 8569 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc | 8570 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
c368d904 | 8571 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
e91a9dfc | 8572 | { "_class_wxShapeRegion","_wxShapeRegion",0}, |
714d23b4 | 8573 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
8574 | { "_EBool","_wxPrintQuality",0}, |
8575 | { "_EBool","_signed_int",0}, | |
8576 | { "_EBool","_int",0}, | |
8577 | { "_EBool","_wxWindowID",0}, | |
8578 | { "_class_wxRegion","_wxRegion",0}, | |
714d23b4 | 8579 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 8580 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
714d23b4 | 8581 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
8582 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
8583 | { "_wxStaticText","_class_wxStaticText",0}, | |
8584 | { "_wxFont","_class_wxFont",0}, | |
714d23b4 | 8585 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
8586 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
8587 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
c368d904 | 8588 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
e91a9dfc | 8589 | { "_wxNotebook","_class_wxNotebook",0}, |
c368d904 | 8590 | { "_wxFSFile","_class_wxFSFile",0}, |
e91a9dfc RD |
8591 | { "_unsigned_long","_long",0}, |
8592 | { "_class_wxRect","_wxRect",0}, | |
8593 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 8594 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
f6bcfd97 | 8595 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
e91a9dfc | 8596 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
714d23b4 | 8597 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 8598 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
e91a9dfc | 8599 | { "_wxPyApp","_class_wxPyApp",0}, |
714d23b4 | 8600 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 RD |
8601 | { "_class_wxOutputStream","_wxOutputStream",0}, |
8602 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
e91a9dfc RD |
8603 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
8604 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8605 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
c368d904 | 8606 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
e91a9dfc RD |
8607 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8608 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
c368d904 RD |
8609 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
8610 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
e91a9dfc RD |
8611 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8612 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8613 | { "_class_wxPanel","_wxPanel",0}, | |
8614 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8615 | { "_wxComboBox","_class_wxComboBox",0}, | |
8616 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8617 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
714d23b4 | 8618 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
8619 | { "_signed_int","_wxPrintQuality",0}, |
8620 | { "_signed_int","_EBool",0}, | |
8621 | { "_signed_int","_wxWindowID",0}, | |
8622 | { "_signed_int","_int",0}, | |
8623 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 8624 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 8625 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
1b62f00d | 8626 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, |
714d23b4 | 8627 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
8628 | { "_wxMenu","_class_wxMenu",0}, |
8629 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8630 | { "_wxListBox","_class_wxListBox",0}, | |
8631 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
714d23b4 | 8632 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc | 8633 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
c368d904 | 8634 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
8635 | { "_WXTYPE","_short",0}, |
8636 | { "_WXTYPE","_signed_short",0}, | |
8637 | { "_WXTYPE","_unsigned_short",0}, | |
8638 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
714d23b4 | 8639 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 8640 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
8641 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
8642 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 8643 | { "_wxTipProvider","_class_wxTipProvider",0}, |
c368d904 | 8644 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
8645 | { "_unsigned_short","_WXTYPE",0}, |
8646 | { "_unsigned_short","_short",0}, | |
8647 | { "_class_wxWindow","_wxWindow",0}, | |
c368d904 | 8648 | { "_class_wxLogStderr","_wxLogStderr",0}, |
e91a9dfc | 8649 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, |
c368d904 | 8650 | { "_wxDateSpan","_class_wxDateSpan",0}, |
e91a9dfc RD |
8651 | { "_class_wxStaticText","_wxStaticText",0}, |
8652 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8653 | { "_class_wxFont","_wxFont",0}, | |
714d23b4 | 8654 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 8655 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
8656 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
8657 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
714d23b4 | 8658 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
e91a9dfc | 8659 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
714d23b4 | 8660 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
1b62f00d | 8661 | { "_wxJoystick","_class_wxJoystick",0}, |
714d23b4 | 8662 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
e91a9dfc RD |
8663 | { "_wxClientDC","_class_wxClientDC",0}, |
8664 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
f6bcfd97 | 8665 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
e91a9dfc RD |
8666 | { "_wxListCtrl","_class_wxListCtrl",0}, |
8667 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8668 | { "_class_wxPoint","_wxPoint",0}, | |
c368d904 | 8669 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
e91a9dfc RD |
8670 | { "_wxRealPoint","_class_wxRealPoint",0}, |
8671 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 8672 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
8673 | { "_signed_short","_WXTYPE",0}, |
8674 | { "_signed_short","_short",0}, | |
8675 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
714d23b4 | 8676 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1b62f00d | 8677 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, |
e91a9dfc | 8678 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
c368d904 | 8679 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
e91a9dfc RD |
8680 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8681 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8682 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8683 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8684 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
8685 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
8686 | { "_class_wxCursor","_wxCursor",0}, | |
714d23b4 | 8687 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 8688 | { "_class_wxPyProcess","_wxPyProcess",0}, |
e91a9dfc RD |
8689 | { "_class_wxImageHandler","_wxImageHandler",0}, |
8690 | { "_wxPyShape","_class_wxPyShape",0}, | |
8691 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
c368d904 | 8692 | { "_class_wxLog","_wxLog",0}, |
e91a9dfc RD |
8693 | { "_wxTreeItemId","_class_wxTreeItemId",0}, |
8694 | { "_unsigned_char","_byte",0}, | |
1b62f00d | 8695 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, |
e91a9dfc RD |
8696 | { "_class_wxMenu","_wxMenu",0}, |
8697 | { "_wxControl","_class_wxControl",0}, | |
8698 | { "_class_wxListBox","_wxListBox",0}, | |
714d23b4 | 8699 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 8700 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8701 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
8702 | { "_unsigned_int","_size_t",0}, |
8703 | { "_unsigned_int","_uint",0}, | |
8704 | { "_unsigned_int","_wxWindowID",0}, | |
8705 | { "_unsigned_int","_int",0}, | |
8706 | { "_wxIcon","_class_wxIcon",0}, | |
8707 | { "_wxDialog","_class_wxDialog",0}, | |
8708 | { "_class_wxListItem","_wxListItem",0}, | |
8709 | { "_class_wxPen","_wxPen",0}, | |
8710 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8711 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
c368d904 RD |
8712 | { "_wxConfigBase","_class_wxConfigBase",0}, |
8713 | { "_short","_wxDateTime_t",0}, | |
e91a9dfc RD |
8714 | { "_short","_WXTYPE",0}, |
8715 | { "_short","_unsigned_short",0}, | |
8716 | { "_short","_signed_short",0}, | |
8717 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8718 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
714d23b4 RD |
8719 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8720 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
8721 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8722 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8723 | { "_class_wxChoice","_wxChoice",0}, | |
8724 | { "_class_wxSlider","_wxSlider",0}, | |
8725 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8726 | { "_class_wxImageList","_wxImageList",0}, | |
8727 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
c368d904 | 8728 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 | 8729 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 8730 | { "_wxFrame","_class_wxFrame",0}, |
714d23b4 | 8731 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 8732 | { "_class_wxGridSizer","_wxGridSizer",0}, |
714d23b4 | 8733 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
8734 | { "_class_wxNotebook","_wxNotebook",0}, |
8735 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
714d23b4 | 8736 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 8737 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8738 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
8739 | { "_wxWindowID","_size_t",0}, |
8740 | { "_wxWindowID","_EBool",0}, | |
8741 | { "_wxWindowID","_uint",0}, | |
8742 | { "_wxWindowID","_int",0}, | |
8743 | { "_wxWindowID","_signed_int",0}, | |
8744 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 8745 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 8746 | { "_class_wxSizerItem","_wxSizerItem",0}, |
714d23b4 | 8747 | { "_int","_wxCoord",0}, |
e91a9dfc | 8748 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8749 | { "_int","_time_t",0}, |
e91a9dfc RD |
8750 | { "_int","_size_t",0}, |
8751 | { "_int","_EBool",0}, | |
8752 | { "_int","_uint",0}, | |
8753 | { "_int","_wxWindowID",0}, | |
8754 | { "_int","_unsigned_int",0}, | |
8755 | { "_int","_signed_int",0}, | |
8756 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 8757 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
c368d904 | 8758 | { "_wxLogWindow","_class_wxLogWindow",0}, |
e91a9dfc RD |
8759 | { "_class_wxListEvent","_wxListEvent",0}, |
8760 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
c368d904 RD |
8761 | { "_wxDateTime_t","_unsigned_short",0}, |
8762 | { "_wxDateTime_t","_short",0}, | |
8763 | { "_wxDateTime_t","_WXTYPE",0}, | |
e91a9dfc | 8764 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
714d23b4 | 8765 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
8766 | { "_wxDateTime","_class_wxDateTime",0}, |
8767 | { "_time_t","_wxCoord",0}, | |
8768 | { "_time_t","_wxPrintQuality",0}, | |
8769 | { "_time_t","_unsigned_int",0}, | |
8770 | { "_time_t","_int",0}, | |
8771 | { "_time_t","_wxWindowID",0}, | |
8772 | { "_time_t","_uint",0}, | |
8773 | { "_time_t","_size_t",0}, | |
714d23b4 | 8774 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
c368d904 | 8775 | { "_wxLogNull","_class_wxLogNull",0}, |
e91a9dfc | 8776 | { "_wxButton","_class_wxButton",0}, |
c368d904 | 8777 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
e91a9dfc RD |
8778 | { "_class_wxPyApp","_wxPyApp",0}, |
8779 | { "_wxSize","_class_wxSize",0}, | |
8780 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
714d23b4 | 8781 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
c368d904 RD |
8782 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
8783 | { "_class_wxLogGui","_wxLogGui",0}, | |
e91a9dfc RD |
8784 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
8785 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
1b62f00d | 8786 | { "_class_wxPrinterDC","_wxPrinterDC",0}, |
2348eaee | 8787 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
c368d904 RD |
8788 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
8789 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
e91a9dfc RD |
8790 | { "_class_wxPaintDC","_wxPaintDC",0}, |
8791 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
714d23b4 | 8792 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
8793 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8794 | { "_class_wxComboBox","_wxComboBox",0}, | |
8795 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8796 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 8797 | { "_wxValidator","_class_wxValidator",0}, |
714d23b4 | 8798 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc | 8799 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
e91a9dfc RD |
8800 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8801 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8802 | { "_class_wxControl","_wxControl",0}, | |
8803 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8804 | { "_class_wxIcon","_wxIcon",0}, | |
8805 | { "_class_wxColour","_wxColour",0}, | |
8806 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8807 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8808 | { "_wxPalette","_class_wxPalette",0}, | |
8809 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
c368d904 | 8810 | { "_class_wxConfigBase","_wxConfigBase",0}, |
714d23b4 RD |
8811 | { "_wxCoord","_int",0}, |
8812 | { "_wxCoord","_signed_int",0}, | |
8813 | { "_wxCoord","_unsigned_int",0}, | |
8814 | { "_wxCoord","_wxWindowID",0}, | |
8815 | { "_wxCoord","_uint",0}, | |
8816 | { "_wxCoord","_EBool",0}, | |
8817 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8818 | { "_wxCoord","_time_t",0}, |
714d23b4 | 8819 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 8820 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
714d23b4 | 8821 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 8822 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 8823 | { "_class_wxTipProvider","_wxTipProvider",0}, |
e91a9dfc RD |
8824 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
8825 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
c368d904 | 8826 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
e91a9dfc RD |
8827 | { "_wxRegion","_class_wxRegion",0}, |
8828 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8829 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 8830 | { "_wxSizer","_class_wxSizer",0}, |
c368d904 RD |
8831 | { "_class_wxDateSpan","_wxDateSpan",0}, |
8832 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
e91a9dfc | 8833 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 8834 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
714d23b4 RD |
8835 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
8836 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
8837 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
e91a9dfc RD |
8838 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8839 | { "_wxGauge","_class_wxGauge",0}, | |
8840 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
714d23b4 | 8841 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
1b62f00d | 8842 | { "_class_wxJoystick","_wxJoystick",0}, |
e91a9dfc RD |
8843 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
8844 | { "_class_wxClientDC","_wxClientDC",0}, | |
8845 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8846 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
714d23b4 | 8847 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
c368d904 | 8848 | { "_class_wxLogNull","_wxLogNull",0}, |
e91a9dfc RD |
8849 | { "_class_wxSize","_wxSize",0}, |
8850 | { "_class_wxBitmap","_wxBitmap",0}, | |
8851 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
714d23b4 | 8852 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc | 8853 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 | 8854 | { "_wxOutputStream","_class_wxOutputStream",0}, |
e91a9dfc RD |
8855 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
8856 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
8857 | { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8858 | { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8859 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
8860 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8861 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8862 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
8863 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
8864 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc | 8865 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
f6bcfd97 | 8866 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc | 8867 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
c368d904 | 8868 | { "_class_wxConfig","_wxConfig",0}, |
e91a9dfc RD |
8869 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
8870 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8871 | { "_wxColourData","_class_wxColourData",0}, | |
8872 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
8873 | { "_class_wxPalette","_wxPalette",0}, | |
714d23b4 | 8874 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 8875 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 8876 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 8877 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
714d23b4 | 8878 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc | 8879 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
714d23b4 RD |
8880 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
8881 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
8882 | { "_class_wxFontDialog","_wxFontDialog",0}, |
8883 | { "_wxWindow","_class_wxWindow",0}, | |
714d23b4 | 8884 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
c368d904 RD |
8885 | { "_wxLogStderr","_class_wxLogStderr",0}, |
8886 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
8887 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
e91a9dfc RD |
8888 | { "_class_wxFrame","_wxFrame",0}, |
8889 | {0,0,0}}; | |
8890 | ||
8891 | static PyObject *SWIG_globals; | |
8892 | #ifdef __cplusplus | |
8893 | extern "C" | |
8894 | #endif | |
8895 | SWIGEXPORT(void) initoglbasicc() { | |
8896 | PyObject *m, *d; | |
8897 | SWIG_globals = SWIG_newvarlink(); | |
8898 | m = Py_InitModule("oglbasicc", oglbasiccMethods); | |
8899 | d = PyModule_GetDict(m); | |
8900 | { | |
8901 | int i; | |
8902 | for (i = 0; _swig_mapping[i].n1; i++) | |
8903 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8904 | } | |
8905 | } |