]>
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__) | |
9ae9011b | 30 | # define SWIGEXPORT(a) a _export |
e91a9dfc | 31 | # else |
9ae9011b | 32 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
33 | # endif |
34 | # endif | |
35 | #else | |
9ae9011b | 36 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
37 | #endif |
38 | ||
9ae9011b RD |
39 | #include "Python.h" |
40 | ||
e91a9dfc RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
9ae9011b | 44 | |
e91a9dfc RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init 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; | |
d74525f7 | 63 | if (!target) { |
e91a9dfc | 64 | target = o; |
d74525f7 | 65 | } else if (target == Py_None) { |
e91a9dfc RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
d74525f7 | 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 | ||
d74525f7 | 85 | if (!target) { |
e91a9dfc | 86 | target = o; |
d74525f7 | 87 | } else if (target == Py_None) { |
e91a9dfc RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
d74525f7 | 90 | } else { |
e91a9dfc RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
d74525f7 RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
98 | |
99 | o2 = target; | |
d74525f7 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; | |
d74525f7 | 197 | PyObject * _obj1 = 0; |
e91a9dfc RD |
198 | char *_kwnames[] = { "self","f", NULL }; |
199 | ||
200 | self = self; | |
d74525f7 | 201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetFont",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
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 | } | |
d74525f7 RD |
210 | { |
211 | wxFont* temp; | |
212 | if (_obj1) { | |
213 | if (_obj1 == Py_None) { temp = NULL; } | |
214 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) { | |
215 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p."); | |
e91a9dfc RD |
216 | return NULL; |
217 | } | |
218 | } | |
d74525f7 RD |
219 | if (temp) |
220 | _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(), | |
221 | temp->GetFamily(), | |
222 | temp->GetStyle(), | |
223 | temp->GetWeight(), | |
224 | temp->GetUnderlined(), | |
225 | temp->GetFaceName(), | |
226 | temp->GetEncoding()); | |
227 | else | |
228 | _arg1 = NULL; | |
229 | } | |
e91a9dfc RD |
230 | { |
231 | wxPy_BEGIN_ALLOW_THREADS; | |
232 | wxShapeRegion_SetFont(_arg0,_arg1); | |
233 | ||
234 | wxPy_END_ALLOW_THREADS; | |
235 | } Py_INCREF(Py_None); | |
236 | _resultobj = Py_None; | |
237 | return _resultobj; | |
238 | } | |
239 | ||
240 | #define wxShapeRegion_SetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetMinSize(_swigarg0,_swigarg1)) | |
241 | static PyObject *_wrap_wxShapeRegion_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
242 | PyObject * _resultobj; | |
243 | wxShapeRegion * _arg0; | |
244 | double _arg1; | |
245 | double _arg2; | |
246 | PyObject * _argo0 = 0; | |
247 | char *_kwnames[] = { "self","w","h", NULL }; | |
248 | ||
249 | self = self; | |
250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetMinSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
251 | return NULL; | |
252 | if (_argo0) { | |
253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetMinSize. Expected _wxShapeRegion_p."); | |
256 | return NULL; | |
257 | } | |
258 | } | |
259 | { | |
260 | wxPy_BEGIN_ALLOW_THREADS; | |
261 | wxShapeRegion_SetMinSize(_arg0,_arg1,_arg2); | |
262 | ||
263 | wxPy_END_ALLOW_THREADS; | |
264 | } Py_INCREF(Py_None); | |
265 | _resultobj = Py_None; | |
266 | return _resultobj; | |
267 | } | |
268 | ||
269 | #define wxShapeRegion_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
270 | static PyObject *_wrap_wxShapeRegion_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
271 | PyObject * _resultobj; | |
272 | wxShapeRegion * _arg0; | |
273 | double _arg1; | |
274 | double _arg2; | |
275 | PyObject * _argo0 = 0; | |
276 | char *_kwnames[] = { "self","w","h", NULL }; | |
277 | ||
278 | self = self; | |
279 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
280 | return NULL; | |
281 | if (_argo0) { | |
282 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
283 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetSize. Expected _wxShapeRegion_p."); | |
285 | return NULL; | |
286 | } | |
287 | } | |
288 | { | |
289 | wxPy_BEGIN_ALLOW_THREADS; | |
290 | wxShapeRegion_SetSize(_arg0,_arg1,_arg2); | |
291 | ||
292 | wxPy_END_ALLOW_THREADS; | |
293 | } Py_INCREF(Py_None); | |
294 | _resultobj = Py_None; | |
295 | return _resultobj; | |
296 | } | |
297 | ||
298 | #define wxShapeRegion_SetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPosition(_swigarg0,_swigarg1)) | |
299 | static PyObject *_wrap_wxShapeRegion_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
300 | PyObject * _resultobj; | |
301 | wxShapeRegion * _arg0; | |
302 | double _arg1; | |
303 | double _arg2; | |
304 | PyObject * _argo0 = 0; | |
305 | char *_kwnames[] = { "self","x","y", NULL }; | |
306 | ||
307 | self = self; | |
308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetPosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
309 | return NULL; | |
310 | if (_argo0) { | |
311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPosition. Expected _wxShapeRegion_p."); | |
314 | return NULL; | |
315 | } | |
316 | } | |
317 | { | |
318 | wxPy_BEGIN_ALLOW_THREADS; | |
319 | wxShapeRegion_SetPosition(_arg0,_arg1,_arg2); | |
320 | ||
321 | wxPy_END_ALLOW_THREADS; | |
322 | } Py_INCREF(Py_None); | |
323 | _resultobj = Py_None; | |
324 | return _resultobj; | |
325 | } | |
326 | ||
327 | #define wxShapeRegion_SetProportions(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetProportions(_swigarg0,_swigarg1)) | |
328 | static PyObject *_wrap_wxShapeRegion_SetProportions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
329 | PyObject * _resultobj; | |
330 | wxShapeRegion * _arg0; | |
331 | double _arg1; | |
332 | double _arg2; | |
333 | PyObject * _argo0 = 0; | |
334 | char *_kwnames[] = { "self","x","y", NULL }; | |
335 | ||
336 | self = self; | |
337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxShapeRegion_SetProportions",_kwnames,&_argo0,&_arg1,&_arg2)) | |
338 | return NULL; | |
339 | if (_argo0) { | |
340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetProportions. Expected _wxShapeRegion_p."); | |
343 | return NULL; | |
344 | } | |
345 | } | |
346 | { | |
347 | wxPy_BEGIN_ALLOW_THREADS; | |
348 | wxShapeRegion_SetProportions(_arg0,_arg1,_arg2); | |
349 | ||
350 | wxPy_END_ALLOW_THREADS; | |
351 | } Py_INCREF(Py_None); | |
352 | _resultobj = Py_None; | |
353 | return _resultobj; | |
354 | } | |
355 | ||
356 | #define wxShapeRegion_SetFormatMode(_swigobj,_swigarg0) (_swigobj->SetFormatMode(_swigarg0)) | |
357 | static PyObject *_wrap_wxShapeRegion_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
358 | PyObject * _resultobj; | |
359 | wxShapeRegion * _arg0; | |
360 | int _arg1; | |
361 | PyObject * _argo0 = 0; | |
362 | char *_kwnames[] = { "self","mode", NULL }; | |
363 | ||
364 | self = self; | |
365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetFormatMode",_kwnames,&_argo0,&_arg1)) | |
366 | return NULL; | |
367 | if (_argo0) { | |
368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetFormatMode. Expected _wxShapeRegion_p."); | |
371 | return NULL; | |
372 | } | |
373 | } | |
374 | { | |
375 | wxPy_BEGIN_ALLOW_THREADS; | |
376 | wxShapeRegion_SetFormatMode(_arg0,_arg1); | |
377 | ||
378 | wxPy_END_ALLOW_THREADS; | |
379 | } Py_INCREF(Py_None); | |
380 | _resultobj = Py_None; | |
381 | return _resultobj; | |
382 | } | |
383 | ||
384 | #define wxShapeRegion_SetName(_swigobj,_swigarg0) (_swigobj->SetName(_swigarg0)) | |
385 | static PyObject *_wrap_wxShapeRegion_SetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
386 | PyObject * _resultobj; | |
387 | wxShapeRegion * _arg0; | |
388 | wxString * _arg1; | |
389 | PyObject * _argo0 = 0; | |
390 | PyObject * _obj1 = 0; | |
391 | char *_kwnames[] = { "self","s", NULL }; | |
392 | ||
393 | self = self; | |
394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetName",_kwnames,&_argo0,&_obj1)) | |
395 | return NULL; | |
396 | if (_argo0) { | |
397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetName. Expected _wxShapeRegion_p."); | |
400 | return NULL; | |
401 | } | |
402 | } | |
403 | { | |
185d7c3e RD |
404 | #if PYTHON_API_VERSION >= 1009 |
405 | char* tmpPtr; int tmpSize; | |
406 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
407 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
408 | return NULL; | |
409 | } | |
410 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
411 | return NULL; | |
412 | _arg1 = new wxString(tmpPtr, tmpSize); | |
413 | #else | |
e91a9dfc RD |
414 | if (!PyString_Check(_obj1)) { |
415 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
416 | return NULL; | |
417 | } | |
185d7c3e RD |
418 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
419 | #endif | |
e91a9dfc RD |
420 | } |
421 | { | |
422 | wxPy_BEGIN_ALLOW_THREADS; | |
423 | wxShapeRegion_SetName(_arg0,*_arg1); | |
424 | ||
425 | wxPy_END_ALLOW_THREADS; | |
426 | } Py_INCREF(Py_None); | |
427 | _resultobj = Py_None; | |
428 | { | |
429 | if (_obj1) | |
430 | delete _arg1; | |
431 | } | |
432 | return _resultobj; | |
433 | } | |
434 | ||
435 | #define wxShapeRegion_SetColour(_swigobj,_swigarg0) (_swigobj->SetColour(_swigarg0)) | |
436 | static PyObject *_wrap_wxShapeRegion_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
437 | PyObject * _resultobj; | |
438 | wxShapeRegion * _arg0; | |
439 | wxString * _arg1; | |
440 | PyObject * _argo0 = 0; | |
441 | PyObject * _obj1 = 0; | |
442 | char *_kwnames[] = { "self","col", NULL }; | |
443 | ||
444 | self = self; | |
445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetColour",_kwnames,&_argo0,&_obj1)) | |
446 | return NULL; | |
447 | if (_argo0) { | |
448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetColour. Expected _wxShapeRegion_p."); | |
451 | return NULL; | |
452 | } | |
453 | } | |
454 | { | |
185d7c3e RD |
455 | #if PYTHON_API_VERSION >= 1009 |
456 | char* tmpPtr; int tmpSize; | |
457 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
458 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
459 | return NULL; | |
460 | } | |
461 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
462 | return NULL; | |
463 | _arg1 = new wxString(tmpPtr, tmpSize); | |
464 | #else | |
e91a9dfc RD |
465 | if (!PyString_Check(_obj1)) { |
466 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
467 | return NULL; | |
468 | } | |
185d7c3e RD |
469 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
470 | #endif | |
e91a9dfc RD |
471 | } |
472 | { | |
473 | wxPy_BEGIN_ALLOW_THREADS; | |
474 | wxShapeRegion_SetColour(_arg0,*_arg1); | |
475 | ||
476 | wxPy_END_ALLOW_THREADS; | |
477 | } Py_INCREF(Py_None); | |
478 | _resultobj = Py_None; | |
479 | { | |
480 | if (_obj1) | |
481 | delete _arg1; | |
482 | } | |
483 | return _resultobj; | |
484 | } | |
485 | ||
486 | #define wxShapeRegion_GetText(_swigobj) (_swigobj->GetText()) | |
487 | static PyObject *_wrap_wxShapeRegion_GetText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
488 | PyObject * _resultobj; | |
489 | wxString * _result; | |
490 | wxShapeRegion * _arg0; | |
491 | PyObject * _argo0 = 0; | |
492 | char *_kwnames[] = { "self", NULL }; | |
493 | ||
494 | self = self; | |
495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetText",_kwnames,&_argo0)) | |
496 | return NULL; | |
497 | if (_argo0) { | |
498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetText. Expected _wxShapeRegion_p."); | |
501 | return NULL; | |
502 | } | |
503 | } | |
504 | { | |
505 | wxPy_BEGIN_ALLOW_THREADS; | |
506 | _result = new wxString (wxShapeRegion_GetText(_arg0)); | |
507 | ||
508 | wxPy_END_ALLOW_THREADS; | |
509 | }{ | |
714d23b4 | 510 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
511 | } |
512 | { | |
513 | delete _result; | |
514 | } | |
515 | return _resultobj; | |
516 | } | |
517 | ||
518 | #define wxShapeRegion_GetFont(_swigobj) (_swigobj->GetFont()) | |
519 | static PyObject *_wrap_wxShapeRegion_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
520 | PyObject * _resultobj; | |
521 | wxFont * _result; | |
522 | wxShapeRegion * _arg0; | |
523 | PyObject * _argo0 = 0; | |
524 | char *_kwnames[] = { "self", NULL }; | |
525 | char _ptemp[128]; | |
526 | ||
527 | self = self; | |
528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFont",_kwnames,&_argo0)) | |
529 | return NULL; | |
530 | if (_argo0) { | |
531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFont. Expected _wxShapeRegion_p."); | |
534 | return NULL; | |
535 | } | |
536 | } | |
537 | { | |
538 | wxPy_BEGIN_ALLOW_THREADS; | |
539 | _result = (wxFont *)wxShapeRegion_GetFont(_arg0); | |
540 | ||
541 | wxPy_END_ALLOW_THREADS; | |
542 | } if (_result) { | |
543 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
544 | _resultobj = Py_BuildValue("s",_ptemp); | |
545 | } else { | |
546 | Py_INCREF(Py_None); | |
547 | _resultobj = Py_None; | |
548 | } | |
549 | return _resultobj; | |
550 | } | |
551 | ||
552 | #define wxShapeRegion_GetMinSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetMinSize(_swigarg0,_swigarg1)) | |
553 | static PyObject *_wrap_wxShapeRegion_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
554 | PyObject * _resultobj; | |
555 | wxShapeRegion * _arg0; | |
556 | double * _arg1; | |
f6bcfd97 | 557 | double temp; |
e91a9dfc | 558 | double * _arg2; |
f6bcfd97 | 559 | double temp0; |
e91a9dfc | 560 | PyObject * _argo0 = 0; |
f6bcfd97 | 561 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
562 | |
563 | self = self; | |
f6bcfd97 BP |
564 | { |
565 | _arg1 = &temp; | |
566 | } | |
567 | { | |
568 | _arg2 = &temp0; | |
569 | } | |
570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetMinSize",_kwnames,&_argo0)) | |
e91a9dfc RD |
571 | return NULL; |
572 | if (_argo0) { | |
573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetMinSize. Expected _wxShapeRegion_p."); | |
576 | return NULL; | |
577 | } | |
578 | } | |
e91a9dfc RD |
579 | { |
580 | wxPy_BEGIN_ALLOW_THREADS; | |
581 | wxShapeRegion_GetMinSize(_arg0,_arg1,_arg2); | |
582 | ||
583 | wxPy_END_ALLOW_THREADS; | |
584 | } Py_INCREF(Py_None); | |
585 | _resultobj = Py_None; | |
f6bcfd97 BP |
586 | { |
587 | PyObject *o; | |
588 | o = PyFloat_FromDouble((double) (*_arg1)); | |
589 | _resultobj = t_output_helper(_resultobj, o); | |
590 | } | |
591 | { | |
592 | PyObject *o; | |
593 | o = PyFloat_FromDouble((double) (*_arg2)); | |
594 | _resultobj = t_output_helper(_resultobj, o); | |
595 | } | |
e91a9dfc RD |
596 | return _resultobj; |
597 | } | |
598 | ||
599 | #define wxShapeRegion_GetProportion(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetProportion(_swigarg0,_swigarg1)) | |
600 | static PyObject *_wrap_wxShapeRegion_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
601 | PyObject * _resultobj; | |
602 | wxShapeRegion * _arg0; | |
603 | double * _arg1; | |
f6bcfd97 | 604 | double temp; |
e91a9dfc | 605 | double * _arg2; |
f6bcfd97 | 606 | double temp0; |
e91a9dfc | 607 | PyObject * _argo0 = 0; |
f6bcfd97 | 608 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
609 | |
610 | self = self; | |
f6bcfd97 BP |
611 | { |
612 | _arg1 = &temp; | |
613 | } | |
614 | { | |
615 | _arg2 = &temp0; | |
616 | } | |
617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetProportion",_kwnames,&_argo0)) | |
e91a9dfc RD |
618 | return NULL; |
619 | if (_argo0) { | |
620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetProportion. Expected _wxShapeRegion_p."); | |
623 | return NULL; | |
624 | } | |
625 | } | |
e91a9dfc RD |
626 | { |
627 | wxPy_BEGIN_ALLOW_THREADS; | |
628 | wxShapeRegion_GetProportion(_arg0,_arg1,_arg2); | |
629 | ||
630 | wxPy_END_ALLOW_THREADS; | |
631 | } Py_INCREF(Py_None); | |
632 | _resultobj = Py_None; | |
f6bcfd97 BP |
633 | { |
634 | PyObject *o; | |
635 | o = PyFloat_FromDouble((double) (*_arg1)); | |
636 | _resultobj = t_output_helper(_resultobj, o); | |
637 | } | |
638 | { | |
639 | PyObject *o; | |
640 | o = PyFloat_FromDouble((double) (*_arg2)); | |
641 | _resultobj = t_output_helper(_resultobj, o); | |
642 | } | |
e91a9dfc RD |
643 | return _resultobj; |
644 | } | |
645 | ||
646 | #define wxShapeRegion_GetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetSize(_swigarg0,_swigarg1)) | |
647 | static PyObject *_wrap_wxShapeRegion_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
648 | PyObject * _resultobj; | |
649 | wxShapeRegion * _arg0; | |
650 | double * _arg1; | |
f6bcfd97 | 651 | double temp; |
e91a9dfc | 652 | double * _arg2; |
f6bcfd97 | 653 | double temp0; |
e91a9dfc | 654 | PyObject * _argo0 = 0; |
f6bcfd97 | 655 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
656 | |
657 | self = self; | |
f6bcfd97 BP |
658 | { |
659 | _arg1 = &temp; | |
660 | } | |
661 | { | |
662 | _arg2 = &temp0; | |
663 | } | |
664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetSize",_kwnames,&_argo0)) | |
e91a9dfc RD |
665 | return NULL; |
666 | if (_argo0) { | |
667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetSize. Expected _wxShapeRegion_p."); | |
670 | return NULL; | |
671 | } | |
672 | } | |
e91a9dfc RD |
673 | { |
674 | wxPy_BEGIN_ALLOW_THREADS; | |
675 | wxShapeRegion_GetSize(_arg0,_arg1,_arg2); | |
676 | ||
677 | wxPy_END_ALLOW_THREADS; | |
678 | } Py_INCREF(Py_None); | |
679 | _resultobj = Py_None; | |
f6bcfd97 BP |
680 | { |
681 | PyObject *o; | |
682 | o = PyFloat_FromDouble((double) (*_arg1)); | |
683 | _resultobj = t_output_helper(_resultobj, o); | |
684 | } | |
685 | { | |
686 | PyObject *o; | |
687 | o = PyFloat_FromDouble((double) (*_arg2)); | |
688 | _resultobj = t_output_helper(_resultobj, o); | |
689 | } | |
e91a9dfc RD |
690 | return _resultobj; |
691 | } | |
692 | ||
693 | #define wxShapeRegion_GetPosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetPosition(_swigarg0,_swigarg1)) | |
694 | static PyObject *_wrap_wxShapeRegion_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
695 | PyObject * _resultobj; | |
696 | wxShapeRegion * _arg0; | |
697 | double * _arg1; | |
f6bcfd97 | 698 | double temp; |
e91a9dfc | 699 | double * _arg2; |
f6bcfd97 | 700 | double temp0; |
e91a9dfc | 701 | PyObject * _argo0 = 0; |
f6bcfd97 | 702 | char *_kwnames[] = { "self", NULL }; |
e91a9dfc RD |
703 | |
704 | self = self; | |
f6bcfd97 BP |
705 | { |
706 | _arg1 = &temp; | |
707 | } | |
708 | { | |
709 | _arg2 = &temp0; | |
710 | } | |
711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPosition",_kwnames,&_argo0)) | |
e91a9dfc RD |
712 | return NULL; |
713 | if (_argo0) { | |
714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPosition. Expected _wxShapeRegion_p."); | |
717 | return NULL; | |
718 | } | |
719 | } | |
e91a9dfc RD |
720 | { |
721 | wxPy_BEGIN_ALLOW_THREADS; | |
722 | wxShapeRegion_GetPosition(_arg0,_arg1,_arg2); | |
723 | ||
724 | wxPy_END_ALLOW_THREADS; | |
725 | } Py_INCREF(Py_None); | |
726 | _resultobj = Py_None; | |
f6bcfd97 BP |
727 | { |
728 | PyObject *o; | |
729 | o = PyFloat_FromDouble((double) (*_arg1)); | |
730 | _resultobj = t_output_helper(_resultobj, o); | |
731 | } | |
732 | { | |
733 | PyObject *o; | |
734 | o = PyFloat_FromDouble((double) (*_arg2)); | |
735 | _resultobj = t_output_helper(_resultobj, o); | |
736 | } | |
e91a9dfc RD |
737 | return _resultobj; |
738 | } | |
739 | ||
740 | #define wxShapeRegion_GetFormatMode(_swigobj) (_swigobj->GetFormatMode()) | |
741 | static PyObject *_wrap_wxShapeRegion_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
742 | PyObject * _resultobj; | |
743 | int _result; | |
744 | wxShapeRegion * _arg0; | |
745 | PyObject * _argo0 = 0; | |
746 | char *_kwnames[] = { "self", NULL }; | |
747 | ||
748 | self = self; | |
749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormatMode",_kwnames,&_argo0)) | |
750 | return NULL; | |
751 | if (_argo0) { | |
752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormatMode. Expected _wxShapeRegion_p."); | |
755 | return NULL; | |
756 | } | |
757 | } | |
758 | { | |
759 | wxPy_BEGIN_ALLOW_THREADS; | |
760 | _result = (int )wxShapeRegion_GetFormatMode(_arg0); | |
761 | ||
762 | wxPy_END_ALLOW_THREADS; | |
763 | } _resultobj = Py_BuildValue("i",_result); | |
764 | return _resultobj; | |
765 | } | |
766 | ||
767 | #define wxShapeRegion_GetName(_swigobj) (_swigobj->GetName()) | |
768 | static PyObject *_wrap_wxShapeRegion_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
769 | PyObject * _resultobj; | |
770 | wxString * _result; | |
771 | wxShapeRegion * _arg0; | |
772 | PyObject * _argo0 = 0; | |
773 | char *_kwnames[] = { "self", NULL }; | |
774 | ||
775 | self = self; | |
776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetName",_kwnames,&_argo0)) | |
777 | return NULL; | |
778 | if (_argo0) { | |
779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetName. Expected _wxShapeRegion_p."); | |
782 | return NULL; | |
783 | } | |
784 | } | |
785 | { | |
786 | wxPy_BEGIN_ALLOW_THREADS; | |
787 | _result = new wxString (wxShapeRegion_GetName(_arg0)); | |
788 | ||
789 | wxPy_END_ALLOW_THREADS; | |
790 | }{ | |
714d23b4 | 791 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
792 | } |
793 | { | |
794 | delete _result; | |
795 | } | |
796 | return _resultobj; | |
797 | } | |
798 | ||
799 | #define wxShapeRegion_GetColour(_swigobj) (_swigobj->GetColour()) | |
800 | static PyObject *_wrap_wxShapeRegion_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
801 | PyObject * _resultobj; | |
802 | wxString * _result; | |
803 | wxShapeRegion * _arg0; | |
804 | PyObject * _argo0 = 0; | |
805 | char *_kwnames[] = { "self", NULL }; | |
806 | ||
807 | self = self; | |
808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetColour",_kwnames,&_argo0)) | |
809 | return NULL; | |
810 | if (_argo0) { | |
811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetColour. Expected _wxShapeRegion_p."); | |
814 | return NULL; | |
815 | } | |
816 | } | |
817 | { | |
818 | wxPy_BEGIN_ALLOW_THREADS; | |
819 | _result = new wxString (wxShapeRegion_GetColour(_arg0)); | |
820 | ||
821 | wxPy_END_ALLOW_THREADS; | |
822 | }{ | |
714d23b4 | 823 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
824 | } |
825 | { | |
826 | delete _result; | |
827 | } | |
828 | return _resultobj; | |
829 | } | |
830 | ||
831 | #define wxShapeRegion_GetActualColourObject(_swigobj) (_swigobj->GetActualColourObject()) | |
832 | static PyObject *_wrap_wxShapeRegion_GetActualColourObject(PyObject *self, PyObject *args, PyObject *kwargs) { | |
833 | PyObject * _resultobj; | |
834 | wxColour * _result; | |
835 | wxShapeRegion * _arg0; | |
836 | PyObject * _argo0 = 0; | |
837 | char *_kwnames[] = { "self", NULL }; | |
838 | char _ptemp[128]; | |
839 | ||
840 | self = self; | |
841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualColourObject",_kwnames,&_argo0)) | |
842 | return NULL; | |
843 | if (_argo0) { | |
844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualColourObject. Expected _wxShapeRegion_p."); | |
847 | return NULL; | |
848 | } | |
849 | } | |
850 | { | |
851 | wxPy_BEGIN_ALLOW_THREADS; | |
852 | _result = (wxColour *)wxShapeRegion_GetActualColourObject(_arg0); | |
853 | ||
854 | wxPy_END_ALLOW_THREADS; | |
855 | } if (_result) { | |
856 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxColour_p"); | |
857 | _resultobj = Py_BuildValue("s",_ptemp); | |
858 | } else { | |
859 | Py_INCREF(Py_None); | |
860 | _resultobj = Py_None; | |
861 | } | |
862 | return _resultobj; | |
863 | } | |
864 | ||
865 | #define wxShapeRegion_GetFormattedText(_swigobj) (_swigobj->GetFormattedText()) | |
866 | static PyObject *_wrap_wxShapeRegion_GetFormattedText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
867 | PyObject * _resultobj; | |
868 | wxList * _result; | |
869 | wxShapeRegion * _arg0; | |
870 | PyObject * _argo0 = 0; | |
871 | char *_kwnames[] = { "self", NULL }; | |
872 | char _ptemp[128]; | |
873 | ||
874 | self = self; | |
875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetFormattedText",_kwnames,&_argo0)) | |
876 | return NULL; | |
877 | if (_argo0) { | |
878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetFormattedText. Expected _wxShapeRegion_p."); | |
881 | return NULL; | |
882 | } | |
883 | } | |
884 | { | |
885 | wxPy_BEGIN_ALLOW_THREADS; | |
886 | wxList & _result_ref = wxShapeRegion_GetFormattedText(_arg0); | |
887 | _result = (wxList *) &_result_ref; | |
888 | ||
889 | wxPy_END_ALLOW_THREADS; | |
890 | } if (_result) { | |
891 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxList_p"); | |
892 | _resultobj = Py_BuildValue("s",_ptemp); | |
893 | } else { | |
894 | Py_INCREF(Py_None); | |
895 | _resultobj = Py_None; | |
896 | } | |
897 | return _resultobj; | |
898 | } | |
899 | ||
900 | #define wxShapeRegion_GetPenColour(_swigobj) (_swigobj->GetPenColour()) | |
901 | static PyObject *_wrap_wxShapeRegion_GetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
902 | PyObject * _resultobj; | |
903 | wxString * _result; | |
904 | wxShapeRegion * _arg0; | |
905 | PyObject * _argo0 = 0; | |
906 | char *_kwnames[] = { "self", NULL }; | |
907 | ||
908 | self = self; | |
909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenColour",_kwnames,&_argo0)) | |
910 | return NULL; | |
911 | if (_argo0) { | |
912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenColour. Expected _wxShapeRegion_p."); | |
915 | return NULL; | |
916 | } | |
917 | } | |
918 | { | |
919 | wxPy_BEGIN_ALLOW_THREADS; | |
920 | _result = new wxString (wxShapeRegion_GetPenColour(_arg0)); | |
921 | ||
922 | wxPy_END_ALLOW_THREADS; | |
923 | }{ | |
714d23b4 | 924 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
925 | } |
926 | { | |
927 | delete _result; | |
928 | } | |
929 | return _resultobj; | |
930 | } | |
931 | ||
932 | #define wxShapeRegion_GetPenStyle(_swigobj) (_swigobj->GetPenStyle()) | |
933 | static PyObject *_wrap_wxShapeRegion_GetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
934 | PyObject * _resultobj; | |
935 | int _result; | |
936 | wxShapeRegion * _arg0; | |
937 | PyObject * _argo0 = 0; | |
938 | char *_kwnames[] = { "self", NULL }; | |
939 | ||
940 | self = self; | |
941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetPenStyle",_kwnames,&_argo0)) | |
942 | return NULL; | |
943 | if (_argo0) { | |
944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetPenStyle. Expected _wxShapeRegion_p."); | |
947 | return NULL; | |
948 | } | |
949 | } | |
950 | { | |
951 | wxPy_BEGIN_ALLOW_THREADS; | |
952 | _result = (int )wxShapeRegion_GetPenStyle(_arg0); | |
953 | ||
954 | wxPy_END_ALLOW_THREADS; | |
955 | } _resultobj = Py_BuildValue("i",_result); | |
956 | return _resultobj; | |
957 | } | |
958 | ||
959 | #define wxShapeRegion_SetPenStyle(_swigobj,_swigarg0) (_swigobj->SetPenStyle(_swigarg0)) | |
960 | static PyObject *_wrap_wxShapeRegion_SetPenStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
961 | PyObject * _resultobj; | |
962 | wxShapeRegion * _arg0; | |
963 | int _arg1; | |
964 | PyObject * _argo0 = 0; | |
965 | char *_kwnames[] = { "self","style", NULL }; | |
966 | ||
967 | self = self; | |
968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxShapeRegion_SetPenStyle",_kwnames,&_argo0,&_arg1)) | |
969 | return NULL; | |
970 | if (_argo0) { | |
971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenStyle. Expected _wxShapeRegion_p."); | |
974 | return NULL; | |
975 | } | |
976 | } | |
977 | { | |
978 | wxPy_BEGIN_ALLOW_THREADS; | |
979 | wxShapeRegion_SetPenStyle(_arg0,_arg1); | |
980 | ||
981 | wxPy_END_ALLOW_THREADS; | |
982 | } Py_INCREF(Py_None); | |
983 | _resultobj = Py_None; | |
984 | return _resultobj; | |
985 | } | |
986 | ||
987 | #define wxShapeRegion_SetPenColour(_swigobj,_swigarg0) (_swigobj->SetPenColour(_swigarg0)) | |
988 | static PyObject *_wrap_wxShapeRegion_SetPenColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
989 | PyObject * _resultobj; | |
990 | wxShapeRegion * _arg0; | |
991 | wxString * _arg1; | |
992 | PyObject * _argo0 = 0; | |
993 | PyObject * _obj1 = 0; | |
994 | char *_kwnames[] = { "self","col", NULL }; | |
995 | ||
996 | self = self; | |
997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxShapeRegion_SetPenColour",_kwnames,&_argo0,&_obj1)) | |
998 | return NULL; | |
999 | if (_argo0) { | |
1000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_SetPenColour. Expected _wxShapeRegion_p."); | |
1003 | return NULL; | |
1004 | } | |
1005 | } | |
1006 | { | |
185d7c3e RD |
1007 | #if PYTHON_API_VERSION >= 1009 |
1008 | char* tmpPtr; int tmpSize; | |
1009 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1010 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1011 | return NULL; | |
1012 | } | |
1013 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1014 | return NULL; | |
1015 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1016 | #else | |
e91a9dfc RD |
1017 | if (!PyString_Check(_obj1)) { |
1018 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1019 | return NULL; | |
1020 | } | |
185d7c3e RD |
1021 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1022 | #endif | |
e91a9dfc RD |
1023 | } |
1024 | { | |
1025 | wxPy_BEGIN_ALLOW_THREADS; | |
1026 | wxShapeRegion_SetPenColour(_arg0,*_arg1); | |
1027 | ||
1028 | wxPy_END_ALLOW_THREADS; | |
1029 | } Py_INCREF(Py_None); | |
1030 | _resultobj = Py_None; | |
1031 | { | |
1032 | if (_obj1) | |
1033 | delete _arg1; | |
1034 | } | |
1035 | return _resultobj; | |
1036 | } | |
1037 | ||
1038 | #define wxShapeRegion_GetActualPen(_swigobj) (_swigobj->GetActualPen()) | |
1039 | static PyObject *_wrap_wxShapeRegion_GetActualPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1040 | PyObject * _resultobj; | |
1041 | wxPen * _result; | |
1042 | wxShapeRegion * _arg0; | |
1043 | PyObject * _argo0 = 0; | |
1044 | char *_kwnames[] = { "self", NULL }; | |
1045 | char _ptemp[128]; | |
1046 | ||
1047 | self = self; | |
1048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetActualPen",_kwnames,&_argo0)) | |
1049 | return NULL; | |
1050 | if (_argo0) { | |
1051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetActualPen. Expected _wxShapeRegion_p."); | |
1054 | return NULL; | |
1055 | } | |
1056 | } | |
1057 | { | |
1058 | wxPy_BEGIN_ALLOW_THREADS; | |
1059 | _result = (wxPen *)wxShapeRegion_GetActualPen(_arg0); | |
1060 | ||
1061 | wxPy_END_ALLOW_THREADS; | |
1062 | } if (_result) { | |
1063 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
1064 | _resultobj = Py_BuildValue("s",_ptemp); | |
1065 | } else { | |
1066 | Py_INCREF(Py_None); | |
1067 | _resultobj = Py_None; | |
1068 | } | |
1069 | return _resultobj; | |
1070 | } | |
1071 | ||
1072 | #define wxShapeRegion_GetWidth(_swigobj) (_swigobj->GetWidth()) | |
1073 | static PyObject *_wrap_wxShapeRegion_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1074 | PyObject * _resultobj; | |
1075 | double _result; | |
1076 | wxShapeRegion * _arg0; | |
1077 | PyObject * _argo0 = 0; | |
1078 | char *_kwnames[] = { "self", NULL }; | |
1079 | ||
1080 | self = self; | |
1081 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetWidth",_kwnames,&_argo0)) | |
1082 | return NULL; | |
1083 | if (_argo0) { | |
1084 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1085 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetWidth. Expected _wxShapeRegion_p."); | |
1087 | return NULL; | |
1088 | } | |
1089 | } | |
1090 | { | |
1091 | wxPy_BEGIN_ALLOW_THREADS; | |
1092 | _result = (double )wxShapeRegion_GetWidth(_arg0); | |
1093 | ||
1094 | wxPy_END_ALLOW_THREADS; | |
1095 | } _resultobj = Py_BuildValue("d",_result); | |
1096 | return _resultobj; | |
1097 | } | |
1098 | ||
1099 | #define wxShapeRegion_GetHeight(_swigobj) (_swigobj->GetHeight()) | |
1100 | static PyObject *_wrap_wxShapeRegion_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1101 | PyObject * _resultobj; | |
1102 | double _result; | |
1103 | wxShapeRegion * _arg0; | |
1104 | PyObject * _argo0 = 0; | |
1105 | char *_kwnames[] = { "self", NULL }; | |
1106 | ||
1107 | self = self; | |
1108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_GetHeight",_kwnames,&_argo0)) | |
1109 | return NULL; | |
1110 | if (_argo0) { | |
1111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_GetHeight. Expected _wxShapeRegion_p."); | |
1114 | return NULL; | |
1115 | } | |
1116 | } | |
1117 | { | |
1118 | wxPy_BEGIN_ALLOW_THREADS; | |
1119 | _result = (double )wxShapeRegion_GetHeight(_arg0); | |
1120 | ||
1121 | wxPy_END_ALLOW_THREADS; | |
1122 | } _resultobj = Py_BuildValue("d",_result); | |
1123 | return _resultobj; | |
1124 | } | |
1125 | ||
1126 | #define wxShapeRegion_ClearText(_swigobj) (_swigobj->ClearText()) | |
1127 | static PyObject *_wrap_wxShapeRegion_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1128 | PyObject * _resultobj; | |
1129 | wxShapeRegion * _arg0; | |
1130 | PyObject * _argo0 = 0; | |
1131 | char *_kwnames[] = { "self", NULL }; | |
1132 | ||
1133 | self = self; | |
1134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxShapeRegion_ClearText",_kwnames,&_argo0)) | |
1135 | return NULL; | |
1136 | if (_argo0) { | |
1137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxShapeRegion_p")) { | |
1139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxShapeRegion_ClearText. Expected _wxShapeRegion_p."); | |
1140 | return NULL; | |
1141 | } | |
1142 | } | |
1143 | { | |
1144 | wxPy_BEGIN_ALLOW_THREADS; | |
1145 | wxShapeRegion_ClearText(_arg0); | |
1146 | ||
1147 | wxPy_END_ALLOW_THREADS; | |
1148 | } Py_INCREF(Py_None); | |
1149 | _resultobj = Py_None; | |
1150 | return _resultobj; | |
1151 | } | |
1152 | ||
1153 | #define new_wxPyShapeEvtHandler(_swigarg0,_swigarg1) (new wxPyShapeEvtHandler(_swigarg0,_swigarg1)) | |
1154 | static PyObject *_wrap_new_wxPyShapeEvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1155 | PyObject * _resultobj; | |
1156 | wxPyShapeEvtHandler * _result; | |
1157 | wxPyShapeEvtHandler * _arg0 = (wxPyShapeEvtHandler *) NULL; | |
1158 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
1159 | PyObject * _argo0 = 0; | |
1160 | PyObject * _argo1 = 0; | |
1161 | char *_kwnames[] = { "prev","shape", NULL }; | |
1162 | char _ptemp[128]; | |
1163 | ||
1164 | self = self; | |
1165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OO:new_wxPyShapeEvtHandler",_kwnames,&_argo0,&_argo1)) | |
1166 | return NULL; | |
1167 | if (_argo0) { | |
1168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyShapeEvtHandler. Expected _wxPyShapeEvtHandler_p."); | |
1171 | return NULL; | |
1172 | } | |
1173 | } | |
1174 | if (_argo1) { | |
1175 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1176 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyShapeEvtHandler. Expected _wxPyShape_p."); | |
1178 | return NULL; | |
1179 | } | |
1180 | } | |
1181 | { | |
1182 | wxPy_BEGIN_ALLOW_THREADS; | |
1183 | _result = (wxPyShapeEvtHandler *)new_wxPyShapeEvtHandler(_arg0,_arg1); | |
1184 | ||
1185 | wxPy_END_ALLOW_THREADS; | |
1186 | } if (_result) { | |
1187 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1188 | _resultobj = Py_BuildValue("s",_ptemp); | |
1189 | } else { | |
1190 | Py_INCREF(Py_None); | |
1191 | _resultobj = Py_None; | |
1192 | } | |
1193 | return _resultobj; | |
1194 | } | |
1195 | ||
f6bcfd97 | 1196 | #define wxPyShapeEvtHandler__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1197 | static PyObject *_wrap_wxPyShapeEvtHandler__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1198 | PyObject * _resultobj; | |
1199 | wxPyShapeEvtHandler * _arg0; | |
1200 | PyObject * _arg1; | |
f6bcfd97 | 1201 | PyObject * _arg2; |
e91a9dfc RD |
1202 | PyObject * _argo0 = 0; |
1203 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1204 | PyObject * _obj2 = 0; |
1205 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1206 | |
1207 | self = self; | |
f6bcfd97 | 1208 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShapeEvtHandler__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1209 | return NULL; |
1210 | if (_argo0) { | |
1211 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1212 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler__setSelf. Expected _wxPyShapeEvtHandler_p."); | |
1214 | return NULL; | |
1215 | } | |
1216 | } | |
1217 | { | |
1218 | _arg1 = _obj1; | |
1219 | } | |
f6bcfd97 BP |
1220 | { |
1221 | _arg2 = _obj2; | |
1222 | } | |
e91a9dfc RD |
1223 | { |
1224 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1225 | wxPyShapeEvtHandler__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1226 | |
1227 | wxPy_END_ALLOW_THREADS; | |
1228 | } Py_INCREF(Py_None); | |
1229 | _resultobj = Py_None; | |
1230 | return _resultobj; | |
1231 | } | |
1232 | ||
1233 | static void wxPyShapeEvtHandler_Destroy(wxPyShapeEvtHandler *self) { delete self; } | |
1234 | static PyObject *_wrap_wxPyShapeEvtHandler_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1235 | PyObject * _resultobj; | |
1236 | wxPyShapeEvtHandler * _arg0; | |
1237 | PyObject * _argo0 = 0; | |
1238 | char *_kwnames[] = { "self", NULL }; | |
1239 | ||
1240 | self = self; | |
1241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_Destroy",_kwnames,&_argo0)) | |
1242 | return NULL; | |
1243 | if (_argo0) { | |
1244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_Destroy. Expected _wxPyShapeEvtHandler_p."); | |
1247 | return NULL; | |
1248 | } | |
1249 | } | |
1250 | { | |
1251 | wxPy_BEGIN_ALLOW_THREADS; | |
1252 | wxPyShapeEvtHandler_Destroy(_arg0); | |
1253 | ||
1254 | wxPy_END_ALLOW_THREADS; | |
1255 | } Py_INCREF(Py_None); | |
1256 | _resultobj = Py_None; | |
1257 | return _resultobj; | |
1258 | } | |
1259 | ||
1260 | #define wxPyShapeEvtHandler_SetShape(_swigobj,_swigarg0) (_swigobj->SetShape(_swigarg0)) | |
1261 | static PyObject *_wrap_wxPyShapeEvtHandler_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1262 | PyObject * _resultobj; | |
1263 | wxPyShapeEvtHandler * _arg0; | |
1264 | wxPyShape * _arg1; | |
1265 | PyObject * _argo0 = 0; | |
1266 | PyObject * _argo1 = 0; | |
1267 | char *_kwnames[] = { "self","sh", NULL }; | |
1268 | ||
1269 | self = self; | |
1270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetShape",_kwnames,&_argo0,&_argo1)) | |
1271 | return NULL; | |
1272 | if (_argo0) { | |
1273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShapeEvtHandler_p."); | |
1276 | return NULL; | |
1277 | } | |
1278 | } | |
1279 | if (_argo1) { | |
1280 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1281 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
1282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetShape. Expected _wxPyShape_p."); | |
1283 | return NULL; | |
1284 | } | |
1285 | } | |
1286 | { | |
1287 | wxPy_BEGIN_ALLOW_THREADS; | |
1288 | wxPyShapeEvtHandler_SetShape(_arg0,_arg1); | |
1289 | ||
1290 | wxPy_END_ALLOW_THREADS; | |
1291 | } Py_INCREF(Py_None); | |
1292 | _resultobj = Py_None; | |
1293 | return _resultobj; | |
1294 | } | |
1295 | ||
1296 | #define wxPyShapeEvtHandler_GetShape(_swigobj) (_swigobj->GetShape()) | |
1297 | static PyObject *_wrap_wxPyShapeEvtHandler_GetShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1298 | PyObject * _resultobj; | |
1299 | wxPyShape * _result; | |
1300 | wxPyShapeEvtHandler * _arg0; | |
1301 | PyObject * _argo0 = 0; | |
1302 | char *_kwnames[] = { "self", NULL }; | |
1303 | char _ptemp[128]; | |
1304 | ||
1305 | self = self; | |
1306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetShape",_kwnames,&_argo0)) | |
1307 | return NULL; | |
1308 | if (_argo0) { | |
1309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetShape. Expected _wxPyShapeEvtHandler_p."); | |
1312 | return NULL; | |
1313 | } | |
1314 | } | |
1315 | { | |
1316 | wxPy_BEGIN_ALLOW_THREADS; | |
1317 | _result = (wxPyShape *)wxPyShapeEvtHandler_GetShape(_arg0); | |
1318 | ||
1319 | wxPy_END_ALLOW_THREADS; | |
1320 | } if (_result) { | |
1321 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
1322 | _resultobj = Py_BuildValue("s",_ptemp); | |
1323 | } else { | |
1324 | Py_INCREF(Py_None); | |
1325 | _resultobj = Py_None; | |
1326 | } | |
1327 | return _resultobj; | |
1328 | } | |
1329 | ||
1330 | #define wxPyShapeEvtHandler_SetPreviousHandler(_swigobj,_swigarg0) (_swigobj->SetPreviousHandler(_swigarg0)) | |
1331 | static PyObject *_wrap_wxPyShapeEvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1332 | PyObject * _resultobj; | |
1333 | wxPyShapeEvtHandler * _arg0; | |
1334 | wxPyShapeEvtHandler * _arg1; | |
1335 | PyObject * _argo0 = 0; | |
1336 | PyObject * _argo1 = 0; | |
1337 | char *_kwnames[] = { "self","handler", NULL }; | |
1338 | ||
1339 | self = self; | |
1340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_SetPreviousHandler",_kwnames,&_argo0,&_argo1)) | |
1341 | return NULL; | |
1342 | if (_argo0) { | |
1343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1346 | return NULL; | |
1347 | } | |
1348 | } | |
1349 | if (_argo1) { | |
1350 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1351 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) { | |
1352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_SetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1353 | return NULL; | |
1354 | } | |
1355 | } | |
1356 | { | |
1357 | wxPy_BEGIN_ALLOW_THREADS; | |
1358 | wxPyShapeEvtHandler_SetPreviousHandler(_arg0,_arg1); | |
1359 | ||
1360 | wxPy_END_ALLOW_THREADS; | |
1361 | } Py_INCREF(Py_None); | |
1362 | _resultobj = Py_None; | |
1363 | return _resultobj; | |
1364 | } | |
1365 | ||
1366 | #define wxPyShapeEvtHandler_GetPreviousHandler(_swigobj) (_swigobj->GetPreviousHandler()) | |
1367 | static PyObject *_wrap_wxPyShapeEvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1368 | PyObject * _resultobj; | |
1369 | wxPyShapeEvtHandler * _result; | |
1370 | wxPyShapeEvtHandler * _arg0; | |
1371 | PyObject * _argo0 = 0; | |
1372 | char *_kwnames[] = { "self", NULL }; | |
1373 | char _ptemp[128]; | |
1374 | ||
1375 | self = self; | |
1376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_GetPreviousHandler",_kwnames,&_argo0)) | |
1377 | return NULL; | |
1378 | if (_argo0) { | |
1379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_GetPreviousHandler. Expected _wxPyShapeEvtHandler_p."); | |
1382 | return NULL; | |
1383 | } | |
1384 | } | |
1385 | { | |
1386 | wxPy_BEGIN_ALLOW_THREADS; | |
1387 | _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_GetPreviousHandler(_arg0); | |
1388 | ||
1389 | wxPy_END_ALLOW_THREADS; | |
1390 | } if (_result) { | |
1391 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1392 | _resultobj = Py_BuildValue("s",_ptemp); | |
1393 | } else { | |
1394 | Py_INCREF(Py_None); | |
1395 | _resultobj = Py_None; | |
1396 | } | |
1397 | return _resultobj; | |
1398 | } | |
1399 | ||
1400 | #define wxPyShapeEvtHandler_CreateNewCopy(_swigobj) (_swigobj->CreateNewCopy()) | |
1401 | static PyObject *_wrap_wxPyShapeEvtHandler_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1402 | PyObject * _resultobj; | |
1403 | wxPyShapeEvtHandler * _result; | |
1404 | wxPyShapeEvtHandler * _arg0; | |
1405 | PyObject * _argo0 = 0; | |
1406 | char *_kwnames[] = { "self", NULL }; | |
1407 | char _ptemp[128]; | |
1408 | ||
1409 | self = self; | |
1410 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_CreateNewCopy",_kwnames,&_argo0)) | |
1411 | return NULL; | |
1412 | if (_argo0) { | |
1413 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1414 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_CreateNewCopy. Expected _wxPyShapeEvtHandler_p."); | |
1416 | return NULL; | |
1417 | } | |
1418 | } | |
1419 | { | |
1420 | wxPy_BEGIN_ALLOW_THREADS; | |
1421 | _result = (wxPyShapeEvtHandler *)wxPyShapeEvtHandler_CreateNewCopy(_arg0); | |
1422 | ||
1423 | wxPy_END_ALLOW_THREADS; | |
1424 | } if (_result) { | |
1425 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
1426 | _resultobj = Py_BuildValue("s",_ptemp); | |
1427 | } else { | |
1428 | Py_INCREF(Py_None); | |
1429 | _resultobj = Py_None; | |
1430 | } | |
1431 | return _resultobj; | |
1432 | } | |
1433 | ||
1434 | #define wxPyShapeEvtHandler_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1435 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1436 | PyObject * _resultobj; | |
1437 | wxPyShapeEvtHandler * _arg0; | |
1438 | PyObject * _argo0 = 0; | |
1439 | char *_kwnames[] = { "self", NULL }; | |
1440 | ||
1441 | self = self; | |
1442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShapeEvtHandler_base_OnDelete",_kwnames,&_argo0)) | |
1443 | return NULL; | |
1444 | if (_argo0) { | |
1445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDelete. Expected _wxPyShapeEvtHandler_p."); | |
1448 | return NULL; | |
1449 | } | |
1450 | } | |
1451 | { | |
1452 | wxPy_BEGIN_ALLOW_THREADS; | |
1453 | wxPyShapeEvtHandler_base_OnDelete(_arg0); | |
1454 | ||
1455 | wxPy_END_ALLOW_THREADS; | |
1456 | } Py_INCREF(Py_None); | |
1457 | _resultobj = Py_None; | |
1458 | return _resultobj; | |
1459 | } | |
1460 | ||
1461 | #define wxPyShapeEvtHandler_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1462 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1463 | PyObject * _resultobj; | |
1464 | wxPyShapeEvtHandler * _arg0; | |
1465 | wxDC * _arg1; | |
1466 | PyObject * _argo0 = 0; | |
1467 | PyObject * _argo1 = 0; | |
1468 | char *_kwnames[] = { "self","dc", NULL }; | |
1469 | ||
1470 | self = self; | |
1471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1472 | return NULL; | |
1473 | if (_argo0) { | |
1474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxPyShapeEvtHandler_p."); | |
1477 | return NULL; | |
1478 | } | |
1479 | } | |
1480 | if (_argo1) { | |
1481 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1482 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDraw. Expected _wxDC_p."); | |
1484 | return NULL; | |
1485 | } | |
1486 | } | |
1487 | { | |
1488 | wxPy_BEGIN_ALLOW_THREADS; | |
1489 | wxPyShapeEvtHandler_base_OnDraw(_arg0,*_arg1); | |
1490 | ||
1491 | wxPy_END_ALLOW_THREADS; | |
1492 | } Py_INCREF(Py_None); | |
1493 | _resultobj = Py_None; | |
1494 | return _resultobj; | |
1495 | } | |
1496 | ||
1497 | #define wxPyShapeEvtHandler_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1498 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1499 | PyObject * _resultobj; | |
1500 | wxPyShapeEvtHandler * _arg0; | |
1501 | wxDC * _arg1; | |
1502 | PyObject * _argo0 = 0; | |
1503 | PyObject * _argo1 = 0; | |
1504 | char *_kwnames[] = { "self","dc", NULL }; | |
1505 | ||
1506 | self = self; | |
1507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1508 | return NULL; | |
1509 | if (_argo0) { | |
1510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxPyShapeEvtHandler_p."); | |
1513 | return NULL; | |
1514 | } | |
1515 | } | |
1516 | if (_argo1) { | |
1517 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1518 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawContents. Expected _wxDC_p."); | |
1520 | return NULL; | |
1521 | } | |
1522 | } | |
1523 | { | |
1524 | wxPy_BEGIN_ALLOW_THREADS; | |
1525 | wxPyShapeEvtHandler_base_OnDrawContents(_arg0,*_arg1); | |
1526 | ||
1527 | wxPy_END_ALLOW_THREADS; | |
1528 | } Py_INCREF(Py_None); | |
1529 | _resultobj = Py_None; | |
1530 | return _resultobj; | |
1531 | } | |
1532 | ||
1533 | #define wxPyShapeEvtHandler_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1534 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1535 | PyObject * _resultobj; | |
1536 | wxPyShapeEvtHandler * _arg0; | |
1537 | wxDC * _arg1; | |
1538 | bool _arg2 = (bool ) FALSE; | |
1539 | PyObject * _argo0 = 0; | |
1540 | PyObject * _argo1 = 0; | |
1541 | int tempbool2 = (int) FALSE; | |
1542 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1543 | ||
1544 | self = self; | |
1545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1546 | return NULL; | |
1547 | if (_argo0) { | |
1548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxPyShapeEvtHandler_p."); | |
1551 | return NULL; | |
1552 | } | |
1553 | } | |
1554 | if (_argo1) { | |
1555 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1556 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawBranches. Expected _wxDC_p."); | |
1558 | return NULL; | |
1559 | } | |
1560 | } | |
1561 | _arg2 = (bool ) tempbool2; | |
1562 | { | |
1563 | wxPy_BEGIN_ALLOW_THREADS; | |
1564 | wxPyShapeEvtHandler_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1565 | ||
1566 | wxPy_END_ALLOW_THREADS; | |
1567 | } Py_INCREF(Py_None); | |
1568 | _resultobj = Py_None; | |
1569 | return _resultobj; | |
1570 | } | |
1571 | ||
1572 | #define wxPyShapeEvtHandler_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1573 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1574 | PyObject * _resultobj; | |
1575 | wxPyShapeEvtHandler * _arg0; | |
1576 | wxDC * _arg1; | |
1577 | PyObject * _argo0 = 0; | |
1578 | PyObject * _argo1 = 0; | |
1579 | char *_kwnames[] = { "self","dc", NULL }; | |
1580 | ||
1581 | self = self; | |
1582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1583 | return NULL; | |
1584 | if (_argo0) { | |
1585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxPyShapeEvtHandler_p."); | |
1588 | return NULL; | |
1589 | } | |
1590 | } | |
1591 | if (_argo1) { | |
1592 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1593 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLinks. Expected _wxDC_p."); | |
1595 | return NULL; | |
1596 | } | |
1597 | } | |
1598 | { | |
1599 | wxPy_BEGIN_ALLOW_THREADS; | |
1600 | wxPyShapeEvtHandler_base_OnMoveLinks(_arg0,*_arg1); | |
1601 | ||
1602 | wxPy_END_ALLOW_THREADS; | |
1603 | } Py_INCREF(Py_None); | |
1604 | _resultobj = Py_None; | |
1605 | return _resultobj; | |
1606 | } | |
1607 | ||
1608 | #define wxPyShapeEvtHandler_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1609 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1610 | PyObject * _resultobj; | |
1611 | wxPyShapeEvtHandler * _arg0; | |
1612 | wxDC * _arg1; | |
1613 | PyObject * _argo0 = 0; | |
1614 | PyObject * _argo1 = 0; | |
1615 | char *_kwnames[] = { "self","dc", NULL }; | |
1616 | ||
1617 | self = self; | |
1618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1619 | return NULL; | |
1620 | if (_argo0) { | |
1621 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1622 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnErase. Expected _wxPyShapeEvtHandler_p."); | |
1624 | return NULL; | |
1625 | } | |
1626 | } | |
1627 | if (_argo1) { | |
1628 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1629 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnErase. Expected _wxDC_p."); | |
1631 | return NULL; | |
1632 | } | |
1633 | } | |
1634 | { | |
1635 | wxPy_BEGIN_ALLOW_THREADS; | |
1636 | wxPyShapeEvtHandler_base_OnErase(_arg0,*_arg1); | |
1637 | ||
1638 | wxPy_END_ALLOW_THREADS; | |
1639 | } Py_INCREF(Py_None); | |
1640 | _resultobj = Py_None; | |
1641 | return _resultobj; | |
1642 | } | |
1643 | ||
1644 | #define wxPyShapeEvtHandler_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1645 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1646 | PyObject * _resultobj; | |
1647 | wxPyShapeEvtHandler * _arg0; | |
1648 | wxDC * _arg1; | |
1649 | PyObject * _argo0 = 0; | |
1650 | PyObject * _argo1 = 0; | |
1651 | char *_kwnames[] = { "self","dc", NULL }; | |
1652 | ||
1653 | self = self; | |
1654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1655 | return NULL; | |
1656 | if (_argo0) { | |
1657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxPyShapeEvtHandler_p."); | |
1660 | return NULL; | |
1661 | } | |
1662 | } | |
1663 | if (_argo1) { | |
1664 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1665 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseContents. Expected _wxDC_p."); | |
1667 | return NULL; | |
1668 | } | |
1669 | } | |
1670 | { | |
1671 | wxPy_BEGIN_ALLOW_THREADS; | |
1672 | wxPyShapeEvtHandler_base_OnEraseContents(_arg0,*_arg1); | |
1673 | ||
1674 | wxPy_END_ALLOW_THREADS; | |
1675 | } Py_INCREF(Py_None); | |
1676 | _resultobj = Py_None; | |
1677 | return _resultobj; | |
1678 | } | |
1679 | ||
1680 | #define wxPyShapeEvtHandler_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
1681 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1682 | PyObject * _resultobj; | |
1683 | wxPyShapeEvtHandler * _arg0; | |
1684 | wxDC * _arg1; | |
1685 | PyObject * _argo0 = 0; | |
1686 | PyObject * _argo1 = 0; | |
1687 | char *_kwnames[] = { "self","dc", NULL }; | |
1688 | ||
1689 | self = self; | |
1690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
1691 | return NULL; | |
1692 | if (_argo0) { | |
1693 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1694 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxPyShapeEvtHandler_p."); | |
1696 | return NULL; | |
1697 | } | |
1698 | } | |
1699 | if (_argo1) { | |
1700 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1701 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnHighlight. Expected _wxDC_p."); | |
1703 | return NULL; | |
1704 | } | |
1705 | } | |
1706 | { | |
1707 | wxPy_BEGIN_ALLOW_THREADS; | |
1708 | wxPyShapeEvtHandler_base_OnHighlight(_arg0,*_arg1); | |
1709 | ||
1710 | wxPy_END_ALLOW_THREADS; | |
1711 | } Py_INCREF(Py_None); | |
1712 | _resultobj = Py_None; | |
1713 | return _resultobj; | |
1714 | } | |
1715 | ||
1716 | #define wxPyShapeEvtHandler_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1717 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1718 | PyObject * _resultobj; | |
1719 | wxPyShapeEvtHandler * _arg0; | |
1720 | double _arg1; | |
1721 | double _arg2; | |
1722 | int _arg3 = (int ) 0; | |
1723 | int _arg4 = (int ) 0; | |
1724 | PyObject * _argo0 = 0; | |
1725 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1726 | ||
1727 | self = self; | |
1728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1729 | return NULL; | |
1730 | if (_argo0) { | |
1731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftClick. Expected _wxPyShapeEvtHandler_p."); | |
1734 | return NULL; | |
1735 | } | |
1736 | } | |
1737 | { | |
1738 | wxPy_BEGIN_ALLOW_THREADS; | |
1739 | wxPyShapeEvtHandler_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1740 | ||
1741 | wxPy_END_ALLOW_THREADS; | |
1742 | } Py_INCREF(Py_None); | |
1743 | _resultobj = Py_None; | |
1744 | return _resultobj; | |
1745 | } | |
1746 | ||
1747 | #define wxPyShapeEvtHandler_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1748 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1749 | PyObject * _resultobj; | |
1750 | wxPyShapeEvtHandler * _arg0; | |
1751 | double _arg1; | |
1752 | double _arg2; | |
1753 | int _arg3 = (int ) 0; | |
1754 | int _arg4 = (int ) 0; | |
1755 | PyObject * _argo0 = 0; | |
1756 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1757 | ||
1758 | self = self; | |
1759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1760 | return NULL; | |
1761 | if (_argo0) { | |
1762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnLeftDoubleClick. Expected _wxPyShapeEvtHandler_p."); | |
1765 | return NULL; | |
1766 | } | |
1767 | } | |
1768 | { | |
1769 | wxPy_BEGIN_ALLOW_THREADS; | |
1770 | wxPyShapeEvtHandler_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1771 | ||
1772 | wxPy_END_ALLOW_THREADS; | |
1773 | } Py_INCREF(Py_None); | |
1774 | _resultobj = Py_None; | |
1775 | return _resultobj; | |
1776 | } | |
1777 | ||
1778 | #define wxPyShapeEvtHandler_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1779 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1780 | PyObject * _resultobj; | |
1781 | wxPyShapeEvtHandler * _arg0; | |
1782 | double _arg1; | |
1783 | double _arg2; | |
1784 | int _arg3 = (int ) 0; | |
1785 | int _arg4 = (int ) 0; | |
1786 | PyObject * _argo0 = 0; | |
1787 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1788 | ||
1789 | self = self; | |
1790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1791 | return NULL; | |
1792 | if (_argo0) { | |
1793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnRightClick. Expected _wxPyShapeEvtHandler_p."); | |
1796 | return NULL; | |
1797 | } | |
1798 | } | |
1799 | { | |
1800 | wxPy_BEGIN_ALLOW_THREADS; | |
1801 | wxPyShapeEvtHandler_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1802 | ||
1803 | wxPy_END_ALLOW_THREADS; | |
1804 | } Py_INCREF(Py_None); | |
1805 | _resultobj = Py_None; | |
1806 | return _resultobj; | |
1807 | } | |
1808 | ||
1809 | #define wxPyShapeEvtHandler_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
1810 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1811 | PyObject * _resultobj; | |
1812 | wxPyShapeEvtHandler * _arg0; | |
1813 | double _arg1; | |
1814 | double _arg2; | |
1815 | PyObject * _argo0 = 0; | |
1816 | char *_kwnames[] = { "self","x","y", NULL }; | |
1817 | ||
1818 | self = self; | |
1819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1820 | return NULL; | |
1821 | if (_argo0) { | |
1822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSize. Expected _wxPyShapeEvtHandler_p."); | |
1825 | return NULL; | |
1826 | } | |
1827 | } | |
1828 | { | |
1829 | wxPy_BEGIN_ALLOW_THREADS; | |
1830 | wxPyShapeEvtHandler_base_OnSize(_arg0,_arg1,_arg2); | |
1831 | ||
1832 | wxPy_END_ALLOW_THREADS; | |
1833 | } Py_INCREF(Py_None); | |
1834 | _resultobj = Py_None; | |
1835 | return _resultobj; | |
1836 | } | |
1837 | ||
1838 | #define wxPyShapeEvtHandler_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1839 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1840 | PyObject * _resultobj; | |
1841 | bool _result; | |
1842 | wxPyShapeEvtHandler * _arg0; | |
1843 | wxDC * _arg1; | |
1844 | double _arg2; | |
1845 | double _arg3; | |
1846 | double _arg4; | |
1847 | double _arg5; | |
1848 | bool _arg6 = (bool ) TRUE; | |
1849 | PyObject * _argo0 = 0; | |
1850 | PyObject * _argo1 = 0; | |
1851 | int tempbool6 = (int) TRUE; | |
1852 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1853 | ||
1854 | self = self; | |
1855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1856 | return NULL; | |
1857 | if (_argo0) { | |
1858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxPyShapeEvtHandler_p."); | |
1861 | return NULL; | |
1862 | } | |
1863 | } | |
1864 | if (_argo1) { | |
1865 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1866 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePre. Expected _wxDC_p."); | |
1868 | return NULL; | |
1869 | } | |
1870 | } | |
1871 | _arg6 = (bool ) tempbool6; | |
1872 | { | |
1873 | wxPy_BEGIN_ALLOW_THREADS; | |
1874 | _result = (bool )wxPyShapeEvtHandler_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1875 | ||
1876 | wxPy_END_ALLOW_THREADS; | |
1877 | } _resultobj = Py_BuildValue("i",_result); | |
1878 | return _resultobj; | |
1879 | } | |
1880 | ||
1881 | #define wxPyShapeEvtHandler_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1882 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1883 | PyObject * _resultobj; | |
1884 | wxPyShapeEvtHandler * _arg0; | |
1885 | wxDC * _arg1; | |
1886 | double _arg2; | |
1887 | double _arg3; | |
1888 | double _arg4; | |
1889 | double _arg5; | |
1890 | bool _arg6 = (bool ) TRUE; | |
1891 | PyObject * _argo0 = 0; | |
1892 | PyObject * _argo1 = 0; | |
1893 | int tempbool6 = (int) TRUE; | |
1894 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1895 | ||
1896 | self = self; | |
1897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShapeEvtHandler_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1898 | return NULL; | |
1899 | if (_argo0) { | |
1900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxPyShapeEvtHandler_p."); | |
1903 | return NULL; | |
1904 | } | |
1905 | } | |
1906 | if (_argo1) { | |
1907 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1908 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMovePost. Expected _wxDC_p."); | |
1910 | return NULL; | |
1911 | } | |
1912 | } | |
1913 | _arg6 = (bool ) tempbool6; | |
1914 | { | |
1915 | wxPy_BEGIN_ALLOW_THREADS; | |
1916 | wxPyShapeEvtHandler_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1917 | ||
1918 | wxPy_END_ALLOW_THREADS; | |
1919 | } Py_INCREF(Py_None); | |
1920 | _resultobj = Py_None; | |
1921 | return _resultobj; | |
1922 | } | |
1923 | ||
1924 | #define wxPyShapeEvtHandler_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1925 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1926 | PyObject * _resultobj; | |
1927 | wxPyShapeEvtHandler * _arg0; | |
1928 | bool _arg1; | |
1929 | double _arg2; | |
1930 | double _arg3; | |
1931 | int _arg4 = (int ) 0; | |
1932 | int _arg5 = (int ) 0; | |
1933 | PyObject * _argo0 = 0; | |
1934 | int tempbool1; | |
1935 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1936 | ||
1937 | self = self; | |
1938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1939 | return NULL; | |
1940 | if (_argo0) { | |
1941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1944 | return NULL; | |
1945 | } | |
1946 | } | |
1947 | _arg1 = (bool ) tempbool1; | |
1948 | { | |
1949 | wxPy_BEGIN_ALLOW_THREADS; | |
1950 | wxPyShapeEvtHandler_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1951 | ||
1952 | wxPy_END_ALLOW_THREADS; | |
1953 | } Py_INCREF(Py_None); | |
1954 | _resultobj = Py_None; | |
1955 | return _resultobj; | |
1956 | } | |
1957 | ||
1958 | #define wxPyShapeEvtHandler_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1959 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1960 | PyObject * _resultobj; | |
1961 | wxPyShapeEvtHandler * _arg0; | |
1962 | double _arg1; | |
1963 | double _arg2; | |
1964 | int _arg3 = (int ) 0; | |
1965 | int _arg4 = (int ) 0; | |
1966 | PyObject * _argo0 = 0; | |
1967 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1968 | ||
1969 | self = self; | |
1970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1971 | return NULL; | |
1972 | if (_argo0) { | |
1973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
1975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
1976 | return NULL; | |
1977 | } | |
1978 | } | |
1979 | { | |
1980 | wxPy_BEGIN_ALLOW_THREADS; | |
1981 | wxPyShapeEvtHandler_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1982 | ||
1983 | wxPy_END_ALLOW_THREADS; | |
1984 | } Py_INCREF(Py_None); | |
1985 | _resultobj = Py_None; | |
1986 | return _resultobj; | |
1987 | } | |
1988 | ||
1989 | #define wxPyShapeEvtHandler_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1990 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1991 | PyObject * _resultobj; | |
1992 | wxPyShapeEvtHandler * _arg0; | |
1993 | double _arg1; | |
1994 | double _arg2; | |
1995 | int _arg3 = (int ) 0; | |
1996 | int _arg4 = (int ) 0; | |
1997 | PyObject * _argo0 = 0; | |
1998 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1999 | ||
2000 | self = self; | |
2001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2002 | return NULL; | |
2003 | if (_argo0) { | |
2004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2007 | return NULL; | |
2008 | } | |
2009 | } | |
2010 | { | |
2011 | wxPy_BEGIN_ALLOW_THREADS; | |
2012 | wxPyShapeEvtHandler_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2013 | ||
2014 | wxPy_END_ALLOW_THREADS; | |
2015 | } Py_INCREF(Py_None); | |
2016 | _resultobj = Py_None; | |
2017 | return _resultobj; | |
2018 | } | |
2019 | ||
2020 | #define wxPyShapeEvtHandler_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2021 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2022 | PyObject * _resultobj; | |
2023 | wxPyShapeEvtHandler * _arg0; | |
2024 | bool _arg1; | |
2025 | double _arg2; | |
2026 | double _arg3; | |
2027 | int _arg4 = (int ) 0; | |
2028 | int _arg5 = (int ) 0; | |
2029 | PyObject * _argo0 = 0; | |
2030 | int tempbool1; | |
2031 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2032 | ||
2033 | self = self; | |
2034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShapeEvtHandler_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2035 | return NULL; | |
2036 | if (_argo0) { | |
2037 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2038 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2040 | return NULL; | |
2041 | } | |
2042 | } | |
2043 | _arg1 = (bool ) tempbool1; | |
2044 | { | |
2045 | wxPy_BEGIN_ALLOW_THREADS; | |
2046 | wxPyShapeEvtHandler_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2047 | ||
2048 | wxPy_END_ALLOW_THREADS; | |
2049 | } Py_INCREF(Py_None); | |
2050 | _resultobj = Py_None; | |
2051 | return _resultobj; | |
2052 | } | |
2053 | ||
2054 | #define wxPyShapeEvtHandler_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2055 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2056 | PyObject * _resultobj; | |
2057 | wxPyShapeEvtHandler * _arg0; | |
2058 | double _arg1; | |
2059 | double _arg2; | |
2060 | int _arg3 = (int ) 0; | |
2061 | int _arg4 = (int ) 0; | |
2062 | PyObject * _argo0 = 0; | |
2063 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2064 | ||
2065 | self = self; | |
2066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2067 | return NULL; | |
2068 | if (_argo0) { | |
2069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2072 | return NULL; | |
2073 | } | |
2074 | } | |
2075 | { | |
2076 | wxPy_BEGIN_ALLOW_THREADS; | |
2077 | wxPyShapeEvtHandler_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2078 | ||
2079 | wxPy_END_ALLOW_THREADS; | |
2080 | } Py_INCREF(Py_None); | |
2081 | _resultobj = Py_None; | |
2082 | return _resultobj; | |
2083 | } | |
2084 | ||
2085 | #define wxPyShapeEvtHandler_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2086 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2087 | PyObject * _resultobj; | |
2088 | wxPyShapeEvtHandler * _arg0; | |
2089 | double _arg1; | |
2090 | double _arg2; | |
2091 | int _arg3 = (int ) 0; | |
2092 | int _arg4 = (int ) 0; | |
2093 | PyObject * _argo0 = 0; | |
2094 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2095 | ||
2096 | self = self; | |
2097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShapeEvtHandler_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2098 | return NULL; | |
2099 | if (_argo0) { | |
2100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndDragRight. Expected _wxPyShapeEvtHandler_p."); | |
2103 | return NULL; | |
2104 | } | |
2105 | } | |
2106 | { | |
2107 | wxPy_BEGIN_ALLOW_THREADS; | |
2108 | wxPyShapeEvtHandler_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2109 | ||
2110 | wxPy_END_ALLOW_THREADS; | |
2111 | } Py_INCREF(Py_None); | |
2112 | _resultobj = Py_None; | |
2113 | return _resultobj; | |
2114 | } | |
2115 | ||
2116 | #define wxPyShapeEvtHandler_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2117 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2118 | PyObject * _resultobj; | |
2119 | wxPyShapeEvtHandler * _arg0; | |
2120 | wxDC * _arg1; | |
2121 | double _arg2; | |
2122 | double _arg3; | |
2123 | double _arg4; | |
2124 | double _arg5; | |
2125 | PyObject * _argo0 = 0; | |
2126 | PyObject * _argo1 = 0; | |
2127 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2128 | ||
2129 | self = self; | |
2130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShapeEvtHandler_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2131 | return NULL; | |
2132 | if (_argo0) { | |
2133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxPyShapeEvtHandler_p."); | |
2136 | return NULL; | |
2137 | } | |
2138 | } | |
2139 | if (_argo1) { | |
2140 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2141 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawOutline. Expected _wxDC_p."); | |
2143 | return NULL; | |
2144 | } | |
2145 | } | |
2146 | { | |
2147 | wxPy_BEGIN_ALLOW_THREADS; | |
2148 | wxPyShapeEvtHandler_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2149 | ||
2150 | wxPy_END_ALLOW_THREADS; | |
2151 | } Py_INCREF(Py_None); | |
2152 | _resultobj = Py_None; | |
2153 | return _resultobj; | |
2154 | } | |
2155 | ||
2156 | #define wxPyShapeEvtHandler_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2157 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2158 | PyObject * _resultobj; | |
2159 | wxPyShapeEvtHandler * _arg0; | |
2160 | wxDC * _arg1; | |
2161 | PyObject * _argo0 = 0; | |
2162 | PyObject * _argo1 = 0; | |
2163 | char *_kwnames[] = { "self","dc", NULL }; | |
2164 | ||
2165 | self = self; | |
2166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2167 | return NULL; | |
2168 | if (_argo0) { | |
2169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxPyShapeEvtHandler_p."); | |
2172 | return NULL; | |
2173 | } | |
2174 | } | |
2175 | if (_argo1) { | |
2176 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2177 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2179 | return NULL; | |
2180 | } | |
2181 | } | |
2182 | { | |
2183 | wxPy_BEGIN_ALLOW_THREADS; | |
2184 | wxPyShapeEvtHandler_base_OnDrawControlPoints(_arg0,*_arg1); | |
2185 | ||
2186 | wxPy_END_ALLOW_THREADS; | |
2187 | } Py_INCREF(Py_None); | |
2188 | _resultobj = Py_None; | |
2189 | return _resultobj; | |
2190 | } | |
2191 | ||
2192 | #define wxPyShapeEvtHandler_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2193 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2194 | PyObject * _resultobj; | |
2195 | wxPyShapeEvtHandler * _arg0; | |
2196 | wxDC * _arg1; | |
2197 | PyObject * _argo0 = 0; | |
2198 | PyObject * _argo1 = 0; | |
2199 | char *_kwnames[] = { "self","dc", NULL }; | |
2200 | ||
2201 | self = self; | |
2202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShapeEvtHandler_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2203 | return NULL; | |
2204 | if (_argo0) { | |
2205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxPyShapeEvtHandler_p."); | |
2208 | return NULL; | |
2209 | } | |
2210 | } | |
2211 | if (_argo1) { | |
2212 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2213 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2215 | return NULL; | |
2216 | } | |
2217 | } | |
2218 | { | |
2219 | wxPy_BEGIN_ALLOW_THREADS; | |
2220 | wxPyShapeEvtHandler_base_OnEraseControlPoints(_arg0,*_arg1); | |
2221 | ||
2222 | wxPy_END_ALLOW_THREADS; | |
2223 | } Py_INCREF(Py_None); | |
2224 | _resultobj = Py_None; | |
2225 | return _resultobj; | |
2226 | } | |
2227 | ||
2228 | #define wxPyShapeEvtHandler_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2229 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2230 | PyObject * _resultobj; | |
2231 | wxPyShapeEvtHandler * _arg0; | |
2232 | wxDC * _arg1; | |
2233 | bool _arg2 = (bool ) TRUE; | |
2234 | PyObject * _argo0 = 0; | |
2235 | PyObject * _argo1 = 0; | |
2236 | int tempbool2 = (int) TRUE; | |
2237 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2238 | ||
2239 | self = self; | |
2240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShapeEvtHandler_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2241 | return NULL; | |
2242 | if (_argo0) { | |
2243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxPyShapeEvtHandler_p."); | |
2246 | return NULL; | |
2247 | } | |
2248 | } | |
2249 | if (_argo1) { | |
2250 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2251 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnMoveLink. Expected _wxDC_p."); | |
2253 | return NULL; | |
2254 | } | |
2255 | } | |
2256 | _arg2 = (bool ) tempbool2; | |
2257 | { | |
2258 | wxPy_BEGIN_ALLOW_THREADS; | |
2259 | wxPyShapeEvtHandler_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2260 | ||
2261 | wxPy_END_ALLOW_THREADS; | |
2262 | } Py_INCREF(Py_None); | |
2263 | _resultobj = Py_None; | |
2264 | return _resultobj; | |
2265 | } | |
2266 | ||
2267 | #define wxPyShapeEvtHandler_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2268 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2269 | PyObject * _resultobj; | |
2270 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2271 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2272 | bool _arg2; |
2273 | double _arg3; | |
2274 | double _arg4; | |
2275 | int _arg5 = (int ) 0; | |
2276 | int _arg6 = (int ) 0; | |
2277 | PyObject * _argo0 = 0; | |
2278 | PyObject * _argo1 = 0; | |
2279 | int tempbool2; | |
2280 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2281 | ||
2282 | self = self; | |
2283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShapeEvtHandler_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2284 | return NULL; | |
2285 | if (_argo0) { | |
2286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2289 | return NULL; | |
2290 | } | |
2291 | } | |
2292 | if (_argo1) { | |
2293 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2294 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2296 | return NULL; |
2297 | } | |
2298 | } | |
2299 | _arg2 = (bool ) tempbool2; | |
2300 | { | |
2301 | wxPy_BEGIN_ALLOW_THREADS; | |
2302 | wxPyShapeEvtHandler_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2303 | ||
2304 | wxPy_END_ALLOW_THREADS; | |
2305 | } Py_INCREF(Py_None); | |
2306 | _resultobj = Py_None; | |
2307 | return _resultobj; | |
2308 | } | |
2309 | ||
2310 | #define wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2311 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2312 | PyObject * _resultobj; | |
2313 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2314 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2315 | double _arg2; |
2316 | double _arg3; | |
2317 | int _arg4 = (int ) 0; | |
2318 | int _arg5 = (int ) 0; | |
2319 | PyObject * _argo0 = 0; | |
2320 | PyObject * _argo1 = 0; | |
2321 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2322 | ||
2323 | self = self; | |
2324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2325 | return NULL; | |
2326 | if (_argo0) { | |
2327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2330 | return NULL; | |
2331 | } | |
2332 | } | |
2333 | if (_argo1) { | |
2334 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2335 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2337 | return NULL; |
2338 | } | |
2339 | } | |
2340 | { | |
2341 | wxPy_BEGIN_ALLOW_THREADS; | |
2342 | wxPyShapeEvtHandler_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2343 | ||
2344 | wxPy_END_ALLOW_THREADS; | |
2345 | } Py_INCREF(Py_None); | |
2346 | _resultobj = Py_None; | |
2347 | return _resultobj; | |
2348 | } | |
2349 | ||
2350 | #define wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2351 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2352 | PyObject * _resultobj; | |
2353 | wxPyShapeEvtHandler * _arg0; | |
2348eaee | 2354 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2355 | double _arg2; |
2356 | double _arg3; | |
2357 | int _arg4 = (int ) 0; | |
2358 | int _arg5 = (int ) 0; | |
2359 | PyObject * _argo0 = 0; | |
2360 | PyObject * _argo1 = 0; | |
2361 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2362 | ||
2363 | self = self; | |
2364 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShapeEvtHandler_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2365 | return NULL; | |
2366 | if (_argo0) { | |
2367 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2368 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyShapeEvtHandler_p."); | |
2370 | return NULL; | |
2371 | } | |
2372 | } | |
2373 | if (_argo1) { | |
2374 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2375 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShapeEvtHandler_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2377 | return NULL; |
2378 | } | |
2379 | } | |
2380 | { | |
2381 | wxPy_BEGIN_ALLOW_THREADS; | |
2382 | wxPyShapeEvtHandler_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2383 | ||
2384 | wxPy_END_ALLOW_THREADS; | |
2385 | } Py_INCREF(Py_None); | |
2386 | _resultobj = Py_None; | |
2387 | return _resultobj; | |
2388 | } | |
2389 | ||
2390 | #define wxPyShapeEvtHandler_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2391 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2392 | PyObject * _resultobj; | |
2393 | wxPyShapeEvtHandler * _arg0; | |
2394 | double _arg1; | |
2395 | double _arg2; | |
2396 | PyObject * _argo0 = 0; | |
2397 | char *_kwnames[] = { "self","w","h", NULL }; | |
2398 | ||
2399 | self = self; | |
2400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2401 | return NULL; | |
2402 | if (_argo0) { | |
2403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnBeginSize. Expected _wxPyShapeEvtHandler_p."); | |
2406 | return NULL; | |
2407 | } | |
2408 | } | |
2409 | { | |
2410 | wxPy_BEGIN_ALLOW_THREADS; | |
2411 | wxPyShapeEvtHandler_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2412 | ||
2413 | wxPy_END_ALLOW_THREADS; | |
2414 | } Py_INCREF(Py_None); | |
2415 | _resultobj = Py_None; | |
2416 | return _resultobj; | |
2417 | } | |
2418 | ||
2419 | #define wxPyShapeEvtHandler_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2420 | static PyObject *_wrap_wxPyShapeEvtHandler_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2421 | PyObject * _resultobj; | |
2422 | wxPyShapeEvtHandler * _arg0; | |
2423 | double _arg1; | |
2424 | double _arg2; | |
2425 | PyObject * _argo0 = 0; | |
2426 | char *_kwnames[] = { "self","w","h", NULL }; | |
2427 | ||
2428 | self = self; | |
2429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShapeEvtHandler_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2430 | return NULL; | |
2431 | if (_argo0) { | |
2432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeEvtHandler_p")) { | |
2434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShapeEvtHandler_base_OnEndSize. Expected _wxPyShapeEvtHandler_p."); | |
2435 | return NULL; | |
2436 | } | |
2437 | } | |
2438 | { | |
2439 | wxPy_BEGIN_ALLOW_THREADS; | |
2440 | wxPyShapeEvtHandler_base_OnEndSize(_arg0,_arg1,_arg2); | |
2441 | ||
2442 | wxPy_END_ALLOW_THREADS; | |
2443 | } Py_INCREF(Py_None); | |
2444 | _resultobj = Py_None; | |
2445 | return _resultobj; | |
2446 | } | |
2447 | ||
2448 | static void *SwigwxPyShapeTowxPyShapeEvtHandler(void *ptr) { | |
2449 | wxPyShape *src; | |
2450 | wxPyShapeEvtHandler *dest; | |
2451 | src = (wxPyShape *) ptr; | |
2452 | dest = (wxPyShapeEvtHandler *) src; | |
2453 | return (void *) dest; | |
2454 | } | |
2455 | ||
f6bcfd97 | 2456 | #define wxPyShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
2457 | static PyObject *_wrap_wxPyShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
2458 | PyObject * _resultobj; | |
2459 | wxPyShape * _arg0; | |
2460 | PyObject * _arg1; | |
f6bcfd97 | 2461 | PyObject * _arg2; |
e91a9dfc RD |
2462 | PyObject * _argo0 = 0; |
2463 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2464 | PyObject * _obj2 = 0; |
2465 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2466 | |
2467 | self = self; | |
f6bcfd97 | 2468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2469 | return NULL; |
2470 | if (_argo0) { | |
2471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape__setSelf. Expected _wxPyShape_p."); | |
2474 | return NULL; | |
2475 | } | |
2476 | } | |
2477 | { | |
2478 | _arg1 = _obj1; | |
2479 | } | |
f6bcfd97 BP |
2480 | { |
2481 | _arg2 = _obj2; | |
2482 | } | |
e91a9dfc RD |
2483 | { |
2484 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2485 | wxPyShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2486 | |
2487 | wxPy_END_ALLOW_THREADS; | |
2488 | } Py_INCREF(Py_None); | |
2489 | _resultobj = Py_None; | |
2490 | return _resultobj; | |
2491 | } | |
2492 | ||
2493 | static void wxPyShape_Destroy(wxPyShape *self) { delete self; } | |
2494 | static PyObject *_wrap_wxPyShape_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2495 | PyObject * _resultobj; | |
2496 | wxPyShape * _arg0; | |
2497 | PyObject * _argo0 = 0; | |
2498 | char *_kwnames[] = { "self", NULL }; | |
2499 | ||
2500 | self = self; | |
2501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Destroy",_kwnames,&_argo0)) | |
2502 | return NULL; | |
2503 | if (_argo0) { | |
2504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Destroy. Expected _wxPyShape_p."); | |
2507 | return NULL; | |
2508 | } | |
2509 | } | |
2510 | { | |
2511 | wxPy_BEGIN_ALLOW_THREADS; | |
2512 | wxPyShape_Destroy(_arg0); | |
2513 | ||
2514 | wxPy_END_ALLOW_THREADS; | |
2515 | } Py_INCREF(Py_None); | |
2516 | _resultobj = Py_None; | |
2517 | return _resultobj; | |
2518 | } | |
2519 | ||
2520 | #define wxPyShape_GetBoundingBoxMax(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMax(_swigarg0,_swigarg1)) | |
2521 | static PyObject *_wrap_wxPyShape_GetBoundingBoxMax(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2522 | PyObject * _resultobj; | |
2523 | wxPyShape * _arg0; | |
2524 | double * _arg1; | |
2525 | double temp; | |
2526 | double * _arg2; | |
2527 | double temp0; | |
2528 | PyObject * _argo0 = 0; | |
2529 | char *_kwnames[] = { "self", NULL }; | |
2530 | ||
2531 | self = self; | |
2532 | { | |
2533 | _arg1 = &temp; | |
2534 | } | |
2535 | { | |
2536 | _arg2 = &temp0; | |
2537 | } | |
2538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMax",_kwnames,&_argo0)) | |
2539 | return NULL; | |
2540 | if (_argo0) { | |
2541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMax. Expected _wxPyShape_p."); | |
2544 | return NULL; | |
2545 | } | |
2546 | } | |
2547 | { | |
2548 | wxPy_BEGIN_ALLOW_THREADS; | |
2549 | wxPyShape_GetBoundingBoxMax(_arg0,_arg1,_arg2); | |
2550 | ||
2551 | wxPy_END_ALLOW_THREADS; | |
2552 | } Py_INCREF(Py_None); | |
2553 | _resultobj = Py_None; | |
2554 | { | |
2555 | PyObject *o; | |
2556 | o = PyFloat_FromDouble((double) (*_arg1)); | |
2557 | _resultobj = t_output_helper(_resultobj, o); | |
2558 | } | |
2559 | { | |
2560 | PyObject *o; | |
2561 | o = PyFloat_FromDouble((double) (*_arg2)); | |
2562 | _resultobj = t_output_helper(_resultobj, o); | |
2563 | } | |
2564 | return _resultobj; | |
2565 | } | |
2566 | ||
2567 | #define wxPyShape_GetBoundingBoxMin(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetBoundingBoxMin(_swigarg0,_swigarg1)) | |
2568 | static PyObject *_wrap_wxPyShape_GetBoundingBoxMin(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2569 | PyObject * _resultobj; | |
2570 | wxPyShape * _arg0; | |
2571 | double * _arg1; | |
2572 | double temp; | |
2573 | double * _arg2; | |
2574 | double temp0; | |
2575 | PyObject * _argo0 = 0; | |
2576 | char *_kwnames[] = { "self", NULL }; | |
2577 | ||
2578 | self = self; | |
2579 | { | |
2580 | _arg1 = &temp; | |
2581 | } | |
2582 | { | |
2583 | _arg2 = &temp0; | |
2584 | } | |
2585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBoundingBoxMin",_kwnames,&_argo0)) | |
2586 | return NULL; | |
2587 | if (_argo0) { | |
2588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBoundingBoxMin. Expected _wxPyShape_p."); | |
2591 | return NULL; | |
2592 | } | |
2593 | } | |
2594 | { | |
2595 | wxPy_BEGIN_ALLOW_THREADS; | |
2596 | wxPyShape_GetBoundingBoxMin(_arg0,_arg1,_arg2); | |
2597 | ||
2598 | wxPy_END_ALLOW_THREADS; | |
2599 | } Py_INCREF(Py_None); | |
2600 | _resultobj = Py_None; | |
2601 | { | |
2602 | PyObject *o; | |
2603 | o = PyFloat_FromDouble((double) (*_arg1)); | |
2604 | _resultobj = t_output_helper(_resultobj, o); | |
2605 | } | |
2606 | { | |
2607 | PyObject *o; | |
2608 | o = PyFloat_FromDouble((double) (*_arg2)); | |
2609 | _resultobj = t_output_helper(_resultobj, o); | |
2610 | } | |
2611 | return _resultobj; | |
2612 | } | |
2613 | ||
2614 | #define wxPyShape_GetPerimeterPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetPerimeterPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2615 | static PyObject *_wrap_wxPyShape_GetPerimeterPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2616 | PyObject * _resultobj; | |
2617 | bool _result; | |
2618 | wxPyShape * _arg0; | |
2619 | double _arg1; | |
2620 | double _arg2; | |
2621 | double _arg3; | |
2622 | double _arg4; | |
2623 | double * _arg5; | |
2624 | double temp; | |
2625 | double * _arg6; | |
2626 | double temp0; | |
2627 | PyObject * _argo0 = 0; | |
2628 | char *_kwnames[] = { "self","x1","y1","x2","y2", NULL }; | |
2629 | ||
2630 | self = self; | |
2631 | { | |
2632 | _arg5 = &temp; | |
2633 | } | |
2634 | { | |
2635 | _arg6 = &temp0; | |
2636 | } | |
2637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyShape_GetPerimeterPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2638 | return NULL; | |
2639 | if (_argo0) { | |
2640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPerimeterPoint. Expected _wxPyShape_p."); | |
2643 | return NULL; | |
2644 | } | |
2645 | } | |
2646 | { | |
2647 | wxPy_BEGIN_ALLOW_THREADS; | |
2648 | _result = (bool )wxPyShape_GetPerimeterPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2649 | ||
2650 | wxPy_END_ALLOW_THREADS; | |
2651 | } _resultobj = Py_BuildValue("i",_result); | |
2652 | { | |
2653 | PyObject *o; | |
2654 | o = PyFloat_FromDouble((double) (*_arg5)); | |
2655 | _resultobj = t_output_helper(_resultobj, o); | |
2656 | } | |
2657 | { | |
2658 | PyObject *o; | |
2659 | o = PyFloat_FromDouble((double) (*_arg6)); | |
2660 | _resultobj = t_output_helper(_resultobj, o); | |
2661 | } | |
2662 | return _resultobj; | |
2663 | } | |
2664 | ||
2665 | #define wxPyShape_GetCanvas(_swigobj) (_swigobj->GetCanvas()) | |
2666 | static PyObject *_wrap_wxPyShape_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2667 | PyObject * _resultobj; | |
2668 | wxPyShapeCanvas * _result; | |
2669 | wxPyShape * _arg0; | |
2670 | PyObject * _argo0 = 0; | |
2671 | char *_kwnames[] = { "self", NULL }; | |
2672 | char _ptemp[128]; | |
2673 | ||
2674 | self = self; | |
2675 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCanvas",_kwnames,&_argo0)) | |
2676 | return NULL; | |
2677 | if (_argo0) { | |
2678 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2679 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2680 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCanvas. Expected _wxPyShape_p."); | |
2681 | return NULL; | |
2682 | } | |
2683 | } | |
2684 | { | |
2685 | wxPy_BEGIN_ALLOW_THREADS; | |
2686 | _result = (wxPyShapeCanvas *)wxPyShape_GetCanvas(_arg0); | |
2687 | ||
2688 | wxPy_END_ALLOW_THREADS; | |
2689 | } if (_result) { | |
2690 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeCanvas_p"); | |
2691 | _resultobj = Py_BuildValue("s",_ptemp); | |
2692 | } else { | |
2693 | Py_INCREF(Py_None); | |
2694 | _resultobj = Py_None; | |
2695 | } | |
2696 | return _resultobj; | |
2697 | } | |
2698 | ||
2699 | #define wxPyShape_SetCanvas(_swigobj,_swigarg0) (_swigobj->SetCanvas(_swigarg0)) | |
2700 | static PyObject *_wrap_wxPyShape_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2701 | PyObject * _resultobj; | |
2702 | wxPyShape * _arg0; | |
2703 | wxPyShapeCanvas * _arg1; | |
2704 | PyObject * _argo0 = 0; | |
2705 | PyObject * _argo1 = 0; | |
2706 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2707 | ||
2708 | self = self; | |
2709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetCanvas",_kwnames,&_argo0,&_argo1)) | |
2710 | return NULL; | |
2711 | if (_argo0) { | |
2712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCanvas. Expected _wxPyShape_p."); | |
2715 | return NULL; | |
2716 | } | |
2717 | } | |
2718 | if (_argo1) { | |
2719 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2720 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetCanvas. Expected _wxPyShapeCanvas_p."); | |
2722 | return NULL; | |
2723 | } | |
2724 | } | |
2725 | { | |
2726 | wxPy_BEGIN_ALLOW_THREADS; | |
2727 | wxPyShape_SetCanvas(_arg0,_arg1); | |
2728 | ||
2729 | wxPy_END_ALLOW_THREADS; | |
2730 | } Py_INCREF(Py_None); | |
2731 | _resultobj = Py_None; | |
2732 | return _resultobj; | |
2733 | } | |
2734 | ||
2735 | #define wxPyShape_AddToCanvas(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddToCanvas(_swigarg0,_swigarg1)) | |
2736 | static PyObject *_wrap_wxPyShape_AddToCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2737 | PyObject * _resultobj; | |
2738 | wxPyShape * _arg0; | |
2739 | wxPyShapeCanvas * _arg1; | |
2740 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
2741 | PyObject * _argo0 = 0; | |
2742 | PyObject * _argo1 = 0; | |
2743 | PyObject * _argo2 = 0; | |
2744 | char *_kwnames[] = { "self","the_canvas","addAfter", NULL }; | |
2745 | ||
2746 | self = self; | |
2747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyShape_AddToCanvas",_kwnames,&_argo0,&_argo1,&_argo2)) | |
2748 | return NULL; | |
2749 | if (_argo0) { | |
2750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddToCanvas. Expected _wxPyShape_p."); | |
2753 | return NULL; | |
2754 | } | |
2755 | } | |
2756 | if (_argo1) { | |
2757 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2758 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddToCanvas. Expected _wxPyShapeCanvas_p."); | |
2760 | return NULL; | |
2761 | } | |
2762 | } | |
2763 | if (_argo2) { | |
2764 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
2765 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
2766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddToCanvas. Expected _wxPyShape_p."); | |
2767 | return NULL; | |
2768 | } | |
2769 | } | |
2770 | { | |
2771 | wxPy_BEGIN_ALLOW_THREADS; | |
2772 | wxPyShape_AddToCanvas(_arg0,_arg1,_arg2); | |
2773 | ||
2774 | wxPy_END_ALLOW_THREADS; | |
2775 | } Py_INCREF(Py_None); | |
2776 | _resultobj = Py_None; | |
2777 | return _resultobj; | |
2778 | } | |
2779 | ||
2780 | #define wxPyShape_InsertInCanvas(_swigobj,_swigarg0) (_swigobj->InsertInCanvas(_swigarg0)) | |
2781 | static PyObject *_wrap_wxPyShape_InsertInCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2782 | PyObject * _resultobj; | |
2783 | wxPyShape * _arg0; | |
2784 | wxPyShapeCanvas * _arg1; | |
2785 | PyObject * _argo0 = 0; | |
2786 | PyObject * _argo1 = 0; | |
2787 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2788 | ||
2789 | self = self; | |
2790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_InsertInCanvas",_kwnames,&_argo0,&_argo1)) | |
2791 | return NULL; | |
2792 | if (_argo0) { | |
2793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_InsertInCanvas. Expected _wxPyShape_p."); | |
2796 | return NULL; | |
2797 | } | |
2798 | } | |
2799 | if (_argo1) { | |
2800 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2801 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_InsertInCanvas. Expected _wxPyShapeCanvas_p."); | |
2803 | return NULL; | |
2804 | } | |
2805 | } | |
2806 | { | |
2807 | wxPy_BEGIN_ALLOW_THREADS; | |
2808 | wxPyShape_InsertInCanvas(_arg0,_arg1); | |
2809 | ||
2810 | wxPy_END_ALLOW_THREADS; | |
2811 | } Py_INCREF(Py_None); | |
2812 | _resultobj = Py_None; | |
2813 | return _resultobj; | |
2814 | } | |
2815 | ||
2816 | #define wxPyShape_RemoveFromCanvas(_swigobj,_swigarg0) (_swigobj->RemoveFromCanvas(_swigarg0)) | |
2817 | static PyObject *_wrap_wxPyShape_RemoveFromCanvas(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2818 | PyObject * _resultobj; | |
2819 | wxPyShape * _arg0; | |
2820 | wxPyShapeCanvas * _arg1; | |
2821 | PyObject * _argo0 = 0; | |
2822 | PyObject * _argo1 = 0; | |
2823 | char *_kwnames[] = { "self","the_canvas", NULL }; | |
2824 | ||
2825 | self = self; | |
2826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveFromCanvas",_kwnames,&_argo0,&_argo1)) | |
2827 | return NULL; | |
2828 | if (_argo0) { | |
2829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveFromCanvas. Expected _wxPyShape_p."); | |
2832 | return NULL; | |
2833 | } | |
2834 | } | |
2835 | if (_argo1) { | |
2836 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2837 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
2838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveFromCanvas. Expected _wxPyShapeCanvas_p."); | |
2839 | return NULL; | |
2840 | } | |
2841 | } | |
2842 | { | |
2843 | wxPy_BEGIN_ALLOW_THREADS; | |
2844 | wxPyShape_RemoveFromCanvas(_arg0,_arg1); | |
2845 | ||
2846 | wxPy_END_ALLOW_THREADS; | |
2847 | } Py_INCREF(Py_None); | |
2848 | _resultobj = Py_None; | |
2849 | return _resultobj; | |
2850 | } | |
2851 | ||
2852 | #define wxPyShape_GetX(_swigobj) (_swigobj->GetX()) | |
2853 | static PyObject *_wrap_wxPyShape_GetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2854 | PyObject * _resultobj; | |
2855 | double _result; | |
2856 | wxPyShape * _arg0; | |
2857 | PyObject * _argo0 = 0; | |
2858 | char *_kwnames[] = { "self", NULL }; | |
2859 | ||
2860 | self = self; | |
2861 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetX",_kwnames,&_argo0)) | |
2862 | return NULL; | |
2863 | if (_argo0) { | |
2864 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2865 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2866 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetX. Expected _wxPyShape_p."); | |
2867 | return NULL; | |
2868 | } | |
2869 | } | |
2870 | { | |
2871 | wxPy_BEGIN_ALLOW_THREADS; | |
2872 | _result = (double )wxPyShape_GetX(_arg0); | |
2873 | ||
2874 | wxPy_END_ALLOW_THREADS; | |
2875 | } _resultobj = Py_BuildValue("d",_result); | |
2876 | return _resultobj; | |
2877 | } | |
2878 | ||
2879 | #define wxPyShape_GetY(_swigobj) (_swigobj->GetY()) | |
2880 | static PyObject *_wrap_wxPyShape_GetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2881 | PyObject * _resultobj; | |
2882 | double _result; | |
2883 | wxPyShape * _arg0; | |
2884 | PyObject * _argo0 = 0; | |
2885 | char *_kwnames[] = { "self", NULL }; | |
2886 | ||
2887 | self = self; | |
2888 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetY",_kwnames,&_argo0)) | |
2889 | return NULL; | |
2890 | if (_argo0) { | |
2891 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2892 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2893 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetY. Expected _wxPyShape_p."); | |
2894 | return NULL; | |
2895 | } | |
2896 | } | |
2897 | { | |
2898 | wxPy_BEGIN_ALLOW_THREADS; | |
2899 | _result = (double )wxPyShape_GetY(_arg0); | |
2900 | ||
2901 | wxPy_END_ALLOW_THREADS; | |
2902 | } _resultobj = Py_BuildValue("d",_result); | |
2903 | return _resultobj; | |
2904 | } | |
2905 | ||
2906 | #define wxPyShape_SetX(_swigobj,_swigarg0) (_swigobj->SetX(_swigarg0)) | |
2907 | static PyObject *_wrap_wxPyShape_SetX(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2908 | PyObject * _resultobj; | |
2909 | wxPyShape * _arg0; | |
2910 | double _arg1; | |
2911 | PyObject * _argo0 = 0; | |
2912 | char *_kwnames[] = { "self","x", NULL }; | |
2913 | ||
2914 | self = self; | |
2915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetX",_kwnames,&_argo0,&_arg1)) | |
2916 | return NULL; | |
2917 | if (_argo0) { | |
2918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetX. Expected _wxPyShape_p."); | |
2921 | return NULL; | |
2922 | } | |
2923 | } | |
2924 | { | |
2925 | wxPy_BEGIN_ALLOW_THREADS; | |
2926 | wxPyShape_SetX(_arg0,_arg1); | |
2927 | ||
2928 | wxPy_END_ALLOW_THREADS; | |
2929 | } Py_INCREF(Py_None); | |
2930 | _resultobj = Py_None; | |
2931 | return _resultobj; | |
2932 | } | |
2933 | ||
2934 | #define wxPyShape_SetY(_swigobj,_swigarg0) (_swigobj->SetY(_swigarg0)) | |
2935 | static PyObject *_wrap_wxPyShape_SetY(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2936 | PyObject * _resultobj; | |
2937 | wxPyShape * _arg0; | |
2938 | double _arg1; | |
2939 | PyObject * _argo0 = 0; | |
2940 | char *_kwnames[] = { "self","y", NULL }; | |
2941 | ||
2942 | self = self; | |
2943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyShape_SetY",_kwnames,&_argo0,&_arg1)) | |
2944 | return NULL; | |
2945 | if (_argo0) { | |
2946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetY. Expected _wxPyShape_p."); | |
2949 | return NULL; | |
2950 | } | |
2951 | } | |
2952 | { | |
2953 | wxPy_BEGIN_ALLOW_THREADS; | |
2954 | wxPyShape_SetY(_arg0,_arg1); | |
2955 | ||
2956 | wxPy_END_ALLOW_THREADS; | |
2957 | } Py_INCREF(Py_None); | |
2958 | _resultobj = Py_None; | |
2959 | return _resultobj; | |
2960 | } | |
2961 | ||
2962 | #define wxPyShape_GetParent(_swigobj) (_swigobj->GetParent()) | |
2963 | static PyObject *_wrap_wxPyShape_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2964 | PyObject * _resultobj; | |
2965 | wxPyShape * _result; | |
2966 | wxPyShape * _arg0; | |
2967 | PyObject * _argo0 = 0; | |
2968 | char *_kwnames[] = { "self", NULL }; | |
2969 | char _ptemp[128]; | |
2970 | ||
2971 | self = self; | |
2972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetParent",_kwnames,&_argo0)) | |
2973 | return NULL; | |
2974 | if (_argo0) { | |
2975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
2977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetParent. Expected _wxPyShape_p."); | |
2978 | return NULL; | |
2979 | } | |
2980 | } | |
2981 | { | |
2982 | wxPy_BEGIN_ALLOW_THREADS; | |
2983 | _result = (wxPyShape *)wxPyShape_GetParent(_arg0); | |
2984 | ||
2985 | wxPy_END_ALLOW_THREADS; | |
2986 | } if (_result) { | |
2987 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
2988 | _resultobj = Py_BuildValue("s",_ptemp); | |
2989 | } else { | |
2990 | Py_INCREF(Py_None); | |
2991 | _resultobj = Py_None; | |
2992 | } | |
2993 | return _resultobj; | |
2994 | } | |
2995 | ||
2996 | #define wxPyShape_SetParent(_swigobj,_swigarg0) (_swigobj->SetParent(_swigarg0)) | |
2997 | static PyObject *_wrap_wxPyShape_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2998 | PyObject * _resultobj; | |
2999 | wxPyShape * _arg0; | |
3000 | wxPyShape * _arg1; | |
3001 | PyObject * _argo0 = 0; | |
3002 | PyObject * _argo1 = 0; | |
3003 | char *_kwnames[] = { "self","p", NULL }; | |
3004 | ||
3005 | self = self; | |
3006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetParent",_kwnames,&_argo0,&_argo1)) | |
3007 | return NULL; | |
3008 | if (_argo0) { | |
3009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetParent. Expected _wxPyShape_p."); | |
3012 | return NULL; | |
3013 | } | |
3014 | } | |
3015 | if (_argo1) { | |
3016 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3017 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetParent. Expected _wxPyShape_p."); | |
3019 | return NULL; | |
3020 | } | |
3021 | } | |
3022 | { | |
3023 | wxPy_BEGIN_ALLOW_THREADS; | |
3024 | wxPyShape_SetParent(_arg0,_arg1); | |
3025 | ||
3026 | wxPy_END_ALLOW_THREADS; | |
3027 | } Py_INCREF(Py_None); | |
3028 | _resultobj = Py_None; | |
3029 | return _resultobj; | |
3030 | } | |
3031 | ||
3032 | #define wxPyShape_GetTopAncestor(_swigobj) (_swigobj->GetTopAncestor()) | |
3033 | static PyObject *_wrap_wxPyShape_GetTopAncestor(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3034 | PyObject * _resultobj; | |
3035 | wxPyShape * _result; | |
3036 | wxPyShape * _arg0; | |
3037 | PyObject * _argo0 = 0; | |
3038 | char *_kwnames[] = { "self", NULL }; | |
3039 | char _ptemp[128]; | |
3040 | ||
3041 | self = self; | |
3042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetTopAncestor",_kwnames,&_argo0)) | |
3043 | return NULL; | |
3044 | if (_argo0) { | |
3045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTopAncestor. Expected _wxPyShape_p."); | |
3048 | return NULL; | |
3049 | } | |
3050 | } | |
3051 | { | |
3052 | wxPy_BEGIN_ALLOW_THREADS; | |
3053 | _result = (wxPyShape *)wxPyShape_GetTopAncestor(_arg0); | |
3054 | ||
3055 | wxPy_END_ALLOW_THREADS; | |
3056 | } if (_result) { | |
3057 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3058 | _resultobj = Py_BuildValue("s",_ptemp); | |
3059 | } else { | |
3060 | Py_INCREF(Py_None); | |
3061 | _resultobj = Py_None; | |
3062 | } | |
3063 | return _resultobj; | |
3064 | } | |
3065 | ||
3066 | static PyObject * wxPyShape_GetChildren(wxPyShape *self) { | |
3067 | wxList& list = self->GetChildren(); | |
3068 | return wxPy_ConvertList(&list, "wxPyShape"); | |
3069 | } | |
3070 | static PyObject *_wrap_wxPyShape_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3071 | PyObject * _resultobj; | |
3072 | PyObject * _result; | |
3073 | wxPyShape * _arg0; | |
3074 | PyObject * _argo0 = 0; | |
3075 | char *_kwnames[] = { "self", NULL }; | |
3076 | ||
3077 | self = self; | |
3078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetChildren",_kwnames,&_argo0)) | |
3079 | return NULL; | |
3080 | if (_argo0) { | |
3081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetChildren. Expected _wxPyShape_p."); | |
3084 | return NULL; | |
3085 | } | |
3086 | } | |
3087 | { | |
3088 | wxPy_BEGIN_ALLOW_THREADS; | |
3089 | _result = (PyObject *)wxPyShape_GetChildren(_arg0); | |
3090 | ||
3091 | wxPy_END_ALLOW_THREADS; | |
3092 | }{ | |
3093 | _resultobj = _result; | |
3094 | } | |
3095 | return _resultobj; | |
3096 | } | |
3097 | ||
3098 | #define wxPyShape_Unlink(_swigobj) (_swigobj->Unlink()) | |
3099 | static PyObject *_wrap_wxPyShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3100 | PyObject * _resultobj; | |
3101 | wxPyShape * _arg0; | |
3102 | PyObject * _argo0 = 0; | |
3103 | char *_kwnames[] = { "self", NULL }; | |
3104 | ||
3105 | self = self; | |
3106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Unlink",_kwnames,&_argo0)) | |
3107 | return NULL; | |
3108 | if (_argo0) { | |
3109 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3110 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Unlink. Expected _wxPyShape_p."); | |
3112 | return NULL; | |
3113 | } | |
3114 | } | |
3115 | { | |
3116 | wxPy_BEGIN_ALLOW_THREADS; | |
3117 | wxPyShape_Unlink(_arg0); | |
3118 | ||
3119 | wxPy_END_ALLOW_THREADS; | |
3120 | } Py_INCREF(Py_None); | |
3121 | _resultobj = Py_None; | |
3122 | return _resultobj; | |
3123 | } | |
3124 | ||
3125 | #define wxPyShape_SetDrawHandles(_swigobj,_swigarg0) (_swigobj->SetDrawHandles(_swigarg0)) | |
3126 | static PyObject *_wrap_wxPyShape_SetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3127 | PyObject * _resultobj; | |
3128 | wxPyShape * _arg0; | |
3129 | bool _arg1; | |
3130 | PyObject * _argo0 = 0; | |
3131 | int tempbool1; | |
3132 | char *_kwnames[] = { "self","drawH", NULL }; | |
3133 | ||
3134 | self = self; | |
3135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDrawHandles",_kwnames,&_argo0,&tempbool1)) | |
3136 | return NULL; | |
3137 | if (_argo0) { | |
3138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDrawHandles. Expected _wxPyShape_p."); | |
3141 | return NULL; | |
3142 | } | |
3143 | } | |
3144 | _arg1 = (bool ) tempbool1; | |
3145 | { | |
3146 | wxPy_BEGIN_ALLOW_THREADS; | |
3147 | wxPyShape_SetDrawHandles(_arg0,_arg1); | |
3148 | ||
3149 | wxPy_END_ALLOW_THREADS; | |
3150 | } Py_INCREF(Py_None); | |
3151 | _resultobj = Py_None; | |
3152 | return _resultobj; | |
3153 | } | |
3154 | ||
3155 | #define wxPyShape_GetDrawHandles(_swigobj) (_swigobj->GetDrawHandles()) | |
3156 | static PyObject *_wrap_wxPyShape_GetDrawHandles(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3157 | PyObject * _resultobj; | |
3158 | bool _result; | |
3159 | wxPyShape * _arg0; | |
3160 | PyObject * _argo0 = 0; | |
3161 | char *_kwnames[] = { "self", NULL }; | |
3162 | ||
3163 | self = self; | |
3164 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDrawHandles",_kwnames,&_argo0)) | |
3165 | return NULL; | |
3166 | if (_argo0) { | |
3167 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3168 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3169 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDrawHandles. Expected _wxPyShape_p."); | |
3170 | return NULL; | |
3171 | } | |
3172 | } | |
3173 | { | |
3174 | wxPy_BEGIN_ALLOW_THREADS; | |
3175 | _result = (bool )wxPyShape_GetDrawHandles(_arg0); | |
3176 | ||
3177 | wxPy_END_ALLOW_THREADS; | |
3178 | } _resultobj = Py_BuildValue("i",_result); | |
3179 | return _resultobj; | |
3180 | } | |
3181 | ||
3182 | #define wxPyShape_MakeControlPoints(_swigobj) (_swigobj->MakeControlPoints()) | |
3183 | static PyObject *_wrap_wxPyShape_MakeControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3184 | PyObject * _resultobj; | |
3185 | wxPyShape * _arg0; | |
3186 | PyObject * _argo0 = 0; | |
3187 | char *_kwnames[] = { "self", NULL }; | |
3188 | ||
3189 | self = self; | |
3190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeControlPoints",_kwnames,&_argo0)) | |
3191 | return NULL; | |
3192 | if (_argo0) { | |
3193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeControlPoints. Expected _wxPyShape_p."); | |
3196 | return NULL; | |
3197 | } | |
3198 | } | |
3199 | { | |
3200 | wxPy_BEGIN_ALLOW_THREADS; | |
3201 | wxPyShape_MakeControlPoints(_arg0); | |
3202 | ||
3203 | wxPy_END_ALLOW_THREADS; | |
3204 | } Py_INCREF(Py_None); | |
3205 | _resultobj = Py_None; | |
3206 | return _resultobj; | |
3207 | } | |
3208 | ||
3209 | #define wxPyShape_DeleteControlPoints(_swigobj,_swigarg0) (_swigobj->DeleteControlPoints(_swigarg0)) | |
3210 | static PyObject *_wrap_wxPyShape_DeleteControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3211 | PyObject * _resultobj; | |
3212 | wxPyShape * _arg0; | |
3213 | wxDC * _arg1 = (wxDC *) NULL; | |
3214 | PyObject * _argo0 = 0; | |
3215 | PyObject * _argo1 = 0; | |
3216 | char *_kwnames[] = { "self","dc", NULL }; | |
3217 | ||
3218 | self = self; | |
3219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_DeleteControlPoints",_kwnames,&_argo0,&_argo1)) | |
3220 | return NULL; | |
3221 | if (_argo0) { | |
3222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DeleteControlPoints. Expected _wxPyShape_p."); | |
3225 | return NULL; | |
3226 | } | |
3227 | } | |
3228 | if (_argo1) { | |
3229 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3230 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DeleteControlPoints. Expected _wxDC_p."); | |
3232 | return NULL; | |
3233 | } | |
3234 | } | |
3235 | { | |
3236 | wxPy_BEGIN_ALLOW_THREADS; | |
3237 | wxPyShape_DeleteControlPoints(_arg0,_arg1); | |
3238 | ||
3239 | wxPy_END_ALLOW_THREADS; | |
3240 | } Py_INCREF(Py_None); | |
3241 | _resultobj = Py_None; | |
3242 | return _resultobj; | |
3243 | } | |
3244 | ||
3245 | #define wxPyShape_ResetControlPoints(_swigobj) (_swigobj->ResetControlPoints()) | |
3246 | static PyObject *_wrap_wxPyShape_ResetControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3247 | PyObject * _resultobj; | |
3248 | wxPyShape * _arg0; | |
3249 | PyObject * _argo0 = 0; | |
3250 | char *_kwnames[] = { "self", NULL }; | |
3251 | ||
3252 | self = self; | |
3253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetControlPoints",_kwnames,&_argo0)) | |
3254 | return NULL; | |
3255 | if (_argo0) { | |
3256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetControlPoints. Expected _wxPyShape_p."); | |
3259 | return NULL; | |
3260 | } | |
3261 | } | |
3262 | { | |
3263 | wxPy_BEGIN_ALLOW_THREADS; | |
3264 | wxPyShape_ResetControlPoints(_arg0); | |
3265 | ||
3266 | wxPy_END_ALLOW_THREADS; | |
3267 | } Py_INCREF(Py_None); | |
3268 | _resultobj = Py_None; | |
3269 | return _resultobj; | |
3270 | } | |
3271 | ||
3272 | #define wxPyShape_GetEventHandler(_swigobj) (_swigobj->GetEventHandler()) | |
3273 | static PyObject *_wrap_wxPyShape_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3274 | PyObject * _resultobj; | |
3275 | wxPyShapeEvtHandler * _result; | |
3276 | wxPyShape * _arg0; | |
3277 | PyObject * _argo0 = 0; | |
3278 | char *_kwnames[] = { "self", NULL }; | |
3279 | char _ptemp[128]; | |
3280 | ||
3281 | self = self; | |
3282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetEventHandler",_kwnames,&_argo0)) | |
3283 | return NULL; | |
3284 | if (_argo0) { | |
3285 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3286 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetEventHandler. Expected _wxPyShape_p."); | |
3288 | return NULL; | |
3289 | } | |
3290 | } | |
3291 | { | |
3292 | wxPy_BEGIN_ALLOW_THREADS; | |
3293 | _result = (wxPyShapeEvtHandler *)wxPyShape_GetEventHandler(_arg0); | |
3294 | ||
3295 | wxPy_END_ALLOW_THREADS; | |
3296 | } if (_result) { | |
3297 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShapeEvtHandler_p"); | |
3298 | _resultobj = Py_BuildValue("s",_ptemp); | |
3299 | } else { | |
3300 | Py_INCREF(Py_None); | |
3301 | _resultobj = Py_None; | |
3302 | } | |
3303 | return _resultobj; | |
3304 | } | |
3305 | ||
3306 | #define wxPyShape_SetEventHandler(_swigobj,_swigarg0) (_swigobj->SetEventHandler(_swigarg0)) | |
3307 | static PyObject *_wrap_wxPyShape_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3308 | PyObject * _resultobj; | |
3309 | wxPyShape * _arg0; | |
3310 | wxPyShapeEvtHandler * _arg1; | |
3311 | PyObject * _argo0 = 0; | |
3312 | PyObject * _argo1 = 0; | |
3313 | char *_kwnames[] = { "self","handler", NULL }; | |
3314 | ||
3315 | self = self; | |
3316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetEventHandler",_kwnames,&_argo0,&_argo1)) | |
3317 | return NULL; | |
3318 | if (_argo0) { | |
3319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetEventHandler. Expected _wxPyShape_p."); | |
3322 | return NULL; | |
3323 | } | |
3324 | } | |
3325 | if (_argo1) { | |
3326 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3327 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeEvtHandler_p")) { | |
3328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_SetEventHandler. Expected _wxPyShapeEvtHandler_p."); | |
3329 | return NULL; | |
3330 | } | |
3331 | } | |
3332 | { | |
3333 | wxPy_BEGIN_ALLOW_THREADS; | |
3334 | wxPyShape_SetEventHandler(_arg0,_arg1); | |
3335 | ||
3336 | wxPy_END_ALLOW_THREADS; | |
3337 | } Py_INCREF(Py_None); | |
3338 | _resultobj = Py_None; | |
3339 | return _resultobj; | |
3340 | } | |
3341 | ||
3342 | #define wxPyShape_MakeMandatoryControlPoints(_swigobj) (_swigobj->MakeMandatoryControlPoints()) | |
3343 | static PyObject *_wrap_wxPyShape_MakeMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3344 | PyObject * _resultobj; | |
3345 | wxPyShape * _arg0; | |
3346 | PyObject * _argo0 = 0; | |
3347 | char *_kwnames[] = { "self", NULL }; | |
3348 | ||
3349 | self = self; | |
3350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_MakeMandatoryControlPoints",_kwnames,&_argo0)) | |
3351 | return NULL; | |
3352 | if (_argo0) { | |
3353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MakeMandatoryControlPoints. Expected _wxPyShape_p."); | |
3356 | return NULL; | |
3357 | } | |
3358 | } | |
3359 | { | |
3360 | wxPy_BEGIN_ALLOW_THREADS; | |
3361 | wxPyShape_MakeMandatoryControlPoints(_arg0); | |
3362 | ||
3363 | wxPy_END_ALLOW_THREADS; | |
3364 | } Py_INCREF(Py_None); | |
3365 | _resultobj = Py_None; | |
3366 | return _resultobj; | |
3367 | } | |
3368 | ||
3369 | #define wxPyShape_ResetMandatoryControlPoints(_swigobj) (_swigobj->ResetMandatoryControlPoints()) | |
3370 | static PyObject *_wrap_wxPyShape_ResetMandatoryControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3371 | PyObject * _resultobj; | |
3372 | wxPyShape * _arg0; | |
3373 | PyObject * _argo0 = 0; | |
3374 | char *_kwnames[] = { "self", NULL }; | |
3375 | ||
3376 | self = self; | |
3377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ResetMandatoryControlPoints",_kwnames,&_argo0)) | |
3378 | return NULL; | |
3379 | if (_argo0) { | |
3380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ResetMandatoryControlPoints. Expected _wxPyShape_p."); | |
3383 | return NULL; | |
3384 | } | |
3385 | } | |
3386 | { | |
3387 | wxPy_BEGIN_ALLOW_THREADS; | |
3388 | wxPyShape_ResetMandatoryControlPoints(_arg0); | |
3389 | ||
3390 | wxPy_END_ALLOW_THREADS; | |
3391 | } Py_INCREF(Py_None); | |
3392 | _resultobj = Py_None; | |
3393 | return _resultobj; | |
3394 | } | |
3395 | ||
3396 | #define wxPyShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
3397 | static PyObject *_wrap_wxPyShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3398 | PyObject * _resultobj; | |
3399 | bool _result; | |
3400 | wxPyShape * _arg0; | |
3401 | PyObject * _argo0 = 0; | |
3402 | char *_kwnames[] = { "self", NULL }; | |
3403 | ||
3404 | self = self; | |
3405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Recompute",_kwnames,&_argo0)) | |
3406 | return NULL; | |
3407 | if (_argo0) { | |
3408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recompute. Expected _wxPyShape_p."); | |
3411 | return NULL; | |
3412 | } | |
3413 | } | |
3414 | { | |
3415 | wxPy_BEGIN_ALLOW_THREADS; | |
3416 | _result = (bool )wxPyShape_Recompute(_arg0); | |
3417 | ||
3418 | wxPy_END_ALLOW_THREADS; | |
3419 | } _resultobj = Py_BuildValue("i",_result); | |
3420 | return _resultobj; | |
3421 | } | |
3422 | ||
3423 | #define wxPyShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
3424 | static PyObject *_wrap_wxPyShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3425 | PyObject * _resultobj; | |
3426 | wxPyShape * _arg0; | |
3427 | PyObject * _argo0 = 0; | |
3428 | char *_kwnames[] = { "self", NULL }; | |
3429 | ||
3430 | self = self; | |
3431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_CalculateSize",_kwnames,&_argo0)) | |
3432 | return NULL; | |
3433 | if (_argo0) { | |
3434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalculateSize. Expected _wxPyShape_p."); | |
3437 | return NULL; | |
3438 | } | |
3439 | } | |
3440 | { | |
3441 | wxPy_BEGIN_ALLOW_THREADS; | |
3442 | wxPyShape_CalculateSize(_arg0); | |
3443 | ||
3444 | wxPy_END_ALLOW_THREADS; | |
3445 | } Py_INCREF(Py_None); | |
3446 | _resultobj = Py_None; | |
3447 | return _resultobj; | |
3448 | } | |
3449 | ||
3450 | #define wxPyShape_Select(_swigobj,_swigarg0,_swigarg1) (_swigobj->Select(_swigarg0,_swigarg1)) | |
3451 | static PyObject *_wrap_wxPyShape_Select(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3452 | PyObject * _resultobj; | |
3453 | wxPyShape * _arg0; | |
3454 | bool _arg1 = (bool ) TRUE; | |
3455 | wxDC * _arg2 = (wxDC *) NULL; | |
3456 | PyObject * _argo0 = 0; | |
3457 | int tempbool1 = (int) TRUE; | |
3458 | PyObject * _argo2 = 0; | |
3459 | char *_kwnames[] = { "self","select","dc", NULL }; | |
3460 | ||
3461 | self = self; | |
3462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|iO:wxPyShape_Select",_kwnames,&_argo0,&tempbool1,&_argo2)) | |
3463 | return NULL; | |
3464 | if (_argo0) { | |
3465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Select. Expected _wxPyShape_p."); | |
3468 | return NULL; | |
3469 | } | |
3470 | } | |
3471 | _arg1 = (bool ) tempbool1; | |
3472 | if (_argo2) { | |
3473 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3474 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxDC_p")) { | |
3475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_Select. Expected _wxDC_p."); | |
3476 | return NULL; | |
3477 | } | |
3478 | } | |
3479 | { | |
3480 | wxPy_BEGIN_ALLOW_THREADS; | |
3481 | wxPyShape_Select(_arg0,_arg1,_arg2); | |
3482 | ||
3483 | wxPy_END_ALLOW_THREADS; | |
3484 | } Py_INCREF(Py_None); | |
3485 | _resultobj = Py_None; | |
3486 | return _resultobj; | |
3487 | } | |
3488 | ||
3489 | #define wxPyShape_SetHighlight(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetHighlight(_swigarg0,_swigarg1)) | |
3490 | static PyObject *_wrap_wxPyShape_SetHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3491 | PyObject * _resultobj; | |
3492 | wxPyShape * _arg0; | |
3493 | bool _arg1 = (bool ) TRUE; | |
3494 | bool _arg2 = (bool ) FALSE; | |
3495 | PyObject * _argo0 = 0; | |
3496 | int tempbool1 = (int) TRUE; | |
3497 | int tempbool2 = (int) FALSE; | |
3498 | char *_kwnames[] = { "self","hi","recurse", NULL }; | |
3499 | ||
3500 | self = self; | |
3501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetHighlight",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3502 | return NULL; | |
3503 | if (_argo0) { | |
3504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetHighlight. Expected _wxPyShape_p."); | |
3507 | return NULL; | |
3508 | } | |
3509 | } | |
3510 | _arg1 = (bool ) tempbool1; | |
3511 | _arg2 = (bool ) tempbool2; | |
3512 | { | |
3513 | wxPy_BEGIN_ALLOW_THREADS; | |
3514 | wxPyShape_SetHighlight(_arg0,_arg1,_arg2); | |
3515 | ||
3516 | wxPy_END_ALLOW_THREADS; | |
3517 | } Py_INCREF(Py_None); | |
3518 | _resultobj = Py_None; | |
3519 | return _resultobj; | |
3520 | } | |
3521 | ||
3522 | #define wxPyShape_IsHighlighted(_swigobj) (_swigobj->IsHighlighted()) | |
3523 | static PyObject *_wrap_wxPyShape_IsHighlighted(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3524 | PyObject * _resultobj; | |
3525 | bool _result; | |
3526 | wxPyShape * _arg0; | |
3527 | PyObject * _argo0 = 0; | |
3528 | char *_kwnames[] = { "self", NULL }; | |
3529 | ||
3530 | self = self; | |
3531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsHighlighted",_kwnames,&_argo0)) | |
3532 | return NULL; | |
3533 | if (_argo0) { | |
3534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsHighlighted. Expected _wxPyShape_p."); | |
3537 | return NULL; | |
3538 | } | |
3539 | } | |
3540 | { | |
3541 | wxPy_BEGIN_ALLOW_THREADS; | |
3542 | _result = (bool )wxPyShape_IsHighlighted(_arg0); | |
3543 | ||
3544 | wxPy_END_ALLOW_THREADS; | |
3545 | } _resultobj = Py_BuildValue("i",_result); | |
3546 | return _resultobj; | |
3547 | } | |
3548 | ||
3549 | #define wxPyShape_Selected(_swigobj) (_swigobj->Selected()) | |
3550 | static PyObject *_wrap_wxPyShape_Selected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3551 | PyObject * _resultobj; | |
3552 | bool _result; | |
3553 | wxPyShape * _arg0; | |
3554 | PyObject * _argo0 = 0; | |
3555 | char *_kwnames[] = { "self", NULL }; | |
3556 | ||
3557 | self = self; | |
3558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Selected",_kwnames,&_argo0)) | |
3559 | return NULL; | |
3560 | if (_argo0) { | |
3561 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3562 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Selected. Expected _wxPyShape_p."); | |
3564 | return NULL; | |
3565 | } | |
3566 | } | |
3567 | { | |
3568 | wxPy_BEGIN_ALLOW_THREADS; | |
3569 | _result = (bool )wxPyShape_Selected(_arg0); | |
3570 | ||
3571 | wxPy_END_ALLOW_THREADS; | |
3572 | } _resultobj = Py_BuildValue("i",_result); | |
3573 | return _resultobj; | |
3574 | } | |
3575 | ||
3576 | #define wxPyShape_AncestorSelected(_swigobj) (_swigobj->AncestorSelected()) | |
3577 | static PyObject *_wrap_wxPyShape_AncestorSelected(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3578 | PyObject * _resultobj; | |
3579 | bool _result; | |
3580 | wxPyShape * _arg0; | |
3581 | PyObject * _argo0 = 0; | |
3582 | char *_kwnames[] = { "self", NULL }; | |
3583 | ||
3584 | self = self; | |
3585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AncestorSelected",_kwnames,&_argo0)) | |
3586 | return NULL; | |
3587 | if (_argo0) { | |
3588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AncestorSelected. Expected _wxPyShape_p."); | |
3591 | return NULL; | |
3592 | } | |
3593 | } | |
3594 | { | |
3595 | wxPy_BEGIN_ALLOW_THREADS; | |
3596 | _result = (bool )wxPyShape_AncestorSelected(_arg0); | |
3597 | ||
3598 | wxPy_END_ALLOW_THREADS; | |
3599 | } _resultobj = Py_BuildValue("i",_result); | |
3600 | return _resultobj; | |
3601 | } | |
3602 | ||
3603 | #define wxPyShape_SetSensitivityFilter(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSensitivityFilter(_swigarg0,_swigarg1)) | |
3604 | static PyObject *_wrap_wxPyShape_SetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3605 | PyObject * _resultobj; | |
3606 | wxPyShape * _arg0; | |
3607 | int _arg1 = (int ) OP_ALL; | |
3608 | bool _arg2 = (bool ) FALSE; | |
3609 | PyObject * _argo0 = 0; | |
3610 | int tempbool2 = (int) FALSE; | |
3611 | char *_kwnames[] = { "self","sens","recursive", NULL }; | |
3612 | ||
3613 | self = self; | |
3614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_SetSensitivityFilter",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3615 | return NULL; | |
3616 | if (_argo0) { | |
3617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSensitivityFilter. Expected _wxPyShape_p."); | |
3620 | return NULL; | |
3621 | } | |
3622 | } | |
3623 | _arg2 = (bool ) tempbool2; | |
3624 | { | |
3625 | wxPy_BEGIN_ALLOW_THREADS; | |
3626 | wxPyShape_SetSensitivityFilter(_arg0,_arg1,_arg2); | |
3627 | ||
3628 | wxPy_END_ALLOW_THREADS; | |
3629 | } Py_INCREF(Py_None); | |
3630 | _resultobj = Py_None; | |
3631 | return _resultobj; | |
3632 | } | |
3633 | ||
3634 | #define wxPyShape_GetSensitivityFilter(_swigobj) (_swigobj->GetSensitivityFilter()) | |
3635 | static PyObject *_wrap_wxPyShape_GetSensitivityFilter(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3636 | PyObject * _resultobj; | |
3637 | int _result; | |
3638 | wxPyShape * _arg0; | |
3639 | PyObject * _argo0 = 0; | |
3640 | char *_kwnames[] = { "self", NULL }; | |
3641 | ||
3642 | self = self; | |
3643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSensitivityFilter",_kwnames,&_argo0)) | |
3644 | return NULL; | |
3645 | if (_argo0) { | |
3646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSensitivityFilter. Expected _wxPyShape_p."); | |
3649 | return NULL; | |
3650 | } | |
3651 | } | |
3652 | { | |
3653 | wxPy_BEGIN_ALLOW_THREADS; | |
3654 | _result = (int )wxPyShape_GetSensitivityFilter(_arg0); | |
3655 | ||
3656 | wxPy_END_ALLOW_THREADS; | |
3657 | } _resultobj = Py_BuildValue("i",_result); | |
3658 | return _resultobj; | |
3659 | } | |
3660 | ||
3661 | #define wxPyShape_SetDraggable(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDraggable(_swigarg0,_swigarg1)) | |
3662 | static PyObject *_wrap_wxPyShape_SetDraggable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3663 | PyObject * _resultobj; | |
3664 | wxPyShape * _arg0; | |
3665 | bool _arg1; | |
3666 | bool _arg2 = (bool ) FALSE; | |
3667 | PyObject * _argo0 = 0; | |
3668 | int tempbool1; | |
3669 | int tempbool2 = (int) FALSE; | |
3670 | char *_kwnames[] = { "self","drag","recursive", NULL }; | |
3671 | ||
3672 | self = self; | |
3673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetDraggable",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3674 | return NULL; | |
3675 | if (_argo0) { | |
3676 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3677 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDraggable. Expected _wxPyShape_p."); | |
3679 | return NULL; | |
3680 | } | |
3681 | } | |
3682 | _arg1 = (bool ) tempbool1; | |
3683 | _arg2 = (bool ) tempbool2; | |
3684 | { | |
3685 | wxPy_BEGIN_ALLOW_THREADS; | |
3686 | wxPyShape_SetDraggable(_arg0,_arg1,_arg2); | |
3687 | ||
3688 | wxPy_END_ALLOW_THREADS; | |
3689 | } Py_INCREF(Py_None); | |
3690 | _resultobj = Py_None; | |
3691 | return _resultobj; | |
3692 | } | |
3693 | ||
3694 | #define wxPyShape_SetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFixedSize(_swigarg0,_swigarg1)) | |
3695 | static PyObject *_wrap_wxPyShape_SetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3696 | PyObject * _resultobj; | |
3697 | wxPyShape * _arg0; | |
3698 | bool _arg1; | |
3699 | bool _arg2; | |
3700 | PyObject * _argo0 = 0; | |
3701 | int tempbool1; | |
3702 | int tempbool2; | |
3703 | char *_kwnames[] = { "self","x","y", NULL }; | |
3704 | ||
3705 | self = self; | |
3706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyShape_SetFixedSize",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
3707 | return NULL; | |
3708 | if (_argo0) { | |
3709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFixedSize. Expected _wxPyShape_p."); | |
3712 | return NULL; | |
3713 | } | |
3714 | } | |
3715 | _arg1 = (bool ) tempbool1; | |
3716 | _arg2 = (bool ) tempbool2; | |
3717 | { | |
3718 | wxPy_BEGIN_ALLOW_THREADS; | |
3719 | wxPyShape_SetFixedSize(_arg0,_arg1,_arg2); | |
3720 | ||
3721 | wxPy_END_ALLOW_THREADS; | |
3722 | } Py_INCREF(Py_None); | |
3723 | _resultobj = Py_None; | |
3724 | return _resultobj; | |
3725 | } | |
3726 | ||
3727 | #define wxPyShape_GetFixedSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->GetFixedSize(_swigarg0,_swigarg1)) | |
3728 | static PyObject *_wrap_wxPyShape_GetFixedSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3729 | PyObject * _resultobj; | |
3730 | wxPyShape * _arg0; | |
3731 | bool * _arg1; | |
3732 | bool * _arg2; | |
3733 | PyObject * _argo0 = 0; | |
3734 | PyObject * _argo1 = 0; | |
3735 | PyObject * _argo2 = 0; | |
3736 | char *_kwnames[] = { "self","OUTPUT","OUTPUT", NULL }; | |
3737 | ||
3738 | self = self; | |
3739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyShape_GetFixedSize",_kwnames,&_argo0,&_argo1,&_argo2)) | |
3740 | return NULL; | |
3741 | if (_argo0) { | |
3742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedSize. Expected _wxPyShape_p."); | |
3745 | return NULL; | |
3746 | } | |
3747 | } | |
3748 | if (_argo1) { | |
3749 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3750 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_bool_p")) { | |
3751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetFixedSize. Expected _bool_p."); | |
3752 | return NULL; | |
3753 | } | |
3754 | } | |
3755 | if (_argo2) { | |
3756 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3757 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_bool_p")) { | |
3758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_GetFixedSize. Expected _bool_p."); | |
3759 | return NULL; | |
3760 | } | |
3761 | } | |
3762 | { | |
3763 | wxPy_BEGIN_ALLOW_THREADS; | |
3764 | wxPyShape_GetFixedSize(_arg0,_arg1,_arg2); | |
3765 | ||
3766 | wxPy_END_ALLOW_THREADS; | |
3767 | } Py_INCREF(Py_None); | |
3768 | _resultobj = Py_None; | |
3769 | return _resultobj; | |
3770 | } | |
3771 | ||
3772 | #define wxPyShape_GetFixedWidth(_swigobj) (_swigobj->GetFixedWidth()) | |
3773 | static PyObject *_wrap_wxPyShape_GetFixedWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3774 | PyObject * _resultobj; | |
3775 | bool _result; | |
3776 | wxPyShape * _arg0; | |
3777 | PyObject * _argo0 = 0; | |
3778 | char *_kwnames[] = { "self", NULL }; | |
3779 | ||
3780 | self = self; | |
3781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedWidth",_kwnames,&_argo0)) | |
3782 | return NULL; | |
3783 | if (_argo0) { | |
3784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedWidth. Expected _wxPyShape_p."); | |
3787 | return NULL; | |
3788 | } | |
3789 | } | |
3790 | { | |
3791 | wxPy_BEGIN_ALLOW_THREADS; | |
3792 | _result = (bool )wxPyShape_GetFixedWidth(_arg0); | |
3793 | ||
3794 | wxPy_END_ALLOW_THREADS; | |
3795 | } _resultobj = Py_BuildValue("i",_result); | |
3796 | return _resultobj; | |
3797 | } | |
3798 | ||
3799 | #define wxPyShape_GetFixedHeight(_swigobj) (_swigobj->GetFixedHeight()) | |
3800 | static PyObject *_wrap_wxPyShape_GetFixedHeight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3801 | PyObject * _resultobj; | |
3802 | bool _result; | |
3803 | wxPyShape * _arg0; | |
3804 | PyObject * _argo0 = 0; | |
3805 | char *_kwnames[] = { "self", NULL }; | |
3806 | ||
3807 | self = self; | |
3808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetFixedHeight",_kwnames,&_argo0)) | |
3809 | return NULL; | |
3810 | if (_argo0) { | |
3811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFixedHeight. Expected _wxPyShape_p."); | |
3814 | return NULL; | |
3815 | } | |
3816 | } | |
3817 | { | |
3818 | wxPy_BEGIN_ALLOW_THREADS; | |
3819 | _result = (bool )wxPyShape_GetFixedHeight(_arg0); | |
3820 | ||
3821 | wxPy_END_ALLOW_THREADS; | |
3822 | } _resultobj = Py_BuildValue("i",_result); | |
3823 | return _resultobj; | |
3824 | } | |
3825 | ||
3826 | #define wxPyShape_SetSpaceAttachments(_swigobj,_swigarg0) (_swigobj->SetSpaceAttachments(_swigarg0)) | |
3827 | static PyObject *_wrap_wxPyShape_SetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3828 | PyObject * _resultobj; | |
3829 | wxPyShape * _arg0; | |
3830 | bool _arg1; | |
3831 | PyObject * _argo0 = 0; | |
3832 | int tempbool1; | |
3833 | char *_kwnames[] = { "self","sp", NULL }; | |
3834 | ||
3835 | self = self; | |
3836 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetSpaceAttachments",_kwnames,&_argo0,&tempbool1)) | |
3837 | return NULL; | |
3838 | if (_argo0) { | |
3839 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3840 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3841 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSpaceAttachments. Expected _wxPyShape_p."); | |
3842 | return NULL; | |
3843 | } | |
3844 | } | |
3845 | _arg1 = (bool ) tempbool1; | |
3846 | { | |
3847 | wxPy_BEGIN_ALLOW_THREADS; | |
3848 | wxPyShape_SetSpaceAttachments(_arg0,_arg1); | |
3849 | ||
3850 | wxPy_END_ALLOW_THREADS; | |
3851 | } Py_INCREF(Py_None); | |
3852 | _resultobj = Py_None; | |
3853 | return _resultobj; | |
3854 | } | |
3855 | ||
3856 | #define wxPyShape_GetSpaceAttachments(_swigobj) (_swigobj->GetSpaceAttachments()) | |
3857 | static PyObject *_wrap_wxPyShape_GetSpaceAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3858 | PyObject * _resultobj; | |
3859 | bool _result; | |
3860 | wxPyShape * _arg0; | |
3861 | PyObject * _argo0 = 0; | |
3862 | char *_kwnames[] = { "self", NULL }; | |
3863 | ||
3864 | self = self; | |
3865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetSpaceAttachments",_kwnames,&_argo0)) | |
3866 | return NULL; | |
3867 | if (_argo0) { | |
3868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetSpaceAttachments. Expected _wxPyShape_p."); | |
3871 | return NULL; | |
3872 | } | |
3873 | } | |
3874 | { | |
3875 | wxPy_BEGIN_ALLOW_THREADS; | |
3876 | _result = (bool )wxPyShape_GetSpaceAttachments(_arg0); | |
3877 | ||
3878 | wxPy_END_ALLOW_THREADS; | |
3879 | } _resultobj = Py_BuildValue("i",_result); | |
3880 | return _resultobj; | |
3881 | } | |
3882 | ||
3883 | #define wxPyShape_SetShadowMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetShadowMode(_swigarg0,_swigarg1)) | |
3884 | static PyObject *_wrap_wxPyShape_SetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3885 | PyObject * _resultobj; | |
3886 | wxPyShape * _arg0; | |
3887 | int _arg1; | |
3888 | bool _arg2 = (bool ) FALSE; | |
3889 | PyObject * _argo0 = 0; | |
3890 | int tempbool2 = (int) FALSE; | |
3891 | char *_kwnames[] = { "self","mode","redraw", NULL }; | |
3892 | ||
3893 | self = self; | |
3894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetShadowMode",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
3895 | return NULL; | |
3896 | if (_argo0) { | |
3897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetShadowMode. Expected _wxPyShape_p."); | |
3900 | return NULL; | |
3901 | } | |
3902 | } | |
3903 | _arg2 = (bool ) tempbool2; | |
3904 | { | |
3905 | wxPy_BEGIN_ALLOW_THREADS; | |
3906 | wxPyShape_SetShadowMode(_arg0,_arg1,_arg2); | |
3907 | ||
3908 | wxPy_END_ALLOW_THREADS; | |
3909 | } Py_INCREF(Py_None); | |
3910 | _resultobj = Py_None; | |
3911 | return _resultobj; | |
3912 | } | |
3913 | ||
3914 | #define wxPyShape_GetShadowMode(_swigobj) (_swigobj->GetShadowMode()) | |
3915 | static PyObject *_wrap_wxPyShape_GetShadowMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3916 | PyObject * _resultobj; | |
3917 | int _result; | |
3918 | wxPyShape * _arg0; | |
3919 | PyObject * _argo0 = 0; | |
3920 | char *_kwnames[] = { "self", NULL }; | |
3921 | ||
3922 | self = self; | |
3923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetShadowMode",_kwnames,&_argo0)) | |
3924 | return NULL; | |
3925 | if (_argo0) { | |
3926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetShadowMode. Expected _wxPyShape_p."); | |
3929 | return NULL; | |
3930 | } | |
3931 | } | |
3932 | { | |
3933 | wxPy_BEGIN_ALLOW_THREADS; | |
3934 | _result = (int )wxPyShape_GetShadowMode(_arg0); | |
3935 | ||
3936 | wxPy_END_ALLOW_THREADS; | |
3937 | } _resultobj = Py_BuildValue("i",_result); | |
3938 | return _resultobj; | |
3939 | } | |
3940 | ||
3941 | #define wxPyShape_HitTest(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->HitTest(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3942 | static PyObject *_wrap_wxPyShape_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3943 | PyObject * _resultobj; | |
3944 | bool _result; | |
3945 | wxPyShape * _arg0; | |
3946 | double _arg1; | |
3947 | double _arg2; | |
3948 | int * _arg3; | |
3949 | int temp; | |
3950 | double * _arg4; | |
3951 | double temp0; | |
3952 | PyObject * _argo0 = 0; | |
3953 | char *_kwnames[] = { "self","x","y", NULL }; | |
3954 | ||
3955 | self = self; | |
3956 | { | |
3957 | _arg3 = &temp; | |
3958 | } | |
3959 | { | |
3960 | _arg4 = &temp0; | |
3961 | } | |
3962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_HitTest",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3963 | return NULL; | |
3964 | if (_argo0) { | |
3965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
3967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HitTest. Expected _wxPyShape_p."); | |
3968 | return NULL; | |
3969 | } | |
3970 | } | |
3971 | { | |
3972 | wxPy_BEGIN_ALLOW_THREADS; | |
3973 | _result = (bool )wxPyShape_HitTest(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3974 | ||
3975 | wxPy_END_ALLOW_THREADS; | |
3976 | } _resultobj = Py_BuildValue("i",_result); | |
3977 | { | |
3978 | PyObject *o; | |
3979 | o = PyInt_FromLong((long) (*_arg3)); | |
3980 | _resultobj = t_output_helper(_resultobj, o); | |
3981 | } | |
3982 | { | |
3983 | PyObject *o; | |
3984 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3985 | _resultobj = t_output_helper(_resultobj, o); | |
3986 | } | |
3987 | return _resultobj; | |
3988 | } | |
3989 | ||
3990 | #define wxPyShape_SetCentreResize(_swigobj,_swigarg0) (_swigobj->SetCentreResize(_swigarg0)) | |
3991 | static PyObject *_wrap_wxPyShape_SetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3992 | PyObject * _resultobj; | |
3993 | wxPyShape * _arg0; | |
3994 | bool _arg1; | |
3995 | PyObject * _argo0 = 0; | |
3996 | int tempbool1; | |
3997 | char *_kwnames[] = { "self","cr", NULL }; | |
3998 | ||
3999 | self = self; | |
4000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetCentreResize",_kwnames,&_argo0,&tempbool1)) | |
4001 | return NULL; | |
4002 | if (_argo0) { | |
4003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetCentreResize. Expected _wxPyShape_p."); | |
4006 | return NULL; | |
4007 | } | |
4008 | } | |
4009 | _arg1 = (bool ) tempbool1; | |
4010 | { | |
4011 | wxPy_BEGIN_ALLOW_THREADS; | |
4012 | wxPyShape_SetCentreResize(_arg0,_arg1); | |
4013 | ||
4014 | wxPy_END_ALLOW_THREADS; | |
4015 | } Py_INCREF(Py_None); | |
4016 | _resultobj = Py_None; | |
4017 | return _resultobj; | |
4018 | } | |
4019 | ||
4020 | #define wxPyShape_GetCentreResize(_swigobj) (_swigobj->GetCentreResize()) | |
4021 | static PyObject *_wrap_wxPyShape_GetCentreResize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4022 | PyObject * _resultobj; | |
4023 | bool _result; | |
4024 | wxPyShape * _arg0; | |
4025 | PyObject * _argo0 = 0; | |
4026 | char *_kwnames[] = { "self", NULL }; | |
4027 | ||
4028 | self = self; | |
4029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetCentreResize",_kwnames,&_argo0)) | |
4030 | return NULL; | |
4031 | if (_argo0) { | |
4032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetCentreResize. Expected _wxPyShape_p."); | |
4035 | return NULL; | |
4036 | } | |
4037 | } | |
4038 | { | |
4039 | wxPy_BEGIN_ALLOW_THREADS; | |
4040 | _result = (bool )wxPyShape_GetCentreResize(_arg0); | |
4041 | ||
4042 | wxPy_END_ALLOW_THREADS; | |
4043 | } _resultobj = Py_BuildValue("i",_result); | |
4044 | return _resultobj; | |
4045 | } | |
4046 | ||
4047 | #define wxPyShape_SetMaintainAspectRatio(_swigobj,_swigarg0) (_swigobj->SetMaintainAspectRatio(_swigarg0)) | |
4048 | static PyObject *_wrap_wxPyShape_SetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4049 | PyObject * _resultobj; | |
4050 | wxPyShape * _arg0; | |
4051 | bool _arg1; | |
4052 | PyObject * _argo0 = 0; | |
4053 | int tempbool1; | |
4054 | char *_kwnames[] = { "self","ar", NULL }; | |
4055 | ||
4056 | self = self; | |
4057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetMaintainAspectRatio",_kwnames,&_argo0,&tempbool1)) | |
4058 | return NULL; | |
4059 | if (_argo0) { | |
4060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetMaintainAspectRatio. Expected _wxPyShape_p."); | |
4063 | return NULL; | |
4064 | } | |
4065 | } | |
4066 | _arg1 = (bool ) tempbool1; | |
4067 | { | |
4068 | wxPy_BEGIN_ALLOW_THREADS; | |
4069 | wxPyShape_SetMaintainAspectRatio(_arg0,_arg1); | |
4070 | ||
4071 | wxPy_END_ALLOW_THREADS; | |
4072 | } Py_INCREF(Py_None); | |
4073 | _resultobj = Py_None; | |
4074 | return _resultobj; | |
4075 | } | |
4076 | ||
4077 | #define wxPyShape_GetMaintainAspectRatio(_swigobj) (_swigobj->GetMaintainAspectRatio()) | |
4078 | static PyObject *_wrap_wxPyShape_GetMaintainAspectRatio(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4079 | PyObject * _resultobj; | |
4080 | bool _result; | |
4081 | wxPyShape * _arg0; | |
4082 | PyObject * _argo0 = 0; | |
4083 | char *_kwnames[] = { "self", NULL }; | |
4084 | ||
4085 | self = self; | |
4086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetMaintainAspectRatio",_kwnames,&_argo0)) | |
4087 | return NULL; | |
4088 | if (_argo0) { | |
4089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetMaintainAspectRatio. Expected _wxPyShape_p."); | |
4092 | return NULL; | |
4093 | } | |
4094 | } | |
4095 | { | |
4096 | wxPy_BEGIN_ALLOW_THREADS; | |
4097 | _result = (bool )wxPyShape_GetMaintainAspectRatio(_arg0); | |
4098 | ||
4099 | wxPy_END_ALLOW_THREADS; | |
4100 | } _resultobj = Py_BuildValue("i",_result); | |
4101 | return _resultobj; | |
4102 | } | |
4103 | ||
4104 | static PyObject * wxPyShape_GetLines(wxPyShape *self) { | |
4105 | wxList& list = self->GetLines(); | |
4106 | return wxPy_ConvertList(&list, "wxPyLineShape"); | |
4107 | } | |
4108 | static PyObject *_wrap_wxPyShape_GetLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4109 | PyObject * _resultobj; | |
4110 | PyObject * _result; | |
4111 | wxPyShape * _arg0; | |
4112 | PyObject * _argo0 = 0; | |
4113 | char *_kwnames[] = { "self", NULL }; | |
4114 | ||
4115 | self = self; | |
4116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetLines",_kwnames,&_argo0)) | |
4117 | return NULL; | |
4118 | if (_argo0) { | |
4119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLines. Expected _wxPyShape_p."); | |
4122 | return NULL; | |
4123 | } | |
4124 | } | |
4125 | { | |
4126 | wxPy_BEGIN_ALLOW_THREADS; | |
4127 | _result = (PyObject *)wxPyShape_GetLines(_arg0); | |
4128 | ||
4129 | wxPy_END_ALLOW_THREADS; | |
4130 | }{ | |
4131 | _resultobj = _result; | |
4132 | } | |
4133 | return _resultobj; | |
4134 | } | |
4135 | ||
4136 | #define wxPyShape_SetDisableLabel(_swigobj,_swigarg0) (_swigobj->SetDisableLabel(_swigarg0)) | |
4137 | static PyObject *_wrap_wxPyShape_SetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4138 | PyObject * _resultobj; | |
4139 | wxPyShape * _arg0; | |
4140 | bool _arg1; | |
4141 | PyObject * _argo0 = 0; | |
4142 | int tempbool1; | |
4143 | char *_kwnames[] = { "self","flag", NULL }; | |
4144 | ||
4145 | self = self; | |
4146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetDisableLabel",_kwnames,&_argo0,&tempbool1)) | |
4147 | return NULL; | |
4148 | if (_argo0) { | |
4149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDisableLabel. Expected _wxPyShape_p."); | |
4152 | return NULL; | |
4153 | } | |
4154 | } | |
4155 | _arg1 = (bool ) tempbool1; | |
4156 | { | |
4157 | wxPy_BEGIN_ALLOW_THREADS; | |
4158 | wxPyShape_SetDisableLabel(_arg0,_arg1); | |
4159 | ||
4160 | wxPy_END_ALLOW_THREADS; | |
4161 | } Py_INCREF(Py_None); | |
4162 | _resultobj = Py_None; | |
4163 | return _resultobj; | |
4164 | } | |
4165 | ||
4166 | #define wxPyShape_GetDisableLabel(_swigobj) (_swigobj->GetDisableLabel()) | |
4167 | static PyObject *_wrap_wxPyShape_GetDisableLabel(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4168 | PyObject * _resultobj; | |
4169 | bool _result; | |
4170 | wxPyShape * _arg0; | |
4171 | PyObject * _argo0 = 0; | |
4172 | char *_kwnames[] = { "self", NULL }; | |
4173 | ||
4174 | self = self; | |
4175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetDisableLabel",_kwnames,&_argo0)) | |
4176 | return NULL; | |
4177 | if (_argo0) { | |
4178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetDisableLabel. Expected _wxPyShape_p."); | |
4181 | return NULL; | |
4182 | } | |
4183 | } | |
4184 | { | |
4185 | wxPy_BEGIN_ALLOW_THREADS; | |
4186 | _result = (bool )wxPyShape_GetDisableLabel(_arg0); | |
4187 | ||
4188 | wxPy_END_ALLOW_THREADS; | |
4189 | } _resultobj = Py_BuildValue("i",_result); | |
4190 | return _resultobj; | |
4191 | } | |
4192 | ||
4193 | #define wxPyShape_SetAttachmentMode(_swigobj,_swigarg0) (_swigobj->SetAttachmentMode(_swigarg0)) | |
4194 | static PyObject *_wrap_wxPyShape_SetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4195 | PyObject * _resultobj; | |
4196 | wxPyShape * _arg0; | |
4197 | int _arg1; | |
4198 | PyObject * _argo0 = 0; | |
4199 | char *_kwnames[] = { "self","mode", NULL }; | |
4200 | ||
4201 | self = self; | |
4202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetAttachmentMode",_kwnames,&_argo0,&_arg1)) | |
4203 | return NULL; | |
4204 | if (_argo0) { | |
4205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetAttachmentMode. Expected _wxPyShape_p."); | |
4208 | return NULL; | |
4209 | } | |
4210 | } | |
4211 | { | |
4212 | wxPy_BEGIN_ALLOW_THREADS; | |
4213 | wxPyShape_SetAttachmentMode(_arg0,_arg1); | |
4214 | ||
4215 | wxPy_END_ALLOW_THREADS; | |
4216 | } Py_INCREF(Py_None); | |
4217 | _resultobj = Py_None; | |
4218 | return _resultobj; | |
4219 | } | |
4220 | ||
4221 | #define wxPyShape_GetAttachmentMode(_swigobj) (_swigobj->GetAttachmentMode()) | |
4222 | static PyObject *_wrap_wxPyShape_GetAttachmentMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4223 | PyObject * _resultobj; | |
4224 | int _result; | |
4225 | wxPyShape * _arg0; | |
4226 | PyObject * _argo0 = 0; | |
4227 | char *_kwnames[] = { "self", NULL }; | |
4228 | ||
4229 | self = self; | |
4230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetAttachmentMode",_kwnames,&_argo0)) | |
4231 | return NULL; | |
4232 | if (_argo0) { | |
4233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentMode. Expected _wxPyShape_p."); | |
4236 | return NULL; | |
4237 | } | |
4238 | } | |
4239 | { | |
4240 | wxPy_BEGIN_ALLOW_THREADS; | |
4241 | _result = (int )wxPyShape_GetAttachmentMode(_arg0); | |
4242 | ||
4243 | wxPy_END_ALLOW_THREADS; | |
4244 | } _resultobj = Py_BuildValue("i",_result); | |
4245 | return _resultobj; | |
4246 | } | |
4247 | ||
4248 | #define wxPyShape_SetId(_swigobj,_swigarg0) (_swigobj->SetId(_swigarg0)) | |
4249 | static PyObject *_wrap_wxPyShape_SetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4250 | PyObject * _resultobj; | |
4251 | wxPyShape * _arg0; | |
4252 | long _arg1; | |
4253 | PyObject * _argo0 = 0; | |
4254 | char *_kwnames[] = { "self","i", NULL }; | |
4255 | ||
4256 | self = self; | |
4257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetId",_kwnames,&_argo0,&_arg1)) | |
4258 | return NULL; | |
4259 | if (_argo0) { | |
4260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetId. Expected _wxPyShape_p."); | |
4263 | return NULL; | |
4264 | } | |
4265 | } | |
4266 | { | |
4267 | wxPy_BEGIN_ALLOW_THREADS; | |
4268 | wxPyShape_SetId(_arg0,_arg1); | |
4269 | ||
4270 | wxPy_END_ALLOW_THREADS; | |
4271 | } Py_INCREF(Py_None); | |
4272 | _resultobj = Py_None; | |
4273 | return _resultobj; | |
4274 | } | |
4275 | ||
4276 | #define wxPyShape_GetId(_swigobj) (_swigobj->GetId()) | |
4277 | static PyObject *_wrap_wxPyShape_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4278 | PyObject * _resultobj; | |
4279 | long _result; | |
4280 | wxPyShape * _arg0; | |
4281 | PyObject * _argo0 = 0; | |
4282 | char *_kwnames[] = { "self", NULL }; | |
4283 | ||
4284 | self = self; | |
4285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetId",_kwnames,&_argo0)) | |
4286 | return NULL; | |
4287 | if (_argo0) { | |
4288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetId. Expected _wxPyShape_p."); | |
4291 | return NULL; | |
4292 | } | |
4293 | } | |
4294 | { | |
4295 | wxPy_BEGIN_ALLOW_THREADS; | |
4296 | _result = (long )wxPyShape_GetId(_arg0); | |
4297 | ||
4298 | wxPy_END_ALLOW_THREADS; | |
4299 | } _resultobj = Py_BuildValue("l",_result); | |
4300 | return _resultobj; | |
4301 | } | |
4302 | ||
4303 | #define wxPyShape_SetPen(_swigobj,_swigarg0) (_swigobj->SetPen(_swigarg0)) | |
4304 | static PyObject *_wrap_wxPyShape_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4305 | PyObject * _resultobj; | |
4306 | wxPyShape * _arg0; | |
4307 | wxPen * _arg1; | |
4308 | PyObject * _argo0 = 0; | |
d74525f7 | 4309 | PyObject * _obj1 = 0; |
e91a9dfc RD |
4310 | char *_kwnames[] = { "self","pen", NULL }; |
4311 | ||
4312 | self = self; | |
d74525f7 | 4313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetPen",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
4314 | return NULL; |
4315 | if (_argo0) { | |
4316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetPen. Expected _wxPyShape_p."); | |
4319 | return NULL; | |
4320 | } | |
4321 | } | |
d74525f7 RD |
4322 | { |
4323 | wxPen* temp; | |
4324 | if (_obj1) { | |
4325 | if (_obj1 == Py_None) { temp = NULL; } | |
4326 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
4327 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
e91a9dfc RD |
4328 | return NULL; |
4329 | } | |
4330 | } | |
d74525f7 RD |
4331 | if (temp) |
4332 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
4333 | temp->GetWidth(), | |
4334 | temp->GetStyle()); | |
4335 | else | |
4336 | _arg1 = NULL; | |
4337 | } | |
e91a9dfc RD |
4338 | { |
4339 | wxPy_BEGIN_ALLOW_THREADS; | |
4340 | wxPyShape_SetPen(_arg0,_arg1); | |
4341 | ||
4342 | wxPy_END_ALLOW_THREADS; | |
4343 | } Py_INCREF(Py_None); | |
4344 | _resultobj = Py_None; | |
4345 | return _resultobj; | |
4346 | } | |
4347 | ||
4348 | #define wxPyShape_SetBrush(_swigobj,_swigarg0) (_swigobj->SetBrush(_swigarg0)) | |
4349 | static PyObject *_wrap_wxPyShape_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4350 | PyObject * _resultobj; | |
4351 | wxPyShape * _arg0; | |
4352 | wxBrush * _arg1; | |
4353 | PyObject * _argo0 = 0; | |
d74525f7 | 4354 | PyObject * _obj1 = 0; |
e91a9dfc RD |
4355 | char *_kwnames[] = { "self","brush", NULL }; |
4356 | ||
4357 | self = self; | |
d74525f7 | 4358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetBrush",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
4359 | return NULL; |
4360 | if (_argo0) { | |
4361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBrush. Expected _wxPyShape_p."); | |
4364 | return NULL; | |
4365 | } | |
4366 | } | |
d74525f7 RD |
4367 | { |
4368 | wxBrush* temp; | |
4369 | if (_obj1) { | |
4370 | if (_obj1 == Py_None) { temp = NULL; } | |
4371 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) { | |
4372 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p."); | |
e91a9dfc RD |
4373 | return NULL; |
4374 | } | |
4375 | } | |
d74525f7 RD |
4376 | if (temp) |
4377 | _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle()); | |
4378 | else | |
4379 | _arg1 = NULL; | |
4380 | } | |
e91a9dfc RD |
4381 | { |
4382 | wxPy_BEGIN_ALLOW_THREADS; | |
4383 | wxPyShape_SetBrush(_arg0,_arg1); | |
4384 | ||
4385 | wxPy_END_ALLOW_THREADS; | |
4386 | } Py_INCREF(Py_None); | |
4387 | _resultobj = Py_None; | |
4388 | return _resultobj; | |
4389 | } | |
4390 | ||
714d23b4 RD |
4391 | static void wxPyShape_SetClientData(wxPyShape *self,PyObject * userData) { |
4392 | wxPyUserData* data = NULL; | |
4393 | if (userData) | |
4394 | data = new wxPyUserData(userData); | |
4395 | self->SetClientData(data); | |
4396 | } | |
e91a9dfc RD |
4397 | static PyObject *_wrap_wxPyShape_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { |
4398 | PyObject * _resultobj; | |
4399 | wxPyShape * _arg0; | |
714d23b4 | 4400 | PyObject * _arg1; |
e91a9dfc | 4401 | PyObject * _argo0 = 0; |
714d23b4 RD |
4402 | PyObject * _obj1 = 0; |
4403 | char *_kwnames[] = { "self","userData", NULL }; | |
e91a9dfc RD |
4404 | |
4405 | self = self; | |
714d23b4 | 4406 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_SetClientData",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
4407 | return NULL; |
4408 | if (_argo0) { | |
4409 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4410 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetClientData. Expected _wxPyShape_p."); | |
4412 | return NULL; | |
4413 | } | |
4414 | } | |
714d23b4 RD |
4415 | { |
4416 | _arg1 = _obj1; | |
4417 | } | |
e91a9dfc RD |
4418 | { |
4419 | wxPy_BEGIN_ALLOW_THREADS; | |
4420 | wxPyShape_SetClientData(_arg0,_arg1); | |
4421 | ||
4422 | wxPy_END_ALLOW_THREADS; | |
4423 | } Py_INCREF(Py_None); | |
4424 | _resultobj = Py_None; | |
4425 | return _resultobj; | |
4426 | } | |
4427 | ||
714d23b4 RD |
4428 | static PyObject * wxPyShape_GetClientData(wxPyShape *self) { |
4429 | wxPyUserData* data = (wxPyUserData*)self->GetClientData(); | |
4430 | if (data) { | |
4431 | Py_INCREF(data->m_obj); | |
4432 | return data->m_obj; | |
4433 | } else { | |
4434 | Py_INCREF(Py_None); | |
4435 | return Py_None; | |
4436 | } | |
4437 | } | |
e91a9dfc RD |
4438 | static PyObject *_wrap_wxPyShape_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) { |
4439 | PyObject * _resultobj; | |
714d23b4 | 4440 | PyObject * _result; |
e91a9dfc RD |
4441 | wxPyShape * _arg0; |
4442 | PyObject * _argo0 = 0; | |
4443 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
4444 | |
4445 | self = self; | |
4446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetClientData",_kwnames,&_argo0)) | |
4447 | return NULL; | |
4448 | if (_argo0) { | |
4449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetClientData. Expected _wxPyShape_p."); | |
4452 | return NULL; | |
4453 | } | |
4454 | } | |
4455 | { | |
4456 | wxPy_BEGIN_ALLOW_THREADS; | |
714d23b4 | 4457 | _result = (PyObject *)wxPyShape_GetClientData(_arg0); |
e91a9dfc RD |
4458 | |
4459 | wxPy_END_ALLOW_THREADS; | |
714d23b4 RD |
4460 | }{ |
4461 | _resultobj = _result; | |
4462 | } | |
e91a9dfc RD |
4463 | return _resultobj; |
4464 | } | |
4465 | ||
4466 | #define wxPyShape_Show(_swigobj,_swigarg0) (_swigobj->Show(_swigarg0)) | |
4467 | static PyObject *_wrap_wxPyShape_Show(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4468 | PyObject * _resultobj; | |
4469 | wxPyShape * _arg0; | |
4470 | bool _arg1; | |
4471 | PyObject * _argo0 = 0; | |
4472 | int tempbool1; | |
4473 | char *_kwnames[] = { "self","show", NULL }; | |
4474 | ||
4475 | self = self; | |
4476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_Show",_kwnames,&_argo0,&tempbool1)) | |
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_Show. Expected _wxPyShape_p."); | |
4482 | return NULL; | |
4483 | } | |
4484 | } | |
4485 | _arg1 = (bool ) tempbool1; | |
4486 | { | |
4487 | wxPy_BEGIN_ALLOW_THREADS; | |
4488 | wxPyShape_Show(_arg0,_arg1); | |
4489 | ||
4490 | wxPy_END_ALLOW_THREADS; | |
4491 | } Py_INCREF(Py_None); | |
4492 | _resultobj = Py_None; | |
4493 | return _resultobj; | |
4494 | } | |
4495 | ||
4496 | #define wxPyShape_IsShown(_swigobj) (_swigobj->IsShown()) | |
4497 | static PyObject *_wrap_wxPyShape_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4498 | PyObject * _resultobj; | |
4499 | bool _result; | |
4500 | wxPyShape * _arg0; | |
4501 | PyObject * _argo0 = 0; | |
4502 | char *_kwnames[] = { "self", NULL }; | |
4503 | ||
4504 | self = self; | |
4505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_IsShown",_kwnames,&_argo0)) | |
4506 | return NULL; | |
4507 | if (_argo0) { | |
4508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_IsShown. Expected _wxPyShape_p."); | |
4511 | return NULL; | |
4512 | } | |
4513 | } | |
4514 | { | |
4515 | wxPy_BEGIN_ALLOW_THREADS; | |
4516 | _result = (bool )wxPyShape_IsShown(_arg0); | |
4517 | ||
4518 | wxPy_END_ALLOW_THREADS; | |
4519 | } _resultobj = Py_BuildValue("i",_result); | |
4520 | return _resultobj; | |
4521 | } | |
4522 | ||
4523 | #define wxPyShape_Move(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->Move(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4524 | static PyObject *_wrap_wxPyShape_Move(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4525 | PyObject * _resultobj; | |
4526 | wxPyShape * _arg0; | |
4527 | wxDC * _arg1; | |
4528 | double _arg2; | |
4529 | double _arg3; | |
4530 | bool _arg4 = (bool ) TRUE; | |
4531 | PyObject * _argo0 = 0; | |
4532 | PyObject * _argo1 = 0; | |
4533 | int tempbool4 = (int) TRUE; | |
4534 | char *_kwnames[] = { "self","dc","x1","y1","display", NULL }; | |
4535 | ||
4536 | self = self; | |
4537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|i:wxPyShape_Move",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&tempbool4)) | |
4538 | return NULL; | |
4539 | if (_argo0) { | |
4540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Move. Expected _wxPyShape_p."); | |
4543 | return NULL; | |
4544 | } | |
4545 | } | |
4546 | if (_argo1) { | |
4547 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4548 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Move. Expected _wxDC_p."); | |
4550 | return NULL; | |
4551 | } | |
4552 | } | |
4553 | _arg4 = (bool ) tempbool4; | |
4554 | { | |
4555 | wxPy_BEGIN_ALLOW_THREADS; | |
4556 | wxPyShape_Move(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
4557 | ||
4558 | wxPy_END_ALLOW_THREADS; | |
4559 | } Py_INCREF(Py_None); | |
4560 | _resultobj = Py_None; | |
4561 | return _resultobj; | |
4562 | } | |
4563 | ||
4564 | #define wxPyShape_Erase(_swigobj,_swigarg0) (_swigobj->Erase(_swigarg0)) | |
4565 | static PyObject *_wrap_wxPyShape_Erase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4566 | PyObject * _resultobj; | |
4567 | wxPyShape * _arg0; | |
4568 | wxDC * _arg1; | |
4569 | PyObject * _argo0 = 0; | |
4570 | PyObject * _argo1 = 0; | |
4571 | char *_kwnames[] = { "self","dc", NULL }; | |
4572 | ||
4573 | self = self; | |
4574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Erase",_kwnames,&_argo0,&_argo1)) | |
4575 | return NULL; | |
4576 | if (_argo0) { | |
4577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Erase. Expected _wxPyShape_p."); | |
4580 | return NULL; | |
4581 | } | |
4582 | } | |
4583 | if (_argo1) { | |
4584 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4585 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Erase. Expected _wxDC_p."); | |
4587 | return NULL; | |
4588 | } | |
4589 | } | |
4590 | { | |
4591 | wxPy_BEGIN_ALLOW_THREADS; | |
4592 | wxPyShape_Erase(_arg0,*_arg1); | |
4593 | ||
4594 | wxPy_END_ALLOW_THREADS; | |
4595 | } Py_INCREF(Py_None); | |
4596 | _resultobj = Py_None; | |
4597 | return _resultobj; | |
4598 | } | |
4599 | ||
4600 | #define wxPyShape_EraseContents(_swigobj,_swigarg0) (_swigobj->EraseContents(_swigarg0)) | |
4601 | static PyObject *_wrap_wxPyShape_EraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4602 | PyObject * _resultobj; | |
4603 | wxPyShape * _arg0; | |
4604 | wxDC * _arg1; | |
4605 | PyObject * _argo0 = 0; | |
4606 | PyObject * _argo1 = 0; | |
4607 | char *_kwnames[] = { "self","dc", NULL }; | |
4608 | ||
4609 | self = self; | |
4610 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_EraseContents",_kwnames,&_argo0,&_argo1)) | |
4611 | return NULL; | |
4612 | if (_argo0) { | |
4613 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4614 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4615 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseContents. Expected _wxPyShape_p."); | |
4616 | return NULL; | |
4617 | } | |
4618 | } | |
4619 | if (_argo1) { | |
4620 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4621 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseContents. Expected _wxDC_p."); | |
4623 | return NULL; | |
4624 | } | |
4625 | } | |
4626 | { | |
4627 | wxPy_BEGIN_ALLOW_THREADS; | |
4628 | wxPyShape_EraseContents(_arg0,*_arg1); | |
4629 | ||
4630 | wxPy_END_ALLOW_THREADS; | |
4631 | } Py_INCREF(Py_None); | |
4632 | _resultobj = Py_None; | |
4633 | return _resultobj; | |
4634 | } | |
4635 | ||
4636 | #define wxPyShape_Draw(_swigobj,_swigarg0) (_swigobj->Draw(_swigarg0)) | |
4637 | static PyObject *_wrap_wxPyShape_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4638 | PyObject * _resultobj; | |
4639 | wxPyShape * _arg0; | |
4640 | wxDC * _arg1; | |
4641 | PyObject * _argo0 = 0; | |
4642 | PyObject * _argo1 = 0; | |
4643 | char *_kwnames[] = { "self","dc", NULL }; | |
4644 | ||
4645 | self = self; | |
4646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Draw",_kwnames,&_argo0,&_argo1)) | |
4647 | return NULL; | |
4648 | if (_argo0) { | |
4649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draw. Expected _wxPyShape_p."); | |
4652 | return NULL; | |
4653 | } | |
4654 | } | |
4655 | if (_argo1) { | |
4656 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4657 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Draw. Expected _wxDC_p."); | |
4659 | return NULL; | |
4660 | } | |
4661 | } | |
4662 | { | |
4663 | wxPy_BEGIN_ALLOW_THREADS; | |
4664 | wxPyShape_Draw(_arg0,*_arg1); | |
4665 | ||
4666 | wxPy_END_ALLOW_THREADS; | |
4667 | } Py_INCREF(Py_None); | |
4668 | _resultobj = Py_None; | |
4669 | return _resultobj; | |
4670 | } | |
4671 | ||
4672 | #define wxPyShape_Flash(_swigobj) (_swigobj->Flash()) | |
4673 | static PyObject *_wrap_wxPyShape_Flash(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4674 | PyObject * _resultobj; | |
4675 | wxPyShape * _arg0; | |
4676 | PyObject * _argo0 = 0; | |
4677 | char *_kwnames[] = { "self", NULL }; | |
4678 | ||
4679 | self = self; | |
4680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Flash",_kwnames,&_argo0)) | |
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_Flash. Expected _wxPyShape_p."); | |
4686 | return NULL; | |
4687 | } | |
4688 | } | |
4689 | { | |
4690 | wxPy_BEGIN_ALLOW_THREADS; | |
4691 | wxPyShape_Flash(_arg0); | |
4692 | ||
4693 | wxPy_END_ALLOW_THREADS; | |
4694 | } Py_INCREF(Py_None); | |
4695 | _resultobj = Py_None; | |
4696 | return _resultobj; | |
4697 | } | |
4698 | ||
4699 | #define wxPyShape_MoveLinks(_swigobj,_swigarg0) (_swigobj->MoveLinks(_swigarg0)) | |
4700 | static PyObject *_wrap_wxPyShape_MoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4701 | PyObject * _resultobj; | |
4702 | wxPyShape * _arg0; | |
4703 | wxDC * _arg1; | |
4704 | PyObject * _argo0 = 0; | |
4705 | PyObject * _argo1 = 0; | |
4706 | char *_kwnames[] = { "self","dc", NULL }; | |
4707 | ||
4708 | self = self; | |
4709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_MoveLinks",_kwnames,&_argo0,&_argo1)) | |
4710 | return NULL; | |
4711 | if (_argo0) { | |
4712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLinks. Expected _wxPyShape_p."); | |
4715 | return NULL; | |
4716 | } | |
4717 | } | |
4718 | if (_argo1) { | |
4719 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4720 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLinks. Expected _wxDC_p."); | |
4722 | return NULL; | |
4723 | } | |
4724 | } | |
4725 | { | |
4726 | wxPy_BEGIN_ALLOW_THREADS; | |
4727 | wxPyShape_MoveLinks(_arg0,*_arg1); | |
4728 | ||
4729 | wxPy_END_ALLOW_THREADS; | |
4730 | } Py_INCREF(Py_None); | |
4731 | _resultobj = Py_None; | |
4732 | return _resultobj; | |
4733 | } | |
4734 | ||
4735 | #define wxPyShape_DrawContents(_swigobj,_swigarg0) (_swigobj->DrawContents(_swigarg0)) | |
4736 | static PyObject *_wrap_wxPyShape_DrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4737 | PyObject * _resultobj; | |
4738 | wxPyShape * _arg0; | |
4739 | wxDC * _arg1; | |
4740 | PyObject * _argo0 = 0; | |
4741 | PyObject * _argo1 = 0; | |
4742 | char *_kwnames[] = { "self","dc", NULL }; | |
4743 | ||
4744 | self = self; | |
4745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_DrawContents",_kwnames,&_argo0,&_argo1)) | |
4746 | return NULL; | |
4747 | if (_argo0) { | |
4748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_DrawContents. Expected _wxPyShape_p."); | |
4751 | return NULL; | |
4752 | } | |
4753 | } | |
4754 | if (_argo1) { | |
4755 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4756 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_DrawContents. Expected _wxDC_p."); | |
4758 | return NULL; | |
4759 | } | |
4760 | } | |
4761 | { | |
4762 | wxPy_BEGIN_ALLOW_THREADS; | |
4763 | wxPyShape_DrawContents(_arg0,*_arg1); | |
4764 | ||
4765 | wxPy_END_ALLOW_THREADS; | |
4766 | } Py_INCREF(Py_None); | |
4767 | _resultobj = Py_None; | |
4768 | return _resultobj; | |
4769 | } | |
4770 | ||
4771 | #define wxPyShape_SetSize(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->SetSize(_swigarg0,_swigarg1,_swigarg2)) | |
4772 | static PyObject *_wrap_wxPyShape_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4773 | PyObject * _resultobj; | |
4774 | wxPyShape * _arg0; | |
4775 | double _arg1; | |
4776 | double _arg2; | |
4777 | bool _arg3 = (bool ) TRUE; | |
4778 | PyObject * _argo0 = 0; | |
4779 | int tempbool3 = (int) TRUE; | |
4780 | char *_kwnames[] = { "self","x","y","recursive", NULL }; | |
4781 | ||
4782 | self = self; | |
4783 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|i:wxPyShape_SetSize",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
4784 | return NULL; | |
4785 | if (_argo0) { | |
4786 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4787 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetSize. Expected _wxPyShape_p."); | |
4789 | return NULL; | |
4790 | } | |
4791 | } | |
4792 | _arg3 = (bool ) tempbool3; | |
4793 | { | |
4794 | wxPy_BEGIN_ALLOW_THREADS; | |
4795 | wxPyShape_SetSize(_arg0,_arg1,_arg2,_arg3); | |
4796 | ||
4797 | wxPy_END_ALLOW_THREADS; | |
4798 | } Py_INCREF(Py_None); | |
4799 | _resultobj = Py_None; | |
4800 | return _resultobj; | |
4801 | } | |
4802 | ||
4803 | #define wxPyShape_SetAttachmentSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachmentSize(_swigarg0,_swigarg1)) | |
4804 | static PyObject *_wrap_wxPyShape_SetAttachmentSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4805 | PyObject * _resultobj; | |
4806 | wxPyShape * _arg0; | |
4807 | double _arg1; | |
4808 | double _arg2; | |
4809 | PyObject * _argo0 = 0; | |
4810 | char *_kwnames[] = { "self","x","y", NULL }; | |
4811 | ||
4812 | self = self; | |
4813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_SetAttachmentSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
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_SetAttachmentSize. Expected _wxPyShape_p."); | |
4819 | return NULL; | |
4820 | } | |
4821 | } | |
4822 | { | |
4823 | wxPy_BEGIN_ALLOW_THREADS; | |
4824 | wxPyShape_SetAttachmentSize(_arg0,_arg1,_arg2); | |
4825 | ||
4826 | wxPy_END_ALLOW_THREADS; | |
4827 | } Py_INCREF(Py_None); | |
4828 | _resultobj = Py_None; | |
4829 | return _resultobj; | |
4830 | } | |
4831 | ||
4832 | #define wxPyShape_Attach(_swigobj,_swigarg0) (_swigobj->Attach(_swigarg0)) | |
4833 | static PyObject *_wrap_wxPyShape_Attach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4834 | PyObject * _resultobj; | |
4835 | wxPyShape * _arg0; | |
4836 | wxPyShapeCanvas * _arg1; | |
4837 | PyObject * _argo0 = 0; | |
4838 | PyObject * _argo1 = 0; | |
4839 | char *_kwnames[] = { "self","can", NULL }; | |
4840 | ||
4841 | self = self; | |
4842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Attach",_kwnames,&_argo0,&_argo1)) | |
4843 | return NULL; | |
4844 | if (_argo0) { | |
4845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Attach. Expected _wxPyShape_p."); | |
4848 | return NULL; | |
4849 | } | |
4850 | } | |
4851 | if (_argo1) { | |
4852 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4853 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShapeCanvas_p")) { | |
4854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Attach. Expected _wxPyShapeCanvas_p."); | |
4855 | return NULL; | |
4856 | } | |
4857 | } | |
4858 | { | |
4859 | wxPy_BEGIN_ALLOW_THREADS; | |
4860 | wxPyShape_Attach(_arg0,_arg1); | |
4861 | ||
4862 | wxPy_END_ALLOW_THREADS; | |
4863 | } Py_INCREF(Py_None); | |
4864 | _resultobj = Py_None; | |
4865 | return _resultobj; | |
4866 | } | |
4867 | ||
4868 | #define wxPyShape_Detach(_swigobj) (_swigobj->Detach()) | |
4869 | static PyObject *_wrap_wxPyShape_Detach(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4870 | PyObject * _resultobj; | |
4871 | wxPyShape * _arg0; | |
4872 | PyObject * _argo0 = 0; | |
4873 | char *_kwnames[] = { "self", NULL }; | |
4874 | ||
4875 | self = self; | |
4876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Detach",_kwnames,&_argo0)) | |
4877 | return NULL; | |
4878 | if (_argo0) { | |
4879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Detach. Expected _wxPyShape_p."); | |
4882 | return NULL; | |
4883 | } | |
4884 | } | |
4885 | { | |
4886 | wxPy_BEGIN_ALLOW_THREADS; | |
4887 | wxPyShape_Detach(_arg0); | |
4888 | ||
4889 | wxPy_END_ALLOW_THREADS; | |
4890 | } Py_INCREF(Py_None); | |
4891 | _resultobj = Py_None; | |
4892 | return _resultobj; | |
4893 | } | |
4894 | ||
4895 | #define wxPyShape_Constrain(_swigobj) (_swigobj->Constrain()) | |
4896 | static PyObject *_wrap_wxPyShape_Constrain(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4897 | PyObject * _resultobj; | |
4898 | bool _result; | |
4899 | wxPyShape * _arg0; | |
4900 | PyObject * _argo0 = 0; | |
4901 | char *_kwnames[] = { "self", NULL }; | |
4902 | ||
4903 | self = self; | |
4904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Constrain",_kwnames,&_argo0)) | |
4905 | return NULL; | |
4906 | if (_argo0) { | |
4907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Constrain. Expected _wxPyShape_p."); | |
4910 | return NULL; | |
4911 | } | |
4912 | } | |
4913 | { | |
4914 | wxPy_BEGIN_ALLOW_THREADS; | |
4915 | _result = (bool )wxPyShape_Constrain(_arg0); | |
4916 | ||
4917 | wxPy_END_ALLOW_THREADS; | |
4918 | } _resultobj = Py_BuildValue("i",_result); | |
4919 | return _resultobj; | |
4920 | } | |
4921 | ||
4922 | #define wxPyShape_AddLine(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->AddLine(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4923 | static PyObject *_wrap_wxPyShape_AddLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4924 | PyObject * _resultobj; | |
4925 | wxPyShape * _arg0; | |
4926 | wxPyLineShape * _arg1; | |
4927 | wxPyShape * _arg2; | |
4928 | int _arg3 = (int ) 0; | |
4929 | int _arg4 = (int ) 0; | |
4930 | int _arg5 = (int ) -1; | |
4931 | int _arg6 = (int ) -1; | |
4932 | PyObject * _argo0 = 0; | |
4933 | PyObject * _argo1 = 0; | |
4934 | PyObject * _argo2 = 0; | |
4935 | char *_kwnames[] = { "self","line","other","attachFrom","attachTo","positionFrom","positionTo", NULL }; | |
4936 | ||
4937 | self = self; | |
4938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|iiii:wxPyShape_AddLine",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
4939 | return NULL; | |
4940 | if (_argo0) { | |
4941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddLine. Expected _wxPyShape_p."); | |
4944 | return NULL; | |
4945 | } | |
4946 | } | |
4947 | if (_argo1) { | |
4948 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4949 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
4950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddLine. Expected _wxPyLineShape_p."); | |
4951 | return NULL; | |
4952 | } | |
4953 | } | |
4954 | if (_argo2) { | |
4955 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
4956 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
4957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_AddLine. Expected _wxPyShape_p."); | |
4958 | return NULL; | |
4959 | } | |
4960 | } | |
4961 | { | |
4962 | wxPy_BEGIN_ALLOW_THREADS; | |
4963 | wxPyShape_AddLine(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4964 | ||
4965 | wxPy_END_ALLOW_THREADS; | |
4966 | } Py_INCREF(Py_None); | |
4967 | _resultobj = Py_None; | |
4968 | return _resultobj; | |
4969 | } | |
4970 | ||
4971 | #define wxPyShape_GetLinePosition(_swigobj,_swigarg0) (_swigobj->GetLinePosition(_swigarg0)) | |
4972 | static PyObject *_wrap_wxPyShape_GetLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4973 | PyObject * _resultobj; | |
4974 | int _result; | |
4975 | wxPyShape * _arg0; | |
4976 | wxPyLineShape * _arg1; | |
4977 | PyObject * _argo0 = 0; | |
4978 | PyObject * _argo1 = 0; | |
4979 | char *_kwnames[] = { "self","line", NULL }; | |
4980 | ||
4981 | self = self; | |
4982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetLinePosition",_kwnames,&_argo0,&_argo1)) | |
4983 | return NULL; | |
4984 | if (_argo0) { | |
4985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
4987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetLinePosition. Expected _wxPyShape_p."); | |
4988 | return NULL; | |
4989 | } | |
4990 | } | |
4991 | if (_argo1) { | |
4992 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4993 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
4994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_GetLinePosition. Expected _wxPyLineShape_p."); | |
4995 | return NULL; | |
4996 | } | |
4997 | } | |
4998 | { | |
4999 | wxPy_BEGIN_ALLOW_THREADS; | |
5000 | _result = (int )wxPyShape_GetLinePosition(_arg0,_arg1); | |
5001 | ||
5002 | wxPy_END_ALLOW_THREADS; | |
5003 | } _resultobj = Py_BuildValue("i",_result); | |
5004 | return _resultobj; | |
5005 | } | |
5006 | ||
5007 | #define wxPyShape_AddText(_swigobj,_swigarg0) (_swigobj->AddText(_swigarg0)) | |
5008 | static PyObject *_wrap_wxPyShape_AddText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5009 | PyObject * _resultobj; | |
5010 | wxPyShape * _arg0; | |
5011 | wxString * _arg1; | |
5012 | PyObject * _argo0 = 0; | |
5013 | PyObject * _obj1 = 0; | |
5014 | char *_kwnames[] = { "self","string", NULL }; | |
5015 | ||
5016 | self = self; | |
5017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddText",_kwnames,&_argo0,&_obj1)) | |
5018 | return NULL; | |
5019 | if (_argo0) { | |
5020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddText. Expected _wxPyShape_p."); | |
5023 | return NULL; | |
5024 | } | |
5025 | } | |
5026 | { | |
185d7c3e RD |
5027 | #if PYTHON_API_VERSION >= 1009 |
5028 | char* tmpPtr; int tmpSize; | |
5029 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5030 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5031 | return NULL; | |
5032 | } | |
5033 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5034 | return NULL; | |
5035 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5036 | #else | |
e91a9dfc RD |
5037 | if (!PyString_Check(_obj1)) { |
5038 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5039 | return NULL; | |
5040 | } | |
185d7c3e RD |
5041 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5042 | #endif | |
e91a9dfc RD |
5043 | } |
5044 | { | |
5045 | wxPy_BEGIN_ALLOW_THREADS; | |
5046 | wxPyShape_AddText(_arg0,*_arg1); | |
5047 | ||
5048 | wxPy_END_ALLOW_THREADS; | |
5049 | } Py_INCREF(Py_None); | |
5050 | _resultobj = Py_None; | |
5051 | { | |
5052 | if (_obj1) | |
5053 | delete _arg1; | |
5054 | } | |
5055 | return _resultobj; | |
5056 | } | |
5057 | ||
5058 | #define wxPyShape_GetPen(_swigobj) (_swigobj->GetPen()) | |
5059 | static PyObject *_wrap_wxPyShape_GetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5060 | PyObject * _resultobj; | |
5061 | wxPen * _result; | |
5062 | wxPyShape * _arg0; | |
5063 | PyObject * _argo0 = 0; | |
5064 | char *_kwnames[] = { "self", NULL }; | |
5065 | char _ptemp[128]; | |
5066 | ||
5067 | self = self; | |
5068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetPen",_kwnames,&_argo0)) | |
5069 | return NULL; | |
5070 | if (_argo0) { | |
5071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetPen. Expected _wxPyShape_p."); | |
5074 | return NULL; | |
5075 | } | |
5076 | } | |
5077 | { | |
5078 | wxPy_BEGIN_ALLOW_THREADS; | |
5079 | _result = (wxPen *)wxPyShape_GetPen(_arg0); | |
5080 | ||
5081 | wxPy_END_ALLOW_THREADS; | |
5082 | } if (_result) { | |
5083 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
5084 | _resultobj = Py_BuildValue("s",_ptemp); | |
5085 | } else { | |
5086 | Py_INCREF(Py_None); | |
5087 | _resultobj = Py_None; | |
5088 | } | |
5089 | return _resultobj; | |
5090 | } | |
5091 | ||
5092 | #define wxPyShape_GetBrush(_swigobj) (_swigobj->GetBrush()) | |
5093 | static PyObject *_wrap_wxPyShape_GetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5094 | PyObject * _resultobj; | |
5095 | wxBrush * _result; | |
5096 | wxPyShape * _arg0; | |
5097 | PyObject * _argo0 = 0; | |
5098 | char *_kwnames[] = { "self", NULL }; | |
5099 | char _ptemp[128]; | |
5100 | ||
5101 | self = self; | |
5102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBrush",_kwnames,&_argo0)) | |
5103 | return NULL; | |
5104 | if (_argo0) { | |
5105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBrush. Expected _wxPyShape_p."); | |
5108 | return NULL; | |
5109 | } | |
5110 | } | |
5111 | { | |
5112 | wxPy_BEGIN_ALLOW_THREADS; | |
5113 | _result = (wxBrush *)wxPyShape_GetBrush(_arg0); | |
5114 | ||
5115 | wxPy_END_ALLOW_THREADS; | |
5116 | } if (_result) { | |
5117 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
5118 | _resultobj = Py_BuildValue("s",_ptemp); | |
5119 | } else { | |
5120 | Py_INCREF(Py_None); | |
5121 | _resultobj = Py_None; | |
5122 | } | |
5123 | return _resultobj; | |
5124 | } | |
5125 | ||
5126 | #define wxPyShape_SetDefaultRegionSize(_swigobj) (_swigobj->SetDefaultRegionSize()) | |
5127 | static PyObject *_wrap_wxPyShape_SetDefaultRegionSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5128 | PyObject * _resultobj; | |
5129 | wxPyShape * _arg0; | |
5130 | PyObject * _argo0 = 0; | |
5131 | char *_kwnames[] = { "self", NULL }; | |
5132 | ||
5133 | self = self; | |
5134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_SetDefaultRegionSize",_kwnames,&_argo0)) | |
5135 | return NULL; | |
5136 | if (_argo0) { | |
5137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetDefaultRegionSize. Expected _wxPyShape_p."); | |
5140 | return NULL; | |
5141 | } | |
5142 | } | |
5143 | { | |
5144 | wxPy_BEGIN_ALLOW_THREADS; | |
5145 | wxPyShape_SetDefaultRegionSize(_arg0); | |
5146 | ||
5147 | wxPy_END_ALLOW_THREADS; | |
5148 | } Py_INCREF(Py_None); | |
5149 | _resultobj = Py_None; | |
5150 | return _resultobj; | |
5151 | } | |
5152 | ||
5153 | #define wxPyShape_FormatText(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->FormatText(_swigarg0,_swigarg1,_swigarg2)) | |
5154 | static PyObject *_wrap_wxPyShape_FormatText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5155 | PyObject * _resultobj; | |
5156 | wxPyShape * _arg0; | |
5157 | wxDC * _arg1; | |
5158 | wxString * _arg2; | |
5159 | int _arg3 = (int ) 0; | |
5160 | PyObject * _argo0 = 0; | |
5161 | PyObject * _argo1 = 0; | |
5162 | PyObject * _obj2 = 0; | |
5163 | char *_kwnames[] = { "self","dc","s","regionId", NULL }; | |
5164 | ||
5165 | self = self; | |
5166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO|i:wxPyShape_FormatText",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3)) | |
5167 | return NULL; | |
5168 | if (_argo0) { | |
5169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FormatText. Expected _wxPyShape_p."); | |
5172 | return NULL; | |
5173 | } | |
5174 | } | |
5175 | if (_argo1) { | |
5176 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5177 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FormatText. Expected _wxDC_p."); | |
5179 | return NULL; | |
5180 | } | |
5181 | } | |
5182 | { | |
185d7c3e RD |
5183 | #if PYTHON_API_VERSION >= 1009 |
5184 | char* tmpPtr; int tmpSize; | |
5185 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
5186 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5187 | return NULL; | |
5188 | } | |
5189 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
5190 | return NULL; | |
5191 | _arg2 = new wxString(tmpPtr, tmpSize); | |
5192 | #else | |
e91a9dfc RD |
5193 | if (!PyString_Check(_obj2)) { |
5194 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5195 | return NULL; | |
5196 | } | |
185d7c3e RD |
5197 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
5198 | #endif | |
e91a9dfc RD |
5199 | } |
5200 | { | |
5201 | wxPy_BEGIN_ALLOW_THREADS; | |
5202 | wxPyShape_FormatText(_arg0,*_arg1,*_arg2,_arg3); | |
5203 | ||
5204 | wxPy_END_ALLOW_THREADS; | |
5205 | } Py_INCREF(Py_None); | |
5206 | _resultobj = Py_None; | |
5207 | { | |
5208 | if (_obj2) | |
5209 | delete _arg2; | |
5210 | } | |
5211 | return _resultobj; | |
5212 | } | |
5213 | ||
5214 | #define wxPyShape_SetFormatMode(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFormatMode(_swigarg0,_swigarg1)) | |
5215 | static PyObject *_wrap_wxPyShape_SetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5216 | PyObject * _resultobj; | |
5217 | wxPyShape * _arg0; | |
5218 | int _arg1; | |
5219 | int _arg2 = (int ) 0; | |
5220 | PyObject * _argo0 = 0; | |
5221 | char *_kwnames[] = { "self","mode","regionId", NULL }; | |
5222 | ||
5223 | self = self; | |
5224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|i:wxPyShape_SetFormatMode",_kwnames,&_argo0,&_arg1,&_arg2)) | |
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_SetFormatMode. Expected _wxPyShape_p."); | |
5230 | return NULL; | |
5231 | } | |
5232 | } | |
5233 | { | |
5234 | wxPy_BEGIN_ALLOW_THREADS; | |
5235 | wxPyShape_SetFormatMode(_arg0,_arg1,_arg2); | |
5236 | ||
5237 | wxPy_END_ALLOW_THREADS; | |
5238 | } Py_INCREF(Py_None); | |
5239 | _resultobj = Py_None; | |
5240 | return _resultobj; | |
5241 | } | |
5242 | ||
5243 | #define wxPyShape_GetFormatMode(_swigobj,_swigarg0) (_swigobj->GetFormatMode(_swigarg0)) | |
5244 | static PyObject *_wrap_wxPyShape_GetFormatMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5245 | PyObject * _resultobj; | |
5246 | int _result; | |
5247 | wxPyShape * _arg0; | |
5248 | int _arg1 = (int ) 0; | |
5249 | PyObject * _argo0 = 0; | |
5250 | char *_kwnames[] = { "self","regionId", NULL }; | |
5251 | ||
5252 | self = self; | |
5253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFormatMode",_kwnames,&_argo0,&_arg1)) | |
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_GetFormatMode. Expected _wxPyShape_p."); | |
5259 | return NULL; | |
5260 | } | |
5261 | } | |
5262 | { | |
5263 | wxPy_BEGIN_ALLOW_THREADS; | |
5264 | _result = (int )wxPyShape_GetFormatMode(_arg0,_arg1); | |
5265 | ||
5266 | wxPy_END_ALLOW_THREADS; | |
5267 | } _resultobj = Py_BuildValue("i",_result); | |
5268 | return _resultobj; | |
5269 | } | |
5270 | ||
5271 | #define wxPyShape_SetFont(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetFont(_swigarg0,_swigarg1)) | |
5272 | static PyObject *_wrap_wxPyShape_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5273 | PyObject * _resultobj; | |
5274 | wxPyShape * _arg0; | |
5275 | wxFont * _arg1; | |
5276 | int _arg2 = (int ) 0; | |
5277 | PyObject * _argo0 = 0; | |
d74525f7 | 5278 | PyObject * _obj1 = 0; |
e91a9dfc RD |
5279 | char *_kwnames[] = { "self","font","regionId", NULL }; |
5280 | ||
5281 | self = self; | |
d74525f7 | 5282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetFont",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
5283 | return NULL; |
5284 | if (_argo0) { | |
5285 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5286 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetFont. Expected _wxPyShape_p."); | |
5288 | return NULL; | |
5289 | } | |
5290 | } | |
d74525f7 RD |
5291 | { |
5292 | wxFont* temp; | |
5293 | if (_obj1) { | |
5294 | if (_obj1 == Py_None) { temp = NULL; } | |
5295 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) { | |
5296 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p."); | |
e91a9dfc RD |
5297 | return NULL; |
5298 | } | |
5299 | } | |
d74525f7 RD |
5300 | if (temp) |
5301 | _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(), | |
5302 | temp->GetFamily(), | |
5303 | temp->GetStyle(), | |
5304 | temp->GetWeight(), | |
5305 | temp->GetUnderlined(), | |
5306 | temp->GetFaceName(), | |
5307 | temp->GetEncoding()); | |
5308 | else | |
5309 | _arg1 = NULL; | |
5310 | } | |
e91a9dfc RD |
5311 | { |
5312 | wxPy_BEGIN_ALLOW_THREADS; | |
5313 | wxPyShape_SetFont(_arg0,_arg1,_arg2); | |
5314 | ||
5315 | wxPy_END_ALLOW_THREADS; | |
5316 | } Py_INCREF(Py_None); | |
5317 | _resultobj = Py_None; | |
5318 | return _resultobj; | |
5319 | } | |
5320 | ||
5321 | #define wxPyShape_GetFont(_swigobj,_swigarg0) (_swigobj->GetFont(_swigarg0)) | |
5322 | static PyObject *_wrap_wxPyShape_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5323 | PyObject * _resultobj; | |
5324 | wxFont * _result; | |
5325 | wxPyShape * _arg0; | |
5326 | int _arg1 = (int ) 0; | |
5327 | PyObject * _argo0 = 0; | |
5328 | char *_kwnames[] = { "self","regionId", NULL }; | |
5329 | char _ptemp[128]; | |
5330 | ||
5331 | self = self; | |
5332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetFont",_kwnames,&_argo0,&_arg1)) | |
5333 | return NULL; | |
5334 | if (_argo0) { | |
5335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetFont. Expected _wxPyShape_p."); | |
5338 | return NULL; | |
5339 | } | |
5340 | } | |
5341 | { | |
5342 | wxPy_BEGIN_ALLOW_THREADS; | |
5343 | _result = (wxFont *)wxPyShape_GetFont(_arg0,_arg1); | |
5344 | ||
5345 | wxPy_END_ALLOW_THREADS; | |
5346 | } if (_result) { | |
5347 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxFont_p"); | |
5348 | _resultobj = Py_BuildValue("s",_ptemp); | |
5349 | } else { | |
5350 | Py_INCREF(Py_None); | |
5351 | _resultobj = Py_None; | |
5352 | } | |
5353 | return _resultobj; | |
5354 | } | |
5355 | ||
5356 | #define wxPyShape_SetTextColour(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetTextColour(_swigarg0,_swigarg1)) | |
5357 | static PyObject *_wrap_wxPyShape_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5358 | PyObject * _resultobj; | |
5359 | wxPyShape * _arg0; | |
5360 | wxString * _arg1; | |
5361 | int _arg2 = (int ) 0; | |
5362 | PyObject * _argo0 = 0; | |
5363 | PyObject * _obj1 = 0; | |
5364 | char *_kwnames[] = { "self","colour","regionId", NULL }; | |
5365 | ||
5366 | self = self; | |
5367 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetTextColour",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5368 | return NULL; | |
5369 | if (_argo0) { | |
5370 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5371 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetTextColour. Expected _wxPyShape_p."); | |
5373 | return NULL; | |
5374 | } | |
5375 | } | |
5376 | { | |
185d7c3e RD |
5377 | #if PYTHON_API_VERSION >= 1009 |
5378 | char* tmpPtr; int tmpSize; | |
5379 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5380 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5381 | return NULL; | |
5382 | } | |
5383 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5384 | return NULL; | |
5385 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5386 | #else | |
e91a9dfc RD |
5387 | if (!PyString_Check(_obj1)) { |
5388 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5389 | return NULL; | |
5390 | } | |
185d7c3e RD |
5391 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5392 | #endif | |
e91a9dfc RD |
5393 | } |
5394 | { | |
5395 | wxPy_BEGIN_ALLOW_THREADS; | |
5396 | wxPyShape_SetTextColour(_arg0,*_arg1,_arg2); | |
5397 | ||
5398 | wxPy_END_ALLOW_THREADS; | |
5399 | } Py_INCREF(Py_None); | |
5400 | _resultobj = Py_None; | |
5401 | { | |
5402 | if (_obj1) | |
5403 | delete _arg1; | |
5404 | } | |
5405 | return _resultobj; | |
5406 | } | |
5407 | ||
5408 | #define wxPyShape_GetTextColour(_swigobj,_swigarg0) (_swigobj->GetTextColour(_swigarg0)) | |
5409 | static PyObject *_wrap_wxPyShape_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5410 | PyObject * _resultobj; | |
5411 | wxString * _result; | |
5412 | wxPyShape * _arg0; | |
5413 | int _arg1 = (int ) 0; | |
5414 | PyObject * _argo0 = 0; | |
5415 | char *_kwnames[] = { "self","regionId", NULL }; | |
5416 | ||
5417 | self = self; | |
5418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_GetTextColour",_kwnames,&_argo0,&_arg1)) | |
5419 | return NULL; | |
5420 | if (_argo0) { | |
5421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetTextColour. Expected _wxPyShape_p."); | |
5424 | return NULL; | |
5425 | } | |
5426 | } | |
5427 | { | |
5428 | wxPy_BEGIN_ALLOW_THREADS; | |
5429 | _result = new wxString (wxPyShape_GetTextColour(_arg0,_arg1)); | |
5430 | ||
5431 | wxPy_END_ALLOW_THREADS; | |
5432 | }{ | |
714d23b4 | 5433 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
5434 | } |
5435 | { | |
5436 | delete _result; | |
5437 | } | |
5438 | return _resultobj; | |
5439 | } | |
5440 | ||
5441 | #define wxPyShape_GetNumberOfTextRegions(_swigobj) (_swigobj->GetNumberOfTextRegions()) | |
5442 | static PyObject *_wrap_wxPyShape_GetNumberOfTextRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5443 | PyObject * _resultobj; | |
5444 | int _result; | |
5445 | wxPyShape * _arg0; | |
5446 | PyObject * _argo0 = 0; | |
5447 | char *_kwnames[] = { "self", NULL }; | |
5448 | ||
5449 | self = self; | |
5450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfTextRegions",_kwnames,&_argo0)) | |
5451 | return NULL; | |
5452 | if (_argo0) { | |
5453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfTextRegions. Expected _wxPyShape_p."); | |
5456 | return NULL; | |
5457 | } | |
5458 | } | |
5459 | { | |
5460 | wxPy_BEGIN_ALLOW_THREADS; | |
5461 | _result = (int )wxPyShape_GetNumberOfTextRegions(_arg0); | |
5462 | ||
5463 | wxPy_END_ALLOW_THREADS; | |
5464 | } _resultobj = Py_BuildValue("i",_result); | |
5465 | return _resultobj; | |
5466 | } | |
5467 | ||
5468 | #define wxPyShape_SetRegionName(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetRegionName(_swigarg0,_swigarg1)) | |
5469 | static PyObject *_wrap_wxPyShape_SetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5470 | PyObject * _resultobj; | |
5471 | wxPyShape * _arg0; | |
5472 | wxString * _arg1; | |
5473 | int _arg2 = (int ) 0; | |
5474 | PyObject * _argo0 = 0; | |
5475 | PyObject * _obj1 = 0; | |
5476 | char *_kwnames[] = { "self","name","regionId", NULL }; | |
5477 | ||
5478 | self = self; | |
5479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_SetRegionName",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5480 | return NULL; | |
5481 | if (_argo0) { | |
5482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetRegionName. Expected _wxPyShape_p."); | |
5485 | return NULL; | |
5486 | } | |
5487 | } | |
5488 | { | |
185d7c3e RD |
5489 | #if PYTHON_API_VERSION >= 1009 |
5490 | char* tmpPtr; int tmpSize; | |
5491 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5492 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5493 | return NULL; | |
5494 | } | |
5495 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5496 | return NULL; | |
5497 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5498 | #else | |
e91a9dfc RD |
5499 | if (!PyString_Check(_obj1)) { |
5500 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5501 | return NULL; | |
5502 | } | |
185d7c3e RD |
5503 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5504 | #endif | |
e91a9dfc RD |
5505 | } |
5506 | { | |
5507 | wxPy_BEGIN_ALLOW_THREADS; | |
5508 | wxPyShape_SetRegionName(_arg0,*_arg1,_arg2); | |
5509 | ||
5510 | wxPy_END_ALLOW_THREADS; | |
5511 | } Py_INCREF(Py_None); | |
5512 | _resultobj = Py_None; | |
5513 | { | |
5514 | if (_obj1) | |
5515 | delete _arg1; | |
5516 | } | |
5517 | return _resultobj; | |
5518 | } | |
5519 | ||
5520 | #define wxPyShape_GetRegionName(_swigobj,_swigarg0) (_swigobj->GetRegionName(_swigarg0)) | |
5521 | static PyObject *_wrap_wxPyShape_GetRegionName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5522 | PyObject * _resultobj; | |
5523 | wxString * _result; | |
5524 | wxPyShape * _arg0; | |
5525 | int _arg1; | |
5526 | PyObject * _argo0 = 0; | |
5527 | char *_kwnames[] = { "self","regionId", NULL }; | |
5528 | ||
5529 | self = self; | |
5530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetRegionName",_kwnames,&_argo0,&_arg1)) | |
5531 | return NULL; | |
5532 | if (_argo0) { | |
5533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionName. Expected _wxPyShape_p."); | |
5536 | return NULL; | |
5537 | } | |
5538 | } | |
5539 | { | |
5540 | wxPy_BEGIN_ALLOW_THREADS; | |
5541 | _result = new wxString (wxPyShape_GetRegionName(_arg0,_arg1)); | |
5542 | ||
5543 | wxPy_END_ALLOW_THREADS; | |
5544 | }{ | |
714d23b4 | 5545 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
5546 | } |
5547 | { | |
5548 | delete _result; | |
5549 | } | |
5550 | return _resultobj; | |
5551 | } | |
5552 | ||
5553 | #define wxPyShape_GetRegionId(_swigobj,_swigarg0) (_swigobj->GetRegionId(_swigarg0)) | |
5554 | static PyObject *_wrap_wxPyShape_GetRegionId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5555 | PyObject * _resultobj; | |
5556 | int _result; | |
5557 | wxPyShape * _arg0; | |
5558 | wxString * _arg1; | |
5559 | PyObject * _argo0 = 0; | |
5560 | PyObject * _obj1 = 0; | |
5561 | char *_kwnames[] = { "self","name", NULL }; | |
5562 | ||
5563 | self = self; | |
5564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_GetRegionId",_kwnames,&_argo0,&_obj1)) | |
5565 | return NULL; | |
5566 | if (_argo0) { | |
5567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegionId. Expected _wxPyShape_p."); | |
5570 | return NULL; | |
5571 | } | |
5572 | } | |
5573 | { | |
185d7c3e RD |
5574 | #if PYTHON_API_VERSION >= 1009 |
5575 | char* tmpPtr; int tmpSize; | |
5576 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5577 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5578 | return NULL; | |
5579 | } | |
5580 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5581 | return NULL; | |
5582 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5583 | #else | |
e91a9dfc RD |
5584 | if (!PyString_Check(_obj1)) { |
5585 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5586 | return NULL; | |
5587 | } | |
185d7c3e RD |
5588 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5589 | #endif | |
e91a9dfc RD |
5590 | } |
5591 | { | |
5592 | wxPy_BEGIN_ALLOW_THREADS; | |
5593 | _result = (int )wxPyShape_GetRegionId(_arg0,*_arg1); | |
5594 | ||
5595 | wxPy_END_ALLOW_THREADS; | |
5596 | } _resultobj = Py_BuildValue("i",_result); | |
5597 | { | |
5598 | if (_obj1) | |
5599 | delete _arg1; | |
5600 | } | |
5601 | return _resultobj; | |
5602 | } | |
5603 | ||
5604 | #define wxPyShape_NameRegions(_swigobj,_swigarg0) (_swigobj->NameRegions(_swigarg0)) | |
5605 | static PyObject *_wrap_wxPyShape_NameRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5606 | PyObject * _resultobj; | |
5607 | wxPyShape * _arg0; | |
5608 | wxString * _arg1 = (wxString *) &""; | |
5609 | PyObject * _argo0 = 0; | |
5610 | PyObject * _obj1 = 0; | |
5611 | char *_kwnames[] = { "self","parentName", NULL }; | |
5612 | ||
5613 | self = self; | |
5614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyShape_NameRegions",_kwnames,&_argo0,&_obj1)) | |
5615 | return NULL; | |
5616 | if (_argo0) { | |
5617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_NameRegions. Expected _wxPyShape_p."); | |
5620 | return NULL; | |
5621 | } | |
5622 | } | |
5623 | if (_obj1) | |
5624 | { | |
185d7c3e RD |
5625 | #if PYTHON_API_VERSION >= 1009 |
5626 | char* tmpPtr; int tmpSize; | |
5627 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5628 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5629 | return NULL; | |
5630 | } | |
5631 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5632 | return NULL; | |
5633 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5634 | #else | |
e91a9dfc RD |
5635 | if (!PyString_Check(_obj1)) { |
5636 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5637 | return NULL; | |
5638 | } | |
185d7c3e RD |
5639 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5640 | #endif | |
e91a9dfc RD |
5641 | } |
5642 | { | |
5643 | wxPy_BEGIN_ALLOW_THREADS; | |
5644 | wxPyShape_NameRegions(_arg0,*_arg1); | |
5645 | ||
5646 | wxPy_END_ALLOW_THREADS; | |
5647 | } Py_INCREF(Py_None); | |
5648 | _resultobj = Py_None; | |
5649 | { | |
5650 | if (_obj1) | |
5651 | delete _arg1; | |
5652 | } | |
5653 | return _resultobj; | |
5654 | } | |
5655 | ||
5656 | static PyObject * wxPyShape_GetRegions(wxPyShape *self) { | |
5657 | wxList& list = self->GetRegions(); | |
5658 | return wxPy_ConvertList(&list, "wxShapeRegion"); | |
5659 | } | |
5660 | static PyObject *_wrap_wxPyShape_GetRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5661 | PyObject * _resultobj; | |
5662 | PyObject * _result; | |
5663 | wxPyShape * _arg0; | |
5664 | PyObject * _argo0 = 0; | |
5665 | char *_kwnames[] = { "self", NULL }; | |
5666 | ||
5667 | self = self; | |
5668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRegions",_kwnames,&_argo0)) | |
5669 | return NULL; | |
5670 | if (_argo0) { | |
5671 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5672 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5673 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRegions. Expected _wxPyShape_p."); | |
5674 | return NULL; | |
5675 | } | |
5676 | } | |
5677 | { | |
5678 | wxPy_BEGIN_ALLOW_THREADS; | |
5679 | _result = (PyObject *)wxPyShape_GetRegions(_arg0); | |
5680 | ||
5681 | wxPy_END_ALLOW_THREADS; | |
5682 | }{ | |
5683 | _resultobj = _result; | |
5684 | } | |
5685 | return _resultobj; | |
5686 | } | |
5687 | ||
5688 | #define wxPyShape_AddRegion(_swigobj,_swigarg0) (_swigobj->AddRegion(_swigarg0)) | |
5689 | static PyObject *_wrap_wxPyShape_AddRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5690 | PyObject * _resultobj; | |
5691 | wxPyShape * _arg0; | |
5692 | wxShapeRegion * _arg1; | |
5693 | PyObject * _argo0 = 0; | |
5694 | PyObject * _argo1 = 0; | |
5695 | char *_kwnames[] = { "self","region", NULL }; | |
5696 | ||
5697 | self = self; | |
5698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_AddRegion",_kwnames,&_argo0,&_argo1)) | |
5699 | return NULL; | |
5700 | if (_argo0) { | |
5701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AddRegion. Expected _wxPyShape_p."); | |
5704 | return NULL; | |
5705 | } | |
5706 | } | |
5707 | if (_argo1) { | |
5708 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5709 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxShapeRegion_p")) { | |
5710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_AddRegion. Expected _wxShapeRegion_p."); | |
5711 | return NULL; | |
5712 | } | |
5713 | } | |
5714 | { | |
5715 | wxPy_BEGIN_ALLOW_THREADS; | |
5716 | wxPyShape_AddRegion(_arg0,_arg1); | |
5717 | ||
5718 | wxPy_END_ALLOW_THREADS; | |
5719 | } Py_INCREF(Py_None); | |
5720 | _resultobj = Py_None; | |
5721 | return _resultobj; | |
5722 | } | |
5723 | ||
5724 | #define wxPyShape_ClearRegions(_swigobj) (_swigobj->ClearRegions()) | |
5725 | static PyObject *_wrap_wxPyShape_ClearRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5726 | PyObject * _resultobj; | |
5727 | wxPyShape * _arg0; | |
5728 | PyObject * _argo0 = 0; | |
5729 | char *_kwnames[] = { "self", NULL }; | |
5730 | ||
5731 | self = self; | |
5732 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearRegions",_kwnames,&_argo0)) | |
5733 | return NULL; | |
5734 | if (_argo0) { | |
5735 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5736 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5737 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearRegions. Expected _wxPyShape_p."); | |
5738 | return NULL; | |
5739 | } | |
5740 | } | |
5741 | { | |
5742 | wxPy_BEGIN_ALLOW_THREADS; | |
5743 | wxPyShape_ClearRegions(_arg0); | |
5744 | ||
5745 | wxPy_END_ALLOW_THREADS; | |
5746 | } Py_INCREF(Py_None); | |
5747 | _resultobj = Py_None; | |
5748 | return _resultobj; | |
5749 | } | |
5750 | ||
5751 | #define wxPyShape_AssignNewIds(_swigobj) (_swigobj->AssignNewIds()) | |
5752 | static PyObject *_wrap_wxPyShape_AssignNewIds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5753 | PyObject * _resultobj; | |
5754 | wxPyShape * _arg0; | |
5755 | PyObject * _argo0 = 0; | |
5756 | char *_kwnames[] = { "self", NULL }; | |
5757 | ||
5758 | self = self; | |
5759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_AssignNewIds",_kwnames,&_argo0)) | |
5760 | return NULL; | |
5761 | if (_argo0) { | |
5762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AssignNewIds. Expected _wxPyShape_p."); | |
5765 | return NULL; | |
5766 | } | |
5767 | } | |
5768 | { | |
5769 | wxPy_BEGIN_ALLOW_THREADS; | |
5770 | wxPyShape_AssignNewIds(_arg0); | |
5771 | ||
5772 | wxPy_END_ALLOW_THREADS; | |
5773 | } Py_INCREF(Py_None); | |
5774 | _resultobj = Py_None; | |
5775 | return _resultobj; | |
5776 | } | |
5777 | ||
5778 | #define wxPyShape_FindRegion(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindRegion(_swigarg0,_swigarg1)) | |
5779 | static PyObject *_wrap_wxPyShape_FindRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5780 | PyObject * _resultobj; | |
5781 | wxPyShape * _result; | |
5782 | wxPyShape * _arg0; | |
5783 | wxString * _arg1; | |
5784 | int * _arg2; | |
f6bcfd97 | 5785 | int temp; |
e91a9dfc RD |
5786 | PyObject * _argo0 = 0; |
5787 | PyObject * _obj1 = 0; | |
f6bcfd97 | 5788 | char *_kwnames[] = { "self","regionName", NULL }; |
e91a9dfc RD |
5789 | char _ptemp[128]; |
5790 | ||
5791 | self = self; | |
f6bcfd97 BP |
5792 | { |
5793 | _arg2 = &temp; | |
5794 | } | |
5795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegion",_kwnames,&_argo0,&_obj1)) | |
e91a9dfc RD |
5796 | return NULL; |
5797 | if (_argo0) { | |
5798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegion. Expected _wxPyShape_p."); | |
5801 | return NULL; | |
5802 | } | |
5803 | } | |
5804 | { | |
185d7c3e RD |
5805 | #if PYTHON_API_VERSION >= 1009 |
5806 | char* tmpPtr; int tmpSize; | |
5807 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5808 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5809 | return NULL; | |
5810 | } | |
5811 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5812 | return NULL; | |
5813 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5814 | #else | |
e91a9dfc RD |
5815 | if (!PyString_Check(_obj1)) { |
5816 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5817 | return NULL; | |
5818 | } | |
185d7c3e RD |
5819 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5820 | #endif | |
e91a9dfc | 5821 | } |
e91a9dfc RD |
5822 | { |
5823 | wxPy_BEGIN_ALLOW_THREADS; | |
5824 | _result = (wxPyShape *)wxPyShape_FindRegion(_arg0,*_arg1,_arg2); | |
5825 | ||
5826 | wxPy_END_ALLOW_THREADS; | |
5827 | } if (_result) { | |
5828 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
5829 | _resultobj = Py_BuildValue("s",_ptemp); | |
5830 | } else { | |
5831 | Py_INCREF(Py_None); | |
5832 | _resultobj = Py_None; | |
5833 | } | |
f6bcfd97 BP |
5834 | { |
5835 | PyObject *o; | |
5836 | o = PyInt_FromLong((long) (*_arg2)); | |
5837 | _resultobj = t_output_helper(_resultobj, o); | |
5838 | } | |
e91a9dfc RD |
5839 | { |
5840 | if (_obj1) | |
5841 | delete _arg1; | |
5842 | } | |
5843 | return _resultobj; | |
5844 | } | |
5845 | ||
5846 | #define wxPyShape_FindRegionNames(_swigobj,_swigarg0) (_swigobj->FindRegionNames(_swigarg0)) | |
5847 | static PyObject *_wrap_wxPyShape_FindRegionNames(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5848 | PyObject * _resultobj; | |
5849 | wxPyShape * _arg0; | |
5850 | wxStringList * _arg1; | |
5851 | PyObject * _argo0 = 0; | |
5852 | PyObject * _argo1 = 0; | |
5853 | char *_kwnames[] = { "self","list", NULL }; | |
5854 | ||
5855 | self = self; | |
5856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_FindRegionNames",_kwnames,&_argo0,&_argo1)) | |
5857 | return NULL; | |
5858 | if (_argo0) { | |
5859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_FindRegionNames. Expected _wxPyShape_p."); | |
5862 | return NULL; | |
5863 | } | |
5864 | } | |
5865 | if (_argo1) { | |
5866 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5867 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxStringList_p")) { | |
5868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_FindRegionNames. Expected _wxStringList_p."); | |
5869 | return NULL; | |
5870 | } | |
5871 | } | |
5872 | { | |
5873 | wxPy_BEGIN_ALLOW_THREADS; | |
5874 | wxPyShape_FindRegionNames(_arg0,*_arg1); | |
5875 | ||
5876 | wxPy_END_ALLOW_THREADS; | |
5877 | } Py_INCREF(Py_None); | |
5878 | _resultobj = Py_None; | |
5879 | return _resultobj; | |
5880 | } | |
5881 | ||
5882 | #define wxPyShape_ClearText(_swigobj,_swigarg0) (_swigobj->ClearText(_swigarg0)) | |
5883 | static PyObject *_wrap_wxPyShape_ClearText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5884 | PyObject * _resultobj; | |
5885 | wxPyShape * _arg0; | |
5886 | int _arg1 = (int ) 0; | |
5887 | PyObject * _argo0 = 0; | |
5888 | char *_kwnames[] = { "self","regionId", NULL }; | |
5889 | ||
5890 | self = self; | |
5891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyShape_ClearText",_kwnames,&_argo0,&_arg1)) | |
5892 | return NULL; | |
5893 | if (_argo0) { | |
5894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearText. Expected _wxPyShape_p."); | |
5897 | return NULL; | |
5898 | } | |
5899 | } | |
5900 | { | |
5901 | wxPy_BEGIN_ALLOW_THREADS; | |
5902 | wxPyShape_ClearText(_arg0,_arg1); | |
5903 | ||
5904 | wxPy_END_ALLOW_THREADS; | |
5905 | } Py_INCREF(Py_None); | |
5906 | _resultobj = Py_None; | |
5907 | return _resultobj; | |
5908 | } | |
5909 | ||
5910 | #define wxPyShape_RemoveLine(_swigobj,_swigarg0) (_swigobj->RemoveLine(_swigarg0)) | |
5911 | static PyObject *_wrap_wxPyShape_RemoveLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5912 | PyObject * _resultobj; | |
5913 | wxPyShape * _arg0; | |
5914 | wxPyLineShape * _arg1; | |
5915 | PyObject * _argo0 = 0; | |
5916 | PyObject * _argo1 = 0; | |
5917 | char *_kwnames[] = { "self","line", NULL }; | |
5918 | ||
5919 | self = self; | |
5920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_RemoveLine",_kwnames,&_argo0,&_argo1)) | |
5921 | return NULL; | |
5922 | if (_argo0) { | |
5923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_RemoveLine. Expected _wxPyShape_p."); | |
5926 | return NULL; | |
5927 | } | |
5928 | } | |
5929 | if (_argo1) { | |
5930 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5931 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyLineShape_p")) { | |
5932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_RemoveLine. Expected _wxPyLineShape_p."); | |
5933 | return NULL; | |
5934 | } | |
5935 | } | |
5936 | { | |
5937 | wxPy_BEGIN_ALLOW_THREADS; | |
5938 | wxPyShape_RemoveLine(_arg0,_arg1); | |
5939 | ||
5940 | wxPy_END_ALLOW_THREADS; | |
5941 | } Py_INCREF(Py_None); | |
5942 | _resultobj = Py_None; | |
5943 | return _resultobj; | |
5944 | } | |
5945 | ||
5946 | #define wxPyShape_GetAttachmentPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPosition(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5947 | static PyObject *_wrap_wxPyShape_GetAttachmentPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5948 | PyObject * _resultobj; | |
5949 | bool _result; | |
5950 | wxPyShape * _arg0; | |
5951 | int _arg1; | |
5952 | double * _arg2; | |
714d23b4 | 5953 | double temp; |
e91a9dfc | 5954 | double * _arg3; |
714d23b4 | 5955 | double temp0; |
e91a9dfc RD |
5956 | int _arg4 = (int ) 0; |
5957 | int _arg5 = (int ) 1; | |
5958 | wxPyLineShape * _arg6 = (wxPyLineShape *) NULL; | |
5959 | PyObject * _argo0 = 0; | |
e91a9dfc | 5960 | PyObject * _argo6 = 0; |
714d23b4 | 5961 | char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL }; |
e91a9dfc RD |
5962 | |
5963 | self = self; | |
714d23b4 RD |
5964 | { |
5965 | _arg2 = &temp; | |
5966 | } | |
5967 | { | |
5968 | _arg3 = &temp0; | |
5969 | } | |
5970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPosition",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6)) | |
e91a9dfc RD |
5971 | return NULL; |
5972 | if (_argo0) { | |
5973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
5975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPosition. Expected _wxPyShape_p."); | |
5976 | return NULL; | |
5977 | } | |
5978 | } | |
e91a9dfc RD |
5979 | if (_argo6) { |
5980 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
5981 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) { | |
5982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPosition. Expected _wxPyLineShape_p."); | |
5983 | return NULL; | |
5984 | } | |
5985 | } | |
5986 | { | |
5987 | wxPy_BEGIN_ALLOW_THREADS; | |
5988 | _result = (bool )wxPyShape_GetAttachmentPosition(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5989 | ||
5990 | wxPy_END_ALLOW_THREADS; | |
5991 | } _resultobj = Py_BuildValue("i",_result); | |
714d23b4 RD |
5992 | { |
5993 | PyObject *o; | |
5994 | o = PyFloat_FromDouble((double) (*_arg2)); | |
5995 | _resultobj = t_output_helper(_resultobj, o); | |
5996 | } | |
5997 | { | |
5998 | PyObject *o; | |
5999 | o = PyFloat_FromDouble((double) (*_arg3)); | |
6000 | _resultobj = t_output_helper(_resultobj, o); | |
6001 | } | |
e91a9dfc RD |
6002 | return _resultobj; |
6003 | } | |
6004 | ||
6005 | #define wxPyShape_GetNumberOfAttachments(_swigobj) (_swigobj->GetNumberOfAttachments()) | |
6006 | static PyObject *_wrap_wxPyShape_GetNumberOfAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6007 | PyObject * _resultobj; | |
6008 | int _result; | |
6009 | wxPyShape * _arg0; | |
6010 | PyObject * _argo0 = 0; | |
6011 | char *_kwnames[] = { "self", NULL }; | |
6012 | ||
6013 | self = self; | |
6014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetNumberOfAttachments",_kwnames,&_argo0)) | |
6015 | return NULL; | |
6016 | if (_argo0) { | |
6017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetNumberOfAttachments. Expected _wxPyShape_p."); | |
6020 | return NULL; | |
6021 | } | |
6022 | } | |
6023 | { | |
6024 | wxPy_BEGIN_ALLOW_THREADS; | |
6025 | _result = (int )wxPyShape_GetNumberOfAttachments(_arg0); | |
6026 | ||
6027 | wxPy_END_ALLOW_THREADS; | |
6028 | } _resultobj = Py_BuildValue("i",_result); | |
6029 | return _resultobj; | |
6030 | } | |
6031 | ||
6032 | #define wxPyShape_AttachmentIsValid(_swigobj,_swigarg0) (_swigobj->AttachmentIsValid(_swigarg0)) | |
6033 | static PyObject *_wrap_wxPyShape_AttachmentIsValid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6034 | PyObject * _resultobj; | |
6035 | bool _result; | |
6036 | wxPyShape * _arg0; | |
6037 | int _arg1; | |
6038 | PyObject * _argo0 = 0; | |
6039 | char *_kwnames[] = { "self","attachment", NULL }; | |
6040 | ||
6041 | self = self; | |
6042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_AttachmentIsValid",_kwnames,&_argo0,&_arg1)) | |
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_AttachmentIsValid. Expected _wxPyShape_p."); | |
6048 | return NULL; | |
6049 | } | |
6050 | } | |
6051 | { | |
6052 | wxPy_BEGIN_ALLOW_THREADS; | |
6053 | _result = (bool )wxPyShape_AttachmentIsValid(_arg0,_arg1); | |
6054 | ||
6055 | wxPy_END_ALLOW_THREADS; | |
6056 | } _resultobj = Py_BuildValue("i",_result); | |
6057 | return _resultobj; | |
6058 | } | |
6059 | ||
6060 | #define wxPyShape_GetAttachmentPositionEdge(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->GetAttachmentPositionEdge(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6061 | static PyObject *_wrap_wxPyShape_GetAttachmentPositionEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6062 | PyObject * _resultobj; | |
6063 | bool _result; | |
6064 | wxPyShape * _arg0; | |
6065 | int _arg1; | |
6066 | double * _arg2; | |
714d23b4 | 6067 | double temp; |
e91a9dfc | 6068 | double * _arg3; |
714d23b4 | 6069 | double temp0; |
e91a9dfc RD |
6070 | int _arg4 = (int ) 0; |
6071 | int _arg5 = (int ) 1; | |
6072 | wxPyLineShape * _arg6 = (wxPyLineShape *) NULL; | |
6073 | PyObject * _argo0 = 0; | |
e91a9dfc | 6074 | PyObject * _argo6 = 0; |
714d23b4 | 6075 | char *_kwnames[] = { "self","attachment","nth","no_arcs","line", NULL }; |
e91a9dfc RD |
6076 | |
6077 | self = self; | |
714d23b4 RD |
6078 | { |
6079 | _arg2 = &temp; | |
6080 | } | |
6081 | { | |
6082 | _arg3 = &temp0; | |
6083 | } | |
6084 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iiO:wxPyShape_GetAttachmentPositionEdge",_kwnames,&_argo0,&_arg1,&_arg4,&_arg5,&_argo6)) | |
e91a9dfc RD |
6085 | return NULL; |
6086 | if (_argo0) { | |
6087 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6088 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyShape_p."); | |
6090 | return NULL; | |
6091 | } | |
6092 | } | |
e91a9dfc RD |
6093 | if (_argo6) { |
6094 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
6095 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPyLineShape_p")) { | |
6096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyShape_GetAttachmentPositionEdge. Expected _wxPyLineShape_p."); | |
6097 | return NULL; | |
6098 | } | |
6099 | } | |
6100 | { | |
6101 | wxPy_BEGIN_ALLOW_THREADS; | |
6102 | _result = (bool )wxPyShape_GetAttachmentPositionEdge(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6103 | ||
6104 | wxPy_END_ALLOW_THREADS; | |
6105 | } _resultobj = Py_BuildValue("i",_result); | |
714d23b4 RD |
6106 | { |
6107 | PyObject *o; | |
6108 | o = PyFloat_FromDouble((double) (*_arg2)); | |
6109 | _resultobj = t_output_helper(_resultobj, o); | |
6110 | } | |
6111 | { | |
6112 | PyObject *o; | |
6113 | o = PyFloat_FromDouble((double) (*_arg3)); | |
6114 | _resultobj = t_output_helper(_resultobj, o); | |
6115 | } | |
e91a9dfc RD |
6116 | return _resultobj; |
6117 | } | |
6118 | ||
6119 | #define wxPyShape_CalcSimpleAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->CalcSimpleAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6120 | static PyObject *_wrap_wxPyShape_CalcSimpleAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6121 | PyObject * _resultobj; | |
6122 | wxRealPoint * _result; | |
6123 | wxPyShape * _arg0; | |
6124 | wxRealPoint * _arg1; | |
6125 | wxRealPoint * _arg2; | |
6126 | int _arg3; | |
6127 | int _arg4; | |
6128 | wxPyLineShape * _arg5; | |
6129 | PyObject * _argo0 = 0; | |
2348eaee RD |
6130 | wxRealPoint temp; |
6131 | PyObject * _obj1 = 0; | |
6132 | wxRealPoint temp0; | |
6133 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
6134 | PyObject * _argo5 = 0; |
6135 | char *_kwnames[] = { "self","pt1","pt2","nth","noArcs","line", NULL }; | |
6136 | char _ptemp[128]; | |
6137 | ||
6138 | self = self; | |
2348eaee | 6139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOiiO:wxPyShape_CalcSimpleAttachment",_kwnames,&_argo0,&_obj1,&_obj2,&_arg3,&_arg4,&_argo5)) |
e91a9dfc RD |
6140 | return NULL; |
6141 | if (_argo0) { | |
6142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CalcSimpleAttachment. Expected _wxPyShape_p."); | |
6145 | return NULL; | |
6146 | } | |
6147 | } | |
2348eaee RD |
6148 | { |
6149 | _arg1 = &temp; | |
6150 | if (! wxRealPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 6151 | return NULL; |
2348eaee RD |
6152 | } |
6153 | { | |
6154 | _arg2 = &temp0; | |
6155 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6156 | return NULL; |
2348eaee | 6157 | } |
e91a9dfc RD |
6158 | if (_argo5) { |
6159 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
6160 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPyLineShape_p")) { | |
6161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of wxPyShape_CalcSimpleAttachment. Expected _wxPyLineShape_p."); | |
6162 | return NULL; | |
6163 | } | |
6164 | } | |
6165 | { | |
6166 | wxPy_BEGIN_ALLOW_THREADS; | |
6167 | _result = new wxRealPoint (wxPyShape_CalcSimpleAttachment(_arg0,*_arg1,*_arg2,_arg3,_arg4,_arg5)); | |
6168 | ||
6169 | wxPy_END_ALLOW_THREADS; | |
6170 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p"); | |
6171 | _resultobj = Py_BuildValue("s",_ptemp); | |
6172 | return _resultobj; | |
6173 | } | |
6174 | ||
6175 | #define wxPyShape_AttachmentSortTest(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AttachmentSortTest(_swigarg0,_swigarg1,_swigarg2)) | |
6176 | static PyObject *_wrap_wxPyShape_AttachmentSortTest(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6177 | PyObject * _resultobj; | |
6178 | bool _result; | |
6179 | wxPyShape * _arg0; | |
6180 | int _arg1; | |
6181 | wxRealPoint * _arg2; | |
6182 | wxRealPoint * _arg3; | |
6183 | PyObject * _argo0 = 0; | |
2348eaee RD |
6184 | wxRealPoint temp; |
6185 | PyObject * _obj2 = 0; | |
6186 | wxRealPoint temp0; | |
6187 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
6188 | char *_kwnames[] = { "self","attachmentPoint","pt1","pt2", NULL }; |
6189 | ||
6190 | self = self; | |
2348eaee | 6191 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyShape_AttachmentSortTest",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3)) |
e91a9dfc RD |
6192 | return NULL; |
6193 | if (_argo0) { | |
6194 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6195 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6196 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_AttachmentSortTest. Expected _wxPyShape_p."); | |
6197 | return NULL; | |
6198 | } | |
6199 | } | |
2348eaee RD |
6200 | { |
6201 | _arg2 = &temp; | |
6202 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6203 | return NULL; |
2348eaee RD |
6204 | } |
6205 | { | |
6206 | _arg3 = &temp0; | |
6207 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6208 | return NULL; |
2348eaee | 6209 | } |
e91a9dfc RD |
6210 | { |
6211 | wxPy_BEGIN_ALLOW_THREADS; | |
6212 | _result = (bool )wxPyShape_AttachmentSortTest(_arg0,_arg1,*_arg2,*_arg3); | |
6213 | ||
6214 | wxPy_END_ALLOW_THREADS; | |
6215 | } _resultobj = Py_BuildValue("i",_result); | |
6216 | return _resultobj; | |
6217 | } | |
6218 | ||
6219 | #define wxPyShape_EraseLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->EraseLinks(_swigarg0,_swigarg1,_swigarg2)) | |
6220 | static PyObject *_wrap_wxPyShape_EraseLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6221 | PyObject * _resultobj; | |
6222 | wxPyShape * _arg0; | |
6223 | wxDC * _arg1; | |
6224 | int _arg2 = (int ) -1; | |
6225 | bool _arg3 = (bool ) FALSE; | |
6226 | PyObject * _argo0 = 0; | |
6227 | PyObject * _argo1 = 0; | |
6228 | int tempbool3 = (int) FALSE; | |
6229 | char *_kwnames[] = { "self","dc","attachment","recurse", NULL }; | |
6230 | ||
6231 | self = self; | |
6232 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_EraseLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3)) | |
6233 | return NULL; | |
6234 | if (_argo0) { | |
6235 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6236 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_EraseLinks. Expected _wxPyShape_p."); | |
6238 | return NULL; | |
6239 | } | |
6240 | } | |
6241 | if (_argo1) { | |
6242 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6243 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_EraseLinks. Expected _wxDC_p."); | |
6245 | return NULL; | |
6246 | } | |
6247 | } | |
6248 | _arg3 = (bool ) tempbool3; | |
6249 | { | |
6250 | wxPy_BEGIN_ALLOW_THREADS; | |
6251 | wxPyShape_EraseLinks(_arg0,*_arg1,_arg2,_arg3); | |
6252 | ||
6253 | wxPy_END_ALLOW_THREADS; | |
6254 | } Py_INCREF(Py_None); | |
6255 | _resultobj = Py_None; | |
6256 | return _resultobj; | |
6257 | } | |
6258 | ||
6259 | #define wxPyShape_DrawLinks(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawLinks(_swigarg0,_swigarg1,_swigarg2)) | |
6260 | static PyObject *_wrap_wxPyShape_DrawLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6261 | PyObject * _resultobj; | |
6262 | wxPyShape * _arg0; | |
6263 | wxDC * _arg1; | |
6264 | int _arg2 = (int ) -1; | |
6265 | bool _arg3 = (bool ) FALSE; | |
6266 | PyObject * _argo0 = 0; | |
6267 | PyObject * _argo1 = 0; | |
6268 | int tempbool3 = (int) FALSE; | |
6269 | char *_kwnames[] = { "self","dc","attachment","recurse", NULL }; | |
6270 | ||
6271 | self = self; | |
6272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|ii:wxPyShape_DrawLinks",_kwnames,&_argo0,&_argo1,&_arg2,&tempbool3)) | |
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_DrawLinks. 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_DrawLinks. Expected _wxDC_p."); | |
6285 | return NULL; | |
6286 | } | |
6287 | } | |
6288 | _arg3 = (bool ) tempbool3; | |
6289 | { | |
6290 | wxPy_BEGIN_ALLOW_THREADS; | |
6291 | wxPyShape_DrawLinks(_arg0,*_arg1,_arg2,_arg3); | |
6292 | ||
6293 | wxPy_END_ALLOW_THREADS; | |
6294 | } Py_INCREF(Py_None); | |
6295 | _resultobj = Py_None; | |
6296 | return _resultobj; | |
6297 | } | |
6298 | ||
6299 | #define wxPyShape_MoveLineToNewAttachment(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->MoveLineToNewAttachment(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6300 | static PyObject *_wrap_wxPyShape_MoveLineToNewAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6301 | PyObject * _resultobj; | |
6302 | bool _result; | |
6303 | wxPyShape * _arg0; | |
6304 | wxDC * _arg1; | |
6305 | wxPyLineShape * _arg2; | |
6306 | double _arg3; | |
6307 | double _arg4; | |
6308 | PyObject * _argo0 = 0; | |
6309 | PyObject * _argo1 = 0; | |
6310 | PyObject * _argo2 = 0; | |
6311 | char *_kwnames[] = { "self","dc","to_move","x","y", NULL }; | |
6312 | ||
6313 | self = self; | |
6314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyShape_MoveLineToNewAttachment",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
6315 | return NULL; | |
6316 | if (_argo0) { | |
6317 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6318 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyShape_p."); | |
6320 | return NULL; | |
6321 | } | |
6322 | } | |
6323 | if (_argo1) { | |
6324 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6325 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_MoveLineToNewAttachment. Expected _wxDC_p."); | |
6327 | return NULL; | |
6328 | } | |
6329 | } | |
6330 | if (_argo2) { | |
6331 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
6332 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyLineShape_p")) { | |
6333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyShape_MoveLineToNewAttachment. Expected _wxPyLineShape_p."); | |
6334 | return NULL; | |
6335 | } | |
6336 | } | |
6337 | { | |
6338 | wxPy_BEGIN_ALLOW_THREADS; | |
6339 | _result = (bool )wxPyShape_MoveLineToNewAttachment(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
6340 | ||
6341 | wxPy_END_ALLOW_THREADS; | |
6342 | } _resultobj = Py_BuildValue("i",_result); | |
6343 | return _resultobj; | |
6344 | } | |
6345 | ||
6346 | static void wxPyShape_ApplyAttachmentOrdering(wxPyShape *self,PyObject * linesToSort) { | |
99ab9f3b | 6347 | wxList* list = wxPy_wxListHelper(linesToSort, "_wxPyLineShape_p"); |
e91a9dfc RD |
6348 | self->ApplyAttachmentOrdering(*list); |
6349 | delete list; | |
6350 | } | |
6351 | static PyObject *_wrap_wxPyShape_ApplyAttachmentOrdering(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6352 | PyObject * _resultobj; | |
6353 | wxPyShape * _arg0; | |
6354 | PyObject * _arg1; | |
6355 | PyObject * _argo0 = 0; | |
6356 | PyObject * _obj1 = 0; | |
6357 | char *_kwnames[] = { "self","linesToSort", NULL }; | |
6358 | ||
6359 | self = self; | |
6360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ApplyAttachmentOrdering",_kwnames,&_argo0,&_obj1)) | |
6361 | return NULL; | |
6362 | if (_argo0) { | |
6363 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6364 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6365 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ApplyAttachmentOrdering. Expected _wxPyShape_p."); | |
6366 | return NULL; | |
6367 | } | |
6368 | } | |
6369 | { | |
6370 | _arg1 = _obj1; | |
6371 | } | |
6372 | { | |
6373 | wxPy_BEGIN_ALLOW_THREADS; | |
6374 | wxPyShape_ApplyAttachmentOrdering(_arg0,_arg1); | |
6375 | ||
6376 | wxPy_END_ALLOW_THREADS; | |
6377 | } Py_INCREF(Py_None); | |
6378 | _resultobj = Py_None; | |
6379 | return _resultobj; | |
6380 | } | |
6381 | ||
6382 | #define wxPyShape_GetBranchingAttachmentRoot(_swigobj,_swigarg0) (_swigobj->GetBranchingAttachmentRoot(_swigarg0)) | |
6383 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentRoot(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6384 | PyObject * _resultobj; | |
6385 | wxRealPoint * _result; | |
6386 | wxPyShape * _arg0; | |
6387 | int _arg1; | |
6388 | PyObject * _argo0 = 0; | |
6389 | char *_kwnames[] = { "self","attachment", NULL }; | |
6390 | char _ptemp[128]; | |
6391 | ||
6392 | self = self; | |
6393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetBranchingAttachmentRoot",_kwnames,&_argo0,&_arg1)) | |
6394 | return NULL; | |
6395 | if (_argo0) { | |
6396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentRoot. Expected _wxPyShape_p."); | |
6399 | return NULL; | |
6400 | } | |
6401 | } | |
6402 | { | |
6403 | wxPy_BEGIN_ALLOW_THREADS; | |
6404 | _result = new wxRealPoint (wxPyShape_GetBranchingAttachmentRoot(_arg0,_arg1)); | |
6405 | ||
6406 | wxPy_END_ALLOW_THREADS; | |
6407 | } SWIG_MakePtr(_ptemp, (void *) _result,"_wxRealPoint_p"); | |
6408 | _resultobj = Py_BuildValue("s",_ptemp); | |
6409 | return _resultobj; | |
6410 | } | |
6411 | ||
6412 | #define wxPyShape_GetBranchingAttachmentInfo(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->GetBranchingAttachmentInfo(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6413 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6414 | PyObject * _resultobj; | |
6415 | bool _result; | |
6416 | wxPyShape * _arg0; | |
6417 | int _arg1; | |
6418 | wxRealPoint * _arg2; | |
6419 | wxRealPoint * _arg3; | |
6420 | wxRealPoint * _arg4; | |
6421 | wxRealPoint * _arg5; | |
6422 | PyObject * _argo0 = 0; | |
2348eaee RD |
6423 | wxRealPoint temp; |
6424 | PyObject * _obj2 = 0; | |
6425 | wxRealPoint temp0; | |
6426 | PyObject * _obj3 = 0; | |
6427 | wxRealPoint temp1; | |
6428 | PyObject * _obj4 = 0; | |
6429 | wxRealPoint temp2; | |
6430 | PyObject * _obj5 = 0; | |
e91a9dfc RD |
6431 | char *_kwnames[] = { "self","attachment","root","neck","shoulder1","shoulder2", NULL }; |
6432 | ||
6433 | self = self; | |
2348eaee | 6434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOOOO:wxPyShape_GetBranchingAttachmentInfo",_kwnames,&_argo0,&_arg1,&_obj2,&_obj3,&_obj4,&_obj5)) |
e91a9dfc RD |
6435 | return NULL; |
6436 | if (_argo0) { | |
6437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentInfo. Expected _wxPyShape_p."); | |
6440 | return NULL; | |
6441 | } | |
6442 | } | |
2348eaee RD |
6443 | { |
6444 | _arg2 = &temp; | |
6445 | if (! wxRealPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 6446 | return NULL; |
2348eaee RD |
6447 | } |
6448 | { | |
6449 | _arg3 = &temp0; | |
6450 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6451 | return NULL; |
2348eaee RD |
6452 | } |
6453 | { | |
6454 | _arg4 = &temp1; | |
6455 | if (! wxRealPoint_helper(_obj4, &_arg4)) | |
e91a9dfc | 6456 | return NULL; |
2348eaee RD |
6457 | } |
6458 | { | |
6459 | _arg5 = &temp2; | |
6460 | if (! wxRealPoint_helper(_obj5, &_arg5)) | |
e91a9dfc | 6461 | return NULL; |
2348eaee | 6462 | } |
e91a9dfc RD |
6463 | { |
6464 | wxPy_BEGIN_ALLOW_THREADS; | |
6465 | _result = (bool )wxPyShape_GetBranchingAttachmentInfo(_arg0,_arg1,*_arg2,*_arg3,*_arg4,*_arg5); | |
6466 | ||
6467 | wxPy_END_ALLOW_THREADS; | |
6468 | } _resultobj = Py_BuildValue("i",_result); | |
6469 | return _resultobj; | |
6470 | } | |
6471 | ||
6472 | #define wxPyShape_GetBranchingAttachmentPoint(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBranchingAttachmentPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6473 | static PyObject *_wrap_wxPyShape_GetBranchingAttachmentPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6474 | PyObject * _resultobj; | |
6475 | bool _result; | |
6476 | wxPyShape * _arg0; | |
6477 | int _arg1; | |
6478 | int _arg2; | |
6479 | wxRealPoint * _arg3; | |
6480 | wxRealPoint * _arg4; | |
6481 | PyObject * _argo0 = 0; | |
2348eaee RD |
6482 | wxRealPoint temp; |
6483 | PyObject * _obj3 = 0; | |
6484 | wxRealPoint temp0; | |
6485 | PyObject * _obj4 = 0; | |
e91a9dfc RD |
6486 | char *_kwnames[] = { "self","attachment","n","attachmentPoint","stemPoint", NULL }; |
6487 | ||
6488 | self = self; | |
2348eaee | 6489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiiOO:wxPyShape_GetBranchingAttachmentPoint",_kwnames,&_argo0,&_arg1,&_arg2,&_obj3,&_obj4)) |
e91a9dfc RD |
6490 | return NULL; |
6491 | if (_argo0) { | |
6492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchingAttachmentPoint. Expected _wxPyShape_p."); | |
6495 | return NULL; | |
6496 | } | |
6497 | } | |
2348eaee RD |
6498 | { |
6499 | _arg3 = &temp; | |
6500 | if (! wxRealPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 6501 | return NULL; |
2348eaee RD |
6502 | } |
6503 | { | |
6504 | _arg4 = &temp0; | |
6505 | if (! wxRealPoint_helper(_obj4, &_arg4)) | |
e91a9dfc | 6506 | return NULL; |
2348eaee | 6507 | } |
e91a9dfc RD |
6508 | { |
6509 | wxPy_BEGIN_ALLOW_THREADS; | |
6510 | _result = (bool )wxPyShape_GetBranchingAttachmentPoint(_arg0,_arg1,_arg2,*_arg3,*_arg4); | |
6511 | ||
6512 | wxPy_END_ALLOW_THREADS; | |
6513 | } _resultobj = Py_BuildValue("i",_result); | |
6514 | return _resultobj; | |
6515 | } | |
6516 | ||
6517 | #define wxPyShape_GetAttachmentLineCount(_swigobj,_swigarg0) (_swigobj->GetAttachmentLineCount(_swigarg0)) | |
6518 | static PyObject *_wrap_wxPyShape_GetAttachmentLineCount(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6519 | PyObject * _resultobj; | |
6520 | int _result; | |
6521 | wxPyShape * _arg0; | |
6522 | int _arg1; | |
6523 | PyObject * _argo0 = 0; | |
6524 | char *_kwnames[] = { "self","attachment", NULL }; | |
6525 | ||
6526 | self = self; | |
6527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_GetAttachmentLineCount",_kwnames,&_argo0,&_arg1)) | |
6528 | return NULL; | |
6529 | if (_argo0) { | |
6530 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6531 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetAttachmentLineCount. Expected _wxPyShape_p."); | |
6533 | return NULL; | |
6534 | } | |
6535 | } | |
6536 | { | |
6537 | wxPy_BEGIN_ALLOW_THREADS; | |
6538 | _result = (int )wxPyShape_GetAttachmentLineCount(_arg0,_arg1); | |
6539 | ||
6540 | wxPy_END_ALLOW_THREADS; | |
6541 | } _resultobj = Py_BuildValue("i",_result); | |
6542 | return _resultobj; | |
6543 | } | |
6544 | ||
6545 | #define wxPyShape_SetBranchNeckLength(_swigobj,_swigarg0) (_swigobj->SetBranchNeckLength(_swigarg0)) | |
6546 | static PyObject *_wrap_wxPyShape_SetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6547 | PyObject * _resultobj; | |
6548 | wxPyShape * _arg0; | |
6549 | int _arg1; | |
6550 | PyObject * _argo0 = 0; | |
6551 | char *_kwnames[] = { "self","len", NULL }; | |
6552 | ||
6553 | self = self; | |
6554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchNeckLength",_kwnames,&_argo0,&_arg1)) | |
6555 | return NULL; | |
6556 | if (_argo0) { | |
6557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchNeckLength. Expected _wxPyShape_p."); | |
6560 | return NULL; | |
6561 | } | |
6562 | } | |
6563 | { | |
6564 | wxPy_BEGIN_ALLOW_THREADS; | |
6565 | wxPyShape_SetBranchNeckLength(_arg0,_arg1); | |
6566 | ||
6567 | wxPy_END_ALLOW_THREADS; | |
6568 | } Py_INCREF(Py_None); | |
6569 | _resultobj = Py_None; | |
6570 | return _resultobj; | |
6571 | } | |
6572 | ||
6573 | #define wxPyShape_GetBranchNeckLength(_swigobj) (_swigobj->GetBranchNeckLength()) | |
6574 | static PyObject *_wrap_wxPyShape_GetBranchNeckLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6575 | PyObject * _resultobj; | |
6576 | int _result; | |
6577 | wxPyShape * _arg0; | |
6578 | PyObject * _argo0 = 0; | |
6579 | char *_kwnames[] = { "self", NULL }; | |
6580 | ||
6581 | self = self; | |
6582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchNeckLength",_kwnames,&_argo0)) | |
6583 | return NULL; | |
6584 | if (_argo0) { | |
6585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchNeckLength. Expected _wxPyShape_p."); | |
6588 | return NULL; | |
6589 | } | |
6590 | } | |
6591 | { | |
6592 | wxPy_BEGIN_ALLOW_THREADS; | |
6593 | _result = (int )wxPyShape_GetBranchNeckLength(_arg0); | |
6594 | ||
6595 | wxPy_END_ALLOW_THREADS; | |
6596 | } _resultobj = Py_BuildValue("i",_result); | |
6597 | return _resultobj; | |
6598 | } | |
6599 | ||
6600 | #define wxPyShape_SetBranchStemLength(_swigobj,_swigarg0) (_swigobj->SetBranchStemLength(_swigarg0)) | |
6601 | static PyObject *_wrap_wxPyShape_SetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6602 | PyObject * _resultobj; | |
6603 | wxPyShape * _arg0; | |
6604 | int _arg1; | |
6605 | PyObject * _argo0 = 0; | |
6606 | char *_kwnames[] = { "self","len", NULL }; | |
6607 | ||
6608 | self = self; | |
6609 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchStemLength",_kwnames,&_argo0,&_arg1)) | |
6610 | return NULL; | |
6611 | if (_argo0) { | |
6612 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6613 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStemLength. Expected _wxPyShape_p."); | |
6615 | return NULL; | |
6616 | } | |
6617 | } | |
6618 | { | |
6619 | wxPy_BEGIN_ALLOW_THREADS; | |
6620 | wxPyShape_SetBranchStemLength(_arg0,_arg1); | |
6621 | ||
6622 | wxPy_END_ALLOW_THREADS; | |
6623 | } Py_INCREF(Py_None); | |
6624 | _resultobj = Py_None; | |
6625 | return _resultobj; | |
6626 | } | |
6627 | ||
6628 | #define wxPyShape_GetBranchStemLength(_swigobj) (_swigobj->GetBranchStemLength()) | |
6629 | static PyObject *_wrap_wxPyShape_GetBranchStemLength(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6630 | PyObject * _resultobj; | |
6631 | int _result; | |
6632 | wxPyShape * _arg0; | |
6633 | PyObject * _argo0 = 0; | |
6634 | char *_kwnames[] = { "self", NULL }; | |
6635 | ||
6636 | self = self; | |
6637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStemLength",_kwnames,&_argo0)) | |
6638 | return NULL; | |
6639 | if (_argo0) { | |
6640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStemLength. Expected _wxPyShape_p."); | |
6643 | return NULL; | |
6644 | } | |
6645 | } | |
6646 | { | |
6647 | wxPy_BEGIN_ALLOW_THREADS; | |
6648 | _result = (int )wxPyShape_GetBranchStemLength(_arg0); | |
6649 | ||
6650 | wxPy_END_ALLOW_THREADS; | |
6651 | } _resultobj = Py_BuildValue("i",_result); | |
6652 | return _resultobj; | |
6653 | } | |
6654 | ||
6655 | #define wxPyShape_SetBranchSpacing(_swigobj,_swigarg0) (_swigobj->SetBranchSpacing(_swigarg0)) | |
6656 | static PyObject *_wrap_wxPyShape_SetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6657 | PyObject * _resultobj; | |
6658 | wxPyShape * _arg0; | |
6659 | int _arg1; | |
6660 | PyObject * _argo0 = 0; | |
6661 | char *_kwnames[] = { "self","len", NULL }; | |
6662 | ||
6663 | self = self; | |
6664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_SetBranchSpacing",_kwnames,&_argo0,&_arg1)) | |
6665 | return NULL; | |
6666 | if (_argo0) { | |
6667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchSpacing. Expected _wxPyShape_p."); | |
6670 | return NULL; | |
6671 | } | |
6672 | } | |
6673 | { | |
6674 | wxPy_BEGIN_ALLOW_THREADS; | |
6675 | wxPyShape_SetBranchSpacing(_arg0,_arg1); | |
6676 | ||
6677 | wxPy_END_ALLOW_THREADS; | |
6678 | } Py_INCREF(Py_None); | |
6679 | _resultobj = Py_None; | |
6680 | return _resultobj; | |
6681 | } | |
6682 | ||
6683 | #define wxPyShape_GetBranchSpacing(_swigobj) (_swigobj->GetBranchSpacing()) | |
6684 | static PyObject *_wrap_wxPyShape_GetBranchSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6685 | PyObject * _resultobj; | |
6686 | int _result; | |
6687 | wxPyShape * _arg0; | |
6688 | PyObject * _argo0 = 0; | |
6689 | char *_kwnames[] = { "self", NULL }; | |
6690 | ||
6691 | self = self; | |
6692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchSpacing",_kwnames,&_argo0)) | |
6693 | return NULL; | |
6694 | if (_argo0) { | |
6695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchSpacing. Expected _wxPyShape_p."); | |
6698 | return NULL; | |
6699 | } | |
6700 | } | |
6701 | { | |
6702 | wxPy_BEGIN_ALLOW_THREADS; | |
6703 | _result = (int )wxPyShape_GetBranchSpacing(_arg0); | |
6704 | ||
6705 | wxPy_END_ALLOW_THREADS; | |
6706 | } _resultobj = Py_BuildValue("i",_result); | |
6707 | return _resultobj; | |
6708 | } | |
6709 | ||
6710 | #define wxPyShape_SetBranchStyle(_swigobj,_swigarg0) (_swigobj->SetBranchStyle(_swigarg0)) | |
6711 | static PyObject *_wrap_wxPyShape_SetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6712 | PyObject * _resultobj; | |
6713 | wxPyShape * _arg0; | |
6714 | long _arg1; | |
6715 | PyObject * _argo0 = 0; | |
6716 | char *_kwnames[] = { "self","style", NULL }; | |
6717 | ||
6718 | self = self; | |
6719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyShape_SetBranchStyle",_kwnames,&_argo0,&_arg1)) | |
6720 | return NULL; | |
6721 | if (_argo0) { | |
6722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_SetBranchStyle. Expected _wxPyShape_p."); | |
6725 | return NULL; | |
6726 | } | |
6727 | } | |
6728 | { | |
6729 | wxPy_BEGIN_ALLOW_THREADS; | |
6730 | wxPyShape_SetBranchStyle(_arg0,_arg1); | |
6731 | ||
6732 | wxPy_END_ALLOW_THREADS; | |
6733 | } Py_INCREF(Py_None); | |
6734 | _resultobj = Py_None; | |
6735 | return _resultobj; | |
6736 | } | |
6737 | ||
6738 | #define wxPyShape_GetBranchStyle(_swigobj) (_swigobj->GetBranchStyle()) | |
6739 | static PyObject *_wrap_wxPyShape_GetBranchStyle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6740 | PyObject * _resultobj; | |
6741 | long _result; | |
6742 | wxPyShape * _arg0; | |
6743 | PyObject * _argo0 = 0; | |
6744 | char *_kwnames[] = { "self", NULL }; | |
6745 | ||
6746 | self = self; | |
6747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetBranchStyle",_kwnames,&_argo0)) | |
6748 | return NULL; | |
6749 | if (_argo0) { | |
6750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetBranchStyle. Expected _wxPyShape_p."); | |
6753 | return NULL; | |
6754 | } | |
6755 | } | |
6756 | { | |
6757 | wxPy_BEGIN_ALLOW_THREADS; | |
6758 | _result = (long )wxPyShape_GetBranchStyle(_arg0); | |
6759 | ||
6760 | wxPy_END_ALLOW_THREADS; | |
6761 | } _resultobj = Py_BuildValue("l",_result); | |
6762 | return _resultobj; | |
6763 | } | |
6764 | ||
6765 | #define wxPyShape_PhysicalToLogicalAttachment(_swigobj,_swigarg0) (_swigobj->PhysicalToLogicalAttachment(_swigarg0)) | |
6766 | static PyObject *_wrap_wxPyShape_PhysicalToLogicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6767 | PyObject * _resultobj; | |
6768 | int _result; | |
6769 | wxPyShape * _arg0; | |
6770 | int _arg1; | |
6771 | PyObject * _argo0 = 0; | |
6772 | char *_kwnames[] = { "self","physicalAttachment", NULL }; | |
6773 | ||
6774 | self = self; | |
6775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_PhysicalToLogicalAttachment",_kwnames,&_argo0,&_arg1)) | |
6776 | return NULL; | |
6777 | if (_argo0) { | |
6778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_PhysicalToLogicalAttachment. Expected _wxPyShape_p."); | |
6781 | return NULL; | |
6782 | } | |
6783 | } | |
6784 | { | |
6785 | wxPy_BEGIN_ALLOW_THREADS; | |
6786 | _result = (int )wxPyShape_PhysicalToLogicalAttachment(_arg0,_arg1); | |
6787 | ||
6788 | wxPy_END_ALLOW_THREADS; | |
6789 | } _resultobj = Py_BuildValue("i",_result); | |
6790 | return _resultobj; | |
6791 | } | |
6792 | ||
6793 | #define wxPyShape_LogicalToPhysicalAttachment(_swigobj,_swigarg0) (_swigobj->LogicalToPhysicalAttachment(_swigarg0)) | |
6794 | static PyObject *_wrap_wxPyShape_LogicalToPhysicalAttachment(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6795 | PyObject * _resultobj; | |
6796 | int _result; | |
6797 | wxPyShape * _arg0; | |
6798 | int _arg1; | |
6799 | PyObject * _argo0 = 0; | |
6800 | char *_kwnames[] = { "self","logicalAttachment", NULL }; | |
6801 | ||
6802 | self = self; | |
6803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyShape_LogicalToPhysicalAttachment",_kwnames,&_argo0,&_arg1)) | |
6804 | return NULL; | |
6805 | if (_argo0) { | |
6806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_LogicalToPhysicalAttachment. Expected _wxPyShape_p."); | |
6809 | return NULL; | |
6810 | } | |
6811 | } | |
6812 | { | |
6813 | wxPy_BEGIN_ALLOW_THREADS; | |
6814 | _result = (int )wxPyShape_LogicalToPhysicalAttachment(_arg0,_arg1); | |
6815 | ||
6816 | wxPy_END_ALLOW_THREADS; | |
6817 | } _resultobj = Py_BuildValue("i",_result); | |
6818 | return _resultobj; | |
6819 | } | |
6820 | ||
6821 | #define wxPyShape_Draggable(_swigobj) (_swigobj->Draggable()) | |
6822 | static PyObject *_wrap_wxPyShape_Draggable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6823 | PyObject * _resultobj; | |
6824 | bool _result; | |
6825 | wxPyShape * _arg0; | |
6826 | PyObject * _argo0 = 0; | |
6827 | char *_kwnames[] = { "self", NULL }; | |
6828 | ||
6829 | self = self; | |
6830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_Draggable",_kwnames,&_argo0)) | |
6831 | return NULL; | |
6832 | if (_argo0) { | |
6833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Draggable. Expected _wxPyShape_p."); | |
6836 | return NULL; | |
6837 | } | |
6838 | } | |
6839 | { | |
6840 | wxPy_BEGIN_ALLOW_THREADS; | |
6841 | _result = (bool )wxPyShape_Draggable(_arg0); | |
6842 | ||
6843 | wxPy_END_ALLOW_THREADS; | |
6844 | } _resultobj = Py_BuildValue("i",_result); | |
6845 | return _resultobj; | |
6846 | } | |
6847 | ||
6848 | #define wxPyShape_HasDescendant(_swigobj,_swigarg0) (_swigobj->HasDescendant(_swigarg0)) | |
6849 | static PyObject *_wrap_wxPyShape_HasDescendant(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6850 | PyObject * _resultobj; | |
6851 | bool _result; | |
6852 | wxPyShape * _arg0; | |
6853 | wxPyShape * _arg1; | |
6854 | PyObject * _argo0 = 0; | |
6855 | PyObject * _argo1 = 0; | |
6856 | char *_kwnames[] = { "self","image", NULL }; | |
6857 | ||
6858 | self = self; | |
6859 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_HasDescendant",_kwnames,&_argo0,&_argo1)) | |
6860 | return NULL; | |
6861 | if (_argo0) { | |
6862 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6863 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6864 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_HasDescendant. Expected _wxPyShape_p."); | |
6865 | return NULL; | |
6866 | } | |
6867 | } | |
6868 | if (_argo1) { | |
6869 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6870 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_HasDescendant. Expected _wxPyShape_p."); | |
6872 | return NULL; | |
6873 | } | |
6874 | } | |
6875 | { | |
6876 | wxPy_BEGIN_ALLOW_THREADS; | |
6877 | _result = (bool )wxPyShape_HasDescendant(_arg0,_arg1); | |
6878 | ||
6879 | wxPy_END_ALLOW_THREADS; | |
6880 | } _resultobj = Py_BuildValue("i",_result); | |
6881 | return _resultobj; | |
6882 | } | |
6883 | ||
6884 | #define wxPyShape_CreateNewCopy(_swigobj,_swigarg0,_swigarg1) (_swigobj->CreateNewCopy(_swigarg0,_swigarg1)) | |
6885 | static PyObject *_wrap_wxPyShape_CreateNewCopy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6886 | PyObject * _resultobj; | |
6887 | wxPyShape * _result; | |
6888 | wxPyShape * _arg0; | |
6889 | bool _arg1 = (bool ) TRUE; | |
6890 | bool _arg2 = (bool ) TRUE; | |
6891 | PyObject * _argo0 = 0; | |
6892 | int tempbool1 = (int) TRUE; | |
6893 | int tempbool2 = (int) TRUE; | |
6894 | char *_kwnames[] = { "self","resetMapping","recompute", NULL }; | |
6895 | char _ptemp[128]; | |
6896 | ||
6897 | self = self; | |
6898 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|ii:wxPyShape_CreateNewCopy",_kwnames,&_argo0,&tempbool1,&tempbool2)) | |
6899 | return NULL; | |
6900 | if (_argo0) { | |
6901 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6902 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CreateNewCopy. Expected _wxPyShape_p."); | |
6904 | return NULL; | |
6905 | } | |
6906 | } | |
6907 | _arg1 = (bool ) tempbool1; | |
6908 | _arg2 = (bool ) tempbool2; | |
6909 | { | |
6910 | wxPy_BEGIN_ALLOW_THREADS; | |
6911 | _result = (wxPyShape *)wxPyShape_CreateNewCopy(_arg0,_arg1,_arg2); | |
6912 | ||
6913 | wxPy_END_ALLOW_THREADS; | |
6914 | } if (_result) { | |
6915 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
6916 | _resultobj = Py_BuildValue("s",_ptemp); | |
6917 | } else { | |
6918 | Py_INCREF(Py_None); | |
6919 | _resultobj = Py_None; | |
6920 | } | |
6921 | return _resultobj; | |
6922 | } | |
6923 | ||
6924 | #define wxPyShape_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0)) | |
6925 | static PyObject *_wrap_wxPyShape_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6926 | PyObject * _resultobj; | |
6927 | wxPyShape * _arg0; | |
6928 | wxPyShape * _arg1; | |
6929 | PyObject * _argo0 = 0; | |
6930 | PyObject * _argo1 = 0; | |
6931 | char *_kwnames[] = { "self","copy", NULL }; | |
6932 | ||
6933 | self = self; | |
6934 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Copy",_kwnames,&_argo0,&_argo1)) | |
6935 | return NULL; | |
6936 | if (_argo0) { | |
6937 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6938 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6939 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Copy. Expected _wxPyShape_p."); | |
6940 | return NULL; | |
6941 | } | |
6942 | } | |
6943 | if (_argo1) { | |
6944 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6945 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Copy. Expected _wxPyShape_p."); | |
6947 | return NULL; | |
6948 | } | |
6949 | } | |
6950 | { | |
6951 | wxPy_BEGIN_ALLOW_THREADS; | |
6952 | wxPyShape_Copy(_arg0,*_arg1); | |
6953 | ||
6954 | wxPy_END_ALLOW_THREADS; | |
6955 | } Py_INCREF(Py_None); | |
6956 | _resultobj = Py_None; | |
6957 | return _resultobj; | |
6958 | } | |
6959 | ||
6960 | #define wxPyShape_CopyWithHandler(_swigobj,_swigarg0) (_swigobj->CopyWithHandler(_swigarg0)) | |
6961 | static PyObject *_wrap_wxPyShape_CopyWithHandler(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6962 | PyObject * _resultobj; | |
6963 | wxPyShape * _arg0; | |
6964 | wxPyShape * _arg1; | |
6965 | PyObject * _argo0 = 0; | |
6966 | PyObject * _argo1 = 0; | |
6967 | char *_kwnames[] = { "self","copy", NULL }; | |
6968 | ||
6969 | self = self; | |
6970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_CopyWithHandler",_kwnames,&_argo0,&_argo1)) | |
6971 | return NULL; | |
6972 | if (_argo0) { | |
6973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
6975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p."); | |
6976 | return NULL; | |
6977 | } | |
6978 | } | |
6979 | if (_argo1) { | |
6980 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6981 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
6982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_CopyWithHandler. Expected _wxPyShape_p."); | |
6983 | return NULL; | |
6984 | } | |
6985 | } | |
6986 | { | |
6987 | wxPy_BEGIN_ALLOW_THREADS; | |
6988 | wxPyShape_CopyWithHandler(_arg0,*_arg1); | |
6989 | ||
6990 | wxPy_END_ALLOW_THREADS; | |
6991 | } Py_INCREF(Py_None); | |
6992 | _resultobj = Py_None; | |
6993 | return _resultobj; | |
6994 | } | |
6995 | ||
6996 | #define wxPyShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
6997 | static PyObject *_wrap_wxPyShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6998 | PyObject * _resultobj; | |
6999 | wxPyShape * _arg0; | |
7000 | double _arg1; | |
7001 | double _arg2; | |
7002 | double _arg3; | |
7003 | PyObject * _argo0 = 0; | |
7004 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
7005 | ||
7006 | self = self; | |
7007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
7008 | return NULL; | |
7009 | if (_argo0) { | |
7010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Rotate. Expected _wxPyShape_p."); | |
7013 | return NULL; | |
7014 | } | |
7015 | } | |
7016 | { | |
7017 | wxPy_BEGIN_ALLOW_THREADS; | |
7018 | wxPyShape_Rotate(_arg0,_arg1,_arg2,_arg3); | |
7019 | ||
7020 | wxPy_END_ALLOW_THREADS; | |
7021 | } Py_INCREF(Py_None); | |
7022 | _resultobj = Py_None; | |
7023 | return _resultobj; | |
7024 | } | |
7025 | ||
7026 | #define wxPyShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
7027 | static PyObject *_wrap_wxPyShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7028 | PyObject * _resultobj; | |
7029 | double _result; | |
7030 | wxPyShape * _arg0; | |
7031 | PyObject * _argo0 = 0; | |
7032 | char *_kwnames[] = { "self", NULL }; | |
7033 | ||
7034 | self = self; | |
7035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_GetRotation",_kwnames,&_argo0)) | |
7036 | return NULL; | |
7037 | if (_argo0) { | |
7038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_GetRotation. Expected _wxPyShape_p."); | |
7041 | return NULL; | |
7042 | } | |
7043 | } | |
7044 | { | |
7045 | wxPy_BEGIN_ALLOW_THREADS; | |
7046 | _result = (double )wxPyShape_GetRotation(_arg0); | |
7047 | ||
7048 | wxPy_END_ALLOW_THREADS; | |
7049 | } _resultobj = Py_BuildValue("d",_result); | |
7050 | return _resultobj; | |
7051 | } | |
7052 | ||
7053 | #define wxPyShape_ClearAttachments(_swigobj) (_swigobj->ClearAttachments()) | |
7054 | static PyObject *_wrap_wxPyShape_ClearAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7055 | PyObject * _resultobj; | |
7056 | wxPyShape * _arg0; | |
7057 | PyObject * _argo0 = 0; | |
7058 | char *_kwnames[] = { "self", NULL }; | |
7059 | ||
7060 | self = self; | |
7061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_ClearAttachments",_kwnames,&_argo0)) | |
7062 | return NULL; | |
7063 | if (_argo0) { | |
7064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearAttachments. Expected _wxPyShape_p."); | |
7067 | return NULL; | |
7068 | } | |
7069 | } | |
7070 | { | |
7071 | wxPy_BEGIN_ALLOW_THREADS; | |
7072 | wxPyShape_ClearAttachments(_arg0); | |
7073 | ||
7074 | wxPy_END_ALLOW_THREADS; | |
7075 | } Py_INCREF(Py_None); | |
7076 | _resultobj = Py_None; | |
7077 | return _resultobj; | |
7078 | } | |
7079 | ||
7080 | #define wxPyShape_Recentre(_swigobj,_swigarg0) (_swigobj->Recentre(_swigarg0)) | |
7081 | static PyObject *_wrap_wxPyShape_Recentre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7082 | PyObject * _resultobj; | |
7083 | wxPyShape * _arg0; | |
7084 | wxDC * _arg1; | |
7085 | PyObject * _argo0 = 0; | |
7086 | PyObject * _argo1 = 0; | |
7087 | char *_kwnames[] = { "self","dc", NULL }; | |
7088 | ||
7089 | self = self; | |
7090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_Recentre",_kwnames,&_argo0,&_argo1)) | |
7091 | return NULL; | |
7092 | if (_argo0) { | |
7093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_Recentre. Expected _wxPyShape_p."); | |
7096 | return NULL; | |
7097 | } | |
7098 | } | |
7099 | if (_argo1) { | |
7100 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7101 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_Recentre. Expected _wxDC_p."); | |
7103 | return NULL; | |
7104 | } | |
7105 | } | |
7106 | { | |
7107 | wxPy_BEGIN_ALLOW_THREADS; | |
7108 | wxPyShape_Recentre(_arg0,*_arg1); | |
7109 | ||
7110 | wxPy_END_ALLOW_THREADS; | |
7111 | } Py_INCREF(Py_None); | |
7112 | _resultobj = Py_None; | |
7113 | return _resultobj; | |
7114 | } | |
7115 | ||
7116 | #define wxPyShape_ClearPointList(_swigobj,_swigarg0) (_swigobj->ClearPointList(_swigarg0)) | |
7117 | static PyObject *_wrap_wxPyShape_ClearPointList(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7118 | PyObject * _resultobj; | |
7119 | wxPyShape * _arg0; | |
7120 | wxList * _arg1; | |
7121 | PyObject * _argo0 = 0; | |
7122 | PyObject * _argo1 = 0; | |
7123 | char *_kwnames[] = { "self","list", NULL }; | |
7124 | ||
7125 | self = self; | |
7126 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_ClearPointList",_kwnames,&_argo0,&_argo1)) | |
7127 | return NULL; | |
7128 | if (_argo0) { | |
7129 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7130 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7131 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_ClearPointList. Expected _wxPyShape_p."); | |
7132 | return NULL; | |
7133 | } | |
7134 | } | |
7135 | if (_argo1) { | |
7136 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7137 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxList_p")) { | |
7138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_ClearPointList. Expected _wxList_p."); | |
7139 | return NULL; | |
7140 | } | |
7141 | } | |
7142 | { | |
7143 | wxPy_BEGIN_ALLOW_THREADS; | |
7144 | wxPyShape_ClearPointList(_arg0,*_arg1); | |
7145 | ||
7146 | wxPy_END_ALLOW_THREADS; | |
7147 | } Py_INCREF(Py_None); | |
7148 | _resultobj = Py_None; | |
7149 | return _resultobj; | |
7150 | } | |
7151 | ||
7152 | #define wxPyShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
7153 | static PyObject *_wrap_wxPyShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7154 | PyObject * _resultobj; | |
7155 | wxPyShape * _arg0; | |
7156 | PyObject * _argo0 = 0; | |
7157 | char *_kwnames[] = { "self", NULL }; | |
7158 | ||
7159 | self = self; | |
7160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyShape_base_OnDelete",_kwnames,&_argo0)) | |
7161 | return NULL; | |
7162 | if (_argo0) { | |
7163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDelete. Expected _wxPyShape_p."); | |
7166 | return NULL; | |
7167 | } | |
7168 | } | |
7169 | { | |
7170 | wxPy_BEGIN_ALLOW_THREADS; | |
7171 | wxPyShape_base_OnDelete(_arg0); | |
7172 | ||
7173 | wxPy_END_ALLOW_THREADS; | |
7174 | } Py_INCREF(Py_None); | |
7175 | _resultobj = Py_None; | |
7176 | return _resultobj; | |
7177 | } | |
7178 | ||
7179 | #define wxPyShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
7180 | static PyObject *_wrap_wxPyShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7181 | PyObject * _resultobj; | |
7182 | wxPyShape * _arg0; | |
7183 | wxDC * _arg1; | |
7184 | PyObject * _argo0 = 0; | |
7185 | PyObject * _argo1 = 0; | |
7186 | char *_kwnames[] = { "self","dc", NULL }; | |
7187 | ||
7188 | self = self; | |
7189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
7190 | return NULL; | |
7191 | if (_argo0) { | |
7192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDraw. Expected _wxPyShape_p."); | |
7195 | return NULL; | |
7196 | } | |
7197 | } | |
7198 | if (_argo1) { | |
7199 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7200 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDraw. Expected _wxDC_p."); | |
7202 | return NULL; | |
7203 | } | |
7204 | } | |
7205 | { | |
7206 | wxPy_BEGIN_ALLOW_THREADS; | |
7207 | wxPyShape_base_OnDraw(_arg0,*_arg1); | |
7208 | ||
7209 | wxPy_END_ALLOW_THREADS; | |
7210 | } Py_INCREF(Py_None); | |
7211 | _resultobj = Py_None; | |
7212 | return _resultobj; | |
7213 | } | |
7214 | ||
7215 | #define wxPyShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
7216 | static PyObject *_wrap_wxPyShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7217 | PyObject * _resultobj; | |
7218 | wxPyShape * _arg0; | |
7219 | wxDC * _arg1; | |
7220 | PyObject * _argo0 = 0; | |
7221 | PyObject * _argo1 = 0; | |
7222 | char *_kwnames[] = { "self","dc", NULL }; | |
7223 | ||
7224 | self = self; | |
7225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
7226 | return NULL; | |
7227 | if (_argo0) { | |
7228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawContents. Expected _wxPyShape_p."); | |
7231 | return NULL; | |
7232 | } | |
7233 | } | |
7234 | if (_argo1) { | |
7235 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7236 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawContents. Expected _wxDC_p."); | |
7238 | return NULL; | |
7239 | } | |
7240 | } | |
7241 | { | |
7242 | wxPy_BEGIN_ALLOW_THREADS; | |
7243 | wxPyShape_base_OnDrawContents(_arg0,*_arg1); | |
7244 | ||
7245 | wxPy_END_ALLOW_THREADS; | |
7246 | } Py_INCREF(Py_None); | |
7247 | _resultobj = Py_None; | |
7248 | return _resultobj; | |
7249 | } | |
7250 | ||
7251 | #define wxPyShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
7252 | static PyObject *_wrap_wxPyShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7253 | PyObject * _resultobj; | |
7254 | wxPyShape * _arg0; | |
7255 | wxDC * _arg1; | |
7256 | bool _arg2 = (bool ) FALSE; | |
7257 | PyObject * _argo0 = 0; | |
7258 | PyObject * _argo1 = 0; | |
7259 | int tempbool2 = (int) FALSE; | |
7260 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
7261 | ||
7262 | self = self; | |
7263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7264 | return NULL; | |
7265 | if (_argo0) { | |
7266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawBranches. Expected _wxPyShape_p."); | |
7269 | return NULL; | |
7270 | } | |
7271 | } | |
7272 | if (_argo1) { | |
7273 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7274 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawBranches. Expected _wxDC_p."); | |
7276 | return NULL; | |
7277 | } | |
7278 | } | |
7279 | _arg2 = (bool ) tempbool2; | |
7280 | { | |
7281 | wxPy_BEGIN_ALLOW_THREADS; | |
7282 | wxPyShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
7283 | ||
7284 | wxPy_END_ALLOW_THREADS; | |
7285 | } Py_INCREF(Py_None); | |
7286 | _resultobj = Py_None; | |
7287 | return _resultobj; | |
7288 | } | |
7289 | ||
7290 | #define wxPyShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
7291 | static PyObject *_wrap_wxPyShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7292 | PyObject * _resultobj; | |
7293 | wxPyShape * _arg0; | |
7294 | wxDC * _arg1; | |
7295 | PyObject * _argo0 = 0; | |
7296 | PyObject * _argo1 = 0; | |
7297 | char *_kwnames[] = { "self","dc", NULL }; | |
7298 | ||
7299 | self = self; | |
7300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
7301 | return NULL; | |
7302 | if (_argo0) { | |
7303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLinks. Expected _wxPyShape_p."); | |
7306 | return NULL; | |
7307 | } | |
7308 | } | |
7309 | if (_argo1) { | |
7310 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7311 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLinks. Expected _wxDC_p."); | |
7313 | return NULL; | |
7314 | } | |
7315 | } | |
7316 | { | |
7317 | wxPy_BEGIN_ALLOW_THREADS; | |
7318 | wxPyShape_base_OnMoveLinks(_arg0,*_arg1); | |
7319 | ||
7320 | wxPy_END_ALLOW_THREADS; | |
7321 | } Py_INCREF(Py_None); | |
7322 | _resultobj = Py_None; | |
7323 | return _resultobj; | |
7324 | } | |
7325 | ||
7326 | #define wxPyShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
7327 | static PyObject *_wrap_wxPyShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7328 | PyObject * _resultobj; | |
7329 | wxPyShape * _arg0; | |
7330 | wxDC * _arg1; | |
7331 | PyObject * _argo0 = 0; | |
7332 | PyObject * _argo1 = 0; | |
7333 | char *_kwnames[] = { "self","dc", NULL }; | |
7334 | ||
7335 | self = self; | |
7336 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
7337 | return NULL; | |
7338 | if (_argo0) { | |
7339 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7340 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7341 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnErase. Expected _wxPyShape_p."); | |
7342 | return NULL; | |
7343 | } | |
7344 | } | |
7345 | if (_argo1) { | |
7346 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7347 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnErase. Expected _wxDC_p."); | |
7349 | return NULL; | |
7350 | } | |
7351 | } | |
7352 | { | |
7353 | wxPy_BEGIN_ALLOW_THREADS; | |
7354 | wxPyShape_base_OnErase(_arg0,*_arg1); | |
7355 | ||
7356 | wxPy_END_ALLOW_THREADS; | |
7357 | } Py_INCREF(Py_None); | |
7358 | _resultobj = Py_None; | |
7359 | return _resultobj; | |
7360 | } | |
7361 | ||
7362 | #define wxPyShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
7363 | static PyObject *_wrap_wxPyShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7364 | PyObject * _resultobj; | |
7365 | wxPyShape * _arg0; | |
7366 | wxDC * _arg1; | |
7367 | PyObject * _argo0 = 0; | |
7368 | PyObject * _argo1 = 0; | |
7369 | char *_kwnames[] = { "self","dc", NULL }; | |
7370 | ||
7371 | self = self; | |
7372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
7373 | return NULL; | |
7374 | if (_argo0) { | |
7375 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7376 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseContents. Expected _wxPyShape_p."); | |
7378 | return NULL; | |
7379 | } | |
7380 | } | |
7381 | if (_argo1) { | |
7382 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7383 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseContents. Expected _wxDC_p."); | |
7385 | return NULL; | |
7386 | } | |
7387 | } | |
7388 | { | |
7389 | wxPy_BEGIN_ALLOW_THREADS; | |
7390 | wxPyShape_base_OnEraseContents(_arg0,*_arg1); | |
7391 | ||
7392 | wxPy_END_ALLOW_THREADS; | |
7393 | } Py_INCREF(Py_None); | |
7394 | _resultobj = Py_None; | |
7395 | return _resultobj; | |
7396 | } | |
7397 | ||
7398 | #define wxPyShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
7399 | static PyObject *_wrap_wxPyShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7400 | PyObject * _resultobj; | |
7401 | wxPyShape * _arg0; | |
7402 | wxDC * _arg1; | |
7403 | PyObject * _argo0 = 0; | |
7404 | PyObject * _argo1 = 0; | |
7405 | char *_kwnames[] = { "self","dc", NULL }; | |
7406 | ||
7407 | self = self; | |
7408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
7409 | return NULL; | |
7410 | if (_argo0) { | |
7411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnHighlight. Expected _wxPyShape_p."); | |
7414 | return NULL; | |
7415 | } | |
7416 | } | |
7417 | if (_argo1) { | |
7418 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7419 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7420 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnHighlight. Expected _wxDC_p."); | |
7421 | return NULL; | |
7422 | } | |
7423 | } | |
7424 | { | |
7425 | wxPy_BEGIN_ALLOW_THREADS; | |
7426 | wxPyShape_base_OnHighlight(_arg0,*_arg1); | |
7427 | ||
7428 | wxPy_END_ALLOW_THREADS; | |
7429 | } Py_INCREF(Py_None); | |
7430 | _resultobj = Py_None; | |
7431 | return _resultobj; | |
7432 | } | |
7433 | ||
7434 | #define wxPyShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7435 | static PyObject *_wrap_wxPyShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7436 | PyObject * _resultobj; | |
7437 | wxPyShape * _arg0; | |
7438 | double _arg1; | |
7439 | double _arg2; | |
7440 | int _arg3 = (int ) 0; | |
7441 | int _arg4 = (int ) 0; | |
7442 | PyObject * _argo0 = 0; | |
7443 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7444 | ||
7445 | self = self; | |
7446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7447 | return NULL; | |
7448 | if (_argo0) { | |
7449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftClick. Expected _wxPyShape_p."); | |
7452 | return NULL; | |
7453 | } | |
7454 | } | |
7455 | { | |
7456 | wxPy_BEGIN_ALLOW_THREADS; | |
7457 | wxPyShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7458 | ||
7459 | wxPy_END_ALLOW_THREADS; | |
7460 | } Py_INCREF(Py_None); | |
7461 | _resultobj = Py_None; | |
7462 | return _resultobj; | |
7463 | } | |
7464 | ||
7465 | #define wxPyShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7466 | static PyObject *_wrap_wxPyShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7467 | PyObject * _resultobj; | |
7468 | wxPyShape * _arg0; | |
7469 | double _arg1; | |
7470 | double _arg2; | |
7471 | int _arg3 = (int ) 0; | |
7472 | int _arg4 = (int ) 0; | |
7473 | PyObject * _argo0 = 0; | |
7474 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7475 | ||
7476 | self = self; | |
7477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7478 | return NULL; | |
7479 | if (_argo0) { | |
7480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnLeftDoubleClick. Expected _wxPyShape_p."); | |
7483 | return NULL; | |
7484 | } | |
7485 | } | |
7486 | { | |
7487 | wxPy_BEGIN_ALLOW_THREADS; | |
7488 | wxPyShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7489 | ||
7490 | wxPy_END_ALLOW_THREADS; | |
7491 | } Py_INCREF(Py_None); | |
7492 | _resultobj = Py_None; | |
7493 | return _resultobj; | |
7494 | } | |
7495 | ||
7496 | #define wxPyShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7497 | static PyObject *_wrap_wxPyShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7498 | PyObject * _resultobj; | |
7499 | wxPyShape * _arg0; | |
7500 | double _arg1; | |
7501 | double _arg2; | |
7502 | int _arg3 = (int ) 0; | |
7503 | int _arg4 = (int ) 0; | |
7504 | PyObject * _argo0 = 0; | |
7505 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7506 | ||
7507 | self = self; | |
7508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7509 | return NULL; | |
7510 | if (_argo0) { | |
7511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnRightClick. Expected _wxPyShape_p."); | |
7514 | return NULL; | |
7515 | } | |
7516 | } | |
7517 | { | |
7518 | wxPy_BEGIN_ALLOW_THREADS; | |
7519 | wxPyShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7520 | ||
7521 | wxPy_END_ALLOW_THREADS; | |
7522 | } Py_INCREF(Py_None); | |
7523 | _resultobj = Py_None; | |
7524 | return _resultobj; | |
7525 | } | |
7526 | ||
7527 | #define wxPyShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
7528 | static PyObject *_wrap_wxPyShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7529 | PyObject * _resultobj; | |
7530 | wxPyShape * _arg0; | |
7531 | double _arg1; | |
7532 | double _arg2; | |
7533 | PyObject * _argo0 = 0; | |
7534 | char *_kwnames[] = { "self","x","y", NULL }; | |
7535 | ||
7536 | self = self; | |
7537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7538 | return NULL; | |
7539 | if (_argo0) { | |
7540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSize. Expected _wxPyShape_p."); | |
7543 | return NULL; | |
7544 | } | |
7545 | } | |
7546 | { | |
7547 | wxPy_BEGIN_ALLOW_THREADS; | |
7548 | wxPyShape_base_OnSize(_arg0,_arg1,_arg2); | |
7549 | ||
7550 | wxPy_END_ALLOW_THREADS; | |
7551 | } Py_INCREF(Py_None); | |
7552 | _resultobj = Py_None; | |
7553 | return _resultobj; | |
7554 | } | |
7555 | ||
7556 | #define wxPyShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7557 | static PyObject *_wrap_wxPyShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7558 | PyObject * _resultobj; | |
7559 | bool _result; | |
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_OnMovePre",_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_OnMovePre. 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_OnMovePre. Expected _wxDC_p."); | |
7586 | return NULL; | |
7587 | } | |
7588 | } | |
7589 | _arg6 = (bool ) tempbool6; | |
7590 | { | |
7591 | wxPy_BEGIN_ALLOW_THREADS; | |
7592 | _result = (bool )wxPyShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7593 | ||
7594 | wxPy_END_ALLOW_THREADS; | |
7595 | } _resultobj = Py_BuildValue("i",_result); | |
7596 | return _resultobj; | |
7597 | } | |
7598 | ||
7599 | #define wxPyShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7600 | static PyObject *_wrap_wxPyShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7601 | PyObject * _resultobj; | |
7602 | wxPyShape * _arg0; | |
7603 | wxDC * _arg1; | |
7604 | double _arg2; | |
7605 | double _arg3; | |
7606 | double _arg4; | |
7607 | double _arg5; | |
7608 | bool _arg6 = (bool ) TRUE; | |
7609 | PyObject * _argo0 = 0; | |
7610 | PyObject * _argo1 = 0; | |
7611 | int tempbool6 = (int) TRUE; | |
7612 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7613 | ||
7614 | self = self; | |
7615 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7616 | return NULL; | |
7617 | if (_argo0) { | |
7618 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7619 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMovePost. Expected _wxPyShape_p."); | |
7621 | return NULL; | |
7622 | } | |
7623 | } | |
7624 | if (_argo1) { | |
7625 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7626 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMovePost. Expected _wxDC_p."); | |
7628 | return NULL; | |
7629 | } | |
7630 | } | |
7631 | _arg6 = (bool ) tempbool6; | |
7632 | { | |
7633 | wxPy_BEGIN_ALLOW_THREADS; | |
7634 | wxPyShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7635 | ||
7636 | wxPy_END_ALLOW_THREADS; | |
7637 | } Py_INCREF(Py_None); | |
7638 | _resultobj = Py_None; | |
7639 | return _resultobj; | |
7640 | } | |
7641 | ||
7642 | #define wxPyShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7643 | static PyObject *_wrap_wxPyShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7644 | PyObject * _resultobj; | |
7645 | wxPyShape * _arg0; | |
7646 | bool _arg1; | |
7647 | double _arg2; | |
7648 | double _arg3; | |
7649 | int _arg4 = (int ) 0; | |
7650 | int _arg5 = (int ) 0; | |
7651 | PyObject * _argo0 = 0; | |
7652 | int tempbool1; | |
7653 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7654 | ||
7655 | self = self; | |
7656 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7657 | return NULL; | |
7658 | if (_argo0) { | |
7659 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7660 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7661 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragLeft. Expected _wxPyShape_p."); | |
7662 | return NULL; | |
7663 | } | |
7664 | } | |
7665 | _arg1 = (bool ) tempbool1; | |
7666 | { | |
7667 | wxPy_BEGIN_ALLOW_THREADS; | |
7668 | wxPyShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7669 | ||
7670 | wxPy_END_ALLOW_THREADS; | |
7671 | } Py_INCREF(Py_None); | |
7672 | _resultobj = Py_None; | |
7673 | return _resultobj; | |
7674 | } | |
7675 | ||
7676 | #define wxPyShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7677 | static PyObject *_wrap_wxPyShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7678 | PyObject * _resultobj; | |
7679 | wxPyShape * _arg0; | |
7680 | double _arg1; | |
7681 | double _arg2; | |
7682 | int _arg3 = (int ) 0; | |
7683 | int _arg4 = (int ) 0; | |
7684 | PyObject * _argo0 = 0; | |
7685 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7686 | ||
7687 | self = self; | |
7688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7689 | return NULL; | |
7690 | if (_argo0) { | |
7691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragLeft. Expected _wxPyShape_p."); | |
7694 | return NULL; | |
7695 | } | |
7696 | } | |
7697 | { | |
7698 | wxPy_BEGIN_ALLOW_THREADS; | |
7699 | wxPyShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7700 | ||
7701 | wxPy_END_ALLOW_THREADS; | |
7702 | } Py_INCREF(Py_None); | |
7703 | _resultobj = Py_None; | |
7704 | return _resultobj; | |
7705 | } | |
7706 | ||
7707 | #define wxPyShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7708 | static PyObject *_wrap_wxPyShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7709 | PyObject * _resultobj; | |
7710 | wxPyShape * _arg0; | |
7711 | double _arg1; | |
7712 | double _arg2; | |
7713 | int _arg3 = (int ) 0; | |
7714 | int _arg4 = (int ) 0; | |
7715 | PyObject * _argo0 = 0; | |
7716 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7717 | ||
7718 | self = self; | |
7719 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7720 | return NULL; | |
7721 | if (_argo0) { | |
7722 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7723 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragLeft. Expected _wxPyShape_p."); | |
7725 | return NULL; | |
7726 | } | |
7727 | } | |
7728 | { | |
7729 | wxPy_BEGIN_ALLOW_THREADS; | |
7730 | wxPyShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7731 | ||
7732 | wxPy_END_ALLOW_THREADS; | |
7733 | } Py_INCREF(Py_None); | |
7734 | _resultobj = Py_None; | |
7735 | return _resultobj; | |
7736 | } | |
7737 | ||
7738 | #define wxPyShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7739 | static PyObject *_wrap_wxPyShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7740 | PyObject * _resultobj; | |
7741 | wxPyShape * _arg0; | |
7742 | bool _arg1; | |
7743 | double _arg2; | |
7744 | double _arg3; | |
7745 | int _arg4 = (int ) 0; | |
7746 | int _arg5 = (int ) 0; | |
7747 | PyObject * _argo0 = 0; | |
7748 | int tempbool1; | |
7749 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7750 | ||
7751 | self = self; | |
7752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7753 | return NULL; | |
7754 | if (_argo0) { | |
7755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDragRight. Expected _wxPyShape_p."); | |
7758 | return NULL; | |
7759 | } | |
7760 | } | |
7761 | _arg1 = (bool ) tempbool1; | |
7762 | { | |
7763 | wxPy_BEGIN_ALLOW_THREADS; | |
7764 | wxPyShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7765 | ||
7766 | wxPy_END_ALLOW_THREADS; | |
7767 | } Py_INCREF(Py_None); | |
7768 | _resultobj = Py_None; | |
7769 | return _resultobj; | |
7770 | } | |
7771 | ||
7772 | #define wxPyShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7773 | static PyObject *_wrap_wxPyShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7774 | PyObject * _resultobj; | |
7775 | wxPyShape * _arg0; | |
7776 | double _arg1; | |
7777 | double _arg2; | |
7778 | int _arg3 = (int ) 0; | |
7779 | int _arg4 = (int ) 0; | |
7780 | PyObject * _argo0 = 0; | |
7781 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7782 | ||
7783 | self = self; | |
7784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7785 | return NULL; | |
7786 | if (_argo0) { | |
7787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginDragRight. Expected _wxPyShape_p."); | |
7790 | return NULL; | |
7791 | } | |
7792 | } | |
7793 | { | |
7794 | wxPy_BEGIN_ALLOW_THREADS; | |
7795 | wxPyShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7796 | ||
7797 | wxPy_END_ALLOW_THREADS; | |
7798 | } Py_INCREF(Py_None); | |
7799 | _resultobj = Py_None; | |
7800 | return _resultobj; | |
7801 | } | |
7802 | ||
7803 | #define wxPyShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7804 | static PyObject *_wrap_wxPyShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7805 | PyObject * _resultobj; | |
7806 | wxPyShape * _arg0; | |
7807 | double _arg1; | |
7808 | double _arg2; | |
7809 | int _arg3 = (int ) 0; | |
7810 | int _arg4 = (int ) 0; | |
7811 | PyObject * _argo0 = 0; | |
7812 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7813 | ||
7814 | self = self; | |
7815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7816 | return NULL; | |
7817 | if (_argo0) { | |
7818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndDragRight. Expected _wxPyShape_p."); | |
7821 | return NULL; | |
7822 | } | |
7823 | } | |
7824 | { | |
7825 | wxPy_BEGIN_ALLOW_THREADS; | |
7826 | wxPyShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7827 | ||
7828 | wxPy_END_ALLOW_THREADS; | |
7829 | } Py_INCREF(Py_None); | |
7830 | _resultobj = Py_None; | |
7831 | return _resultobj; | |
7832 | } | |
7833 | ||
7834 | #define wxPyShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7835 | static PyObject *_wrap_wxPyShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7836 | PyObject * _resultobj; | |
7837 | wxPyShape * _arg0; | |
7838 | wxDC * _arg1; | |
7839 | double _arg2; | |
7840 | double _arg3; | |
7841 | double _arg4; | |
7842 | double _arg5; | |
7843 | PyObject * _argo0 = 0; | |
7844 | PyObject * _argo1 = 0; | |
7845 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7846 | ||
7847 | self = self; | |
7848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7849 | return NULL; | |
7850 | if (_argo0) { | |
7851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawOutline. Expected _wxPyShape_p."); | |
7854 | return NULL; | |
7855 | } | |
7856 | } | |
7857 | if (_argo1) { | |
7858 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7859 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7861 | return NULL; | |
7862 | } | |
7863 | } | |
7864 | { | |
7865 | wxPy_BEGIN_ALLOW_THREADS; | |
7866 | wxPyShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7867 | ||
7868 | wxPy_END_ALLOW_THREADS; | |
7869 | } Py_INCREF(Py_None); | |
7870 | _resultobj = Py_None; | |
7871 | return _resultobj; | |
7872 | } | |
7873 | ||
7874 | #define wxPyShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7875 | static PyObject *_wrap_wxPyShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7876 | PyObject * _resultobj; | |
7877 | wxPyShape * _arg0; | |
7878 | wxDC * _arg1; | |
7879 | PyObject * _argo0 = 0; | |
7880 | PyObject * _argo1 = 0; | |
7881 | char *_kwnames[] = { "self","dc", NULL }; | |
7882 | ||
7883 | self = self; | |
7884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7885 | return NULL; | |
7886 | if (_argo0) { | |
7887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnDrawControlPoints. Expected _wxPyShape_p."); | |
7890 | return NULL; | |
7891 | } | |
7892 | } | |
7893 | if (_argo1) { | |
7894 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7895 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7897 | return NULL; | |
7898 | } | |
7899 | } | |
7900 | { | |
7901 | wxPy_BEGIN_ALLOW_THREADS; | |
7902 | wxPyShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7903 | ||
7904 | wxPy_END_ALLOW_THREADS; | |
7905 | } Py_INCREF(Py_None); | |
7906 | _resultobj = Py_None; | |
7907 | return _resultobj; | |
7908 | } | |
7909 | ||
7910 | #define wxPyShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7911 | static PyObject *_wrap_wxPyShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7912 | PyObject * _resultobj; | |
7913 | wxPyShape * _arg0; | |
7914 | wxDC * _arg1; | |
7915 | PyObject * _argo0 = 0; | |
7916 | PyObject * _argo1 = 0; | |
7917 | char *_kwnames[] = { "self","dc", NULL }; | |
7918 | ||
7919 | self = self; | |
7920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7921 | return NULL; | |
7922 | if (_argo0) { | |
7923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEraseControlPoints. Expected _wxPyShape_p."); | |
7926 | return NULL; | |
7927 | } | |
7928 | } | |
7929 | if (_argo1) { | |
7930 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7931 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7933 | return NULL; | |
7934 | } | |
7935 | } | |
7936 | { | |
7937 | wxPy_BEGIN_ALLOW_THREADS; | |
7938 | wxPyShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7939 | ||
7940 | wxPy_END_ALLOW_THREADS; | |
7941 | } Py_INCREF(Py_None); | |
7942 | _resultobj = Py_None; | |
7943 | return _resultobj; | |
7944 | } | |
7945 | ||
7946 | #define wxPyShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7947 | static PyObject *_wrap_wxPyShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7948 | PyObject * _resultobj; | |
7949 | wxPyShape * _arg0; | |
7950 | wxDC * _arg1; | |
7951 | bool _arg2 = (bool ) TRUE; | |
7952 | PyObject * _argo0 = 0; | |
7953 | PyObject * _argo1 = 0; | |
7954 | int tempbool2 = (int) TRUE; | |
7955 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7956 | ||
7957 | self = self; | |
7958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7959 | return NULL; | |
7960 | if (_argo0) { | |
7961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
7963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnMoveLink. Expected _wxPyShape_p."); | |
7964 | return NULL; | |
7965 | } | |
7966 | } | |
7967 | if (_argo1) { | |
7968 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7969 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7970 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnMoveLink. Expected _wxDC_p."); | |
7971 | return NULL; | |
7972 | } | |
7973 | } | |
7974 | _arg2 = (bool ) tempbool2; | |
7975 | { | |
7976 | wxPy_BEGIN_ALLOW_THREADS; | |
7977 | wxPyShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7978 | ||
7979 | wxPy_END_ALLOW_THREADS; | |
7980 | } Py_INCREF(Py_None); | |
7981 | _resultobj = Py_None; | |
7982 | return _resultobj; | |
7983 | } | |
7984 | ||
7985 | #define wxPyShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7986 | static PyObject *_wrap_wxPyShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7987 | PyObject * _resultobj; | |
7988 | wxPyShape * _arg0; | |
2348eaee | 7989 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7990 | bool _arg2; |
7991 | double _arg3; | |
7992 | double _arg4; | |
7993 | int _arg5 = (int ) 0; | |
7994 | int _arg6 = (int ) 0; | |
7995 | PyObject * _argo0 = 0; | |
7996 | PyObject * _argo1 = 0; | |
7997 | int tempbool2; | |
7998 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7999 | ||
8000 | self = self; | |
8001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
8002 | return NULL; | |
8003 | if (_argo0) { | |
8004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyShape_p."); | |
8007 | return NULL; | |
8008 | } | |
8009 | } | |
8010 | if (_argo1) { | |
8011 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8012 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8014 | return NULL; |
8015 | } | |
8016 | } | |
8017 | _arg2 = (bool ) tempbool2; | |
8018 | { | |
8019 | wxPy_BEGIN_ALLOW_THREADS; | |
8020 | wxPyShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8021 | ||
8022 | wxPy_END_ALLOW_THREADS; | |
8023 | } Py_INCREF(Py_None); | |
8024 | _resultobj = Py_None; | |
8025 | return _resultobj; | |
8026 | } | |
8027 | ||
8028 | #define wxPyShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8029 | static PyObject *_wrap_wxPyShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8030 | PyObject * _resultobj; | |
8031 | wxPyShape * _arg0; | |
2348eaee | 8032 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8033 | double _arg2; |
8034 | double _arg3; | |
8035 | int _arg4 = (int ) 0; | |
8036 | int _arg5 = (int ) 0; | |
8037 | PyObject * _argo0 = 0; | |
8038 | PyObject * _argo1 = 0; | |
8039 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8040 | ||
8041 | self = self; | |
8042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8043 | return NULL; | |
8044 | if (_argo0) { | |
8045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyShape_p."); | |
8048 | return NULL; | |
8049 | } | |
8050 | } | |
8051 | if (_argo1) { | |
8052 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8053 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8055 | return NULL; |
8056 | } | |
8057 | } | |
8058 | { | |
8059 | wxPy_BEGIN_ALLOW_THREADS; | |
8060 | wxPyShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8061 | ||
8062 | wxPy_END_ALLOW_THREADS; | |
8063 | } Py_INCREF(Py_None); | |
8064 | _resultobj = Py_None; | |
8065 | return _resultobj; | |
8066 | } | |
8067 | ||
8068 | #define wxPyShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8069 | static PyObject *_wrap_wxPyShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8070 | PyObject * _resultobj; | |
8071 | wxPyShape * _arg0; | |
2348eaee | 8072 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8073 | double _arg2; |
8074 | double _arg3; | |
8075 | int _arg4 = (int ) 0; | |
8076 | int _arg5 = (int ) 0; | |
8077 | PyObject * _argo0 = 0; | |
8078 | PyObject * _argo1 = 0; | |
8079 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8080 | ||
8081 | self = self; | |
8082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8083 | return NULL; | |
8084 | if (_argo0) { | |
8085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyShape_p."); | |
8088 | return NULL; | |
8089 | } | |
8090 | } | |
8091 | if (_argo1) { | |
8092 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8093 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8095 | return NULL; |
8096 | } | |
8097 | } | |
8098 | { | |
8099 | wxPy_BEGIN_ALLOW_THREADS; | |
8100 | wxPyShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8101 | ||
8102 | wxPy_END_ALLOW_THREADS; | |
8103 | } Py_INCREF(Py_None); | |
8104 | _resultobj = Py_None; | |
8105 | return _resultobj; | |
8106 | } | |
8107 | ||
8108 | #define wxPyShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
8109 | static PyObject *_wrap_wxPyShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8110 | PyObject * _resultobj; | |
8111 | wxPyShape * _arg0; | |
8112 | double _arg1; | |
8113 | double _arg2; | |
8114 | PyObject * _argo0 = 0; | |
8115 | char *_kwnames[] = { "self","w","h", NULL }; | |
8116 | ||
8117 | self = self; | |
8118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8119 | return NULL; | |
8120 | if (_argo0) { | |
8121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnBeginSize. Expected _wxPyShape_p."); | |
8124 | return NULL; | |
8125 | } | |
8126 | } | |
8127 | { | |
8128 | wxPy_BEGIN_ALLOW_THREADS; | |
8129 | wxPyShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
8130 | ||
8131 | wxPy_END_ALLOW_THREADS; | |
8132 | } Py_INCREF(Py_None); | |
8133 | _resultobj = Py_None; | |
8134 | return _resultobj; | |
8135 | } | |
8136 | ||
8137 | #define wxPyShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
8138 | static PyObject *_wrap_wxPyShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8139 | PyObject * _resultobj; | |
8140 | wxPyShape * _arg0; | |
8141 | double _arg1; | |
8142 | double _arg2; | |
8143 | PyObject * _argo0 = 0; | |
8144 | char *_kwnames[] = { "self","w","h", NULL }; | |
8145 | ||
8146 | self = self; | |
8147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8148 | return NULL; | |
8149 | if (_argo0) { | |
8150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShape_p")) { | |
8152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyShape_base_OnEndSize. Expected _wxPyShape_p."); | |
8153 | return NULL; | |
8154 | } | |
8155 | } | |
8156 | { | |
8157 | wxPy_BEGIN_ALLOW_THREADS; | |
8158 | wxPyShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
8159 | ||
8160 | wxPy_END_ALLOW_THREADS; | |
8161 | } Py_INCREF(Py_None); | |
8162 | _resultobj = Py_None; | |
8163 | return _resultobj; | |
8164 | } | |
8165 | ||
8166 | static PyMethodDef oglbasiccMethods[] = { | |
8167 | { "wxPyShape_base_OnEndSize", (PyCFunction) _wrap_wxPyShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
8168 | { "wxPyShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
8169 | { "wxPyShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8170 | { "wxPyShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8171 | { "wxPyShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8172 | { "wxPyShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
8173 | { "wxPyShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8174 | { "wxPyShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8175 | { "wxPyShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
8176 | { "wxPyShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8177 | { "wxPyShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8178 | { "wxPyShape_base_OnDragRight", (PyCFunction) _wrap_wxPyShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8179 | { "wxPyShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8180 | { "wxPyShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8181 | { "wxPyShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8182 | { "wxPyShape_base_OnMovePost", (PyCFunction) _wrap_wxPyShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
8183 | { "wxPyShape_base_OnMovePre", (PyCFunction) _wrap_wxPyShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
8184 | { "wxPyShape_base_OnSize", (PyCFunction) _wrap_wxPyShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
8185 | { "wxPyShape_base_OnRightClick", (PyCFunction) _wrap_wxPyShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
8186 | { "wxPyShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
8187 | { "wxPyShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
8188 | { "wxPyShape_base_OnHighlight", (PyCFunction) _wrap_wxPyShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8189 | { "wxPyShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8190 | { "wxPyShape_base_OnErase", (PyCFunction) _wrap_wxPyShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
8191 | { "wxPyShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8192 | { "wxPyShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
8193 | { "wxPyShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8194 | { "wxPyShape_base_OnDraw", (PyCFunction) _wrap_wxPyShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
8195 | { "wxPyShape_base_OnDelete", (PyCFunction) _wrap_wxPyShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
8196 | { "wxPyShape_ClearPointList", (PyCFunction) _wrap_wxPyShape_ClearPointList, METH_VARARGS | METH_KEYWORDS }, | |
8197 | { "wxPyShape_Recentre", (PyCFunction) _wrap_wxPyShape_Recentre, METH_VARARGS | METH_KEYWORDS }, | |
8198 | { "wxPyShape_ClearAttachments", (PyCFunction) _wrap_wxPyShape_ClearAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8199 | { "wxPyShape_GetRotation", (PyCFunction) _wrap_wxPyShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
8200 | { "wxPyShape_Rotate", (PyCFunction) _wrap_wxPyShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
8201 | { "wxPyShape_CopyWithHandler", (PyCFunction) _wrap_wxPyShape_CopyWithHandler, METH_VARARGS | METH_KEYWORDS }, | |
8202 | { "wxPyShape_Copy", (PyCFunction) _wrap_wxPyShape_Copy, METH_VARARGS | METH_KEYWORDS }, | |
8203 | { "wxPyShape_CreateNewCopy", (PyCFunction) _wrap_wxPyShape_CreateNewCopy, METH_VARARGS | METH_KEYWORDS }, | |
8204 | { "wxPyShape_HasDescendant", (PyCFunction) _wrap_wxPyShape_HasDescendant, METH_VARARGS | METH_KEYWORDS }, | |
8205 | { "wxPyShape_Draggable", (PyCFunction) _wrap_wxPyShape_Draggable, METH_VARARGS | METH_KEYWORDS }, | |
8206 | { "wxPyShape_LogicalToPhysicalAttachment", (PyCFunction) _wrap_wxPyShape_LogicalToPhysicalAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8207 | { "wxPyShape_PhysicalToLogicalAttachment", (PyCFunction) _wrap_wxPyShape_PhysicalToLogicalAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8208 | { "wxPyShape_GetBranchStyle", (PyCFunction) _wrap_wxPyShape_GetBranchStyle, METH_VARARGS | METH_KEYWORDS }, | |
8209 | { "wxPyShape_SetBranchStyle", (PyCFunction) _wrap_wxPyShape_SetBranchStyle, METH_VARARGS | METH_KEYWORDS }, | |
8210 | { "wxPyShape_GetBranchSpacing", (PyCFunction) _wrap_wxPyShape_GetBranchSpacing, METH_VARARGS | METH_KEYWORDS }, | |
8211 | { "wxPyShape_SetBranchSpacing", (PyCFunction) _wrap_wxPyShape_SetBranchSpacing, METH_VARARGS | METH_KEYWORDS }, | |
8212 | { "wxPyShape_GetBranchStemLength", (PyCFunction) _wrap_wxPyShape_GetBranchStemLength, METH_VARARGS | METH_KEYWORDS }, | |
8213 | { "wxPyShape_SetBranchStemLength", (PyCFunction) _wrap_wxPyShape_SetBranchStemLength, METH_VARARGS | METH_KEYWORDS }, | |
8214 | { "wxPyShape_GetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_GetBranchNeckLength, METH_VARARGS | METH_KEYWORDS }, | |
8215 | { "wxPyShape_SetBranchNeckLength", (PyCFunction) _wrap_wxPyShape_SetBranchNeckLength, METH_VARARGS | METH_KEYWORDS }, | |
8216 | { "wxPyShape_GetAttachmentLineCount", (PyCFunction) _wrap_wxPyShape_GetAttachmentLineCount, METH_VARARGS | METH_KEYWORDS }, | |
8217 | { "wxPyShape_GetBranchingAttachmentPoint", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentPoint, METH_VARARGS | METH_KEYWORDS }, | |
8218 | { "wxPyShape_GetBranchingAttachmentInfo", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentInfo, METH_VARARGS | METH_KEYWORDS }, | |
8219 | { "wxPyShape_GetBranchingAttachmentRoot", (PyCFunction) _wrap_wxPyShape_GetBranchingAttachmentRoot, METH_VARARGS | METH_KEYWORDS }, | |
8220 | { "wxPyShape_ApplyAttachmentOrdering", (PyCFunction) _wrap_wxPyShape_ApplyAttachmentOrdering, METH_VARARGS | METH_KEYWORDS }, | |
8221 | { "wxPyShape_MoveLineToNewAttachment", (PyCFunction) _wrap_wxPyShape_MoveLineToNewAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8222 | { "wxPyShape_DrawLinks", (PyCFunction) _wrap_wxPyShape_DrawLinks, METH_VARARGS | METH_KEYWORDS }, | |
8223 | { "wxPyShape_EraseLinks", (PyCFunction) _wrap_wxPyShape_EraseLinks, METH_VARARGS | METH_KEYWORDS }, | |
8224 | { "wxPyShape_AttachmentSortTest", (PyCFunction) _wrap_wxPyShape_AttachmentSortTest, METH_VARARGS | METH_KEYWORDS }, | |
8225 | { "wxPyShape_CalcSimpleAttachment", (PyCFunction) _wrap_wxPyShape_CalcSimpleAttachment, METH_VARARGS | METH_KEYWORDS }, | |
8226 | { "wxPyShape_GetAttachmentPositionEdge", (PyCFunction) _wrap_wxPyShape_GetAttachmentPositionEdge, METH_VARARGS | METH_KEYWORDS }, | |
8227 | { "wxPyShape_AttachmentIsValid", (PyCFunction) _wrap_wxPyShape_AttachmentIsValid, METH_VARARGS | METH_KEYWORDS }, | |
8228 | { "wxPyShape_GetNumberOfAttachments", (PyCFunction) _wrap_wxPyShape_GetNumberOfAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8229 | { "wxPyShape_GetAttachmentPosition", (PyCFunction) _wrap_wxPyShape_GetAttachmentPosition, METH_VARARGS | METH_KEYWORDS }, | |
8230 | { "wxPyShape_RemoveLine", (PyCFunction) _wrap_wxPyShape_RemoveLine, METH_VARARGS | METH_KEYWORDS }, | |
8231 | { "wxPyShape_ClearText", (PyCFunction) _wrap_wxPyShape_ClearText, METH_VARARGS | METH_KEYWORDS }, | |
8232 | { "wxPyShape_FindRegionNames", (PyCFunction) _wrap_wxPyShape_FindRegionNames, METH_VARARGS | METH_KEYWORDS }, | |
8233 | { "wxPyShape_FindRegion", (PyCFunction) _wrap_wxPyShape_FindRegion, METH_VARARGS | METH_KEYWORDS }, | |
8234 | { "wxPyShape_AssignNewIds", (PyCFunction) _wrap_wxPyShape_AssignNewIds, METH_VARARGS | METH_KEYWORDS }, | |
8235 | { "wxPyShape_ClearRegions", (PyCFunction) _wrap_wxPyShape_ClearRegions, METH_VARARGS | METH_KEYWORDS }, | |
8236 | { "wxPyShape_AddRegion", (PyCFunction) _wrap_wxPyShape_AddRegion, METH_VARARGS | METH_KEYWORDS }, | |
8237 | { "wxPyShape_GetRegions", (PyCFunction) _wrap_wxPyShape_GetRegions, METH_VARARGS | METH_KEYWORDS }, | |
8238 | { "wxPyShape_NameRegions", (PyCFunction) _wrap_wxPyShape_NameRegions, METH_VARARGS | METH_KEYWORDS }, | |
8239 | { "wxPyShape_GetRegionId", (PyCFunction) _wrap_wxPyShape_GetRegionId, METH_VARARGS | METH_KEYWORDS }, | |
8240 | { "wxPyShape_GetRegionName", (PyCFunction) _wrap_wxPyShape_GetRegionName, METH_VARARGS | METH_KEYWORDS }, | |
8241 | { "wxPyShape_SetRegionName", (PyCFunction) _wrap_wxPyShape_SetRegionName, METH_VARARGS | METH_KEYWORDS }, | |
8242 | { "wxPyShape_GetNumberOfTextRegions", (PyCFunction) _wrap_wxPyShape_GetNumberOfTextRegions, METH_VARARGS | METH_KEYWORDS }, | |
8243 | { "wxPyShape_GetTextColour", (PyCFunction) _wrap_wxPyShape_GetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8244 | { "wxPyShape_SetTextColour", (PyCFunction) _wrap_wxPyShape_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
8245 | { "wxPyShape_GetFont", (PyCFunction) _wrap_wxPyShape_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
8246 | { "wxPyShape_SetFont", (PyCFunction) _wrap_wxPyShape_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
8247 | { "wxPyShape_GetFormatMode", (PyCFunction) _wrap_wxPyShape_GetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8248 | { "wxPyShape_SetFormatMode", (PyCFunction) _wrap_wxPyShape_SetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8249 | { "wxPyShape_FormatText", (PyCFunction) _wrap_wxPyShape_FormatText, METH_VARARGS | METH_KEYWORDS }, | |
8250 | { "wxPyShape_SetDefaultRegionSize", (PyCFunction) _wrap_wxPyShape_SetDefaultRegionSize, METH_VARARGS | METH_KEYWORDS }, | |
8251 | { "wxPyShape_GetBrush", (PyCFunction) _wrap_wxPyShape_GetBrush, METH_VARARGS | METH_KEYWORDS }, | |
8252 | { "wxPyShape_GetPen", (PyCFunction) _wrap_wxPyShape_GetPen, METH_VARARGS | METH_KEYWORDS }, | |
8253 | { "wxPyShape_AddText", (PyCFunction) _wrap_wxPyShape_AddText, METH_VARARGS | METH_KEYWORDS }, | |
8254 | { "wxPyShape_GetLinePosition", (PyCFunction) _wrap_wxPyShape_GetLinePosition, METH_VARARGS | METH_KEYWORDS }, | |
8255 | { "wxPyShape_AddLine", (PyCFunction) _wrap_wxPyShape_AddLine, METH_VARARGS | METH_KEYWORDS }, | |
8256 | { "wxPyShape_Constrain", (PyCFunction) _wrap_wxPyShape_Constrain, METH_VARARGS | METH_KEYWORDS }, | |
8257 | { "wxPyShape_Detach", (PyCFunction) _wrap_wxPyShape_Detach, METH_VARARGS | METH_KEYWORDS }, | |
8258 | { "wxPyShape_Attach", (PyCFunction) _wrap_wxPyShape_Attach, METH_VARARGS | METH_KEYWORDS }, | |
8259 | { "wxPyShape_SetAttachmentSize", (PyCFunction) _wrap_wxPyShape_SetAttachmentSize, METH_VARARGS | METH_KEYWORDS }, | |
8260 | { "wxPyShape_SetSize", (PyCFunction) _wrap_wxPyShape_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
8261 | { "wxPyShape_DrawContents", (PyCFunction) _wrap_wxPyShape_DrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8262 | { "wxPyShape_MoveLinks", (PyCFunction) _wrap_wxPyShape_MoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8263 | { "wxPyShape_Flash", (PyCFunction) _wrap_wxPyShape_Flash, METH_VARARGS | METH_KEYWORDS }, | |
8264 | { "wxPyShape_Draw", (PyCFunction) _wrap_wxPyShape_Draw, METH_VARARGS | METH_KEYWORDS }, | |
8265 | { "wxPyShape_EraseContents", (PyCFunction) _wrap_wxPyShape_EraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8266 | { "wxPyShape_Erase", (PyCFunction) _wrap_wxPyShape_Erase, METH_VARARGS | METH_KEYWORDS }, | |
8267 | { "wxPyShape_Move", (PyCFunction) _wrap_wxPyShape_Move, METH_VARARGS | METH_KEYWORDS }, | |
8268 | { "wxPyShape_IsShown", (PyCFunction) _wrap_wxPyShape_IsShown, METH_VARARGS | METH_KEYWORDS }, | |
8269 | { "wxPyShape_Show", (PyCFunction) _wrap_wxPyShape_Show, METH_VARARGS | METH_KEYWORDS }, | |
8270 | { "wxPyShape_GetClientData", (PyCFunction) _wrap_wxPyShape_GetClientData, METH_VARARGS | METH_KEYWORDS }, | |
8271 | { "wxPyShape_SetClientData", (PyCFunction) _wrap_wxPyShape_SetClientData, METH_VARARGS | METH_KEYWORDS }, | |
8272 | { "wxPyShape_SetBrush", (PyCFunction) _wrap_wxPyShape_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
8273 | { "wxPyShape_SetPen", (PyCFunction) _wrap_wxPyShape_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
8274 | { "wxPyShape_GetId", (PyCFunction) _wrap_wxPyShape_GetId, METH_VARARGS | METH_KEYWORDS }, | |
8275 | { "wxPyShape_SetId", (PyCFunction) _wrap_wxPyShape_SetId, METH_VARARGS | METH_KEYWORDS }, | |
8276 | { "wxPyShape_GetAttachmentMode", (PyCFunction) _wrap_wxPyShape_GetAttachmentMode, METH_VARARGS | METH_KEYWORDS }, | |
8277 | { "wxPyShape_SetAttachmentMode", (PyCFunction) _wrap_wxPyShape_SetAttachmentMode, METH_VARARGS | METH_KEYWORDS }, | |
8278 | { "wxPyShape_GetDisableLabel", (PyCFunction) _wrap_wxPyShape_GetDisableLabel, METH_VARARGS | METH_KEYWORDS }, | |
8279 | { "wxPyShape_SetDisableLabel", (PyCFunction) _wrap_wxPyShape_SetDisableLabel, METH_VARARGS | METH_KEYWORDS }, | |
8280 | { "wxPyShape_GetLines", (PyCFunction) _wrap_wxPyShape_GetLines, METH_VARARGS | METH_KEYWORDS }, | |
8281 | { "wxPyShape_GetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_GetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS }, | |
8282 | { "wxPyShape_SetMaintainAspectRatio", (PyCFunction) _wrap_wxPyShape_SetMaintainAspectRatio, METH_VARARGS | METH_KEYWORDS }, | |
8283 | { "wxPyShape_GetCentreResize", (PyCFunction) _wrap_wxPyShape_GetCentreResize, METH_VARARGS | METH_KEYWORDS }, | |
8284 | { "wxPyShape_SetCentreResize", (PyCFunction) _wrap_wxPyShape_SetCentreResize, METH_VARARGS | METH_KEYWORDS }, | |
8285 | { "wxPyShape_HitTest", (PyCFunction) _wrap_wxPyShape_HitTest, METH_VARARGS | METH_KEYWORDS }, | |
8286 | { "wxPyShape_GetShadowMode", (PyCFunction) _wrap_wxPyShape_GetShadowMode, METH_VARARGS | METH_KEYWORDS }, | |
8287 | { "wxPyShape_SetShadowMode", (PyCFunction) _wrap_wxPyShape_SetShadowMode, METH_VARARGS | METH_KEYWORDS }, | |
8288 | { "wxPyShape_GetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_GetSpaceAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8289 | { "wxPyShape_SetSpaceAttachments", (PyCFunction) _wrap_wxPyShape_SetSpaceAttachments, METH_VARARGS | METH_KEYWORDS }, | |
8290 | { "wxPyShape_GetFixedHeight", (PyCFunction) _wrap_wxPyShape_GetFixedHeight, METH_VARARGS | METH_KEYWORDS }, | |
8291 | { "wxPyShape_GetFixedWidth", (PyCFunction) _wrap_wxPyShape_GetFixedWidth, METH_VARARGS | METH_KEYWORDS }, | |
8292 | { "wxPyShape_GetFixedSize", (PyCFunction) _wrap_wxPyShape_GetFixedSize, METH_VARARGS | METH_KEYWORDS }, | |
8293 | { "wxPyShape_SetFixedSize", (PyCFunction) _wrap_wxPyShape_SetFixedSize, METH_VARARGS | METH_KEYWORDS }, | |
8294 | { "wxPyShape_SetDraggable", (PyCFunction) _wrap_wxPyShape_SetDraggable, METH_VARARGS | METH_KEYWORDS }, | |
8295 | { "wxPyShape_GetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_GetSensitivityFilter, METH_VARARGS | METH_KEYWORDS }, | |
8296 | { "wxPyShape_SetSensitivityFilter", (PyCFunction) _wrap_wxPyShape_SetSensitivityFilter, METH_VARARGS | METH_KEYWORDS }, | |
8297 | { "wxPyShape_AncestorSelected", (PyCFunction) _wrap_wxPyShape_AncestorSelected, METH_VARARGS | METH_KEYWORDS }, | |
8298 | { "wxPyShape_Selected", (PyCFunction) _wrap_wxPyShape_Selected, METH_VARARGS | METH_KEYWORDS }, | |
8299 | { "wxPyShape_IsHighlighted", (PyCFunction) _wrap_wxPyShape_IsHighlighted, METH_VARARGS | METH_KEYWORDS }, | |
8300 | { "wxPyShape_SetHighlight", (PyCFunction) _wrap_wxPyShape_SetHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8301 | { "wxPyShape_Select", (PyCFunction) _wrap_wxPyShape_Select, METH_VARARGS | METH_KEYWORDS }, | |
8302 | { "wxPyShape_CalculateSize", (PyCFunction) _wrap_wxPyShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
8303 | { "wxPyShape_Recompute", (PyCFunction) _wrap_wxPyShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
8304 | { "wxPyShape_ResetMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_ResetMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8305 | { "wxPyShape_MakeMandatoryControlPoints", (PyCFunction) _wrap_wxPyShape_MakeMandatoryControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8306 | { "wxPyShape_SetEventHandler", (PyCFunction) _wrap_wxPyShape_SetEventHandler, METH_VARARGS | METH_KEYWORDS }, | |
8307 | { "wxPyShape_GetEventHandler", (PyCFunction) _wrap_wxPyShape_GetEventHandler, METH_VARARGS | METH_KEYWORDS }, | |
8308 | { "wxPyShape_ResetControlPoints", (PyCFunction) _wrap_wxPyShape_ResetControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8309 | { "wxPyShape_DeleteControlPoints", (PyCFunction) _wrap_wxPyShape_DeleteControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8310 | { "wxPyShape_MakeControlPoints", (PyCFunction) _wrap_wxPyShape_MakeControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8311 | { "wxPyShape_GetDrawHandles", (PyCFunction) _wrap_wxPyShape_GetDrawHandles, METH_VARARGS | METH_KEYWORDS }, | |
8312 | { "wxPyShape_SetDrawHandles", (PyCFunction) _wrap_wxPyShape_SetDrawHandles, METH_VARARGS | METH_KEYWORDS }, | |
8313 | { "wxPyShape_Unlink", (PyCFunction) _wrap_wxPyShape_Unlink, METH_VARARGS | METH_KEYWORDS }, | |
8314 | { "wxPyShape_GetChildren", (PyCFunction) _wrap_wxPyShape_GetChildren, METH_VARARGS | METH_KEYWORDS }, | |
8315 | { "wxPyShape_GetTopAncestor", (PyCFunction) _wrap_wxPyShape_GetTopAncestor, METH_VARARGS | METH_KEYWORDS }, | |
8316 | { "wxPyShape_SetParent", (PyCFunction) _wrap_wxPyShape_SetParent, METH_VARARGS | METH_KEYWORDS }, | |
8317 | { "wxPyShape_GetParent", (PyCFunction) _wrap_wxPyShape_GetParent, METH_VARARGS | METH_KEYWORDS }, | |
8318 | { "wxPyShape_SetY", (PyCFunction) _wrap_wxPyShape_SetY, METH_VARARGS | METH_KEYWORDS }, | |
8319 | { "wxPyShape_SetX", (PyCFunction) _wrap_wxPyShape_SetX, METH_VARARGS | METH_KEYWORDS }, | |
8320 | { "wxPyShape_GetY", (PyCFunction) _wrap_wxPyShape_GetY, METH_VARARGS | METH_KEYWORDS }, | |
8321 | { "wxPyShape_GetX", (PyCFunction) _wrap_wxPyShape_GetX, METH_VARARGS | METH_KEYWORDS }, | |
8322 | { "wxPyShape_RemoveFromCanvas", (PyCFunction) _wrap_wxPyShape_RemoveFromCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8323 | { "wxPyShape_InsertInCanvas", (PyCFunction) _wrap_wxPyShape_InsertInCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8324 | { "wxPyShape_AddToCanvas", (PyCFunction) _wrap_wxPyShape_AddToCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8325 | { "wxPyShape_SetCanvas", (PyCFunction) _wrap_wxPyShape_SetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8326 | { "wxPyShape_GetCanvas", (PyCFunction) _wrap_wxPyShape_GetCanvas, METH_VARARGS | METH_KEYWORDS }, | |
8327 | { "wxPyShape_GetPerimeterPoint", (PyCFunction) _wrap_wxPyShape_GetPerimeterPoint, METH_VARARGS | METH_KEYWORDS }, | |
8328 | { "wxPyShape_GetBoundingBoxMin", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMin, METH_VARARGS | METH_KEYWORDS }, | |
8329 | { "wxPyShape_GetBoundingBoxMax", (PyCFunction) _wrap_wxPyShape_GetBoundingBoxMax, METH_VARARGS | METH_KEYWORDS }, | |
8330 | { "wxPyShape_Destroy", (PyCFunction) _wrap_wxPyShape_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
8331 | { "wxPyShape__setSelf", (PyCFunction) _wrap_wxPyShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
8332 | { "wxPyShapeEvtHandler_base_OnEndSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
8333 | { "wxPyShapeEvtHandler_base_OnBeginSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
8334 | { "wxPyShapeEvtHandler_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8335 | { "wxPyShapeEvtHandler_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8336 | { "wxPyShapeEvtHandler_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8337 | { "wxPyShapeEvtHandler_base_OnMoveLink", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
8338 | { "wxPyShapeEvtHandler_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8339 | { "wxPyShapeEvtHandler_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
8340 | { "wxPyShapeEvtHandler_base_OnDrawOutline", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
8341 | { "wxPyShapeEvtHandler_base_OnEndDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8342 | { "wxPyShapeEvtHandler_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8343 | { "wxPyShapeEvtHandler_base_OnDragRight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
8344 | { "wxPyShapeEvtHandler_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8345 | { "wxPyShapeEvtHandler_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8346 | { "wxPyShapeEvtHandler_base_OnDragLeft", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
8347 | { "wxPyShapeEvtHandler_base_OnMovePost", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
8348 | { "wxPyShapeEvtHandler_base_OnMovePre", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
8349 | { "wxPyShapeEvtHandler_base_OnSize", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
8350 | { "wxPyShapeEvtHandler_base_OnRightClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
8351 | { "wxPyShapeEvtHandler_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
8352 | { "wxPyShapeEvtHandler_base_OnLeftClick", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
8353 | { "wxPyShapeEvtHandler_base_OnHighlight", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
8354 | { "wxPyShapeEvtHandler_base_OnEraseContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
8355 | { "wxPyShapeEvtHandler_base_OnErase", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
8356 | { "wxPyShapeEvtHandler_base_OnMoveLinks", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
8357 | { "wxPyShapeEvtHandler_base_OnDrawBranches", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
8358 | { "wxPyShapeEvtHandler_base_OnDrawContents", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
8359 | { "wxPyShapeEvtHandler_base_OnDraw", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
8360 | { "wxPyShapeEvtHandler_base_OnDelete", (PyCFunction) _wrap_wxPyShapeEvtHandler_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
8361 | { "wxPyShapeEvtHandler_CreateNewCopy", (PyCFunction) _wrap_wxPyShapeEvtHandler_CreateNewCopy, METH_VARARGS | METH_KEYWORDS }, | |
8362 | { "wxPyShapeEvtHandler_GetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS }, | |
8363 | { "wxPyShapeEvtHandler_SetPreviousHandler", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS }, | |
8364 | { "wxPyShapeEvtHandler_GetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_GetShape, METH_VARARGS | METH_KEYWORDS }, | |
8365 | { "wxPyShapeEvtHandler_SetShape", (PyCFunction) _wrap_wxPyShapeEvtHandler_SetShape, METH_VARARGS | METH_KEYWORDS }, | |
8366 | { "wxPyShapeEvtHandler_Destroy", (PyCFunction) _wrap_wxPyShapeEvtHandler_Destroy, METH_VARARGS | METH_KEYWORDS }, | |
8367 | { "wxPyShapeEvtHandler__setSelf", (PyCFunction) _wrap_wxPyShapeEvtHandler__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
8368 | { "new_wxPyShapeEvtHandler", (PyCFunction) _wrap_new_wxPyShapeEvtHandler, METH_VARARGS | METH_KEYWORDS }, | |
8369 | { "wxShapeRegion_ClearText", (PyCFunction) _wrap_wxShapeRegion_ClearText, METH_VARARGS | METH_KEYWORDS }, | |
8370 | { "wxShapeRegion_GetHeight", (PyCFunction) _wrap_wxShapeRegion_GetHeight, METH_VARARGS | METH_KEYWORDS }, | |
8371 | { "wxShapeRegion_GetWidth", (PyCFunction) _wrap_wxShapeRegion_GetWidth, METH_VARARGS | METH_KEYWORDS }, | |
8372 | { "wxShapeRegion_GetActualPen", (PyCFunction) _wrap_wxShapeRegion_GetActualPen, METH_VARARGS | METH_KEYWORDS }, | |
8373 | { "wxShapeRegion_SetPenColour", (PyCFunction) _wrap_wxShapeRegion_SetPenColour, METH_VARARGS | METH_KEYWORDS }, | |
8374 | { "wxShapeRegion_SetPenStyle", (PyCFunction) _wrap_wxShapeRegion_SetPenStyle, METH_VARARGS | METH_KEYWORDS }, | |
8375 | { "wxShapeRegion_GetPenStyle", (PyCFunction) _wrap_wxShapeRegion_GetPenStyle, METH_VARARGS | METH_KEYWORDS }, | |
8376 | { "wxShapeRegion_GetPenColour", (PyCFunction) _wrap_wxShapeRegion_GetPenColour, METH_VARARGS | METH_KEYWORDS }, | |
8377 | { "wxShapeRegion_GetFormattedText", (PyCFunction) _wrap_wxShapeRegion_GetFormattedText, METH_VARARGS | METH_KEYWORDS }, | |
8378 | { "wxShapeRegion_GetActualColourObject", (PyCFunction) _wrap_wxShapeRegion_GetActualColourObject, METH_VARARGS | METH_KEYWORDS }, | |
8379 | { "wxShapeRegion_GetColour", (PyCFunction) _wrap_wxShapeRegion_GetColour, METH_VARARGS | METH_KEYWORDS }, | |
8380 | { "wxShapeRegion_GetName", (PyCFunction) _wrap_wxShapeRegion_GetName, METH_VARARGS | METH_KEYWORDS }, | |
8381 | { "wxShapeRegion_GetFormatMode", (PyCFunction) _wrap_wxShapeRegion_GetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8382 | { "wxShapeRegion_GetPosition", (PyCFunction) _wrap_wxShapeRegion_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8383 | { "wxShapeRegion_GetSize", (PyCFunction) _wrap_wxShapeRegion_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
8384 | { "wxShapeRegion_GetProportion", (PyCFunction) _wrap_wxShapeRegion_GetProportion, METH_VARARGS | METH_KEYWORDS }, | |
8385 | { "wxShapeRegion_GetMinSize", (PyCFunction) _wrap_wxShapeRegion_GetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
8386 | { "wxShapeRegion_GetFont", (PyCFunction) _wrap_wxShapeRegion_GetFont, METH_VARARGS | METH_KEYWORDS }, | |
8387 | { "wxShapeRegion_GetText", (PyCFunction) _wrap_wxShapeRegion_GetText, METH_VARARGS | METH_KEYWORDS }, | |
8388 | { "wxShapeRegion_SetColour", (PyCFunction) _wrap_wxShapeRegion_SetColour, METH_VARARGS | METH_KEYWORDS }, | |
8389 | { "wxShapeRegion_SetName", (PyCFunction) _wrap_wxShapeRegion_SetName, METH_VARARGS | METH_KEYWORDS }, | |
8390 | { "wxShapeRegion_SetFormatMode", (PyCFunction) _wrap_wxShapeRegion_SetFormatMode, METH_VARARGS | METH_KEYWORDS }, | |
8391 | { "wxShapeRegion_SetProportions", (PyCFunction) _wrap_wxShapeRegion_SetProportions, METH_VARARGS | METH_KEYWORDS }, | |
8392 | { "wxShapeRegion_SetPosition", (PyCFunction) _wrap_wxShapeRegion_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
8393 | { "wxShapeRegion_SetSize", (PyCFunction) _wrap_wxShapeRegion_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
8394 | { "wxShapeRegion_SetMinSize", (PyCFunction) _wrap_wxShapeRegion_SetMinSize, METH_VARARGS | METH_KEYWORDS }, | |
8395 | { "wxShapeRegion_SetFont", (PyCFunction) _wrap_wxShapeRegion_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
8396 | { "wxShapeRegion_SetText", (PyCFunction) _wrap_wxShapeRegion_SetText, METH_VARARGS | METH_KEYWORDS }, | |
8397 | { "new_wxShapeRegion", (PyCFunction) _wrap_new_wxShapeRegion, METH_VARARGS | METH_KEYWORDS }, | |
8398 | { NULL, NULL } | |
8399 | }; | |
8400 | #ifdef __cplusplus | |
8401 | } | |
8402 | #endif | |
8403 | /* | |
8404 | * This table is used by the pointer type-checker | |
8405 | */ | |
8406 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
8407 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
8408 | { "_wxEvent","_class_wxEvent",0}, | |
8409 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
8410 | { "_signed_long","_long",0}, | |
8411 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
c368d904 | 8412 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
e91a9dfc | 8413 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
c368d904 | 8414 | { "_class_wxFSFile","_wxFSFile",0}, |
714d23b4 RD |
8415 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
8416 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 8417 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
8418 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
8419 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 8420 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
c368d904 RD |
8421 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
8422 | { "_class_wxDateTime","_wxDateTime",0}, | |
714d23b4 | 8423 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
8424 | { "_wxPrintQuality","_int",0}, |
8425 | { "_wxPrintQuality","_signed_int",0}, | |
8426 | { "_wxPrintQuality","_unsigned_int",0}, | |
8427 | { "_wxPrintQuality","_wxWindowID",0}, | |
8428 | { "_wxPrintQuality","_uint",0}, | |
8429 | { "_wxPrintQuality","_EBool",0}, | |
8430 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 8431 | { "_wxPrintQuality","_time_t",0}, |
714d23b4 | 8432 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 8433 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
e91a9dfc | 8434 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 8435 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
714d23b4 | 8436 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
8437 | { "_class_wxMenuBar","_wxMenuBar",0}, |
8438 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 8439 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
8440 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
8441 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
8442 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 8443 | { "_wxPySizer","_class_wxPySizer",0}, |
c368d904 | 8444 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
e91a9dfc RD |
8445 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, |
8446 | { "_wxCursor","_class_wxCursor",0}, | |
8447 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
c368d904 RD |
8448 | { "_wxPyProcess","_class_wxPyProcess",0}, |
8449 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
e91a9dfc | 8450 | { "_wxImageHandler","_class_wxImageHandler",0}, |
d74525f7 | 8451 | { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0}, |
c368d904 | 8452 | { "_wxLog","_class_wxLog",0}, |
714d23b4 | 8453 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
8454 | { "_wxMask","_class_wxMask",0}, |
8455 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
8456 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
8457 | { "_class_wxColourData","_wxColourData",0}, | |
8458 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
8459 | { "_wxPrinter","_class_wxPrinter",0}, | |
8460 | { "_wxPen","_class_wxPen",0}, | |
8461 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 8462 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 8463 | { "_byte","_unsigned_char",0}, |
714d23b4 RD |
8464 | { "_wxDataObject","_class_wxDataObject",0}, |
8465 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 8466 | { "_wxStaticBox","_class_wxStaticBox",0}, |
d74525f7 | 8467 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
714d23b4 RD |
8468 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
8469 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
8470 | { "_wxChoice","_class_wxChoice",0}, |
8471 | { "_wxSlider","_class_wxSlider",0}, | |
8472 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
8473 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
8474 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
8475 | { "_long","_unsigned_long",0}, |
8476 | { "_long","_signed_long",0}, | |
8477 | { "_wxImageList","_class_wxImageList",0}, | |
714d23b4 | 8478 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
8479 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
8480 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
8481 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 8482 | { "_class_wxSizer","_wxSizer",0}, |
714d23b4 | 8483 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 8484 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 8485 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 8486 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
714d23b4 | 8487 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
8488 | { "_class_wxGauge","_wxGauge",0}, |
8489 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
8490 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 8491 | { "_wxSizerItem","_class_wxSizerItem",0}, |
714d23b4 | 8492 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
8493 | { "_wxListEvent","_class_wxListEvent",0}, |
8494 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
8495 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
8496 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
8497 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 8498 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
8499 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
8500 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
714d23b4 | 8501 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 8502 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 8503 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
8504 | { "_size_t","_unsigned_int",0}, |
8505 | { "_size_t","_int",0}, | |
8506 | { "_size_t","_wxWindowID",0}, | |
8507 | { "_size_t","_uint",0}, | |
8508 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
714d23b4 RD |
8509 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
8510 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
8511 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
c368d904 | 8512 | { "_wxLogGui","_class_wxLogGui",0}, |
e0672e2f | 8513 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
e91a9dfc RD |
8514 | { "_class_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, |
8515 | { "_class_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8516 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
8517 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8518 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8519 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8520 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8521 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 8522 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
8523 | { "_wxPanel","_class_wxPanel",0}, |
8524 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8525 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
c368d904 | 8526 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
e91a9dfc RD |
8527 | { "_wxPyEvent","_class_wxPyEvent",0}, |
8528 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8529 | { "_class_wxMask","_wxMask",0}, | |
714d23b4 | 8530 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 8531 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
714d23b4 | 8532 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc | 8533 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
c368d904 | 8534 | { "_wxFileConfig","_class_wxFileConfig",0}, |
e91a9dfc RD |
8535 | { "_wxColour","_class_wxColour",0}, |
8536 | { "_class_wxDialog","_wxDialog",0}, | |
714d23b4 | 8537 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
8538 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
8539 | { "_class_wxPrinter","_wxPrinter",0}, | |
714d23b4 | 8540 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
8541 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
8542 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8543 | { "_wxToolBar","_class_wxToolBar",0}, | |
714d23b4 | 8544 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 8545 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
8546 | { "_wxStaticLine","_class_wxStaticLine",0}, |
8547 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8548 | { "_wxBrush","_class_wxBrush",0}, | |
8549 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
8550 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8551 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
714d23b4 RD |
8552 | { "_wxDataFormat","_class_wxDataFormat",0}, |
8553 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
8554 | { "_class_wxSashWindow","_wxSashWindow",0}, |
8555 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
714d23b4 | 8556 | { "_uint","_wxCoord",0}, |
e91a9dfc | 8557 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 8558 | { "_uint","_time_t",0}, |
e91a9dfc RD |
8559 | { "_uint","_size_t",0}, |
8560 | { "_uint","_unsigned_int",0}, | |
8561 | { "_uint","_int",0}, | |
8562 | { "_uint","_wxWindowID",0}, | |
c368d904 | 8563 | { "_wxChar","_char",0}, |
f0261a72 | 8564 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
8565 | { "_class_wxEvent","_wxEvent",0}, |
8566 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8567 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
8568 | { "_wxRect","_class_wxRect",0}, |
8569 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8570 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
c368d904 | 8571 | { "_class_wxLogWindow","_wxLogWindow",0}, |
e91a9dfc RD |
8572 | { "_class_wxImage","_wxImage",0}, |
8573 | { "_wxPoint","_class_wxPoint",0}, | |
c368d904 | 8574 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
e91a9dfc RD |
8575 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
8576 | { "_class_wxButton","_wxButton",0}, | |
8577 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 8578 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
e91a9dfc | 8579 | { "_class_wxFontData","_wxFontData",0}, |
714d23b4 | 8580 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 8581 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
c368d904 RD |
8582 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
8583 | { "_char","_wxChar",0}, | |
e91a9dfc | 8584 | { "_wxBitmap","_class_wxBitmap",0}, |
d74525f7 | 8585 | { "_wxPenList","_class_wxPenList",0}, |
e0672e2f | 8586 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, |
e91a9dfc | 8587 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
e91a9dfc | 8588 | { "_wxWindowDC","_class_wxWindowDC",0}, |
c368d904 RD |
8589 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
8590 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
e91a9dfc RD |
8591 | { "_wxScrollBar","_class_wxScrollBar",0}, |
8592 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
8593 | { "_wxColourDialog","_class_wxColourDialog",0}, |
8594 | { "_wxPrintData","_class_wxPrintData",0}, | |
c368d904 | 8595 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
e91a9dfc RD |
8596 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
8597 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8598 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 8599 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc | 8600 | { "_class_wxPyEvent","_wxPyEvent",0}, |
d74525f7 | 8601 | { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0}, |
e91a9dfc | 8602 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, |
c368d904 | 8603 | { "_wxConfig","_class_wxConfig",0}, |
e91a9dfc RD |
8604 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
8605 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
c368d904 | 8606 | { "_class_wxFileConfig","_wxFileConfig",0}, |
714d23b4 RD |
8607 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
8608 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
8609 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
8610 | { "_wxListItem","_class_wxListItem",0}, | |
8611 | { "_class_wxToolBar","_wxToolBar",0}, | |
714d23b4 | 8612 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc | 8613 | { "_class_wxStaticLine","_wxStaticLine",0}, |
d74525f7 | 8614 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
e91a9dfc | 8615 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
714d23b4 | 8616 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc | 8617 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
c368d904 | 8618 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
e91a9dfc | 8619 | { "_class_wxShapeRegion","_wxShapeRegion",0}, |
714d23b4 | 8620 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
8621 | { "_EBool","_wxPrintQuality",0}, |
8622 | { "_EBool","_signed_int",0}, | |
8623 | { "_EBool","_int",0}, | |
8624 | { "_EBool","_wxWindowID",0}, | |
8625 | { "_class_wxRegion","_wxRegion",0}, | |
714d23b4 | 8626 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 8627 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
714d23b4 | 8628 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
8629 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
8630 | { "_wxStaticText","_class_wxStaticText",0}, | |
8631 | { "_wxFont","_class_wxFont",0}, | |
714d23b4 | 8632 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
8633 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
8634 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
c368d904 | 8635 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
e91a9dfc | 8636 | { "_wxNotebook","_class_wxNotebook",0}, |
c368d904 | 8637 | { "_wxFSFile","_class_wxFSFile",0}, |
e91a9dfc RD |
8638 | { "_unsigned_long","_long",0}, |
8639 | { "_class_wxRect","_wxRect",0}, | |
8640 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 8641 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
f6bcfd97 | 8642 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
e91a9dfc | 8643 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
d74525f7 | 8644 | { "_class_wxBrushList","_wxBrushList",0}, |
714d23b4 | 8645 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 8646 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
e91a9dfc | 8647 | { "_wxPyApp","_class_wxPyApp",0}, |
d74525f7 | 8648 | { "_class_wxPenList","_wxPenList",0}, |
714d23b4 | 8649 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 RD |
8650 | { "_class_wxOutputStream","_wxOutputStream",0}, |
8651 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
e91a9dfc RD |
8652 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
8653 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8654 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
c368d904 | 8655 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
e91a9dfc RD |
8656 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8657 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
c368d904 RD |
8658 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
8659 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
e91a9dfc RD |
8660 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8661 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8662 | { "_class_wxPanel","_wxPanel",0}, | |
8663 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8664 | { "_wxComboBox","_class_wxComboBox",0}, | |
8665 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8666 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
714d23b4 | 8667 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
8668 | { "_signed_int","_wxPrintQuality",0}, |
8669 | { "_signed_int","_EBool",0}, | |
8670 | { "_signed_int","_wxWindowID",0}, | |
8671 | { "_signed_int","_int",0}, | |
8672 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 8673 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 8674 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
e0672e2f | 8675 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, |
714d23b4 | 8676 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
8677 | { "_wxMenu","_class_wxMenu",0}, |
8678 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8679 | { "_wxListBox","_class_wxListBox",0}, | |
8680 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
714d23b4 | 8681 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc | 8682 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
c368d904 | 8683 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
8684 | { "_WXTYPE","_short",0}, |
8685 | { "_WXTYPE","_signed_short",0}, | |
8686 | { "_WXTYPE","_unsigned_short",0}, | |
8687 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
714d23b4 | 8688 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 8689 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
8690 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
8691 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 8692 | { "_wxTipProvider","_class_wxTipProvider",0}, |
c368d904 | 8693 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
8694 | { "_unsigned_short","_WXTYPE",0}, |
8695 | { "_unsigned_short","_short",0}, | |
8696 | { "_class_wxWindow","_wxWindow",0}, | |
c368d904 | 8697 | { "_class_wxLogStderr","_wxLogStderr",0}, |
e91a9dfc | 8698 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, |
c368d904 | 8699 | { "_wxDateSpan","_class_wxDateSpan",0}, |
e91a9dfc RD |
8700 | { "_class_wxStaticText","_wxStaticText",0}, |
8701 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8702 | { "_class_wxFont","_wxFont",0}, | |
714d23b4 | 8703 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 8704 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
8705 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
8706 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
714d23b4 | 8707 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
d74525f7 | 8708 | { "_wxFontList","_class_wxFontList",0}, |
e91a9dfc | 8709 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
714d23b4 | 8710 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
e0672e2f | 8711 | { "_wxJoystick","_class_wxJoystick",0}, |
714d23b4 | 8712 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
e91a9dfc RD |
8713 | { "_wxClientDC","_class_wxClientDC",0}, |
8714 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
f6bcfd97 | 8715 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
e91a9dfc RD |
8716 | { "_wxListCtrl","_class_wxListCtrl",0}, |
8717 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8718 | { "_class_wxPoint","_wxPoint",0}, | |
c368d904 | 8719 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
e91a9dfc RD |
8720 | { "_wxRealPoint","_class_wxRealPoint",0}, |
8721 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 8722 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
8723 | { "_signed_short","_WXTYPE",0}, |
8724 | { "_signed_short","_short",0}, | |
8725 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
714d23b4 | 8726 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
e0672e2f | 8727 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, |
e91a9dfc | 8728 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
c368d904 | 8729 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
e91a9dfc RD |
8730 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8731 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8732 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8733 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8734 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
8735 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
8736 | { "_class_wxCursor","_wxCursor",0}, | |
714d23b4 | 8737 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 8738 | { "_class_wxPyProcess","_wxPyProcess",0}, |
e91a9dfc RD |
8739 | { "_class_wxImageHandler","_wxImageHandler",0}, |
8740 | { "_wxPyShape","_class_wxPyShape",0}, | |
8741 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
c368d904 | 8742 | { "_class_wxLog","_wxLog",0}, |
e91a9dfc RD |
8743 | { "_wxTreeItemId","_class_wxTreeItemId",0}, |
8744 | { "_unsigned_char","_byte",0}, | |
e0672e2f | 8745 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, |
e91a9dfc RD |
8746 | { "_class_wxMenu","_wxMenu",0}, |
8747 | { "_wxControl","_class_wxControl",0}, | |
8748 | { "_class_wxListBox","_wxListBox",0}, | |
714d23b4 | 8749 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 8750 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8751 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
8752 | { "_unsigned_int","_size_t",0}, |
8753 | { "_unsigned_int","_uint",0}, | |
8754 | { "_unsigned_int","_wxWindowID",0}, | |
8755 | { "_unsigned_int","_int",0}, | |
8756 | { "_wxIcon","_class_wxIcon",0}, | |
8757 | { "_wxDialog","_class_wxDialog",0}, | |
8758 | { "_class_wxListItem","_wxListItem",0}, | |
8759 | { "_class_wxPen","_wxPen",0}, | |
8760 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8761 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
c368d904 RD |
8762 | { "_wxConfigBase","_class_wxConfigBase",0}, |
8763 | { "_short","_wxDateTime_t",0}, | |
e91a9dfc RD |
8764 | { "_short","_WXTYPE",0}, |
8765 | { "_short","_unsigned_short",0}, | |
8766 | { "_short","_signed_short",0}, | |
8767 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8768 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
714d23b4 RD |
8769 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8770 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
8771 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8772 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8773 | { "_class_wxChoice","_wxChoice",0}, | |
8774 | { "_class_wxSlider","_wxSlider",0}, | |
8775 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8776 | { "_class_wxImageList","_wxImageList",0}, | |
8777 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
c368d904 | 8778 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 | 8779 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 8780 | { "_wxFrame","_class_wxFrame",0}, |
714d23b4 | 8781 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 8782 | { "_class_wxGridSizer","_wxGridSizer",0}, |
714d23b4 | 8783 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
8784 | { "_class_wxNotebook","_wxNotebook",0}, |
8785 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
714d23b4 | 8786 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 8787 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8788 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
8789 | { "_wxWindowID","_size_t",0}, |
8790 | { "_wxWindowID","_EBool",0}, | |
8791 | { "_wxWindowID","_uint",0}, | |
8792 | { "_wxWindowID","_int",0}, | |
8793 | { "_wxWindowID","_signed_int",0}, | |
8794 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 8795 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 8796 | { "_class_wxSizerItem","_wxSizerItem",0}, |
714d23b4 | 8797 | { "_int","_wxCoord",0}, |
e91a9dfc | 8798 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8799 | { "_int","_time_t",0}, |
e91a9dfc RD |
8800 | { "_int","_size_t",0}, |
8801 | { "_int","_EBool",0}, | |
8802 | { "_int","_uint",0}, | |
8803 | { "_int","_wxWindowID",0}, | |
8804 | { "_int","_unsigned_int",0}, | |
8805 | { "_int","_signed_int",0}, | |
8806 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 8807 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
c368d904 | 8808 | { "_wxLogWindow","_class_wxLogWindow",0}, |
e91a9dfc RD |
8809 | { "_class_wxListEvent","_wxListEvent",0}, |
8810 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
c368d904 RD |
8811 | { "_wxDateTime_t","_unsigned_short",0}, |
8812 | { "_wxDateTime_t","_short",0}, | |
8813 | { "_wxDateTime_t","_WXTYPE",0}, | |
e91a9dfc | 8814 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
714d23b4 | 8815 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
8816 | { "_wxDateTime","_class_wxDateTime",0}, |
8817 | { "_time_t","_wxCoord",0}, | |
8818 | { "_time_t","_wxPrintQuality",0}, | |
8819 | { "_time_t","_unsigned_int",0}, | |
8820 | { "_time_t","_int",0}, | |
8821 | { "_time_t","_wxWindowID",0}, | |
8822 | { "_time_t","_uint",0}, | |
8823 | { "_time_t","_size_t",0}, | |
714d23b4 | 8824 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
c368d904 | 8825 | { "_wxLogNull","_class_wxLogNull",0}, |
e91a9dfc | 8826 | { "_wxButton","_class_wxButton",0}, |
c368d904 | 8827 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
e91a9dfc RD |
8828 | { "_class_wxPyApp","_wxPyApp",0}, |
8829 | { "_wxSize","_class_wxSize",0}, | |
8830 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
714d23b4 | 8831 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
c368d904 RD |
8832 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
8833 | { "_class_wxLogGui","_wxLogGui",0}, | |
e91a9dfc RD |
8834 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
8835 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
e0672e2f | 8836 | { "_class_wxPrinterDC","_wxPrinterDC",0}, |
2348eaee | 8837 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
c368d904 RD |
8838 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
8839 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
e91a9dfc RD |
8840 | { "_class_wxPaintDC","_wxPaintDC",0}, |
8841 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
714d23b4 | 8842 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
8843 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8844 | { "_class_wxComboBox","_wxComboBox",0}, | |
8845 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8846 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 8847 | { "_wxValidator","_class_wxValidator",0}, |
714d23b4 | 8848 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc | 8849 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
e91a9dfc RD |
8850 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8851 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8852 | { "_class_wxControl","_wxControl",0}, | |
8853 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8854 | { "_class_wxIcon","_wxIcon",0}, | |
8855 | { "_class_wxColour","_wxColour",0}, | |
8856 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8857 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8858 | { "_wxPalette","_class_wxPalette",0}, | |
8859 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
c368d904 | 8860 | { "_class_wxConfigBase","_wxConfigBase",0}, |
714d23b4 RD |
8861 | { "_wxCoord","_int",0}, |
8862 | { "_wxCoord","_signed_int",0}, | |
8863 | { "_wxCoord","_unsigned_int",0}, | |
8864 | { "_wxCoord","_wxWindowID",0}, | |
8865 | { "_wxCoord","_uint",0}, | |
8866 | { "_wxCoord","_EBool",0}, | |
8867 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8868 | { "_wxCoord","_time_t",0}, |
714d23b4 | 8869 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 8870 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
714d23b4 | 8871 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 8872 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 8873 | { "_class_wxTipProvider","_wxTipProvider",0}, |
e91a9dfc RD |
8874 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
8875 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
c368d904 | 8876 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
e91a9dfc RD |
8877 | { "_wxRegion","_class_wxRegion",0}, |
8878 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8879 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 8880 | { "_wxSizer","_class_wxSizer",0}, |
c368d904 RD |
8881 | { "_class_wxDateSpan","_wxDateSpan",0}, |
8882 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
e91a9dfc | 8883 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 8884 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
714d23b4 RD |
8885 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
8886 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
8887 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
e91a9dfc RD |
8888 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8889 | { "_wxGauge","_class_wxGauge",0}, | |
8890 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
714d23b4 | 8891 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
d74525f7 | 8892 | { "_class_wxFontList","_wxFontList",0}, |
e0672e2f | 8893 | { "_class_wxJoystick","_wxJoystick",0}, |
e91a9dfc RD |
8894 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
8895 | { "_class_wxClientDC","_wxClientDC",0}, | |
8896 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8897 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
d74525f7 | 8898 | { "_wxBrushList","_class_wxBrushList",0}, |
714d23b4 | 8899 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
c368d904 | 8900 | { "_class_wxLogNull","_wxLogNull",0}, |
e91a9dfc RD |
8901 | { "_class_wxSize","_wxSize",0}, |
8902 | { "_class_wxBitmap","_wxBitmap",0}, | |
8903 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
714d23b4 | 8904 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc | 8905 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 | 8906 | { "_wxOutputStream","_class_wxOutputStream",0}, |
e91a9dfc RD |
8907 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
8908 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
8909 | { "_wxPyShapeEvtHandler","_class_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8910 | { "_wxPyShapeEvtHandler","_wxPyShape",SwigwxPyShapeTowxPyShapeEvtHandler}, | |
8911 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
8912 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8913 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8914 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
8915 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
8916 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc | 8917 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, |
f6bcfd97 | 8918 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc | 8919 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
c368d904 | 8920 | { "_class_wxConfig","_wxConfig",0}, |
e91a9dfc RD |
8921 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
8922 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8923 | { "_wxColourData","_class_wxColourData",0}, | |
8924 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
8925 | { "_class_wxPalette","_wxPalette",0}, | |
714d23b4 | 8926 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 8927 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 8928 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 8929 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
714d23b4 | 8930 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc | 8931 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
714d23b4 RD |
8932 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
8933 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
8934 | { "_class_wxFontDialog","_wxFontDialog",0}, |
8935 | { "_wxWindow","_class_wxWindow",0}, | |
714d23b4 | 8936 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
c368d904 RD |
8937 | { "_wxLogStderr","_class_wxLogStderr",0}, |
8938 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
8939 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
e91a9dfc RD |
8940 | { "_class_wxFrame","_wxFrame",0}, |
8941 | {0,0,0}}; | |
8942 | ||
8943 | static PyObject *SWIG_globals; | |
8944 | #ifdef __cplusplus | |
8945 | extern "C" | |
8946 | #endif | |
8947 | SWIGEXPORT(void) initoglbasicc() { | |
8948 | PyObject *m, *d; | |
8949 | SWIG_globals = SWIG_newvarlink(); | |
8950 | m = Py_InitModule("oglbasicc", oglbasiccMethods); | |
8951 | d = PyModule_GetDict(m); | |
8952 | { | |
8953 | int i; | |
8954 | for (i = 0; _swig_mapping[i].n1; i++) | |
8955 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8956 | } | |
8957 | } |