]>
Commit | Line | Data |
---|---|---|
e91a9dfc | 1 | /* |
c368d904 | 2 | * FILE : contrib/ogl/oglshapes2.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 initoglshapes2c | |
55 | ||
56 | #define SWIG_name "oglshapes2c" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
e91a9dfc RD |
59 | #include "oglhelpers.h" |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
c9482eba | 63 | if (!target) { |
e91a9dfc | 64 | target = o; |
c9482eba | 65 | } else if (target == Py_None) { |
e91a9dfc RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
c9482eba | 68 | } else { |
e91a9dfc RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
c9482eba | 85 | if (!target) { |
e91a9dfc | 86 | target = o; |
c9482eba | 87 | } else if (target == Py_None) { |
e91a9dfc RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
c9482eba | 90 | } else { |
e91a9dfc RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
c9482eba RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
98 | |
99 | o2 = target; | |
c9482eba RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
e91a9dfc RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
7a446686 RD |
107 | #if PYTHON_API_VERSION >= 1009 |
108 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
109 | #else | |
110 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
111 | #endif | |
e91a9dfc RD |
112 | |
113 | WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape); | |
114 | ||
115 | WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape); | |
116 | ||
117 | WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape); | |
118 | ||
119 | WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape); | |
120 | ||
121 | WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape); | |
122 | #ifdef __cplusplus | |
123 | extern "C" { | |
124 | #endif | |
125 | static void *SwigwxPyEllipseShapeTowxPyShape(void *ptr) { | |
126 | wxPyEllipseShape *src; | |
127 | wxPyShape *dest; | |
128 | src = (wxPyEllipseShape *) ptr; | |
129 | dest = (wxPyShape *) src; | |
130 | return (void *) dest; | |
131 | } | |
132 | ||
133 | static void *SwigwxPyEllipseShapeTowxPyShapeEvtHandler(void *ptr) { | |
134 | wxPyEllipseShape *src; | |
135 | wxPyShapeEvtHandler *dest; | |
136 | src = (wxPyEllipseShape *) ptr; | |
137 | dest = (wxPyShapeEvtHandler *) src; | |
138 | return (void *) dest; | |
139 | } | |
140 | ||
141 | #define new_wxPyEllipseShape(_swigarg0,_swigarg1) (new wxPyEllipseShape(_swigarg0,_swigarg1)) | |
142 | static PyObject *_wrap_new_wxPyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
143 | PyObject * _resultobj; | |
144 | wxPyEllipseShape * _result; | |
145 | double _arg0 = (double ) 0.0; | |
146 | double _arg1 = (double ) 0.0; | |
147 | char *_kwnames[] = { "width","height", NULL }; | |
148 | char _ptemp[128]; | |
149 | ||
150 | self = self; | |
151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyEllipseShape",_kwnames,&_arg0,&_arg1)) | |
152 | return NULL; | |
153 | { | |
154 | wxPy_BEGIN_ALLOW_THREADS; | |
155 | _result = (wxPyEllipseShape *)new_wxPyEllipseShape(_arg0,_arg1); | |
156 | ||
157 | wxPy_END_ALLOW_THREADS; | |
158 | } if (_result) { | |
159 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEllipseShape_p"); | |
160 | _resultobj = Py_BuildValue("s",_ptemp); | |
161 | } else { | |
162 | Py_INCREF(Py_None); | |
163 | _resultobj = Py_None; | |
164 | } | |
165 | return _resultobj; | |
166 | } | |
167 | ||
f6bcfd97 | 168 | #define wxPyEllipseShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
169 | static PyObject *_wrap_wxPyEllipseShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
170 | PyObject * _resultobj; | |
171 | wxPyEllipseShape * _arg0; | |
172 | PyObject * _arg1; | |
f6bcfd97 | 173 | PyObject * _arg2; |
e91a9dfc RD |
174 | PyObject * _argo0 = 0; |
175 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
176 | PyObject * _obj2 = 0; |
177 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
178 | |
179 | self = self; | |
f6bcfd97 | 180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyEllipseShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
181 | return NULL; |
182 | if (_argo0) { | |
183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape__setSelf. Expected _wxPyEllipseShape_p."); | |
186 | return NULL; | |
187 | } | |
188 | } | |
189 | { | |
190 | _arg1 = _obj1; | |
191 | } | |
f6bcfd97 BP |
192 | { |
193 | _arg2 = _obj2; | |
194 | } | |
e91a9dfc RD |
195 | { |
196 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 197 | wxPyEllipseShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
198 | |
199 | wxPy_END_ALLOW_THREADS; | |
200 | } Py_INCREF(Py_None); | |
201 | _resultobj = Py_None; | |
202 | return _resultobj; | |
203 | } | |
204 | ||
205 | #define wxPyEllipseShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
206 | static PyObject *_wrap_wxPyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
207 | PyObject * _resultobj; | |
208 | wxPyEllipseShape * _arg0; | |
209 | wxDC * _arg1; | |
210 | PyObject * _argo0 = 0; | |
211 | PyObject * _argo1 = 0; | |
212 | char *_kwnames[] = { "self","dc", NULL }; | |
213 | ||
214 | self = self; | |
215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
216 | return NULL; | |
217 | if (_argo0) { | |
218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDraw. Expected _wxPyEllipseShape_p."); | |
221 | return NULL; | |
222 | } | |
223 | } | |
224 | if (_argo1) { | |
225 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
226 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDraw. Expected _wxDC_p."); | |
228 | return NULL; | |
229 | } | |
230 | } | |
231 | { | |
232 | wxPy_BEGIN_ALLOW_THREADS; | |
233 | wxPyEllipseShape_base_OnDraw(_arg0,*_arg1); | |
234 | ||
235 | wxPy_END_ALLOW_THREADS; | |
236 | } Py_INCREF(Py_None); | |
237 | _resultobj = Py_None; | |
238 | return _resultobj; | |
239 | } | |
240 | ||
241 | #define wxPyEllipseShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
242 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
243 | PyObject * _resultobj; | |
244 | wxPyEllipseShape * _arg0; | |
245 | wxDC * _arg1; | |
246 | PyObject * _argo0 = 0; | |
247 | PyObject * _argo1 = 0; | |
248 | char *_kwnames[] = { "self","dc", NULL }; | |
249 | ||
250 | self = self; | |
251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
252 | return NULL; | |
253 | if (_argo0) { | |
254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawContents. Expected _wxPyEllipseShape_p."); | |
257 | return NULL; | |
258 | } | |
259 | } | |
260 | if (_argo1) { | |
261 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
262 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawContents. Expected _wxDC_p."); | |
264 | return NULL; | |
265 | } | |
266 | } | |
267 | { | |
268 | wxPy_BEGIN_ALLOW_THREADS; | |
269 | wxPyEllipseShape_base_OnDrawContents(_arg0,*_arg1); | |
270 | ||
271 | wxPy_END_ALLOW_THREADS; | |
272 | } Py_INCREF(Py_None); | |
273 | _resultobj = Py_None; | |
274 | return _resultobj; | |
275 | } | |
276 | ||
277 | #define wxPyEllipseShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
278 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
279 | PyObject * _resultobj; | |
280 | wxPyEllipseShape * _arg0; | |
281 | wxDC * _arg1; | |
282 | bool _arg2 = (bool ) FALSE; | |
283 | PyObject * _argo0 = 0; | |
284 | PyObject * _argo1 = 0; | |
285 | int tempbool2 = (int) FALSE; | |
286 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
287 | ||
288 | self = self; | |
289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
290 | return NULL; | |
291 | if (_argo0) { | |
292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxPyEllipseShape_p."); | |
295 | return NULL; | |
296 | } | |
297 | } | |
298 | if (_argo1) { | |
299 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
300 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxDC_p."); | |
302 | return NULL; | |
303 | } | |
304 | } | |
305 | _arg2 = (bool ) tempbool2; | |
306 | { | |
307 | wxPy_BEGIN_ALLOW_THREADS; | |
308 | wxPyEllipseShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
309 | ||
310 | wxPy_END_ALLOW_THREADS; | |
311 | } Py_INCREF(Py_None); | |
312 | _resultobj = Py_None; | |
313 | return _resultobj; | |
314 | } | |
315 | ||
316 | #define wxPyEllipseShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
317 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
318 | PyObject * _resultobj; | |
319 | wxPyEllipseShape * _arg0; | |
320 | wxDC * _arg1; | |
321 | PyObject * _argo0 = 0; | |
322 | PyObject * _argo1 = 0; | |
323 | char *_kwnames[] = { "self","dc", NULL }; | |
324 | ||
325 | self = self; | |
326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
327 | return NULL; | |
328 | if (_argo0) { | |
329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxPyEllipseShape_p."); | |
332 | return NULL; | |
333 | } | |
334 | } | |
335 | if (_argo1) { | |
336 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
337 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxDC_p."); | |
339 | return NULL; | |
340 | } | |
341 | } | |
342 | { | |
343 | wxPy_BEGIN_ALLOW_THREADS; | |
344 | wxPyEllipseShape_base_OnMoveLinks(_arg0,*_arg1); | |
345 | ||
346 | wxPy_END_ALLOW_THREADS; | |
347 | } Py_INCREF(Py_None); | |
348 | _resultobj = Py_None; | |
349 | return _resultobj; | |
350 | } | |
351 | ||
352 | #define wxPyEllipseShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
353 | static PyObject *_wrap_wxPyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
354 | PyObject * _resultobj; | |
355 | wxPyEllipseShape * _arg0; | |
356 | wxDC * _arg1; | |
357 | PyObject * _argo0 = 0; | |
358 | PyObject * _argo1 = 0; | |
359 | char *_kwnames[] = { "self","dc", NULL }; | |
360 | ||
361 | self = self; | |
362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
363 | return NULL; | |
364 | if (_argo0) { | |
365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnErase. Expected _wxPyEllipseShape_p."); | |
368 | return NULL; | |
369 | } | |
370 | } | |
371 | if (_argo1) { | |
372 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
373 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnErase. Expected _wxDC_p."); | |
375 | return NULL; | |
376 | } | |
377 | } | |
378 | { | |
379 | wxPy_BEGIN_ALLOW_THREADS; | |
380 | wxPyEllipseShape_base_OnErase(_arg0,*_arg1); | |
381 | ||
382 | wxPy_END_ALLOW_THREADS; | |
383 | } Py_INCREF(Py_None); | |
384 | _resultobj = Py_None; | |
385 | return _resultobj; | |
386 | } | |
387 | ||
388 | #define wxPyEllipseShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
389 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
390 | PyObject * _resultobj; | |
391 | wxPyEllipseShape * _arg0; | |
392 | wxDC * _arg1; | |
393 | PyObject * _argo0 = 0; | |
394 | PyObject * _argo1 = 0; | |
395 | char *_kwnames[] = { "self","dc", NULL }; | |
396 | ||
397 | self = self; | |
398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
399 | return NULL; | |
400 | if (_argo0) { | |
401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseContents. Expected _wxPyEllipseShape_p."); | |
404 | return NULL; | |
405 | } | |
406 | } | |
407 | if (_argo1) { | |
408 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
409 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseContents. Expected _wxDC_p."); | |
411 | return NULL; | |
412 | } | |
413 | } | |
414 | { | |
415 | wxPy_BEGIN_ALLOW_THREADS; | |
416 | wxPyEllipseShape_base_OnEraseContents(_arg0,*_arg1); | |
417 | ||
418 | wxPy_END_ALLOW_THREADS; | |
419 | } Py_INCREF(Py_None); | |
420 | _resultobj = Py_None; | |
421 | return _resultobj; | |
422 | } | |
423 | ||
424 | #define wxPyEllipseShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
425 | static PyObject *_wrap_wxPyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
426 | PyObject * _resultobj; | |
427 | wxPyEllipseShape * _arg0; | |
428 | wxDC * _arg1; | |
429 | PyObject * _argo0 = 0; | |
430 | PyObject * _argo1 = 0; | |
431 | char *_kwnames[] = { "self","dc", NULL }; | |
432 | ||
433 | self = self; | |
434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
435 | return NULL; | |
436 | if (_argo0) { | |
437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnHighlight. Expected _wxPyEllipseShape_p."); | |
440 | return NULL; | |
441 | } | |
442 | } | |
443 | if (_argo1) { | |
444 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
445 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnHighlight. Expected _wxDC_p."); | |
447 | return NULL; | |
448 | } | |
449 | } | |
450 | { | |
451 | wxPy_BEGIN_ALLOW_THREADS; | |
452 | wxPyEllipseShape_base_OnHighlight(_arg0,*_arg1); | |
453 | ||
454 | wxPy_END_ALLOW_THREADS; | |
455 | } Py_INCREF(Py_None); | |
456 | _resultobj = Py_None; | |
457 | return _resultobj; | |
458 | } | |
459 | ||
460 | #define wxPyEllipseShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
461 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
462 | PyObject * _resultobj; | |
463 | wxPyEllipseShape * _arg0; | |
464 | double _arg1; | |
465 | double _arg2; | |
466 | int _arg3 = (int ) 0; | |
467 | int _arg4 = (int ) 0; | |
468 | PyObject * _argo0 = 0; | |
469 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
470 | ||
471 | self = self; | |
472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
473 | return NULL; | |
474 | if (_argo0) { | |
475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftClick. Expected _wxPyEllipseShape_p."); | |
478 | return NULL; | |
479 | } | |
480 | } | |
481 | { | |
482 | wxPy_BEGIN_ALLOW_THREADS; | |
483 | wxPyEllipseShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
484 | ||
485 | wxPy_END_ALLOW_THREADS; | |
486 | } Py_INCREF(Py_None); | |
487 | _resultobj = Py_None; | |
488 | return _resultobj; | |
489 | } | |
490 | ||
491 | #define wxPyEllipseShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
492 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
493 | PyObject * _resultobj; | |
494 | wxPyEllipseShape * _arg0; | |
495 | double _arg1; | |
496 | double _arg2; | |
497 | int _arg3 = (int ) 0; | |
498 | int _arg4 = (int ) 0; | |
499 | PyObject * _argo0 = 0; | |
500 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
501 | ||
502 | self = self; | |
503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
504 | return NULL; | |
505 | if (_argo0) { | |
506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftDoubleClick. Expected _wxPyEllipseShape_p."); | |
509 | return NULL; | |
510 | } | |
511 | } | |
512 | { | |
513 | wxPy_BEGIN_ALLOW_THREADS; | |
514 | wxPyEllipseShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
515 | ||
516 | wxPy_END_ALLOW_THREADS; | |
517 | } Py_INCREF(Py_None); | |
518 | _resultobj = Py_None; | |
519 | return _resultobj; | |
520 | } | |
521 | ||
522 | #define wxPyEllipseShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
523 | static PyObject *_wrap_wxPyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
524 | PyObject * _resultobj; | |
525 | wxPyEllipseShape * _arg0; | |
526 | double _arg1; | |
527 | double _arg2; | |
528 | int _arg3 = (int ) 0; | |
529 | int _arg4 = (int ) 0; | |
530 | PyObject * _argo0 = 0; | |
531 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
532 | ||
533 | self = self; | |
534 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
535 | return NULL; | |
536 | if (_argo0) { | |
537 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
538 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnRightClick. Expected _wxPyEllipseShape_p."); | |
540 | return NULL; | |
541 | } | |
542 | } | |
543 | { | |
544 | wxPy_BEGIN_ALLOW_THREADS; | |
545 | wxPyEllipseShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
546 | ||
547 | wxPy_END_ALLOW_THREADS; | |
548 | } Py_INCREF(Py_None); | |
549 | _resultobj = Py_None; | |
550 | return _resultobj; | |
551 | } | |
552 | ||
553 | #define wxPyEllipseShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
554 | static PyObject *_wrap_wxPyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
555 | PyObject * _resultobj; | |
556 | wxPyEllipseShape * _arg0; | |
557 | double _arg1; | |
558 | double _arg2; | |
559 | PyObject * _argo0 = 0; | |
560 | char *_kwnames[] = { "self","x","y", NULL }; | |
561 | ||
562 | self = self; | |
563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
564 | return NULL; | |
565 | if (_argo0) { | |
566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSize. Expected _wxPyEllipseShape_p."); | |
569 | return NULL; | |
570 | } | |
571 | } | |
572 | { | |
573 | wxPy_BEGIN_ALLOW_THREADS; | |
574 | wxPyEllipseShape_base_OnSize(_arg0,_arg1,_arg2); | |
575 | ||
576 | wxPy_END_ALLOW_THREADS; | |
577 | } Py_INCREF(Py_None); | |
578 | _resultobj = Py_None; | |
579 | return _resultobj; | |
580 | } | |
581 | ||
582 | #define wxPyEllipseShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
583 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
584 | PyObject * _resultobj; | |
585 | bool _result; | |
586 | wxPyEllipseShape * _arg0; | |
587 | wxDC * _arg1; | |
588 | double _arg2; | |
589 | double _arg3; | |
590 | double _arg4; | |
591 | double _arg5; | |
592 | bool _arg6 = (bool ) TRUE; | |
593 | PyObject * _argo0 = 0; | |
594 | PyObject * _argo1 = 0; | |
595 | int tempbool6 = (int) TRUE; | |
596 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
597 | ||
598 | self = self; | |
599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
600 | return NULL; | |
601 | if (_argo0) { | |
602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePre. Expected _wxPyEllipseShape_p."); | |
605 | return NULL; | |
606 | } | |
607 | } | |
608 | if (_argo1) { | |
609 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
610 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePre. Expected _wxDC_p."); | |
612 | return NULL; | |
613 | } | |
614 | } | |
615 | _arg6 = (bool ) tempbool6; | |
616 | { | |
617 | wxPy_BEGIN_ALLOW_THREADS; | |
618 | _result = (bool )wxPyEllipseShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
619 | ||
620 | wxPy_END_ALLOW_THREADS; | |
621 | } _resultobj = Py_BuildValue("i",_result); | |
622 | return _resultobj; | |
623 | } | |
624 | ||
625 | #define wxPyEllipseShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
626 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
627 | PyObject * _resultobj; | |
628 | wxPyEllipseShape * _arg0; | |
629 | wxDC * _arg1; | |
630 | double _arg2; | |
631 | double _arg3; | |
632 | double _arg4; | |
633 | double _arg5; | |
634 | bool _arg6 = (bool ) TRUE; | |
635 | PyObject * _argo0 = 0; | |
636 | PyObject * _argo1 = 0; | |
637 | int tempbool6 = (int) TRUE; | |
638 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
639 | ||
640 | self = self; | |
641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
642 | return NULL; | |
643 | if (_argo0) { | |
644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePost. Expected _wxPyEllipseShape_p."); | |
647 | return NULL; | |
648 | } | |
649 | } | |
650 | if (_argo1) { | |
651 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
652 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePost. Expected _wxDC_p."); | |
654 | return NULL; | |
655 | } | |
656 | } | |
657 | _arg6 = (bool ) tempbool6; | |
658 | { | |
659 | wxPy_BEGIN_ALLOW_THREADS; | |
660 | wxPyEllipseShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
661 | ||
662 | wxPy_END_ALLOW_THREADS; | |
663 | } Py_INCREF(Py_None); | |
664 | _resultobj = Py_None; | |
665 | return _resultobj; | |
666 | } | |
667 | ||
668 | #define wxPyEllipseShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
669 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
670 | PyObject * _resultobj; | |
671 | wxPyEllipseShape * _arg0; | |
672 | bool _arg1; | |
673 | double _arg2; | |
674 | double _arg3; | |
675 | int _arg4 = (int ) 0; | |
676 | int _arg5 = (int ) 0; | |
677 | PyObject * _argo0 = 0; | |
678 | int tempbool1; | |
679 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
680 | ||
681 | self = self; | |
682 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
683 | return NULL; | |
684 | if (_argo0) { | |
685 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
686 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
687 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragLeft. Expected _wxPyEllipseShape_p."); | |
688 | return NULL; | |
689 | } | |
690 | } | |
691 | _arg1 = (bool ) tempbool1; | |
692 | { | |
693 | wxPy_BEGIN_ALLOW_THREADS; | |
694 | wxPyEllipseShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
695 | ||
696 | wxPy_END_ALLOW_THREADS; | |
697 | } Py_INCREF(Py_None); | |
698 | _resultobj = Py_None; | |
699 | return _resultobj; | |
700 | } | |
701 | ||
702 | #define wxPyEllipseShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
703 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
704 | PyObject * _resultobj; | |
705 | wxPyEllipseShape * _arg0; | |
706 | double _arg1; | |
707 | double _arg2; | |
708 | int _arg3 = (int ) 0; | |
709 | int _arg4 = (int ) 0; | |
710 | PyObject * _argo0 = 0; | |
711 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
712 | ||
713 | self = self; | |
714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
715 | return NULL; | |
716 | if (_argo0) { | |
717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
720 | return NULL; | |
721 | } | |
722 | } | |
723 | { | |
724 | wxPy_BEGIN_ALLOW_THREADS; | |
725 | wxPyEllipseShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
726 | ||
727 | wxPy_END_ALLOW_THREADS; | |
728 | } Py_INCREF(Py_None); | |
729 | _resultobj = Py_None; | |
730 | return _resultobj; | |
731 | } | |
732 | ||
733 | #define wxPyEllipseShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
734 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
735 | PyObject * _resultobj; | |
736 | wxPyEllipseShape * _arg0; | |
737 | double _arg1; | |
738 | double _arg2; | |
739 | int _arg3 = (int ) 0; | |
740 | int _arg4 = (int ) 0; | |
741 | PyObject * _argo0 = 0; | |
742 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
743 | ||
744 | self = self; | |
745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
746 | return NULL; | |
747 | if (_argo0) { | |
748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragLeft. Expected _wxPyEllipseShape_p."); | |
751 | return NULL; | |
752 | } | |
753 | } | |
754 | { | |
755 | wxPy_BEGIN_ALLOW_THREADS; | |
756 | wxPyEllipseShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
757 | ||
758 | wxPy_END_ALLOW_THREADS; | |
759 | } Py_INCREF(Py_None); | |
760 | _resultobj = Py_None; | |
761 | return _resultobj; | |
762 | } | |
763 | ||
764 | #define wxPyEllipseShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
765 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
766 | PyObject * _resultobj; | |
767 | wxPyEllipseShape * _arg0; | |
768 | bool _arg1; | |
769 | double _arg2; | |
770 | double _arg3; | |
771 | int _arg4 = (int ) 0; | |
772 | int _arg5 = (int ) 0; | |
773 | PyObject * _argo0 = 0; | |
774 | int tempbool1; | |
775 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
776 | ||
777 | self = self; | |
778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
779 | return NULL; | |
780 | if (_argo0) { | |
781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragRight. Expected _wxPyEllipseShape_p."); | |
784 | return NULL; | |
785 | } | |
786 | } | |
787 | _arg1 = (bool ) tempbool1; | |
788 | { | |
789 | wxPy_BEGIN_ALLOW_THREADS; | |
790 | wxPyEllipseShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
791 | ||
792 | wxPy_END_ALLOW_THREADS; | |
793 | } Py_INCREF(Py_None); | |
794 | _resultobj = Py_None; | |
795 | return _resultobj; | |
796 | } | |
797 | ||
798 | #define wxPyEllipseShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
799 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
800 | PyObject * _resultobj; | |
801 | wxPyEllipseShape * _arg0; | |
802 | double _arg1; | |
803 | double _arg2; | |
804 | int _arg3 = (int ) 0; | |
805 | int _arg4 = (int ) 0; | |
806 | PyObject * _argo0 = 0; | |
807 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
808 | ||
809 | self = self; | |
810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
811 | return NULL; | |
812 | if (_argo0) { | |
813 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
814 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragRight. Expected _wxPyEllipseShape_p."); | |
816 | return NULL; | |
817 | } | |
818 | } | |
819 | { | |
820 | wxPy_BEGIN_ALLOW_THREADS; | |
821 | wxPyEllipseShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
822 | ||
823 | wxPy_END_ALLOW_THREADS; | |
824 | } Py_INCREF(Py_None); | |
825 | _resultobj = Py_None; | |
826 | return _resultobj; | |
827 | } | |
828 | ||
829 | #define wxPyEllipseShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
830 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
831 | PyObject * _resultobj; | |
832 | wxPyEllipseShape * _arg0; | |
833 | double _arg1; | |
834 | double _arg2; | |
835 | int _arg3 = (int ) 0; | |
836 | int _arg4 = (int ) 0; | |
837 | PyObject * _argo0 = 0; | |
838 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
839 | ||
840 | self = self; | |
841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
842 | return NULL; | |
843 | if (_argo0) { | |
844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragRight. Expected _wxPyEllipseShape_p."); | |
847 | return NULL; | |
848 | } | |
849 | } | |
850 | { | |
851 | wxPy_BEGIN_ALLOW_THREADS; | |
852 | wxPyEllipseShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
853 | ||
854 | wxPy_END_ALLOW_THREADS; | |
855 | } Py_INCREF(Py_None); | |
856 | _resultobj = Py_None; | |
857 | return _resultobj; | |
858 | } | |
859 | ||
860 | #define wxPyEllipseShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
861 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
862 | PyObject * _resultobj; | |
863 | wxPyEllipseShape * _arg0; | |
864 | wxDC * _arg1; | |
865 | double _arg2; | |
866 | double _arg3; | |
867 | double _arg4; | |
868 | double _arg5; | |
869 | PyObject * _argo0 = 0; | |
870 | PyObject * _argo1 = 0; | |
871 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
872 | ||
873 | self = self; | |
874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyEllipseShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
875 | return NULL; | |
876 | if (_argo0) { | |
877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxPyEllipseShape_p."); | |
880 | return NULL; | |
881 | } | |
882 | } | |
883 | if (_argo1) { | |
884 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
885 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxDC_p."); | |
887 | return NULL; | |
888 | } | |
889 | } | |
890 | { | |
891 | wxPy_BEGIN_ALLOW_THREADS; | |
892 | wxPyEllipseShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
893 | ||
894 | wxPy_END_ALLOW_THREADS; | |
895 | } Py_INCREF(Py_None); | |
896 | _resultobj = Py_None; | |
897 | return _resultobj; | |
898 | } | |
899 | ||
900 | #define wxPyEllipseShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
901 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
902 | PyObject * _resultobj; | |
903 | wxPyEllipseShape * _arg0; | |
904 | wxDC * _arg1; | |
905 | PyObject * _argo0 = 0; | |
906 | PyObject * _argo1 = 0; | |
907 | char *_kwnames[] = { "self","dc", NULL }; | |
908 | ||
909 | self = self; | |
910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
911 | return NULL; | |
912 | if (_argo0) { | |
913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxPyEllipseShape_p."); | |
916 | return NULL; | |
917 | } | |
918 | } | |
919 | if (_argo1) { | |
920 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
921 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
923 | return NULL; | |
924 | } | |
925 | } | |
926 | { | |
927 | wxPy_BEGIN_ALLOW_THREADS; | |
928 | wxPyEllipseShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
929 | ||
930 | wxPy_END_ALLOW_THREADS; | |
931 | } Py_INCREF(Py_None); | |
932 | _resultobj = Py_None; | |
933 | return _resultobj; | |
934 | } | |
935 | ||
936 | #define wxPyEllipseShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
937 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
938 | PyObject * _resultobj; | |
939 | wxPyEllipseShape * _arg0; | |
940 | wxDC * _arg1; | |
941 | PyObject * _argo0 = 0; | |
942 | PyObject * _argo1 = 0; | |
943 | char *_kwnames[] = { "self","dc", NULL }; | |
944 | ||
945 | self = self; | |
946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
947 | return NULL; | |
948 | if (_argo0) { | |
949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxPyEllipseShape_p."); | |
952 | return NULL; | |
953 | } | |
954 | } | |
955 | if (_argo1) { | |
956 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
957 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
959 | return NULL; | |
960 | } | |
961 | } | |
962 | { | |
963 | wxPy_BEGIN_ALLOW_THREADS; | |
964 | wxPyEllipseShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
965 | ||
966 | wxPy_END_ALLOW_THREADS; | |
967 | } Py_INCREF(Py_None); | |
968 | _resultobj = Py_None; | |
969 | return _resultobj; | |
970 | } | |
971 | ||
972 | #define wxPyEllipseShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
973 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
974 | PyObject * _resultobj; | |
975 | wxPyEllipseShape * _arg0; | |
976 | wxDC * _arg1; | |
977 | bool _arg2 = (bool ) TRUE; | |
978 | PyObject * _argo0 = 0; | |
979 | PyObject * _argo1 = 0; | |
980 | int tempbool2 = (int) TRUE; | |
981 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
982 | ||
983 | self = self; | |
984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
985 | return NULL; | |
986 | if (_argo0) { | |
987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLink. Expected _wxPyEllipseShape_p."); | |
990 | return NULL; | |
991 | } | |
992 | } | |
993 | if (_argo1) { | |
994 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
995 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLink. Expected _wxDC_p."); | |
997 | return NULL; | |
998 | } | |
999 | } | |
1000 | _arg2 = (bool ) tempbool2; | |
1001 | { | |
1002 | wxPy_BEGIN_ALLOW_THREADS; | |
1003 | wxPyEllipseShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
1004 | ||
1005 | wxPy_END_ALLOW_THREADS; | |
1006 | } Py_INCREF(Py_None); | |
1007 | _resultobj = Py_None; | |
1008 | return _resultobj; | |
1009 | } | |
1010 | ||
1011 | #define wxPyEllipseShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1012 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1013 | PyObject * _resultobj; | |
1014 | wxPyEllipseShape * _arg0; | |
2348eaee | 1015 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1016 | bool _arg2; |
1017 | double _arg3; | |
1018 | double _arg4; | |
1019 | int _arg5 = (int ) 0; | |
1020 | int _arg6 = (int ) 0; | |
1021 | PyObject * _argo0 = 0; | |
1022 | PyObject * _argo1 = 0; | |
1023 | int tempbool2; | |
1024 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
1025 | ||
1026 | self = self; | |
1027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyEllipseShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
1028 | return NULL; | |
1029 | if (_argo0) { | |
1030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyEllipseShape_p."); | |
1033 | return NULL; | |
1034 | } | |
1035 | } | |
1036 | if (_argo1) { | |
1037 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1038 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1040 | return NULL; |
1041 | } | |
1042 | } | |
1043 | _arg2 = (bool ) tempbool2; | |
1044 | { | |
1045 | wxPy_BEGIN_ALLOW_THREADS; | |
1046 | wxPyEllipseShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1047 | ||
1048 | wxPy_END_ALLOW_THREADS; | |
1049 | } Py_INCREF(Py_None); | |
1050 | _resultobj = Py_None; | |
1051 | return _resultobj; | |
1052 | } | |
1053 | ||
1054 | #define wxPyEllipseShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1055 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1056 | PyObject * _resultobj; | |
1057 | wxPyEllipseShape * _arg0; | |
2348eaee | 1058 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1059 | double _arg2; |
1060 | double _arg3; | |
1061 | int _arg4 = (int ) 0; | |
1062 | int _arg5 = (int ) 0; | |
1063 | PyObject * _argo0 = 0; | |
1064 | PyObject * _argo1 = 0; | |
1065 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1066 | ||
1067 | self = self; | |
1068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1069 | return NULL; | |
1070 | if (_argo0) { | |
1071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
1074 | return NULL; | |
1075 | } | |
1076 | } | |
1077 | if (_argo1) { | |
1078 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1079 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1081 | return NULL; |
1082 | } | |
1083 | } | |
1084 | { | |
1085 | wxPy_BEGIN_ALLOW_THREADS; | |
1086 | wxPyEllipseShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1087 | ||
1088 | wxPy_END_ALLOW_THREADS; | |
1089 | } Py_INCREF(Py_None); | |
1090 | _resultobj = Py_None; | |
1091 | return _resultobj; | |
1092 | } | |
1093 | ||
1094 | #define wxPyEllipseShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1095 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1096 | PyObject * _resultobj; | |
1097 | wxPyEllipseShape * _arg0; | |
2348eaee | 1098 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1099 | double _arg2; |
1100 | double _arg3; | |
1101 | int _arg4 = (int ) 0; | |
1102 | int _arg5 = (int ) 0; | |
1103 | PyObject * _argo0 = 0; | |
1104 | PyObject * _argo1 = 0; | |
1105 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1106 | ||
1107 | self = self; | |
1108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1109 | return NULL; | |
1110 | if (_argo0) { | |
1111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyEllipseShape_p."); | |
1114 | return NULL; | |
1115 | } | |
1116 | } | |
1117 | if (_argo1) { | |
1118 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1119 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1121 | return NULL; |
1122 | } | |
1123 | } | |
1124 | { | |
1125 | wxPy_BEGIN_ALLOW_THREADS; | |
1126 | wxPyEllipseShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1127 | ||
1128 | wxPy_END_ALLOW_THREADS; | |
1129 | } Py_INCREF(Py_None); | |
1130 | _resultobj = Py_None; | |
1131 | return _resultobj; | |
1132 | } | |
1133 | ||
1134 | #define wxPyEllipseShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
1135 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1136 | PyObject * _resultobj; | |
1137 | wxPyEllipseShape * _arg0; | |
1138 | double _arg1; | |
1139 | double _arg2; | |
1140 | PyObject * _argo0 = 0; | |
1141 | char *_kwnames[] = { "self","w","h", NULL }; | |
1142 | ||
1143 | self = self; | |
1144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1145 | return NULL; | |
1146 | if (_argo0) { | |
1147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginSize. Expected _wxPyEllipseShape_p."); | |
1150 | return NULL; | |
1151 | } | |
1152 | } | |
1153 | { | |
1154 | wxPy_BEGIN_ALLOW_THREADS; | |
1155 | wxPyEllipseShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
1156 | ||
1157 | wxPy_END_ALLOW_THREADS; | |
1158 | } Py_INCREF(Py_None); | |
1159 | _resultobj = Py_None; | |
1160 | return _resultobj; | |
1161 | } | |
1162 | ||
1163 | #define wxPyEllipseShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
1164 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1165 | PyObject * _resultobj; | |
1166 | wxPyEllipseShape * _arg0; | |
1167 | double _arg1; | |
1168 | double _arg2; | |
1169 | PyObject * _argo0 = 0; | |
1170 | char *_kwnames[] = { "self","w","h", NULL }; | |
1171 | ||
1172 | self = self; | |
1173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1174 | return NULL; | |
1175 | if (_argo0) { | |
1176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndSize. Expected _wxPyEllipseShape_p."); | |
1179 | return NULL; | |
1180 | } | |
1181 | } | |
1182 | { | |
1183 | wxPy_BEGIN_ALLOW_THREADS; | |
1184 | wxPyEllipseShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
1185 | ||
1186 | wxPy_END_ALLOW_THREADS; | |
1187 | } Py_INCREF(Py_None); | |
1188 | _resultobj = Py_None; | |
1189 | return _resultobj; | |
1190 | } | |
1191 | ||
1192 | static void *SwigwxPyCircleShapeTowxPyEllipseShape(void *ptr) { | |
1193 | wxPyCircleShape *src; | |
1194 | wxPyEllipseShape *dest; | |
1195 | src = (wxPyCircleShape *) ptr; | |
1196 | dest = (wxPyEllipseShape *) src; | |
1197 | return (void *) dest; | |
1198 | } | |
1199 | ||
1200 | static void *SwigwxPyCircleShapeTowxPyShape(void *ptr) { | |
1201 | wxPyCircleShape *src; | |
1202 | wxPyShape *dest; | |
1203 | src = (wxPyCircleShape *) ptr; | |
1204 | dest = (wxPyShape *) src; | |
1205 | return (void *) dest; | |
1206 | } | |
1207 | ||
1208 | static void *SwigwxPyCircleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1209 | wxPyCircleShape *src; | |
1210 | wxPyShapeEvtHandler *dest; | |
1211 | src = (wxPyCircleShape *) ptr; | |
1212 | dest = (wxPyShapeEvtHandler *) src; | |
1213 | return (void *) dest; | |
1214 | } | |
1215 | ||
1216 | #define new_wxPyCircleShape(_swigarg0) (new wxPyCircleShape(_swigarg0)) | |
1217 | static PyObject *_wrap_new_wxPyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1218 | PyObject * _resultobj; | |
1219 | wxPyCircleShape * _result; | |
1220 | double _arg0 = (double ) 0.0; | |
1221 | char *_kwnames[] = { "width", NULL }; | |
1222 | char _ptemp[128]; | |
1223 | ||
1224 | self = self; | |
1225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|d:new_wxPyCircleShape",_kwnames,&_arg0)) | |
1226 | return NULL; | |
1227 | { | |
1228 | wxPy_BEGIN_ALLOW_THREADS; | |
1229 | _result = (wxPyCircleShape *)new_wxPyCircleShape(_arg0); | |
1230 | ||
1231 | wxPy_END_ALLOW_THREADS; | |
1232 | } if (_result) { | |
1233 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCircleShape_p"); | |
1234 | _resultobj = Py_BuildValue("s",_ptemp); | |
1235 | } else { | |
1236 | Py_INCREF(Py_None); | |
1237 | _resultobj = Py_None; | |
1238 | } | |
1239 | return _resultobj; | |
1240 | } | |
1241 | ||
f6bcfd97 | 1242 | #define wxPyCircleShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1243 | static PyObject *_wrap_wxPyCircleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1244 | PyObject * _resultobj; | |
1245 | wxPyCircleShape * _arg0; | |
1246 | PyObject * _arg1; | |
f6bcfd97 | 1247 | PyObject * _arg2; |
e91a9dfc RD |
1248 | PyObject * _argo0 = 0; |
1249 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1250 | PyObject * _obj2 = 0; |
1251 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1252 | |
1253 | self = self; | |
f6bcfd97 | 1254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCircleShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1255 | return NULL; |
1256 | if (_argo0) { | |
1257 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1258 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape__setSelf. Expected _wxPyCircleShape_p."); | |
1260 | return NULL; | |
1261 | } | |
1262 | } | |
1263 | { | |
1264 | _arg1 = _obj1; | |
1265 | } | |
f6bcfd97 BP |
1266 | { |
1267 | _arg2 = _obj2; | |
1268 | } | |
e91a9dfc RD |
1269 | { |
1270 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1271 | wxPyCircleShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1272 | |
1273 | wxPy_END_ALLOW_THREADS; | |
1274 | } Py_INCREF(Py_None); | |
1275 | _resultobj = Py_None; | |
1276 | return _resultobj; | |
1277 | } | |
1278 | ||
1279 | #define wxPyCircleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1280 | static PyObject *_wrap_wxPyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1281 | PyObject * _resultobj; | |
1282 | wxPyCircleShape * _arg0; | |
1283 | wxDC * _arg1; | |
1284 | PyObject * _argo0 = 0; | |
1285 | PyObject * _argo1 = 0; | |
1286 | char *_kwnames[] = { "self","dc", NULL }; | |
1287 | ||
1288 | self = self; | |
1289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1290 | return NULL; | |
1291 | if (_argo0) { | |
1292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDraw. Expected _wxPyCircleShape_p."); | |
1295 | return NULL; | |
1296 | } | |
1297 | } | |
1298 | if (_argo1) { | |
1299 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1300 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDraw. Expected _wxDC_p."); | |
1302 | return NULL; | |
1303 | } | |
1304 | } | |
1305 | { | |
1306 | wxPy_BEGIN_ALLOW_THREADS; | |
1307 | wxPyCircleShape_base_OnDraw(_arg0,*_arg1); | |
1308 | ||
1309 | wxPy_END_ALLOW_THREADS; | |
1310 | } Py_INCREF(Py_None); | |
1311 | _resultobj = Py_None; | |
1312 | return _resultobj; | |
1313 | } | |
1314 | ||
1315 | #define wxPyCircleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1316 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1317 | PyObject * _resultobj; | |
1318 | wxPyCircleShape * _arg0; | |
1319 | wxDC * _arg1; | |
1320 | PyObject * _argo0 = 0; | |
1321 | PyObject * _argo1 = 0; | |
1322 | char *_kwnames[] = { "self","dc", NULL }; | |
1323 | ||
1324 | self = self; | |
1325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1326 | return NULL; | |
1327 | if (_argo0) { | |
1328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawContents. Expected _wxPyCircleShape_p."); | |
1331 | return NULL; | |
1332 | } | |
1333 | } | |
1334 | if (_argo1) { | |
1335 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1336 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawContents. Expected _wxDC_p."); | |
1338 | return NULL; | |
1339 | } | |
1340 | } | |
1341 | { | |
1342 | wxPy_BEGIN_ALLOW_THREADS; | |
1343 | wxPyCircleShape_base_OnDrawContents(_arg0,*_arg1); | |
1344 | ||
1345 | wxPy_END_ALLOW_THREADS; | |
1346 | } Py_INCREF(Py_None); | |
1347 | _resultobj = Py_None; | |
1348 | return _resultobj; | |
1349 | } | |
1350 | ||
1351 | #define wxPyCircleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1352 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1353 | PyObject * _resultobj; | |
1354 | wxPyCircleShape * _arg0; | |
1355 | wxDC * _arg1; | |
1356 | bool _arg2 = (bool ) FALSE; | |
1357 | PyObject * _argo0 = 0; | |
1358 | PyObject * _argo1 = 0; | |
1359 | int tempbool2 = (int) FALSE; | |
1360 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1361 | ||
1362 | self = self; | |
1363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCircleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1364 | return NULL; | |
1365 | if (_argo0) { | |
1366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawBranches. Expected _wxPyCircleShape_p."); | |
1369 | return NULL; | |
1370 | } | |
1371 | } | |
1372 | if (_argo1) { | |
1373 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1374 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1376 | return NULL; | |
1377 | } | |
1378 | } | |
1379 | _arg2 = (bool ) tempbool2; | |
1380 | { | |
1381 | wxPy_BEGIN_ALLOW_THREADS; | |
1382 | wxPyCircleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1383 | ||
1384 | wxPy_END_ALLOW_THREADS; | |
1385 | } Py_INCREF(Py_None); | |
1386 | _resultobj = Py_None; | |
1387 | return _resultobj; | |
1388 | } | |
1389 | ||
1390 | #define wxPyCircleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1391 | static PyObject *_wrap_wxPyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1392 | PyObject * _resultobj; | |
1393 | wxPyCircleShape * _arg0; | |
1394 | wxDC * _arg1; | |
1395 | PyObject * _argo0 = 0; | |
1396 | PyObject * _argo1 = 0; | |
1397 | char *_kwnames[] = { "self","dc", NULL }; | |
1398 | ||
1399 | self = self; | |
1400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1401 | return NULL; | |
1402 | if (_argo0) { | |
1403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLinks. Expected _wxPyCircleShape_p."); | |
1406 | return NULL; | |
1407 | } | |
1408 | } | |
1409 | if (_argo1) { | |
1410 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1411 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
1413 | return NULL; | |
1414 | } | |
1415 | } | |
1416 | { | |
1417 | wxPy_BEGIN_ALLOW_THREADS; | |
1418 | wxPyCircleShape_base_OnMoveLinks(_arg0,*_arg1); | |
1419 | ||
1420 | wxPy_END_ALLOW_THREADS; | |
1421 | } Py_INCREF(Py_None); | |
1422 | _resultobj = Py_None; | |
1423 | return _resultobj; | |
1424 | } | |
1425 | ||
1426 | #define wxPyCircleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1427 | static PyObject *_wrap_wxPyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1428 | PyObject * _resultobj; | |
1429 | wxPyCircleShape * _arg0; | |
1430 | wxDC * _arg1; | |
1431 | PyObject * _argo0 = 0; | |
1432 | PyObject * _argo1 = 0; | |
1433 | char *_kwnames[] = { "self","dc", NULL }; | |
1434 | ||
1435 | self = self; | |
1436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1437 | return NULL; | |
1438 | if (_argo0) { | |
1439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnErase. Expected _wxPyCircleShape_p."); | |
1442 | return NULL; | |
1443 | } | |
1444 | } | |
1445 | if (_argo1) { | |
1446 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1447 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnErase. Expected _wxDC_p."); | |
1449 | return NULL; | |
1450 | } | |
1451 | } | |
1452 | { | |
1453 | wxPy_BEGIN_ALLOW_THREADS; | |
1454 | wxPyCircleShape_base_OnErase(_arg0,*_arg1); | |
1455 | ||
1456 | wxPy_END_ALLOW_THREADS; | |
1457 | } Py_INCREF(Py_None); | |
1458 | _resultobj = Py_None; | |
1459 | return _resultobj; | |
1460 | } | |
1461 | ||
1462 | #define wxPyCircleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1463 | static PyObject *_wrap_wxPyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1464 | PyObject * _resultobj; | |
1465 | wxPyCircleShape * _arg0; | |
1466 | wxDC * _arg1; | |
1467 | PyObject * _argo0 = 0; | |
1468 | PyObject * _argo1 = 0; | |
1469 | char *_kwnames[] = { "self","dc", NULL }; | |
1470 | ||
1471 | self = self; | |
1472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1473 | return NULL; | |
1474 | if (_argo0) { | |
1475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEraseContents. Expected _wxPyCircleShape_p."); | |
1478 | return NULL; | |
1479 | } | |
1480 | } | |
1481 | if (_argo1) { | |
1482 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1483 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnEraseContents. Expected _wxDC_p."); | |
1485 | return NULL; | |
1486 | } | |
1487 | } | |
1488 | { | |
1489 | wxPy_BEGIN_ALLOW_THREADS; | |
1490 | wxPyCircleShape_base_OnEraseContents(_arg0,*_arg1); | |
1491 | ||
1492 | wxPy_END_ALLOW_THREADS; | |
1493 | } Py_INCREF(Py_None); | |
1494 | _resultobj = Py_None; | |
1495 | return _resultobj; | |
1496 | } | |
1497 | ||
1498 | #define wxPyCircleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
1499 | static PyObject *_wrap_wxPyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1500 | PyObject * _resultobj; | |
1501 | wxPyCircleShape * _arg0; | |
1502 | wxDC * _arg1; | |
1503 | PyObject * _argo0 = 0; | |
1504 | PyObject * _argo1 = 0; | |
1505 | char *_kwnames[] = { "self","dc", NULL }; | |
1506 | ||
1507 | self = self; | |
1508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
1509 | return NULL; | |
1510 | if (_argo0) { | |
1511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnHighlight. Expected _wxPyCircleShape_p."); | |
1514 | return NULL; | |
1515 | } | |
1516 | } | |
1517 | if (_argo1) { | |
1518 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1519 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnHighlight. Expected _wxDC_p."); | |
1521 | return NULL; | |
1522 | } | |
1523 | } | |
1524 | { | |
1525 | wxPy_BEGIN_ALLOW_THREADS; | |
1526 | wxPyCircleShape_base_OnHighlight(_arg0,*_arg1); | |
1527 | ||
1528 | wxPy_END_ALLOW_THREADS; | |
1529 | } Py_INCREF(Py_None); | |
1530 | _resultobj = Py_None; | |
1531 | return _resultobj; | |
1532 | } | |
1533 | ||
1534 | #define wxPyCircleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1535 | static PyObject *_wrap_wxPyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1536 | PyObject * _resultobj; | |
1537 | wxPyCircleShape * _arg0; | |
1538 | double _arg1; | |
1539 | double _arg2; | |
1540 | int _arg3 = (int ) 0; | |
1541 | int _arg4 = (int ) 0; | |
1542 | PyObject * _argo0 = 0; | |
1543 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1544 | ||
1545 | self = self; | |
1546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1547 | return NULL; | |
1548 | if (_argo0) { | |
1549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnLeftClick. Expected _wxPyCircleShape_p."); | |
1552 | return NULL; | |
1553 | } | |
1554 | } | |
1555 | { | |
1556 | wxPy_BEGIN_ALLOW_THREADS; | |
1557 | wxPyCircleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1558 | ||
1559 | wxPy_END_ALLOW_THREADS; | |
1560 | } Py_INCREF(Py_None); | |
1561 | _resultobj = Py_None; | |
1562 | return _resultobj; | |
1563 | } | |
1564 | ||
1565 | #define wxPyCircleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1566 | static PyObject *_wrap_wxPyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1567 | PyObject * _resultobj; | |
1568 | wxPyCircleShape * _arg0; | |
1569 | double _arg1; | |
1570 | double _arg2; | |
1571 | int _arg3 = (int ) 0; | |
1572 | int _arg4 = (int ) 0; | |
1573 | PyObject * _argo0 = 0; | |
1574 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1575 | ||
1576 | self = self; | |
1577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1578 | return NULL; | |
1579 | if (_argo0) { | |
1580 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1581 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnLeftDoubleClick. Expected _wxPyCircleShape_p."); | |
1583 | return NULL; | |
1584 | } | |
1585 | } | |
1586 | { | |
1587 | wxPy_BEGIN_ALLOW_THREADS; | |
1588 | wxPyCircleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1589 | ||
1590 | wxPy_END_ALLOW_THREADS; | |
1591 | } Py_INCREF(Py_None); | |
1592 | _resultobj = Py_None; | |
1593 | return _resultobj; | |
1594 | } | |
1595 | ||
1596 | #define wxPyCircleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1597 | static PyObject *_wrap_wxPyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1598 | PyObject * _resultobj; | |
1599 | wxPyCircleShape * _arg0; | |
1600 | double _arg1; | |
1601 | double _arg2; | |
1602 | int _arg3 = (int ) 0; | |
1603 | int _arg4 = (int ) 0; | |
1604 | PyObject * _argo0 = 0; | |
1605 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1606 | ||
1607 | self = self; | |
1608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1609 | return NULL; | |
1610 | if (_argo0) { | |
1611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnRightClick. Expected _wxPyCircleShape_p."); | |
1614 | return NULL; | |
1615 | } | |
1616 | } | |
1617 | { | |
1618 | wxPy_BEGIN_ALLOW_THREADS; | |
1619 | wxPyCircleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1620 | ||
1621 | wxPy_END_ALLOW_THREADS; | |
1622 | } Py_INCREF(Py_None); | |
1623 | _resultobj = Py_None; | |
1624 | return _resultobj; | |
1625 | } | |
1626 | ||
1627 | #define wxPyCircleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
1628 | static PyObject *_wrap_wxPyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1629 | PyObject * _resultobj; | |
1630 | wxPyCircleShape * _arg0; | |
1631 | double _arg1; | |
1632 | double _arg2; | |
1633 | PyObject * _argo0 = 0; | |
1634 | char *_kwnames[] = { "self","x","y", NULL }; | |
1635 | ||
1636 | self = self; | |
1637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1638 | return NULL; | |
1639 | if (_argo0) { | |
1640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSize. Expected _wxPyCircleShape_p."); | |
1643 | return NULL; | |
1644 | } | |
1645 | } | |
1646 | { | |
1647 | wxPy_BEGIN_ALLOW_THREADS; | |
1648 | wxPyCircleShape_base_OnSize(_arg0,_arg1,_arg2); | |
1649 | ||
1650 | wxPy_END_ALLOW_THREADS; | |
1651 | } Py_INCREF(Py_None); | |
1652 | _resultobj = Py_None; | |
1653 | return _resultobj; | |
1654 | } | |
1655 | ||
1656 | #define wxPyCircleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1657 | static PyObject *_wrap_wxPyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1658 | PyObject * _resultobj; | |
1659 | bool _result; | |
1660 | wxPyCircleShape * _arg0; | |
1661 | wxDC * _arg1; | |
1662 | double _arg2; | |
1663 | double _arg3; | |
1664 | double _arg4; | |
1665 | double _arg5; | |
1666 | bool _arg6 = (bool ) TRUE; | |
1667 | PyObject * _argo0 = 0; | |
1668 | PyObject * _argo1 = 0; | |
1669 | int tempbool6 = (int) TRUE; | |
1670 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1671 | ||
1672 | self = self; | |
1673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCircleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1674 | return NULL; | |
1675 | if (_argo0) { | |
1676 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1677 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMovePre. Expected _wxPyCircleShape_p."); | |
1679 | return NULL; | |
1680 | } | |
1681 | } | |
1682 | if (_argo1) { | |
1683 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1684 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMovePre. Expected _wxDC_p."); | |
1686 | return NULL; | |
1687 | } | |
1688 | } | |
1689 | _arg6 = (bool ) tempbool6; | |
1690 | { | |
1691 | wxPy_BEGIN_ALLOW_THREADS; | |
1692 | _result = (bool )wxPyCircleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1693 | ||
1694 | wxPy_END_ALLOW_THREADS; | |
1695 | } _resultobj = Py_BuildValue("i",_result); | |
1696 | return _resultobj; | |
1697 | } | |
1698 | ||
1699 | #define wxPyCircleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1700 | static PyObject *_wrap_wxPyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1701 | PyObject * _resultobj; | |
1702 | wxPyCircleShape * _arg0; | |
1703 | wxDC * _arg1; | |
1704 | double _arg2; | |
1705 | double _arg3; | |
1706 | double _arg4; | |
1707 | double _arg5; | |
1708 | bool _arg6 = (bool ) TRUE; | |
1709 | PyObject * _argo0 = 0; | |
1710 | PyObject * _argo1 = 0; | |
1711 | int tempbool6 = (int) TRUE; | |
1712 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1713 | ||
1714 | self = self; | |
1715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCircleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1716 | return NULL; | |
1717 | if (_argo0) { | |
1718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMovePost. Expected _wxPyCircleShape_p."); | |
1721 | return NULL; | |
1722 | } | |
1723 | } | |
1724 | if (_argo1) { | |
1725 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1726 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMovePost. Expected _wxDC_p."); | |
1728 | return NULL; | |
1729 | } | |
1730 | } | |
1731 | _arg6 = (bool ) tempbool6; | |
1732 | { | |
1733 | wxPy_BEGIN_ALLOW_THREADS; | |
1734 | wxPyCircleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1735 | ||
1736 | wxPy_END_ALLOW_THREADS; | |
1737 | } Py_INCREF(Py_None); | |
1738 | _resultobj = Py_None; | |
1739 | return _resultobj; | |
1740 | } | |
1741 | ||
1742 | #define wxPyCircleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1743 | static PyObject *_wrap_wxPyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1744 | PyObject * _resultobj; | |
1745 | wxPyCircleShape * _arg0; | |
1746 | bool _arg1; | |
1747 | double _arg2; | |
1748 | double _arg3; | |
1749 | int _arg4 = (int ) 0; | |
1750 | int _arg5 = (int ) 0; | |
1751 | PyObject * _argo0 = 0; | |
1752 | int tempbool1; | |
1753 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1754 | ||
1755 | self = self; | |
1756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCircleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1757 | return NULL; | |
1758 | if (_argo0) { | |
1759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDragLeft. Expected _wxPyCircleShape_p."); | |
1762 | return NULL; | |
1763 | } | |
1764 | } | |
1765 | _arg1 = (bool ) tempbool1; | |
1766 | { | |
1767 | wxPy_BEGIN_ALLOW_THREADS; | |
1768 | wxPyCircleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1769 | ||
1770 | wxPy_END_ALLOW_THREADS; | |
1771 | } Py_INCREF(Py_None); | |
1772 | _resultobj = Py_None; | |
1773 | return _resultobj; | |
1774 | } | |
1775 | ||
1776 | #define wxPyCircleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1777 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1778 | PyObject * _resultobj; | |
1779 | wxPyCircleShape * _arg0; | |
1780 | double _arg1; | |
1781 | double _arg2; | |
1782 | int _arg3 = (int ) 0; | |
1783 | int _arg4 = (int ) 0; | |
1784 | PyObject * _argo0 = 0; | |
1785 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1786 | ||
1787 | self = self; | |
1788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1789 | return NULL; | |
1790 | if (_argo0) { | |
1791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragLeft. Expected _wxPyCircleShape_p."); | |
1794 | return NULL; | |
1795 | } | |
1796 | } | |
1797 | { | |
1798 | wxPy_BEGIN_ALLOW_THREADS; | |
1799 | wxPyCircleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1800 | ||
1801 | wxPy_END_ALLOW_THREADS; | |
1802 | } Py_INCREF(Py_None); | |
1803 | _resultobj = Py_None; | |
1804 | return _resultobj; | |
1805 | } | |
1806 | ||
1807 | #define wxPyCircleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1808 | static PyObject *_wrap_wxPyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1809 | PyObject * _resultobj; | |
1810 | wxPyCircleShape * _arg0; | |
1811 | double _arg1; | |
1812 | double _arg2; | |
1813 | int _arg3 = (int ) 0; | |
1814 | int _arg4 = (int ) 0; | |
1815 | PyObject * _argo0 = 0; | |
1816 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1817 | ||
1818 | self = self; | |
1819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1820 | return NULL; | |
1821 | if (_argo0) { | |
1822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragLeft. Expected _wxPyCircleShape_p."); | |
1825 | return NULL; | |
1826 | } | |
1827 | } | |
1828 | { | |
1829 | wxPy_BEGIN_ALLOW_THREADS; | |
1830 | wxPyCircleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1831 | ||
1832 | wxPy_END_ALLOW_THREADS; | |
1833 | } Py_INCREF(Py_None); | |
1834 | _resultobj = Py_None; | |
1835 | return _resultobj; | |
1836 | } | |
1837 | ||
1838 | #define wxPyCircleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1839 | static PyObject *_wrap_wxPyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1840 | PyObject * _resultobj; | |
1841 | wxPyCircleShape * _arg0; | |
1842 | bool _arg1; | |
1843 | double _arg2; | |
1844 | double _arg3; | |
1845 | int _arg4 = (int ) 0; | |
1846 | int _arg5 = (int ) 0; | |
1847 | PyObject * _argo0 = 0; | |
1848 | int tempbool1; | |
1849 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1850 | ||
1851 | self = self; | |
1852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCircleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1853 | return NULL; | |
1854 | if (_argo0) { | |
1855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDragRight. Expected _wxPyCircleShape_p."); | |
1858 | return NULL; | |
1859 | } | |
1860 | } | |
1861 | _arg1 = (bool ) tempbool1; | |
1862 | { | |
1863 | wxPy_BEGIN_ALLOW_THREADS; | |
1864 | wxPyCircleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1865 | ||
1866 | wxPy_END_ALLOW_THREADS; | |
1867 | } Py_INCREF(Py_None); | |
1868 | _resultobj = Py_None; | |
1869 | return _resultobj; | |
1870 | } | |
1871 | ||
1872 | #define wxPyCircleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1873 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1874 | PyObject * _resultobj; | |
1875 | wxPyCircleShape * _arg0; | |
1876 | double _arg1; | |
1877 | double _arg2; | |
1878 | int _arg3 = (int ) 0; | |
1879 | int _arg4 = (int ) 0; | |
1880 | PyObject * _argo0 = 0; | |
1881 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1882 | ||
1883 | self = self; | |
1884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1885 | return NULL; | |
1886 | if (_argo0) { | |
1887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragRight. Expected _wxPyCircleShape_p."); | |
1890 | return NULL; | |
1891 | } | |
1892 | } | |
1893 | { | |
1894 | wxPy_BEGIN_ALLOW_THREADS; | |
1895 | wxPyCircleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1896 | ||
1897 | wxPy_END_ALLOW_THREADS; | |
1898 | } Py_INCREF(Py_None); | |
1899 | _resultobj = Py_None; | |
1900 | return _resultobj; | |
1901 | } | |
1902 | ||
1903 | #define wxPyCircleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1904 | static PyObject *_wrap_wxPyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1905 | PyObject * _resultobj; | |
1906 | wxPyCircleShape * _arg0; | |
1907 | double _arg1; | |
1908 | double _arg2; | |
1909 | int _arg3 = (int ) 0; | |
1910 | int _arg4 = (int ) 0; | |
1911 | PyObject * _argo0 = 0; | |
1912 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1913 | ||
1914 | self = self; | |
1915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1916 | return NULL; | |
1917 | if (_argo0) { | |
1918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragRight. Expected _wxPyCircleShape_p."); | |
1921 | return NULL; | |
1922 | } | |
1923 | } | |
1924 | { | |
1925 | wxPy_BEGIN_ALLOW_THREADS; | |
1926 | wxPyCircleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1927 | ||
1928 | wxPy_END_ALLOW_THREADS; | |
1929 | } Py_INCREF(Py_None); | |
1930 | _resultobj = Py_None; | |
1931 | return _resultobj; | |
1932 | } | |
1933 | ||
1934 | #define wxPyCircleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1935 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1936 | PyObject * _resultobj; | |
1937 | wxPyCircleShape * _arg0; | |
1938 | wxDC * _arg1; | |
1939 | double _arg2; | |
1940 | double _arg3; | |
1941 | double _arg4; | |
1942 | double _arg5; | |
1943 | PyObject * _argo0 = 0; | |
1944 | PyObject * _argo1 = 0; | |
1945 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
1946 | ||
1947 | self = self; | |
1948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCircleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1949 | return NULL; | |
1950 | if (_argo0) { | |
1951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawOutline. Expected _wxPyCircleShape_p."); | |
1954 | return NULL; | |
1955 | } | |
1956 | } | |
1957 | if (_argo1) { | |
1958 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1959 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
1961 | return NULL; | |
1962 | } | |
1963 | } | |
1964 | { | |
1965 | wxPy_BEGIN_ALLOW_THREADS; | |
1966 | wxPyCircleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
1967 | ||
1968 | wxPy_END_ALLOW_THREADS; | |
1969 | } Py_INCREF(Py_None); | |
1970 | _resultobj = Py_None; | |
1971 | return _resultobj; | |
1972 | } | |
1973 | ||
1974 | #define wxPyCircleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
1975 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1976 | PyObject * _resultobj; | |
1977 | wxPyCircleShape * _arg0; | |
1978 | wxDC * _arg1; | |
1979 | PyObject * _argo0 = 0; | |
1980 | PyObject * _argo1 = 0; | |
1981 | char *_kwnames[] = { "self","dc", NULL }; | |
1982 | ||
1983 | self = self; | |
1984 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
1985 | return NULL; | |
1986 | if (_argo0) { | |
1987 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1988 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxPyCircleShape_p."); | |
1990 | return NULL; | |
1991 | } | |
1992 | } | |
1993 | if (_argo1) { | |
1994 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1995 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
1997 | return NULL; | |
1998 | } | |
1999 | } | |
2000 | { | |
2001 | wxPy_BEGIN_ALLOW_THREADS; | |
2002 | wxPyCircleShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
2003 | ||
2004 | wxPy_END_ALLOW_THREADS; | |
2005 | } Py_INCREF(Py_None); | |
2006 | _resultobj = Py_None; | |
2007 | return _resultobj; | |
2008 | } | |
2009 | ||
2010 | #define wxPyCircleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2011 | static PyObject *_wrap_wxPyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2012 | PyObject * _resultobj; | |
2013 | wxPyCircleShape * _arg0; | |
2014 | wxDC * _arg1; | |
2015 | PyObject * _argo0 = 0; | |
2016 | PyObject * _argo1 = 0; | |
2017 | char *_kwnames[] = { "self","dc", NULL }; | |
2018 | ||
2019 | self = self; | |
2020 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2021 | return NULL; | |
2022 | if (_argo0) { | |
2023 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2024 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxPyCircleShape_p."); | |
2026 | return NULL; | |
2027 | } | |
2028 | } | |
2029 | if (_argo1) { | |
2030 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2031 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2033 | return NULL; | |
2034 | } | |
2035 | } | |
2036 | { | |
2037 | wxPy_BEGIN_ALLOW_THREADS; | |
2038 | wxPyCircleShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
2039 | ||
2040 | wxPy_END_ALLOW_THREADS; | |
2041 | } Py_INCREF(Py_None); | |
2042 | _resultobj = Py_None; | |
2043 | return _resultobj; | |
2044 | } | |
2045 | ||
2046 | #define wxPyCircleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2047 | static PyObject *_wrap_wxPyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2048 | PyObject * _resultobj; | |
2049 | wxPyCircleShape * _arg0; | |
2050 | wxDC * _arg1; | |
2051 | bool _arg2 = (bool ) TRUE; | |
2052 | PyObject * _argo0 = 0; | |
2053 | PyObject * _argo1 = 0; | |
2054 | int tempbool2 = (int) TRUE; | |
2055 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2056 | ||
2057 | self = self; | |
2058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCircleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2059 | return NULL; | |
2060 | if (_argo0) { | |
2061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLink. Expected _wxPyCircleShape_p."); | |
2064 | return NULL; | |
2065 | } | |
2066 | } | |
2067 | if (_argo1) { | |
2068 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2069 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2071 | return NULL; | |
2072 | } | |
2073 | } | |
2074 | _arg2 = (bool ) tempbool2; | |
2075 | { | |
2076 | wxPy_BEGIN_ALLOW_THREADS; | |
2077 | wxPyCircleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2078 | ||
2079 | wxPy_END_ALLOW_THREADS; | |
2080 | } Py_INCREF(Py_None); | |
2081 | _resultobj = Py_None; | |
2082 | return _resultobj; | |
2083 | } | |
2084 | ||
2085 | #define wxPyCircleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2086 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2087 | PyObject * _resultobj; | |
2088 | wxPyCircleShape * _arg0; | |
2348eaee | 2089 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2090 | bool _arg2; |
2091 | double _arg3; | |
2092 | double _arg4; | |
2093 | int _arg5 = (int ) 0; | |
2094 | int _arg6 = (int ) 0; | |
2095 | PyObject * _argo0 = 0; | |
2096 | PyObject * _argo1 = 0; | |
2097 | int tempbool2; | |
2098 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2099 | ||
2100 | self = self; | |
2101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCircleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2102 | return NULL; | |
2103 | if (_argo0) { | |
2104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyCircleShape_p."); | |
2107 | return NULL; | |
2108 | } | |
2109 | } | |
2110 | if (_argo1) { | |
2111 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2112 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2114 | return NULL; |
2115 | } | |
2116 | } | |
2117 | _arg2 = (bool ) tempbool2; | |
2118 | { | |
2119 | wxPy_BEGIN_ALLOW_THREADS; | |
2120 | wxPyCircleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2121 | ||
2122 | wxPy_END_ALLOW_THREADS; | |
2123 | } Py_INCREF(Py_None); | |
2124 | _resultobj = Py_None; | |
2125 | return _resultobj; | |
2126 | } | |
2127 | ||
2128 | #define wxPyCircleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2129 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2130 | PyObject * _resultobj; | |
2131 | wxPyCircleShape * _arg0; | |
2348eaee | 2132 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2133 | double _arg2; |
2134 | double _arg3; | |
2135 | int _arg4 = (int ) 0; | |
2136 | int _arg5 = (int ) 0; | |
2137 | PyObject * _argo0 = 0; | |
2138 | PyObject * _argo1 = 0; | |
2139 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2140 | ||
2141 | self = self; | |
2142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCircleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2143 | return NULL; | |
2144 | if (_argo0) { | |
2145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyCircleShape_p."); | |
2148 | return NULL; | |
2149 | } | |
2150 | } | |
2151 | if (_argo1) { | |
2152 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2153 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2155 | return NULL; |
2156 | } | |
2157 | } | |
2158 | { | |
2159 | wxPy_BEGIN_ALLOW_THREADS; | |
2160 | wxPyCircleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2161 | ||
2162 | wxPy_END_ALLOW_THREADS; | |
2163 | } Py_INCREF(Py_None); | |
2164 | _resultobj = Py_None; | |
2165 | return _resultobj; | |
2166 | } | |
2167 | ||
2168 | #define wxPyCircleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2169 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2170 | PyObject * _resultobj; | |
2171 | wxPyCircleShape * _arg0; | |
2348eaee | 2172 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2173 | double _arg2; |
2174 | double _arg3; | |
2175 | int _arg4 = (int ) 0; | |
2176 | int _arg5 = (int ) 0; | |
2177 | PyObject * _argo0 = 0; | |
2178 | PyObject * _argo1 = 0; | |
2179 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2180 | ||
2181 | self = self; | |
2182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCircleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2183 | return NULL; | |
2184 | if (_argo0) { | |
2185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyCircleShape_p."); | |
2188 | return NULL; | |
2189 | } | |
2190 | } | |
2191 | if (_argo1) { | |
2192 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2193 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2195 | return NULL; |
2196 | } | |
2197 | } | |
2198 | { | |
2199 | wxPy_BEGIN_ALLOW_THREADS; | |
2200 | wxPyCircleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2201 | ||
2202 | wxPy_END_ALLOW_THREADS; | |
2203 | } Py_INCREF(Py_None); | |
2204 | _resultobj = Py_None; | |
2205 | return _resultobj; | |
2206 | } | |
2207 | ||
2208 | #define wxPyCircleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2209 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2210 | PyObject * _resultobj; | |
2211 | wxPyCircleShape * _arg0; | |
2212 | double _arg1; | |
2213 | double _arg2; | |
2214 | PyObject * _argo0 = 0; | |
2215 | char *_kwnames[] = { "self","w","h", NULL }; | |
2216 | ||
2217 | self = self; | |
2218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2219 | return NULL; | |
2220 | if (_argo0) { | |
2221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginSize. Expected _wxPyCircleShape_p."); | |
2224 | return NULL; | |
2225 | } | |
2226 | } | |
2227 | { | |
2228 | wxPy_BEGIN_ALLOW_THREADS; | |
2229 | wxPyCircleShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2230 | ||
2231 | wxPy_END_ALLOW_THREADS; | |
2232 | } Py_INCREF(Py_None); | |
2233 | _resultobj = Py_None; | |
2234 | return _resultobj; | |
2235 | } | |
2236 | ||
2237 | #define wxPyCircleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2238 | static PyObject *_wrap_wxPyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2239 | PyObject * _resultobj; | |
2240 | wxPyCircleShape * _arg0; | |
2241 | double _arg1; | |
2242 | double _arg2; | |
2243 | PyObject * _argo0 = 0; | |
2244 | char *_kwnames[] = { "self","w","h", NULL }; | |
2245 | ||
2246 | self = self; | |
2247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2248 | return NULL; | |
2249 | if (_argo0) { | |
2250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndSize. Expected _wxPyCircleShape_p."); | |
2253 | return NULL; | |
2254 | } | |
2255 | } | |
2256 | { | |
2257 | wxPy_BEGIN_ALLOW_THREADS; | |
2258 | wxPyCircleShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
2259 | ||
2260 | wxPy_END_ALLOW_THREADS; | |
2261 | } Py_INCREF(Py_None); | |
2262 | _resultobj = Py_None; | |
2263 | return _resultobj; | |
2264 | } | |
2265 | ||
2266 | #define new_wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2267 | static PyObject *_wrap_new_wxArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2268 | PyObject * _resultobj; | |
2269 | wxArrowHead * _result; | |
2270 | int _arg0 = (int ) 0; | |
2271 | int _arg1 = (int ) 0; | |
2272 | double _arg2 = (double ) 0.0; | |
2273 | double _arg3 = (double ) 0.0; | |
2274 | char * _arg4 = (char *) ""; | |
2275 | wxPseudoMetaFile * _arg5 = (wxPseudoMetaFile *) NULL; | |
2276 | long _arg6 = (long ) -1; | |
2277 | PyObject * _argo5 = 0; | |
2278 | char *_kwnames[] = { "type","end","size","dist","name","mf","arrowId", NULL }; | |
2279 | char _ptemp[128]; | |
2280 | ||
2281 | self = self; | |
2282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiddsOl:new_wxArrowHead",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6)) | |
2283 | return NULL; | |
2284 | if (_argo5) { | |
2285 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
2286 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPseudoMetaFile_p")) { | |
2287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxArrowHead. Expected _wxPseudoMetaFile_p."); | |
2288 | return NULL; | |
2289 | } | |
2290 | } | |
2291 | { | |
2292 | wxPy_BEGIN_ALLOW_THREADS; | |
2293 | _result = (wxArrowHead *)new_wxArrowHead(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2294 | ||
2295 | wxPy_END_ALLOW_THREADS; | |
2296 | } if (_result) { | |
2297 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
2298 | _resultobj = Py_BuildValue("s",_ptemp); | |
2299 | } else { | |
2300 | Py_INCREF(Py_None); | |
2301 | _resultobj = Py_None; | |
2302 | } | |
2303 | return _resultobj; | |
2304 | } | |
2305 | ||
2306 | #define delete_wxArrowHead(_swigobj) (delete _swigobj) | |
2307 | static PyObject *_wrap_delete_wxArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2308 | PyObject * _resultobj; | |
2309 | wxArrowHead * _arg0; | |
2310 | PyObject * _argo0 = 0; | |
2311 | char *_kwnames[] = { "self", NULL }; | |
2312 | ||
2313 | self = self; | |
2314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxArrowHead",_kwnames,&_argo0)) | |
2315 | return NULL; | |
2316 | if (_argo0) { | |
2317 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2318 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxArrowHead. Expected _wxArrowHead_p."); | |
2320 | return NULL; | |
2321 | } | |
2322 | } | |
2323 | { | |
2324 | wxPy_BEGIN_ALLOW_THREADS; | |
2325 | delete_wxArrowHead(_arg0); | |
2326 | ||
2327 | wxPy_END_ALLOW_THREADS; | |
2328 | } Py_INCREF(Py_None); | |
2329 | _resultobj = Py_None; | |
2330 | return _resultobj; | |
2331 | } | |
2332 | ||
2333 | #define wxArrowHead__GetType(_swigobj) (_swigobj->_GetType()) | |
2334 | static PyObject *_wrap_wxArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2335 | PyObject * _resultobj; | |
2336 | int _result; | |
2337 | wxArrowHead * _arg0; | |
2338 | PyObject * _argo0 = 0; | |
2339 | char *_kwnames[] = { "self", NULL }; | |
2340 | ||
2341 | self = self; | |
2342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead__GetType",_kwnames,&_argo0)) | |
2343 | return NULL; | |
2344 | if (_argo0) { | |
2345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead__GetType. Expected _wxArrowHead_p."); | |
2348 | return NULL; | |
2349 | } | |
2350 | } | |
2351 | { | |
2352 | wxPy_BEGIN_ALLOW_THREADS; | |
2353 | _result = (int )wxArrowHead__GetType(_arg0); | |
2354 | ||
2355 | wxPy_END_ALLOW_THREADS; | |
2356 | } _resultobj = Py_BuildValue("i",_result); | |
2357 | return _resultobj; | |
2358 | } | |
2359 | ||
2360 | #define wxArrowHead_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
2361 | static PyObject *_wrap_wxArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2362 | PyObject * _resultobj; | |
2363 | int _result; | |
2364 | wxArrowHead * _arg0; | |
2365 | PyObject * _argo0 = 0; | |
2366 | char *_kwnames[] = { "self", NULL }; | |
2367 | ||
2368 | self = self; | |
2369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetPosition",_kwnames,&_argo0)) | |
2370 | return NULL; | |
2371 | if (_argo0) { | |
2372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetPosition. Expected _wxArrowHead_p."); | |
2375 | return NULL; | |
2376 | } | |
2377 | } | |
2378 | { | |
2379 | wxPy_BEGIN_ALLOW_THREADS; | |
2380 | _result = (int )wxArrowHead_GetPosition(_arg0); | |
2381 | ||
2382 | wxPy_END_ALLOW_THREADS; | |
2383 | } _resultobj = Py_BuildValue("i",_result); | |
2384 | return _resultobj; | |
2385 | } | |
2386 | ||
2387 | #define wxArrowHead_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
2388 | static PyObject *_wrap_wxArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2389 | PyObject * _resultobj; | |
2390 | wxArrowHead * _arg0; | |
2391 | int _arg1; | |
2392 | PyObject * _argo0 = 0; | |
2393 | char *_kwnames[] = { "self","pos", NULL }; | |
2394 | ||
2395 | self = self; | |
2396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxArrowHead_SetPosition",_kwnames,&_argo0,&_arg1)) | |
2397 | return NULL; | |
2398 | if (_argo0) { | |
2399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetPosition. Expected _wxArrowHead_p."); | |
2402 | return NULL; | |
2403 | } | |
2404 | } | |
2405 | { | |
2406 | wxPy_BEGIN_ALLOW_THREADS; | |
2407 | wxArrowHead_SetPosition(_arg0,_arg1); | |
2408 | ||
2409 | wxPy_END_ALLOW_THREADS; | |
2410 | } Py_INCREF(Py_None); | |
2411 | _resultobj = Py_None; | |
2412 | return _resultobj; | |
2413 | } | |
2414 | ||
2415 | #define wxArrowHead_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
2416 | static PyObject *_wrap_wxArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2417 | PyObject * _resultobj; | |
2418 | double _result; | |
2419 | wxArrowHead * _arg0; | |
2420 | PyObject * _argo0 = 0; | |
2421 | char *_kwnames[] = { "self", NULL }; | |
2422 | ||
2423 | self = self; | |
2424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetXOffset",_kwnames,&_argo0)) | |
2425 | return NULL; | |
2426 | if (_argo0) { | |
2427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetXOffset. Expected _wxArrowHead_p."); | |
2430 | return NULL; | |
2431 | } | |
2432 | } | |
2433 | { | |
2434 | wxPy_BEGIN_ALLOW_THREADS; | |
2435 | _result = (double )wxArrowHead_GetXOffset(_arg0); | |
2436 | ||
2437 | wxPy_END_ALLOW_THREADS; | |
2438 | } _resultobj = Py_BuildValue("d",_result); | |
2439 | return _resultobj; | |
2440 | } | |
2441 | ||
2442 | #define wxArrowHead_GetYOffset(_swigobj) (_swigobj->GetYOffset()) | |
2443 | static PyObject *_wrap_wxArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2444 | PyObject * _resultobj; | |
2445 | double _result; | |
2446 | wxArrowHead * _arg0; | |
2447 | PyObject * _argo0 = 0; | |
2448 | char *_kwnames[] = { "self", NULL }; | |
2449 | ||
2450 | self = self; | |
2451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetYOffset",_kwnames,&_argo0)) | |
2452 | return NULL; | |
2453 | if (_argo0) { | |
2454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetYOffset. Expected _wxArrowHead_p."); | |
2457 | return NULL; | |
2458 | } | |
2459 | } | |
2460 | { | |
2461 | wxPy_BEGIN_ALLOW_THREADS; | |
2462 | _result = (double )wxArrowHead_GetYOffset(_arg0); | |
2463 | ||
2464 | wxPy_END_ALLOW_THREADS; | |
2465 | } _resultobj = Py_BuildValue("d",_result); | |
2466 | return _resultobj; | |
2467 | } | |
2468 | ||
2469 | #define wxArrowHead_GetSpacing(_swigobj) (_swigobj->GetSpacing()) | |
2470 | static PyObject *_wrap_wxArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2471 | PyObject * _resultobj; | |
2472 | double _result; | |
2473 | wxArrowHead * _arg0; | |
2474 | PyObject * _argo0 = 0; | |
2475 | char *_kwnames[] = { "self", NULL }; | |
2476 | ||
2477 | self = self; | |
2478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetSpacing",_kwnames,&_argo0)) | |
2479 | return NULL; | |
2480 | if (_argo0) { | |
2481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetSpacing. Expected _wxArrowHead_p."); | |
2484 | return NULL; | |
2485 | } | |
2486 | } | |
2487 | { | |
2488 | wxPy_BEGIN_ALLOW_THREADS; | |
2489 | _result = (double )wxArrowHead_GetSpacing(_arg0); | |
2490 | ||
2491 | wxPy_END_ALLOW_THREADS; | |
2492 | } _resultobj = Py_BuildValue("d",_result); | |
2493 | return _resultobj; | |
2494 | } | |
2495 | ||
2496 | #define wxArrowHead_GetSize(_swigobj) (_swigobj->GetSize()) | |
2497 | static PyObject *_wrap_wxArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2498 | PyObject * _resultobj; | |
2499 | double _result; | |
2500 | wxArrowHead * _arg0; | |
2501 | PyObject * _argo0 = 0; | |
2502 | char *_kwnames[] = { "self", NULL }; | |
2503 | ||
2504 | self = self; | |
2505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetSize",_kwnames,&_argo0)) | |
2506 | return NULL; | |
2507 | if (_argo0) { | |
2508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetSize. Expected _wxArrowHead_p."); | |
2511 | return NULL; | |
2512 | } | |
2513 | } | |
2514 | { | |
2515 | wxPy_BEGIN_ALLOW_THREADS; | |
2516 | _result = (double )wxArrowHead_GetSize(_arg0); | |
2517 | ||
2518 | wxPy_END_ALLOW_THREADS; | |
2519 | } _resultobj = Py_BuildValue("d",_result); | |
2520 | return _resultobj; | |
2521 | } | |
2522 | ||
2523 | #define wxArrowHead_GetName(_swigobj) (_swigobj->GetName()) | |
2524 | static PyObject *_wrap_wxArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2525 | PyObject * _resultobj; | |
2526 | wxString * _result; | |
2527 | wxArrowHead * _arg0; | |
2528 | PyObject * _argo0 = 0; | |
2529 | char *_kwnames[] = { "self", NULL }; | |
2530 | ||
2531 | self = self; | |
2532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetName",_kwnames,&_argo0)) | |
2533 | return NULL; | |
2534 | if (_argo0) { | |
2535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetName. Expected _wxArrowHead_p."); | |
2538 | return NULL; | |
2539 | } | |
2540 | } | |
2541 | { | |
2542 | wxPy_BEGIN_ALLOW_THREADS; | |
2543 | _result = new wxString (wxArrowHead_GetName(_arg0)); | |
2544 | ||
2545 | wxPy_END_ALLOW_THREADS; | |
2546 | }{ | |
99ab9f3b | 2547 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
2548 | } |
2549 | { | |
2550 | delete _result; | |
2551 | } | |
2552 | return _resultobj; | |
2553 | } | |
2554 | ||
2555 | #define wxArrowHead_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) | |
2556 | static PyObject *_wrap_wxArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2557 | PyObject * _resultobj; | |
2558 | wxArrowHead * _arg0; | |
2559 | double _arg1; | |
2560 | PyObject * _argo0 = 0; | |
2561 | char *_kwnames[] = { "self","x", NULL }; | |
2562 | ||
2563 | self = self; | |
2564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
2565 | return NULL; | |
2566 | if (_argo0) { | |
2567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetXOffset. Expected _wxArrowHead_p."); | |
2570 | return NULL; | |
2571 | } | |
2572 | } | |
2573 | { | |
2574 | wxPy_BEGIN_ALLOW_THREADS; | |
2575 | wxArrowHead_SetXOffset(_arg0,_arg1); | |
2576 | ||
2577 | wxPy_END_ALLOW_THREADS; | |
2578 | } Py_INCREF(Py_None); | |
2579 | _resultobj = Py_None; | |
2580 | return _resultobj; | |
2581 | } | |
2582 | ||
2583 | #define wxArrowHead_SetYOffset(_swigobj,_swigarg0) (_swigobj->SetYOffset(_swigarg0)) | |
2584 | static PyObject *_wrap_wxArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2585 | PyObject * _resultobj; | |
2586 | wxArrowHead * _arg0; | |
2587 | double _arg1; | |
2588 | PyObject * _argo0 = 0; | |
2589 | char *_kwnames[] = { "self","y", NULL }; | |
2590 | ||
2591 | self = self; | |
2592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetYOffset",_kwnames,&_argo0,&_arg1)) | |
2593 | return NULL; | |
2594 | if (_argo0) { | |
2595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetYOffset. Expected _wxArrowHead_p."); | |
2598 | return NULL; | |
2599 | } | |
2600 | } | |
2601 | { | |
2602 | wxPy_BEGIN_ALLOW_THREADS; | |
2603 | wxArrowHead_SetYOffset(_arg0,_arg1); | |
2604 | ||
2605 | wxPy_END_ALLOW_THREADS; | |
2606 | } Py_INCREF(Py_None); | |
2607 | _resultobj = Py_None; | |
2608 | return _resultobj; | |
2609 | } | |
2610 | ||
2611 | #define wxArrowHead_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
2612 | static PyObject *_wrap_wxArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2613 | PyObject * _resultobj; | |
2614 | wxPseudoMetaFile * _result; | |
2615 | wxArrowHead * _arg0; | |
2616 | PyObject * _argo0 = 0; | |
2617 | char *_kwnames[] = { "self", NULL }; | |
2618 | char _ptemp[128]; | |
2619 | ||
2620 | self = self; | |
2621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetMetaFile",_kwnames,&_argo0)) | |
2622 | return NULL; | |
2623 | if (_argo0) { | |
2624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetMetaFile. Expected _wxArrowHead_p."); | |
2627 | return NULL; | |
2628 | } | |
2629 | } | |
2630 | { | |
2631 | wxPy_BEGIN_ALLOW_THREADS; | |
2632 | _result = (wxPseudoMetaFile *)wxArrowHead_GetMetaFile(_arg0); | |
2633 | ||
2634 | wxPy_END_ALLOW_THREADS; | |
2635 | } if (_result) { | |
2636 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
2637 | _resultobj = Py_BuildValue("s",_ptemp); | |
2638 | } else { | |
2639 | Py_INCREF(Py_None); | |
2640 | _resultobj = Py_None; | |
2641 | } | |
2642 | return _resultobj; | |
2643 | } | |
2644 | ||
2645 | #define wxArrowHead_GetId(_swigobj) (_swigobj->GetId()) | |
2646 | static PyObject *_wrap_wxArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2647 | PyObject * _resultobj; | |
2648 | long _result; | |
2649 | wxArrowHead * _arg0; | |
2650 | PyObject * _argo0 = 0; | |
2651 | char *_kwnames[] = { "self", NULL }; | |
2652 | ||
2653 | self = self; | |
2654 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetId",_kwnames,&_argo0)) | |
2655 | return NULL; | |
2656 | if (_argo0) { | |
2657 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2658 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetId. Expected _wxArrowHead_p."); | |
2660 | return NULL; | |
2661 | } | |
2662 | } | |
2663 | { | |
2664 | wxPy_BEGIN_ALLOW_THREADS; | |
2665 | _result = (long )wxArrowHead_GetId(_arg0); | |
2666 | ||
2667 | wxPy_END_ALLOW_THREADS; | |
2668 | } _resultobj = Py_BuildValue("l",_result); | |
2669 | return _resultobj; | |
2670 | } | |
2671 | ||
2672 | #define wxArrowHead_GetArrowEnd(_swigobj) (_swigobj->GetArrowEnd()) | |
2673 | static PyObject *_wrap_wxArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2674 | PyObject * _resultobj; | |
2675 | int _result; | |
2676 | wxArrowHead * _arg0; | |
2677 | PyObject * _argo0 = 0; | |
2678 | char *_kwnames[] = { "self", NULL }; | |
2679 | ||
2680 | self = self; | |
2681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetArrowEnd",_kwnames,&_argo0)) | |
2682 | return NULL; | |
2683 | if (_argo0) { | |
2684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetArrowEnd. Expected _wxArrowHead_p."); | |
2687 | return NULL; | |
2688 | } | |
2689 | } | |
2690 | { | |
2691 | wxPy_BEGIN_ALLOW_THREADS; | |
2692 | _result = (int )wxArrowHead_GetArrowEnd(_arg0); | |
2693 | ||
2694 | wxPy_END_ALLOW_THREADS; | |
2695 | } _resultobj = Py_BuildValue("i",_result); | |
2696 | return _resultobj; | |
2697 | } | |
2698 | ||
2699 | #define wxArrowHead_GetArrowSize(_swigobj) (_swigobj->GetArrowSize()) | |
2700 | static PyObject *_wrap_wxArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2701 | PyObject * _resultobj; | |
2702 | double _result; | |
2703 | wxArrowHead * _arg0; | |
2704 | PyObject * _argo0 = 0; | |
2705 | char *_kwnames[] = { "self", NULL }; | |
2706 | ||
2707 | self = self; | |
2708 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetArrowSize",_kwnames,&_argo0)) | |
2709 | return NULL; | |
2710 | if (_argo0) { | |
2711 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2712 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2713 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetArrowSize. Expected _wxArrowHead_p."); | |
2714 | return NULL; | |
2715 | } | |
2716 | } | |
2717 | { | |
2718 | wxPy_BEGIN_ALLOW_THREADS; | |
2719 | _result = (double )wxArrowHead_GetArrowSize(_arg0); | |
2720 | ||
2721 | wxPy_END_ALLOW_THREADS; | |
2722 | } _resultobj = Py_BuildValue("d",_result); | |
2723 | return _resultobj; | |
2724 | } | |
2725 | ||
2726 | #define wxArrowHead_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2727 | static PyObject *_wrap_wxArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2728 | PyObject * _resultobj; | |
2729 | wxArrowHead * _arg0; | |
2730 | double _arg1; | |
2731 | PyObject * _argo0 = 0; | |
2732 | char *_kwnames[] = { "self","size", NULL }; | |
2733 | ||
2734 | self = self; | |
2735 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetSize",_kwnames,&_argo0,&_arg1)) | |
2736 | return NULL; | |
2737 | if (_argo0) { | |
2738 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2739 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetSize. Expected _wxArrowHead_p."); | |
2741 | return NULL; | |
2742 | } | |
2743 | } | |
2744 | { | |
2745 | wxPy_BEGIN_ALLOW_THREADS; | |
2746 | wxArrowHead_SetSize(_arg0,_arg1); | |
2747 | ||
2748 | wxPy_END_ALLOW_THREADS; | |
2749 | } Py_INCREF(Py_None); | |
2750 | _resultobj = Py_None; | |
2751 | return _resultobj; | |
2752 | } | |
2753 | ||
2754 | #define wxArrowHead_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0)) | |
2755 | static PyObject *_wrap_wxArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2756 | PyObject * _resultobj; | |
2757 | wxArrowHead * _arg0; | |
2758 | double _arg1; | |
2759 | PyObject * _argo0 = 0; | |
2760 | char *_kwnames[] = { "self","sp", NULL }; | |
2761 | ||
2762 | self = self; | |
2763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetSpacing",_kwnames,&_argo0,&_arg1)) | |
2764 | return NULL; | |
2765 | if (_argo0) { | |
2766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetSpacing. Expected _wxArrowHead_p."); | |
2769 | return NULL; | |
2770 | } | |
2771 | } | |
2772 | { | |
2773 | wxPy_BEGIN_ALLOW_THREADS; | |
2774 | wxArrowHead_SetSpacing(_arg0,_arg1); | |
2775 | ||
2776 | wxPy_END_ALLOW_THREADS; | |
2777 | } Py_INCREF(Py_None); | |
2778 | _resultobj = Py_None; | |
2779 | return _resultobj; | |
2780 | } | |
2781 | ||
2782 | static void *SwigwxPyLineShapeTowxPyShape(void *ptr) { | |
2783 | wxPyLineShape *src; | |
2784 | wxPyShape *dest; | |
2785 | src = (wxPyLineShape *) ptr; | |
2786 | dest = (wxPyShape *) src; | |
2787 | return (void *) dest; | |
2788 | } | |
2789 | ||
2790 | static void *SwigwxPyLineShapeTowxPyShapeEvtHandler(void *ptr) { | |
2791 | wxPyLineShape *src; | |
2792 | wxPyShapeEvtHandler *dest; | |
2793 | src = (wxPyLineShape *) ptr; | |
2794 | dest = (wxPyShapeEvtHandler *) src; | |
2795 | return (void *) dest; | |
2796 | } | |
2797 | ||
2798 | #define new_wxPyLineShape() (new wxPyLineShape()) | |
2799 | static PyObject *_wrap_new_wxPyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2800 | PyObject * _resultobj; | |
2801 | wxPyLineShape * _result; | |
2802 | char *_kwnames[] = { NULL }; | |
2803 | char _ptemp[128]; | |
2804 | ||
2805 | self = self; | |
2806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLineShape",_kwnames)) | |
2807 | return NULL; | |
2808 | { | |
2809 | wxPy_BEGIN_ALLOW_THREADS; | |
2810 | _result = (wxPyLineShape *)new_wxPyLineShape(); | |
2811 | ||
2812 | wxPy_END_ALLOW_THREADS; | |
2813 | } if (_result) { | |
2814 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLineShape_p"); | |
2815 | _resultobj = Py_BuildValue("s",_ptemp); | |
2816 | } else { | |
2817 | Py_INCREF(Py_None); | |
2818 | _resultobj = Py_None; | |
2819 | } | |
2820 | return _resultobj; | |
2821 | } | |
2822 | ||
f6bcfd97 | 2823 | #define wxPyLineShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
2824 | static PyObject *_wrap_wxPyLineShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
2825 | PyObject * _resultobj; | |
2826 | wxPyLineShape * _arg0; | |
2827 | PyObject * _arg1; | |
f6bcfd97 | 2828 | PyObject * _arg2; |
e91a9dfc RD |
2829 | PyObject * _argo0 = 0; |
2830 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2831 | PyObject * _obj2 = 0; |
2832 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2833 | |
2834 | self = self; | |
f6bcfd97 | 2835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLineShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2836 | return NULL; |
2837 | if (_argo0) { | |
2838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape__setSelf. Expected _wxPyLineShape_p."); | |
2841 | return NULL; | |
2842 | } | |
2843 | } | |
2844 | { | |
2845 | _arg1 = _obj1; | |
2846 | } | |
f6bcfd97 BP |
2847 | { |
2848 | _arg2 = _obj2; | |
2849 | } | |
e91a9dfc RD |
2850 | { |
2851 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2852 | wxPyLineShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2853 | |
2854 | wxPy_END_ALLOW_THREADS; | |
2855 | } Py_INCREF(Py_None); | |
2856 | _resultobj = Py_None; | |
2857 | return _resultobj; | |
2858 | } | |
2859 | ||
2860 | #define wxPyLineShape_AddArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->AddArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2861 | static PyObject *_wrap_wxPyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2862 | PyObject * _resultobj; | |
2863 | wxPyLineShape * _arg0; | |
2864 | int _arg1; | |
2865 | int _arg2 = (int ) ARROW_POSITION_END; | |
2866 | double _arg3 = (double ) 10.0; | |
2867 | double _arg4 = (double ) 0.0; | |
2868 | char * _arg5 = (char *) ""; | |
2869 | wxPseudoMetaFile * _arg6 = (wxPseudoMetaFile *) NULL; | |
2870 | long _arg7 = (long ) -1; | |
2871 | PyObject * _argo0 = 0; | |
2872 | PyObject * _argo6 = 0; | |
2873 | char *_kwnames[] = { "self","type","end","arrowSize","xOffset","name","mf","arrowId", NULL }; | |
2874 | ||
2875 | self = self; | |
2876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iddsOl:wxPyLineShape_AddArrow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7)) | |
2877 | return NULL; | |
2878 | if (_argo0) { | |
2879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrow. Expected _wxPyLineShape_p."); | |
2882 | return NULL; | |
2883 | } | |
2884 | } | |
2885 | if (_argo6) { | |
2886 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
2887 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPseudoMetaFile_p")) { | |
2888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyLineShape_AddArrow. Expected _wxPseudoMetaFile_p."); | |
2889 | return NULL; | |
2890 | } | |
2891 | } | |
2892 | { | |
2893 | wxPy_BEGIN_ALLOW_THREADS; | |
2894 | wxPyLineShape_AddArrow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
2895 | ||
2896 | wxPy_END_ALLOW_THREADS; | |
2897 | } Py_INCREF(Py_None); | |
2898 | _resultobj = Py_None; | |
2899 | return _resultobj; | |
2900 | } | |
2901 | ||
2902 | static void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead * arrow,PyObject * referenceList,int end) { | |
99ab9f3b | 2903 | wxList* list = wxPy_wxListHelper(referenceList, "_wxArrowHead_p"); |
e91a9dfc RD |
2904 | self->AddArrowOrdered(arrow, *list, end); |
2905 | delete list; | |
2906 | } | |
2907 | static PyObject *_wrap_wxPyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2908 | PyObject * _resultobj; | |
2909 | wxPyLineShape * _arg0; | |
2910 | wxArrowHead * _arg1; | |
2911 | PyObject * _arg2; | |
2912 | int _arg3; | |
2913 | PyObject * _argo0 = 0; | |
2914 | PyObject * _argo1 = 0; | |
2915 | PyObject * _obj2 = 0; | |
2916 | char *_kwnames[] = { "self","arrow","referenceList","end", NULL }; | |
2917 | ||
2918 | self = self; | |
2919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOi:wxPyLineShape_AddArrowOrdered",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3)) | |
2920 | return NULL; | |
2921 | if (_argo0) { | |
2922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrowOrdered. Expected _wxPyLineShape_p."); | |
2925 | return NULL; | |
2926 | } | |
2927 | } | |
2928 | if (_argo1) { | |
2929 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2930 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxArrowHead_p")) { | |
2931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_AddArrowOrdered. Expected _wxArrowHead_p."); | |
2932 | return NULL; | |
2933 | } | |
2934 | } | |
2935 | { | |
2936 | _arg2 = _obj2; | |
2937 | } | |
2938 | { | |
2939 | wxPy_BEGIN_ALLOW_THREADS; | |
2940 | wxPyLineShape_AddArrowOrdered(_arg0,_arg1,_arg2,_arg3); | |
2941 | ||
2942 | wxPy_END_ALLOW_THREADS; | |
2943 | } Py_INCREF(Py_None); | |
2944 | _resultobj = Py_None; | |
2945 | return _resultobj; | |
2946 | } | |
2947 | ||
2948 | #define wxPyLineShape_ClearArrow(_swigobj,_swigarg0) (_swigobj->ClearArrow(_swigarg0)) | |
2949 | static PyObject *_wrap_wxPyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2950 | PyObject * _resultobj; | |
2951 | bool _result; | |
2952 | wxPyLineShape * _arg0; | |
2953 | wxString * _arg1; | |
2954 | PyObject * _argo0 = 0; | |
2955 | PyObject * _obj1 = 0; | |
2956 | char *_kwnames[] = { "self","name", NULL }; | |
2957 | ||
2958 | self = self; | |
2959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_ClearArrow",_kwnames,&_argo0,&_obj1)) | |
2960 | return NULL; | |
2961 | if (_argo0) { | |
2962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrow. Expected _wxPyLineShape_p."); | |
2965 | return NULL; | |
2966 | } | |
2967 | } | |
2968 | { | |
185d7c3e RD |
2969 | #if PYTHON_API_VERSION >= 1009 |
2970 | char* tmpPtr; int tmpSize; | |
2971 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 2972 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
2973 | return NULL; |
2974 | } | |
2975 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2976 | return NULL; | |
2977 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2978 | #else | |
e91a9dfc RD |
2979 | if (!PyString_Check(_obj1)) { |
2980 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2981 | return NULL; | |
2982 | } | |
185d7c3e RD |
2983 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2984 | #endif | |
e91a9dfc RD |
2985 | } |
2986 | { | |
2987 | wxPy_BEGIN_ALLOW_THREADS; | |
2988 | _result = (bool )wxPyLineShape_ClearArrow(_arg0,*_arg1); | |
2989 | ||
2990 | wxPy_END_ALLOW_THREADS; | |
2991 | } _resultobj = Py_BuildValue("i",_result); | |
2992 | { | |
2993 | if (_obj1) | |
2994 | delete _arg1; | |
2995 | } | |
2996 | return _resultobj; | |
2997 | } | |
2998 | ||
2999 | #define wxPyLineShape_ClearArrowsAtPosition(_swigobj,_swigarg0) (_swigobj->ClearArrowsAtPosition(_swigarg0)) | |
3000 | static PyObject *_wrap_wxPyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3001 | PyObject * _resultobj; | |
3002 | wxPyLineShape * _arg0; | |
3003 | int _arg1 = (int ) -1; | |
3004 | PyObject * _argo0 = 0; | |
3005 | char *_kwnames[] = { "self","position", NULL }; | |
3006 | ||
3007 | self = self; | |
3008 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyLineShape_ClearArrowsAtPosition",_kwnames,&_argo0,&_arg1)) | |
3009 | return NULL; | |
3010 | if (_argo0) { | |
3011 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3012 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3013 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrowsAtPosition. Expected _wxPyLineShape_p."); | |
3014 | return NULL; | |
3015 | } | |
3016 | } | |
3017 | { | |
3018 | wxPy_BEGIN_ALLOW_THREADS; | |
3019 | wxPyLineShape_ClearArrowsAtPosition(_arg0,_arg1); | |
3020 | ||
3021 | wxPy_END_ALLOW_THREADS; | |
3022 | } Py_INCREF(Py_None); | |
3023 | _resultobj = Py_None; | |
3024 | return _resultobj; | |
3025 | } | |
3026 | ||
3027 | #define wxPyLineShape_DrawArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3028 | static PyObject *_wrap_wxPyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3029 | PyObject * _resultobj; | |
3030 | wxPyLineShape * _arg0; | |
3031 | wxDC * _arg1; | |
3032 | wxArrowHead * _arg2; | |
3033 | double _arg3; | |
3034 | bool _arg4; | |
3035 | PyObject * _argo0 = 0; | |
3036 | PyObject * _argo1 = 0; | |
3037 | PyObject * _argo2 = 0; | |
3038 | int tempbool4; | |
3039 | char *_kwnames[] = { "self","dc","arrow","xOffset","proportionalOffset", NULL }; | |
3040 | ||
3041 | self = self; | |
3042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdi:wxPyLineShape_DrawArrow",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&tempbool4)) | |
3043 | return NULL; | |
3044 | if (_argo0) { | |
3045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrow. Expected _wxPyLineShape_p."); | |
3048 | return NULL; | |
3049 | } | |
3050 | } | |
3051 | if (_argo1) { | |
3052 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3053 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrow. Expected _wxDC_p."); | |
3055 | return NULL; | |
3056 | } | |
3057 | } | |
3058 | if (_argo2) { | |
3059 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3060 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrowHead_p")) { | |
3061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawArrow. Expected _wxArrowHead_p."); | |
3062 | return NULL; | |
3063 | } | |
3064 | } | |
3065 | _arg4 = (bool ) tempbool4; | |
3066 | { | |
3067 | wxPy_BEGIN_ALLOW_THREADS; | |
3068 | wxPyLineShape_DrawArrow(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3069 | ||
3070 | wxPy_END_ALLOW_THREADS; | |
3071 | } Py_INCREF(Py_None); | |
3072 | _resultobj = Py_None; | |
3073 | return _resultobj; | |
3074 | } | |
3075 | ||
3076 | #define wxPyLineShape_DeleteArrowHeadId(_swigobj,_swigarg0) (_swigobj->DeleteArrowHead(_swigarg0)) | |
3077 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3078 | PyObject * _resultobj; | |
3079 | bool _result; | |
3080 | wxPyLineShape * _arg0; | |
3081 | long _arg1; | |
3082 | PyObject * _argo0 = 0; | |
3083 | char *_kwnames[] = { "self","arrowId", NULL }; | |
3084 | ||
3085 | self = self; | |
3086 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_DeleteArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3087 | return NULL; | |
3088 | if (_argo0) { | |
3089 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3090 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHeadId. Expected _wxPyLineShape_p."); | |
3092 | return NULL; | |
3093 | } | |
3094 | } | |
3095 | { | |
3096 | wxPy_BEGIN_ALLOW_THREADS; | |
3097 | _result = (bool )wxPyLineShape_DeleteArrowHeadId(_arg0,_arg1); | |
3098 | ||
3099 | wxPy_END_ALLOW_THREADS; | |
3100 | } _resultobj = Py_BuildValue("i",_result); | |
3101 | return _resultobj; | |
3102 | } | |
3103 | ||
3104 | #define wxPyLineShape_DeleteArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteArrowHead(_swigarg0,_swigarg1)) | |
3105 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3106 | PyObject * _resultobj; | |
3107 | bool _result; | |
3108 | wxPyLineShape * _arg0; | |
3109 | int _arg1; | |
3110 | wxString * _arg2; | |
3111 | PyObject * _argo0 = 0; | |
3112 | PyObject * _obj2 = 0; | |
3113 | char *_kwnames[] = { "self","position","name", NULL }; | |
3114 | ||
3115 | self = self; | |
3116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_DeleteArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3117 | return NULL; | |
3118 | if (_argo0) { | |
3119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHead. Expected _wxPyLineShape_p."); | |
3122 | return NULL; | |
3123 | } | |
3124 | } | |
3125 | { | |
185d7c3e RD |
3126 | #if PYTHON_API_VERSION >= 1009 |
3127 | char* tmpPtr; int tmpSize; | |
3128 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 3129 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
3130 | return NULL; |
3131 | } | |
3132 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3133 | return NULL; | |
3134 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3135 | #else | |
e91a9dfc RD |
3136 | if (!PyString_Check(_obj2)) { |
3137 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3138 | return NULL; | |
3139 | } | |
185d7c3e RD |
3140 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3141 | #endif | |
e91a9dfc RD |
3142 | } |
3143 | { | |
3144 | wxPy_BEGIN_ALLOW_THREADS; | |
3145 | _result = (bool )wxPyLineShape_DeleteArrowHead(_arg0,_arg1,*_arg2); | |
3146 | ||
3147 | wxPy_END_ALLOW_THREADS; | |
3148 | } _resultobj = Py_BuildValue("i",_result); | |
3149 | { | |
3150 | if (_obj2) | |
3151 | delete _arg2; | |
3152 | } | |
3153 | return _resultobj; | |
3154 | } | |
3155 | ||
3156 | #define wxPyLineShape_DeleteLineControlPoint(_swigobj) (_swigobj->DeleteLineControlPoint()) | |
3157 | static PyObject *_wrap_wxPyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3158 | PyObject * _resultobj; | |
3159 | bool _result; | |
3160 | wxPyLineShape * _arg0; | |
3161 | PyObject * _argo0 = 0; | |
3162 | char *_kwnames[] = { "self", NULL }; | |
3163 | ||
3164 | self = self; | |
3165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_DeleteLineControlPoint",_kwnames,&_argo0)) | |
3166 | return NULL; | |
3167 | if (_argo0) { | |
3168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteLineControlPoint. Expected _wxPyLineShape_p."); | |
3171 | return NULL; | |
3172 | } | |
3173 | } | |
3174 | { | |
3175 | wxPy_BEGIN_ALLOW_THREADS; | |
3176 | _result = (bool )wxPyLineShape_DeleteLineControlPoint(_arg0); | |
3177 | ||
3178 | wxPy_END_ALLOW_THREADS; | |
3179 | } _resultobj = Py_BuildValue("i",_result); | |
3180 | return _resultobj; | |
3181 | } | |
3182 | ||
3183 | #define wxPyLineShape_DrawArrows(_swigobj,_swigarg0) (_swigobj->DrawArrows(_swigarg0)) | |
3184 | static PyObject *_wrap_wxPyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3185 | PyObject * _resultobj; | |
3186 | wxPyLineShape * _arg0; | |
3187 | wxDC * _arg1; | |
3188 | PyObject * _argo0 = 0; | |
3189 | PyObject * _argo1 = 0; | |
3190 | char *_kwnames[] = { "self","dc", NULL }; | |
3191 | ||
3192 | self = self; | |
3193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_DrawArrows",_kwnames,&_argo0,&_argo1)) | |
3194 | return NULL; | |
3195 | if (_argo0) { | |
3196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrows. Expected _wxPyLineShape_p."); | |
3199 | return NULL; | |
3200 | } | |
3201 | } | |
3202 | if (_argo1) { | |
3203 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3204 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrows. Expected _wxDC_p."); | |
3206 | return NULL; | |
3207 | } | |
3208 | } | |
3209 | { | |
3210 | wxPy_BEGIN_ALLOW_THREADS; | |
3211 | wxPyLineShape_DrawArrows(_arg0,*_arg1); | |
3212 | ||
3213 | wxPy_END_ALLOW_THREADS; | |
3214 | } Py_INCREF(Py_None); | |
3215 | _resultobj = Py_None; | |
3216 | return _resultobj; | |
3217 | } | |
3218 | ||
3219 | #define wxPyLineShape_DrawRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3220 | static PyObject *_wrap_wxPyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3221 | PyObject * _resultobj; | |
3222 | wxPyLineShape * _arg0; | |
3223 | wxDC * _arg1; | |
3224 | wxShapeRegion * _arg2; | |
3225 | double _arg3; | |
3226 | double _arg4; | |
3227 | PyObject * _argo0 = 0; | |
3228 | PyObject * _argo1 = 0; | |
3229 | PyObject * _argo2 = 0; | |
3230 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3231 | ||
3232 | self = self; | |
3233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_DrawRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3234 | return NULL; | |
3235 | if (_argo0) { | |
3236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawRegion. Expected _wxPyLineShape_p."); | |
3239 | return NULL; | |
3240 | } | |
3241 | } | |
3242 | if (_argo1) { | |
3243 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3244 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawRegion. Expected _wxDC_p."); | |
3246 | return NULL; | |
3247 | } | |
3248 | } | |
3249 | if (_argo2) { | |
3250 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3251 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawRegion. Expected _wxShapeRegion_p."); | |
3253 | return NULL; | |
3254 | } | |
3255 | } | |
3256 | { | |
3257 | wxPy_BEGIN_ALLOW_THREADS; | |
3258 | wxPyLineShape_DrawRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3259 | ||
3260 | wxPy_END_ALLOW_THREADS; | |
3261 | } Py_INCREF(Py_None); | |
3262 | _resultobj = Py_None; | |
3263 | return _resultobj; | |
3264 | } | |
3265 | ||
3266 | #define wxPyLineShape_EraseRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->EraseRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3267 | static PyObject *_wrap_wxPyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3268 | PyObject * _resultobj; | |
3269 | wxPyLineShape * _arg0; | |
3270 | wxDC * _arg1; | |
3271 | wxShapeRegion * _arg2; | |
3272 | double _arg3; | |
3273 | double _arg4; | |
3274 | PyObject * _argo0 = 0; | |
3275 | PyObject * _argo1 = 0; | |
3276 | PyObject * _argo2 = 0; | |
3277 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3278 | ||
3279 | self = self; | |
3280 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_EraseRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3281 | return NULL; | |
3282 | if (_argo0) { | |
3283 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3284 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3285 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_EraseRegion. Expected _wxPyLineShape_p."); | |
3286 | return NULL; | |
3287 | } | |
3288 | } | |
3289 | if (_argo1) { | |
3290 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3291 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_EraseRegion. Expected _wxDC_p."); | |
3293 | return NULL; | |
3294 | } | |
3295 | } | |
3296 | if (_argo2) { | |
3297 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3298 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_EraseRegion. Expected _wxShapeRegion_p."); | |
3300 | return NULL; | |
3301 | } | |
3302 | } | |
3303 | { | |
3304 | wxPy_BEGIN_ALLOW_THREADS; | |
3305 | wxPyLineShape_EraseRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3306 | ||
3307 | wxPy_END_ALLOW_THREADS; | |
3308 | } Py_INCREF(Py_None); | |
3309 | _resultobj = Py_None; | |
3310 | return _resultobj; | |
3311 | } | |
3312 | ||
3313 | #define wxPyLineShape_FindArrowHeadId(_swigobj,_swigarg0) (_swigobj->FindArrowHead(_swigarg0)) | |
3314 | static PyObject *_wrap_wxPyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3315 | PyObject * _resultobj; | |
3316 | wxArrowHead * _result; | |
3317 | wxPyLineShape * _arg0; | |
3318 | long _arg1; | |
3319 | PyObject * _argo0 = 0; | |
3320 | char *_kwnames[] = { "self","arrowId", NULL }; | |
3321 | char _ptemp[128]; | |
3322 | ||
3323 | self = self; | |
3324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_FindArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3325 | return NULL; | |
3326 | if (_argo0) { | |
3327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHeadId. Expected _wxPyLineShape_p."); | |
3330 | return NULL; | |
3331 | } | |
3332 | } | |
3333 | { | |
3334 | wxPy_BEGIN_ALLOW_THREADS; | |
3335 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHeadId(_arg0,_arg1); | |
3336 | ||
3337 | wxPy_END_ALLOW_THREADS; | |
3338 | } if (_result) { | |
3339 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
3340 | _resultobj = Py_BuildValue("s",_ptemp); | |
3341 | } else { | |
3342 | Py_INCREF(Py_None); | |
3343 | _resultobj = Py_None; | |
3344 | } | |
3345 | return _resultobj; | |
3346 | } | |
3347 | ||
3348 | #define wxPyLineShape_FindArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindArrowHead(_swigarg0,_swigarg1)) | |
3349 | static PyObject *_wrap_wxPyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3350 | PyObject * _resultobj; | |
3351 | wxArrowHead * _result; | |
3352 | wxPyLineShape * _arg0; | |
3353 | int _arg1; | |
3354 | wxString * _arg2; | |
3355 | PyObject * _argo0 = 0; | |
3356 | PyObject * _obj2 = 0; | |
3357 | char *_kwnames[] = { "self","position","name", NULL }; | |
3358 | char _ptemp[128]; | |
3359 | ||
3360 | self = self; | |
3361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_FindArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3362 | return NULL; | |
3363 | if (_argo0) { | |
3364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHead. Expected _wxPyLineShape_p."); | |
3367 | return NULL; | |
3368 | } | |
3369 | } | |
3370 | { | |
185d7c3e RD |
3371 | #if PYTHON_API_VERSION >= 1009 |
3372 | char* tmpPtr; int tmpSize; | |
3373 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 3374 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
3375 | return NULL; |
3376 | } | |
3377 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3378 | return NULL; | |
3379 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3380 | #else | |
e91a9dfc RD |
3381 | if (!PyString_Check(_obj2)) { |
3382 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3383 | return NULL; | |
3384 | } | |
185d7c3e RD |
3385 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3386 | #endif | |
e91a9dfc RD |
3387 | } |
3388 | { | |
3389 | wxPy_BEGIN_ALLOW_THREADS; | |
3390 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHead(_arg0,_arg1,*_arg2); | |
3391 | ||
3392 | wxPy_END_ALLOW_THREADS; | |
3393 | } if (_result) { | |
3394 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
3395 | _resultobj = Py_BuildValue("s",_ptemp); | |
3396 | } else { | |
3397 | Py_INCREF(Py_None); | |
3398 | _resultobj = Py_None; | |
3399 | } | |
3400 | { | |
3401 | if (_obj2) | |
3402 | delete _arg2; | |
3403 | } | |
3404 | return _resultobj; | |
3405 | } | |
3406 | ||
3407 | #define wxPyLineShape_FindLineEndPoints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindLineEndPoints(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3408 | static PyObject *_wrap_wxPyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3409 | PyObject * _resultobj; | |
3410 | wxPyLineShape * _arg0; | |
3411 | double * _arg1; | |
3412 | double temp; | |
3413 | double * _arg2; | |
3414 | double temp0; | |
3415 | double * _arg3; | |
3416 | double temp1; | |
3417 | double * _arg4; | |
3418 | double temp2; | |
3419 | PyObject * _argo0 = 0; | |
3420 | char *_kwnames[] = { "self", NULL }; | |
3421 | ||
3422 | self = self; | |
3423 | { | |
3424 | _arg1 = &temp; | |
3425 | } | |
3426 | { | |
3427 | _arg2 = &temp0; | |
3428 | } | |
3429 | { | |
3430 | _arg3 = &temp1; | |
3431 | } | |
3432 | { | |
3433 | _arg4 = &temp2; | |
3434 | } | |
3435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindLineEndPoints",_kwnames,&_argo0)) | |
3436 | return NULL; | |
3437 | if (_argo0) { | |
3438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLineEndPoints. Expected _wxPyLineShape_p."); | |
3441 | return NULL; | |
3442 | } | |
3443 | } | |
3444 | { | |
3445 | wxPy_BEGIN_ALLOW_THREADS; | |
3446 | wxPyLineShape_FindLineEndPoints(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3447 | ||
3448 | wxPy_END_ALLOW_THREADS; | |
3449 | } Py_INCREF(Py_None); | |
3450 | _resultobj = Py_None; | |
3451 | { | |
3452 | PyObject *o; | |
3453 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3454 | _resultobj = t_output_helper(_resultobj, o); | |
3455 | } | |
3456 | { | |
3457 | PyObject *o; | |
3458 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3459 | _resultobj = t_output_helper(_resultobj, o); | |
3460 | } | |
3461 | { | |
3462 | PyObject *o; | |
3463 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3464 | _resultobj = t_output_helper(_resultobj, o); | |
3465 | } | |
3466 | { | |
3467 | PyObject *o; | |
3468 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3469 | _resultobj = t_output_helper(_resultobj, o); | |
3470 | } | |
3471 | return _resultobj; | |
3472 | } | |
3473 | ||
3474 | #define wxPyLineShape_FindLinePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindLinePosition(_swigarg0,_swigarg1)) | |
3475 | static PyObject *_wrap_wxPyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3476 | PyObject * _resultobj; | |
3477 | int _result; | |
3478 | wxPyLineShape * _arg0; | |
3479 | double _arg1; | |
3480 | double _arg2; | |
3481 | PyObject * _argo0 = 0; | |
3482 | char *_kwnames[] = { "self","x","y", NULL }; | |
3483 | ||
3484 | self = self; | |
3485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_FindLinePosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3486 | return NULL; | |
3487 | if (_argo0) { | |
3488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLinePosition. Expected _wxPyLineShape_p."); | |
3491 | return NULL; | |
3492 | } | |
3493 | } | |
3494 | { | |
3495 | wxPy_BEGIN_ALLOW_THREADS; | |
3496 | _result = (int )wxPyLineShape_FindLinePosition(_arg0,_arg1,_arg2); | |
3497 | ||
3498 | wxPy_END_ALLOW_THREADS; | |
3499 | } _resultobj = Py_BuildValue("i",_result); | |
3500 | return _resultobj; | |
3501 | } | |
3502 | ||
3503 | #define wxPyLineShape_FindMinimumWidth(_swigobj) (_swigobj->FindMinimumWidth()) | |
3504 | static PyObject *_wrap_wxPyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3505 | PyObject * _resultobj; | |
3506 | double _result; | |
3507 | wxPyLineShape * _arg0; | |
3508 | PyObject * _argo0 = 0; | |
3509 | char *_kwnames[] = { "self", NULL }; | |
3510 | ||
3511 | self = self; | |
3512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindMinimumWidth",_kwnames,&_argo0)) | |
3513 | return NULL; | |
3514 | if (_argo0) { | |
3515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindMinimumWidth. Expected _wxPyLineShape_p."); | |
3518 | return NULL; | |
3519 | } | |
3520 | } | |
3521 | { | |
3522 | wxPy_BEGIN_ALLOW_THREADS; | |
3523 | _result = (double )wxPyLineShape_FindMinimumWidth(_arg0); | |
3524 | ||
3525 | wxPy_END_ALLOW_THREADS; | |
3526 | } _resultobj = Py_BuildValue("d",_result); | |
3527 | return _resultobj; | |
3528 | } | |
3529 | ||
3530 | #define wxPyLineShape_FindNth(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindNth(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3531 | static PyObject *_wrap_wxPyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3532 | PyObject * _resultobj; | |
3533 | wxPyLineShape * _arg0; | |
3534 | wxPyShape * _arg1; | |
3535 | int * _arg2; | |
3536 | int temp; | |
3537 | int * _arg3; | |
3538 | int temp0; | |
3539 | bool _arg4; | |
3540 | PyObject * _argo0 = 0; | |
3541 | PyObject * _argo1 = 0; | |
3542 | int tempbool4; | |
3543 | char *_kwnames[] = { "self","image","incoming", NULL }; | |
3544 | ||
3545 | self = self; | |
3546 | { | |
3547 | _arg2 = &temp; | |
3548 | } | |
3549 | { | |
3550 | _arg3 = &temp0; | |
3551 | } | |
3552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyLineShape_FindNth",_kwnames,&_argo0,&_argo1,&tempbool4)) | |
3553 | return NULL; | |
3554 | if (_argo0) { | |
3555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindNth. Expected _wxPyLineShape_p."); | |
3558 | return NULL; | |
3559 | } | |
3560 | } | |
3561 | if (_argo1) { | |
3562 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3563 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_FindNth. Expected _wxPyShape_p."); | |
3565 | return NULL; | |
3566 | } | |
3567 | } | |
3568 | _arg4 = (bool ) tempbool4; | |
3569 | { | |
3570 | wxPy_BEGIN_ALLOW_THREADS; | |
3571 | wxPyLineShape_FindNth(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3572 | ||
3573 | wxPy_END_ALLOW_THREADS; | |
3574 | } Py_INCREF(Py_None); | |
3575 | _resultobj = Py_None; | |
3576 | { | |
3577 | PyObject *o; | |
3578 | o = PyInt_FromLong((long) (*_arg2)); | |
3579 | _resultobj = t_output_helper(_resultobj, o); | |
3580 | } | |
3581 | { | |
3582 | PyObject *o; | |
3583 | o = PyInt_FromLong((long) (*_arg3)); | |
3584 | _resultobj = t_output_helper(_resultobj, o); | |
3585 | } | |
3586 | return _resultobj; | |
3587 | } | |
3588 | ||
3589 | #define wxPyLineShape_GetAttachmentFrom(_swigobj) (_swigobj->GetAttachmentFrom()) | |
3590 | static PyObject *_wrap_wxPyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3591 | PyObject * _resultobj; | |
3592 | int _result; | |
3593 | wxPyLineShape * _arg0; | |
3594 | PyObject * _argo0 = 0; | |
3595 | char *_kwnames[] = { "self", NULL }; | |
3596 | ||
3597 | self = self; | |
3598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentFrom",_kwnames,&_argo0)) | |
3599 | return NULL; | |
3600 | if (_argo0) { | |
3601 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3602 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentFrom. Expected _wxPyLineShape_p."); | |
3604 | return NULL; | |
3605 | } | |
3606 | } | |
3607 | { | |
3608 | wxPy_BEGIN_ALLOW_THREADS; | |
3609 | _result = (int )wxPyLineShape_GetAttachmentFrom(_arg0); | |
3610 | ||
3611 | wxPy_END_ALLOW_THREADS; | |
3612 | } _resultobj = Py_BuildValue("i",_result); | |
3613 | return _resultobj; | |
3614 | } | |
3615 | ||
3616 | #define wxPyLineShape_GetAttachmentTo(_swigobj) (_swigobj->GetAttachmentTo()) | |
3617 | static PyObject *_wrap_wxPyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3618 | PyObject * _resultobj; | |
3619 | int _result; | |
3620 | wxPyLineShape * _arg0; | |
3621 | PyObject * _argo0 = 0; | |
3622 | char *_kwnames[] = { "self", NULL }; | |
3623 | ||
3624 | self = self; | |
3625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentTo",_kwnames,&_argo0)) | |
3626 | return NULL; | |
3627 | if (_argo0) { | |
3628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentTo. Expected _wxPyLineShape_p."); | |
3631 | return NULL; | |
3632 | } | |
3633 | } | |
3634 | { | |
3635 | wxPy_BEGIN_ALLOW_THREADS; | |
3636 | _result = (int )wxPyLineShape_GetAttachmentTo(_arg0); | |
3637 | ||
3638 | wxPy_END_ALLOW_THREADS; | |
3639 | } _resultobj = Py_BuildValue("i",_result); | |
3640 | return _resultobj; | |
3641 | } | |
3642 | ||
3643 | #define wxPyLineShape_GetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3644 | static PyObject *_wrap_wxPyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3645 | PyObject * _resultobj; | |
3646 | wxPyLineShape * _arg0; | |
3647 | double * _arg1; | |
3648 | double temp; | |
3649 | double * _arg2; | |
3650 | double temp0; | |
3651 | double * _arg3; | |
3652 | double temp1; | |
3653 | double * _arg4; | |
3654 | double temp2; | |
3655 | PyObject * _argo0 = 0; | |
3656 | char *_kwnames[] = { "self", NULL }; | |
3657 | ||
3658 | self = self; | |
3659 | { | |
3660 | _arg1 = &temp; | |
3661 | } | |
3662 | { | |
3663 | _arg2 = &temp0; | |
3664 | } | |
3665 | { | |
3666 | _arg3 = &temp1; | |
3667 | } | |
3668 | { | |
3669 | _arg4 = &temp2; | |
3670 | } | |
3671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetEnds",_kwnames,&_argo0)) | |
3672 | return NULL; | |
3673 | if (_argo0) { | |
3674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetEnds. Expected _wxPyLineShape_p."); | |
3677 | return NULL; | |
3678 | } | |
3679 | } | |
3680 | { | |
3681 | wxPy_BEGIN_ALLOW_THREADS; | |
3682 | wxPyLineShape_GetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3683 | ||
3684 | wxPy_END_ALLOW_THREADS; | |
3685 | } Py_INCREF(Py_None); | |
3686 | _resultobj = Py_None; | |
3687 | { | |
3688 | PyObject *o; | |
3689 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3690 | _resultobj = t_output_helper(_resultobj, o); | |
3691 | } | |
3692 | { | |
3693 | PyObject *o; | |
3694 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3695 | _resultobj = t_output_helper(_resultobj, o); | |
3696 | } | |
3697 | { | |
3698 | PyObject *o; | |
3699 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3700 | _resultobj = t_output_helper(_resultobj, o); | |
3701 | } | |
3702 | { | |
3703 | PyObject *o; | |
3704 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3705 | _resultobj = t_output_helper(_resultobj, o); | |
3706 | } | |
3707 | return _resultobj; | |
3708 | } | |
3709 | ||
3710 | #define wxPyLineShape_GetFrom(_swigobj) (_swigobj->GetFrom()) | |
3711 | static PyObject *_wrap_wxPyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3712 | PyObject * _resultobj; | |
3713 | wxPyShape * _result; | |
3714 | wxPyLineShape * _arg0; | |
3715 | PyObject * _argo0 = 0; | |
3716 | char *_kwnames[] = { "self", NULL }; | |
3717 | char _ptemp[128]; | |
3718 | ||
3719 | self = self; | |
3720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetFrom",_kwnames,&_argo0)) | |
3721 | return NULL; | |
3722 | if (_argo0) { | |
3723 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3724 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetFrom. Expected _wxPyLineShape_p."); | |
3726 | return NULL; | |
3727 | } | |
3728 | } | |
3729 | { | |
3730 | wxPy_BEGIN_ALLOW_THREADS; | |
3731 | _result = (wxPyShape *)wxPyLineShape_GetFrom(_arg0); | |
3732 | ||
3733 | wxPy_END_ALLOW_THREADS; | |
3734 | } if (_result) { | |
3735 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3736 | _resultobj = Py_BuildValue("s",_ptemp); | |
3737 | } else { | |
3738 | Py_INCREF(Py_None); | |
3739 | _resultobj = Py_None; | |
3740 | } | |
3741 | return _resultobj; | |
3742 | } | |
3743 | ||
3744 | #define wxPyLineShape_GetLabelPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLabelPosition(_swigarg0,_swigarg1,_swigarg2)) | |
3745 | static PyObject *_wrap_wxPyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3746 | PyObject * _resultobj; | |
3747 | wxPyLineShape * _arg0; | |
3748 | int _arg1; | |
3749 | double * _arg2; | |
3750 | double temp; | |
3751 | double * _arg3; | |
3752 | double temp0; | |
3753 | PyObject * _argo0 = 0; | |
3754 | char *_kwnames[] = { "self","position", NULL }; | |
3755 | ||
3756 | self = self; | |
3757 | { | |
3758 | _arg2 = &temp; | |
3759 | } | |
3760 | { | |
3761 | _arg3 = &temp0; | |
3762 | } | |
3763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_GetLabelPosition",_kwnames,&_argo0,&_arg1)) | |
3764 | return NULL; | |
3765 | if (_argo0) { | |
3766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetLabelPosition. Expected _wxPyLineShape_p."); | |
3769 | return NULL; | |
3770 | } | |
3771 | } | |
3772 | { | |
3773 | wxPy_BEGIN_ALLOW_THREADS; | |
3774 | wxPyLineShape_GetLabelPosition(_arg0,_arg1,_arg2,_arg3); | |
3775 | ||
3776 | wxPy_END_ALLOW_THREADS; | |
3777 | } Py_INCREF(Py_None); | |
3778 | _resultobj = Py_None; | |
3779 | { | |
3780 | PyObject *o; | |
3781 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3782 | _resultobj = t_output_helper(_resultobj, o); | |
3783 | } | |
3784 | { | |
3785 | PyObject *o; | |
3786 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3787 | _resultobj = t_output_helper(_resultobj, o); | |
3788 | } | |
3789 | return _resultobj; | |
3790 | } | |
3791 | ||
3792 | #define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0)) | |
3793 | static PyObject *_wrap_wxPyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3794 | PyObject * _resultobj; | |
3795 | wxPoint * _result; | |
3796 | wxPyLineShape * _arg0; | |
3797 | wxPyShape * _arg1; | |
3798 | PyObject * _argo0 = 0; | |
3799 | PyObject * _argo1 = 0; | |
3800 | char *_kwnames[] = { "self","shape", NULL }; | |
3801 | char _ptemp[128]; | |
3802 | ||
3803 | self = self; | |
3804 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_GetNextControlPoint",_kwnames,&_argo0,&_argo1)) | |
3805 | return NULL; | |
3806 | if (_argo0) { | |
3807 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3808 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetNextControlPoint. Expected _wxPyLineShape_p."); | |
3810 | return NULL; | |
3811 | } | |
3812 | } | |
3813 | if (_argo1) { | |
3814 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3815 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_GetNextControlPoint. Expected _wxPyShape_p."); | |
3817 | return NULL; | |
3818 | } | |
3819 | } | |
3820 | { | |
3821 | wxPy_BEGIN_ALLOW_THREADS; | |
3822 | _result = (wxPoint *)wxPyLineShape_GetNextControlPoint(_arg0,_arg1); | |
3823 | ||
3824 | wxPy_END_ALLOW_THREADS; | |
3825 | } if (_result) { | |
3826 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
3827 | _resultobj = Py_BuildValue("s",_ptemp); | |
3828 | } else { | |
3829 | Py_INCREF(Py_None); | |
3830 | _resultobj = Py_None; | |
3831 | } | |
3832 | return _resultobj; | |
3833 | } | |
3834 | ||
3835 | #define wxPyLineShape_GetTo(_swigobj) (_swigobj->GetTo()) | |
3836 | static PyObject *_wrap_wxPyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3837 | PyObject * _resultobj; | |
3838 | wxPyShape * _result; | |
3839 | wxPyLineShape * _arg0; | |
3840 | PyObject * _argo0 = 0; | |
3841 | char *_kwnames[] = { "self", NULL }; | |
3842 | char _ptemp[128]; | |
3843 | ||
3844 | self = self; | |
3845 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetTo",_kwnames,&_argo0)) | |
3846 | return NULL; | |
3847 | if (_argo0) { | |
3848 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3849 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetTo. Expected _wxPyLineShape_p."); | |
3851 | return NULL; | |
3852 | } | |
3853 | } | |
3854 | { | |
3855 | wxPy_BEGIN_ALLOW_THREADS; | |
3856 | _result = (wxPyShape *)wxPyLineShape_GetTo(_arg0); | |
3857 | ||
3858 | wxPy_END_ALLOW_THREADS; | |
3859 | } if (_result) { | |
3860 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3861 | _resultobj = Py_BuildValue("s",_ptemp); | |
3862 | } else { | |
3863 | Py_INCREF(Py_None); | |
3864 | _resultobj = Py_None; | |
3865 | } | |
3866 | return _resultobj; | |
3867 | } | |
3868 | ||
3869 | #define wxPyLineShape_Initialise(_swigobj) (_swigobj->Initialise()) | |
3870 | static PyObject *_wrap_wxPyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3871 | PyObject * _resultobj; | |
3872 | wxPyLineShape * _arg0; | |
3873 | PyObject * _argo0 = 0; | |
3874 | char *_kwnames[] = { "self", NULL }; | |
3875 | ||
3876 | self = self; | |
3877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Initialise",_kwnames,&_argo0)) | |
3878 | return NULL; | |
3879 | if (_argo0) { | |
3880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Initialise. Expected _wxPyLineShape_p."); | |
3883 | return NULL; | |
3884 | } | |
3885 | } | |
3886 | { | |
3887 | wxPy_BEGIN_ALLOW_THREADS; | |
3888 | wxPyLineShape_Initialise(_arg0); | |
3889 | ||
3890 | wxPy_END_ALLOW_THREADS; | |
3891 | } Py_INCREF(Py_None); | |
3892 | _resultobj = Py_None; | |
3893 | return _resultobj; | |
3894 | } | |
3895 | ||
3896 | #define wxPyLineShape_InsertLineControlPoint(_swigobj,_swigarg0) (_swigobj->InsertLineControlPoint(_swigarg0)) | |
3897 | static PyObject *_wrap_wxPyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3898 | PyObject * _resultobj; | |
3899 | wxPyLineShape * _arg0; | |
3900 | wxDC * _arg1; | |
3901 | PyObject * _argo0 = 0; | |
3902 | PyObject * _argo1 = 0; | |
3903 | char *_kwnames[] = { "self","dc", NULL }; | |
3904 | ||
3905 | self = self; | |
3906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_InsertLineControlPoint",_kwnames,&_argo0,&_argo1)) | |
3907 | return NULL; | |
3908 | if (_argo0) { | |
3909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_InsertLineControlPoint. Expected _wxPyLineShape_p."); | |
3912 | return NULL; | |
3913 | } | |
3914 | } | |
3915 | if (_argo1) { | |
3916 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3917 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_InsertLineControlPoint. Expected _wxDC_p."); | |
3919 | return NULL; | |
3920 | } | |
3921 | } | |
3922 | { | |
3923 | wxPy_BEGIN_ALLOW_THREADS; | |
3924 | wxPyLineShape_InsertLineControlPoint(_arg0,_arg1); | |
3925 | ||
3926 | wxPy_END_ALLOW_THREADS; | |
3927 | } Py_INCREF(Py_None); | |
3928 | _resultobj = Py_None; | |
3929 | return _resultobj; | |
3930 | } | |
3931 | ||
3932 | #define wxPyLineShape_IsEnd(_swigobj,_swigarg0) (_swigobj->IsEnd(_swigarg0)) | |
3933 | static PyObject *_wrap_wxPyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3934 | PyObject * _resultobj; | |
3935 | bool _result; | |
3936 | wxPyLineShape * _arg0; | |
3937 | wxPyShape * _arg1; | |
3938 | PyObject * _argo0 = 0; | |
3939 | PyObject * _argo1 = 0; | |
3940 | char *_kwnames[] = { "self","shape", NULL }; | |
3941 | ||
3942 | self = self; | |
3943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_IsEnd",_kwnames,&_argo0,&_argo1)) | |
3944 | return NULL; | |
3945 | if (_argo0) { | |
3946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsEnd. Expected _wxPyLineShape_p."); | |
3949 | return NULL; | |
3950 | } | |
3951 | } | |
3952 | if (_argo1) { | |
3953 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3954 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_IsEnd. Expected _wxPyShape_p."); | |
3956 | return NULL; | |
3957 | } | |
3958 | } | |
3959 | { | |
3960 | wxPy_BEGIN_ALLOW_THREADS; | |
3961 | _result = (bool )wxPyLineShape_IsEnd(_arg0,_arg1); | |
3962 | ||
3963 | wxPy_END_ALLOW_THREADS; | |
3964 | } _resultobj = Py_BuildValue("i",_result); | |
3965 | return _resultobj; | |
3966 | } | |
3967 | ||
3968 | #define wxPyLineShape_IsSpline(_swigobj) (_swigobj->IsSpline()) | |
3969 | static PyObject *_wrap_wxPyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3970 | PyObject * _resultobj; | |
3971 | bool _result; | |
3972 | wxPyLineShape * _arg0; | |
3973 | PyObject * _argo0 = 0; | |
3974 | char *_kwnames[] = { "self", NULL }; | |
3975 | ||
3976 | self = self; | |
3977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_IsSpline",_kwnames,&_argo0)) | |
3978 | return NULL; | |
3979 | if (_argo0) { | |
3980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsSpline. Expected _wxPyLineShape_p."); | |
3983 | return NULL; | |
3984 | } | |
3985 | } | |
3986 | { | |
3987 | wxPy_BEGIN_ALLOW_THREADS; | |
3988 | _result = (bool )wxPyLineShape_IsSpline(_arg0); | |
3989 | ||
3990 | wxPy_END_ALLOW_THREADS; | |
3991 | } _resultobj = Py_BuildValue("i",_result); | |
3992 | return _resultobj; | |
3993 | } | |
3994 | ||
3995 | #define wxPyLineShape_MakeLineControlPoints(_swigobj,_swigarg0) (_swigobj->MakeLineControlPoints(_swigarg0)) | |
3996 | static PyObject *_wrap_wxPyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3997 | PyObject * _resultobj; | |
3998 | wxPyLineShape * _arg0; | |
3999 | int _arg1; | |
4000 | PyObject * _argo0 = 0; | |
4001 | char *_kwnames[] = { "self","n", NULL }; | |
4002 | ||
4003 | self = self; | |
4004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_MakeLineControlPoints",_kwnames,&_argo0,&_arg1)) | |
4005 | return NULL; | |
4006 | if (_argo0) { | |
4007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_MakeLineControlPoints. Expected _wxPyLineShape_p."); | |
4010 | return NULL; | |
4011 | } | |
4012 | } | |
4013 | { | |
4014 | wxPy_BEGIN_ALLOW_THREADS; | |
4015 | wxPyLineShape_MakeLineControlPoints(_arg0,_arg1); | |
4016 | ||
4017 | wxPy_END_ALLOW_THREADS; | |
4018 | } Py_INCREF(Py_None); | |
4019 | _resultobj = Py_None; | |
4020 | return _resultobj; | |
4021 | } | |
4022 | ||
4023 | #define wxPyLineShape_SetAttachmentFrom(_swigobj,_swigarg0) (_swigobj->SetAttachmentFrom(_swigarg0)) | |
4024 | static PyObject *_wrap_wxPyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4025 | PyObject * _resultobj; | |
4026 | wxPyLineShape * _arg0; | |
4027 | int _arg1; | |
4028 | PyObject * _argo0 = 0; | |
4029 | char *_kwnames[] = { "self","fromAttach", NULL }; | |
4030 | ||
4031 | self = self; | |
4032 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentFrom",_kwnames,&_argo0,&_arg1)) | |
4033 | return NULL; | |
4034 | if (_argo0) { | |
4035 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4036 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4037 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentFrom. Expected _wxPyLineShape_p."); | |
4038 | return NULL; | |
4039 | } | |
4040 | } | |
4041 | { | |
4042 | wxPy_BEGIN_ALLOW_THREADS; | |
4043 | wxPyLineShape_SetAttachmentFrom(_arg0,_arg1); | |
4044 | ||
4045 | wxPy_END_ALLOW_THREADS; | |
4046 | } Py_INCREF(Py_None); | |
4047 | _resultobj = Py_None; | |
4048 | return _resultobj; | |
4049 | } | |
4050 | ||
4051 | #define wxPyLineShape_SetAttachments(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachments(_swigarg0,_swigarg1)) | |
4052 | static PyObject *_wrap_wxPyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4053 | PyObject * _resultobj; | |
4054 | wxPyLineShape * _arg0; | |
4055 | int _arg1; | |
4056 | int _arg2; | |
4057 | PyObject * _argo0 = 0; | |
4058 | char *_kwnames[] = { "self","fromAttach","toAttach", NULL }; | |
4059 | ||
4060 | self = self; | |
4061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyLineShape_SetAttachments",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4062 | return NULL; | |
4063 | if (_argo0) { | |
4064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachments. Expected _wxPyLineShape_p."); | |
4067 | return NULL; | |
4068 | } | |
4069 | } | |
4070 | { | |
4071 | wxPy_BEGIN_ALLOW_THREADS; | |
4072 | wxPyLineShape_SetAttachments(_arg0,_arg1,_arg2); | |
4073 | ||
4074 | wxPy_END_ALLOW_THREADS; | |
4075 | } Py_INCREF(Py_None); | |
4076 | _resultobj = Py_None; | |
4077 | return _resultobj; | |
4078 | } | |
4079 | ||
4080 | #define wxPyLineShape_SetAttachmentTo(_swigobj,_swigarg0) (_swigobj->SetAttachmentTo(_swigarg0)) | |
4081 | static PyObject *_wrap_wxPyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4082 | PyObject * _resultobj; | |
4083 | wxPyLineShape * _arg0; | |
4084 | int _arg1; | |
4085 | PyObject * _argo0 = 0; | |
4086 | char *_kwnames[] = { "self","toAttach", NULL }; | |
4087 | ||
4088 | self = self; | |
4089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentTo",_kwnames,&_argo0,&_arg1)) | |
4090 | return NULL; | |
4091 | if (_argo0) { | |
4092 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4093 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentTo. Expected _wxPyLineShape_p."); | |
4095 | return NULL; | |
4096 | } | |
4097 | } | |
4098 | { | |
4099 | wxPy_BEGIN_ALLOW_THREADS; | |
4100 | wxPyLineShape_SetAttachmentTo(_arg0,_arg1); | |
4101 | ||
4102 | wxPy_END_ALLOW_THREADS; | |
4103 | } Py_INCREF(Py_None); | |
4104 | _resultobj = Py_None; | |
4105 | return _resultobj; | |
4106 | } | |
4107 | ||
4108 | #define wxPyLineShape_SetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4109 | static PyObject *_wrap_wxPyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4110 | PyObject * _resultobj; | |
4111 | wxPyLineShape * _arg0; | |
4112 | double _arg1; | |
4113 | double _arg2; | |
4114 | double _arg3; | |
4115 | double _arg4; | |
4116 | PyObject * _argo0 = 0; | |
4117 | char *_kwnames[] = { "self","x1","y1","x2","y2", NULL }; | |
4118 | ||
4119 | self = self; | |
4120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyLineShape_SetEnds",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4121 | return NULL; | |
4122 | if (_argo0) { | |
4123 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4124 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetEnds. Expected _wxPyLineShape_p."); | |
4126 | return NULL; | |
4127 | } | |
4128 | } | |
4129 | { | |
4130 | wxPy_BEGIN_ALLOW_THREADS; | |
4131 | wxPyLineShape_SetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4132 | ||
4133 | wxPy_END_ALLOW_THREADS; | |
4134 | } Py_INCREF(Py_None); | |
4135 | _resultobj = Py_None; | |
4136 | return _resultobj; | |
4137 | } | |
4138 | ||
4139 | #define wxPyLineShape_SetFrom(_swigobj,_swigarg0) (_swigobj->SetFrom(_swigarg0)) | |
4140 | static PyObject *_wrap_wxPyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4141 | PyObject * _resultobj; | |
4142 | wxPyLineShape * _arg0; | |
4143 | wxPyShape * _arg1; | |
4144 | PyObject * _argo0 = 0; | |
4145 | PyObject * _argo1 = 0; | |
4146 | char *_kwnames[] = { "self","object", NULL }; | |
4147 | ||
4148 | self = self; | |
4149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetFrom",_kwnames,&_argo0,&_argo1)) | |
4150 | return NULL; | |
4151 | if (_argo0) { | |
4152 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4153 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetFrom. Expected _wxPyLineShape_p."); | |
4155 | return NULL; | |
4156 | } | |
4157 | } | |
4158 | if (_argo1) { | |
4159 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4160 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetFrom. Expected _wxPyShape_p."); | |
4162 | return NULL; | |
4163 | } | |
4164 | } | |
4165 | { | |
4166 | wxPy_BEGIN_ALLOW_THREADS; | |
4167 | wxPyLineShape_SetFrom(_arg0,_arg1); | |
4168 | ||
4169 | wxPy_END_ALLOW_THREADS; | |
4170 | } Py_INCREF(Py_None); | |
4171 | _resultobj = Py_None; | |
4172 | return _resultobj; | |
4173 | } | |
4174 | ||
4175 | #define wxPyLineShape_SetIgnoreOffsets(_swigobj,_swigarg0) (_swigobj->SetIgnoreOffsets(_swigarg0)) | |
4176 | static PyObject *_wrap_wxPyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4177 | PyObject * _resultobj; | |
4178 | wxPyLineShape * _arg0; | |
4179 | bool _arg1; | |
4180 | PyObject * _argo0 = 0; | |
4181 | int tempbool1; | |
4182 | char *_kwnames[] = { "self","ignore", NULL }; | |
4183 | ||
4184 | self = self; | |
4185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetIgnoreOffsets",_kwnames,&_argo0,&tempbool1)) | |
4186 | return NULL; | |
4187 | if (_argo0) { | |
4188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetIgnoreOffsets. Expected _wxPyLineShape_p."); | |
4191 | return NULL; | |
4192 | } | |
4193 | } | |
4194 | _arg1 = (bool ) tempbool1; | |
4195 | { | |
4196 | wxPy_BEGIN_ALLOW_THREADS; | |
4197 | wxPyLineShape_SetIgnoreOffsets(_arg0,_arg1); | |
4198 | ||
4199 | wxPy_END_ALLOW_THREADS; | |
4200 | } Py_INCREF(Py_None); | |
4201 | _resultobj = Py_None; | |
4202 | return _resultobj; | |
4203 | } | |
4204 | ||
4205 | #define wxPyLineShape_SetSpline(_swigobj,_swigarg0) (_swigobj->SetSpline(_swigarg0)) | |
4206 | static PyObject *_wrap_wxPyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4207 | PyObject * _resultobj; | |
4208 | wxPyLineShape * _arg0; | |
4209 | bool _arg1; | |
4210 | PyObject * _argo0 = 0; | |
4211 | int tempbool1; | |
4212 | char *_kwnames[] = { "self","spline", NULL }; | |
4213 | ||
4214 | self = self; | |
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetSpline",_kwnames,&_argo0,&tempbool1)) | |
4216 | return NULL; | |
4217 | if (_argo0) { | |
4218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetSpline. Expected _wxPyLineShape_p."); | |
4221 | return NULL; | |
4222 | } | |
4223 | } | |
4224 | _arg1 = (bool ) tempbool1; | |
4225 | { | |
4226 | wxPy_BEGIN_ALLOW_THREADS; | |
4227 | wxPyLineShape_SetSpline(_arg0,_arg1); | |
4228 | ||
4229 | wxPy_END_ALLOW_THREADS; | |
4230 | } Py_INCREF(Py_None); | |
4231 | _resultobj = Py_None; | |
4232 | return _resultobj; | |
4233 | } | |
4234 | ||
4235 | #define wxPyLineShape_SetTo(_swigobj,_swigarg0) (_swigobj->SetTo(_swigarg0)) | |
4236 | static PyObject *_wrap_wxPyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4237 | PyObject * _resultobj; | |
4238 | wxPyLineShape * _arg0; | |
4239 | wxPyShape * _arg1; | |
4240 | PyObject * _argo0 = 0; | |
4241 | PyObject * _argo1 = 0; | |
4242 | char *_kwnames[] = { "self","object", NULL }; | |
4243 | ||
4244 | self = self; | |
4245 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetTo",_kwnames,&_argo0,&_argo1)) | |
4246 | return NULL; | |
4247 | if (_argo0) { | |
4248 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4249 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4250 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetTo. Expected _wxPyLineShape_p."); | |
4251 | return NULL; | |
4252 | } | |
4253 | } | |
4254 | if (_argo1) { | |
4255 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4256 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetTo. Expected _wxPyShape_p."); | |
4258 | return NULL; | |
4259 | } | |
4260 | } | |
4261 | { | |
4262 | wxPy_BEGIN_ALLOW_THREADS; | |
4263 | wxPyLineShape_SetTo(_arg0,_arg1); | |
4264 | ||
4265 | wxPy_END_ALLOW_THREADS; | |
4266 | } Py_INCREF(Py_None); | |
4267 | _resultobj = Py_None; | |
4268 | return _resultobj; | |
4269 | } | |
4270 | ||
4271 | #define wxPyLineShape_Straighten(_swigobj,_swigarg0) (_swigobj->Straighten(_swigarg0)) | |
4272 | static PyObject *_wrap_wxPyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4273 | PyObject * _resultobj; | |
4274 | wxPyLineShape * _arg0; | |
4275 | wxDC * _arg1 = (wxDC *) NULL; | |
4276 | PyObject * _argo0 = 0; | |
4277 | PyObject * _argo1 = 0; | |
4278 | char *_kwnames[] = { "self","dc", NULL }; | |
4279 | ||
4280 | self = self; | |
4281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyLineShape_Straighten",_kwnames,&_argo0,&_argo1)) | |
4282 | return NULL; | |
4283 | if (_argo0) { | |
4284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Straighten. Expected _wxPyLineShape_p."); | |
4287 | return NULL; | |
4288 | } | |
4289 | } | |
4290 | if (_argo1) { | |
4291 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4292 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_Straighten. Expected _wxDC_p."); | |
4294 | return NULL; | |
4295 | } | |
4296 | } | |
4297 | { | |
4298 | wxPy_BEGIN_ALLOW_THREADS; | |
4299 | wxPyLineShape_Straighten(_arg0,_arg1); | |
4300 | ||
4301 | wxPy_END_ALLOW_THREADS; | |
4302 | } Py_INCREF(Py_None); | |
4303 | _resultobj = Py_None; | |
4304 | return _resultobj; | |
4305 | } | |
4306 | ||
4307 | #define wxPyLineShape_Unlink(_swigobj) (_swigobj->Unlink()) | |
4308 | static PyObject *_wrap_wxPyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4309 | PyObject * _resultobj; | |
4310 | wxPyLineShape * _arg0; | |
4311 | PyObject * _argo0 = 0; | |
4312 | char *_kwnames[] = { "self", NULL }; | |
4313 | ||
4314 | self = self; | |
4315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Unlink",_kwnames,&_argo0)) | |
4316 | return NULL; | |
4317 | if (_argo0) { | |
4318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Unlink. Expected _wxPyLineShape_p."); | |
4321 | return NULL; | |
4322 | } | |
4323 | } | |
4324 | { | |
4325 | wxPy_BEGIN_ALLOW_THREADS; | |
4326 | wxPyLineShape_Unlink(_arg0); | |
4327 | ||
4328 | wxPy_END_ALLOW_THREADS; | |
4329 | } Py_INCREF(Py_None); | |
4330 | _resultobj = Py_None; | |
4331 | return _resultobj; | |
4332 | } | |
4333 | ||
4334 | #define wxPyLineShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4335 | static PyObject *_wrap_wxPyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4336 | PyObject * _resultobj; | |
4337 | wxPyLineShape * _arg0; | |
4338 | wxDC * _arg1; | |
4339 | PyObject * _argo0 = 0; | |
4340 | PyObject * _argo1 = 0; | |
4341 | char *_kwnames[] = { "self","dc", NULL }; | |
4342 | ||
4343 | self = self; | |
4344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4345 | return NULL; | |
4346 | if (_argo0) { | |
4347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDraw. Expected _wxPyLineShape_p."); | |
4350 | return NULL; | |
4351 | } | |
4352 | } | |
4353 | if (_argo1) { | |
4354 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4355 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDraw. Expected _wxDC_p."); | |
4357 | return NULL; | |
4358 | } | |
4359 | } | |
4360 | { | |
4361 | wxPy_BEGIN_ALLOW_THREADS; | |
4362 | wxPyLineShape_base_OnDraw(_arg0,*_arg1); | |
4363 | ||
4364 | wxPy_END_ALLOW_THREADS; | |
4365 | } Py_INCREF(Py_None); | |
4366 | _resultobj = Py_None; | |
4367 | return _resultobj; | |
4368 | } | |
4369 | ||
4370 | #define wxPyLineShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4371 | static PyObject *_wrap_wxPyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4372 | PyObject * _resultobj; | |
4373 | wxPyLineShape * _arg0; | |
4374 | wxDC * _arg1; | |
4375 | PyObject * _argo0 = 0; | |
4376 | PyObject * _argo1 = 0; | |
4377 | char *_kwnames[] = { "self","dc", NULL }; | |
4378 | ||
4379 | self = self; | |
4380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4381 | return NULL; | |
4382 | if (_argo0) { | |
4383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawContents. Expected _wxPyLineShape_p."); | |
4386 | return NULL; | |
4387 | } | |
4388 | } | |
4389 | if (_argo1) { | |
4390 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4391 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawContents. Expected _wxDC_p."); | |
4393 | return NULL; | |
4394 | } | |
4395 | } | |
4396 | { | |
4397 | wxPy_BEGIN_ALLOW_THREADS; | |
4398 | wxPyLineShape_base_OnDrawContents(_arg0,*_arg1); | |
4399 | ||
4400 | wxPy_END_ALLOW_THREADS; | |
4401 | } Py_INCREF(Py_None); | |
4402 | _resultobj = Py_None; | |
4403 | return _resultobj; | |
4404 | } | |
4405 | ||
4406 | #define wxPyLineShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4407 | static PyObject *_wrap_wxPyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4408 | PyObject * _resultobj; | |
4409 | wxPyLineShape * _arg0; | |
4410 | wxDC * _arg1; | |
4411 | bool _arg2 = (bool ) FALSE; | |
4412 | PyObject * _argo0 = 0; | |
4413 | PyObject * _argo1 = 0; | |
4414 | int tempbool2 = (int) FALSE; | |
4415 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
4416 | ||
4417 | self = self; | |
4418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4419 | return NULL; | |
4420 | if (_argo0) { | |
4421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawBranches. Expected _wxPyLineShape_p."); | |
4424 | return NULL; | |
4425 | } | |
4426 | } | |
4427 | if (_argo1) { | |
4428 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4429 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4431 | return NULL; | |
4432 | } | |
4433 | } | |
4434 | _arg2 = (bool ) tempbool2; | |
4435 | { | |
4436 | wxPy_BEGIN_ALLOW_THREADS; | |
4437 | wxPyLineShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4438 | ||
4439 | wxPy_END_ALLOW_THREADS; | |
4440 | } Py_INCREF(Py_None); | |
4441 | _resultobj = Py_None; | |
4442 | return _resultobj; | |
4443 | } | |
4444 | ||
4445 | #define wxPyLineShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4446 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4447 | PyObject * _resultobj; | |
4448 | wxPyLineShape * _arg0; | |
4449 | wxDC * _arg1; | |
4450 | PyObject * _argo0 = 0; | |
4451 | PyObject * _argo1 = 0; | |
4452 | char *_kwnames[] = { "self","dc", NULL }; | |
4453 | ||
4454 | self = self; | |
4455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4456 | return NULL; | |
4457 | if (_argo0) { | |
4458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMoveLinks. Expected _wxPyLineShape_p."); | |
4461 | return NULL; | |
4462 | } | |
4463 | } | |
4464 | if (_argo1) { | |
4465 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4466 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4468 | return NULL; | |
4469 | } | |
4470 | } | |
4471 | { | |
4472 | wxPy_BEGIN_ALLOW_THREADS; | |
4473 | wxPyLineShape_base_OnMoveLinks(_arg0,*_arg1); | |
4474 | ||
4475 | wxPy_END_ALLOW_THREADS; | |
4476 | } Py_INCREF(Py_None); | |
4477 | _resultobj = Py_None; | |
4478 | return _resultobj; | |
4479 | } | |
4480 | ||
4481 | #define wxPyLineShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4482 | static PyObject *_wrap_wxPyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4483 | PyObject * _resultobj; | |
4484 | wxPyLineShape * _arg0; | |
4485 | wxDC * _arg1; | |
4486 | PyObject * _argo0 = 0; | |
4487 | PyObject * _argo1 = 0; | |
4488 | char *_kwnames[] = { "self","dc", NULL }; | |
4489 | ||
4490 | self = self; | |
4491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4492 | return NULL; | |
4493 | if (_argo0) { | |
4494 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4495 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4496 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnErase. Expected _wxPyLineShape_p."); | |
4497 | return NULL; | |
4498 | } | |
4499 | } | |
4500 | if (_argo1) { | |
4501 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4502 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4503 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnErase. Expected _wxDC_p."); | |
4504 | return NULL; | |
4505 | } | |
4506 | } | |
4507 | { | |
4508 | wxPy_BEGIN_ALLOW_THREADS; | |
4509 | wxPyLineShape_base_OnErase(_arg0,*_arg1); | |
4510 | ||
4511 | wxPy_END_ALLOW_THREADS; | |
4512 | } Py_INCREF(Py_None); | |
4513 | _resultobj = Py_None; | |
4514 | return _resultobj; | |
4515 | } | |
4516 | ||
4517 | #define wxPyLineShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4518 | static PyObject *_wrap_wxPyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4519 | PyObject * _resultobj; | |
4520 | wxPyLineShape * _arg0; | |
4521 | wxDC * _arg1; | |
4522 | PyObject * _argo0 = 0; | |
4523 | PyObject * _argo1 = 0; | |
4524 | char *_kwnames[] = { "self","dc", NULL }; | |
4525 | ||
4526 | self = self; | |
4527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4528 | return NULL; | |
4529 | if (_argo0) { | |
4530 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4531 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseContents. Expected _wxPyLineShape_p."); | |
4533 | return NULL; | |
4534 | } | |
4535 | } | |
4536 | if (_argo1) { | |
4537 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4538 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4539 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseContents. Expected _wxDC_p."); | |
4540 | return NULL; | |
4541 | } | |
4542 | } | |
4543 | { | |
4544 | wxPy_BEGIN_ALLOW_THREADS; | |
4545 | wxPyLineShape_base_OnEraseContents(_arg0,*_arg1); | |
4546 | ||
4547 | wxPy_END_ALLOW_THREADS; | |
4548 | } Py_INCREF(Py_None); | |
4549 | _resultobj = Py_None; | |
4550 | return _resultobj; | |
4551 | } | |
4552 | ||
4553 | #define wxPyLineShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4554 | static PyObject *_wrap_wxPyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4555 | PyObject * _resultobj; | |
4556 | wxPyLineShape * _arg0; | |
4557 | wxDC * _arg1; | |
4558 | PyObject * _argo0 = 0; | |
4559 | PyObject * _argo1 = 0; | |
4560 | char *_kwnames[] = { "self","dc", NULL }; | |
4561 | ||
4562 | self = self; | |
4563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4564 | return NULL; | |
4565 | if (_argo0) { | |
4566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnHighlight. Expected _wxPyLineShape_p."); | |
4569 | return NULL; | |
4570 | } | |
4571 | } | |
4572 | if (_argo1) { | |
4573 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4574 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnHighlight. Expected _wxDC_p."); | |
4576 | return NULL; | |
4577 | } | |
4578 | } | |
4579 | { | |
4580 | wxPy_BEGIN_ALLOW_THREADS; | |
4581 | wxPyLineShape_base_OnHighlight(_arg0,*_arg1); | |
4582 | ||
4583 | wxPy_END_ALLOW_THREADS; | |
4584 | } Py_INCREF(Py_None); | |
4585 | _resultobj = Py_None; | |
4586 | return _resultobj; | |
4587 | } | |
4588 | ||
4589 | #define wxPyLineShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4590 | static PyObject *_wrap_wxPyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4591 | PyObject * _resultobj; | |
4592 | wxPyLineShape * _arg0; | |
4593 | double _arg1; | |
4594 | double _arg2; | |
4595 | int _arg3 = (int ) 0; | |
4596 | int _arg4 = (int ) 0; | |
4597 | PyObject * _argo0 = 0; | |
4598 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4599 | ||
4600 | self = self; | |
4601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4602 | return NULL; | |
4603 | if (_argo0) { | |
4604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnLeftClick. Expected _wxPyLineShape_p."); | |
4607 | return NULL; | |
4608 | } | |
4609 | } | |
4610 | { | |
4611 | wxPy_BEGIN_ALLOW_THREADS; | |
4612 | wxPyLineShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4613 | ||
4614 | wxPy_END_ALLOW_THREADS; | |
4615 | } Py_INCREF(Py_None); | |
4616 | _resultobj = Py_None; | |
4617 | return _resultobj; | |
4618 | } | |
4619 | ||
4620 | #define wxPyLineShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4621 | static PyObject *_wrap_wxPyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4622 | PyObject * _resultobj; | |
4623 | wxPyLineShape * _arg0; | |
4624 | double _arg1; | |
4625 | double _arg2; | |
4626 | int _arg3 = (int ) 0; | |
4627 | int _arg4 = (int ) 0; | |
4628 | PyObject * _argo0 = 0; | |
4629 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4630 | ||
4631 | self = self; | |
4632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4633 | return NULL; | |
4634 | if (_argo0) { | |
4635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnLeftDoubleClick. Expected _wxPyLineShape_p."); | |
4638 | return NULL; | |
4639 | } | |
4640 | } | |
4641 | { | |
4642 | wxPy_BEGIN_ALLOW_THREADS; | |
4643 | wxPyLineShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4644 | ||
4645 | wxPy_END_ALLOW_THREADS; | |
4646 | } Py_INCREF(Py_None); | |
4647 | _resultobj = Py_None; | |
4648 | return _resultobj; | |
4649 | } | |
4650 | ||
4651 | #define wxPyLineShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4652 | static PyObject *_wrap_wxPyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4653 | PyObject * _resultobj; | |
4654 | wxPyLineShape * _arg0; | |
4655 | double _arg1; | |
4656 | double _arg2; | |
4657 | int _arg3 = (int ) 0; | |
4658 | int _arg4 = (int ) 0; | |
4659 | PyObject * _argo0 = 0; | |
4660 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4661 | ||
4662 | self = self; | |
4663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4664 | return NULL; | |
4665 | if (_argo0) { | |
4666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnRightClick. Expected _wxPyLineShape_p."); | |
4669 | return NULL; | |
4670 | } | |
4671 | } | |
4672 | { | |
4673 | wxPy_BEGIN_ALLOW_THREADS; | |
4674 | wxPyLineShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4675 | ||
4676 | wxPy_END_ALLOW_THREADS; | |
4677 | } Py_INCREF(Py_None); | |
4678 | _resultobj = Py_None; | |
4679 | return _resultobj; | |
4680 | } | |
4681 | ||
4682 | #define wxPyLineShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4683 | static PyObject *_wrap_wxPyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4684 | PyObject * _resultobj; | |
4685 | wxPyLineShape * _arg0; | |
4686 | double _arg1; | |
4687 | double _arg2; | |
4688 | PyObject * _argo0 = 0; | |
4689 | char *_kwnames[] = { "self","x","y", NULL }; | |
4690 | ||
4691 | self = self; | |
4692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4693 | return NULL; | |
4694 | if (_argo0) { | |
4695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSize. Expected _wxPyLineShape_p."); | |
4698 | return NULL; | |
4699 | } | |
4700 | } | |
4701 | { | |
4702 | wxPy_BEGIN_ALLOW_THREADS; | |
4703 | wxPyLineShape_base_OnSize(_arg0,_arg1,_arg2); | |
4704 | ||
4705 | wxPy_END_ALLOW_THREADS; | |
4706 | } Py_INCREF(Py_None); | |
4707 | _resultobj = Py_None; | |
4708 | return _resultobj; | |
4709 | } | |
4710 | ||
4711 | #define wxPyLineShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4712 | static PyObject *_wrap_wxPyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4713 | PyObject * _resultobj; | |
4714 | bool _result; | |
4715 | wxPyLineShape * _arg0; | |
4716 | wxDC * _arg1; | |
4717 | double _arg2; | |
4718 | double _arg3; | |
4719 | double _arg4; | |
4720 | double _arg5; | |
4721 | bool _arg6 = (bool ) TRUE; | |
4722 | PyObject * _argo0 = 0; | |
4723 | PyObject * _argo1 = 0; | |
4724 | int tempbool6 = (int) TRUE; | |
4725 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4726 | ||
4727 | self = self; | |
4728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4729 | return NULL; | |
4730 | if (_argo0) { | |
4731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePre. Expected _wxPyLineShape_p."); | |
4734 | return NULL; | |
4735 | } | |
4736 | } | |
4737 | if (_argo1) { | |
4738 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4739 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePre. Expected _wxDC_p."); | |
4741 | return NULL; | |
4742 | } | |
4743 | } | |
4744 | _arg6 = (bool ) tempbool6; | |
4745 | { | |
4746 | wxPy_BEGIN_ALLOW_THREADS; | |
4747 | _result = (bool )wxPyLineShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4748 | ||
4749 | wxPy_END_ALLOW_THREADS; | |
4750 | } _resultobj = Py_BuildValue("i",_result); | |
4751 | return _resultobj; | |
4752 | } | |
4753 | ||
4754 | #define wxPyLineShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4755 | static PyObject *_wrap_wxPyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4756 | PyObject * _resultobj; | |
4757 | wxPyLineShape * _arg0; | |
4758 | wxDC * _arg1; | |
4759 | double _arg2; | |
4760 | double _arg3; | |
4761 | double _arg4; | |
4762 | double _arg5; | |
4763 | bool _arg6 = (bool ) TRUE; | |
4764 | PyObject * _argo0 = 0; | |
4765 | PyObject * _argo1 = 0; | |
4766 | int tempbool6 = (int) TRUE; | |
4767 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4768 | ||
4769 | self = self; | |
4770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4771 | return NULL; | |
4772 | if (_argo0) { | |
4773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePost. Expected _wxPyLineShape_p."); | |
4776 | return NULL; | |
4777 | } | |
4778 | } | |
4779 | if (_argo1) { | |
4780 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4781 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePost. Expected _wxDC_p."); | |
4783 | return NULL; | |
4784 | } | |
4785 | } | |
4786 | _arg6 = (bool ) tempbool6; | |
4787 | { | |
4788 | wxPy_BEGIN_ALLOW_THREADS; | |
4789 | wxPyLineShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4790 | ||
4791 | wxPy_END_ALLOW_THREADS; | |
4792 | } Py_INCREF(Py_None); | |
4793 | _resultobj = Py_None; | |
4794 | return _resultobj; | |
4795 | } | |
4796 | ||
4797 | #define wxPyLineShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4798 | static PyObject *_wrap_wxPyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4799 | PyObject * _resultobj; | |
4800 | wxPyLineShape * _arg0; | |
4801 | bool _arg1; | |
4802 | double _arg2; | |
4803 | double _arg3; | |
4804 | int _arg4 = (int ) 0; | |
4805 | int _arg5 = (int ) 0; | |
4806 | PyObject * _argo0 = 0; | |
4807 | int tempbool1; | |
4808 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4809 | ||
4810 | self = self; | |
4811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4812 | return NULL; | |
4813 | if (_argo0) { | |
4814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragLeft. Expected _wxPyLineShape_p."); | |
4817 | return NULL; | |
4818 | } | |
4819 | } | |
4820 | _arg1 = (bool ) tempbool1; | |
4821 | { | |
4822 | wxPy_BEGIN_ALLOW_THREADS; | |
4823 | wxPyLineShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4824 | ||
4825 | wxPy_END_ALLOW_THREADS; | |
4826 | } Py_INCREF(Py_None); | |
4827 | _resultobj = Py_None; | |
4828 | return _resultobj; | |
4829 | } | |
4830 | ||
4831 | #define wxPyLineShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4832 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4833 | PyObject * _resultobj; | |
4834 | wxPyLineShape * _arg0; | |
4835 | double _arg1; | |
4836 | double _arg2; | |
4837 | int _arg3 = (int ) 0; | |
4838 | int _arg4 = (int ) 0; | |
4839 | PyObject * _argo0 = 0; | |
4840 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4841 | ||
4842 | self = self; | |
4843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4844 | return NULL; | |
4845 | if (_argo0) { | |
4846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragLeft. Expected _wxPyLineShape_p."); | |
4849 | return NULL; | |
4850 | } | |
4851 | } | |
4852 | { | |
4853 | wxPy_BEGIN_ALLOW_THREADS; | |
4854 | wxPyLineShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4855 | ||
4856 | wxPy_END_ALLOW_THREADS; | |
4857 | } Py_INCREF(Py_None); | |
4858 | _resultobj = Py_None; | |
4859 | return _resultobj; | |
4860 | } | |
4861 | ||
4862 | #define wxPyLineShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4863 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4864 | PyObject * _resultobj; | |
4865 | wxPyLineShape * _arg0; | |
4866 | double _arg1; | |
4867 | double _arg2; | |
4868 | int _arg3 = (int ) 0; | |
4869 | int _arg4 = (int ) 0; | |
4870 | PyObject * _argo0 = 0; | |
4871 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4872 | ||
4873 | self = self; | |
4874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4875 | return NULL; | |
4876 | if (_argo0) { | |
4877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragLeft. Expected _wxPyLineShape_p."); | |
4880 | return NULL; | |
4881 | } | |
4882 | } | |
4883 | { | |
4884 | wxPy_BEGIN_ALLOW_THREADS; | |
4885 | wxPyLineShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4886 | ||
4887 | wxPy_END_ALLOW_THREADS; | |
4888 | } Py_INCREF(Py_None); | |
4889 | _resultobj = Py_None; | |
4890 | return _resultobj; | |
4891 | } | |
4892 | ||
4893 | #define wxPyLineShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4894 | static PyObject *_wrap_wxPyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4895 | PyObject * _resultobj; | |
4896 | wxPyLineShape * _arg0; | |
4897 | bool _arg1; | |
4898 | double _arg2; | |
4899 | double _arg3; | |
4900 | int _arg4 = (int ) 0; | |
4901 | int _arg5 = (int ) 0; | |
4902 | PyObject * _argo0 = 0; | |
4903 | int tempbool1; | |
4904 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4905 | ||
4906 | self = self; | |
4907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4908 | return NULL; | |
4909 | if (_argo0) { | |
4910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragRight. Expected _wxPyLineShape_p."); | |
4913 | return NULL; | |
4914 | } | |
4915 | } | |
4916 | _arg1 = (bool ) tempbool1; | |
4917 | { | |
4918 | wxPy_BEGIN_ALLOW_THREADS; | |
4919 | wxPyLineShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4920 | ||
4921 | wxPy_END_ALLOW_THREADS; | |
4922 | } Py_INCREF(Py_None); | |
4923 | _resultobj = Py_None; | |
4924 | return _resultobj; | |
4925 | } | |
4926 | ||
4927 | #define wxPyLineShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4928 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4929 | PyObject * _resultobj; | |
4930 | wxPyLineShape * _arg0; | |
4931 | double _arg1; | |
4932 | double _arg2; | |
4933 | int _arg3 = (int ) 0; | |
4934 | int _arg4 = (int ) 0; | |
4935 | PyObject * _argo0 = 0; | |
4936 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4937 | ||
4938 | self = self; | |
4939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4940 | return NULL; | |
4941 | if (_argo0) { | |
4942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragRight. Expected _wxPyLineShape_p."); | |
4945 | return NULL; | |
4946 | } | |
4947 | } | |
4948 | { | |
4949 | wxPy_BEGIN_ALLOW_THREADS; | |
4950 | wxPyLineShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4951 | ||
4952 | wxPy_END_ALLOW_THREADS; | |
4953 | } Py_INCREF(Py_None); | |
4954 | _resultobj = Py_None; | |
4955 | return _resultobj; | |
4956 | } | |
4957 | ||
4958 | #define wxPyLineShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4959 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4960 | PyObject * _resultobj; | |
4961 | wxPyLineShape * _arg0; | |
4962 | double _arg1; | |
4963 | double _arg2; | |
4964 | int _arg3 = (int ) 0; | |
4965 | int _arg4 = (int ) 0; | |
4966 | PyObject * _argo0 = 0; | |
4967 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4968 | ||
4969 | self = self; | |
4970 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4971 | return NULL; | |
4972 | if (_argo0) { | |
4973 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4974 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4975 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragRight. Expected _wxPyLineShape_p."); | |
4976 | return NULL; | |
4977 | } | |
4978 | } | |
4979 | { | |
4980 | wxPy_BEGIN_ALLOW_THREADS; | |
4981 | wxPyLineShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4982 | ||
4983 | wxPy_END_ALLOW_THREADS; | |
4984 | } Py_INCREF(Py_None); | |
4985 | _resultobj = Py_None; | |
4986 | return _resultobj; | |
4987 | } | |
4988 | ||
4989 | #define wxPyLineShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4990 | static PyObject *_wrap_wxPyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4991 | PyObject * _resultobj; | |
4992 | wxPyLineShape * _arg0; | |
4993 | wxDC * _arg1; | |
4994 | double _arg2; | |
4995 | double _arg3; | |
4996 | double _arg4; | |
4997 | double _arg5; | |
4998 | PyObject * _argo0 = 0; | |
4999 | PyObject * _argo1 = 0; | |
5000 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
5001 | ||
5002 | self = self; | |
5003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyLineShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5004 | return NULL; | |
5005 | if (_argo0) { | |
5006 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5007 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawOutline. Expected _wxPyLineShape_p."); | |
5009 | return NULL; | |
5010 | } | |
5011 | } | |
5012 | if (_argo1) { | |
5013 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5014 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawOutline. Expected _wxDC_p."); | |
5016 | return NULL; | |
5017 | } | |
5018 | } | |
5019 | { | |
5020 | wxPy_BEGIN_ALLOW_THREADS; | |
5021 | wxPyLineShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
5022 | ||
5023 | wxPy_END_ALLOW_THREADS; | |
5024 | } Py_INCREF(Py_None); | |
5025 | _resultobj = Py_None; | |
5026 | return _resultobj; | |
5027 | } | |
5028 | ||
5029 | #define wxPyLineShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
5030 | static PyObject *_wrap_wxPyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5031 | PyObject * _resultobj; | |
5032 | wxPyLineShape * _arg0; | |
5033 | wxDC * _arg1; | |
5034 | PyObject * _argo0 = 0; | |
5035 | PyObject * _argo1 = 0; | |
5036 | char *_kwnames[] = { "self","dc", NULL }; | |
5037 | ||
5038 | self = self; | |
5039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
5040 | return NULL; | |
5041 | if (_argo0) { | |
5042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxPyLineShape_p."); | |
5045 | return NULL; | |
5046 | } | |
5047 | } | |
5048 | if (_argo1) { | |
5049 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5050 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
5052 | return NULL; | |
5053 | } | |
5054 | } | |
5055 | { | |
5056 | wxPy_BEGIN_ALLOW_THREADS; | |
5057 | wxPyLineShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
5058 | ||
5059 | wxPy_END_ALLOW_THREADS; | |
5060 | } Py_INCREF(Py_None); | |
5061 | _resultobj = Py_None; | |
5062 | return _resultobj; | |
5063 | } | |
5064 | ||
5065 | #define wxPyLineShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
5066 | static PyObject *_wrap_wxPyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5067 | PyObject * _resultobj; | |
5068 | wxPyLineShape * _arg0; | |
5069 | wxDC * _arg1; | |
5070 | PyObject * _argo0 = 0; | |
5071 | PyObject * _argo1 = 0; | |
5072 | char *_kwnames[] = { "self","dc", NULL }; | |
5073 | ||
5074 | self = self; | |
5075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
5076 | return NULL; | |
5077 | if (_argo0) { | |
5078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxPyLineShape_p."); | |
5081 | return NULL; | |
5082 | } | |
5083 | } | |
5084 | if (_argo1) { | |
5085 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5086 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
5088 | return NULL; | |
5089 | } | |
5090 | } | |
5091 | { | |
5092 | wxPy_BEGIN_ALLOW_THREADS; | |
5093 | wxPyLineShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
5094 | ||
5095 | wxPy_END_ALLOW_THREADS; | |
5096 | } Py_INCREF(Py_None); | |
5097 | _resultobj = Py_None; | |
5098 | return _resultobj; | |
5099 | } | |
5100 | ||
5101 | #define wxPyLineShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
5102 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5103 | PyObject * _resultobj; | |
5104 | wxPyLineShape * _arg0; | |
5105 | wxDC * _arg1; | |
5106 | bool _arg2 = (bool ) TRUE; | |
5107 | PyObject * _argo0 = 0; | |
5108 | PyObject * _argo1 = 0; | |
5109 | int tempbool2 = (int) TRUE; | |
5110 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
5111 | ||
5112 | self = self; | |
5113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5114 | return NULL; | |
5115 | if (_argo0) { | |
5116 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5117 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5118 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMoveLink. Expected _wxPyLineShape_p."); | |
5119 | return NULL; | |
5120 | } | |
5121 | } | |
5122 | if (_argo1) { | |
5123 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5124 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5125 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMoveLink. Expected _wxDC_p."); | |
5126 | return NULL; | |
5127 | } | |
5128 | } | |
5129 | _arg2 = (bool ) tempbool2; | |
5130 | { | |
5131 | wxPy_BEGIN_ALLOW_THREADS; | |
5132 | wxPyLineShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
5133 | ||
5134 | wxPy_END_ALLOW_THREADS; | |
5135 | } Py_INCREF(Py_None); | |
5136 | _resultobj = Py_None; | |
5137 | return _resultobj; | |
5138 | } | |
5139 | ||
5140 | #define wxPyLineShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5141 | static PyObject *_wrap_wxPyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5142 | PyObject * _resultobj; | |
5143 | wxPyLineShape * _arg0; | |
2348eaee | 5144 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5145 | bool _arg2; |
5146 | double _arg3; | |
5147 | double _arg4; | |
5148 | int _arg5 = (int ) 0; | |
5149 | int _arg6 = (int ) 0; | |
5150 | PyObject * _argo0 = 0; | |
5151 | PyObject * _argo1 = 0; | |
5152 | int tempbool2; | |
5153 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5154 | ||
5155 | self = self; | |
5156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyLineShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5157 | return NULL; | |
5158 | if (_argo0) { | |
5159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyLineShape_p."); | |
5162 | return NULL; | |
5163 | } | |
5164 | } | |
5165 | if (_argo1) { | |
5166 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5167 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5168 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5169 | return NULL; |
5170 | } | |
5171 | } | |
5172 | _arg2 = (bool ) tempbool2; | |
5173 | { | |
5174 | wxPy_BEGIN_ALLOW_THREADS; | |
5175 | wxPyLineShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5176 | ||
5177 | wxPy_END_ALLOW_THREADS; | |
5178 | } Py_INCREF(Py_None); | |
5179 | _resultobj = Py_None; | |
5180 | return _resultobj; | |
5181 | } | |
5182 | ||
5183 | #define wxPyLineShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5184 | static PyObject *_wrap_wxPyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5185 | PyObject * _resultobj; | |
5186 | wxPyLineShape * _arg0; | |
2348eaee | 5187 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5188 | double _arg2; |
5189 | double _arg3; | |
5190 | int _arg4 = (int ) 0; | |
5191 | int _arg5 = (int ) 0; | |
5192 | PyObject * _argo0 = 0; | |
5193 | PyObject * _argo1 = 0; | |
5194 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5195 | ||
5196 | self = self; | |
5197 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5198 | return NULL; | |
5199 | if (_argo0) { | |
5200 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5201 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyLineShape_p."); | |
5203 | return NULL; | |
5204 | } | |
5205 | } | |
5206 | if (_argo1) { | |
5207 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5208 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5210 | return NULL; |
5211 | } | |
5212 | } | |
5213 | { | |
5214 | wxPy_BEGIN_ALLOW_THREADS; | |
5215 | wxPyLineShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5216 | ||
5217 | wxPy_END_ALLOW_THREADS; | |
5218 | } Py_INCREF(Py_None); | |
5219 | _resultobj = Py_None; | |
5220 | return _resultobj; | |
5221 | } | |
5222 | ||
5223 | #define wxPyLineShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5224 | static PyObject *_wrap_wxPyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5225 | PyObject * _resultobj; | |
5226 | wxPyLineShape * _arg0; | |
2348eaee | 5227 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5228 | double _arg2; |
5229 | double _arg3; | |
5230 | int _arg4 = (int ) 0; | |
5231 | int _arg5 = (int ) 0; | |
5232 | PyObject * _argo0 = 0; | |
5233 | PyObject * _argo1 = 0; | |
5234 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5235 | ||
5236 | self = self; | |
5237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5238 | return NULL; | |
5239 | if (_argo0) { | |
5240 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5241 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyLineShape_p."); | |
5243 | return NULL; | |
5244 | } | |
5245 | } | |
5246 | if (_argo1) { | |
5247 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5248 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5250 | return NULL; |
5251 | } | |
5252 | } | |
5253 | { | |
5254 | wxPy_BEGIN_ALLOW_THREADS; | |
5255 | wxPyLineShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5256 | ||
5257 | wxPy_END_ALLOW_THREADS; | |
5258 | } Py_INCREF(Py_None); | |
5259 | _resultobj = Py_None; | |
5260 | return _resultobj; | |
5261 | } | |
5262 | ||
5263 | #define wxPyLineShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5264 | static PyObject *_wrap_wxPyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5265 | PyObject * _resultobj; | |
5266 | wxPyLineShape * _arg0; | |
5267 | double _arg1; | |
5268 | double _arg2; | |
5269 | PyObject * _argo0 = 0; | |
5270 | char *_kwnames[] = { "self","w","h", NULL }; | |
5271 | ||
5272 | self = self; | |
5273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5274 | return NULL; | |
5275 | if (_argo0) { | |
5276 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5277 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginSize. Expected _wxPyLineShape_p."); | |
5279 | return NULL; | |
5280 | } | |
5281 | } | |
5282 | { | |
5283 | wxPy_BEGIN_ALLOW_THREADS; | |
5284 | wxPyLineShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5285 | ||
5286 | wxPy_END_ALLOW_THREADS; | |
5287 | } Py_INCREF(Py_None); | |
5288 | _resultobj = Py_None; | |
5289 | return _resultobj; | |
5290 | } | |
5291 | ||
5292 | #define wxPyLineShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5293 | static PyObject *_wrap_wxPyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5294 | PyObject * _resultobj; | |
5295 | wxPyLineShape * _arg0; | |
5296 | double _arg1; | |
5297 | double _arg2; | |
5298 | PyObject * _argo0 = 0; | |
5299 | char *_kwnames[] = { "self","w","h", NULL }; | |
5300 | ||
5301 | self = self; | |
5302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5303 | return NULL; | |
5304 | if (_argo0) { | |
5305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndSize. Expected _wxPyLineShape_p."); | |
5308 | return NULL; | |
5309 | } | |
5310 | } | |
5311 | { | |
5312 | wxPy_BEGIN_ALLOW_THREADS; | |
5313 | wxPyLineShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5314 | ||
5315 | wxPy_END_ALLOW_THREADS; | |
5316 | } Py_INCREF(Py_None); | |
5317 | _resultobj = Py_None; | |
5318 | return _resultobj; | |
5319 | } | |
5320 | ||
5321 | static void *SwigwxPyPolygonShapeTowxPyShape(void *ptr) { | |
5322 | wxPyPolygonShape *src; | |
5323 | wxPyShape *dest; | |
5324 | src = (wxPyPolygonShape *) ptr; | |
5325 | dest = (wxPyShape *) src; | |
5326 | return (void *) dest; | |
5327 | } | |
5328 | ||
5329 | static void *SwigwxPyPolygonShapeTowxPyShapeEvtHandler(void *ptr) { | |
5330 | wxPyPolygonShape *src; | |
5331 | wxPyShapeEvtHandler *dest; | |
5332 | src = (wxPyPolygonShape *) ptr; | |
5333 | dest = (wxPyShapeEvtHandler *) src; | |
5334 | return (void *) dest; | |
5335 | } | |
5336 | ||
5337 | #define new_wxPyPolygonShape() (new wxPyPolygonShape()) | |
5338 | static PyObject *_wrap_new_wxPyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5339 | PyObject * _resultobj; | |
5340 | wxPyPolygonShape * _result; | |
5341 | char *_kwnames[] = { NULL }; | |
5342 | char _ptemp[128]; | |
5343 | ||
5344 | self = self; | |
5345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyPolygonShape",_kwnames)) | |
5346 | return NULL; | |
5347 | { | |
5348 | wxPy_BEGIN_ALLOW_THREADS; | |
5349 | _result = (wxPyPolygonShape *)new_wxPyPolygonShape(); | |
5350 | ||
5351 | wxPy_END_ALLOW_THREADS; | |
5352 | } if (_result) { | |
5353 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPolygonShape_p"); | |
5354 | _resultobj = Py_BuildValue("s",_ptemp); | |
5355 | } else { | |
5356 | Py_INCREF(Py_None); | |
5357 | _resultobj = Py_None; | |
5358 | } | |
5359 | return _resultobj; | |
5360 | } | |
5361 | ||
f6bcfd97 | 5362 | #define wxPyPolygonShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
5363 | static PyObject *_wrap_wxPyPolygonShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
5364 | PyObject * _resultobj; | |
5365 | wxPyPolygonShape * _arg0; | |
5366 | PyObject * _arg1; | |
f6bcfd97 | 5367 | PyObject * _arg2; |
e91a9dfc RD |
5368 | PyObject * _argo0 = 0; |
5369 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
5370 | PyObject * _obj2 = 0; |
5371 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
5372 | |
5373 | self = self; | |
f6bcfd97 | 5374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPolygonShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5375 | return NULL; |
5376 | if (_argo0) { | |
5377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape__setSelf. Expected _wxPyPolygonShape_p."); | |
5380 | return NULL; | |
5381 | } | |
5382 | } | |
5383 | { | |
5384 | _arg1 = _obj1; | |
5385 | } | |
f6bcfd97 BP |
5386 | { |
5387 | _arg2 = _obj2; | |
5388 | } | |
e91a9dfc RD |
5389 | { |
5390 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5391 | wxPyPolygonShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
5392 | |
5393 | wxPy_END_ALLOW_THREADS; | |
5394 | } Py_INCREF(Py_None); | |
5395 | _resultobj = Py_None; | |
5396 | return _resultobj; | |
5397 | } | |
5398 | ||
5399 | static PyObject * wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject * points) { | |
5400 | wxList* list = wxPy_wxRealPoint_ListHelper(points); | |
5401 | if (list) { | |
5402 | self->Create(list); | |
5403 | Py_INCREF(Py_None); | |
5404 | return Py_None; | |
5405 | } | |
5406 | else return NULL; | |
5407 | } | |
5408 | static PyObject *_wrap_wxPyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5409 | PyObject * _resultobj; | |
5410 | PyObject * _result; | |
5411 | wxPyPolygonShape * _arg0; | |
5412 | PyObject * _arg1; | |
5413 | PyObject * _argo0 = 0; | |
5414 | PyObject * _obj1 = 0; | |
5415 | char *_kwnames[] = { "self","points", NULL }; | |
5416 | ||
5417 | self = self; | |
5418 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_Create",_kwnames,&_argo0,&_obj1)) | |
5419 | return NULL; | |
5420 | if (_argo0) { | |
5421 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5422 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5423 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_Create. Expected _wxPyPolygonShape_p."); | |
5424 | return NULL; | |
5425 | } | |
5426 | } | |
5427 | { | |
5428 | _arg1 = _obj1; | |
5429 | } | |
5430 | { | |
5431 | wxPy_BEGIN_ALLOW_THREADS; | |
5432 | _result = (PyObject *)wxPyPolygonShape_Create(_arg0,_arg1); | |
5433 | ||
5434 | wxPy_END_ALLOW_THREADS; | |
5435 | }{ | |
5436 | _resultobj = _result; | |
5437 | } | |
5438 | return _resultobj; | |
5439 | } | |
5440 | ||
5441 | #define wxPyPolygonShape_AddPolygonPoint(_swigobj,_swigarg0) (_swigobj->AddPolygonPoint(_swigarg0)) | |
5442 | static PyObject *_wrap_wxPyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5443 | PyObject * _resultobj; | |
5444 | wxPyPolygonShape * _arg0; | |
5445 | int _arg1 = (int ) 0; | |
5446 | PyObject * _argo0 = 0; | |
5447 | char *_kwnames[] = { "self","pos", NULL }; | |
5448 | ||
5449 | self = self; | |
5450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_AddPolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5451 | return NULL; | |
5452 | if (_argo0) { | |
5453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_AddPolygonPoint. Expected _wxPyPolygonShape_p."); | |
5456 | return NULL; | |
5457 | } | |
5458 | } | |
5459 | { | |
5460 | wxPy_BEGIN_ALLOW_THREADS; | |
5461 | wxPyPolygonShape_AddPolygonPoint(_arg0,_arg1); | |
5462 | ||
5463 | wxPy_END_ALLOW_THREADS; | |
5464 | } Py_INCREF(Py_None); | |
5465 | _resultobj = Py_None; | |
5466 | return _resultobj; | |
5467 | } | |
5468 | ||
5469 | #define wxPyPolygonShape_CalculatePolygonCentre(_swigobj) (_swigobj->CalculatePolygonCentre()) | |
5470 | static PyObject *_wrap_wxPyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5471 | PyObject * _resultobj; | |
5472 | wxPyPolygonShape * _arg0; | |
5473 | PyObject * _argo0 = 0; | |
5474 | char *_kwnames[] = { "self", NULL }; | |
5475 | ||
5476 | self = self; | |
5477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_CalculatePolygonCentre",_kwnames,&_argo0)) | |
5478 | return NULL; | |
5479 | if (_argo0) { | |
5480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_CalculatePolygonCentre. Expected _wxPyPolygonShape_p."); | |
5483 | return NULL; | |
5484 | } | |
5485 | } | |
5486 | { | |
5487 | wxPy_BEGIN_ALLOW_THREADS; | |
5488 | wxPyPolygonShape_CalculatePolygonCentre(_arg0); | |
5489 | ||
5490 | wxPy_END_ALLOW_THREADS; | |
5491 | } Py_INCREF(Py_None); | |
5492 | _resultobj = Py_None; | |
5493 | return _resultobj; | |
5494 | } | |
5495 | ||
5496 | #define wxPyPolygonShape_DeletePolygonPoint(_swigobj,_swigarg0) (_swigobj->DeletePolygonPoint(_swigarg0)) | |
5497 | static PyObject *_wrap_wxPyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5498 | PyObject * _resultobj; | |
5499 | wxPyPolygonShape * _arg0; | |
5500 | int _arg1 = (int ) 0; | |
5501 | PyObject * _argo0 = 0; | |
5502 | char *_kwnames[] = { "self","pos", NULL }; | |
5503 | ||
5504 | self = self; | |
5505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_DeletePolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5506 | return NULL; | |
5507 | if (_argo0) { | |
5508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_DeletePolygonPoint. Expected _wxPyPolygonShape_p."); | |
5511 | return NULL; | |
5512 | } | |
5513 | } | |
5514 | { | |
5515 | wxPy_BEGIN_ALLOW_THREADS; | |
5516 | wxPyPolygonShape_DeletePolygonPoint(_arg0,_arg1); | |
5517 | ||
5518 | wxPy_END_ALLOW_THREADS; | |
5519 | } Py_INCREF(Py_None); | |
5520 | _resultobj = Py_None; | |
5521 | return _resultobj; | |
5522 | } | |
5523 | ||
5524 | static PyObject * wxPyPolygonShape_GetPoints(wxPyPolygonShape *self) { | |
5525 | wxList* list = self->GetPoints(); | |
5526 | return wxPy_ConvertList(list, "wxRealPoint"); | |
5527 | } | |
5528 | static PyObject *_wrap_wxPyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5529 | PyObject * _resultobj; | |
5530 | PyObject * _result; | |
5531 | wxPyPolygonShape * _arg0; | |
5532 | PyObject * _argo0 = 0; | |
5533 | char *_kwnames[] = { "self", NULL }; | |
5534 | ||
5535 | self = self; | |
5536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_GetPoints",_kwnames,&_argo0)) | |
5537 | return NULL; | |
5538 | if (_argo0) { | |
5539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_GetPoints. Expected _wxPyPolygonShape_p."); | |
5542 | return NULL; | |
5543 | } | |
5544 | } | |
5545 | { | |
5546 | wxPy_BEGIN_ALLOW_THREADS; | |
5547 | _result = (PyObject *)wxPyPolygonShape_GetPoints(_arg0); | |
5548 | ||
5549 | wxPy_END_ALLOW_THREADS; | |
5550 | }{ | |
5551 | _resultobj = _result; | |
5552 | } | |
5553 | return _resultobj; | |
5554 | } | |
5555 | ||
5556 | #define wxPyPolygonShape_UpdateOriginalPoints(_swigobj) (_swigobj->UpdateOriginalPoints()) | |
5557 | static PyObject *_wrap_wxPyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5558 | PyObject * _resultobj; | |
5559 | wxPyPolygonShape * _arg0; | |
5560 | PyObject * _argo0 = 0; | |
5561 | char *_kwnames[] = { "self", NULL }; | |
5562 | ||
5563 | self = self; | |
5564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_UpdateOriginalPoints",_kwnames,&_argo0)) | |
5565 | return NULL; | |
5566 | if (_argo0) { | |
5567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_UpdateOriginalPoints. Expected _wxPyPolygonShape_p."); | |
5570 | return NULL; | |
5571 | } | |
5572 | } | |
5573 | { | |
5574 | wxPy_BEGIN_ALLOW_THREADS; | |
5575 | wxPyPolygonShape_UpdateOriginalPoints(_arg0); | |
5576 | ||
5577 | wxPy_END_ALLOW_THREADS; | |
5578 | } Py_INCREF(Py_None); | |
5579 | _resultobj = Py_None; | |
5580 | return _resultobj; | |
5581 | } | |
5582 | ||
5583 | #define wxPyPolygonShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
5584 | static PyObject *_wrap_wxPyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5585 | PyObject * _resultobj; | |
5586 | wxPyPolygonShape * _arg0; | |
5587 | wxDC * _arg1; | |
5588 | PyObject * _argo0 = 0; | |
5589 | PyObject * _argo1 = 0; | |
5590 | char *_kwnames[] = { "self","dc", NULL }; | |
5591 | ||
5592 | self = self; | |
5593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
5594 | return NULL; | |
5595 | if (_argo0) { | |
5596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDraw. Expected _wxPyPolygonShape_p."); | |
5599 | return NULL; | |
5600 | } | |
5601 | } | |
5602 | if (_argo1) { | |
5603 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5604 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDraw. Expected _wxDC_p."); | |
5606 | return NULL; | |
5607 | } | |
5608 | } | |
5609 | { | |
5610 | wxPy_BEGIN_ALLOW_THREADS; | |
5611 | wxPyPolygonShape_base_OnDraw(_arg0,*_arg1); | |
5612 | ||
5613 | wxPy_END_ALLOW_THREADS; | |
5614 | } Py_INCREF(Py_None); | |
5615 | _resultobj = Py_None; | |
5616 | return _resultobj; | |
5617 | } | |
5618 | ||
5619 | #define wxPyPolygonShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
5620 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5621 | PyObject * _resultobj; | |
5622 | wxPyPolygonShape * _arg0; | |
5623 | wxDC * _arg1; | |
5624 | PyObject * _argo0 = 0; | |
5625 | PyObject * _argo1 = 0; | |
5626 | char *_kwnames[] = { "self","dc", NULL }; | |
5627 | ||
5628 | self = self; | |
5629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
5630 | return NULL; | |
5631 | if (_argo0) { | |
5632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawContents. Expected _wxPyPolygonShape_p."); | |
5635 | return NULL; | |
5636 | } | |
5637 | } | |
5638 | if (_argo1) { | |
5639 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5640 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawContents. Expected _wxDC_p."); | |
5642 | return NULL; | |
5643 | } | |
5644 | } | |
5645 | { | |
5646 | wxPy_BEGIN_ALLOW_THREADS; | |
5647 | wxPyPolygonShape_base_OnDrawContents(_arg0,*_arg1); | |
5648 | ||
5649 | wxPy_END_ALLOW_THREADS; | |
5650 | } Py_INCREF(Py_None); | |
5651 | _resultobj = Py_None; | |
5652 | return _resultobj; | |
5653 | } | |
5654 | ||
5655 | #define wxPyPolygonShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
5656 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5657 | PyObject * _resultobj; | |
5658 | wxPyPolygonShape * _arg0; | |
5659 | wxDC * _arg1; | |
5660 | bool _arg2 = (bool ) FALSE; | |
5661 | PyObject * _argo0 = 0; | |
5662 | PyObject * _argo1 = 0; | |
5663 | int tempbool2 = (int) FALSE; | |
5664 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
5665 | ||
5666 | self = self; | |
5667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5668 | return NULL; | |
5669 | if (_argo0) { | |
5670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxPyPolygonShape_p."); | |
5673 | return NULL; | |
5674 | } | |
5675 | } | |
5676 | if (_argo1) { | |
5677 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5678 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxDC_p."); | |
5680 | return NULL; | |
5681 | } | |
5682 | } | |
5683 | _arg2 = (bool ) tempbool2; | |
5684 | { | |
5685 | wxPy_BEGIN_ALLOW_THREADS; | |
5686 | wxPyPolygonShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
5687 | ||
5688 | wxPy_END_ALLOW_THREADS; | |
5689 | } Py_INCREF(Py_None); | |
5690 | _resultobj = Py_None; | |
5691 | return _resultobj; | |
5692 | } | |
5693 | ||
5694 | #define wxPyPolygonShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
5695 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5696 | PyObject * _resultobj; | |
5697 | wxPyPolygonShape * _arg0; | |
5698 | wxDC * _arg1; | |
5699 | PyObject * _argo0 = 0; | |
5700 | PyObject * _argo1 = 0; | |
5701 | char *_kwnames[] = { "self","dc", NULL }; | |
5702 | ||
5703 | self = self; | |
5704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
5705 | return NULL; | |
5706 | if (_argo0) { | |
5707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxPyPolygonShape_p."); | |
5710 | return NULL; | |
5711 | } | |
5712 | } | |
5713 | if (_argo1) { | |
5714 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5715 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxDC_p."); | |
5717 | return NULL; | |
5718 | } | |
5719 | } | |
5720 | { | |
5721 | wxPy_BEGIN_ALLOW_THREADS; | |
5722 | wxPyPolygonShape_base_OnMoveLinks(_arg0,*_arg1); | |
5723 | ||
5724 | wxPy_END_ALLOW_THREADS; | |
5725 | } Py_INCREF(Py_None); | |
5726 | _resultobj = Py_None; | |
5727 | return _resultobj; | |
5728 | } | |
5729 | ||
5730 | #define wxPyPolygonShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
5731 | static PyObject *_wrap_wxPyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5732 | PyObject * _resultobj; | |
5733 | wxPyPolygonShape * _arg0; | |
5734 | wxDC * _arg1; | |
5735 | PyObject * _argo0 = 0; | |
5736 | PyObject * _argo1 = 0; | |
5737 | char *_kwnames[] = { "self","dc", NULL }; | |
5738 | ||
5739 | self = self; | |
5740 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
5741 | return NULL; | |
5742 | if (_argo0) { | |
5743 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5744 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5745 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnErase. Expected _wxPyPolygonShape_p."); | |
5746 | return NULL; | |
5747 | } | |
5748 | } | |
5749 | if (_argo1) { | |
5750 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5751 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnErase. Expected _wxDC_p."); | |
5753 | return NULL; | |
5754 | } | |
5755 | } | |
5756 | { | |
5757 | wxPy_BEGIN_ALLOW_THREADS; | |
5758 | wxPyPolygonShape_base_OnErase(_arg0,*_arg1); | |
5759 | ||
5760 | wxPy_END_ALLOW_THREADS; | |
5761 | } Py_INCREF(Py_None); | |
5762 | _resultobj = Py_None; | |
5763 | return _resultobj; | |
5764 | } | |
5765 | ||
5766 | #define wxPyPolygonShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
5767 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5768 | PyObject * _resultobj; | |
5769 | wxPyPolygonShape * _arg0; | |
5770 | wxDC * _arg1; | |
5771 | PyObject * _argo0 = 0; | |
5772 | PyObject * _argo1 = 0; | |
5773 | char *_kwnames[] = { "self","dc", NULL }; | |
5774 | ||
5775 | self = self; | |
5776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
5777 | return NULL; | |
5778 | if (_argo0) { | |
5779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseContents. Expected _wxPyPolygonShape_p."); | |
5782 | return NULL; | |
5783 | } | |
5784 | } | |
5785 | if (_argo1) { | |
5786 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5787 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5788 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseContents. Expected _wxDC_p."); | |
5789 | return NULL; | |
5790 | } | |
5791 | } | |
5792 | { | |
5793 | wxPy_BEGIN_ALLOW_THREADS; | |
5794 | wxPyPolygonShape_base_OnEraseContents(_arg0,*_arg1); | |
5795 | ||
5796 | wxPy_END_ALLOW_THREADS; | |
5797 | } Py_INCREF(Py_None); | |
5798 | _resultobj = Py_None; | |
5799 | return _resultobj; | |
5800 | } | |
5801 | ||
5802 | #define wxPyPolygonShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
5803 | static PyObject *_wrap_wxPyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5804 | PyObject * _resultobj; | |
5805 | wxPyPolygonShape * _arg0; | |
5806 | wxDC * _arg1; | |
5807 | PyObject * _argo0 = 0; | |
5808 | PyObject * _argo1 = 0; | |
5809 | char *_kwnames[] = { "self","dc", NULL }; | |
5810 | ||
5811 | self = self; | |
5812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
5813 | return NULL; | |
5814 | if (_argo0) { | |
5815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnHighlight. Expected _wxPyPolygonShape_p."); | |
5818 | return NULL; | |
5819 | } | |
5820 | } | |
5821 | if (_argo1) { | |
5822 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5823 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnHighlight. Expected _wxDC_p."); | |
5825 | return NULL; | |
5826 | } | |
5827 | } | |
5828 | { | |
5829 | wxPy_BEGIN_ALLOW_THREADS; | |
5830 | wxPyPolygonShape_base_OnHighlight(_arg0,*_arg1); | |
5831 | ||
5832 | wxPy_END_ALLOW_THREADS; | |
5833 | } Py_INCREF(Py_None); | |
5834 | _resultobj = Py_None; | |
5835 | return _resultobj; | |
5836 | } | |
5837 | ||
5838 | #define wxPyPolygonShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5839 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5840 | PyObject * _resultobj; | |
5841 | wxPyPolygonShape * _arg0; | |
5842 | double _arg1; | |
5843 | double _arg2; | |
5844 | int _arg3 = (int ) 0; | |
5845 | int _arg4 = (int ) 0; | |
5846 | PyObject * _argo0 = 0; | |
5847 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5848 | ||
5849 | self = self; | |
5850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5851 | return NULL; | |
5852 | if (_argo0) { | |
5853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftClick. Expected _wxPyPolygonShape_p."); | |
5856 | return NULL; | |
5857 | } | |
5858 | } | |
5859 | { | |
5860 | wxPy_BEGIN_ALLOW_THREADS; | |
5861 | wxPyPolygonShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5862 | ||
5863 | wxPy_END_ALLOW_THREADS; | |
5864 | } Py_INCREF(Py_None); | |
5865 | _resultobj = Py_None; | |
5866 | return _resultobj; | |
5867 | } | |
5868 | ||
5869 | #define wxPyPolygonShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5870 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5871 | PyObject * _resultobj; | |
5872 | wxPyPolygonShape * _arg0; | |
5873 | double _arg1; | |
5874 | double _arg2; | |
5875 | int _arg3 = (int ) 0; | |
5876 | int _arg4 = (int ) 0; | |
5877 | PyObject * _argo0 = 0; | |
5878 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5879 | ||
5880 | self = self; | |
5881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5882 | return NULL; | |
5883 | if (_argo0) { | |
5884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftDoubleClick. Expected _wxPyPolygonShape_p."); | |
5887 | return NULL; | |
5888 | } | |
5889 | } | |
5890 | { | |
5891 | wxPy_BEGIN_ALLOW_THREADS; | |
5892 | wxPyPolygonShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5893 | ||
5894 | wxPy_END_ALLOW_THREADS; | |
5895 | } Py_INCREF(Py_None); | |
5896 | _resultobj = Py_None; | |
5897 | return _resultobj; | |
5898 | } | |
5899 | ||
5900 | #define wxPyPolygonShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5901 | static PyObject *_wrap_wxPyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5902 | PyObject * _resultobj; | |
5903 | wxPyPolygonShape * _arg0; | |
5904 | double _arg1; | |
5905 | double _arg2; | |
5906 | int _arg3 = (int ) 0; | |
5907 | int _arg4 = (int ) 0; | |
5908 | PyObject * _argo0 = 0; | |
5909 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5910 | ||
5911 | self = self; | |
5912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5913 | return NULL; | |
5914 | if (_argo0) { | |
5915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnRightClick. Expected _wxPyPolygonShape_p."); | |
5918 | return NULL; | |
5919 | } | |
5920 | } | |
5921 | { | |
5922 | wxPy_BEGIN_ALLOW_THREADS; | |
5923 | wxPyPolygonShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5924 | ||
5925 | wxPy_END_ALLOW_THREADS; | |
5926 | } Py_INCREF(Py_None); | |
5927 | _resultobj = Py_None; | |
5928 | return _resultobj; | |
5929 | } | |
5930 | ||
5931 | #define wxPyPolygonShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
5932 | static PyObject *_wrap_wxPyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5933 | PyObject * _resultobj; | |
5934 | wxPyPolygonShape * _arg0; | |
5935 | double _arg1; | |
5936 | double _arg2; | |
5937 | PyObject * _argo0 = 0; | |
5938 | char *_kwnames[] = { "self","x","y", NULL }; | |
5939 | ||
5940 | self = self; | |
5941 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5942 | return NULL; | |
5943 | if (_argo0) { | |
5944 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5945 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5946 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSize. Expected _wxPyPolygonShape_p."); | |
5947 | return NULL; | |
5948 | } | |
5949 | } | |
5950 | { | |
5951 | wxPy_BEGIN_ALLOW_THREADS; | |
5952 | wxPyPolygonShape_base_OnSize(_arg0,_arg1,_arg2); | |
5953 | ||
5954 | wxPy_END_ALLOW_THREADS; | |
5955 | } Py_INCREF(Py_None); | |
5956 | _resultobj = Py_None; | |
5957 | return _resultobj; | |
5958 | } | |
5959 | ||
5960 | #define wxPyPolygonShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5961 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5962 | PyObject * _resultobj; | |
5963 | bool _result; | |
5964 | wxPyPolygonShape * _arg0; | |
5965 | wxDC * _arg1; | |
5966 | double _arg2; | |
5967 | double _arg3; | |
5968 | double _arg4; | |
5969 | double _arg5; | |
5970 | bool _arg6 = (bool ) TRUE; | |
5971 | PyObject * _argo0 = 0; | |
5972 | PyObject * _argo1 = 0; | |
5973 | int tempbool6 = (int) TRUE; | |
5974 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
5975 | ||
5976 | self = self; | |
5977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
5978 | return NULL; | |
5979 | if (_argo0) { | |
5980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePre. Expected _wxPyPolygonShape_p."); | |
5983 | return NULL; | |
5984 | } | |
5985 | } | |
5986 | if (_argo1) { | |
5987 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5988 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5989 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePre. Expected _wxDC_p."); | |
5990 | return NULL; | |
5991 | } | |
5992 | } | |
5993 | _arg6 = (bool ) tempbool6; | |
5994 | { | |
5995 | wxPy_BEGIN_ALLOW_THREADS; | |
5996 | _result = (bool )wxPyPolygonShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5997 | ||
5998 | wxPy_END_ALLOW_THREADS; | |
5999 | } _resultobj = Py_BuildValue("i",_result); | |
6000 | return _resultobj; | |
6001 | } | |
6002 | ||
6003 | #define wxPyPolygonShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6004 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6005 | PyObject * _resultobj; | |
6006 | wxPyPolygonShape * _arg0; | |
6007 | wxDC * _arg1; | |
6008 | double _arg2; | |
6009 | double _arg3; | |
6010 | double _arg4; | |
6011 | double _arg5; | |
6012 | bool _arg6 = (bool ) TRUE; | |
6013 | PyObject * _argo0 = 0; | |
6014 | PyObject * _argo1 = 0; | |
6015 | int tempbool6 = (int) TRUE; | |
6016 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6017 | ||
6018 | self = self; | |
6019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6020 | return NULL; | |
6021 | if (_argo0) { | |
6022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePost. Expected _wxPyPolygonShape_p."); | |
6025 | return NULL; | |
6026 | } | |
6027 | } | |
6028 | if (_argo1) { | |
6029 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6030 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePost. Expected _wxDC_p."); | |
6032 | return NULL; | |
6033 | } | |
6034 | } | |
6035 | _arg6 = (bool ) tempbool6; | |
6036 | { | |
6037 | wxPy_BEGIN_ALLOW_THREADS; | |
6038 | wxPyPolygonShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6039 | ||
6040 | wxPy_END_ALLOW_THREADS; | |
6041 | } Py_INCREF(Py_None); | |
6042 | _resultobj = Py_None; | |
6043 | return _resultobj; | |
6044 | } | |
6045 | ||
6046 | #define wxPyPolygonShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6047 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6048 | PyObject * _resultobj; | |
6049 | wxPyPolygonShape * _arg0; | |
6050 | bool _arg1; | |
6051 | double _arg2; | |
6052 | double _arg3; | |
6053 | int _arg4 = (int ) 0; | |
6054 | int _arg5 = (int ) 0; | |
6055 | PyObject * _argo0 = 0; | |
6056 | int tempbool1; | |
6057 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6058 | ||
6059 | self = self; | |
6060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6061 | return NULL; | |
6062 | if (_argo0) { | |
6063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragLeft. Expected _wxPyPolygonShape_p."); | |
6066 | return NULL; | |
6067 | } | |
6068 | } | |
6069 | _arg1 = (bool ) tempbool1; | |
6070 | { | |
6071 | wxPy_BEGIN_ALLOW_THREADS; | |
6072 | wxPyPolygonShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6073 | ||
6074 | wxPy_END_ALLOW_THREADS; | |
6075 | } Py_INCREF(Py_None); | |
6076 | _resultobj = Py_None; | |
6077 | return _resultobj; | |
6078 | } | |
6079 | ||
6080 | #define wxPyPolygonShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6081 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6082 | PyObject * _resultobj; | |
6083 | wxPyPolygonShape * _arg0; | |
6084 | double _arg1; | |
6085 | double _arg2; | |
6086 | int _arg3 = (int ) 0; | |
6087 | int _arg4 = (int ) 0; | |
6088 | PyObject * _argo0 = 0; | |
6089 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6090 | ||
6091 | self = self; | |
6092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6093 | return NULL; | |
6094 | if (_argo0) { | |
6095 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6096 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6098 | return NULL; | |
6099 | } | |
6100 | } | |
6101 | { | |
6102 | wxPy_BEGIN_ALLOW_THREADS; | |
6103 | wxPyPolygonShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6104 | ||
6105 | wxPy_END_ALLOW_THREADS; | |
6106 | } Py_INCREF(Py_None); | |
6107 | _resultobj = Py_None; | |
6108 | return _resultobj; | |
6109 | } | |
6110 | ||
6111 | #define wxPyPolygonShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6112 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6113 | PyObject * _resultobj; | |
6114 | wxPyPolygonShape * _arg0; | |
6115 | double _arg1; | |
6116 | double _arg2; | |
6117 | int _arg3 = (int ) 0; | |
6118 | int _arg4 = (int ) 0; | |
6119 | PyObject * _argo0 = 0; | |
6120 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6121 | ||
6122 | self = self; | |
6123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6124 | return NULL; | |
6125 | if (_argo0) { | |
6126 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6127 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6129 | return NULL; | |
6130 | } | |
6131 | } | |
6132 | { | |
6133 | wxPy_BEGIN_ALLOW_THREADS; | |
6134 | wxPyPolygonShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6135 | ||
6136 | wxPy_END_ALLOW_THREADS; | |
6137 | } Py_INCREF(Py_None); | |
6138 | _resultobj = Py_None; | |
6139 | return _resultobj; | |
6140 | } | |
6141 | ||
6142 | #define wxPyPolygonShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6143 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6144 | PyObject * _resultobj; | |
6145 | wxPyPolygonShape * _arg0; | |
6146 | bool _arg1; | |
6147 | double _arg2; | |
6148 | double _arg3; | |
6149 | int _arg4 = (int ) 0; | |
6150 | int _arg5 = (int ) 0; | |
6151 | PyObject * _argo0 = 0; | |
6152 | int tempbool1; | |
6153 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6154 | ||
6155 | self = self; | |
6156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6157 | return NULL; | |
6158 | if (_argo0) { | |
6159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragRight. Expected _wxPyPolygonShape_p."); | |
6162 | return NULL; | |
6163 | } | |
6164 | } | |
6165 | _arg1 = (bool ) tempbool1; | |
6166 | { | |
6167 | wxPy_BEGIN_ALLOW_THREADS; | |
6168 | wxPyPolygonShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6169 | ||
6170 | wxPy_END_ALLOW_THREADS; | |
6171 | } Py_INCREF(Py_None); | |
6172 | _resultobj = Py_None; | |
6173 | return _resultobj; | |
6174 | } | |
6175 | ||
6176 | #define wxPyPolygonShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6177 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6178 | PyObject * _resultobj; | |
6179 | wxPyPolygonShape * _arg0; | |
6180 | double _arg1; | |
6181 | double _arg2; | |
6182 | int _arg3 = (int ) 0; | |
6183 | int _arg4 = (int ) 0; | |
6184 | PyObject * _argo0 = 0; | |
6185 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6186 | ||
6187 | self = self; | |
6188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6189 | return NULL; | |
6190 | if (_argo0) { | |
6191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragRight. Expected _wxPyPolygonShape_p."); | |
6194 | return NULL; | |
6195 | } | |
6196 | } | |
6197 | { | |
6198 | wxPy_BEGIN_ALLOW_THREADS; | |
6199 | wxPyPolygonShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6200 | ||
6201 | wxPy_END_ALLOW_THREADS; | |
6202 | } Py_INCREF(Py_None); | |
6203 | _resultobj = Py_None; | |
6204 | return _resultobj; | |
6205 | } | |
6206 | ||
6207 | #define wxPyPolygonShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6208 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6209 | PyObject * _resultobj; | |
6210 | wxPyPolygonShape * _arg0; | |
6211 | double _arg1; | |
6212 | double _arg2; | |
6213 | int _arg3 = (int ) 0; | |
6214 | int _arg4 = (int ) 0; | |
6215 | PyObject * _argo0 = 0; | |
6216 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6217 | ||
6218 | self = self; | |
6219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6220 | return NULL; | |
6221 | if (_argo0) { | |
6222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragRight. Expected _wxPyPolygonShape_p."); | |
6225 | return NULL; | |
6226 | } | |
6227 | } | |
6228 | { | |
6229 | wxPy_BEGIN_ALLOW_THREADS; | |
6230 | wxPyPolygonShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6231 | ||
6232 | wxPy_END_ALLOW_THREADS; | |
6233 | } Py_INCREF(Py_None); | |
6234 | _resultobj = Py_None; | |
6235 | return _resultobj; | |
6236 | } | |
6237 | ||
6238 | #define wxPyPolygonShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6239 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6240 | PyObject * _resultobj; | |
6241 | wxPyPolygonShape * _arg0; | |
6242 | wxDC * _arg1; | |
6243 | double _arg2; | |
6244 | double _arg3; | |
6245 | double _arg4; | |
6246 | double _arg5; | |
6247 | PyObject * _argo0 = 0; | |
6248 | PyObject * _argo1 = 0; | |
6249 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
6250 | ||
6251 | self = self; | |
6252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyPolygonShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6253 | return NULL; | |
6254 | if (_argo0) { | |
6255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxPyPolygonShape_p."); | |
6258 | return NULL; | |
6259 | } | |
6260 | } | |
6261 | if (_argo1) { | |
6262 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6263 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxDC_p."); | |
6265 | return NULL; | |
6266 | } | |
6267 | } | |
6268 | { | |
6269 | wxPy_BEGIN_ALLOW_THREADS; | |
6270 | wxPyPolygonShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
6271 | ||
6272 | wxPy_END_ALLOW_THREADS; | |
6273 | } Py_INCREF(Py_None); | |
6274 | _resultobj = Py_None; | |
6275 | return _resultobj; | |
6276 | } | |
6277 | ||
6278 | #define wxPyPolygonShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
6279 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6280 | PyObject * _resultobj; | |
6281 | wxPyPolygonShape * _arg0; | |
6282 | wxDC * _arg1; | |
6283 | PyObject * _argo0 = 0; | |
6284 | PyObject * _argo1 = 0; | |
6285 | char *_kwnames[] = { "self","dc", NULL }; | |
6286 | ||
6287 | self = self; | |
6288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
6289 | return NULL; | |
6290 | if (_argo0) { | |
6291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxPyPolygonShape_p."); | |
6294 | return NULL; | |
6295 | } | |
6296 | } | |
6297 | if (_argo1) { | |
6298 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6299 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
6301 | return NULL; | |
6302 | } | |
6303 | } | |
6304 | { | |
6305 | wxPy_BEGIN_ALLOW_THREADS; | |
6306 | wxPyPolygonShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
6307 | ||
6308 | wxPy_END_ALLOW_THREADS; | |
6309 | } Py_INCREF(Py_None); | |
6310 | _resultobj = Py_None; | |
6311 | return _resultobj; | |
6312 | } | |
6313 | ||
6314 | #define wxPyPolygonShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
6315 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6316 | PyObject * _resultobj; | |
6317 | wxPyPolygonShape * _arg0; | |
6318 | wxDC * _arg1; | |
6319 | PyObject * _argo0 = 0; | |
6320 | PyObject * _argo1 = 0; | |
6321 | char *_kwnames[] = { "self","dc", NULL }; | |
6322 | ||
6323 | self = self; | |
6324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
6325 | return NULL; | |
6326 | if (_argo0) { | |
6327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxPyPolygonShape_p."); | |
6330 | return NULL; | |
6331 | } | |
6332 | } | |
6333 | if (_argo1) { | |
6334 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6335 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
6337 | return NULL; | |
6338 | } | |
6339 | } | |
6340 | { | |
6341 | wxPy_BEGIN_ALLOW_THREADS; | |
6342 | wxPyPolygonShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
6343 | ||
6344 | wxPy_END_ALLOW_THREADS; | |
6345 | } Py_INCREF(Py_None); | |
6346 | _resultobj = Py_None; | |
6347 | return _resultobj; | |
6348 | } | |
6349 | ||
6350 | #define wxPyPolygonShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
6351 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6352 | PyObject * _resultobj; | |
6353 | wxPyPolygonShape * _arg0; | |
6354 | wxDC * _arg1; | |
6355 | bool _arg2 = (bool ) TRUE; | |
6356 | PyObject * _argo0 = 0; | |
6357 | PyObject * _argo1 = 0; | |
6358 | int tempbool2 = (int) TRUE; | |
6359 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
6360 | ||
6361 | self = self; | |
6362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6363 | return NULL; | |
6364 | if (_argo0) { | |
6365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLink. Expected _wxPyPolygonShape_p."); | |
6368 | return NULL; | |
6369 | } | |
6370 | } | |
6371 | if (_argo1) { | |
6372 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6373 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLink. Expected _wxDC_p."); | |
6375 | return NULL; | |
6376 | } | |
6377 | } | |
6378 | _arg2 = (bool ) tempbool2; | |
6379 | { | |
6380 | wxPy_BEGIN_ALLOW_THREADS; | |
6381 | wxPyPolygonShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
6382 | ||
6383 | wxPy_END_ALLOW_THREADS; | |
6384 | } Py_INCREF(Py_None); | |
6385 | _resultobj = Py_None; | |
6386 | return _resultobj; | |
6387 | } | |
6388 | ||
6389 | #define wxPyPolygonShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6390 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6391 | PyObject * _resultobj; | |
6392 | wxPyPolygonShape * _arg0; | |
2348eaee | 6393 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6394 | bool _arg2; |
6395 | double _arg3; | |
6396 | double _arg4; | |
6397 | int _arg5 = (int ) 0; | |
6398 | int _arg6 = (int ) 0; | |
6399 | PyObject * _argo0 = 0; | |
6400 | PyObject * _argo1 = 0; | |
6401 | int tempbool2; | |
6402 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
6403 | ||
6404 | self = self; | |
6405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyPolygonShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
6406 | return NULL; | |
6407 | if (_argo0) { | |
6408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyPolygonShape_p."); | |
6411 | return NULL; | |
6412 | } | |
6413 | } | |
6414 | if (_argo1) { | |
6415 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6416 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6418 | return NULL; |
6419 | } | |
6420 | } | |
6421 | _arg2 = (bool ) tempbool2; | |
6422 | { | |
6423 | wxPy_BEGIN_ALLOW_THREADS; | |
6424 | wxPyPolygonShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6425 | ||
6426 | wxPy_END_ALLOW_THREADS; | |
6427 | } Py_INCREF(Py_None); | |
6428 | _resultobj = Py_None; | |
6429 | return _resultobj; | |
6430 | } | |
6431 | ||
6432 | #define wxPyPolygonShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6433 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6434 | PyObject * _resultobj; | |
6435 | wxPyPolygonShape * _arg0; | |
2348eaee | 6436 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6437 | double _arg2; |
6438 | double _arg3; | |
6439 | int _arg4 = (int ) 0; | |
6440 | int _arg5 = (int ) 0; | |
6441 | PyObject * _argo0 = 0; | |
6442 | PyObject * _argo1 = 0; | |
6443 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6444 | ||
6445 | self = self; | |
6446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6447 | return NULL; | |
6448 | if (_argo0) { | |
6449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6452 | return NULL; | |
6453 | } | |
6454 | } | |
6455 | if (_argo1) { | |
6456 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6457 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6458 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6459 | return NULL; |
6460 | } | |
6461 | } | |
6462 | { | |
6463 | wxPy_BEGIN_ALLOW_THREADS; | |
6464 | wxPyPolygonShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6465 | ||
6466 | wxPy_END_ALLOW_THREADS; | |
6467 | } Py_INCREF(Py_None); | |
6468 | _resultobj = Py_None; | |
6469 | return _resultobj; | |
6470 | } | |
6471 | ||
6472 | #define wxPyPolygonShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6473 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6474 | PyObject * _resultobj; | |
6475 | wxPyPolygonShape * _arg0; | |
2348eaee | 6476 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6477 | double _arg2; |
6478 | double _arg3; | |
6479 | int _arg4 = (int ) 0; | |
6480 | int _arg5 = (int ) 0; | |
6481 | PyObject * _argo0 = 0; | |
6482 | PyObject * _argo1 = 0; | |
6483 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6484 | ||
6485 | self = self; | |
6486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6487 | return NULL; | |
6488 | if (_argo0) { | |
6489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6492 | return NULL; | |
6493 | } | |
6494 | } | |
6495 | if (_argo1) { | |
6496 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6497 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6499 | return NULL; |
6500 | } | |
6501 | } | |
6502 | { | |
6503 | wxPy_BEGIN_ALLOW_THREADS; | |
6504 | wxPyPolygonShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6505 | ||
6506 | wxPy_END_ALLOW_THREADS; | |
6507 | } Py_INCREF(Py_None); | |
6508 | _resultobj = Py_None; | |
6509 | return _resultobj; | |
6510 | } | |
6511 | ||
6512 | #define wxPyPolygonShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
6513 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6514 | PyObject * _resultobj; | |
6515 | wxPyPolygonShape * _arg0; | |
6516 | double _arg1; | |
6517 | double _arg2; | |
6518 | PyObject * _argo0 = 0; | |
6519 | char *_kwnames[] = { "self","w","h", NULL }; | |
6520 | ||
6521 | self = self; | |
6522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6523 | return NULL; | |
6524 | if (_argo0) { | |
6525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginSize. Expected _wxPyPolygonShape_p."); | |
6528 | return NULL; | |
6529 | } | |
6530 | } | |
6531 | { | |
6532 | wxPy_BEGIN_ALLOW_THREADS; | |
6533 | wxPyPolygonShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
6534 | ||
6535 | wxPy_END_ALLOW_THREADS; | |
6536 | } Py_INCREF(Py_None); | |
6537 | _resultobj = Py_None; | |
6538 | return _resultobj; | |
6539 | } | |
6540 | ||
6541 | #define wxPyPolygonShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
6542 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6543 | PyObject * _resultobj; | |
6544 | wxPyPolygonShape * _arg0; | |
6545 | double _arg1; | |
6546 | double _arg2; | |
6547 | PyObject * _argo0 = 0; | |
6548 | char *_kwnames[] = { "self","w","h", NULL }; | |
6549 | ||
6550 | self = self; | |
6551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6552 | return NULL; | |
6553 | if (_argo0) { | |
6554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndSize. Expected _wxPyPolygonShape_p."); | |
6557 | return NULL; | |
6558 | } | |
6559 | } | |
6560 | { | |
6561 | wxPy_BEGIN_ALLOW_THREADS; | |
6562 | wxPyPolygonShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
6563 | ||
6564 | wxPy_END_ALLOW_THREADS; | |
6565 | } Py_INCREF(Py_None); | |
6566 | _resultobj = Py_None; | |
6567 | return _resultobj; | |
6568 | } | |
6569 | ||
6570 | static void *SwigwxPyTextShapeTowxPyRectangleShape(void *ptr) { | |
6571 | wxPyTextShape *src; | |
6572 | wxPyRectangleShape *dest; | |
6573 | src = (wxPyTextShape *) ptr; | |
6574 | dest = (wxPyRectangleShape *) src; | |
6575 | return (void *) dest; | |
6576 | } | |
6577 | ||
6578 | static void *SwigwxPyTextShapeTowxPyShape(void *ptr) { | |
6579 | wxPyTextShape *src; | |
6580 | wxPyShape *dest; | |
6581 | src = (wxPyTextShape *) ptr; | |
6582 | dest = (wxPyShape *) src; | |
6583 | return (void *) dest; | |
6584 | } | |
6585 | ||
6586 | static void *SwigwxPyTextShapeTowxPyShapeEvtHandler(void *ptr) { | |
6587 | wxPyTextShape *src; | |
6588 | wxPyShapeEvtHandler *dest; | |
6589 | src = (wxPyTextShape *) ptr; | |
6590 | dest = (wxPyShapeEvtHandler *) src; | |
6591 | return (void *) dest; | |
6592 | } | |
6593 | ||
6594 | #define new_wxPyTextShape(_swigarg0,_swigarg1) (new wxPyTextShape(_swigarg0,_swigarg1)) | |
6595 | static PyObject *_wrap_new_wxPyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6596 | PyObject * _resultobj; | |
6597 | wxPyTextShape * _result; | |
6598 | double _arg0 = (double ) 0.0; | |
6599 | double _arg1 = (double ) 0.0; | |
6600 | char *_kwnames[] = { "width","height", NULL }; | |
6601 | char _ptemp[128]; | |
6602 | ||
6603 | self = self; | |
6604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyTextShape",_kwnames,&_arg0,&_arg1)) | |
6605 | return NULL; | |
6606 | { | |
6607 | wxPy_BEGIN_ALLOW_THREADS; | |
6608 | _result = (wxPyTextShape *)new_wxPyTextShape(_arg0,_arg1); | |
6609 | ||
6610 | wxPy_END_ALLOW_THREADS; | |
6611 | } if (_result) { | |
6612 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTextShape_p"); | |
6613 | _resultobj = Py_BuildValue("s",_ptemp); | |
6614 | } else { | |
6615 | Py_INCREF(Py_None); | |
6616 | _resultobj = Py_None; | |
6617 | } | |
6618 | return _resultobj; | |
6619 | } | |
6620 | ||
f6bcfd97 | 6621 | #define wxPyTextShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
6622 | static PyObject *_wrap_wxPyTextShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
6623 | PyObject * _resultobj; | |
6624 | wxPyTextShape * _arg0; | |
6625 | PyObject * _arg1; | |
f6bcfd97 | 6626 | PyObject * _arg2; |
e91a9dfc RD |
6627 | PyObject * _argo0 = 0; |
6628 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
6629 | PyObject * _obj2 = 0; |
6630 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
6631 | |
6632 | self = self; | |
f6bcfd97 | 6633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyTextShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
6634 | return NULL; |
6635 | if (_argo0) { | |
6636 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6637 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape__setSelf. Expected _wxPyTextShape_p."); | |
6639 | return NULL; | |
6640 | } | |
6641 | } | |
6642 | { | |
6643 | _arg1 = _obj1; | |
6644 | } | |
f6bcfd97 BP |
6645 | { |
6646 | _arg2 = _obj2; | |
6647 | } | |
e91a9dfc RD |
6648 | { |
6649 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 6650 | wxPyTextShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
6651 | |
6652 | wxPy_END_ALLOW_THREADS; | |
6653 | } Py_INCREF(Py_None); | |
6654 | _resultobj = Py_None; | |
6655 | return _resultobj; | |
6656 | } | |
6657 | ||
6658 | #define wxPyTextShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6659 | static PyObject *_wrap_wxPyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6660 | PyObject * _resultobj; | |
6661 | wxPyTextShape * _arg0; | |
6662 | PyObject * _argo0 = 0; | |
6663 | char *_kwnames[] = { "self", NULL }; | |
6664 | ||
6665 | self = self; | |
6666 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTextShape_base_OnDelete",_kwnames,&_argo0)) | |
6667 | return NULL; | |
6668 | if (_argo0) { | |
6669 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6670 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDelete. Expected _wxPyTextShape_p."); | |
6672 | return NULL; | |
6673 | } | |
6674 | } | |
6675 | { | |
6676 | wxPy_BEGIN_ALLOW_THREADS; | |
6677 | wxPyTextShape_base_OnDelete(_arg0); | |
6678 | ||
6679 | wxPy_END_ALLOW_THREADS; | |
6680 | } Py_INCREF(Py_None); | |
6681 | _resultobj = Py_None; | |
6682 | return _resultobj; | |
6683 | } | |
6684 | ||
6685 | #define wxPyTextShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6686 | static PyObject *_wrap_wxPyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6687 | PyObject * _resultobj; | |
6688 | wxPyTextShape * _arg0; | |
6689 | wxDC * _arg1; | |
6690 | PyObject * _argo0 = 0; | |
6691 | PyObject * _argo1 = 0; | |
6692 | char *_kwnames[] = { "self","dc", NULL }; | |
6693 | ||
6694 | self = self; | |
6695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6696 | return NULL; | |
6697 | if (_argo0) { | |
6698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDraw. Expected _wxPyTextShape_p."); | |
6701 | return NULL; | |
6702 | } | |
6703 | } | |
6704 | if (_argo1) { | |
6705 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6706 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDraw. Expected _wxDC_p."); | |
6708 | return NULL; | |
6709 | } | |
6710 | } | |
6711 | { | |
6712 | wxPy_BEGIN_ALLOW_THREADS; | |
6713 | wxPyTextShape_base_OnDraw(_arg0,*_arg1); | |
6714 | ||
6715 | wxPy_END_ALLOW_THREADS; | |
6716 | } Py_INCREF(Py_None); | |
6717 | _resultobj = Py_None; | |
6718 | return _resultobj; | |
6719 | } | |
6720 | ||
6721 | #define wxPyTextShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6722 | static PyObject *_wrap_wxPyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6723 | PyObject * _resultobj; | |
6724 | wxPyTextShape * _arg0; | |
6725 | wxDC * _arg1; | |
6726 | PyObject * _argo0 = 0; | |
6727 | PyObject * _argo1 = 0; | |
6728 | char *_kwnames[] = { "self","dc", NULL }; | |
6729 | ||
6730 | self = self; | |
6731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6732 | return NULL; | |
6733 | if (_argo0) { | |
6734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawContents. Expected _wxPyTextShape_p."); | |
6737 | return NULL; | |
6738 | } | |
6739 | } | |
6740 | if (_argo1) { | |
6741 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6742 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawContents. Expected _wxDC_p."); | |
6744 | return NULL; | |
6745 | } | |
6746 | } | |
6747 | { | |
6748 | wxPy_BEGIN_ALLOW_THREADS; | |
6749 | wxPyTextShape_base_OnDrawContents(_arg0,*_arg1); | |
6750 | ||
6751 | wxPy_END_ALLOW_THREADS; | |
6752 | } Py_INCREF(Py_None); | |
6753 | _resultobj = Py_None; | |
6754 | return _resultobj; | |
6755 | } | |
6756 | ||
6757 | #define wxPyTextShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6758 | static PyObject *_wrap_wxPyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6759 | PyObject * _resultobj; | |
6760 | wxPyTextShape * _arg0; | |
6761 | wxDC * _arg1; | |
6762 | bool _arg2 = (bool ) FALSE; | |
6763 | PyObject * _argo0 = 0; | |
6764 | PyObject * _argo1 = 0; | |
6765 | int tempbool2 = (int) FALSE; | |
6766 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6767 | ||
6768 | self = self; | |
6769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6770 | return NULL; | |
6771 | if (_argo0) { | |
6772 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6773 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawBranches. Expected _wxPyTextShape_p."); | |
6775 | return NULL; | |
6776 | } | |
6777 | } | |
6778 | if (_argo1) { | |
6779 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6780 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6782 | return NULL; | |
6783 | } | |
6784 | } | |
6785 | _arg2 = (bool ) tempbool2; | |
6786 | { | |
6787 | wxPy_BEGIN_ALLOW_THREADS; | |
6788 | wxPyTextShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6789 | ||
6790 | wxPy_END_ALLOW_THREADS; | |
6791 | } Py_INCREF(Py_None); | |
6792 | _resultobj = Py_None; | |
6793 | return _resultobj; | |
6794 | } | |
6795 | ||
6796 | #define wxPyTextShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6797 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6798 | PyObject * _resultobj; | |
6799 | wxPyTextShape * _arg0; | |
6800 | wxDC * _arg1; | |
6801 | PyObject * _argo0 = 0; | |
6802 | PyObject * _argo1 = 0; | |
6803 | char *_kwnames[] = { "self","dc", NULL }; | |
6804 | ||
6805 | self = self; | |
6806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6807 | return NULL; | |
6808 | if (_argo0) { | |
6809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLinks. Expected _wxPyTextShape_p."); | |
6812 | return NULL; | |
6813 | } | |
6814 | } | |
6815 | if (_argo1) { | |
6816 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6817 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6819 | return NULL; | |
6820 | } | |
6821 | } | |
6822 | { | |
6823 | wxPy_BEGIN_ALLOW_THREADS; | |
6824 | wxPyTextShape_base_OnMoveLinks(_arg0,*_arg1); | |
6825 | ||
6826 | wxPy_END_ALLOW_THREADS; | |
6827 | } Py_INCREF(Py_None); | |
6828 | _resultobj = Py_None; | |
6829 | return _resultobj; | |
6830 | } | |
6831 | ||
6832 | #define wxPyTextShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6833 | static PyObject *_wrap_wxPyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6834 | PyObject * _resultobj; | |
6835 | wxPyTextShape * _arg0; | |
6836 | wxDC * _arg1; | |
6837 | PyObject * _argo0 = 0; | |
6838 | PyObject * _argo1 = 0; | |
6839 | char *_kwnames[] = { "self","dc", NULL }; | |
6840 | ||
6841 | self = self; | |
6842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6843 | return NULL; | |
6844 | if (_argo0) { | |
6845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnErase. Expected _wxPyTextShape_p."); | |
6848 | return NULL; | |
6849 | } | |
6850 | } | |
6851 | if (_argo1) { | |
6852 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6853 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnErase. Expected _wxDC_p."); | |
6855 | return NULL; | |
6856 | } | |
6857 | } | |
6858 | { | |
6859 | wxPy_BEGIN_ALLOW_THREADS; | |
6860 | wxPyTextShape_base_OnErase(_arg0,*_arg1); | |
6861 | ||
6862 | wxPy_END_ALLOW_THREADS; | |
6863 | } Py_INCREF(Py_None); | |
6864 | _resultobj = Py_None; | |
6865 | return _resultobj; | |
6866 | } | |
6867 | ||
6868 | #define wxPyTextShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6869 | static PyObject *_wrap_wxPyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6870 | PyObject * _resultobj; | |
6871 | wxPyTextShape * _arg0; | |
6872 | wxDC * _arg1; | |
6873 | PyObject * _argo0 = 0; | |
6874 | PyObject * _argo1 = 0; | |
6875 | char *_kwnames[] = { "self","dc", NULL }; | |
6876 | ||
6877 | self = self; | |
6878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6879 | return NULL; | |
6880 | if (_argo0) { | |
6881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseContents. Expected _wxPyTextShape_p."); | |
6884 | return NULL; | |
6885 | } | |
6886 | } | |
6887 | if (_argo1) { | |
6888 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6889 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6890 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseContents. Expected _wxDC_p."); | |
6891 | return NULL; | |
6892 | } | |
6893 | } | |
6894 | { | |
6895 | wxPy_BEGIN_ALLOW_THREADS; | |
6896 | wxPyTextShape_base_OnEraseContents(_arg0,*_arg1); | |
6897 | ||
6898 | wxPy_END_ALLOW_THREADS; | |
6899 | } Py_INCREF(Py_None); | |
6900 | _resultobj = Py_None; | |
6901 | return _resultobj; | |
6902 | } | |
6903 | ||
6904 | #define wxPyTextShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6905 | static PyObject *_wrap_wxPyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6906 | PyObject * _resultobj; | |
6907 | wxPyTextShape * _arg0; | |
6908 | wxDC * _arg1; | |
6909 | PyObject * _argo0 = 0; | |
6910 | PyObject * _argo1 = 0; | |
6911 | char *_kwnames[] = { "self","dc", NULL }; | |
6912 | ||
6913 | self = self; | |
6914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6915 | return NULL; | |
6916 | if (_argo0) { | |
6917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnHighlight. Expected _wxPyTextShape_p."); | |
6920 | return NULL; | |
6921 | } | |
6922 | } | |
6923 | if (_argo1) { | |
6924 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6925 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnHighlight. Expected _wxDC_p."); | |
6927 | return NULL; | |
6928 | } | |
6929 | } | |
6930 | { | |
6931 | wxPy_BEGIN_ALLOW_THREADS; | |
6932 | wxPyTextShape_base_OnHighlight(_arg0,*_arg1); | |
6933 | ||
6934 | wxPy_END_ALLOW_THREADS; | |
6935 | } Py_INCREF(Py_None); | |
6936 | _resultobj = Py_None; | |
6937 | return _resultobj; | |
6938 | } | |
6939 | ||
6940 | #define wxPyTextShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6941 | static PyObject *_wrap_wxPyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6942 | PyObject * _resultobj; | |
6943 | wxPyTextShape * _arg0; | |
6944 | double _arg1; | |
6945 | double _arg2; | |
6946 | int _arg3 = (int ) 0; | |
6947 | int _arg4 = (int ) 0; | |
6948 | PyObject * _argo0 = 0; | |
6949 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6950 | ||
6951 | self = self; | |
6952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6953 | return NULL; | |
6954 | if (_argo0) { | |
6955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftClick. Expected _wxPyTextShape_p."); | |
6958 | return NULL; | |
6959 | } | |
6960 | } | |
6961 | { | |
6962 | wxPy_BEGIN_ALLOW_THREADS; | |
6963 | wxPyTextShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6964 | ||
6965 | wxPy_END_ALLOW_THREADS; | |
6966 | } Py_INCREF(Py_None); | |
6967 | _resultobj = Py_None; | |
6968 | return _resultobj; | |
6969 | } | |
6970 | ||
6971 | #define wxPyTextShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6972 | static PyObject *_wrap_wxPyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6973 | PyObject * _resultobj; | |
6974 | wxPyTextShape * _arg0; | |
6975 | double _arg1; | |
6976 | double _arg2; | |
6977 | int _arg3 = (int ) 0; | |
6978 | int _arg4 = (int ) 0; | |
6979 | PyObject * _argo0 = 0; | |
6980 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6981 | ||
6982 | self = self; | |
6983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6984 | return NULL; | |
6985 | if (_argo0) { | |
6986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftDoubleClick. Expected _wxPyTextShape_p."); | |
6989 | return NULL; | |
6990 | } | |
6991 | } | |
6992 | { | |
6993 | wxPy_BEGIN_ALLOW_THREADS; | |
6994 | wxPyTextShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6995 | ||
6996 | wxPy_END_ALLOW_THREADS; | |
6997 | } Py_INCREF(Py_None); | |
6998 | _resultobj = Py_None; | |
6999 | return _resultobj; | |
7000 | } | |
7001 | ||
7002 | #define wxPyTextShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7003 | static PyObject *_wrap_wxPyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7004 | PyObject * _resultobj; | |
7005 | wxPyTextShape * _arg0; | |
7006 | double _arg1; | |
7007 | double _arg2; | |
7008 | int _arg3 = (int ) 0; | |
7009 | int _arg4 = (int ) 0; | |
7010 | PyObject * _argo0 = 0; | |
7011 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7012 | ||
7013 | self = self; | |
7014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7015 | return NULL; | |
7016 | if (_argo0) { | |
7017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnRightClick. Expected _wxPyTextShape_p."); | |
7020 | return NULL; | |
7021 | } | |
7022 | } | |
7023 | { | |
7024 | wxPy_BEGIN_ALLOW_THREADS; | |
7025 | wxPyTextShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7026 | ||
7027 | wxPy_END_ALLOW_THREADS; | |
7028 | } Py_INCREF(Py_None); | |
7029 | _resultobj = Py_None; | |
7030 | return _resultobj; | |
7031 | } | |
7032 | ||
7033 | #define wxPyTextShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
7034 | static PyObject *_wrap_wxPyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7035 | PyObject * _resultobj; | |
7036 | wxPyTextShape * _arg0; | |
7037 | double _arg1; | |
7038 | double _arg2; | |
7039 | PyObject * _argo0 = 0; | |
7040 | char *_kwnames[] = { "self","x","y", NULL }; | |
7041 | ||
7042 | self = self; | |
7043 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7044 | return NULL; | |
7045 | if (_argo0) { | |
7046 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7047 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSize. Expected _wxPyTextShape_p."); | |
7049 | return NULL; | |
7050 | } | |
7051 | } | |
7052 | { | |
7053 | wxPy_BEGIN_ALLOW_THREADS; | |
7054 | wxPyTextShape_base_OnSize(_arg0,_arg1,_arg2); | |
7055 | ||
7056 | wxPy_END_ALLOW_THREADS; | |
7057 | } Py_INCREF(Py_None); | |
7058 | _resultobj = Py_None; | |
7059 | return _resultobj; | |
7060 | } | |
7061 | ||
7062 | #define wxPyTextShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7063 | static PyObject *_wrap_wxPyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7064 | PyObject * _resultobj; | |
7065 | bool _result; | |
7066 | wxPyTextShape * _arg0; | |
7067 | wxDC * _arg1; | |
7068 | double _arg2; | |
7069 | double _arg3; | |
7070 | double _arg4; | |
7071 | double _arg5; | |
7072 | bool _arg6 = (bool ) TRUE; | |
7073 | PyObject * _argo0 = 0; | |
7074 | PyObject * _argo1 = 0; | |
7075 | int tempbool6 = (int) TRUE; | |
7076 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7077 | ||
7078 | self = self; | |
7079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7080 | return NULL; | |
7081 | if (_argo0) { | |
7082 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7083 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePre. Expected _wxPyTextShape_p."); | |
7085 | return NULL; | |
7086 | } | |
7087 | } | |
7088 | if (_argo1) { | |
7089 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7090 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7091 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePre. Expected _wxDC_p."); | |
7092 | return NULL; | |
7093 | } | |
7094 | } | |
7095 | _arg6 = (bool ) tempbool6; | |
7096 | { | |
7097 | wxPy_BEGIN_ALLOW_THREADS; | |
7098 | _result = (bool )wxPyTextShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7099 | ||
7100 | wxPy_END_ALLOW_THREADS; | |
7101 | } _resultobj = Py_BuildValue("i",_result); | |
7102 | return _resultobj; | |
7103 | } | |
7104 | ||
7105 | #define wxPyTextShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7106 | static PyObject *_wrap_wxPyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7107 | PyObject * _resultobj; | |
7108 | wxPyTextShape * _arg0; | |
7109 | wxDC * _arg1; | |
7110 | double _arg2; | |
7111 | double _arg3; | |
7112 | double _arg4; | |
7113 | double _arg5; | |
7114 | bool _arg6 = (bool ) TRUE; | |
7115 | PyObject * _argo0 = 0; | |
7116 | PyObject * _argo1 = 0; | |
7117 | int tempbool6 = (int) TRUE; | |
7118 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7119 | ||
7120 | self = self; | |
7121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7122 | return NULL; | |
7123 | if (_argo0) { | |
7124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePost. Expected _wxPyTextShape_p."); | |
7127 | return NULL; | |
7128 | } | |
7129 | } | |
7130 | if (_argo1) { | |
7131 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7132 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7133 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePost. Expected _wxDC_p."); | |
7134 | return NULL; | |
7135 | } | |
7136 | } | |
7137 | _arg6 = (bool ) tempbool6; | |
7138 | { | |
7139 | wxPy_BEGIN_ALLOW_THREADS; | |
7140 | wxPyTextShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7141 | ||
7142 | wxPy_END_ALLOW_THREADS; | |
7143 | } Py_INCREF(Py_None); | |
7144 | _resultobj = Py_None; | |
7145 | return _resultobj; | |
7146 | } | |
7147 | ||
7148 | #define wxPyTextShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7149 | static PyObject *_wrap_wxPyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7150 | PyObject * _resultobj; | |
7151 | wxPyTextShape * _arg0; | |
7152 | bool _arg1; | |
7153 | double _arg2; | |
7154 | double _arg3; | |
7155 | int _arg4 = (int ) 0; | |
7156 | int _arg5 = (int ) 0; | |
7157 | PyObject * _argo0 = 0; | |
7158 | int tempbool1; | |
7159 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7160 | ||
7161 | self = self; | |
7162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7163 | return NULL; | |
7164 | if (_argo0) { | |
7165 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7166 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragLeft. Expected _wxPyTextShape_p."); | |
7168 | return NULL; | |
7169 | } | |
7170 | } | |
7171 | _arg1 = (bool ) tempbool1; | |
7172 | { | |
7173 | wxPy_BEGIN_ALLOW_THREADS; | |
7174 | wxPyTextShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7175 | ||
7176 | wxPy_END_ALLOW_THREADS; | |
7177 | } Py_INCREF(Py_None); | |
7178 | _resultobj = Py_None; | |
7179 | return _resultobj; | |
7180 | } | |
7181 | ||
7182 | #define wxPyTextShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7183 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7184 | PyObject * _resultobj; | |
7185 | wxPyTextShape * _arg0; | |
7186 | double _arg1; | |
7187 | double _arg2; | |
7188 | int _arg3 = (int ) 0; | |
7189 | int _arg4 = (int ) 0; | |
7190 | PyObject * _argo0 = 0; | |
7191 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7192 | ||
7193 | self = self; | |
7194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7195 | return NULL; | |
7196 | if (_argo0) { | |
7197 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7198 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragLeft. Expected _wxPyTextShape_p."); | |
7200 | return NULL; | |
7201 | } | |
7202 | } | |
7203 | { | |
7204 | wxPy_BEGIN_ALLOW_THREADS; | |
7205 | wxPyTextShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7206 | ||
7207 | wxPy_END_ALLOW_THREADS; | |
7208 | } Py_INCREF(Py_None); | |
7209 | _resultobj = Py_None; | |
7210 | return _resultobj; | |
7211 | } | |
7212 | ||
7213 | #define wxPyTextShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7214 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7215 | PyObject * _resultobj; | |
7216 | wxPyTextShape * _arg0; | |
7217 | double _arg1; | |
7218 | double _arg2; | |
7219 | int _arg3 = (int ) 0; | |
7220 | int _arg4 = (int ) 0; | |
7221 | PyObject * _argo0 = 0; | |
7222 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7223 | ||
7224 | self = self; | |
7225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7226 | return NULL; | |
7227 | if (_argo0) { | |
7228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragLeft. Expected _wxPyTextShape_p."); | |
7231 | return NULL; | |
7232 | } | |
7233 | } | |
7234 | { | |
7235 | wxPy_BEGIN_ALLOW_THREADS; | |
7236 | wxPyTextShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7237 | ||
7238 | wxPy_END_ALLOW_THREADS; | |
7239 | } Py_INCREF(Py_None); | |
7240 | _resultobj = Py_None; | |
7241 | return _resultobj; | |
7242 | } | |
7243 | ||
7244 | #define wxPyTextShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7245 | static PyObject *_wrap_wxPyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7246 | PyObject * _resultobj; | |
7247 | wxPyTextShape * _arg0; | |
7248 | bool _arg1; | |
7249 | double _arg2; | |
7250 | double _arg3; | |
7251 | int _arg4 = (int ) 0; | |
7252 | int _arg5 = (int ) 0; | |
7253 | PyObject * _argo0 = 0; | |
7254 | int tempbool1; | |
7255 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7256 | ||
7257 | self = self; | |
7258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7259 | return NULL; | |
7260 | if (_argo0) { | |
7261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragRight. Expected _wxPyTextShape_p."); | |
7264 | return NULL; | |
7265 | } | |
7266 | } | |
7267 | _arg1 = (bool ) tempbool1; | |
7268 | { | |
7269 | wxPy_BEGIN_ALLOW_THREADS; | |
7270 | wxPyTextShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7271 | ||
7272 | wxPy_END_ALLOW_THREADS; | |
7273 | } Py_INCREF(Py_None); | |
7274 | _resultobj = Py_None; | |
7275 | return _resultobj; | |
7276 | } | |
7277 | ||
7278 | #define wxPyTextShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7279 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7280 | PyObject * _resultobj; | |
7281 | wxPyTextShape * _arg0; | |
7282 | double _arg1; | |
7283 | double _arg2; | |
7284 | int _arg3 = (int ) 0; | |
7285 | int _arg4 = (int ) 0; | |
7286 | PyObject * _argo0 = 0; | |
7287 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7288 | ||
7289 | self = self; | |
7290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7291 | return NULL; | |
7292 | if (_argo0) { | |
7293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragRight. Expected _wxPyTextShape_p."); | |
7296 | return NULL; | |
7297 | } | |
7298 | } | |
7299 | { | |
7300 | wxPy_BEGIN_ALLOW_THREADS; | |
7301 | wxPyTextShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7302 | ||
7303 | wxPy_END_ALLOW_THREADS; | |
7304 | } Py_INCREF(Py_None); | |
7305 | _resultobj = Py_None; | |
7306 | return _resultobj; | |
7307 | } | |
7308 | ||
7309 | #define wxPyTextShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7310 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7311 | PyObject * _resultobj; | |
7312 | wxPyTextShape * _arg0; | |
7313 | double _arg1; | |
7314 | double _arg2; | |
7315 | int _arg3 = (int ) 0; | |
7316 | int _arg4 = (int ) 0; | |
7317 | PyObject * _argo0 = 0; | |
7318 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7319 | ||
7320 | self = self; | |
7321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7322 | return NULL; | |
7323 | if (_argo0) { | |
7324 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7325 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragRight. Expected _wxPyTextShape_p."); | |
7327 | return NULL; | |
7328 | } | |
7329 | } | |
7330 | { | |
7331 | wxPy_BEGIN_ALLOW_THREADS; | |
7332 | wxPyTextShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7333 | ||
7334 | wxPy_END_ALLOW_THREADS; | |
7335 | } Py_INCREF(Py_None); | |
7336 | _resultobj = Py_None; | |
7337 | return _resultobj; | |
7338 | } | |
7339 | ||
7340 | #define wxPyTextShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7341 | static PyObject *_wrap_wxPyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7342 | PyObject * _resultobj; | |
7343 | wxPyTextShape * _arg0; | |
7344 | wxDC * _arg1; | |
7345 | double _arg2; | |
7346 | double _arg3; | |
7347 | double _arg4; | |
7348 | double _arg5; | |
7349 | PyObject * _argo0 = 0; | |
7350 | PyObject * _argo1 = 0; | |
7351 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7352 | ||
7353 | self = self; | |
7354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyTextShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7355 | return NULL; | |
7356 | if (_argo0) { | |
7357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawOutline. Expected _wxPyTextShape_p."); | |
7360 | return NULL; | |
7361 | } | |
7362 | } | |
7363 | if (_argo1) { | |
7364 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7365 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7367 | return NULL; | |
7368 | } | |
7369 | } | |
7370 | { | |
7371 | wxPy_BEGIN_ALLOW_THREADS; | |
7372 | wxPyTextShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7373 | ||
7374 | wxPy_END_ALLOW_THREADS; | |
7375 | } Py_INCREF(Py_None); | |
7376 | _resultobj = Py_None; | |
7377 | return _resultobj; | |
7378 | } | |
7379 | ||
7380 | #define wxPyTextShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7381 | static PyObject *_wrap_wxPyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7382 | PyObject * _resultobj; | |
7383 | wxPyTextShape * _arg0; | |
7384 | wxDC * _arg1; | |
7385 | PyObject * _argo0 = 0; | |
7386 | PyObject * _argo1 = 0; | |
7387 | char *_kwnames[] = { "self","dc", NULL }; | |
7388 | ||
7389 | self = self; | |
7390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7391 | return NULL; | |
7392 | if (_argo0) { | |
7393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxPyTextShape_p."); | |
7396 | return NULL; | |
7397 | } | |
7398 | } | |
7399 | if (_argo1) { | |
7400 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7401 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7403 | return NULL; | |
7404 | } | |
7405 | } | |
7406 | { | |
7407 | wxPy_BEGIN_ALLOW_THREADS; | |
7408 | wxPyTextShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7409 | ||
7410 | wxPy_END_ALLOW_THREADS; | |
7411 | } Py_INCREF(Py_None); | |
7412 | _resultobj = Py_None; | |
7413 | return _resultobj; | |
7414 | } | |
7415 | ||
7416 | #define wxPyTextShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7417 | static PyObject *_wrap_wxPyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7418 | PyObject * _resultobj; | |
7419 | wxPyTextShape * _arg0; | |
7420 | wxDC * _arg1; | |
7421 | PyObject * _argo0 = 0; | |
7422 | PyObject * _argo1 = 0; | |
7423 | char *_kwnames[] = { "self","dc", NULL }; | |
7424 | ||
7425 | self = self; | |
7426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7427 | return NULL; | |
7428 | if (_argo0) { | |
7429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxPyTextShape_p."); | |
7432 | return NULL; | |
7433 | } | |
7434 | } | |
7435 | if (_argo1) { | |
7436 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7437 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7439 | return NULL; | |
7440 | } | |
7441 | } | |
7442 | { | |
7443 | wxPy_BEGIN_ALLOW_THREADS; | |
7444 | wxPyTextShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7445 | ||
7446 | wxPy_END_ALLOW_THREADS; | |
7447 | } Py_INCREF(Py_None); | |
7448 | _resultobj = Py_None; | |
7449 | return _resultobj; | |
7450 | } | |
7451 | ||
7452 | #define wxPyTextShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7453 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7454 | PyObject * _resultobj; | |
7455 | wxPyTextShape * _arg0; | |
7456 | wxDC * _arg1; | |
7457 | bool _arg2 = (bool ) TRUE; | |
7458 | PyObject * _argo0 = 0; | |
7459 | PyObject * _argo1 = 0; | |
7460 | int tempbool2 = (int) TRUE; | |
7461 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7462 | ||
7463 | self = self; | |
7464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7465 | return NULL; | |
7466 | if (_argo0) { | |
7467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLink. Expected _wxPyTextShape_p."); | |
7470 | return NULL; | |
7471 | } | |
7472 | } | |
7473 | if (_argo1) { | |
7474 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7475 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLink. Expected _wxDC_p."); | |
7477 | return NULL; | |
7478 | } | |
7479 | } | |
7480 | _arg2 = (bool ) tempbool2; | |
7481 | { | |
7482 | wxPy_BEGIN_ALLOW_THREADS; | |
7483 | wxPyTextShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7484 | ||
7485 | wxPy_END_ALLOW_THREADS; | |
7486 | } Py_INCREF(Py_None); | |
7487 | _resultobj = Py_None; | |
7488 | return _resultobj; | |
7489 | } | |
7490 | ||
7491 | #define wxPyTextShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7492 | static PyObject *_wrap_wxPyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7493 | PyObject * _resultobj; | |
7494 | wxPyTextShape * _arg0; | |
2348eaee | 7495 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7496 | bool _arg2; |
7497 | double _arg3; | |
7498 | double _arg4; | |
7499 | int _arg5 = (int ) 0; | |
7500 | int _arg6 = (int ) 0; | |
7501 | PyObject * _argo0 = 0; | |
7502 | PyObject * _argo1 = 0; | |
7503 | int tempbool2; | |
7504 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7505 | ||
7506 | self = self; | |
7507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyTextShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7508 | return NULL; | |
7509 | if (_argo0) { | |
7510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyTextShape_p."); | |
7513 | return NULL; | |
7514 | } | |
7515 | } | |
7516 | if (_argo1) { | |
7517 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7518 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7520 | return NULL; |
7521 | } | |
7522 | } | |
7523 | _arg2 = (bool ) tempbool2; | |
7524 | { | |
7525 | wxPy_BEGIN_ALLOW_THREADS; | |
7526 | wxPyTextShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7527 | ||
7528 | wxPy_END_ALLOW_THREADS; | |
7529 | } Py_INCREF(Py_None); | |
7530 | _resultobj = Py_None; | |
7531 | return _resultobj; | |
7532 | } | |
7533 | ||
7534 | #define wxPyTextShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7535 | static PyObject *_wrap_wxPyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7536 | PyObject * _resultobj; | |
7537 | wxPyTextShape * _arg0; | |
2348eaee | 7538 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7539 | double _arg2; |
7540 | double _arg3; | |
7541 | int _arg4 = (int ) 0; | |
7542 | int _arg5 = (int ) 0; | |
7543 | PyObject * _argo0 = 0; | |
7544 | PyObject * _argo1 = 0; | |
7545 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7546 | ||
7547 | self = self; | |
7548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7549 | return NULL; | |
7550 | if (_argo0) { | |
7551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyTextShape_p."); | |
7554 | return NULL; | |
7555 | } | |
7556 | } | |
7557 | if (_argo1) { | |
7558 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7559 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7561 | return NULL; |
7562 | } | |
7563 | } | |
7564 | { | |
7565 | wxPy_BEGIN_ALLOW_THREADS; | |
7566 | wxPyTextShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7567 | ||
7568 | wxPy_END_ALLOW_THREADS; | |
7569 | } Py_INCREF(Py_None); | |
7570 | _resultobj = Py_None; | |
7571 | return _resultobj; | |
7572 | } | |
7573 | ||
7574 | #define wxPyTextShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7575 | static PyObject *_wrap_wxPyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7576 | PyObject * _resultobj; | |
7577 | wxPyTextShape * _arg0; | |
2348eaee | 7578 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7579 | double _arg2; |
7580 | double _arg3; | |
7581 | int _arg4 = (int ) 0; | |
7582 | int _arg5 = (int ) 0; | |
7583 | PyObject * _argo0 = 0; | |
7584 | PyObject * _argo1 = 0; | |
7585 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7586 | ||
7587 | self = self; | |
7588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7589 | return NULL; | |
7590 | if (_argo0) { | |
7591 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7592 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyTextShape_p."); | |
7594 | return NULL; | |
7595 | } | |
7596 | } | |
7597 | if (_argo1) { | |
7598 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7599 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7601 | return NULL; |
7602 | } | |
7603 | } | |
7604 | { | |
7605 | wxPy_BEGIN_ALLOW_THREADS; | |
7606 | wxPyTextShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7607 | ||
7608 | wxPy_END_ALLOW_THREADS; | |
7609 | } Py_INCREF(Py_None); | |
7610 | _resultobj = Py_None; | |
7611 | return _resultobj; | |
7612 | } | |
7613 | ||
7614 | #define wxPyTextShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7615 | static PyObject *_wrap_wxPyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7616 | PyObject * _resultobj; | |
7617 | wxPyTextShape * _arg0; | |
7618 | double _arg1; | |
7619 | double _arg2; | |
7620 | PyObject * _argo0 = 0; | |
7621 | char *_kwnames[] = { "self","w","h", NULL }; | |
7622 | ||
7623 | self = self; | |
7624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7625 | return NULL; | |
7626 | if (_argo0) { | |
7627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginSize. Expected _wxPyTextShape_p."); | |
7630 | return NULL; | |
7631 | } | |
7632 | } | |
7633 | { | |
7634 | wxPy_BEGIN_ALLOW_THREADS; | |
7635 | wxPyTextShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7636 | ||
7637 | wxPy_END_ALLOW_THREADS; | |
7638 | } Py_INCREF(Py_None); | |
7639 | _resultobj = Py_None; | |
7640 | return _resultobj; | |
7641 | } | |
7642 | ||
7643 | #define wxPyTextShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7644 | static PyObject *_wrap_wxPyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7645 | PyObject * _resultobj; | |
7646 | wxPyTextShape * _arg0; | |
7647 | double _arg1; | |
7648 | double _arg2; | |
7649 | PyObject * _argo0 = 0; | |
7650 | char *_kwnames[] = { "self","w","h", NULL }; | |
7651 | ||
7652 | self = self; | |
7653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7654 | return NULL; | |
7655 | if (_argo0) { | |
7656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndSize. Expected _wxPyTextShape_p."); | |
7659 | return NULL; | |
7660 | } | |
7661 | } | |
7662 | { | |
7663 | wxPy_BEGIN_ALLOW_THREADS; | |
7664 | wxPyTextShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7665 | ||
7666 | wxPy_END_ALLOW_THREADS; | |
7667 | } Py_INCREF(Py_None); | |
7668 | _resultobj = Py_None; | |
7669 | return _resultobj; | |
7670 | } | |
7671 | ||
7672 | static PyMethodDef oglshapes2cMethods[] = { | |
7673 | { "wxPyTextShape_base_OnEndSize", (PyCFunction) _wrap_wxPyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7674 | { "wxPyTextShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7675 | { "wxPyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7676 | { "wxPyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7677 | { "wxPyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7678 | { "wxPyTextShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7679 | { "wxPyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7680 | { "wxPyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7681 | { "wxPyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7682 | { "wxPyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7683 | { "wxPyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7684 | { "wxPyTextShape_base_OnDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7685 | { "wxPyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7686 | { "wxPyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7687 | { "wxPyTextShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7688 | { "wxPyTextShape_base_OnMovePost", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7689 | { "wxPyTextShape_base_OnMovePre", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7690 | { "wxPyTextShape_base_OnSize", (PyCFunction) _wrap_wxPyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7691 | { "wxPyTextShape_base_OnRightClick", (PyCFunction) _wrap_wxPyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7692 | { "wxPyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7693 | { "wxPyTextShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7694 | { "wxPyTextShape_base_OnHighlight", (PyCFunction) _wrap_wxPyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7695 | { "wxPyTextShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7696 | { "wxPyTextShape_base_OnErase", (PyCFunction) _wrap_wxPyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7697 | { "wxPyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7698 | { "wxPyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7699 | { "wxPyTextShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7700 | { "wxPyTextShape_base_OnDraw", (PyCFunction) _wrap_wxPyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7701 | { "wxPyTextShape_base_OnDelete", (PyCFunction) _wrap_wxPyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
7702 | { "wxPyTextShape__setSelf", (PyCFunction) _wrap_wxPyTextShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7703 | { "new_wxPyTextShape", (PyCFunction) _wrap_new_wxPyTextShape, METH_VARARGS | METH_KEYWORDS }, | |
7704 | { "wxPyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7705 | { "wxPyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7706 | { "wxPyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7707 | { "wxPyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7708 | { "wxPyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7709 | { "wxPyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7710 | { "wxPyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7711 | { "wxPyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7712 | { "wxPyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7713 | { "wxPyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7714 | { "wxPyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7715 | { "wxPyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7716 | { "wxPyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7717 | { "wxPyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7718 | { "wxPyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7719 | { "wxPyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7720 | { "wxPyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7721 | { "wxPyPolygonShape_base_OnSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7722 | { "wxPyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7723 | { "wxPyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7724 | { "wxPyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7725 | { "wxPyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7726 | { "wxPyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7727 | { "wxPyPolygonShape_base_OnErase", (PyCFunction) _wrap_wxPyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7728 | { "wxPyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7729 | { "wxPyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7730 | { "wxPyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7731 | { "wxPyPolygonShape_base_OnDraw", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7732 | { "wxPyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_wxPyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS }, | |
7733 | { "wxPyPolygonShape_GetPoints", (PyCFunction) _wrap_wxPyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS }, | |
7734 | { "wxPyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7735 | { "wxPyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_wxPyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS }, | |
7736 | { "wxPyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7737 | { "wxPyPolygonShape_Create", (PyCFunction) _wrap_wxPyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS }, | |
7738 | { "wxPyPolygonShape__setSelf", (PyCFunction) _wrap_wxPyPolygonShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7739 | { "new_wxPyPolygonShape", (PyCFunction) _wrap_new_wxPyPolygonShape, METH_VARARGS | METH_KEYWORDS }, | |
7740 | { "wxPyLineShape_base_OnEndSize", (PyCFunction) _wrap_wxPyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7741 | { "wxPyLineShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7742 | { "wxPyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7743 | { "wxPyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7744 | { "wxPyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7745 | { "wxPyLineShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7746 | { "wxPyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7747 | { "wxPyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7748 | { "wxPyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7749 | { "wxPyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7750 | { "wxPyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7751 | { "wxPyLineShape_base_OnDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7752 | { "wxPyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7753 | { "wxPyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7754 | { "wxPyLineShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7755 | { "wxPyLineShape_base_OnMovePost", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7756 | { "wxPyLineShape_base_OnMovePre", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7757 | { "wxPyLineShape_base_OnSize", (PyCFunction) _wrap_wxPyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7758 | { "wxPyLineShape_base_OnRightClick", (PyCFunction) _wrap_wxPyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7759 | { "wxPyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7760 | { "wxPyLineShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7761 | { "wxPyLineShape_base_OnHighlight", (PyCFunction) _wrap_wxPyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7762 | { "wxPyLineShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7763 | { "wxPyLineShape_base_OnErase", (PyCFunction) _wrap_wxPyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7764 | { "wxPyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7765 | { "wxPyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7766 | { "wxPyLineShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7767 | { "wxPyLineShape_base_OnDraw", (PyCFunction) _wrap_wxPyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7768 | { "wxPyLineShape_Unlink", (PyCFunction) _wrap_wxPyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS }, | |
7769 | { "wxPyLineShape_Straighten", (PyCFunction) _wrap_wxPyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS }, | |
7770 | { "wxPyLineShape_SetTo", (PyCFunction) _wrap_wxPyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS }, | |
7771 | { "wxPyLineShape_SetSpline", (PyCFunction) _wrap_wxPyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS }, | |
7772 | { "wxPyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_wxPyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS }, | |
7773 | { "wxPyLineShape_SetFrom", (PyCFunction) _wrap_wxPyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7774 | { "wxPyLineShape_SetEnds", (PyCFunction) _wrap_wxPyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7775 | { "wxPyLineShape_SetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7776 | { "wxPyLineShape_SetAttachments", (PyCFunction) _wrap_wxPyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS }, | |
7777 | { "wxPyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
7778 | { "wxPyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_wxPyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7779 | { "wxPyLineShape_IsSpline", (PyCFunction) _wrap_wxPyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS }, | |
7780 | { "wxPyLineShape_IsEnd", (PyCFunction) _wrap_wxPyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS }, | |
7781 | { "wxPyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7782 | { "wxPyLineShape_Initialise", (PyCFunction) _wrap_wxPyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS }, | |
7783 | { "wxPyLineShape_GetTo", (PyCFunction) _wrap_wxPyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS }, | |
7784 | { "wxPyLineShape_GetNextControlPoint", (PyCFunction) _wrap_wxPyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7785 | { "wxPyLineShape_GetLabelPosition", (PyCFunction) _wrap_wxPyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS }, | |
7786 | { "wxPyLineShape_GetFrom", (PyCFunction) _wrap_wxPyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7787 | { "wxPyLineShape_GetEnds", (PyCFunction) _wrap_wxPyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7788 | { "wxPyLineShape_GetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7789 | { "wxPyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
7790 | { "wxPyLineShape_FindNth", (PyCFunction) _wrap_wxPyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS }, | |
7791 | { "wxPyLineShape_FindMinimumWidth", (PyCFunction) _wrap_wxPyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS }, | |
7792 | { "wxPyLineShape_FindLinePosition", (PyCFunction) _wrap_wxPyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS }, | |
7793 | { "wxPyLineShape_FindLineEndPoints", (PyCFunction) _wrap_wxPyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS }, | |
7794 | { "wxPyLineShape_FindArrowHead", (PyCFunction) _wrap_wxPyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7795 | { "wxPyLineShape_FindArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7796 | { "wxPyLineShape_EraseRegion", (PyCFunction) _wrap_wxPyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS }, | |
7797 | { "wxPyLineShape_DrawRegion", (PyCFunction) _wrap_wxPyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS }, | |
7798 | { "wxPyLineShape_DrawArrows", (PyCFunction) _wrap_wxPyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS }, | |
7799 | { "wxPyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7800 | { "wxPyLineShape_DeleteArrowHead", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7801 | { "wxPyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7802 | { "wxPyLineShape_DrawArrow", (PyCFunction) _wrap_wxPyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS }, | |
7803 | { "wxPyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_wxPyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS }, | |
7804 | { "wxPyLineShape_ClearArrow", (PyCFunction) _wrap_wxPyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS }, | |
7805 | { "wxPyLineShape_AddArrowOrdered", (PyCFunction) _wrap_wxPyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS }, | |
7806 | { "wxPyLineShape_AddArrow", (PyCFunction) _wrap_wxPyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS }, | |
7807 | { "wxPyLineShape__setSelf", (PyCFunction) _wrap_wxPyLineShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7808 | { "new_wxPyLineShape", (PyCFunction) _wrap_new_wxPyLineShape, METH_VARARGS | METH_KEYWORDS }, | |
7809 | { "wxArrowHead_SetSpacing", (PyCFunction) _wrap_wxArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7810 | { "wxArrowHead_SetSize", (PyCFunction) _wrap_wxArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
7811 | { "wxArrowHead_GetArrowSize", (PyCFunction) _wrap_wxArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS }, | |
7812 | { "wxArrowHead_GetArrowEnd", (PyCFunction) _wrap_wxArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS }, | |
7813 | { "wxArrowHead_GetId", (PyCFunction) _wrap_wxArrowHead_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7814 | { "wxArrowHead_GetMetaFile", (PyCFunction) _wrap_wxArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
7815 | { "wxArrowHead_SetYOffset", (PyCFunction) _wrap_wxArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7816 | { "wxArrowHead_SetXOffset", (PyCFunction) _wrap_wxArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7817 | { "wxArrowHead_GetName", (PyCFunction) _wrap_wxArrowHead_GetName, METH_VARARGS | METH_KEYWORDS }, | |
7818 | { "wxArrowHead_GetSize", (PyCFunction) _wrap_wxArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
7819 | { "wxArrowHead_GetSpacing", (PyCFunction) _wrap_wxArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7820 | { "wxArrowHead_GetYOffset", (PyCFunction) _wrap_wxArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7821 | { "wxArrowHead_GetXOffset", (PyCFunction) _wrap_wxArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7822 | { "wxArrowHead_SetPosition", (PyCFunction) _wrap_wxArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7823 | { "wxArrowHead_GetPosition", (PyCFunction) _wrap_wxArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7824 | { "wxArrowHead__GetType", (PyCFunction) _wrap_wxArrowHead__GetType, METH_VARARGS | METH_KEYWORDS }, | |
7825 | { "delete_wxArrowHead", (PyCFunction) _wrap_delete_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7826 | { "new_wxArrowHead", (PyCFunction) _wrap_new_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7827 | { "wxPyCircleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7828 | { "wxPyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7829 | { "wxPyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7830 | { "wxPyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7831 | { "wxPyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7832 | { "wxPyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7833 | { "wxPyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7834 | { "wxPyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7835 | { "wxPyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7836 | { "wxPyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7837 | { "wxPyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7838 | { "wxPyCircleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7839 | { "wxPyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7840 | { "wxPyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7841 | { "wxPyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7842 | { "wxPyCircleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7843 | { "wxPyCircleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7844 | { "wxPyCircleShape_base_OnSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7845 | { "wxPyCircleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7846 | { "wxPyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7847 | { "wxPyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7848 | { "wxPyCircleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7849 | { "wxPyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7850 | { "wxPyCircleShape_base_OnErase", (PyCFunction) _wrap_wxPyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7851 | { "wxPyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7852 | { "wxPyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7853 | { "wxPyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7854 | { "wxPyCircleShape_base_OnDraw", (PyCFunction) _wrap_wxPyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7855 | { "wxPyCircleShape__setSelf", (PyCFunction) _wrap_wxPyCircleShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7856 | { "new_wxPyCircleShape", (PyCFunction) _wrap_new_wxPyCircleShape, METH_VARARGS | METH_KEYWORDS }, | |
7857 | { "wxPyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7858 | { "wxPyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7859 | { "wxPyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7860 | { "wxPyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7861 | { "wxPyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7862 | { "wxPyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7863 | { "wxPyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7864 | { "wxPyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7865 | { "wxPyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7866 | { "wxPyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7867 | { "wxPyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7868 | { "wxPyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7869 | { "wxPyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7870 | { "wxPyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7871 | { "wxPyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7872 | { "wxPyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7873 | { "wxPyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7874 | { "wxPyEllipseShape_base_OnSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7875 | { "wxPyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7876 | { "wxPyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7877 | { "wxPyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7878 | { "wxPyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7879 | { "wxPyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7880 | { "wxPyEllipseShape_base_OnErase", (PyCFunction) _wrap_wxPyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7881 | { "wxPyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7882 | { "wxPyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7883 | { "wxPyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7884 | { "wxPyEllipseShape_base_OnDraw", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7885 | { "wxPyEllipseShape__setSelf", (PyCFunction) _wrap_wxPyEllipseShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7886 | { "new_wxPyEllipseShape", (PyCFunction) _wrap_new_wxPyEllipseShape, METH_VARARGS | METH_KEYWORDS }, | |
7887 | { NULL, NULL } | |
7888 | }; | |
7889 | #ifdef __cplusplus | |
7890 | } | |
7891 | #endif | |
7892 | /* | |
7893 | * This table is used by the pointer type-checker | |
7894 | */ | |
7895 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
7896 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
7897 | { "_wxEvent","_class_wxEvent",0}, | |
7898 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
7899 | { "_signed_long","_long",0}, | |
7900 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
c368d904 | 7901 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
e91a9dfc | 7902 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
c368d904 | 7903 | { "_class_wxFSFile","_wxFSFile",0}, |
99ab9f3b RD |
7904 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
7905 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 7906 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
7907 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
7908 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 7909 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
c368d904 RD |
7910 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
7911 | { "_class_wxDateTime","_wxDateTime",0}, | |
99ab9f3b | 7912 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
7913 | { "_wxPrintQuality","_int",0}, |
7914 | { "_wxPrintQuality","_signed_int",0}, | |
7915 | { "_wxPrintQuality","_unsigned_int",0}, | |
7916 | { "_wxPrintQuality","_wxWindowID",0}, | |
7917 | { "_wxPrintQuality","_uint",0}, | |
7918 | { "_wxPrintQuality","_EBool",0}, | |
7919 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 7920 | { "_wxPrintQuality","_time_t",0}, |
99ab9f3b | 7921 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 7922 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
e91a9dfc | 7923 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 7924 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
99ab9f3b | 7925 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
7926 | { "_class_wxMenuBar","_wxMenuBar",0}, |
7927 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 7928 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
7929 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
7930 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
7931 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 7932 | { "_wxPySizer","_class_wxPySizer",0}, |
c368d904 | 7933 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
e91a9dfc RD |
7934 | { "_wxPyCompositeShape","_class_wxPyCompositeShape",0}, |
7935 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
7936 | { "_wxCursor","_class_wxCursor",0}, | |
7937 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
c368d904 RD |
7938 | { "_wxPyProcess","_class_wxPyProcess",0}, |
7939 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
e91a9dfc RD |
7940 | { "_wxImageHandler","_class_wxImageHandler",0}, |
7941 | { "_class_wxPyRectangleShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
7942 | { "_class_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
7943 | { "_class_wxPyRectangleShape","_wxPyRectangleShape",0}, | |
d74525f7 | 7944 | { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0}, |
c368d904 | 7945 | { "_wxLog","_class_wxLog",0}, |
99ab9f3b | 7946 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
7947 | { "_wxMask","_class_wxMask",0}, |
7948 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
7949 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
7950 | { "_class_wxOGLConstraint","_wxOGLConstraint",0}, | |
7951 | { "_class_wxColourData","_wxColourData",0}, | |
7952 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
7953 | { "_wxPrinter","_class_wxPrinter",0}, | |
7954 | { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0}, | |
7955 | { "_class_wxArrowHead","_wxArrowHead",0}, | |
7956 | { "_wxPen","_class_wxPen",0}, | |
7957 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 7958 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 7959 | { "_byte","_unsigned_char",0}, |
99ab9f3b RD |
7960 | { "_wxDataObject","_class_wxDataObject",0}, |
7961 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 7962 | { "_wxStaticBox","_class_wxStaticBox",0}, |
c9482eba | 7963 | { "_wxColourDatabase","_class_wxColourDatabase",0}, |
99ab9f3b RD |
7964 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
7965 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
7966 | { "_wxChoice","_class_wxChoice",0}, |
7967 | { "_wxSlider","_class_wxSlider",0}, | |
7968 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
7969 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
7970 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
7971 | { "_long","_unsigned_long",0}, |
7972 | { "_long","_signed_long",0}, | |
7973 | { "_wxImageList","_class_wxImageList",0}, | |
99ab9f3b | 7974 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
7975 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
7976 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
7977 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 7978 | { "_class_wxSizer","_wxSizer",0}, |
99ab9f3b | 7979 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 7980 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 7981 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 7982 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
99ab9f3b | 7983 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
7984 | { "_class_wxGauge","_wxGauge",0}, |
7985 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
7986 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 7987 | { "_wxSizerItem","_class_wxSizerItem",0}, |
99ab9f3b | 7988 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
7989 | { "_wxListEvent","_class_wxListEvent",0}, |
7990 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
7991 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
7992 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
7993 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 7994 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
7995 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
7996 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
7997 | { "_wxPyBitmapShape","_class_wxPyBitmapShape",0}, | |
7998 | { "_class_wxPyEllipseShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
7999 | { "_class_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
8000 | { "_class_wxPyEllipseShape","_wxPyEllipseShape",0}, | |
99ab9f3b | 8001 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 8002 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 8003 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
8004 | { "_size_t","_unsigned_int",0}, |
8005 | { "_size_t","_int",0}, | |
8006 | { "_size_t","_wxWindowID",0}, | |
8007 | { "_size_t","_uint",0}, | |
8008 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
99ab9f3b RD |
8009 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
8010 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
8011 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
c368d904 | 8012 | { "_wxLogGui","_class_wxLogGui",0}, |
e91a9dfc RD |
8013 | { "_class_wxPyShapeEvtHandler","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, |
8014 | { "_class_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8015 | { "_class_wxPyShapeEvtHandler","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8016 | { "_class_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8017 | { "_class_wxPyShapeEvtHandler","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8018 | { "_class_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8019 | { "_class_wxPyShapeEvtHandler","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8020 | { "_class_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8021 | { "_class_wxPyShapeEvtHandler","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8022 | { "_class_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8023 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
8024 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8025 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8026 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8027 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8028 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 8029 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
8030 | { "_class_wxPyCompositeShape","_wxPyCompositeShape",0}, |
8031 | { "_wxPyPolygonShape","_class_wxPyPolygonShape",0}, | |
7a446686 | 8032 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
e91a9dfc RD |
8033 | { "_wxPanel","_class_wxPanel",0}, |
8034 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8035 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
c368d904 | 8036 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
e91a9dfc RD |
8037 | { "_wxPyEvent","_class_wxPyEvent",0}, |
8038 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8039 | { "_class_wxMask","_wxMask",0}, | |
99ab9f3b | 8040 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 8041 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
99ab9f3b | 8042 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc | 8043 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
c368d904 | 8044 | { "_wxFileConfig","_class_wxFileConfig",0}, |
e91a9dfc RD |
8045 | { "_wxColour","_class_wxColour",0}, |
8046 | { "_class_wxDialog","_wxDialog",0}, | |
99ab9f3b | 8047 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
8048 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
8049 | { "_class_wxPrinter","_wxPrinter",0}, | |
99ab9f3b | 8050 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
8051 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
8052 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8053 | { "_wxToolBar","_class_wxToolBar",0}, | |
99ab9f3b | 8054 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 8055 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
8056 | { "_wxStaticLine","_class_wxStaticLine",0}, |
8057 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8058 | { "_wxBrush","_class_wxBrush",0}, | |
7a446686 | 8059 | { "_wxToggleButton","_class_wxToggleButton",0}, |
e91a9dfc RD |
8060 | { "_wxMiniFrame","_class_wxMiniFrame",0}, |
8061 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8062 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
99ab9f3b RD |
8063 | { "_wxDataFormat","_class_wxDataFormat",0}, |
8064 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
8065 | { "_class_wxSashWindow","_wxSashWindow",0}, |
8066 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
8067 | { "_class_wxPyDivisionShape","_wxPyDivisionShape",0}, | |
99ab9f3b | 8068 | { "_uint","_wxCoord",0}, |
e91a9dfc | 8069 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 8070 | { "_uint","_time_t",0}, |
e91a9dfc RD |
8071 | { "_uint","_size_t",0}, |
8072 | { "_uint","_unsigned_int",0}, | |
8073 | { "_uint","_int",0}, | |
8074 | { "_uint","_wxWindowID",0}, | |
c368d904 | 8075 | { "_wxChar","_char",0}, |
f0261a72 | 8076 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
8077 | { "_class_wxEvent","_wxEvent",0}, |
8078 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8079 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
8080 | { "_wxRect","_class_wxRect",0}, |
8081 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8082 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
c368d904 | 8083 | { "_class_wxLogWindow","_wxLogWindow",0}, |
e91a9dfc RD |
8084 | { "_class_wxImage","_wxImage",0}, |
8085 | { "_wxPoint","_class_wxPoint",0}, | |
c368d904 | 8086 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
e91a9dfc RD |
8087 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
8088 | { "_class_wxPyBitmapShape","_wxPyBitmapShape",0}, | |
8089 | { "_class_wxButton","_wxButton",0}, | |
8090 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 8091 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
e91a9dfc | 8092 | { "_class_wxFontData","_wxFontData",0}, |
99ab9f3b | 8093 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 8094 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
c368d904 RD |
8095 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
8096 | { "_char","_wxChar",0}, | |
e91a9dfc | 8097 | { "_wxBitmap","_class_wxBitmap",0}, |
c9482eba | 8098 | { "_wxPenList","_class_wxPenList",0}, |
e91a9dfc | 8099 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
2348eaee | 8100 | { "_wxPyControlPoint","_class_wxPyControlPoint",0}, |
e91a9dfc | 8101 | { "_wxWindowDC","_class_wxWindowDC",0}, |
c368d904 RD |
8102 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
8103 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
e91a9dfc RD |
8104 | { "_wxScrollBar","_class_wxScrollBar",0}, |
8105 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
8106 | { "_wxColourDialog","_class_wxColourDialog",0}, |
8107 | { "_wxPrintData","_class_wxPrintData",0}, | |
c368d904 | 8108 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
e91a9dfc RD |
8109 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
8110 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8111 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 8112 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc | 8113 | { "_class_wxPyEvent","_wxPyEvent",0}, |
d74525f7 | 8114 | { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0}, |
e91a9dfc | 8115 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, |
c368d904 | 8116 | { "_wxConfig","_class_wxConfig",0}, |
e91a9dfc RD |
8117 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
8118 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
c368d904 | 8119 | { "_class_wxFileConfig","_wxFileConfig",0}, |
e91a9dfc | 8120 | { "_class_wxPyDrawnShape","_wxPyDrawnShape",0}, |
99ab9f3b RD |
8121 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
8122 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
8123 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
8124 | { "_wxListItem","_class_wxListItem",0}, | |
8125 | { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0}, | |
8126 | { "_class_wxToolBar","_wxToolBar",0}, | |
99ab9f3b | 8127 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc | 8128 | { "_class_wxStaticLine","_wxStaticLine",0}, |
c9482eba | 8129 | { "_class_wxColourDatabase","_wxColourDatabase",0}, |
e91a9dfc | 8130 | { "_wxScrollEvent","_class_wxScrollEvent",0}, |
99ab9f3b | 8131 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc | 8132 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
c368d904 | 8133 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
e91a9dfc | 8134 | { "_class_wxShapeRegion","_wxShapeRegion",0}, |
99ab9f3b | 8135 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
8136 | { "_EBool","_wxPrintQuality",0}, |
8137 | { "_EBool","_signed_int",0}, | |
8138 | { "_EBool","_int",0}, | |
8139 | { "_EBool","_wxWindowID",0}, | |
8140 | { "_class_wxRegion","_wxRegion",0}, | |
99ab9f3b | 8141 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 8142 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
99ab9f3b | 8143 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
8144 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
8145 | { "_wxStaticText","_class_wxStaticText",0}, | |
8146 | { "_wxFont","_class_wxFont",0}, | |
99ab9f3b | 8147 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
8148 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
8149 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
c368d904 | 8150 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
e91a9dfc | 8151 | { "_wxNotebook","_class_wxNotebook",0}, |
c368d904 | 8152 | { "_wxFSFile","_class_wxFSFile",0}, |
e91a9dfc RD |
8153 | { "_unsigned_long","_long",0}, |
8154 | { "_class_wxRect","_wxRect",0}, | |
8155 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 8156 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
e91a9dfc | 8157 | { "_wxPyCircleShape","_class_wxPyCircleShape",0}, |
f6bcfd97 | 8158 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
e91a9dfc | 8159 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
c9482eba | 8160 | { "_class_wxBrushList","_wxBrushList",0}, |
99ab9f3b | 8161 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 8162 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
e91a9dfc | 8163 | { "_wxPyApp","_class_wxPyApp",0}, |
c9482eba | 8164 | { "_class_wxPenList","_wxPenList",0}, |
99ab9f3b | 8165 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 RD |
8166 | { "_class_wxOutputStream","_wxOutputStream",0}, |
8167 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
e91a9dfc RD |
8168 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
8169 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8170 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
c368d904 | 8171 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
e91a9dfc | 8172 | { "_wxPyLineShape","_class_wxPyLineShape",0}, |
e91a9dfc RD |
8173 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8174 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
c368d904 RD |
8175 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
8176 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
e91a9dfc RD |
8177 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8178 | { "_class_wxPyPolygonShape","_wxPyPolygonShape",0}, | |
8179 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8180 | { "_class_wxPanel","_wxPanel",0}, | |
8181 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8182 | { "_wxComboBox","_class_wxComboBox",0}, | |
8183 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8184 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
99ab9f3b | 8185 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
8186 | { "_signed_int","_wxPrintQuality",0}, |
8187 | { "_signed_int","_EBool",0}, | |
8188 | { "_signed_int","_wxWindowID",0}, | |
8189 | { "_signed_int","_int",0}, | |
8190 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 8191 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 8192 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
99ab9f3b | 8193 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
8194 | { "_wxMenu","_class_wxMenu",0}, |
8195 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8196 | { "_wxListBox","_class_wxListBox",0}, | |
8197 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
99ab9f3b | 8198 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc RD |
8199 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
8200 | { "_wxArrowHead","_class_wxArrowHead",0}, | |
c368d904 | 8201 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
8202 | { "_WXTYPE","_short",0}, |
8203 | { "_WXTYPE","_signed_short",0}, | |
8204 | { "_WXTYPE","_unsigned_short",0}, | |
8205 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
99ab9f3b | 8206 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 8207 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
8208 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
8209 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 8210 | { "_wxTipProvider","_class_wxTipProvider",0}, |
c368d904 | 8211 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
8212 | { "_unsigned_short","_WXTYPE",0}, |
8213 | { "_unsigned_short","_short",0}, | |
8214 | { "_class_wxWindow","_wxWindow",0}, | |
c368d904 | 8215 | { "_class_wxLogStderr","_wxLogStderr",0}, |
e91a9dfc | 8216 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, |
c368d904 | 8217 | { "_wxDateSpan","_class_wxDateSpan",0}, |
e91a9dfc RD |
8218 | { "_class_wxStaticText","_wxStaticText",0}, |
8219 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8220 | { "_class_wxFont","_wxFont",0}, | |
99ab9f3b | 8221 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 8222 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
8223 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
8224 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
99ab9f3b | 8225 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
c9482eba | 8226 | { "_wxFontList","_class_wxFontList",0}, |
e91a9dfc | 8227 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
99ab9f3b RD |
8228 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
8229 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
e91a9dfc RD |
8230 | { "_class_wxPyCircleShape","_wxPyCircleShape",0}, |
8231 | { "_wxClientDC","_class_wxClientDC",0}, | |
8232 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
f6bcfd97 | 8233 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
e91a9dfc RD |
8234 | { "_wxListCtrl","_class_wxListCtrl",0}, |
8235 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8236 | { "_wxPyDividedShape","_class_wxPyDividedShape",0}, | |
8237 | { "_class_wxPoint","_wxPoint",0}, | |
c368d904 | 8238 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
e91a9dfc RD |
8239 | { "_wxRealPoint","_class_wxRealPoint",0}, |
8240 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 8241 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
8242 | { "_signed_short","_WXTYPE",0}, |
8243 | { "_signed_short","_short",0}, | |
8244 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
99ab9f3b | 8245 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
e91a9dfc | 8246 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
c368d904 | 8247 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
2348eaee | 8248 | { "_class_wxPyControlPoint","_wxPyControlPoint",0}, |
e91a9dfc RD |
8249 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8250 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8251 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8252 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8253 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
8254 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
8255 | { "_class_wxCursor","_wxCursor",0}, | |
7a446686 | 8256 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
99ab9f3b | 8257 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 8258 | { "_class_wxPyProcess","_wxPyProcess",0}, |
e91a9dfc RD |
8259 | { "_class_wxImageHandler","_wxImageHandler",0}, |
8260 | { "_wxPyShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8261 | { "_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8262 | { "_wxPyShape","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8263 | { "_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8264 | { "_wxPyShape","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8265 | { "_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8266 | { "_wxPyShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8267 | { "_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8268 | { "_wxPyShape","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8269 | { "_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8270 | { "_wxPyShape","_class_wxPyShape",0}, | |
8271 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
c368d904 | 8272 | { "_class_wxLog","_wxLog",0}, |
e91a9dfc RD |
8273 | { "_wxTreeItemId","_class_wxTreeItemId",0}, |
8274 | { "_unsigned_char","_byte",0}, | |
e91a9dfc RD |
8275 | { "_class_wxMenu","_wxMenu",0}, |
8276 | { "_wxControl","_class_wxControl",0}, | |
8277 | { "_class_wxListBox","_wxListBox",0}, | |
99ab9f3b | 8278 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 8279 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8280 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
8281 | { "_unsigned_int","_size_t",0}, |
8282 | { "_unsigned_int","_uint",0}, | |
8283 | { "_unsigned_int","_wxWindowID",0}, | |
8284 | { "_unsigned_int","_int",0}, | |
8285 | { "_wxIcon","_class_wxIcon",0}, | |
8286 | { "_wxDialog","_class_wxDialog",0}, | |
8287 | { "_class_wxListItem","_wxListItem",0}, | |
8288 | { "_class_wxPen","_wxPen",0}, | |
8289 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8290 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
c368d904 RD |
8291 | { "_wxConfigBase","_class_wxConfigBase",0}, |
8292 | { "_short","_wxDateTime_t",0}, | |
e91a9dfc RD |
8293 | { "_short","_WXTYPE",0}, |
8294 | { "_short","_unsigned_short",0}, | |
8295 | { "_short","_signed_short",0}, | |
8296 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8297 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
8298 | { "_wxPyTextShape","_class_wxPyTextShape",0}, | |
99ab9f3b RD |
8299 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8300 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
8301 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8302 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8303 | { "_class_wxChoice","_wxChoice",0}, | |
8304 | { "_class_wxSlider","_wxSlider",0}, | |
8305 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8306 | { "_class_wxImageList","_wxImageList",0}, | |
8307 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
c368d904 | 8308 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 | 8309 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 8310 | { "_wxFrame","_class_wxFrame",0}, |
99ab9f3b | 8311 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 8312 | { "_class_wxGridSizer","_wxGridSizer",0}, |
e91a9dfc | 8313 | { "_wxPyDivisionShape","_class_wxPyDivisionShape",0}, |
99ab9f3b | 8314 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
8315 | { "_class_wxNotebook","_wxNotebook",0}, |
8316 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
99ab9f3b | 8317 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 8318 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8319 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
8320 | { "_wxWindowID","_size_t",0}, |
8321 | { "_wxWindowID","_EBool",0}, | |
8322 | { "_wxWindowID","_uint",0}, | |
8323 | { "_wxWindowID","_int",0}, | |
8324 | { "_wxWindowID","_signed_int",0}, | |
8325 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 8326 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 8327 | { "_class_wxSizerItem","_wxSizerItem",0}, |
99ab9f3b | 8328 | { "_int","_wxCoord",0}, |
e91a9dfc | 8329 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8330 | { "_int","_time_t",0}, |
e91a9dfc RD |
8331 | { "_int","_size_t",0}, |
8332 | { "_int","_EBool",0}, | |
8333 | { "_int","_uint",0}, | |
8334 | { "_int","_wxWindowID",0}, | |
8335 | { "_int","_unsigned_int",0}, | |
8336 | { "_int","_signed_int",0}, | |
8337 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 8338 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
c368d904 | 8339 | { "_wxLogWindow","_class_wxLogWindow",0}, |
e91a9dfc RD |
8340 | { "_class_wxListEvent","_wxListEvent",0}, |
8341 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
c368d904 RD |
8342 | { "_wxDateTime_t","_unsigned_short",0}, |
8343 | { "_wxDateTime_t","_short",0}, | |
8344 | { "_wxDateTime_t","_WXTYPE",0}, | |
e91a9dfc | 8345 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
99ab9f3b | 8346 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
8347 | { "_wxDateTime","_class_wxDateTime",0}, |
8348 | { "_time_t","_wxCoord",0}, | |
8349 | { "_time_t","_wxPrintQuality",0}, | |
8350 | { "_time_t","_unsigned_int",0}, | |
8351 | { "_time_t","_int",0}, | |
8352 | { "_time_t","_wxWindowID",0}, | |
8353 | { "_time_t","_uint",0}, | |
8354 | { "_time_t","_size_t",0}, | |
99ab9f3b | 8355 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
c368d904 | 8356 | { "_wxLogNull","_class_wxLogNull",0}, |
e91a9dfc | 8357 | { "_wxButton","_class_wxButton",0}, |
c368d904 | 8358 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
e91a9dfc RD |
8359 | { "_class_wxPyApp","_wxPyApp",0}, |
8360 | { "_wxSize","_class_wxSize",0}, | |
8361 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
99ab9f3b | 8362 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
c368d904 RD |
8363 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
8364 | { "_class_wxLogGui","_wxLogGui",0}, | |
e91a9dfc RD |
8365 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
8366 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
2348eaee | 8367 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
c368d904 RD |
8368 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
8369 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
e91a9dfc RD |
8370 | { "_class_wxPyLineShape","_wxPyLineShape",0}, |
8371 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
8372 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
99ab9f3b | 8373 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
8374 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8375 | { "_class_wxComboBox","_wxComboBox",0}, | |
8376 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8377 | { "_class_wxPyShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8378 | { "_class_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8379 | { "_class_wxPyShape","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8380 | { "_class_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8381 | { "_class_wxPyShape","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8382 | { "_class_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8383 | { "_class_wxPyShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8384 | { "_class_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8385 | { "_class_wxPyShape","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8386 | { "_class_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8387 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 8388 | { "_wxValidator","_class_wxValidator",0}, |
99ab9f3b | 8389 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc | 8390 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
e91a9dfc RD |
8391 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8392 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8393 | { "_class_wxControl","_wxControl",0}, | |
8394 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8395 | { "_wxPyDrawnShape","_class_wxPyDrawnShape",0}, | |
8396 | { "_class_wxIcon","_wxIcon",0}, | |
8397 | { "_class_wxColour","_wxColour",0}, | |
8398 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8399 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8400 | { "_wxPalette","_class_wxPalette",0}, | |
8401 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
c368d904 | 8402 | { "_class_wxConfigBase","_wxConfigBase",0}, |
99ab9f3b RD |
8403 | { "_wxCoord","_int",0}, |
8404 | { "_wxCoord","_signed_int",0}, | |
8405 | { "_wxCoord","_unsigned_int",0}, | |
8406 | { "_wxCoord","_wxWindowID",0}, | |
8407 | { "_wxCoord","_uint",0}, | |
8408 | { "_wxCoord","_EBool",0}, | |
8409 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8410 | { "_wxCoord","_time_t",0}, |
99ab9f3b | 8411 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 8412 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
99ab9f3b | 8413 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 8414 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 8415 | { "_class_wxTipProvider","_wxTipProvider",0}, |
7a446686 | 8416 | { "_class_wxToggleButton","_wxToggleButton",0}, |
e91a9dfc RD |
8417 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
8418 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
c368d904 | 8419 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
e91a9dfc RD |
8420 | { "_wxRegion","_class_wxRegion",0}, |
8421 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8422 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 8423 | { "_wxSizer","_class_wxSizer",0}, |
c368d904 RD |
8424 | { "_class_wxDateSpan","_wxDateSpan",0}, |
8425 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
e91a9dfc | 8426 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 8427 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
99ab9f3b RD |
8428 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
8429 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
8430 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
e91a9dfc RD |
8431 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8432 | { "_wxGauge","_class_wxGauge",0}, | |
8433 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
99ab9f3b | 8434 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
c9482eba | 8435 | { "_class_wxFontList","_wxFontList",0}, |
e91a9dfc RD |
8436 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
8437 | { "_class_wxClientDC","_wxClientDC",0}, | |
8438 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8439 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
8440 | { "_class_wxPyDividedShape","_wxPyDividedShape",0}, | |
c9482eba | 8441 | { "_wxBrushList","_class_wxBrushList",0}, |
e91a9dfc RD |
8442 | { "_wxPyEllipseShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, |
8443 | { "_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
8444 | { "_wxPyEllipseShape","_class_wxPyEllipseShape",0}, | |
99ab9f3b | 8445 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
c368d904 | 8446 | { "_class_wxLogNull","_wxLogNull",0}, |
e91a9dfc RD |
8447 | { "_class_wxSize","_wxSize",0}, |
8448 | { "_class_wxBitmap","_wxBitmap",0}, | |
8449 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
99ab9f3b | 8450 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc | 8451 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 | 8452 | { "_wxOutputStream","_class_wxOutputStream",0}, |
e91a9dfc RD |
8453 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
8454 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
8455 | { "_wxPyShapeEvtHandler","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8456 | { "_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8457 | { "_wxPyShapeEvtHandler","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8458 | { "_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8459 | { "_wxPyShapeEvtHandler","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8460 | { "_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8461 | { "_wxPyShapeEvtHandler","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8462 | { "_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8463 | { "_wxPyShapeEvtHandler","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8464 | { "_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8465 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
8466 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8467 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8468 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
8469 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
8470 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc RD |
8471 | { "_wxPyRectangleShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, |
8472 | { "_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
8473 | { "_wxPyRectangleShape","_class_wxPyRectangleShape",0}, | |
8474 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
f6bcfd97 | 8475 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc | 8476 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
c368d904 | 8477 | { "_class_wxConfig","_wxConfig",0}, |
e91a9dfc RD |
8478 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
8479 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8480 | { "_wxOGLConstraint","_class_wxOGLConstraint",0}, | |
8481 | { "_wxColourData","_class_wxColourData",0}, | |
8482 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
8483 | { "_class_wxPalette","_wxPalette",0}, | |
99ab9f3b | 8484 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 8485 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 8486 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 8487 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
99ab9f3b | 8488 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc RD |
8489 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
8490 | { "_class_wxPyTextShape","_wxPyTextShape",0}, | |
99ab9f3b RD |
8491 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
8492 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
8493 | { "_class_wxFontDialog","_wxFontDialog",0}, |
8494 | { "_wxWindow","_class_wxWindow",0}, | |
99ab9f3b | 8495 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
c368d904 RD |
8496 | { "_wxLogStderr","_class_wxLogStderr",0}, |
8497 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
8498 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
e91a9dfc RD |
8499 | { "_class_wxFrame","_wxFrame",0}, |
8500 | {0,0,0}}; | |
8501 | ||
8502 | static PyObject *SWIG_globals; | |
8503 | #ifdef __cplusplus | |
8504 | extern "C" | |
8505 | #endif | |
8506 | SWIGEXPORT(void) initoglshapes2c() { | |
8507 | PyObject *m, *d; | |
8508 | SWIG_globals = SWIG_newvarlink(); | |
8509 | m = Py_InitModule("oglshapes2c", oglshapes2cMethods); | |
8510 | d = PyModule_GetDict(m); | |
8511 | { | |
8512 | int i; | |
8513 | for (i = 0; _swig_mapping[i].n1; i++) | |
8514 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8515 | } | |
8516 | } |