]>
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 | ||
e91a9dfc RD |
61 | |
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
c9482eba | 66 | if (!target) { |
e91a9dfc | 67 | target = o; |
c9482eba | 68 | } else if (target == Py_None) { |
e91a9dfc RD |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
c9482eba | 71 | } else { |
e91a9dfc RD |
72 | if (!PyTuple_Check(target)) { |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
c9482eba RD |
77 | o3 = PyTuple_New(1); |
78 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
79 | |
80 | o2 = target; | |
c9482eba RD |
81 | target = PySequence_Concat(o2, o3); |
82 | Py_DECREF(o2); | |
e91a9dfc RD |
83 | Py_DECREF(o3); |
84 | } | |
85 | return target; | |
86 | } | |
87 | ||
7a446686 RD |
88 | #if PYTHON_API_VERSION >= 1009 |
89 | static char* wxStringErrorMsg = "String or Unicode type required"; | |
90 | #else | |
0122b7e3 | 91 | static char* wxStringErrorMsg = "String type required"; |
7a446686 | 92 | #endif |
e91a9dfc RD |
93 | |
94 | WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape); | |
95 | ||
96 | WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape); | |
97 | ||
98 | WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape); | |
99 | ||
100 | WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape); | |
101 | ||
102 | WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape); | |
103 | #ifdef __cplusplus | |
104 | extern "C" { | |
105 | #endif | |
106 | static void *SwigwxPyEllipseShapeTowxPyShape(void *ptr) { | |
107 | wxPyEllipseShape *src; | |
108 | wxPyShape *dest; | |
109 | src = (wxPyEllipseShape *) ptr; | |
110 | dest = (wxPyShape *) src; | |
111 | return (void *) dest; | |
112 | } | |
113 | ||
114 | static void *SwigwxPyEllipseShapeTowxPyShapeEvtHandler(void *ptr) { | |
115 | wxPyEllipseShape *src; | |
116 | wxPyShapeEvtHandler *dest; | |
117 | src = (wxPyEllipseShape *) ptr; | |
118 | dest = (wxPyShapeEvtHandler *) src; | |
119 | return (void *) dest; | |
120 | } | |
121 | ||
9416aa89 RD |
122 | static void *SwigwxPyEllipseShapeTowxObject(void *ptr) { |
123 | wxPyEllipseShape *src; | |
124 | wxObject *dest; | |
125 | src = (wxPyEllipseShape *) ptr; | |
126 | dest = (wxObject *) src; | |
127 | return (void *) dest; | |
128 | } | |
129 | ||
e91a9dfc RD |
130 | #define new_wxPyEllipseShape(_swigarg0,_swigarg1) (new wxPyEllipseShape(_swigarg0,_swigarg1)) |
131 | static PyObject *_wrap_new_wxPyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
132 | PyObject * _resultobj; | |
133 | wxPyEllipseShape * _result; | |
134 | double _arg0 = (double ) 0.0; | |
135 | double _arg1 = (double ) 0.0; | |
136 | char *_kwnames[] = { "width","height", NULL }; | |
137 | char _ptemp[128]; | |
138 | ||
139 | self = self; | |
140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyEllipseShape",_kwnames,&_arg0,&_arg1)) | |
141 | return NULL; | |
142 | { | |
143 | wxPy_BEGIN_ALLOW_THREADS; | |
144 | _result = (wxPyEllipseShape *)new_wxPyEllipseShape(_arg0,_arg1); | |
145 | ||
146 | wxPy_END_ALLOW_THREADS; | |
147 | } if (_result) { | |
148 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEllipseShape_p"); | |
149 | _resultobj = Py_BuildValue("s",_ptemp); | |
150 | } else { | |
151 | Py_INCREF(Py_None); | |
152 | _resultobj = Py_None; | |
153 | } | |
154 | return _resultobj; | |
155 | } | |
156 | ||
0122b7e3 RD |
157 | #define wxPyEllipseShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
158 | static PyObject *_wrap_wxPyEllipseShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
159 | PyObject * _resultobj; |
160 | wxPyEllipseShape * _arg0; | |
161 | PyObject * _arg1; | |
f6bcfd97 | 162 | PyObject * _arg2; |
e91a9dfc RD |
163 | PyObject * _argo0 = 0; |
164 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
165 | PyObject * _obj2 = 0; |
166 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
167 | |
168 | self = self; | |
0122b7e3 | 169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyEllipseShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
170 | return NULL; |
171 | if (_argo0) { | |
172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
0122b7e3 | 174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape__setCallbackInfo. Expected _wxPyEllipseShape_p."); |
e91a9dfc RD |
175 | return NULL; |
176 | } | |
177 | } | |
178 | { | |
179 | _arg1 = _obj1; | |
180 | } | |
f6bcfd97 BP |
181 | { |
182 | _arg2 = _obj2; | |
183 | } | |
e91a9dfc RD |
184 | { |
185 | wxPy_BEGIN_ALLOW_THREADS; | |
0122b7e3 | 186 | wxPyEllipseShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc RD |
187 | |
188 | wxPy_END_ALLOW_THREADS; | |
189 | } Py_INCREF(Py_None); | |
190 | _resultobj = Py_None; | |
191 | return _resultobj; | |
192 | } | |
193 | ||
194 | #define wxPyEllipseShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
195 | static PyObject *_wrap_wxPyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
196 | PyObject * _resultobj; | |
197 | wxPyEllipseShape * _arg0; | |
198 | wxDC * _arg1; | |
199 | PyObject * _argo0 = 0; | |
200 | PyObject * _argo1 = 0; | |
201 | char *_kwnames[] = { "self","dc", NULL }; | |
202 | ||
203 | self = self; | |
204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
205 | return NULL; | |
206 | if (_argo0) { | |
207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDraw. Expected _wxPyEllipseShape_p."); | |
210 | return NULL; | |
211 | } | |
212 | } | |
213 | if (_argo1) { | |
214 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
215 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDraw. Expected _wxDC_p."); | |
217 | return NULL; | |
218 | } | |
219 | } | |
220 | { | |
221 | wxPy_BEGIN_ALLOW_THREADS; | |
222 | wxPyEllipseShape_base_OnDraw(_arg0,*_arg1); | |
223 | ||
224 | wxPy_END_ALLOW_THREADS; | |
225 | } Py_INCREF(Py_None); | |
226 | _resultobj = Py_None; | |
227 | return _resultobj; | |
228 | } | |
229 | ||
230 | #define wxPyEllipseShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
231 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
232 | PyObject * _resultobj; | |
233 | wxPyEllipseShape * _arg0; | |
234 | wxDC * _arg1; | |
235 | PyObject * _argo0 = 0; | |
236 | PyObject * _argo1 = 0; | |
237 | char *_kwnames[] = { "self","dc", NULL }; | |
238 | ||
239 | self = self; | |
240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
241 | return NULL; | |
242 | if (_argo0) { | |
243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawContents. Expected _wxPyEllipseShape_p."); | |
246 | return NULL; | |
247 | } | |
248 | } | |
249 | if (_argo1) { | |
250 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
251 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawContents. Expected _wxDC_p."); | |
253 | return NULL; | |
254 | } | |
255 | } | |
256 | { | |
257 | wxPy_BEGIN_ALLOW_THREADS; | |
258 | wxPyEllipseShape_base_OnDrawContents(_arg0,*_arg1); | |
259 | ||
260 | wxPy_END_ALLOW_THREADS; | |
261 | } Py_INCREF(Py_None); | |
262 | _resultobj = Py_None; | |
263 | return _resultobj; | |
264 | } | |
265 | ||
266 | #define wxPyEllipseShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
267 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
268 | PyObject * _resultobj; | |
269 | wxPyEllipseShape * _arg0; | |
270 | wxDC * _arg1; | |
271 | bool _arg2 = (bool ) FALSE; | |
272 | PyObject * _argo0 = 0; | |
273 | PyObject * _argo1 = 0; | |
274 | int tempbool2 = (int) FALSE; | |
275 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
276 | ||
277 | self = self; | |
278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
279 | return NULL; | |
280 | if (_argo0) { | |
281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxPyEllipseShape_p."); | |
284 | return NULL; | |
285 | } | |
286 | } | |
287 | if (_argo1) { | |
288 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
289 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxDC_p."); | |
291 | return NULL; | |
292 | } | |
293 | } | |
294 | _arg2 = (bool ) tempbool2; | |
295 | { | |
296 | wxPy_BEGIN_ALLOW_THREADS; | |
297 | wxPyEllipseShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
298 | ||
299 | wxPy_END_ALLOW_THREADS; | |
300 | } Py_INCREF(Py_None); | |
301 | _resultobj = Py_None; | |
302 | return _resultobj; | |
303 | } | |
304 | ||
305 | #define wxPyEllipseShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
306 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
307 | PyObject * _resultobj; | |
308 | wxPyEllipseShape * _arg0; | |
309 | wxDC * _arg1; | |
310 | PyObject * _argo0 = 0; | |
311 | PyObject * _argo1 = 0; | |
312 | char *_kwnames[] = { "self","dc", NULL }; | |
313 | ||
314 | self = self; | |
315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
316 | return NULL; | |
317 | if (_argo0) { | |
318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxPyEllipseShape_p."); | |
321 | return NULL; | |
322 | } | |
323 | } | |
324 | if (_argo1) { | |
325 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
326 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxDC_p."); | |
328 | return NULL; | |
329 | } | |
330 | } | |
331 | { | |
332 | wxPy_BEGIN_ALLOW_THREADS; | |
333 | wxPyEllipseShape_base_OnMoveLinks(_arg0,*_arg1); | |
334 | ||
335 | wxPy_END_ALLOW_THREADS; | |
336 | } Py_INCREF(Py_None); | |
337 | _resultobj = Py_None; | |
338 | return _resultobj; | |
339 | } | |
340 | ||
341 | #define wxPyEllipseShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
342 | static PyObject *_wrap_wxPyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
343 | PyObject * _resultobj; | |
344 | wxPyEllipseShape * _arg0; | |
345 | wxDC * _arg1; | |
346 | PyObject * _argo0 = 0; | |
347 | PyObject * _argo1 = 0; | |
348 | char *_kwnames[] = { "self","dc", NULL }; | |
349 | ||
350 | self = self; | |
351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
352 | return NULL; | |
353 | if (_argo0) { | |
354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnErase. Expected _wxPyEllipseShape_p."); | |
357 | return NULL; | |
358 | } | |
359 | } | |
360 | if (_argo1) { | |
361 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
362 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnErase. Expected _wxDC_p."); | |
364 | return NULL; | |
365 | } | |
366 | } | |
367 | { | |
368 | wxPy_BEGIN_ALLOW_THREADS; | |
369 | wxPyEllipseShape_base_OnErase(_arg0,*_arg1); | |
370 | ||
371 | wxPy_END_ALLOW_THREADS; | |
372 | } Py_INCREF(Py_None); | |
373 | _resultobj = Py_None; | |
374 | return _resultobj; | |
375 | } | |
376 | ||
377 | #define wxPyEllipseShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
378 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
379 | PyObject * _resultobj; | |
380 | wxPyEllipseShape * _arg0; | |
381 | wxDC * _arg1; | |
382 | PyObject * _argo0 = 0; | |
383 | PyObject * _argo1 = 0; | |
384 | char *_kwnames[] = { "self","dc", NULL }; | |
385 | ||
386 | self = self; | |
387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
388 | return NULL; | |
389 | if (_argo0) { | |
390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseContents. Expected _wxPyEllipseShape_p."); | |
393 | return NULL; | |
394 | } | |
395 | } | |
396 | if (_argo1) { | |
397 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
398 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseContents. Expected _wxDC_p."); | |
400 | return NULL; | |
401 | } | |
402 | } | |
403 | { | |
404 | wxPy_BEGIN_ALLOW_THREADS; | |
405 | wxPyEllipseShape_base_OnEraseContents(_arg0,*_arg1); | |
406 | ||
407 | wxPy_END_ALLOW_THREADS; | |
408 | } Py_INCREF(Py_None); | |
409 | _resultobj = Py_None; | |
410 | return _resultobj; | |
411 | } | |
412 | ||
413 | #define wxPyEllipseShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
414 | static PyObject *_wrap_wxPyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
415 | PyObject * _resultobj; | |
416 | wxPyEllipseShape * _arg0; | |
417 | wxDC * _arg1; | |
418 | PyObject * _argo0 = 0; | |
419 | PyObject * _argo1 = 0; | |
420 | char *_kwnames[] = { "self","dc", NULL }; | |
421 | ||
422 | self = self; | |
423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
424 | return NULL; | |
425 | if (_argo0) { | |
426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnHighlight. Expected _wxPyEllipseShape_p."); | |
429 | return NULL; | |
430 | } | |
431 | } | |
432 | if (_argo1) { | |
433 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
434 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnHighlight. Expected _wxDC_p."); | |
436 | return NULL; | |
437 | } | |
438 | } | |
439 | { | |
440 | wxPy_BEGIN_ALLOW_THREADS; | |
441 | wxPyEllipseShape_base_OnHighlight(_arg0,*_arg1); | |
442 | ||
443 | wxPy_END_ALLOW_THREADS; | |
444 | } Py_INCREF(Py_None); | |
445 | _resultobj = Py_None; | |
446 | return _resultobj; | |
447 | } | |
448 | ||
449 | #define wxPyEllipseShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
450 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
451 | PyObject * _resultobj; | |
452 | wxPyEllipseShape * _arg0; | |
453 | double _arg1; | |
454 | double _arg2; | |
455 | int _arg3 = (int ) 0; | |
456 | int _arg4 = (int ) 0; | |
457 | PyObject * _argo0 = 0; | |
458 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
459 | ||
460 | self = self; | |
461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
462 | return NULL; | |
463 | if (_argo0) { | |
464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftClick. Expected _wxPyEllipseShape_p."); | |
467 | return NULL; | |
468 | } | |
469 | } | |
470 | { | |
471 | wxPy_BEGIN_ALLOW_THREADS; | |
472 | wxPyEllipseShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
473 | ||
474 | wxPy_END_ALLOW_THREADS; | |
475 | } Py_INCREF(Py_None); | |
476 | _resultobj = Py_None; | |
477 | return _resultobj; | |
478 | } | |
479 | ||
480 | #define wxPyEllipseShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
481 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
482 | PyObject * _resultobj; | |
483 | wxPyEllipseShape * _arg0; | |
484 | double _arg1; | |
485 | double _arg2; | |
486 | int _arg3 = (int ) 0; | |
487 | int _arg4 = (int ) 0; | |
488 | PyObject * _argo0 = 0; | |
489 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
490 | ||
491 | self = self; | |
492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
493 | return NULL; | |
494 | if (_argo0) { | |
495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftDoubleClick. Expected _wxPyEllipseShape_p."); | |
498 | return NULL; | |
499 | } | |
500 | } | |
501 | { | |
502 | wxPy_BEGIN_ALLOW_THREADS; | |
503 | wxPyEllipseShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
504 | ||
505 | wxPy_END_ALLOW_THREADS; | |
506 | } Py_INCREF(Py_None); | |
507 | _resultobj = Py_None; | |
508 | return _resultobj; | |
509 | } | |
510 | ||
511 | #define wxPyEllipseShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
512 | static PyObject *_wrap_wxPyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
513 | PyObject * _resultobj; | |
514 | wxPyEllipseShape * _arg0; | |
515 | double _arg1; | |
516 | double _arg2; | |
517 | int _arg3 = (int ) 0; | |
518 | int _arg4 = (int ) 0; | |
519 | PyObject * _argo0 = 0; | |
520 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
521 | ||
522 | self = self; | |
523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
524 | return NULL; | |
525 | if (_argo0) { | |
526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnRightClick. Expected _wxPyEllipseShape_p."); | |
529 | return NULL; | |
530 | } | |
531 | } | |
532 | { | |
533 | wxPy_BEGIN_ALLOW_THREADS; | |
534 | wxPyEllipseShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
535 | ||
536 | wxPy_END_ALLOW_THREADS; | |
537 | } Py_INCREF(Py_None); | |
538 | _resultobj = Py_None; | |
539 | return _resultobj; | |
540 | } | |
541 | ||
542 | #define wxPyEllipseShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
543 | static PyObject *_wrap_wxPyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
544 | PyObject * _resultobj; | |
545 | wxPyEllipseShape * _arg0; | |
546 | double _arg1; | |
547 | double _arg2; | |
548 | PyObject * _argo0 = 0; | |
549 | char *_kwnames[] = { "self","x","y", NULL }; | |
550 | ||
551 | self = self; | |
552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
553 | return NULL; | |
554 | if (_argo0) { | |
555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSize. Expected _wxPyEllipseShape_p."); | |
558 | return NULL; | |
559 | } | |
560 | } | |
561 | { | |
562 | wxPy_BEGIN_ALLOW_THREADS; | |
563 | wxPyEllipseShape_base_OnSize(_arg0,_arg1,_arg2); | |
564 | ||
565 | wxPy_END_ALLOW_THREADS; | |
566 | } Py_INCREF(Py_None); | |
567 | _resultobj = Py_None; | |
568 | return _resultobj; | |
569 | } | |
570 | ||
571 | #define wxPyEllipseShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
572 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
573 | PyObject * _resultobj; | |
574 | bool _result; | |
575 | wxPyEllipseShape * _arg0; | |
576 | wxDC * _arg1; | |
577 | double _arg2; | |
578 | double _arg3; | |
579 | double _arg4; | |
580 | double _arg5; | |
581 | bool _arg6 = (bool ) TRUE; | |
582 | PyObject * _argo0 = 0; | |
583 | PyObject * _argo1 = 0; | |
584 | int tempbool6 = (int) TRUE; | |
585 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
586 | ||
587 | self = self; | |
588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
589 | return NULL; | |
590 | if (_argo0) { | |
591 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
592 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePre. Expected _wxPyEllipseShape_p."); | |
594 | return NULL; | |
595 | } | |
596 | } | |
597 | if (_argo1) { | |
598 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
599 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePre. Expected _wxDC_p."); | |
601 | return NULL; | |
602 | } | |
603 | } | |
604 | _arg6 = (bool ) tempbool6; | |
605 | { | |
606 | wxPy_BEGIN_ALLOW_THREADS; | |
607 | _result = (bool )wxPyEllipseShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
608 | ||
609 | wxPy_END_ALLOW_THREADS; | |
610 | } _resultobj = Py_BuildValue("i",_result); | |
611 | return _resultobj; | |
612 | } | |
613 | ||
614 | #define wxPyEllipseShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
615 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
616 | PyObject * _resultobj; | |
617 | wxPyEllipseShape * _arg0; | |
618 | wxDC * _arg1; | |
619 | double _arg2; | |
620 | double _arg3; | |
621 | double _arg4; | |
622 | double _arg5; | |
623 | bool _arg6 = (bool ) TRUE; | |
624 | PyObject * _argo0 = 0; | |
625 | PyObject * _argo1 = 0; | |
626 | int tempbool6 = (int) TRUE; | |
627 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
628 | ||
629 | self = self; | |
630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
631 | return NULL; | |
632 | if (_argo0) { | |
633 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
634 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePost. Expected _wxPyEllipseShape_p."); | |
636 | return NULL; | |
637 | } | |
638 | } | |
639 | if (_argo1) { | |
640 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
641 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePost. Expected _wxDC_p."); | |
643 | return NULL; | |
644 | } | |
645 | } | |
646 | _arg6 = (bool ) tempbool6; | |
647 | { | |
648 | wxPy_BEGIN_ALLOW_THREADS; | |
649 | wxPyEllipseShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
650 | ||
651 | wxPy_END_ALLOW_THREADS; | |
652 | } Py_INCREF(Py_None); | |
653 | _resultobj = Py_None; | |
654 | return _resultobj; | |
655 | } | |
656 | ||
657 | #define wxPyEllipseShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
658 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
659 | PyObject * _resultobj; | |
660 | wxPyEllipseShape * _arg0; | |
661 | bool _arg1; | |
662 | double _arg2; | |
663 | double _arg3; | |
664 | int _arg4 = (int ) 0; | |
665 | int _arg5 = (int ) 0; | |
666 | PyObject * _argo0 = 0; | |
667 | int tempbool1; | |
668 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
669 | ||
670 | self = self; | |
671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
672 | return NULL; | |
673 | if (_argo0) { | |
674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragLeft. Expected _wxPyEllipseShape_p."); | |
677 | return NULL; | |
678 | } | |
679 | } | |
680 | _arg1 = (bool ) tempbool1; | |
681 | { | |
682 | wxPy_BEGIN_ALLOW_THREADS; | |
683 | wxPyEllipseShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
684 | ||
685 | wxPy_END_ALLOW_THREADS; | |
686 | } Py_INCREF(Py_None); | |
687 | _resultobj = Py_None; | |
688 | return _resultobj; | |
689 | } | |
690 | ||
691 | #define wxPyEllipseShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
692 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
693 | PyObject * _resultobj; | |
694 | wxPyEllipseShape * _arg0; | |
695 | double _arg1; | |
696 | double _arg2; | |
697 | int _arg3 = (int ) 0; | |
698 | int _arg4 = (int ) 0; | |
699 | PyObject * _argo0 = 0; | |
700 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
701 | ||
702 | self = self; | |
703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
704 | return NULL; | |
705 | if (_argo0) { | |
706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
709 | return NULL; | |
710 | } | |
711 | } | |
712 | { | |
713 | wxPy_BEGIN_ALLOW_THREADS; | |
714 | wxPyEllipseShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
715 | ||
716 | wxPy_END_ALLOW_THREADS; | |
717 | } Py_INCREF(Py_None); | |
718 | _resultobj = Py_None; | |
719 | return _resultobj; | |
720 | } | |
721 | ||
722 | #define wxPyEllipseShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
723 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
724 | PyObject * _resultobj; | |
725 | wxPyEllipseShape * _arg0; | |
726 | double _arg1; | |
727 | double _arg2; | |
728 | int _arg3 = (int ) 0; | |
729 | int _arg4 = (int ) 0; | |
730 | PyObject * _argo0 = 0; | |
731 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
732 | ||
733 | self = self; | |
734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
735 | return NULL; | |
736 | if (_argo0) { | |
737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragLeft. Expected _wxPyEllipseShape_p."); | |
740 | return NULL; | |
741 | } | |
742 | } | |
743 | { | |
744 | wxPy_BEGIN_ALLOW_THREADS; | |
745 | wxPyEllipseShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
746 | ||
747 | wxPy_END_ALLOW_THREADS; | |
748 | } Py_INCREF(Py_None); | |
749 | _resultobj = Py_None; | |
750 | return _resultobj; | |
751 | } | |
752 | ||
753 | #define wxPyEllipseShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
754 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
755 | PyObject * _resultobj; | |
756 | wxPyEllipseShape * _arg0; | |
757 | bool _arg1; | |
758 | double _arg2; | |
759 | double _arg3; | |
760 | int _arg4 = (int ) 0; | |
761 | int _arg5 = (int ) 0; | |
762 | PyObject * _argo0 = 0; | |
763 | int tempbool1; | |
764 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
765 | ||
766 | self = self; | |
767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
768 | return NULL; | |
769 | if (_argo0) { | |
770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragRight. Expected _wxPyEllipseShape_p."); | |
773 | return NULL; | |
774 | } | |
775 | } | |
776 | _arg1 = (bool ) tempbool1; | |
777 | { | |
778 | wxPy_BEGIN_ALLOW_THREADS; | |
779 | wxPyEllipseShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
780 | ||
781 | wxPy_END_ALLOW_THREADS; | |
782 | } Py_INCREF(Py_None); | |
783 | _resultobj = Py_None; | |
784 | return _resultobj; | |
785 | } | |
786 | ||
787 | #define wxPyEllipseShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
788 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
789 | PyObject * _resultobj; | |
790 | wxPyEllipseShape * _arg0; | |
791 | double _arg1; | |
792 | double _arg2; | |
793 | int _arg3 = (int ) 0; | |
794 | int _arg4 = (int ) 0; | |
795 | PyObject * _argo0 = 0; | |
796 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
797 | ||
798 | self = self; | |
799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
800 | return NULL; | |
801 | if (_argo0) { | |
802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragRight. Expected _wxPyEllipseShape_p."); | |
805 | return NULL; | |
806 | } | |
807 | } | |
808 | { | |
809 | wxPy_BEGIN_ALLOW_THREADS; | |
810 | wxPyEllipseShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
811 | ||
812 | wxPy_END_ALLOW_THREADS; | |
813 | } Py_INCREF(Py_None); | |
814 | _resultobj = Py_None; | |
815 | return _resultobj; | |
816 | } | |
817 | ||
818 | #define wxPyEllipseShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
819 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
820 | PyObject * _resultobj; | |
821 | wxPyEllipseShape * _arg0; | |
822 | double _arg1; | |
823 | double _arg2; | |
824 | int _arg3 = (int ) 0; | |
825 | int _arg4 = (int ) 0; | |
826 | PyObject * _argo0 = 0; | |
827 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
828 | ||
829 | self = self; | |
830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
831 | return NULL; | |
832 | if (_argo0) { | |
833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragRight. Expected _wxPyEllipseShape_p."); | |
836 | return NULL; | |
837 | } | |
838 | } | |
839 | { | |
840 | wxPy_BEGIN_ALLOW_THREADS; | |
841 | wxPyEllipseShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
842 | ||
843 | wxPy_END_ALLOW_THREADS; | |
844 | } Py_INCREF(Py_None); | |
845 | _resultobj = Py_None; | |
846 | return _resultobj; | |
847 | } | |
848 | ||
849 | #define wxPyEllipseShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
850 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
851 | PyObject * _resultobj; | |
852 | wxPyEllipseShape * _arg0; | |
853 | wxDC * _arg1; | |
854 | double _arg2; | |
855 | double _arg3; | |
856 | double _arg4; | |
857 | double _arg5; | |
858 | PyObject * _argo0 = 0; | |
859 | PyObject * _argo1 = 0; | |
860 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
861 | ||
862 | self = self; | |
863 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyEllipseShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
864 | return NULL; | |
865 | if (_argo0) { | |
866 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
867 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxPyEllipseShape_p."); | |
869 | return NULL; | |
870 | } | |
871 | } | |
872 | if (_argo1) { | |
873 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
874 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxDC_p."); | |
876 | return NULL; | |
877 | } | |
878 | } | |
879 | { | |
880 | wxPy_BEGIN_ALLOW_THREADS; | |
881 | wxPyEllipseShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
882 | ||
883 | wxPy_END_ALLOW_THREADS; | |
884 | } Py_INCREF(Py_None); | |
885 | _resultobj = Py_None; | |
886 | return _resultobj; | |
887 | } | |
888 | ||
889 | #define wxPyEllipseShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
890 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
891 | PyObject * _resultobj; | |
892 | wxPyEllipseShape * _arg0; | |
893 | wxDC * _arg1; | |
894 | PyObject * _argo0 = 0; | |
895 | PyObject * _argo1 = 0; | |
896 | char *_kwnames[] = { "self","dc", NULL }; | |
897 | ||
898 | self = self; | |
899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
900 | return NULL; | |
901 | if (_argo0) { | |
902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxPyEllipseShape_p."); | |
905 | return NULL; | |
906 | } | |
907 | } | |
908 | if (_argo1) { | |
909 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
910 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
912 | return NULL; | |
913 | } | |
914 | } | |
915 | { | |
916 | wxPy_BEGIN_ALLOW_THREADS; | |
917 | wxPyEllipseShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
918 | ||
919 | wxPy_END_ALLOW_THREADS; | |
920 | } Py_INCREF(Py_None); | |
921 | _resultobj = Py_None; | |
922 | return _resultobj; | |
923 | } | |
924 | ||
925 | #define wxPyEllipseShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
926 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
927 | PyObject * _resultobj; | |
928 | wxPyEllipseShape * _arg0; | |
929 | wxDC * _arg1; | |
930 | PyObject * _argo0 = 0; | |
931 | PyObject * _argo1 = 0; | |
932 | char *_kwnames[] = { "self","dc", NULL }; | |
933 | ||
934 | self = self; | |
935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
936 | return NULL; | |
937 | if (_argo0) { | |
938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxPyEllipseShape_p."); | |
941 | return NULL; | |
942 | } | |
943 | } | |
944 | if (_argo1) { | |
945 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
946 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
948 | return NULL; | |
949 | } | |
950 | } | |
951 | { | |
952 | wxPy_BEGIN_ALLOW_THREADS; | |
953 | wxPyEllipseShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
954 | ||
955 | wxPy_END_ALLOW_THREADS; | |
956 | } Py_INCREF(Py_None); | |
957 | _resultobj = Py_None; | |
958 | return _resultobj; | |
959 | } | |
960 | ||
961 | #define wxPyEllipseShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
962 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
963 | PyObject * _resultobj; | |
964 | wxPyEllipseShape * _arg0; | |
965 | wxDC * _arg1; | |
966 | bool _arg2 = (bool ) TRUE; | |
967 | PyObject * _argo0 = 0; | |
968 | PyObject * _argo1 = 0; | |
969 | int tempbool2 = (int) TRUE; | |
970 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
971 | ||
972 | self = self; | |
973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
974 | return NULL; | |
975 | if (_argo0) { | |
976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLink. Expected _wxPyEllipseShape_p."); | |
979 | return NULL; | |
980 | } | |
981 | } | |
982 | if (_argo1) { | |
983 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
984 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLink. Expected _wxDC_p."); | |
986 | return NULL; | |
987 | } | |
988 | } | |
989 | _arg2 = (bool ) tempbool2; | |
990 | { | |
991 | wxPy_BEGIN_ALLOW_THREADS; | |
992 | wxPyEllipseShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
993 | ||
994 | wxPy_END_ALLOW_THREADS; | |
995 | } Py_INCREF(Py_None); | |
996 | _resultobj = Py_None; | |
997 | return _resultobj; | |
998 | } | |
999 | ||
1000 | #define wxPyEllipseShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1001 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1002 | PyObject * _resultobj; | |
1003 | wxPyEllipseShape * _arg0; | |
2348eaee | 1004 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1005 | bool _arg2; |
1006 | double _arg3; | |
1007 | double _arg4; | |
1008 | int _arg5 = (int ) 0; | |
1009 | int _arg6 = (int ) 0; | |
1010 | PyObject * _argo0 = 0; | |
1011 | PyObject * _argo1 = 0; | |
1012 | int tempbool2; | |
1013 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
1014 | ||
1015 | self = self; | |
1016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyEllipseShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
1017 | return NULL; | |
1018 | if (_argo0) { | |
1019 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1020 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyEllipseShape_p."); | |
1022 | return NULL; | |
1023 | } | |
1024 | } | |
1025 | if (_argo1) { | |
1026 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1027 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1029 | return NULL; |
1030 | } | |
1031 | } | |
1032 | _arg2 = (bool ) tempbool2; | |
1033 | { | |
1034 | wxPy_BEGIN_ALLOW_THREADS; | |
1035 | wxPyEllipseShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1036 | ||
1037 | wxPy_END_ALLOW_THREADS; | |
1038 | } Py_INCREF(Py_None); | |
1039 | _resultobj = Py_None; | |
1040 | return _resultobj; | |
1041 | } | |
1042 | ||
1043 | #define wxPyEllipseShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1044 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1045 | PyObject * _resultobj; | |
1046 | wxPyEllipseShape * _arg0; | |
2348eaee | 1047 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1048 | double _arg2; |
1049 | double _arg3; | |
1050 | int _arg4 = (int ) 0; | |
1051 | int _arg5 = (int ) 0; | |
1052 | PyObject * _argo0 = 0; | |
1053 | PyObject * _argo1 = 0; | |
1054 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1055 | ||
1056 | self = self; | |
1057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1058 | return NULL; | |
1059 | if (_argo0) { | |
1060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
1063 | return NULL; | |
1064 | } | |
1065 | } | |
1066 | if (_argo1) { | |
1067 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1068 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1070 | return NULL; |
1071 | } | |
1072 | } | |
1073 | { | |
1074 | wxPy_BEGIN_ALLOW_THREADS; | |
1075 | wxPyEllipseShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1076 | ||
1077 | wxPy_END_ALLOW_THREADS; | |
1078 | } Py_INCREF(Py_None); | |
1079 | _resultobj = Py_None; | |
1080 | return _resultobj; | |
1081 | } | |
1082 | ||
1083 | #define wxPyEllipseShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1084 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1085 | PyObject * _resultobj; | |
1086 | wxPyEllipseShape * _arg0; | |
2348eaee | 1087 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1088 | double _arg2; |
1089 | double _arg3; | |
1090 | int _arg4 = (int ) 0; | |
1091 | int _arg5 = (int ) 0; | |
1092 | PyObject * _argo0 = 0; | |
1093 | PyObject * _argo1 = 0; | |
1094 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1095 | ||
1096 | self = self; | |
1097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1098 | return NULL; | |
1099 | if (_argo0) { | |
1100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyEllipseShape_p."); | |
1103 | return NULL; | |
1104 | } | |
1105 | } | |
1106 | if (_argo1) { | |
1107 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1108 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1110 | return NULL; |
1111 | } | |
1112 | } | |
1113 | { | |
1114 | wxPy_BEGIN_ALLOW_THREADS; | |
1115 | wxPyEllipseShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1116 | ||
1117 | wxPy_END_ALLOW_THREADS; | |
1118 | } Py_INCREF(Py_None); | |
1119 | _resultobj = Py_None; | |
1120 | return _resultobj; | |
1121 | } | |
1122 | ||
1123 | #define wxPyEllipseShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
1124 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1125 | PyObject * _resultobj; | |
1126 | wxPyEllipseShape * _arg0; | |
1127 | double _arg1; | |
1128 | double _arg2; | |
1129 | PyObject * _argo0 = 0; | |
1130 | char *_kwnames[] = { "self","w","h", NULL }; | |
1131 | ||
1132 | self = self; | |
1133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1134 | return NULL; | |
1135 | if (_argo0) { | |
1136 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1137 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1138 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginSize. Expected _wxPyEllipseShape_p."); | |
1139 | return NULL; | |
1140 | } | |
1141 | } | |
1142 | { | |
1143 | wxPy_BEGIN_ALLOW_THREADS; | |
1144 | wxPyEllipseShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
1145 | ||
1146 | wxPy_END_ALLOW_THREADS; | |
1147 | } Py_INCREF(Py_None); | |
1148 | _resultobj = Py_None; | |
1149 | return _resultobj; | |
1150 | } | |
1151 | ||
1152 | #define wxPyEllipseShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
1153 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1154 | PyObject * _resultobj; | |
1155 | wxPyEllipseShape * _arg0; | |
1156 | double _arg1; | |
1157 | double _arg2; | |
1158 | PyObject * _argo0 = 0; | |
1159 | char *_kwnames[] = { "self","w","h", NULL }; | |
1160 | ||
1161 | self = self; | |
1162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1163 | return NULL; | |
1164 | if (_argo0) { | |
1165 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1166 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndSize. Expected _wxPyEllipseShape_p."); | |
1168 | return NULL; | |
1169 | } | |
1170 | } | |
1171 | { | |
1172 | wxPy_BEGIN_ALLOW_THREADS; | |
1173 | wxPyEllipseShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
1174 | ||
1175 | wxPy_END_ALLOW_THREADS; | |
1176 | } Py_INCREF(Py_None); | |
1177 | _resultobj = Py_None; | |
1178 | return _resultobj; | |
1179 | } | |
1180 | ||
1181 | static void *SwigwxPyCircleShapeTowxPyEllipseShape(void *ptr) { | |
1182 | wxPyCircleShape *src; | |
1183 | wxPyEllipseShape *dest; | |
1184 | src = (wxPyCircleShape *) ptr; | |
1185 | dest = (wxPyEllipseShape *) src; | |
1186 | return (void *) dest; | |
1187 | } | |
1188 | ||
1189 | static void *SwigwxPyCircleShapeTowxPyShape(void *ptr) { | |
1190 | wxPyCircleShape *src; | |
1191 | wxPyShape *dest; | |
1192 | src = (wxPyCircleShape *) ptr; | |
1193 | dest = (wxPyShape *) src; | |
1194 | return (void *) dest; | |
1195 | } | |
1196 | ||
1197 | static void *SwigwxPyCircleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1198 | wxPyCircleShape *src; | |
1199 | wxPyShapeEvtHandler *dest; | |
1200 | src = (wxPyCircleShape *) ptr; | |
1201 | dest = (wxPyShapeEvtHandler *) src; | |
1202 | return (void *) dest; | |
1203 | } | |
1204 | ||
9416aa89 RD |
1205 | static void *SwigwxPyCircleShapeTowxObject(void *ptr) { |
1206 | wxPyCircleShape *src; | |
1207 | wxObject *dest; | |
1208 | src = (wxPyCircleShape *) ptr; | |
1209 | dest = (wxObject *) src; | |
1210 | return (void *) dest; | |
1211 | } | |
1212 | ||
e91a9dfc RD |
1213 | #define new_wxPyCircleShape(_swigarg0) (new wxPyCircleShape(_swigarg0)) |
1214 | static PyObject *_wrap_new_wxPyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1215 | PyObject * _resultobj; | |
1216 | wxPyCircleShape * _result; | |
1217 | double _arg0 = (double ) 0.0; | |
1218 | char *_kwnames[] = { "width", NULL }; | |
1219 | char _ptemp[128]; | |
1220 | ||
1221 | self = self; | |
1222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|d:new_wxPyCircleShape",_kwnames,&_arg0)) | |
1223 | return NULL; | |
1224 | { | |
1225 | wxPy_BEGIN_ALLOW_THREADS; | |
1226 | _result = (wxPyCircleShape *)new_wxPyCircleShape(_arg0); | |
1227 | ||
1228 | wxPy_END_ALLOW_THREADS; | |
1229 | } if (_result) { | |
1230 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCircleShape_p"); | |
1231 | _resultobj = Py_BuildValue("s",_ptemp); | |
1232 | } else { | |
1233 | Py_INCREF(Py_None); | |
1234 | _resultobj = Py_None; | |
1235 | } | |
1236 | return _resultobj; | |
1237 | } | |
1238 | ||
0122b7e3 RD |
1239 | #define wxPyCircleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
1240 | static PyObject *_wrap_wxPyCircleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
1241 | PyObject * _resultobj; |
1242 | wxPyCircleShape * _arg0; | |
1243 | PyObject * _arg1; | |
f6bcfd97 | 1244 | PyObject * _arg2; |
e91a9dfc RD |
1245 | PyObject * _argo0 = 0; |
1246 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1247 | PyObject * _obj2 = 0; |
1248 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1249 | |
1250 | self = self; | |
0122b7e3 | 1251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCircleShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1252 | return NULL; |
1253 | if (_argo0) { | |
1254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
0122b7e3 | 1256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape__setCallbackInfo. Expected _wxPyCircleShape_p."); |
e91a9dfc RD |
1257 | return NULL; |
1258 | } | |
1259 | } | |
1260 | { | |
1261 | _arg1 = _obj1; | |
1262 | } | |
f6bcfd97 BP |
1263 | { |
1264 | _arg2 = _obj2; | |
1265 | } | |
e91a9dfc RD |
1266 | { |
1267 | wxPy_BEGIN_ALLOW_THREADS; | |
0122b7e3 | 1268 | wxPyCircleShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1269 | |
1270 | wxPy_END_ALLOW_THREADS; | |
1271 | } Py_INCREF(Py_None); | |
1272 | _resultobj = Py_None; | |
1273 | return _resultobj; | |
1274 | } | |
1275 | ||
1276 | #define wxPyCircleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1277 | static PyObject *_wrap_wxPyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1278 | PyObject * _resultobj; | |
1279 | wxPyCircleShape * _arg0; | |
1280 | wxDC * _arg1; | |
1281 | PyObject * _argo0 = 0; | |
1282 | PyObject * _argo1 = 0; | |
1283 | char *_kwnames[] = { "self","dc", NULL }; | |
1284 | ||
1285 | self = self; | |
1286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1287 | return NULL; | |
1288 | if (_argo0) { | |
1289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDraw. Expected _wxPyCircleShape_p."); | |
1292 | return NULL; | |
1293 | } | |
1294 | } | |
1295 | if (_argo1) { | |
1296 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1297 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDraw. Expected _wxDC_p."); | |
1299 | return NULL; | |
1300 | } | |
1301 | } | |
1302 | { | |
1303 | wxPy_BEGIN_ALLOW_THREADS; | |
1304 | wxPyCircleShape_base_OnDraw(_arg0,*_arg1); | |
1305 | ||
1306 | wxPy_END_ALLOW_THREADS; | |
1307 | } Py_INCREF(Py_None); | |
1308 | _resultobj = Py_None; | |
1309 | return _resultobj; | |
1310 | } | |
1311 | ||
1312 | #define wxPyCircleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1313 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1314 | PyObject * _resultobj; | |
1315 | wxPyCircleShape * _arg0; | |
1316 | wxDC * _arg1; | |
1317 | PyObject * _argo0 = 0; | |
1318 | PyObject * _argo1 = 0; | |
1319 | char *_kwnames[] = { "self","dc", NULL }; | |
1320 | ||
1321 | self = self; | |
1322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1323 | return NULL; | |
1324 | if (_argo0) { | |
1325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawContents. Expected _wxPyCircleShape_p."); | |
1328 | return NULL; | |
1329 | } | |
1330 | } | |
1331 | if (_argo1) { | |
1332 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1333 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawContents. Expected _wxDC_p."); | |
1335 | return NULL; | |
1336 | } | |
1337 | } | |
1338 | { | |
1339 | wxPy_BEGIN_ALLOW_THREADS; | |
1340 | wxPyCircleShape_base_OnDrawContents(_arg0,*_arg1); | |
1341 | ||
1342 | wxPy_END_ALLOW_THREADS; | |
1343 | } Py_INCREF(Py_None); | |
1344 | _resultobj = Py_None; | |
1345 | return _resultobj; | |
1346 | } | |
1347 | ||
1348 | #define wxPyCircleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1349 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1350 | PyObject * _resultobj; | |
1351 | wxPyCircleShape * _arg0; | |
1352 | wxDC * _arg1; | |
1353 | bool _arg2 = (bool ) FALSE; | |
1354 | PyObject * _argo0 = 0; | |
1355 | PyObject * _argo1 = 0; | |
1356 | int tempbool2 = (int) FALSE; | |
1357 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1358 | ||
1359 | self = self; | |
1360 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCircleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1361 | return NULL; | |
1362 | if (_argo0) { | |
1363 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1364 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1365 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawBranches. Expected _wxPyCircleShape_p."); | |
1366 | return NULL; | |
1367 | } | |
1368 | } | |
1369 | if (_argo1) { | |
1370 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1371 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1372 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1373 | return NULL; | |
1374 | } | |
1375 | } | |
1376 | _arg2 = (bool ) tempbool2; | |
1377 | { | |
1378 | wxPy_BEGIN_ALLOW_THREADS; | |
1379 | wxPyCircleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1380 | ||
1381 | wxPy_END_ALLOW_THREADS; | |
1382 | } Py_INCREF(Py_None); | |
1383 | _resultobj = Py_None; | |
1384 | return _resultobj; | |
1385 | } | |
1386 | ||
1387 | #define wxPyCircleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1388 | static PyObject *_wrap_wxPyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1389 | PyObject * _resultobj; | |
1390 | wxPyCircleShape * _arg0; | |
1391 | wxDC * _arg1; | |
1392 | PyObject * _argo0 = 0; | |
1393 | PyObject * _argo1 = 0; | |
1394 | char *_kwnames[] = { "self","dc", NULL }; | |
1395 | ||
1396 | self = self; | |
1397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1398 | return NULL; | |
1399 | if (_argo0) { | |
1400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLinks. Expected _wxPyCircleShape_p."); | |
1403 | return NULL; | |
1404 | } | |
1405 | } | |
1406 | if (_argo1) { | |
1407 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1408 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
1410 | return NULL; | |
1411 | } | |
1412 | } | |
1413 | { | |
1414 | wxPy_BEGIN_ALLOW_THREADS; | |
1415 | wxPyCircleShape_base_OnMoveLinks(_arg0,*_arg1); | |
1416 | ||
1417 | wxPy_END_ALLOW_THREADS; | |
1418 | } Py_INCREF(Py_None); | |
1419 | _resultobj = Py_None; | |
1420 | return _resultobj; | |
1421 | } | |
1422 | ||
1423 | #define wxPyCircleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1424 | static PyObject *_wrap_wxPyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1425 | PyObject * _resultobj; | |
1426 | wxPyCircleShape * _arg0; | |
1427 | wxDC * _arg1; | |
1428 | PyObject * _argo0 = 0; | |
1429 | PyObject * _argo1 = 0; | |
1430 | char *_kwnames[] = { "self","dc", NULL }; | |
1431 | ||
1432 | self = self; | |
1433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1434 | return NULL; | |
1435 | if (_argo0) { | |
1436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnErase. Expected _wxPyCircleShape_p."); | |
1439 | return NULL; | |
1440 | } | |
1441 | } | |
1442 | if (_argo1) { | |
1443 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1444 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnErase. Expected _wxDC_p."); | |
1446 | return NULL; | |
1447 | } | |
1448 | } | |
1449 | { | |
1450 | wxPy_BEGIN_ALLOW_THREADS; | |
1451 | wxPyCircleShape_base_OnErase(_arg0,*_arg1); | |
1452 | ||
1453 | wxPy_END_ALLOW_THREADS; | |
1454 | } Py_INCREF(Py_None); | |
1455 | _resultobj = Py_None; | |
1456 | return _resultobj; | |
1457 | } | |
1458 | ||
1459 | #define wxPyCircleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1460 | static PyObject *_wrap_wxPyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1461 | PyObject * _resultobj; | |
1462 | wxPyCircleShape * _arg0; | |
1463 | wxDC * _arg1; | |
1464 | PyObject * _argo0 = 0; | |
1465 | PyObject * _argo1 = 0; | |
1466 | char *_kwnames[] = { "self","dc", NULL }; | |
1467 | ||
1468 | self = self; | |
1469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1470 | return NULL; | |
1471 | if (_argo0) { | |
1472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEraseContents. Expected _wxPyCircleShape_p."); | |
1475 | return NULL; | |
1476 | } | |
1477 | } | |
1478 | if (_argo1) { | |
1479 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1480 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnEraseContents. Expected _wxDC_p."); | |
1482 | return NULL; | |
1483 | } | |
1484 | } | |
1485 | { | |
1486 | wxPy_BEGIN_ALLOW_THREADS; | |
1487 | wxPyCircleShape_base_OnEraseContents(_arg0,*_arg1); | |
1488 | ||
1489 | wxPy_END_ALLOW_THREADS; | |
1490 | } Py_INCREF(Py_None); | |
1491 | _resultobj = Py_None; | |
1492 | return _resultobj; | |
1493 | } | |
1494 | ||
1495 | #define wxPyCircleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
1496 | static PyObject *_wrap_wxPyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1497 | PyObject * _resultobj; | |
1498 | wxPyCircleShape * _arg0; | |
1499 | wxDC * _arg1; | |
1500 | PyObject * _argo0 = 0; | |
1501 | PyObject * _argo1 = 0; | |
1502 | char *_kwnames[] = { "self","dc", NULL }; | |
1503 | ||
1504 | self = self; | |
1505 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
1506 | return NULL; | |
1507 | if (_argo0) { | |
1508 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1509 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1510 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnHighlight. Expected _wxPyCircleShape_p."); | |
1511 | return NULL; | |
1512 | } | |
1513 | } | |
1514 | if (_argo1) { | |
1515 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1516 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnHighlight. Expected _wxDC_p."); | |
1518 | return NULL; | |
1519 | } | |
1520 | } | |
1521 | { | |
1522 | wxPy_BEGIN_ALLOW_THREADS; | |
1523 | wxPyCircleShape_base_OnHighlight(_arg0,*_arg1); | |
1524 | ||
1525 | wxPy_END_ALLOW_THREADS; | |
1526 | } Py_INCREF(Py_None); | |
1527 | _resultobj = Py_None; | |
1528 | return _resultobj; | |
1529 | } | |
1530 | ||
1531 | #define wxPyCircleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1532 | static PyObject *_wrap_wxPyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1533 | PyObject * _resultobj; | |
1534 | wxPyCircleShape * _arg0; | |
1535 | double _arg1; | |
1536 | double _arg2; | |
1537 | int _arg3 = (int ) 0; | |
1538 | int _arg4 = (int ) 0; | |
1539 | PyObject * _argo0 = 0; | |
1540 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1541 | ||
1542 | self = self; | |
1543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1544 | return NULL; | |
1545 | if (_argo0) { | |
1546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnLeftClick. Expected _wxPyCircleShape_p."); | |
1549 | return NULL; | |
1550 | } | |
1551 | } | |
1552 | { | |
1553 | wxPy_BEGIN_ALLOW_THREADS; | |
1554 | wxPyCircleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1555 | ||
1556 | wxPy_END_ALLOW_THREADS; | |
1557 | } Py_INCREF(Py_None); | |
1558 | _resultobj = Py_None; | |
1559 | return _resultobj; | |
1560 | } | |
1561 | ||
1562 | #define wxPyCircleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1563 | static PyObject *_wrap_wxPyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1564 | PyObject * _resultobj; | |
1565 | wxPyCircleShape * _arg0; | |
1566 | double _arg1; | |
1567 | double _arg2; | |
1568 | int _arg3 = (int ) 0; | |
1569 | int _arg4 = (int ) 0; | |
1570 | PyObject * _argo0 = 0; | |
1571 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1572 | ||
1573 | self = self; | |
1574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1575 | return NULL; | |
1576 | if (_argo0) { | |
1577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnLeftDoubleClick. Expected _wxPyCircleShape_p."); | |
1580 | return NULL; | |
1581 | } | |
1582 | } | |
1583 | { | |
1584 | wxPy_BEGIN_ALLOW_THREADS; | |
1585 | wxPyCircleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1586 | ||
1587 | wxPy_END_ALLOW_THREADS; | |
1588 | } Py_INCREF(Py_None); | |
1589 | _resultobj = Py_None; | |
1590 | return _resultobj; | |
1591 | } | |
1592 | ||
1593 | #define wxPyCircleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1594 | static PyObject *_wrap_wxPyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1595 | PyObject * _resultobj; | |
1596 | wxPyCircleShape * _arg0; | |
1597 | double _arg1; | |
1598 | double _arg2; | |
1599 | int _arg3 = (int ) 0; | |
1600 | int _arg4 = (int ) 0; | |
1601 | PyObject * _argo0 = 0; | |
1602 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1603 | ||
1604 | self = self; | |
1605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1606 | return NULL; | |
1607 | if (_argo0) { | |
1608 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1609 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnRightClick. Expected _wxPyCircleShape_p."); | |
1611 | return NULL; | |
1612 | } | |
1613 | } | |
1614 | { | |
1615 | wxPy_BEGIN_ALLOW_THREADS; | |
1616 | wxPyCircleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1617 | ||
1618 | wxPy_END_ALLOW_THREADS; | |
1619 | } Py_INCREF(Py_None); | |
1620 | _resultobj = Py_None; | |
1621 | return _resultobj; | |
1622 | } | |
1623 | ||
1624 | #define wxPyCircleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
1625 | static PyObject *_wrap_wxPyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1626 | PyObject * _resultobj; | |
1627 | wxPyCircleShape * _arg0; | |
1628 | double _arg1; | |
1629 | double _arg2; | |
1630 | PyObject * _argo0 = 0; | |
1631 | char *_kwnames[] = { "self","x","y", NULL }; | |
1632 | ||
1633 | self = self; | |
1634 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1635 | return NULL; | |
1636 | if (_argo0) { | |
1637 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1638 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSize. Expected _wxPyCircleShape_p."); | |
1640 | return NULL; | |
1641 | } | |
1642 | } | |
1643 | { | |
1644 | wxPy_BEGIN_ALLOW_THREADS; | |
1645 | wxPyCircleShape_base_OnSize(_arg0,_arg1,_arg2); | |
1646 | ||
1647 | wxPy_END_ALLOW_THREADS; | |
1648 | } Py_INCREF(Py_None); | |
1649 | _resultobj = Py_None; | |
1650 | return _resultobj; | |
1651 | } | |
1652 | ||
1653 | #define wxPyCircleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1654 | static PyObject *_wrap_wxPyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1655 | PyObject * _resultobj; | |
1656 | bool _result; | |
1657 | wxPyCircleShape * _arg0; | |
1658 | wxDC * _arg1; | |
1659 | double _arg2; | |
1660 | double _arg3; | |
1661 | double _arg4; | |
1662 | double _arg5; | |
1663 | bool _arg6 = (bool ) TRUE; | |
1664 | PyObject * _argo0 = 0; | |
1665 | PyObject * _argo1 = 0; | |
1666 | int tempbool6 = (int) TRUE; | |
1667 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1668 | ||
1669 | self = self; | |
1670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCircleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1671 | return NULL; | |
1672 | if (_argo0) { | |
1673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMovePre. Expected _wxPyCircleShape_p."); | |
1676 | return NULL; | |
1677 | } | |
1678 | } | |
1679 | if (_argo1) { | |
1680 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1681 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMovePre. Expected _wxDC_p."); | |
1683 | return NULL; | |
1684 | } | |
1685 | } | |
1686 | _arg6 = (bool ) tempbool6; | |
1687 | { | |
1688 | wxPy_BEGIN_ALLOW_THREADS; | |
1689 | _result = (bool )wxPyCircleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1690 | ||
1691 | wxPy_END_ALLOW_THREADS; | |
1692 | } _resultobj = Py_BuildValue("i",_result); | |
1693 | return _resultobj; | |
1694 | } | |
1695 | ||
1696 | #define wxPyCircleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1697 | static PyObject *_wrap_wxPyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1698 | PyObject * _resultobj; | |
1699 | wxPyCircleShape * _arg0; | |
1700 | wxDC * _arg1; | |
1701 | double _arg2; | |
1702 | double _arg3; | |
1703 | double _arg4; | |
1704 | double _arg5; | |
1705 | bool _arg6 = (bool ) TRUE; | |
1706 | PyObject * _argo0 = 0; | |
1707 | PyObject * _argo1 = 0; | |
1708 | int tempbool6 = (int) TRUE; | |
1709 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1710 | ||
1711 | self = self; | |
1712 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCircleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1713 | return NULL; | |
1714 | if (_argo0) { | |
1715 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1716 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1717 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMovePost. Expected _wxPyCircleShape_p."); | |
1718 | return NULL; | |
1719 | } | |
1720 | } | |
1721 | if (_argo1) { | |
1722 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1723 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1724 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMovePost. Expected _wxDC_p."); | |
1725 | return NULL; | |
1726 | } | |
1727 | } | |
1728 | _arg6 = (bool ) tempbool6; | |
1729 | { | |
1730 | wxPy_BEGIN_ALLOW_THREADS; | |
1731 | wxPyCircleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1732 | ||
1733 | wxPy_END_ALLOW_THREADS; | |
1734 | } Py_INCREF(Py_None); | |
1735 | _resultobj = Py_None; | |
1736 | return _resultobj; | |
1737 | } | |
1738 | ||
1739 | #define wxPyCircleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1740 | static PyObject *_wrap_wxPyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1741 | PyObject * _resultobj; | |
1742 | wxPyCircleShape * _arg0; | |
1743 | bool _arg1; | |
1744 | double _arg2; | |
1745 | double _arg3; | |
1746 | int _arg4 = (int ) 0; | |
1747 | int _arg5 = (int ) 0; | |
1748 | PyObject * _argo0 = 0; | |
1749 | int tempbool1; | |
1750 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1751 | ||
1752 | self = self; | |
1753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCircleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1754 | return NULL; | |
1755 | if (_argo0) { | |
1756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDragLeft. Expected _wxPyCircleShape_p."); | |
1759 | return NULL; | |
1760 | } | |
1761 | } | |
1762 | _arg1 = (bool ) tempbool1; | |
1763 | { | |
1764 | wxPy_BEGIN_ALLOW_THREADS; | |
1765 | wxPyCircleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1766 | ||
1767 | wxPy_END_ALLOW_THREADS; | |
1768 | } Py_INCREF(Py_None); | |
1769 | _resultobj = Py_None; | |
1770 | return _resultobj; | |
1771 | } | |
1772 | ||
1773 | #define wxPyCircleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1774 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1775 | PyObject * _resultobj; | |
1776 | wxPyCircleShape * _arg0; | |
1777 | double _arg1; | |
1778 | double _arg2; | |
1779 | int _arg3 = (int ) 0; | |
1780 | int _arg4 = (int ) 0; | |
1781 | PyObject * _argo0 = 0; | |
1782 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1783 | ||
1784 | self = self; | |
1785 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1786 | return NULL; | |
1787 | if (_argo0) { | |
1788 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1789 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1790 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragLeft. Expected _wxPyCircleShape_p."); | |
1791 | return NULL; | |
1792 | } | |
1793 | } | |
1794 | { | |
1795 | wxPy_BEGIN_ALLOW_THREADS; | |
1796 | wxPyCircleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1797 | ||
1798 | wxPy_END_ALLOW_THREADS; | |
1799 | } Py_INCREF(Py_None); | |
1800 | _resultobj = Py_None; | |
1801 | return _resultobj; | |
1802 | } | |
1803 | ||
1804 | #define wxPyCircleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1805 | static PyObject *_wrap_wxPyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1806 | PyObject * _resultobj; | |
1807 | wxPyCircleShape * _arg0; | |
1808 | double _arg1; | |
1809 | double _arg2; | |
1810 | int _arg3 = (int ) 0; | |
1811 | int _arg4 = (int ) 0; | |
1812 | PyObject * _argo0 = 0; | |
1813 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1814 | ||
1815 | self = self; | |
1816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1817 | return NULL; | |
1818 | if (_argo0) { | |
1819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragLeft. Expected _wxPyCircleShape_p."); | |
1822 | return NULL; | |
1823 | } | |
1824 | } | |
1825 | { | |
1826 | wxPy_BEGIN_ALLOW_THREADS; | |
1827 | wxPyCircleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1828 | ||
1829 | wxPy_END_ALLOW_THREADS; | |
1830 | } Py_INCREF(Py_None); | |
1831 | _resultobj = Py_None; | |
1832 | return _resultobj; | |
1833 | } | |
1834 | ||
1835 | #define wxPyCircleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1836 | static PyObject *_wrap_wxPyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1837 | PyObject * _resultobj; | |
1838 | wxPyCircleShape * _arg0; | |
1839 | bool _arg1; | |
1840 | double _arg2; | |
1841 | double _arg3; | |
1842 | int _arg4 = (int ) 0; | |
1843 | int _arg5 = (int ) 0; | |
1844 | PyObject * _argo0 = 0; | |
1845 | int tempbool1; | |
1846 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1847 | ||
1848 | self = self; | |
1849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCircleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1850 | return NULL; | |
1851 | if (_argo0) { | |
1852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDragRight. Expected _wxPyCircleShape_p."); | |
1855 | return NULL; | |
1856 | } | |
1857 | } | |
1858 | _arg1 = (bool ) tempbool1; | |
1859 | { | |
1860 | wxPy_BEGIN_ALLOW_THREADS; | |
1861 | wxPyCircleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1862 | ||
1863 | wxPy_END_ALLOW_THREADS; | |
1864 | } Py_INCREF(Py_None); | |
1865 | _resultobj = Py_None; | |
1866 | return _resultobj; | |
1867 | } | |
1868 | ||
1869 | #define wxPyCircleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1870 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1871 | PyObject * _resultobj; | |
1872 | wxPyCircleShape * _arg0; | |
1873 | double _arg1; | |
1874 | double _arg2; | |
1875 | int _arg3 = (int ) 0; | |
1876 | int _arg4 = (int ) 0; | |
1877 | PyObject * _argo0 = 0; | |
1878 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1879 | ||
1880 | self = self; | |
1881 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1882 | return NULL; | |
1883 | if (_argo0) { | |
1884 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1885 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragRight. Expected _wxPyCircleShape_p."); | |
1887 | return NULL; | |
1888 | } | |
1889 | } | |
1890 | { | |
1891 | wxPy_BEGIN_ALLOW_THREADS; | |
1892 | wxPyCircleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1893 | ||
1894 | wxPy_END_ALLOW_THREADS; | |
1895 | } Py_INCREF(Py_None); | |
1896 | _resultobj = Py_None; | |
1897 | return _resultobj; | |
1898 | } | |
1899 | ||
1900 | #define wxPyCircleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1901 | static PyObject *_wrap_wxPyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1902 | PyObject * _resultobj; | |
1903 | wxPyCircleShape * _arg0; | |
1904 | double _arg1; | |
1905 | double _arg2; | |
1906 | int _arg3 = (int ) 0; | |
1907 | int _arg4 = (int ) 0; | |
1908 | PyObject * _argo0 = 0; | |
1909 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1910 | ||
1911 | self = self; | |
1912 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1913 | return NULL; | |
1914 | if (_argo0) { | |
1915 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1916 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1917 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragRight. Expected _wxPyCircleShape_p."); | |
1918 | return NULL; | |
1919 | } | |
1920 | } | |
1921 | { | |
1922 | wxPy_BEGIN_ALLOW_THREADS; | |
1923 | wxPyCircleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1924 | ||
1925 | wxPy_END_ALLOW_THREADS; | |
1926 | } Py_INCREF(Py_None); | |
1927 | _resultobj = Py_None; | |
1928 | return _resultobj; | |
1929 | } | |
1930 | ||
1931 | #define wxPyCircleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1932 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1933 | PyObject * _resultobj; | |
1934 | wxPyCircleShape * _arg0; | |
1935 | wxDC * _arg1; | |
1936 | double _arg2; | |
1937 | double _arg3; | |
1938 | double _arg4; | |
1939 | double _arg5; | |
1940 | PyObject * _argo0 = 0; | |
1941 | PyObject * _argo1 = 0; | |
1942 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
1943 | ||
1944 | self = self; | |
1945 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCircleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1946 | return NULL; | |
1947 | if (_argo0) { | |
1948 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1949 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1950 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawOutline. Expected _wxPyCircleShape_p."); | |
1951 | return NULL; | |
1952 | } | |
1953 | } | |
1954 | if (_argo1) { | |
1955 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1956 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
1958 | return NULL; | |
1959 | } | |
1960 | } | |
1961 | { | |
1962 | wxPy_BEGIN_ALLOW_THREADS; | |
1963 | wxPyCircleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
1964 | ||
1965 | wxPy_END_ALLOW_THREADS; | |
1966 | } Py_INCREF(Py_None); | |
1967 | _resultobj = Py_None; | |
1968 | return _resultobj; | |
1969 | } | |
1970 | ||
1971 | #define wxPyCircleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
1972 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1973 | PyObject * _resultobj; | |
1974 | wxPyCircleShape * _arg0; | |
1975 | wxDC * _arg1; | |
1976 | PyObject * _argo0 = 0; | |
1977 | PyObject * _argo1 = 0; | |
1978 | char *_kwnames[] = { "self","dc", NULL }; | |
1979 | ||
1980 | self = self; | |
1981 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
1982 | return NULL; | |
1983 | if (_argo0) { | |
1984 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1985 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1986 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxPyCircleShape_p."); | |
1987 | return NULL; | |
1988 | } | |
1989 | } | |
1990 | if (_argo1) { | |
1991 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1992 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
1994 | return NULL; | |
1995 | } | |
1996 | } | |
1997 | { | |
1998 | wxPy_BEGIN_ALLOW_THREADS; | |
1999 | wxPyCircleShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
2000 | ||
2001 | wxPy_END_ALLOW_THREADS; | |
2002 | } Py_INCREF(Py_None); | |
2003 | _resultobj = Py_None; | |
2004 | return _resultobj; | |
2005 | } | |
2006 | ||
2007 | #define wxPyCircleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2008 | static PyObject *_wrap_wxPyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2009 | PyObject * _resultobj; | |
2010 | wxPyCircleShape * _arg0; | |
2011 | wxDC * _arg1; | |
2012 | PyObject * _argo0 = 0; | |
2013 | PyObject * _argo1 = 0; | |
2014 | char *_kwnames[] = { "self","dc", NULL }; | |
2015 | ||
2016 | self = self; | |
2017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2018 | return NULL; | |
2019 | if (_argo0) { | |
2020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxPyCircleShape_p."); | |
2023 | return NULL; | |
2024 | } | |
2025 | } | |
2026 | if (_argo1) { | |
2027 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2028 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2030 | return NULL; | |
2031 | } | |
2032 | } | |
2033 | { | |
2034 | wxPy_BEGIN_ALLOW_THREADS; | |
2035 | wxPyCircleShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
2036 | ||
2037 | wxPy_END_ALLOW_THREADS; | |
2038 | } Py_INCREF(Py_None); | |
2039 | _resultobj = Py_None; | |
2040 | return _resultobj; | |
2041 | } | |
2042 | ||
2043 | #define wxPyCircleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2044 | static PyObject *_wrap_wxPyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2045 | PyObject * _resultobj; | |
2046 | wxPyCircleShape * _arg0; | |
2047 | wxDC * _arg1; | |
2048 | bool _arg2 = (bool ) TRUE; | |
2049 | PyObject * _argo0 = 0; | |
2050 | PyObject * _argo1 = 0; | |
2051 | int tempbool2 = (int) TRUE; | |
2052 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2053 | ||
2054 | self = self; | |
2055 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCircleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2056 | return NULL; | |
2057 | if (_argo0) { | |
2058 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2059 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLink. Expected _wxPyCircleShape_p."); | |
2061 | return NULL; | |
2062 | } | |
2063 | } | |
2064 | if (_argo1) { | |
2065 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2066 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2068 | return NULL; | |
2069 | } | |
2070 | } | |
2071 | _arg2 = (bool ) tempbool2; | |
2072 | { | |
2073 | wxPy_BEGIN_ALLOW_THREADS; | |
2074 | wxPyCircleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2075 | ||
2076 | wxPy_END_ALLOW_THREADS; | |
2077 | } Py_INCREF(Py_None); | |
2078 | _resultobj = Py_None; | |
2079 | return _resultobj; | |
2080 | } | |
2081 | ||
2082 | #define wxPyCircleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2083 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2084 | PyObject * _resultobj; | |
2085 | wxPyCircleShape * _arg0; | |
2348eaee | 2086 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2087 | bool _arg2; |
2088 | double _arg3; | |
2089 | double _arg4; | |
2090 | int _arg5 = (int ) 0; | |
2091 | int _arg6 = (int ) 0; | |
2092 | PyObject * _argo0 = 0; | |
2093 | PyObject * _argo1 = 0; | |
2094 | int tempbool2; | |
2095 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2096 | ||
2097 | self = self; | |
2098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCircleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2099 | return NULL; | |
2100 | if (_argo0) { | |
2101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyCircleShape_p."); | |
2104 | return NULL; | |
2105 | } | |
2106 | } | |
2107 | if (_argo1) { | |
2108 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2109 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2111 | return NULL; |
2112 | } | |
2113 | } | |
2114 | _arg2 = (bool ) tempbool2; | |
2115 | { | |
2116 | wxPy_BEGIN_ALLOW_THREADS; | |
2117 | wxPyCircleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2118 | ||
2119 | wxPy_END_ALLOW_THREADS; | |
2120 | } Py_INCREF(Py_None); | |
2121 | _resultobj = Py_None; | |
2122 | return _resultobj; | |
2123 | } | |
2124 | ||
2125 | #define wxPyCircleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2126 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2127 | PyObject * _resultobj; | |
2128 | wxPyCircleShape * _arg0; | |
2348eaee | 2129 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2130 | double _arg2; |
2131 | double _arg3; | |
2132 | int _arg4 = (int ) 0; | |
2133 | int _arg5 = (int ) 0; | |
2134 | PyObject * _argo0 = 0; | |
2135 | PyObject * _argo1 = 0; | |
2136 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2137 | ||
2138 | self = self; | |
2139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCircleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2140 | return NULL; | |
2141 | if (_argo0) { | |
2142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyCircleShape_p."); | |
2145 | return NULL; | |
2146 | } | |
2147 | } | |
2148 | if (_argo1) { | |
2149 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2150 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2152 | return NULL; |
2153 | } | |
2154 | } | |
2155 | { | |
2156 | wxPy_BEGIN_ALLOW_THREADS; | |
2157 | wxPyCircleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2158 | ||
2159 | wxPy_END_ALLOW_THREADS; | |
2160 | } Py_INCREF(Py_None); | |
2161 | _resultobj = Py_None; | |
2162 | return _resultobj; | |
2163 | } | |
2164 | ||
2165 | #define wxPyCircleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2166 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2167 | PyObject * _resultobj; | |
2168 | wxPyCircleShape * _arg0; | |
2348eaee | 2169 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2170 | double _arg2; |
2171 | double _arg3; | |
2172 | int _arg4 = (int ) 0; | |
2173 | int _arg5 = (int ) 0; | |
2174 | PyObject * _argo0 = 0; | |
2175 | PyObject * _argo1 = 0; | |
2176 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2177 | ||
2178 | self = self; | |
2179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCircleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2180 | return NULL; | |
2181 | if (_argo0) { | |
2182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyCircleShape_p."); | |
2185 | return NULL; | |
2186 | } | |
2187 | } | |
2188 | if (_argo1) { | |
2189 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2190 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2192 | return NULL; |
2193 | } | |
2194 | } | |
2195 | { | |
2196 | wxPy_BEGIN_ALLOW_THREADS; | |
2197 | wxPyCircleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2198 | ||
2199 | wxPy_END_ALLOW_THREADS; | |
2200 | } Py_INCREF(Py_None); | |
2201 | _resultobj = Py_None; | |
2202 | return _resultobj; | |
2203 | } | |
2204 | ||
2205 | #define wxPyCircleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2206 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2207 | PyObject * _resultobj; | |
2208 | wxPyCircleShape * _arg0; | |
2209 | double _arg1; | |
2210 | double _arg2; | |
2211 | PyObject * _argo0 = 0; | |
2212 | char *_kwnames[] = { "self","w","h", NULL }; | |
2213 | ||
2214 | self = self; | |
2215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2216 | return NULL; | |
2217 | if (_argo0) { | |
2218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginSize. Expected _wxPyCircleShape_p."); | |
2221 | return NULL; | |
2222 | } | |
2223 | } | |
2224 | { | |
2225 | wxPy_BEGIN_ALLOW_THREADS; | |
2226 | wxPyCircleShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2227 | ||
2228 | wxPy_END_ALLOW_THREADS; | |
2229 | } Py_INCREF(Py_None); | |
2230 | _resultobj = Py_None; | |
2231 | return _resultobj; | |
2232 | } | |
2233 | ||
2234 | #define wxPyCircleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2235 | static PyObject *_wrap_wxPyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2236 | PyObject * _resultobj; | |
2237 | wxPyCircleShape * _arg0; | |
2238 | double _arg1; | |
2239 | double _arg2; | |
2240 | PyObject * _argo0 = 0; | |
2241 | char *_kwnames[] = { "self","w","h", NULL }; | |
2242 | ||
2243 | self = self; | |
2244 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2245 | return NULL; | |
2246 | if (_argo0) { | |
2247 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2248 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2249 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndSize. Expected _wxPyCircleShape_p."); | |
2250 | return NULL; | |
2251 | } | |
2252 | } | |
2253 | { | |
2254 | wxPy_BEGIN_ALLOW_THREADS; | |
2255 | wxPyCircleShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
2256 | ||
2257 | wxPy_END_ALLOW_THREADS; | |
2258 | } Py_INCREF(Py_None); | |
2259 | _resultobj = Py_None; | |
2260 | return _resultobj; | |
2261 | } | |
2262 | ||
9416aa89 RD |
2263 | static void *SwigwxArrowHeadTowxObject(void *ptr) { |
2264 | wxArrowHead *src; | |
2265 | wxObject *dest; | |
2266 | src = (wxArrowHead *) ptr; | |
2267 | dest = (wxObject *) src; | |
2268 | return (void *) dest; | |
2269 | } | |
2270 | ||
e91a9dfc RD |
2271 | #define new_wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) |
2272 | static PyObject *_wrap_new_wxArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2273 | PyObject * _resultobj; | |
2274 | wxArrowHead * _result; | |
2275 | int _arg0 = (int ) 0; | |
2276 | int _arg1 = (int ) 0; | |
2277 | double _arg2 = (double ) 0.0; | |
2278 | double _arg3 = (double ) 0.0; | |
2279 | char * _arg4 = (char *) ""; | |
2280 | wxPseudoMetaFile * _arg5 = (wxPseudoMetaFile *) NULL; | |
2281 | long _arg6 = (long ) -1; | |
2282 | PyObject * _argo5 = 0; | |
2283 | char *_kwnames[] = { "type","end","size","dist","name","mf","arrowId", NULL }; | |
2284 | char _ptemp[128]; | |
2285 | ||
2286 | self = self; | |
2287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiddsOl:new_wxArrowHead",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6)) | |
2288 | return NULL; | |
2289 | if (_argo5) { | |
2290 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
2291 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPseudoMetaFile_p")) { | |
2292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxArrowHead. Expected _wxPseudoMetaFile_p."); | |
2293 | return NULL; | |
2294 | } | |
2295 | } | |
2296 | { | |
2297 | wxPy_BEGIN_ALLOW_THREADS; | |
2298 | _result = (wxArrowHead *)new_wxArrowHead(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2299 | ||
2300 | wxPy_END_ALLOW_THREADS; | |
2301 | } if (_result) { | |
2302 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
2303 | _resultobj = Py_BuildValue("s",_ptemp); | |
2304 | } else { | |
2305 | Py_INCREF(Py_None); | |
2306 | _resultobj = Py_None; | |
2307 | } | |
2308 | return _resultobj; | |
2309 | } | |
2310 | ||
2311 | #define delete_wxArrowHead(_swigobj) (delete _swigobj) | |
2312 | static PyObject *_wrap_delete_wxArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2313 | PyObject * _resultobj; | |
2314 | wxArrowHead * _arg0; | |
2315 | PyObject * _argo0 = 0; | |
2316 | char *_kwnames[] = { "self", NULL }; | |
2317 | ||
2318 | self = self; | |
2319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxArrowHead",_kwnames,&_argo0)) | |
2320 | return NULL; | |
2321 | if (_argo0) { | |
2322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxArrowHead. Expected _wxArrowHead_p."); | |
2325 | return NULL; | |
2326 | } | |
2327 | } | |
2328 | { | |
2329 | wxPy_BEGIN_ALLOW_THREADS; | |
2330 | delete_wxArrowHead(_arg0); | |
2331 | ||
2332 | wxPy_END_ALLOW_THREADS; | |
2333 | } Py_INCREF(Py_None); | |
2334 | _resultobj = Py_None; | |
2335 | return _resultobj; | |
2336 | } | |
2337 | ||
2338 | #define wxArrowHead__GetType(_swigobj) (_swigobj->_GetType()) | |
2339 | static PyObject *_wrap_wxArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2340 | PyObject * _resultobj; | |
2341 | int _result; | |
2342 | wxArrowHead * _arg0; | |
2343 | PyObject * _argo0 = 0; | |
2344 | char *_kwnames[] = { "self", NULL }; | |
2345 | ||
2346 | self = self; | |
2347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead__GetType",_kwnames,&_argo0)) | |
2348 | return NULL; | |
2349 | if (_argo0) { | |
2350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead__GetType. Expected _wxArrowHead_p."); | |
2353 | return NULL; | |
2354 | } | |
2355 | } | |
2356 | { | |
2357 | wxPy_BEGIN_ALLOW_THREADS; | |
2358 | _result = (int )wxArrowHead__GetType(_arg0); | |
2359 | ||
2360 | wxPy_END_ALLOW_THREADS; | |
2361 | } _resultobj = Py_BuildValue("i",_result); | |
2362 | return _resultobj; | |
2363 | } | |
2364 | ||
2365 | #define wxArrowHead_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
2366 | static PyObject *_wrap_wxArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2367 | PyObject * _resultobj; | |
2368 | int _result; | |
2369 | wxArrowHead * _arg0; | |
2370 | PyObject * _argo0 = 0; | |
2371 | char *_kwnames[] = { "self", NULL }; | |
2372 | ||
2373 | self = self; | |
2374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetPosition",_kwnames,&_argo0)) | |
2375 | return NULL; | |
2376 | if (_argo0) { | |
2377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetPosition. Expected _wxArrowHead_p."); | |
2380 | return NULL; | |
2381 | } | |
2382 | } | |
2383 | { | |
2384 | wxPy_BEGIN_ALLOW_THREADS; | |
2385 | _result = (int )wxArrowHead_GetPosition(_arg0); | |
2386 | ||
2387 | wxPy_END_ALLOW_THREADS; | |
2388 | } _resultobj = Py_BuildValue("i",_result); | |
2389 | return _resultobj; | |
2390 | } | |
2391 | ||
2392 | #define wxArrowHead_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
2393 | static PyObject *_wrap_wxArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2394 | PyObject * _resultobj; | |
2395 | wxArrowHead * _arg0; | |
2396 | int _arg1; | |
2397 | PyObject * _argo0 = 0; | |
2398 | char *_kwnames[] = { "self","pos", NULL }; | |
2399 | ||
2400 | self = self; | |
2401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxArrowHead_SetPosition",_kwnames,&_argo0,&_arg1)) | |
2402 | return NULL; | |
2403 | if (_argo0) { | |
2404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetPosition. Expected _wxArrowHead_p."); | |
2407 | return NULL; | |
2408 | } | |
2409 | } | |
2410 | { | |
2411 | wxPy_BEGIN_ALLOW_THREADS; | |
2412 | wxArrowHead_SetPosition(_arg0,_arg1); | |
2413 | ||
2414 | wxPy_END_ALLOW_THREADS; | |
2415 | } Py_INCREF(Py_None); | |
2416 | _resultobj = Py_None; | |
2417 | return _resultobj; | |
2418 | } | |
2419 | ||
2420 | #define wxArrowHead_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
2421 | static PyObject *_wrap_wxArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2422 | PyObject * _resultobj; | |
2423 | double _result; | |
2424 | wxArrowHead * _arg0; | |
2425 | PyObject * _argo0 = 0; | |
2426 | char *_kwnames[] = { "self", NULL }; | |
2427 | ||
2428 | self = self; | |
2429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetXOffset",_kwnames,&_argo0)) | |
2430 | return NULL; | |
2431 | if (_argo0) { | |
2432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetXOffset. Expected _wxArrowHead_p."); | |
2435 | return NULL; | |
2436 | } | |
2437 | } | |
2438 | { | |
2439 | wxPy_BEGIN_ALLOW_THREADS; | |
2440 | _result = (double )wxArrowHead_GetXOffset(_arg0); | |
2441 | ||
2442 | wxPy_END_ALLOW_THREADS; | |
2443 | } _resultobj = Py_BuildValue("d",_result); | |
2444 | return _resultobj; | |
2445 | } | |
2446 | ||
2447 | #define wxArrowHead_GetYOffset(_swigobj) (_swigobj->GetYOffset()) | |
2448 | static PyObject *_wrap_wxArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2449 | PyObject * _resultobj; | |
2450 | double _result; | |
2451 | wxArrowHead * _arg0; | |
2452 | PyObject * _argo0 = 0; | |
2453 | char *_kwnames[] = { "self", NULL }; | |
2454 | ||
2455 | self = self; | |
2456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetYOffset",_kwnames,&_argo0)) | |
2457 | return NULL; | |
2458 | if (_argo0) { | |
2459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetYOffset. Expected _wxArrowHead_p."); | |
2462 | return NULL; | |
2463 | } | |
2464 | } | |
2465 | { | |
2466 | wxPy_BEGIN_ALLOW_THREADS; | |
2467 | _result = (double )wxArrowHead_GetYOffset(_arg0); | |
2468 | ||
2469 | wxPy_END_ALLOW_THREADS; | |
2470 | } _resultobj = Py_BuildValue("d",_result); | |
2471 | return _resultobj; | |
2472 | } | |
2473 | ||
2474 | #define wxArrowHead_GetSpacing(_swigobj) (_swigobj->GetSpacing()) | |
2475 | static PyObject *_wrap_wxArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2476 | PyObject * _resultobj; | |
2477 | double _result; | |
2478 | wxArrowHead * _arg0; | |
2479 | PyObject * _argo0 = 0; | |
2480 | char *_kwnames[] = { "self", NULL }; | |
2481 | ||
2482 | self = self; | |
2483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetSpacing",_kwnames,&_argo0)) | |
2484 | return NULL; | |
2485 | if (_argo0) { | |
2486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetSpacing. Expected _wxArrowHead_p."); | |
2489 | return NULL; | |
2490 | } | |
2491 | } | |
2492 | { | |
2493 | wxPy_BEGIN_ALLOW_THREADS; | |
2494 | _result = (double )wxArrowHead_GetSpacing(_arg0); | |
2495 | ||
2496 | wxPy_END_ALLOW_THREADS; | |
2497 | } _resultobj = Py_BuildValue("d",_result); | |
2498 | return _resultobj; | |
2499 | } | |
2500 | ||
2501 | #define wxArrowHead_GetSize(_swigobj) (_swigobj->GetSize()) | |
2502 | static PyObject *_wrap_wxArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2503 | PyObject * _resultobj; | |
2504 | double _result; | |
2505 | wxArrowHead * _arg0; | |
2506 | PyObject * _argo0 = 0; | |
2507 | char *_kwnames[] = { "self", NULL }; | |
2508 | ||
2509 | self = self; | |
2510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetSize",_kwnames,&_argo0)) | |
2511 | return NULL; | |
2512 | if (_argo0) { | |
2513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetSize. Expected _wxArrowHead_p."); | |
2516 | return NULL; | |
2517 | } | |
2518 | } | |
2519 | { | |
2520 | wxPy_BEGIN_ALLOW_THREADS; | |
2521 | _result = (double )wxArrowHead_GetSize(_arg0); | |
2522 | ||
2523 | wxPy_END_ALLOW_THREADS; | |
2524 | } _resultobj = Py_BuildValue("d",_result); | |
2525 | return _resultobj; | |
2526 | } | |
2527 | ||
2528 | #define wxArrowHead_GetName(_swigobj) (_swigobj->GetName()) | |
2529 | static PyObject *_wrap_wxArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2530 | PyObject * _resultobj; | |
2531 | wxString * _result; | |
2532 | wxArrowHead * _arg0; | |
2533 | PyObject * _argo0 = 0; | |
2534 | char *_kwnames[] = { "self", NULL }; | |
2535 | ||
2536 | self = self; | |
2537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetName",_kwnames,&_argo0)) | |
2538 | return NULL; | |
2539 | if (_argo0) { | |
2540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetName. Expected _wxArrowHead_p."); | |
2543 | return NULL; | |
2544 | } | |
2545 | } | |
2546 | { | |
2547 | wxPy_BEGIN_ALLOW_THREADS; | |
2548 | _result = new wxString (wxArrowHead_GetName(_arg0)); | |
2549 | ||
2550 | wxPy_END_ALLOW_THREADS; | |
2551 | }{ | |
99ab9f3b | 2552 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
2553 | } |
2554 | { | |
2555 | delete _result; | |
2556 | } | |
2557 | return _resultobj; | |
2558 | } | |
2559 | ||
2560 | #define wxArrowHead_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) | |
2561 | static PyObject *_wrap_wxArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2562 | PyObject * _resultobj; | |
2563 | wxArrowHead * _arg0; | |
2564 | double _arg1; | |
2565 | PyObject * _argo0 = 0; | |
2566 | char *_kwnames[] = { "self","x", NULL }; | |
2567 | ||
2568 | self = self; | |
2569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
2570 | return NULL; | |
2571 | if (_argo0) { | |
2572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetXOffset. Expected _wxArrowHead_p."); | |
2575 | return NULL; | |
2576 | } | |
2577 | } | |
2578 | { | |
2579 | wxPy_BEGIN_ALLOW_THREADS; | |
2580 | wxArrowHead_SetXOffset(_arg0,_arg1); | |
2581 | ||
2582 | wxPy_END_ALLOW_THREADS; | |
2583 | } Py_INCREF(Py_None); | |
2584 | _resultobj = Py_None; | |
2585 | return _resultobj; | |
2586 | } | |
2587 | ||
2588 | #define wxArrowHead_SetYOffset(_swigobj,_swigarg0) (_swigobj->SetYOffset(_swigarg0)) | |
2589 | static PyObject *_wrap_wxArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2590 | PyObject * _resultobj; | |
2591 | wxArrowHead * _arg0; | |
2592 | double _arg1; | |
2593 | PyObject * _argo0 = 0; | |
2594 | char *_kwnames[] = { "self","y", NULL }; | |
2595 | ||
2596 | self = self; | |
2597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetYOffset",_kwnames,&_argo0,&_arg1)) | |
2598 | return NULL; | |
2599 | if (_argo0) { | |
2600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetYOffset. Expected _wxArrowHead_p."); | |
2603 | return NULL; | |
2604 | } | |
2605 | } | |
2606 | { | |
2607 | wxPy_BEGIN_ALLOW_THREADS; | |
2608 | wxArrowHead_SetYOffset(_arg0,_arg1); | |
2609 | ||
2610 | wxPy_END_ALLOW_THREADS; | |
2611 | } Py_INCREF(Py_None); | |
2612 | _resultobj = Py_None; | |
2613 | return _resultobj; | |
2614 | } | |
2615 | ||
2616 | #define wxArrowHead_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
2617 | static PyObject *_wrap_wxArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2618 | PyObject * _resultobj; | |
2619 | wxPseudoMetaFile * _result; | |
2620 | wxArrowHead * _arg0; | |
2621 | PyObject * _argo0 = 0; | |
2622 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
2623 | |
2624 | self = self; | |
2625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetMetaFile",_kwnames,&_argo0)) | |
2626 | return NULL; | |
2627 | if (_argo0) { | |
2628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetMetaFile. Expected _wxArrowHead_p."); | |
2631 | return NULL; | |
2632 | } | |
2633 | } | |
2634 | { | |
2635 | wxPy_BEGIN_ALLOW_THREADS; | |
2636 | _result = (wxPseudoMetaFile *)wxArrowHead_GetMetaFile(_arg0); | |
2637 | ||
2638 | wxPy_END_ALLOW_THREADS; | |
9416aa89 | 2639 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
2640 | return _resultobj; |
2641 | } | |
2642 | ||
2643 | #define wxArrowHead_GetId(_swigobj) (_swigobj->GetId()) | |
2644 | static PyObject *_wrap_wxArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2645 | PyObject * _resultobj; | |
2646 | long _result; | |
2647 | wxArrowHead * _arg0; | |
2648 | PyObject * _argo0 = 0; | |
2649 | char *_kwnames[] = { "self", NULL }; | |
2650 | ||
2651 | self = self; | |
2652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetId",_kwnames,&_argo0)) | |
2653 | return NULL; | |
2654 | if (_argo0) { | |
2655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetId. Expected _wxArrowHead_p."); | |
2658 | return NULL; | |
2659 | } | |
2660 | } | |
2661 | { | |
2662 | wxPy_BEGIN_ALLOW_THREADS; | |
2663 | _result = (long )wxArrowHead_GetId(_arg0); | |
2664 | ||
2665 | wxPy_END_ALLOW_THREADS; | |
2666 | } _resultobj = Py_BuildValue("l",_result); | |
2667 | return _resultobj; | |
2668 | } | |
2669 | ||
2670 | #define wxArrowHead_GetArrowEnd(_swigobj) (_swigobj->GetArrowEnd()) | |
2671 | static PyObject *_wrap_wxArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2672 | PyObject * _resultobj; | |
2673 | int _result; | |
2674 | wxArrowHead * _arg0; | |
2675 | PyObject * _argo0 = 0; | |
2676 | char *_kwnames[] = { "self", NULL }; | |
2677 | ||
2678 | self = self; | |
2679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetArrowEnd",_kwnames,&_argo0)) | |
2680 | return NULL; | |
2681 | if (_argo0) { | |
2682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetArrowEnd. Expected _wxArrowHead_p."); | |
2685 | return NULL; | |
2686 | } | |
2687 | } | |
2688 | { | |
2689 | wxPy_BEGIN_ALLOW_THREADS; | |
2690 | _result = (int )wxArrowHead_GetArrowEnd(_arg0); | |
2691 | ||
2692 | wxPy_END_ALLOW_THREADS; | |
2693 | } _resultobj = Py_BuildValue("i",_result); | |
2694 | return _resultobj; | |
2695 | } | |
2696 | ||
2697 | #define wxArrowHead_GetArrowSize(_swigobj) (_swigobj->GetArrowSize()) | |
2698 | static PyObject *_wrap_wxArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2699 | PyObject * _resultobj; | |
2700 | double _result; | |
2701 | wxArrowHead * _arg0; | |
2702 | PyObject * _argo0 = 0; | |
2703 | char *_kwnames[] = { "self", NULL }; | |
2704 | ||
2705 | self = self; | |
2706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetArrowSize",_kwnames,&_argo0)) | |
2707 | return NULL; | |
2708 | if (_argo0) { | |
2709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetArrowSize. Expected _wxArrowHead_p."); | |
2712 | return NULL; | |
2713 | } | |
2714 | } | |
2715 | { | |
2716 | wxPy_BEGIN_ALLOW_THREADS; | |
2717 | _result = (double )wxArrowHead_GetArrowSize(_arg0); | |
2718 | ||
2719 | wxPy_END_ALLOW_THREADS; | |
2720 | } _resultobj = Py_BuildValue("d",_result); | |
2721 | return _resultobj; | |
2722 | } | |
2723 | ||
2724 | #define wxArrowHead_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2725 | static PyObject *_wrap_wxArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2726 | PyObject * _resultobj; | |
2727 | wxArrowHead * _arg0; | |
2728 | double _arg1; | |
2729 | PyObject * _argo0 = 0; | |
2730 | char *_kwnames[] = { "self","size", NULL }; | |
2731 | ||
2732 | self = self; | |
2733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetSize",_kwnames,&_argo0,&_arg1)) | |
2734 | return NULL; | |
2735 | if (_argo0) { | |
2736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetSize. Expected _wxArrowHead_p."); | |
2739 | return NULL; | |
2740 | } | |
2741 | } | |
2742 | { | |
2743 | wxPy_BEGIN_ALLOW_THREADS; | |
2744 | wxArrowHead_SetSize(_arg0,_arg1); | |
2745 | ||
2746 | wxPy_END_ALLOW_THREADS; | |
2747 | } Py_INCREF(Py_None); | |
2748 | _resultobj = Py_None; | |
2749 | return _resultobj; | |
2750 | } | |
2751 | ||
2752 | #define wxArrowHead_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0)) | |
2753 | static PyObject *_wrap_wxArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2754 | PyObject * _resultobj; | |
2755 | wxArrowHead * _arg0; | |
2756 | double _arg1; | |
2757 | PyObject * _argo0 = 0; | |
2758 | char *_kwnames[] = { "self","sp", NULL }; | |
2759 | ||
2760 | self = self; | |
2761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetSpacing",_kwnames,&_argo0,&_arg1)) | |
2762 | return NULL; | |
2763 | if (_argo0) { | |
2764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetSpacing. Expected _wxArrowHead_p."); | |
2767 | return NULL; | |
2768 | } | |
2769 | } | |
2770 | { | |
2771 | wxPy_BEGIN_ALLOW_THREADS; | |
2772 | wxArrowHead_SetSpacing(_arg0,_arg1); | |
2773 | ||
2774 | wxPy_END_ALLOW_THREADS; | |
2775 | } Py_INCREF(Py_None); | |
2776 | _resultobj = Py_None; | |
2777 | return _resultobj; | |
2778 | } | |
2779 | ||
2780 | static void *SwigwxPyLineShapeTowxPyShape(void *ptr) { | |
2781 | wxPyLineShape *src; | |
2782 | wxPyShape *dest; | |
2783 | src = (wxPyLineShape *) ptr; | |
2784 | dest = (wxPyShape *) src; | |
2785 | return (void *) dest; | |
2786 | } | |
2787 | ||
2788 | static void *SwigwxPyLineShapeTowxPyShapeEvtHandler(void *ptr) { | |
2789 | wxPyLineShape *src; | |
2790 | wxPyShapeEvtHandler *dest; | |
2791 | src = (wxPyLineShape *) ptr; | |
2792 | dest = (wxPyShapeEvtHandler *) src; | |
2793 | return (void *) dest; | |
2794 | } | |
2795 | ||
9416aa89 RD |
2796 | static void *SwigwxPyLineShapeTowxObject(void *ptr) { |
2797 | wxPyLineShape *src; | |
2798 | wxObject *dest; | |
2799 | src = (wxPyLineShape *) ptr; | |
2800 | dest = (wxObject *) src; | |
2801 | return (void *) dest; | |
2802 | } | |
2803 | ||
e91a9dfc RD |
2804 | #define new_wxPyLineShape() (new wxPyLineShape()) |
2805 | static PyObject *_wrap_new_wxPyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2806 | PyObject * _resultobj; | |
2807 | wxPyLineShape * _result; | |
2808 | char *_kwnames[] = { NULL }; | |
2809 | char _ptemp[128]; | |
2810 | ||
2811 | self = self; | |
2812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLineShape",_kwnames)) | |
2813 | return NULL; | |
2814 | { | |
2815 | wxPy_BEGIN_ALLOW_THREADS; | |
2816 | _result = (wxPyLineShape *)new_wxPyLineShape(); | |
2817 | ||
2818 | wxPy_END_ALLOW_THREADS; | |
2819 | } if (_result) { | |
2820 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLineShape_p"); | |
2821 | _resultobj = Py_BuildValue("s",_ptemp); | |
2822 | } else { | |
2823 | Py_INCREF(Py_None); | |
2824 | _resultobj = Py_None; | |
2825 | } | |
2826 | return _resultobj; | |
2827 | } | |
2828 | ||
0122b7e3 RD |
2829 | #define wxPyLineShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2830 | static PyObject *_wrap_wxPyLineShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
2831 | PyObject * _resultobj; |
2832 | wxPyLineShape * _arg0; | |
2833 | PyObject * _arg1; | |
f6bcfd97 | 2834 | PyObject * _arg2; |
e91a9dfc RD |
2835 | PyObject * _argo0 = 0; |
2836 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2837 | PyObject * _obj2 = 0; |
2838 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2839 | |
2840 | self = self; | |
0122b7e3 | 2841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLineShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2842 | return NULL; |
2843 | if (_argo0) { | |
2844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
0122b7e3 | 2846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape__setCallbackInfo. Expected _wxPyLineShape_p."); |
e91a9dfc RD |
2847 | return NULL; |
2848 | } | |
2849 | } | |
2850 | { | |
2851 | _arg1 = _obj1; | |
2852 | } | |
f6bcfd97 BP |
2853 | { |
2854 | _arg2 = _obj2; | |
2855 | } | |
e91a9dfc RD |
2856 | { |
2857 | wxPy_BEGIN_ALLOW_THREADS; | |
0122b7e3 | 2858 | wxPyLineShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2859 | |
2860 | wxPy_END_ALLOW_THREADS; | |
2861 | } Py_INCREF(Py_None); | |
2862 | _resultobj = Py_None; | |
2863 | return _resultobj; | |
2864 | } | |
2865 | ||
2866 | #define wxPyLineShape_AddArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->AddArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2867 | static PyObject *_wrap_wxPyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2868 | PyObject * _resultobj; | |
2869 | wxPyLineShape * _arg0; | |
2870 | int _arg1; | |
2871 | int _arg2 = (int ) ARROW_POSITION_END; | |
2872 | double _arg3 = (double ) 10.0; | |
2873 | double _arg4 = (double ) 0.0; | |
2874 | char * _arg5 = (char *) ""; | |
2875 | wxPseudoMetaFile * _arg6 = (wxPseudoMetaFile *) NULL; | |
2876 | long _arg7 = (long ) -1; | |
2877 | PyObject * _argo0 = 0; | |
2878 | PyObject * _argo6 = 0; | |
2879 | char *_kwnames[] = { "self","type","end","arrowSize","xOffset","name","mf","arrowId", NULL }; | |
2880 | ||
2881 | self = self; | |
2882 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iddsOl:wxPyLineShape_AddArrow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7)) | |
2883 | return NULL; | |
2884 | if (_argo0) { | |
2885 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2886 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrow. Expected _wxPyLineShape_p."); | |
2888 | return NULL; | |
2889 | } | |
2890 | } | |
2891 | if (_argo6) { | |
2892 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
2893 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPseudoMetaFile_p")) { | |
2894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyLineShape_AddArrow. Expected _wxPseudoMetaFile_p."); | |
2895 | return NULL; | |
2896 | } | |
2897 | } | |
2898 | { | |
2899 | wxPy_BEGIN_ALLOW_THREADS; | |
2900 | wxPyLineShape_AddArrow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
2901 | ||
2902 | wxPy_END_ALLOW_THREADS; | |
2903 | } Py_INCREF(Py_None); | |
2904 | _resultobj = Py_None; | |
2905 | return _resultobj; | |
2906 | } | |
2907 | ||
2908 | static void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead * arrow,PyObject * referenceList,int end) { | |
99ab9f3b | 2909 | wxList* list = wxPy_wxListHelper(referenceList, "_wxArrowHead_p"); |
e91a9dfc RD |
2910 | self->AddArrowOrdered(arrow, *list, end); |
2911 | delete list; | |
2912 | } | |
2913 | static PyObject *_wrap_wxPyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2914 | PyObject * _resultobj; | |
2915 | wxPyLineShape * _arg0; | |
2916 | wxArrowHead * _arg1; | |
2917 | PyObject * _arg2; | |
2918 | int _arg3; | |
2919 | PyObject * _argo0 = 0; | |
2920 | PyObject * _argo1 = 0; | |
2921 | PyObject * _obj2 = 0; | |
2922 | char *_kwnames[] = { "self","arrow","referenceList","end", NULL }; | |
2923 | ||
2924 | self = self; | |
2925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOi:wxPyLineShape_AddArrowOrdered",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3)) | |
2926 | return NULL; | |
2927 | if (_argo0) { | |
2928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrowOrdered. Expected _wxPyLineShape_p."); | |
2931 | return NULL; | |
2932 | } | |
2933 | } | |
2934 | if (_argo1) { | |
2935 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2936 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxArrowHead_p")) { | |
2937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_AddArrowOrdered. Expected _wxArrowHead_p."); | |
2938 | return NULL; | |
2939 | } | |
2940 | } | |
2941 | { | |
2942 | _arg2 = _obj2; | |
2943 | } | |
2944 | { | |
2945 | wxPy_BEGIN_ALLOW_THREADS; | |
2946 | wxPyLineShape_AddArrowOrdered(_arg0,_arg1,_arg2,_arg3); | |
2947 | ||
2948 | wxPy_END_ALLOW_THREADS; | |
2949 | } Py_INCREF(Py_None); | |
2950 | _resultobj = Py_None; | |
2951 | return _resultobj; | |
2952 | } | |
2953 | ||
2954 | #define wxPyLineShape_ClearArrow(_swigobj,_swigarg0) (_swigobj->ClearArrow(_swigarg0)) | |
2955 | static PyObject *_wrap_wxPyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2956 | PyObject * _resultobj; | |
2957 | bool _result; | |
2958 | wxPyLineShape * _arg0; | |
2959 | wxString * _arg1; | |
2960 | PyObject * _argo0 = 0; | |
2961 | PyObject * _obj1 = 0; | |
2962 | char *_kwnames[] = { "self","name", NULL }; | |
2963 | ||
2964 | self = self; | |
2965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_ClearArrow",_kwnames,&_argo0,&_obj1)) | |
2966 | return NULL; | |
2967 | if (_argo0) { | |
2968 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2969 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2970 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrow. Expected _wxPyLineShape_p."); | |
2971 | return NULL; | |
2972 | } | |
2973 | } | |
2974 | { | |
185d7c3e RD |
2975 | #if PYTHON_API_VERSION >= 1009 |
2976 | char* tmpPtr; int tmpSize; | |
2977 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
7a446686 | 2978 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
2979 | return NULL; |
2980 | } | |
2981 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2982 | return NULL; | |
2983 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2984 | #else | |
e91a9dfc RD |
2985 | if (!PyString_Check(_obj1)) { |
2986 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2987 | return NULL; | |
2988 | } | |
185d7c3e RD |
2989 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2990 | #endif | |
e91a9dfc RD |
2991 | } |
2992 | { | |
2993 | wxPy_BEGIN_ALLOW_THREADS; | |
2994 | _result = (bool )wxPyLineShape_ClearArrow(_arg0,*_arg1); | |
2995 | ||
2996 | wxPy_END_ALLOW_THREADS; | |
2997 | } _resultobj = Py_BuildValue("i",_result); | |
2998 | { | |
2999 | if (_obj1) | |
3000 | delete _arg1; | |
3001 | } | |
3002 | return _resultobj; | |
3003 | } | |
3004 | ||
3005 | #define wxPyLineShape_ClearArrowsAtPosition(_swigobj,_swigarg0) (_swigobj->ClearArrowsAtPosition(_swigarg0)) | |
3006 | static PyObject *_wrap_wxPyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3007 | PyObject * _resultobj; | |
3008 | wxPyLineShape * _arg0; | |
3009 | int _arg1 = (int ) -1; | |
3010 | PyObject * _argo0 = 0; | |
3011 | char *_kwnames[] = { "self","position", NULL }; | |
3012 | ||
3013 | self = self; | |
3014 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyLineShape_ClearArrowsAtPosition",_kwnames,&_argo0,&_arg1)) | |
3015 | return NULL; | |
3016 | if (_argo0) { | |
3017 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3018 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrowsAtPosition. Expected _wxPyLineShape_p."); | |
3020 | return NULL; | |
3021 | } | |
3022 | } | |
3023 | { | |
3024 | wxPy_BEGIN_ALLOW_THREADS; | |
3025 | wxPyLineShape_ClearArrowsAtPosition(_arg0,_arg1); | |
3026 | ||
3027 | wxPy_END_ALLOW_THREADS; | |
3028 | } Py_INCREF(Py_None); | |
3029 | _resultobj = Py_None; | |
3030 | return _resultobj; | |
3031 | } | |
3032 | ||
3033 | #define wxPyLineShape_DrawArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3034 | static PyObject *_wrap_wxPyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3035 | PyObject * _resultobj; | |
3036 | wxPyLineShape * _arg0; | |
3037 | wxDC * _arg1; | |
3038 | wxArrowHead * _arg2; | |
3039 | double _arg3; | |
3040 | bool _arg4; | |
3041 | PyObject * _argo0 = 0; | |
3042 | PyObject * _argo1 = 0; | |
3043 | PyObject * _argo2 = 0; | |
3044 | int tempbool4; | |
3045 | char *_kwnames[] = { "self","dc","arrow","xOffset","proportionalOffset", NULL }; | |
3046 | ||
3047 | self = self; | |
3048 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdi:wxPyLineShape_DrawArrow",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&tempbool4)) | |
3049 | return NULL; | |
3050 | if (_argo0) { | |
3051 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3052 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrow. Expected _wxPyLineShape_p."); | |
3054 | return NULL; | |
3055 | } | |
3056 | } | |
3057 | if (_argo1) { | |
3058 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3059 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3060 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrow. Expected _wxDC_p."); | |
3061 | return NULL; | |
3062 | } | |
3063 | } | |
3064 | if (_argo2) { | |
3065 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3066 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrowHead_p")) { | |
3067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawArrow. Expected _wxArrowHead_p."); | |
3068 | return NULL; | |
3069 | } | |
3070 | } | |
3071 | _arg4 = (bool ) tempbool4; | |
3072 | { | |
3073 | wxPy_BEGIN_ALLOW_THREADS; | |
3074 | wxPyLineShape_DrawArrow(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3075 | ||
3076 | wxPy_END_ALLOW_THREADS; | |
3077 | } Py_INCREF(Py_None); | |
3078 | _resultobj = Py_None; | |
3079 | return _resultobj; | |
3080 | } | |
3081 | ||
3082 | #define wxPyLineShape_DeleteArrowHeadId(_swigobj,_swigarg0) (_swigobj->DeleteArrowHead(_swigarg0)) | |
3083 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3084 | PyObject * _resultobj; | |
3085 | bool _result; | |
3086 | wxPyLineShape * _arg0; | |
3087 | long _arg1; | |
3088 | PyObject * _argo0 = 0; | |
3089 | char *_kwnames[] = { "self","arrowId", NULL }; | |
3090 | ||
3091 | self = self; | |
3092 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_DeleteArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3093 | return NULL; | |
3094 | if (_argo0) { | |
3095 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3096 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHeadId. Expected _wxPyLineShape_p."); | |
3098 | return NULL; | |
3099 | } | |
3100 | } | |
3101 | { | |
3102 | wxPy_BEGIN_ALLOW_THREADS; | |
3103 | _result = (bool )wxPyLineShape_DeleteArrowHeadId(_arg0,_arg1); | |
3104 | ||
3105 | wxPy_END_ALLOW_THREADS; | |
3106 | } _resultobj = Py_BuildValue("i",_result); | |
3107 | return _resultobj; | |
3108 | } | |
3109 | ||
3110 | #define wxPyLineShape_DeleteArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteArrowHead(_swigarg0,_swigarg1)) | |
3111 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3112 | PyObject * _resultobj; | |
3113 | bool _result; | |
3114 | wxPyLineShape * _arg0; | |
3115 | int _arg1; | |
3116 | wxString * _arg2; | |
3117 | PyObject * _argo0 = 0; | |
3118 | PyObject * _obj2 = 0; | |
3119 | char *_kwnames[] = { "self","position","name", NULL }; | |
3120 | ||
3121 | self = self; | |
3122 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_DeleteArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3123 | return NULL; | |
3124 | if (_argo0) { | |
3125 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3126 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3127 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHead. Expected _wxPyLineShape_p."); | |
3128 | return NULL; | |
3129 | } | |
3130 | } | |
3131 | { | |
185d7c3e RD |
3132 | #if PYTHON_API_VERSION >= 1009 |
3133 | char* tmpPtr; int tmpSize; | |
3134 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 3135 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
3136 | return NULL; |
3137 | } | |
3138 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3139 | return NULL; | |
3140 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3141 | #else | |
e91a9dfc RD |
3142 | if (!PyString_Check(_obj2)) { |
3143 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3144 | return NULL; | |
3145 | } | |
185d7c3e RD |
3146 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3147 | #endif | |
e91a9dfc RD |
3148 | } |
3149 | { | |
3150 | wxPy_BEGIN_ALLOW_THREADS; | |
3151 | _result = (bool )wxPyLineShape_DeleteArrowHead(_arg0,_arg1,*_arg2); | |
3152 | ||
3153 | wxPy_END_ALLOW_THREADS; | |
3154 | } _resultobj = Py_BuildValue("i",_result); | |
3155 | { | |
3156 | if (_obj2) | |
3157 | delete _arg2; | |
3158 | } | |
3159 | return _resultobj; | |
3160 | } | |
3161 | ||
3162 | #define wxPyLineShape_DeleteLineControlPoint(_swigobj) (_swigobj->DeleteLineControlPoint()) | |
3163 | static PyObject *_wrap_wxPyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3164 | PyObject * _resultobj; | |
3165 | bool _result; | |
3166 | wxPyLineShape * _arg0; | |
3167 | PyObject * _argo0 = 0; | |
3168 | char *_kwnames[] = { "self", NULL }; | |
3169 | ||
3170 | self = self; | |
3171 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_DeleteLineControlPoint",_kwnames,&_argo0)) | |
3172 | return NULL; | |
3173 | if (_argo0) { | |
3174 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3175 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3176 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteLineControlPoint. Expected _wxPyLineShape_p."); | |
3177 | return NULL; | |
3178 | } | |
3179 | } | |
3180 | { | |
3181 | wxPy_BEGIN_ALLOW_THREADS; | |
3182 | _result = (bool )wxPyLineShape_DeleteLineControlPoint(_arg0); | |
3183 | ||
3184 | wxPy_END_ALLOW_THREADS; | |
3185 | } _resultobj = Py_BuildValue("i",_result); | |
3186 | return _resultobj; | |
3187 | } | |
3188 | ||
3189 | #define wxPyLineShape_DrawArrows(_swigobj,_swigarg0) (_swigobj->DrawArrows(_swigarg0)) | |
3190 | static PyObject *_wrap_wxPyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3191 | PyObject * _resultobj; | |
3192 | wxPyLineShape * _arg0; | |
3193 | wxDC * _arg1; | |
3194 | PyObject * _argo0 = 0; | |
3195 | PyObject * _argo1 = 0; | |
3196 | char *_kwnames[] = { "self","dc", NULL }; | |
3197 | ||
3198 | self = self; | |
3199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_DrawArrows",_kwnames,&_argo0,&_argo1)) | |
3200 | return NULL; | |
3201 | if (_argo0) { | |
3202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrows. Expected _wxPyLineShape_p."); | |
3205 | return NULL; | |
3206 | } | |
3207 | } | |
3208 | if (_argo1) { | |
3209 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3210 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrows. Expected _wxDC_p."); | |
3212 | return NULL; | |
3213 | } | |
3214 | } | |
3215 | { | |
3216 | wxPy_BEGIN_ALLOW_THREADS; | |
3217 | wxPyLineShape_DrawArrows(_arg0,*_arg1); | |
3218 | ||
3219 | wxPy_END_ALLOW_THREADS; | |
3220 | } Py_INCREF(Py_None); | |
3221 | _resultobj = Py_None; | |
3222 | return _resultobj; | |
3223 | } | |
3224 | ||
3225 | #define wxPyLineShape_DrawRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3226 | static PyObject *_wrap_wxPyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3227 | PyObject * _resultobj; | |
3228 | wxPyLineShape * _arg0; | |
3229 | wxDC * _arg1; | |
3230 | wxShapeRegion * _arg2; | |
3231 | double _arg3; | |
3232 | double _arg4; | |
3233 | PyObject * _argo0 = 0; | |
3234 | PyObject * _argo1 = 0; | |
3235 | PyObject * _argo2 = 0; | |
3236 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3237 | ||
3238 | self = self; | |
3239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_DrawRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3240 | return NULL; | |
3241 | if (_argo0) { | |
3242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawRegion. Expected _wxPyLineShape_p."); | |
3245 | return NULL; | |
3246 | } | |
3247 | } | |
3248 | if (_argo1) { | |
3249 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3250 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawRegion. Expected _wxDC_p."); | |
3252 | return NULL; | |
3253 | } | |
3254 | } | |
3255 | if (_argo2) { | |
3256 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3257 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawRegion. Expected _wxShapeRegion_p."); | |
3259 | return NULL; | |
3260 | } | |
3261 | } | |
3262 | { | |
3263 | wxPy_BEGIN_ALLOW_THREADS; | |
3264 | wxPyLineShape_DrawRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3265 | ||
3266 | wxPy_END_ALLOW_THREADS; | |
3267 | } Py_INCREF(Py_None); | |
3268 | _resultobj = Py_None; | |
3269 | return _resultobj; | |
3270 | } | |
3271 | ||
3272 | #define wxPyLineShape_EraseRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->EraseRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3273 | static PyObject *_wrap_wxPyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3274 | PyObject * _resultobj; | |
3275 | wxPyLineShape * _arg0; | |
3276 | wxDC * _arg1; | |
3277 | wxShapeRegion * _arg2; | |
3278 | double _arg3; | |
3279 | double _arg4; | |
3280 | PyObject * _argo0 = 0; | |
3281 | PyObject * _argo1 = 0; | |
3282 | PyObject * _argo2 = 0; | |
3283 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3284 | ||
3285 | self = self; | |
3286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_EraseRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3287 | return NULL; | |
3288 | if (_argo0) { | |
3289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_EraseRegion. Expected _wxPyLineShape_p."); | |
3292 | return NULL; | |
3293 | } | |
3294 | } | |
3295 | if (_argo1) { | |
3296 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3297 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_EraseRegion. Expected _wxDC_p."); | |
3299 | return NULL; | |
3300 | } | |
3301 | } | |
3302 | if (_argo2) { | |
3303 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3304 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_EraseRegion. Expected _wxShapeRegion_p."); | |
3306 | return NULL; | |
3307 | } | |
3308 | } | |
3309 | { | |
3310 | wxPy_BEGIN_ALLOW_THREADS; | |
3311 | wxPyLineShape_EraseRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3312 | ||
3313 | wxPy_END_ALLOW_THREADS; | |
3314 | } Py_INCREF(Py_None); | |
3315 | _resultobj = Py_None; | |
3316 | return _resultobj; | |
3317 | } | |
3318 | ||
3319 | #define wxPyLineShape_FindArrowHeadId(_swigobj,_swigarg0) (_swigobj->FindArrowHead(_swigarg0)) | |
3320 | static PyObject *_wrap_wxPyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3321 | PyObject * _resultobj; | |
3322 | wxArrowHead * _result; | |
3323 | wxPyLineShape * _arg0; | |
3324 | long _arg1; | |
3325 | PyObject * _argo0 = 0; | |
3326 | char *_kwnames[] = { "self","arrowId", NULL }; | |
e91a9dfc RD |
3327 | |
3328 | self = self; | |
3329 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_FindArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3330 | return NULL; | |
3331 | if (_argo0) { | |
3332 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3333 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHeadId. Expected _wxPyLineShape_p."); | |
3335 | return NULL; | |
3336 | } | |
3337 | } | |
3338 | { | |
3339 | wxPy_BEGIN_ALLOW_THREADS; | |
3340 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHeadId(_arg0,_arg1); | |
3341 | ||
3342 | wxPy_END_ALLOW_THREADS; | |
9416aa89 | 3343 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
3344 | return _resultobj; |
3345 | } | |
3346 | ||
3347 | #define wxPyLineShape_FindArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindArrowHead(_swigarg0,_swigarg1)) | |
3348 | static PyObject *_wrap_wxPyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3349 | PyObject * _resultobj; | |
3350 | wxArrowHead * _result; | |
3351 | wxPyLineShape * _arg0; | |
3352 | int _arg1; | |
3353 | wxString * _arg2; | |
3354 | PyObject * _argo0 = 0; | |
3355 | PyObject * _obj2 = 0; | |
3356 | char *_kwnames[] = { "self","position","name", NULL }; | |
e91a9dfc RD |
3357 | |
3358 | self = self; | |
3359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_FindArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3360 | return NULL; | |
3361 | if (_argo0) { | |
3362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHead. Expected _wxPyLineShape_p."); | |
3365 | return NULL; | |
3366 | } | |
3367 | } | |
3368 | { | |
185d7c3e RD |
3369 | #if PYTHON_API_VERSION >= 1009 |
3370 | char* tmpPtr; int tmpSize; | |
3371 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
7a446686 | 3372 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); |
185d7c3e RD |
3373 | return NULL; |
3374 | } | |
3375 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3376 | return NULL; | |
3377 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3378 | #else | |
e91a9dfc RD |
3379 | if (!PyString_Check(_obj2)) { |
3380 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3381 | return NULL; | |
3382 | } | |
185d7c3e RD |
3383 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3384 | #endif | |
e91a9dfc RD |
3385 | } |
3386 | { | |
3387 | wxPy_BEGIN_ALLOW_THREADS; | |
3388 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHead(_arg0,_arg1,*_arg2); | |
3389 | ||
3390 | wxPy_END_ALLOW_THREADS; | |
9416aa89 | 3391 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
3392 | { |
3393 | if (_obj2) | |
3394 | delete _arg2; | |
3395 | } | |
3396 | return _resultobj; | |
3397 | } | |
3398 | ||
3399 | #define wxPyLineShape_FindLineEndPoints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindLineEndPoints(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3400 | static PyObject *_wrap_wxPyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3401 | PyObject * _resultobj; | |
3402 | wxPyLineShape * _arg0; | |
3403 | double * _arg1; | |
3404 | double temp; | |
3405 | double * _arg2; | |
3406 | double temp0; | |
3407 | double * _arg3; | |
3408 | double temp1; | |
3409 | double * _arg4; | |
3410 | double temp2; | |
3411 | PyObject * _argo0 = 0; | |
3412 | char *_kwnames[] = { "self", NULL }; | |
3413 | ||
3414 | self = self; | |
3415 | { | |
3416 | _arg1 = &temp; | |
3417 | } | |
3418 | { | |
3419 | _arg2 = &temp0; | |
3420 | } | |
3421 | { | |
3422 | _arg3 = &temp1; | |
3423 | } | |
3424 | { | |
3425 | _arg4 = &temp2; | |
3426 | } | |
3427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindLineEndPoints",_kwnames,&_argo0)) | |
3428 | return NULL; | |
3429 | if (_argo0) { | |
3430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLineEndPoints. Expected _wxPyLineShape_p."); | |
3433 | return NULL; | |
3434 | } | |
3435 | } | |
3436 | { | |
3437 | wxPy_BEGIN_ALLOW_THREADS; | |
3438 | wxPyLineShape_FindLineEndPoints(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3439 | ||
3440 | wxPy_END_ALLOW_THREADS; | |
3441 | } Py_INCREF(Py_None); | |
3442 | _resultobj = Py_None; | |
3443 | { | |
3444 | PyObject *o; | |
3445 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3446 | _resultobj = t_output_helper(_resultobj, o); | |
3447 | } | |
3448 | { | |
3449 | PyObject *o; | |
3450 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3451 | _resultobj = t_output_helper(_resultobj, o); | |
3452 | } | |
3453 | { | |
3454 | PyObject *o; | |
3455 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3456 | _resultobj = t_output_helper(_resultobj, o); | |
3457 | } | |
3458 | { | |
3459 | PyObject *o; | |
3460 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3461 | _resultobj = t_output_helper(_resultobj, o); | |
3462 | } | |
3463 | return _resultobj; | |
3464 | } | |
3465 | ||
3466 | #define wxPyLineShape_FindLinePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindLinePosition(_swigarg0,_swigarg1)) | |
3467 | static PyObject *_wrap_wxPyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3468 | PyObject * _resultobj; | |
3469 | int _result; | |
3470 | wxPyLineShape * _arg0; | |
3471 | double _arg1; | |
3472 | double _arg2; | |
3473 | PyObject * _argo0 = 0; | |
3474 | char *_kwnames[] = { "self","x","y", NULL }; | |
3475 | ||
3476 | self = self; | |
3477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_FindLinePosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3478 | return NULL; | |
3479 | if (_argo0) { | |
3480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLinePosition. Expected _wxPyLineShape_p."); | |
3483 | return NULL; | |
3484 | } | |
3485 | } | |
3486 | { | |
3487 | wxPy_BEGIN_ALLOW_THREADS; | |
3488 | _result = (int )wxPyLineShape_FindLinePosition(_arg0,_arg1,_arg2); | |
3489 | ||
3490 | wxPy_END_ALLOW_THREADS; | |
3491 | } _resultobj = Py_BuildValue("i",_result); | |
3492 | return _resultobj; | |
3493 | } | |
3494 | ||
3495 | #define wxPyLineShape_FindMinimumWidth(_swigobj) (_swigobj->FindMinimumWidth()) | |
3496 | static PyObject *_wrap_wxPyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3497 | PyObject * _resultobj; | |
3498 | double _result; | |
3499 | wxPyLineShape * _arg0; | |
3500 | PyObject * _argo0 = 0; | |
3501 | char *_kwnames[] = { "self", NULL }; | |
3502 | ||
3503 | self = self; | |
3504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindMinimumWidth",_kwnames,&_argo0)) | |
3505 | return NULL; | |
3506 | if (_argo0) { | |
3507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindMinimumWidth. Expected _wxPyLineShape_p."); | |
3510 | return NULL; | |
3511 | } | |
3512 | } | |
3513 | { | |
3514 | wxPy_BEGIN_ALLOW_THREADS; | |
3515 | _result = (double )wxPyLineShape_FindMinimumWidth(_arg0); | |
3516 | ||
3517 | wxPy_END_ALLOW_THREADS; | |
3518 | } _resultobj = Py_BuildValue("d",_result); | |
3519 | return _resultobj; | |
3520 | } | |
3521 | ||
3522 | #define wxPyLineShape_FindNth(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindNth(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3523 | static PyObject *_wrap_wxPyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3524 | PyObject * _resultobj; | |
3525 | wxPyLineShape * _arg0; | |
3526 | wxPyShape * _arg1; | |
3527 | int * _arg2; | |
3528 | int temp; | |
3529 | int * _arg3; | |
3530 | int temp0; | |
3531 | bool _arg4; | |
3532 | PyObject * _argo0 = 0; | |
3533 | PyObject * _argo1 = 0; | |
3534 | int tempbool4; | |
3535 | char *_kwnames[] = { "self","image","incoming", NULL }; | |
3536 | ||
3537 | self = self; | |
3538 | { | |
3539 | _arg2 = &temp; | |
3540 | } | |
3541 | { | |
3542 | _arg3 = &temp0; | |
3543 | } | |
3544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyLineShape_FindNth",_kwnames,&_argo0,&_argo1,&tempbool4)) | |
3545 | return NULL; | |
3546 | if (_argo0) { | |
3547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindNth. Expected _wxPyLineShape_p."); | |
3550 | return NULL; | |
3551 | } | |
3552 | } | |
3553 | if (_argo1) { | |
3554 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3555 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_FindNth. Expected _wxPyShape_p."); | |
3557 | return NULL; | |
3558 | } | |
3559 | } | |
3560 | _arg4 = (bool ) tempbool4; | |
3561 | { | |
3562 | wxPy_BEGIN_ALLOW_THREADS; | |
3563 | wxPyLineShape_FindNth(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3564 | ||
3565 | wxPy_END_ALLOW_THREADS; | |
3566 | } Py_INCREF(Py_None); | |
3567 | _resultobj = Py_None; | |
3568 | { | |
3569 | PyObject *o; | |
3570 | o = PyInt_FromLong((long) (*_arg2)); | |
3571 | _resultobj = t_output_helper(_resultobj, o); | |
3572 | } | |
3573 | { | |
3574 | PyObject *o; | |
3575 | o = PyInt_FromLong((long) (*_arg3)); | |
3576 | _resultobj = t_output_helper(_resultobj, o); | |
3577 | } | |
3578 | return _resultobj; | |
3579 | } | |
3580 | ||
3581 | #define wxPyLineShape_GetAttachmentFrom(_swigobj) (_swigobj->GetAttachmentFrom()) | |
3582 | static PyObject *_wrap_wxPyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3583 | PyObject * _resultobj; | |
3584 | int _result; | |
3585 | wxPyLineShape * _arg0; | |
3586 | PyObject * _argo0 = 0; | |
3587 | char *_kwnames[] = { "self", NULL }; | |
3588 | ||
3589 | self = self; | |
3590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentFrom",_kwnames,&_argo0)) | |
3591 | return NULL; | |
3592 | if (_argo0) { | |
3593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentFrom. Expected _wxPyLineShape_p."); | |
3596 | return NULL; | |
3597 | } | |
3598 | } | |
3599 | { | |
3600 | wxPy_BEGIN_ALLOW_THREADS; | |
3601 | _result = (int )wxPyLineShape_GetAttachmentFrom(_arg0); | |
3602 | ||
3603 | wxPy_END_ALLOW_THREADS; | |
3604 | } _resultobj = Py_BuildValue("i",_result); | |
3605 | return _resultobj; | |
3606 | } | |
3607 | ||
3608 | #define wxPyLineShape_GetAttachmentTo(_swigobj) (_swigobj->GetAttachmentTo()) | |
3609 | static PyObject *_wrap_wxPyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3610 | PyObject * _resultobj; | |
3611 | int _result; | |
3612 | wxPyLineShape * _arg0; | |
3613 | PyObject * _argo0 = 0; | |
3614 | char *_kwnames[] = { "self", NULL }; | |
3615 | ||
3616 | self = self; | |
3617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentTo",_kwnames,&_argo0)) | |
3618 | return NULL; | |
3619 | if (_argo0) { | |
3620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentTo. Expected _wxPyLineShape_p."); | |
3623 | return NULL; | |
3624 | } | |
3625 | } | |
3626 | { | |
3627 | wxPy_BEGIN_ALLOW_THREADS; | |
3628 | _result = (int )wxPyLineShape_GetAttachmentTo(_arg0); | |
3629 | ||
3630 | wxPy_END_ALLOW_THREADS; | |
3631 | } _resultobj = Py_BuildValue("i",_result); | |
3632 | return _resultobj; | |
3633 | } | |
3634 | ||
3635 | #define wxPyLineShape_GetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3636 | static PyObject *_wrap_wxPyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3637 | PyObject * _resultobj; | |
3638 | wxPyLineShape * _arg0; | |
3639 | double * _arg1; | |
3640 | double temp; | |
3641 | double * _arg2; | |
3642 | double temp0; | |
3643 | double * _arg3; | |
3644 | double temp1; | |
3645 | double * _arg4; | |
3646 | double temp2; | |
3647 | PyObject * _argo0 = 0; | |
3648 | char *_kwnames[] = { "self", NULL }; | |
3649 | ||
3650 | self = self; | |
3651 | { | |
3652 | _arg1 = &temp; | |
3653 | } | |
3654 | { | |
3655 | _arg2 = &temp0; | |
3656 | } | |
3657 | { | |
3658 | _arg3 = &temp1; | |
3659 | } | |
3660 | { | |
3661 | _arg4 = &temp2; | |
3662 | } | |
3663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetEnds",_kwnames,&_argo0)) | |
3664 | return NULL; | |
3665 | if (_argo0) { | |
3666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetEnds. Expected _wxPyLineShape_p."); | |
3669 | return NULL; | |
3670 | } | |
3671 | } | |
3672 | { | |
3673 | wxPy_BEGIN_ALLOW_THREADS; | |
3674 | wxPyLineShape_GetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3675 | ||
3676 | wxPy_END_ALLOW_THREADS; | |
3677 | } Py_INCREF(Py_None); | |
3678 | _resultobj = Py_None; | |
3679 | { | |
3680 | PyObject *o; | |
3681 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3682 | _resultobj = t_output_helper(_resultobj, o); | |
3683 | } | |
3684 | { | |
3685 | PyObject *o; | |
3686 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3687 | _resultobj = t_output_helper(_resultobj, o); | |
3688 | } | |
3689 | { | |
3690 | PyObject *o; | |
3691 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3692 | _resultobj = t_output_helper(_resultobj, o); | |
3693 | } | |
3694 | { | |
3695 | PyObject *o; | |
3696 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3697 | _resultobj = t_output_helper(_resultobj, o); | |
3698 | } | |
3699 | return _resultobj; | |
3700 | } | |
3701 | ||
3702 | #define wxPyLineShape_GetFrom(_swigobj) (_swigobj->GetFrom()) | |
3703 | static PyObject *_wrap_wxPyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3704 | PyObject * _resultobj; | |
3705 | wxPyShape * _result; | |
3706 | wxPyLineShape * _arg0; | |
3707 | PyObject * _argo0 = 0; | |
3708 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
3709 | |
3710 | self = self; | |
3711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetFrom",_kwnames,&_argo0)) | |
3712 | return NULL; | |
3713 | if (_argo0) { | |
3714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetFrom. Expected _wxPyLineShape_p."); | |
3717 | return NULL; | |
3718 | } | |
3719 | } | |
3720 | { | |
3721 | wxPy_BEGIN_ALLOW_THREADS; | |
3722 | _result = (wxPyShape *)wxPyLineShape_GetFrom(_arg0); | |
3723 | ||
3724 | wxPy_END_ALLOW_THREADS; | |
9416aa89 | 3725 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
3726 | return _resultobj; |
3727 | } | |
3728 | ||
3729 | #define wxPyLineShape_GetLabelPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLabelPosition(_swigarg0,_swigarg1,_swigarg2)) | |
3730 | static PyObject *_wrap_wxPyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3731 | PyObject * _resultobj; | |
3732 | wxPyLineShape * _arg0; | |
3733 | int _arg1; | |
3734 | double * _arg2; | |
3735 | double temp; | |
3736 | double * _arg3; | |
3737 | double temp0; | |
3738 | PyObject * _argo0 = 0; | |
3739 | char *_kwnames[] = { "self","position", NULL }; | |
3740 | ||
3741 | self = self; | |
3742 | { | |
3743 | _arg2 = &temp; | |
3744 | } | |
3745 | { | |
3746 | _arg3 = &temp0; | |
3747 | } | |
3748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_GetLabelPosition",_kwnames,&_argo0,&_arg1)) | |
3749 | return NULL; | |
3750 | if (_argo0) { | |
3751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetLabelPosition. Expected _wxPyLineShape_p."); | |
3754 | return NULL; | |
3755 | } | |
3756 | } | |
3757 | { | |
3758 | wxPy_BEGIN_ALLOW_THREADS; | |
3759 | wxPyLineShape_GetLabelPosition(_arg0,_arg1,_arg2,_arg3); | |
3760 | ||
3761 | wxPy_END_ALLOW_THREADS; | |
3762 | } Py_INCREF(Py_None); | |
3763 | _resultobj = Py_None; | |
3764 | { | |
3765 | PyObject *o; | |
3766 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3767 | _resultobj = t_output_helper(_resultobj, o); | |
3768 | } | |
3769 | { | |
3770 | PyObject *o; | |
3771 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3772 | _resultobj = t_output_helper(_resultobj, o); | |
3773 | } | |
3774 | return _resultobj; | |
3775 | } | |
3776 | ||
3777 | #define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0)) | |
3778 | static PyObject *_wrap_wxPyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3779 | PyObject * _resultobj; | |
3780 | wxPoint * _result; | |
3781 | wxPyLineShape * _arg0; | |
3782 | wxPyShape * _arg1; | |
3783 | PyObject * _argo0 = 0; | |
3784 | PyObject * _argo1 = 0; | |
3785 | char *_kwnames[] = { "self","shape", NULL }; | |
3786 | char _ptemp[128]; | |
3787 | ||
3788 | self = self; | |
3789 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_GetNextControlPoint",_kwnames,&_argo0,&_argo1)) | |
3790 | return NULL; | |
3791 | if (_argo0) { | |
3792 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3793 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetNextControlPoint. Expected _wxPyLineShape_p."); | |
3795 | return NULL; | |
3796 | } | |
3797 | } | |
3798 | if (_argo1) { | |
3799 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3800 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_GetNextControlPoint. Expected _wxPyShape_p."); | |
3802 | return NULL; | |
3803 | } | |
3804 | } | |
3805 | { | |
3806 | wxPy_BEGIN_ALLOW_THREADS; | |
3807 | _result = (wxPoint *)wxPyLineShape_GetNextControlPoint(_arg0,_arg1); | |
3808 | ||
3809 | wxPy_END_ALLOW_THREADS; | |
3810 | } if (_result) { | |
3811 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
3812 | _resultobj = Py_BuildValue("s",_ptemp); | |
3813 | } else { | |
3814 | Py_INCREF(Py_None); | |
3815 | _resultobj = Py_None; | |
3816 | } | |
3817 | return _resultobj; | |
3818 | } | |
3819 | ||
3820 | #define wxPyLineShape_GetTo(_swigobj) (_swigobj->GetTo()) | |
3821 | static PyObject *_wrap_wxPyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3822 | PyObject * _resultobj; | |
3823 | wxPyShape * _result; | |
3824 | wxPyLineShape * _arg0; | |
3825 | PyObject * _argo0 = 0; | |
3826 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
3827 | |
3828 | self = self; | |
3829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetTo",_kwnames,&_argo0)) | |
3830 | return NULL; | |
3831 | if (_argo0) { | |
3832 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3833 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetTo. Expected _wxPyLineShape_p."); | |
3835 | return NULL; | |
3836 | } | |
3837 | } | |
3838 | { | |
3839 | wxPy_BEGIN_ALLOW_THREADS; | |
3840 | _result = (wxPyShape *)wxPyLineShape_GetTo(_arg0); | |
3841 | ||
3842 | wxPy_END_ALLOW_THREADS; | |
9416aa89 | 3843 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
3844 | return _resultobj; |
3845 | } | |
3846 | ||
3847 | #define wxPyLineShape_Initialise(_swigobj) (_swigobj->Initialise()) | |
3848 | static PyObject *_wrap_wxPyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3849 | PyObject * _resultobj; | |
3850 | wxPyLineShape * _arg0; | |
3851 | PyObject * _argo0 = 0; | |
3852 | char *_kwnames[] = { "self", NULL }; | |
3853 | ||
3854 | self = self; | |
3855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Initialise",_kwnames,&_argo0)) | |
3856 | return NULL; | |
3857 | if (_argo0) { | |
3858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Initialise. Expected _wxPyLineShape_p."); | |
3861 | return NULL; | |
3862 | } | |
3863 | } | |
3864 | { | |
3865 | wxPy_BEGIN_ALLOW_THREADS; | |
3866 | wxPyLineShape_Initialise(_arg0); | |
3867 | ||
3868 | wxPy_END_ALLOW_THREADS; | |
3869 | } Py_INCREF(Py_None); | |
3870 | _resultobj = Py_None; | |
3871 | return _resultobj; | |
3872 | } | |
3873 | ||
3874 | #define wxPyLineShape_InsertLineControlPoint(_swigobj,_swigarg0) (_swigobj->InsertLineControlPoint(_swigarg0)) | |
3875 | static PyObject *_wrap_wxPyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3876 | PyObject * _resultobj; | |
3877 | wxPyLineShape * _arg0; | |
3878 | wxDC * _arg1; | |
3879 | PyObject * _argo0 = 0; | |
3880 | PyObject * _argo1 = 0; | |
3881 | char *_kwnames[] = { "self","dc", NULL }; | |
3882 | ||
3883 | self = self; | |
3884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_InsertLineControlPoint",_kwnames,&_argo0,&_argo1)) | |
3885 | return NULL; | |
3886 | if (_argo0) { | |
3887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_InsertLineControlPoint. Expected _wxPyLineShape_p."); | |
3890 | return NULL; | |
3891 | } | |
3892 | } | |
3893 | if (_argo1) { | |
3894 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3895 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_InsertLineControlPoint. Expected _wxDC_p."); | |
3897 | return NULL; | |
3898 | } | |
3899 | } | |
3900 | { | |
3901 | wxPy_BEGIN_ALLOW_THREADS; | |
3902 | wxPyLineShape_InsertLineControlPoint(_arg0,_arg1); | |
3903 | ||
3904 | wxPy_END_ALLOW_THREADS; | |
3905 | } Py_INCREF(Py_None); | |
3906 | _resultobj = Py_None; | |
3907 | return _resultobj; | |
3908 | } | |
3909 | ||
3910 | #define wxPyLineShape_IsEnd(_swigobj,_swigarg0) (_swigobj->IsEnd(_swigarg0)) | |
3911 | static PyObject *_wrap_wxPyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3912 | PyObject * _resultobj; | |
3913 | bool _result; | |
3914 | wxPyLineShape * _arg0; | |
3915 | wxPyShape * _arg1; | |
3916 | PyObject * _argo0 = 0; | |
3917 | PyObject * _argo1 = 0; | |
3918 | char *_kwnames[] = { "self","shape", NULL }; | |
3919 | ||
3920 | self = self; | |
3921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_IsEnd",_kwnames,&_argo0,&_argo1)) | |
3922 | return NULL; | |
3923 | if (_argo0) { | |
3924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsEnd. Expected _wxPyLineShape_p."); | |
3927 | return NULL; | |
3928 | } | |
3929 | } | |
3930 | if (_argo1) { | |
3931 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3932 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_IsEnd. Expected _wxPyShape_p."); | |
3934 | return NULL; | |
3935 | } | |
3936 | } | |
3937 | { | |
3938 | wxPy_BEGIN_ALLOW_THREADS; | |
3939 | _result = (bool )wxPyLineShape_IsEnd(_arg0,_arg1); | |
3940 | ||
3941 | wxPy_END_ALLOW_THREADS; | |
3942 | } _resultobj = Py_BuildValue("i",_result); | |
3943 | return _resultobj; | |
3944 | } | |
3945 | ||
3946 | #define wxPyLineShape_IsSpline(_swigobj) (_swigobj->IsSpline()) | |
3947 | static PyObject *_wrap_wxPyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3948 | PyObject * _resultobj; | |
3949 | bool _result; | |
3950 | wxPyLineShape * _arg0; | |
3951 | PyObject * _argo0 = 0; | |
3952 | char *_kwnames[] = { "self", NULL }; | |
3953 | ||
3954 | self = self; | |
3955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_IsSpline",_kwnames,&_argo0)) | |
3956 | return NULL; | |
3957 | if (_argo0) { | |
3958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsSpline. Expected _wxPyLineShape_p."); | |
3961 | return NULL; | |
3962 | } | |
3963 | } | |
3964 | { | |
3965 | wxPy_BEGIN_ALLOW_THREADS; | |
3966 | _result = (bool )wxPyLineShape_IsSpline(_arg0); | |
3967 | ||
3968 | wxPy_END_ALLOW_THREADS; | |
3969 | } _resultobj = Py_BuildValue("i",_result); | |
3970 | return _resultobj; | |
3971 | } | |
3972 | ||
3973 | #define wxPyLineShape_MakeLineControlPoints(_swigobj,_swigarg0) (_swigobj->MakeLineControlPoints(_swigarg0)) | |
3974 | static PyObject *_wrap_wxPyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3975 | PyObject * _resultobj; | |
3976 | wxPyLineShape * _arg0; | |
3977 | int _arg1; | |
3978 | PyObject * _argo0 = 0; | |
3979 | char *_kwnames[] = { "self","n", NULL }; | |
3980 | ||
3981 | self = self; | |
3982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_MakeLineControlPoints",_kwnames,&_argo0,&_arg1)) | |
3983 | return NULL; | |
3984 | if (_argo0) { | |
3985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_MakeLineControlPoints. Expected _wxPyLineShape_p."); | |
3988 | return NULL; | |
3989 | } | |
3990 | } | |
3991 | { | |
3992 | wxPy_BEGIN_ALLOW_THREADS; | |
3993 | wxPyLineShape_MakeLineControlPoints(_arg0,_arg1); | |
3994 | ||
3995 | wxPy_END_ALLOW_THREADS; | |
3996 | } Py_INCREF(Py_None); | |
3997 | _resultobj = Py_None; | |
3998 | return _resultobj; | |
3999 | } | |
4000 | ||
9416aa89 RD |
4001 | static PyObject * wxPyLineShape_GetLineControlPoints(wxPyLineShape *self) { |
4002 | wxList* list = self->GetLineControlPoints(); | |
4003 | return wxPy_ConvertList(list, "wxPyControlPoint"); | |
4004 | } | |
4005 | static PyObject *_wrap_wxPyLineShape_GetLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4006 | PyObject * _resultobj; | |
4007 | PyObject * _result; | |
4008 | wxPyLineShape * _arg0; | |
4009 | PyObject * _argo0 = 0; | |
4010 | char *_kwnames[] = { "self", NULL }; | |
4011 | ||
4012 | self = self; | |
4013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetLineControlPoints",_kwnames,&_argo0)) | |
4014 | return NULL; | |
4015 | if (_argo0) { | |
4016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetLineControlPoints. Expected _wxPyLineShape_p."); | |
4019 | return NULL; | |
4020 | } | |
4021 | } | |
4022 | { | |
4023 | wxPy_BEGIN_ALLOW_THREADS; | |
4024 | _result = (PyObject *)wxPyLineShape_GetLineControlPoints(_arg0); | |
4025 | ||
4026 | wxPy_END_ALLOW_THREADS; | |
4027 | }{ | |
4028 | _resultobj = _result; | |
4029 | } | |
4030 | return _resultobj; | |
4031 | } | |
4032 | ||
e91a9dfc RD |
4033 | #define wxPyLineShape_SetAttachmentFrom(_swigobj,_swigarg0) (_swigobj->SetAttachmentFrom(_swigarg0)) |
4034 | static PyObject *_wrap_wxPyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4035 | PyObject * _resultobj; | |
4036 | wxPyLineShape * _arg0; | |
4037 | int _arg1; | |
4038 | PyObject * _argo0 = 0; | |
4039 | char *_kwnames[] = { "self","fromAttach", NULL }; | |
4040 | ||
4041 | self = self; | |
4042 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentFrom",_kwnames,&_argo0,&_arg1)) | |
4043 | return NULL; | |
4044 | if (_argo0) { | |
4045 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4046 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentFrom. Expected _wxPyLineShape_p."); | |
4048 | return NULL; | |
4049 | } | |
4050 | } | |
4051 | { | |
4052 | wxPy_BEGIN_ALLOW_THREADS; | |
4053 | wxPyLineShape_SetAttachmentFrom(_arg0,_arg1); | |
4054 | ||
4055 | wxPy_END_ALLOW_THREADS; | |
4056 | } Py_INCREF(Py_None); | |
4057 | _resultobj = Py_None; | |
4058 | return _resultobj; | |
4059 | } | |
4060 | ||
4061 | #define wxPyLineShape_SetAttachments(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachments(_swigarg0,_swigarg1)) | |
4062 | static PyObject *_wrap_wxPyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4063 | PyObject * _resultobj; | |
4064 | wxPyLineShape * _arg0; | |
4065 | int _arg1; | |
4066 | int _arg2; | |
4067 | PyObject * _argo0 = 0; | |
4068 | char *_kwnames[] = { "self","fromAttach","toAttach", NULL }; | |
4069 | ||
4070 | self = self; | |
4071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyLineShape_SetAttachments",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4072 | return NULL; | |
4073 | if (_argo0) { | |
4074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachments. Expected _wxPyLineShape_p."); | |
4077 | return NULL; | |
4078 | } | |
4079 | } | |
4080 | { | |
4081 | wxPy_BEGIN_ALLOW_THREADS; | |
4082 | wxPyLineShape_SetAttachments(_arg0,_arg1,_arg2); | |
4083 | ||
4084 | wxPy_END_ALLOW_THREADS; | |
4085 | } Py_INCREF(Py_None); | |
4086 | _resultobj = Py_None; | |
4087 | return _resultobj; | |
4088 | } | |
4089 | ||
4090 | #define wxPyLineShape_SetAttachmentTo(_swigobj,_swigarg0) (_swigobj->SetAttachmentTo(_swigarg0)) | |
4091 | static PyObject *_wrap_wxPyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4092 | PyObject * _resultobj; | |
4093 | wxPyLineShape * _arg0; | |
4094 | int _arg1; | |
4095 | PyObject * _argo0 = 0; | |
4096 | char *_kwnames[] = { "self","toAttach", NULL }; | |
4097 | ||
4098 | self = self; | |
4099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentTo",_kwnames,&_argo0,&_arg1)) | |
4100 | return NULL; | |
4101 | if (_argo0) { | |
4102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentTo. Expected _wxPyLineShape_p."); | |
4105 | return NULL; | |
4106 | } | |
4107 | } | |
4108 | { | |
4109 | wxPy_BEGIN_ALLOW_THREADS; | |
4110 | wxPyLineShape_SetAttachmentTo(_arg0,_arg1); | |
4111 | ||
4112 | wxPy_END_ALLOW_THREADS; | |
4113 | } Py_INCREF(Py_None); | |
4114 | _resultobj = Py_None; | |
4115 | return _resultobj; | |
4116 | } | |
4117 | ||
4118 | #define wxPyLineShape_SetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4119 | static PyObject *_wrap_wxPyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4120 | PyObject * _resultobj; | |
4121 | wxPyLineShape * _arg0; | |
4122 | double _arg1; | |
4123 | double _arg2; | |
4124 | double _arg3; | |
4125 | double _arg4; | |
4126 | PyObject * _argo0 = 0; | |
4127 | char *_kwnames[] = { "self","x1","y1","x2","y2", NULL }; | |
4128 | ||
4129 | self = self; | |
4130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyLineShape_SetEnds",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4131 | return NULL; | |
4132 | if (_argo0) { | |
4133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetEnds. Expected _wxPyLineShape_p."); | |
4136 | return NULL; | |
4137 | } | |
4138 | } | |
4139 | { | |
4140 | wxPy_BEGIN_ALLOW_THREADS; | |
4141 | wxPyLineShape_SetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4142 | ||
4143 | wxPy_END_ALLOW_THREADS; | |
4144 | } Py_INCREF(Py_None); | |
4145 | _resultobj = Py_None; | |
4146 | return _resultobj; | |
4147 | } | |
4148 | ||
4149 | #define wxPyLineShape_SetFrom(_swigobj,_swigarg0) (_swigobj->SetFrom(_swigarg0)) | |
4150 | static PyObject *_wrap_wxPyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4151 | PyObject * _resultobj; | |
4152 | wxPyLineShape * _arg0; | |
4153 | wxPyShape * _arg1; | |
4154 | PyObject * _argo0 = 0; | |
4155 | PyObject * _argo1 = 0; | |
4156 | char *_kwnames[] = { "self","object", NULL }; | |
4157 | ||
4158 | self = self; | |
4159 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetFrom",_kwnames,&_argo0,&_argo1)) | |
4160 | return NULL; | |
4161 | if (_argo0) { | |
4162 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4163 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetFrom. Expected _wxPyLineShape_p."); | |
4165 | return NULL; | |
4166 | } | |
4167 | } | |
4168 | if (_argo1) { | |
4169 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4170 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetFrom. Expected _wxPyShape_p."); | |
4172 | return NULL; | |
4173 | } | |
4174 | } | |
4175 | { | |
4176 | wxPy_BEGIN_ALLOW_THREADS; | |
4177 | wxPyLineShape_SetFrom(_arg0,_arg1); | |
4178 | ||
4179 | wxPy_END_ALLOW_THREADS; | |
4180 | } Py_INCREF(Py_None); | |
4181 | _resultobj = Py_None; | |
4182 | return _resultobj; | |
4183 | } | |
4184 | ||
4185 | #define wxPyLineShape_SetIgnoreOffsets(_swigobj,_swigarg0) (_swigobj->SetIgnoreOffsets(_swigarg0)) | |
4186 | static PyObject *_wrap_wxPyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4187 | PyObject * _resultobj; | |
4188 | wxPyLineShape * _arg0; | |
4189 | bool _arg1; | |
4190 | PyObject * _argo0 = 0; | |
4191 | int tempbool1; | |
4192 | char *_kwnames[] = { "self","ignore", NULL }; | |
4193 | ||
4194 | self = self; | |
4195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetIgnoreOffsets",_kwnames,&_argo0,&tempbool1)) | |
4196 | return NULL; | |
4197 | if (_argo0) { | |
4198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetIgnoreOffsets. Expected _wxPyLineShape_p."); | |
4201 | return NULL; | |
4202 | } | |
4203 | } | |
4204 | _arg1 = (bool ) tempbool1; | |
4205 | { | |
4206 | wxPy_BEGIN_ALLOW_THREADS; | |
4207 | wxPyLineShape_SetIgnoreOffsets(_arg0,_arg1); | |
4208 | ||
4209 | wxPy_END_ALLOW_THREADS; | |
4210 | } Py_INCREF(Py_None); | |
4211 | _resultobj = Py_None; | |
4212 | return _resultobj; | |
4213 | } | |
4214 | ||
4215 | #define wxPyLineShape_SetSpline(_swigobj,_swigarg0) (_swigobj->SetSpline(_swigarg0)) | |
4216 | static PyObject *_wrap_wxPyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4217 | PyObject * _resultobj; | |
4218 | wxPyLineShape * _arg0; | |
4219 | bool _arg1; | |
4220 | PyObject * _argo0 = 0; | |
4221 | int tempbool1; | |
4222 | char *_kwnames[] = { "self","spline", NULL }; | |
4223 | ||
4224 | self = self; | |
4225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetSpline",_kwnames,&_argo0,&tempbool1)) | |
4226 | return NULL; | |
4227 | if (_argo0) { | |
4228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetSpline. Expected _wxPyLineShape_p."); | |
4231 | return NULL; | |
4232 | } | |
4233 | } | |
4234 | _arg1 = (bool ) tempbool1; | |
4235 | { | |
4236 | wxPy_BEGIN_ALLOW_THREADS; | |
4237 | wxPyLineShape_SetSpline(_arg0,_arg1); | |
4238 | ||
4239 | wxPy_END_ALLOW_THREADS; | |
4240 | } Py_INCREF(Py_None); | |
4241 | _resultobj = Py_None; | |
4242 | return _resultobj; | |
4243 | } | |
4244 | ||
4245 | #define wxPyLineShape_SetTo(_swigobj,_swigarg0) (_swigobj->SetTo(_swigarg0)) | |
4246 | static PyObject *_wrap_wxPyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4247 | PyObject * _resultobj; | |
4248 | wxPyLineShape * _arg0; | |
4249 | wxPyShape * _arg1; | |
4250 | PyObject * _argo0 = 0; | |
4251 | PyObject * _argo1 = 0; | |
4252 | char *_kwnames[] = { "self","object", NULL }; | |
4253 | ||
4254 | self = self; | |
4255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetTo",_kwnames,&_argo0,&_argo1)) | |
4256 | return NULL; | |
4257 | if (_argo0) { | |
4258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetTo. Expected _wxPyLineShape_p."); | |
4261 | return NULL; | |
4262 | } | |
4263 | } | |
4264 | if (_argo1) { | |
4265 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4266 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetTo. Expected _wxPyShape_p."); | |
4268 | return NULL; | |
4269 | } | |
4270 | } | |
4271 | { | |
4272 | wxPy_BEGIN_ALLOW_THREADS; | |
4273 | wxPyLineShape_SetTo(_arg0,_arg1); | |
4274 | ||
4275 | wxPy_END_ALLOW_THREADS; | |
4276 | } Py_INCREF(Py_None); | |
4277 | _resultobj = Py_None; | |
4278 | return _resultobj; | |
4279 | } | |
4280 | ||
4281 | #define wxPyLineShape_Straighten(_swigobj,_swigarg0) (_swigobj->Straighten(_swigarg0)) | |
4282 | static PyObject *_wrap_wxPyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4283 | PyObject * _resultobj; | |
4284 | wxPyLineShape * _arg0; | |
4285 | wxDC * _arg1 = (wxDC *) NULL; | |
4286 | PyObject * _argo0 = 0; | |
4287 | PyObject * _argo1 = 0; | |
4288 | char *_kwnames[] = { "self","dc", NULL }; | |
4289 | ||
4290 | self = self; | |
4291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyLineShape_Straighten",_kwnames,&_argo0,&_argo1)) | |
4292 | return NULL; | |
4293 | if (_argo0) { | |
4294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Straighten. Expected _wxPyLineShape_p."); | |
4297 | return NULL; | |
4298 | } | |
4299 | } | |
4300 | if (_argo1) { | |
4301 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4302 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_Straighten. Expected _wxDC_p."); | |
4304 | return NULL; | |
4305 | } | |
4306 | } | |
4307 | { | |
4308 | wxPy_BEGIN_ALLOW_THREADS; | |
4309 | wxPyLineShape_Straighten(_arg0,_arg1); | |
4310 | ||
4311 | wxPy_END_ALLOW_THREADS; | |
4312 | } Py_INCREF(Py_None); | |
4313 | _resultobj = Py_None; | |
4314 | return _resultobj; | |
4315 | } | |
4316 | ||
4317 | #define wxPyLineShape_Unlink(_swigobj) (_swigobj->Unlink()) | |
4318 | static PyObject *_wrap_wxPyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4319 | PyObject * _resultobj; | |
4320 | wxPyLineShape * _arg0; | |
4321 | PyObject * _argo0 = 0; | |
4322 | char *_kwnames[] = { "self", NULL }; | |
4323 | ||
4324 | self = self; | |
4325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Unlink",_kwnames,&_argo0)) | |
4326 | return NULL; | |
4327 | if (_argo0) { | |
4328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Unlink. Expected _wxPyLineShape_p."); | |
4331 | return NULL; | |
4332 | } | |
4333 | } | |
4334 | { | |
4335 | wxPy_BEGIN_ALLOW_THREADS; | |
4336 | wxPyLineShape_Unlink(_arg0); | |
4337 | ||
4338 | wxPy_END_ALLOW_THREADS; | |
4339 | } Py_INCREF(Py_None); | |
4340 | _resultobj = Py_None; | |
4341 | return _resultobj; | |
4342 | } | |
4343 | ||
4344 | #define wxPyLineShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4345 | static PyObject *_wrap_wxPyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4346 | PyObject * _resultobj; | |
4347 | wxPyLineShape * _arg0; | |
4348 | wxDC * _arg1; | |
4349 | PyObject * _argo0 = 0; | |
4350 | PyObject * _argo1 = 0; | |
4351 | char *_kwnames[] = { "self","dc", NULL }; | |
4352 | ||
4353 | self = self; | |
4354 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4355 | return NULL; | |
4356 | if (_argo0) { | |
4357 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4358 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4359 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDraw. Expected _wxPyLineShape_p."); | |
4360 | return NULL; | |
4361 | } | |
4362 | } | |
4363 | if (_argo1) { | |
4364 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4365 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDraw. Expected _wxDC_p."); | |
4367 | return NULL; | |
4368 | } | |
4369 | } | |
4370 | { | |
4371 | wxPy_BEGIN_ALLOW_THREADS; | |
4372 | wxPyLineShape_base_OnDraw(_arg0,*_arg1); | |
4373 | ||
4374 | wxPy_END_ALLOW_THREADS; | |
4375 | } Py_INCREF(Py_None); | |
4376 | _resultobj = Py_None; | |
4377 | return _resultobj; | |
4378 | } | |
4379 | ||
4380 | #define wxPyLineShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4381 | static PyObject *_wrap_wxPyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4382 | PyObject * _resultobj; | |
4383 | wxPyLineShape * _arg0; | |
4384 | wxDC * _arg1; | |
4385 | PyObject * _argo0 = 0; | |
4386 | PyObject * _argo1 = 0; | |
4387 | char *_kwnames[] = { "self","dc", NULL }; | |
4388 | ||
4389 | self = self; | |
4390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4391 | return NULL; | |
4392 | if (_argo0) { | |
4393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawContents. Expected _wxPyLineShape_p."); | |
4396 | return NULL; | |
4397 | } | |
4398 | } | |
4399 | if (_argo1) { | |
4400 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4401 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawContents. Expected _wxDC_p."); | |
4403 | return NULL; | |
4404 | } | |
4405 | } | |
4406 | { | |
4407 | wxPy_BEGIN_ALLOW_THREADS; | |
4408 | wxPyLineShape_base_OnDrawContents(_arg0,*_arg1); | |
4409 | ||
4410 | wxPy_END_ALLOW_THREADS; | |
4411 | } Py_INCREF(Py_None); | |
4412 | _resultobj = Py_None; | |
4413 | return _resultobj; | |
4414 | } | |
4415 | ||
4416 | #define wxPyLineShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4417 | static PyObject *_wrap_wxPyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4418 | PyObject * _resultobj; | |
4419 | wxPyLineShape * _arg0; | |
4420 | wxDC * _arg1; | |
4421 | bool _arg2 = (bool ) FALSE; | |
4422 | PyObject * _argo0 = 0; | |
4423 | PyObject * _argo1 = 0; | |
4424 | int tempbool2 = (int) FALSE; | |
4425 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
4426 | ||
4427 | self = self; | |
4428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4429 | return NULL; | |
4430 | if (_argo0) { | |
4431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawBranches. Expected _wxPyLineShape_p."); | |
4434 | return NULL; | |
4435 | } | |
4436 | } | |
4437 | if (_argo1) { | |
4438 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4439 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4441 | return NULL; | |
4442 | } | |
4443 | } | |
4444 | _arg2 = (bool ) tempbool2; | |
4445 | { | |
4446 | wxPy_BEGIN_ALLOW_THREADS; | |
4447 | wxPyLineShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4448 | ||
4449 | wxPy_END_ALLOW_THREADS; | |
4450 | } Py_INCREF(Py_None); | |
4451 | _resultobj = Py_None; | |
4452 | return _resultobj; | |
4453 | } | |
4454 | ||
4455 | #define wxPyLineShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4456 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4457 | PyObject * _resultobj; | |
4458 | wxPyLineShape * _arg0; | |
4459 | wxDC * _arg1; | |
4460 | PyObject * _argo0 = 0; | |
4461 | PyObject * _argo1 = 0; | |
4462 | char *_kwnames[] = { "self","dc", NULL }; | |
4463 | ||
4464 | self = self; | |
4465 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4466 | return NULL; | |
4467 | if (_argo0) { | |
4468 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4469 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4470 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMoveLinks. Expected _wxPyLineShape_p."); | |
4471 | return NULL; | |
4472 | } | |
4473 | } | |
4474 | if (_argo1) { | |
4475 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4476 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4478 | return NULL; | |
4479 | } | |
4480 | } | |
4481 | { | |
4482 | wxPy_BEGIN_ALLOW_THREADS; | |
4483 | wxPyLineShape_base_OnMoveLinks(_arg0,*_arg1); | |
4484 | ||
4485 | wxPy_END_ALLOW_THREADS; | |
4486 | } Py_INCREF(Py_None); | |
4487 | _resultobj = Py_None; | |
4488 | return _resultobj; | |
4489 | } | |
4490 | ||
4491 | #define wxPyLineShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4492 | static PyObject *_wrap_wxPyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4493 | PyObject * _resultobj; | |
4494 | wxPyLineShape * _arg0; | |
4495 | wxDC * _arg1; | |
4496 | PyObject * _argo0 = 0; | |
4497 | PyObject * _argo1 = 0; | |
4498 | char *_kwnames[] = { "self","dc", NULL }; | |
4499 | ||
4500 | self = self; | |
4501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4502 | return NULL; | |
4503 | if (_argo0) { | |
4504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnErase. Expected _wxPyLineShape_p."); | |
4507 | return NULL; | |
4508 | } | |
4509 | } | |
4510 | if (_argo1) { | |
4511 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4512 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnErase. Expected _wxDC_p."); | |
4514 | return NULL; | |
4515 | } | |
4516 | } | |
4517 | { | |
4518 | wxPy_BEGIN_ALLOW_THREADS; | |
4519 | wxPyLineShape_base_OnErase(_arg0,*_arg1); | |
4520 | ||
4521 | wxPy_END_ALLOW_THREADS; | |
4522 | } Py_INCREF(Py_None); | |
4523 | _resultobj = Py_None; | |
4524 | return _resultobj; | |
4525 | } | |
4526 | ||
4527 | #define wxPyLineShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4528 | static PyObject *_wrap_wxPyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4529 | PyObject * _resultobj; | |
4530 | wxPyLineShape * _arg0; | |
4531 | wxDC * _arg1; | |
4532 | PyObject * _argo0 = 0; | |
4533 | PyObject * _argo1 = 0; | |
4534 | char *_kwnames[] = { "self","dc", NULL }; | |
4535 | ||
4536 | self = self; | |
4537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4538 | return NULL; | |
4539 | if (_argo0) { | |
4540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseContents. Expected _wxPyLineShape_p."); | |
4543 | return NULL; | |
4544 | } | |
4545 | } | |
4546 | if (_argo1) { | |
4547 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4548 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseContents. Expected _wxDC_p."); | |
4550 | return NULL; | |
4551 | } | |
4552 | } | |
4553 | { | |
4554 | wxPy_BEGIN_ALLOW_THREADS; | |
4555 | wxPyLineShape_base_OnEraseContents(_arg0,*_arg1); | |
4556 | ||
4557 | wxPy_END_ALLOW_THREADS; | |
4558 | } Py_INCREF(Py_None); | |
4559 | _resultobj = Py_None; | |
4560 | return _resultobj; | |
4561 | } | |
4562 | ||
4563 | #define wxPyLineShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4564 | static PyObject *_wrap_wxPyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4565 | PyObject * _resultobj; | |
4566 | wxPyLineShape * _arg0; | |
4567 | wxDC * _arg1; | |
4568 | PyObject * _argo0 = 0; | |
4569 | PyObject * _argo1 = 0; | |
4570 | char *_kwnames[] = { "self","dc", NULL }; | |
4571 | ||
4572 | self = self; | |
4573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4574 | return NULL; | |
4575 | if (_argo0) { | |
4576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnHighlight. Expected _wxPyLineShape_p."); | |
4579 | return NULL; | |
4580 | } | |
4581 | } | |
4582 | if (_argo1) { | |
4583 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4584 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnHighlight. Expected _wxDC_p."); | |
4586 | return NULL; | |
4587 | } | |
4588 | } | |
4589 | { | |
4590 | wxPy_BEGIN_ALLOW_THREADS; | |
4591 | wxPyLineShape_base_OnHighlight(_arg0,*_arg1); | |
4592 | ||
4593 | wxPy_END_ALLOW_THREADS; | |
4594 | } Py_INCREF(Py_None); | |
4595 | _resultobj = Py_None; | |
4596 | return _resultobj; | |
4597 | } | |
4598 | ||
4599 | #define wxPyLineShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4600 | static PyObject *_wrap_wxPyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4601 | PyObject * _resultobj; | |
4602 | wxPyLineShape * _arg0; | |
4603 | double _arg1; | |
4604 | double _arg2; | |
4605 | int _arg3 = (int ) 0; | |
4606 | int _arg4 = (int ) 0; | |
4607 | PyObject * _argo0 = 0; | |
4608 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4609 | ||
4610 | self = self; | |
4611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4612 | return NULL; | |
4613 | if (_argo0) { | |
4614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnLeftClick. Expected _wxPyLineShape_p."); | |
4617 | return NULL; | |
4618 | } | |
4619 | } | |
4620 | { | |
4621 | wxPy_BEGIN_ALLOW_THREADS; | |
4622 | wxPyLineShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4623 | ||
4624 | wxPy_END_ALLOW_THREADS; | |
4625 | } Py_INCREF(Py_None); | |
4626 | _resultobj = Py_None; | |
4627 | return _resultobj; | |
4628 | } | |
4629 | ||
4630 | #define wxPyLineShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4631 | static PyObject *_wrap_wxPyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4632 | PyObject * _resultobj; | |
4633 | wxPyLineShape * _arg0; | |
4634 | double _arg1; | |
4635 | double _arg2; | |
4636 | int _arg3 = (int ) 0; | |
4637 | int _arg4 = (int ) 0; | |
4638 | PyObject * _argo0 = 0; | |
4639 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4640 | ||
4641 | self = self; | |
4642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4643 | return NULL; | |
4644 | if (_argo0) { | |
4645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnLeftDoubleClick. Expected _wxPyLineShape_p."); | |
4648 | return NULL; | |
4649 | } | |
4650 | } | |
4651 | { | |
4652 | wxPy_BEGIN_ALLOW_THREADS; | |
4653 | wxPyLineShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4654 | ||
4655 | wxPy_END_ALLOW_THREADS; | |
4656 | } Py_INCREF(Py_None); | |
4657 | _resultobj = Py_None; | |
4658 | return _resultobj; | |
4659 | } | |
4660 | ||
4661 | #define wxPyLineShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4662 | static PyObject *_wrap_wxPyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4663 | PyObject * _resultobj; | |
4664 | wxPyLineShape * _arg0; | |
4665 | double _arg1; | |
4666 | double _arg2; | |
4667 | int _arg3 = (int ) 0; | |
4668 | int _arg4 = (int ) 0; | |
4669 | PyObject * _argo0 = 0; | |
4670 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4671 | ||
4672 | self = self; | |
4673 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4674 | return NULL; | |
4675 | if (_argo0) { | |
4676 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4677 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4678 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnRightClick. Expected _wxPyLineShape_p."); | |
4679 | return NULL; | |
4680 | } | |
4681 | } | |
4682 | { | |
4683 | wxPy_BEGIN_ALLOW_THREADS; | |
4684 | wxPyLineShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4685 | ||
4686 | wxPy_END_ALLOW_THREADS; | |
4687 | } Py_INCREF(Py_None); | |
4688 | _resultobj = Py_None; | |
4689 | return _resultobj; | |
4690 | } | |
4691 | ||
4692 | #define wxPyLineShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4693 | static PyObject *_wrap_wxPyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4694 | PyObject * _resultobj; | |
4695 | wxPyLineShape * _arg0; | |
4696 | double _arg1; | |
4697 | double _arg2; | |
4698 | PyObject * _argo0 = 0; | |
4699 | char *_kwnames[] = { "self","x","y", NULL }; | |
4700 | ||
4701 | self = self; | |
4702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4703 | return NULL; | |
4704 | if (_argo0) { | |
4705 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4706 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSize. Expected _wxPyLineShape_p."); | |
4708 | return NULL; | |
4709 | } | |
4710 | } | |
4711 | { | |
4712 | wxPy_BEGIN_ALLOW_THREADS; | |
4713 | wxPyLineShape_base_OnSize(_arg0,_arg1,_arg2); | |
4714 | ||
4715 | wxPy_END_ALLOW_THREADS; | |
4716 | } Py_INCREF(Py_None); | |
4717 | _resultobj = Py_None; | |
4718 | return _resultobj; | |
4719 | } | |
4720 | ||
4721 | #define wxPyLineShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4722 | static PyObject *_wrap_wxPyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4723 | PyObject * _resultobj; | |
4724 | bool _result; | |
4725 | wxPyLineShape * _arg0; | |
4726 | wxDC * _arg1; | |
4727 | double _arg2; | |
4728 | double _arg3; | |
4729 | double _arg4; | |
4730 | double _arg5; | |
4731 | bool _arg6 = (bool ) TRUE; | |
4732 | PyObject * _argo0 = 0; | |
4733 | PyObject * _argo1 = 0; | |
4734 | int tempbool6 = (int) TRUE; | |
4735 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4736 | ||
4737 | self = self; | |
4738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4739 | return NULL; | |
4740 | if (_argo0) { | |
4741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePre. Expected _wxPyLineShape_p."); | |
4744 | return NULL; | |
4745 | } | |
4746 | } | |
4747 | if (_argo1) { | |
4748 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4749 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePre. Expected _wxDC_p."); | |
4751 | return NULL; | |
4752 | } | |
4753 | } | |
4754 | _arg6 = (bool ) tempbool6; | |
4755 | { | |
4756 | wxPy_BEGIN_ALLOW_THREADS; | |
4757 | _result = (bool )wxPyLineShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4758 | ||
4759 | wxPy_END_ALLOW_THREADS; | |
4760 | } _resultobj = Py_BuildValue("i",_result); | |
4761 | return _resultobj; | |
4762 | } | |
4763 | ||
4764 | #define wxPyLineShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4765 | static PyObject *_wrap_wxPyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4766 | PyObject * _resultobj; | |
4767 | wxPyLineShape * _arg0; | |
4768 | wxDC * _arg1; | |
4769 | double _arg2; | |
4770 | double _arg3; | |
4771 | double _arg4; | |
4772 | double _arg5; | |
4773 | bool _arg6 = (bool ) TRUE; | |
4774 | PyObject * _argo0 = 0; | |
4775 | PyObject * _argo1 = 0; | |
4776 | int tempbool6 = (int) TRUE; | |
4777 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4778 | ||
4779 | self = self; | |
4780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4781 | return NULL; | |
4782 | if (_argo0) { | |
4783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePost. Expected _wxPyLineShape_p."); | |
4786 | return NULL; | |
4787 | } | |
4788 | } | |
4789 | if (_argo1) { | |
4790 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4791 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePost. Expected _wxDC_p."); | |
4793 | return NULL; | |
4794 | } | |
4795 | } | |
4796 | _arg6 = (bool ) tempbool6; | |
4797 | { | |
4798 | wxPy_BEGIN_ALLOW_THREADS; | |
4799 | wxPyLineShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4800 | ||
4801 | wxPy_END_ALLOW_THREADS; | |
4802 | } Py_INCREF(Py_None); | |
4803 | _resultobj = Py_None; | |
4804 | return _resultobj; | |
4805 | } | |
4806 | ||
4807 | #define wxPyLineShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4808 | static PyObject *_wrap_wxPyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4809 | PyObject * _resultobj; | |
4810 | wxPyLineShape * _arg0; | |
4811 | bool _arg1; | |
4812 | double _arg2; | |
4813 | double _arg3; | |
4814 | int _arg4 = (int ) 0; | |
4815 | int _arg5 = (int ) 0; | |
4816 | PyObject * _argo0 = 0; | |
4817 | int tempbool1; | |
4818 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4819 | ||
4820 | self = self; | |
4821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4822 | return NULL; | |
4823 | if (_argo0) { | |
4824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragLeft. Expected _wxPyLineShape_p."); | |
4827 | return NULL; | |
4828 | } | |
4829 | } | |
4830 | _arg1 = (bool ) tempbool1; | |
4831 | { | |
4832 | wxPy_BEGIN_ALLOW_THREADS; | |
4833 | wxPyLineShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4834 | ||
4835 | wxPy_END_ALLOW_THREADS; | |
4836 | } Py_INCREF(Py_None); | |
4837 | _resultobj = Py_None; | |
4838 | return _resultobj; | |
4839 | } | |
4840 | ||
4841 | #define wxPyLineShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4842 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4843 | PyObject * _resultobj; | |
4844 | wxPyLineShape * _arg0; | |
4845 | double _arg1; | |
4846 | double _arg2; | |
4847 | int _arg3 = (int ) 0; | |
4848 | int _arg4 = (int ) 0; | |
4849 | PyObject * _argo0 = 0; | |
4850 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4851 | ||
4852 | self = self; | |
4853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4854 | return NULL; | |
4855 | if (_argo0) { | |
4856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragLeft. Expected _wxPyLineShape_p."); | |
4859 | return NULL; | |
4860 | } | |
4861 | } | |
4862 | { | |
4863 | wxPy_BEGIN_ALLOW_THREADS; | |
4864 | wxPyLineShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4865 | ||
4866 | wxPy_END_ALLOW_THREADS; | |
4867 | } Py_INCREF(Py_None); | |
4868 | _resultobj = Py_None; | |
4869 | return _resultobj; | |
4870 | } | |
4871 | ||
4872 | #define wxPyLineShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4873 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4874 | PyObject * _resultobj; | |
4875 | wxPyLineShape * _arg0; | |
4876 | double _arg1; | |
4877 | double _arg2; | |
4878 | int _arg3 = (int ) 0; | |
4879 | int _arg4 = (int ) 0; | |
4880 | PyObject * _argo0 = 0; | |
4881 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4882 | ||
4883 | self = self; | |
4884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4885 | return NULL; | |
4886 | if (_argo0) { | |
4887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragLeft. Expected _wxPyLineShape_p."); | |
4890 | return NULL; | |
4891 | } | |
4892 | } | |
4893 | { | |
4894 | wxPy_BEGIN_ALLOW_THREADS; | |
4895 | wxPyLineShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4896 | ||
4897 | wxPy_END_ALLOW_THREADS; | |
4898 | } Py_INCREF(Py_None); | |
4899 | _resultobj = Py_None; | |
4900 | return _resultobj; | |
4901 | } | |
4902 | ||
4903 | #define wxPyLineShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4904 | static PyObject *_wrap_wxPyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4905 | PyObject * _resultobj; | |
4906 | wxPyLineShape * _arg0; | |
4907 | bool _arg1; | |
4908 | double _arg2; | |
4909 | double _arg3; | |
4910 | int _arg4 = (int ) 0; | |
4911 | int _arg5 = (int ) 0; | |
4912 | PyObject * _argo0 = 0; | |
4913 | int tempbool1; | |
4914 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4915 | ||
4916 | self = self; | |
4917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4918 | return NULL; | |
4919 | if (_argo0) { | |
4920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragRight. Expected _wxPyLineShape_p."); | |
4923 | return NULL; | |
4924 | } | |
4925 | } | |
4926 | _arg1 = (bool ) tempbool1; | |
4927 | { | |
4928 | wxPy_BEGIN_ALLOW_THREADS; | |
4929 | wxPyLineShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4930 | ||
4931 | wxPy_END_ALLOW_THREADS; | |
4932 | } Py_INCREF(Py_None); | |
4933 | _resultobj = Py_None; | |
4934 | return _resultobj; | |
4935 | } | |
4936 | ||
4937 | #define wxPyLineShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4938 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4939 | PyObject * _resultobj; | |
4940 | wxPyLineShape * _arg0; | |
4941 | double _arg1; | |
4942 | double _arg2; | |
4943 | int _arg3 = (int ) 0; | |
4944 | int _arg4 = (int ) 0; | |
4945 | PyObject * _argo0 = 0; | |
4946 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4947 | ||
4948 | self = self; | |
4949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4950 | return NULL; | |
4951 | if (_argo0) { | |
4952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragRight. Expected _wxPyLineShape_p."); | |
4955 | return NULL; | |
4956 | } | |
4957 | } | |
4958 | { | |
4959 | wxPy_BEGIN_ALLOW_THREADS; | |
4960 | wxPyLineShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4961 | ||
4962 | wxPy_END_ALLOW_THREADS; | |
4963 | } Py_INCREF(Py_None); | |
4964 | _resultobj = Py_None; | |
4965 | return _resultobj; | |
4966 | } | |
4967 | ||
4968 | #define wxPyLineShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4969 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4970 | PyObject * _resultobj; | |
4971 | wxPyLineShape * _arg0; | |
4972 | double _arg1; | |
4973 | double _arg2; | |
4974 | int _arg3 = (int ) 0; | |
4975 | int _arg4 = (int ) 0; | |
4976 | PyObject * _argo0 = 0; | |
4977 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4978 | ||
4979 | self = self; | |
4980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4981 | return NULL; | |
4982 | if (_argo0) { | |
4983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragRight. Expected _wxPyLineShape_p."); | |
4986 | return NULL; | |
4987 | } | |
4988 | } | |
4989 | { | |
4990 | wxPy_BEGIN_ALLOW_THREADS; | |
4991 | wxPyLineShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4992 | ||
4993 | wxPy_END_ALLOW_THREADS; | |
4994 | } Py_INCREF(Py_None); | |
4995 | _resultobj = Py_None; | |
4996 | return _resultobj; | |
4997 | } | |
4998 | ||
4999 | #define wxPyLineShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5000 | static PyObject *_wrap_wxPyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5001 | PyObject * _resultobj; | |
5002 | wxPyLineShape * _arg0; | |
5003 | wxDC * _arg1; | |
5004 | double _arg2; | |
5005 | double _arg3; | |
5006 | double _arg4; | |
5007 | double _arg5; | |
5008 | PyObject * _argo0 = 0; | |
5009 | PyObject * _argo1 = 0; | |
5010 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
5011 | ||
5012 | self = self; | |
5013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyLineShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5014 | return NULL; | |
5015 | if (_argo0) { | |
5016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawOutline. Expected _wxPyLineShape_p."); | |
5019 | return NULL; | |
5020 | } | |
5021 | } | |
5022 | if (_argo1) { | |
5023 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5024 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawOutline. Expected _wxDC_p."); | |
5026 | return NULL; | |
5027 | } | |
5028 | } | |
5029 | { | |
5030 | wxPy_BEGIN_ALLOW_THREADS; | |
5031 | wxPyLineShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
5032 | ||
5033 | wxPy_END_ALLOW_THREADS; | |
5034 | } Py_INCREF(Py_None); | |
5035 | _resultobj = Py_None; | |
5036 | return _resultobj; | |
5037 | } | |
5038 | ||
5039 | #define wxPyLineShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
5040 | static PyObject *_wrap_wxPyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5041 | PyObject * _resultobj; | |
5042 | wxPyLineShape * _arg0; | |
5043 | wxDC * _arg1; | |
5044 | PyObject * _argo0 = 0; | |
5045 | PyObject * _argo1 = 0; | |
5046 | char *_kwnames[] = { "self","dc", NULL }; | |
5047 | ||
5048 | self = self; | |
5049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
5050 | return NULL; | |
5051 | if (_argo0) { | |
5052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxPyLineShape_p."); | |
5055 | return NULL; | |
5056 | } | |
5057 | } | |
5058 | if (_argo1) { | |
5059 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5060 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
5062 | return NULL; | |
5063 | } | |
5064 | } | |
5065 | { | |
5066 | wxPy_BEGIN_ALLOW_THREADS; | |
5067 | wxPyLineShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
5068 | ||
5069 | wxPy_END_ALLOW_THREADS; | |
5070 | } Py_INCREF(Py_None); | |
5071 | _resultobj = Py_None; | |
5072 | return _resultobj; | |
5073 | } | |
5074 | ||
5075 | #define wxPyLineShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
5076 | static PyObject *_wrap_wxPyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5077 | PyObject * _resultobj; | |
5078 | wxPyLineShape * _arg0; | |
5079 | wxDC * _arg1; | |
5080 | PyObject * _argo0 = 0; | |
5081 | PyObject * _argo1 = 0; | |
5082 | char *_kwnames[] = { "self","dc", NULL }; | |
5083 | ||
5084 | self = self; | |
5085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
5086 | return NULL; | |
5087 | if (_argo0) { | |
5088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxPyLineShape_p."); | |
5091 | return NULL; | |
5092 | } | |
5093 | } | |
5094 | if (_argo1) { | |
5095 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5096 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5097 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
5098 | return NULL; | |
5099 | } | |
5100 | } | |
5101 | { | |
5102 | wxPy_BEGIN_ALLOW_THREADS; | |
5103 | wxPyLineShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
5104 | ||
5105 | wxPy_END_ALLOW_THREADS; | |
5106 | } Py_INCREF(Py_None); | |
5107 | _resultobj = Py_None; | |
5108 | return _resultobj; | |
5109 | } | |
5110 | ||
5111 | #define wxPyLineShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
5112 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5113 | PyObject * _resultobj; | |
5114 | wxPyLineShape * _arg0; | |
5115 | wxDC * _arg1; | |
5116 | bool _arg2 = (bool ) TRUE; | |
5117 | PyObject * _argo0 = 0; | |
5118 | PyObject * _argo1 = 0; | |
5119 | int tempbool2 = (int) TRUE; | |
5120 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
5121 | ||
5122 | self = self; | |
5123 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5124 | return NULL; | |
5125 | if (_argo0) { | |
5126 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5127 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5128 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMoveLink. Expected _wxPyLineShape_p."); | |
5129 | return NULL; | |
5130 | } | |
5131 | } | |
5132 | if (_argo1) { | |
5133 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5134 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMoveLink. Expected _wxDC_p."); | |
5136 | return NULL; | |
5137 | } | |
5138 | } | |
5139 | _arg2 = (bool ) tempbool2; | |
5140 | { | |
5141 | wxPy_BEGIN_ALLOW_THREADS; | |
5142 | wxPyLineShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
5143 | ||
5144 | wxPy_END_ALLOW_THREADS; | |
5145 | } Py_INCREF(Py_None); | |
5146 | _resultobj = Py_None; | |
5147 | return _resultobj; | |
5148 | } | |
5149 | ||
5150 | #define wxPyLineShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5151 | static PyObject *_wrap_wxPyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5152 | PyObject * _resultobj; | |
5153 | wxPyLineShape * _arg0; | |
2348eaee | 5154 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5155 | bool _arg2; |
5156 | double _arg3; | |
5157 | double _arg4; | |
5158 | int _arg5 = (int ) 0; | |
5159 | int _arg6 = (int ) 0; | |
5160 | PyObject * _argo0 = 0; | |
5161 | PyObject * _argo1 = 0; | |
5162 | int tempbool2; | |
5163 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5164 | ||
5165 | self = self; | |
5166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyLineShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5167 | return NULL; | |
5168 | if (_argo0) { | |
5169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyLineShape_p."); | |
5172 | return NULL; | |
5173 | } | |
5174 | } | |
5175 | if (_argo1) { | |
5176 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5177 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5179 | return NULL; |
5180 | } | |
5181 | } | |
5182 | _arg2 = (bool ) tempbool2; | |
5183 | { | |
5184 | wxPy_BEGIN_ALLOW_THREADS; | |
5185 | wxPyLineShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5186 | ||
5187 | wxPy_END_ALLOW_THREADS; | |
5188 | } Py_INCREF(Py_None); | |
5189 | _resultobj = Py_None; | |
5190 | return _resultobj; | |
5191 | } | |
5192 | ||
5193 | #define wxPyLineShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5194 | static PyObject *_wrap_wxPyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5195 | PyObject * _resultobj; | |
5196 | wxPyLineShape * _arg0; | |
2348eaee | 5197 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5198 | double _arg2; |
5199 | double _arg3; | |
5200 | int _arg4 = (int ) 0; | |
5201 | int _arg5 = (int ) 0; | |
5202 | PyObject * _argo0 = 0; | |
5203 | PyObject * _argo1 = 0; | |
5204 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5205 | ||
5206 | self = self; | |
5207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5208 | return NULL; | |
5209 | if (_argo0) { | |
5210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyLineShape_p."); | |
5213 | return NULL; | |
5214 | } | |
5215 | } | |
5216 | if (_argo1) { | |
5217 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5218 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5220 | return NULL; |
5221 | } | |
5222 | } | |
5223 | { | |
5224 | wxPy_BEGIN_ALLOW_THREADS; | |
5225 | wxPyLineShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5226 | ||
5227 | wxPy_END_ALLOW_THREADS; | |
5228 | } Py_INCREF(Py_None); | |
5229 | _resultobj = Py_None; | |
5230 | return _resultobj; | |
5231 | } | |
5232 | ||
5233 | #define wxPyLineShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5234 | static PyObject *_wrap_wxPyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5235 | PyObject * _resultobj; | |
5236 | wxPyLineShape * _arg0; | |
2348eaee | 5237 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5238 | double _arg2; |
5239 | double _arg3; | |
5240 | int _arg4 = (int ) 0; | |
5241 | int _arg5 = (int ) 0; | |
5242 | PyObject * _argo0 = 0; | |
5243 | PyObject * _argo1 = 0; | |
5244 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5245 | ||
5246 | self = self; | |
5247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5248 | return NULL; | |
5249 | if (_argo0) { | |
5250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyLineShape_p."); | |
5253 | return NULL; | |
5254 | } | |
5255 | } | |
5256 | if (_argo1) { | |
5257 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5258 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5260 | return NULL; |
5261 | } | |
5262 | } | |
5263 | { | |
5264 | wxPy_BEGIN_ALLOW_THREADS; | |
5265 | wxPyLineShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5266 | ||
5267 | wxPy_END_ALLOW_THREADS; | |
5268 | } Py_INCREF(Py_None); | |
5269 | _resultobj = Py_None; | |
5270 | return _resultobj; | |
5271 | } | |
5272 | ||
5273 | #define wxPyLineShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5274 | static PyObject *_wrap_wxPyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5275 | PyObject * _resultobj; | |
5276 | wxPyLineShape * _arg0; | |
5277 | double _arg1; | |
5278 | double _arg2; | |
5279 | PyObject * _argo0 = 0; | |
5280 | char *_kwnames[] = { "self","w","h", NULL }; | |
5281 | ||
5282 | self = self; | |
5283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5284 | return NULL; | |
5285 | if (_argo0) { | |
5286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginSize. Expected _wxPyLineShape_p."); | |
5289 | return NULL; | |
5290 | } | |
5291 | } | |
5292 | { | |
5293 | wxPy_BEGIN_ALLOW_THREADS; | |
5294 | wxPyLineShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5295 | ||
5296 | wxPy_END_ALLOW_THREADS; | |
5297 | } Py_INCREF(Py_None); | |
5298 | _resultobj = Py_None; | |
5299 | return _resultobj; | |
5300 | } | |
5301 | ||
5302 | #define wxPyLineShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5303 | static PyObject *_wrap_wxPyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5304 | PyObject * _resultobj; | |
5305 | wxPyLineShape * _arg0; | |
5306 | double _arg1; | |
5307 | double _arg2; | |
5308 | PyObject * _argo0 = 0; | |
5309 | char *_kwnames[] = { "self","w","h", NULL }; | |
5310 | ||
5311 | self = self; | |
5312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5313 | return NULL; | |
5314 | if (_argo0) { | |
5315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndSize. Expected _wxPyLineShape_p."); | |
5318 | return NULL; | |
5319 | } | |
5320 | } | |
5321 | { | |
5322 | wxPy_BEGIN_ALLOW_THREADS; | |
5323 | wxPyLineShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5324 | ||
5325 | wxPy_END_ALLOW_THREADS; | |
5326 | } Py_INCREF(Py_None); | |
5327 | _resultobj = Py_None; | |
5328 | return _resultobj; | |
5329 | } | |
5330 | ||
5331 | static void *SwigwxPyPolygonShapeTowxPyShape(void *ptr) { | |
5332 | wxPyPolygonShape *src; | |
5333 | wxPyShape *dest; | |
5334 | src = (wxPyPolygonShape *) ptr; | |
5335 | dest = (wxPyShape *) src; | |
5336 | return (void *) dest; | |
5337 | } | |
5338 | ||
5339 | static void *SwigwxPyPolygonShapeTowxPyShapeEvtHandler(void *ptr) { | |
5340 | wxPyPolygonShape *src; | |
5341 | wxPyShapeEvtHandler *dest; | |
5342 | src = (wxPyPolygonShape *) ptr; | |
5343 | dest = (wxPyShapeEvtHandler *) src; | |
5344 | return (void *) dest; | |
5345 | } | |
5346 | ||
9416aa89 RD |
5347 | static void *SwigwxPyPolygonShapeTowxObject(void *ptr) { |
5348 | wxPyPolygonShape *src; | |
5349 | wxObject *dest; | |
5350 | src = (wxPyPolygonShape *) ptr; | |
5351 | dest = (wxObject *) src; | |
5352 | return (void *) dest; | |
5353 | } | |
5354 | ||
e91a9dfc RD |
5355 | #define new_wxPyPolygonShape() (new wxPyPolygonShape()) |
5356 | static PyObject *_wrap_new_wxPyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5357 | PyObject * _resultobj; | |
5358 | wxPyPolygonShape * _result; | |
5359 | char *_kwnames[] = { NULL }; | |
5360 | char _ptemp[128]; | |
5361 | ||
5362 | self = self; | |
5363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyPolygonShape",_kwnames)) | |
5364 | return NULL; | |
5365 | { | |
5366 | wxPy_BEGIN_ALLOW_THREADS; | |
5367 | _result = (wxPyPolygonShape *)new_wxPyPolygonShape(); | |
5368 | ||
5369 | wxPy_END_ALLOW_THREADS; | |
5370 | } if (_result) { | |
5371 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPolygonShape_p"); | |
5372 | _resultobj = Py_BuildValue("s",_ptemp); | |
5373 | } else { | |
5374 | Py_INCREF(Py_None); | |
5375 | _resultobj = Py_None; | |
5376 | } | |
5377 | return _resultobj; | |
5378 | } | |
5379 | ||
0122b7e3 RD |
5380 | #define wxPyPolygonShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
5381 | static PyObject *_wrap_wxPyPolygonShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
5382 | PyObject * _resultobj; |
5383 | wxPyPolygonShape * _arg0; | |
5384 | PyObject * _arg1; | |
f6bcfd97 | 5385 | PyObject * _arg2; |
e91a9dfc RD |
5386 | PyObject * _argo0 = 0; |
5387 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
5388 | PyObject * _obj2 = 0; |
5389 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
5390 | |
5391 | self = self; | |
0122b7e3 | 5392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPolygonShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5393 | return NULL; |
5394 | if (_argo0) { | |
5395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
0122b7e3 | 5397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape__setCallbackInfo. Expected _wxPyPolygonShape_p."); |
e91a9dfc RD |
5398 | return NULL; |
5399 | } | |
5400 | } | |
5401 | { | |
5402 | _arg1 = _obj1; | |
5403 | } | |
f6bcfd97 BP |
5404 | { |
5405 | _arg2 = _obj2; | |
5406 | } | |
e91a9dfc RD |
5407 | { |
5408 | wxPy_BEGIN_ALLOW_THREADS; | |
0122b7e3 | 5409 | wxPyPolygonShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc RD |
5410 | |
5411 | wxPy_END_ALLOW_THREADS; | |
5412 | } Py_INCREF(Py_None); | |
5413 | _resultobj = Py_None; | |
5414 | return _resultobj; | |
5415 | } | |
5416 | ||
5417 | static PyObject * wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject * points) { | |
5418 | wxList* list = wxPy_wxRealPoint_ListHelper(points); | |
5419 | if (list) { | |
5420 | self->Create(list); | |
5421 | Py_INCREF(Py_None); | |
5422 | return Py_None; | |
5423 | } | |
5424 | else return NULL; | |
5425 | } | |
5426 | static PyObject *_wrap_wxPyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5427 | PyObject * _resultobj; | |
5428 | PyObject * _result; | |
5429 | wxPyPolygonShape * _arg0; | |
5430 | PyObject * _arg1; | |
5431 | PyObject * _argo0 = 0; | |
5432 | PyObject * _obj1 = 0; | |
5433 | char *_kwnames[] = { "self","points", NULL }; | |
5434 | ||
5435 | self = self; | |
5436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_Create",_kwnames,&_argo0,&_obj1)) | |
5437 | return NULL; | |
5438 | if (_argo0) { | |
5439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_Create. Expected _wxPyPolygonShape_p."); | |
5442 | return NULL; | |
5443 | } | |
5444 | } | |
5445 | { | |
5446 | _arg1 = _obj1; | |
5447 | } | |
5448 | { | |
5449 | wxPy_BEGIN_ALLOW_THREADS; | |
5450 | _result = (PyObject *)wxPyPolygonShape_Create(_arg0,_arg1); | |
5451 | ||
5452 | wxPy_END_ALLOW_THREADS; | |
5453 | }{ | |
5454 | _resultobj = _result; | |
5455 | } | |
5456 | return _resultobj; | |
5457 | } | |
5458 | ||
5459 | #define wxPyPolygonShape_AddPolygonPoint(_swigobj,_swigarg0) (_swigobj->AddPolygonPoint(_swigarg0)) | |
5460 | static PyObject *_wrap_wxPyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5461 | PyObject * _resultobj; | |
5462 | wxPyPolygonShape * _arg0; | |
5463 | int _arg1 = (int ) 0; | |
5464 | PyObject * _argo0 = 0; | |
5465 | char *_kwnames[] = { "self","pos", NULL }; | |
5466 | ||
5467 | self = self; | |
5468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_AddPolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5469 | return NULL; | |
5470 | if (_argo0) { | |
5471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_AddPolygonPoint. Expected _wxPyPolygonShape_p."); | |
5474 | return NULL; | |
5475 | } | |
5476 | } | |
5477 | { | |
5478 | wxPy_BEGIN_ALLOW_THREADS; | |
5479 | wxPyPolygonShape_AddPolygonPoint(_arg0,_arg1); | |
5480 | ||
5481 | wxPy_END_ALLOW_THREADS; | |
5482 | } Py_INCREF(Py_None); | |
5483 | _resultobj = Py_None; | |
5484 | return _resultobj; | |
5485 | } | |
5486 | ||
5487 | #define wxPyPolygonShape_CalculatePolygonCentre(_swigobj) (_swigobj->CalculatePolygonCentre()) | |
5488 | static PyObject *_wrap_wxPyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5489 | PyObject * _resultobj; | |
5490 | wxPyPolygonShape * _arg0; | |
5491 | PyObject * _argo0 = 0; | |
5492 | char *_kwnames[] = { "self", NULL }; | |
5493 | ||
5494 | self = self; | |
5495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_CalculatePolygonCentre",_kwnames,&_argo0)) | |
5496 | return NULL; | |
5497 | if (_argo0) { | |
5498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_CalculatePolygonCentre. Expected _wxPyPolygonShape_p."); | |
5501 | return NULL; | |
5502 | } | |
5503 | } | |
5504 | { | |
5505 | wxPy_BEGIN_ALLOW_THREADS; | |
5506 | wxPyPolygonShape_CalculatePolygonCentre(_arg0); | |
5507 | ||
5508 | wxPy_END_ALLOW_THREADS; | |
5509 | } Py_INCREF(Py_None); | |
5510 | _resultobj = Py_None; | |
5511 | return _resultobj; | |
5512 | } | |
5513 | ||
5514 | #define wxPyPolygonShape_DeletePolygonPoint(_swigobj,_swigarg0) (_swigobj->DeletePolygonPoint(_swigarg0)) | |
5515 | static PyObject *_wrap_wxPyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5516 | PyObject * _resultobj; | |
5517 | wxPyPolygonShape * _arg0; | |
5518 | int _arg1 = (int ) 0; | |
5519 | PyObject * _argo0 = 0; | |
5520 | char *_kwnames[] = { "self","pos", NULL }; | |
5521 | ||
5522 | self = self; | |
5523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_DeletePolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5524 | return NULL; | |
5525 | if (_argo0) { | |
5526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_DeletePolygonPoint. Expected _wxPyPolygonShape_p."); | |
5529 | return NULL; | |
5530 | } | |
5531 | } | |
5532 | { | |
5533 | wxPy_BEGIN_ALLOW_THREADS; | |
5534 | wxPyPolygonShape_DeletePolygonPoint(_arg0,_arg1); | |
5535 | ||
5536 | wxPy_END_ALLOW_THREADS; | |
5537 | } Py_INCREF(Py_None); | |
5538 | _resultobj = Py_None; | |
5539 | return _resultobj; | |
5540 | } | |
5541 | ||
5542 | static PyObject * wxPyPolygonShape_GetPoints(wxPyPolygonShape *self) { | |
5543 | wxList* list = self->GetPoints(); | |
5544 | return wxPy_ConvertList(list, "wxRealPoint"); | |
5545 | } | |
5546 | static PyObject *_wrap_wxPyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5547 | PyObject * _resultobj; | |
5548 | PyObject * _result; | |
5549 | wxPyPolygonShape * _arg0; | |
5550 | PyObject * _argo0 = 0; | |
5551 | char *_kwnames[] = { "self", NULL }; | |
5552 | ||
5553 | self = self; | |
5554 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_GetPoints",_kwnames,&_argo0)) | |
5555 | return NULL; | |
5556 | if (_argo0) { | |
5557 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5558 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5559 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_GetPoints. Expected _wxPyPolygonShape_p."); | |
5560 | return NULL; | |
5561 | } | |
5562 | } | |
5563 | { | |
5564 | wxPy_BEGIN_ALLOW_THREADS; | |
5565 | _result = (PyObject *)wxPyPolygonShape_GetPoints(_arg0); | |
5566 | ||
5567 | wxPy_END_ALLOW_THREADS; | |
5568 | }{ | |
5569 | _resultobj = _result; | |
5570 | } | |
5571 | return _resultobj; | |
5572 | } | |
5573 | ||
5574 | #define wxPyPolygonShape_UpdateOriginalPoints(_swigobj) (_swigobj->UpdateOriginalPoints()) | |
5575 | static PyObject *_wrap_wxPyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5576 | PyObject * _resultobj; | |
5577 | wxPyPolygonShape * _arg0; | |
5578 | PyObject * _argo0 = 0; | |
5579 | char *_kwnames[] = { "self", NULL }; | |
5580 | ||
5581 | self = self; | |
5582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_UpdateOriginalPoints",_kwnames,&_argo0)) | |
5583 | return NULL; | |
5584 | if (_argo0) { | |
5585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_UpdateOriginalPoints. Expected _wxPyPolygonShape_p."); | |
5588 | return NULL; | |
5589 | } | |
5590 | } | |
5591 | { | |
5592 | wxPy_BEGIN_ALLOW_THREADS; | |
5593 | wxPyPolygonShape_UpdateOriginalPoints(_arg0); | |
5594 | ||
5595 | wxPy_END_ALLOW_THREADS; | |
5596 | } Py_INCREF(Py_None); | |
5597 | _resultobj = Py_None; | |
5598 | return _resultobj; | |
5599 | } | |
5600 | ||
5601 | #define wxPyPolygonShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
5602 | static PyObject *_wrap_wxPyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5603 | PyObject * _resultobj; | |
5604 | wxPyPolygonShape * _arg0; | |
5605 | wxDC * _arg1; | |
5606 | PyObject * _argo0 = 0; | |
5607 | PyObject * _argo1 = 0; | |
5608 | char *_kwnames[] = { "self","dc", NULL }; | |
5609 | ||
5610 | self = self; | |
5611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
5612 | return NULL; | |
5613 | if (_argo0) { | |
5614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDraw. Expected _wxPyPolygonShape_p."); | |
5617 | return NULL; | |
5618 | } | |
5619 | } | |
5620 | if (_argo1) { | |
5621 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5622 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDraw. Expected _wxDC_p."); | |
5624 | return NULL; | |
5625 | } | |
5626 | } | |
5627 | { | |
5628 | wxPy_BEGIN_ALLOW_THREADS; | |
5629 | wxPyPolygonShape_base_OnDraw(_arg0,*_arg1); | |
5630 | ||
5631 | wxPy_END_ALLOW_THREADS; | |
5632 | } Py_INCREF(Py_None); | |
5633 | _resultobj = Py_None; | |
5634 | return _resultobj; | |
5635 | } | |
5636 | ||
5637 | #define wxPyPolygonShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
5638 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5639 | PyObject * _resultobj; | |
5640 | wxPyPolygonShape * _arg0; | |
5641 | wxDC * _arg1; | |
5642 | PyObject * _argo0 = 0; | |
5643 | PyObject * _argo1 = 0; | |
5644 | char *_kwnames[] = { "self","dc", NULL }; | |
5645 | ||
5646 | self = self; | |
5647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
5648 | return NULL; | |
5649 | if (_argo0) { | |
5650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawContents. Expected _wxPyPolygonShape_p."); | |
5653 | return NULL; | |
5654 | } | |
5655 | } | |
5656 | if (_argo1) { | |
5657 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5658 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawContents. Expected _wxDC_p."); | |
5660 | return NULL; | |
5661 | } | |
5662 | } | |
5663 | { | |
5664 | wxPy_BEGIN_ALLOW_THREADS; | |
5665 | wxPyPolygonShape_base_OnDrawContents(_arg0,*_arg1); | |
5666 | ||
5667 | wxPy_END_ALLOW_THREADS; | |
5668 | } Py_INCREF(Py_None); | |
5669 | _resultobj = Py_None; | |
5670 | return _resultobj; | |
5671 | } | |
5672 | ||
5673 | #define wxPyPolygonShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
5674 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5675 | PyObject * _resultobj; | |
5676 | wxPyPolygonShape * _arg0; | |
5677 | wxDC * _arg1; | |
5678 | bool _arg2 = (bool ) FALSE; | |
5679 | PyObject * _argo0 = 0; | |
5680 | PyObject * _argo1 = 0; | |
5681 | int tempbool2 = (int) FALSE; | |
5682 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
5683 | ||
5684 | self = self; | |
5685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5686 | return NULL; | |
5687 | if (_argo0) { | |
5688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxPyPolygonShape_p."); | |
5691 | return NULL; | |
5692 | } | |
5693 | } | |
5694 | if (_argo1) { | |
5695 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5696 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxDC_p."); | |
5698 | return NULL; | |
5699 | } | |
5700 | } | |
5701 | _arg2 = (bool ) tempbool2; | |
5702 | { | |
5703 | wxPy_BEGIN_ALLOW_THREADS; | |
5704 | wxPyPolygonShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
5705 | ||
5706 | wxPy_END_ALLOW_THREADS; | |
5707 | } Py_INCREF(Py_None); | |
5708 | _resultobj = Py_None; | |
5709 | return _resultobj; | |
5710 | } | |
5711 | ||
5712 | #define wxPyPolygonShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
5713 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5714 | PyObject * _resultobj; | |
5715 | wxPyPolygonShape * _arg0; | |
5716 | wxDC * _arg1; | |
5717 | PyObject * _argo0 = 0; | |
5718 | PyObject * _argo1 = 0; | |
5719 | char *_kwnames[] = { "self","dc", NULL }; | |
5720 | ||
5721 | self = self; | |
5722 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
5723 | return NULL; | |
5724 | if (_argo0) { | |
5725 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5726 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5727 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxPyPolygonShape_p."); | |
5728 | return NULL; | |
5729 | } | |
5730 | } | |
5731 | if (_argo1) { | |
5732 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5733 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxDC_p."); | |
5735 | return NULL; | |
5736 | } | |
5737 | } | |
5738 | { | |
5739 | wxPy_BEGIN_ALLOW_THREADS; | |
5740 | wxPyPolygonShape_base_OnMoveLinks(_arg0,*_arg1); | |
5741 | ||
5742 | wxPy_END_ALLOW_THREADS; | |
5743 | } Py_INCREF(Py_None); | |
5744 | _resultobj = Py_None; | |
5745 | return _resultobj; | |
5746 | } | |
5747 | ||
5748 | #define wxPyPolygonShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
5749 | static PyObject *_wrap_wxPyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5750 | PyObject * _resultobj; | |
5751 | wxPyPolygonShape * _arg0; | |
5752 | wxDC * _arg1; | |
5753 | PyObject * _argo0 = 0; | |
5754 | PyObject * _argo1 = 0; | |
5755 | char *_kwnames[] = { "self","dc", NULL }; | |
5756 | ||
5757 | self = self; | |
5758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
5759 | return NULL; | |
5760 | if (_argo0) { | |
5761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnErase. Expected _wxPyPolygonShape_p."); | |
5764 | return NULL; | |
5765 | } | |
5766 | } | |
5767 | if (_argo1) { | |
5768 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5769 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnErase. Expected _wxDC_p."); | |
5771 | return NULL; | |
5772 | } | |
5773 | } | |
5774 | { | |
5775 | wxPy_BEGIN_ALLOW_THREADS; | |
5776 | wxPyPolygonShape_base_OnErase(_arg0,*_arg1); | |
5777 | ||
5778 | wxPy_END_ALLOW_THREADS; | |
5779 | } Py_INCREF(Py_None); | |
5780 | _resultobj = Py_None; | |
5781 | return _resultobj; | |
5782 | } | |
5783 | ||
5784 | #define wxPyPolygonShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
5785 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5786 | PyObject * _resultobj; | |
5787 | wxPyPolygonShape * _arg0; | |
5788 | wxDC * _arg1; | |
5789 | PyObject * _argo0 = 0; | |
5790 | PyObject * _argo1 = 0; | |
5791 | char *_kwnames[] = { "self","dc", NULL }; | |
5792 | ||
5793 | self = self; | |
5794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
5795 | return NULL; | |
5796 | if (_argo0) { | |
5797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseContents. Expected _wxPyPolygonShape_p."); | |
5800 | return NULL; | |
5801 | } | |
5802 | } | |
5803 | if (_argo1) { | |
5804 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5805 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseContents. Expected _wxDC_p."); | |
5807 | return NULL; | |
5808 | } | |
5809 | } | |
5810 | { | |
5811 | wxPy_BEGIN_ALLOW_THREADS; | |
5812 | wxPyPolygonShape_base_OnEraseContents(_arg0,*_arg1); | |
5813 | ||
5814 | wxPy_END_ALLOW_THREADS; | |
5815 | } Py_INCREF(Py_None); | |
5816 | _resultobj = Py_None; | |
5817 | return _resultobj; | |
5818 | } | |
5819 | ||
5820 | #define wxPyPolygonShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
5821 | static PyObject *_wrap_wxPyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5822 | PyObject * _resultobj; | |
5823 | wxPyPolygonShape * _arg0; | |
5824 | wxDC * _arg1; | |
5825 | PyObject * _argo0 = 0; | |
5826 | PyObject * _argo1 = 0; | |
5827 | char *_kwnames[] = { "self","dc", NULL }; | |
5828 | ||
5829 | self = self; | |
5830 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
5831 | return NULL; | |
5832 | if (_argo0) { | |
5833 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5834 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5835 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnHighlight. Expected _wxPyPolygonShape_p."); | |
5836 | return NULL; | |
5837 | } | |
5838 | } | |
5839 | if (_argo1) { | |
5840 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5841 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnHighlight. Expected _wxDC_p."); | |
5843 | return NULL; | |
5844 | } | |
5845 | } | |
5846 | { | |
5847 | wxPy_BEGIN_ALLOW_THREADS; | |
5848 | wxPyPolygonShape_base_OnHighlight(_arg0,*_arg1); | |
5849 | ||
5850 | wxPy_END_ALLOW_THREADS; | |
5851 | } Py_INCREF(Py_None); | |
5852 | _resultobj = Py_None; | |
5853 | return _resultobj; | |
5854 | } | |
5855 | ||
5856 | #define wxPyPolygonShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5857 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5858 | PyObject * _resultobj; | |
5859 | wxPyPolygonShape * _arg0; | |
5860 | double _arg1; | |
5861 | double _arg2; | |
5862 | int _arg3 = (int ) 0; | |
5863 | int _arg4 = (int ) 0; | |
5864 | PyObject * _argo0 = 0; | |
5865 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5866 | ||
5867 | self = self; | |
5868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5869 | return NULL; | |
5870 | if (_argo0) { | |
5871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftClick. Expected _wxPyPolygonShape_p."); | |
5874 | return NULL; | |
5875 | } | |
5876 | } | |
5877 | { | |
5878 | wxPy_BEGIN_ALLOW_THREADS; | |
5879 | wxPyPolygonShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5880 | ||
5881 | wxPy_END_ALLOW_THREADS; | |
5882 | } Py_INCREF(Py_None); | |
5883 | _resultobj = Py_None; | |
5884 | return _resultobj; | |
5885 | } | |
5886 | ||
5887 | #define wxPyPolygonShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5888 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5889 | PyObject * _resultobj; | |
5890 | wxPyPolygonShape * _arg0; | |
5891 | double _arg1; | |
5892 | double _arg2; | |
5893 | int _arg3 = (int ) 0; | |
5894 | int _arg4 = (int ) 0; | |
5895 | PyObject * _argo0 = 0; | |
5896 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5897 | ||
5898 | self = self; | |
5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5900 | return NULL; | |
5901 | if (_argo0) { | |
5902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftDoubleClick. Expected _wxPyPolygonShape_p."); | |
5905 | return NULL; | |
5906 | } | |
5907 | } | |
5908 | { | |
5909 | wxPy_BEGIN_ALLOW_THREADS; | |
5910 | wxPyPolygonShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5911 | ||
5912 | wxPy_END_ALLOW_THREADS; | |
5913 | } Py_INCREF(Py_None); | |
5914 | _resultobj = Py_None; | |
5915 | return _resultobj; | |
5916 | } | |
5917 | ||
5918 | #define wxPyPolygonShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5919 | static PyObject *_wrap_wxPyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5920 | PyObject * _resultobj; | |
5921 | wxPyPolygonShape * _arg0; | |
5922 | double _arg1; | |
5923 | double _arg2; | |
5924 | int _arg3 = (int ) 0; | |
5925 | int _arg4 = (int ) 0; | |
5926 | PyObject * _argo0 = 0; | |
5927 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5928 | ||
5929 | self = self; | |
5930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5931 | return NULL; | |
5932 | if (_argo0) { | |
5933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnRightClick. Expected _wxPyPolygonShape_p."); | |
5936 | return NULL; | |
5937 | } | |
5938 | } | |
5939 | { | |
5940 | wxPy_BEGIN_ALLOW_THREADS; | |
5941 | wxPyPolygonShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5942 | ||
5943 | wxPy_END_ALLOW_THREADS; | |
5944 | } Py_INCREF(Py_None); | |
5945 | _resultobj = Py_None; | |
5946 | return _resultobj; | |
5947 | } | |
5948 | ||
5949 | #define wxPyPolygonShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
5950 | static PyObject *_wrap_wxPyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5951 | PyObject * _resultobj; | |
5952 | wxPyPolygonShape * _arg0; | |
5953 | double _arg1; | |
5954 | double _arg2; | |
5955 | PyObject * _argo0 = 0; | |
5956 | char *_kwnames[] = { "self","x","y", NULL }; | |
5957 | ||
5958 | self = self; | |
5959 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5960 | return NULL; | |
5961 | if (_argo0) { | |
5962 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5963 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSize. Expected _wxPyPolygonShape_p."); | |
5965 | return NULL; | |
5966 | } | |
5967 | } | |
5968 | { | |
5969 | wxPy_BEGIN_ALLOW_THREADS; | |
5970 | wxPyPolygonShape_base_OnSize(_arg0,_arg1,_arg2); | |
5971 | ||
5972 | wxPy_END_ALLOW_THREADS; | |
5973 | } Py_INCREF(Py_None); | |
5974 | _resultobj = Py_None; | |
5975 | return _resultobj; | |
5976 | } | |
5977 | ||
5978 | #define wxPyPolygonShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5979 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5980 | PyObject * _resultobj; | |
5981 | bool _result; | |
5982 | wxPyPolygonShape * _arg0; | |
5983 | wxDC * _arg1; | |
5984 | double _arg2; | |
5985 | double _arg3; | |
5986 | double _arg4; | |
5987 | double _arg5; | |
5988 | bool _arg6 = (bool ) TRUE; | |
5989 | PyObject * _argo0 = 0; | |
5990 | PyObject * _argo1 = 0; | |
5991 | int tempbool6 = (int) TRUE; | |
5992 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
5993 | ||
5994 | self = self; | |
5995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
5996 | return NULL; | |
5997 | if (_argo0) { | |
5998 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5999 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePre. Expected _wxPyPolygonShape_p."); | |
6001 | return NULL; | |
6002 | } | |
6003 | } | |
6004 | if (_argo1) { | |
6005 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6006 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePre. Expected _wxDC_p."); | |
6008 | return NULL; | |
6009 | } | |
6010 | } | |
6011 | _arg6 = (bool ) tempbool6; | |
6012 | { | |
6013 | wxPy_BEGIN_ALLOW_THREADS; | |
6014 | _result = (bool )wxPyPolygonShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6015 | ||
6016 | wxPy_END_ALLOW_THREADS; | |
6017 | } _resultobj = Py_BuildValue("i",_result); | |
6018 | return _resultobj; | |
6019 | } | |
6020 | ||
6021 | #define wxPyPolygonShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6022 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6023 | PyObject * _resultobj; | |
6024 | wxPyPolygonShape * _arg0; | |
6025 | wxDC * _arg1; | |
6026 | double _arg2; | |
6027 | double _arg3; | |
6028 | double _arg4; | |
6029 | double _arg5; | |
6030 | bool _arg6 = (bool ) TRUE; | |
6031 | PyObject * _argo0 = 0; | |
6032 | PyObject * _argo1 = 0; | |
6033 | int tempbool6 = (int) TRUE; | |
6034 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6035 | ||
6036 | self = self; | |
6037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6038 | return NULL; | |
6039 | if (_argo0) { | |
6040 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6041 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePost. Expected _wxPyPolygonShape_p."); | |
6043 | return NULL; | |
6044 | } | |
6045 | } | |
6046 | if (_argo1) { | |
6047 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6048 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6049 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePost. Expected _wxDC_p."); | |
6050 | return NULL; | |
6051 | } | |
6052 | } | |
6053 | _arg6 = (bool ) tempbool6; | |
6054 | { | |
6055 | wxPy_BEGIN_ALLOW_THREADS; | |
6056 | wxPyPolygonShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6057 | ||
6058 | wxPy_END_ALLOW_THREADS; | |
6059 | } Py_INCREF(Py_None); | |
6060 | _resultobj = Py_None; | |
6061 | return _resultobj; | |
6062 | } | |
6063 | ||
6064 | #define wxPyPolygonShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6065 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6066 | PyObject * _resultobj; | |
6067 | wxPyPolygonShape * _arg0; | |
6068 | bool _arg1; | |
6069 | double _arg2; | |
6070 | double _arg3; | |
6071 | int _arg4 = (int ) 0; | |
6072 | int _arg5 = (int ) 0; | |
6073 | PyObject * _argo0 = 0; | |
6074 | int tempbool1; | |
6075 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6076 | ||
6077 | self = self; | |
6078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6079 | return NULL; | |
6080 | if (_argo0) { | |
6081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragLeft. Expected _wxPyPolygonShape_p."); | |
6084 | return NULL; | |
6085 | } | |
6086 | } | |
6087 | _arg1 = (bool ) tempbool1; | |
6088 | { | |
6089 | wxPy_BEGIN_ALLOW_THREADS; | |
6090 | wxPyPolygonShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6091 | ||
6092 | wxPy_END_ALLOW_THREADS; | |
6093 | } Py_INCREF(Py_None); | |
6094 | _resultobj = Py_None; | |
6095 | return _resultobj; | |
6096 | } | |
6097 | ||
6098 | #define wxPyPolygonShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6099 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6100 | PyObject * _resultobj; | |
6101 | wxPyPolygonShape * _arg0; | |
6102 | double _arg1; | |
6103 | double _arg2; | |
6104 | int _arg3 = (int ) 0; | |
6105 | int _arg4 = (int ) 0; | |
6106 | PyObject * _argo0 = 0; | |
6107 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6108 | ||
6109 | self = self; | |
6110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6111 | return NULL; | |
6112 | if (_argo0) { | |
6113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6116 | return NULL; | |
6117 | } | |
6118 | } | |
6119 | { | |
6120 | wxPy_BEGIN_ALLOW_THREADS; | |
6121 | wxPyPolygonShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6122 | ||
6123 | wxPy_END_ALLOW_THREADS; | |
6124 | } Py_INCREF(Py_None); | |
6125 | _resultobj = Py_None; | |
6126 | return _resultobj; | |
6127 | } | |
6128 | ||
6129 | #define wxPyPolygonShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6130 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6131 | PyObject * _resultobj; | |
6132 | wxPyPolygonShape * _arg0; | |
6133 | double _arg1; | |
6134 | double _arg2; | |
6135 | int _arg3 = (int ) 0; | |
6136 | int _arg4 = (int ) 0; | |
6137 | PyObject * _argo0 = 0; | |
6138 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6139 | ||
6140 | self = self; | |
6141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6142 | return NULL; | |
6143 | if (_argo0) { | |
6144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6147 | return NULL; | |
6148 | } | |
6149 | } | |
6150 | { | |
6151 | wxPy_BEGIN_ALLOW_THREADS; | |
6152 | wxPyPolygonShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6153 | ||
6154 | wxPy_END_ALLOW_THREADS; | |
6155 | } Py_INCREF(Py_None); | |
6156 | _resultobj = Py_None; | |
6157 | return _resultobj; | |
6158 | } | |
6159 | ||
6160 | #define wxPyPolygonShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6161 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject * _resultobj; | |
6163 | wxPyPolygonShape * _arg0; | |
6164 | bool _arg1; | |
6165 | double _arg2; | |
6166 | double _arg3; | |
6167 | int _arg4 = (int ) 0; | |
6168 | int _arg5 = (int ) 0; | |
6169 | PyObject * _argo0 = 0; | |
6170 | int tempbool1; | |
6171 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6172 | ||
6173 | self = self; | |
6174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6175 | return NULL; | |
6176 | if (_argo0) { | |
6177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragRight. Expected _wxPyPolygonShape_p."); | |
6180 | return NULL; | |
6181 | } | |
6182 | } | |
6183 | _arg1 = (bool ) tempbool1; | |
6184 | { | |
6185 | wxPy_BEGIN_ALLOW_THREADS; | |
6186 | wxPyPolygonShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6187 | ||
6188 | wxPy_END_ALLOW_THREADS; | |
6189 | } Py_INCREF(Py_None); | |
6190 | _resultobj = Py_None; | |
6191 | return _resultobj; | |
6192 | } | |
6193 | ||
6194 | #define wxPyPolygonShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6195 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6196 | PyObject * _resultobj; | |
6197 | wxPyPolygonShape * _arg0; | |
6198 | double _arg1; | |
6199 | double _arg2; | |
6200 | int _arg3 = (int ) 0; | |
6201 | int _arg4 = (int ) 0; | |
6202 | PyObject * _argo0 = 0; | |
6203 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6204 | ||
6205 | self = self; | |
6206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6207 | return NULL; | |
6208 | if (_argo0) { | |
6209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragRight. Expected _wxPyPolygonShape_p."); | |
6212 | return NULL; | |
6213 | } | |
6214 | } | |
6215 | { | |
6216 | wxPy_BEGIN_ALLOW_THREADS; | |
6217 | wxPyPolygonShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6218 | ||
6219 | wxPy_END_ALLOW_THREADS; | |
6220 | } Py_INCREF(Py_None); | |
6221 | _resultobj = Py_None; | |
6222 | return _resultobj; | |
6223 | } | |
6224 | ||
6225 | #define wxPyPolygonShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6226 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6227 | PyObject * _resultobj; | |
6228 | wxPyPolygonShape * _arg0; | |
6229 | double _arg1; | |
6230 | double _arg2; | |
6231 | int _arg3 = (int ) 0; | |
6232 | int _arg4 = (int ) 0; | |
6233 | PyObject * _argo0 = 0; | |
6234 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6235 | ||
6236 | self = self; | |
6237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6238 | return NULL; | |
6239 | if (_argo0) { | |
6240 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6241 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragRight. Expected _wxPyPolygonShape_p."); | |
6243 | return NULL; | |
6244 | } | |
6245 | } | |
6246 | { | |
6247 | wxPy_BEGIN_ALLOW_THREADS; | |
6248 | wxPyPolygonShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6249 | ||
6250 | wxPy_END_ALLOW_THREADS; | |
6251 | } Py_INCREF(Py_None); | |
6252 | _resultobj = Py_None; | |
6253 | return _resultobj; | |
6254 | } | |
6255 | ||
6256 | #define wxPyPolygonShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6257 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6258 | PyObject * _resultobj; | |
6259 | wxPyPolygonShape * _arg0; | |
6260 | wxDC * _arg1; | |
6261 | double _arg2; | |
6262 | double _arg3; | |
6263 | double _arg4; | |
6264 | double _arg5; | |
6265 | PyObject * _argo0 = 0; | |
6266 | PyObject * _argo1 = 0; | |
6267 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
6268 | ||
6269 | self = self; | |
6270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyPolygonShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6271 | return NULL; | |
6272 | if (_argo0) { | |
6273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxPyPolygonShape_p."); | |
6276 | return NULL; | |
6277 | } | |
6278 | } | |
6279 | if (_argo1) { | |
6280 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6281 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxDC_p."); | |
6283 | return NULL; | |
6284 | } | |
6285 | } | |
6286 | { | |
6287 | wxPy_BEGIN_ALLOW_THREADS; | |
6288 | wxPyPolygonShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
6289 | ||
6290 | wxPy_END_ALLOW_THREADS; | |
6291 | } Py_INCREF(Py_None); | |
6292 | _resultobj = Py_None; | |
6293 | return _resultobj; | |
6294 | } | |
6295 | ||
6296 | #define wxPyPolygonShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
6297 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6298 | PyObject * _resultobj; | |
6299 | wxPyPolygonShape * _arg0; | |
6300 | wxDC * _arg1; | |
6301 | PyObject * _argo0 = 0; | |
6302 | PyObject * _argo1 = 0; | |
6303 | char *_kwnames[] = { "self","dc", NULL }; | |
6304 | ||
6305 | self = self; | |
6306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
6307 | return NULL; | |
6308 | if (_argo0) { | |
6309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxPyPolygonShape_p."); | |
6312 | return NULL; | |
6313 | } | |
6314 | } | |
6315 | if (_argo1) { | |
6316 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6317 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
6319 | return NULL; | |
6320 | } | |
6321 | } | |
6322 | { | |
6323 | wxPy_BEGIN_ALLOW_THREADS; | |
6324 | wxPyPolygonShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
6325 | ||
6326 | wxPy_END_ALLOW_THREADS; | |
6327 | } Py_INCREF(Py_None); | |
6328 | _resultobj = Py_None; | |
6329 | return _resultobj; | |
6330 | } | |
6331 | ||
6332 | #define wxPyPolygonShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
6333 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6334 | PyObject * _resultobj; | |
6335 | wxPyPolygonShape * _arg0; | |
6336 | wxDC * _arg1; | |
6337 | PyObject * _argo0 = 0; | |
6338 | PyObject * _argo1 = 0; | |
6339 | char *_kwnames[] = { "self","dc", NULL }; | |
6340 | ||
6341 | self = self; | |
6342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
6343 | return NULL; | |
6344 | if (_argo0) { | |
6345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxPyPolygonShape_p."); | |
6348 | return NULL; | |
6349 | } | |
6350 | } | |
6351 | if (_argo1) { | |
6352 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6353 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
6355 | return NULL; | |
6356 | } | |
6357 | } | |
6358 | { | |
6359 | wxPy_BEGIN_ALLOW_THREADS; | |
6360 | wxPyPolygonShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
6361 | ||
6362 | wxPy_END_ALLOW_THREADS; | |
6363 | } Py_INCREF(Py_None); | |
6364 | _resultobj = Py_None; | |
6365 | return _resultobj; | |
6366 | } | |
6367 | ||
6368 | #define wxPyPolygonShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
6369 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6370 | PyObject * _resultobj; | |
6371 | wxPyPolygonShape * _arg0; | |
6372 | wxDC * _arg1; | |
6373 | bool _arg2 = (bool ) TRUE; | |
6374 | PyObject * _argo0 = 0; | |
6375 | PyObject * _argo1 = 0; | |
6376 | int tempbool2 = (int) TRUE; | |
6377 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
6378 | ||
6379 | self = self; | |
6380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6381 | return NULL; | |
6382 | if (_argo0) { | |
6383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLink. Expected _wxPyPolygonShape_p."); | |
6386 | return NULL; | |
6387 | } | |
6388 | } | |
6389 | if (_argo1) { | |
6390 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6391 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLink. Expected _wxDC_p."); | |
6393 | return NULL; | |
6394 | } | |
6395 | } | |
6396 | _arg2 = (bool ) tempbool2; | |
6397 | { | |
6398 | wxPy_BEGIN_ALLOW_THREADS; | |
6399 | wxPyPolygonShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
6400 | ||
6401 | wxPy_END_ALLOW_THREADS; | |
6402 | } Py_INCREF(Py_None); | |
6403 | _resultobj = Py_None; | |
6404 | return _resultobj; | |
6405 | } | |
6406 | ||
6407 | #define wxPyPolygonShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6408 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6409 | PyObject * _resultobj; | |
6410 | wxPyPolygonShape * _arg0; | |
2348eaee | 6411 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6412 | bool _arg2; |
6413 | double _arg3; | |
6414 | double _arg4; | |
6415 | int _arg5 = (int ) 0; | |
6416 | int _arg6 = (int ) 0; | |
6417 | PyObject * _argo0 = 0; | |
6418 | PyObject * _argo1 = 0; | |
6419 | int tempbool2; | |
6420 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
6421 | ||
6422 | self = self; | |
6423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyPolygonShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
6424 | return NULL; | |
6425 | if (_argo0) { | |
6426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyPolygonShape_p."); | |
6429 | return NULL; | |
6430 | } | |
6431 | } | |
6432 | if (_argo1) { | |
6433 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6434 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6436 | return NULL; |
6437 | } | |
6438 | } | |
6439 | _arg2 = (bool ) tempbool2; | |
6440 | { | |
6441 | wxPy_BEGIN_ALLOW_THREADS; | |
6442 | wxPyPolygonShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6443 | ||
6444 | wxPy_END_ALLOW_THREADS; | |
6445 | } Py_INCREF(Py_None); | |
6446 | _resultobj = Py_None; | |
6447 | return _resultobj; | |
6448 | } | |
6449 | ||
6450 | #define wxPyPolygonShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6451 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6452 | PyObject * _resultobj; | |
6453 | wxPyPolygonShape * _arg0; | |
2348eaee | 6454 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6455 | double _arg2; |
6456 | double _arg3; | |
6457 | int _arg4 = (int ) 0; | |
6458 | int _arg5 = (int ) 0; | |
6459 | PyObject * _argo0 = 0; | |
6460 | PyObject * _argo1 = 0; | |
6461 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6462 | ||
6463 | self = self; | |
6464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6465 | return NULL; | |
6466 | if (_argo0) { | |
6467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6470 | return NULL; | |
6471 | } | |
6472 | } | |
6473 | if (_argo1) { | |
6474 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6475 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6477 | return NULL; |
6478 | } | |
6479 | } | |
6480 | { | |
6481 | wxPy_BEGIN_ALLOW_THREADS; | |
6482 | wxPyPolygonShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6483 | ||
6484 | wxPy_END_ALLOW_THREADS; | |
6485 | } Py_INCREF(Py_None); | |
6486 | _resultobj = Py_None; | |
6487 | return _resultobj; | |
6488 | } | |
6489 | ||
6490 | #define wxPyPolygonShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6491 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6492 | PyObject * _resultobj; | |
6493 | wxPyPolygonShape * _arg0; | |
2348eaee | 6494 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6495 | double _arg2; |
6496 | double _arg3; | |
6497 | int _arg4 = (int ) 0; | |
6498 | int _arg5 = (int ) 0; | |
6499 | PyObject * _argo0 = 0; | |
6500 | PyObject * _argo1 = 0; | |
6501 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6502 | ||
6503 | self = self; | |
6504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6505 | return NULL; | |
6506 | if (_argo0) { | |
6507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6510 | return NULL; | |
6511 | } | |
6512 | } | |
6513 | if (_argo1) { | |
6514 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6515 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6517 | return NULL; |
6518 | } | |
6519 | } | |
6520 | { | |
6521 | wxPy_BEGIN_ALLOW_THREADS; | |
6522 | wxPyPolygonShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6523 | ||
6524 | wxPy_END_ALLOW_THREADS; | |
6525 | } Py_INCREF(Py_None); | |
6526 | _resultobj = Py_None; | |
6527 | return _resultobj; | |
6528 | } | |
6529 | ||
6530 | #define wxPyPolygonShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
6531 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6532 | PyObject * _resultobj; | |
6533 | wxPyPolygonShape * _arg0; | |
6534 | double _arg1; | |
6535 | double _arg2; | |
6536 | PyObject * _argo0 = 0; | |
6537 | char *_kwnames[] = { "self","w","h", NULL }; | |
6538 | ||
6539 | self = self; | |
6540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6541 | return NULL; | |
6542 | if (_argo0) { | |
6543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginSize. Expected _wxPyPolygonShape_p."); | |
6546 | return NULL; | |
6547 | } | |
6548 | } | |
6549 | { | |
6550 | wxPy_BEGIN_ALLOW_THREADS; | |
6551 | wxPyPolygonShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
6552 | ||
6553 | wxPy_END_ALLOW_THREADS; | |
6554 | } Py_INCREF(Py_None); | |
6555 | _resultobj = Py_None; | |
6556 | return _resultobj; | |
6557 | } | |
6558 | ||
6559 | #define wxPyPolygonShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
6560 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6561 | PyObject * _resultobj; | |
6562 | wxPyPolygonShape * _arg0; | |
6563 | double _arg1; | |
6564 | double _arg2; | |
6565 | PyObject * _argo0 = 0; | |
6566 | char *_kwnames[] = { "self","w","h", NULL }; | |
6567 | ||
6568 | self = self; | |
6569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6570 | return NULL; | |
6571 | if (_argo0) { | |
6572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndSize. Expected _wxPyPolygonShape_p."); | |
6575 | return NULL; | |
6576 | } | |
6577 | } | |
6578 | { | |
6579 | wxPy_BEGIN_ALLOW_THREADS; | |
6580 | wxPyPolygonShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
6581 | ||
6582 | wxPy_END_ALLOW_THREADS; | |
6583 | } Py_INCREF(Py_None); | |
6584 | _resultobj = Py_None; | |
6585 | return _resultobj; | |
6586 | } | |
6587 | ||
6588 | static void *SwigwxPyTextShapeTowxPyRectangleShape(void *ptr) { | |
6589 | wxPyTextShape *src; | |
6590 | wxPyRectangleShape *dest; | |
6591 | src = (wxPyTextShape *) ptr; | |
6592 | dest = (wxPyRectangleShape *) src; | |
6593 | return (void *) dest; | |
6594 | } | |
6595 | ||
6596 | static void *SwigwxPyTextShapeTowxPyShape(void *ptr) { | |
6597 | wxPyTextShape *src; | |
6598 | wxPyShape *dest; | |
6599 | src = (wxPyTextShape *) ptr; | |
6600 | dest = (wxPyShape *) src; | |
6601 | return (void *) dest; | |
6602 | } | |
6603 | ||
6604 | static void *SwigwxPyTextShapeTowxPyShapeEvtHandler(void *ptr) { | |
6605 | wxPyTextShape *src; | |
6606 | wxPyShapeEvtHandler *dest; | |
6607 | src = (wxPyTextShape *) ptr; | |
6608 | dest = (wxPyShapeEvtHandler *) src; | |
6609 | return (void *) dest; | |
6610 | } | |
6611 | ||
9416aa89 RD |
6612 | static void *SwigwxPyTextShapeTowxObject(void *ptr) { |
6613 | wxPyTextShape *src; | |
6614 | wxObject *dest; | |
6615 | src = (wxPyTextShape *) ptr; | |
6616 | dest = (wxObject *) src; | |
6617 | return (void *) dest; | |
6618 | } | |
6619 | ||
e91a9dfc RD |
6620 | #define new_wxPyTextShape(_swigarg0,_swigarg1) (new wxPyTextShape(_swigarg0,_swigarg1)) |
6621 | static PyObject *_wrap_new_wxPyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6622 | PyObject * _resultobj; | |
6623 | wxPyTextShape * _result; | |
6624 | double _arg0 = (double ) 0.0; | |
6625 | double _arg1 = (double ) 0.0; | |
6626 | char *_kwnames[] = { "width","height", NULL }; | |
6627 | char _ptemp[128]; | |
6628 | ||
6629 | self = self; | |
6630 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyTextShape",_kwnames,&_arg0,&_arg1)) | |
6631 | return NULL; | |
6632 | { | |
6633 | wxPy_BEGIN_ALLOW_THREADS; | |
6634 | _result = (wxPyTextShape *)new_wxPyTextShape(_arg0,_arg1); | |
6635 | ||
6636 | wxPy_END_ALLOW_THREADS; | |
6637 | } if (_result) { | |
6638 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTextShape_p"); | |
6639 | _resultobj = Py_BuildValue("s",_ptemp); | |
6640 | } else { | |
6641 | Py_INCREF(Py_None); | |
6642 | _resultobj = Py_None; | |
6643 | } | |
6644 | return _resultobj; | |
6645 | } | |
6646 | ||
0122b7e3 RD |
6647 | #define wxPyTextShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
6648 | static PyObject *_wrap_wxPyTextShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
6649 | PyObject * _resultobj; |
6650 | wxPyTextShape * _arg0; | |
6651 | PyObject * _arg1; | |
f6bcfd97 | 6652 | PyObject * _arg2; |
e91a9dfc RD |
6653 | PyObject * _argo0 = 0; |
6654 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
6655 | PyObject * _obj2 = 0; |
6656 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
6657 | |
6658 | self = self; | |
0122b7e3 | 6659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyTextShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
6660 | return NULL; |
6661 | if (_argo0) { | |
6662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
0122b7e3 | 6664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape__setCallbackInfo. Expected _wxPyTextShape_p."); |
e91a9dfc RD |
6665 | return NULL; |
6666 | } | |
6667 | } | |
6668 | { | |
6669 | _arg1 = _obj1; | |
6670 | } | |
f6bcfd97 BP |
6671 | { |
6672 | _arg2 = _obj2; | |
6673 | } | |
e91a9dfc RD |
6674 | { |
6675 | wxPy_BEGIN_ALLOW_THREADS; | |
0122b7e3 | 6676 | wxPyTextShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc RD |
6677 | |
6678 | wxPy_END_ALLOW_THREADS; | |
6679 | } Py_INCREF(Py_None); | |
6680 | _resultobj = Py_None; | |
6681 | return _resultobj; | |
6682 | } | |
6683 | ||
6684 | #define wxPyTextShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6685 | static PyObject *_wrap_wxPyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6686 | PyObject * _resultobj; | |
6687 | wxPyTextShape * _arg0; | |
6688 | PyObject * _argo0 = 0; | |
6689 | char *_kwnames[] = { "self", NULL }; | |
6690 | ||
6691 | self = self; | |
6692 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTextShape_base_OnDelete",_kwnames,&_argo0)) | |
6693 | return NULL; | |
6694 | if (_argo0) { | |
6695 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6696 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6697 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDelete. Expected _wxPyTextShape_p."); | |
6698 | return NULL; | |
6699 | } | |
6700 | } | |
6701 | { | |
6702 | wxPy_BEGIN_ALLOW_THREADS; | |
6703 | wxPyTextShape_base_OnDelete(_arg0); | |
6704 | ||
6705 | wxPy_END_ALLOW_THREADS; | |
6706 | } Py_INCREF(Py_None); | |
6707 | _resultobj = Py_None; | |
6708 | return _resultobj; | |
6709 | } | |
6710 | ||
6711 | #define wxPyTextShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6712 | static PyObject *_wrap_wxPyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6713 | PyObject * _resultobj; | |
6714 | wxPyTextShape * _arg0; | |
6715 | wxDC * _arg1; | |
6716 | PyObject * _argo0 = 0; | |
6717 | PyObject * _argo1 = 0; | |
6718 | char *_kwnames[] = { "self","dc", NULL }; | |
6719 | ||
6720 | self = self; | |
6721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6722 | return NULL; | |
6723 | if (_argo0) { | |
6724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDraw. Expected _wxPyTextShape_p."); | |
6727 | return NULL; | |
6728 | } | |
6729 | } | |
6730 | if (_argo1) { | |
6731 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6732 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDraw. Expected _wxDC_p."); | |
6734 | return NULL; | |
6735 | } | |
6736 | } | |
6737 | { | |
6738 | wxPy_BEGIN_ALLOW_THREADS; | |
6739 | wxPyTextShape_base_OnDraw(_arg0,*_arg1); | |
6740 | ||
6741 | wxPy_END_ALLOW_THREADS; | |
6742 | } Py_INCREF(Py_None); | |
6743 | _resultobj = Py_None; | |
6744 | return _resultobj; | |
6745 | } | |
6746 | ||
6747 | #define wxPyTextShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6748 | static PyObject *_wrap_wxPyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6749 | PyObject * _resultobj; | |
6750 | wxPyTextShape * _arg0; | |
6751 | wxDC * _arg1; | |
6752 | PyObject * _argo0 = 0; | |
6753 | PyObject * _argo1 = 0; | |
6754 | char *_kwnames[] = { "self","dc", NULL }; | |
6755 | ||
6756 | self = self; | |
6757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6758 | return NULL; | |
6759 | if (_argo0) { | |
6760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawContents. Expected _wxPyTextShape_p."); | |
6763 | return NULL; | |
6764 | } | |
6765 | } | |
6766 | if (_argo1) { | |
6767 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6768 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawContents. Expected _wxDC_p."); | |
6770 | return NULL; | |
6771 | } | |
6772 | } | |
6773 | { | |
6774 | wxPy_BEGIN_ALLOW_THREADS; | |
6775 | wxPyTextShape_base_OnDrawContents(_arg0,*_arg1); | |
6776 | ||
6777 | wxPy_END_ALLOW_THREADS; | |
6778 | } Py_INCREF(Py_None); | |
6779 | _resultobj = Py_None; | |
6780 | return _resultobj; | |
6781 | } | |
6782 | ||
6783 | #define wxPyTextShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6784 | static PyObject *_wrap_wxPyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6785 | PyObject * _resultobj; | |
6786 | wxPyTextShape * _arg0; | |
6787 | wxDC * _arg1; | |
6788 | bool _arg2 = (bool ) FALSE; | |
6789 | PyObject * _argo0 = 0; | |
6790 | PyObject * _argo1 = 0; | |
6791 | int tempbool2 = (int) FALSE; | |
6792 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6793 | ||
6794 | self = self; | |
6795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6796 | return NULL; | |
6797 | if (_argo0) { | |
6798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawBranches. Expected _wxPyTextShape_p."); | |
6801 | return NULL; | |
6802 | } | |
6803 | } | |
6804 | if (_argo1) { | |
6805 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6806 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6808 | return NULL; | |
6809 | } | |
6810 | } | |
6811 | _arg2 = (bool ) tempbool2; | |
6812 | { | |
6813 | wxPy_BEGIN_ALLOW_THREADS; | |
6814 | wxPyTextShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6815 | ||
6816 | wxPy_END_ALLOW_THREADS; | |
6817 | } Py_INCREF(Py_None); | |
6818 | _resultobj = Py_None; | |
6819 | return _resultobj; | |
6820 | } | |
6821 | ||
6822 | #define wxPyTextShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6823 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6824 | PyObject * _resultobj; | |
6825 | wxPyTextShape * _arg0; | |
6826 | wxDC * _arg1; | |
6827 | PyObject * _argo0 = 0; | |
6828 | PyObject * _argo1 = 0; | |
6829 | char *_kwnames[] = { "self","dc", NULL }; | |
6830 | ||
6831 | self = self; | |
6832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6833 | return NULL; | |
6834 | if (_argo0) { | |
6835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLinks. Expected _wxPyTextShape_p."); | |
6838 | return NULL; | |
6839 | } | |
6840 | } | |
6841 | if (_argo1) { | |
6842 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6843 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6845 | return NULL; | |
6846 | } | |
6847 | } | |
6848 | { | |
6849 | wxPy_BEGIN_ALLOW_THREADS; | |
6850 | wxPyTextShape_base_OnMoveLinks(_arg0,*_arg1); | |
6851 | ||
6852 | wxPy_END_ALLOW_THREADS; | |
6853 | } Py_INCREF(Py_None); | |
6854 | _resultobj = Py_None; | |
6855 | return _resultobj; | |
6856 | } | |
6857 | ||
6858 | #define wxPyTextShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6859 | static PyObject *_wrap_wxPyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6860 | PyObject * _resultobj; | |
6861 | wxPyTextShape * _arg0; | |
6862 | wxDC * _arg1; | |
6863 | PyObject * _argo0 = 0; | |
6864 | PyObject * _argo1 = 0; | |
6865 | char *_kwnames[] = { "self","dc", NULL }; | |
6866 | ||
6867 | self = self; | |
6868 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6869 | return NULL; | |
6870 | if (_argo0) { | |
6871 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6872 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6873 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnErase. Expected _wxPyTextShape_p."); | |
6874 | return NULL; | |
6875 | } | |
6876 | } | |
6877 | if (_argo1) { | |
6878 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6879 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnErase. Expected _wxDC_p."); | |
6881 | return NULL; | |
6882 | } | |
6883 | } | |
6884 | { | |
6885 | wxPy_BEGIN_ALLOW_THREADS; | |
6886 | wxPyTextShape_base_OnErase(_arg0,*_arg1); | |
6887 | ||
6888 | wxPy_END_ALLOW_THREADS; | |
6889 | } Py_INCREF(Py_None); | |
6890 | _resultobj = Py_None; | |
6891 | return _resultobj; | |
6892 | } | |
6893 | ||
6894 | #define wxPyTextShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6895 | static PyObject *_wrap_wxPyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6896 | PyObject * _resultobj; | |
6897 | wxPyTextShape * _arg0; | |
6898 | wxDC * _arg1; | |
6899 | PyObject * _argo0 = 0; | |
6900 | PyObject * _argo1 = 0; | |
6901 | char *_kwnames[] = { "self","dc", NULL }; | |
6902 | ||
6903 | self = self; | |
6904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6905 | return NULL; | |
6906 | if (_argo0) { | |
6907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseContents. Expected _wxPyTextShape_p."); | |
6910 | return NULL; | |
6911 | } | |
6912 | } | |
6913 | if (_argo1) { | |
6914 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6915 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseContents. Expected _wxDC_p."); | |
6917 | return NULL; | |
6918 | } | |
6919 | } | |
6920 | { | |
6921 | wxPy_BEGIN_ALLOW_THREADS; | |
6922 | wxPyTextShape_base_OnEraseContents(_arg0,*_arg1); | |
6923 | ||
6924 | wxPy_END_ALLOW_THREADS; | |
6925 | } Py_INCREF(Py_None); | |
6926 | _resultobj = Py_None; | |
6927 | return _resultobj; | |
6928 | } | |
6929 | ||
6930 | #define wxPyTextShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6931 | static PyObject *_wrap_wxPyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6932 | PyObject * _resultobj; | |
6933 | wxPyTextShape * _arg0; | |
6934 | wxDC * _arg1; | |
6935 | PyObject * _argo0 = 0; | |
6936 | PyObject * _argo1 = 0; | |
6937 | char *_kwnames[] = { "self","dc", NULL }; | |
6938 | ||
6939 | self = self; | |
6940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6941 | return NULL; | |
6942 | if (_argo0) { | |
6943 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6944 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6945 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnHighlight. Expected _wxPyTextShape_p."); | |
6946 | return NULL; | |
6947 | } | |
6948 | } | |
6949 | if (_argo1) { | |
6950 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6951 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnHighlight. Expected _wxDC_p."); | |
6953 | return NULL; | |
6954 | } | |
6955 | } | |
6956 | { | |
6957 | wxPy_BEGIN_ALLOW_THREADS; | |
6958 | wxPyTextShape_base_OnHighlight(_arg0,*_arg1); | |
6959 | ||
6960 | wxPy_END_ALLOW_THREADS; | |
6961 | } Py_INCREF(Py_None); | |
6962 | _resultobj = Py_None; | |
6963 | return _resultobj; | |
6964 | } | |
6965 | ||
6966 | #define wxPyTextShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6967 | static PyObject *_wrap_wxPyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6968 | PyObject * _resultobj; | |
6969 | wxPyTextShape * _arg0; | |
6970 | double _arg1; | |
6971 | double _arg2; | |
6972 | int _arg3 = (int ) 0; | |
6973 | int _arg4 = (int ) 0; | |
6974 | PyObject * _argo0 = 0; | |
6975 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6976 | ||
6977 | self = self; | |
6978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6979 | return NULL; | |
6980 | if (_argo0) { | |
6981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftClick. Expected _wxPyTextShape_p."); | |
6984 | return NULL; | |
6985 | } | |
6986 | } | |
6987 | { | |
6988 | wxPy_BEGIN_ALLOW_THREADS; | |
6989 | wxPyTextShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6990 | ||
6991 | wxPy_END_ALLOW_THREADS; | |
6992 | } Py_INCREF(Py_None); | |
6993 | _resultobj = Py_None; | |
6994 | return _resultobj; | |
6995 | } | |
6996 | ||
6997 | #define wxPyTextShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6998 | static PyObject *_wrap_wxPyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999 | PyObject * _resultobj; | |
7000 | wxPyTextShape * _arg0; | |
7001 | double _arg1; | |
7002 | double _arg2; | |
7003 | int _arg3 = (int ) 0; | |
7004 | int _arg4 = (int ) 0; | |
7005 | PyObject * _argo0 = 0; | |
7006 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7007 | ||
7008 | self = self; | |
7009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7010 | return NULL; | |
7011 | if (_argo0) { | |
7012 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7013 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7014 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftDoubleClick. Expected _wxPyTextShape_p."); | |
7015 | return NULL; | |
7016 | } | |
7017 | } | |
7018 | { | |
7019 | wxPy_BEGIN_ALLOW_THREADS; | |
7020 | wxPyTextShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7021 | ||
7022 | wxPy_END_ALLOW_THREADS; | |
7023 | } Py_INCREF(Py_None); | |
7024 | _resultobj = Py_None; | |
7025 | return _resultobj; | |
7026 | } | |
7027 | ||
7028 | #define wxPyTextShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7029 | static PyObject *_wrap_wxPyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7030 | PyObject * _resultobj; | |
7031 | wxPyTextShape * _arg0; | |
7032 | double _arg1; | |
7033 | double _arg2; | |
7034 | int _arg3 = (int ) 0; | |
7035 | int _arg4 = (int ) 0; | |
7036 | PyObject * _argo0 = 0; | |
7037 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7038 | ||
7039 | self = self; | |
7040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7041 | return NULL; | |
7042 | if (_argo0) { | |
7043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnRightClick. Expected _wxPyTextShape_p."); | |
7046 | return NULL; | |
7047 | } | |
7048 | } | |
7049 | { | |
7050 | wxPy_BEGIN_ALLOW_THREADS; | |
7051 | wxPyTextShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7052 | ||
7053 | wxPy_END_ALLOW_THREADS; | |
7054 | } Py_INCREF(Py_None); | |
7055 | _resultobj = Py_None; | |
7056 | return _resultobj; | |
7057 | } | |
7058 | ||
7059 | #define wxPyTextShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
7060 | static PyObject *_wrap_wxPyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7061 | PyObject * _resultobj; | |
7062 | wxPyTextShape * _arg0; | |
7063 | double _arg1; | |
7064 | double _arg2; | |
7065 | PyObject * _argo0 = 0; | |
7066 | char *_kwnames[] = { "self","x","y", NULL }; | |
7067 | ||
7068 | self = self; | |
7069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7070 | return NULL; | |
7071 | if (_argo0) { | |
7072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSize. Expected _wxPyTextShape_p."); | |
7075 | return NULL; | |
7076 | } | |
7077 | } | |
7078 | { | |
7079 | wxPy_BEGIN_ALLOW_THREADS; | |
7080 | wxPyTextShape_base_OnSize(_arg0,_arg1,_arg2); | |
7081 | ||
7082 | wxPy_END_ALLOW_THREADS; | |
7083 | } Py_INCREF(Py_None); | |
7084 | _resultobj = Py_None; | |
7085 | return _resultobj; | |
7086 | } | |
7087 | ||
7088 | #define wxPyTextShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7089 | static PyObject *_wrap_wxPyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7090 | PyObject * _resultobj; | |
7091 | bool _result; | |
7092 | wxPyTextShape * _arg0; | |
7093 | wxDC * _arg1; | |
7094 | double _arg2; | |
7095 | double _arg3; | |
7096 | double _arg4; | |
7097 | double _arg5; | |
7098 | bool _arg6 = (bool ) TRUE; | |
7099 | PyObject * _argo0 = 0; | |
7100 | PyObject * _argo1 = 0; | |
7101 | int tempbool6 = (int) TRUE; | |
7102 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7103 | ||
7104 | self = self; | |
7105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7106 | return NULL; | |
7107 | if (_argo0) { | |
7108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePre. Expected _wxPyTextShape_p."); | |
7111 | return NULL; | |
7112 | } | |
7113 | } | |
7114 | if (_argo1) { | |
7115 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7116 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePre. Expected _wxDC_p."); | |
7118 | return NULL; | |
7119 | } | |
7120 | } | |
7121 | _arg6 = (bool ) tempbool6; | |
7122 | { | |
7123 | wxPy_BEGIN_ALLOW_THREADS; | |
7124 | _result = (bool )wxPyTextShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7125 | ||
7126 | wxPy_END_ALLOW_THREADS; | |
7127 | } _resultobj = Py_BuildValue("i",_result); | |
7128 | return _resultobj; | |
7129 | } | |
7130 | ||
7131 | #define wxPyTextShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7132 | static PyObject *_wrap_wxPyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7133 | PyObject * _resultobj; | |
7134 | wxPyTextShape * _arg0; | |
7135 | wxDC * _arg1; | |
7136 | double _arg2; | |
7137 | double _arg3; | |
7138 | double _arg4; | |
7139 | double _arg5; | |
7140 | bool _arg6 = (bool ) TRUE; | |
7141 | PyObject * _argo0 = 0; | |
7142 | PyObject * _argo1 = 0; | |
7143 | int tempbool6 = (int) TRUE; | |
7144 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7145 | ||
7146 | self = self; | |
7147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7148 | return NULL; | |
7149 | if (_argo0) { | |
7150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePost. Expected _wxPyTextShape_p."); | |
7153 | return NULL; | |
7154 | } | |
7155 | } | |
7156 | if (_argo1) { | |
7157 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7158 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePost. Expected _wxDC_p."); | |
7160 | return NULL; | |
7161 | } | |
7162 | } | |
7163 | _arg6 = (bool ) tempbool6; | |
7164 | { | |
7165 | wxPy_BEGIN_ALLOW_THREADS; | |
7166 | wxPyTextShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7167 | ||
7168 | wxPy_END_ALLOW_THREADS; | |
7169 | } Py_INCREF(Py_None); | |
7170 | _resultobj = Py_None; | |
7171 | return _resultobj; | |
7172 | } | |
7173 | ||
7174 | #define wxPyTextShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7175 | static PyObject *_wrap_wxPyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7176 | PyObject * _resultobj; | |
7177 | wxPyTextShape * _arg0; | |
7178 | bool _arg1; | |
7179 | double _arg2; | |
7180 | double _arg3; | |
7181 | int _arg4 = (int ) 0; | |
7182 | int _arg5 = (int ) 0; | |
7183 | PyObject * _argo0 = 0; | |
7184 | int tempbool1; | |
7185 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7186 | ||
7187 | self = self; | |
7188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7189 | return NULL; | |
7190 | if (_argo0) { | |
7191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragLeft. Expected _wxPyTextShape_p."); | |
7194 | return NULL; | |
7195 | } | |
7196 | } | |
7197 | _arg1 = (bool ) tempbool1; | |
7198 | { | |
7199 | wxPy_BEGIN_ALLOW_THREADS; | |
7200 | wxPyTextShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7201 | ||
7202 | wxPy_END_ALLOW_THREADS; | |
7203 | } Py_INCREF(Py_None); | |
7204 | _resultobj = Py_None; | |
7205 | return _resultobj; | |
7206 | } | |
7207 | ||
7208 | #define wxPyTextShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7209 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7210 | PyObject * _resultobj; | |
7211 | wxPyTextShape * _arg0; | |
7212 | double _arg1; | |
7213 | double _arg2; | |
7214 | int _arg3 = (int ) 0; | |
7215 | int _arg4 = (int ) 0; | |
7216 | PyObject * _argo0 = 0; | |
7217 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7218 | ||
7219 | self = self; | |
7220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7221 | return NULL; | |
7222 | if (_argo0) { | |
7223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragLeft. Expected _wxPyTextShape_p."); | |
7226 | return NULL; | |
7227 | } | |
7228 | } | |
7229 | { | |
7230 | wxPy_BEGIN_ALLOW_THREADS; | |
7231 | wxPyTextShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7232 | ||
7233 | wxPy_END_ALLOW_THREADS; | |
7234 | } Py_INCREF(Py_None); | |
7235 | _resultobj = Py_None; | |
7236 | return _resultobj; | |
7237 | } | |
7238 | ||
7239 | #define wxPyTextShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7240 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7241 | PyObject * _resultobj; | |
7242 | wxPyTextShape * _arg0; | |
7243 | double _arg1; | |
7244 | double _arg2; | |
7245 | int _arg3 = (int ) 0; | |
7246 | int _arg4 = (int ) 0; | |
7247 | PyObject * _argo0 = 0; | |
7248 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7249 | ||
7250 | self = self; | |
7251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7252 | return NULL; | |
7253 | if (_argo0) { | |
7254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragLeft. Expected _wxPyTextShape_p."); | |
7257 | return NULL; | |
7258 | } | |
7259 | } | |
7260 | { | |
7261 | wxPy_BEGIN_ALLOW_THREADS; | |
7262 | wxPyTextShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7263 | ||
7264 | wxPy_END_ALLOW_THREADS; | |
7265 | } Py_INCREF(Py_None); | |
7266 | _resultobj = Py_None; | |
7267 | return _resultobj; | |
7268 | } | |
7269 | ||
7270 | #define wxPyTextShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7271 | static PyObject *_wrap_wxPyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7272 | PyObject * _resultobj; | |
7273 | wxPyTextShape * _arg0; | |
7274 | bool _arg1; | |
7275 | double _arg2; | |
7276 | double _arg3; | |
7277 | int _arg4 = (int ) 0; | |
7278 | int _arg5 = (int ) 0; | |
7279 | PyObject * _argo0 = 0; | |
7280 | int tempbool1; | |
7281 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7282 | ||
7283 | self = self; | |
7284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7285 | return NULL; | |
7286 | if (_argo0) { | |
7287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragRight. Expected _wxPyTextShape_p."); | |
7290 | return NULL; | |
7291 | } | |
7292 | } | |
7293 | _arg1 = (bool ) tempbool1; | |
7294 | { | |
7295 | wxPy_BEGIN_ALLOW_THREADS; | |
7296 | wxPyTextShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7297 | ||
7298 | wxPy_END_ALLOW_THREADS; | |
7299 | } Py_INCREF(Py_None); | |
7300 | _resultobj = Py_None; | |
7301 | return _resultobj; | |
7302 | } | |
7303 | ||
7304 | #define wxPyTextShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7305 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7306 | PyObject * _resultobj; | |
7307 | wxPyTextShape * _arg0; | |
7308 | double _arg1; | |
7309 | double _arg2; | |
7310 | int _arg3 = (int ) 0; | |
7311 | int _arg4 = (int ) 0; | |
7312 | PyObject * _argo0 = 0; | |
7313 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7314 | ||
7315 | self = self; | |
7316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7317 | return NULL; | |
7318 | if (_argo0) { | |
7319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragRight. Expected _wxPyTextShape_p."); | |
7322 | return NULL; | |
7323 | } | |
7324 | } | |
7325 | { | |
7326 | wxPy_BEGIN_ALLOW_THREADS; | |
7327 | wxPyTextShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7328 | ||
7329 | wxPy_END_ALLOW_THREADS; | |
7330 | } Py_INCREF(Py_None); | |
7331 | _resultobj = Py_None; | |
7332 | return _resultobj; | |
7333 | } | |
7334 | ||
7335 | #define wxPyTextShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7336 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7337 | PyObject * _resultobj; | |
7338 | wxPyTextShape * _arg0; | |
7339 | double _arg1; | |
7340 | double _arg2; | |
7341 | int _arg3 = (int ) 0; | |
7342 | int _arg4 = (int ) 0; | |
7343 | PyObject * _argo0 = 0; | |
7344 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7345 | ||
7346 | self = self; | |
7347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7348 | return NULL; | |
7349 | if (_argo0) { | |
7350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragRight. Expected _wxPyTextShape_p."); | |
7353 | return NULL; | |
7354 | } | |
7355 | } | |
7356 | { | |
7357 | wxPy_BEGIN_ALLOW_THREADS; | |
7358 | wxPyTextShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7359 | ||
7360 | wxPy_END_ALLOW_THREADS; | |
7361 | } Py_INCREF(Py_None); | |
7362 | _resultobj = Py_None; | |
7363 | return _resultobj; | |
7364 | } | |
7365 | ||
7366 | #define wxPyTextShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7367 | static PyObject *_wrap_wxPyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7368 | PyObject * _resultobj; | |
7369 | wxPyTextShape * _arg0; | |
7370 | wxDC * _arg1; | |
7371 | double _arg2; | |
7372 | double _arg3; | |
7373 | double _arg4; | |
7374 | double _arg5; | |
7375 | PyObject * _argo0 = 0; | |
7376 | PyObject * _argo1 = 0; | |
7377 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7378 | ||
7379 | self = self; | |
7380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyTextShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7381 | return NULL; | |
7382 | if (_argo0) { | |
7383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawOutline. Expected _wxPyTextShape_p."); | |
7386 | return NULL; | |
7387 | } | |
7388 | } | |
7389 | if (_argo1) { | |
7390 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7391 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7393 | return NULL; | |
7394 | } | |
7395 | } | |
7396 | { | |
7397 | wxPy_BEGIN_ALLOW_THREADS; | |
7398 | wxPyTextShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7399 | ||
7400 | wxPy_END_ALLOW_THREADS; | |
7401 | } Py_INCREF(Py_None); | |
7402 | _resultobj = Py_None; | |
7403 | return _resultobj; | |
7404 | } | |
7405 | ||
7406 | #define wxPyTextShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7407 | static PyObject *_wrap_wxPyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7408 | PyObject * _resultobj; | |
7409 | wxPyTextShape * _arg0; | |
7410 | wxDC * _arg1; | |
7411 | PyObject * _argo0 = 0; | |
7412 | PyObject * _argo1 = 0; | |
7413 | char *_kwnames[] = { "self","dc", NULL }; | |
7414 | ||
7415 | self = self; | |
7416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7417 | return NULL; | |
7418 | if (_argo0) { | |
7419 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7420 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7421 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxPyTextShape_p."); | |
7422 | return NULL; | |
7423 | } | |
7424 | } | |
7425 | if (_argo1) { | |
7426 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7427 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7429 | return NULL; | |
7430 | } | |
7431 | } | |
7432 | { | |
7433 | wxPy_BEGIN_ALLOW_THREADS; | |
7434 | wxPyTextShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7435 | ||
7436 | wxPy_END_ALLOW_THREADS; | |
7437 | } Py_INCREF(Py_None); | |
7438 | _resultobj = Py_None; | |
7439 | return _resultobj; | |
7440 | } | |
7441 | ||
7442 | #define wxPyTextShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7443 | static PyObject *_wrap_wxPyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7444 | PyObject * _resultobj; | |
7445 | wxPyTextShape * _arg0; | |
7446 | wxDC * _arg1; | |
7447 | PyObject * _argo0 = 0; | |
7448 | PyObject * _argo1 = 0; | |
7449 | char *_kwnames[] = { "self","dc", NULL }; | |
7450 | ||
7451 | self = self; | |
7452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7453 | return NULL; | |
7454 | if (_argo0) { | |
7455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxPyTextShape_p."); | |
7458 | return NULL; | |
7459 | } | |
7460 | } | |
7461 | if (_argo1) { | |
7462 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7463 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7465 | return NULL; | |
7466 | } | |
7467 | } | |
7468 | { | |
7469 | wxPy_BEGIN_ALLOW_THREADS; | |
7470 | wxPyTextShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7471 | ||
7472 | wxPy_END_ALLOW_THREADS; | |
7473 | } Py_INCREF(Py_None); | |
7474 | _resultobj = Py_None; | |
7475 | return _resultobj; | |
7476 | } | |
7477 | ||
7478 | #define wxPyTextShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7479 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7480 | PyObject * _resultobj; | |
7481 | wxPyTextShape * _arg0; | |
7482 | wxDC * _arg1; | |
7483 | bool _arg2 = (bool ) TRUE; | |
7484 | PyObject * _argo0 = 0; | |
7485 | PyObject * _argo1 = 0; | |
7486 | int tempbool2 = (int) TRUE; | |
7487 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7488 | ||
7489 | self = self; | |
7490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7491 | return NULL; | |
7492 | if (_argo0) { | |
7493 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7494 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLink. Expected _wxPyTextShape_p."); | |
7496 | return NULL; | |
7497 | } | |
7498 | } | |
7499 | if (_argo1) { | |
7500 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7501 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLink. Expected _wxDC_p."); | |
7503 | return NULL; | |
7504 | } | |
7505 | } | |
7506 | _arg2 = (bool ) tempbool2; | |
7507 | { | |
7508 | wxPy_BEGIN_ALLOW_THREADS; | |
7509 | wxPyTextShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7510 | ||
7511 | wxPy_END_ALLOW_THREADS; | |
7512 | } Py_INCREF(Py_None); | |
7513 | _resultobj = Py_None; | |
7514 | return _resultobj; | |
7515 | } | |
7516 | ||
7517 | #define wxPyTextShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7518 | static PyObject *_wrap_wxPyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7519 | PyObject * _resultobj; | |
7520 | wxPyTextShape * _arg0; | |
2348eaee | 7521 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7522 | bool _arg2; |
7523 | double _arg3; | |
7524 | double _arg4; | |
7525 | int _arg5 = (int ) 0; | |
7526 | int _arg6 = (int ) 0; | |
7527 | PyObject * _argo0 = 0; | |
7528 | PyObject * _argo1 = 0; | |
7529 | int tempbool2; | |
7530 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7531 | ||
7532 | self = self; | |
7533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyTextShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7534 | return NULL; | |
7535 | if (_argo0) { | |
7536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyTextShape_p."); | |
7539 | return NULL; | |
7540 | } | |
7541 | } | |
7542 | if (_argo1) { | |
7543 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7544 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7546 | return NULL; |
7547 | } | |
7548 | } | |
7549 | _arg2 = (bool ) tempbool2; | |
7550 | { | |
7551 | wxPy_BEGIN_ALLOW_THREADS; | |
7552 | wxPyTextShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7553 | ||
7554 | wxPy_END_ALLOW_THREADS; | |
7555 | } Py_INCREF(Py_None); | |
7556 | _resultobj = Py_None; | |
7557 | return _resultobj; | |
7558 | } | |
7559 | ||
7560 | #define wxPyTextShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7561 | static PyObject *_wrap_wxPyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7562 | PyObject * _resultobj; | |
7563 | wxPyTextShape * _arg0; | |
2348eaee | 7564 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7565 | double _arg2; |
7566 | double _arg3; | |
7567 | int _arg4 = (int ) 0; | |
7568 | int _arg5 = (int ) 0; | |
7569 | PyObject * _argo0 = 0; | |
7570 | PyObject * _argo1 = 0; | |
7571 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7572 | ||
7573 | self = self; | |
7574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7575 | return NULL; | |
7576 | if (_argo0) { | |
7577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyTextShape_p."); | |
7580 | return NULL; | |
7581 | } | |
7582 | } | |
7583 | if (_argo1) { | |
7584 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7585 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7587 | return NULL; |
7588 | } | |
7589 | } | |
7590 | { | |
7591 | wxPy_BEGIN_ALLOW_THREADS; | |
7592 | wxPyTextShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7593 | ||
7594 | wxPy_END_ALLOW_THREADS; | |
7595 | } Py_INCREF(Py_None); | |
7596 | _resultobj = Py_None; | |
7597 | return _resultobj; | |
7598 | } | |
7599 | ||
7600 | #define wxPyTextShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7601 | static PyObject *_wrap_wxPyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7602 | PyObject * _resultobj; | |
7603 | wxPyTextShape * _arg0; | |
2348eaee | 7604 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7605 | double _arg2; |
7606 | double _arg3; | |
7607 | int _arg4 = (int ) 0; | |
7608 | int _arg5 = (int ) 0; | |
7609 | PyObject * _argo0 = 0; | |
7610 | PyObject * _argo1 = 0; | |
7611 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7612 | ||
7613 | self = self; | |
7614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7615 | return NULL; | |
7616 | if (_argo0) { | |
7617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyTextShape_p."); | |
7620 | return NULL; | |
7621 | } | |
7622 | } | |
7623 | if (_argo1) { | |
7624 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7625 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7627 | return NULL; |
7628 | } | |
7629 | } | |
7630 | { | |
7631 | wxPy_BEGIN_ALLOW_THREADS; | |
7632 | wxPyTextShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7633 | ||
7634 | wxPy_END_ALLOW_THREADS; | |
7635 | } Py_INCREF(Py_None); | |
7636 | _resultobj = Py_None; | |
7637 | return _resultobj; | |
7638 | } | |
7639 | ||
7640 | #define wxPyTextShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7641 | static PyObject *_wrap_wxPyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7642 | PyObject * _resultobj; | |
7643 | wxPyTextShape * _arg0; | |
7644 | double _arg1; | |
7645 | double _arg2; | |
7646 | PyObject * _argo0 = 0; | |
7647 | char *_kwnames[] = { "self","w","h", NULL }; | |
7648 | ||
7649 | self = self; | |
7650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7651 | return NULL; | |
7652 | if (_argo0) { | |
7653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginSize. Expected _wxPyTextShape_p."); | |
7656 | return NULL; | |
7657 | } | |
7658 | } | |
7659 | { | |
7660 | wxPy_BEGIN_ALLOW_THREADS; | |
7661 | wxPyTextShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7662 | ||
7663 | wxPy_END_ALLOW_THREADS; | |
7664 | } Py_INCREF(Py_None); | |
7665 | _resultobj = Py_None; | |
7666 | return _resultobj; | |
7667 | } | |
7668 | ||
7669 | #define wxPyTextShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7670 | static PyObject *_wrap_wxPyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7671 | PyObject * _resultobj; | |
7672 | wxPyTextShape * _arg0; | |
7673 | double _arg1; | |
7674 | double _arg2; | |
7675 | PyObject * _argo0 = 0; | |
7676 | char *_kwnames[] = { "self","w","h", NULL }; | |
7677 | ||
7678 | self = self; | |
7679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7680 | return NULL; | |
7681 | if (_argo0) { | |
7682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndSize. Expected _wxPyTextShape_p."); | |
7685 | return NULL; | |
7686 | } | |
7687 | } | |
7688 | { | |
7689 | wxPy_BEGIN_ALLOW_THREADS; | |
7690 | wxPyTextShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7691 | ||
7692 | wxPy_END_ALLOW_THREADS; | |
7693 | } Py_INCREF(Py_None); | |
7694 | _resultobj = Py_None; | |
7695 | return _resultobj; | |
7696 | } | |
7697 | ||
7698 | static PyMethodDef oglshapes2cMethods[] = { | |
7699 | { "wxPyTextShape_base_OnEndSize", (PyCFunction) _wrap_wxPyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7700 | { "wxPyTextShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7701 | { "wxPyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7702 | { "wxPyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7703 | { "wxPyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7704 | { "wxPyTextShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7705 | { "wxPyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7706 | { "wxPyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7707 | { "wxPyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7708 | { "wxPyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7709 | { "wxPyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7710 | { "wxPyTextShape_base_OnDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7711 | { "wxPyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7712 | { "wxPyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7713 | { "wxPyTextShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7714 | { "wxPyTextShape_base_OnMovePost", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7715 | { "wxPyTextShape_base_OnMovePre", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7716 | { "wxPyTextShape_base_OnSize", (PyCFunction) _wrap_wxPyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7717 | { "wxPyTextShape_base_OnRightClick", (PyCFunction) _wrap_wxPyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7718 | { "wxPyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7719 | { "wxPyTextShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7720 | { "wxPyTextShape_base_OnHighlight", (PyCFunction) _wrap_wxPyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7721 | { "wxPyTextShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7722 | { "wxPyTextShape_base_OnErase", (PyCFunction) _wrap_wxPyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7723 | { "wxPyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7724 | { "wxPyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7725 | { "wxPyTextShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7726 | { "wxPyTextShape_base_OnDraw", (PyCFunction) _wrap_wxPyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7727 | { "wxPyTextShape_base_OnDelete", (PyCFunction) _wrap_wxPyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 7728 | { "wxPyTextShape__setCallbackInfo", (PyCFunction) _wrap_wxPyTextShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
7729 | { "new_wxPyTextShape", (PyCFunction) _wrap_new_wxPyTextShape, METH_VARARGS | METH_KEYWORDS }, |
7730 | { "wxPyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7731 | { "wxPyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7732 | { "wxPyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7733 | { "wxPyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7734 | { "wxPyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7735 | { "wxPyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7736 | { "wxPyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7737 | { "wxPyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7738 | { "wxPyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7739 | { "wxPyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7740 | { "wxPyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7741 | { "wxPyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7742 | { "wxPyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7743 | { "wxPyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7744 | { "wxPyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7745 | { "wxPyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7746 | { "wxPyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7747 | { "wxPyPolygonShape_base_OnSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7748 | { "wxPyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7749 | { "wxPyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7750 | { "wxPyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7751 | { "wxPyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7752 | { "wxPyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7753 | { "wxPyPolygonShape_base_OnErase", (PyCFunction) _wrap_wxPyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7754 | { "wxPyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7755 | { "wxPyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7756 | { "wxPyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7757 | { "wxPyPolygonShape_base_OnDraw", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7758 | { "wxPyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_wxPyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS }, | |
7759 | { "wxPyPolygonShape_GetPoints", (PyCFunction) _wrap_wxPyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS }, | |
7760 | { "wxPyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7761 | { "wxPyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_wxPyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS }, | |
7762 | { "wxPyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7763 | { "wxPyPolygonShape_Create", (PyCFunction) _wrap_wxPyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 7764 | { "wxPyPolygonShape__setCallbackInfo", (PyCFunction) _wrap_wxPyPolygonShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
7765 | { "new_wxPyPolygonShape", (PyCFunction) _wrap_new_wxPyPolygonShape, METH_VARARGS | METH_KEYWORDS }, |
7766 | { "wxPyLineShape_base_OnEndSize", (PyCFunction) _wrap_wxPyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7767 | { "wxPyLineShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7768 | { "wxPyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7769 | { "wxPyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7770 | { "wxPyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7771 | { "wxPyLineShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7772 | { "wxPyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7773 | { "wxPyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7774 | { "wxPyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7775 | { "wxPyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7776 | { "wxPyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7777 | { "wxPyLineShape_base_OnDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7778 | { "wxPyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7779 | { "wxPyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7780 | { "wxPyLineShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7781 | { "wxPyLineShape_base_OnMovePost", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7782 | { "wxPyLineShape_base_OnMovePre", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7783 | { "wxPyLineShape_base_OnSize", (PyCFunction) _wrap_wxPyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7784 | { "wxPyLineShape_base_OnRightClick", (PyCFunction) _wrap_wxPyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7785 | { "wxPyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7786 | { "wxPyLineShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7787 | { "wxPyLineShape_base_OnHighlight", (PyCFunction) _wrap_wxPyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7788 | { "wxPyLineShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7789 | { "wxPyLineShape_base_OnErase", (PyCFunction) _wrap_wxPyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7790 | { "wxPyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7791 | { "wxPyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7792 | { "wxPyLineShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7793 | { "wxPyLineShape_base_OnDraw", (PyCFunction) _wrap_wxPyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7794 | { "wxPyLineShape_Unlink", (PyCFunction) _wrap_wxPyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS }, | |
7795 | { "wxPyLineShape_Straighten", (PyCFunction) _wrap_wxPyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS }, | |
7796 | { "wxPyLineShape_SetTo", (PyCFunction) _wrap_wxPyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS }, | |
7797 | { "wxPyLineShape_SetSpline", (PyCFunction) _wrap_wxPyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS }, | |
7798 | { "wxPyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_wxPyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS }, | |
7799 | { "wxPyLineShape_SetFrom", (PyCFunction) _wrap_wxPyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7800 | { "wxPyLineShape_SetEnds", (PyCFunction) _wrap_wxPyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7801 | { "wxPyLineShape_SetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7802 | { "wxPyLineShape_SetAttachments", (PyCFunction) _wrap_wxPyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS }, | |
7803 | { "wxPyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
9416aa89 | 7804 | { "wxPyLineShape_GetLineControlPoints", (PyCFunction) _wrap_wxPyLineShape_GetLineControlPoints, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
7805 | { "wxPyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_wxPyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS }, |
7806 | { "wxPyLineShape_IsSpline", (PyCFunction) _wrap_wxPyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS }, | |
7807 | { "wxPyLineShape_IsEnd", (PyCFunction) _wrap_wxPyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS }, | |
7808 | { "wxPyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7809 | { "wxPyLineShape_Initialise", (PyCFunction) _wrap_wxPyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS }, | |
7810 | { "wxPyLineShape_GetTo", (PyCFunction) _wrap_wxPyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS }, | |
7811 | { "wxPyLineShape_GetNextControlPoint", (PyCFunction) _wrap_wxPyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7812 | { "wxPyLineShape_GetLabelPosition", (PyCFunction) _wrap_wxPyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS }, | |
7813 | { "wxPyLineShape_GetFrom", (PyCFunction) _wrap_wxPyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7814 | { "wxPyLineShape_GetEnds", (PyCFunction) _wrap_wxPyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7815 | { "wxPyLineShape_GetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7816 | { "wxPyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
7817 | { "wxPyLineShape_FindNth", (PyCFunction) _wrap_wxPyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS }, | |
7818 | { "wxPyLineShape_FindMinimumWidth", (PyCFunction) _wrap_wxPyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS }, | |
7819 | { "wxPyLineShape_FindLinePosition", (PyCFunction) _wrap_wxPyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS }, | |
7820 | { "wxPyLineShape_FindLineEndPoints", (PyCFunction) _wrap_wxPyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS }, | |
7821 | { "wxPyLineShape_FindArrowHead", (PyCFunction) _wrap_wxPyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7822 | { "wxPyLineShape_FindArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7823 | { "wxPyLineShape_EraseRegion", (PyCFunction) _wrap_wxPyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS }, | |
7824 | { "wxPyLineShape_DrawRegion", (PyCFunction) _wrap_wxPyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS }, | |
7825 | { "wxPyLineShape_DrawArrows", (PyCFunction) _wrap_wxPyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS }, | |
7826 | { "wxPyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7827 | { "wxPyLineShape_DeleteArrowHead", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7828 | { "wxPyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7829 | { "wxPyLineShape_DrawArrow", (PyCFunction) _wrap_wxPyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS }, | |
7830 | { "wxPyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_wxPyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS }, | |
7831 | { "wxPyLineShape_ClearArrow", (PyCFunction) _wrap_wxPyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS }, | |
7832 | { "wxPyLineShape_AddArrowOrdered", (PyCFunction) _wrap_wxPyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS }, | |
7833 | { "wxPyLineShape_AddArrow", (PyCFunction) _wrap_wxPyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 7834 | { "wxPyLineShape__setCallbackInfo", (PyCFunction) _wrap_wxPyLineShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
7835 | { "new_wxPyLineShape", (PyCFunction) _wrap_new_wxPyLineShape, METH_VARARGS | METH_KEYWORDS }, |
7836 | { "wxArrowHead_SetSpacing", (PyCFunction) _wrap_wxArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7837 | { "wxArrowHead_SetSize", (PyCFunction) _wrap_wxArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
7838 | { "wxArrowHead_GetArrowSize", (PyCFunction) _wrap_wxArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS }, | |
7839 | { "wxArrowHead_GetArrowEnd", (PyCFunction) _wrap_wxArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS }, | |
7840 | { "wxArrowHead_GetId", (PyCFunction) _wrap_wxArrowHead_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7841 | { "wxArrowHead_GetMetaFile", (PyCFunction) _wrap_wxArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
7842 | { "wxArrowHead_SetYOffset", (PyCFunction) _wrap_wxArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7843 | { "wxArrowHead_SetXOffset", (PyCFunction) _wrap_wxArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7844 | { "wxArrowHead_GetName", (PyCFunction) _wrap_wxArrowHead_GetName, METH_VARARGS | METH_KEYWORDS }, | |
7845 | { "wxArrowHead_GetSize", (PyCFunction) _wrap_wxArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
7846 | { "wxArrowHead_GetSpacing", (PyCFunction) _wrap_wxArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7847 | { "wxArrowHead_GetYOffset", (PyCFunction) _wrap_wxArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7848 | { "wxArrowHead_GetXOffset", (PyCFunction) _wrap_wxArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7849 | { "wxArrowHead_SetPosition", (PyCFunction) _wrap_wxArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7850 | { "wxArrowHead_GetPosition", (PyCFunction) _wrap_wxArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7851 | { "wxArrowHead__GetType", (PyCFunction) _wrap_wxArrowHead__GetType, METH_VARARGS | METH_KEYWORDS }, | |
7852 | { "delete_wxArrowHead", (PyCFunction) _wrap_delete_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7853 | { "new_wxArrowHead", (PyCFunction) _wrap_new_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7854 | { "wxPyCircleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7855 | { "wxPyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7856 | { "wxPyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7857 | { "wxPyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7858 | { "wxPyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7859 | { "wxPyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7860 | { "wxPyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7861 | { "wxPyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7862 | { "wxPyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7863 | { "wxPyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7864 | { "wxPyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7865 | { "wxPyCircleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7866 | { "wxPyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7867 | { "wxPyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7868 | { "wxPyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7869 | { "wxPyCircleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7870 | { "wxPyCircleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7871 | { "wxPyCircleShape_base_OnSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7872 | { "wxPyCircleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7873 | { "wxPyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7874 | { "wxPyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7875 | { "wxPyCircleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7876 | { "wxPyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7877 | { "wxPyCircleShape_base_OnErase", (PyCFunction) _wrap_wxPyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7878 | { "wxPyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7879 | { "wxPyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7880 | { "wxPyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7881 | { "wxPyCircleShape_base_OnDraw", (PyCFunction) _wrap_wxPyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 7882 | { "wxPyCircleShape__setCallbackInfo", (PyCFunction) _wrap_wxPyCircleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
7883 | { "new_wxPyCircleShape", (PyCFunction) _wrap_new_wxPyCircleShape, METH_VARARGS | METH_KEYWORDS }, |
7884 | { "wxPyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7885 | { "wxPyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7886 | { "wxPyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7887 | { "wxPyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7888 | { "wxPyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7889 | { "wxPyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7890 | { "wxPyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7891 | { "wxPyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7892 | { "wxPyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7893 | { "wxPyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7894 | { "wxPyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7895 | { "wxPyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7896 | { "wxPyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7897 | { "wxPyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7898 | { "wxPyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7899 | { "wxPyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7900 | { "wxPyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7901 | { "wxPyEllipseShape_base_OnSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7902 | { "wxPyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7903 | { "wxPyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7904 | { "wxPyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7905 | { "wxPyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7906 | { "wxPyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7907 | { "wxPyEllipseShape_base_OnErase", (PyCFunction) _wrap_wxPyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7908 | { "wxPyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7909 | { "wxPyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7910 | { "wxPyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7911 | { "wxPyEllipseShape_base_OnDraw", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 7912 | { "wxPyEllipseShape__setCallbackInfo", (PyCFunction) _wrap_wxPyEllipseShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
7913 | { "new_wxPyEllipseShape", (PyCFunction) _wrap_new_wxPyEllipseShape, METH_VARARGS | METH_KEYWORDS }, |
7914 | { NULL, NULL } | |
7915 | }; | |
7916 | #ifdef __cplusplus | |
7917 | } | |
7918 | #endif | |
7919 | /* | |
7920 | * This table is used by the pointer type-checker | |
7921 | */ | |
7922 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
e91a9dfc | 7923 | { "_signed_long","_long",0}, |
99ab9f3b | 7924 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
7925 | { "_wxPrintQuality","_int",0}, |
7926 | { "_wxPrintQuality","_signed_int",0}, | |
7927 | { "_wxPrintQuality","_unsigned_int",0}, | |
7928 | { "_wxPrintQuality","_wxWindowID",0}, | |
7929 | { "_wxPrintQuality","_uint",0}, | |
7930 | { "_wxPrintQuality","_EBool",0}, | |
7931 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 7932 | { "_wxPrintQuality","_time_t",0}, |
e91a9dfc | 7933 | { "_byte","_unsigned_char",0}, |
e91a9dfc RD |
7934 | { "_long","_unsigned_long",0}, |
7935 | { "_long","_signed_long",0}, | |
99ab9f3b | 7936 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 7937 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 7938 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
7939 | { "_size_t","_unsigned_int",0}, |
7940 | { "_size_t","_int",0}, | |
7941 | { "_size_t","_wxWindowID",0}, | |
7942 | { "_size_t","_uint",0}, | |
99ab9f3b | 7943 | { "_uint","_wxCoord",0}, |
e91a9dfc | 7944 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 7945 | { "_uint","_time_t",0}, |
e91a9dfc RD |
7946 | { "_uint","_size_t",0}, |
7947 | { "_uint","_unsigned_int",0}, | |
7948 | { "_uint","_int",0}, | |
7949 | { "_uint","_wxWindowID",0}, | |
c368d904 | 7950 | { "_wxChar","_char",0}, |
c368d904 | 7951 | { "_char","_wxChar",0}, |
19a97bd6 | 7952 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
99ab9f3b | 7953 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
7954 | { "_EBool","_wxPrintQuality",0}, |
7955 | { "_EBool","_signed_int",0}, | |
7956 | { "_EBool","_int",0}, | |
7957 | { "_EBool","_wxWindowID",0}, | |
e91a9dfc | 7958 | { "_unsigned_long","_long",0}, |
19a97bd6 | 7959 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
99ab9f3b | 7960 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
7961 | { "_signed_int","_wxPrintQuality",0}, |
7962 | { "_signed_int","_EBool",0}, | |
7963 | { "_signed_int","_wxWindowID",0}, | |
7964 | { "_signed_int","_int",0}, | |
c368d904 | 7965 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
7966 | { "_WXTYPE","_short",0}, |
7967 | { "_WXTYPE","_signed_short",0}, | |
7968 | { "_WXTYPE","_unsigned_short",0}, | |
c368d904 | 7969 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
7970 | { "_unsigned_short","_WXTYPE",0}, |
7971 | { "_unsigned_short","_short",0}, | |
9416aa89 | 7972 | { "_wxObject","_wxPyTextShape",SwigwxPyTextShapeTowxObject}, |
9416aa89 | 7973 | { "_wxObject","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxObject}, |
9416aa89 | 7974 | { "_wxObject","_wxPyLineShape",SwigwxPyLineShapeTowxObject}, |
9416aa89 | 7975 | { "_wxObject","_wxArrowHead",SwigwxArrowHeadTowxObject}, |
9416aa89 | 7976 | { "_wxObject","_wxPyCircleShape",SwigwxPyCircleShapeTowxObject}, |
9416aa89 | 7977 | { "_wxObject","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxObject}, |
e91a9dfc RD |
7978 | { "_signed_short","_WXTYPE",0}, |
7979 | { "_signed_short","_short",0}, | |
e91a9dfc | 7980 | { "_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, |
e91a9dfc | 7981 | { "_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, |
e91a9dfc | 7982 | { "_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, |
e91a9dfc | 7983 | { "_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, |
e91a9dfc | 7984 | { "_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, |
e91a9dfc | 7985 | { "_unsigned_char","_byte",0}, |
99ab9f3b | 7986 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 7987 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 7988 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
7989 | { "_unsigned_int","_size_t",0}, |
7990 | { "_unsigned_int","_uint",0}, | |
7991 | { "_unsigned_int","_wxWindowID",0}, | |
7992 | { "_unsigned_int","_int",0}, | |
c368d904 | 7993 | { "_short","_wxDateTime_t",0}, |
e91a9dfc RD |
7994 | { "_short","_WXTYPE",0}, |
7995 | { "_short","_unsigned_short",0}, | |
7996 | { "_short","_signed_short",0}, | |
99ab9f3b | 7997 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 7998 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 7999 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
8000 | { "_wxWindowID","_size_t",0}, |
8001 | { "_wxWindowID","_EBool",0}, | |
8002 | { "_wxWindowID","_uint",0}, | |
8003 | { "_wxWindowID","_int",0}, | |
8004 | { "_wxWindowID","_signed_int",0}, | |
8005 | { "_wxWindowID","_unsigned_int",0}, | |
99ab9f3b | 8006 | { "_int","_wxCoord",0}, |
e91a9dfc | 8007 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8008 | { "_int","_time_t",0}, |
e91a9dfc RD |
8009 | { "_int","_size_t",0}, |
8010 | { "_int","_EBool",0}, | |
8011 | { "_int","_uint",0}, | |
8012 | { "_int","_wxWindowID",0}, | |
8013 | { "_int","_unsigned_int",0}, | |
8014 | { "_int","_signed_int",0}, | |
c368d904 RD |
8015 | { "_wxDateTime_t","_unsigned_short",0}, |
8016 | { "_wxDateTime_t","_short",0}, | |
8017 | { "_wxDateTime_t","_WXTYPE",0}, | |
c368d904 RD |
8018 | { "_time_t","_wxCoord",0}, |
8019 | { "_time_t","_wxPrintQuality",0}, | |
8020 | { "_time_t","_unsigned_int",0}, | |
8021 | { "_time_t","_int",0}, | |
8022 | { "_time_t","_wxWindowID",0}, | |
8023 | { "_time_t","_uint",0}, | |
8024 | { "_time_t","_size_t",0}, | |
99ab9f3b RD |
8025 | { "_wxCoord","_int",0}, |
8026 | { "_wxCoord","_signed_int",0}, | |
8027 | { "_wxCoord","_unsigned_int",0}, | |
8028 | { "_wxCoord","_wxWindowID",0}, | |
8029 | { "_wxCoord","_uint",0}, | |
8030 | { "_wxCoord","_EBool",0}, | |
8031 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8032 | { "_wxCoord","_time_t",0}, |
99ab9f3b | 8033 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 8034 | { "_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, |
e91a9dfc | 8035 | { "_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 8036 | { "_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 8037 | { "_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 8038 | { "_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 8039 | { "_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 8040 | { "_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, |
e91a9dfc RD |
8041 | {0,0,0}}; |
8042 | ||
8043 | static PyObject *SWIG_globals; | |
8044 | #ifdef __cplusplus | |
8045 | extern "C" | |
8046 | #endif | |
8047 | SWIGEXPORT(void) initoglshapes2c() { | |
8048 | PyObject *m, *d; | |
8049 | SWIG_globals = SWIG_newvarlink(); | |
8050 | m = Py_InitModule("oglshapes2c", oglshapes2cMethods); | |
8051 | d = PyModule_GetDict(m); | |
8052 | { | |
8053 | int i; | |
8054 | for (i = 0; _swig_mapping[i].n1; i++) | |
8055 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8056 | } | |
8057 | } |