]>
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__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
e91a9dfc | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
e91a9dfc RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
185d7c3e | 44 | |
e91a9dfc RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initoglshapes2c | |
55 | ||
56 | #define SWIG_name "oglshapes2c" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
e91a9dfc RD |
59 | #include "oglhelpers.h" |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
185d7c3e | 63 | if (!target) { |
e91a9dfc | 64 | target = o; |
185d7c3e | 65 | } else if (target == Py_None) { |
e91a9dfc RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
185d7c3e | 68 | } else { |
e91a9dfc RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
185d7c3e | 85 | if (!target) { |
e91a9dfc | 86 | target = o; |
185d7c3e | 87 | } else if (target == Py_None) { |
e91a9dfc RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
185d7c3e | 90 | } else { |
e91a9dfc RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
185d7c3e RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
98 | |
99 | o2 = target; | |
185d7c3e RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
e91a9dfc RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
e91a9dfc RD |
107 | static char* wxStringErrorMsg = "string type is required for parameter"; |
108 | ||
109 | WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape); | |
110 | ||
111 | WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape); | |
112 | ||
113 | WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape); | |
114 | ||
115 | WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape); | |
116 | ||
117 | WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape); | |
118 | #ifdef __cplusplus | |
119 | extern "C" { | |
120 | #endif | |
121 | static void *SwigwxPyEllipseShapeTowxPyShape(void *ptr) { | |
122 | wxPyEllipseShape *src; | |
123 | wxPyShape *dest; | |
124 | src = (wxPyEllipseShape *) ptr; | |
125 | dest = (wxPyShape *) src; | |
126 | return (void *) dest; | |
127 | } | |
128 | ||
129 | static void *SwigwxPyEllipseShapeTowxPyShapeEvtHandler(void *ptr) { | |
130 | wxPyEllipseShape *src; | |
131 | wxPyShapeEvtHandler *dest; | |
132 | src = (wxPyEllipseShape *) ptr; | |
133 | dest = (wxPyShapeEvtHandler *) src; | |
134 | return (void *) dest; | |
135 | } | |
136 | ||
137 | #define new_wxPyEllipseShape(_swigarg0,_swigarg1) (new wxPyEllipseShape(_swigarg0,_swigarg1)) | |
138 | static PyObject *_wrap_new_wxPyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
139 | PyObject * _resultobj; | |
140 | wxPyEllipseShape * _result; | |
141 | double _arg0 = (double ) 0.0; | |
142 | double _arg1 = (double ) 0.0; | |
143 | char *_kwnames[] = { "width","height", NULL }; | |
144 | char _ptemp[128]; | |
145 | ||
146 | self = self; | |
147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyEllipseShape",_kwnames,&_arg0,&_arg1)) | |
148 | return NULL; | |
149 | { | |
150 | wxPy_BEGIN_ALLOW_THREADS; | |
151 | _result = (wxPyEllipseShape *)new_wxPyEllipseShape(_arg0,_arg1); | |
152 | ||
153 | wxPy_END_ALLOW_THREADS; | |
154 | } if (_result) { | |
155 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEllipseShape_p"); | |
156 | _resultobj = Py_BuildValue("s",_ptemp); | |
157 | } else { | |
158 | Py_INCREF(Py_None); | |
159 | _resultobj = Py_None; | |
160 | } | |
161 | return _resultobj; | |
162 | } | |
163 | ||
f6bcfd97 | 164 | #define wxPyEllipseShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
165 | static PyObject *_wrap_wxPyEllipseShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
166 | PyObject * _resultobj; | |
167 | wxPyEllipseShape * _arg0; | |
168 | PyObject * _arg1; | |
f6bcfd97 | 169 | PyObject * _arg2; |
e91a9dfc RD |
170 | PyObject * _argo0 = 0; |
171 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
172 | PyObject * _obj2 = 0; |
173 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
174 | |
175 | self = self; | |
f6bcfd97 | 176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyEllipseShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
177 | return NULL; |
178 | if (_argo0) { | |
179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape__setSelf. Expected _wxPyEllipseShape_p."); | |
182 | return NULL; | |
183 | } | |
184 | } | |
185 | { | |
186 | _arg1 = _obj1; | |
187 | } | |
f6bcfd97 BP |
188 | { |
189 | _arg2 = _obj2; | |
190 | } | |
e91a9dfc RD |
191 | { |
192 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 193 | wxPyEllipseShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
194 | |
195 | wxPy_END_ALLOW_THREADS; | |
196 | } Py_INCREF(Py_None); | |
197 | _resultobj = Py_None; | |
198 | return _resultobj; | |
199 | } | |
200 | ||
201 | #define wxPyEllipseShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
202 | static PyObject *_wrap_wxPyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
203 | PyObject * _resultobj; | |
204 | wxPyEllipseShape * _arg0; | |
205 | wxDC * _arg1; | |
206 | PyObject * _argo0 = 0; | |
207 | PyObject * _argo1 = 0; | |
208 | char *_kwnames[] = { "self","dc", NULL }; | |
209 | ||
210 | self = self; | |
211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
212 | return NULL; | |
213 | if (_argo0) { | |
214 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
215 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDraw. Expected _wxPyEllipseShape_p."); | |
217 | return NULL; | |
218 | } | |
219 | } | |
220 | if (_argo1) { | |
221 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
222 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDraw. Expected _wxDC_p."); | |
224 | return NULL; | |
225 | } | |
226 | } | |
227 | { | |
228 | wxPy_BEGIN_ALLOW_THREADS; | |
229 | wxPyEllipseShape_base_OnDraw(_arg0,*_arg1); | |
230 | ||
231 | wxPy_END_ALLOW_THREADS; | |
232 | } Py_INCREF(Py_None); | |
233 | _resultobj = Py_None; | |
234 | return _resultobj; | |
235 | } | |
236 | ||
237 | #define wxPyEllipseShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
238 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
239 | PyObject * _resultobj; | |
240 | wxPyEllipseShape * _arg0; | |
241 | wxDC * _arg1; | |
242 | PyObject * _argo0 = 0; | |
243 | PyObject * _argo1 = 0; | |
244 | char *_kwnames[] = { "self","dc", NULL }; | |
245 | ||
246 | self = self; | |
247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
248 | return NULL; | |
249 | if (_argo0) { | |
250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawContents. Expected _wxPyEllipseShape_p."); | |
253 | return NULL; | |
254 | } | |
255 | } | |
256 | if (_argo1) { | |
257 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
258 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawContents. Expected _wxDC_p."); | |
260 | return NULL; | |
261 | } | |
262 | } | |
263 | { | |
264 | wxPy_BEGIN_ALLOW_THREADS; | |
265 | wxPyEllipseShape_base_OnDrawContents(_arg0,*_arg1); | |
266 | ||
267 | wxPy_END_ALLOW_THREADS; | |
268 | } Py_INCREF(Py_None); | |
269 | _resultobj = Py_None; | |
270 | return _resultobj; | |
271 | } | |
272 | ||
273 | #define wxPyEllipseShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
274 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
275 | PyObject * _resultobj; | |
276 | wxPyEllipseShape * _arg0; | |
277 | wxDC * _arg1; | |
278 | bool _arg2 = (bool ) FALSE; | |
279 | PyObject * _argo0 = 0; | |
280 | PyObject * _argo1 = 0; | |
281 | int tempbool2 = (int) FALSE; | |
282 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
283 | ||
284 | self = self; | |
285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
286 | return NULL; | |
287 | if (_argo0) { | |
288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxPyEllipseShape_p."); | |
291 | return NULL; | |
292 | } | |
293 | } | |
294 | if (_argo1) { | |
295 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
296 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxDC_p."); | |
298 | return NULL; | |
299 | } | |
300 | } | |
301 | _arg2 = (bool ) tempbool2; | |
302 | { | |
303 | wxPy_BEGIN_ALLOW_THREADS; | |
304 | wxPyEllipseShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
305 | ||
306 | wxPy_END_ALLOW_THREADS; | |
307 | } Py_INCREF(Py_None); | |
308 | _resultobj = Py_None; | |
309 | return _resultobj; | |
310 | } | |
311 | ||
312 | #define wxPyEllipseShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
313 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
314 | PyObject * _resultobj; | |
315 | wxPyEllipseShape * _arg0; | |
316 | wxDC * _arg1; | |
317 | PyObject * _argo0 = 0; | |
318 | PyObject * _argo1 = 0; | |
319 | char *_kwnames[] = { "self","dc", NULL }; | |
320 | ||
321 | self = self; | |
322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
323 | return NULL; | |
324 | if (_argo0) { | |
325 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
326 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxPyEllipseShape_p."); | |
328 | return NULL; | |
329 | } | |
330 | } | |
331 | if (_argo1) { | |
332 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
333 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
334 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxDC_p."); | |
335 | return NULL; | |
336 | } | |
337 | } | |
338 | { | |
339 | wxPy_BEGIN_ALLOW_THREADS; | |
340 | wxPyEllipseShape_base_OnMoveLinks(_arg0,*_arg1); | |
341 | ||
342 | wxPy_END_ALLOW_THREADS; | |
343 | } Py_INCREF(Py_None); | |
344 | _resultobj = Py_None; | |
345 | return _resultobj; | |
346 | } | |
347 | ||
348 | #define wxPyEllipseShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
349 | static PyObject *_wrap_wxPyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
350 | PyObject * _resultobj; | |
351 | wxPyEllipseShape * _arg0; | |
352 | wxDC * _arg1; | |
353 | PyObject * _argo0 = 0; | |
354 | PyObject * _argo1 = 0; | |
355 | char *_kwnames[] = { "self","dc", NULL }; | |
356 | ||
357 | self = self; | |
358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
359 | return NULL; | |
360 | if (_argo0) { | |
361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnErase. Expected _wxPyEllipseShape_p."); | |
364 | return NULL; | |
365 | } | |
366 | } | |
367 | if (_argo1) { | |
368 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
369 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnErase. Expected _wxDC_p."); | |
371 | return NULL; | |
372 | } | |
373 | } | |
374 | { | |
375 | wxPy_BEGIN_ALLOW_THREADS; | |
376 | wxPyEllipseShape_base_OnErase(_arg0,*_arg1); | |
377 | ||
378 | wxPy_END_ALLOW_THREADS; | |
379 | } Py_INCREF(Py_None); | |
380 | _resultobj = Py_None; | |
381 | return _resultobj; | |
382 | } | |
383 | ||
384 | #define wxPyEllipseShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
385 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
386 | PyObject * _resultobj; | |
387 | wxPyEllipseShape * _arg0; | |
388 | wxDC * _arg1; | |
389 | PyObject * _argo0 = 0; | |
390 | PyObject * _argo1 = 0; | |
391 | char *_kwnames[] = { "self","dc", NULL }; | |
392 | ||
393 | self = self; | |
394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
395 | return NULL; | |
396 | if (_argo0) { | |
397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseContents. Expected _wxPyEllipseShape_p."); | |
400 | return NULL; | |
401 | } | |
402 | } | |
403 | if (_argo1) { | |
404 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
405 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseContents. Expected _wxDC_p."); | |
407 | return NULL; | |
408 | } | |
409 | } | |
410 | { | |
411 | wxPy_BEGIN_ALLOW_THREADS; | |
412 | wxPyEllipseShape_base_OnEraseContents(_arg0,*_arg1); | |
413 | ||
414 | wxPy_END_ALLOW_THREADS; | |
415 | } Py_INCREF(Py_None); | |
416 | _resultobj = Py_None; | |
417 | return _resultobj; | |
418 | } | |
419 | ||
420 | #define wxPyEllipseShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
421 | static PyObject *_wrap_wxPyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
422 | PyObject * _resultobj; | |
423 | wxPyEllipseShape * _arg0; | |
424 | wxDC * _arg1; | |
425 | PyObject * _argo0 = 0; | |
426 | PyObject * _argo1 = 0; | |
427 | char *_kwnames[] = { "self","dc", NULL }; | |
428 | ||
429 | self = self; | |
430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
431 | return NULL; | |
432 | if (_argo0) { | |
433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnHighlight. Expected _wxPyEllipseShape_p."); | |
436 | return NULL; | |
437 | } | |
438 | } | |
439 | if (_argo1) { | |
440 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
441 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnHighlight. Expected _wxDC_p."); | |
443 | return NULL; | |
444 | } | |
445 | } | |
446 | { | |
447 | wxPy_BEGIN_ALLOW_THREADS; | |
448 | wxPyEllipseShape_base_OnHighlight(_arg0,*_arg1); | |
449 | ||
450 | wxPy_END_ALLOW_THREADS; | |
451 | } Py_INCREF(Py_None); | |
452 | _resultobj = Py_None; | |
453 | return _resultobj; | |
454 | } | |
455 | ||
456 | #define wxPyEllipseShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
457 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
458 | PyObject * _resultobj; | |
459 | wxPyEllipseShape * _arg0; | |
460 | double _arg1; | |
461 | double _arg2; | |
462 | int _arg3 = (int ) 0; | |
463 | int _arg4 = (int ) 0; | |
464 | PyObject * _argo0 = 0; | |
465 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
466 | ||
467 | self = self; | |
468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
469 | return NULL; | |
470 | if (_argo0) { | |
471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftClick. Expected _wxPyEllipseShape_p."); | |
474 | return NULL; | |
475 | } | |
476 | } | |
477 | { | |
478 | wxPy_BEGIN_ALLOW_THREADS; | |
479 | wxPyEllipseShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
480 | ||
481 | wxPy_END_ALLOW_THREADS; | |
482 | } Py_INCREF(Py_None); | |
483 | _resultobj = Py_None; | |
484 | return _resultobj; | |
485 | } | |
486 | ||
487 | #define wxPyEllipseShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
488 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
489 | PyObject * _resultobj; | |
490 | wxPyEllipseShape * _arg0; | |
491 | double _arg1; | |
492 | double _arg2; | |
493 | int _arg3 = (int ) 0; | |
494 | int _arg4 = (int ) 0; | |
495 | PyObject * _argo0 = 0; | |
496 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
497 | ||
498 | self = self; | |
499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
500 | return NULL; | |
501 | if (_argo0) { | |
502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftDoubleClick. Expected _wxPyEllipseShape_p."); | |
505 | return NULL; | |
506 | } | |
507 | } | |
508 | { | |
509 | wxPy_BEGIN_ALLOW_THREADS; | |
510 | wxPyEllipseShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
511 | ||
512 | wxPy_END_ALLOW_THREADS; | |
513 | } Py_INCREF(Py_None); | |
514 | _resultobj = Py_None; | |
515 | return _resultobj; | |
516 | } | |
517 | ||
518 | #define wxPyEllipseShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
519 | static PyObject *_wrap_wxPyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
520 | PyObject * _resultobj; | |
521 | wxPyEllipseShape * _arg0; | |
522 | double _arg1; | |
523 | double _arg2; | |
524 | int _arg3 = (int ) 0; | |
525 | int _arg4 = (int ) 0; | |
526 | PyObject * _argo0 = 0; | |
527 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
528 | ||
529 | self = self; | |
530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
531 | return NULL; | |
532 | if (_argo0) { | |
533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnRightClick. Expected _wxPyEllipseShape_p."); | |
536 | return NULL; | |
537 | } | |
538 | } | |
539 | { | |
540 | wxPy_BEGIN_ALLOW_THREADS; | |
541 | wxPyEllipseShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
542 | ||
543 | wxPy_END_ALLOW_THREADS; | |
544 | } Py_INCREF(Py_None); | |
545 | _resultobj = Py_None; | |
546 | return _resultobj; | |
547 | } | |
548 | ||
549 | #define wxPyEllipseShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
550 | static PyObject *_wrap_wxPyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
551 | PyObject * _resultobj; | |
552 | wxPyEllipseShape * _arg0; | |
553 | double _arg1; | |
554 | double _arg2; | |
555 | PyObject * _argo0 = 0; | |
556 | char *_kwnames[] = { "self","x","y", NULL }; | |
557 | ||
558 | self = self; | |
559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
560 | return NULL; | |
561 | if (_argo0) { | |
562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSize. Expected _wxPyEllipseShape_p."); | |
565 | return NULL; | |
566 | } | |
567 | } | |
568 | { | |
569 | wxPy_BEGIN_ALLOW_THREADS; | |
570 | wxPyEllipseShape_base_OnSize(_arg0,_arg1,_arg2); | |
571 | ||
572 | wxPy_END_ALLOW_THREADS; | |
573 | } Py_INCREF(Py_None); | |
574 | _resultobj = Py_None; | |
575 | return _resultobj; | |
576 | } | |
577 | ||
578 | #define wxPyEllipseShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
579 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
580 | PyObject * _resultobj; | |
581 | bool _result; | |
582 | wxPyEllipseShape * _arg0; | |
583 | wxDC * _arg1; | |
584 | double _arg2; | |
585 | double _arg3; | |
586 | double _arg4; | |
587 | double _arg5; | |
588 | bool _arg6 = (bool ) TRUE; | |
589 | PyObject * _argo0 = 0; | |
590 | PyObject * _argo1 = 0; | |
591 | int tempbool6 = (int) TRUE; | |
592 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
593 | ||
594 | self = self; | |
595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
596 | return NULL; | |
597 | if (_argo0) { | |
598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePre. Expected _wxPyEllipseShape_p."); | |
601 | return NULL; | |
602 | } | |
603 | } | |
604 | if (_argo1) { | |
605 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
606 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePre. Expected _wxDC_p."); | |
608 | return NULL; | |
609 | } | |
610 | } | |
611 | _arg6 = (bool ) tempbool6; | |
612 | { | |
613 | wxPy_BEGIN_ALLOW_THREADS; | |
614 | _result = (bool )wxPyEllipseShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
615 | ||
616 | wxPy_END_ALLOW_THREADS; | |
617 | } _resultobj = Py_BuildValue("i",_result); | |
618 | return _resultobj; | |
619 | } | |
620 | ||
621 | #define wxPyEllipseShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
622 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
623 | PyObject * _resultobj; | |
624 | wxPyEllipseShape * _arg0; | |
625 | wxDC * _arg1; | |
626 | double _arg2; | |
627 | double _arg3; | |
628 | double _arg4; | |
629 | double _arg5; | |
630 | bool _arg6 = (bool ) TRUE; | |
631 | PyObject * _argo0 = 0; | |
632 | PyObject * _argo1 = 0; | |
633 | int tempbool6 = (int) TRUE; | |
634 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
635 | ||
636 | self = self; | |
637 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
638 | return NULL; | |
639 | if (_argo0) { | |
640 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
641 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
642 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePost. Expected _wxPyEllipseShape_p."); | |
643 | return NULL; | |
644 | } | |
645 | } | |
646 | if (_argo1) { | |
647 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
648 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
649 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePost. Expected _wxDC_p."); | |
650 | return NULL; | |
651 | } | |
652 | } | |
653 | _arg6 = (bool ) tempbool6; | |
654 | { | |
655 | wxPy_BEGIN_ALLOW_THREADS; | |
656 | wxPyEllipseShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
657 | ||
658 | wxPy_END_ALLOW_THREADS; | |
659 | } Py_INCREF(Py_None); | |
660 | _resultobj = Py_None; | |
661 | return _resultobj; | |
662 | } | |
663 | ||
664 | #define wxPyEllipseShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
665 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
666 | PyObject * _resultobj; | |
667 | wxPyEllipseShape * _arg0; | |
668 | bool _arg1; | |
669 | double _arg2; | |
670 | double _arg3; | |
671 | int _arg4 = (int ) 0; | |
672 | int _arg5 = (int ) 0; | |
673 | PyObject * _argo0 = 0; | |
674 | int tempbool1; | |
675 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
676 | ||
677 | self = self; | |
678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
679 | return NULL; | |
680 | if (_argo0) { | |
681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragLeft. Expected _wxPyEllipseShape_p."); | |
684 | return NULL; | |
685 | } | |
686 | } | |
687 | _arg1 = (bool ) tempbool1; | |
688 | { | |
689 | wxPy_BEGIN_ALLOW_THREADS; | |
690 | wxPyEllipseShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
691 | ||
692 | wxPy_END_ALLOW_THREADS; | |
693 | } Py_INCREF(Py_None); | |
694 | _resultobj = Py_None; | |
695 | return _resultobj; | |
696 | } | |
697 | ||
698 | #define wxPyEllipseShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
699 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
700 | PyObject * _resultobj; | |
701 | wxPyEllipseShape * _arg0; | |
702 | double _arg1; | |
703 | double _arg2; | |
704 | int _arg3 = (int ) 0; | |
705 | int _arg4 = (int ) 0; | |
706 | PyObject * _argo0 = 0; | |
707 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
708 | ||
709 | self = self; | |
710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
711 | return NULL; | |
712 | if (_argo0) { | |
713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
716 | return NULL; | |
717 | } | |
718 | } | |
719 | { | |
720 | wxPy_BEGIN_ALLOW_THREADS; | |
721 | wxPyEllipseShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
722 | ||
723 | wxPy_END_ALLOW_THREADS; | |
724 | } Py_INCREF(Py_None); | |
725 | _resultobj = Py_None; | |
726 | return _resultobj; | |
727 | } | |
728 | ||
729 | #define wxPyEllipseShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
730 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
731 | PyObject * _resultobj; | |
732 | wxPyEllipseShape * _arg0; | |
733 | double _arg1; | |
734 | double _arg2; | |
735 | int _arg3 = (int ) 0; | |
736 | int _arg4 = (int ) 0; | |
737 | PyObject * _argo0 = 0; | |
738 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
739 | ||
740 | self = self; | |
741 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
742 | return NULL; | |
743 | if (_argo0) { | |
744 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
745 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragLeft. Expected _wxPyEllipseShape_p."); | |
747 | return NULL; | |
748 | } | |
749 | } | |
750 | { | |
751 | wxPy_BEGIN_ALLOW_THREADS; | |
752 | wxPyEllipseShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
753 | ||
754 | wxPy_END_ALLOW_THREADS; | |
755 | } Py_INCREF(Py_None); | |
756 | _resultobj = Py_None; | |
757 | return _resultobj; | |
758 | } | |
759 | ||
760 | #define wxPyEllipseShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
761 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
762 | PyObject * _resultobj; | |
763 | wxPyEllipseShape * _arg0; | |
764 | bool _arg1; | |
765 | double _arg2; | |
766 | double _arg3; | |
767 | int _arg4 = (int ) 0; | |
768 | int _arg5 = (int ) 0; | |
769 | PyObject * _argo0 = 0; | |
770 | int tempbool1; | |
771 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
772 | ||
773 | self = self; | |
774 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
775 | return NULL; | |
776 | if (_argo0) { | |
777 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
778 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragRight. Expected _wxPyEllipseShape_p."); | |
780 | return NULL; | |
781 | } | |
782 | } | |
783 | _arg1 = (bool ) tempbool1; | |
784 | { | |
785 | wxPy_BEGIN_ALLOW_THREADS; | |
786 | wxPyEllipseShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
787 | ||
788 | wxPy_END_ALLOW_THREADS; | |
789 | } Py_INCREF(Py_None); | |
790 | _resultobj = Py_None; | |
791 | return _resultobj; | |
792 | } | |
793 | ||
794 | #define wxPyEllipseShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
795 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
796 | PyObject * _resultobj; | |
797 | wxPyEllipseShape * _arg0; | |
798 | double _arg1; | |
799 | double _arg2; | |
800 | int _arg3 = (int ) 0; | |
801 | int _arg4 = (int ) 0; | |
802 | PyObject * _argo0 = 0; | |
803 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
804 | ||
805 | self = self; | |
806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
807 | return NULL; | |
808 | if (_argo0) { | |
809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragRight. Expected _wxPyEllipseShape_p."); | |
812 | return NULL; | |
813 | } | |
814 | } | |
815 | { | |
816 | wxPy_BEGIN_ALLOW_THREADS; | |
817 | wxPyEllipseShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
818 | ||
819 | wxPy_END_ALLOW_THREADS; | |
820 | } Py_INCREF(Py_None); | |
821 | _resultobj = Py_None; | |
822 | return _resultobj; | |
823 | } | |
824 | ||
825 | #define wxPyEllipseShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
826 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
827 | PyObject * _resultobj; | |
828 | wxPyEllipseShape * _arg0; | |
829 | double _arg1; | |
830 | double _arg2; | |
831 | int _arg3 = (int ) 0; | |
832 | int _arg4 = (int ) 0; | |
833 | PyObject * _argo0 = 0; | |
834 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
835 | ||
836 | self = self; | |
837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
838 | return NULL; | |
839 | if (_argo0) { | |
840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragRight. Expected _wxPyEllipseShape_p."); | |
843 | return NULL; | |
844 | } | |
845 | } | |
846 | { | |
847 | wxPy_BEGIN_ALLOW_THREADS; | |
848 | wxPyEllipseShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
849 | ||
850 | wxPy_END_ALLOW_THREADS; | |
851 | } Py_INCREF(Py_None); | |
852 | _resultobj = Py_None; | |
853 | return _resultobj; | |
854 | } | |
855 | ||
856 | #define wxPyEllipseShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
857 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
858 | PyObject * _resultobj; | |
859 | wxPyEllipseShape * _arg0; | |
860 | wxDC * _arg1; | |
861 | double _arg2; | |
862 | double _arg3; | |
863 | double _arg4; | |
864 | double _arg5; | |
865 | PyObject * _argo0 = 0; | |
866 | PyObject * _argo1 = 0; | |
867 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
868 | ||
869 | self = self; | |
870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyEllipseShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
871 | return NULL; | |
872 | if (_argo0) { | |
873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxPyEllipseShape_p."); | |
876 | return NULL; | |
877 | } | |
878 | } | |
879 | if (_argo1) { | |
880 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
881 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxDC_p."); | |
883 | return NULL; | |
884 | } | |
885 | } | |
886 | { | |
887 | wxPy_BEGIN_ALLOW_THREADS; | |
888 | wxPyEllipseShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
889 | ||
890 | wxPy_END_ALLOW_THREADS; | |
891 | } Py_INCREF(Py_None); | |
892 | _resultobj = Py_None; | |
893 | return _resultobj; | |
894 | } | |
895 | ||
896 | #define wxPyEllipseShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
897 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
898 | PyObject * _resultobj; | |
899 | wxPyEllipseShape * _arg0; | |
900 | wxDC * _arg1; | |
901 | PyObject * _argo0 = 0; | |
902 | PyObject * _argo1 = 0; | |
903 | char *_kwnames[] = { "self","dc", NULL }; | |
904 | ||
905 | self = self; | |
906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
907 | return NULL; | |
908 | if (_argo0) { | |
909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxPyEllipseShape_p."); | |
912 | return NULL; | |
913 | } | |
914 | } | |
915 | if (_argo1) { | |
916 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
917 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
919 | return NULL; | |
920 | } | |
921 | } | |
922 | { | |
923 | wxPy_BEGIN_ALLOW_THREADS; | |
924 | wxPyEllipseShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
925 | ||
926 | wxPy_END_ALLOW_THREADS; | |
927 | } Py_INCREF(Py_None); | |
928 | _resultobj = Py_None; | |
929 | return _resultobj; | |
930 | } | |
931 | ||
932 | #define wxPyEllipseShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
933 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
934 | PyObject * _resultobj; | |
935 | wxPyEllipseShape * _arg0; | |
936 | wxDC * _arg1; | |
937 | PyObject * _argo0 = 0; | |
938 | PyObject * _argo1 = 0; | |
939 | char *_kwnames[] = { "self","dc", NULL }; | |
940 | ||
941 | self = self; | |
942 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
943 | return NULL; | |
944 | if (_argo0) { | |
945 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
946 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxPyEllipseShape_p."); | |
948 | return NULL; | |
949 | } | |
950 | } | |
951 | if (_argo1) { | |
952 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
953 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
955 | return NULL; | |
956 | } | |
957 | } | |
958 | { | |
959 | wxPy_BEGIN_ALLOW_THREADS; | |
960 | wxPyEllipseShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
961 | ||
962 | wxPy_END_ALLOW_THREADS; | |
963 | } Py_INCREF(Py_None); | |
964 | _resultobj = Py_None; | |
965 | return _resultobj; | |
966 | } | |
967 | ||
968 | #define wxPyEllipseShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
969 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
970 | PyObject * _resultobj; | |
971 | wxPyEllipseShape * _arg0; | |
972 | wxDC * _arg1; | |
973 | bool _arg2 = (bool ) TRUE; | |
974 | PyObject * _argo0 = 0; | |
975 | PyObject * _argo1 = 0; | |
976 | int tempbool2 = (int) TRUE; | |
977 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
978 | ||
979 | self = self; | |
980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
981 | return NULL; | |
982 | if (_argo0) { | |
983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLink. Expected _wxPyEllipseShape_p."); | |
986 | return NULL; | |
987 | } | |
988 | } | |
989 | if (_argo1) { | |
990 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
991 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLink. Expected _wxDC_p."); | |
993 | return NULL; | |
994 | } | |
995 | } | |
996 | _arg2 = (bool ) tempbool2; | |
997 | { | |
998 | wxPy_BEGIN_ALLOW_THREADS; | |
999 | wxPyEllipseShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
1000 | ||
1001 | wxPy_END_ALLOW_THREADS; | |
1002 | } Py_INCREF(Py_None); | |
1003 | _resultobj = Py_None; | |
1004 | return _resultobj; | |
1005 | } | |
1006 | ||
1007 | #define wxPyEllipseShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1008 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1009 | PyObject * _resultobj; | |
1010 | wxPyEllipseShape * _arg0; | |
2348eaee | 1011 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1012 | bool _arg2; |
1013 | double _arg3; | |
1014 | double _arg4; | |
1015 | int _arg5 = (int ) 0; | |
1016 | int _arg6 = (int ) 0; | |
1017 | PyObject * _argo0 = 0; | |
1018 | PyObject * _argo1 = 0; | |
1019 | int tempbool2; | |
1020 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
1021 | ||
1022 | self = self; | |
1023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyEllipseShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
1024 | return NULL; | |
1025 | if (_argo0) { | |
1026 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1027 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyEllipseShape_p."); | |
1029 | return NULL; | |
1030 | } | |
1031 | } | |
1032 | if (_argo1) { | |
1033 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1034 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1036 | return NULL; |
1037 | } | |
1038 | } | |
1039 | _arg2 = (bool ) tempbool2; | |
1040 | { | |
1041 | wxPy_BEGIN_ALLOW_THREADS; | |
1042 | wxPyEllipseShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1043 | ||
1044 | wxPy_END_ALLOW_THREADS; | |
1045 | } Py_INCREF(Py_None); | |
1046 | _resultobj = Py_None; | |
1047 | return _resultobj; | |
1048 | } | |
1049 | ||
1050 | #define wxPyEllipseShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1051 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1052 | PyObject * _resultobj; | |
1053 | wxPyEllipseShape * _arg0; | |
2348eaee | 1054 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1055 | double _arg2; |
1056 | double _arg3; | |
1057 | int _arg4 = (int ) 0; | |
1058 | int _arg5 = (int ) 0; | |
1059 | PyObject * _argo0 = 0; | |
1060 | PyObject * _argo1 = 0; | |
1061 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1062 | ||
1063 | self = self; | |
1064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1065 | return NULL; | |
1066 | if (_argo0) { | |
1067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
1070 | return NULL; | |
1071 | } | |
1072 | } | |
1073 | if (_argo1) { | |
1074 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1075 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1077 | return NULL; |
1078 | } | |
1079 | } | |
1080 | { | |
1081 | wxPy_BEGIN_ALLOW_THREADS; | |
1082 | wxPyEllipseShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1083 | ||
1084 | wxPy_END_ALLOW_THREADS; | |
1085 | } Py_INCREF(Py_None); | |
1086 | _resultobj = Py_None; | |
1087 | return _resultobj; | |
1088 | } | |
1089 | ||
1090 | #define wxPyEllipseShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1091 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1092 | PyObject * _resultobj; | |
1093 | wxPyEllipseShape * _arg0; | |
2348eaee | 1094 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
1095 | double _arg2; |
1096 | double _arg3; | |
1097 | int _arg4 = (int ) 0; | |
1098 | int _arg5 = (int ) 0; | |
1099 | PyObject * _argo0 = 0; | |
1100 | PyObject * _argo1 = 0; | |
1101 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1102 | ||
1103 | self = self; | |
1104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1105 | return NULL; | |
1106 | if (_argo0) { | |
1107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyEllipseShape_p."); | |
1110 | return NULL; | |
1111 | } | |
1112 | } | |
1113 | if (_argo1) { | |
1114 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
1115 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
1116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
1117 | return NULL; |
1118 | } | |
1119 | } | |
1120 | { | |
1121 | wxPy_BEGIN_ALLOW_THREADS; | |
1122 | wxPyEllipseShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1123 | ||
1124 | wxPy_END_ALLOW_THREADS; | |
1125 | } Py_INCREF(Py_None); | |
1126 | _resultobj = Py_None; | |
1127 | return _resultobj; | |
1128 | } | |
1129 | ||
1130 | #define wxPyEllipseShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
1131 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1132 | PyObject * _resultobj; | |
1133 | wxPyEllipseShape * _arg0; | |
1134 | double _arg1; | |
1135 | double _arg2; | |
1136 | PyObject * _argo0 = 0; | |
1137 | char *_kwnames[] = { "self","w","h", NULL }; | |
1138 | ||
1139 | self = self; | |
1140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1141 | return NULL; | |
1142 | if (_argo0) { | |
1143 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1144 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginSize. Expected _wxPyEllipseShape_p."); | |
1146 | return NULL; | |
1147 | } | |
1148 | } | |
1149 | { | |
1150 | wxPy_BEGIN_ALLOW_THREADS; | |
1151 | wxPyEllipseShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
1152 | ||
1153 | wxPy_END_ALLOW_THREADS; | |
1154 | } Py_INCREF(Py_None); | |
1155 | _resultobj = Py_None; | |
1156 | return _resultobj; | |
1157 | } | |
1158 | ||
1159 | #define wxPyEllipseShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
1160 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1161 | PyObject * _resultobj; | |
1162 | wxPyEllipseShape * _arg0; | |
1163 | double _arg1; | |
1164 | double _arg2; | |
1165 | PyObject * _argo0 = 0; | |
1166 | char *_kwnames[] = { "self","w","h", NULL }; | |
1167 | ||
1168 | self = self; | |
1169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1170 | return NULL; | |
1171 | if (_argo0) { | |
1172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndSize. Expected _wxPyEllipseShape_p."); | |
1175 | return NULL; | |
1176 | } | |
1177 | } | |
1178 | { | |
1179 | wxPy_BEGIN_ALLOW_THREADS; | |
1180 | wxPyEllipseShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
1181 | ||
1182 | wxPy_END_ALLOW_THREADS; | |
1183 | } Py_INCREF(Py_None); | |
1184 | _resultobj = Py_None; | |
1185 | return _resultobj; | |
1186 | } | |
1187 | ||
1188 | static void *SwigwxPyCircleShapeTowxPyEllipseShape(void *ptr) { | |
1189 | wxPyCircleShape *src; | |
1190 | wxPyEllipseShape *dest; | |
1191 | src = (wxPyCircleShape *) ptr; | |
1192 | dest = (wxPyEllipseShape *) src; | |
1193 | return (void *) dest; | |
1194 | } | |
1195 | ||
1196 | static void *SwigwxPyCircleShapeTowxPyShape(void *ptr) { | |
1197 | wxPyCircleShape *src; | |
1198 | wxPyShape *dest; | |
1199 | src = (wxPyCircleShape *) ptr; | |
1200 | dest = (wxPyShape *) src; | |
1201 | return (void *) dest; | |
1202 | } | |
1203 | ||
1204 | static void *SwigwxPyCircleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1205 | wxPyCircleShape *src; | |
1206 | wxPyShapeEvtHandler *dest; | |
1207 | src = (wxPyCircleShape *) ptr; | |
1208 | dest = (wxPyShapeEvtHandler *) src; | |
1209 | return (void *) dest; | |
1210 | } | |
1211 | ||
1212 | #define new_wxPyCircleShape(_swigarg0) (new wxPyCircleShape(_swigarg0)) | |
1213 | static PyObject *_wrap_new_wxPyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1214 | PyObject * _resultobj; | |
1215 | wxPyCircleShape * _result; | |
1216 | double _arg0 = (double ) 0.0; | |
1217 | char *_kwnames[] = { "width", NULL }; | |
1218 | char _ptemp[128]; | |
1219 | ||
1220 | self = self; | |
1221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|d:new_wxPyCircleShape",_kwnames,&_arg0)) | |
1222 | return NULL; | |
1223 | { | |
1224 | wxPy_BEGIN_ALLOW_THREADS; | |
1225 | _result = (wxPyCircleShape *)new_wxPyCircleShape(_arg0); | |
1226 | ||
1227 | wxPy_END_ALLOW_THREADS; | |
1228 | } if (_result) { | |
1229 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCircleShape_p"); | |
1230 | _resultobj = Py_BuildValue("s",_ptemp); | |
1231 | } else { | |
1232 | Py_INCREF(Py_None); | |
1233 | _resultobj = Py_None; | |
1234 | } | |
1235 | return _resultobj; | |
1236 | } | |
1237 | ||
f6bcfd97 | 1238 | #define wxPyCircleShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1239 | static PyObject *_wrap_wxPyCircleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1240 | PyObject * _resultobj; | |
1241 | wxPyCircleShape * _arg0; | |
1242 | PyObject * _arg1; | |
f6bcfd97 | 1243 | PyObject * _arg2; |
e91a9dfc RD |
1244 | PyObject * _argo0 = 0; |
1245 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1246 | PyObject * _obj2 = 0; |
1247 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1248 | |
1249 | self = self; | |
f6bcfd97 | 1250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCircleShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1251 | return NULL; |
1252 | if (_argo0) { | |
1253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape__setSelf. Expected _wxPyCircleShape_p."); | |
1256 | return NULL; | |
1257 | } | |
1258 | } | |
1259 | { | |
1260 | _arg1 = _obj1; | |
1261 | } | |
f6bcfd97 BP |
1262 | { |
1263 | _arg2 = _obj2; | |
1264 | } | |
e91a9dfc RD |
1265 | { |
1266 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1267 | wxPyCircleShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1268 | |
1269 | wxPy_END_ALLOW_THREADS; | |
1270 | } Py_INCREF(Py_None); | |
1271 | _resultobj = Py_None; | |
1272 | return _resultobj; | |
1273 | } | |
1274 | ||
1275 | #define wxPyCircleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1276 | static PyObject *_wrap_wxPyCircleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1277 | PyObject * _resultobj; | |
1278 | wxPyCircleShape * _arg0; | |
1279 | wxDC * _arg1; | |
1280 | PyObject * _argo0 = 0; | |
1281 | PyObject * _argo1 = 0; | |
1282 | char *_kwnames[] = { "self","dc", NULL }; | |
1283 | ||
1284 | self = self; | |
1285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1286 | return NULL; | |
1287 | if (_argo0) { | |
1288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDraw. Expected _wxPyCircleShape_p."); | |
1291 | return NULL; | |
1292 | } | |
1293 | } | |
1294 | if (_argo1) { | |
1295 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1296 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDraw. Expected _wxDC_p."); | |
1298 | return NULL; | |
1299 | } | |
1300 | } | |
1301 | { | |
1302 | wxPy_BEGIN_ALLOW_THREADS; | |
1303 | wxPyCircleShape_base_OnDraw(_arg0,*_arg1); | |
1304 | ||
1305 | wxPy_END_ALLOW_THREADS; | |
1306 | } Py_INCREF(Py_None); | |
1307 | _resultobj = Py_None; | |
1308 | return _resultobj; | |
1309 | } | |
1310 | ||
1311 | #define wxPyCircleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1312 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1313 | PyObject * _resultobj; | |
1314 | wxPyCircleShape * _arg0; | |
1315 | wxDC * _arg1; | |
1316 | PyObject * _argo0 = 0; | |
1317 | PyObject * _argo1 = 0; | |
1318 | char *_kwnames[] = { "self","dc", NULL }; | |
1319 | ||
1320 | self = self; | |
1321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1322 | return NULL; | |
1323 | if (_argo0) { | |
1324 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1325 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawContents. Expected _wxPyCircleShape_p."); | |
1327 | return NULL; | |
1328 | } | |
1329 | } | |
1330 | if (_argo1) { | |
1331 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1332 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawContents. Expected _wxDC_p."); | |
1334 | return NULL; | |
1335 | } | |
1336 | } | |
1337 | { | |
1338 | wxPy_BEGIN_ALLOW_THREADS; | |
1339 | wxPyCircleShape_base_OnDrawContents(_arg0,*_arg1); | |
1340 | ||
1341 | wxPy_END_ALLOW_THREADS; | |
1342 | } Py_INCREF(Py_None); | |
1343 | _resultobj = Py_None; | |
1344 | return _resultobj; | |
1345 | } | |
1346 | ||
1347 | #define wxPyCircleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1348 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1349 | PyObject * _resultobj; | |
1350 | wxPyCircleShape * _arg0; | |
1351 | wxDC * _arg1; | |
1352 | bool _arg2 = (bool ) FALSE; | |
1353 | PyObject * _argo0 = 0; | |
1354 | PyObject * _argo1 = 0; | |
1355 | int tempbool2 = (int) FALSE; | |
1356 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1357 | ||
1358 | self = self; | |
1359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCircleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1360 | return NULL; | |
1361 | if (_argo0) { | |
1362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawBranches. Expected _wxPyCircleShape_p."); | |
1365 | return NULL; | |
1366 | } | |
1367 | } | |
1368 | if (_argo1) { | |
1369 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1370 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1372 | return NULL; | |
1373 | } | |
1374 | } | |
1375 | _arg2 = (bool ) tempbool2; | |
1376 | { | |
1377 | wxPy_BEGIN_ALLOW_THREADS; | |
1378 | wxPyCircleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1379 | ||
1380 | wxPy_END_ALLOW_THREADS; | |
1381 | } Py_INCREF(Py_None); | |
1382 | _resultobj = Py_None; | |
1383 | return _resultobj; | |
1384 | } | |
1385 | ||
1386 | #define wxPyCircleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1387 | static PyObject *_wrap_wxPyCircleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1388 | PyObject * _resultobj; | |
1389 | wxPyCircleShape * _arg0; | |
1390 | wxDC * _arg1; | |
1391 | PyObject * _argo0 = 0; | |
1392 | PyObject * _argo1 = 0; | |
1393 | char *_kwnames[] = { "self","dc", NULL }; | |
1394 | ||
1395 | self = self; | |
1396 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1397 | return NULL; | |
1398 | if (_argo0) { | |
1399 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1400 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1401 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLinks. Expected _wxPyCircleShape_p."); | |
1402 | return NULL; | |
1403 | } | |
1404 | } | |
1405 | if (_argo1) { | |
1406 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1407 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
1409 | return NULL; | |
1410 | } | |
1411 | } | |
1412 | { | |
1413 | wxPy_BEGIN_ALLOW_THREADS; | |
1414 | wxPyCircleShape_base_OnMoveLinks(_arg0,*_arg1); | |
1415 | ||
1416 | wxPy_END_ALLOW_THREADS; | |
1417 | } Py_INCREF(Py_None); | |
1418 | _resultobj = Py_None; | |
1419 | return _resultobj; | |
1420 | } | |
1421 | ||
1422 | #define wxPyCircleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1423 | static PyObject *_wrap_wxPyCircleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1424 | PyObject * _resultobj; | |
1425 | wxPyCircleShape * _arg0; | |
1426 | wxDC * _arg1; | |
1427 | PyObject * _argo0 = 0; | |
1428 | PyObject * _argo1 = 0; | |
1429 | char *_kwnames[] = { "self","dc", NULL }; | |
1430 | ||
1431 | self = self; | |
1432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1433 | return NULL; | |
1434 | if (_argo0) { | |
1435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnErase. Expected _wxPyCircleShape_p."); | |
1438 | return NULL; | |
1439 | } | |
1440 | } | |
1441 | if (_argo1) { | |
1442 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1443 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnErase. Expected _wxDC_p."); | |
1445 | return NULL; | |
1446 | } | |
1447 | } | |
1448 | { | |
1449 | wxPy_BEGIN_ALLOW_THREADS; | |
1450 | wxPyCircleShape_base_OnErase(_arg0,*_arg1); | |
1451 | ||
1452 | wxPy_END_ALLOW_THREADS; | |
1453 | } Py_INCREF(Py_None); | |
1454 | _resultobj = Py_None; | |
1455 | return _resultobj; | |
1456 | } | |
1457 | ||
1458 | #define wxPyCircleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1459 | static PyObject *_wrap_wxPyCircleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1460 | PyObject * _resultobj; | |
1461 | wxPyCircleShape * _arg0; | |
1462 | wxDC * _arg1; | |
1463 | PyObject * _argo0 = 0; | |
1464 | PyObject * _argo1 = 0; | |
1465 | char *_kwnames[] = { "self","dc", NULL }; | |
1466 | ||
1467 | self = self; | |
1468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1469 | return NULL; | |
1470 | if (_argo0) { | |
1471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEraseContents. Expected _wxPyCircleShape_p."); | |
1474 | return NULL; | |
1475 | } | |
1476 | } | |
1477 | if (_argo1) { | |
1478 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1479 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnEraseContents. Expected _wxDC_p."); | |
1481 | return NULL; | |
1482 | } | |
1483 | } | |
1484 | { | |
1485 | wxPy_BEGIN_ALLOW_THREADS; | |
1486 | wxPyCircleShape_base_OnEraseContents(_arg0,*_arg1); | |
1487 | ||
1488 | wxPy_END_ALLOW_THREADS; | |
1489 | } Py_INCREF(Py_None); | |
1490 | _resultobj = Py_None; | |
1491 | return _resultobj; | |
1492 | } | |
1493 | ||
1494 | #define wxPyCircleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
1495 | static PyObject *_wrap_wxPyCircleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1496 | PyObject * _resultobj; | |
1497 | wxPyCircleShape * _arg0; | |
1498 | wxDC * _arg1; | |
1499 | PyObject * _argo0 = 0; | |
1500 | PyObject * _argo1 = 0; | |
1501 | char *_kwnames[] = { "self","dc", NULL }; | |
1502 | ||
1503 | self = self; | |
1504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
1505 | return NULL; | |
1506 | if (_argo0) { | |
1507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnHighlight. Expected _wxPyCircleShape_p."); | |
1510 | return NULL; | |
1511 | } | |
1512 | } | |
1513 | if (_argo1) { | |
1514 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1515 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnHighlight. Expected _wxDC_p."); | |
1517 | return NULL; | |
1518 | } | |
1519 | } | |
1520 | { | |
1521 | wxPy_BEGIN_ALLOW_THREADS; | |
1522 | wxPyCircleShape_base_OnHighlight(_arg0,*_arg1); | |
1523 | ||
1524 | wxPy_END_ALLOW_THREADS; | |
1525 | } Py_INCREF(Py_None); | |
1526 | _resultobj = Py_None; | |
1527 | return _resultobj; | |
1528 | } | |
1529 | ||
1530 | #define wxPyCircleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1531 | static PyObject *_wrap_wxPyCircleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1532 | PyObject * _resultobj; | |
1533 | wxPyCircleShape * _arg0; | |
1534 | double _arg1; | |
1535 | double _arg2; | |
1536 | int _arg3 = (int ) 0; | |
1537 | int _arg4 = (int ) 0; | |
1538 | PyObject * _argo0 = 0; | |
1539 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1540 | ||
1541 | self = self; | |
1542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1543 | return NULL; | |
1544 | if (_argo0) { | |
1545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnLeftClick. Expected _wxPyCircleShape_p."); | |
1548 | return NULL; | |
1549 | } | |
1550 | } | |
1551 | { | |
1552 | wxPy_BEGIN_ALLOW_THREADS; | |
1553 | wxPyCircleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1554 | ||
1555 | wxPy_END_ALLOW_THREADS; | |
1556 | } Py_INCREF(Py_None); | |
1557 | _resultobj = Py_None; | |
1558 | return _resultobj; | |
1559 | } | |
1560 | ||
1561 | #define wxPyCircleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1562 | static PyObject *_wrap_wxPyCircleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1563 | PyObject * _resultobj; | |
1564 | wxPyCircleShape * _arg0; | |
1565 | double _arg1; | |
1566 | double _arg2; | |
1567 | int _arg3 = (int ) 0; | |
1568 | int _arg4 = (int ) 0; | |
1569 | PyObject * _argo0 = 0; | |
1570 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1571 | ||
1572 | self = self; | |
1573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1574 | return NULL; | |
1575 | if (_argo0) { | |
1576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnLeftDoubleClick. Expected _wxPyCircleShape_p."); | |
1579 | return NULL; | |
1580 | } | |
1581 | } | |
1582 | { | |
1583 | wxPy_BEGIN_ALLOW_THREADS; | |
1584 | wxPyCircleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1585 | ||
1586 | wxPy_END_ALLOW_THREADS; | |
1587 | } Py_INCREF(Py_None); | |
1588 | _resultobj = Py_None; | |
1589 | return _resultobj; | |
1590 | } | |
1591 | ||
1592 | #define wxPyCircleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1593 | static PyObject *_wrap_wxPyCircleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1594 | PyObject * _resultobj; | |
1595 | wxPyCircleShape * _arg0; | |
1596 | double _arg1; | |
1597 | double _arg2; | |
1598 | int _arg3 = (int ) 0; | |
1599 | int _arg4 = (int ) 0; | |
1600 | PyObject * _argo0 = 0; | |
1601 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1602 | ||
1603 | self = self; | |
1604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1605 | return NULL; | |
1606 | if (_argo0) { | |
1607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnRightClick. Expected _wxPyCircleShape_p."); | |
1610 | return NULL; | |
1611 | } | |
1612 | } | |
1613 | { | |
1614 | wxPy_BEGIN_ALLOW_THREADS; | |
1615 | wxPyCircleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1616 | ||
1617 | wxPy_END_ALLOW_THREADS; | |
1618 | } Py_INCREF(Py_None); | |
1619 | _resultobj = Py_None; | |
1620 | return _resultobj; | |
1621 | } | |
1622 | ||
1623 | #define wxPyCircleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
1624 | static PyObject *_wrap_wxPyCircleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1625 | PyObject * _resultobj; | |
1626 | wxPyCircleShape * _arg0; | |
1627 | double _arg1; | |
1628 | double _arg2; | |
1629 | PyObject * _argo0 = 0; | |
1630 | char *_kwnames[] = { "self","x","y", NULL }; | |
1631 | ||
1632 | self = self; | |
1633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1634 | return NULL; | |
1635 | if (_argo0) { | |
1636 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1637 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSize. Expected _wxPyCircleShape_p."); | |
1639 | return NULL; | |
1640 | } | |
1641 | } | |
1642 | { | |
1643 | wxPy_BEGIN_ALLOW_THREADS; | |
1644 | wxPyCircleShape_base_OnSize(_arg0,_arg1,_arg2); | |
1645 | ||
1646 | wxPy_END_ALLOW_THREADS; | |
1647 | } Py_INCREF(Py_None); | |
1648 | _resultobj = Py_None; | |
1649 | return _resultobj; | |
1650 | } | |
1651 | ||
1652 | #define wxPyCircleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1653 | static PyObject *_wrap_wxPyCircleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1654 | PyObject * _resultobj; | |
1655 | bool _result; | |
1656 | wxPyCircleShape * _arg0; | |
1657 | wxDC * _arg1; | |
1658 | double _arg2; | |
1659 | double _arg3; | |
1660 | double _arg4; | |
1661 | double _arg5; | |
1662 | bool _arg6 = (bool ) TRUE; | |
1663 | PyObject * _argo0 = 0; | |
1664 | PyObject * _argo1 = 0; | |
1665 | int tempbool6 = (int) TRUE; | |
1666 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1667 | ||
1668 | self = self; | |
1669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCircleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1670 | return NULL; | |
1671 | if (_argo0) { | |
1672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMovePre. Expected _wxPyCircleShape_p."); | |
1675 | return NULL; | |
1676 | } | |
1677 | } | |
1678 | if (_argo1) { | |
1679 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1680 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMovePre. Expected _wxDC_p."); | |
1682 | return NULL; | |
1683 | } | |
1684 | } | |
1685 | _arg6 = (bool ) tempbool6; | |
1686 | { | |
1687 | wxPy_BEGIN_ALLOW_THREADS; | |
1688 | _result = (bool )wxPyCircleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1689 | ||
1690 | wxPy_END_ALLOW_THREADS; | |
1691 | } _resultobj = Py_BuildValue("i",_result); | |
1692 | return _resultobj; | |
1693 | } | |
1694 | ||
1695 | #define wxPyCircleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1696 | static PyObject *_wrap_wxPyCircleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1697 | PyObject * _resultobj; | |
1698 | wxPyCircleShape * _arg0; | |
1699 | wxDC * _arg1; | |
1700 | double _arg2; | |
1701 | double _arg3; | |
1702 | double _arg4; | |
1703 | double _arg5; | |
1704 | bool _arg6 = (bool ) TRUE; | |
1705 | PyObject * _argo0 = 0; | |
1706 | PyObject * _argo1 = 0; | |
1707 | int tempbool6 = (int) TRUE; | |
1708 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
1709 | ||
1710 | self = self; | |
1711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCircleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
1712 | return NULL; | |
1713 | if (_argo0) { | |
1714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMovePost. Expected _wxPyCircleShape_p."); | |
1717 | return NULL; | |
1718 | } | |
1719 | } | |
1720 | if (_argo1) { | |
1721 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1722 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMovePost. Expected _wxDC_p."); | |
1724 | return NULL; | |
1725 | } | |
1726 | } | |
1727 | _arg6 = (bool ) tempbool6; | |
1728 | { | |
1729 | wxPy_BEGIN_ALLOW_THREADS; | |
1730 | wxPyCircleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1731 | ||
1732 | wxPy_END_ALLOW_THREADS; | |
1733 | } Py_INCREF(Py_None); | |
1734 | _resultobj = Py_None; | |
1735 | return _resultobj; | |
1736 | } | |
1737 | ||
1738 | #define wxPyCircleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1739 | static PyObject *_wrap_wxPyCircleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1740 | PyObject * _resultobj; | |
1741 | wxPyCircleShape * _arg0; | |
1742 | bool _arg1; | |
1743 | double _arg2; | |
1744 | double _arg3; | |
1745 | int _arg4 = (int ) 0; | |
1746 | int _arg5 = (int ) 0; | |
1747 | PyObject * _argo0 = 0; | |
1748 | int tempbool1; | |
1749 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1750 | ||
1751 | self = self; | |
1752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCircleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1753 | return NULL; | |
1754 | if (_argo0) { | |
1755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDragLeft. Expected _wxPyCircleShape_p."); | |
1758 | return NULL; | |
1759 | } | |
1760 | } | |
1761 | _arg1 = (bool ) tempbool1; | |
1762 | { | |
1763 | wxPy_BEGIN_ALLOW_THREADS; | |
1764 | wxPyCircleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1765 | ||
1766 | wxPy_END_ALLOW_THREADS; | |
1767 | } Py_INCREF(Py_None); | |
1768 | _resultobj = Py_None; | |
1769 | return _resultobj; | |
1770 | } | |
1771 | ||
1772 | #define wxPyCircleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1773 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1774 | PyObject * _resultobj; | |
1775 | wxPyCircleShape * _arg0; | |
1776 | double _arg1; | |
1777 | double _arg2; | |
1778 | int _arg3 = (int ) 0; | |
1779 | int _arg4 = (int ) 0; | |
1780 | PyObject * _argo0 = 0; | |
1781 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1782 | ||
1783 | self = self; | |
1784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1785 | return NULL; | |
1786 | if (_argo0) { | |
1787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragLeft. Expected _wxPyCircleShape_p."); | |
1790 | return NULL; | |
1791 | } | |
1792 | } | |
1793 | { | |
1794 | wxPy_BEGIN_ALLOW_THREADS; | |
1795 | wxPyCircleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1796 | ||
1797 | wxPy_END_ALLOW_THREADS; | |
1798 | } Py_INCREF(Py_None); | |
1799 | _resultobj = Py_None; | |
1800 | return _resultobj; | |
1801 | } | |
1802 | ||
1803 | #define wxPyCircleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1804 | static PyObject *_wrap_wxPyCircleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1805 | PyObject * _resultobj; | |
1806 | wxPyCircleShape * _arg0; | |
1807 | double _arg1; | |
1808 | double _arg2; | |
1809 | int _arg3 = (int ) 0; | |
1810 | int _arg4 = (int ) 0; | |
1811 | PyObject * _argo0 = 0; | |
1812 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1813 | ||
1814 | self = self; | |
1815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1816 | return NULL; | |
1817 | if (_argo0) { | |
1818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragLeft. Expected _wxPyCircleShape_p."); | |
1821 | return NULL; | |
1822 | } | |
1823 | } | |
1824 | { | |
1825 | wxPy_BEGIN_ALLOW_THREADS; | |
1826 | wxPyCircleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1827 | ||
1828 | wxPy_END_ALLOW_THREADS; | |
1829 | } Py_INCREF(Py_None); | |
1830 | _resultobj = Py_None; | |
1831 | return _resultobj; | |
1832 | } | |
1833 | ||
1834 | #define wxPyCircleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1835 | static PyObject *_wrap_wxPyCircleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1836 | PyObject * _resultobj; | |
1837 | wxPyCircleShape * _arg0; | |
1838 | bool _arg1; | |
1839 | double _arg2; | |
1840 | double _arg3; | |
1841 | int _arg4 = (int ) 0; | |
1842 | int _arg5 = (int ) 0; | |
1843 | PyObject * _argo0 = 0; | |
1844 | int tempbool1; | |
1845 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
1846 | ||
1847 | self = self; | |
1848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCircleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1849 | return NULL; | |
1850 | if (_argo0) { | |
1851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDragRight. Expected _wxPyCircleShape_p."); | |
1854 | return NULL; | |
1855 | } | |
1856 | } | |
1857 | _arg1 = (bool ) tempbool1; | |
1858 | { | |
1859 | wxPy_BEGIN_ALLOW_THREADS; | |
1860 | wxPyCircleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1861 | ||
1862 | wxPy_END_ALLOW_THREADS; | |
1863 | } Py_INCREF(Py_None); | |
1864 | _resultobj = Py_None; | |
1865 | return _resultobj; | |
1866 | } | |
1867 | ||
1868 | #define wxPyCircleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1869 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1870 | PyObject * _resultobj; | |
1871 | wxPyCircleShape * _arg0; | |
1872 | double _arg1; | |
1873 | double _arg2; | |
1874 | int _arg3 = (int ) 0; | |
1875 | int _arg4 = (int ) 0; | |
1876 | PyObject * _argo0 = 0; | |
1877 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1878 | ||
1879 | self = self; | |
1880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1881 | return NULL; | |
1882 | if (_argo0) { | |
1883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginDragRight. Expected _wxPyCircleShape_p."); | |
1886 | return NULL; | |
1887 | } | |
1888 | } | |
1889 | { | |
1890 | wxPy_BEGIN_ALLOW_THREADS; | |
1891 | wxPyCircleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1892 | ||
1893 | wxPy_END_ALLOW_THREADS; | |
1894 | } Py_INCREF(Py_None); | |
1895 | _resultobj = Py_None; | |
1896 | return _resultobj; | |
1897 | } | |
1898 | ||
1899 | #define wxPyCircleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
1900 | static PyObject *_wrap_wxPyCircleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1901 | PyObject * _resultobj; | |
1902 | wxPyCircleShape * _arg0; | |
1903 | double _arg1; | |
1904 | double _arg2; | |
1905 | int _arg3 = (int ) 0; | |
1906 | int _arg4 = (int ) 0; | |
1907 | PyObject * _argo0 = 0; | |
1908 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
1909 | ||
1910 | self = self; | |
1911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCircleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
1912 | return NULL; | |
1913 | if (_argo0) { | |
1914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndDragRight. Expected _wxPyCircleShape_p."); | |
1917 | return NULL; | |
1918 | } | |
1919 | } | |
1920 | { | |
1921 | wxPy_BEGIN_ALLOW_THREADS; | |
1922 | wxPyCircleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
1923 | ||
1924 | wxPy_END_ALLOW_THREADS; | |
1925 | } Py_INCREF(Py_None); | |
1926 | _resultobj = Py_None; | |
1927 | return _resultobj; | |
1928 | } | |
1929 | ||
1930 | #define wxPyCircleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1931 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1932 | PyObject * _resultobj; | |
1933 | wxPyCircleShape * _arg0; | |
1934 | wxDC * _arg1; | |
1935 | double _arg2; | |
1936 | double _arg3; | |
1937 | double _arg4; | |
1938 | double _arg5; | |
1939 | PyObject * _argo0 = 0; | |
1940 | PyObject * _argo1 = 0; | |
1941 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
1942 | ||
1943 | self = self; | |
1944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCircleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1945 | return NULL; | |
1946 | if (_argo0) { | |
1947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawOutline. Expected _wxPyCircleShape_p."); | |
1950 | return NULL; | |
1951 | } | |
1952 | } | |
1953 | if (_argo1) { | |
1954 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1955 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
1957 | return NULL; | |
1958 | } | |
1959 | } | |
1960 | { | |
1961 | wxPy_BEGIN_ALLOW_THREADS; | |
1962 | wxPyCircleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
1963 | ||
1964 | wxPy_END_ALLOW_THREADS; | |
1965 | } Py_INCREF(Py_None); | |
1966 | _resultobj = Py_None; | |
1967 | return _resultobj; | |
1968 | } | |
1969 | ||
1970 | #define wxPyCircleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
1971 | static PyObject *_wrap_wxPyCircleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1972 | PyObject * _resultobj; | |
1973 | wxPyCircleShape * _arg0; | |
1974 | wxDC * _arg1; | |
1975 | PyObject * _argo0 = 0; | |
1976 | PyObject * _argo1 = 0; | |
1977 | char *_kwnames[] = { "self","dc", NULL }; | |
1978 | ||
1979 | self = self; | |
1980 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
1981 | return NULL; | |
1982 | if (_argo0) { | |
1983 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1984 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxPyCircleShape_p."); | |
1986 | return NULL; | |
1987 | } | |
1988 | } | |
1989 | if (_argo1) { | |
1990 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1991 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
1993 | return NULL; | |
1994 | } | |
1995 | } | |
1996 | { | |
1997 | wxPy_BEGIN_ALLOW_THREADS; | |
1998 | wxPyCircleShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
1999 | ||
2000 | wxPy_END_ALLOW_THREADS; | |
2001 | } Py_INCREF(Py_None); | |
2002 | _resultobj = Py_None; | |
2003 | return _resultobj; | |
2004 | } | |
2005 | ||
2006 | #define wxPyCircleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2007 | static PyObject *_wrap_wxPyCircleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2008 | PyObject * _resultobj; | |
2009 | wxPyCircleShape * _arg0; | |
2010 | wxDC * _arg1; | |
2011 | PyObject * _argo0 = 0; | |
2012 | PyObject * _argo1 = 0; | |
2013 | char *_kwnames[] = { "self","dc", NULL }; | |
2014 | ||
2015 | self = self; | |
2016 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2017 | return NULL; | |
2018 | if (_argo0) { | |
2019 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2020 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2021 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxPyCircleShape_p."); | |
2022 | return NULL; | |
2023 | } | |
2024 | } | |
2025 | if (_argo1) { | |
2026 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2027 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2029 | return NULL; | |
2030 | } | |
2031 | } | |
2032 | { | |
2033 | wxPy_BEGIN_ALLOW_THREADS; | |
2034 | wxPyCircleShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
2035 | ||
2036 | wxPy_END_ALLOW_THREADS; | |
2037 | } Py_INCREF(Py_None); | |
2038 | _resultobj = Py_None; | |
2039 | return _resultobj; | |
2040 | } | |
2041 | ||
2042 | #define wxPyCircleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2043 | static PyObject *_wrap_wxPyCircleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2044 | PyObject * _resultobj; | |
2045 | wxPyCircleShape * _arg0; | |
2046 | wxDC * _arg1; | |
2047 | bool _arg2 = (bool ) TRUE; | |
2048 | PyObject * _argo0 = 0; | |
2049 | PyObject * _argo1 = 0; | |
2050 | int tempbool2 = (int) TRUE; | |
2051 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2052 | ||
2053 | self = self; | |
2054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCircleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2055 | return NULL; | |
2056 | if (_argo0) { | |
2057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnMoveLink. Expected _wxPyCircleShape_p."); | |
2060 | return NULL; | |
2061 | } | |
2062 | } | |
2063 | if (_argo1) { | |
2064 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2065 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2067 | return NULL; | |
2068 | } | |
2069 | } | |
2070 | _arg2 = (bool ) tempbool2; | |
2071 | { | |
2072 | wxPy_BEGIN_ALLOW_THREADS; | |
2073 | wxPyCircleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2074 | ||
2075 | wxPy_END_ALLOW_THREADS; | |
2076 | } Py_INCREF(Py_None); | |
2077 | _resultobj = Py_None; | |
2078 | return _resultobj; | |
2079 | } | |
2080 | ||
2081 | #define wxPyCircleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2082 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2083 | PyObject * _resultobj; | |
2084 | wxPyCircleShape * _arg0; | |
2348eaee | 2085 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2086 | bool _arg2; |
2087 | double _arg3; | |
2088 | double _arg4; | |
2089 | int _arg5 = (int ) 0; | |
2090 | int _arg6 = (int ) 0; | |
2091 | PyObject * _argo0 = 0; | |
2092 | PyObject * _argo1 = 0; | |
2093 | int tempbool2; | |
2094 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2095 | ||
2096 | self = self; | |
2097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCircleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2098 | return NULL; | |
2099 | if (_argo0) { | |
2100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyCircleShape_p."); | |
2103 | return NULL; | |
2104 | } | |
2105 | } | |
2106 | if (_argo1) { | |
2107 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2108 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2110 | return NULL; |
2111 | } | |
2112 | } | |
2113 | _arg2 = (bool ) tempbool2; | |
2114 | { | |
2115 | wxPy_BEGIN_ALLOW_THREADS; | |
2116 | wxPyCircleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2117 | ||
2118 | wxPy_END_ALLOW_THREADS; | |
2119 | } Py_INCREF(Py_None); | |
2120 | _resultobj = Py_None; | |
2121 | return _resultobj; | |
2122 | } | |
2123 | ||
2124 | #define wxPyCircleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2125 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2126 | PyObject * _resultobj; | |
2127 | wxPyCircleShape * _arg0; | |
2348eaee | 2128 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2129 | double _arg2; |
2130 | double _arg3; | |
2131 | int _arg4 = (int ) 0; | |
2132 | int _arg5 = (int ) 0; | |
2133 | PyObject * _argo0 = 0; | |
2134 | PyObject * _argo1 = 0; | |
2135 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2136 | ||
2137 | self = self; | |
2138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCircleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2139 | return NULL; | |
2140 | if (_argo0) { | |
2141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyCircleShape_p."); | |
2144 | return NULL; | |
2145 | } | |
2146 | } | |
2147 | if (_argo1) { | |
2148 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2149 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2151 | return NULL; |
2152 | } | |
2153 | } | |
2154 | { | |
2155 | wxPy_BEGIN_ALLOW_THREADS; | |
2156 | wxPyCircleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2157 | ||
2158 | wxPy_END_ALLOW_THREADS; | |
2159 | } Py_INCREF(Py_None); | |
2160 | _resultobj = Py_None; | |
2161 | return _resultobj; | |
2162 | } | |
2163 | ||
2164 | #define wxPyCircleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2165 | static PyObject *_wrap_wxPyCircleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2166 | PyObject * _resultobj; | |
2167 | wxPyCircleShape * _arg0; | |
2348eaee | 2168 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2169 | double _arg2; |
2170 | double _arg3; | |
2171 | int _arg4 = (int ) 0; | |
2172 | int _arg5 = (int ) 0; | |
2173 | PyObject * _argo0 = 0; | |
2174 | PyObject * _argo1 = 0; | |
2175 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2176 | ||
2177 | self = self; | |
2178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCircleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2179 | return NULL; | |
2180 | if (_argo0) { | |
2181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyCircleShape_p."); | |
2184 | return NULL; | |
2185 | } | |
2186 | } | |
2187 | if (_argo1) { | |
2188 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2189 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2191 | return NULL; |
2192 | } | |
2193 | } | |
2194 | { | |
2195 | wxPy_BEGIN_ALLOW_THREADS; | |
2196 | wxPyCircleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2197 | ||
2198 | wxPy_END_ALLOW_THREADS; | |
2199 | } Py_INCREF(Py_None); | |
2200 | _resultobj = Py_None; | |
2201 | return _resultobj; | |
2202 | } | |
2203 | ||
2204 | #define wxPyCircleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2205 | static PyObject *_wrap_wxPyCircleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2206 | PyObject * _resultobj; | |
2207 | wxPyCircleShape * _arg0; | |
2208 | double _arg1; | |
2209 | double _arg2; | |
2210 | PyObject * _argo0 = 0; | |
2211 | char *_kwnames[] = { "self","w","h", NULL }; | |
2212 | ||
2213 | self = self; | |
2214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2215 | return NULL; | |
2216 | if (_argo0) { | |
2217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnBeginSize. Expected _wxPyCircleShape_p."); | |
2220 | return NULL; | |
2221 | } | |
2222 | } | |
2223 | { | |
2224 | wxPy_BEGIN_ALLOW_THREADS; | |
2225 | wxPyCircleShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2226 | ||
2227 | wxPy_END_ALLOW_THREADS; | |
2228 | } Py_INCREF(Py_None); | |
2229 | _resultobj = Py_None; | |
2230 | return _resultobj; | |
2231 | } | |
2232 | ||
2233 | #define wxPyCircleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2234 | static PyObject *_wrap_wxPyCircleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2235 | PyObject * _resultobj; | |
2236 | wxPyCircleShape * _arg0; | |
2237 | double _arg1; | |
2238 | double _arg2; | |
2239 | PyObject * _argo0 = 0; | |
2240 | char *_kwnames[] = { "self","w","h", NULL }; | |
2241 | ||
2242 | self = self; | |
2243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCircleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2244 | return NULL; | |
2245 | if (_argo0) { | |
2246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
2248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape_base_OnEndSize. Expected _wxPyCircleShape_p."); | |
2249 | return NULL; | |
2250 | } | |
2251 | } | |
2252 | { | |
2253 | wxPy_BEGIN_ALLOW_THREADS; | |
2254 | wxPyCircleShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
2255 | ||
2256 | wxPy_END_ALLOW_THREADS; | |
2257 | } Py_INCREF(Py_None); | |
2258 | _resultobj = Py_None; | |
2259 | return _resultobj; | |
2260 | } | |
2261 | ||
2262 | #define new_wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (new wxArrowHead(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2263 | static PyObject *_wrap_new_wxArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2264 | PyObject * _resultobj; | |
2265 | wxArrowHead * _result; | |
2266 | int _arg0 = (int ) 0; | |
2267 | int _arg1 = (int ) 0; | |
2268 | double _arg2 = (double ) 0.0; | |
2269 | double _arg3 = (double ) 0.0; | |
2270 | char * _arg4 = (char *) ""; | |
2271 | wxPseudoMetaFile * _arg5 = (wxPseudoMetaFile *) NULL; | |
2272 | long _arg6 = (long ) -1; | |
2273 | PyObject * _argo5 = 0; | |
2274 | char *_kwnames[] = { "type","end","size","dist","name","mf","arrowId", NULL }; | |
2275 | char _ptemp[128]; | |
2276 | ||
2277 | self = self; | |
2278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|iiddsOl:new_wxArrowHead",_kwnames,&_arg0,&_arg1,&_arg2,&_arg3,&_arg4,&_argo5,&_arg6)) | |
2279 | return NULL; | |
2280 | if (_argo5) { | |
2281 | if (_argo5 == Py_None) { _arg5 = NULL; } | |
2282 | else if (SWIG_GetPtrObj(_argo5,(void **) &_arg5,"_wxPseudoMetaFile_p")) { | |
2283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 6 of new_wxArrowHead. Expected _wxPseudoMetaFile_p."); | |
2284 | return NULL; | |
2285 | } | |
2286 | } | |
2287 | { | |
2288 | wxPy_BEGIN_ALLOW_THREADS; | |
2289 | _result = (wxArrowHead *)new_wxArrowHead(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2290 | ||
2291 | wxPy_END_ALLOW_THREADS; | |
2292 | } if (_result) { | |
2293 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
2294 | _resultobj = Py_BuildValue("s",_ptemp); | |
2295 | } else { | |
2296 | Py_INCREF(Py_None); | |
2297 | _resultobj = Py_None; | |
2298 | } | |
2299 | return _resultobj; | |
2300 | } | |
2301 | ||
2302 | #define delete_wxArrowHead(_swigobj) (delete _swigobj) | |
2303 | static PyObject *_wrap_delete_wxArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2304 | PyObject * _resultobj; | |
2305 | wxArrowHead * _arg0; | |
2306 | PyObject * _argo0 = 0; | |
2307 | char *_kwnames[] = { "self", NULL }; | |
2308 | ||
2309 | self = self; | |
2310 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxArrowHead",_kwnames,&_argo0)) | |
2311 | return NULL; | |
2312 | if (_argo0) { | |
2313 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2314 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2315 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxArrowHead. Expected _wxArrowHead_p."); | |
2316 | return NULL; | |
2317 | } | |
2318 | } | |
2319 | { | |
2320 | wxPy_BEGIN_ALLOW_THREADS; | |
2321 | delete_wxArrowHead(_arg0); | |
2322 | ||
2323 | wxPy_END_ALLOW_THREADS; | |
2324 | } Py_INCREF(Py_None); | |
2325 | _resultobj = Py_None; | |
2326 | return _resultobj; | |
2327 | } | |
2328 | ||
2329 | #define wxArrowHead__GetType(_swigobj) (_swigobj->_GetType()) | |
2330 | static PyObject *_wrap_wxArrowHead__GetType(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2331 | PyObject * _resultobj; | |
2332 | int _result; | |
2333 | wxArrowHead * _arg0; | |
2334 | PyObject * _argo0 = 0; | |
2335 | char *_kwnames[] = { "self", NULL }; | |
2336 | ||
2337 | self = self; | |
2338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead__GetType",_kwnames,&_argo0)) | |
2339 | return NULL; | |
2340 | if (_argo0) { | |
2341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead__GetType. Expected _wxArrowHead_p."); | |
2344 | return NULL; | |
2345 | } | |
2346 | } | |
2347 | { | |
2348 | wxPy_BEGIN_ALLOW_THREADS; | |
2349 | _result = (int )wxArrowHead__GetType(_arg0); | |
2350 | ||
2351 | wxPy_END_ALLOW_THREADS; | |
2352 | } _resultobj = Py_BuildValue("i",_result); | |
2353 | return _resultobj; | |
2354 | } | |
2355 | ||
2356 | #define wxArrowHead_GetPosition(_swigobj) (_swigobj->GetPosition()) | |
2357 | static PyObject *_wrap_wxArrowHead_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2358 | PyObject * _resultobj; | |
2359 | int _result; | |
2360 | wxArrowHead * _arg0; | |
2361 | PyObject * _argo0 = 0; | |
2362 | char *_kwnames[] = { "self", NULL }; | |
2363 | ||
2364 | self = self; | |
2365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetPosition",_kwnames,&_argo0)) | |
2366 | return NULL; | |
2367 | if (_argo0) { | |
2368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetPosition. Expected _wxArrowHead_p."); | |
2371 | return NULL; | |
2372 | } | |
2373 | } | |
2374 | { | |
2375 | wxPy_BEGIN_ALLOW_THREADS; | |
2376 | _result = (int )wxArrowHead_GetPosition(_arg0); | |
2377 | ||
2378 | wxPy_END_ALLOW_THREADS; | |
2379 | } _resultobj = Py_BuildValue("i",_result); | |
2380 | return _resultobj; | |
2381 | } | |
2382 | ||
2383 | #define wxArrowHead_SetPosition(_swigobj,_swigarg0) (_swigobj->SetPosition(_swigarg0)) | |
2384 | static PyObject *_wrap_wxArrowHead_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2385 | PyObject * _resultobj; | |
2386 | wxArrowHead * _arg0; | |
2387 | int _arg1; | |
2388 | PyObject * _argo0 = 0; | |
2389 | char *_kwnames[] = { "self","pos", NULL }; | |
2390 | ||
2391 | self = self; | |
2392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxArrowHead_SetPosition",_kwnames,&_argo0,&_arg1)) | |
2393 | return NULL; | |
2394 | if (_argo0) { | |
2395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetPosition. Expected _wxArrowHead_p."); | |
2398 | return NULL; | |
2399 | } | |
2400 | } | |
2401 | { | |
2402 | wxPy_BEGIN_ALLOW_THREADS; | |
2403 | wxArrowHead_SetPosition(_arg0,_arg1); | |
2404 | ||
2405 | wxPy_END_ALLOW_THREADS; | |
2406 | } Py_INCREF(Py_None); | |
2407 | _resultobj = Py_None; | |
2408 | return _resultobj; | |
2409 | } | |
2410 | ||
2411 | #define wxArrowHead_GetXOffset(_swigobj) (_swigobj->GetXOffset()) | |
2412 | static PyObject *_wrap_wxArrowHead_GetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2413 | PyObject * _resultobj; | |
2414 | double _result; | |
2415 | wxArrowHead * _arg0; | |
2416 | PyObject * _argo0 = 0; | |
2417 | char *_kwnames[] = { "self", NULL }; | |
2418 | ||
2419 | self = self; | |
2420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetXOffset",_kwnames,&_argo0)) | |
2421 | return NULL; | |
2422 | if (_argo0) { | |
2423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetXOffset. Expected _wxArrowHead_p."); | |
2426 | return NULL; | |
2427 | } | |
2428 | } | |
2429 | { | |
2430 | wxPy_BEGIN_ALLOW_THREADS; | |
2431 | _result = (double )wxArrowHead_GetXOffset(_arg0); | |
2432 | ||
2433 | wxPy_END_ALLOW_THREADS; | |
2434 | } _resultobj = Py_BuildValue("d",_result); | |
2435 | return _resultobj; | |
2436 | } | |
2437 | ||
2438 | #define wxArrowHead_GetYOffset(_swigobj) (_swigobj->GetYOffset()) | |
2439 | static PyObject *_wrap_wxArrowHead_GetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2440 | PyObject * _resultobj; | |
2441 | double _result; | |
2442 | wxArrowHead * _arg0; | |
2443 | PyObject * _argo0 = 0; | |
2444 | char *_kwnames[] = { "self", NULL }; | |
2445 | ||
2446 | self = self; | |
2447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetYOffset",_kwnames,&_argo0)) | |
2448 | return NULL; | |
2449 | if (_argo0) { | |
2450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetYOffset. Expected _wxArrowHead_p."); | |
2453 | return NULL; | |
2454 | } | |
2455 | } | |
2456 | { | |
2457 | wxPy_BEGIN_ALLOW_THREADS; | |
2458 | _result = (double )wxArrowHead_GetYOffset(_arg0); | |
2459 | ||
2460 | wxPy_END_ALLOW_THREADS; | |
2461 | } _resultobj = Py_BuildValue("d",_result); | |
2462 | return _resultobj; | |
2463 | } | |
2464 | ||
2465 | #define wxArrowHead_GetSpacing(_swigobj) (_swigobj->GetSpacing()) | |
2466 | static PyObject *_wrap_wxArrowHead_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2467 | PyObject * _resultobj; | |
2468 | double _result; | |
2469 | wxArrowHead * _arg0; | |
2470 | PyObject * _argo0 = 0; | |
2471 | char *_kwnames[] = { "self", NULL }; | |
2472 | ||
2473 | self = self; | |
2474 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetSpacing",_kwnames,&_argo0)) | |
2475 | return NULL; | |
2476 | if (_argo0) { | |
2477 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2478 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2479 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetSpacing. Expected _wxArrowHead_p."); | |
2480 | return NULL; | |
2481 | } | |
2482 | } | |
2483 | { | |
2484 | wxPy_BEGIN_ALLOW_THREADS; | |
2485 | _result = (double )wxArrowHead_GetSpacing(_arg0); | |
2486 | ||
2487 | wxPy_END_ALLOW_THREADS; | |
2488 | } _resultobj = Py_BuildValue("d",_result); | |
2489 | return _resultobj; | |
2490 | } | |
2491 | ||
2492 | #define wxArrowHead_GetSize(_swigobj) (_swigobj->GetSize()) | |
2493 | static PyObject *_wrap_wxArrowHead_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2494 | PyObject * _resultobj; | |
2495 | double _result; | |
2496 | wxArrowHead * _arg0; | |
2497 | PyObject * _argo0 = 0; | |
2498 | char *_kwnames[] = { "self", NULL }; | |
2499 | ||
2500 | self = self; | |
2501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetSize",_kwnames,&_argo0)) | |
2502 | return NULL; | |
2503 | if (_argo0) { | |
2504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetSize. Expected _wxArrowHead_p."); | |
2507 | return NULL; | |
2508 | } | |
2509 | } | |
2510 | { | |
2511 | wxPy_BEGIN_ALLOW_THREADS; | |
2512 | _result = (double )wxArrowHead_GetSize(_arg0); | |
2513 | ||
2514 | wxPy_END_ALLOW_THREADS; | |
2515 | } _resultobj = Py_BuildValue("d",_result); | |
2516 | return _resultobj; | |
2517 | } | |
2518 | ||
2519 | #define wxArrowHead_GetName(_swigobj) (_swigobj->GetName()) | |
2520 | static PyObject *_wrap_wxArrowHead_GetName(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2521 | PyObject * _resultobj; | |
2522 | wxString * _result; | |
2523 | wxArrowHead * _arg0; | |
2524 | PyObject * _argo0 = 0; | |
2525 | char *_kwnames[] = { "self", NULL }; | |
2526 | ||
2527 | self = self; | |
2528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetName",_kwnames,&_argo0)) | |
2529 | return NULL; | |
2530 | if (_argo0) { | |
2531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetName. Expected _wxArrowHead_p."); | |
2534 | return NULL; | |
2535 | } | |
2536 | } | |
2537 | { | |
2538 | wxPy_BEGIN_ALLOW_THREADS; | |
2539 | _result = new wxString (wxArrowHead_GetName(_arg0)); | |
2540 | ||
2541 | wxPy_END_ALLOW_THREADS; | |
2542 | }{ | |
99ab9f3b | 2543 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
2544 | } |
2545 | { | |
2546 | delete _result; | |
2547 | } | |
2548 | return _resultobj; | |
2549 | } | |
2550 | ||
2551 | #define wxArrowHead_SetXOffset(_swigobj,_swigarg0) (_swigobj->SetXOffset(_swigarg0)) | |
2552 | static PyObject *_wrap_wxArrowHead_SetXOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2553 | PyObject * _resultobj; | |
2554 | wxArrowHead * _arg0; | |
2555 | double _arg1; | |
2556 | PyObject * _argo0 = 0; | |
2557 | char *_kwnames[] = { "self","x", NULL }; | |
2558 | ||
2559 | self = self; | |
2560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetXOffset",_kwnames,&_argo0,&_arg1)) | |
2561 | return NULL; | |
2562 | if (_argo0) { | |
2563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetXOffset. Expected _wxArrowHead_p."); | |
2566 | return NULL; | |
2567 | } | |
2568 | } | |
2569 | { | |
2570 | wxPy_BEGIN_ALLOW_THREADS; | |
2571 | wxArrowHead_SetXOffset(_arg0,_arg1); | |
2572 | ||
2573 | wxPy_END_ALLOW_THREADS; | |
2574 | } Py_INCREF(Py_None); | |
2575 | _resultobj = Py_None; | |
2576 | return _resultobj; | |
2577 | } | |
2578 | ||
2579 | #define wxArrowHead_SetYOffset(_swigobj,_swigarg0) (_swigobj->SetYOffset(_swigarg0)) | |
2580 | static PyObject *_wrap_wxArrowHead_SetYOffset(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2581 | PyObject * _resultobj; | |
2582 | wxArrowHead * _arg0; | |
2583 | double _arg1; | |
2584 | PyObject * _argo0 = 0; | |
2585 | char *_kwnames[] = { "self","y", NULL }; | |
2586 | ||
2587 | self = self; | |
2588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetYOffset",_kwnames,&_argo0,&_arg1)) | |
2589 | return NULL; | |
2590 | if (_argo0) { | |
2591 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2592 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetYOffset. Expected _wxArrowHead_p."); | |
2594 | return NULL; | |
2595 | } | |
2596 | } | |
2597 | { | |
2598 | wxPy_BEGIN_ALLOW_THREADS; | |
2599 | wxArrowHead_SetYOffset(_arg0,_arg1); | |
2600 | ||
2601 | wxPy_END_ALLOW_THREADS; | |
2602 | } Py_INCREF(Py_None); | |
2603 | _resultobj = Py_None; | |
2604 | return _resultobj; | |
2605 | } | |
2606 | ||
2607 | #define wxArrowHead_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
2608 | static PyObject *_wrap_wxArrowHead_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2609 | PyObject * _resultobj; | |
2610 | wxPseudoMetaFile * _result; | |
2611 | wxArrowHead * _arg0; | |
2612 | PyObject * _argo0 = 0; | |
2613 | char *_kwnames[] = { "self", NULL }; | |
2614 | char _ptemp[128]; | |
2615 | ||
2616 | self = self; | |
2617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetMetaFile",_kwnames,&_argo0)) | |
2618 | return NULL; | |
2619 | if (_argo0) { | |
2620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetMetaFile. Expected _wxArrowHead_p."); | |
2623 | return NULL; | |
2624 | } | |
2625 | } | |
2626 | { | |
2627 | wxPy_BEGIN_ALLOW_THREADS; | |
2628 | _result = (wxPseudoMetaFile *)wxArrowHead_GetMetaFile(_arg0); | |
2629 | ||
2630 | wxPy_END_ALLOW_THREADS; | |
2631 | } if (_result) { | |
2632 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
2633 | _resultobj = Py_BuildValue("s",_ptemp); | |
2634 | } else { | |
2635 | Py_INCREF(Py_None); | |
2636 | _resultobj = Py_None; | |
2637 | } | |
2638 | return _resultobj; | |
2639 | } | |
2640 | ||
2641 | #define wxArrowHead_GetId(_swigobj) (_swigobj->GetId()) | |
2642 | static PyObject *_wrap_wxArrowHead_GetId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2643 | PyObject * _resultobj; | |
2644 | long _result; | |
2645 | wxArrowHead * _arg0; | |
2646 | PyObject * _argo0 = 0; | |
2647 | char *_kwnames[] = { "self", NULL }; | |
2648 | ||
2649 | self = self; | |
2650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetId",_kwnames,&_argo0)) | |
2651 | return NULL; | |
2652 | if (_argo0) { | |
2653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetId. Expected _wxArrowHead_p."); | |
2656 | return NULL; | |
2657 | } | |
2658 | } | |
2659 | { | |
2660 | wxPy_BEGIN_ALLOW_THREADS; | |
2661 | _result = (long )wxArrowHead_GetId(_arg0); | |
2662 | ||
2663 | wxPy_END_ALLOW_THREADS; | |
2664 | } _resultobj = Py_BuildValue("l",_result); | |
2665 | return _resultobj; | |
2666 | } | |
2667 | ||
2668 | #define wxArrowHead_GetArrowEnd(_swigobj) (_swigobj->GetArrowEnd()) | |
2669 | static PyObject *_wrap_wxArrowHead_GetArrowEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2670 | PyObject * _resultobj; | |
2671 | int _result; | |
2672 | wxArrowHead * _arg0; | |
2673 | PyObject * _argo0 = 0; | |
2674 | char *_kwnames[] = { "self", NULL }; | |
2675 | ||
2676 | self = self; | |
2677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetArrowEnd",_kwnames,&_argo0)) | |
2678 | return NULL; | |
2679 | if (_argo0) { | |
2680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetArrowEnd. Expected _wxArrowHead_p."); | |
2683 | return NULL; | |
2684 | } | |
2685 | } | |
2686 | { | |
2687 | wxPy_BEGIN_ALLOW_THREADS; | |
2688 | _result = (int )wxArrowHead_GetArrowEnd(_arg0); | |
2689 | ||
2690 | wxPy_END_ALLOW_THREADS; | |
2691 | } _resultobj = Py_BuildValue("i",_result); | |
2692 | return _resultobj; | |
2693 | } | |
2694 | ||
2695 | #define wxArrowHead_GetArrowSize(_swigobj) (_swigobj->GetArrowSize()) | |
2696 | static PyObject *_wrap_wxArrowHead_GetArrowSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2697 | PyObject * _resultobj; | |
2698 | double _result; | |
2699 | wxArrowHead * _arg0; | |
2700 | PyObject * _argo0 = 0; | |
2701 | char *_kwnames[] = { "self", NULL }; | |
2702 | ||
2703 | self = self; | |
2704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxArrowHead_GetArrowSize",_kwnames,&_argo0)) | |
2705 | return NULL; | |
2706 | if (_argo0) { | |
2707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_GetArrowSize. Expected _wxArrowHead_p."); | |
2710 | return NULL; | |
2711 | } | |
2712 | } | |
2713 | { | |
2714 | wxPy_BEGIN_ALLOW_THREADS; | |
2715 | _result = (double )wxArrowHead_GetArrowSize(_arg0); | |
2716 | ||
2717 | wxPy_END_ALLOW_THREADS; | |
2718 | } _resultobj = Py_BuildValue("d",_result); | |
2719 | return _resultobj; | |
2720 | } | |
2721 | ||
2722 | #define wxArrowHead_SetSize(_swigobj,_swigarg0) (_swigobj->SetSize(_swigarg0)) | |
2723 | static PyObject *_wrap_wxArrowHead_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2724 | PyObject * _resultobj; | |
2725 | wxArrowHead * _arg0; | |
2726 | double _arg1; | |
2727 | PyObject * _argo0 = 0; | |
2728 | char *_kwnames[] = { "self","size", NULL }; | |
2729 | ||
2730 | self = self; | |
2731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetSize",_kwnames,&_argo0,&_arg1)) | |
2732 | return NULL; | |
2733 | if (_argo0) { | |
2734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetSize. Expected _wxArrowHead_p."); | |
2737 | return NULL; | |
2738 | } | |
2739 | } | |
2740 | { | |
2741 | wxPy_BEGIN_ALLOW_THREADS; | |
2742 | wxArrowHead_SetSize(_arg0,_arg1); | |
2743 | ||
2744 | wxPy_END_ALLOW_THREADS; | |
2745 | } Py_INCREF(Py_None); | |
2746 | _resultobj = Py_None; | |
2747 | return _resultobj; | |
2748 | } | |
2749 | ||
2750 | #define wxArrowHead_SetSpacing(_swigobj,_swigarg0) (_swigobj->SetSpacing(_swigarg0)) | |
2751 | static PyObject *_wrap_wxArrowHead_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2752 | PyObject * _resultobj; | |
2753 | wxArrowHead * _arg0; | |
2754 | double _arg1; | |
2755 | PyObject * _argo0 = 0; | |
2756 | char *_kwnames[] = { "self","sp", NULL }; | |
2757 | ||
2758 | self = self; | |
2759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxArrowHead_SetSpacing",_kwnames,&_argo0,&_arg1)) | |
2760 | return NULL; | |
2761 | if (_argo0) { | |
2762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxArrowHead_p")) { | |
2764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxArrowHead_SetSpacing. Expected _wxArrowHead_p."); | |
2765 | return NULL; | |
2766 | } | |
2767 | } | |
2768 | { | |
2769 | wxPy_BEGIN_ALLOW_THREADS; | |
2770 | wxArrowHead_SetSpacing(_arg0,_arg1); | |
2771 | ||
2772 | wxPy_END_ALLOW_THREADS; | |
2773 | } Py_INCREF(Py_None); | |
2774 | _resultobj = Py_None; | |
2775 | return _resultobj; | |
2776 | } | |
2777 | ||
2778 | static void *SwigwxPyLineShapeTowxPyShape(void *ptr) { | |
2779 | wxPyLineShape *src; | |
2780 | wxPyShape *dest; | |
2781 | src = (wxPyLineShape *) ptr; | |
2782 | dest = (wxPyShape *) src; | |
2783 | return (void *) dest; | |
2784 | } | |
2785 | ||
2786 | static void *SwigwxPyLineShapeTowxPyShapeEvtHandler(void *ptr) { | |
2787 | wxPyLineShape *src; | |
2788 | wxPyShapeEvtHandler *dest; | |
2789 | src = (wxPyLineShape *) ptr; | |
2790 | dest = (wxPyShapeEvtHandler *) src; | |
2791 | return (void *) dest; | |
2792 | } | |
2793 | ||
2794 | #define new_wxPyLineShape() (new wxPyLineShape()) | |
2795 | static PyObject *_wrap_new_wxPyLineShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2796 | PyObject * _resultobj; | |
2797 | wxPyLineShape * _result; | |
2798 | char *_kwnames[] = { NULL }; | |
2799 | char _ptemp[128]; | |
2800 | ||
2801 | self = self; | |
2802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyLineShape",_kwnames)) | |
2803 | return NULL; | |
2804 | { | |
2805 | wxPy_BEGIN_ALLOW_THREADS; | |
2806 | _result = (wxPyLineShape *)new_wxPyLineShape(); | |
2807 | ||
2808 | wxPy_END_ALLOW_THREADS; | |
2809 | } if (_result) { | |
2810 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyLineShape_p"); | |
2811 | _resultobj = Py_BuildValue("s",_ptemp); | |
2812 | } else { | |
2813 | Py_INCREF(Py_None); | |
2814 | _resultobj = Py_None; | |
2815 | } | |
2816 | return _resultobj; | |
2817 | } | |
2818 | ||
f6bcfd97 | 2819 | #define wxPyLineShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
2820 | static PyObject *_wrap_wxPyLineShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
2821 | PyObject * _resultobj; | |
2822 | wxPyLineShape * _arg0; | |
2823 | PyObject * _arg1; | |
f6bcfd97 | 2824 | PyObject * _arg2; |
e91a9dfc RD |
2825 | PyObject * _argo0 = 0; |
2826 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2827 | PyObject * _obj2 = 0; |
2828 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2829 | |
2830 | self = self; | |
f6bcfd97 | 2831 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyLineShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2832 | return NULL; |
2833 | if (_argo0) { | |
2834 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2835 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2836 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape__setSelf. Expected _wxPyLineShape_p."); | |
2837 | return NULL; | |
2838 | } | |
2839 | } | |
2840 | { | |
2841 | _arg1 = _obj1; | |
2842 | } | |
f6bcfd97 BP |
2843 | { |
2844 | _arg2 = _obj2; | |
2845 | } | |
e91a9dfc RD |
2846 | { |
2847 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2848 | wxPyLineShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2849 | |
2850 | wxPy_END_ALLOW_THREADS; | |
2851 | } Py_INCREF(Py_None); | |
2852 | _resultobj = Py_None; | |
2853 | return _resultobj; | |
2854 | } | |
2855 | ||
2856 | #define wxPyLineShape_AddArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->AddArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2857 | static PyObject *_wrap_wxPyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2858 | PyObject * _resultobj; | |
2859 | wxPyLineShape * _arg0; | |
2860 | int _arg1; | |
2861 | int _arg2 = (int ) ARROW_POSITION_END; | |
2862 | double _arg3 = (double ) 10.0; | |
2863 | double _arg4 = (double ) 0.0; | |
2864 | char * _arg5 = (char *) ""; | |
2865 | wxPseudoMetaFile * _arg6 = (wxPseudoMetaFile *) NULL; | |
2866 | long _arg7 = (long ) -1; | |
2867 | PyObject * _argo0 = 0; | |
2868 | PyObject * _argo6 = 0; | |
2869 | char *_kwnames[] = { "self","type","end","arrowSize","xOffset","name","mf","arrowId", NULL }; | |
2870 | ||
2871 | self = self; | |
2872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iddsOl:wxPyLineShape_AddArrow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7)) | |
2873 | return NULL; | |
2874 | if (_argo0) { | |
2875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrow. Expected _wxPyLineShape_p."); | |
2878 | return NULL; | |
2879 | } | |
2880 | } | |
2881 | if (_argo6) { | |
2882 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
2883 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPseudoMetaFile_p")) { | |
2884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyLineShape_AddArrow. Expected _wxPseudoMetaFile_p."); | |
2885 | return NULL; | |
2886 | } | |
2887 | } | |
2888 | { | |
2889 | wxPy_BEGIN_ALLOW_THREADS; | |
2890 | wxPyLineShape_AddArrow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
2891 | ||
2892 | wxPy_END_ALLOW_THREADS; | |
2893 | } Py_INCREF(Py_None); | |
2894 | _resultobj = Py_None; | |
2895 | return _resultobj; | |
2896 | } | |
2897 | ||
2898 | static void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead * arrow,PyObject * referenceList,int end) { | |
99ab9f3b | 2899 | wxList* list = wxPy_wxListHelper(referenceList, "_wxArrowHead_p"); |
e91a9dfc RD |
2900 | self->AddArrowOrdered(arrow, *list, end); |
2901 | delete list; | |
2902 | } | |
2903 | static PyObject *_wrap_wxPyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2904 | PyObject * _resultobj; | |
2905 | wxPyLineShape * _arg0; | |
2906 | wxArrowHead * _arg1; | |
2907 | PyObject * _arg2; | |
2908 | int _arg3; | |
2909 | PyObject * _argo0 = 0; | |
2910 | PyObject * _argo1 = 0; | |
2911 | PyObject * _obj2 = 0; | |
2912 | char *_kwnames[] = { "self","arrow","referenceList","end", NULL }; | |
2913 | ||
2914 | self = self; | |
2915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOi:wxPyLineShape_AddArrowOrdered",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3)) | |
2916 | return NULL; | |
2917 | if (_argo0) { | |
2918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrowOrdered. Expected _wxPyLineShape_p."); | |
2921 | return NULL; | |
2922 | } | |
2923 | } | |
2924 | if (_argo1) { | |
2925 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2926 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxArrowHead_p")) { | |
2927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_AddArrowOrdered. Expected _wxArrowHead_p."); | |
2928 | return NULL; | |
2929 | } | |
2930 | } | |
2931 | { | |
2932 | _arg2 = _obj2; | |
2933 | } | |
2934 | { | |
2935 | wxPy_BEGIN_ALLOW_THREADS; | |
2936 | wxPyLineShape_AddArrowOrdered(_arg0,_arg1,_arg2,_arg3); | |
2937 | ||
2938 | wxPy_END_ALLOW_THREADS; | |
2939 | } Py_INCREF(Py_None); | |
2940 | _resultobj = Py_None; | |
2941 | return _resultobj; | |
2942 | } | |
2943 | ||
2944 | #define wxPyLineShape_ClearArrow(_swigobj,_swigarg0) (_swigobj->ClearArrow(_swigarg0)) | |
2945 | static PyObject *_wrap_wxPyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2946 | PyObject * _resultobj; | |
2947 | bool _result; | |
2948 | wxPyLineShape * _arg0; | |
2949 | wxString * _arg1; | |
2950 | PyObject * _argo0 = 0; | |
2951 | PyObject * _obj1 = 0; | |
2952 | char *_kwnames[] = { "self","name", NULL }; | |
2953 | ||
2954 | self = self; | |
2955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_ClearArrow",_kwnames,&_argo0,&_obj1)) | |
2956 | return NULL; | |
2957 | if (_argo0) { | |
2958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrow. Expected _wxPyLineShape_p."); | |
2961 | return NULL; | |
2962 | } | |
2963 | } | |
2964 | { | |
185d7c3e RD |
2965 | #if PYTHON_API_VERSION >= 1009 |
2966 | char* tmpPtr; int tmpSize; | |
2967 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
2968 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
2969 | return NULL; | |
2970 | } | |
2971 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
2972 | return NULL; | |
2973 | _arg1 = new wxString(tmpPtr, tmpSize); | |
2974 | #else | |
e91a9dfc RD |
2975 | if (!PyString_Check(_obj1)) { |
2976 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2977 | return NULL; | |
2978 | } | |
185d7c3e RD |
2979 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
2980 | #endif | |
e91a9dfc RD |
2981 | } |
2982 | { | |
2983 | wxPy_BEGIN_ALLOW_THREADS; | |
2984 | _result = (bool )wxPyLineShape_ClearArrow(_arg0,*_arg1); | |
2985 | ||
2986 | wxPy_END_ALLOW_THREADS; | |
2987 | } _resultobj = Py_BuildValue("i",_result); | |
2988 | { | |
2989 | if (_obj1) | |
2990 | delete _arg1; | |
2991 | } | |
2992 | return _resultobj; | |
2993 | } | |
2994 | ||
2995 | #define wxPyLineShape_ClearArrowsAtPosition(_swigobj,_swigarg0) (_swigobj->ClearArrowsAtPosition(_swigarg0)) | |
2996 | static PyObject *_wrap_wxPyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2997 | PyObject * _resultobj; | |
2998 | wxPyLineShape * _arg0; | |
2999 | int _arg1 = (int ) -1; | |
3000 | PyObject * _argo0 = 0; | |
3001 | char *_kwnames[] = { "self","position", NULL }; | |
3002 | ||
3003 | self = self; | |
3004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyLineShape_ClearArrowsAtPosition",_kwnames,&_argo0,&_arg1)) | |
3005 | return NULL; | |
3006 | if (_argo0) { | |
3007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrowsAtPosition. Expected _wxPyLineShape_p."); | |
3010 | return NULL; | |
3011 | } | |
3012 | } | |
3013 | { | |
3014 | wxPy_BEGIN_ALLOW_THREADS; | |
3015 | wxPyLineShape_ClearArrowsAtPosition(_arg0,_arg1); | |
3016 | ||
3017 | wxPy_END_ALLOW_THREADS; | |
3018 | } Py_INCREF(Py_None); | |
3019 | _resultobj = Py_None; | |
3020 | return _resultobj; | |
3021 | } | |
3022 | ||
3023 | #define wxPyLineShape_DrawArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3024 | static PyObject *_wrap_wxPyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3025 | PyObject * _resultobj; | |
3026 | wxPyLineShape * _arg0; | |
3027 | wxDC * _arg1; | |
3028 | wxArrowHead * _arg2; | |
3029 | double _arg3; | |
3030 | bool _arg4; | |
3031 | PyObject * _argo0 = 0; | |
3032 | PyObject * _argo1 = 0; | |
3033 | PyObject * _argo2 = 0; | |
3034 | int tempbool4; | |
3035 | char *_kwnames[] = { "self","dc","arrow","xOffset","proportionalOffset", NULL }; | |
3036 | ||
3037 | self = self; | |
3038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdi:wxPyLineShape_DrawArrow",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&tempbool4)) | |
3039 | return NULL; | |
3040 | if (_argo0) { | |
3041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrow. Expected _wxPyLineShape_p."); | |
3044 | return NULL; | |
3045 | } | |
3046 | } | |
3047 | if (_argo1) { | |
3048 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3049 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrow. Expected _wxDC_p."); | |
3051 | return NULL; | |
3052 | } | |
3053 | } | |
3054 | if (_argo2) { | |
3055 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3056 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrowHead_p")) { | |
3057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawArrow. Expected _wxArrowHead_p."); | |
3058 | return NULL; | |
3059 | } | |
3060 | } | |
3061 | _arg4 = (bool ) tempbool4; | |
3062 | { | |
3063 | wxPy_BEGIN_ALLOW_THREADS; | |
3064 | wxPyLineShape_DrawArrow(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3065 | ||
3066 | wxPy_END_ALLOW_THREADS; | |
3067 | } Py_INCREF(Py_None); | |
3068 | _resultobj = Py_None; | |
3069 | return _resultobj; | |
3070 | } | |
3071 | ||
3072 | #define wxPyLineShape_DeleteArrowHeadId(_swigobj,_swigarg0) (_swigobj->DeleteArrowHead(_swigarg0)) | |
3073 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3074 | PyObject * _resultobj; | |
3075 | bool _result; | |
3076 | wxPyLineShape * _arg0; | |
3077 | long _arg1; | |
3078 | PyObject * _argo0 = 0; | |
3079 | char *_kwnames[] = { "self","arrowId", NULL }; | |
3080 | ||
3081 | self = self; | |
3082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_DeleteArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3083 | return NULL; | |
3084 | if (_argo0) { | |
3085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHeadId. Expected _wxPyLineShape_p."); | |
3088 | return NULL; | |
3089 | } | |
3090 | } | |
3091 | { | |
3092 | wxPy_BEGIN_ALLOW_THREADS; | |
3093 | _result = (bool )wxPyLineShape_DeleteArrowHeadId(_arg0,_arg1); | |
3094 | ||
3095 | wxPy_END_ALLOW_THREADS; | |
3096 | } _resultobj = Py_BuildValue("i",_result); | |
3097 | return _resultobj; | |
3098 | } | |
3099 | ||
3100 | #define wxPyLineShape_DeleteArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteArrowHead(_swigarg0,_swigarg1)) | |
3101 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3102 | PyObject * _resultobj; | |
3103 | bool _result; | |
3104 | wxPyLineShape * _arg0; | |
3105 | int _arg1; | |
3106 | wxString * _arg2; | |
3107 | PyObject * _argo0 = 0; | |
3108 | PyObject * _obj2 = 0; | |
3109 | char *_kwnames[] = { "self","position","name", NULL }; | |
3110 | ||
3111 | self = self; | |
3112 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_DeleteArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3113 | return NULL; | |
3114 | if (_argo0) { | |
3115 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3116 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHead. Expected _wxPyLineShape_p."); | |
3118 | return NULL; | |
3119 | } | |
3120 | } | |
3121 | { | |
185d7c3e RD |
3122 | #if PYTHON_API_VERSION >= 1009 |
3123 | char* tmpPtr; int tmpSize; | |
3124 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
3125 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3126 | return NULL; | |
3127 | } | |
3128 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3129 | return NULL; | |
3130 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3131 | #else | |
e91a9dfc RD |
3132 | if (!PyString_Check(_obj2)) { |
3133 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3134 | return NULL; | |
3135 | } | |
185d7c3e RD |
3136 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3137 | #endif | |
e91a9dfc RD |
3138 | } |
3139 | { | |
3140 | wxPy_BEGIN_ALLOW_THREADS; | |
3141 | _result = (bool )wxPyLineShape_DeleteArrowHead(_arg0,_arg1,*_arg2); | |
3142 | ||
3143 | wxPy_END_ALLOW_THREADS; | |
3144 | } _resultobj = Py_BuildValue("i",_result); | |
3145 | { | |
3146 | if (_obj2) | |
3147 | delete _arg2; | |
3148 | } | |
3149 | return _resultobj; | |
3150 | } | |
3151 | ||
3152 | #define wxPyLineShape_DeleteLineControlPoint(_swigobj) (_swigobj->DeleteLineControlPoint()) | |
3153 | static PyObject *_wrap_wxPyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3154 | PyObject * _resultobj; | |
3155 | bool _result; | |
3156 | wxPyLineShape * _arg0; | |
3157 | PyObject * _argo0 = 0; | |
3158 | char *_kwnames[] = { "self", NULL }; | |
3159 | ||
3160 | self = self; | |
3161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_DeleteLineControlPoint",_kwnames,&_argo0)) | |
3162 | return NULL; | |
3163 | if (_argo0) { | |
3164 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3165 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteLineControlPoint. Expected _wxPyLineShape_p."); | |
3167 | return NULL; | |
3168 | } | |
3169 | } | |
3170 | { | |
3171 | wxPy_BEGIN_ALLOW_THREADS; | |
3172 | _result = (bool )wxPyLineShape_DeleteLineControlPoint(_arg0); | |
3173 | ||
3174 | wxPy_END_ALLOW_THREADS; | |
3175 | } _resultobj = Py_BuildValue("i",_result); | |
3176 | return _resultobj; | |
3177 | } | |
3178 | ||
3179 | #define wxPyLineShape_DrawArrows(_swigobj,_swigarg0) (_swigobj->DrawArrows(_swigarg0)) | |
3180 | static PyObject *_wrap_wxPyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3181 | PyObject * _resultobj; | |
3182 | wxPyLineShape * _arg0; | |
3183 | wxDC * _arg1; | |
3184 | PyObject * _argo0 = 0; | |
3185 | PyObject * _argo1 = 0; | |
3186 | char *_kwnames[] = { "self","dc", NULL }; | |
3187 | ||
3188 | self = self; | |
3189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_DrawArrows",_kwnames,&_argo0,&_argo1)) | |
3190 | return NULL; | |
3191 | if (_argo0) { | |
3192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrows. Expected _wxPyLineShape_p."); | |
3195 | return NULL; | |
3196 | } | |
3197 | } | |
3198 | if (_argo1) { | |
3199 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3200 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrows. Expected _wxDC_p."); | |
3202 | return NULL; | |
3203 | } | |
3204 | } | |
3205 | { | |
3206 | wxPy_BEGIN_ALLOW_THREADS; | |
3207 | wxPyLineShape_DrawArrows(_arg0,*_arg1); | |
3208 | ||
3209 | wxPy_END_ALLOW_THREADS; | |
3210 | } Py_INCREF(Py_None); | |
3211 | _resultobj = Py_None; | |
3212 | return _resultobj; | |
3213 | } | |
3214 | ||
3215 | #define wxPyLineShape_DrawRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3216 | static PyObject *_wrap_wxPyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3217 | PyObject * _resultobj; | |
3218 | wxPyLineShape * _arg0; | |
3219 | wxDC * _arg1; | |
3220 | wxShapeRegion * _arg2; | |
3221 | double _arg3; | |
3222 | double _arg4; | |
3223 | PyObject * _argo0 = 0; | |
3224 | PyObject * _argo1 = 0; | |
3225 | PyObject * _argo2 = 0; | |
3226 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3227 | ||
3228 | self = self; | |
3229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_DrawRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3230 | return NULL; | |
3231 | if (_argo0) { | |
3232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawRegion. Expected _wxPyLineShape_p."); | |
3235 | return NULL; | |
3236 | } | |
3237 | } | |
3238 | if (_argo1) { | |
3239 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3240 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawRegion. Expected _wxDC_p."); | |
3242 | return NULL; | |
3243 | } | |
3244 | } | |
3245 | if (_argo2) { | |
3246 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3247 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawRegion. Expected _wxShapeRegion_p."); | |
3249 | return NULL; | |
3250 | } | |
3251 | } | |
3252 | { | |
3253 | wxPy_BEGIN_ALLOW_THREADS; | |
3254 | wxPyLineShape_DrawRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3255 | ||
3256 | wxPy_END_ALLOW_THREADS; | |
3257 | } Py_INCREF(Py_None); | |
3258 | _resultobj = Py_None; | |
3259 | return _resultobj; | |
3260 | } | |
3261 | ||
3262 | #define wxPyLineShape_EraseRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->EraseRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3263 | static PyObject *_wrap_wxPyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3264 | PyObject * _resultobj; | |
3265 | wxPyLineShape * _arg0; | |
3266 | wxDC * _arg1; | |
3267 | wxShapeRegion * _arg2; | |
3268 | double _arg3; | |
3269 | double _arg4; | |
3270 | PyObject * _argo0 = 0; | |
3271 | PyObject * _argo1 = 0; | |
3272 | PyObject * _argo2 = 0; | |
3273 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3274 | ||
3275 | self = self; | |
3276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_EraseRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3277 | return NULL; | |
3278 | if (_argo0) { | |
3279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_EraseRegion. Expected _wxPyLineShape_p."); | |
3282 | return NULL; | |
3283 | } | |
3284 | } | |
3285 | if (_argo1) { | |
3286 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3287 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_EraseRegion. Expected _wxDC_p."); | |
3289 | return NULL; | |
3290 | } | |
3291 | } | |
3292 | if (_argo2) { | |
3293 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3294 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_EraseRegion. Expected _wxShapeRegion_p."); | |
3296 | return NULL; | |
3297 | } | |
3298 | } | |
3299 | { | |
3300 | wxPy_BEGIN_ALLOW_THREADS; | |
3301 | wxPyLineShape_EraseRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3302 | ||
3303 | wxPy_END_ALLOW_THREADS; | |
3304 | } Py_INCREF(Py_None); | |
3305 | _resultobj = Py_None; | |
3306 | return _resultobj; | |
3307 | } | |
3308 | ||
3309 | #define wxPyLineShape_FindArrowHeadId(_swigobj,_swigarg0) (_swigobj->FindArrowHead(_swigarg0)) | |
3310 | static PyObject *_wrap_wxPyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3311 | PyObject * _resultobj; | |
3312 | wxArrowHead * _result; | |
3313 | wxPyLineShape * _arg0; | |
3314 | long _arg1; | |
3315 | PyObject * _argo0 = 0; | |
3316 | char *_kwnames[] = { "self","arrowId", NULL }; | |
3317 | char _ptemp[128]; | |
3318 | ||
3319 | self = self; | |
3320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_FindArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3321 | return NULL; | |
3322 | if (_argo0) { | |
3323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHeadId. Expected _wxPyLineShape_p."); | |
3326 | return NULL; | |
3327 | } | |
3328 | } | |
3329 | { | |
3330 | wxPy_BEGIN_ALLOW_THREADS; | |
3331 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHeadId(_arg0,_arg1); | |
3332 | ||
3333 | wxPy_END_ALLOW_THREADS; | |
3334 | } if (_result) { | |
3335 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
3336 | _resultobj = Py_BuildValue("s",_ptemp); | |
3337 | } else { | |
3338 | Py_INCREF(Py_None); | |
3339 | _resultobj = Py_None; | |
3340 | } | |
3341 | return _resultobj; | |
3342 | } | |
3343 | ||
3344 | #define wxPyLineShape_FindArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindArrowHead(_swigarg0,_swigarg1)) | |
3345 | static PyObject *_wrap_wxPyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3346 | PyObject * _resultobj; | |
3347 | wxArrowHead * _result; | |
3348 | wxPyLineShape * _arg0; | |
3349 | int _arg1; | |
3350 | wxString * _arg2; | |
3351 | PyObject * _argo0 = 0; | |
3352 | PyObject * _obj2 = 0; | |
3353 | char *_kwnames[] = { "self","position","name", NULL }; | |
3354 | char _ptemp[128]; | |
3355 | ||
3356 | self = self; | |
3357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_FindArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3358 | return NULL; | |
3359 | if (_argo0) { | |
3360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHead. Expected _wxPyLineShape_p."); | |
3363 | return NULL; | |
3364 | } | |
3365 | } | |
3366 | { | |
185d7c3e RD |
3367 | #if PYTHON_API_VERSION >= 1009 |
3368 | char* tmpPtr; int tmpSize; | |
3369 | if (!PyString_Check(_obj2) && !PyUnicode_Check(_obj2)) { | |
3370 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
3371 | return NULL; | |
3372 | } | |
3373 | if (PyString_AsStringAndSize(_obj2, &tmpPtr, &tmpSize) == -1) | |
3374 | return NULL; | |
3375 | _arg2 = new wxString(tmpPtr, tmpSize); | |
3376 | #else | |
e91a9dfc RD |
3377 | if (!PyString_Check(_obj2)) { |
3378 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3379 | return NULL; | |
3380 | } | |
185d7c3e RD |
3381 | _arg2 = new wxString(PyString_AS_STRING(_obj2), PyString_GET_SIZE(_obj2)); |
3382 | #endif | |
e91a9dfc RD |
3383 | } |
3384 | { | |
3385 | wxPy_BEGIN_ALLOW_THREADS; | |
3386 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHead(_arg0,_arg1,*_arg2); | |
3387 | ||
3388 | wxPy_END_ALLOW_THREADS; | |
3389 | } if (_result) { | |
3390 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
3391 | _resultobj = Py_BuildValue("s",_ptemp); | |
3392 | } else { | |
3393 | Py_INCREF(Py_None); | |
3394 | _resultobj = Py_None; | |
3395 | } | |
3396 | { | |
3397 | if (_obj2) | |
3398 | delete _arg2; | |
3399 | } | |
3400 | return _resultobj; | |
3401 | } | |
3402 | ||
3403 | #define wxPyLineShape_FindLineEndPoints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindLineEndPoints(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3404 | static PyObject *_wrap_wxPyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3405 | PyObject * _resultobj; | |
3406 | wxPyLineShape * _arg0; | |
3407 | double * _arg1; | |
3408 | double temp; | |
3409 | double * _arg2; | |
3410 | double temp0; | |
3411 | double * _arg3; | |
3412 | double temp1; | |
3413 | double * _arg4; | |
3414 | double temp2; | |
3415 | PyObject * _argo0 = 0; | |
3416 | char *_kwnames[] = { "self", NULL }; | |
3417 | ||
3418 | self = self; | |
3419 | { | |
3420 | _arg1 = &temp; | |
3421 | } | |
3422 | { | |
3423 | _arg2 = &temp0; | |
3424 | } | |
3425 | { | |
3426 | _arg3 = &temp1; | |
3427 | } | |
3428 | { | |
3429 | _arg4 = &temp2; | |
3430 | } | |
3431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindLineEndPoints",_kwnames,&_argo0)) | |
3432 | return NULL; | |
3433 | if (_argo0) { | |
3434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLineEndPoints. Expected _wxPyLineShape_p."); | |
3437 | return NULL; | |
3438 | } | |
3439 | } | |
3440 | { | |
3441 | wxPy_BEGIN_ALLOW_THREADS; | |
3442 | wxPyLineShape_FindLineEndPoints(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3443 | ||
3444 | wxPy_END_ALLOW_THREADS; | |
3445 | } Py_INCREF(Py_None); | |
3446 | _resultobj = Py_None; | |
3447 | { | |
3448 | PyObject *o; | |
3449 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3450 | _resultobj = t_output_helper(_resultobj, o); | |
3451 | } | |
3452 | { | |
3453 | PyObject *o; | |
3454 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3455 | _resultobj = t_output_helper(_resultobj, o); | |
3456 | } | |
3457 | { | |
3458 | PyObject *o; | |
3459 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3460 | _resultobj = t_output_helper(_resultobj, o); | |
3461 | } | |
3462 | { | |
3463 | PyObject *o; | |
3464 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3465 | _resultobj = t_output_helper(_resultobj, o); | |
3466 | } | |
3467 | return _resultobj; | |
3468 | } | |
3469 | ||
3470 | #define wxPyLineShape_FindLinePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindLinePosition(_swigarg0,_swigarg1)) | |
3471 | static PyObject *_wrap_wxPyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3472 | PyObject * _resultobj; | |
3473 | int _result; | |
3474 | wxPyLineShape * _arg0; | |
3475 | double _arg1; | |
3476 | double _arg2; | |
3477 | PyObject * _argo0 = 0; | |
3478 | char *_kwnames[] = { "self","x","y", NULL }; | |
3479 | ||
3480 | self = self; | |
3481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_FindLinePosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3482 | return NULL; | |
3483 | if (_argo0) { | |
3484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLinePosition. Expected _wxPyLineShape_p."); | |
3487 | return NULL; | |
3488 | } | |
3489 | } | |
3490 | { | |
3491 | wxPy_BEGIN_ALLOW_THREADS; | |
3492 | _result = (int )wxPyLineShape_FindLinePosition(_arg0,_arg1,_arg2); | |
3493 | ||
3494 | wxPy_END_ALLOW_THREADS; | |
3495 | } _resultobj = Py_BuildValue("i",_result); | |
3496 | return _resultobj; | |
3497 | } | |
3498 | ||
3499 | #define wxPyLineShape_FindMinimumWidth(_swigobj) (_swigobj->FindMinimumWidth()) | |
3500 | static PyObject *_wrap_wxPyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3501 | PyObject * _resultobj; | |
3502 | double _result; | |
3503 | wxPyLineShape * _arg0; | |
3504 | PyObject * _argo0 = 0; | |
3505 | char *_kwnames[] = { "self", NULL }; | |
3506 | ||
3507 | self = self; | |
3508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindMinimumWidth",_kwnames,&_argo0)) | |
3509 | return NULL; | |
3510 | if (_argo0) { | |
3511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindMinimumWidth. Expected _wxPyLineShape_p."); | |
3514 | return NULL; | |
3515 | } | |
3516 | } | |
3517 | { | |
3518 | wxPy_BEGIN_ALLOW_THREADS; | |
3519 | _result = (double )wxPyLineShape_FindMinimumWidth(_arg0); | |
3520 | ||
3521 | wxPy_END_ALLOW_THREADS; | |
3522 | } _resultobj = Py_BuildValue("d",_result); | |
3523 | return _resultobj; | |
3524 | } | |
3525 | ||
3526 | #define wxPyLineShape_FindNth(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindNth(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3527 | static PyObject *_wrap_wxPyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3528 | PyObject * _resultobj; | |
3529 | wxPyLineShape * _arg0; | |
3530 | wxPyShape * _arg1; | |
3531 | int * _arg2; | |
3532 | int temp; | |
3533 | int * _arg3; | |
3534 | int temp0; | |
3535 | bool _arg4; | |
3536 | PyObject * _argo0 = 0; | |
3537 | PyObject * _argo1 = 0; | |
3538 | int tempbool4; | |
3539 | char *_kwnames[] = { "self","image","incoming", NULL }; | |
3540 | ||
3541 | self = self; | |
3542 | { | |
3543 | _arg2 = &temp; | |
3544 | } | |
3545 | { | |
3546 | _arg3 = &temp0; | |
3547 | } | |
3548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyLineShape_FindNth",_kwnames,&_argo0,&_argo1,&tempbool4)) | |
3549 | return NULL; | |
3550 | if (_argo0) { | |
3551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindNth. Expected _wxPyLineShape_p."); | |
3554 | return NULL; | |
3555 | } | |
3556 | } | |
3557 | if (_argo1) { | |
3558 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3559 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_FindNth. Expected _wxPyShape_p."); | |
3561 | return NULL; | |
3562 | } | |
3563 | } | |
3564 | _arg4 = (bool ) tempbool4; | |
3565 | { | |
3566 | wxPy_BEGIN_ALLOW_THREADS; | |
3567 | wxPyLineShape_FindNth(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3568 | ||
3569 | wxPy_END_ALLOW_THREADS; | |
3570 | } Py_INCREF(Py_None); | |
3571 | _resultobj = Py_None; | |
3572 | { | |
3573 | PyObject *o; | |
3574 | o = PyInt_FromLong((long) (*_arg2)); | |
3575 | _resultobj = t_output_helper(_resultobj, o); | |
3576 | } | |
3577 | { | |
3578 | PyObject *o; | |
3579 | o = PyInt_FromLong((long) (*_arg3)); | |
3580 | _resultobj = t_output_helper(_resultobj, o); | |
3581 | } | |
3582 | return _resultobj; | |
3583 | } | |
3584 | ||
3585 | #define wxPyLineShape_GetAttachmentFrom(_swigobj) (_swigobj->GetAttachmentFrom()) | |
3586 | static PyObject *_wrap_wxPyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3587 | PyObject * _resultobj; | |
3588 | int _result; | |
3589 | wxPyLineShape * _arg0; | |
3590 | PyObject * _argo0 = 0; | |
3591 | char *_kwnames[] = { "self", NULL }; | |
3592 | ||
3593 | self = self; | |
3594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentFrom",_kwnames,&_argo0)) | |
3595 | return NULL; | |
3596 | if (_argo0) { | |
3597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentFrom. Expected _wxPyLineShape_p."); | |
3600 | return NULL; | |
3601 | } | |
3602 | } | |
3603 | { | |
3604 | wxPy_BEGIN_ALLOW_THREADS; | |
3605 | _result = (int )wxPyLineShape_GetAttachmentFrom(_arg0); | |
3606 | ||
3607 | wxPy_END_ALLOW_THREADS; | |
3608 | } _resultobj = Py_BuildValue("i",_result); | |
3609 | return _resultobj; | |
3610 | } | |
3611 | ||
3612 | #define wxPyLineShape_GetAttachmentTo(_swigobj) (_swigobj->GetAttachmentTo()) | |
3613 | static PyObject *_wrap_wxPyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3614 | PyObject * _resultobj; | |
3615 | int _result; | |
3616 | wxPyLineShape * _arg0; | |
3617 | PyObject * _argo0 = 0; | |
3618 | char *_kwnames[] = { "self", NULL }; | |
3619 | ||
3620 | self = self; | |
3621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentTo",_kwnames,&_argo0)) | |
3622 | return NULL; | |
3623 | if (_argo0) { | |
3624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentTo. Expected _wxPyLineShape_p."); | |
3627 | return NULL; | |
3628 | } | |
3629 | } | |
3630 | { | |
3631 | wxPy_BEGIN_ALLOW_THREADS; | |
3632 | _result = (int )wxPyLineShape_GetAttachmentTo(_arg0); | |
3633 | ||
3634 | wxPy_END_ALLOW_THREADS; | |
3635 | } _resultobj = Py_BuildValue("i",_result); | |
3636 | return _resultobj; | |
3637 | } | |
3638 | ||
3639 | #define wxPyLineShape_GetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3640 | static PyObject *_wrap_wxPyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3641 | PyObject * _resultobj; | |
3642 | wxPyLineShape * _arg0; | |
3643 | double * _arg1; | |
3644 | double temp; | |
3645 | double * _arg2; | |
3646 | double temp0; | |
3647 | double * _arg3; | |
3648 | double temp1; | |
3649 | double * _arg4; | |
3650 | double temp2; | |
3651 | PyObject * _argo0 = 0; | |
3652 | char *_kwnames[] = { "self", NULL }; | |
3653 | ||
3654 | self = self; | |
3655 | { | |
3656 | _arg1 = &temp; | |
3657 | } | |
3658 | { | |
3659 | _arg2 = &temp0; | |
3660 | } | |
3661 | { | |
3662 | _arg3 = &temp1; | |
3663 | } | |
3664 | { | |
3665 | _arg4 = &temp2; | |
3666 | } | |
3667 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetEnds",_kwnames,&_argo0)) | |
3668 | return NULL; | |
3669 | if (_argo0) { | |
3670 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3671 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetEnds. Expected _wxPyLineShape_p."); | |
3673 | return NULL; | |
3674 | } | |
3675 | } | |
3676 | { | |
3677 | wxPy_BEGIN_ALLOW_THREADS; | |
3678 | wxPyLineShape_GetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3679 | ||
3680 | wxPy_END_ALLOW_THREADS; | |
3681 | } Py_INCREF(Py_None); | |
3682 | _resultobj = Py_None; | |
3683 | { | |
3684 | PyObject *o; | |
3685 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3686 | _resultobj = t_output_helper(_resultobj, o); | |
3687 | } | |
3688 | { | |
3689 | PyObject *o; | |
3690 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3691 | _resultobj = t_output_helper(_resultobj, o); | |
3692 | } | |
3693 | { | |
3694 | PyObject *o; | |
3695 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3696 | _resultobj = t_output_helper(_resultobj, o); | |
3697 | } | |
3698 | { | |
3699 | PyObject *o; | |
3700 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3701 | _resultobj = t_output_helper(_resultobj, o); | |
3702 | } | |
3703 | return _resultobj; | |
3704 | } | |
3705 | ||
3706 | #define wxPyLineShape_GetFrom(_swigobj) (_swigobj->GetFrom()) | |
3707 | static PyObject *_wrap_wxPyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3708 | PyObject * _resultobj; | |
3709 | wxPyShape * _result; | |
3710 | wxPyLineShape * _arg0; | |
3711 | PyObject * _argo0 = 0; | |
3712 | char *_kwnames[] = { "self", NULL }; | |
3713 | char _ptemp[128]; | |
3714 | ||
3715 | self = self; | |
3716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetFrom",_kwnames,&_argo0)) | |
3717 | return NULL; | |
3718 | if (_argo0) { | |
3719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetFrom. Expected _wxPyLineShape_p."); | |
3722 | return NULL; | |
3723 | } | |
3724 | } | |
3725 | { | |
3726 | wxPy_BEGIN_ALLOW_THREADS; | |
3727 | _result = (wxPyShape *)wxPyLineShape_GetFrom(_arg0); | |
3728 | ||
3729 | wxPy_END_ALLOW_THREADS; | |
3730 | } if (_result) { | |
3731 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3732 | _resultobj = Py_BuildValue("s",_ptemp); | |
3733 | } else { | |
3734 | Py_INCREF(Py_None); | |
3735 | _resultobj = Py_None; | |
3736 | } | |
3737 | return _resultobj; | |
3738 | } | |
3739 | ||
3740 | #define wxPyLineShape_GetLabelPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLabelPosition(_swigarg0,_swigarg1,_swigarg2)) | |
3741 | static PyObject *_wrap_wxPyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3742 | PyObject * _resultobj; | |
3743 | wxPyLineShape * _arg0; | |
3744 | int _arg1; | |
3745 | double * _arg2; | |
3746 | double temp; | |
3747 | double * _arg3; | |
3748 | double temp0; | |
3749 | PyObject * _argo0 = 0; | |
3750 | char *_kwnames[] = { "self","position", NULL }; | |
3751 | ||
3752 | self = self; | |
3753 | { | |
3754 | _arg2 = &temp; | |
3755 | } | |
3756 | { | |
3757 | _arg3 = &temp0; | |
3758 | } | |
3759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_GetLabelPosition",_kwnames,&_argo0,&_arg1)) | |
3760 | return NULL; | |
3761 | if (_argo0) { | |
3762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetLabelPosition. Expected _wxPyLineShape_p."); | |
3765 | return NULL; | |
3766 | } | |
3767 | } | |
3768 | { | |
3769 | wxPy_BEGIN_ALLOW_THREADS; | |
3770 | wxPyLineShape_GetLabelPosition(_arg0,_arg1,_arg2,_arg3); | |
3771 | ||
3772 | wxPy_END_ALLOW_THREADS; | |
3773 | } Py_INCREF(Py_None); | |
3774 | _resultobj = Py_None; | |
3775 | { | |
3776 | PyObject *o; | |
3777 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3778 | _resultobj = t_output_helper(_resultobj, o); | |
3779 | } | |
3780 | { | |
3781 | PyObject *o; | |
3782 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3783 | _resultobj = t_output_helper(_resultobj, o); | |
3784 | } | |
3785 | return _resultobj; | |
3786 | } | |
3787 | ||
3788 | #define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0)) | |
3789 | static PyObject *_wrap_wxPyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3790 | PyObject * _resultobj; | |
3791 | wxPoint * _result; | |
3792 | wxPyLineShape * _arg0; | |
3793 | wxPyShape * _arg1; | |
3794 | PyObject * _argo0 = 0; | |
3795 | PyObject * _argo1 = 0; | |
3796 | char *_kwnames[] = { "self","shape", NULL }; | |
3797 | char _ptemp[128]; | |
3798 | ||
3799 | self = self; | |
3800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_GetNextControlPoint",_kwnames,&_argo0,&_argo1)) | |
3801 | return NULL; | |
3802 | if (_argo0) { | |
3803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetNextControlPoint. Expected _wxPyLineShape_p."); | |
3806 | return NULL; | |
3807 | } | |
3808 | } | |
3809 | if (_argo1) { | |
3810 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3811 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_GetNextControlPoint. Expected _wxPyShape_p."); | |
3813 | return NULL; | |
3814 | } | |
3815 | } | |
3816 | { | |
3817 | wxPy_BEGIN_ALLOW_THREADS; | |
3818 | _result = (wxPoint *)wxPyLineShape_GetNextControlPoint(_arg0,_arg1); | |
3819 | ||
3820 | wxPy_END_ALLOW_THREADS; | |
3821 | } if (_result) { | |
3822 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
3823 | _resultobj = Py_BuildValue("s",_ptemp); | |
3824 | } else { | |
3825 | Py_INCREF(Py_None); | |
3826 | _resultobj = Py_None; | |
3827 | } | |
3828 | return _resultobj; | |
3829 | } | |
3830 | ||
3831 | #define wxPyLineShape_GetTo(_swigobj) (_swigobj->GetTo()) | |
3832 | static PyObject *_wrap_wxPyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3833 | PyObject * _resultobj; | |
3834 | wxPyShape * _result; | |
3835 | wxPyLineShape * _arg0; | |
3836 | PyObject * _argo0 = 0; | |
3837 | char *_kwnames[] = { "self", NULL }; | |
3838 | char _ptemp[128]; | |
3839 | ||
3840 | self = self; | |
3841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetTo",_kwnames,&_argo0)) | |
3842 | return NULL; | |
3843 | if (_argo0) { | |
3844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetTo. Expected _wxPyLineShape_p."); | |
3847 | return NULL; | |
3848 | } | |
3849 | } | |
3850 | { | |
3851 | wxPy_BEGIN_ALLOW_THREADS; | |
3852 | _result = (wxPyShape *)wxPyLineShape_GetTo(_arg0); | |
3853 | ||
3854 | wxPy_END_ALLOW_THREADS; | |
3855 | } if (_result) { | |
3856 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3857 | _resultobj = Py_BuildValue("s",_ptemp); | |
3858 | } else { | |
3859 | Py_INCREF(Py_None); | |
3860 | _resultobj = Py_None; | |
3861 | } | |
3862 | return _resultobj; | |
3863 | } | |
3864 | ||
3865 | #define wxPyLineShape_Initialise(_swigobj) (_swigobj->Initialise()) | |
3866 | static PyObject *_wrap_wxPyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3867 | PyObject * _resultobj; | |
3868 | wxPyLineShape * _arg0; | |
3869 | PyObject * _argo0 = 0; | |
3870 | char *_kwnames[] = { "self", NULL }; | |
3871 | ||
3872 | self = self; | |
3873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Initialise",_kwnames,&_argo0)) | |
3874 | return NULL; | |
3875 | if (_argo0) { | |
3876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Initialise. Expected _wxPyLineShape_p."); | |
3879 | return NULL; | |
3880 | } | |
3881 | } | |
3882 | { | |
3883 | wxPy_BEGIN_ALLOW_THREADS; | |
3884 | wxPyLineShape_Initialise(_arg0); | |
3885 | ||
3886 | wxPy_END_ALLOW_THREADS; | |
3887 | } Py_INCREF(Py_None); | |
3888 | _resultobj = Py_None; | |
3889 | return _resultobj; | |
3890 | } | |
3891 | ||
3892 | #define wxPyLineShape_InsertLineControlPoint(_swigobj,_swigarg0) (_swigobj->InsertLineControlPoint(_swigarg0)) | |
3893 | static PyObject *_wrap_wxPyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3894 | PyObject * _resultobj; | |
3895 | wxPyLineShape * _arg0; | |
3896 | wxDC * _arg1; | |
3897 | PyObject * _argo0 = 0; | |
3898 | PyObject * _argo1 = 0; | |
3899 | char *_kwnames[] = { "self","dc", NULL }; | |
3900 | ||
3901 | self = self; | |
3902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_InsertLineControlPoint",_kwnames,&_argo0,&_argo1)) | |
3903 | return NULL; | |
3904 | if (_argo0) { | |
3905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_InsertLineControlPoint. Expected _wxPyLineShape_p."); | |
3908 | return NULL; | |
3909 | } | |
3910 | } | |
3911 | if (_argo1) { | |
3912 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3913 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_InsertLineControlPoint. Expected _wxDC_p."); | |
3915 | return NULL; | |
3916 | } | |
3917 | } | |
3918 | { | |
3919 | wxPy_BEGIN_ALLOW_THREADS; | |
3920 | wxPyLineShape_InsertLineControlPoint(_arg0,_arg1); | |
3921 | ||
3922 | wxPy_END_ALLOW_THREADS; | |
3923 | } Py_INCREF(Py_None); | |
3924 | _resultobj = Py_None; | |
3925 | return _resultobj; | |
3926 | } | |
3927 | ||
3928 | #define wxPyLineShape_IsEnd(_swigobj,_swigarg0) (_swigobj->IsEnd(_swigarg0)) | |
3929 | static PyObject *_wrap_wxPyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3930 | PyObject * _resultobj; | |
3931 | bool _result; | |
3932 | wxPyLineShape * _arg0; | |
3933 | wxPyShape * _arg1; | |
3934 | PyObject * _argo0 = 0; | |
3935 | PyObject * _argo1 = 0; | |
3936 | char *_kwnames[] = { "self","shape", NULL }; | |
3937 | ||
3938 | self = self; | |
3939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_IsEnd",_kwnames,&_argo0,&_argo1)) | |
3940 | return NULL; | |
3941 | if (_argo0) { | |
3942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsEnd. Expected _wxPyLineShape_p."); | |
3945 | return NULL; | |
3946 | } | |
3947 | } | |
3948 | if (_argo1) { | |
3949 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3950 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_IsEnd. Expected _wxPyShape_p."); | |
3952 | return NULL; | |
3953 | } | |
3954 | } | |
3955 | { | |
3956 | wxPy_BEGIN_ALLOW_THREADS; | |
3957 | _result = (bool )wxPyLineShape_IsEnd(_arg0,_arg1); | |
3958 | ||
3959 | wxPy_END_ALLOW_THREADS; | |
3960 | } _resultobj = Py_BuildValue("i",_result); | |
3961 | return _resultobj; | |
3962 | } | |
3963 | ||
3964 | #define wxPyLineShape_IsSpline(_swigobj) (_swigobj->IsSpline()) | |
3965 | static PyObject *_wrap_wxPyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3966 | PyObject * _resultobj; | |
3967 | bool _result; | |
3968 | wxPyLineShape * _arg0; | |
3969 | PyObject * _argo0 = 0; | |
3970 | char *_kwnames[] = { "self", NULL }; | |
3971 | ||
3972 | self = self; | |
3973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_IsSpline",_kwnames,&_argo0)) | |
3974 | return NULL; | |
3975 | if (_argo0) { | |
3976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsSpline. Expected _wxPyLineShape_p."); | |
3979 | return NULL; | |
3980 | } | |
3981 | } | |
3982 | { | |
3983 | wxPy_BEGIN_ALLOW_THREADS; | |
3984 | _result = (bool )wxPyLineShape_IsSpline(_arg0); | |
3985 | ||
3986 | wxPy_END_ALLOW_THREADS; | |
3987 | } _resultobj = Py_BuildValue("i",_result); | |
3988 | return _resultobj; | |
3989 | } | |
3990 | ||
3991 | #define wxPyLineShape_MakeLineControlPoints(_swigobj,_swigarg0) (_swigobj->MakeLineControlPoints(_swigarg0)) | |
3992 | static PyObject *_wrap_wxPyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3993 | PyObject * _resultobj; | |
3994 | wxPyLineShape * _arg0; | |
3995 | int _arg1; | |
3996 | PyObject * _argo0 = 0; | |
3997 | char *_kwnames[] = { "self","n", NULL }; | |
3998 | ||
3999 | self = self; | |
4000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_MakeLineControlPoints",_kwnames,&_argo0,&_arg1)) | |
4001 | return NULL; | |
4002 | if (_argo0) { | |
4003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_MakeLineControlPoints. Expected _wxPyLineShape_p."); | |
4006 | return NULL; | |
4007 | } | |
4008 | } | |
4009 | { | |
4010 | wxPy_BEGIN_ALLOW_THREADS; | |
4011 | wxPyLineShape_MakeLineControlPoints(_arg0,_arg1); | |
4012 | ||
4013 | wxPy_END_ALLOW_THREADS; | |
4014 | } Py_INCREF(Py_None); | |
4015 | _resultobj = Py_None; | |
4016 | return _resultobj; | |
4017 | } | |
4018 | ||
4019 | #define wxPyLineShape_SetAttachmentFrom(_swigobj,_swigarg0) (_swigobj->SetAttachmentFrom(_swigarg0)) | |
4020 | static PyObject *_wrap_wxPyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4021 | PyObject * _resultobj; | |
4022 | wxPyLineShape * _arg0; | |
4023 | int _arg1; | |
4024 | PyObject * _argo0 = 0; | |
4025 | char *_kwnames[] = { "self","fromAttach", NULL }; | |
4026 | ||
4027 | self = self; | |
4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentFrom",_kwnames,&_argo0,&_arg1)) | |
4029 | return NULL; | |
4030 | if (_argo0) { | |
4031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentFrom. Expected _wxPyLineShape_p."); | |
4034 | return NULL; | |
4035 | } | |
4036 | } | |
4037 | { | |
4038 | wxPy_BEGIN_ALLOW_THREADS; | |
4039 | wxPyLineShape_SetAttachmentFrom(_arg0,_arg1); | |
4040 | ||
4041 | wxPy_END_ALLOW_THREADS; | |
4042 | } Py_INCREF(Py_None); | |
4043 | _resultobj = Py_None; | |
4044 | return _resultobj; | |
4045 | } | |
4046 | ||
4047 | #define wxPyLineShape_SetAttachments(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachments(_swigarg0,_swigarg1)) | |
4048 | static PyObject *_wrap_wxPyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4049 | PyObject * _resultobj; | |
4050 | wxPyLineShape * _arg0; | |
4051 | int _arg1; | |
4052 | int _arg2; | |
4053 | PyObject * _argo0 = 0; | |
4054 | char *_kwnames[] = { "self","fromAttach","toAttach", NULL }; | |
4055 | ||
4056 | self = self; | |
4057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyLineShape_SetAttachments",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4058 | return NULL; | |
4059 | if (_argo0) { | |
4060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachments. Expected _wxPyLineShape_p."); | |
4063 | return NULL; | |
4064 | } | |
4065 | } | |
4066 | { | |
4067 | wxPy_BEGIN_ALLOW_THREADS; | |
4068 | wxPyLineShape_SetAttachments(_arg0,_arg1,_arg2); | |
4069 | ||
4070 | wxPy_END_ALLOW_THREADS; | |
4071 | } Py_INCREF(Py_None); | |
4072 | _resultobj = Py_None; | |
4073 | return _resultobj; | |
4074 | } | |
4075 | ||
4076 | #define wxPyLineShape_SetAttachmentTo(_swigobj,_swigarg0) (_swigobj->SetAttachmentTo(_swigarg0)) | |
4077 | static PyObject *_wrap_wxPyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4078 | PyObject * _resultobj; | |
4079 | wxPyLineShape * _arg0; | |
4080 | int _arg1; | |
4081 | PyObject * _argo0 = 0; | |
4082 | char *_kwnames[] = { "self","toAttach", NULL }; | |
4083 | ||
4084 | self = self; | |
4085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentTo",_kwnames,&_argo0,&_arg1)) | |
4086 | return NULL; | |
4087 | if (_argo0) { | |
4088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentTo. Expected _wxPyLineShape_p."); | |
4091 | return NULL; | |
4092 | } | |
4093 | } | |
4094 | { | |
4095 | wxPy_BEGIN_ALLOW_THREADS; | |
4096 | wxPyLineShape_SetAttachmentTo(_arg0,_arg1); | |
4097 | ||
4098 | wxPy_END_ALLOW_THREADS; | |
4099 | } Py_INCREF(Py_None); | |
4100 | _resultobj = Py_None; | |
4101 | return _resultobj; | |
4102 | } | |
4103 | ||
4104 | #define wxPyLineShape_SetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4105 | static PyObject *_wrap_wxPyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4106 | PyObject * _resultobj; | |
4107 | wxPyLineShape * _arg0; | |
4108 | double _arg1; | |
4109 | double _arg2; | |
4110 | double _arg3; | |
4111 | double _arg4; | |
4112 | PyObject * _argo0 = 0; | |
4113 | char *_kwnames[] = { "self","x1","y1","x2","y2", NULL }; | |
4114 | ||
4115 | self = self; | |
4116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyLineShape_SetEnds",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4117 | return NULL; | |
4118 | if (_argo0) { | |
4119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetEnds. Expected _wxPyLineShape_p."); | |
4122 | return NULL; | |
4123 | } | |
4124 | } | |
4125 | { | |
4126 | wxPy_BEGIN_ALLOW_THREADS; | |
4127 | wxPyLineShape_SetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4128 | ||
4129 | wxPy_END_ALLOW_THREADS; | |
4130 | } Py_INCREF(Py_None); | |
4131 | _resultobj = Py_None; | |
4132 | return _resultobj; | |
4133 | } | |
4134 | ||
4135 | #define wxPyLineShape_SetFrom(_swigobj,_swigarg0) (_swigobj->SetFrom(_swigarg0)) | |
4136 | static PyObject *_wrap_wxPyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4137 | PyObject * _resultobj; | |
4138 | wxPyLineShape * _arg0; | |
4139 | wxPyShape * _arg1; | |
4140 | PyObject * _argo0 = 0; | |
4141 | PyObject * _argo1 = 0; | |
4142 | char *_kwnames[] = { "self","object", NULL }; | |
4143 | ||
4144 | self = self; | |
4145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetFrom",_kwnames,&_argo0,&_argo1)) | |
4146 | return NULL; | |
4147 | if (_argo0) { | |
4148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetFrom. Expected _wxPyLineShape_p."); | |
4151 | return NULL; | |
4152 | } | |
4153 | } | |
4154 | if (_argo1) { | |
4155 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4156 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetFrom. Expected _wxPyShape_p."); | |
4158 | return NULL; | |
4159 | } | |
4160 | } | |
4161 | { | |
4162 | wxPy_BEGIN_ALLOW_THREADS; | |
4163 | wxPyLineShape_SetFrom(_arg0,_arg1); | |
4164 | ||
4165 | wxPy_END_ALLOW_THREADS; | |
4166 | } Py_INCREF(Py_None); | |
4167 | _resultobj = Py_None; | |
4168 | return _resultobj; | |
4169 | } | |
4170 | ||
4171 | #define wxPyLineShape_SetIgnoreOffsets(_swigobj,_swigarg0) (_swigobj->SetIgnoreOffsets(_swigarg0)) | |
4172 | static PyObject *_wrap_wxPyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4173 | PyObject * _resultobj; | |
4174 | wxPyLineShape * _arg0; | |
4175 | bool _arg1; | |
4176 | PyObject * _argo0 = 0; | |
4177 | int tempbool1; | |
4178 | char *_kwnames[] = { "self","ignore", NULL }; | |
4179 | ||
4180 | self = self; | |
4181 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetIgnoreOffsets",_kwnames,&_argo0,&tempbool1)) | |
4182 | return NULL; | |
4183 | if (_argo0) { | |
4184 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4185 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetIgnoreOffsets. Expected _wxPyLineShape_p."); | |
4187 | return NULL; | |
4188 | } | |
4189 | } | |
4190 | _arg1 = (bool ) tempbool1; | |
4191 | { | |
4192 | wxPy_BEGIN_ALLOW_THREADS; | |
4193 | wxPyLineShape_SetIgnoreOffsets(_arg0,_arg1); | |
4194 | ||
4195 | wxPy_END_ALLOW_THREADS; | |
4196 | } Py_INCREF(Py_None); | |
4197 | _resultobj = Py_None; | |
4198 | return _resultobj; | |
4199 | } | |
4200 | ||
4201 | #define wxPyLineShape_SetSpline(_swigobj,_swigarg0) (_swigobj->SetSpline(_swigarg0)) | |
4202 | static PyObject *_wrap_wxPyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4203 | PyObject * _resultobj; | |
4204 | wxPyLineShape * _arg0; | |
4205 | bool _arg1; | |
4206 | PyObject * _argo0 = 0; | |
4207 | int tempbool1; | |
4208 | char *_kwnames[] = { "self","spline", NULL }; | |
4209 | ||
4210 | self = self; | |
4211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetSpline",_kwnames,&_argo0,&tempbool1)) | |
4212 | return NULL; | |
4213 | if (_argo0) { | |
4214 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4215 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetSpline. Expected _wxPyLineShape_p."); | |
4217 | return NULL; | |
4218 | } | |
4219 | } | |
4220 | _arg1 = (bool ) tempbool1; | |
4221 | { | |
4222 | wxPy_BEGIN_ALLOW_THREADS; | |
4223 | wxPyLineShape_SetSpline(_arg0,_arg1); | |
4224 | ||
4225 | wxPy_END_ALLOW_THREADS; | |
4226 | } Py_INCREF(Py_None); | |
4227 | _resultobj = Py_None; | |
4228 | return _resultobj; | |
4229 | } | |
4230 | ||
4231 | #define wxPyLineShape_SetTo(_swigobj,_swigarg0) (_swigobj->SetTo(_swigarg0)) | |
4232 | static PyObject *_wrap_wxPyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4233 | PyObject * _resultobj; | |
4234 | wxPyLineShape * _arg0; | |
4235 | wxPyShape * _arg1; | |
4236 | PyObject * _argo0 = 0; | |
4237 | PyObject * _argo1 = 0; | |
4238 | char *_kwnames[] = { "self","object", NULL }; | |
4239 | ||
4240 | self = self; | |
4241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetTo",_kwnames,&_argo0,&_argo1)) | |
4242 | return NULL; | |
4243 | if (_argo0) { | |
4244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetTo. Expected _wxPyLineShape_p."); | |
4247 | return NULL; | |
4248 | } | |
4249 | } | |
4250 | if (_argo1) { | |
4251 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4252 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetTo. Expected _wxPyShape_p."); | |
4254 | return NULL; | |
4255 | } | |
4256 | } | |
4257 | { | |
4258 | wxPy_BEGIN_ALLOW_THREADS; | |
4259 | wxPyLineShape_SetTo(_arg0,_arg1); | |
4260 | ||
4261 | wxPy_END_ALLOW_THREADS; | |
4262 | } Py_INCREF(Py_None); | |
4263 | _resultobj = Py_None; | |
4264 | return _resultobj; | |
4265 | } | |
4266 | ||
4267 | #define wxPyLineShape_Straighten(_swigobj,_swigarg0) (_swigobj->Straighten(_swigarg0)) | |
4268 | static PyObject *_wrap_wxPyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4269 | PyObject * _resultobj; | |
4270 | wxPyLineShape * _arg0; | |
4271 | wxDC * _arg1 = (wxDC *) NULL; | |
4272 | PyObject * _argo0 = 0; | |
4273 | PyObject * _argo1 = 0; | |
4274 | char *_kwnames[] = { "self","dc", NULL }; | |
4275 | ||
4276 | self = self; | |
4277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyLineShape_Straighten",_kwnames,&_argo0,&_argo1)) | |
4278 | return NULL; | |
4279 | if (_argo0) { | |
4280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Straighten. Expected _wxPyLineShape_p."); | |
4283 | return NULL; | |
4284 | } | |
4285 | } | |
4286 | if (_argo1) { | |
4287 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4288 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_Straighten. Expected _wxDC_p."); | |
4290 | return NULL; | |
4291 | } | |
4292 | } | |
4293 | { | |
4294 | wxPy_BEGIN_ALLOW_THREADS; | |
4295 | wxPyLineShape_Straighten(_arg0,_arg1); | |
4296 | ||
4297 | wxPy_END_ALLOW_THREADS; | |
4298 | } Py_INCREF(Py_None); | |
4299 | _resultobj = Py_None; | |
4300 | return _resultobj; | |
4301 | } | |
4302 | ||
4303 | #define wxPyLineShape_Unlink(_swigobj) (_swigobj->Unlink()) | |
4304 | static PyObject *_wrap_wxPyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4305 | PyObject * _resultobj; | |
4306 | wxPyLineShape * _arg0; | |
4307 | PyObject * _argo0 = 0; | |
4308 | char *_kwnames[] = { "self", NULL }; | |
4309 | ||
4310 | self = self; | |
4311 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Unlink",_kwnames,&_argo0)) | |
4312 | return NULL; | |
4313 | if (_argo0) { | |
4314 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4315 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4316 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Unlink. Expected _wxPyLineShape_p."); | |
4317 | return NULL; | |
4318 | } | |
4319 | } | |
4320 | { | |
4321 | wxPy_BEGIN_ALLOW_THREADS; | |
4322 | wxPyLineShape_Unlink(_arg0); | |
4323 | ||
4324 | wxPy_END_ALLOW_THREADS; | |
4325 | } Py_INCREF(Py_None); | |
4326 | _resultobj = Py_None; | |
4327 | return _resultobj; | |
4328 | } | |
4329 | ||
4330 | #define wxPyLineShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4331 | static PyObject *_wrap_wxPyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4332 | PyObject * _resultobj; | |
4333 | wxPyLineShape * _arg0; | |
4334 | wxDC * _arg1; | |
4335 | PyObject * _argo0 = 0; | |
4336 | PyObject * _argo1 = 0; | |
4337 | char *_kwnames[] = { "self","dc", NULL }; | |
4338 | ||
4339 | self = self; | |
4340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4341 | return NULL; | |
4342 | if (_argo0) { | |
4343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDraw. Expected _wxPyLineShape_p."); | |
4346 | return NULL; | |
4347 | } | |
4348 | } | |
4349 | if (_argo1) { | |
4350 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4351 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDraw. Expected _wxDC_p."); | |
4353 | return NULL; | |
4354 | } | |
4355 | } | |
4356 | { | |
4357 | wxPy_BEGIN_ALLOW_THREADS; | |
4358 | wxPyLineShape_base_OnDraw(_arg0,*_arg1); | |
4359 | ||
4360 | wxPy_END_ALLOW_THREADS; | |
4361 | } Py_INCREF(Py_None); | |
4362 | _resultobj = Py_None; | |
4363 | return _resultobj; | |
4364 | } | |
4365 | ||
4366 | #define wxPyLineShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4367 | static PyObject *_wrap_wxPyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4368 | PyObject * _resultobj; | |
4369 | wxPyLineShape * _arg0; | |
4370 | wxDC * _arg1; | |
4371 | PyObject * _argo0 = 0; | |
4372 | PyObject * _argo1 = 0; | |
4373 | char *_kwnames[] = { "self","dc", NULL }; | |
4374 | ||
4375 | self = self; | |
4376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4377 | return NULL; | |
4378 | if (_argo0) { | |
4379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawContents. Expected _wxPyLineShape_p."); | |
4382 | return NULL; | |
4383 | } | |
4384 | } | |
4385 | if (_argo1) { | |
4386 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4387 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawContents. Expected _wxDC_p."); | |
4389 | return NULL; | |
4390 | } | |
4391 | } | |
4392 | { | |
4393 | wxPy_BEGIN_ALLOW_THREADS; | |
4394 | wxPyLineShape_base_OnDrawContents(_arg0,*_arg1); | |
4395 | ||
4396 | wxPy_END_ALLOW_THREADS; | |
4397 | } Py_INCREF(Py_None); | |
4398 | _resultobj = Py_None; | |
4399 | return _resultobj; | |
4400 | } | |
4401 | ||
4402 | #define wxPyLineShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4403 | static PyObject *_wrap_wxPyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4404 | PyObject * _resultobj; | |
4405 | wxPyLineShape * _arg0; | |
4406 | wxDC * _arg1; | |
4407 | bool _arg2 = (bool ) FALSE; | |
4408 | PyObject * _argo0 = 0; | |
4409 | PyObject * _argo1 = 0; | |
4410 | int tempbool2 = (int) FALSE; | |
4411 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
4412 | ||
4413 | self = self; | |
4414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4415 | return NULL; | |
4416 | if (_argo0) { | |
4417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawBranches. Expected _wxPyLineShape_p."); | |
4420 | return NULL; | |
4421 | } | |
4422 | } | |
4423 | if (_argo1) { | |
4424 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4425 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4427 | return NULL; | |
4428 | } | |
4429 | } | |
4430 | _arg2 = (bool ) tempbool2; | |
4431 | { | |
4432 | wxPy_BEGIN_ALLOW_THREADS; | |
4433 | wxPyLineShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4434 | ||
4435 | wxPy_END_ALLOW_THREADS; | |
4436 | } Py_INCREF(Py_None); | |
4437 | _resultobj = Py_None; | |
4438 | return _resultobj; | |
4439 | } | |
4440 | ||
4441 | #define wxPyLineShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4442 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4443 | PyObject * _resultobj; | |
4444 | wxPyLineShape * _arg0; | |
4445 | wxDC * _arg1; | |
4446 | PyObject * _argo0 = 0; | |
4447 | PyObject * _argo1 = 0; | |
4448 | char *_kwnames[] = { "self","dc", NULL }; | |
4449 | ||
4450 | self = self; | |
4451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4452 | return NULL; | |
4453 | if (_argo0) { | |
4454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMoveLinks. Expected _wxPyLineShape_p."); | |
4457 | return NULL; | |
4458 | } | |
4459 | } | |
4460 | if (_argo1) { | |
4461 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4462 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4464 | return NULL; | |
4465 | } | |
4466 | } | |
4467 | { | |
4468 | wxPy_BEGIN_ALLOW_THREADS; | |
4469 | wxPyLineShape_base_OnMoveLinks(_arg0,*_arg1); | |
4470 | ||
4471 | wxPy_END_ALLOW_THREADS; | |
4472 | } Py_INCREF(Py_None); | |
4473 | _resultobj = Py_None; | |
4474 | return _resultobj; | |
4475 | } | |
4476 | ||
4477 | #define wxPyLineShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4478 | static PyObject *_wrap_wxPyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4479 | PyObject * _resultobj; | |
4480 | wxPyLineShape * _arg0; | |
4481 | wxDC * _arg1; | |
4482 | PyObject * _argo0 = 0; | |
4483 | PyObject * _argo1 = 0; | |
4484 | char *_kwnames[] = { "self","dc", NULL }; | |
4485 | ||
4486 | self = self; | |
4487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4488 | return NULL; | |
4489 | if (_argo0) { | |
4490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnErase. Expected _wxPyLineShape_p."); | |
4493 | return NULL; | |
4494 | } | |
4495 | } | |
4496 | if (_argo1) { | |
4497 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4498 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnErase. Expected _wxDC_p."); | |
4500 | return NULL; | |
4501 | } | |
4502 | } | |
4503 | { | |
4504 | wxPy_BEGIN_ALLOW_THREADS; | |
4505 | wxPyLineShape_base_OnErase(_arg0,*_arg1); | |
4506 | ||
4507 | wxPy_END_ALLOW_THREADS; | |
4508 | } Py_INCREF(Py_None); | |
4509 | _resultobj = Py_None; | |
4510 | return _resultobj; | |
4511 | } | |
4512 | ||
4513 | #define wxPyLineShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4514 | static PyObject *_wrap_wxPyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4515 | PyObject * _resultobj; | |
4516 | wxPyLineShape * _arg0; | |
4517 | wxDC * _arg1; | |
4518 | PyObject * _argo0 = 0; | |
4519 | PyObject * _argo1 = 0; | |
4520 | char *_kwnames[] = { "self","dc", NULL }; | |
4521 | ||
4522 | self = self; | |
4523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4524 | return NULL; | |
4525 | if (_argo0) { | |
4526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseContents. Expected _wxPyLineShape_p."); | |
4529 | return NULL; | |
4530 | } | |
4531 | } | |
4532 | if (_argo1) { | |
4533 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4534 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseContents. Expected _wxDC_p."); | |
4536 | return NULL; | |
4537 | } | |
4538 | } | |
4539 | { | |
4540 | wxPy_BEGIN_ALLOW_THREADS; | |
4541 | wxPyLineShape_base_OnEraseContents(_arg0,*_arg1); | |
4542 | ||
4543 | wxPy_END_ALLOW_THREADS; | |
4544 | } Py_INCREF(Py_None); | |
4545 | _resultobj = Py_None; | |
4546 | return _resultobj; | |
4547 | } | |
4548 | ||
4549 | #define wxPyLineShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4550 | static PyObject *_wrap_wxPyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4551 | PyObject * _resultobj; | |
4552 | wxPyLineShape * _arg0; | |
4553 | wxDC * _arg1; | |
4554 | PyObject * _argo0 = 0; | |
4555 | PyObject * _argo1 = 0; | |
4556 | char *_kwnames[] = { "self","dc", NULL }; | |
4557 | ||
4558 | self = self; | |
4559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4560 | return NULL; | |
4561 | if (_argo0) { | |
4562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnHighlight. Expected _wxPyLineShape_p."); | |
4565 | return NULL; | |
4566 | } | |
4567 | } | |
4568 | if (_argo1) { | |
4569 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4570 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnHighlight. Expected _wxDC_p."); | |
4572 | return NULL; | |
4573 | } | |
4574 | } | |
4575 | { | |
4576 | wxPy_BEGIN_ALLOW_THREADS; | |
4577 | wxPyLineShape_base_OnHighlight(_arg0,*_arg1); | |
4578 | ||
4579 | wxPy_END_ALLOW_THREADS; | |
4580 | } Py_INCREF(Py_None); | |
4581 | _resultobj = Py_None; | |
4582 | return _resultobj; | |
4583 | } | |
4584 | ||
4585 | #define wxPyLineShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4586 | static PyObject *_wrap_wxPyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4587 | PyObject * _resultobj; | |
4588 | wxPyLineShape * _arg0; | |
4589 | double _arg1; | |
4590 | double _arg2; | |
4591 | int _arg3 = (int ) 0; | |
4592 | int _arg4 = (int ) 0; | |
4593 | PyObject * _argo0 = 0; | |
4594 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4595 | ||
4596 | self = self; | |
4597 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4598 | return NULL; | |
4599 | if (_argo0) { | |
4600 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4601 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4602 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnLeftClick. Expected _wxPyLineShape_p."); | |
4603 | return NULL; | |
4604 | } | |
4605 | } | |
4606 | { | |
4607 | wxPy_BEGIN_ALLOW_THREADS; | |
4608 | wxPyLineShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4609 | ||
4610 | wxPy_END_ALLOW_THREADS; | |
4611 | } Py_INCREF(Py_None); | |
4612 | _resultobj = Py_None; | |
4613 | return _resultobj; | |
4614 | } | |
4615 | ||
4616 | #define wxPyLineShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4617 | static PyObject *_wrap_wxPyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4618 | PyObject * _resultobj; | |
4619 | wxPyLineShape * _arg0; | |
4620 | double _arg1; | |
4621 | double _arg2; | |
4622 | int _arg3 = (int ) 0; | |
4623 | int _arg4 = (int ) 0; | |
4624 | PyObject * _argo0 = 0; | |
4625 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4626 | ||
4627 | self = self; | |
4628 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4629 | return NULL; | |
4630 | if (_argo0) { | |
4631 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4632 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnLeftDoubleClick. Expected _wxPyLineShape_p."); | |
4634 | return NULL; | |
4635 | } | |
4636 | } | |
4637 | { | |
4638 | wxPy_BEGIN_ALLOW_THREADS; | |
4639 | wxPyLineShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4640 | ||
4641 | wxPy_END_ALLOW_THREADS; | |
4642 | } Py_INCREF(Py_None); | |
4643 | _resultobj = Py_None; | |
4644 | return _resultobj; | |
4645 | } | |
4646 | ||
4647 | #define wxPyLineShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4648 | static PyObject *_wrap_wxPyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4649 | PyObject * _resultobj; | |
4650 | wxPyLineShape * _arg0; | |
4651 | double _arg1; | |
4652 | double _arg2; | |
4653 | int _arg3 = (int ) 0; | |
4654 | int _arg4 = (int ) 0; | |
4655 | PyObject * _argo0 = 0; | |
4656 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4657 | ||
4658 | self = self; | |
4659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4660 | return NULL; | |
4661 | if (_argo0) { | |
4662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnRightClick. Expected _wxPyLineShape_p."); | |
4665 | return NULL; | |
4666 | } | |
4667 | } | |
4668 | { | |
4669 | wxPy_BEGIN_ALLOW_THREADS; | |
4670 | wxPyLineShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4671 | ||
4672 | wxPy_END_ALLOW_THREADS; | |
4673 | } Py_INCREF(Py_None); | |
4674 | _resultobj = Py_None; | |
4675 | return _resultobj; | |
4676 | } | |
4677 | ||
4678 | #define wxPyLineShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4679 | static PyObject *_wrap_wxPyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4680 | PyObject * _resultobj; | |
4681 | wxPyLineShape * _arg0; | |
4682 | double _arg1; | |
4683 | double _arg2; | |
4684 | PyObject * _argo0 = 0; | |
4685 | char *_kwnames[] = { "self","x","y", NULL }; | |
4686 | ||
4687 | self = self; | |
4688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4689 | return NULL; | |
4690 | if (_argo0) { | |
4691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSize. Expected _wxPyLineShape_p."); | |
4694 | return NULL; | |
4695 | } | |
4696 | } | |
4697 | { | |
4698 | wxPy_BEGIN_ALLOW_THREADS; | |
4699 | wxPyLineShape_base_OnSize(_arg0,_arg1,_arg2); | |
4700 | ||
4701 | wxPy_END_ALLOW_THREADS; | |
4702 | } Py_INCREF(Py_None); | |
4703 | _resultobj = Py_None; | |
4704 | return _resultobj; | |
4705 | } | |
4706 | ||
4707 | #define wxPyLineShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4708 | static PyObject *_wrap_wxPyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4709 | PyObject * _resultobj; | |
4710 | bool _result; | |
4711 | wxPyLineShape * _arg0; | |
4712 | wxDC * _arg1; | |
4713 | double _arg2; | |
4714 | double _arg3; | |
4715 | double _arg4; | |
4716 | double _arg5; | |
4717 | bool _arg6 = (bool ) TRUE; | |
4718 | PyObject * _argo0 = 0; | |
4719 | PyObject * _argo1 = 0; | |
4720 | int tempbool6 = (int) TRUE; | |
4721 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4722 | ||
4723 | self = self; | |
4724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4725 | return NULL; | |
4726 | if (_argo0) { | |
4727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePre. Expected _wxPyLineShape_p."); | |
4730 | return NULL; | |
4731 | } | |
4732 | } | |
4733 | if (_argo1) { | |
4734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePre. Expected _wxDC_p."); | |
4737 | return NULL; | |
4738 | } | |
4739 | } | |
4740 | _arg6 = (bool ) tempbool6; | |
4741 | { | |
4742 | wxPy_BEGIN_ALLOW_THREADS; | |
4743 | _result = (bool )wxPyLineShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4744 | ||
4745 | wxPy_END_ALLOW_THREADS; | |
4746 | } _resultobj = Py_BuildValue("i",_result); | |
4747 | return _resultobj; | |
4748 | } | |
4749 | ||
4750 | #define wxPyLineShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4751 | static PyObject *_wrap_wxPyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4752 | PyObject * _resultobj; | |
4753 | wxPyLineShape * _arg0; | |
4754 | wxDC * _arg1; | |
4755 | double _arg2; | |
4756 | double _arg3; | |
4757 | double _arg4; | |
4758 | double _arg5; | |
4759 | bool _arg6 = (bool ) TRUE; | |
4760 | PyObject * _argo0 = 0; | |
4761 | PyObject * _argo1 = 0; | |
4762 | int tempbool6 = (int) TRUE; | |
4763 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4764 | ||
4765 | self = self; | |
4766 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4767 | return NULL; | |
4768 | if (_argo0) { | |
4769 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4770 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePost. Expected _wxPyLineShape_p."); | |
4772 | return NULL; | |
4773 | } | |
4774 | } | |
4775 | if (_argo1) { | |
4776 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4777 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePost. Expected _wxDC_p."); | |
4779 | return NULL; | |
4780 | } | |
4781 | } | |
4782 | _arg6 = (bool ) tempbool6; | |
4783 | { | |
4784 | wxPy_BEGIN_ALLOW_THREADS; | |
4785 | wxPyLineShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4786 | ||
4787 | wxPy_END_ALLOW_THREADS; | |
4788 | } Py_INCREF(Py_None); | |
4789 | _resultobj = Py_None; | |
4790 | return _resultobj; | |
4791 | } | |
4792 | ||
4793 | #define wxPyLineShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4794 | static PyObject *_wrap_wxPyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4795 | PyObject * _resultobj; | |
4796 | wxPyLineShape * _arg0; | |
4797 | bool _arg1; | |
4798 | double _arg2; | |
4799 | double _arg3; | |
4800 | int _arg4 = (int ) 0; | |
4801 | int _arg5 = (int ) 0; | |
4802 | PyObject * _argo0 = 0; | |
4803 | int tempbool1; | |
4804 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4805 | ||
4806 | self = self; | |
4807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4808 | return NULL; | |
4809 | if (_argo0) { | |
4810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragLeft. Expected _wxPyLineShape_p."); | |
4813 | return NULL; | |
4814 | } | |
4815 | } | |
4816 | _arg1 = (bool ) tempbool1; | |
4817 | { | |
4818 | wxPy_BEGIN_ALLOW_THREADS; | |
4819 | wxPyLineShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4820 | ||
4821 | wxPy_END_ALLOW_THREADS; | |
4822 | } Py_INCREF(Py_None); | |
4823 | _resultobj = Py_None; | |
4824 | return _resultobj; | |
4825 | } | |
4826 | ||
4827 | #define wxPyLineShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4828 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4829 | PyObject * _resultobj; | |
4830 | wxPyLineShape * _arg0; | |
4831 | double _arg1; | |
4832 | double _arg2; | |
4833 | int _arg3 = (int ) 0; | |
4834 | int _arg4 = (int ) 0; | |
4835 | PyObject * _argo0 = 0; | |
4836 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4837 | ||
4838 | self = self; | |
4839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4840 | return NULL; | |
4841 | if (_argo0) { | |
4842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragLeft. Expected _wxPyLineShape_p."); | |
4845 | return NULL; | |
4846 | } | |
4847 | } | |
4848 | { | |
4849 | wxPy_BEGIN_ALLOW_THREADS; | |
4850 | wxPyLineShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4851 | ||
4852 | wxPy_END_ALLOW_THREADS; | |
4853 | } Py_INCREF(Py_None); | |
4854 | _resultobj = Py_None; | |
4855 | return _resultobj; | |
4856 | } | |
4857 | ||
4858 | #define wxPyLineShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4859 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4860 | PyObject * _resultobj; | |
4861 | wxPyLineShape * _arg0; | |
4862 | double _arg1; | |
4863 | double _arg2; | |
4864 | int _arg3 = (int ) 0; | |
4865 | int _arg4 = (int ) 0; | |
4866 | PyObject * _argo0 = 0; | |
4867 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4868 | ||
4869 | self = self; | |
4870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4871 | return NULL; | |
4872 | if (_argo0) { | |
4873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragLeft. Expected _wxPyLineShape_p."); | |
4876 | return NULL; | |
4877 | } | |
4878 | } | |
4879 | { | |
4880 | wxPy_BEGIN_ALLOW_THREADS; | |
4881 | wxPyLineShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4882 | ||
4883 | wxPy_END_ALLOW_THREADS; | |
4884 | } Py_INCREF(Py_None); | |
4885 | _resultobj = Py_None; | |
4886 | return _resultobj; | |
4887 | } | |
4888 | ||
4889 | #define wxPyLineShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4890 | static PyObject *_wrap_wxPyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4891 | PyObject * _resultobj; | |
4892 | wxPyLineShape * _arg0; | |
4893 | bool _arg1; | |
4894 | double _arg2; | |
4895 | double _arg3; | |
4896 | int _arg4 = (int ) 0; | |
4897 | int _arg5 = (int ) 0; | |
4898 | PyObject * _argo0 = 0; | |
4899 | int tempbool1; | |
4900 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4901 | ||
4902 | self = self; | |
4903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4904 | return NULL; | |
4905 | if (_argo0) { | |
4906 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4907 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragRight. Expected _wxPyLineShape_p."); | |
4909 | return NULL; | |
4910 | } | |
4911 | } | |
4912 | _arg1 = (bool ) tempbool1; | |
4913 | { | |
4914 | wxPy_BEGIN_ALLOW_THREADS; | |
4915 | wxPyLineShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4916 | ||
4917 | wxPy_END_ALLOW_THREADS; | |
4918 | } Py_INCREF(Py_None); | |
4919 | _resultobj = Py_None; | |
4920 | return _resultobj; | |
4921 | } | |
4922 | ||
4923 | #define wxPyLineShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4924 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4925 | PyObject * _resultobj; | |
4926 | wxPyLineShape * _arg0; | |
4927 | double _arg1; | |
4928 | double _arg2; | |
4929 | int _arg3 = (int ) 0; | |
4930 | int _arg4 = (int ) 0; | |
4931 | PyObject * _argo0 = 0; | |
4932 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4933 | ||
4934 | self = self; | |
4935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4936 | return NULL; | |
4937 | if (_argo0) { | |
4938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragRight. Expected _wxPyLineShape_p."); | |
4941 | return NULL; | |
4942 | } | |
4943 | } | |
4944 | { | |
4945 | wxPy_BEGIN_ALLOW_THREADS; | |
4946 | wxPyLineShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4947 | ||
4948 | wxPy_END_ALLOW_THREADS; | |
4949 | } Py_INCREF(Py_None); | |
4950 | _resultobj = Py_None; | |
4951 | return _resultobj; | |
4952 | } | |
4953 | ||
4954 | #define wxPyLineShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4955 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4956 | PyObject * _resultobj; | |
4957 | wxPyLineShape * _arg0; | |
4958 | double _arg1; | |
4959 | double _arg2; | |
4960 | int _arg3 = (int ) 0; | |
4961 | int _arg4 = (int ) 0; | |
4962 | PyObject * _argo0 = 0; | |
4963 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4964 | ||
4965 | self = self; | |
4966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4967 | return NULL; | |
4968 | if (_argo0) { | |
4969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragRight. Expected _wxPyLineShape_p."); | |
4972 | return NULL; | |
4973 | } | |
4974 | } | |
4975 | { | |
4976 | wxPy_BEGIN_ALLOW_THREADS; | |
4977 | wxPyLineShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4978 | ||
4979 | wxPy_END_ALLOW_THREADS; | |
4980 | } Py_INCREF(Py_None); | |
4981 | _resultobj = Py_None; | |
4982 | return _resultobj; | |
4983 | } | |
4984 | ||
4985 | #define wxPyLineShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4986 | static PyObject *_wrap_wxPyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4987 | PyObject * _resultobj; | |
4988 | wxPyLineShape * _arg0; | |
4989 | wxDC * _arg1; | |
4990 | double _arg2; | |
4991 | double _arg3; | |
4992 | double _arg4; | |
4993 | double _arg5; | |
4994 | PyObject * _argo0 = 0; | |
4995 | PyObject * _argo1 = 0; | |
4996 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
4997 | ||
4998 | self = self; | |
4999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyLineShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5000 | return NULL; | |
5001 | if (_argo0) { | |
5002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawOutline. Expected _wxPyLineShape_p."); | |
5005 | return NULL; | |
5006 | } | |
5007 | } | |
5008 | if (_argo1) { | |
5009 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5010 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawOutline. Expected _wxDC_p."); | |
5012 | return NULL; | |
5013 | } | |
5014 | } | |
5015 | { | |
5016 | wxPy_BEGIN_ALLOW_THREADS; | |
5017 | wxPyLineShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
5018 | ||
5019 | wxPy_END_ALLOW_THREADS; | |
5020 | } Py_INCREF(Py_None); | |
5021 | _resultobj = Py_None; | |
5022 | return _resultobj; | |
5023 | } | |
5024 | ||
5025 | #define wxPyLineShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
5026 | static PyObject *_wrap_wxPyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5027 | PyObject * _resultobj; | |
5028 | wxPyLineShape * _arg0; | |
5029 | wxDC * _arg1; | |
5030 | PyObject * _argo0 = 0; | |
5031 | PyObject * _argo1 = 0; | |
5032 | char *_kwnames[] = { "self","dc", NULL }; | |
5033 | ||
5034 | self = self; | |
5035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
5036 | return NULL; | |
5037 | if (_argo0) { | |
5038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxPyLineShape_p."); | |
5041 | return NULL; | |
5042 | } | |
5043 | } | |
5044 | if (_argo1) { | |
5045 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5046 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
5048 | return NULL; | |
5049 | } | |
5050 | } | |
5051 | { | |
5052 | wxPy_BEGIN_ALLOW_THREADS; | |
5053 | wxPyLineShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
5054 | ||
5055 | wxPy_END_ALLOW_THREADS; | |
5056 | } Py_INCREF(Py_None); | |
5057 | _resultobj = Py_None; | |
5058 | return _resultobj; | |
5059 | } | |
5060 | ||
5061 | #define wxPyLineShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
5062 | static PyObject *_wrap_wxPyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5063 | PyObject * _resultobj; | |
5064 | wxPyLineShape * _arg0; | |
5065 | wxDC * _arg1; | |
5066 | PyObject * _argo0 = 0; | |
5067 | PyObject * _argo1 = 0; | |
5068 | char *_kwnames[] = { "self","dc", NULL }; | |
5069 | ||
5070 | self = self; | |
5071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
5072 | return NULL; | |
5073 | if (_argo0) { | |
5074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxPyLineShape_p."); | |
5077 | return NULL; | |
5078 | } | |
5079 | } | |
5080 | if (_argo1) { | |
5081 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5082 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
5084 | return NULL; | |
5085 | } | |
5086 | } | |
5087 | { | |
5088 | wxPy_BEGIN_ALLOW_THREADS; | |
5089 | wxPyLineShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
5090 | ||
5091 | wxPy_END_ALLOW_THREADS; | |
5092 | } Py_INCREF(Py_None); | |
5093 | _resultobj = Py_None; | |
5094 | return _resultobj; | |
5095 | } | |
5096 | ||
5097 | #define wxPyLineShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
5098 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5099 | PyObject * _resultobj; | |
5100 | wxPyLineShape * _arg0; | |
5101 | wxDC * _arg1; | |
5102 | bool _arg2 = (bool ) TRUE; | |
5103 | PyObject * _argo0 = 0; | |
5104 | PyObject * _argo1 = 0; | |
5105 | int tempbool2 = (int) TRUE; | |
5106 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
5107 | ||
5108 | self = self; | |
5109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5110 | return NULL; | |
5111 | if (_argo0) { | |
5112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMoveLink. Expected _wxPyLineShape_p."); | |
5115 | return NULL; | |
5116 | } | |
5117 | } | |
5118 | if (_argo1) { | |
5119 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5120 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMoveLink. Expected _wxDC_p."); | |
5122 | return NULL; | |
5123 | } | |
5124 | } | |
5125 | _arg2 = (bool ) tempbool2; | |
5126 | { | |
5127 | wxPy_BEGIN_ALLOW_THREADS; | |
5128 | wxPyLineShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
5129 | ||
5130 | wxPy_END_ALLOW_THREADS; | |
5131 | } Py_INCREF(Py_None); | |
5132 | _resultobj = Py_None; | |
5133 | return _resultobj; | |
5134 | } | |
5135 | ||
5136 | #define wxPyLineShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5137 | static PyObject *_wrap_wxPyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5138 | PyObject * _resultobj; | |
5139 | wxPyLineShape * _arg0; | |
2348eaee | 5140 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5141 | bool _arg2; |
5142 | double _arg3; | |
5143 | double _arg4; | |
5144 | int _arg5 = (int ) 0; | |
5145 | int _arg6 = (int ) 0; | |
5146 | PyObject * _argo0 = 0; | |
5147 | PyObject * _argo1 = 0; | |
5148 | int tempbool2; | |
5149 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5150 | ||
5151 | self = self; | |
5152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyLineShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5153 | return NULL; | |
5154 | if (_argo0) { | |
5155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyLineShape_p."); | |
5158 | return NULL; | |
5159 | } | |
5160 | } | |
5161 | if (_argo1) { | |
5162 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5163 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5164 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5165 | return NULL; |
5166 | } | |
5167 | } | |
5168 | _arg2 = (bool ) tempbool2; | |
5169 | { | |
5170 | wxPy_BEGIN_ALLOW_THREADS; | |
5171 | wxPyLineShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5172 | ||
5173 | wxPy_END_ALLOW_THREADS; | |
5174 | } Py_INCREF(Py_None); | |
5175 | _resultobj = Py_None; | |
5176 | return _resultobj; | |
5177 | } | |
5178 | ||
5179 | #define wxPyLineShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5180 | static PyObject *_wrap_wxPyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5181 | PyObject * _resultobj; | |
5182 | wxPyLineShape * _arg0; | |
2348eaee | 5183 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5184 | double _arg2; |
5185 | double _arg3; | |
5186 | int _arg4 = (int ) 0; | |
5187 | int _arg5 = (int ) 0; | |
5188 | PyObject * _argo0 = 0; | |
5189 | PyObject * _argo1 = 0; | |
5190 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5191 | ||
5192 | self = self; | |
5193 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5194 | return NULL; | |
5195 | if (_argo0) { | |
5196 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5197 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyLineShape_p."); | |
5199 | return NULL; | |
5200 | } | |
5201 | } | |
5202 | if (_argo1) { | |
5203 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5204 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5205 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5206 | return NULL; |
5207 | } | |
5208 | } | |
5209 | { | |
5210 | wxPy_BEGIN_ALLOW_THREADS; | |
5211 | wxPyLineShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5212 | ||
5213 | wxPy_END_ALLOW_THREADS; | |
5214 | } Py_INCREF(Py_None); | |
5215 | _resultobj = Py_None; | |
5216 | return _resultobj; | |
5217 | } | |
5218 | ||
5219 | #define wxPyLineShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5220 | static PyObject *_wrap_wxPyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5221 | PyObject * _resultobj; | |
5222 | wxPyLineShape * _arg0; | |
2348eaee | 5223 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5224 | double _arg2; |
5225 | double _arg3; | |
5226 | int _arg4 = (int ) 0; | |
5227 | int _arg5 = (int ) 0; | |
5228 | PyObject * _argo0 = 0; | |
5229 | PyObject * _argo1 = 0; | |
5230 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5231 | ||
5232 | self = self; | |
5233 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5234 | return NULL; | |
5235 | if (_argo0) { | |
5236 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5237 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyLineShape_p."); | |
5239 | return NULL; | |
5240 | } | |
5241 | } | |
5242 | if (_argo1) { | |
5243 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5244 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5246 | return NULL; |
5247 | } | |
5248 | } | |
5249 | { | |
5250 | wxPy_BEGIN_ALLOW_THREADS; | |
5251 | wxPyLineShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5252 | ||
5253 | wxPy_END_ALLOW_THREADS; | |
5254 | } Py_INCREF(Py_None); | |
5255 | _resultobj = Py_None; | |
5256 | return _resultobj; | |
5257 | } | |
5258 | ||
5259 | #define wxPyLineShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5260 | static PyObject *_wrap_wxPyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5261 | PyObject * _resultobj; | |
5262 | wxPyLineShape * _arg0; | |
5263 | double _arg1; | |
5264 | double _arg2; | |
5265 | PyObject * _argo0 = 0; | |
5266 | char *_kwnames[] = { "self","w","h", NULL }; | |
5267 | ||
5268 | self = self; | |
5269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5270 | return NULL; | |
5271 | if (_argo0) { | |
5272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginSize. Expected _wxPyLineShape_p."); | |
5275 | return NULL; | |
5276 | } | |
5277 | } | |
5278 | { | |
5279 | wxPy_BEGIN_ALLOW_THREADS; | |
5280 | wxPyLineShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5281 | ||
5282 | wxPy_END_ALLOW_THREADS; | |
5283 | } Py_INCREF(Py_None); | |
5284 | _resultobj = Py_None; | |
5285 | return _resultobj; | |
5286 | } | |
5287 | ||
5288 | #define wxPyLineShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5289 | static PyObject *_wrap_wxPyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5290 | PyObject * _resultobj; | |
5291 | wxPyLineShape * _arg0; | |
5292 | double _arg1; | |
5293 | double _arg2; | |
5294 | PyObject * _argo0 = 0; | |
5295 | char *_kwnames[] = { "self","w","h", NULL }; | |
5296 | ||
5297 | self = self; | |
5298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5299 | return NULL; | |
5300 | if (_argo0) { | |
5301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndSize. Expected _wxPyLineShape_p."); | |
5304 | return NULL; | |
5305 | } | |
5306 | } | |
5307 | { | |
5308 | wxPy_BEGIN_ALLOW_THREADS; | |
5309 | wxPyLineShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5310 | ||
5311 | wxPy_END_ALLOW_THREADS; | |
5312 | } Py_INCREF(Py_None); | |
5313 | _resultobj = Py_None; | |
5314 | return _resultobj; | |
5315 | } | |
5316 | ||
5317 | static void *SwigwxPyPolygonShapeTowxPyShape(void *ptr) { | |
5318 | wxPyPolygonShape *src; | |
5319 | wxPyShape *dest; | |
5320 | src = (wxPyPolygonShape *) ptr; | |
5321 | dest = (wxPyShape *) src; | |
5322 | return (void *) dest; | |
5323 | } | |
5324 | ||
5325 | static void *SwigwxPyPolygonShapeTowxPyShapeEvtHandler(void *ptr) { | |
5326 | wxPyPolygonShape *src; | |
5327 | wxPyShapeEvtHandler *dest; | |
5328 | src = (wxPyPolygonShape *) ptr; | |
5329 | dest = (wxPyShapeEvtHandler *) src; | |
5330 | return (void *) dest; | |
5331 | } | |
5332 | ||
5333 | #define new_wxPyPolygonShape() (new wxPyPolygonShape()) | |
5334 | static PyObject *_wrap_new_wxPyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5335 | PyObject * _resultobj; | |
5336 | wxPyPolygonShape * _result; | |
5337 | char *_kwnames[] = { NULL }; | |
5338 | char _ptemp[128]; | |
5339 | ||
5340 | self = self; | |
5341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyPolygonShape",_kwnames)) | |
5342 | return NULL; | |
5343 | { | |
5344 | wxPy_BEGIN_ALLOW_THREADS; | |
5345 | _result = (wxPyPolygonShape *)new_wxPyPolygonShape(); | |
5346 | ||
5347 | wxPy_END_ALLOW_THREADS; | |
5348 | } if (_result) { | |
5349 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPolygonShape_p"); | |
5350 | _resultobj = Py_BuildValue("s",_ptemp); | |
5351 | } else { | |
5352 | Py_INCREF(Py_None); | |
5353 | _resultobj = Py_None; | |
5354 | } | |
5355 | return _resultobj; | |
5356 | } | |
5357 | ||
f6bcfd97 | 5358 | #define wxPyPolygonShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
5359 | static PyObject *_wrap_wxPyPolygonShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
5360 | PyObject * _resultobj; | |
5361 | wxPyPolygonShape * _arg0; | |
5362 | PyObject * _arg1; | |
f6bcfd97 | 5363 | PyObject * _arg2; |
e91a9dfc RD |
5364 | PyObject * _argo0 = 0; |
5365 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
5366 | PyObject * _obj2 = 0; |
5367 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
5368 | |
5369 | self = self; | |
f6bcfd97 | 5370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyPolygonShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5371 | return NULL; |
5372 | if (_argo0) { | |
5373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape__setSelf. Expected _wxPyPolygonShape_p."); | |
5376 | return NULL; | |
5377 | } | |
5378 | } | |
5379 | { | |
5380 | _arg1 = _obj1; | |
5381 | } | |
f6bcfd97 BP |
5382 | { |
5383 | _arg2 = _obj2; | |
5384 | } | |
e91a9dfc RD |
5385 | { |
5386 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5387 | wxPyPolygonShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
5388 | |
5389 | wxPy_END_ALLOW_THREADS; | |
5390 | } Py_INCREF(Py_None); | |
5391 | _resultobj = Py_None; | |
5392 | return _resultobj; | |
5393 | } | |
5394 | ||
5395 | static PyObject * wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject * points) { | |
5396 | wxList* list = wxPy_wxRealPoint_ListHelper(points); | |
5397 | if (list) { | |
5398 | self->Create(list); | |
5399 | Py_INCREF(Py_None); | |
5400 | return Py_None; | |
5401 | } | |
5402 | else return NULL; | |
5403 | } | |
5404 | static PyObject *_wrap_wxPyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5405 | PyObject * _resultobj; | |
5406 | PyObject * _result; | |
5407 | wxPyPolygonShape * _arg0; | |
5408 | PyObject * _arg1; | |
5409 | PyObject * _argo0 = 0; | |
5410 | PyObject * _obj1 = 0; | |
5411 | char *_kwnames[] = { "self","points", NULL }; | |
5412 | ||
5413 | self = self; | |
5414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_Create",_kwnames,&_argo0,&_obj1)) | |
5415 | return NULL; | |
5416 | if (_argo0) { | |
5417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_Create. Expected _wxPyPolygonShape_p."); | |
5420 | return NULL; | |
5421 | } | |
5422 | } | |
5423 | { | |
5424 | _arg1 = _obj1; | |
5425 | } | |
5426 | { | |
5427 | wxPy_BEGIN_ALLOW_THREADS; | |
5428 | _result = (PyObject *)wxPyPolygonShape_Create(_arg0,_arg1); | |
5429 | ||
5430 | wxPy_END_ALLOW_THREADS; | |
5431 | }{ | |
5432 | _resultobj = _result; | |
5433 | } | |
5434 | return _resultobj; | |
5435 | } | |
5436 | ||
5437 | #define wxPyPolygonShape_AddPolygonPoint(_swigobj,_swigarg0) (_swigobj->AddPolygonPoint(_swigarg0)) | |
5438 | static PyObject *_wrap_wxPyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5439 | PyObject * _resultobj; | |
5440 | wxPyPolygonShape * _arg0; | |
5441 | int _arg1 = (int ) 0; | |
5442 | PyObject * _argo0 = 0; | |
5443 | char *_kwnames[] = { "self","pos", NULL }; | |
5444 | ||
5445 | self = self; | |
5446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_AddPolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5447 | return NULL; | |
5448 | if (_argo0) { | |
5449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_AddPolygonPoint. Expected _wxPyPolygonShape_p."); | |
5452 | return NULL; | |
5453 | } | |
5454 | } | |
5455 | { | |
5456 | wxPy_BEGIN_ALLOW_THREADS; | |
5457 | wxPyPolygonShape_AddPolygonPoint(_arg0,_arg1); | |
5458 | ||
5459 | wxPy_END_ALLOW_THREADS; | |
5460 | } Py_INCREF(Py_None); | |
5461 | _resultobj = Py_None; | |
5462 | return _resultobj; | |
5463 | } | |
5464 | ||
5465 | #define wxPyPolygonShape_CalculatePolygonCentre(_swigobj) (_swigobj->CalculatePolygonCentre()) | |
5466 | static PyObject *_wrap_wxPyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5467 | PyObject * _resultobj; | |
5468 | wxPyPolygonShape * _arg0; | |
5469 | PyObject * _argo0 = 0; | |
5470 | char *_kwnames[] = { "self", NULL }; | |
5471 | ||
5472 | self = self; | |
5473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_CalculatePolygonCentre",_kwnames,&_argo0)) | |
5474 | return NULL; | |
5475 | if (_argo0) { | |
5476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_CalculatePolygonCentre. Expected _wxPyPolygonShape_p."); | |
5479 | return NULL; | |
5480 | } | |
5481 | } | |
5482 | { | |
5483 | wxPy_BEGIN_ALLOW_THREADS; | |
5484 | wxPyPolygonShape_CalculatePolygonCentre(_arg0); | |
5485 | ||
5486 | wxPy_END_ALLOW_THREADS; | |
5487 | } Py_INCREF(Py_None); | |
5488 | _resultobj = Py_None; | |
5489 | return _resultobj; | |
5490 | } | |
5491 | ||
5492 | #define wxPyPolygonShape_DeletePolygonPoint(_swigobj,_swigarg0) (_swigobj->DeletePolygonPoint(_swigarg0)) | |
5493 | static PyObject *_wrap_wxPyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5494 | PyObject * _resultobj; | |
5495 | wxPyPolygonShape * _arg0; | |
5496 | int _arg1 = (int ) 0; | |
5497 | PyObject * _argo0 = 0; | |
5498 | char *_kwnames[] = { "self","pos", NULL }; | |
5499 | ||
5500 | self = self; | |
5501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_DeletePolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5502 | return NULL; | |
5503 | if (_argo0) { | |
5504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_DeletePolygonPoint. Expected _wxPyPolygonShape_p."); | |
5507 | return NULL; | |
5508 | } | |
5509 | } | |
5510 | { | |
5511 | wxPy_BEGIN_ALLOW_THREADS; | |
5512 | wxPyPolygonShape_DeletePolygonPoint(_arg0,_arg1); | |
5513 | ||
5514 | wxPy_END_ALLOW_THREADS; | |
5515 | } Py_INCREF(Py_None); | |
5516 | _resultobj = Py_None; | |
5517 | return _resultobj; | |
5518 | } | |
5519 | ||
5520 | static PyObject * wxPyPolygonShape_GetPoints(wxPyPolygonShape *self) { | |
5521 | wxList* list = self->GetPoints(); | |
5522 | return wxPy_ConvertList(list, "wxRealPoint"); | |
5523 | } | |
5524 | static PyObject *_wrap_wxPyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5525 | PyObject * _resultobj; | |
5526 | PyObject * _result; | |
5527 | wxPyPolygonShape * _arg0; | |
5528 | PyObject * _argo0 = 0; | |
5529 | char *_kwnames[] = { "self", NULL }; | |
5530 | ||
5531 | self = self; | |
5532 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_GetPoints",_kwnames,&_argo0)) | |
5533 | return NULL; | |
5534 | if (_argo0) { | |
5535 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5536 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_GetPoints. Expected _wxPyPolygonShape_p."); | |
5538 | return NULL; | |
5539 | } | |
5540 | } | |
5541 | { | |
5542 | wxPy_BEGIN_ALLOW_THREADS; | |
5543 | _result = (PyObject *)wxPyPolygonShape_GetPoints(_arg0); | |
5544 | ||
5545 | wxPy_END_ALLOW_THREADS; | |
5546 | }{ | |
5547 | _resultobj = _result; | |
5548 | } | |
5549 | return _resultobj; | |
5550 | } | |
5551 | ||
5552 | #define wxPyPolygonShape_UpdateOriginalPoints(_swigobj) (_swigobj->UpdateOriginalPoints()) | |
5553 | static PyObject *_wrap_wxPyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5554 | PyObject * _resultobj; | |
5555 | wxPyPolygonShape * _arg0; | |
5556 | PyObject * _argo0 = 0; | |
5557 | char *_kwnames[] = { "self", NULL }; | |
5558 | ||
5559 | self = self; | |
5560 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_UpdateOriginalPoints",_kwnames,&_argo0)) | |
5561 | return NULL; | |
5562 | if (_argo0) { | |
5563 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5564 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5565 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_UpdateOriginalPoints. Expected _wxPyPolygonShape_p."); | |
5566 | return NULL; | |
5567 | } | |
5568 | } | |
5569 | { | |
5570 | wxPy_BEGIN_ALLOW_THREADS; | |
5571 | wxPyPolygonShape_UpdateOriginalPoints(_arg0); | |
5572 | ||
5573 | wxPy_END_ALLOW_THREADS; | |
5574 | } Py_INCREF(Py_None); | |
5575 | _resultobj = Py_None; | |
5576 | return _resultobj; | |
5577 | } | |
5578 | ||
5579 | #define wxPyPolygonShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
5580 | static PyObject *_wrap_wxPyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5581 | PyObject * _resultobj; | |
5582 | wxPyPolygonShape * _arg0; | |
5583 | wxDC * _arg1; | |
5584 | PyObject * _argo0 = 0; | |
5585 | PyObject * _argo1 = 0; | |
5586 | char *_kwnames[] = { "self","dc", NULL }; | |
5587 | ||
5588 | self = self; | |
5589 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
5590 | return NULL; | |
5591 | if (_argo0) { | |
5592 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5593 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDraw. Expected _wxPyPolygonShape_p."); | |
5595 | return NULL; | |
5596 | } | |
5597 | } | |
5598 | if (_argo1) { | |
5599 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5600 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDraw. Expected _wxDC_p."); | |
5602 | return NULL; | |
5603 | } | |
5604 | } | |
5605 | { | |
5606 | wxPy_BEGIN_ALLOW_THREADS; | |
5607 | wxPyPolygonShape_base_OnDraw(_arg0,*_arg1); | |
5608 | ||
5609 | wxPy_END_ALLOW_THREADS; | |
5610 | } Py_INCREF(Py_None); | |
5611 | _resultobj = Py_None; | |
5612 | return _resultobj; | |
5613 | } | |
5614 | ||
5615 | #define wxPyPolygonShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
5616 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5617 | PyObject * _resultobj; | |
5618 | wxPyPolygonShape * _arg0; | |
5619 | wxDC * _arg1; | |
5620 | PyObject * _argo0 = 0; | |
5621 | PyObject * _argo1 = 0; | |
5622 | char *_kwnames[] = { "self","dc", NULL }; | |
5623 | ||
5624 | self = self; | |
5625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
5626 | return NULL; | |
5627 | if (_argo0) { | |
5628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawContents. Expected _wxPyPolygonShape_p."); | |
5631 | return NULL; | |
5632 | } | |
5633 | } | |
5634 | if (_argo1) { | |
5635 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5636 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawContents. Expected _wxDC_p."); | |
5638 | return NULL; | |
5639 | } | |
5640 | } | |
5641 | { | |
5642 | wxPy_BEGIN_ALLOW_THREADS; | |
5643 | wxPyPolygonShape_base_OnDrawContents(_arg0,*_arg1); | |
5644 | ||
5645 | wxPy_END_ALLOW_THREADS; | |
5646 | } Py_INCREF(Py_None); | |
5647 | _resultobj = Py_None; | |
5648 | return _resultobj; | |
5649 | } | |
5650 | ||
5651 | #define wxPyPolygonShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
5652 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5653 | PyObject * _resultobj; | |
5654 | wxPyPolygonShape * _arg0; | |
5655 | wxDC * _arg1; | |
5656 | bool _arg2 = (bool ) FALSE; | |
5657 | PyObject * _argo0 = 0; | |
5658 | PyObject * _argo1 = 0; | |
5659 | int tempbool2 = (int) FALSE; | |
5660 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
5661 | ||
5662 | self = self; | |
5663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5664 | return NULL; | |
5665 | if (_argo0) { | |
5666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxPyPolygonShape_p."); | |
5669 | return NULL; | |
5670 | } | |
5671 | } | |
5672 | if (_argo1) { | |
5673 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5674 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxDC_p."); | |
5676 | return NULL; | |
5677 | } | |
5678 | } | |
5679 | _arg2 = (bool ) tempbool2; | |
5680 | { | |
5681 | wxPy_BEGIN_ALLOW_THREADS; | |
5682 | wxPyPolygonShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
5683 | ||
5684 | wxPy_END_ALLOW_THREADS; | |
5685 | } Py_INCREF(Py_None); | |
5686 | _resultobj = Py_None; | |
5687 | return _resultobj; | |
5688 | } | |
5689 | ||
5690 | #define wxPyPolygonShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
5691 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5692 | PyObject * _resultobj; | |
5693 | wxPyPolygonShape * _arg0; | |
5694 | wxDC * _arg1; | |
5695 | PyObject * _argo0 = 0; | |
5696 | PyObject * _argo1 = 0; | |
5697 | char *_kwnames[] = { "self","dc", NULL }; | |
5698 | ||
5699 | self = self; | |
5700 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
5701 | return NULL; | |
5702 | if (_argo0) { | |
5703 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5704 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxPyPolygonShape_p."); | |
5706 | return NULL; | |
5707 | } | |
5708 | } | |
5709 | if (_argo1) { | |
5710 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5711 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxDC_p."); | |
5713 | return NULL; | |
5714 | } | |
5715 | } | |
5716 | { | |
5717 | wxPy_BEGIN_ALLOW_THREADS; | |
5718 | wxPyPolygonShape_base_OnMoveLinks(_arg0,*_arg1); | |
5719 | ||
5720 | wxPy_END_ALLOW_THREADS; | |
5721 | } Py_INCREF(Py_None); | |
5722 | _resultobj = Py_None; | |
5723 | return _resultobj; | |
5724 | } | |
5725 | ||
5726 | #define wxPyPolygonShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
5727 | static PyObject *_wrap_wxPyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5728 | PyObject * _resultobj; | |
5729 | wxPyPolygonShape * _arg0; | |
5730 | wxDC * _arg1; | |
5731 | PyObject * _argo0 = 0; | |
5732 | PyObject * _argo1 = 0; | |
5733 | char *_kwnames[] = { "self","dc", NULL }; | |
5734 | ||
5735 | self = self; | |
5736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
5737 | return NULL; | |
5738 | if (_argo0) { | |
5739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnErase. Expected _wxPyPolygonShape_p."); | |
5742 | return NULL; | |
5743 | } | |
5744 | } | |
5745 | if (_argo1) { | |
5746 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5747 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnErase. Expected _wxDC_p."); | |
5749 | return NULL; | |
5750 | } | |
5751 | } | |
5752 | { | |
5753 | wxPy_BEGIN_ALLOW_THREADS; | |
5754 | wxPyPolygonShape_base_OnErase(_arg0,*_arg1); | |
5755 | ||
5756 | wxPy_END_ALLOW_THREADS; | |
5757 | } Py_INCREF(Py_None); | |
5758 | _resultobj = Py_None; | |
5759 | return _resultobj; | |
5760 | } | |
5761 | ||
5762 | #define wxPyPolygonShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
5763 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5764 | PyObject * _resultobj; | |
5765 | wxPyPolygonShape * _arg0; | |
5766 | wxDC * _arg1; | |
5767 | PyObject * _argo0 = 0; | |
5768 | PyObject * _argo1 = 0; | |
5769 | char *_kwnames[] = { "self","dc", NULL }; | |
5770 | ||
5771 | self = self; | |
5772 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
5773 | return NULL; | |
5774 | if (_argo0) { | |
5775 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5776 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseContents. Expected _wxPyPolygonShape_p."); | |
5778 | return NULL; | |
5779 | } | |
5780 | } | |
5781 | if (_argo1) { | |
5782 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5783 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseContents. Expected _wxDC_p."); | |
5785 | return NULL; | |
5786 | } | |
5787 | } | |
5788 | { | |
5789 | wxPy_BEGIN_ALLOW_THREADS; | |
5790 | wxPyPolygonShape_base_OnEraseContents(_arg0,*_arg1); | |
5791 | ||
5792 | wxPy_END_ALLOW_THREADS; | |
5793 | } Py_INCREF(Py_None); | |
5794 | _resultobj = Py_None; | |
5795 | return _resultobj; | |
5796 | } | |
5797 | ||
5798 | #define wxPyPolygonShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
5799 | static PyObject *_wrap_wxPyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5800 | PyObject * _resultobj; | |
5801 | wxPyPolygonShape * _arg0; | |
5802 | wxDC * _arg1; | |
5803 | PyObject * _argo0 = 0; | |
5804 | PyObject * _argo1 = 0; | |
5805 | char *_kwnames[] = { "self","dc", NULL }; | |
5806 | ||
5807 | self = self; | |
5808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
5809 | return NULL; | |
5810 | if (_argo0) { | |
5811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnHighlight. Expected _wxPyPolygonShape_p."); | |
5814 | return NULL; | |
5815 | } | |
5816 | } | |
5817 | if (_argo1) { | |
5818 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5819 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnHighlight. Expected _wxDC_p."); | |
5821 | return NULL; | |
5822 | } | |
5823 | } | |
5824 | { | |
5825 | wxPy_BEGIN_ALLOW_THREADS; | |
5826 | wxPyPolygonShape_base_OnHighlight(_arg0,*_arg1); | |
5827 | ||
5828 | wxPy_END_ALLOW_THREADS; | |
5829 | } Py_INCREF(Py_None); | |
5830 | _resultobj = Py_None; | |
5831 | return _resultobj; | |
5832 | } | |
5833 | ||
5834 | #define wxPyPolygonShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5835 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5836 | PyObject * _resultobj; | |
5837 | wxPyPolygonShape * _arg0; | |
5838 | double _arg1; | |
5839 | double _arg2; | |
5840 | int _arg3 = (int ) 0; | |
5841 | int _arg4 = (int ) 0; | |
5842 | PyObject * _argo0 = 0; | |
5843 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5844 | ||
5845 | self = self; | |
5846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5847 | return NULL; | |
5848 | if (_argo0) { | |
5849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftClick. Expected _wxPyPolygonShape_p."); | |
5852 | return NULL; | |
5853 | } | |
5854 | } | |
5855 | { | |
5856 | wxPy_BEGIN_ALLOW_THREADS; | |
5857 | wxPyPolygonShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5858 | ||
5859 | wxPy_END_ALLOW_THREADS; | |
5860 | } Py_INCREF(Py_None); | |
5861 | _resultobj = Py_None; | |
5862 | return _resultobj; | |
5863 | } | |
5864 | ||
5865 | #define wxPyPolygonShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5866 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5867 | PyObject * _resultobj; | |
5868 | wxPyPolygonShape * _arg0; | |
5869 | double _arg1; | |
5870 | double _arg2; | |
5871 | int _arg3 = (int ) 0; | |
5872 | int _arg4 = (int ) 0; | |
5873 | PyObject * _argo0 = 0; | |
5874 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5875 | ||
5876 | self = self; | |
5877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5878 | return NULL; | |
5879 | if (_argo0) { | |
5880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftDoubleClick. Expected _wxPyPolygonShape_p."); | |
5883 | return NULL; | |
5884 | } | |
5885 | } | |
5886 | { | |
5887 | wxPy_BEGIN_ALLOW_THREADS; | |
5888 | wxPyPolygonShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5889 | ||
5890 | wxPy_END_ALLOW_THREADS; | |
5891 | } Py_INCREF(Py_None); | |
5892 | _resultobj = Py_None; | |
5893 | return _resultobj; | |
5894 | } | |
5895 | ||
5896 | #define wxPyPolygonShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5897 | static PyObject *_wrap_wxPyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5898 | PyObject * _resultobj; | |
5899 | wxPyPolygonShape * _arg0; | |
5900 | double _arg1; | |
5901 | double _arg2; | |
5902 | int _arg3 = (int ) 0; | |
5903 | int _arg4 = (int ) 0; | |
5904 | PyObject * _argo0 = 0; | |
5905 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5906 | ||
5907 | self = self; | |
5908 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5909 | return NULL; | |
5910 | if (_argo0) { | |
5911 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5912 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnRightClick. Expected _wxPyPolygonShape_p."); | |
5914 | return NULL; | |
5915 | } | |
5916 | } | |
5917 | { | |
5918 | wxPy_BEGIN_ALLOW_THREADS; | |
5919 | wxPyPolygonShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5920 | ||
5921 | wxPy_END_ALLOW_THREADS; | |
5922 | } Py_INCREF(Py_None); | |
5923 | _resultobj = Py_None; | |
5924 | return _resultobj; | |
5925 | } | |
5926 | ||
5927 | #define wxPyPolygonShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
5928 | static PyObject *_wrap_wxPyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5929 | PyObject * _resultobj; | |
5930 | wxPyPolygonShape * _arg0; | |
5931 | double _arg1; | |
5932 | double _arg2; | |
5933 | PyObject * _argo0 = 0; | |
5934 | char *_kwnames[] = { "self","x","y", NULL }; | |
5935 | ||
5936 | self = self; | |
5937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5938 | return NULL; | |
5939 | if (_argo0) { | |
5940 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5941 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSize. Expected _wxPyPolygonShape_p."); | |
5943 | return NULL; | |
5944 | } | |
5945 | } | |
5946 | { | |
5947 | wxPy_BEGIN_ALLOW_THREADS; | |
5948 | wxPyPolygonShape_base_OnSize(_arg0,_arg1,_arg2); | |
5949 | ||
5950 | wxPy_END_ALLOW_THREADS; | |
5951 | } Py_INCREF(Py_None); | |
5952 | _resultobj = Py_None; | |
5953 | return _resultobj; | |
5954 | } | |
5955 | ||
5956 | #define wxPyPolygonShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5957 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5958 | PyObject * _resultobj; | |
5959 | bool _result; | |
5960 | wxPyPolygonShape * _arg0; | |
5961 | wxDC * _arg1; | |
5962 | double _arg2; | |
5963 | double _arg3; | |
5964 | double _arg4; | |
5965 | double _arg5; | |
5966 | bool _arg6 = (bool ) TRUE; | |
5967 | PyObject * _argo0 = 0; | |
5968 | PyObject * _argo1 = 0; | |
5969 | int tempbool6 = (int) TRUE; | |
5970 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
5971 | ||
5972 | self = self; | |
5973 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
5974 | return NULL; | |
5975 | if (_argo0) { | |
5976 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5977 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5978 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePre. Expected _wxPyPolygonShape_p."); | |
5979 | return NULL; | |
5980 | } | |
5981 | } | |
5982 | if (_argo1) { | |
5983 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5984 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5985 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePre. Expected _wxDC_p."); | |
5986 | return NULL; | |
5987 | } | |
5988 | } | |
5989 | _arg6 = (bool ) tempbool6; | |
5990 | { | |
5991 | wxPy_BEGIN_ALLOW_THREADS; | |
5992 | _result = (bool )wxPyPolygonShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5993 | ||
5994 | wxPy_END_ALLOW_THREADS; | |
5995 | } _resultobj = Py_BuildValue("i",_result); | |
5996 | return _resultobj; | |
5997 | } | |
5998 | ||
5999 | #define wxPyPolygonShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6000 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6001 | PyObject * _resultobj; | |
6002 | wxPyPolygonShape * _arg0; | |
6003 | wxDC * _arg1; | |
6004 | double _arg2; | |
6005 | double _arg3; | |
6006 | double _arg4; | |
6007 | double _arg5; | |
6008 | bool _arg6 = (bool ) TRUE; | |
6009 | PyObject * _argo0 = 0; | |
6010 | PyObject * _argo1 = 0; | |
6011 | int tempbool6 = (int) TRUE; | |
6012 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6013 | ||
6014 | self = self; | |
6015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6016 | return NULL; | |
6017 | if (_argo0) { | |
6018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePost. Expected _wxPyPolygonShape_p."); | |
6021 | return NULL; | |
6022 | } | |
6023 | } | |
6024 | if (_argo1) { | |
6025 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6026 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePost. Expected _wxDC_p."); | |
6028 | return NULL; | |
6029 | } | |
6030 | } | |
6031 | _arg6 = (bool ) tempbool6; | |
6032 | { | |
6033 | wxPy_BEGIN_ALLOW_THREADS; | |
6034 | wxPyPolygonShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6035 | ||
6036 | wxPy_END_ALLOW_THREADS; | |
6037 | } Py_INCREF(Py_None); | |
6038 | _resultobj = Py_None; | |
6039 | return _resultobj; | |
6040 | } | |
6041 | ||
6042 | #define wxPyPolygonShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6043 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6044 | PyObject * _resultobj; | |
6045 | wxPyPolygonShape * _arg0; | |
6046 | bool _arg1; | |
6047 | double _arg2; | |
6048 | double _arg3; | |
6049 | int _arg4 = (int ) 0; | |
6050 | int _arg5 = (int ) 0; | |
6051 | PyObject * _argo0 = 0; | |
6052 | int tempbool1; | |
6053 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6054 | ||
6055 | self = self; | |
6056 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6057 | return NULL; | |
6058 | if (_argo0) { | |
6059 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6060 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6061 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragLeft. Expected _wxPyPolygonShape_p."); | |
6062 | return NULL; | |
6063 | } | |
6064 | } | |
6065 | _arg1 = (bool ) tempbool1; | |
6066 | { | |
6067 | wxPy_BEGIN_ALLOW_THREADS; | |
6068 | wxPyPolygonShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6069 | ||
6070 | wxPy_END_ALLOW_THREADS; | |
6071 | } Py_INCREF(Py_None); | |
6072 | _resultobj = Py_None; | |
6073 | return _resultobj; | |
6074 | } | |
6075 | ||
6076 | #define wxPyPolygonShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6077 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6078 | PyObject * _resultobj; | |
6079 | wxPyPolygonShape * _arg0; | |
6080 | double _arg1; | |
6081 | double _arg2; | |
6082 | int _arg3 = (int ) 0; | |
6083 | int _arg4 = (int ) 0; | |
6084 | PyObject * _argo0 = 0; | |
6085 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6086 | ||
6087 | self = self; | |
6088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6089 | return NULL; | |
6090 | if (_argo0) { | |
6091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6094 | return NULL; | |
6095 | } | |
6096 | } | |
6097 | { | |
6098 | wxPy_BEGIN_ALLOW_THREADS; | |
6099 | wxPyPolygonShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6100 | ||
6101 | wxPy_END_ALLOW_THREADS; | |
6102 | } Py_INCREF(Py_None); | |
6103 | _resultobj = Py_None; | |
6104 | return _resultobj; | |
6105 | } | |
6106 | ||
6107 | #define wxPyPolygonShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6108 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6109 | PyObject * _resultobj; | |
6110 | wxPyPolygonShape * _arg0; | |
6111 | double _arg1; | |
6112 | double _arg2; | |
6113 | int _arg3 = (int ) 0; | |
6114 | int _arg4 = (int ) 0; | |
6115 | PyObject * _argo0 = 0; | |
6116 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6117 | ||
6118 | self = self; | |
6119 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6120 | return NULL; | |
6121 | if (_argo0) { | |
6122 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6123 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6124 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6125 | return NULL; | |
6126 | } | |
6127 | } | |
6128 | { | |
6129 | wxPy_BEGIN_ALLOW_THREADS; | |
6130 | wxPyPolygonShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6131 | ||
6132 | wxPy_END_ALLOW_THREADS; | |
6133 | } Py_INCREF(Py_None); | |
6134 | _resultobj = Py_None; | |
6135 | return _resultobj; | |
6136 | } | |
6137 | ||
6138 | #define wxPyPolygonShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6139 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6140 | PyObject * _resultobj; | |
6141 | wxPyPolygonShape * _arg0; | |
6142 | bool _arg1; | |
6143 | double _arg2; | |
6144 | double _arg3; | |
6145 | int _arg4 = (int ) 0; | |
6146 | int _arg5 = (int ) 0; | |
6147 | PyObject * _argo0 = 0; | |
6148 | int tempbool1; | |
6149 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6150 | ||
6151 | self = self; | |
6152 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6153 | return NULL; | |
6154 | if (_argo0) { | |
6155 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6156 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragRight. Expected _wxPyPolygonShape_p."); | |
6158 | return NULL; | |
6159 | } | |
6160 | } | |
6161 | _arg1 = (bool ) tempbool1; | |
6162 | { | |
6163 | wxPy_BEGIN_ALLOW_THREADS; | |
6164 | wxPyPolygonShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6165 | ||
6166 | wxPy_END_ALLOW_THREADS; | |
6167 | } Py_INCREF(Py_None); | |
6168 | _resultobj = Py_None; | |
6169 | return _resultobj; | |
6170 | } | |
6171 | ||
6172 | #define wxPyPolygonShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6173 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6174 | PyObject * _resultobj; | |
6175 | wxPyPolygonShape * _arg0; | |
6176 | double _arg1; | |
6177 | double _arg2; | |
6178 | int _arg3 = (int ) 0; | |
6179 | int _arg4 = (int ) 0; | |
6180 | PyObject * _argo0 = 0; | |
6181 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6182 | ||
6183 | self = self; | |
6184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6185 | return NULL; | |
6186 | if (_argo0) { | |
6187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragRight. Expected _wxPyPolygonShape_p."); | |
6190 | return NULL; | |
6191 | } | |
6192 | } | |
6193 | { | |
6194 | wxPy_BEGIN_ALLOW_THREADS; | |
6195 | wxPyPolygonShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6196 | ||
6197 | wxPy_END_ALLOW_THREADS; | |
6198 | } Py_INCREF(Py_None); | |
6199 | _resultobj = Py_None; | |
6200 | return _resultobj; | |
6201 | } | |
6202 | ||
6203 | #define wxPyPolygonShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6204 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6205 | PyObject * _resultobj; | |
6206 | wxPyPolygonShape * _arg0; | |
6207 | double _arg1; | |
6208 | double _arg2; | |
6209 | int _arg3 = (int ) 0; | |
6210 | int _arg4 = (int ) 0; | |
6211 | PyObject * _argo0 = 0; | |
6212 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6213 | ||
6214 | self = self; | |
6215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6216 | return NULL; | |
6217 | if (_argo0) { | |
6218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragRight. Expected _wxPyPolygonShape_p."); | |
6221 | return NULL; | |
6222 | } | |
6223 | } | |
6224 | { | |
6225 | wxPy_BEGIN_ALLOW_THREADS; | |
6226 | wxPyPolygonShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6227 | ||
6228 | wxPy_END_ALLOW_THREADS; | |
6229 | } Py_INCREF(Py_None); | |
6230 | _resultobj = Py_None; | |
6231 | return _resultobj; | |
6232 | } | |
6233 | ||
6234 | #define wxPyPolygonShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6235 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6236 | PyObject * _resultobj; | |
6237 | wxPyPolygonShape * _arg0; | |
6238 | wxDC * _arg1; | |
6239 | double _arg2; | |
6240 | double _arg3; | |
6241 | double _arg4; | |
6242 | double _arg5; | |
6243 | PyObject * _argo0 = 0; | |
6244 | PyObject * _argo1 = 0; | |
6245 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
6246 | ||
6247 | self = self; | |
6248 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyPolygonShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6249 | return NULL; | |
6250 | if (_argo0) { | |
6251 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6252 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxPyPolygonShape_p."); | |
6254 | return NULL; | |
6255 | } | |
6256 | } | |
6257 | if (_argo1) { | |
6258 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6259 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxDC_p."); | |
6261 | return NULL; | |
6262 | } | |
6263 | } | |
6264 | { | |
6265 | wxPy_BEGIN_ALLOW_THREADS; | |
6266 | wxPyPolygonShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
6267 | ||
6268 | wxPy_END_ALLOW_THREADS; | |
6269 | } Py_INCREF(Py_None); | |
6270 | _resultobj = Py_None; | |
6271 | return _resultobj; | |
6272 | } | |
6273 | ||
6274 | #define wxPyPolygonShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
6275 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6276 | PyObject * _resultobj; | |
6277 | wxPyPolygonShape * _arg0; | |
6278 | wxDC * _arg1; | |
6279 | PyObject * _argo0 = 0; | |
6280 | PyObject * _argo1 = 0; | |
6281 | char *_kwnames[] = { "self","dc", NULL }; | |
6282 | ||
6283 | self = self; | |
6284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
6285 | return NULL; | |
6286 | if (_argo0) { | |
6287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxPyPolygonShape_p."); | |
6290 | return NULL; | |
6291 | } | |
6292 | } | |
6293 | if (_argo1) { | |
6294 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6295 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
6297 | return NULL; | |
6298 | } | |
6299 | } | |
6300 | { | |
6301 | wxPy_BEGIN_ALLOW_THREADS; | |
6302 | wxPyPolygonShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
6303 | ||
6304 | wxPy_END_ALLOW_THREADS; | |
6305 | } Py_INCREF(Py_None); | |
6306 | _resultobj = Py_None; | |
6307 | return _resultobj; | |
6308 | } | |
6309 | ||
6310 | #define wxPyPolygonShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
6311 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6312 | PyObject * _resultobj; | |
6313 | wxPyPolygonShape * _arg0; | |
6314 | wxDC * _arg1; | |
6315 | PyObject * _argo0 = 0; | |
6316 | PyObject * _argo1 = 0; | |
6317 | char *_kwnames[] = { "self","dc", NULL }; | |
6318 | ||
6319 | self = self; | |
6320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
6321 | return NULL; | |
6322 | if (_argo0) { | |
6323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxPyPolygonShape_p."); | |
6326 | return NULL; | |
6327 | } | |
6328 | } | |
6329 | if (_argo1) { | |
6330 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6331 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
6333 | return NULL; | |
6334 | } | |
6335 | } | |
6336 | { | |
6337 | wxPy_BEGIN_ALLOW_THREADS; | |
6338 | wxPyPolygonShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
6339 | ||
6340 | wxPy_END_ALLOW_THREADS; | |
6341 | } Py_INCREF(Py_None); | |
6342 | _resultobj = Py_None; | |
6343 | return _resultobj; | |
6344 | } | |
6345 | ||
6346 | #define wxPyPolygonShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
6347 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6348 | PyObject * _resultobj; | |
6349 | wxPyPolygonShape * _arg0; | |
6350 | wxDC * _arg1; | |
6351 | bool _arg2 = (bool ) TRUE; | |
6352 | PyObject * _argo0 = 0; | |
6353 | PyObject * _argo1 = 0; | |
6354 | int tempbool2 = (int) TRUE; | |
6355 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
6356 | ||
6357 | self = self; | |
6358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6359 | return NULL; | |
6360 | if (_argo0) { | |
6361 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6362 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLink. Expected _wxPyPolygonShape_p."); | |
6364 | return NULL; | |
6365 | } | |
6366 | } | |
6367 | if (_argo1) { | |
6368 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6369 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLink. Expected _wxDC_p."); | |
6371 | return NULL; | |
6372 | } | |
6373 | } | |
6374 | _arg2 = (bool ) tempbool2; | |
6375 | { | |
6376 | wxPy_BEGIN_ALLOW_THREADS; | |
6377 | wxPyPolygonShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
6378 | ||
6379 | wxPy_END_ALLOW_THREADS; | |
6380 | } Py_INCREF(Py_None); | |
6381 | _resultobj = Py_None; | |
6382 | return _resultobj; | |
6383 | } | |
6384 | ||
6385 | #define wxPyPolygonShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6386 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6387 | PyObject * _resultobj; | |
6388 | wxPyPolygonShape * _arg0; | |
2348eaee | 6389 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6390 | bool _arg2; |
6391 | double _arg3; | |
6392 | double _arg4; | |
6393 | int _arg5 = (int ) 0; | |
6394 | int _arg6 = (int ) 0; | |
6395 | PyObject * _argo0 = 0; | |
6396 | PyObject * _argo1 = 0; | |
6397 | int tempbool2; | |
6398 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
6399 | ||
6400 | self = self; | |
6401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyPolygonShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
6402 | return NULL; | |
6403 | if (_argo0) { | |
6404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyPolygonShape_p."); | |
6407 | return NULL; | |
6408 | } | |
6409 | } | |
6410 | if (_argo1) { | |
6411 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6412 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6414 | return NULL; |
6415 | } | |
6416 | } | |
6417 | _arg2 = (bool ) tempbool2; | |
6418 | { | |
6419 | wxPy_BEGIN_ALLOW_THREADS; | |
6420 | wxPyPolygonShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6421 | ||
6422 | wxPy_END_ALLOW_THREADS; | |
6423 | } Py_INCREF(Py_None); | |
6424 | _resultobj = Py_None; | |
6425 | return _resultobj; | |
6426 | } | |
6427 | ||
6428 | #define wxPyPolygonShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6429 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6430 | PyObject * _resultobj; | |
6431 | wxPyPolygonShape * _arg0; | |
2348eaee | 6432 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6433 | double _arg2; |
6434 | double _arg3; | |
6435 | int _arg4 = (int ) 0; | |
6436 | int _arg5 = (int ) 0; | |
6437 | PyObject * _argo0 = 0; | |
6438 | PyObject * _argo1 = 0; | |
6439 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6440 | ||
6441 | self = self; | |
6442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6443 | return NULL; | |
6444 | if (_argo0) { | |
6445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6448 | return NULL; | |
6449 | } | |
6450 | } | |
6451 | if (_argo1) { | |
6452 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6453 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6455 | return NULL; |
6456 | } | |
6457 | } | |
6458 | { | |
6459 | wxPy_BEGIN_ALLOW_THREADS; | |
6460 | wxPyPolygonShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6461 | ||
6462 | wxPy_END_ALLOW_THREADS; | |
6463 | } Py_INCREF(Py_None); | |
6464 | _resultobj = Py_None; | |
6465 | return _resultobj; | |
6466 | } | |
6467 | ||
6468 | #define wxPyPolygonShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6469 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6470 | PyObject * _resultobj; | |
6471 | wxPyPolygonShape * _arg0; | |
2348eaee | 6472 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
6473 | double _arg2; |
6474 | double _arg3; | |
6475 | int _arg4 = (int ) 0; | |
6476 | int _arg5 = (int ) 0; | |
6477 | PyObject * _argo0 = 0; | |
6478 | PyObject * _argo1 = 0; | |
6479 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6480 | ||
6481 | self = self; | |
6482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6483 | return NULL; | |
6484 | if (_argo0) { | |
6485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6488 | return NULL; | |
6489 | } | |
6490 | } | |
6491 | if (_argo1) { | |
6492 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
6493 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
6494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
6495 | return NULL; |
6496 | } | |
6497 | } | |
6498 | { | |
6499 | wxPy_BEGIN_ALLOW_THREADS; | |
6500 | wxPyPolygonShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6501 | ||
6502 | wxPy_END_ALLOW_THREADS; | |
6503 | } Py_INCREF(Py_None); | |
6504 | _resultobj = Py_None; | |
6505 | return _resultobj; | |
6506 | } | |
6507 | ||
6508 | #define wxPyPolygonShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
6509 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6510 | PyObject * _resultobj; | |
6511 | wxPyPolygonShape * _arg0; | |
6512 | double _arg1; | |
6513 | double _arg2; | |
6514 | PyObject * _argo0 = 0; | |
6515 | char *_kwnames[] = { "self","w","h", NULL }; | |
6516 | ||
6517 | self = self; | |
6518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6519 | return NULL; | |
6520 | if (_argo0) { | |
6521 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6522 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginSize. Expected _wxPyPolygonShape_p."); | |
6524 | return NULL; | |
6525 | } | |
6526 | } | |
6527 | { | |
6528 | wxPy_BEGIN_ALLOW_THREADS; | |
6529 | wxPyPolygonShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
6530 | ||
6531 | wxPy_END_ALLOW_THREADS; | |
6532 | } Py_INCREF(Py_None); | |
6533 | _resultobj = Py_None; | |
6534 | return _resultobj; | |
6535 | } | |
6536 | ||
6537 | #define wxPyPolygonShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
6538 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6539 | PyObject * _resultobj; | |
6540 | wxPyPolygonShape * _arg0; | |
6541 | double _arg1; | |
6542 | double _arg2; | |
6543 | PyObject * _argo0 = 0; | |
6544 | char *_kwnames[] = { "self","w","h", NULL }; | |
6545 | ||
6546 | self = self; | |
6547 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6548 | return NULL; | |
6549 | if (_argo0) { | |
6550 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6551 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6552 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndSize. Expected _wxPyPolygonShape_p."); | |
6553 | return NULL; | |
6554 | } | |
6555 | } | |
6556 | { | |
6557 | wxPy_BEGIN_ALLOW_THREADS; | |
6558 | wxPyPolygonShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
6559 | ||
6560 | wxPy_END_ALLOW_THREADS; | |
6561 | } Py_INCREF(Py_None); | |
6562 | _resultobj = Py_None; | |
6563 | return _resultobj; | |
6564 | } | |
6565 | ||
6566 | static void *SwigwxPyTextShapeTowxPyRectangleShape(void *ptr) { | |
6567 | wxPyTextShape *src; | |
6568 | wxPyRectangleShape *dest; | |
6569 | src = (wxPyTextShape *) ptr; | |
6570 | dest = (wxPyRectangleShape *) src; | |
6571 | return (void *) dest; | |
6572 | } | |
6573 | ||
6574 | static void *SwigwxPyTextShapeTowxPyShape(void *ptr) { | |
6575 | wxPyTextShape *src; | |
6576 | wxPyShape *dest; | |
6577 | src = (wxPyTextShape *) ptr; | |
6578 | dest = (wxPyShape *) src; | |
6579 | return (void *) dest; | |
6580 | } | |
6581 | ||
6582 | static void *SwigwxPyTextShapeTowxPyShapeEvtHandler(void *ptr) { | |
6583 | wxPyTextShape *src; | |
6584 | wxPyShapeEvtHandler *dest; | |
6585 | src = (wxPyTextShape *) ptr; | |
6586 | dest = (wxPyShapeEvtHandler *) src; | |
6587 | return (void *) dest; | |
6588 | } | |
6589 | ||
6590 | #define new_wxPyTextShape(_swigarg0,_swigarg1) (new wxPyTextShape(_swigarg0,_swigarg1)) | |
6591 | static PyObject *_wrap_new_wxPyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6592 | PyObject * _resultobj; | |
6593 | wxPyTextShape * _result; | |
6594 | double _arg0 = (double ) 0.0; | |
6595 | double _arg1 = (double ) 0.0; | |
6596 | char *_kwnames[] = { "width","height", NULL }; | |
6597 | char _ptemp[128]; | |
6598 | ||
6599 | self = self; | |
6600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyTextShape",_kwnames,&_arg0,&_arg1)) | |
6601 | return NULL; | |
6602 | { | |
6603 | wxPy_BEGIN_ALLOW_THREADS; | |
6604 | _result = (wxPyTextShape *)new_wxPyTextShape(_arg0,_arg1); | |
6605 | ||
6606 | wxPy_END_ALLOW_THREADS; | |
6607 | } if (_result) { | |
6608 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTextShape_p"); | |
6609 | _resultobj = Py_BuildValue("s",_ptemp); | |
6610 | } else { | |
6611 | Py_INCREF(Py_None); | |
6612 | _resultobj = Py_None; | |
6613 | } | |
6614 | return _resultobj; | |
6615 | } | |
6616 | ||
f6bcfd97 | 6617 | #define wxPyTextShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
6618 | static PyObject *_wrap_wxPyTextShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
6619 | PyObject * _resultobj; | |
6620 | wxPyTextShape * _arg0; | |
6621 | PyObject * _arg1; | |
f6bcfd97 | 6622 | PyObject * _arg2; |
e91a9dfc RD |
6623 | PyObject * _argo0 = 0; |
6624 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
6625 | PyObject * _obj2 = 0; |
6626 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
6627 | |
6628 | self = self; | |
f6bcfd97 | 6629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyTextShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
6630 | return NULL; |
6631 | if (_argo0) { | |
6632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape__setSelf. Expected _wxPyTextShape_p."); | |
6635 | return NULL; | |
6636 | } | |
6637 | } | |
6638 | { | |
6639 | _arg1 = _obj1; | |
6640 | } | |
f6bcfd97 BP |
6641 | { |
6642 | _arg2 = _obj2; | |
6643 | } | |
e91a9dfc RD |
6644 | { |
6645 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 6646 | wxPyTextShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
6647 | |
6648 | wxPy_END_ALLOW_THREADS; | |
6649 | } Py_INCREF(Py_None); | |
6650 | _resultobj = Py_None; | |
6651 | return _resultobj; | |
6652 | } | |
6653 | ||
6654 | #define wxPyTextShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6655 | static PyObject *_wrap_wxPyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6656 | PyObject * _resultobj; | |
6657 | wxPyTextShape * _arg0; | |
6658 | PyObject * _argo0 = 0; | |
6659 | char *_kwnames[] = { "self", NULL }; | |
6660 | ||
6661 | self = self; | |
6662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTextShape_base_OnDelete",_kwnames,&_argo0)) | |
6663 | return NULL; | |
6664 | if (_argo0) { | |
6665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDelete. Expected _wxPyTextShape_p."); | |
6668 | return NULL; | |
6669 | } | |
6670 | } | |
6671 | { | |
6672 | wxPy_BEGIN_ALLOW_THREADS; | |
6673 | wxPyTextShape_base_OnDelete(_arg0); | |
6674 | ||
6675 | wxPy_END_ALLOW_THREADS; | |
6676 | } Py_INCREF(Py_None); | |
6677 | _resultobj = Py_None; | |
6678 | return _resultobj; | |
6679 | } | |
6680 | ||
6681 | #define wxPyTextShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6682 | static PyObject *_wrap_wxPyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6683 | PyObject * _resultobj; | |
6684 | wxPyTextShape * _arg0; | |
6685 | wxDC * _arg1; | |
6686 | PyObject * _argo0 = 0; | |
6687 | PyObject * _argo1 = 0; | |
6688 | char *_kwnames[] = { "self","dc", NULL }; | |
6689 | ||
6690 | self = self; | |
6691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6692 | return NULL; | |
6693 | if (_argo0) { | |
6694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDraw. Expected _wxPyTextShape_p."); | |
6697 | return NULL; | |
6698 | } | |
6699 | } | |
6700 | if (_argo1) { | |
6701 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6702 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDraw. Expected _wxDC_p."); | |
6704 | return NULL; | |
6705 | } | |
6706 | } | |
6707 | { | |
6708 | wxPy_BEGIN_ALLOW_THREADS; | |
6709 | wxPyTextShape_base_OnDraw(_arg0,*_arg1); | |
6710 | ||
6711 | wxPy_END_ALLOW_THREADS; | |
6712 | } Py_INCREF(Py_None); | |
6713 | _resultobj = Py_None; | |
6714 | return _resultobj; | |
6715 | } | |
6716 | ||
6717 | #define wxPyTextShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6718 | static PyObject *_wrap_wxPyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6719 | PyObject * _resultobj; | |
6720 | wxPyTextShape * _arg0; | |
6721 | wxDC * _arg1; | |
6722 | PyObject * _argo0 = 0; | |
6723 | PyObject * _argo1 = 0; | |
6724 | char *_kwnames[] = { "self","dc", NULL }; | |
6725 | ||
6726 | self = self; | |
6727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6728 | return NULL; | |
6729 | if (_argo0) { | |
6730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawContents. Expected _wxPyTextShape_p."); | |
6733 | return NULL; | |
6734 | } | |
6735 | } | |
6736 | if (_argo1) { | |
6737 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6738 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawContents. Expected _wxDC_p."); | |
6740 | return NULL; | |
6741 | } | |
6742 | } | |
6743 | { | |
6744 | wxPy_BEGIN_ALLOW_THREADS; | |
6745 | wxPyTextShape_base_OnDrawContents(_arg0,*_arg1); | |
6746 | ||
6747 | wxPy_END_ALLOW_THREADS; | |
6748 | } Py_INCREF(Py_None); | |
6749 | _resultobj = Py_None; | |
6750 | return _resultobj; | |
6751 | } | |
6752 | ||
6753 | #define wxPyTextShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6754 | static PyObject *_wrap_wxPyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6755 | PyObject * _resultobj; | |
6756 | wxPyTextShape * _arg0; | |
6757 | wxDC * _arg1; | |
6758 | bool _arg2 = (bool ) FALSE; | |
6759 | PyObject * _argo0 = 0; | |
6760 | PyObject * _argo1 = 0; | |
6761 | int tempbool2 = (int) FALSE; | |
6762 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6763 | ||
6764 | self = self; | |
6765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6766 | return NULL; | |
6767 | if (_argo0) { | |
6768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawBranches. Expected _wxPyTextShape_p."); | |
6771 | return NULL; | |
6772 | } | |
6773 | } | |
6774 | if (_argo1) { | |
6775 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6776 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6778 | return NULL; | |
6779 | } | |
6780 | } | |
6781 | _arg2 = (bool ) tempbool2; | |
6782 | { | |
6783 | wxPy_BEGIN_ALLOW_THREADS; | |
6784 | wxPyTextShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6785 | ||
6786 | wxPy_END_ALLOW_THREADS; | |
6787 | } Py_INCREF(Py_None); | |
6788 | _resultobj = Py_None; | |
6789 | return _resultobj; | |
6790 | } | |
6791 | ||
6792 | #define wxPyTextShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6793 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6794 | PyObject * _resultobj; | |
6795 | wxPyTextShape * _arg0; | |
6796 | wxDC * _arg1; | |
6797 | PyObject * _argo0 = 0; | |
6798 | PyObject * _argo1 = 0; | |
6799 | char *_kwnames[] = { "self","dc", NULL }; | |
6800 | ||
6801 | self = self; | |
6802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6803 | return NULL; | |
6804 | if (_argo0) { | |
6805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLinks. Expected _wxPyTextShape_p."); | |
6808 | return NULL; | |
6809 | } | |
6810 | } | |
6811 | if (_argo1) { | |
6812 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6813 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6815 | return NULL; | |
6816 | } | |
6817 | } | |
6818 | { | |
6819 | wxPy_BEGIN_ALLOW_THREADS; | |
6820 | wxPyTextShape_base_OnMoveLinks(_arg0,*_arg1); | |
6821 | ||
6822 | wxPy_END_ALLOW_THREADS; | |
6823 | } Py_INCREF(Py_None); | |
6824 | _resultobj = Py_None; | |
6825 | return _resultobj; | |
6826 | } | |
6827 | ||
6828 | #define wxPyTextShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6829 | static PyObject *_wrap_wxPyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6830 | PyObject * _resultobj; | |
6831 | wxPyTextShape * _arg0; | |
6832 | wxDC * _arg1; | |
6833 | PyObject * _argo0 = 0; | |
6834 | PyObject * _argo1 = 0; | |
6835 | char *_kwnames[] = { "self","dc", NULL }; | |
6836 | ||
6837 | self = self; | |
6838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6839 | return NULL; | |
6840 | if (_argo0) { | |
6841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnErase. Expected _wxPyTextShape_p."); | |
6844 | return NULL; | |
6845 | } | |
6846 | } | |
6847 | if (_argo1) { | |
6848 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6849 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnErase. Expected _wxDC_p."); | |
6851 | return NULL; | |
6852 | } | |
6853 | } | |
6854 | { | |
6855 | wxPy_BEGIN_ALLOW_THREADS; | |
6856 | wxPyTextShape_base_OnErase(_arg0,*_arg1); | |
6857 | ||
6858 | wxPy_END_ALLOW_THREADS; | |
6859 | } Py_INCREF(Py_None); | |
6860 | _resultobj = Py_None; | |
6861 | return _resultobj; | |
6862 | } | |
6863 | ||
6864 | #define wxPyTextShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6865 | static PyObject *_wrap_wxPyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6866 | PyObject * _resultobj; | |
6867 | wxPyTextShape * _arg0; | |
6868 | wxDC * _arg1; | |
6869 | PyObject * _argo0 = 0; | |
6870 | PyObject * _argo1 = 0; | |
6871 | char *_kwnames[] = { "self","dc", NULL }; | |
6872 | ||
6873 | self = self; | |
6874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6875 | return NULL; | |
6876 | if (_argo0) { | |
6877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseContents. Expected _wxPyTextShape_p."); | |
6880 | return NULL; | |
6881 | } | |
6882 | } | |
6883 | if (_argo1) { | |
6884 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6885 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseContents. Expected _wxDC_p."); | |
6887 | return NULL; | |
6888 | } | |
6889 | } | |
6890 | { | |
6891 | wxPy_BEGIN_ALLOW_THREADS; | |
6892 | wxPyTextShape_base_OnEraseContents(_arg0,*_arg1); | |
6893 | ||
6894 | wxPy_END_ALLOW_THREADS; | |
6895 | } Py_INCREF(Py_None); | |
6896 | _resultobj = Py_None; | |
6897 | return _resultobj; | |
6898 | } | |
6899 | ||
6900 | #define wxPyTextShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6901 | static PyObject *_wrap_wxPyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6902 | PyObject * _resultobj; | |
6903 | wxPyTextShape * _arg0; | |
6904 | wxDC * _arg1; | |
6905 | PyObject * _argo0 = 0; | |
6906 | PyObject * _argo1 = 0; | |
6907 | char *_kwnames[] = { "self","dc", NULL }; | |
6908 | ||
6909 | self = self; | |
6910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6911 | return NULL; | |
6912 | if (_argo0) { | |
6913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnHighlight. Expected _wxPyTextShape_p."); | |
6916 | return NULL; | |
6917 | } | |
6918 | } | |
6919 | if (_argo1) { | |
6920 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6921 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnHighlight. Expected _wxDC_p."); | |
6923 | return NULL; | |
6924 | } | |
6925 | } | |
6926 | { | |
6927 | wxPy_BEGIN_ALLOW_THREADS; | |
6928 | wxPyTextShape_base_OnHighlight(_arg0,*_arg1); | |
6929 | ||
6930 | wxPy_END_ALLOW_THREADS; | |
6931 | } Py_INCREF(Py_None); | |
6932 | _resultobj = Py_None; | |
6933 | return _resultobj; | |
6934 | } | |
6935 | ||
6936 | #define wxPyTextShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6937 | static PyObject *_wrap_wxPyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6938 | PyObject * _resultobj; | |
6939 | wxPyTextShape * _arg0; | |
6940 | double _arg1; | |
6941 | double _arg2; | |
6942 | int _arg3 = (int ) 0; | |
6943 | int _arg4 = (int ) 0; | |
6944 | PyObject * _argo0 = 0; | |
6945 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6946 | ||
6947 | self = self; | |
6948 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6949 | return NULL; | |
6950 | if (_argo0) { | |
6951 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6952 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6953 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftClick. Expected _wxPyTextShape_p."); | |
6954 | return NULL; | |
6955 | } | |
6956 | } | |
6957 | { | |
6958 | wxPy_BEGIN_ALLOW_THREADS; | |
6959 | wxPyTextShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6960 | ||
6961 | wxPy_END_ALLOW_THREADS; | |
6962 | } Py_INCREF(Py_None); | |
6963 | _resultobj = Py_None; | |
6964 | return _resultobj; | |
6965 | } | |
6966 | ||
6967 | #define wxPyTextShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6968 | static PyObject *_wrap_wxPyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6969 | PyObject * _resultobj; | |
6970 | wxPyTextShape * _arg0; | |
6971 | double _arg1; | |
6972 | double _arg2; | |
6973 | int _arg3 = (int ) 0; | |
6974 | int _arg4 = (int ) 0; | |
6975 | PyObject * _argo0 = 0; | |
6976 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6977 | ||
6978 | self = self; | |
6979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6980 | return NULL; | |
6981 | if (_argo0) { | |
6982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftDoubleClick. Expected _wxPyTextShape_p."); | |
6985 | return NULL; | |
6986 | } | |
6987 | } | |
6988 | { | |
6989 | wxPy_BEGIN_ALLOW_THREADS; | |
6990 | wxPyTextShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6991 | ||
6992 | wxPy_END_ALLOW_THREADS; | |
6993 | } Py_INCREF(Py_None); | |
6994 | _resultobj = Py_None; | |
6995 | return _resultobj; | |
6996 | } | |
6997 | ||
6998 | #define wxPyTextShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6999 | static PyObject *_wrap_wxPyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7000 | PyObject * _resultobj; | |
7001 | wxPyTextShape * _arg0; | |
7002 | double _arg1; | |
7003 | double _arg2; | |
7004 | int _arg3 = (int ) 0; | |
7005 | int _arg4 = (int ) 0; | |
7006 | PyObject * _argo0 = 0; | |
7007 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7008 | ||
7009 | self = self; | |
7010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7011 | return NULL; | |
7012 | if (_argo0) { | |
7013 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7014 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnRightClick. Expected _wxPyTextShape_p."); | |
7016 | return NULL; | |
7017 | } | |
7018 | } | |
7019 | { | |
7020 | wxPy_BEGIN_ALLOW_THREADS; | |
7021 | wxPyTextShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7022 | ||
7023 | wxPy_END_ALLOW_THREADS; | |
7024 | } Py_INCREF(Py_None); | |
7025 | _resultobj = Py_None; | |
7026 | return _resultobj; | |
7027 | } | |
7028 | ||
7029 | #define wxPyTextShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
7030 | static PyObject *_wrap_wxPyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7031 | PyObject * _resultobj; | |
7032 | wxPyTextShape * _arg0; | |
7033 | double _arg1; | |
7034 | double _arg2; | |
7035 | PyObject * _argo0 = 0; | |
7036 | char *_kwnames[] = { "self","x","y", NULL }; | |
7037 | ||
7038 | self = self; | |
7039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7040 | return NULL; | |
7041 | if (_argo0) { | |
7042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSize. Expected _wxPyTextShape_p."); | |
7045 | return NULL; | |
7046 | } | |
7047 | } | |
7048 | { | |
7049 | wxPy_BEGIN_ALLOW_THREADS; | |
7050 | wxPyTextShape_base_OnSize(_arg0,_arg1,_arg2); | |
7051 | ||
7052 | wxPy_END_ALLOW_THREADS; | |
7053 | } Py_INCREF(Py_None); | |
7054 | _resultobj = Py_None; | |
7055 | return _resultobj; | |
7056 | } | |
7057 | ||
7058 | #define wxPyTextShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7059 | static PyObject *_wrap_wxPyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7060 | PyObject * _resultobj; | |
7061 | bool _result; | |
7062 | wxPyTextShape * _arg0; | |
7063 | wxDC * _arg1; | |
7064 | double _arg2; | |
7065 | double _arg3; | |
7066 | double _arg4; | |
7067 | double _arg5; | |
7068 | bool _arg6 = (bool ) TRUE; | |
7069 | PyObject * _argo0 = 0; | |
7070 | PyObject * _argo1 = 0; | |
7071 | int tempbool6 = (int) TRUE; | |
7072 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7073 | ||
7074 | self = self; | |
7075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7076 | return NULL; | |
7077 | if (_argo0) { | |
7078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePre. Expected _wxPyTextShape_p."); | |
7081 | return NULL; | |
7082 | } | |
7083 | } | |
7084 | if (_argo1) { | |
7085 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7086 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePre. Expected _wxDC_p."); | |
7088 | return NULL; | |
7089 | } | |
7090 | } | |
7091 | _arg6 = (bool ) tempbool6; | |
7092 | { | |
7093 | wxPy_BEGIN_ALLOW_THREADS; | |
7094 | _result = (bool )wxPyTextShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7095 | ||
7096 | wxPy_END_ALLOW_THREADS; | |
7097 | } _resultobj = Py_BuildValue("i",_result); | |
7098 | return _resultobj; | |
7099 | } | |
7100 | ||
7101 | #define wxPyTextShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7102 | static PyObject *_wrap_wxPyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7103 | PyObject * _resultobj; | |
7104 | wxPyTextShape * _arg0; | |
7105 | wxDC * _arg1; | |
7106 | double _arg2; | |
7107 | double _arg3; | |
7108 | double _arg4; | |
7109 | double _arg5; | |
7110 | bool _arg6 = (bool ) TRUE; | |
7111 | PyObject * _argo0 = 0; | |
7112 | PyObject * _argo1 = 0; | |
7113 | int tempbool6 = (int) TRUE; | |
7114 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7115 | ||
7116 | self = self; | |
7117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7118 | return NULL; | |
7119 | if (_argo0) { | |
7120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePost. Expected _wxPyTextShape_p."); | |
7123 | return NULL; | |
7124 | } | |
7125 | } | |
7126 | if (_argo1) { | |
7127 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7128 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePost. Expected _wxDC_p."); | |
7130 | return NULL; | |
7131 | } | |
7132 | } | |
7133 | _arg6 = (bool ) tempbool6; | |
7134 | { | |
7135 | wxPy_BEGIN_ALLOW_THREADS; | |
7136 | wxPyTextShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7137 | ||
7138 | wxPy_END_ALLOW_THREADS; | |
7139 | } Py_INCREF(Py_None); | |
7140 | _resultobj = Py_None; | |
7141 | return _resultobj; | |
7142 | } | |
7143 | ||
7144 | #define wxPyTextShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7145 | static PyObject *_wrap_wxPyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7146 | PyObject * _resultobj; | |
7147 | wxPyTextShape * _arg0; | |
7148 | bool _arg1; | |
7149 | double _arg2; | |
7150 | double _arg3; | |
7151 | int _arg4 = (int ) 0; | |
7152 | int _arg5 = (int ) 0; | |
7153 | PyObject * _argo0 = 0; | |
7154 | int tempbool1; | |
7155 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7156 | ||
7157 | self = self; | |
7158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7159 | return NULL; | |
7160 | if (_argo0) { | |
7161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragLeft. Expected _wxPyTextShape_p."); | |
7164 | return NULL; | |
7165 | } | |
7166 | } | |
7167 | _arg1 = (bool ) tempbool1; | |
7168 | { | |
7169 | wxPy_BEGIN_ALLOW_THREADS; | |
7170 | wxPyTextShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7171 | ||
7172 | wxPy_END_ALLOW_THREADS; | |
7173 | } Py_INCREF(Py_None); | |
7174 | _resultobj = Py_None; | |
7175 | return _resultobj; | |
7176 | } | |
7177 | ||
7178 | #define wxPyTextShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7179 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7180 | PyObject * _resultobj; | |
7181 | wxPyTextShape * _arg0; | |
7182 | double _arg1; | |
7183 | double _arg2; | |
7184 | int _arg3 = (int ) 0; | |
7185 | int _arg4 = (int ) 0; | |
7186 | PyObject * _argo0 = 0; | |
7187 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7188 | ||
7189 | self = self; | |
7190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7191 | return NULL; | |
7192 | if (_argo0) { | |
7193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragLeft. Expected _wxPyTextShape_p."); | |
7196 | return NULL; | |
7197 | } | |
7198 | } | |
7199 | { | |
7200 | wxPy_BEGIN_ALLOW_THREADS; | |
7201 | wxPyTextShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7202 | ||
7203 | wxPy_END_ALLOW_THREADS; | |
7204 | } Py_INCREF(Py_None); | |
7205 | _resultobj = Py_None; | |
7206 | return _resultobj; | |
7207 | } | |
7208 | ||
7209 | #define wxPyTextShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7210 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7211 | PyObject * _resultobj; | |
7212 | wxPyTextShape * _arg0; | |
7213 | double _arg1; | |
7214 | double _arg2; | |
7215 | int _arg3 = (int ) 0; | |
7216 | int _arg4 = (int ) 0; | |
7217 | PyObject * _argo0 = 0; | |
7218 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7219 | ||
7220 | self = self; | |
7221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7222 | return NULL; | |
7223 | if (_argo0) { | |
7224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragLeft. Expected _wxPyTextShape_p."); | |
7227 | return NULL; | |
7228 | } | |
7229 | } | |
7230 | { | |
7231 | wxPy_BEGIN_ALLOW_THREADS; | |
7232 | wxPyTextShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7233 | ||
7234 | wxPy_END_ALLOW_THREADS; | |
7235 | } Py_INCREF(Py_None); | |
7236 | _resultobj = Py_None; | |
7237 | return _resultobj; | |
7238 | } | |
7239 | ||
7240 | #define wxPyTextShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7241 | static PyObject *_wrap_wxPyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7242 | PyObject * _resultobj; | |
7243 | wxPyTextShape * _arg0; | |
7244 | bool _arg1; | |
7245 | double _arg2; | |
7246 | double _arg3; | |
7247 | int _arg4 = (int ) 0; | |
7248 | int _arg5 = (int ) 0; | |
7249 | PyObject * _argo0 = 0; | |
7250 | int tempbool1; | |
7251 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7252 | ||
7253 | self = self; | |
7254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7255 | return NULL; | |
7256 | if (_argo0) { | |
7257 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7258 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragRight. Expected _wxPyTextShape_p."); | |
7260 | return NULL; | |
7261 | } | |
7262 | } | |
7263 | _arg1 = (bool ) tempbool1; | |
7264 | { | |
7265 | wxPy_BEGIN_ALLOW_THREADS; | |
7266 | wxPyTextShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7267 | ||
7268 | wxPy_END_ALLOW_THREADS; | |
7269 | } Py_INCREF(Py_None); | |
7270 | _resultobj = Py_None; | |
7271 | return _resultobj; | |
7272 | } | |
7273 | ||
7274 | #define wxPyTextShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7275 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7276 | PyObject * _resultobj; | |
7277 | wxPyTextShape * _arg0; | |
7278 | double _arg1; | |
7279 | double _arg2; | |
7280 | int _arg3 = (int ) 0; | |
7281 | int _arg4 = (int ) 0; | |
7282 | PyObject * _argo0 = 0; | |
7283 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7284 | ||
7285 | self = self; | |
7286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7287 | return NULL; | |
7288 | if (_argo0) { | |
7289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragRight. Expected _wxPyTextShape_p."); | |
7292 | return NULL; | |
7293 | } | |
7294 | } | |
7295 | { | |
7296 | wxPy_BEGIN_ALLOW_THREADS; | |
7297 | wxPyTextShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7298 | ||
7299 | wxPy_END_ALLOW_THREADS; | |
7300 | } Py_INCREF(Py_None); | |
7301 | _resultobj = Py_None; | |
7302 | return _resultobj; | |
7303 | } | |
7304 | ||
7305 | #define wxPyTextShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7306 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7307 | PyObject * _resultobj; | |
7308 | wxPyTextShape * _arg0; | |
7309 | double _arg1; | |
7310 | double _arg2; | |
7311 | int _arg3 = (int ) 0; | |
7312 | int _arg4 = (int ) 0; | |
7313 | PyObject * _argo0 = 0; | |
7314 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7315 | ||
7316 | self = self; | |
7317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7318 | return NULL; | |
7319 | if (_argo0) { | |
7320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragRight. Expected _wxPyTextShape_p."); | |
7323 | return NULL; | |
7324 | } | |
7325 | } | |
7326 | { | |
7327 | wxPy_BEGIN_ALLOW_THREADS; | |
7328 | wxPyTextShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7329 | ||
7330 | wxPy_END_ALLOW_THREADS; | |
7331 | } Py_INCREF(Py_None); | |
7332 | _resultobj = Py_None; | |
7333 | return _resultobj; | |
7334 | } | |
7335 | ||
7336 | #define wxPyTextShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7337 | static PyObject *_wrap_wxPyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7338 | PyObject * _resultobj; | |
7339 | wxPyTextShape * _arg0; | |
7340 | wxDC * _arg1; | |
7341 | double _arg2; | |
7342 | double _arg3; | |
7343 | double _arg4; | |
7344 | double _arg5; | |
7345 | PyObject * _argo0 = 0; | |
7346 | PyObject * _argo1 = 0; | |
7347 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7348 | ||
7349 | self = self; | |
7350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyTextShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7351 | return NULL; | |
7352 | if (_argo0) { | |
7353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawOutline. Expected _wxPyTextShape_p."); | |
7356 | return NULL; | |
7357 | } | |
7358 | } | |
7359 | if (_argo1) { | |
7360 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7361 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7363 | return NULL; | |
7364 | } | |
7365 | } | |
7366 | { | |
7367 | wxPy_BEGIN_ALLOW_THREADS; | |
7368 | wxPyTextShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7369 | ||
7370 | wxPy_END_ALLOW_THREADS; | |
7371 | } Py_INCREF(Py_None); | |
7372 | _resultobj = Py_None; | |
7373 | return _resultobj; | |
7374 | } | |
7375 | ||
7376 | #define wxPyTextShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7377 | static PyObject *_wrap_wxPyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7378 | PyObject * _resultobj; | |
7379 | wxPyTextShape * _arg0; | |
7380 | wxDC * _arg1; | |
7381 | PyObject * _argo0 = 0; | |
7382 | PyObject * _argo1 = 0; | |
7383 | char *_kwnames[] = { "self","dc", NULL }; | |
7384 | ||
7385 | self = self; | |
7386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7387 | return NULL; | |
7388 | if (_argo0) { | |
7389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxPyTextShape_p."); | |
7392 | return NULL; | |
7393 | } | |
7394 | } | |
7395 | if (_argo1) { | |
7396 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7397 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7399 | return NULL; | |
7400 | } | |
7401 | } | |
7402 | { | |
7403 | wxPy_BEGIN_ALLOW_THREADS; | |
7404 | wxPyTextShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7405 | ||
7406 | wxPy_END_ALLOW_THREADS; | |
7407 | } Py_INCREF(Py_None); | |
7408 | _resultobj = Py_None; | |
7409 | return _resultobj; | |
7410 | } | |
7411 | ||
7412 | #define wxPyTextShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7413 | static PyObject *_wrap_wxPyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7414 | PyObject * _resultobj; | |
7415 | wxPyTextShape * _arg0; | |
7416 | wxDC * _arg1; | |
7417 | PyObject * _argo0 = 0; | |
7418 | PyObject * _argo1 = 0; | |
7419 | char *_kwnames[] = { "self","dc", NULL }; | |
7420 | ||
7421 | self = self; | |
7422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7423 | return NULL; | |
7424 | if (_argo0) { | |
7425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxPyTextShape_p."); | |
7428 | return NULL; | |
7429 | } | |
7430 | } | |
7431 | if (_argo1) { | |
7432 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7433 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7435 | return NULL; | |
7436 | } | |
7437 | } | |
7438 | { | |
7439 | wxPy_BEGIN_ALLOW_THREADS; | |
7440 | wxPyTextShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7441 | ||
7442 | wxPy_END_ALLOW_THREADS; | |
7443 | } Py_INCREF(Py_None); | |
7444 | _resultobj = Py_None; | |
7445 | return _resultobj; | |
7446 | } | |
7447 | ||
7448 | #define wxPyTextShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7449 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7450 | PyObject * _resultobj; | |
7451 | wxPyTextShape * _arg0; | |
7452 | wxDC * _arg1; | |
7453 | bool _arg2 = (bool ) TRUE; | |
7454 | PyObject * _argo0 = 0; | |
7455 | PyObject * _argo1 = 0; | |
7456 | int tempbool2 = (int) TRUE; | |
7457 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7458 | ||
7459 | self = self; | |
7460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7461 | return NULL; | |
7462 | if (_argo0) { | |
7463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLink. Expected _wxPyTextShape_p."); | |
7466 | return NULL; | |
7467 | } | |
7468 | } | |
7469 | if (_argo1) { | |
7470 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7471 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLink. Expected _wxDC_p."); | |
7473 | return NULL; | |
7474 | } | |
7475 | } | |
7476 | _arg2 = (bool ) tempbool2; | |
7477 | { | |
7478 | wxPy_BEGIN_ALLOW_THREADS; | |
7479 | wxPyTextShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7480 | ||
7481 | wxPy_END_ALLOW_THREADS; | |
7482 | } Py_INCREF(Py_None); | |
7483 | _resultobj = Py_None; | |
7484 | return _resultobj; | |
7485 | } | |
7486 | ||
7487 | #define wxPyTextShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7488 | static PyObject *_wrap_wxPyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7489 | PyObject * _resultobj; | |
7490 | wxPyTextShape * _arg0; | |
2348eaee | 7491 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7492 | bool _arg2; |
7493 | double _arg3; | |
7494 | double _arg4; | |
7495 | int _arg5 = (int ) 0; | |
7496 | int _arg6 = (int ) 0; | |
7497 | PyObject * _argo0 = 0; | |
7498 | PyObject * _argo1 = 0; | |
7499 | int tempbool2; | |
7500 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7501 | ||
7502 | self = self; | |
7503 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyTextShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7504 | return NULL; | |
7505 | if (_argo0) { | |
7506 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7507 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyTextShape_p."); | |
7509 | return NULL; | |
7510 | } | |
7511 | } | |
7512 | if (_argo1) { | |
7513 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7514 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7516 | return NULL; |
7517 | } | |
7518 | } | |
7519 | _arg2 = (bool ) tempbool2; | |
7520 | { | |
7521 | wxPy_BEGIN_ALLOW_THREADS; | |
7522 | wxPyTextShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7523 | ||
7524 | wxPy_END_ALLOW_THREADS; | |
7525 | } Py_INCREF(Py_None); | |
7526 | _resultobj = Py_None; | |
7527 | return _resultobj; | |
7528 | } | |
7529 | ||
7530 | #define wxPyTextShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7531 | static PyObject *_wrap_wxPyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7532 | PyObject * _resultobj; | |
7533 | wxPyTextShape * _arg0; | |
2348eaee | 7534 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7535 | double _arg2; |
7536 | double _arg3; | |
7537 | int _arg4 = (int ) 0; | |
7538 | int _arg5 = (int ) 0; | |
7539 | PyObject * _argo0 = 0; | |
7540 | PyObject * _argo1 = 0; | |
7541 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7542 | ||
7543 | self = self; | |
7544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7545 | return NULL; | |
7546 | if (_argo0) { | |
7547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyTextShape_p."); | |
7550 | return NULL; | |
7551 | } | |
7552 | } | |
7553 | if (_argo1) { | |
7554 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7555 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7557 | return NULL; |
7558 | } | |
7559 | } | |
7560 | { | |
7561 | wxPy_BEGIN_ALLOW_THREADS; | |
7562 | wxPyTextShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7563 | ||
7564 | wxPy_END_ALLOW_THREADS; | |
7565 | } Py_INCREF(Py_None); | |
7566 | _resultobj = Py_None; | |
7567 | return _resultobj; | |
7568 | } | |
7569 | ||
7570 | #define wxPyTextShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7571 | static PyObject *_wrap_wxPyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7572 | PyObject * _resultobj; | |
7573 | wxPyTextShape * _arg0; | |
2348eaee | 7574 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7575 | double _arg2; |
7576 | double _arg3; | |
7577 | int _arg4 = (int ) 0; | |
7578 | int _arg5 = (int ) 0; | |
7579 | PyObject * _argo0 = 0; | |
7580 | PyObject * _argo1 = 0; | |
7581 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7582 | ||
7583 | self = self; | |
7584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7585 | return NULL; | |
7586 | if (_argo0) { | |
7587 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7588 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7589 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyTextShape_p."); | |
7590 | return NULL; | |
7591 | } | |
7592 | } | |
7593 | if (_argo1) { | |
7594 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7595 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7596 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7597 | return NULL; |
7598 | } | |
7599 | } | |
7600 | { | |
7601 | wxPy_BEGIN_ALLOW_THREADS; | |
7602 | wxPyTextShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7603 | ||
7604 | wxPy_END_ALLOW_THREADS; | |
7605 | } Py_INCREF(Py_None); | |
7606 | _resultobj = Py_None; | |
7607 | return _resultobj; | |
7608 | } | |
7609 | ||
7610 | #define wxPyTextShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7611 | static PyObject *_wrap_wxPyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7612 | PyObject * _resultobj; | |
7613 | wxPyTextShape * _arg0; | |
7614 | double _arg1; | |
7615 | double _arg2; | |
7616 | PyObject * _argo0 = 0; | |
7617 | char *_kwnames[] = { "self","w","h", NULL }; | |
7618 | ||
7619 | self = self; | |
7620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7621 | return NULL; | |
7622 | if (_argo0) { | |
7623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginSize. Expected _wxPyTextShape_p."); | |
7626 | return NULL; | |
7627 | } | |
7628 | } | |
7629 | { | |
7630 | wxPy_BEGIN_ALLOW_THREADS; | |
7631 | wxPyTextShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7632 | ||
7633 | wxPy_END_ALLOW_THREADS; | |
7634 | } Py_INCREF(Py_None); | |
7635 | _resultobj = Py_None; | |
7636 | return _resultobj; | |
7637 | } | |
7638 | ||
7639 | #define wxPyTextShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7640 | static PyObject *_wrap_wxPyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7641 | PyObject * _resultobj; | |
7642 | wxPyTextShape * _arg0; | |
7643 | double _arg1; | |
7644 | double _arg2; | |
7645 | PyObject * _argo0 = 0; | |
7646 | char *_kwnames[] = { "self","w","h", NULL }; | |
7647 | ||
7648 | self = self; | |
7649 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7650 | return NULL; | |
7651 | if (_argo0) { | |
7652 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7653 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndSize. Expected _wxPyTextShape_p."); | |
7655 | return NULL; | |
7656 | } | |
7657 | } | |
7658 | { | |
7659 | wxPy_BEGIN_ALLOW_THREADS; | |
7660 | wxPyTextShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7661 | ||
7662 | wxPy_END_ALLOW_THREADS; | |
7663 | } Py_INCREF(Py_None); | |
7664 | _resultobj = Py_None; | |
7665 | return _resultobj; | |
7666 | } | |
7667 | ||
7668 | static PyMethodDef oglshapes2cMethods[] = { | |
7669 | { "wxPyTextShape_base_OnEndSize", (PyCFunction) _wrap_wxPyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7670 | { "wxPyTextShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7671 | { "wxPyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7672 | { "wxPyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7673 | { "wxPyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7674 | { "wxPyTextShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7675 | { "wxPyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7676 | { "wxPyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7677 | { "wxPyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7678 | { "wxPyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7679 | { "wxPyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7680 | { "wxPyTextShape_base_OnDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7681 | { "wxPyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7682 | { "wxPyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7683 | { "wxPyTextShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7684 | { "wxPyTextShape_base_OnMovePost", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7685 | { "wxPyTextShape_base_OnMovePre", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7686 | { "wxPyTextShape_base_OnSize", (PyCFunction) _wrap_wxPyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7687 | { "wxPyTextShape_base_OnRightClick", (PyCFunction) _wrap_wxPyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7688 | { "wxPyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7689 | { "wxPyTextShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7690 | { "wxPyTextShape_base_OnHighlight", (PyCFunction) _wrap_wxPyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7691 | { "wxPyTextShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7692 | { "wxPyTextShape_base_OnErase", (PyCFunction) _wrap_wxPyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7693 | { "wxPyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7694 | { "wxPyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7695 | { "wxPyTextShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7696 | { "wxPyTextShape_base_OnDraw", (PyCFunction) _wrap_wxPyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7697 | { "wxPyTextShape_base_OnDelete", (PyCFunction) _wrap_wxPyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
7698 | { "wxPyTextShape__setSelf", (PyCFunction) _wrap_wxPyTextShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7699 | { "new_wxPyTextShape", (PyCFunction) _wrap_new_wxPyTextShape, METH_VARARGS | METH_KEYWORDS }, | |
7700 | { "wxPyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7701 | { "wxPyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7702 | { "wxPyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7703 | { "wxPyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7704 | { "wxPyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7705 | { "wxPyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7706 | { "wxPyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7707 | { "wxPyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7708 | { "wxPyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7709 | { "wxPyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7710 | { "wxPyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7711 | { "wxPyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7712 | { "wxPyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7713 | { "wxPyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7714 | { "wxPyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7715 | { "wxPyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7716 | { "wxPyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7717 | { "wxPyPolygonShape_base_OnSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7718 | { "wxPyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7719 | { "wxPyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7720 | { "wxPyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7721 | { "wxPyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7722 | { "wxPyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7723 | { "wxPyPolygonShape_base_OnErase", (PyCFunction) _wrap_wxPyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7724 | { "wxPyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7725 | { "wxPyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7726 | { "wxPyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7727 | { "wxPyPolygonShape_base_OnDraw", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7728 | { "wxPyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_wxPyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS }, | |
7729 | { "wxPyPolygonShape_GetPoints", (PyCFunction) _wrap_wxPyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS }, | |
7730 | { "wxPyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7731 | { "wxPyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_wxPyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS }, | |
7732 | { "wxPyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7733 | { "wxPyPolygonShape_Create", (PyCFunction) _wrap_wxPyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS }, | |
7734 | { "wxPyPolygonShape__setSelf", (PyCFunction) _wrap_wxPyPolygonShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7735 | { "new_wxPyPolygonShape", (PyCFunction) _wrap_new_wxPyPolygonShape, METH_VARARGS | METH_KEYWORDS }, | |
7736 | { "wxPyLineShape_base_OnEndSize", (PyCFunction) _wrap_wxPyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7737 | { "wxPyLineShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7738 | { "wxPyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7739 | { "wxPyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7740 | { "wxPyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7741 | { "wxPyLineShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7742 | { "wxPyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7743 | { "wxPyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7744 | { "wxPyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7745 | { "wxPyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7746 | { "wxPyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7747 | { "wxPyLineShape_base_OnDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7748 | { "wxPyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7749 | { "wxPyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7750 | { "wxPyLineShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7751 | { "wxPyLineShape_base_OnMovePost", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7752 | { "wxPyLineShape_base_OnMovePre", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7753 | { "wxPyLineShape_base_OnSize", (PyCFunction) _wrap_wxPyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7754 | { "wxPyLineShape_base_OnRightClick", (PyCFunction) _wrap_wxPyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7755 | { "wxPyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7756 | { "wxPyLineShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7757 | { "wxPyLineShape_base_OnHighlight", (PyCFunction) _wrap_wxPyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7758 | { "wxPyLineShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7759 | { "wxPyLineShape_base_OnErase", (PyCFunction) _wrap_wxPyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7760 | { "wxPyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7761 | { "wxPyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7762 | { "wxPyLineShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7763 | { "wxPyLineShape_base_OnDraw", (PyCFunction) _wrap_wxPyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7764 | { "wxPyLineShape_Unlink", (PyCFunction) _wrap_wxPyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS }, | |
7765 | { "wxPyLineShape_Straighten", (PyCFunction) _wrap_wxPyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS }, | |
7766 | { "wxPyLineShape_SetTo", (PyCFunction) _wrap_wxPyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS }, | |
7767 | { "wxPyLineShape_SetSpline", (PyCFunction) _wrap_wxPyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS }, | |
7768 | { "wxPyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_wxPyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS }, | |
7769 | { "wxPyLineShape_SetFrom", (PyCFunction) _wrap_wxPyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7770 | { "wxPyLineShape_SetEnds", (PyCFunction) _wrap_wxPyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7771 | { "wxPyLineShape_SetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7772 | { "wxPyLineShape_SetAttachments", (PyCFunction) _wrap_wxPyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS }, | |
7773 | { "wxPyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
7774 | { "wxPyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_wxPyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7775 | { "wxPyLineShape_IsSpline", (PyCFunction) _wrap_wxPyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS }, | |
7776 | { "wxPyLineShape_IsEnd", (PyCFunction) _wrap_wxPyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS }, | |
7777 | { "wxPyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7778 | { "wxPyLineShape_Initialise", (PyCFunction) _wrap_wxPyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS }, | |
7779 | { "wxPyLineShape_GetTo", (PyCFunction) _wrap_wxPyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS }, | |
7780 | { "wxPyLineShape_GetNextControlPoint", (PyCFunction) _wrap_wxPyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7781 | { "wxPyLineShape_GetLabelPosition", (PyCFunction) _wrap_wxPyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS }, | |
7782 | { "wxPyLineShape_GetFrom", (PyCFunction) _wrap_wxPyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7783 | { "wxPyLineShape_GetEnds", (PyCFunction) _wrap_wxPyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7784 | { "wxPyLineShape_GetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7785 | { "wxPyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
7786 | { "wxPyLineShape_FindNth", (PyCFunction) _wrap_wxPyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS }, | |
7787 | { "wxPyLineShape_FindMinimumWidth", (PyCFunction) _wrap_wxPyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS }, | |
7788 | { "wxPyLineShape_FindLinePosition", (PyCFunction) _wrap_wxPyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS }, | |
7789 | { "wxPyLineShape_FindLineEndPoints", (PyCFunction) _wrap_wxPyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS }, | |
7790 | { "wxPyLineShape_FindArrowHead", (PyCFunction) _wrap_wxPyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7791 | { "wxPyLineShape_FindArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7792 | { "wxPyLineShape_EraseRegion", (PyCFunction) _wrap_wxPyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS }, | |
7793 | { "wxPyLineShape_DrawRegion", (PyCFunction) _wrap_wxPyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS }, | |
7794 | { "wxPyLineShape_DrawArrows", (PyCFunction) _wrap_wxPyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS }, | |
7795 | { "wxPyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7796 | { "wxPyLineShape_DeleteArrowHead", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7797 | { "wxPyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7798 | { "wxPyLineShape_DrawArrow", (PyCFunction) _wrap_wxPyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS }, | |
7799 | { "wxPyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_wxPyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS }, | |
7800 | { "wxPyLineShape_ClearArrow", (PyCFunction) _wrap_wxPyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS }, | |
7801 | { "wxPyLineShape_AddArrowOrdered", (PyCFunction) _wrap_wxPyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS }, | |
7802 | { "wxPyLineShape_AddArrow", (PyCFunction) _wrap_wxPyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS }, | |
7803 | { "wxPyLineShape__setSelf", (PyCFunction) _wrap_wxPyLineShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7804 | { "new_wxPyLineShape", (PyCFunction) _wrap_new_wxPyLineShape, METH_VARARGS | METH_KEYWORDS }, | |
7805 | { "wxArrowHead_SetSpacing", (PyCFunction) _wrap_wxArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7806 | { "wxArrowHead_SetSize", (PyCFunction) _wrap_wxArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
7807 | { "wxArrowHead_GetArrowSize", (PyCFunction) _wrap_wxArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS }, | |
7808 | { "wxArrowHead_GetArrowEnd", (PyCFunction) _wrap_wxArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS }, | |
7809 | { "wxArrowHead_GetId", (PyCFunction) _wrap_wxArrowHead_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7810 | { "wxArrowHead_GetMetaFile", (PyCFunction) _wrap_wxArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
7811 | { "wxArrowHead_SetYOffset", (PyCFunction) _wrap_wxArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7812 | { "wxArrowHead_SetXOffset", (PyCFunction) _wrap_wxArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7813 | { "wxArrowHead_GetName", (PyCFunction) _wrap_wxArrowHead_GetName, METH_VARARGS | METH_KEYWORDS }, | |
7814 | { "wxArrowHead_GetSize", (PyCFunction) _wrap_wxArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
7815 | { "wxArrowHead_GetSpacing", (PyCFunction) _wrap_wxArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7816 | { "wxArrowHead_GetYOffset", (PyCFunction) _wrap_wxArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7817 | { "wxArrowHead_GetXOffset", (PyCFunction) _wrap_wxArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7818 | { "wxArrowHead_SetPosition", (PyCFunction) _wrap_wxArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7819 | { "wxArrowHead_GetPosition", (PyCFunction) _wrap_wxArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7820 | { "wxArrowHead__GetType", (PyCFunction) _wrap_wxArrowHead__GetType, METH_VARARGS | METH_KEYWORDS }, | |
7821 | { "delete_wxArrowHead", (PyCFunction) _wrap_delete_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7822 | { "new_wxArrowHead", (PyCFunction) _wrap_new_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7823 | { "wxPyCircleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7824 | { "wxPyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7825 | { "wxPyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7826 | { "wxPyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7827 | { "wxPyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7828 | { "wxPyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7829 | { "wxPyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7830 | { "wxPyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7831 | { "wxPyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7832 | { "wxPyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7833 | { "wxPyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7834 | { "wxPyCircleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7835 | { "wxPyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7836 | { "wxPyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7837 | { "wxPyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7838 | { "wxPyCircleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7839 | { "wxPyCircleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7840 | { "wxPyCircleShape_base_OnSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7841 | { "wxPyCircleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7842 | { "wxPyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7843 | { "wxPyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7844 | { "wxPyCircleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7845 | { "wxPyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7846 | { "wxPyCircleShape_base_OnErase", (PyCFunction) _wrap_wxPyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7847 | { "wxPyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7848 | { "wxPyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7849 | { "wxPyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7850 | { "wxPyCircleShape_base_OnDraw", (PyCFunction) _wrap_wxPyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7851 | { "wxPyCircleShape__setSelf", (PyCFunction) _wrap_wxPyCircleShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7852 | { "new_wxPyCircleShape", (PyCFunction) _wrap_new_wxPyCircleShape, METH_VARARGS | METH_KEYWORDS }, | |
7853 | { "wxPyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7854 | { "wxPyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7855 | { "wxPyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7856 | { "wxPyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7857 | { "wxPyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7858 | { "wxPyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7859 | { "wxPyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7860 | { "wxPyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7861 | { "wxPyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7862 | { "wxPyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7863 | { "wxPyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7864 | { "wxPyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7865 | { "wxPyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7866 | { "wxPyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7867 | { "wxPyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7868 | { "wxPyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7869 | { "wxPyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7870 | { "wxPyEllipseShape_base_OnSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7871 | { "wxPyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7872 | { "wxPyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7873 | { "wxPyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7874 | { "wxPyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7875 | { "wxPyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7876 | { "wxPyEllipseShape_base_OnErase", (PyCFunction) _wrap_wxPyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7877 | { "wxPyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7878 | { "wxPyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7879 | { "wxPyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7880 | { "wxPyEllipseShape_base_OnDraw", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7881 | { "wxPyEllipseShape__setSelf", (PyCFunction) _wrap_wxPyEllipseShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7882 | { "new_wxPyEllipseShape", (PyCFunction) _wrap_new_wxPyEllipseShape, METH_VARARGS | METH_KEYWORDS }, | |
7883 | { NULL, NULL } | |
7884 | }; | |
7885 | #ifdef __cplusplus | |
7886 | } | |
7887 | #endif | |
7888 | /* | |
7889 | * This table is used by the pointer type-checker | |
7890 | */ | |
7891 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
7892 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
7893 | { "_wxEvent","_class_wxEvent",0}, | |
7894 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
7895 | { "_signed_long","_long",0}, | |
7896 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
c368d904 | 7897 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
e91a9dfc | 7898 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
c368d904 | 7899 | { "_class_wxFSFile","_wxFSFile",0}, |
99ab9f3b RD |
7900 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
7901 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 7902 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
7903 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
7904 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 7905 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
c368d904 RD |
7906 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
7907 | { "_class_wxDateTime","_wxDateTime",0}, | |
99ab9f3b | 7908 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
7909 | { "_wxPrintQuality","_int",0}, |
7910 | { "_wxPrintQuality","_signed_int",0}, | |
7911 | { "_wxPrintQuality","_unsigned_int",0}, | |
7912 | { "_wxPrintQuality","_wxWindowID",0}, | |
7913 | { "_wxPrintQuality","_uint",0}, | |
7914 | { "_wxPrintQuality","_EBool",0}, | |
7915 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 7916 | { "_wxPrintQuality","_time_t",0}, |
99ab9f3b | 7917 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 7918 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
e91a9dfc | 7919 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 7920 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
99ab9f3b | 7921 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
7922 | { "_class_wxMenuBar","_wxMenuBar",0}, |
7923 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 7924 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
7925 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
7926 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
7927 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 7928 | { "_wxPySizer","_class_wxPySizer",0}, |
c368d904 | 7929 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
e91a9dfc RD |
7930 | { "_wxPyCompositeShape","_class_wxPyCompositeShape",0}, |
7931 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
7932 | { "_wxCursor","_class_wxCursor",0}, | |
7933 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
c368d904 RD |
7934 | { "_wxPyProcess","_class_wxPyProcess",0}, |
7935 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
e91a9dfc RD |
7936 | { "_wxImageHandler","_class_wxImageHandler",0}, |
7937 | { "_class_wxPyRectangleShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
7938 | { "_class_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
7939 | { "_class_wxPyRectangleShape","_wxPyRectangleShape",0}, | |
c368d904 | 7940 | { "_wxLog","_class_wxLog",0}, |
99ab9f3b | 7941 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
7942 | { "_wxMask","_class_wxMask",0}, |
7943 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
7944 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
7945 | { "_class_wxOGLConstraint","_wxOGLConstraint",0}, | |
7946 | { "_class_wxColourData","_wxColourData",0}, | |
7947 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
7948 | { "_wxPrinter","_class_wxPrinter",0}, | |
7949 | { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0}, | |
7950 | { "_class_wxArrowHead","_wxArrowHead",0}, | |
7951 | { "_wxPen","_class_wxPen",0}, | |
7952 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 7953 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 7954 | { "_byte","_unsigned_char",0}, |
99ab9f3b RD |
7955 | { "_wxDataObject","_class_wxDataObject",0}, |
7956 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 7957 | { "_wxStaticBox","_class_wxStaticBox",0}, |
99ab9f3b RD |
7958 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
7959 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
7960 | { "_wxChoice","_class_wxChoice",0}, |
7961 | { "_wxSlider","_class_wxSlider",0}, | |
7962 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
7963 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
7964 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
7965 | { "_long","_unsigned_long",0}, |
7966 | { "_long","_signed_long",0}, | |
7967 | { "_wxImageList","_class_wxImageList",0}, | |
99ab9f3b | 7968 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
7969 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
7970 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
7971 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 7972 | { "_class_wxSizer","_wxSizer",0}, |
99ab9f3b | 7973 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 7974 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 7975 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 7976 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
99ab9f3b | 7977 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
7978 | { "_class_wxGauge","_wxGauge",0}, |
7979 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
7980 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 7981 | { "_wxSizerItem","_class_wxSizerItem",0}, |
99ab9f3b | 7982 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
7983 | { "_wxListEvent","_class_wxListEvent",0}, |
7984 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
7985 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
7986 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
7987 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 7988 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
7989 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
7990 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
7991 | { "_wxPyBitmapShape","_class_wxPyBitmapShape",0}, | |
7992 | { "_class_wxPyEllipseShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
7993 | { "_class_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
7994 | { "_class_wxPyEllipseShape","_wxPyEllipseShape",0}, | |
99ab9f3b | 7995 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 7996 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 7997 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
7998 | { "_size_t","_unsigned_int",0}, |
7999 | { "_size_t","_int",0}, | |
8000 | { "_size_t","_wxWindowID",0}, | |
8001 | { "_size_t","_uint",0}, | |
8002 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
99ab9f3b RD |
8003 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
8004 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
1e7ecb7b | 8005 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
99ab9f3b | 8006 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
c368d904 | 8007 | { "_wxLogGui","_class_wxLogGui",0}, |
e91a9dfc RD |
8008 | { "_class_wxPyShapeEvtHandler","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, |
8009 | { "_class_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8010 | { "_class_wxPyShapeEvtHandler","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8011 | { "_class_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8012 | { "_class_wxPyShapeEvtHandler","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8013 | { "_class_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8014 | { "_class_wxPyShapeEvtHandler","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8015 | { "_class_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8016 | { "_class_wxPyShapeEvtHandler","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8017 | { "_class_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8018 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
8019 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
8020 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
8021 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
8022 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
8023 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 8024 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
8025 | { "_class_wxPyCompositeShape","_wxPyCompositeShape",0}, |
8026 | { "_wxPyPolygonShape","_class_wxPyPolygonShape",0}, | |
8027 | { "_wxPanel","_class_wxPanel",0}, | |
8028 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
8029 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
c368d904 | 8030 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
e91a9dfc RD |
8031 | { "_wxPyEvent","_class_wxPyEvent",0}, |
8032 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
8033 | { "_class_wxMask","_wxMask",0}, | |
99ab9f3b | 8034 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 8035 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
99ab9f3b | 8036 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc | 8037 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
c368d904 | 8038 | { "_wxFileConfig","_class_wxFileConfig",0}, |
e91a9dfc RD |
8039 | { "_wxColour","_class_wxColour",0}, |
8040 | { "_class_wxDialog","_wxDialog",0}, | |
99ab9f3b | 8041 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
8042 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
8043 | { "_class_wxPrinter","_wxPrinter",0}, | |
99ab9f3b | 8044 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
8045 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
8046 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
8047 | { "_wxToolBar","_class_wxToolBar",0}, | |
99ab9f3b | 8048 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 8049 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
8050 | { "_wxStaticLine","_class_wxStaticLine",0}, |
8051 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
8052 | { "_wxBrush","_class_wxBrush",0}, | |
8053 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
8054 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
8055 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
99ab9f3b RD |
8056 | { "_wxDataFormat","_class_wxDataFormat",0}, |
8057 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
8058 | { "_class_wxSashWindow","_wxSashWindow",0}, |
8059 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
8060 | { "_class_wxPyDivisionShape","_wxPyDivisionShape",0}, | |
99ab9f3b | 8061 | { "_uint","_wxCoord",0}, |
e91a9dfc | 8062 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 8063 | { "_uint","_time_t",0}, |
e91a9dfc RD |
8064 | { "_uint","_size_t",0}, |
8065 | { "_uint","_unsigned_int",0}, | |
8066 | { "_uint","_int",0}, | |
8067 | { "_uint","_wxWindowID",0}, | |
c368d904 | 8068 | { "_wxChar","_char",0}, |
f0261a72 | 8069 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
8070 | { "_class_wxEvent","_wxEvent",0}, |
8071 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
8072 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
8073 | { "_wxRect","_class_wxRect",0}, |
8074 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
8075 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
c368d904 | 8076 | { "_class_wxLogWindow","_wxLogWindow",0}, |
e91a9dfc RD |
8077 | { "_class_wxImage","_wxImage",0}, |
8078 | { "_wxPoint","_class_wxPoint",0}, | |
c368d904 | 8079 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
e91a9dfc RD |
8080 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
8081 | { "_class_wxPyBitmapShape","_wxPyBitmapShape",0}, | |
8082 | { "_class_wxButton","_wxButton",0}, | |
8083 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 8084 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
e91a9dfc | 8085 | { "_class_wxFontData","_wxFontData",0}, |
99ab9f3b | 8086 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 8087 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
c368d904 RD |
8088 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
8089 | { "_char","_wxChar",0}, | |
e91a9dfc | 8090 | { "_wxBitmap","_class_wxBitmap",0}, |
1e7ecb7b | 8091 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, |
e91a9dfc | 8092 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
2348eaee | 8093 | { "_wxPyControlPoint","_class_wxPyControlPoint",0}, |
e91a9dfc | 8094 | { "_wxWindowDC","_class_wxWindowDC",0}, |
c368d904 RD |
8095 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
8096 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
e91a9dfc RD |
8097 | { "_wxScrollBar","_class_wxScrollBar",0}, |
8098 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
8099 | { "_wxColourDialog","_class_wxColourDialog",0}, |
8100 | { "_wxPrintData","_class_wxPrintData",0}, | |
c368d904 | 8101 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
e91a9dfc RD |
8102 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
8103 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8104 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 8105 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc RD |
8106 | { "_class_wxPyEvent","_wxPyEvent",0}, |
8107 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
c368d904 | 8108 | { "_wxConfig","_class_wxConfig",0}, |
e91a9dfc RD |
8109 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
8110 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
c368d904 | 8111 | { "_class_wxFileConfig","_wxFileConfig",0}, |
e91a9dfc | 8112 | { "_class_wxPyDrawnShape","_wxPyDrawnShape",0}, |
99ab9f3b RD |
8113 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
8114 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
8115 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
8116 | { "_wxListItem","_class_wxListItem",0}, | |
8117 | { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0}, | |
8118 | { "_class_wxToolBar","_wxToolBar",0}, | |
99ab9f3b | 8119 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc RD |
8120 | { "_class_wxStaticLine","_wxStaticLine",0}, |
8121 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
99ab9f3b | 8122 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc | 8123 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
c368d904 | 8124 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
e91a9dfc | 8125 | { "_class_wxShapeRegion","_wxShapeRegion",0}, |
99ab9f3b | 8126 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
8127 | { "_EBool","_wxPrintQuality",0}, |
8128 | { "_EBool","_signed_int",0}, | |
8129 | { "_EBool","_int",0}, | |
8130 | { "_EBool","_wxWindowID",0}, | |
8131 | { "_class_wxRegion","_wxRegion",0}, | |
99ab9f3b | 8132 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 8133 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
99ab9f3b | 8134 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
8135 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
8136 | { "_wxStaticText","_class_wxStaticText",0}, | |
8137 | { "_wxFont","_class_wxFont",0}, | |
99ab9f3b | 8138 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
8139 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
8140 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
c368d904 | 8141 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
e91a9dfc | 8142 | { "_wxNotebook","_class_wxNotebook",0}, |
c368d904 | 8143 | { "_wxFSFile","_class_wxFSFile",0}, |
e91a9dfc RD |
8144 | { "_unsigned_long","_long",0}, |
8145 | { "_class_wxRect","_wxRect",0}, | |
8146 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 8147 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
e91a9dfc | 8148 | { "_wxPyCircleShape","_class_wxPyCircleShape",0}, |
f6bcfd97 | 8149 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
e91a9dfc | 8150 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
99ab9f3b | 8151 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 8152 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
e91a9dfc | 8153 | { "_wxPyApp","_class_wxPyApp",0}, |
99ab9f3b | 8154 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 RD |
8155 | { "_class_wxOutputStream","_wxOutputStream",0}, |
8156 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
e91a9dfc RD |
8157 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
8158 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8159 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
c368d904 | 8160 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
e91a9dfc | 8161 | { "_wxPyLineShape","_class_wxPyLineShape",0}, |
e91a9dfc RD |
8162 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
8163 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
c368d904 RD |
8164 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
8165 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
e91a9dfc RD |
8166 | { "_class_wxSpinButton","_wxSpinButton",0}, |
8167 | { "_class_wxPyPolygonShape","_wxPyPolygonShape",0}, | |
8168 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8169 | { "_class_wxPanel","_wxPanel",0}, | |
8170 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8171 | { "_wxComboBox","_class_wxComboBox",0}, | |
8172 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8173 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
99ab9f3b | 8174 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
8175 | { "_signed_int","_wxPrintQuality",0}, |
8176 | { "_signed_int","_EBool",0}, | |
8177 | { "_signed_int","_wxWindowID",0}, | |
8178 | { "_signed_int","_int",0}, | |
8179 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 8180 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 8181 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
1e7ecb7b | 8182 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, |
99ab9f3b | 8183 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
8184 | { "_wxMenu","_class_wxMenu",0}, |
8185 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8186 | { "_wxListBox","_class_wxListBox",0}, | |
8187 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
99ab9f3b | 8188 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc RD |
8189 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
8190 | { "_wxArrowHead","_class_wxArrowHead",0}, | |
c368d904 | 8191 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
8192 | { "_WXTYPE","_short",0}, |
8193 | { "_WXTYPE","_signed_short",0}, | |
8194 | { "_WXTYPE","_unsigned_short",0}, | |
8195 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
99ab9f3b | 8196 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 8197 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
8198 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
8199 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 8200 | { "_wxTipProvider","_class_wxTipProvider",0}, |
c368d904 | 8201 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
8202 | { "_unsigned_short","_WXTYPE",0}, |
8203 | { "_unsigned_short","_short",0}, | |
8204 | { "_class_wxWindow","_wxWindow",0}, | |
c368d904 | 8205 | { "_class_wxLogStderr","_wxLogStderr",0}, |
e91a9dfc | 8206 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, |
c368d904 | 8207 | { "_wxDateSpan","_class_wxDateSpan",0}, |
e91a9dfc RD |
8208 | { "_class_wxStaticText","_wxStaticText",0}, |
8209 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8210 | { "_class_wxFont","_wxFont",0}, | |
99ab9f3b | 8211 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 8212 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
8213 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
8214 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
99ab9f3b | 8215 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
e91a9dfc | 8216 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
99ab9f3b | 8217 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
de20db99 | 8218 | { "_wxJoystick","_class_wxJoystick",0}, |
99ab9f3b | 8219 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, |
e91a9dfc RD |
8220 | { "_class_wxPyCircleShape","_wxPyCircleShape",0}, |
8221 | { "_wxClientDC","_class_wxClientDC",0}, | |
8222 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
f6bcfd97 | 8223 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
e91a9dfc RD |
8224 | { "_wxListCtrl","_class_wxListCtrl",0}, |
8225 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8226 | { "_wxPyDividedShape","_class_wxPyDividedShape",0}, | |
8227 | { "_class_wxPoint","_wxPoint",0}, | |
c368d904 | 8228 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
e91a9dfc RD |
8229 | { "_wxRealPoint","_class_wxRealPoint",0}, |
8230 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 8231 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
8232 | { "_signed_short","_WXTYPE",0}, |
8233 | { "_signed_short","_short",0}, | |
8234 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
99ab9f3b | 8235 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
1e7ecb7b | 8236 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, |
e91a9dfc | 8237 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
c368d904 | 8238 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
2348eaee | 8239 | { "_class_wxPyControlPoint","_wxPyControlPoint",0}, |
e91a9dfc RD |
8240 | { "_wxPaintDC","_class_wxPaintDC",0}, |
8241 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8242 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8243 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8244 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
8245 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
8246 | { "_class_wxCursor","_wxCursor",0}, | |
99ab9f3b | 8247 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 8248 | { "_class_wxPyProcess","_wxPyProcess",0}, |
e91a9dfc RD |
8249 | { "_class_wxImageHandler","_wxImageHandler",0}, |
8250 | { "_wxPyShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8251 | { "_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8252 | { "_wxPyShape","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8253 | { "_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8254 | { "_wxPyShape","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8255 | { "_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8256 | { "_wxPyShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8257 | { "_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8258 | { "_wxPyShape","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8259 | { "_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8260 | { "_wxPyShape","_class_wxPyShape",0}, | |
8261 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
c368d904 | 8262 | { "_class_wxLog","_wxLog",0}, |
e91a9dfc RD |
8263 | { "_wxTreeItemId","_class_wxTreeItemId",0}, |
8264 | { "_unsigned_char","_byte",0}, | |
1e7ecb7b | 8265 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, |
e91a9dfc RD |
8266 | { "_class_wxMenu","_wxMenu",0}, |
8267 | { "_wxControl","_class_wxControl",0}, | |
8268 | { "_class_wxListBox","_wxListBox",0}, | |
99ab9f3b | 8269 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 8270 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 8271 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
8272 | { "_unsigned_int","_size_t",0}, |
8273 | { "_unsigned_int","_uint",0}, | |
8274 | { "_unsigned_int","_wxWindowID",0}, | |
8275 | { "_unsigned_int","_int",0}, | |
8276 | { "_wxIcon","_class_wxIcon",0}, | |
8277 | { "_wxDialog","_class_wxDialog",0}, | |
8278 | { "_class_wxListItem","_wxListItem",0}, | |
8279 | { "_class_wxPen","_wxPen",0}, | |
8280 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8281 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
c368d904 RD |
8282 | { "_wxConfigBase","_class_wxConfigBase",0}, |
8283 | { "_short","_wxDateTime_t",0}, | |
e91a9dfc RD |
8284 | { "_short","_WXTYPE",0}, |
8285 | { "_short","_unsigned_short",0}, | |
8286 | { "_short","_signed_short",0}, | |
8287 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8288 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
8289 | { "_wxPyTextShape","_class_wxPyTextShape",0}, | |
99ab9f3b RD |
8290 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
8291 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
8292 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
8293 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8294 | { "_class_wxChoice","_wxChoice",0}, | |
8295 | { "_class_wxSlider","_wxSlider",0}, | |
8296 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8297 | { "_class_wxImageList","_wxImageList",0}, | |
8298 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
c368d904 | 8299 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 | 8300 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 8301 | { "_wxFrame","_class_wxFrame",0}, |
99ab9f3b | 8302 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 8303 | { "_class_wxGridSizer","_wxGridSizer",0}, |
e91a9dfc | 8304 | { "_wxPyDivisionShape","_class_wxPyDivisionShape",0}, |
99ab9f3b | 8305 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
8306 | { "_class_wxNotebook","_wxNotebook",0}, |
8307 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
99ab9f3b | 8308 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 8309 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 8310 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
8311 | { "_wxWindowID","_size_t",0}, |
8312 | { "_wxWindowID","_EBool",0}, | |
8313 | { "_wxWindowID","_uint",0}, | |
8314 | { "_wxWindowID","_int",0}, | |
8315 | { "_wxWindowID","_signed_int",0}, | |
8316 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 8317 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 8318 | { "_class_wxSizerItem","_wxSizerItem",0}, |
99ab9f3b | 8319 | { "_int","_wxCoord",0}, |
e91a9dfc | 8320 | { "_int","_wxPrintQuality",0}, |
c368d904 | 8321 | { "_int","_time_t",0}, |
e91a9dfc RD |
8322 | { "_int","_size_t",0}, |
8323 | { "_int","_EBool",0}, | |
8324 | { "_int","_uint",0}, | |
8325 | { "_int","_wxWindowID",0}, | |
8326 | { "_int","_unsigned_int",0}, | |
8327 | { "_int","_signed_int",0}, | |
8328 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 8329 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
c368d904 | 8330 | { "_wxLogWindow","_class_wxLogWindow",0}, |
e91a9dfc RD |
8331 | { "_class_wxListEvent","_wxListEvent",0}, |
8332 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
c368d904 RD |
8333 | { "_wxDateTime_t","_unsigned_short",0}, |
8334 | { "_wxDateTime_t","_short",0}, | |
8335 | { "_wxDateTime_t","_WXTYPE",0}, | |
e91a9dfc | 8336 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
99ab9f3b | 8337 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
8338 | { "_wxDateTime","_class_wxDateTime",0}, |
8339 | { "_time_t","_wxCoord",0}, | |
8340 | { "_time_t","_wxPrintQuality",0}, | |
8341 | { "_time_t","_unsigned_int",0}, | |
8342 | { "_time_t","_int",0}, | |
8343 | { "_time_t","_wxWindowID",0}, | |
8344 | { "_time_t","_uint",0}, | |
8345 | { "_time_t","_size_t",0}, | |
99ab9f3b | 8346 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
c368d904 | 8347 | { "_wxLogNull","_class_wxLogNull",0}, |
e91a9dfc | 8348 | { "_wxButton","_class_wxButton",0}, |
c368d904 | 8349 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
e91a9dfc RD |
8350 | { "_class_wxPyApp","_wxPyApp",0}, |
8351 | { "_wxSize","_class_wxSize",0}, | |
8352 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
1e7ecb7b | 8353 | { "_class_wxPrinterDC","_wxPrinterDC",0}, |
99ab9f3b | 8354 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
c368d904 RD |
8355 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
8356 | { "_class_wxLogGui","_wxLogGui",0}, | |
e91a9dfc RD |
8357 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
8358 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
2348eaee | 8359 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
c368d904 RD |
8360 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
8361 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
e91a9dfc RD |
8362 | { "_class_wxPyLineShape","_wxPyLineShape",0}, |
8363 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
8364 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
99ab9f3b | 8365 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
8366 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
8367 | { "_class_wxComboBox","_wxComboBox",0}, | |
8368 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8369 | { "_class_wxPyShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8370 | { "_class_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8371 | { "_class_wxPyShape","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8372 | { "_class_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8373 | { "_class_wxPyShape","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8374 | { "_class_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8375 | { "_class_wxPyShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8376 | { "_class_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8377 | { "_class_wxPyShape","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8378 | { "_class_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8379 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 8380 | { "_wxValidator","_class_wxValidator",0}, |
99ab9f3b | 8381 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc | 8382 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
e91a9dfc RD |
8383 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
8384 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8385 | { "_class_wxControl","_wxControl",0}, | |
8386 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8387 | { "_wxPyDrawnShape","_class_wxPyDrawnShape",0}, | |
8388 | { "_class_wxIcon","_wxIcon",0}, | |
8389 | { "_class_wxColour","_wxColour",0}, | |
8390 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8391 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8392 | { "_wxPalette","_class_wxPalette",0}, | |
8393 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
c368d904 | 8394 | { "_class_wxConfigBase","_wxConfigBase",0}, |
99ab9f3b RD |
8395 | { "_wxCoord","_int",0}, |
8396 | { "_wxCoord","_signed_int",0}, | |
8397 | { "_wxCoord","_unsigned_int",0}, | |
8398 | { "_wxCoord","_wxWindowID",0}, | |
8399 | { "_wxCoord","_uint",0}, | |
8400 | { "_wxCoord","_EBool",0}, | |
8401 | { "_wxCoord","_size_t",0}, | |
c368d904 | 8402 | { "_wxCoord","_time_t",0}, |
99ab9f3b | 8403 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 8404 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
99ab9f3b | 8405 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 8406 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 8407 | { "_class_wxTipProvider","_wxTipProvider",0}, |
e91a9dfc RD |
8408 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
8409 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
c368d904 | 8410 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
e91a9dfc RD |
8411 | { "_wxRegion","_class_wxRegion",0}, |
8412 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8413 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 8414 | { "_wxSizer","_class_wxSizer",0}, |
c368d904 RD |
8415 | { "_class_wxDateSpan","_wxDateSpan",0}, |
8416 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
e91a9dfc | 8417 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 8418 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
99ab9f3b RD |
8419 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
8420 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
8421 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
e91a9dfc RD |
8422 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
8423 | { "_wxGauge","_class_wxGauge",0}, | |
8424 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
99ab9f3b | 8425 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
de20db99 | 8426 | { "_class_wxJoystick","_wxJoystick",0}, |
e91a9dfc RD |
8427 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
8428 | { "_class_wxClientDC","_wxClientDC",0}, | |
8429 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8430 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
8431 | { "_class_wxPyDividedShape","_wxPyDividedShape",0}, | |
8432 | { "_wxPyEllipseShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
8433 | { "_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
8434 | { "_wxPyEllipseShape","_class_wxPyEllipseShape",0}, | |
99ab9f3b | 8435 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
c368d904 | 8436 | { "_class_wxLogNull","_wxLogNull",0}, |
e91a9dfc RD |
8437 | { "_class_wxSize","_wxSize",0}, |
8438 | { "_class_wxBitmap","_wxBitmap",0}, | |
8439 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
99ab9f3b | 8440 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc | 8441 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 | 8442 | { "_wxOutputStream","_class_wxOutputStream",0}, |
e91a9dfc RD |
8443 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
8444 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
8445 | { "_wxPyShapeEvtHandler","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8446 | { "_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8447 | { "_wxPyShapeEvtHandler","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8448 | { "_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8449 | { "_wxPyShapeEvtHandler","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8450 | { "_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8451 | { "_wxPyShapeEvtHandler","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8452 | { "_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8453 | { "_wxPyShapeEvtHandler","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8454 | { "_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8455 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
8456 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8457 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8458 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
8459 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
8460 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc RD |
8461 | { "_wxPyRectangleShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, |
8462 | { "_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
8463 | { "_wxPyRectangleShape","_class_wxPyRectangleShape",0}, | |
8464 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
f6bcfd97 | 8465 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc | 8466 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
c368d904 | 8467 | { "_class_wxConfig","_wxConfig",0}, |
e91a9dfc RD |
8468 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
8469 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8470 | { "_wxOGLConstraint","_class_wxOGLConstraint",0}, | |
8471 | { "_wxColourData","_class_wxColourData",0}, | |
8472 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
8473 | { "_class_wxPalette","_wxPalette",0}, | |
99ab9f3b | 8474 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 8475 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 8476 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 8477 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
99ab9f3b | 8478 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc RD |
8479 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
8480 | { "_class_wxPyTextShape","_wxPyTextShape",0}, | |
99ab9f3b RD |
8481 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
8482 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
8483 | { "_class_wxFontDialog","_wxFontDialog",0}, |
8484 | { "_wxWindow","_class_wxWindow",0}, | |
99ab9f3b | 8485 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
c368d904 RD |
8486 | { "_wxLogStderr","_class_wxLogStderr",0}, |
8487 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
8488 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
e91a9dfc RD |
8489 | { "_class_wxFrame","_wxFrame",0}, |
8490 | {0,0,0}}; | |
8491 | ||
8492 | static PyObject *SWIG_globals; | |
8493 | #ifdef __cplusplus | |
8494 | extern "C" | |
8495 | #endif | |
8496 | SWIGEXPORT(void) initoglshapes2c() { | |
8497 | PyObject *m, *d; | |
8498 | SWIG_globals = SWIG_newvarlink(); | |
8499 | m = Py_InitModule("oglshapes2c", oglshapes2cMethods); | |
8500 | d = PyModule_GetDict(m); | |
8501 | { | |
8502 | int i; | |
8503 | for (i = 0; _swig_mapping[i].n1; i++) | |
8504 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8505 | } | |
8506 | } |