]>
Commit | Line | Data |
---|---|---|
e91a9dfc RD |
1 | /* |
2 | * FILE : ./oglshapes2.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 810) | |
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__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #define SWIG_init initoglshapes2c | |
53 | ||
54 | #define SWIG_name "oglshapes2c" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include "oglhelpers.h" | |
58 | ||
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | PyObject* o3; | |
62 | if (!target) { | |
63 | target = o; | |
64 | } else if (target == Py_None) { | |
65 | Py_DECREF(Py_None); | |
66 | target = o; | |
67 | } else { | |
68 | if (!PyList_Check(target)) { | |
69 | o2 = target; | |
70 | target = PyList_New(0); | |
71 | PyList_Append(target, o2); | |
72 | Py_XDECREF(o2); | |
73 | } | |
74 | PyList_Append(target,o); | |
75 | Py_XDECREF(o); | |
76 | } | |
77 | return target; | |
78 | } | |
79 | ||
80 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
82 | PyObject* o3; | |
83 | ||
84 | if (!target) { | |
85 | target = o; | |
86 | } else if (target == Py_None) { | |
87 | Py_DECREF(Py_None); | |
88 | target = o; | |
89 | } else { | |
90 | if (!PyTuple_Check(target)) { | |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
95 | o3 = PyTuple_New(1); | |
96 | PyTuple_SetItem(o3, 0, o); | |
97 | ||
98 | o2 = target; | |
99 | target = PySequence_Concat(o2, o3); | |
100 | Py_DECREF(o2); | |
101 | Py_DECREF(o3); | |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
106 | ||
107 | HELPEREXPORT byte* byte_LIST_helper(PyObject* source); | |
108 | HELPEREXPORT int* int_LIST_helper(PyObject* source); | |
109 | HELPEREXPORT long* long_LIST_helper(PyObject* source); | |
110 | HELPEREXPORT char** string_LIST_helper(PyObject* source); | |
111 | HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source); | |
112 | HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source); | |
113 | HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source); | |
114 | HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source); | |
115 | ||
116 | ||
117 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
118 | ||
119 | WXSHAPE_IMP_CALLBACKS(wxPyEllipseShape, wxEllipseShape); | |
120 | ||
121 | WXSHAPE_IMP_CALLBACKS(wxPyCircleShape, wxCircleShape); | |
122 | ||
123 | WXSHAPE_IMP_CALLBACKS(wxPyLineShape, wxLineShape); | |
124 | ||
125 | WXSHAPE_IMP_CALLBACKS(wxPyPolygonShape, wxPolygonShape); | |
126 | ||
127 | WXSHAPE_IMP_CALLBACKS(wxPyTextShape, wxTextShape); | |
128 | #ifdef __cplusplus | |
129 | extern "C" { | |
130 | #endif | |
131 | static void *SwigwxPyEllipseShapeTowxPyShape(void *ptr) { | |
132 | wxPyEllipseShape *src; | |
133 | wxPyShape *dest; | |
134 | src = (wxPyEllipseShape *) ptr; | |
135 | dest = (wxPyShape *) src; | |
136 | return (void *) dest; | |
137 | } | |
138 | ||
139 | static void *SwigwxPyEllipseShapeTowxPyShapeEvtHandler(void *ptr) { | |
140 | wxPyEllipseShape *src; | |
141 | wxPyShapeEvtHandler *dest; | |
142 | src = (wxPyEllipseShape *) ptr; | |
143 | dest = (wxPyShapeEvtHandler *) src; | |
144 | return (void *) dest; | |
145 | } | |
146 | ||
147 | #define new_wxPyEllipseShape(_swigarg0,_swigarg1) (new wxPyEllipseShape(_swigarg0,_swigarg1)) | |
148 | static PyObject *_wrap_new_wxPyEllipseShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
149 | PyObject * _resultobj; | |
150 | wxPyEllipseShape * _result; | |
151 | double _arg0 = (double ) 0.0; | |
152 | double _arg1 = (double ) 0.0; | |
153 | char *_kwnames[] = { "width","height", NULL }; | |
154 | char _ptemp[128]; | |
155 | ||
156 | self = self; | |
157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyEllipseShape",_kwnames,&_arg0,&_arg1)) | |
158 | return NULL; | |
159 | { | |
160 | wxPy_BEGIN_ALLOW_THREADS; | |
161 | _result = (wxPyEllipseShape *)new_wxPyEllipseShape(_arg0,_arg1); | |
162 | ||
163 | wxPy_END_ALLOW_THREADS; | |
164 | } if (_result) { | |
165 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyEllipseShape_p"); | |
166 | _resultobj = Py_BuildValue("s",_ptemp); | |
167 | } else { | |
168 | Py_INCREF(Py_None); | |
169 | _resultobj = Py_None; | |
170 | } | |
171 | return _resultobj; | |
172 | } | |
173 | ||
174 | #define wxPyEllipseShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
175 | static PyObject *_wrap_wxPyEllipseShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
176 | PyObject * _resultobj; | |
177 | wxPyEllipseShape * _arg0; | |
178 | PyObject * _arg1; | |
179 | PyObject * _argo0 = 0; | |
180 | PyObject * _obj1 = 0; | |
181 | char *_kwnames[] = { "self","self", NULL }; | |
182 | ||
183 | self = self; | |
184 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
185 | return NULL; | |
186 | if (_argo0) { | |
187 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
188 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape__setSelf. Expected _wxPyEllipseShape_p."); | |
190 | return NULL; | |
191 | } | |
192 | } | |
193 | { | |
194 | _arg1 = _obj1; | |
195 | } | |
196 | { | |
197 | wxPy_BEGIN_ALLOW_THREADS; | |
198 | wxPyEllipseShape__setSelf(_arg0,_arg1); | |
199 | ||
200 | wxPy_END_ALLOW_THREADS; | |
201 | } Py_INCREF(Py_None); | |
202 | _resultobj = Py_None; | |
203 | return _resultobj; | |
204 | } | |
205 | ||
206 | #define wxPyEllipseShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
207 | static PyObject *_wrap_wxPyEllipseShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
208 | PyObject * _resultobj; | |
209 | wxPyEllipseShape * _arg0; | |
210 | wxDC * _arg1; | |
211 | PyObject * _argo0 = 0; | |
212 | PyObject * _argo1 = 0; | |
213 | char *_kwnames[] = { "self","dc", NULL }; | |
214 | ||
215 | self = self; | |
216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
217 | return NULL; | |
218 | if (_argo0) { | |
219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDraw. Expected _wxPyEllipseShape_p."); | |
222 | return NULL; | |
223 | } | |
224 | } | |
225 | if (_argo1) { | |
226 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
227 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDraw. Expected _wxDC_p."); | |
229 | return NULL; | |
230 | } | |
231 | } | |
232 | { | |
233 | wxPy_BEGIN_ALLOW_THREADS; | |
234 | wxPyEllipseShape_base_OnDraw(_arg0,*_arg1); | |
235 | ||
236 | wxPy_END_ALLOW_THREADS; | |
237 | } Py_INCREF(Py_None); | |
238 | _resultobj = Py_None; | |
239 | return _resultobj; | |
240 | } | |
241 | ||
242 | #define wxPyEllipseShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
243 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
244 | PyObject * _resultobj; | |
245 | wxPyEllipseShape * _arg0; | |
246 | wxDC * _arg1; | |
247 | PyObject * _argo0 = 0; | |
248 | PyObject * _argo1 = 0; | |
249 | char *_kwnames[] = { "self","dc", NULL }; | |
250 | ||
251 | self = self; | |
252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
253 | return NULL; | |
254 | if (_argo0) { | |
255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawContents. Expected _wxPyEllipseShape_p."); | |
258 | return NULL; | |
259 | } | |
260 | } | |
261 | if (_argo1) { | |
262 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
263 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawContents. Expected _wxDC_p."); | |
265 | return NULL; | |
266 | } | |
267 | } | |
268 | { | |
269 | wxPy_BEGIN_ALLOW_THREADS; | |
270 | wxPyEllipseShape_base_OnDrawContents(_arg0,*_arg1); | |
271 | ||
272 | wxPy_END_ALLOW_THREADS; | |
273 | } Py_INCREF(Py_None); | |
274 | _resultobj = Py_None; | |
275 | return _resultobj; | |
276 | } | |
277 | ||
278 | #define wxPyEllipseShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
279 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
280 | PyObject * _resultobj; | |
281 | wxPyEllipseShape * _arg0; | |
282 | wxDC * _arg1; | |
283 | bool _arg2 = (bool ) FALSE; | |
284 | PyObject * _argo0 = 0; | |
285 | PyObject * _argo1 = 0; | |
286 | int tempbool2 = (int) FALSE; | |
287 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
288 | ||
289 | self = self; | |
290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
291 | return NULL; | |
292 | if (_argo0) { | |
293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxPyEllipseShape_p."); | |
296 | return NULL; | |
297 | } | |
298 | } | |
299 | if (_argo1) { | |
300 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
301 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawBranches. Expected _wxDC_p."); | |
303 | return NULL; | |
304 | } | |
305 | } | |
306 | _arg2 = (bool ) tempbool2; | |
307 | { | |
308 | wxPy_BEGIN_ALLOW_THREADS; | |
309 | wxPyEllipseShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
310 | ||
311 | wxPy_END_ALLOW_THREADS; | |
312 | } Py_INCREF(Py_None); | |
313 | _resultobj = Py_None; | |
314 | return _resultobj; | |
315 | } | |
316 | ||
317 | #define wxPyEllipseShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
318 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
319 | PyObject * _resultobj; | |
320 | wxPyEllipseShape * _arg0; | |
321 | wxDC * _arg1; | |
322 | PyObject * _argo0 = 0; | |
323 | PyObject * _argo1 = 0; | |
324 | char *_kwnames[] = { "self","dc", NULL }; | |
325 | ||
326 | self = self; | |
327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
328 | return NULL; | |
329 | if (_argo0) { | |
330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxPyEllipseShape_p."); | |
333 | return NULL; | |
334 | } | |
335 | } | |
336 | if (_argo1) { | |
337 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
338 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLinks. Expected _wxDC_p."); | |
340 | return NULL; | |
341 | } | |
342 | } | |
343 | { | |
344 | wxPy_BEGIN_ALLOW_THREADS; | |
345 | wxPyEllipseShape_base_OnMoveLinks(_arg0,*_arg1); | |
346 | ||
347 | wxPy_END_ALLOW_THREADS; | |
348 | } Py_INCREF(Py_None); | |
349 | _resultobj = Py_None; | |
350 | return _resultobj; | |
351 | } | |
352 | ||
353 | #define wxPyEllipseShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
354 | static PyObject *_wrap_wxPyEllipseShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
355 | PyObject * _resultobj; | |
356 | wxPyEllipseShape * _arg0; | |
357 | wxDC * _arg1; | |
358 | PyObject * _argo0 = 0; | |
359 | PyObject * _argo1 = 0; | |
360 | char *_kwnames[] = { "self","dc", NULL }; | |
361 | ||
362 | self = self; | |
363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
364 | return NULL; | |
365 | if (_argo0) { | |
366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnErase. Expected _wxPyEllipseShape_p."); | |
369 | return NULL; | |
370 | } | |
371 | } | |
372 | if (_argo1) { | |
373 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
374 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnErase. Expected _wxDC_p."); | |
376 | return NULL; | |
377 | } | |
378 | } | |
379 | { | |
380 | wxPy_BEGIN_ALLOW_THREADS; | |
381 | wxPyEllipseShape_base_OnErase(_arg0,*_arg1); | |
382 | ||
383 | wxPy_END_ALLOW_THREADS; | |
384 | } Py_INCREF(Py_None); | |
385 | _resultobj = Py_None; | |
386 | return _resultobj; | |
387 | } | |
388 | ||
389 | #define wxPyEllipseShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
390 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
391 | PyObject * _resultobj; | |
392 | wxPyEllipseShape * _arg0; | |
393 | wxDC * _arg1; | |
394 | PyObject * _argo0 = 0; | |
395 | PyObject * _argo1 = 0; | |
396 | char *_kwnames[] = { "self","dc", NULL }; | |
397 | ||
398 | self = self; | |
399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
400 | return NULL; | |
401 | if (_argo0) { | |
402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseContents. Expected _wxPyEllipseShape_p."); | |
405 | return NULL; | |
406 | } | |
407 | } | |
408 | if (_argo1) { | |
409 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
410 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseContents. Expected _wxDC_p."); | |
412 | return NULL; | |
413 | } | |
414 | } | |
415 | { | |
416 | wxPy_BEGIN_ALLOW_THREADS; | |
417 | wxPyEllipseShape_base_OnEraseContents(_arg0,*_arg1); | |
418 | ||
419 | wxPy_END_ALLOW_THREADS; | |
420 | } Py_INCREF(Py_None); | |
421 | _resultobj = Py_None; | |
422 | return _resultobj; | |
423 | } | |
424 | ||
425 | #define wxPyEllipseShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
426 | static PyObject *_wrap_wxPyEllipseShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
427 | PyObject * _resultobj; | |
428 | wxPyEllipseShape * _arg0; | |
429 | wxDC * _arg1; | |
430 | PyObject * _argo0 = 0; | |
431 | PyObject * _argo1 = 0; | |
432 | char *_kwnames[] = { "self","dc", NULL }; | |
433 | ||
434 | self = self; | |
435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
436 | return NULL; | |
437 | if (_argo0) { | |
438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnHighlight. Expected _wxPyEllipseShape_p."); | |
441 | return NULL; | |
442 | } | |
443 | } | |
444 | if (_argo1) { | |
445 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
446 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnHighlight. Expected _wxDC_p."); | |
448 | return NULL; | |
449 | } | |
450 | } | |
451 | { | |
452 | wxPy_BEGIN_ALLOW_THREADS; | |
453 | wxPyEllipseShape_base_OnHighlight(_arg0,*_arg1); | |
454 | ||
455 | wxPy_END_ALLOW_THREADS; | |
456 | } Py_INCREF(Py_None); | |
457 | _resultobj = Py_None; | |
458 | return _resultobj; | |
459 | } | |
460 | ||
461 | #define wxPyEllipseShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
462 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
463 | PyObject * _resultobj; | |
464 | wxPyEllipseShape * _arg0; | |
465 | double _arg1; | |
466 | double _arg2; | |
467 | int _arg3 = (int ) 0; | |
468 | int _arg4 = (int ) 0; | |
469 | PyObject * _argo0 = 0; | |
470 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
471 | ||
472 | self = self; | |
473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
474 | return NULL; | |
475 | if (_argo0) { | |
476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftClick. Expected _wxPyEllipseShape_p."); | |
479 | return NULL; | |
480 | } | |
481 | } | |
482 | { | |
483 | wxPy_BEGIN_ALLOW_THREADS; | |
484 | wxPyEllipseShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
485 | ||
486 | wxPy_END_ALLOW_THREADS; | |
487 | } Py_INCREF(Py_None); | |
488 | _resultobj = Py_None; | |
489 | return _resultobj; | |
490 | } | |
491 | ||
492 | #define wxPyEllipseShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
493 | static PyObject *_wrap_wxPyEllipseShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
494 | PyObject * _resultobj; | |
495 | wxPyEllipseShape * _arg0; | |
496 | double _arg1; | |
497 | double _arg2; | |
498 | int _arg3 = (int ) 0; | |
499 | int _arg4 = (int ) 0; | |
500 | PyObject * _argo0 = 0; | |
501 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
502 | ||
503 | self = self; | |
504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
505 | return NULL; | |
506 | if (_argo0) { | |
507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnLeftDoubleClick. Expected _wxPyEllipseShape_p."); | |
510 | return NULL; | |
511 | } | |
512 | } | |
513 | { | |
514 | wxPy_BEGIN_ALLOW_THREADS; | |
515 | wxPyEllipseShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
516 | ||
517 | wxPy_END_ALLOW_THREADS; | |
518 | } Py_INCREF(Py_None); | |
519 | _resultobj = Py_None; | |
520 | return _resultobj; | |
521 | } | |
522 | ||
523 | #define wxPyEllipseShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
524 | static PyObject *_wrap_wxPyEllipseShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
525 | PyObject * _resultobj; | |
526 | wxPyEllipseShape * _arg0; | |
527 | double _arg1; | |
528 | double _arg2; | |
529 | int _arg3 = (int ) 0; | |
530 | int _arg4 = (int ) 0; | |
531 | PyObject * _argo0 = 0; | |
532 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
533 | ||
534 | self = self; | |
535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
536 | return NULL; | |
537 | if (_argo0) { | |
538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnRightClick. Expected _wxPyEllipseShape_p."); | |
541 | return NULL; | |
542 | } | |
543 | } | |
544 | { | |
545 | wxPy_BEGIN_ALLOW_THREADS; | |
546 | wxPyEllipseShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
547 | ||
548 | wxPy_END_ALLOW_THREADS; | |
549 | } Py_INCREF(Py_None); | |
550 | _resultobj = Py_None; | |
551 | return _resultobj; | |
552 | } | |
553 | ||
554 | #define wxPyEllipseShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
555 | static PyObject *_wrap_wxPyEllipseShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
556 | PyObject * _resultobj; | |
557 | wxPyEllipseShape * _arg0; | |
558 | double _arg1; | |
559 | double _arg2; | |
560 | PyObject * _argo0 = 0; | |
561 | char *_kwnames[] = { "self","x","y", NULL }; | |
562 | ||
563 | self = self; | |
564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
565 | return NULL; | |
566 | if (_argo0) { | |
567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSize. Expected _wxPyEllipseShape_p."); | |
570 | return NULL; | |
571 | } | |
572 | } | |
573 | { | |
574 | wxPy_BEGIN_ALLOW_THREADS; | |
575 | wxPyEllipseShape_base_OnSize(_arg0,_arg1,_arg2); | |
576 | ||
577 | wxPy_END_ALLOW_THREADS; | |
578 | } Py_INCREF(Py_None); | |
579 | _resultobj = Py_None; | |
580 | return _resultobj; | |
581 | } | |
582 | ||
583 | #define wxPyEllipseShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
584 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
585 | PyObject * _resultobj; | |
586 | bool _result; | |
587 | wxPyEllipseShape * _arg0; | |
588 | wxDC * _arg1; | |
589 | double _arg2; | |
590 | double _arg3; | |
591 | double _arg4; | |
592 | double _arg5; | |
593 | bool _arg6 = (bool ) TRUE; | |
594 | PyObject * _argo0 = 0; | |
595 | PyObject * _argo1 = 0; | |
596 | int tempbool6 = (int) TRUE; | |
597 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
598 | ||
599 | self = self; | |
600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
601 | return NULL; | |
602 | if (_argo0) { | |
603 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
604 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePre. Expected _wxPyEllipseShape_p."); | |
606 | return NULL; | |
607 | } | |
608 | } | |
609 | if (_argo1) { | |
610 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
611 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePre. Expected _wxDC_p."); | |
613 | return NULL; | |
614 | } | |
615 | } | |
616 | _arg6 = (bool ) tempbool6; | |
617 | { | |
618 | wxPy_BEGIN_ALLOW_THREADS; | |
619 | _result = (bool )wxPyEllipseShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
620 | ||
621 | wxPy_END_ALLOW_THREADS; | |
622 | } _resultobj = Py_BuildValue("i",_result); | |
623 | return _resultobj; | |
624 | } | |
625 | ||
626 | #define wxPyEllipseShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
627 | static PyObject *_wrap_wxPyEllipseShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
628 | PyObject * _resultobj; | |
629 | wxPyEllipseShape * _arg0; | |
630 | wxDC * _arg1; | |
631 | double _arg2; | |
632 | double _arg3; | |
633 | double _arg4; | |
634 | double _arg5; | |
635 | bool _arg6 = (bool ) TRUE; | |
636 | PyObject * _argo0 = 0; | |
637 | PyObject * _argo1 = 0; | |
638 | int tempbool6 = (int) TRUE; | |
639 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
640 | ||
641 | self = self; | |
642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyEllipseShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
643 | return NULL; | |
644 | if (_argo0) { | |
645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMovePost. Expected _wxPyEllipseShape_p."); | |
648 | return NULL; | |
649 | } | |
650 | } | |
651 | if (_argo1) { | |
652 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
653 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMovePost. Expected _wxDC_p."); | |
655 | return NULL; | |
656 | } | |
657 | } | |
658 | _arg6 = (bool ) tempbool6; | |
659 | { | |
660 | wxPy_BEGIN_ALLOW_THREADS; | |
661 | wxPyEllipseShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
662 | ||
663 | wxPy_END_ALLOW_THREADS; | |
664 | } Py_INCREF(Py_None); | |
665 | _resultobj = Py_None; | |
666 | return _resultobj; | |
667 | } | |
668 | ||
669 | #define wxPyEllipseShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
670 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
671 | PyObject * _resultobj; | |
672 | wxPyEllipseShape * _arg0; | |
673 | bool _arg1; | |
674 | double _arg2; | |
675 | double _arg3; | |
676 | int _arg4 = (int ) 0; | |
677 | int _arg5 = (int ) 0; | |
678 | PyObject * _argo0 = 0; | |
679 | int tempbool1; | |
680 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
681 | ||
682 | self = self; | |
683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
684 | return NULL; | |
685 | if (_argo0) { | |
686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragLeft. Expected _wxPyEllipseShape_p."); | |
689 | return NULL; | |
690 | } | |
691 | } | |
692 | _arg1 = (bool ) tempbool1; | |
693 | { | |
694 | wxPy_BEGIN_ALLOW_THREADS; | |
695 | wxPyEllipseShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
696 | ||
697 | wxPy_END_ALLOW_THREADS; | |
698 | } Py_INCREF(Py_None); | |
699 | _resultobj = Py_None; | |
700 | return _resultobj; | |
701 | } | |
702 | ||
703 | #define wxPyEllipseShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
704 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
705 | PyObject * _resultobj; | |
706 | wxPyEllipseShape * _arg0; | |
707 | double _arg1; | |
708 | double _arg2; | |
709 | int _arg3 = (int ) 0; | |
710 | int _arg4 = (int ) 0; | |
711 | PyObject * _argo0 = 0; | |
712 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
713 | ||
714 | self = self; | |
715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
716 | return NULL; | |
717 | if (_argo0) { | |
718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
721 | return NULL; | |
722 | } | |
723 | } | |
724 | { | |
725 | wxPy_BEGIN_ALLOW_THREADS; | |
726 | wxPyEllipseShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
727 | ||
728 | wxPy_END_ALLOW_THREADS; | |
729 | } Py_INCREF(Py_None); | |
730 | _resultobj = Py_None; | |
731 | return _resultobj; | |
732 | } | |
733 | ||
734 | #define wxPyEllipseShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
735 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
736 | PyObject * _resultobj; | |
737 | wxPyEllipseShape * _arg0; | |
738 | double _arg1; | |
739 | double _arg2; | |
740 | int _arg3 = (int ) 0; | |
741 | int _arg4 = (int ) 0; | |
742 | PyObject * _argo0 = 0; | |
743 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
744 | ||
745 | self = self; | |
746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
747 | return NULL; | |
748 | if (_argo0) { | |
749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragLeft. Expected _wxPyEllipseShape_p."); | |
752 | return NULL; | |
753 | } | |
754 | } | |
755 | { | |
756 | wxPy_BEGIN_ALLOW_THREADS; | |
757 | wxPyEllipseShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
758 | ||
759 | wxPy_END_ALLOW_THREADS; | |
760 | } Py_INCREF(Py_None); | |
761 | _resultobj = Py_None; | |
762 | return _resultobj; | |
763 | } | |
764 | ||
765 | #define wxPyEllipseShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
766 | static PyObject *_wrap_wxPyEllipseShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
767 | PyObject * _resultobj; | |
768 | wxPyEllipseShape * _arg0; | |
769 | bool _arg1; | |
770 | double _arg2; | |
771 | double _arg3; | |
772 | int _arg4 = (int ) 0; | |
773 | int _arg5 = (int ) 0; | |
774 | PyObject * _argo0 = 0; | |
775 | int tempbool1; | |
776 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
777 | ||
778 | self = self; | |
779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyEllipseShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
780 | return NULL; | |
781 | if (_argo0) { | |
782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDragRight. Expected _wxPyEllipseShape_p."); | |
785 | return NULL; | |
786 | } | |
787 | } | |
788 | _arg1 = (bool ) tempbool1; | |
789 | { | |
790 | wxPy_BEGIN_ALLOW_THREADS; | |
791 | wxPyEllipseShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
792 | ||
793 | wxPy_END_ALLOW_THREADS; | |
794 | } Py_INCREF(Py_None); | |
795 | _resultobj = Py_None; | |
796 | return _resultobj; | |
797 | } | |
798 | ||
799 | #define wxPyEllipseShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
800 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
801 | PyObject * _resultobj; | |
802 | wxPyEllipseShape * _arg0; | |
803 | double _arg1; | |
804 | double _arg2; | |
805 | int _arg3 = (int ) 0; | |
806 | int _arg4 = (int ) 0; | |
807 | PyObject * _argo0 = 0; | |
808 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
809 | ||
810 | self = self; | |
811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
812 | return NULL; | |
813 | if (_argo0) { | |
814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginDragRight. Expected _wxPyEllipseShape_p."); | |
817 | return NULL; | |
818 | } | |
819 | } | |
820 | { | |
821 | wxPy_BEGIN_ALLOW_THREADS; | |
822 | wxPyEllipseShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
823 | ||
824 | wxPy_END_ALLOW_THREADS; | |
825 | } Py_INCREF(Py_None); | |
826 | _resultobj = Py_None; | |
827 | return _resultobj; | |
828 | } | |
829 | ||
830 | #define wxPyEllipseShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
831 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
832 | PyObject * _resultobj; | |
833 | wxPyEllipseShape * _arg0; | |
834 | double _arg1; | |
835 | double _arg2; | |
836 | int _arg3 = (int ) 0; | |
837 | int _arg4 = (int ) 0; | |
838 | PyObject * _argo0 = 0; | |
839 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
840 | ||
841 | self = self; | |
842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyEllipseShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
843 | return NULL; | |
844 | if (_argo0) { | |
845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndDragRight. Expected _wxPyEllipseShape_p."); | |
848 | return NULL; | |
849 | } | |
850 | } | |
851 | { | |
852 | wxPy_BEGIN_ALLOW_THREADS; | |
853 | wxPyEllipseShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
854 | ||
855 | wxPy_END_ALLOW_THREADS; | |
856 | } Py_INCREF(Py_None); | |
857 | _resultobj = Py_None; | |
858 | return _resultobj; | |
859 | } | |
860 | ||
861 | #define wxPyEllipseShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
862 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
863 | PyObject * _resultobj; | |
864 | wxPyEllipseShape * _arg0; | |
865 | wxDC * _arg1; | |
866 | double _arg2; | |
867 | double _arg3; | |
868 | double _arg4; | |
869 | double _arg5; | |
870 | PyObject * _argo0 = 0; | |
871 | PyObject * _argo1 = 0; | |
872 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
873 | ||
874 | self = self; | |
875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyEllipseShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
876 | return NULL; | |
877 | if (_argo0) { | |
878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxPyEllipseShape_p."); | |
881 | return NULL; | |
882 | } | |
883 | } | |
884 | if (_argo1) { | |
885 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
886 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawOutline. Expected _wxDC_p."); | |
888 | return NULL; | |
889 | } | |
890 | } | |
891 | { | |
892 | wxPy_BEGIN_ALLOW_THREADS; | |
893 | wxPyEllipseShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
894 | ||
895 | wxPy_END_ALLOW_THREADS; | |
896 | } Py_INCREF(Py_None); | |
897 | _resultobj = Py_None; | |
898 | return _resultobj; | |
899 | } | |
900 | ||
901 | #define wxPyEllipseShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
902 | static PyObject *_wrap_wxPyEllipseShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
903 | PyObject * _resultobj; | |
904 | wxPyEllipseShape * _arg0; | |
905 | wxDC * _arg1; | |
906 | PyObject * _argo0 = 0; | |
907 | PyObject * _argo1 = 0; | |
908 | char *_kwnames[] = { "self","dc", NULL }; | |
909 | ||
910 | self = self; | |
911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
912 | return NULL; | |
913 | if (_argo0) { | |
914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxPyEllipseShape_p."); | |
917 | return NULL; | |
918 | } | |
919 | } | |
920 | if (_argo1) { | |
921 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
922 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
924 | return NULL; | |
925 | } | |
926 | } | |
927 | { | |
928 | wxPy_BEGIN_ALLOW_THREADS; | |
929 | wxPyEllipseShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
930 | ||
931 | wxPy_END_ALLOW_THREADS; | |
932 | } Py_INCREF(Py_None); | |
933 | _resultobj = Py_None; | |
934 | return _resultobj; | |
935 | } | |
936 | ||
937 | #define wxPyEllipseShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
938 | static PyObject *_wrap_wxPyEllipseShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
939 | PyObject * _resultobj; | |
940 | wxPyEllipseShape * _arg0; | |
941 | wxDC * _arg1; | |
942 | PyObject * _argo0 = 0; | |
943 | PyObject * _argo1 = 0; | |
944 | char *_kwnames[] = { "self","dc", NULL }; | |
945 | ||
946 | self = self; | |
947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyEllipseShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
948 | return NULL; | |
949 | if (_argo0) { | |
950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxPyEllipseShape_p."); | |
953 | return NULL; | |
954 | } | |
955 | } | |
956 | if (_argo1) { | |
957 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
958 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
960 | return NULL; | |
961 | } | |
962 | } | |
963 | { | |
964 | wxPy_BEGIN_ALLOW_THREADS; | |
965 | wxPyEllipseShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
966 | ||
967 | wxPy_END_ALLOW_THREADS; | |
968 | } Py_INCREF(Py_None); | |
969 | _resultobj = Py_None; | |
970 | return _resultobj; | |
971 | } | |
972 | ||
973 | #define wxPyEllipseShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
974 | static PyObject *_wrap_wxPyEllipseShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
975 | PyObject * _resultobj; | |
976 | wxPyEllipseShape * _arg0; | |
977 | wxDC * _arg1; | |
978 | bool _arg2 = (bool ) TRUE; | |
979 | PyObject * _argo0 = 0; | |
980 | PyObject * _argo1 = 0; | |
981 | int tempbool2 = (int) TRUE; | |
982 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
983 | ||
984 | self = self; | |
985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyEllipseShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
986 | return NULL; | |
987 | if (_argo0) { | |
988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnMoveLink. Expected _wxPyEllipseShape_p."); | |
991 | return NULL; | |
992 | } | |
993 | } | |
994 | if (_argo1) { | |
995 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
996 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnMoveLink. Expected _wxDC_p."); | |
998 | return NULL; | |
999 | } | |
1000 | } | |
1001 | _arg2 = (bool ) tempbool2; | |
1002 | { | |
1003 | wxPy_BEGIN_ALLOW_THREADS; | |
1004 | wxPyEllipseShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
1005 | ||
1006 | wxPy_END_ALLOW_THREADS; | |
1007 | } Py_INCREF(Py_None); | |
1008 | _resultobj = Py_None; | |
1009 | return _resultobj; | |
1010 | } | |
1011 | ||
1012 | #define wxPyEllipseShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
1013 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1014 | PyObject * _resultobj; | |
1015 | wxPyEllipseShape * _arg0; | |
1016 | wxControlPoint * _arg1; | |
1017 | bool _arg2; | |
1018 | double _arg3; | |
1019 | double _arg4; | |
1020 | int _arg5 = (int ) 0; | |
1021 | int _arg6 = (int ) 0; | |
1022 | PyObject * _argo0 = 0; | |
1023 | PyObject * _argo1 = 0; | |
1024 | int tempbool2; | |
1025 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
1026 | ||
1027 | self = self; | |
1028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyEllipseShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
1029 | return NULL; | |
1030 | if (_argo0) { | |
1031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxPyEllipseShape_p."); | |
1034 | return NULL; | |
1035 | } | |
1036 | } | |
1037 | if (_argo1) { | |
1038 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1039 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
1040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingDragLeft. Expected _wxControlPoint_p."); | |
1041 | return NULL; | |
1042 | } | |
1043 | } | |
1044 | _arg2 = (bool ) tempbool2; | |
1045 | { | |
1046 | wxPy_BEGIN_ALLOW_THREADS; | |
1047 | wxPyEllipseShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
1048 | ||
1049 | wxPy_END_ALLOW_THREADS; | |
1050 | } Py_INCREF(Py_None); | |
1051 | _resultobj = Py_None; | |
1052 | return _resultobj; | |
1053 | } | |
1054 | ||
1055 | #define wxPyEllipseShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1056 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1057 | PyObject * _resultobj; | |
1058 | wxPyEllipseShape * _arg0; | |
1059 | wxControlPoint * _arg1; | |
1060 | double _arg2; | |
1061 | double _arg3; | |
1062 | int _arg4 = (int ) 0; | |
1063 | int _arg5 = (int ) 0; | |
1064 | PyObject * _argo0 = 0; | |
1065 | PyObject * _argo1 = 0; | |
1066 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1067 | ||
1068 | self = self; | |
1069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1070 | return NULL; | |
1071 | if (_argo0) { | |
1072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxPyEllipseShape_p."); | |
1075 | return NULL; | |
1076 | } | |
1077 | } | |
1078 | if (_argo1) { | |
1079 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1080 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
1081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p."); | |
1082 | return NULL; | |
1083 | } | |
1084 | } | |
1085 | { | |
1086 | wxPy_BEGIN_ALLOW_THREADS; | |
1087 | wxPyEllipseShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1088 | ||
1089 | wxPy_END_ALLOW_THREADS; | |
1090 | } Py_INCREF(Py_None); | |
1091 | _resultobj = Py_None; | |
1092 | return _resultobj; | |
1093 | } | |
1094 | ||
1095 | #define wxPyEllipseShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
1096 | static PyObject *_wrap_wxPyEllipseShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1097 | PyObject * _resultobj; | |
1098 | wxPyEllipseShape * _arg0; | |
1099 | wxControlPoint * _arg1; | |
1100 | double _arg2; | |
1101 | double _arg3; | |
1102 | int _arg4 = (int ) 0; | |
1103 | int _arg5 = (int ) 0; | |
1104 | PyObject * _argo0 = 0; | |
1105 | PyObject * _argo1 = 0; | |
1106 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
1107 | ||
1108 | self = self; | |
1109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyEllipseShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
1110 | return NULL; | |
1111 | if (_argo0) { | |
1112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxPyEllipseShape_p."); | |
1115 | return NULL; | |
1116 | } | |
1117 | } | |
1118 | if (_argo1) { | |
1119 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1120 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
1121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyEllipseShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p."); | |
1122 | return NULL; | |
1123 | } | |
1124 | } | |
1125 | { | |
1126 | wxPy_BEGIN_ALLOW_THREADS; | |
1127 | wxPyEllipseShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
1128 | ||
1129 | wxPy_END_ALLOW_THREADS; | |
1130 | } Py_INCREF(Py_None); | |
1131 | _resultobj = Py_None; | |
1132 | return _resultobj; | |
1133 | } | |
1134 | ||
1135 | #define wxPyEllipseShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
1136 | static PyObject *_wrap_wxPyEllipseShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1137 | PyObject * _resultobj; | |
1138 | wxPyEllipseShape * _arg0; | |
1139 | double _arg1; | |
1140 | double _arg2; | |
1141 | PyObject * _argo0 = 0; | |
1142 | char *_kwnames[] = { "self","w","h", NULL }; | |
1143 | ||
1144 | self = self; | |
1145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1146 | return NULL; | |
1147 | if (_argo0) { | |
1148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnBeginSize. Expected _wxPyEllipseShape_p."); | |
1151 | return NULL; | |
1152 | } | |
1153 | } | |
1154 | { | |
1155 | wxPy_BEGIN_ALLOW_THREADS; | |
1156 | wxPyEllipseShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
1157 | ||
1158 | wxPy_END_ALLOW_THREADS; | |
1159 | } Py_INCREF(Py_None); | |
1160 | _resultobj = Py_None; | |
1161 | return _resultobj; | |
1162 | } | |
1163 | ||
1164 | #define wxPyEllipseShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
1165 | static PyObject *_wrap_wxPyEllipseShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1166 | PyObject * _resultobj; | |
1167 | wxPyEllipseShape * _arg0; | |
1168 | double _arg1; | |
1169 | double _arg2; | |
1170 | PyObject * _argo0 = 0; | |
1171 | char *_kwnames[] = { "self","w","h", NULL }; | |
1172 | ||
1173 | self = self; | |
1174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyEllipseShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
1175 | return NULL; | |
1176 | if (_argo0) { | |
1177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyEllipseShape_p")) { | |
1179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyEllipseShape_base_OnEndSize. Expected _wxPyEllipseShape_p."); | |
1180 | return NULL; | |
1181 | } | |
1182 | } | |
1183 | { | |
1184 | wxPy_BEGIN_ALLOW_THREADS; | |
1185 | wxPyEllipseShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
1186 | ||
1187 | wxPy_END_ALLOW_THREADS; | |
1188 | } Py_INCREF(Py_None); | |
1189 | _resultobj = Py_None; | |
1190 | return _resultobj; | |
1191 | } | |
1192 | ||
1193 | static void *SwigwxPyCircleShapeTowxPyEllipseShape(void *ptr) { | |
1194 | wxPyCircleShape *src; | |
1195 | wxPyEllipseShape *dest; | |
1196 | src = (wxPyCircleShape *) ptr; | |
1197 | dest = (wxPyEllipseShape *) src; | |
1198 | return (void *) dest; | |
1199 | } | |
1200 | ||
1201 | static void *SwigwxPyCircleShapeTowxPyShape(void *ptr) { | |
1202 | wxPyCircleShape *src; | |
1203 | wxPyShape *dest; | |
1204 | src = (wxPyCircleShape *) ptr; | |
1205 | dest = (wxPyShape *) src; | |
1206 | return (void *) dest; | |
1207 | } | |
1208 | ||
1209 | static void *SwigwxPyCircleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1210 | wxPyCircleShape *src; | |
1211 | wxPyShapeEvtHandler *dest; | |
1212 | src = (wxPyCircleShape *) ptr; | |
1213 | dest = (wxPyShapeEvtHandler *) src; | |
1214 | return (void *) dest; | |
1215 | } | |
1216 | ||
1217 | #define new_wxPyCircleShape(_swigarg0) (new wxPyCircleShape(_swigarg0)) | |
1218 | static PyObject *_wrap_new_wxPyCircleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1219 | PyObject * _resultobj; | |
1220 | wxPyCircleShape * _result; | |
1221 | double _arg0 = (double ) 0.0; | |
1222 | char *_kwnames[] = { "width", NULL }; | |
1223 | char _ptemp[128]; | |
1224 | ||
1225 | self = self; | |
1226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|d:new_wxPyCircleShape",_kwnames,&_arg0)) | |
1227 | return NULL; | |
1228 | { | |
1229 | wxPy_BEGIN_ALLOW_THREADS; | |
1230 | _result = (wxPyCircleShape *)new_wxPyCircleShape(_arg0); | |
1231 | ||
1232 | wxPy_END_ALLOW_THREADS; | |
1233 | } if (_result) { | |
1234 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCircleShape_p"); | |
1235 | _resultobj = Py_BuildValue("s",_ptemp); | |
1236 | } else { | |
1237 | Py_INCREF(Py_None); | |
1238 | _resultobj = Py_None; | |
1239 | } | |
1240 | return _resultobj; | |
1241 | } | |
1242 | ||
1243 | #define wxPyCircleShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
1244 | static PyObject *_wrap_wxPyCircleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1245 | PyObject * _resultobj; | |
1246 | wxPyCircleShape * _arg0; | |
1247 | PyObject * _arg1; | |
1248 | PyObject * _argo0 = 0; | |
1249 | PyObject * _obj1 = 0; | |
1250 | char *_kwnames[] = { "self","self", NULL }; | |
1251 | ||
1252 | self = self; | |
1253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCircleShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
1254 | return NULL; | |
1255 | if (_argo0) { | |
1256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCircleShape_p")) { | |
1258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCircleShape__setSelf. Expected _wxPyCircleShape_p."); | |
1259 | return NULL; | |
1260 | } | |
1261 | } | |
1262 | { | |
1263 | _arg1 = _obj1; | |
1264 | } | |
1265 | { | |
1266 | wxPy_BEGIN_ALLOW_THREADS; | |
1267 | wxPyCircleShape__setSelf(_arg0,_arg1); | |
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; | |
2085 | wxControlPoint * _arg1; | |
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; } | |
2108 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
2109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingDragLeft. Expected _wxControlPoint_p."); | |
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; | |
2128 | wxControlPoint * _arg1; | |
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; } | |
2149 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
2150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p."); | |
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; | |
2168 | wxControlPoint * _arg1; | |
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; } | |
2189 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
2190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCircleShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p."); | |
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 | }{ | |
2543 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
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 | ||
2819 | #define wxPyLineShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
2820 | static PyObject *_wrap_wxPyLineShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2821 | PyObject * _resultobj; | |
2822 | wxPyLineShape * _arg0; | |
2823 | PyObject * _arg1; | |
2824 | PyObject * _argo0 = 0; | |
2825 | PyObject * _obj1 = 0; | |
2826 | char *_kwnames[] = { "self","self", NULL }; | |
2827 | ||
2828 | self = self; | |
2829 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
2830 | return NULL; | |
2831 | if (_argo0) { | |
2832 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2833 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape__setSelf. Expected _wxPyLineShape_p."); | |
2835 | return NULL; | |
2836 | } | |
2837 | } | |
2838 | { | |
2839 | _arg1 = _obj1; | |
2840 | } | |
2841 | { | |
2842 | wxPy_BEGIN_ALLOW_THREADS; | |
2843 | wxPyLineShape__setSelf(_arg0,_arg1); | |
2844 | ||
2845 | wxPy_END_ALLOW_THREADS; | |
2846 | } Py_INCREF(Py_None); | |
2847 | _resultobj = Py_None; | |
2848 | return _resultobj; | |
2849 | } | |
2850 | ||
2851 | #define wxPyLineShape_AddArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6) (_swigobj->AddArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5,_swigarg6)) | |
2852 | static PyObject *_wrap_wxPyLineShape_AddArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2853 | PyObject * _resultobj; | |
2854 | wxPyLineShape * _arg0; | |
2855 | int _arg1; | |
2856 | int _arg2 = (int ) ARROW_POSITION_END; | |
2857 | double _arg3 = (double ) 10.0; | |
2858 | double _arg4 = (double ) 0.0; | |
2859 | char * _arg5 = (char *) ""; | |
2860 | wxPseudoMetaFile * _arg6 = (wxPseudoMetaFile *) NULL; | |
2861 | long _arg7 = (long ) -1; | |
2862 | PyObject * _argo0 = 0; | |
2863 | PyObject * _argo6 = 0; | |
2864 | char *_kwnames[] = { "self","type","end","arrowSize","xOffset","name","mf","arrowId", NULL }; | |
2865 | ||
2866 | self = self; | |
2867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi|iddsOl:wxPyLineShape_AddArrow",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4,&_arg5,&_argo6,&_arg7)) | |
2868 | return NULL; | |
2869 | if (_argo0) { | |
2870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrow. Expected _wxPyLineShape_p."); | |
2873 | return NULL; | |
2874 | } | |
2875 | } | |
2876 | if (_argo6) { | |
2877 | if (_argo6 == Py_None) { _arg6 = NULL; } | |
2878 | else if (SWIG_GetPtrObj(_argo6,(void **) &_arg6,"_wxPseudoMetaFile_p")) { | |
2879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 7 of wxPyLineShape_AddArrow. Expected _wxPseudoMetaFile_p."); | |
2880 | return NULL; | |
2881 | } | |
2882 | } | |
2883 | { | |
2884 | wxPy_BEGIN_ALLOW_THREADS; | |
2885 | wxPyLineShape_AddArrow(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6,_arg7); | |
2886 | ||
2887 | wxPy_END_ALLOW_THREADS; | |
2888 | } Py_INCREF(Py_None); | |
2889 | _resultobj = Py_None; | |
2890 | return _resultobj; | |
2891 | } | |
2892 | ||
2893 | static void wxPyLineShape_AddArrowOrdered(wxPyLineShape *self,wxArrowHead * arrow,PyObject * referenceList,int end) { | |
2894 | wxList* list = wxPy_wxListHelper(referenceList, "wxArrowHead"); | |
2895 | self->AddArrowOrdered(arrow, *list, end); | |
2896 | delete list; | |
2897 | } | |
2898 | static PyObject *_wrap_wxPyLineShape_AddArrowOrdered(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2899 | PyObject * _resultobj; | |
2900 | wxPyLineShape * _arg0; | |
2901 | wxArrowHead * _arg1; | |
2902 | PyObject * _arg2; | |
2903 | int _arg3; | |
2904 | PyObject * _argo0 = 0; | |
2905 | PyObject * _argo1 = 0; | |
2906 | PyObject * _obj2 = 0; | |
2907 | char *_kwnames[] = { "self","arrow","referenceList","end", NULL }; | |
2908 | ||
2909 | self = self; | |
2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOi:wxPyLineShape_AddArrowOrdered",_kwnames,&_argo0,&_argo1,&_obj2,&_arg3)) | |
2911 | return NULL; | |
2912 | if (_argo0) { | |
2913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_AddArrowOrdered. Expected _wxPyLineShape_p."); | |
2916 | return NULL; | |
2917 | } | |
2918 | } | |
2919 | if (_argo1) { | |
2920 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2921 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxArrowHead_p")) { | |
2922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_AddArrowOrdered. Expected _wxArrowHead_p."); | |
2923 | return NULL; | |
2924 | } | |
2925 | } | |
2926 | { | |
2927 | _arg2 = _obj2; | |
2928 | } | |
2929 | { | |
2930 | wxPy_BEGIN_ALLOW_THREADS; | |
2931 | wxPyLineShape_AddArrowOrdered(_arg0,_arg1,_arg2,_arg3); | |
2932 | ||
2933 | wxPy_END_ALLOW_THREADS; | |
2934 | } Py_INCREF(Py_None); | |
2935 | _resultobj = Py_None; | |
2936 | return _resultobj; | |
2937 | } | |
2938 | ||
2939 | #define wxPyLineShape_ClearArrow(_swigobj,_swigarg0) (_swigobj->ClearArrow(_swigarg0)) | |
2940 | static PyObject *_wrap_wxPyLineShape_ClearArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2941 | PyObject * _resultobj; | |
2942 | bool _result; | |
2943 | wxPyLineShape * _arg0; | |
2944 | wxString * _arg1; | |
2945 | PyObject * _argo0 = 0; | |
2946 | PyObject * _obj1 = 0; | |
2947 | char *_kwnames[] = { "self","name", NULL }; | |
2948 | ||
2949 | self = self; | |
2950 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_ClearArrow",_kwnames,&_argo0,&_obj1)) | |
2951 | return NULL; | |
2952 | if (_argo0) { | |
2953 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2954 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2955 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrow. Expected _wxPyLineShape_p."); | |
2956 | return NULL; | |
2957 | } | |
2958 | } | |
2959 | { | |
2960 | if (!PyString_Check(_obj1)) { | |
2961 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
2962 | return NULL; | |
2963 | } | |
2964 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
2965 | } | |
2966 | { | |
2967 | wxPy_BEGIN_ALLOW_THREADS; | |
2968 | _result = (bool )wxPyLineShape_ClearArrow(_arg0,*_arg1); | |
2969 | ||
2970 | wxPy_END_ALLOW_THREADS; | |
2971 | } _resultobj = Py_BuildValue("i",_result); | |
2972 | { | |
2973 | if (_obj1) | |
2974 | delete _arg1; | |
2975 | } | |
2976 | return _resultobj; | |
2977 | } | |
2978 | ||
2979 | #define wxPyLineShape_ClearArrowsAtPosition(_swigobj,_swigarg0) (_swigobj->ClearArrowsAtPosition(_swigarg0)) | |
2980 | static PyObject *_wrap_wxPyLineShape_ClearArrowsAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2981 | PyObject * _resultobj; | |
2982 | wxPyLineShape * _arg0; | |
2983 | int _arg1 = (int ) -1; | |
2984 | PyObject * _argo0 = 0; | |
2985 | char *_kwnames[] = { "self","position", NULL }; | |
2986 | ||
2987 | self = self; | |
2988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyLineShape_ClearArrowsAtPosition",_kwnames,&_argo0,&_arg1)) | |
2989 | return NULL; | |
2990 | if (_argo0) { | |
2991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
2993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_ClearArrowsAtPosition. Expected _wxPyLineShape_p."); | |
2994 | return NULL; | |
2995 | } | |
2996 | } | |
2997 | { | |
2998 | wxPy_BEGIN_ALLOW_THREADS; | |
2999 | wxPyLineShape_ClearArrowsAtPosition(_arg0,_arg1); | |
3000 | ||
3001 | wxPy_END_ALLOW_THREADS; | |
3002 | } Py_INCREF(Py_None); | |
3003 | _resultobj = Py_None; | |
3004 | return _resultobj; | |
3005 | } | |
3006 | ||
3007 | #define wxPyLineShape_DrawArrow(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawArrow(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3008 | static PyObject *_wrap_wxPyLineShape_DrawArrow(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3009 | PyObject * _resultobj; | |
3010 | wxPyLineShape * _arg0; | |
3011 | wxDC * _arg1; | |
3012 | wxArrowHead * _arg2; | |
3013 | double _arg3; | |
3014 | bool _arg4; | |
3015 | PyObject * _argo0 = 0; | |
3016 | PyObject * _argo1 = 0; | |
3017 | PyObject * _argo2 = 0; | |
3018 | int tempbool4; | |
3019 | char *_kwnames[] = { "self","dc","arrow","xOffset","proportionalOffset", NULL }; | |
3020 | ||
3021 | self = self; | |
3022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdi:wxPyLineShape_DrawArrow",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&tempbool4)) | |
3023 | return NULL; | |
3024 | if (_argo0) { | |
3025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrow. Expected _wxPyLineShape_p."); | |
3028 | return NULL; | |
3029 | } | |
3030 | } | |
3031 | if (_argo1) { | |
3032 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3033 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrow. Expected _wxDC_p."); | |
3035 | return NULL; | |
3036 | } | |
3037 | } | |
3038 | if (_argo2) { | |
3039 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3040 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxArrowHead_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawArrow. Expected _wxArrowHead_p."); | |
3042 | return NULL; | |
3043 | } | |
3044 | } | |
3045 | _arg4 = (bool ) tempbool4; | |
3046 | { | |
3047 | wxPy_BEGIN_ALLOW_THREADS; | |
3048 | wxPyLineShape_DrawArrow(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3049 | ||
3050 | wxPy_END_ALLOW_THREADS; | |
3051 | } Py_INCREF(Py_None); | |
3052 | _resultobj = Py_None; | |
3053 | return _resultobj; | |
3054 | } | |
3055 | ||
3056 | #define wxPyLineShape_DeleteArrowHeadId(_swigobj,_swigarg0) (_swigobj->DeleteArrowHead(_swigarg0)) | |
3057 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3058 | PyObject * _resultobj; | |
3059 | bool _result; | |
3060 | wxPyLineShape * _arg0; | |
3061 | long _arg1; | |
3062 | PyObject * _argo0 = 0; | |
3063 | char *_kwnames[] = { "self","arrowId", NULL }; | |
3064 | ||
3065 | self = self; | |
3066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_DeleteArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3067 | return NULL; | |
3068 | if (_argo0) { | |
3069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHeadId. Expected _wxPyLineShape_p."); | |
3072 | return NULL; | |
3073 | } | |
3074 | } | |
3075 | { | |
3076 | wxPy_BEGIN_ALLOW_THREADS; | |
3077 | _result = (bool )wxPyLineShape_DeleteArrowHeadId(_arg0,_arg1); | |
3078 | ||
3079 | wxPy_END_ALLOW_THREADS; | |
3080 | } _resultobj = Py_BuildValue("i",_result); | |
3081 | return _resultobj; | |
3082 | } | |
3083 | ||
3084 | #define wxPyLineShape_DeleteArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->DeleteArrowHead(_swigarg0,_swigarg1)) | |
3085 | static PyObject *_wrap_wxPyLineShape_DeleteArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3086 | PyObject * _resultobj; | |
3087 | bool _result; | |
3088 | wxPyLineShape * _arg0; | |
3089 | int _arg1; | |
3090 | wxString * _arg2; | |
3091 | PyObject * _argo0 = 0; | |
3092 | PyObject * _obj2 = 0; | |
3093 | char *_kwnames[] = { "self","position","name", NULL }; | |
3094 | ||
3095 | self = self; | |
3096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_DeleteArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3097 | return NULL; | |
3098 | if (_argo0) { | |
3099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteArrowHead. Expected _wxPyLineShape_p."); | |
3102 | return NULL; | |
3103 | } | |
3104 | } | |
3105 | { | |
3106 | if (!PyString_Check(_obj2)) { | |
3107 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3108 | return NULL; | |
3109 | } | |
3110 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
3111 | } | |
3112 | { | |
3113 | wxPy_BEGIN_ALLOW_THREADS; | |
3114 | _result = (bool )wxPyLineShape_DeleteArrowHead(_arg0,_arg1,*_arg2); | |
3115 | ||
3116 | wxPy_END_ALLOW_THREADS; | |
3117 | } _resultobj = Py_BuildValue("i",_result); | |
3118 | { | |
3119 | if (_obj2) | |
3120 | delete _arg2; | |
3121 | } | |
3122 | return _resultobj; | |
3123 | } | |
3124 | ||
3125 | #define wxPyLineShape_DeleteLineControlPoint(_swigobj) (_swigobj->DeleteLineControlPoint()) | |
3126 | static PyObject *_wrap_wxPyLineShape_DeleteLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3127 | PyObject * _resultobj; | |
3128 | bool _result; | |
3129 | wxPyLineShape * _arg0; | |
3130 | PyObject * _argo0 = 0; | |
3131 | char *_kwnames[] = { "self", NULL }; | |
3132 | ||
3133 | self = self; | |
3134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_DeleteLineControlPoint",_kwnames,&_argo0)) | |
3135 | return NULL; | |
3136 | if (_argo0) { | |
3137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DeleteLineControlPoint. Expected _wxPyLineShape_p."); | |
3140 | return NULL; | |
3141 | } | |
3142 | } | |
3143 | { | |
3144 | wxPy_BEGIN_ALLOW_THREADS; | |
3145 | _result = (bool )wxPyLineShape_DeleteLineControlPoint(_arg0); | |
3146 | ||
3147 | wxPy_END_ALLOW_THREADS; | |
3148 | } _resultobj = Py_BuildValue("i",_result); | |
3149 | return _resultobj; | |
3150 | } | |
3151 | ||
3152 | #define wxPyLineShape_DrawArrows(_swigobj,_swigarg0) (_swigobj->DrawArrows(_swigarg0)) | |
3153 | static PyObject *_wrap_wxPyLineShape_DrawArrows(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3154 | PyObject * _resultobj; | |
3155 | wxPyLineShape * _arg0; | |
3156 | wxDC * _arg1; | |
3157 | PyObject * _argo0 = 0; | |
3158 | PyObject * _argo1 = 0; | |
3159 | char *_kwnames[] = { "self","dc", NULL }; | |
3160 | ||
3161 | self = self; | |
3162 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_DrawArrows",_kwnames,&_argo0,&_argo1)) | |
3163 | return NULL; | |
3164 | if (_argo0) { | |
3165 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3166 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawArrows. Expected _wxPyLineShape_p."); | |
3168 | return NULL; | |
3169 | } | |
3170 | } | |
3171 | if (_argo1) { | |
3172 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3173 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawArrows. Expected _wxDC_p."); | |
3175 | return NULL; | |
3176 | } | |
3177 | } | |
3178 | { | |
3179 | wxPy_BEGIN_ALLOW_THREADS; | |
3180 | wxPyLineShape_DrawArrows(_arg0,*_arg1); | |
3181 | ||
3182 | wxPy_END_ALLOW_THREADS; | |
3183 | } Py_INCREF(Py_None); | |
3184 | _resultobj = Py_None; | |
3185 | return _resultobj; | |
3186 | } | |
3187 | ||
3188 | #define wxPyLineShape_DrawRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->DrawRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3189 | static PyObject *_wrap_wxPyLineShape_DrawRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3190 | PyObject * _resultobj; | |
3191 | wxPyLineShape * _arg0; | |
3192 | wxDC * _arg1; | |
3193 | wxShapeRegion * _arg2; | |
3194 | double _arg3; | |
3195 | double _arg4; | |
3196 | PyObject * _argo0 = 0; | |
3197 | PyObject * _argo1 = 0; | |
3198 | PyObject * _argo2 = 0; | |
3199 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3200 | ||
3201 | self = self; | |
3202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_DrawRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3203 | return NULL; | |
3204 | if (_argo0) { | |
3205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_DrawRegion. Expected _wxPyLineShape_p."); | |
3208 | return NULL; | |
3209 | } | |
3210 | } | |
3211 | if (_argo1) { | |
3212 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3213 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3214 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_DrawRegion. Expected _wxDC_p."); | |
3215 | return NULL; | |
3216 | } | |
3217 | } | |
3218 | if (_argo2) { | |
3219 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3220 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_DrawRegion. Expected _wxShapeRegion_p."); | |
3222 | return NULL; | |
3223 | } | |
3224 | } | |
3225 | { | |
3226 | wxPy_BEGIN_ALLOW_THREADS; | |
3227 | wxPyLineShape_DrawRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3228 | ||
3229 | wxPy_END_ALLOW_THREADS; | |
3230 | } Py_INCREF(Py_None); | |
3231 | _resultobj = Py_None; | |
3232 | return _resultobj; | |
3233 | } | |
3234 | ||
3235 | #define wxPyLineShape_EraseRegion(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->EraseRegion(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3236 | static PyObject *_wrap_wxPyLineShape_EraseRegion(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3237 | PyObject * _resultobj; | |
3238 | wxPyLineShape * _arg0; | |
3239 | wxDC * _arg1; | |
3240 | wxShapeRegion * _arg2; | |
3241 | double _arg3; | |
3242 | double _arg4; | |
3243 | PyObject * _argo0 = 0; | |
3244 | PyObject * _argo1 = 0; | |
3245 | PyObject * _argo2 = 0; | |
3246 | char *_kwnames[] = { "self","dc","region","x","y", NULL }; | |
3247 | ||
3248 | self = self; | |
3249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOdd:wxPyLineShape_EraseRegion",_kwnames,&_argo0,&_argo1,&_argo2,&_arg3,&_arg4)) | |
3250 | return NULL; | |
3251 | if (_argo0) { | |
3252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_EraseRegion. Expected _wxPyLineShape_p."); | |
3255 | return NULL; | |
3256 | } | |
3257 | } | |
3258 | if (_argo1) { | |
3259 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3260 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_EraseRegion. Expected _wxDC_p."); | |
3262 | return NULL; | |
3263 | } | |
3264 | } | |
3265 | if (_argo2) { | |
3266 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
3267 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxShapeRegion_p")) { | |
3268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyLineShape_EraseRegion. Expected _wxShapeRegion_p."); | |
3269 | return NULL; | |
3270 | } | |
3271 | } | |
3272 | { | |
3273 | wxPy_BEGIN_ALLOW_THREADS; | |
3274 | wxPyLineShape_EraseRegion(_arg0,*_arg1,_arg2,_arg3,_arg4); | |
3275 | ||
3276 | wxPy_END_ALLOW_THREADS; | |
3277 | } Py_INCREF(Py_None); | |
3278 | _resultobj = Py_None; | |
3279 | return _resultobj; | |
3280 | } | |
3281 | ||
3282 | #define wxPyLineShape_FindArrowHeadId(_swigobj,_swigarg0) (_swigobj->FindArrowHead(_swigarg0)) | |
3283 | static PyObject *_wrap_wxPyLineShape_FindArrowHeadId(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3284 | PyObject * _resultobj; | |
3285 | wxArrowHead * _result; | |
3286 | wxPyLineShape * _arg0; | |
3287 | long _arg1; | |
3288 | PyObject * _argo0 = 0; | |
3289 | char *_kwnames[] = { "self","arrowId", NULL }; | |
3290 | char _ptemp[128]; | |
3291 | ||
3292 | self = self; | |
3293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Ol:wxPyLineShape_FindArrowHeadId",_kwnames,&_argo0,&_arg1)) | |
3294 | return NULL; | |
3295 | if (_argo0) { | |
3296 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3297 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHeadId. Expected _wxPyLineShape_p."); | |
3299 | return NULL; | |
3300 | } | |
3301 | } | |
3302 | { | |
3303 | wxPy_BEGIN_ALLOW_THREADS; | |
3304 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHeadId(_arg0,_arg1); | |
3305 | ||
3306 | wxPy_END_ALLOW_THREADS; | |
3307 | } if (_result) { | |
3308 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
3309 | _resultobj = Py_BuildValue("s",_ptemp); | |
3310 | } else { | |
3311 | Py_INCREF(Py_None); | |
3312 | _resultobj = Py_None; | |
3313 | } | |
3314 | return _resultobj; | |
3315 | } | |
3316 | ||
3317 | #define wxPyLineShape_FindArrowHead(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindArrowHead(_swigarg0,_swigarg1)) | |
3318 | static PyObject *_wrap_wxPyLineShape_FindArrowHead(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3319 | PyObject * _resultobj; | |
3320 | wxArrowHead * _result; | |
3321 | wxPyLineShape * _arg0; | |
3322 | int _arg1; | |
3323 | wxString * _arg2; | |
3324 | PyObject * _argo0 = 0; | |
3325 | PyObject * _obj2 = 0; | |
3326 | char *_kwnames[] = { "self","position","name", NULL }; | |
3327 | char _ptemp[128]; | |
3328 | ||
3329 | self = self; | |
3330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiO:wxPyLineShape_FindArrowHead",_kwnames,&_argo0,&_arg1,&_obj2)) | |
3331 | return NULL; | |
3332 | if (_argo0) { | |
3333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindArrowHead. Expected _wxPyLineShape_p."); | |
3336 | return NULL; | |
3337 | } | |
3338 | } | |
3339 | { | |
3340 | if (!PyString_Check(_obj2)) { | |
3341 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
3342 | return NULL; | |
3343 | } | |
3344 | _arg2 = new wxString(PyString_AsString(_obj2), PyString_Size(_obj2)); | |
3345 | } | |
3346 | { | |
3347 | wxPy_BEGIN_ALLOW_THREADS; | |
3348 | _result = (wxArrowHead *)wxPyLineShape_FindArrowHead(_arg0,_arg1,*_arg2); | |
3349 | ||
3350 | wxPy_END_ALLOW_THREADS; | |
3351 | } if (_result) { | |
3352 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxArrowHead_p"); | |
3353 | _resultobj = Py_BuildValue("s",_ptemp); | |
3354 | } else { | |
3355 | Py_INCREF(Py_None); | |
3356 | _resultobj = Py_None; | |
3357 | } | |
3358 | { | |
3359 | if (_obj2) | |
3360 | delete _arg2; | |
3361 | } | |
3362 | return _resultobj; | |
3363 | } | |
3364 | ||
3365 | #define wxPyLineShape_FindLineEndPoints(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindLineEndPoints(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3366 | static PyObject *_wrap_wxPyLineShape_FindLineEndPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3367 | PyObject * _resultobj; | |
3368 | wxPyLineShape * _arg0; | |
3369 | double * _arg1; | |
3370 | double temp; | |
3371 | double * _arg2; | |
3372 | double temp0; | |
3373 | double * _arg3; | |
3374 | double temp1; | |
3375 | double * _arg4; | |
3376 | double temp2; | |
3377 | PyObject * _argo0 = 0; | |
3378 | char *_kwnames[] = { "self", NULL }; | |
3379 | ||
3380 | self = self; | |
3381 | { | |
3382 | _arg1 = &temp; | |
3383 | } | |
3384 | { | |
3385 | _arg2 = &temp0; | |
3386 | } | |
3387 | { | |
3388 | _arg3 = &temp1; | |
3389 | } | |
3390 | { | |
3391 | _arg4 = &temp2; | |
3392 | } | |
3393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindLineEndPoints",_kwnames,&_argo0)) | |
3394 | return NULL; | |
3395 | if (_argo0) { | |
3396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLineEndPoints. Expected _wxPyLineShape_p."); | |
3399 | return NULL; | |
3400 | } | |
3401 | } | |
3402 | { | |
3403 | wxPy_BEGIN_ALLOW_THREADS; | |
3404 | wxPyLineShape_FindLineEndPoints(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3405 | ||
3406 | wxPy_END_ALLOW_THREADS; | |
3407 | } Py_INCREF(Py_None); | |
3408 | _resultobj = Py_None; | |
3409 | { | |
3410 | PyObject *o; | |
3411 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3412 | _resultobj = t_output_helper(_resultobj, o); | |
3413 | } | |
3414 | { | |
3415 | PyObject *o; | |
3416 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3417 | _resultobj = t_output_helper(_resultobj, o); | |
3418 | } | |
3419 | { | |
3420 | PyObject *o; | |
3421 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3422 | _resultobj = t_output_helper(_resultobj, o); | |
3423 | } | |
3424 | { | |
3425 | PyObject *o; | |
3426 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3427 | _resultobj = t_output_helper(_resultobj, o); | |
3428 | } | |
3429 | return _resultobj; | |
3430 | } | |
3431 | ||
3432 | #define wxPyLineShape_FindLinePosition(_swigobj,_swigarg0,_swigarg1) (_swigobj->FindLinePosition(_swigarg0,_swigarg1)) | |
3433 | static PyObject *_wrap_wxPyLineShape_FindLinePosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3434 | PyObject * _resultobj; | |
3435 | int _result; | |
3436 | wxPyLineShape * _arg0; | |
3437 | double _arg1; | |
3438 | double _arg2; | |
3439 | PyObject * _argo0 = 0; | |
3440 | char *_kwnames[] = { "self","x","y", NULL }; | |
3441 | ||
3442 | self = self; | |
3443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_FindLinePosition",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3444 | return NULL; | |
3445 | if (_argo0) { | |
3446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindLinePosition. Expected _wxPyLineShape_p."); | |
3449 | return NULL; | |
3450 | } | |
3451 | } | |
3452 | { | |
3453 | wxPy_BEGIN_ALLOW_THREADS; | |
3454 | _result = (int )wxPyLineShape_FindLinePosition(_arg0,_arg1,_arg2); | |
3455 | ||
3456 | wxPy_END_ALLOW_THREADS; | |
3457 | } _resultobj = Py_BuildValue("i",_result); | |
3458 | return _resultobj; | |
3459 | } | |
3460 | ||
3461 | #define wxPyLineShape_FindMinimumWidth(_swigobj) (_swigobj->FindMinimumWidth()) | |
3462 | static PyObject *_wrap_wxPyLineShape_FindMinimumWidth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3463 | PyObject * _resultobj; | |
3464 | double _result; | |
3465 | wxPyLineShape * _arg0; | |
3466 | PyObject * _argo0 = 0; | |
3467 | char *_kwnames[] = { "self", NULL }; | |
3468 | ||
3469 | self = self; | |
3470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_FindMinimumWidth",_kwnames,&_argo0)) | |
3471 | return NULL; | |
3472 | if (_argo0) { | |
3473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindMinimumWidth. Expected _wxPyLineShape_p."); | |
3476 | return NULL; | |
3477 | } | |
3478 | } | |
3479 | { | |
3480 | wxPy_BEGIN_ALLOW_THREADS; | |
3481 | _result = (double )wxPyLineShape_FindMinimumWidth(_arg0); | |
3482 | ||
3483 | wxPy_END_ALLOW_THREADS; | |
3484 | } _resultobj = Py_BuildValue("d",_result); | |
3485 | return _resultobj; | |
3486 | } | |
3487 | ||
3488 | #define wxPyLineShape_FindNth(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->FindNth(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3489 | static PyObject *_wrap_wxPyLineShape_FindNth(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3490 | PyObject * _resultobj; | |
3491 | wxPyLineShape * _arg0; | |
3492 | wxPyShape * _arg1; | |
3493 | int * _arg2; | |
3494 | int temp; | |
3495 | int * _arg3; | |
3496 | int temp0; | |
3497 | bool _arg4; | |
3498 | PyObject * _argo0 = 0; | |
3499 | PyObject * _argo1 = 0; | |
3500 | int tempbool4; | |
3501 | char *_kwnames[] = { "self","image","incoming", NULL }; | |
3502 | ||
3503 | self = self; | |
3504 | { | |
3505 | _arg2 = &temp; | |
3506 | } | |
3507 | { | |
3508 | _arg3 = &temp0; | |
3509 | } | |
3510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPyLineShape_FindNth",_kwnames,&_argo0,&_argo1,&tempbool4)) | |
3511 | return NULL; | |
3512 | if (_argo0) { | |
3513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_FindNth. Expected _wxPyLineShape_p."); | |
3516 | return NULL; | |
3517 | } | |
3518 | } | |
3519 | if (_argo1) { | |
3520 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3521 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_FindNth. Expected _wxPyShape_p."); | |
3523 | return NULL; | |
3524 | } | |
3525 | } | |
3526 | _arg4 = (bool ) tempbool4; | |
3527 | { | |
3528 | wxPy_BEGIN_ALLOW_THREADS; | |
3529 | wxPyLineShape_FindNth(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3530 | ||
3531 | wxPy_END_ALLOW_THREADS; | |
3532 | } Py_INCREF(Py_None); | |
3533 | _resultobj = Py_None; | |
3534 | { | |
3535 | PyObject *o; | |
3536 | o = PyInt_FromLong((long) (*_arg2)); | |
3537 | _resultobj = t_output_helper(_resultobj, o); | |
3538 | } | |
3539 | { | |
3540 | PyObject *o; | |
3541 | o = PyInt_FromLong((long) (*_arg3)); | |
3542 | _resultobj = t_output_helper(_resultobj, o); | |
3543 | } | |
3544 | return _resultobj; | |
3545 | } | |
3546 | ||
3547 | #define wxPyLineShape_GetAttachmentFrom(_swigobj) (_swigobj->GetAttachmentFrom()) | |
3548 | static PyObject *_wrap_wxPyLineShape_GetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3549 | PyObject * _resultobj; | |
3550 | int _result; | |
3551 | wxPyLineShape * _arg0; | |
3552 | PyObject * _argo0 = 0; | |
3553 | char *_kwnames[] = { "self", NULL }; | |
3554 | ||
3555 | self = self; | |
3556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentFrom",_kwnames,&_argo0)) | |
3557 | return NULL; | |
3558 | if (_argo0) { | |
3559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentFrom. Expected _wxPyLineShape_p."); | |
3562 | return NULL; | |
3563 | } | |
3564 | } | |
3565 | { | |
3566 | wxPy_BEGIN_ALLOW_THREADS; | |
3567 | _result = (int )wxPyLineShape_GetAttachmentFrom(_arg0); | |
3568 | ||
3569 | wxPy_END_ALLOW_THREADS; | |
3570 | } _resultobj = Py_BuildValue("i",_result); | |
3571 | return _resultobj; | |
3572 | } | |
3573 | ||
3574 | #define wxPyLineShape_GetAttachmentTo(_swigobj) (_swigobj->GetAttachmentTo()) | |
3575 | static PyObject *_wrap_wxPyLineShape_GetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3576 | PyObject * _resultobj; | |
3577 | int _result; | |
3578 | wxPyLineShape * _arg0; | |
3579 | PyObject * _argo0 = 0; | |
3580 | char *_kwnames[] = { "self", NULL }; | |
3581 | ||
3582 | self = self; | |
3583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetAttachmentTo",_kwnames,&_argo0)) | |
3584 | return NULL; | |
3585 | if (_argo0) { | |
3586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetAttachmentTo. Expected _wxPyLineShape_p."); | |
3589 | return NULL; | |
3590 | } | |
3591 | } | |
3592 | { | |
3593 | wxPy_BEGIN_ALLOW_THREADS; | |
3594 | _result = (int )wxPyLineShape_GetAttachmentTo(_arg0); | |
3595 | ||
3596 | wxPy_END_ALLOW_THREADS; | |
3597 | } _resultobj = Py_BuildValue("i",_result); | |
3598 | return _resultobj; | |
3599 | } | |
3600 | ||
3601 | #define wxPyLineShape_GetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3602 | static PyObject *_wrap_wxPyLineShape_GetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3603 | PyObject * _resultobj; | |
3604 | wxPyLineShape * _arg0; | |
3605 | double * _arg1; | |
3606 | double temp; | |
3607 | double * _arg2; | |
3608 | double temp0; | |
3609 | double * _arg3; | |
3610 | double temp1; | |
3611 | double * _arg4; | |
3612 | double temp2; | |
3613 | PyObject * _argo0 = 0; | |
3614 | char *_kwnames[] = { "self", NULL }; | |
3615 | ||
3616 | self = self; | |
3617 | { | |
3618 | _arg1 = &temp; | |
3619 | } | |
3620 | { | |
3621 | _arg2 = &temp0; | |
3622 | } | |
3623 | { | |
3624 | _arg3 = &temp1; | |
3625 | } | |
3626 | { | |
3627 | _arg4 = &temp2; | |
3628 | } | |
3629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetEnds",_kwnames,&_argo0)) | |
3630 | return NULL; | |
3631 | if (_argo0) { | |
3632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetEnds. Expected _wxPyLineShape_p."); | |
3635 | return NULL; | |
3636 | } | |
3637 | } | |
3638 | { | |
3639 | wxPy_BEGIN_ALLOW_THREADS; | |
3640 | wxPyLineShape_GetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3641 | ||
3642 | wxPy_END_ALLOW_THREADS; | |
3643 | } Py_INCREF(Py_None); | |
3644 | _resultobj = Py_None; | |
3645 | { | |
3646 | PyObject *o; | |
3647 | o = PyFloat_FromDouble((double) (*_arg1)); | |
3648 | _resultobj = t_output_helper(_resultobj, o); | |
3649 | } | |
3650 | { | |
3651 | PyObject *o; | |
3652 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3653 | _resultobj = t_output_helper(_resultobj, o); | |
3654 | } | |
3655 | { | |
3656 | PyObject *o; | |
3657 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3658 | _resultobj = t_output_helper(_resultobj, o); | |
3659 | } | |
3660 | { | |
3661 | PyObject *o; | |
3662 | o = PyFloat_FromDouble((double) (*_arg4)); | |
3663 | _resultobj = t_output_helper(_resultobj, o); | |
3664 | } | |
3665 | return _resultobj; | |
3666 | } | |
3667 | ||
3668 | #define wxPyLineShape_GetFrom(_swigobj) (_swigobj->GetFrom()) | |
3669 | static PyObject *_wrap_wxPyLineShape_GetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3670 | PyObject * _resultobj; | |
3671 | wxPyShape * _result; | |
3672 | wxPyLineShape * _arg0; | |
3673 | PyObject * _argo0 = 0; | |
3674 | char *_kwnames[] = { "self", NULL }; | |
3675 | char _ptemp[128]; | |
3676 | ||
3677 | self = self; | |
3678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetFrom",_kwnames,&_argo0)) | |
3679 | return NULL; | |
3680 | if (_argo0) { | |
3681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetFrom. Expected _wxPyLineShape_p."); | |
3684 | return NULL; | |
3685 | } | |
3686 | } | |
3687 | { | |
3688 | wxPy_BEGIN_ALLOW_THREADS; | |
3689 | _result = (wxPyShape *)wxPyLineShape_GetFrom(_arg0); | |
3690 | ||
3691 | wxPy_END_ALLOW_THREADS; | |
3692 | } if (_result) { | |
3693 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3694 | _resultobj = Py_BuildValue("s",_ptemp); | |
3695 | } else { | |
3696 | Py_INCREF(Py_None); | |
3697 | _resultobj = Py_None; | |
3698 | } | |
3699 | return _resultobj; | |
3700 | } | |
3701 | ||
3702 | #define wxPyLineShape_GetLabelPosition(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->GetLabelPosition(_swigarg0,_swigarg1,_swigarg2)) | |
3703 | static PyObject *_wrap_wxPyLineShape_GetLabelPosition(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3704 | PyObject * _resultobj; | |
3705 | wxPyLineShape * _arg0; | |
3706 | int _arg1; | |
3707 | double * _arg2; | |
3708 | double temp; | |
3709 | double * _arg3; | |
3710 | double temp0; | |
3711 | PyObject * _argo0 = 0; | |
3712 | char *_kwnames[] = { "self","position", NULL }; | |
3713 | ||
3714 | self = self; | |
3715 | { | |
3716 | _arg2 = &temp; | |
3717 | } | |
3718 | { | |
3719 | _arg3 = &temp0; | |
3720 | } | |
3721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_GetLabelPosition",_kwnames,&_argo0,&_arg1)) | |
3722 | return NULL; | |
3723 | if (_argo0) { | |
3724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetLabelPosition. Expected _wxPyLineShape_p."); | |
3727 | return NULL; | |
3728 | } | |
3729 | } | |
3730 | { | |
3731 | wxPy_BEGIN_ALLOW_THREADS; | |
3732 | wxPyLineShape_GetLabelPosition(_arg0,_arg1,_arg2,_arg3); | |
3733 | ||
3734 | wxPy_END_ALLOW_THREADS; | |
3735 | } Py_INCREF(Py_None); | |
3736 | _resultobj = Py_None; | |
3737 | { | |
3738 | PyObject *o; | |
3739 | o = PyFloat_FromDouble((double) (*_arg2)); | |
3740 | _resultobj = t_output_helper(_resultobj, o); | |
3741 | } | |
3742 | { | |
3743 | PyObject *o; | |
3744 | o = PyFloat_FromDouble((double) (*_arg3)); | |
3745 | _resultobj = t_output_helper(_resultobj, o); | |
3746 | } | |
3747 | return _resultobj; | |
3748 | } | |
3749 | ||
3750 | #define wxPyLineShape_GetNextControlPoint(_swigobj,_swigarg0) (_swigobj->GetNextControlPoint(_swigarg0)) | |
3751 | static PyObject *_wrap_wxPyLineShape_GetNextControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3752 | PyObject * _resultobj; | |
3753 | wxPoint * _result; | |
3754 | wxPyLineShape * _arg0; | |
3755 | wxPyShape * _arg1; | |
3756 | PyObject * _argo0 = 0; | |
3757 | PyObject * _argo1 = 0; | |
3758 | char *_kwnames[] = { "self","shape", NULL }; | |
3759 | char _ptemp[128]; | |
3760 | ||
3761 | self = self; | |
3762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_GetNextControlPoint",_kwnames,&_argo0,&_argo1)) | |
3763 | return NULL; | |
3764 | if (_argo0) { | |
3765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetNextControlPoint. Expected _wxPyLineShape_p."); | |
3768 | return NULL; | |
3769 | } | |
3770 | } | |
3771 | if (_argo1) { | |
3772 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3773 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_GetNextControlPoint. Expected _wxPyShape_p."); | |
3775 | return NULL; | |
3776 | } | |
3777 | } | |
3778 | { | |
3779 | wxPy_BEGIN_ALLOW_THREADS; | |
3780 | _result = (wxPoint *)wxPyLineShape_GetNextControlPoint(_arg0,_arg1); | |
3781 | ||
3782 | wxPy_END_ALLOW_THREADS; | |
3783 | } if (_result) { | |
3784 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPoint_p"); | |
3785 | _resultobj = Py_BuildValue("s",_ptemp); | |
3786 | } else { | |
3787 | Py_INCREF(Py_None); | |
3788 | _resultobj = Py_None; | |
3789 | } | |
3790 | return _resultobj; | |
3791 | } | |
3792 | ||
3793 | #define wxPyLineShape_GetTo(_swigobj) (_swigobj->GetTo()) | |
3794 | static PyObject *_wrap_wxPyLineShape_GetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3795 | PyObject * _resultobj; | |
3796 | wxPyShape * _result; | |
3797 | wxPyLineShape * _arg0; | |
3798 | PyObject * _argo0 = 0; | |
3799 | char *_kwnames[] = { "self", NULL }; | |
3800 | char _ptemp[128]; | |
3801 | ||
3802 | self = self; | |
3803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_GetTo",_kwnames,&_argo0)) | |
3804 | return NULL; | |
3805 | if (_argo0) { | |
3806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_GetTo. Expected _wxPyLineShape_p."); | |
3809 | return NULL; | |
3810 | } | |
3811 | } | |
3812 | { | |
3813 | wxPy_BEGIN_ALLOW_THREADS; | |
3814 | _result = (wxPyShape *)wxPyLineShape_GetTo(_arg0); | |
3815 | ||
3816 | wxPy_END_ALLOW_THREADS; | |
3817 | } if (_result) { | |
3818 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
3819 | _resultobj = Py_BuildValue("s",_ptemp); | |
3820 | } else { | |
3821 | Py_INCREF(Py_None); | |
3822 | _resultobj = Py_None; | |
3823 | } | |
3824 | return _resultobj; | |
3825 | } | |
3826 | ||
3827 | #define wxPyLineShape_Initialise(_swigobj) (_swigobj->Initialise()) | |
3828 | static PyObject *_wrap_wxPyLineShape_Initialise(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3829 | PyObject * _resultobj; | |
3830 | wxPyLineShape * _arg0; | |
3831 | PyObject * _argo0 = 0; | |
3832 | char *_kwnames[] = { "self", NULL }; | |
3833 | ||
3834 | self = self; | |
3835 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Initialise",_kwnames,&_argo0)) | |
3836 | return NULL; | |
3837 | if (_argo0) { | |
3838 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3839 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3840 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Initialise. Expected _wxPyLineShape_p."); | |
3841 | return NULL; | |
3842 | } | |
3843 | } | |
3844 | { | |
3845 | wxPy_BEGIN_ALLOW_THREADS; | |
3846 | wxPyLineShape_Initialise(_arg0); | |
3847 | ||
3848 | wxPy_END_ALLOW_THREADS; | |
3849 | } Py_INCREF(Py_None); | |
3850 | _resultobj = Py_None; | |
3851 | return _resultobj; | |
3852 | } | |
3853 | ||
3854 | #define wxPyLineShape_InsertLineControlPoint(_swigobj,_swigarg0) (_swigobj->InsertLineControlPoint(_swigarg0)) | |
3855 | static PyObject *_wrap_wxPyLineShape_InsertLineControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3856 | PyObject * _resultobj; | |
3857 | wxPyLineShape * _arg0; | |
3858 | wxDC * _arg1; | |
3859 | PyObject * _argo0 = 0; | |
3860 | PyObject * _argo1 = 0; | |
3861 | char *_kwnames[] = { "self","dc", NULL }; | |
3862 | ||
3863 | self = self; | |
3864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_InsertLineControlPoint",_kwnames,&_argo0,&_argo1)) | |
3865 | return NULL; | |
3866 | if (_argo0) { | |
3867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_InsertLineControlPoint. Expected _wxPyLineShape_p."); | |
3870 | return NULL; | |
3871 | } | |
3872 | } | |
3873 | if (_argo1) { | |
3874 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3875 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_InsertLineControlPoint. Expected _wxDC_p."); | |
3877 | return NULL; | |
3878 | } | |
3879 | } | |
3880 | { | |
3881 | wxPy_BEGIN_ALLOW_THREADS; | |
3882 | wxPyLineShape_InsertLineControlPoint(_arg0,_arg1); | |
3883 | ||
3884 | wxPy_END_ALLOW_THREADS; | |
3885 | } Py_INCREF(Py_None); | |
3886 | _resultobj = Py_None; | |
3887 | return _resultobj; | |
3888 | } | |
3889 | ||
3890 | #define wxPyLineShape_IsEnd(_swigobj,_swigarg0) (_swigobj->IsEnd(_swigarg0)) | |
3891 | static PyObject *_wrap_wxPyLineShape_IsEnd(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3892 | PyObject * _resultobj; | |
3893 | bool _result; | |
3894 | wxPyLineShape * _arg0; | |
3895 | wxPyShape * _arg1; | |
3896 | PyObject * _argo0 = 0; | |
3897 | PyObject * _argo1 = 0; | |
3898 | char *_kwnames[] = { "self","shape", NULL }; | |
3899 | ||
3900 | self = self; | |
3901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_IsEnd",_kwnames,&_argo0,&_argo1)) | |
3902 | return NULL; | |
3903 | if (_argo0) { | |
3904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsEnd. Expected _wxPyLineShape_p."); | |
3907 | return NULL; | |
3908 | } | |
3909 | } | |
3910 | if (_argo1) { | |
3911 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3912 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
3913 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_IsEnd. Expected _wxPyShape_p."); | |
3914 | return NULL; | |
3915 | } | |
3916 | } | |
3917 | { | |
3918 | wxPy_BEGIN_ALLOW_THREADS; | |
3919 | _result = (bool )wxPyLineShape_IsEnd(_arg0,_arg1); | |
3920 | ||
3921 | wxPy_END_ALLOW_THREADS; | |
3922 | } _resultobj = Py_BuildValue("i",_result); | |
3923 | return _resultobj; | |
3924 | } | |
3925 | ||
3926 | #define wxPyLineShape_IsSpline(_swigobj) (_swigobj->IsSpline()) | |
3927 | static PyObject *_wrap_wxPyLineShape_IsSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3928 | PyObject * _resultobj; | |
3929 | bool _result; | |
3930 | wxPyLineShape * _arg0; | |
3931 | PyObject * _argo0 = 0; | |
3932 | char *_kwnames[] = { "self", NULL }; | |
3933 | ||
3934 | self = self; | |
3935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_IsSpline",_kwnames,&_argo0)) | |
3936 | return NULL; | |
3937 | if (_argo0) { | |
3938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_IsSpline. Expected _wxPyLineShape_p."); | |
3941 | return NULL; | |
3942 | } | |
3943 | } | |
3944 | { | |
3945 | wxPy_BEGIN_ALLOW_THREADS; | |
3946 | _result = (bool )wxPyLineShape_IsSpline(_arg0); | |
3947 | ||
3948 | wxPy_END_ALLOW_THREADS; | |
3949 | } _resultobj = Py_BuildValue("i",_result); | |
3950 | return _resultobj; | |
3951 | } | |
3952 | ||
3953 | #define wxPyLineShape_MakeLineControlPoints(_swigobj,_swigarg0) (_swigobj->MakeLineControlPoints(_swigarg0)) | |
3954 | static PyObject *_wrap_wxPyLineShape_MakeLineControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3955 | PyObject * _resultobj; | |
3956 | wxPyLineShape * _arg0; | |
3957 | int _arg1; | |
3958 | PyObject * _argo0 = 0; | |
3959 | char *_kwnames[] = { "self","n", NULL }; | |
3960 | ||
3961 | self = self; | |
3962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_MakeLineControlPoints",_kwnames,&_argo0,&_arg1)) | |
3963 | return NULL; | |
3964 | if (_argo0) { | |
3965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_MakeLineControlPoints. Expected _wxPyLineShape_p."); | |
3968 | return NULL; | |
3969 | } | |
3970 | } | |
3971 | { | |
3972 | wxPy_BEGIN_ALLOW_THREADS; | |
3973 | wxPyLineShape_MakeLineControlPoints(_arg0,_arg1); | |
3974 | ||
3975 | wxPy_END_ALLOW_THREADS; | |
3976 | } Py_INCREF(Py_None); | |
3977 | _resultobj = Py_None; | |
3978 | return _resultobj; | |
3979 | } | |
3980 | ||
3981 | #define wxPyLineShape_SetAttachmentFrom(_swigobj,_swigarg0) (_swigobj->SetAttachmentFrom(_swigarg0)) | |
3982 | static PyObject *_wrap_wxPyLineShape_SetAttachmentFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3983 | PyObject * _resultobj; | |
3984 | wxPyLineShape * _arg0; | |
3985 | int _arg1; | |
3986 | PyObject * _argo0 = 0; | |
3987 | char *_kwnames[] = { "self","fromAttach", NULL }; | |
3988 | ||
3989 | self = self; | |
3990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentFrom",_kwnames,&_argo0,&_arg1)) | |
3991 | return NULL; | |
3992 | if (_argo0) { | |
3993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
3995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentFrom. Expected _wxPyLineShape_p."); | |
3996 | return NULL; | |
3997 | } | |
3998 | } | |
3999 | { | |
4000 | wxPy_BEGIN_ALLOW_THREADS; | |
4001 | wxPyLineShape_SetAttachmentFrom(_arg0,_arg1); | |
4002 | ||
4003 | wxPy_END_ALLOW_THREADS; | |
4004 | } Py_INCREF(Py_None); | |
4005 | _resultobj = Py_None; | |
4006 | return _resultobj; | |
4007 | } | |
4008 | ||
4009 | #define wxPyLineShape_SetAttachments(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetAttachments(_swigarg0,_swigarg1)) | |
4010 | static PyObject *_wrap_wxPyLineShape_SetAttachments(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4011 | PyObject * _resultobj; | |
4012 | wxPyLineShape * _arg0; | |
4013 | int _arg1; | |
4014 | int _arg2; | |
4015 | PyObject * _argo0 = 0; | |
4016 | char *_kwnames[] = { "self","fromAttach","toAttach", NULL }; | |
4017 | ||
4018 | self = self; | |
4019 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oii:wxPyLineShape_SetAttachments",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4020 | return NULL; | |
4021 | if (_argo0) { | |
4022 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4023 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachments. Expected _wxPyLineShape_p."); | |
4025 | return NULL; | |
4026 | } | |
4027 | } | |
4028 | { | |
4029 | wxPy_BEGIN_ALLOW_THREADS; | |
4030 | wxPyLineShape_SetAttachments(_arg0,_arg1,_arg2); | |
4031 | ||
4032 | wxPy_END_ALLOW_THREADS; | |
4033 | } Py_INCREF(Py_None); | |
4034 | _resultobj = Py_None; | |
4035 | return _resultobj; | |
4036 | } | |
4037 | ||
4038 | #define wxPyLineShape_SetAttachmentTo(_swigobj,_swigarg0) (_swigobj->SetAttachmentTo(_swigarg0)) | |
4039 | static PyObject *_wrap_wxPyLineShape_SetAttachmentTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4040 | PyObject * _resultobj; | |
4041 | wxPyLineShape * _arg0; | |
4042 | int _arg1; | |
4043 | PyObject * _argo0 = 0; | |
4044 | char *_kwnames[] = { "self","toAttach", NULL }; | |
4045 | ||
4046 | self = self; | |
4047 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetAttachmentTo",_kwnames,&_argo0,&_arg1)) | |
4048 | return NULL; | |
4049 | if (_argo0) { | |
4050 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4051 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4052 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetAttachmentTo. Expected _wxPyLineShape_p."); | |
4053 | return NULL; | |
4054 | } | |
4055 | } | |
4056 | { | |
4057 | wxPy_BEGIN_ALLOW_THREADS; | |
4058 | wxPyLineShape_SetAttachmentTo(_arg0,_arg1); | |
4059 | ||
4060 | wxPy_END_ALLOW_THREADS; | |
4061 | } Py_INCREF(Py_None); | |
4062 | _resultobj = Py_None; | |
4063 | return _resultobj; | |
4064 | } | |
4065 | ||
4066 | #define wxPyLineShape_SetEnds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->SetEnds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4067 | static PyObject *_wrap_wxPyLineShape_SetEnds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4068 | PyObject * _resultobj; | |
4069 | wxPyLineShape * _arg0; | |
4070 | double _arg1; | |
4071 | double _arg2; | |
4072 | double _arg3; | |
4073 | double _arg4; | |
4074 | PyObject * _argo0 = 0; | |
4075 | char *_kwnames[] = { "self","x1","y1","x2","y2", NULL }; | |
4076 | ||
4077 | self = self; | |
4078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odddd:wxPyLineShape_SetEnds",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4079 | return NULL; | |
4080 | if (_argo0) { | |
4081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetEnds. Expected _wxPyLineShape_p."); | |
4084 | return NULL; | |
4085 | } | |
4086 | } | |
4087 | { | |
4088 | wxPy_BEGIN_ALLOW_THREADS; | |
4089 | wxPyLineShape_SetEnds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4090 | ||
4091 | wxPy_END_ALLOW_THREADS; | |
4092 | } Py_INCREF(Py_None); | |
4093 | _resultobj = Py_None; | |
4094 | return _resultobj; | |
4095 | } | |
4096 | ||
4097 | #define wxPyLineShape_SetFrom(_swigobj,_swigarg0) (_swigobj->SetFrom(_swigarg0)) | |
4098 | static PyObject *_wrap_wxPyLineShape_SetFrom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4099 | PyObject * _resultobj; | |
4100 | wxPyLineShape * _arg0; | |
4101 | wxPyShape * _arg1; | |
4102 | PyObject * _argo0 = 0; | |
4103 | PyObject * _argo1 = 0; | |
4104 | char *_kwnames[] = { "self","object", NULL }; | |
4105 | ||
4106 | self = self; | |
4107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetFrom",_kwnames,&_argo0,&_argo1)) | |
4108 | return NULL; | |
4109 | if (_argo0) { | |
4110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetFrom. Expected _wxPyLineShape_p."); | |
4113 | return NULL; | |
4114 | } | |
4115 | } | |
4116 | if (_argo1) { | |
4117 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4118 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetFrom. Expected _wxPyShape_p."); | |
4120 | return NULL; | |
4121 | } | |
4122 | } | |
4123 | { | |
4124 | wxPy_BEGIN_ALLOW_THREADS; | |
4125 | wxPyLineShape_SetFrom(_arg0,_arg1); | |
4126 | ||
4127 | wxPy_END_ALLOW_THREADS; | |
4128 | } Py_INCREF(Py_None); | |
4129 | _resultobj = Py_None; | |
4130 | return _resultobj; | |
4131 | } | |
4132 | ||
4133 | #define wxPyLineShape_SetIgnoreOffsets(_swigobj,_swigarg0) (_swigobj->SetIgnoreOffsets(_swigarg0)) | |
4134 | static PyObject *_wrap_wxPyLineShape_SetIgnoreOffsets(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4135 | PyObject * _resultobj; | |
4136 | wxPyLineShape * _arg0; | |
4137 | bool _arg1; | |
4138 | PyObject * _argo0 = 0; | |
4139 | int tempbool1; | |
4140 | char *_kwnames[] = { "self","ignore", NULL }; | |
4141 | ||
4142 | self = self; | |
4143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetIgnoreOffsets",_kwnames,&_argo0,&tempbool1)) | |
4144 | return NULL; | |
4145 | if (_argo0) { | |
4146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetIgnoreOffsets. Expected _wxPyLineShape_p."); | |
4149 | return NULL; | |
4150 | } | |
4151 | } | |
4152 | _arg1 = (bool ) tempbool1; | |
4153 | { | |
4154 | wxPy_BEGIN_ALLOW_THREADS; | |
4155 | wxPyLineShape_SetIgnoreOffsets(_arg0,_arg1); | |
4156 | ||
4157 | wxPy_END_ALLOW_THREADS; | |
4158 | } Py_INCREF(Py_None); | |
4159 | _resultobj = Py_None; | |
4160 | return _resultobj; | |
4161 | } | |
4162 | ||
4163 | #define wxPyLineShape_SetSpline(_swigobj,_swigarg0) (_swigobj->SetSpline(_swigarg0)) | |
4164 | static PyObject *_wrap_wxPyLineShape_SetSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4165 | PyObject * _resultobj; | |
4166 | wxPyLineShape * _arg0; | |
4167 | bool _arg1; | |
4168 | PyObject * _argo0 = 0; | |
4169 | int tempbool1; | |
4170 | char *_kwnames[] = { "self","spline", NULL }; | |
4171 | ||
4172 | self = self; | |
4173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyLineShape_SetSpline",_kwnames,&_argo0,&tempbool1)) | |
4174 | return NULL; | |
4175 | if (_argo0) { | |
4176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetSpline. Expected _wxPyLineShape_p."); | |
4179 | return NULL; | |
4180 | } | |
4181 | } | |
4182 | _arg1 = (bool ) tempbool1; | |
4183 | { | |
4184 | wxPy_BEGIN_ALLOW_THREADS; | |
4185 | wxPyLineShape_SetSpline(_arg0,_arg1); | |
4186 | ||
4187 | wxPy_END_ALLOW_THREADS; | |
4188 | } Py_INCREF(Py_None); | |
4189 | _resultobj = Py_None; | |
4190 | return _resultobj; | |
4191 | } | |
4192 | ||
4193 | #define wxPyLineShape_SetTo(_swigobj,_swigarg0) (_swigobj->SetTo(_swigarg0)) | |
4194 | static PyObject *_wrap_wxPyLineShape_SetTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4195 | PyObject * _resultobj; | |
4196 | wxPyLineShape * _arg0; | |
4197 | wxPyShape * _arg1; | |
4198 | PyObject * _argo0 = 0; | |
4199 | PyObject * _argo1 = 0; | |
4200 | char *_kwnames[] = { "self","object", NULL }; | |
4201 | ||
4202 | self = self; | |
4203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_SetTo",_kwnames,&_argo0,&_argo1)) | |
4204 | return NULL; | |
4205 | if (_argo0) { | |
4206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_SetTo. Expected _wxPyLineShape_p."); | |
4209 | return NULL; | |
4210 | } | |
4211 | } | |
4212 | if (_argo1) { | |
4213 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4214 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
4215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_SetTo. Expected _wxPyShape_p."); | |
4216 | return NULL; | |
4217 | } | |
4218 | } | |
4219 | { | |
4220 | wxPy_BEGIN_ALLOW_THREADS; | |
4221 | wxPyLineShape_SetTo(_arg0,_arg1); | |
4222 | ||
4223 | wxPy_END_ALLOW_THREADS; | |
4224 | } Py_INCREF(Py_None); | |
4225 | _resultobj = Py_None; | |
4226 | return _resultobj; | |
4227 | } | |
4228 | ||
4229 | #define wxPyLineShape_Straighten(_swigobj,_swigarg0) (_swigobj->Straighten(_swigarg0)) | |
4230 | static PyObject *_wrap_wxPyLineShape_Straighten(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4231 | PyObject * _resultobj; | |
4232 | wxPyLineShape * _arg0; | |
4233 | wxDC * _arg1 = (wxDC *) NULL; | |
4234 | PyObject * _argo0 = 0; | |
4235 | PyObject * _argo1 = 0; | |
4236 | char *_kwnames[] = { "self","dc", NULL }; | |
4237 | ||
4238 | self = self; | |
4239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|O:wxPyLineShape_Straighten",_kwnames,&_argo0,&_argo1)) | |
4240 | return NULL; | |
4241 | if (_argo0) { | |
4242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Straighten. Expected _wxPyLineShape_p."); | |
4245 | return NULL; | |
4246 | } | |
4247 | } | |
4248 | if (_argo1) { | |
4249 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4250 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4251 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_Straighten. Expected _wxDC_p."); | |
4252 | return NULL; | |
4253 | } | |
4254 | } | |
4255 | { | |
4256 | wxPy_BEGIN_ALLOW_THREADS; | |
4257 | wxPyLineShape_Straighten(_arg0,_arg1); | |
4258 | ||
4259 | wxPy_END_ALLOW_THREADS; | |
4260 | } Py_INCREF(Py_None); | |
4261 | _resultobj = Py_None; | |
4262 | return _resultobj; | |
4263 | } | |
4264 | ||
4265 | #define wxPyLineShape_Unlink(_swigobj) (_swigobj->Unlink()) | |
4266 | static PyObject *_wrap_wxPyLineShape_Unlink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4267 | PyObject * _resultobj; | |
4268 | wxPyLineShape * _arg0; | |
4269 | PyObject * _argo0 = 0; | |
4270 | char *_kwnames[] = { "self", NULL }; | |
4271 | ||
4272 | self = self; | |
4273 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyLineShape_Unlink",_kwnames,&_argo0)) | |
4274 | return NULL; | |
4275 | if (_argo0) { | |
4276 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4277 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4278 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_Unlink. Expected _wxPyLineShape_p."); | |
4279 | return NULL; | |
4280 | } | |
4281 | } | |
4282 | { | |
4283 | wxPy_BEGIN_ALLOW_THREADS; | |
4284 | wxPyLineShape_Unlink(_arg0); | |
4285 | ||
4286 | wxPy_END_ALLOW_THREADS; | |
4287 | } Py_INCREF(Py_None); | |
4288 | _resultobj = Py_None; | |
4289 | return _resultobj; | |
4290 | } | |
4291 | ||
4292 | #define wxPyLineShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4293 | static PyObject *_wrap_wxPyLineShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4294 | PyObject * _resultobj; | |
4295 | wxPyLineShape * _arg0; | |
4296 | wxDC * _arg1; | |
4297 | PyObject * _argo0 = 0; | |
4298 | PyObject * _argo1 = 0; | |
4299 | char *_kwnames[] = { "self","dc", NULL }; | |
4300 | ||
4301 | self = self; | |
4302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4303 | return NULL; | |
4304 | if (_argo0) { | |
4305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDraw. Expected _wxPyLineShape_p."); | |
4308 | return NULL; | |
4309 | } | |
4310 | } | |
4311 | if (_argo1) { | |
4312 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4313 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDraw. Expected _wxDC_p."); | |
4315 | return NULL; | |
4316 | } | |
4317 | } | |
4318 | { | |
4319 | wxPy_BEGIN_ALLOW_THREADS; | |
4320 | wxPyLineShape_base_OnDraw(_arg0,*_arg1); | |
4321 | ||
4322 | wxPy_END_ALLOW_THREADS; | |
4323 | } Py_INCREF(Py_None); | |
4324 | _resultobj = Py_None; | |
4325 | return _resultobj; | |
4326 | } | |
4327 | ||
4328 | #define wxPyLineShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4329 | static PyObject *_wrap_wxPyLineShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4330 | PyObject * _resultobj; | |
4331 | wxPyLineShape * _arg0; | |
4332 | wxDC * _arg1; | |
4333 | PyObject * _argo0 = 0; | |
4334 | PyObject * _argo1 = 0; | |
4335 | char *_kwnames[] = { "self","dc", NULL }; | |
4336 | ||
4337 | self = self; | |
4338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4339 | return NULL; | |
4340 | if (_argo0) { | |
4341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawContents. Expected _wxPyLineShape_p."); | |
4344 | return NULL; | |
4345 | } | |
4346 | } | |
4347 | if (_argo1) { | |
4348 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4349 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawContents. Expected _wxDC_p."); | |
4351 | return NULL; | |
4352 | } | |
4353 | } | |
4354 | { | |
4355 | wxPy_BEGIN_ALLOW_THREADS; | |
4356 | wxPyLineShape_base_OnDrawContents(_arg0,*_arg1); | |
4357 | ||
4358 | wxPy_END_ALLOW_THREADS; | |
4359 | } Py_INCREF(Py_None); | |
4360 | _resultobj = Py_None; | |
4361 | return _resultobj; | |
4362 | } | |
4363 | ||
4364 | #define wxPyLineShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4365 | static PyObject *_wrap_wxPyLineShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4366 | PyObject * _resultobj; | |
4367 | wxPyLineShape * _arg0; | |
4368 | wxDC * _arg1; | |
4369 | bool _arg2 = (bool ) FALSE; | |
4370 | PyObject * _argo0 = 0; | |
4371 | PyObject * _argo1 = 0; | |
4372 | int tempbool2 = (int) FALSE; | |
4373 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
4374 | ||
4375 | self = self; | |
4376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
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_OnDrawBranches. 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_OnDrawBranches. Expected _wxDC_p."); | |
4389 | return NULL; | |
4390 | } | |
4391 | } | |
4392 | _arg2 = (bool ) tempbool2; | |
4393 | { | |
4394 | wxPy_BEGIN_ALLOW_THREADS; | |
4395 | wxPyLineShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4396 | ||
4397 | wxPy_END_ALLOW_THREADS; | |
4398 | } Py_INCREF(Py_None); | |
4399 | _resultobj = Py_None; | |
4400 | return _resultobj; | |
4401 | } | |
4402 | ||
4403 | #define wxPyLineShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4404 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4405 | PyObject * _resultobj; | |
4406 | wxPyLineShape * _arg0; | |
4407 | wxDC * _arg1; | |
4408 | PyObject * _argo0 = 0; | |
4409 | PyObject * _argo1 = 0; | |
4410 | char *_kwnames[] = { "self","dc", NULL }; | |
4411 | ||
4412 | self = self; | |
4413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4414 | return NULL; | |
4415 | if (_argo0) { | |
4416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMoveLinks. Expected _wxPyLineShape_p."); | |
4419 | return NULL; | |
4420 | } | |
4421 | } | |
4422 | if (_argo1) { | |
4423 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4424 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4426 | return NULL; | |
4427 | } | |
4428 | } | |
4429 | { | |
4430 | wxPy_BEGIN_ALLOW_THREADS; | |
4431 | wxPyLineShape_base_OnMoveLinks(_arg0,*_arg1); | |
4432 | ||
4433 | wxPy_END_ALLOW_THREADS; | |
4434 | } Py_INCREF(Py_None); | |
4435 | _resultobj = Py_None; | |
4436 | return _resultobj; | |
4437 | } | |
4438 | ||
4439 | #define wxPyLineShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4440 | static PyObject *_wrap_wxPyLineShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4441 | PyObject * _resultobj; | |
4442 | wxPyLineShape * _arg0; | |
4443 | wxDC * _arg1; | |
4444 | PyObject * _argo0 = 0; | |
4445 | PyObject * _argo1 = 0; | |
4446 | char *_kwnames[] = { "self","dc", NULL }; | |
4447 | ||
4448 | self = self; | |
4449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4450 | return NULL; | |
4451 | if (_argo0) { | |
4452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnErase. Expected _wxPyLineShape_p."); | |
4455 | return NULL; | |
4456 | } | |
4457 | } | |
4458 | if (_argo1) { | |
4459 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4460 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnErase. Expected _wxDC_p."); | |
4462 | return NULL; | |
4463 | } | |
4464 | } | |
4465 | { | |
4466 | wxPy_BEGIN_ALLOW_THREADS; | |
4467 | wxPyLineShape_base_OnErase(_arg0,*_arg1); | |
4468 | ||
4469 | wxPy_END_ALLOW_THREADS; | |
4470 | } Py_INCREF(Py_None); | |
4471 | _resultobj = Py_None; | |
4472 | return _resultobj; | |
4473 | } | |
4474 | ||
4475 | #define wxPyLineShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4476 | static PyObject *_wrap_wxPyLineShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4477 | PyObject * _resultobj; | |
4478 | wxPyLineShape * _arg0; | |
4479 | wxDC * _arg1; | |
4480 | PyObject * _argo0 = 0; | |
4481 | PyObject * _argo1 = 0; | |
4482 | char *_kwnames[] = { "self","dc", NULL }; | |
4483 | ||
4484 | self = self; | |
4485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4486 | return NULL; | |
4487 | if (_argo0) { | |
4488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseContents. Expected _wxPyLineShape_p."); | |
4491 | return NULL; | |
4492 | } | |
4493 | } | |
4494 | if (_argo1) { | |
4495 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4496 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseContents. Expected _wxDC_p."); | |
4498 | return NULL; | |
4499 | } | |
4500 | } | |
4501 | { | |
4502 | wxPy_BEGIN_ALLOW_THREADS; | |
4503 | wxPyLineShape_base_OnEraseContents(_arg0,*_arg1); | |
4504 | ||
4505 | wxPy_END_ALLOW_THREADS; | |
4506 | } Py_INCREF(Py_None); | |
4507 | _resultobj = Py_None; | |
4508 | return _resultobj; | |
4509 | } | |
4510 | ||
4511 | #define wxPyLineShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4512 | static PyObject *_wrap_wxPyLineShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4513 | PyObject * _resultobj; | |
4514 | wxPyLineShape * _arg0; | |
4515 | wxDC * _arg1; | |
4516 | PyObject * _argo0 = 0; | |
4517 | PyObject * _argo1 = 0; | |
4518 | char *_kwnames[] = { "self","dc", NULL }; | |
4519 | ||
4520 | self = self; | |
4521 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4522 | return NULL; | |
4523 | if (_argo0) { | |
4524 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4525 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4526 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnHighlight. Expected _wxPyLineShape_p."); | |
4527 | return NULL; | |
4528 | } | |
4529 | } | |
4530 | if (_argo1) { | |
4531 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4532 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnHighlight. Expected _wxDC_p."); | |
4534 | return NULL; | |
4535 | } | |
4536 | } | |
4537 | { | |
4538 | wxPy_BEGIN_ALLOW_THREADS; | |
4539 | wxPyLineShape_base_OnHighlight(_arg0,*_arg1); | |
4540 | ||
4541 | wxPy_END_ALLOW_THREADS; | |
4542 | } Py_INCREF(Py_None); | |
4543 | _resultobj = Py_None; | |
4544 | return _resultobj; | |
4545 | } | |
4546 | ||
4547 | #define wxPyLineShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4548 | static PyObject *_wrap_wxPyLineShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4549 | PyObject * _resultobj; | |
4550 | wxPyLineShape * _arg0; | |
4551 | double _arg1; | |
4552 | double _arg2; | |
4553 | int _arg3 = (int ) 0; | |
4554 | int _arg4 = (int ) 0; | |
4555 | PyObject * _argo0 = 0; | |
4556 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4557 | ||
4558 | self = self; | |
4559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnLeftClick. Expected _wxPyLineShape_p."); | |
4565 | return NULL; | |
4566 | } | |
4567 | } | |
4568 | { | |
4569 | wxPy_BEGIN_ALLOW_THREADS; | |
4570 | wxPyLineShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4571 | ||
4572 | wxPy_END_ALLOW_THREADS; | |
4573 | } Py_INCREF(Py_None); | |
4574 | _resultobj = Py_None; | |
4575 | return _resultobj; | |
4576 | } | |
4577 | ||
4578 | #define wxPyLineShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4579 | static PyObject *_wrap_wxPyLineShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4580 | PyObject * _resultobj; | |
4581 | wxPyLineShape * _arg0; | |
4582 | double _arg1; | |
4583 | double _arg2; | |
4584 | int _arg3 = (int ) 0; | |
4585 | int _arg4 = (int ) 0; | |
4586 | PyObject * _argo0 = 0; | |
4587 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4588 | ||
4589 | self = self; | |
4590 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4591 | return NULL; | |
4592 | if (_argo0) { | |
4593 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4594 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4595 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnLeftDoubleClick. Expected _wxPyLineShape_p."); | |
4596 | return NULL; | |
4597 | } | |
4598 | } | |
4599 | { | |
4600 | wxPy_BEGIN_ALLOW_THREADS; | |
4601 | wxPyLineShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4602 | ||
4603 | wxPy_END_ALLOW_THREADS; | |
4604 | } Py_INCREF(Py_None); | |
4605 | _resultobj = Py_None; | |
4606 | return _resultobj; | |
4607 | } | |
4608 | ||
4609 | #define wxPyLineShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4610 | static PyObject *_wrap_wxPyLineShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4611 | PyObject * _resultobj; | |
4612 | wxPyLineShape * _arg0; | |
4613 | double _arg1; | |
4614 | double _arg2; | |
4615 | int _arg3 = (int ) 0; | |
4616 | int _arg4 = (int ) 0; | |
4617 | PyObject * _argo0 = 0; | |
4618 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4619 | ||
4620 | self = self; | |
4621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4622 | return NULL; | |
4623 | if (_argo0) { | |
4624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnRightClick. Expected _wxPyLineShape_p."); | |
4627 | return NULL; | |
4628 | } | |
4629 | } | |
4630 | { | |
4631 | wxPy_BEGIN_ALLOW_THREADS; | |
4632 | wxPyLineShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4633 | ||
4634 | wxPy_END_ALLOW_THREADS; | |
4635 | } Py_INCREF(Py_None); | |
4636 | _resultobj = Py_None; | |
4637 | return _resultobj; | |
4638 | } | |
4639 | ||
4640 | #define wxPyLineShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4641 | static PyObject *_wrap_wxPyLineShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4642 | PyObject * _resultobj; | |
4643 | wxPyLineShape * _arg0; | |
4644 | double _arg1; | |
4645 | double _arg2; | |
4646 | PyObject * _argo0 = 0; | |
4647 | char *_kwnames[] = { "self","x","y", NULL }; | |
4648 | ||
4649 | self = self; | |
4650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4651 | return NULL; | |
4652 | if (_argo0) { | |
4653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSize. Expected _wxPyLineShape_p."); | |
4656 | return NULL; | |
4657 | } | |
4658 | } | |
4659 | { | |
4660 | wxPy_BEGIN_ALLOW_THREADS; | |
4661 | wxPyLineShape_base_OnSize(_arg0,_arg1,_arg2); | |
4662 | ||
4663 | wxPy_END_ALLOW_THREADS; | |
4664 | } Py_INCREF(Py_None); | |
4665 | _resultobj = Py_None; | |
4666 | return _resultobj; | |
4667 | } | |
4668 | ||
4669 | #define wxPyLineShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4670 | static PyObject *_wrap_wxPyLineShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4671 | PyObject * _resultobj; | |
4672 | bool _result; | |
4673 | wxPyLineShape * _arg0; | |
4674 | wxDC * _arg1; | |
4675 | double _arg2; | |
4676 | double _arg3; | |
4677 | double _arg4; | |
4678 | double _arg5; | |
4679 | bool _arg6 = (bool ) TRUE; | |
4680 | PyObject * _argo0 = 0; | |
4681 | PyObject * _argo1 = 0; | |
4682 | int tempbool6 = (int) TRUE; | |
4683 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4684 | ||
4685 | self = self; | |
4686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4687 | return NULL; | |
4688 | if (_argo0) { | |
4689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePre. Expected _wxPyLineShape_p."); | |
4692 | return NULL; | |
4693 | } | |
4694 | } | |
4695 | if (_argo1) { | |
4696 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4697 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePre. Expected _wxDC_p."); | |
4699 | return NULL; | |
4700 | } | |
4701 | } | |
4702 | _arg6 = (bool ) tempbool6; | |
4703 | { | |
4704 | wxPy_BEGIN_ALLOW_THREADS; | |
4705 | _result = (bool )wxPyLineShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4706 | ||
4707 | wxPy_END_ALLOW_THREADS; | |
4708 | } _resultobj = Py_BuildValue("i",_result); | |
4709 | return _resultobj; | |
4710 | } | |
4711 | ||
4712 | #define wxPyLineShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4713 | static PyObject *_wrap_wxPyLineShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4714 | PyObject * _resultobj; | |
4715 | wxPyLineShape * _arg0; | |
4716 | wxDC * _arg1; | |
4717 | double _arg2; | |
4718 | double _arg3; | |
4719 | double _arg4; | |
4720 | double _arg5; | |
4721 | bool _arg6 = (bool ) TRUE; | |
4722 | PyObject * _argo0 = 0; | |
4723 | PyObject * _argo1 = 0; | |
4724 | int tempbool6 = (int) TRUE; | |
4725 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4726 | ||
4727 | self = self; | |
4728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyLineShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4729 | return NULL; | |
4730 | if (_argo0) { | |
4731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnMovePost. Expected _wxPyLineShape_p."); | |
4734 | return NULL; | |
4735 | } | |
4736 | } | |
4737 | if (_argo1) { | |
4738 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4739 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4740 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnMovePost. Expected _wxDC_p."); | |
4741 | return NULL; | |
4742 | } | |
4743 | } | |
4744 | _arg6 = (bool ) tempbool6; | |
4745 | { | |
4746 | wxPy_BEGIN_ALLOW_THREADS; | |
4747 | wxPyLineShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4748 | ||
4749 | wxPy_END_ALLOW_THREADS; | |
4750 | } Py_INCREF(Py_None); | |
4751 | _resultobj = Py_None; | |
4752 | return _resultobj; | |
4753 | } | |
4754 | ||
4755 | #define wxPyLineShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4756 | static PyObject *_wrap_wxPyLineShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4757 | PyObject * _resultobj; | |
4758 | wxPyLineShape * _arg0; | |
4759 | bool _arg1; | |
4760 | double _arg2; | |
4761 | double _arg3; | |
4762 | int _arg4 = (int ) 0; | |
4763 | int _arg5 = (int ) 0; | |
4764 | PyObject * _argo0 = 0; | |
4765 | int tempbool1; | |
4766 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4767 | ||
4768 | self = self; | |
4769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4770 | return NULL; | |
4771 | if (_argo0) { | |
4772 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4773 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragLeft. Expected _wxPyLineShape_p."); | |
4775 | return NULL; | |
4776 | } | |
4777 | } | |
4778 | _arg1 = (bool ) tempbool1; | |
4779 | { | |
4780 | wxPy_BEGIN_ALLOW_THREADS; | |
4781 | wxPyLineShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4782 | ||
4783 | wxPy_END_ALLOW_THREADS; | |
4784 | } Py_INCREF(Py_None); | |
4785 | _resultobj = Py_None; | |
4786 | return _resultobj; | |
4787 | } | |
4788 | ||
4789 | #define wxPyLineShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4790 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4791 | PyObject * _resultobj; | |
4792 | wxPyLineShape * _arg0; | |
4793 | double _arg1; | |
4794 | double _arg2; | |
4795 | int _arg3 = (int ) 0; | |
4796 | int _arg4 = (int ) 0; | |
4797 | PyObject * _argo0 = 0; | |
4798 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4799 | ||
4800 | self = self; | |
4801 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4802 | return NULL; | |
4803 | if (_argo0) { | |
4804 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4805 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4806 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragLeft. Expected _wxPyLineShape_p."); | |
4807 | return NULL; | |
4808 | } | |
4809 | } | |
4810 | { | |
4811 | wxPy_BEGIN_ALLOW_THREADS; | |
4812 | wxPyLineShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4813 | ||
4814 | wxPy_END_ALLOW_THREADS; | |
4815 | } Py_INCREF(Py_None); | |
4816 | _resultobj = Py_None; | |
4817 | return _resultobj; | |
4818 | } | |
4819 | ||
4820 | #define wxPyLineShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4821 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4822 | PyObject * _resultobj; | |
4823 | wxPyLineShape * _arg0; | |
4824 | double _arg1; | |
4825 | double _arg2; | |
4826 | int _arg3 = (int ) 0; | |
4827 | int _arg4 = (int ) 0; | |
4828 | PyObject * _argo0 = 0; | |
4829 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4830 | ||
4831 | self = self; | |
4832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4833 | return NULL; | |
4834 | if (_argo0) { | |
4835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragLeft. Expected _wxPyLineShape_p."); | |
4838 | return NULL; | |
4839 | } | |
4840 | } | |
4841 | { | |
4842 | wxPy_BEGIN_ALLOW_THREADS; | |
4843 | wxPyLineShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4844 | ||
4845 | wxPy_END_ALLOW_THREADS; | |
4846 | } Py_INCREF(Py_None); | |
4847 | _resultobj = Py_None; | |
4848 | return _resultobj; | |
4849 | } | |
4850 | ||
4851 | #define wxPyLineShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4852 | static PyObject *_wrap_wxPyLineShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4853 | PyObject * _resultobj; | |
4854 | wxPyLineShape * _arg0; | |
4855 | bool _arg1; | |
4856 | double _arg2; | |
4857 | double _arg3; | |
4858 | int _arg4 = (int ) 0; | |
4859 | int _arg5 = (int ) 0; | |
4860 | PyObject * _argo0 = 0; | |
4861 | int tempbool1; | |
4862 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4863 | ||
4864 | self = self; | |
4865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyLineShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4866 | return NULL; | |
4867 | if (_argo0) { | |
4868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDragRight. Expected _wxPyLineShape_p."); | |
4871 | return NULL; | |
4872 | } | |
4873 | } | |
4874 | _arg1 = (bool ) tempbool1; | |
4875 | { | |
4876 | wxPy_BEGIN_ALLOW_THREADS; | |
4877 | wxPyLineShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4878 | ||
4879 | wxPy_END_ALLOW_THREADS; | |
4880 | } Py_INCREF(Py_None); | |
4881 | _resultobj = Py_None; | |
4882 | return _resultobj; | |
4883 | } | |
4884 | ||
4885 | #define wxPyLineShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4886 | static PyObject *_wrap_wxPyLineShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4887 | PyObject * _resultobj; | |
4888 | wxPyLineShape * _arg0; | |
4889 | double _arg1; | |
4890 | double _arg2; | |
4891 | int _arg3 = (int ) 0; | |
4892 | int _arg4 = (int ) 0; | |
4893 | PyObject * _argo0 = 0; | |
4894 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4895 | ||
4896 | self = self; | |
4897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4898 | return NULL; | |
4899 | if (_argo0) { | |
4900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginDragRight. Expected _wxPyLineShape_p."); | |
4903 | return NULL; | |
4904 | } | |
4905 | } | |
4906 | { | |
4907 | wxPy_BEGIN_ALLOW_THREADS; | |
4908 | wxPyLineShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4909 | ||
4910 | wxPy_END_ALLOW_THREADS; | |
4911 | } Py_INCREF(Py_None); | |
4912 | _resultobj = Py_None; | |
4913 | return _resultobj; | |
4914 | } | |
4915 | ||
4916 | #define wxPyLineShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4917 | static PyObject *_wrap_wxPyLineShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4918 | PyObject * _resultobj; | |
4919 | wxPyLineShape * _arg0; | |
4920 | double _arg1; | |
4921 | double _arg2; | |
4922 | int _arg3 = (int ) 0; | |
4923 | int _arg4 = (int ) 0; | |
4924 | PyObject * _argo0 = 0; | |
4925 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4926 | ||
4927 | self = self; | |
4928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyLineShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4929 | return NULL; | |
4930 | if (_argo0) { | |
4931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndDragRight. Expected _wxPyLineShape_p."); | |
4934 | return NULL; | |
4935 | } | |
4936 | } | |
4937 | { | |
4938 | wxPy_BEGIN_ALLOW_THREADS; | |
4939 | wxPyLineShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4940 | ||
4941 | wxPy_END_ALLOW_THREADS; | |
4942 | } Py_INCREF(Py_None); | |
4943 | _resultobj = Py_None; | |
4944 | return _resultobj; | |
4945 | } | |
4946 | ||
4947 | #define wxPyLineShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4948 | static PyObject *_wrap_wxPyLineShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4949 | PyObject * _resultobj; | |
4950 | wxPyLineShape * _arg0; | |
4951 | wxDC * _arg1; | |
4952 | double _arg2; | |
4953 | double _arg3; | |
4954 | double _arg4; | |
4955 | double _arg5; | |
4956 | PyObject * _argo0 = 0; | |
4957 | PyObject * _argo1 = 0; | |
4958 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
4959 | ||
4960 | self = self; | |
4961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyLineShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4962 | return NULL; | |
4963 | if (_argo0) { | |
4964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
4966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawOutline. Expected _wxPyLineShape_p."); | |
4967 | return NULL; | |
4968 | } | |
4969 | } | |
4970 | if (_argo1) { | |
4971 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4972 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawOutline. Expected _wxDC_p."); | |
4974 | return NULL; | |
4975 | } | |
4976 | } | |
4977 | { | |
4978 | wxPy_BEGIN_ALLOW_THREADS; | |
4979 | wxPyLineShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
4980 | ||
4981 | wxPy_END_ALLOW_THREADS; | |
4982 | } Py_INCREF(Py_None); | |
4983 | _resultobj = Py_None; | |
4984 | return _resultobj; | |
4985 | } | |
4986 | ||
4987 | #define wxPyLineShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
4988 | static PyObject *_wrap_wxPyLineShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4989 | PyObject * _resultobj; | |
4990 | wxPyLineShape * _arg0; | |
4991 | wxDC * _arg1; | |
4992 | PyObject * _argo0 = 0; | |
4993 | PyObject * _argo1 = 0; | |
4994 | char *_kwnames[] = { "self","dc", NULL }; | |
4995 | ||
4996 | self = self; | |
4997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
4998 | return NULL; | |
4999 | if (_argo0) { | |
5000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxPyLineShape_p."); | |
5003 | return NULL; | |
5004 | } | |
5005 | } | |
5006 | if (_argo1) { | |
5007 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5008 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
5010 | return NULL; | |
5011 | } | |
5012 | } | |
5013 | { | |
5014 | wxPy_BEGIN_ALLOW_THREADS; | |
5015 | wxPyLineShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
5016 | ||
5017 | wxPy_END_ALLOW_THREADS; | |
5018 | } Py_INCREF(Py_None); | |
5019 | _resultobj = Py_None; | |
5020 | return _resultobj; | |
5021 | } | |
5022 | ||
5023 | #define wxPyLineShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
5024 | static PyObject *_wrap_wxPyLineShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5025 | PyObject * _resultobj; | |
5026 | wxPyLineShape * _arg0; | |
5027 | wxDC * _arg1; | |
5028 | PyObject * _argo0 = 0; | |
5029 | PyObject * _argo1 = 0; | |
5030 | char *_kwnames[] = { "self","dc", NULL }; | |
5031 | ||
5032 | self = self; | |
5033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyLineShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
5034 | return NULL; | |
5035 | if (_argo0) { | |
5036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxPyLineShape_p."); | |
5039 | return NULL; | |
5040 | } | |
5041 | } | |
5042 | if (_argo1) { | |
5043 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5044 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
5046 | return NULL; | |
5047 | } | |
5048 | } | |
5049 | { | |
5050 | wxPy_BEGIN_ALLOW_THREADS; | |
5051 | wxPyLineShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
5052 | ||
5053 | wxPy_END_ALLOW_THREADS; | |
5054 | } Py_INCREF(Py_None); | |
5055 | _resultobj = Py_None; | |
5056 | return _resultobj; | |
5057 | } | |
5058 | ||
5059 | #define wxPyLineShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
5060 | static PyObject *_wrap_wxPyLineShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5061 | PyObject * _resultobj; | |
5062 | wxPyLineShape * _arg0; | |
5063 | wxDC * _arg1; | |
5064 | bool _arg2 = (bool ) TRUE; | |
5065 | PyObject * _argo0 = 0; | |
5066 | PyObject * _argo1 = 0; | |
5067 | int tempbool2 = (int) TRUE; | |
5068 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
5069 | ||
5070 | self = self; | |
5071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyLineShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
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_OnMoveLink. 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_OnMoveLink. Expected _wxDC_p."); | |
5084 | return NULL; | |
5085 | } | |
5086 | } | |
5087 | _arg2 = (bool ) tempbool2; | |
5088 | { | |
5089 | wxPy_BEGIN_ALLOW_THREADS; | |
5090 | wxPyLineShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
5091 | ||
5092 | wxPy_END_ALLOW_THREADS; | |
5093 | } Py_INCREF(Py_None); | |
5094 | _resultobj = Py_None; | |
5095 | return _resultobj; | |
5096 | } | |
5097 | ||
5098 | #define wxPyLineShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5099 | static PyObject *_wrap_wxPyLineShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5100 | PyObject * _resultobj; | |
5101 | wxPyLineShape * _arg0; | |
5102 | wxControlPoint * _arg1; | |
5103 | bool _arg2; | |
5104 | double _arg3; | |
5105 | double _arg4; | |
5106 | int _arg5 = (int ) 0; | |
5107 | int _arg6 = (int ) 0; | |
5108 | PyObject * _argo0 = 0; | |
5109 | PyObject * _argo1 = 0; | |
5110 | int tempbool2; | |
5111 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5112 | ||
5113 | self = self; | |
5114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyLineShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5115 | return NULL; | |
5116 | if (_argo0) { | |
5117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxPyLineShape_p."); | |
5120 | return NULL; | |
5121 | } | |
5122 | } | |
5123 | if (_argo1) { | |
5124 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5125 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
5126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingDragLeft. Expected _wxControlPoint_p."); | |
5127 | return NULL; | |
5128 | } | |
5129 | } | |
5130 | _arg2 = (bool ) tempbool2; | |
5131 | { | |
5132 | wxPy_BEGIN_ALLOW_THREADS; | |
5133 | wxPyLineShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5134 | ||
5135 | wxPy_END_ALLOW_THREADS; | |
5136 | } Py_INCREF(Py_None); | |
5137 | _resultobj = Py_None; | |
5138 | return _resultobj; | |
5139 | } | |
5140 | ||
5141 | #define wxPyLineShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5142 | static PyObject *_wrap_wxPyLineShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5143 | PyObject * _resultobj; | |
5144 | wxPyLineShape * _arg0; | |
5145 | wxControlPoint * _arg1; | |
5146 | double _arg2; | |
5147 | double _arg3; | |
5148 | int _arg4 = (int ) 0; | |
5149 | int _arg5 = (int ) 0; | |
5150 | PyObject * _argo0 = 0; | |
5151 | PyObject * _argo1 = 0; | |
5152 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5153 | ||
5154 | self = self; | |
5155 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5156 | return NULL; | |
5157 | if (_argo0) { | |
5158 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5159 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5160 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxPyLineShape_p."); | |
5161 | return NULL; | |
5162 | } | |
5163 | } | |
5164 | if (_argo1) { | |
5165 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5166 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
5167 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p."); | |
5168 | return NULL; | |
5169 | } | |
5170 | } | |
5171 | { | |
5172 | wxPy_BEGIN_ALLOW_THREADS; | |
5173 | wxPyLineShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5174 | ||
5175 | wxPy_END_ALLOW_THREADS; | |
5176 | } Py_INCREF(Py_None); | |
5177 | _resultobj = Py_None; | |
5178 | return _resultobj; | |
5179 | } | |
5180 | ||
5181 | #define wxPyLineShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5182 | static PyObject *_wrap_wxPyLineShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5183 | PyObject * _resultobj; | |
5184 | wxPyLineShape * _arg0; | |
5185 | wxControlPoint * _arg1; | |
5186 | double _arg2; | |
5187 | double _arg3; | |
5188 | int _arg4 = (int ) 0; | |
5189 | int _arg5 = (int ) 0; | |
5190 | PyObject * _argo0 = 0; | |
5191 | PyObject * _argo1 = 0; | |
5192 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5193 | ||
5194 | self = self; | |
5195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyLineShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5196 | return NULL; | |
5197 | if (_argo0) { | |
5198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxPyLineShape_p."); | |
5201 | return NULL; | |
5202 | } | |
5203 | } | |
5204 | if (_argo1) { | |
5205 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5206 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
5207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyLineShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p."); | |
5208 | return NULL; | |
5209 | } | |
5210 | } | |
5211 | { | |
5212 | wxPy_BEGIN_ALLOW_THREADS; | |
5213 | wxPyLineShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5214 | ||
5215 | wxPy_END_ALLOW_THREADS; | |
5216 | } Py_INCREF(Py_None); | |
5217 | _resultobj = Py_None; | |
5218 | return _resultobj; | |
5219 | } | |
5220 | ||
5221 | #define wxPyLineShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5222 | static PyObject *_wrap_wxPyLineShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5223 | PyObject * _resultobj; | |
5224 | wxPyLineShape * _arg0; | |
5225 | double _arg1; | |
5226 | double _arg2; | |
5227 | PyObject * _argo0 = 0; | |
5228 | char *_kwnames[] = { "self","w","h", NULL }; | |
5229 | ||
5230 | self = self; | |
5231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5232 | return NULL; | |
5233 | if (_argo0) { | |
5234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnBeginSize. Expected _wxPyLineShape_p."); | |
5237 | return NULL; | |
5238 | } | |
5239 | } | |
5240 | { | |
5241 | wxPy_BEGIN_ALLOW_THREADS; | |
5242 | wxPyLineShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5243 | ||
5244 | wxPy_END_ALLOW_THREADS; | |
5245 | } Py_INCREF(Py_None); | |
5246 | _resultobj = Py_None; | |
5247 | return _resultobj; | |
5248 | } | |
5249 | ||
5250 | #define wxPyLineShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5251 | static PyObject *_wrap_wxPyLineShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5252 | PyObject * _resultobj; | |
5253 | wxPyLineShape * _arg0; | |
5254 | double _arg1; | |
5255 | double _arg2; | |
5256 | PyObject * _argo0 = 0; | |
5257 | char *_kwnames[] = { "self","w","h", NULL }; | |
5258 | ||
5259 | self = self; | |
5260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyLineShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5261 | return NULL; | |
5262 | if (_argo0) { | |
5263 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5264 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyLineShape_p")) { | |
5265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyLineShape_base_OnEndSize. Expected _wxPyLineShape_p."); | |
5266 | return NULL; | |
5267 | } | |
5268 | } | |
5269 | { | |
5270 | wxPy_BEGIN_ALLOW_THREADS; | |
5271 | wxPyLineShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5272 | ||
5273 | wxPy_END_ALLOW_THREADS; | |
5274 | } Py_INCREF(Py_None); | |
5275 | _resultobj = Py_None; | |
5276 | return _resultobj; | |
5277 | } | |
5278 | ||
5279 | static void *SwigwxPyPolygonShapeTowxPyShape(void *ptr) { | |
5280 | wxPyPolygonShape *src; | |
5281 | wxPyShape *dest; | |
5282 | src = (wxPyPolygonShape *) ptr; | |
5283 | dest = (wxPyShape *) src; | |
5284 | return (void *) dest; | |
5285 | } | |
5286 | ||
5287 | static void *SwigwxPyPolygonShapeTowxPyShapeEvtHandler(void *ptr) { | |
5288 | wxPyPolygonShape *src; | |
5289 | wxPyShapeEvtHandler *dest; | |
5290 | src = (wxPyPolygonShape *) ptr; | |
5291 | dest = (wxPyShapeEvtHandler *) src; | |
5292 | return (void *) dest; | |
5293 | } | |
5294 | ||
5295 | #define new_wxPyPolygonShape() (new wxPyPolygonShape()) | |
5296 | static PyObject *_wrap_new_wxPyPolygonShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5297 | PyObject * _resultobj; | |
5298 | wxPyPolygonShape * _result; | |
5299 | char *_kwnames[] = { NULL }; | |
5300 | char _ptemp[128]; | |
5301 | ||
5302 | self = self; | |
5303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyPolygonShape",_kwnames)) | |
5304 | return NULL; | |
5305 | { | |
5306 | wxPy_BEGIN_ALLOW_THREADS; | |
5307 | _result = (wxPyPolygonShape *)new_wxPyPolygonShape(); | |
5308 | ||
5309 | wxPy_END_ALLOW_THREADS; | |
5310 | } if (_result) { | |
5311 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyPolygonShape_p"); | |
5312 | _resultobj = Py_BuildValue("s",_ptemp); | |
5313 | } else { | |
5314 | Py_INCREF(Py_None); | |
5315 | _resultobj = Py_None; | |
5316 | } | |
5317 | return _resultobj; | |
5318 | } | |
5319 | ||
5320 | #define wxPyPolygonShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
5321 | static PyObject *_wrap_wxPyPolygonShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5322 | PyObject * _resultobj; | |
5323 | wxPyPolygonShape * _arg0; | |
5324 | PyObject * _arg1; | |
5325 | PyObject * _argo0 = 0; | |
5326 | PyObject * _obj1 = 0; | |
5327 | char *_kwnames[] = { "self","self", NULL }; | |
5328 | ||
5329 | self = self; | |
5330 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
5331 | return NULL; | |
5332 | if (_argo0) { | |
5333 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5334 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5335 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape__setSelf. Expected _wxPyPolygonShape_p."); | |
5336 | return NULL; | |
5337 | } | |
5338 | } | |
5339 | { | |
5340 | _arg1 = _obj1; | |
5341 | } | |
5342 | { | |
5343 | wxPy_BEGIN_ALLOW_THREADS; | |
5344 | wxPyPolygonShape__setSelf(_arg0,_arg1); | |
5345 | ||
5346 | wxPy_END_ALLOW_THREADS; | |
5347 | } Py_INCREF(Py_None); | |
5348 | _resultobj = Py_None; | |
5349 | return _resultobj; | |
5350 | } | |
5351 | ||
5352 | static PyObject * wxPyPolygonShape_Create(wxPyPolygonShape *self,PyObject * points) { | |
5353 | wxList* list = wxPy_wxRealPoint_ListHelper(points); | |
5354 | if (list) { | |
5355 | self->Create(list); | |
5356 | Py_INCREF(Py_None); | |
5357 | return Py_None; | |
5358 | } | |
5359 | else return NULL; | |
5360 | } | |
5361 | static PyObject *_wrap_wxPyPolygonShape_Create(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5362 | PyObject * _resultobj; | |
5363 | PyObject * _result; | |
5364 | wxPyPolygonShape * _arg0; | |
5365 | PyObject * _arg1; | |
5366 | PyObject * _argo0 = 0; | |
5367 | PyObject * _obj1 = 0; | |
5368 | char *_kwnames[] = { "self","points", NULL }; | |
5369 | ||
5370 | self = self; | |
5371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_Create",_kwnames,&_argo0,&_obj1)) | |
5372 | return NULL; | |
5373 | if (_argo0) { | |
5374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_Create. Expected _wxPyPolygonShape_p."); | |
5377 | return NULL; | |
5378 | } | |
5379 | } | |
5380 | { | |
5381 | _arg1 = _obj1; | |
5382 | } | |
5383 | { | |
5384 | wxPy_BEGIN_ALLOW_THREADS; | |
5385 | _result = (PyObject *)wxPyPolygonShape_Create(_arg0,_arg1); | |
5386 | ||
5387 | wxPy_END_ALLOW_THREADS; | |
5388 | }{ | |
5389 | _resultobj = _result; | |
5390 | } | |
5391 | return _resultobj; | |
5392 | } | |
5393 | ||
5394 | #define wxPyPolygonShape_AddPolygonPoint(_swigobj,_swigarg0) (_swigobj->AddPolygonPoint(_swigarg0)) | |
5395 | static PyObject *_wrap_wxPyPolygonShape_AddPolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5396 | PyObject * _resultobj; | |
5397 | wxPyPolygonShape * _arg0; | |
5398 | int _arg1 = (int ) 0; | |
5399 | PyObject * _argo0 = 0; | |
5400 | char *_kwnames[] = { "self","pos", NULL }; | |
5401 | ||
5402 | self = self; | |
5403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_AddPolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5404 | return NULL; | |
5405 | if (_argo0) { | |
5406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_AddPolygonPoint. Expected _wxPyPolygonShape_p."); | |
5409 | return NULL; | |
5410 | } | |
5411 | } | |
5412 | { | |
5413 | wxPy_BEGIN_ALLOW_THREADS; | |
5414 | wxPyPolygonShape_AddPolygonPoint(_arg0,_arg1); | |
5415 | ||
5416 | wxPy_END_ALLOW_THREADS; | |
5417 | } Py_INCREF(Py_None); | |
5418 | _resultobj = Py_None; | |
5419 | return _resultobj; | |
5420 | } | |
5421 | ||
5422 | #define wxPyPolygonShape_CalculatePolygonCentre(_swigobj) (_swigobj->CalculatePolygonCentre()) | |
5423 | static PyObject *_wrap_wxPyPolygonShape_CalculatePolygonCentre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5424 | PyObject * _resultobj; | |
5425 | wxPyPolygonShape * _arg0; | |
5426 | PyObject * _argo0 = 0; | |
5427 | char *_kwnames[] = { "self", NULL }; | |
5428 | ||
5429 | self = self; | |
5430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_CalculatePolygonCentre",_kwnames,&_argo0)) | |
5431 | return NULL; | |
5432 | if (_argo0) { | |
5433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_CalculatePolygonCentre. Expected _wxPyPolygonShape_p."); | |
5436 | return NULL; | |
5437 | } | |
5438 | } | |
5439 | { | |
5440 | wxPy_BEGIN_ALLOW_THREADS; | |
5441 | wxPyPolygonShape_CalculatePolygonCentre(_arg0); | |
5442 | ||
5443 | wxPy_END_ALLOW_THREADS; | |
5444 | } Py_INCREF(Py_None); | |
5445 | _resultobj = Py_None; | |
5446 | return _resultobj; | |
5447 | } | |
5448 | ||
5449 | #define wxPyPolygonShape_DeletePolygonPoint(_swigobj,_swigarg0) (_swigobj->DeletePolygonPoint(_swigarg0)) | |
5450 | static PyObject *_wrap_wxPyPolygonShape_DeletePolygonPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5451 | PyObject * _resultobj; | |
5452 | wxPyPolygonShape * _arg0; | |
5453 | int _arg1 = (int ) 0; | |
5454 | PyObject * _argo0 = 0; | |
5455 | char *_kwnames[] = { "self","pos", NULL }; | |
5456 | ||
5457 | self = self; | |
5458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O|i:wxPyPolygonShape_DeletePolygonPoint",_kwnames,&_argo0,&_arg1)) | |
5459 | return NULL; | |
5460 | if (_argo0) { | |
5461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_DeletePolygonPoint. Expected _wxPyPolygonShape_p."); | |
5464 | return NULL; | |
5465 | } | |
5466 | } | |
5467 | { | |
5468 | wxPy_BEGIN_ALLOW_THREADS; | |
5469 | wxPyPolygonShape_DeletePolygonPoint(_arg0,_arg1); | |
5470 | ||
5471 | wxPy_END_ALLOW_THREADS; | |
5472 | } Py_INCREF(Py_None); | |
5473 | _resultobj = Py_None; | |
5474 | return _resultobj; | |
5475 | } | |
5476 | ||
5477 | static PyObject * wxPyPolygonShape_GetPoints(wxPyPolygonShape *self) { | |
5478 | wxList* list = self->GetPoints(); | |
5479 | return wxPy_ConvertList(list, "wxRealPoint"); | |
5480 | } | |
5481 | static PyObject *_wrap_wxPyPolygonShape_GetPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5482 | PyObject * _resultobj; | |
5483 | PyObject * _result; | |
5484 | wxPyPolygonShape * _arg0; | |
5485 | PyObject * _argo0 = 0; | |
5486 | char *_kwnames[] = { "self", NULL }; | |
5487 | ||
5488 | self = self; | |
5489 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_GetPoints",_kwnames,&_argo0)) | |
5490 | return NULL; | |
5491 | if (_argo0) { | |
5492 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5493 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_GetPoints. Expected _wxPyPolygonShape_p."); | |
5495 | return NULL; | |
5496 | } | |
5497 | } | |
5498 | { | |
5499 | wxPy_BEGIN_ALLOW_THREADS; | |
5500 | _result = (PyObject *)wxPyPolygonShape_GetPoints(_arg0); | |
5501 | ||
5502 | wxPy_END_ALLOW_THREADS; | |
5503 | }{ | |
5504 | _resultobj = _result; | |
5505 | } | |
5506 | return _resultobj; | |
5507 | } | |
5508 | ||
5509 | #define wxPyPolygonShape_UpdateOriginalPoints(_swigobj) (_swigobj->UpdateOriginalPoints()) | |
5510 | static PyObject *_wrap_wxPyPolygonShape_UpdateOriginalPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5511 | PyObject * _resultobj; | |
5512 | wxPyPolygonShape * _arg0; | |
5513 | PyObject * _argo0 = 0; | |
5514 | char *_kwnames[] = { "self", NULL }; | |
5515 | ||
5516 | self = self; | |
5517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyPolygonShape_UpdateOriginalPoints",_kwnames,&_argo0)) | |
5518 | return NULL; | |
5519 | if (_argo0) { | |
5520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_UpdateOriginalPoints. Expected _wxPyPolygonShape_p."); | |
5523 | return NULL; | |
5524 | } | |
5525 | } | |
5526 | { | |
5527 | wxPy_BEGIN_ALLOW_THREADS; | |
5528 | wxPyPolygonShape_UpdateOriginalPoints(_arg0); | |
5529 | ||
5530 | wxPy_END_ALLOW_THREADS; | |
5531 | } Py_INCREF(Py_None); | |
5532 | _resultobj = Py_None; | |
5533 | return _resultobj; | |
5534 | } | |
5535 | ||
5536 | #define wxPyPolygonShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
5537 | static PyObject *_wrap_wxPyPolygonShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5538 | PyObject * _resultobj; | |
5539 | wxPyPolygonShape * _arg0; | |
5540 | wxDC * _arg1; | |
5541 | PyObject * _argo0 = 0; | |
5542 | PyObject * _argo1 = 0; | |
5543 | char *_kwnames[] = { "self","dc", NULL }; | |
5544 | ||
5545 | self = self; | |
5546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
5547 | return NULL; | |
5548 | if (_argo0) { | |
5549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDraw. Expected _wxPyPolygonShape_p."); | |
5552 | return NULL; | |
5553 | } | |
5554 | } | |
5555 | if (_argo1) { | |
5556 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5557 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDraw. Expected _wxDC_p."); | |
5559 | return NULL; | |
5560 | } | |
5561 | } | |
5562 | { | |
5563 | wxPy_BEGIN_ALLOW_THREADS; | |
5564 | wxPyPolygonShape_base_OnDraw(_arg0,*_arg1); | |
5565 | ||
5566 | wxPy_END_ALLOW_THREADS; | |
5567 | } Py_INCREF(Py_None); | |
5568 | _resultobj = Py_None; | |
5569 | return _resultobj; | |
5570 | } | |
5571 | ||
5572 | #define wxPyPolygonShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
5573 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5574 | PyObject * _resultobj; | |
5575 | wxPyPolygonShape * _arg0; | |
5576 | wxDC * _arg1; | |
5577 | PyObject * _argo0 = 0; | |
5578 | PyObject * _argo1 = 0; | |
5579 | char *_kwnames[] = { "self","dc", NULL }; | |
5580 | ||
5581 | self = self; | |
5582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
5583 | return NULL; | |
5584 | if (_argo0) { | |
5585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawContents. Expected _wxPyPolygonShape_p."); | |
5588 | return NULL; | |
5589 | } | |
5590 | } | |
5591 | if (_argo1) { | |
5592 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5593 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawContents. Expected _wxDC_p."); | |
5595 | return NULL; | |
5596 | } | |
5597 | } | |
5598 | { | |
5599 | wxPy_BEGIN_ALLOW_THREADS; | |
5600 | wxPyPolygonShape_base_OnDrawContents(_arg0,*_arg1); | |
5601 | ||
5602 | wxPy_END_ALLOW_THREADS; | |
5603 | } Py_INCREF(Py_None); | |
5604 | _resultobj = Py_None; | |
5605 | return _resultobj; | |
5606 | } | |
5607 | ||
5608 | #define wxPyPolygonShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
5609 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5610 | PyObject * _resultobj; | |
5611 | wxPyPolygonShape * _arg0; | |
5612 | wxDC * _arg1; | |
5613 | bool _arg2 = (bool ) FALSE; | |
5614 | PyObject * _argo0 = 0; | |
5615 | PyObject * _argo1 = 0; | |
5616 | int tempbool2 = (int) FALSE; | |
5617 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
5618 | ||
5619 | self = self; | |
5620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5621 | return NULL; | |
5622 | if (_argo0) { | |
5623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxPyPolygonShape_p."); | |
5626 | return NULL; | |
5627 | } | |
5628 | } | |
5629 | if (_argo1) { | |
5630 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5631 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawBranches. Expected _wxDC_p."); | |
5633 | return NULL; | |
5634 | } | |
5635 | } | |
5636 | _arg2 = (bool ) tempbool2; | |
5637 | { | |
5638 | wxPy_BEGIN_ALLOW_THREADS; | |
5639 | wxPyPolygonShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
5640 | ||
5641 | wxPy_END_ALLOW_THREADS; | |
5642 | } Py_INCREF(Py_None); | |
5643 | _resultobj = Py_None; | |
5644 | return _resultobj; | |
5645 | } | |
5646 | ||
5647 | #define wxPyPolygonShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
5648 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5649 | PyObject * _resultobj; | |
5650 | wxPyPolygonShape * _arg0; | |
5651 | wxDC * _arg1; | |
5652 | PyObject * _argo0 = 0; | |
5653 | PyObject * _argo1 = 0; | |
5654 | char *_kwnames[] = { "self","dc", NULL }; | |
5655 | ||
5656 | self = self; | |
5657 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
5658 | return NULL; | |
5659 | if (_argo0) { | |
5660 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5661 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxPyPolygonShape_p."); | |
5663 | return NULL; | |
5664 | } | |
5665 | } | |
5666 | if (_argo1) { | |
5667 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5668 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLinks. Expected _wxDC_p."); | |
5670 | return NULL; | |
5671 | } | |
5672 | } | |
5673 | { | |
5674 | wxPy_BEGIN_ALLOW_THREADS; | |
5675 | wxPyPolygonShape_base_OnMoveLinks(_arg0,*_arg1); | |
5676 | ||
5677 | wxPy_END_ALLOW_THREADS; | |
5678 | } Py_INCREF(Py_None); | |
5679 | _resultobj = Py_None; | |
5680 | return _resultobj; | |
5681 | } | |
5682 | ||
5683 | #define wxPyPolygonShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
5684 | static PyObject *_wrap_wxPyPolygonShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5685 | PyObject * _resultobj; | |
5686 | wxPyPolygonShape * _arg0; | |
5687 | wxDC * _arg1; | |
5688 | PyObject * _argo0 = 0; | |
5689 | PyObject * _argo1 = 0; | |
5690 | char *_kwnames[] = { "self","dc", NULL }; | |
5691 | ||
5692 | self = self; | |
5693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
5694 | return NULL; | |
5695 | if (_argo0) { | |
5696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnErase. Expected _wxPyPolygonShape_p."); | |
5699 | return NULL; | |
5700 | } | |
5701 | } | |
5702 | if (_argo1) { | |
5703 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5704 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5705 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnErase. Expected _wxDC_p."); | |
5706 | return NULL; | |
5707 | } | |
5708 | } | |
5709 | { | |
5710 | wxPy_BEGIN_ALLOW_THREADS; | |
5711 | wxPyPolygonShape_base_OnErase(_arg0,*_arg1); | |
5712 | ||
5713 | wxPy_END_ALLOW_THREADS; | |
5714 | } Py_INCREF(Py_None); | |
5715 | _resultobj = Py_None; | |
5716 | return _resultobj; | |
5717 | } | |
5718 | ||
5719 | #define wxPyPolygonShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
5720 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5721 | PyObject * _resultobj; | |
5722 | wxPyPolygonShape * _arg0; | |
5723 | wxDC * _arg1; | |
5724 | PyObject * _argo0 = 0; | |
5725 | PyObject * _argo1 = 0; | |
5726 | char *_kwnames[] = { "self","dc", NULL }; | |
5727 | ||
5728 | self = self; | |
5729 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
5730 | return NULL; | |
5731 | if (_argo0) { | |
5732 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5733 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5734 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseContents. Expected _wxPyPolygonShape_p."); | |
5735 | return NULL; | |
5736 | } | |
5737 | } | |
5738 | if (_argo1) { | |
5739 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5740 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseContents. Expected _wxDC_p."); | |
5742 | return NULL; | |
5743 | } | |
5744 | } | |
5745 | { | |
5746 | wxPy_BEGIN_ALLOW_THREADS; | |
5747 | wxPyPolygonShape_base_OnEraseContents(_arg0,*_arg1); | |
5748 | ||
5749 | wxPy_END_ALLOW_THREADS; | |
5750 | } Py_INCREF(Py_None); | |
5751 | _resultobj = Py_None; | |
5752 | return _resultobj; | |
5753 | } | |
5754 | ||
5755 | #define wxPyPolygonShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
5756 | static PyObject *_wrap_wxPyPolygonShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5757 | PyObject * _resultobj; | |
5758 | wxPyPolygonShape * _arg0; | |
5759 | wxDC * _arg1; | |
5760 | PyObject * _argo0 = 0; | |
5761 | PyObject * _argo1 = 0; | |
5762 | char *_kwnames[] = { "self","dc", NULL }; | |
5763 | ||
5764 | self = self; | |
5765 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
5766 | return NULL; | |
5767 | if (_argo0) { | |
5768 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5769 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5770 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnHighlight. Expected _wxPyPolygonShape_p."); | |
5771 | return NULL; | |
5772 | } | |
5773 | } | |
5774 | if (_argo1) { | |
5775 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5776 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5777 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnHighlight. Expected _wxDC_p."); | |
5778 | return NULL; | |
5779 | } | |
5780 | } | |
5781 | { | |
5782 | wxPy_BEGIN_ALLOW_THREADS; | |
5783 | wxPyPolygonShape_base_OnHighlight(_arg0,*_arg1); | |
5784 | ||
5785 | wxPy_END_ALLOW_THREADS; | |
5786 | } Py_INCREF(Py_None); | |
5787 | _resultobj = Py_None; | |
5788 | return _resultobj; | |
5789 | } | |
5790 | ||
5791 | #define wxPyPolygonShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5792 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5793 | PyObject * _resultobj; | |
5794 | wxPyPolygonShape * _arg0; | |
5795 | double _arg1; | |
5796 | double _arg2; | |
5797 | int _arg3 = (int ) 0; | |
5798 | int _arg4 = (int ) 0; | |
5799 | PyObject * _argo0 = 0; | |
5800 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5801 | ||
5802 | self = self; | |
5803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5804 | return NULL; | |
5805 | if (_argo0) { | |
5806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftClick. Expected _wxPyPolygonShape_p."); | |
5809 | return NULL; | |
5810 | } | |
5811 | } | |
5812 | { | |
5813 | wxPy_BEGIN_ALLOW_THREADS; | |
5814 | wxPyPolygonShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5815 | ||
5816 | wxPy_END_ALLOW_THREADS; | |
5817 | } Py_INCREF(Py_None); | |
5818 | _resultobj = Py_None; | |
5819 | return _resultobj; | |
5820 | } | |
5821 | ||
5822 | #define wxPyPolygonShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5823 | static PyObject *_wrap_wxPyPolygonShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5824 | PyObject * _resultobj; | |
5825 | wxPyPolygonShape * _arg0; | |
5826 | double _arg1; | |
5827 | double _arg2; | |
5828 | int _arg3 = (int ) 0; | |
5829 | int _arg4 = (int ) 0; | |
5830 | PyObject * _argo0 = 0; | |
5831 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5832 | ||
5833 | self = self; | |
5834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5835 | return NULL; | |
5836 | if (_argo0) { | |
5837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnLeftDoubleClick. Expected _wxPyPolygonShape_p."); | |
5840 | return NULL; | |
5841 | } | |
5842 | } | |
5843 | { | |
5844 | wxPy_BEGIN_ALLOW_THREADS; | |
5845 | wxPyPolygonShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5846 | ||
5847 | wxPy_END_ALLOW_THREADS; | |
5848 | } Py_INCREF(Py_None); | |
5849 | _resultobj = Py_None; | |
5850 | return _resultobj; | |
5851 | } | |
5852 | ||
5853 | #define wxPyPolygonShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
5854 | static PyObject *_wrap_wxPyPolygonShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5855 | PyObject * _resultobj; | |
5856 | wxPyPolygonShape * _arg0; | |
5857 | double _arg1; | |
5858 | double _arg2; | |
5859 | int _arg3 = (int ) 0; | |
5860 | int _arg4 = (int ) 0; | |
5861 | PyObject * _argo0 = 0; | |
5862 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
5863 | ||
5864 | self = self; | |
5865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5866 | return NULL; | |
5867 | if (_argo0) { | |
5868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnRightClick. Expected _wxPyPolygonShape_p."); | |
5871 | return NULL; | |
5872 | } | |
5873 | } | |
5874 | { | |
5875 | wxPy_BEGIN_ALLOW_THREADS; | |
5876 | wxPyPolygonShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
5877 | ||
5878 | wxPy_END_ALLOW_THREADS; | |
5879 | } Py_INCREF(Py_None); | |
5880 | _resultobj = Py_None; | |
5881 | return _resultobj; | |
5882 | } | |
5883 | ||
5884 | #define wxPyPolygonShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
5885 | static PyObject *_wrap_wxPyPolygonShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5886 | PyObject * _resultobj; | |
5887 | wxPyPolygonShape * _arg0; | |
5888 | double _arg1; | |
5889 | double _arg2; | |
5890 | PyObject * _argo0 = 0; | |
5891 | char *_kwnames[] = { "self","x","y", NULL }; | |
5892 | ||
5893 | self = self; | |
5894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5895 | return NULL; | |
5896 | if (_argo0) { | |
5897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSize. Expected _wxPyPolygonShape_p."); | |
5900 | return NULL; | |
5901 | } | |
5902 | } | |
5903 | { | |
5904 | wxPy_BEGIN_ALLOW_THREADS; | |
5905 | wxPyPolygonShape_base_OnSize(_arg0,_arg1,_arg2); | |
5906 | ||
5907 | wxPy_END_ALLOW_THREADS; | |
5908 | } Py_INCREF(Py_None); | |
5909 | _resultobj = Py_None; | |
5910 | return _resultobj; | |
5911 | } | |
5912 | ||
5913 | #define wxPyPolygonShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5914 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5915 | PyObject * _resultobj; | |
5916 | bool _result; | |
5917 | wxPyPolygonShape * _arg0; | |
5918 | wxDC * _arg1; | |
5919 | double _arg2; | |
5920 | double _arg3; | |
5921 | double _arg4; | |
5922 | double _arg5; | |
5923 | bool _arg6 = (bool ) TRUE; | |
5924 | PyObject * _argo0 = 0; | |
5925 | PyObject * _argo1 = 0; | |
5926 | int tempbool6 = (int) TRUE; | |
5927 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
5928 | ||
5929 | self = self; | |
5930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
5931 | return NULL; | |
5932 | if (_argo0) { | |
5933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePre. Expected _wxPyPolygonShape_p."); | |
5936 | return NULL; | |
5937 | } | |
5938 | } | |
5939 | if (_argo1) { | |
5940 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5941 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePre. Expected _wxDC_p."); | |
5943 | return NULL; | |
5944 | } | |
5945 | } | |
5946 | _arg6 = (bool ) tempbool6; | |
5947 | { | |
5948 | wxPy_BEGIN_ALLOW_THREADS; | |
5949 | _result = (bool )wxPyPolygonShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5950 | ||
5951 | wxPy_END_ALLOW_THREADS; | |
5952 | } _resultobj = Py_BuildValue("i",_result); | |
5953 | return _resultobj; | |
5954 | } | |
5955 | ||
5956 | #define wxPyPolygonShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5957 | static PyObject *_wrap_wxPyPolygonShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5958 | PyObject * _resultobj; | |
5959 | wxPyPolygonShape * _arg0; | |
5960 | wxDC * _arg1; | |
5961 | double _arg2; | |
5962 | double _arg3; | |
5963 | double _arg4; | |
5964 | double _arg5; | |
5965 | bool _arg6 = (bool ) TRUE; | |
5966 | PyObject * _argo0 = 0; | |
5967 | PyObject * _argo1 = 0; | |
5968 | int tempbool6 = (int) TRUE; | |
5969 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
5970 | ||
5971 | self = self; | |
5972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyPolygonShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
5973 | return NULL; | |
5974 | if (_argo0) { | |
5975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
5977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMovePost. Expected _wxPyPolygonShape_p."); | |
5978 | return NULL; | |
5979 | } | |
5980 | } | |
5981 | if (_argo1) { | |
5982 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5983 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMovePost. Expected _wxDC_p."); | |
5985 | return NULL; | |
5986 | } | |
5987 | } | |
5988 | _arg6 = (bool ) tempbool6; | |
5989 | { | |
5990 | wxPy_BEGIN_ALLOW_THREADS; | |
5991 | wxPyPolygonShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5992 | ||
5993 | wxPy_END_ALLOW_THREADS; | |
5994 | } Py_INCREF(Py_None); | |
5995 | _resultobj = Py_None; | |
5996 | return _resultobj; | |
5997 | } | |
5998 | ||
5999 | #define wxPyPolygonShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6000 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6001 | PyObject * _resultobj; | |
6002 | wxPyPolygonShape * _arg0; | |
6003 | bool _arg1; | |
6004 | double _arg2; | |
6005 | double _arg3; | |
6006 | int _arg4 = (int ) 0; | |
6007 | int _arg5 = (int ) 0; | |
6008 | PyObject * _argo0 = 0; | |
6009 | int tempbool1; | |
6010 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6011 | ||
6012 | self = self; | |
6013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6014 | return NULL; | |
6015 | if (_argo0) { | |
6016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragLeft. Expected _wxPyPolygonShape_p."); | |
6019 | return NULL; | |
6020 | } | |
6021 | } | |
6022 | _arg1 = (bool ) tempbool1; | |
6023 | { | |
6024 | wxPy_BEGIN_ALLOW_THREADS; | |
6025 | wxPyPolygonShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6026 | ||
6027 | wxPy_END_ALLOW_THREADS; | |
6028 | } Py_INCREF(Py_None); | |
6029 | _resultobj = Py_None; | |
6030 | return _resultobj; | |
6031 | } | |
6032 | ||
6033 | #define wxPyPolygonShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6034 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6035 | PyObject * _resultobj; | |
6036 | wxPyPolygonShape * _arg0; | |
6037 | double _arg1; | |
6038 | double _arg2; | |
6039 | int _arg3 = (int ) 0; | |
6040 | int _arg4 = (int ) 0; | |
6041 | PyObject * _argo0 = 0; | |
6042 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6043 | ||
6044 | self = self; | |
6045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6046 | return NULL; | |
6047 | if (_argo0) { | |
6048 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6049 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6051 | return NULL; | |
6052 | } | |
6053 | } | |
6054 | { | |
6055 | wxPy_BEGIN_ALLOW_THREADS; | |
6056 | wxPyPolygonShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6057 | ||
6058 | wxPy_END_ALLOW_THREADS; | |
6059 | } Py_INCREF(Py_None); | |
6060 | _resultobj = Py_None; | |
6061 | return _resultobj; | |
6062 | } | |
6063 | ||
6064 | #define wxPyPolygonShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6065 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6066 | PyObject * _resultobj; | |
6067 | wxPyPolygonShape * _arg0; | |
6068 | double _arg1; | |
6069 | double _arg2; | |
6070 | int _arg3 = (int ) 0; | |
6071 | int _arg4 = (int ) 0; | |
6072 | PyObject * _argo0 = 0; | |
6073 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6074 | ||
6075 | self = self; | |
6076 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6077 | return NULL; | |
6078 | if (_argo0) { | |
6079 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6080 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6082 | return NULL; | |
6083 | } | |
6084 | } | |
6085 | { | |
6086 | wxPy_BEGIN_ALLOW_THREADS; | |
6087 | wxPyPolygonShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6088 | ||
6089 | wxPy_END_ALLOW_THREADS; | |
6090 | } Py_INCREF(Py_None); | |
6091 | _resultobj = Py_None; | |
6092 | return _resultobj; | |
6093 | } | |
6094 | ||
6095 | #define wxPyPolygonShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6096 | static PyObject *_wrap_wxPyPolygonShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6097 | PyObject * _resultobj; | |
6098 | wxPyPolygonShape * _arg0; | |
6099 | bool _arg1; | |
6100 | double _arg2; | |
6101 | double _arg3; | |
6102 | int _arg4 = (int ) 0; | |
6103 | int _arg5 = (int ) 0; | |
6104 | PyObject * _argo0 = 0; | |
6105 | int tempbool1; | |
6106 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6107 | ||
6108 | self = self; | |
6109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyPolygonShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6110 | return NULL; | |
6111 | if (_argo0) { | |
6112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDragRight. Expected _wxPyPolygonShape_p."); | |
6115 | return NULL; | |
6116 | } | |
6117 | } | |
6118 | _arg1 = (bool ) tempbool1; | |
6119 | { | |
6120 | wxPy_BEGIN_ALLOW_THREADS; | |
6121 | wxPyPolygonShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6122 | ||
6123 | wxPy_END_ALLOW_THREADS; | |
6124 | } Py_INCREF(Py_None); | |
6125 | _resultobj = Py_None; | |
6126 | return _resultobj; | |
6127 | } | |
6128 | ||
6129 | #define wxPyPolygonShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6130 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6131 | PyObject * _resultobj; | |
6132 | wxPyPolygonShape * _arg0; | |
6133 | double _arg1; | |
6134 | double _arg2; | |
6135 | int _arg3 = (int ) 0; | |
6136 | int _arg4 = (int ) 0; | |
6137 | PyObject * _argo0 = 0; | |
6138 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6139 | ||
6140 | self = self; | |
6141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6142 | return NULL; | |
6143 | if (_argo0) { | |
6144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginDragRight. Expected _wxPyPolygonShape_p."); | |
6147 | return NULL; | |
6148 | } | |
6149 | } | |
6150 | { | |
6151 | wxPy_BEGIN_ALLOW_THREADS; | |
6152 | wxPyPolygonShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6153 | ||
6154 | wxPy_END_ALLOW_THREADS; | |
6155 | } Py_INCREF(Py_None); | |
6156 | _resultobj = Py_None; | |
6157 | return _resultobj; | |
6158 | } | |
6159 | ||
6160 | #define wxPyPolygonShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6161 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6162 | PyObject * _resultobj; | |
6163 | wxPyPolygonShape * _arg0; | |
6164 | double _arg1; | |
6165 | double _arg2; | |
6166 | int _arg3 = (int ) 0; | |
6167 | int _arg4 = (int ) 0; | |
6168 | PyObject * _argo0 = 0; | |
6169 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6170 | ||
6171 | self = self; | |
6172 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyPolygonShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6173 | return NULL; | |
6174 | if (_argo0) { | |
6175 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6176 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6177 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndDragRight. Expected _wxPyPolygonShape_p."); | |
6178 | return NULL; | |
6179 | } | |
6180 | } | |
6181 | { | |
6182 | wxPy_BEGIN_ALLOW_THREADS; | |
6183 | wxPyPolygonShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6184 | ||
6185 | wxPy_END_ALLOW_THREADS; | |
6186 | } Py_INCREF(Py_None); | |
6187 | _resultobj = Py_None; | |
6188 | return _resultobj; | |
6189 | } | |
6190 | ||
6191 | #define wxPyPolygonShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6192 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6193 | PyObject * _resultobj; | |
6194 | wxPyPolygonShape * _arg0; | |
6195 | wxDC * _arg1; | |
6196 | double _arg2; | |
6197 | double _arg3; | |
6198 | double _arg4; | |
6199 | double _arg5; | |
6200 | PyObject * _argo0 = 0; | |
6201 | PyObject * _argo1 = 0; | |
6202 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
6203 | ||
6204 | self = self; | |
6205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyPolygonShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6206 | return NULL; | |
6207 | if (_argo0) { | |
6208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxPyPolygonShape_p."); | |
6211 | return NULL; | |
6212 | } | |
6213 | } | |
6214 | if (_argo1) { | |
6215 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6216 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawOutline. Expected _wxDC_p."); | |
6218 | return NULL; | |
6219 | } | |
6220 | } | |
6221 | { | |
6222 | wxPy_BEGIN_ALLOW_THREADS; | |
6223 | wxPyPolygonShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
6224 | ||
6225 | wxPy_END_ALLOW_THREADS; | |
6226 | } Py_INCREF(Py_None); | |
6227 | _resultobj = Py_None; | |
6228 | return _resultobj; | |
6229 | } | |
6230 | ||
6231 | #define wxPyPolygonShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
6232 | static PyObject *_wrap_wxPyPolygonShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6233 | PyObject * _resultobj; | |
6234 | wxPyPolygonShape * _arg0; | |
6235 | wxDC * _arg1; | |
6236 | PyObject * _argo0 = 0; | |
6237 | PyObject * _argo1 = 0; | |
6238 | char *_kwnames[] = { "self","dc", NULL }; | |
6239 | ||
6240 | self = self; | |
6241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
6242 | return NULL; | |
6243 | if (_argo0) { | |
6244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxPyPolygonShape_p."); | |
6247 | return NULL; | |
6248 | } | |
6249 | } | |
6250 | if (_argo1) { | |
6251 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6252 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
6254 | return NULL; | |
6255 | } | |
6256 | } | |
6257 | { | |
6258 | wxPy_BEGIN_ALLOW_THREADS; | |
6259 | wxPyPolygonShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
6260 | ||
6261 | wxPy_END_ALLOW_THREADS; | |
6262 | } Py_INCREF(Py_None); | |
6263 | _resultobj = Py_None; | |
6264 | return _resultobj; | |
6265 | } | |
6266 | ||
6267 | #define wxPyPolygonShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
6268 | static PyObject *_wrap_wxPyPolygonShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6269 | PyObject * _resultobj; | |
6270 | wxPyPolygonShape * _arg0; | |
6271 | wxDC * _arg1; | |
6272 | PyObject * _argo0 = 0; | |
6273 | PyObject * _argo1 = 0; | |
6274 | char *_kwnames[] = { "self","dc", NULL }; | |
6275 | ||
6276 | self = self; | |
6277 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyPolygonShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
6278 | return NULL; | |
6279 | if (_argo0) { | |
6280 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6281 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6282 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxPyPolygonShape_p."); | |
6283 | return NULL; | |
6284 | } | |
6285 | } | |
6286 | if (_argo1) { | |
6287 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6288 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
6290 | return NULL; | |
6291 | } | |
6292 | } | |
6293 | { | |
6294 | wxPy_BEGIN_ALLOW_THREADS; | |
6295 | wxPyPolygonShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
6296 | ||
6297 | wxPy_END_ALLOW_THREADS; | |
6298 | } Py_INCREF(Py_None); | |
6299 | _resultobj = Py_None; | |
6300 | return _resultobj; | |
6301 | } | |
6302 | ||
6303 | #define wxPyPolygonShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
6304 | static PyObject *_wrap_wxPyPolygonShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6305 | PyObject * _resultobj; | |
6306 | wxPyPolygonShape * _arg0; | |
6307 | wxDC * _arg1; | |
6308 | bool _arg2 = (bool ) TRUE; | |
6309 | PyObject * _argo0 = 0; | |
6310 | PyObject * _argo1 = 0; | |
6311 | int tempbool2 = (int) TRUE; | |
6312 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
6313 | ||
6314 | self = self; | |
6315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyPolygonShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6316 | return NULL; | |
6317 | if (_argo0) { | |
6318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnMoveLink. Expected _wxPyPolygonShape_p."); | |
6321 | return NULL; | |
6322 | } | |
6323 | } | |
6324 | if (_argo1) { | |
6325 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6326 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnMoveLink. Expected _wxDC_p."); | |
6328 | return NULL; | |
6329 | } | |
6330 | } | |
6331 | _arg2 = (bool ) tempbool2; | |
6332 | { | |
6333 | wxPy_BEGIN_ALLOW_THREADS; | |
6334 | wxPyPolygonShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
6335 | ||
6336 | wxPy_END_ALLOW_THREADS; | |
6337 | } Py_INCREF(Py_None); | |
6338 | _resultobj = Py_None; | |
6339 | return _resultobj; | |
6340 | } | |
6341 | ||
6342 | #define wxPyPolygonShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6343 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6344 | PyObject * _resultobj; | |
6345 | wxPyPolygonShape * _arg0; | |
6346 | wxControlPoint * _arg1; | |
6347 | bool _arg2; | |
6348 | double _arg3; | |
6349 | double _arg4; | |
6350 | int _arg5 = (int ) 0; | |
6351 | int _arg6 = (int ) 0; | |
6352 | PyObject * _argo0 = 0; | |
6353 | PyObject * _argo1 = 0; | |
6354 | int tempbool2; | |
6355 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
6356 | ||
6357 | self = self; | |
6358 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyPolygonShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
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_OnSizingDragLeft. 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,"_wxControlPoint_p")) { | |
6370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingDragLeft. Expected _wxControlPoint_p."); | |
6371 | return NULL; | |
6372 | } | |
6373 | } | |
6374 | _arg2 = (bool ) tempbool2; | |
6375 | { | |
6376 | wxPy_BEGIN_ALLOW_THREADS; | |
6377 | wxPyPolygonShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6378 | ||
6379 | wxPy_END_ALLOW_THREADS; | |
6380 | } Py_INCREF(Py_None); | |
6381 | _resultobj = Py_None; | |
6382 | return _resultobj; | |
6383 | } | |
6384 | ||
6385 | #define wxPyPolygonShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6386 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6387 | PyObject * _resultobj; | |
6388 | wxPyPolygonShape * _arg0; | |
6389 | wxControlPoint * _arg1; | |
6390 | double _arg2; | |
6391 | double _arg3; | |
6392 | int _arg4 = (int ) 0; | |
6393 | int _arg5 = (int ) 0; | |
6394 | PyObject * _argo0 = 0; | |
6395 | PyObject * _argo1 = 0; | |
6396 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6397 | ||
6398 | self = self; | |
6399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6400 | return NULL; | |
6401 | if (_argo0) { | |
6402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxPyPolygonShape_p."); | |
6405 | return NULL; | |
6406 | } | |
6407 | } | |
6408 | if (_argo1) { | |
6409 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6410 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
6411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p."); | |
6412 | return NULL; | |
6413 | } | |
6414 | } | |
6415 | { | |
6416 | wxPy_BEGIN_ALLOW_THREADS; | |
6417 | wxPyPolygonShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6418 | ||
6419 | wxPy_END_ALLOW_THREADS; | |
6420 | } Py_INCREF(Py_None); | |
6421 | _resultobj = Py_None; | |
6422 | return _resultobj; | |
6423 | } | |
6424 | ||
6425 | #define wxPyPolygonShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6426 | static PyObject *_wrap_wxPyPolygonShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6427 | PyObject * _resultobj; | |
6428 | wxPyPolygonShape * _arg0; | |
6429 | wxControlPoint * _arg1; | |
6430 | double _arg2; | |
6431 | double _arg3; | |
6432 | int _arg4 = (int ) 0; | |
6433 | int _arg5 = (int ) 0; | |
6434 | PyObject * _argo0 = 0; | |
6435 | PyObject * _argo1 = 0; | |
6436 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
6437 | ||
6438 | self = self; | |
6439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyPolygonShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6440 | return NULL; | |
6441 | if (_argo0) { | |
6442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxPyPolygonShape_p."); | |
6445 | return NULL; | |
6446 | } | |
6447 | } | |
6448 | if (_argo1) { | |
6449 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6450 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
6451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyPolygonShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p."); | |
6452 | return NULL; | |
6453 | } | |
6454 | } | |
6455 | { | |
6456 | wxPy_BEGIN_ALLOW_THREADS; | |
6457 | wxPyPolygonShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6458 | ||
6459 | wxPy_END_ALLOW_THREADS; | |
6460 | } Py_INCREF(Py_None); | |
6461 | _resultobj = Py_None; | |
6462 | return _resultobj; | |
6463 | } | |
6464 | ||
6465 | #define wxPyPolygonShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
6466 | static PyObject *_wrap_wxPyPolygonShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6467 | PyObject * _resultobj; | |
6468 | wxPyPolygonShape * _arg0; | |
6469 | double _arg1; | |
6470 | double _arg2; | |
6471 | PyObject * _argo0 = 0; | |
6472 | char *_kwnames[] = { "self","w","h", NULL }; | |
6473 | ||
6474 | self = self; | |
6475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6476 | return NULL; | |
6477 | if (_argo0) { | |
6478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnBeginSize. Expected _wxPyPolygonShape_p."); | |
6481 | return NULL; | |
6482 | } | |
6483 | } | |
6484 | { | |
6485 | wxPy_BEGIN_ALLOW_THREADS; | |
6486 | wxPyPolygonShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
6487 | ||
6488 | wxPy_END_ALLOW_THREADS; | |
6489 | } Py_INCREF(Py_None); | |
6490 | _resultobj = Py_None; | |
6491 | return _resultobj; | |
6492 | } | |
6493 | ||
6494 | #define wxPyPolygonShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
6495 | static PyObject *_wrap_wxPyPolygonShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6496 | PyObject * _resultobj; | |
6497 | wxPyPolygonShape * _arg0; | |
6498 | double _arg1; | |
6499 | double _arg2; | |
6500 | PyObject * _argo0 = 0; | |
6501 | char *_kwnames[] = { "self","w","h", NULL }; | |
6502 | ||
6503 | self = self; | |
6504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyPolygonShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6505 | return NULL; | |
6506 | if (_argo0) { | |
6507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyPolygonShape_p")) { | |
6509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyPolygonShape_base_OnEndSize. Expected _wxPyPolygonShape_p."); | |
6510 | return NULL; | |
6511 | } | |
6512 | } | |
6513 | { | |
6514 | wxPy_BEGIN_ALLOW_THREADS; | |
6515 | wxPyPolygonShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
6516 | ||
6517 | wxPy_END_ALLOW_THREADS; | |
6518 | } Py_INCREF(Py_None); | |
6519 | _resultobj = Py_None; | |
6520 | return _resultobj; | |
6521 | } | |
6522 | ||
6523 | static void *SwigwxPyTextShapeTowxPyRectangleShape(void *ptr) { | |
6524 | wxPyTextShape *src; | |
6525 | wxPyRectangleShape *dest; | |
6526 | src = (wxPyTextShape *) ptr; | |
6527 | dest = (wxPyRectangleShape *) src; | |
6528 | return (void *) dest; | |
6529 | } | |
6530 | ||
6531 | static void *SwigwxPyTextShapeTowxPyShape(void *ptr) { | |
6532 | wxPyTextShape *src; | |
6533 | wxPyShape *dest; | |
6534 | src = (wxPyTextShape *) ptr; | |
6535 | dest = (wxPyShape *) src; | |
6536 | return (void *) dest; | |
6537 | } | |
6538 | ||
6539 | static void *SwigwxPyTextShapeTowxPyShapeEvtHandler(void *ptr) { | |
6540 | wxPyTextShape *src; | |
6541 | wxPyShapeEvtHandler *dest; | |
6542 | src = (wxPyTextShape *) ptr; | |
6543 | dest = (wxPyShapeEvtHandler *) src; | |
6544 | return (void *) dest; | |
6545 | } | |
6546 | ||
6547 | #define new_wxPyTextShape(_swigarg0,_swigarg1) (new wxPyTextShape(_swigarg0,_swigarg1)) | |
6548 | static PyObject *_wrap_new_wxPyTextShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6549 | PyObject * _resultobj; | |
6550 | wxPyTextShape * _result; | |
6551 | double _arg0 = (double ) 0.0; | |
6552 | double _arg1 = (double ) 0.0; | |
6553 | char *_kwnames[] = { "width","height", NULL }; | |
6554 | char _ptemp[128]; | |
6555 | ||
6556 | self = self; | |
6557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyTextShape",_kwnames,&_arg0,&_arg1)) | |
6558 | return NULL; | |
6559 | { | |
6560 | wxPy_BEGIN_ALLOW_THREADS; | |
6561 | _result = (wxPyTextShape *)new_wxPyTextShape(_arg0,_arg1); | |
6562 | ||
6563 | wxPy_END_ALLOW_THREADS; | |
6564 | } if (_result) { | |
6565 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyTextShape_p"); | |
6566 | _resultobj = Py_BuildValue("s",_ptemp); | |
6567 | } else { | |
6568 | Py_INCREF(Py_None); | |
6569 | _resultobj = Py_None; | |
6570 | } | |
6571 | return _resultobj; | |
6572 | } | |
6573 | ||
6574 | #define wxPyTextShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
6575 | static PyObject *_wrap_wxPyTextShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6576 | PyObject * _resultobj; | |
6577 | wxPyTextShape * _arg0; | |
6578 | PyObject * _arg1; | |
6579 | PyObject * _argo0 = 0; | |
6580 | PyObject * _obj1 = 0; | |
6581 | char *_kwnames[] = { "self","self", NULL }; | |
6582 | ||
6583 | self = self; | |
6584 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
6585 | return NULL; | |
6586 | if (_argo0) { | |
6587 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6588 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6589 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape__setSelf. Expected _wxPyTextShape_p."); | |
6590 | return NULL; | |
6591 | } | |
6592 | } | |
6593 | { | |
6594 | _arg1 = _obj1; | |
6595 | } | |
6596 | { | |
6597 | wxPy_BEGIN_ALLOW_THREADS; | |
6598 | wxPyTextShape__setSelf(_arg0,_arg1); | |
6599 | ||
6600 | wxPy_END_ALLOW_THREADS; | |
6601 | } Py_INCREF(Py_None); | |
6602 | _resultobj = Py_None; | |
6603 | return _resultobj; | |
6604 | } | |
6605 | ||
6606 | #define wxPyTextShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6607 | static PyObject *_wrap_wxPyTextShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6608 | PyObject * _resultobj; | |
6609 | wxPyTextShape * _arg0; | |
6610 | PyObject * _argo0 = 0; | |
6611 | char *_kwnames[] = { "self", NULL }; | |
6612 | ||
6613 | self = self; | |
6614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyTextShape_base_OnDelete",_kwnames,&_argo0)) | |
6615 | return NULL; | |
6616 | if (_argo0) { | |
6617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDelete. Expected _wxPyTextShape_p."); | |
6620 | return NULL; | |
6621 | } | |
6622 | } | |
6623 | { | |
6624 | wxPy_BEGIN_ALLOW_THREADS; | |
6625 | wxPyTextShape_base_OnDelete(_arg0); | |
6626 | ||
6627 | wxPy_END_ALLOW_THREADS; | |
6628 | } Py_INCREF(Py_None); | |
6629 | _resultobj = Py_None; | |
6630 | return _resultobj; | |
6631 | } | |
6632 | ||
6633 | #define wxPyTextShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6634 | static PyObject *_wrap_wxPyTextShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6635 | PyObject * _resultobj; | |
6636 | wxPyTextShape * _arg0; | |
6637 | wxDC * _arg1; | |
6638 | PyObject * _argo0 = 0; | |
6639 | PyObject * _argo1 = 0; | |
6640 | char *_kwnames[] = { "self","dc", NULL }; | |
6641 | ||
6642 | self = self; | |
6643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6644 | return NULL; | |
6645 | if (_argo0) { | |
6646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDraw. Expected _wxPyTextShape_p."); | |
6649 | return NULL; | |
6650 | } | |
6651 | } | |
6652 | if (_argo1) { | |
6653 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6654 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDraw. Expected _wxDC_p."); | |
6656 | return NULL; | |
6657 | } | |
6658 | } | |
6659 | { | |
6660 | wxPy_BEGIN_ALLOW_THREADS; | |
6661 | wxPyTextShape_base_OnDraw(_arg0,*_arg1); | |
6662 | ||
6663 | wxPy_END_ALLOW_THREADS; | |
6664 | } Py_INCREF(Py_None); | |
6665 | _resultobj = Py_None; | |
6666 | return _resultobj; | |
6667 | } | |
6668 | ||
6669 | #define wxPyTextShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6670 | static PyObject *_wrap_wxPyTextShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6671 | PyObject * _resultobj; | |
6672 | wxPyTextShape * _arg0; | |
6673 | wxDC * _arg1; | |
6674 | PyObject * _argo0 = 0; | |
6675 | PyObject * _argo1 = 0; | |
6676 | char *_kwnames[] = { "self","dc", NULL }; | |
6677 | ||
6678 | self = self; | |
6679 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6680 | return NULL; | |
6681 | if (_argo0) { | |
6682 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6683 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6684 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawContents. Expected _wxPyTextShape_p."); | |
6685 | return NULL; | |
6686 | } | |
6687 | } | |
6688 | if (_argo1) { | |
6689 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6690 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawContents. Expected _wxDC_p."); | |
6692 | return NULL; | |
6693 | } | |
6694 | } | |
6695 | { | |
6696 | wxPy_BEGIN_ALLOW_THREADS; | |
6697 | wxPyTextShape_base_OnDrawContents(_arg0,*_arg1); | |
6698 | ||
6699 | wxPy_END_ALLOW_THREADS; | |
6700 | } Py_INCREF(Py_None); | |
6701 | _resultobj = Py_None; | |
6702 | return _resultobj; | |
6703 | } | |
6704 | ||
6705 | #define wxPyTextShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6706 | static PyObject *_wrap_wxPyTextShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6707 | PyObject * _resultobj; | |
6708 | wxPyTextShape * _arg0; | |
6709 | wxDC * _arg1; | |
6710 | bool _arg2 = (bool ) FALSE; | |
6711 | PyObject * _argo0 = 0; | |
6712 | PyObject * _argo1 = 0; | |
6713 | int tempbool2 = (int) FALSE; | |
6714 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6715 | ||
6716 | self = self; | |
6717 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6718 | return NULL; | |
6719 | if (_argo0) { | |
6720 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6721 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawBranches. Expected _wxPyTextShape_p."); | |
6723 | return NULL; | |
6724 | } | |
6725 | } | |
6726 | if (_argo1) { | |
6727 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6728 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6730 | return NULL; | |
6731 | } | |
6732 | } | |
6733 | _arg2 = (bool ) tempbool2; | |
6734 | { | |
6735 | wxPy_BEGIN_ALLOW_THREADS; | |
6736 | wxPyTextShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6737 | ||
6738 | wxPy_END_ALLOW_THREADS; | |
6739 | } Py_INCREF(Py_None); | |
6740 | _resultobj = Py_None; | |
6741 | return _resultobj; | |
6742 | } | |
6743 | ||
6744 | #define wxPyTextShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6745 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6746 | PyObject * _resultobj; | |
6747 | wxPyTextShape * _arg0; | |
6748 | wxDC * _arg1; | |
6749 | PyObject * _argo0 = 0; | |
6750 | PyObject * _argo1 = 0; | |
6751 | char *_kwnames[] = { "self","dc", NULL }; | |
6752 | ||
6753 | self = self; | |
6754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6755 | return NULL; | |
6756 | if (_argo0) { | |
6757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLinks. Expected _wxPyTextShape_p."); | |
6760 | return NULL; | |
6761 | } | |
6762 | } | |
6763 | if (_argo1) { | |
6764 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6765 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6767 | return NULL; | |
6768 | } | |
6769 | } | |
6770 | { | |
6771 | wxPy_BEGIN_ALLOW_THREADS; | |
6772 | wxPyTextShape_base_OnMoveLinks(_arg0,*_arg1); | |
6773 | ||
6774 | wxPy_END_ALLOW_THREADS; | |
6775 | } Py_INCREF(Py_None); | |
6776 | _resultobj = Py_None; | |
6777 | return _resultobj; | |
6778 | } | |
6779 | ||
6780 | #define wxPyTextShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6781 | static PyObject *_wrap_wxPyTextShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6782 | PyObject * _resultobj; | |
6783 | wxPyTextShape * _arg0; | |
6784 | wxDC * _arg1; | |
6785 | PyObject * _argo0 = 0; | |
6786 | PyObject * _argo1 = 0; | |
6787 | char *_kwnames[] = { "self","dc", NULL }; | |
6788 | ||
6789 | self = self; | |
6790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6791 | return NULL; | |
6792 | if (_argo0) { | |
6793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnErase. Expected _wxPyTextShape_p."); | |
6796 | return NULL; | |
6797 | } | |
6798 | } | |
6799 | if (_argo1) { | |
6800 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6801 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnErase. Expected _wxDC_p."); | |
6803 | return NULL; | |
6804 | } | |
6805 | } | |
6806 | { | |
6807 | wxPy_BEGIN_ALLOW_THREADS; | |
6808 | wxPyTextShape_base_OnErase(_arg0,*_arg1); | |
6809 | ||
6810 | wxPy_END_ALLOW_THREADS; | |
6811 | } Py_INCREF(Py_None); | |
6812 | _resultobj = Py_None; | |
6813 | return _resultobj; | |
6814 | } | |
6815 | ||
6816 | #define wxPyTextShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6817 | static PyObject *_wrap_wxPyTextShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6818 | PyObject * _resultobj; | |
6819 | wxPyTextShape * _arg0; | |
6820 | wxDC * _arg1; | |
6821 | PyObject * _argo0 = 0; | |
6822 | PyObject * _argo1 = 0; | |
6823 | char *_kwnames[] = { "self","dc", NULL }; | |
6824 | ||
6825 | self = self; | |
6826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6827 | return NULL; | |
6828 | if (_argo0) { | |
6829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseContents. Expected _wxPyTextShape_p."); | |
6832 | return NULL; | |
6833 | } | |
6834 | } | |
6835 | if (_argo1) { | |
6836 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6837 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseContents. Expected _wxDC_p."); | |
6839 | return NULL; | |
6840 | } | |
6841 | } | |
6842 | { | |
6843 | wxPy_BEGIN_ALLOW_THREADS; | |
6844 | wxPyTextShape_base_OnEraseContents(_arg0,*_arg1); | |
6845 | ||
6846 | wxPy_END_ALLOW_THREADS; | |
6847 | } Py_INCREF(Py_None); | |
6848 | _resultobj = Py_None; | |
6849 | return _resultobj; | |
6850 | } | |
6851 | ||
6852 | #define wxPyTextShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6853 | static PyObject *_wrap_wxPyTextShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6854 | PyObject * _resultobj; | |
6855 | wxPyTextShape * _arg0; | |
6856 | wxDC * _arg1; | |
6857 | PyObject * _argo0 = 0; | |
6858 | PyObject * _argo1 = 0; | |
6859 | char *_kwnames[] = { "self","dc", NULL }; | |
6860 | ||
6861 | self = self; | |
6862 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6863 | return NULL; | |
6864 | if (_argo0) { | |
6865 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6866 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnHighlight. Expected _wxPyTextShape_p."); | |
6868 | return NULL; | |
6869 | } | |
6870 | } | |
6871 | if (_argo1) { | |
6872 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6873 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnHighlight. Expected _wxDC_p."); | |
6875 | return NULL; | |
6876 | } | |
6877 | } | |
6878 | { | |
6879 | wxPy_BEGIN_ALLOW_THREADS; | |
6880 | wxPyTextShape_base_OnHighlight(_arg0,*_arg1); | |
6881 | ||
6882 | wxPy_END_ALLOW_THREADS; | |
6883 | } Py_INCREF(Py_None); | |
6884 | _resultobj = Py_None; | |
6885 | return _resultobj; | |
6886 | } | |
6887 | ||
6888 | #define wxPyTextShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6889 | static PyObject *_wrap_wxPyTextShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6890 | PyObject * _resultobj; | |
6891 | wxPyTextShape * _arg0; | |
6892 | double _arg1; | |
6893 | double _arg2; | |
6894 | int _arg3 = (int ) 0; | |
6895 | int _arg4 = (int ) 0; | |
6896 | PyObject * _argo0 = 0; | |
6897 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6898 | ||
6899 | self = self; | |
6900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6901 | return NULL; | |
6902 | if (_argo0) { | |
6903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftClick. Expected _wxPyTextShape_p."); | |
6906 | return NULL; | |
6907 | } | |
6908 | } | |
6909 | { | |
6910 | wxPy_BEGIN_ALLOW_THREADS; | |
6911 | wxPyTextShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6912 | ||
6913 | wxPy_END_ALLOW_THREADS; | |
6914 | } Py_INCREF(Py_None); | |
6915 | _resultobj = Py_None; | |
6916 | return _resultobj; | |
6917 | } | |
6918 | ||
6919 | #define wxPyTextShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6920 | static PyObject *_wrap_wxPyTextShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6921 | PyObject * _resultobj; | |
6922 | wxPyTextShape * _arg0; | |
6923 | double _arg1; | |
6924 | double _arg2; | |
6925 | int _arg3 = (int ) 0; | |
6926 | int _arg4 = (int ) 0; | |
6927 | PyObject * _argo0 = 0; | |
6928 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6929 | ||
6930 | self = self; | |
6931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6932 | return NULL; | |
6933 | if (_argo0) { | |
6934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnLeftDoubleClick. Expected _wxPyTextShape_p."); | |
6937 | return NULL; | |
6938 | } | |
6939 | } | |
6940 | { | |
6941 | wxPy_BEGIN_ALLOW_THREADS; | |
6942 | wxPyTextShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6943 | ||
6944 | wxPy_END_ALLOW_THREADS; | |
6945 | } Py_INCREF(Py_None); | |
6946 | _resultobj = Py_None; | |
6947 | return _resultobj; | |
6948 | } | |
6949 | ||
6950 | #define wxPyTextShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6951 | static PyObject *_wrap_wxPyTextShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6952 | PyObject * _resultobj; | |
6953 | wxPyTextShape * _arg0; | |
6954 | double _arg1; | |
6955 | double _arg2; | |
6956 | int _arg3 = (int ) 0; | |
6957 | int _arg4 = (int ) 0; | |
6958 | PyObject * _argo0 = 0; | |
6959 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6960 | ||
6961 | self = self; | |
6962 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6963 | return NULL; | |
6964 | if (_argo0) { | |
6965 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6966 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnRightClick. Expected _wxPyTextShape_p."); | |
6968 | return NULL; | |
6969 | } | |
6970 | } | |
6971 | { | |
6972 | wxPy_BEGIN_ALLOW_THREADS; | |
6973 | wxPyTextShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6974 | ||
6975 | wxPy_END_ALLOW_THREADS; | |
6976 | } Py_INCREF(Py_None); | |
6977 | _resultobj = Py_None; | |
6978 | return _resultobj; | |
6979 | } | |
6980 | ||
6981 | #define wxPyTextShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
6982 | static PyObject *_wrap_wxPyTextShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6983 | PyObject * _resultobj; | |
6984 | wxPyTextShape * _arg0; | |
6985 | double _arg1; | |
6986 | double _arg2; | |
6987 | PyObject * _argo0 = 0; | |
6988 | char *_kwnames[] = { "self","x","y", NULL }; | |
6989 | ||
6990 | self = self; | |
6991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6992 | return NULL; | |
6993 | if (_argo0) { | |
6994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
6996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSize. Expected _wxPyTextShape_p."); | |
6997 | return NULL; | |
6998 | } | |
6999 | } | |
7000 | { | |
7001 | wxPy_BEGIN_ALLOW_THREADS; | |
7002 | wxPyTextShape_base_OnSize(_arg0,_arg1,_arg2); | |
7003 | ||
7004 | wxPy_END_ALLOW_THREADS; | |
7005 | } Py_INCREF(Py_None); | |
7006 | _resultobj = Py_None; | |
7007 | return _resultobj; | |
7008 | } | |
7009 | ||
7010 | #define wxPyTextShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7011 | static PyObject *_wrap_wxPyTextShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7012 | PyObject * _resultobj; | |
7013 | bool _result; | |
7014 | wxPyTextShape * _arg0; | |
7015 | wxDC * _arg1; | |
7016 | double _arg2; | |
7017 | double _arg3; | |
7018 | double _arg4; | |
7019 | double _arg5; | |
7020 | bool _arg6 = (bool ) TRUE; | |
7021 | PyObject * _argo0 = 0; | |
7022 | PyObject * _argo1 = 0; | |
7023 | int tempbool6 = (int) TRUE; | |
7024 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7025 | ||
7026 | self = self; | |
7027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7028 | return NULL; | |
7029 | if (_argo0) { | |
7030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePre. Expected _wxPyTextShape_p."); | |
7033 | return NULL; | |
7034 | } | |
7035 | } | |
7036 | if (_argo1) { | |
7037 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7038 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePre. Expected _wxDC_p."); | |
7040 | return NULL; | |
7041 | } | |
7042 | } | |
7043 | _arg6 = (bool ) tempbool6; | |
7044 | { | |
7045 | wxPy_BEGIN_ALLOW_THREADS; | |
7046 | _result = (bool )wxPyTextShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7047 | ||
7048 | wxPy_END_ALLOW_THREADS; | |
7049 | } _resultobj = Py_BuildValue("i",_result); | |
7050 | return _resultobj; | |
7051 | } | |
7052 | ||
7053 | #define wxPyTextShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7054 | static PyObject *_wrap_wxPyTextShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7055 | PyObject * _resultobj; | |
7056 | wxPyTextShape * _arg0; | |
7057 | wxDC * _arg1; | |
7058 | double _arg2; | |
7059 | double _arg3; | |
7060 | double _arg4; | |
7061 | double _arg5; | |
7062 | bool _arg6 = (bool ) TRUE; | |
7063 | PyObject * _argo0 = 0; | |
7064 | PyObject * _argo1 = 0; | |
7065 | int tempbool6 = (int) TRUE; | |
7066 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
7067 | ||
7068 | self = self; | |
7069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyTextShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
7070 | return NULL; | |
7071 | if (_argo0) { | |
7072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMovePost. Expected _wxPyTextShape_p."); | |
7075 | return NULL; | |
7076 | } | |
7077 | } | |
7078 | if (_argo1) { | |
7079 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7080 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMovePost. Expected _wxDC_p."); | |
7082 | return NULL; | |
7083 | } | |
7084 | } | |
7085 | _arg6 = (bool ) tempbool6; | |
7086 | { | |
7087 | wxPy_BEGIN_ALLOW_THREADS; | |
7088 | wxPyTextShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7089 | ||
7090 | wxPy_END_ALLOW_THREADS; | |
7091 | } Py_INCREF(Py_None); | |
7092 | _resultobj = Py_None; | |
7093 | return _resultobj; | |
7094 | } | |
7095 | ||
7096 | #define wxPyTextShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7097 | static PyObject *_wrap_wxPyTextShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7098 | PyObject * _resultobj; | |
7099 | wxPyTextShape * _arg0; | |
7100 | bool _arg1; | |
7101 | double _arg2; | |
7102 | double _arg3; | |
7103 | int _arg4 = (int ) 0; | |
7104 | int _arg5 = (int ) 0; | |
7105 | PyObject * _argo0 = 0; | |
7106 | int tempbool1; | |
7107 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7108 | ||
7109 | self = self; | |
7110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7111 | return NULL; | |
7112 | if (_argo0) { | |
7113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragLeft. Expected _wxPyTextShape_p."); | |
7116 | return NULL; | |
7117 | } | |
7118 | } | |
7119 | _arg1 = (bool ) tempbool1; | |
7120 | { | |
7121 | wxPy_BEGIN_ALLOW_THREADS; | |
7122 | wxPyTextShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7123 | ||
7124 | wxPy_END_ALLOW_THREADS; | |
7125 | } Py_INCREF(Py_None); | |
7126 | _resultobj = Py_None; | |
7127 | return _resultobj; | |
7128 | } | |
7129 | ||
7130 | #define wxPyTextShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7131 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7132 | PyObject * _resultobj; | |
7133 | wxPyTextShape * _arg0; | |
7134 | double _arg1; | |
7135 | double _arg2; | |
7136 | int _arg3 = (int ) 0; | |
7137 | int _arg4 = (int ) 0; | |
7138 | PyObject * _argo0 = 0; | |
7139 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7140 | ||
7141 | self = self; | |
7142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7143 | return NULL; | |
7144 | if (_argo0) { | |
7145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragLeft. Expected _wxPyTextShape_p."); | |
7148 | return NULL; | |
7149 | } | |
7150 | } | |
7151 | { | |
7152 | wxPy_BEGIN_ALLOW_THREADS; | |
7153 | wxPyTextShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7154 | ||
7155 | wxPy_END_ALLOW_THREADS; | |
7156 | } Py_INCREF(Py_None); | |
7157 | _resultobj = Py_None; | |
7158 | return _resultobj; | |
7159 | } | |
7160 | ||
7161 | #define wxPyTextShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7162 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7163 | PyObject * _resultobj; | |
7164 | wxPyTextShape * _arg0; | |
7165 | double _arg1; | |
7166 | double _arg2; | |
7167 | int _arg3 = (int ) 0; | |
7168 | int _arg4 = (int ) 0; | |
7169 | PyObject * _argo0 = 0; | |
7170 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7171 | ||
7172 | self = self; | |
7173 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7174 | return NULL; | |
7175 | if (_argo0) { | |
7176 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7177 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragLeft. Expected _wxPyTextShape_p."); | |
7179 | return NULL; | |
7180 | } | |
7181 | } | |
7182 | { | |
7183 | wxPy_BEGIN_ALLOW_THREADS; | |
7184 | wxPyTextShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7185 | ||
7186 | wxPy_END_ALLOW_THREADS; | |
7187 | } Py_INCREF(Py_None); | |
7188 | _resultobj = Py_None; | |
7189 | return _resultobj; | |
7190 | } | |
7191 | ||
7192 | #define wxPyTextShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7193 | static PyObject *_wrap_wxPyTextShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7194 | PyObject * _resultobj; | |
7195 | wxPyTextShape * _arg0; | |
7196 | bool _arg1; | |
7197 | double _arg2; | |
7198 | double _arg3; | |
7199 | int _arg4 = (int ) 0; | |
7200 | int _arg5 = (int ) 0; | |
7201 | PyObject * _argo0 = 0; | |
7202 | int tempbool1; | |
7203 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7204 | ||
7205 | self = self; | |
7206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyTextShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7207 | return NULL; | |
7208 | if (_argo0) { | |
7209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDragRight. Expected _wxPyTextShape_p."); | |
7212 | return NULL; | |
7213 | } | |
7214 | } | |
7215 | _arg1 = (bool ) tempbool1; | |
7216 | { | |
7217 | wxPy_BEGIN_ALLOW_THREADS; | |
7218 | wxPyTextShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7219 | ||
7220 | wxPy_END_ALLOW_THREADS; | |
7221 | } Py_INCREF(Py_None); | |
7222 | _resultobj = Py_None; | |
7223 | return _resultobj; | |
7224 | } | |
7225 | ||
7226 | #define wxPyTextShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7227 | static PyObject *_wrap_wxPyTextShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7228 | PyObject * _resultobj; | |
7229 | wxPyTextShape * _arg0; | |
7230 | double _arg1; | |
7231 | double _arg2; | |
7232 | int _arg3 = (int ) 0; | |
7233 | int _arg4 = (int ) 0; | |
7234 | PyObject * _argo0 = 0; | |
7235 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7236 | ||
7237 | self = self; | |
7238 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7239 | return NULL; | |
7240 | if (_argo0) { | |
7241 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7242 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginDragRight. Expected _wxPyTextShape_p."); | |
7244 | return NULL; | |
7245 | } | |
7246 | } | |
7247 | { | |
7248 | wxPy_BEGIN_ALLOW_THREADS; | |
7249 | wxPyTextShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7250 | ||
7251 | wxPy_END_ALLOW_THREADS; | |
7252 | } Py_INCREF(Py_None); | |
7253 | _resultobj = Py_None; | |
7254 | return _resultobj; | |
7255 | } | |
7256 | ||
7257 | #define wxPyTextShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7258 | static PyObject *_wrap_wxPyTextShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7259 | PyObject * _resultobj; | |
7260 | wxPyTextShape * _arg0; | |
7261 | double _arg1; | |
7262 | double _arg2; | |
7263 | int _arg3 = (int ) 0; | |
7264 | int _arg4 = (int ) 0; | |
7265 | PyObject * _argo0 = 0; | |
7266 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7267 | ||
7268 | self = self; | |
7269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyTextShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7270 | return NULL; | |
7271 | if (_argo0) { | |
7272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndDragRight. Expected _wxPyTextShape_p."); | |
7275 | return NULL; | |
7276 | } | |
7277 | } | |
7278 | { | |
7279 | wxPy_BEGIN_ALLOW_THREADS; | |
7280 | wxPyTextShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7281 | ||
7282 | wxPy_END_ALLOW_THREADS; | |
7283 | } Py_INCREF(Py_None); | |
7284 | _resultobj = Py_None; | |
7285 | return _resultobj; | |
7286 | } | |
7287 | ||
7288 | #define wxPyTextShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7289 | static PyObject *_wrap_wxPyTextShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7290 | PyObject * _resultobj; | |
7291 | wxPyTextShape * _arg0; | |
7292 | wxDC * _arg1; | |
7293 | double _arg2; | |
7294 | double _arg3; | |
7295 | double _arg4; | |
7296 | double _arg5; | |
7297 | PyObject * _argo0 = 0; | |
7298 | PyObject * _argo1 = 0; | |
7299 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7300 | ||
7301 | self = self; | |
7302 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyTextShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7303 | return NULL; | |
7304 | if (_argo0) { | |
7305 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7306 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawOutline. Expected _wxPyTextShape_p."); | |
7308 | return NULL; | |
7309 | } | |
7310 | } | |
7311 | if (_argo1) { | |
7312 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7313 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7315 | return NULL; | |
7316 | } | |
7317 | } | |
7318 | { | |
7319 | wxPy_BEGIN_ALLOW_THREADS; | |
7320 | wxPyTextShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7321 | ||
7322 | wxPy_END_ALLOW_THREADS; | |
7323 | } Py_INCREF(Py_None); | |
7324 | _resultobj = Py_None; | |
7325 | return _resultobj; | |
7326 | } | |
7327 | ||
7328 | #define wxPyTextShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7329 | static PyObject *_wrap_wxPyTextShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7330 | PyObject * _resultobj; | |
7331 | wxPyTextShape * _arg0; | |
7332 | wxDC * _arg1; | |
7333 | PyObject * _argo0 = 0; | |
7334 | PyObject * _argo1 = 0; | |
7335 | char *_kwnames[] = { "self","dc", NULL }; | |
7336 | ||
7337 | self = self; | |
7338 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7339 | return NULL; | |
7340 | if (_argo0) { | |
7341 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7342 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxPyTextShape_p."); | |
7344 | return NULL; | |
7345 | } | |
7346 | } | |
7347 | if (_argo1) { | |
7348 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7349 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7351 | return NULL; | |
7352 | } | |
7353 | } | |
7354 | { | |
7355 | wxPy_BEGIN_ALLOW_THREADS; | |
7356 | wxPyTextShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7357 | ||
7358 | wxPy_END_ALLOW_THREADS; | |
7359 | } Py_INCREF(Py_None); | |
7360 | _resultobj = Py_None; | |
7361 | return _resultobj; | |
7362 | } | |
7363 | ||
7364 | #define wxPyTextShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7365 | static PyObject *_wrap_wxPyTextShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7366 | PyObject * _resultobj; | |
7367 | wxPyTextShape * _arg0; | |
7368 | wxDC * _arg1; | |
7369 | PyObject * _argo0 = 0; | |
7370 | PyObject * _argo1 = 0; | |
7371 | char *_kwnames[] = { "self","dc", NULL }; | |
7372 | ||
7373 | self = self; | |
7374 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyTextShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7375 | return NULL; | |
7376 | if (_argo0) { | |
7377 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7378 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7379 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxPyTextShape_p."); | |
7380 | return NULL; | |
7381 | } | |
7382 | } | |
7383 | if (_argo1) { | |
7384 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7385 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7387 | return NULL; | |
7388 | } | |
7389 | } | |
7390 | { | |
7391 | wxPy_BEGIN_ALLOW_THREADS; | |
7392 | wxPyTextShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7393 | ||
7394 | wxPy_END_ALLOW_THREADS; | |
7395 | } Py_INCREF(Py_None); | |
7396 | _resultobj = Py_None; | |
7397 | return _resultobj; | |
7398 | } | |
7399 | ||
7400 | #define wxPyTextShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7401 | static PyObject *_wrap_wxPyTextShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7402 | PyObject * _resultobj; | |
7403 | wxPyTextShape * _arg0; | |
7404 | wxDC * _arg1; | |
7405 | bool _arg2 = (bool ) TRUE; | |
7406 | PyObject * _argo0 = 0; | |
7407 | PyObject * _argo1 = 0; | |
7408 | int tempbool2 = (int) TRUE; | |
7409 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7410 | ||
7411 | self = self; | |
7412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyTextShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7413 | return NULL; | |
7414 | if (_argo0) { | |
7415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnMoveLink. Expected _wxPyTextShape_p."); | |
7418 | return NULL; | |
7419 | } | |
7420 | } | |
7421 | if (_argo1) { | |
7422 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7423 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnMoveLink. Expected _wxDC_p."); | |
7425 | return NULL; | |
7426 | } | |
7427 | } | |
7428 | _arg2 = (bool ) tempbool2; | |
7429 | { | |
7430 | wxPy_BEGIN_ALLOW_THREADS; | |
7431 | wxPyTextShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7432 | ||
7433 | wxPy_END_ALLOW_THREADS; | |
7434 | } Py_INCREF(Py_None); | |
7435 | _resultobj = Py_None; | |
7436 | return _resultobj; | |
7437 | } | |
7438 | ||
7439 | #define wxPyTextShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7440 | static PyObject *_wrap_wxPyTextShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7441 | PyObject * _resultobj; | |
7442 | wxPyTextShape * _arg0; | |
7443 | wxControlPoint * _arg1; | |
7444 | bool _arg2; | |
7445 | double _arg3; | |
7446 | double _arg4; | |
7447 | int _arg5 = (int ) 0; | |
7448 | int _arg6 = (int ) 0; | |
7449 | PyObject * _argo0 = 0; | |
7450 | PyObject * _argo1 = 0; | |
7451 | int tempbool2; | |
7452 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7453 | ||
7454 | self = self; | |
7455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyTextShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7456 | return NULL; | |
7457 | if (_argo0) { | |
7458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxPyTextShape_p."); | |
7461 | return NULL; | |
7462 | } | |
7463 | } | |
7464 | if (_argo1) { | |
7465 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7466 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
7467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingDragLeft. Expected _wxControlPoint_p."); | |
7468 | return NULL; | |
7469 | } | |
7470 | } | |
7471 | _arg2 = (bool ) tempbool2; | |
7472 | { | |
7473 | wxPy_BEGIN_ALLOW_THREADS; | |
7474 | wxPyTextShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7475 | ||
7476 | wxPy_END_ALLOW_THREADS; | |
7477 | } Py_INCREF(Py_None); | |
7478 | _resultobj = Py_None; | |
7479 | return _resultobj; | |
7480 | } | |
7481 | ||
7482 | #define wxPyTextShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7483 | static PyObject *_wrap_wxPyTextShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7484 | PyObject * _resultobj; | |
7485 | wxPyTextShape * _arg0; | |
7486 | wxControlPoint * _arg1; | |
7487 | double _arg2; | |
7488 | double _arg3; | |
7489 | int _arg4 = (int ) 0; | |
7490 | int _arg5 = (int ) 0; | |
7491 | PyObject * _argo0 = 0; | |
7492 | PyObject * _argo1 = 0; | |
7493 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7494 | ||
7495 | self = self; | |
7496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7497 | return NULL; | |
7498 | if (_argo0) { | |
7499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxPyTextShape_p."); | |
7502 | return NULL; | |
7503 | } | |
7504 | } | |
7505 | if (_argo1) { | |
7506 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7507 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
7508 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p."); | |
7509 | return NULL; | |
7510 | } | |
7511 | } | |
7512 | { | |
7513 | wxPy_BEGIN_ALLOW_THREADS; | |
7514 | wxPyTextShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7515 | ||
7516 | wxPy_END_ALLOW_THREADS; | |
7517 | } Py_INCREF(Py_None); | |
7518 | _resultobj = Py_None; | |
7519 | return _resultobj; | |
7520 | } | |
7521 | ||
7522 | #define wxPyTextShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7523 | static PyObject *_wrap_wxPyTextShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7524 | PyObject * _resultobj; | |
7525 | wxPyTextShape * _arg0; | |
7526 | wxControlPoint * _arg1; | |
7527 | double _arg2; | |
7528 | double _arg3; | |
7529 | int _arg4 = (int ) 0; | |
7530 | int _arg5 = (int ) 0; | |
7531 | PyObject * _argo0 = 0; | |
7532 | PyObject * _argo1 = 0; | |
7533 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7534 | ||
7535 | self = self; | |
7536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyTextShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7537 | return NULL; | |
7538 | if (_argo0) { | |
7539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxPyTextShape_p."); | |
7542 | return NULL; | |
7543 | } | |
7544 | } | |
7545 | if (_argo1) { | |
7546 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7547 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) { | |
7548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyTextShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p."); | |
7549 | return NULL; | |
7550 | } | |
7551 | } | |
7552 | { | |
7553 | wxPy_BEGIN_ALLOW_THREADS; | |
7554 | wxPyTextShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7555 | ||
7556 | wxPy_END_ALLOW_THREADS; | |
7557 | } Py_INCREF(Py_None); | |
7558 | _resultobj = Py_None; | |
7559 | return _resultobj; | |
7560 | } | |
7561 | ||
7562 | #define wxPyTextShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7563 | static PyObject *_wrap_wxPyTextShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7564 | PyObject * _resultobj; | |
7565 | wxPyTextShape * _arg0; | |
7566 | double _arg1; | |
7567 | double _arg2; | |
7568 | PyObject * _argo0 = 0; | |
7569 | char *_kwnames[] = { "self","w","h", NULL }; | |
7570 | ||
7571 | self = self; | |
7572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7573 | return NULL; | |
7574 | if (_argo0) { | |
7575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnBeginSize. Expected _wxPyTextShape_p."); | |
7578 | return NULL; | |
7579 | } | |
7580 | } | |
7581 | { | |
7582 | wxPy_BEGIN_ALLOW_THREADS; | |
7583 | wxPyTextShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7584 | ||
7585 | wxPy_END_ALLOW_THREADS; | |
7586 | } Py_INCREF(Py_None); | |
7587 | _resultobj = Py_None; | |
7588 | return _resultobj; | |
7589 | } | |
7590 | ||
7591 | #define wxPyTextShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7592 | static PyObject *_wrap_wxPyTextShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7593 | PyObject * _resultobj; | |
7594 | wxPyTextShape * _arg0; | |
7595 | double _arg1; | |
7596 | double _arg2; | |
7597 | PyObject * _argo0 = 0; | |
7598 | char *_kwnames[] = { "self","w","h", NULL }; | |
7599 | ||
7600 | self = self; | |
7601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyTextShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7602 | return NULL; | |
7603 | if (_argo0) { | |
7604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyTextShape_p")) { | |
7606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyTextShape_base_OnEndSize. Expected _wxPyTextShape_p."); | |
7607 | return NULL; | |
7608 | } | |
7609 | } | |
7610 | { | |
7611 | wxPy_BEGIN_ALLOW_THREADS; | |
7612 | wxPyTextShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7613 | ||
7614 | wxPy_END_ALLOW_THREADS; | |
7615 | } Py_INCREF(Py_None); | |
7616 | _resultobj = Py_None; | |
7617 | return _resultobj; | |
7618 | } | |
7619 | ||
7620 | static PyMethodDef oglshapes2cMethods[] = { | |
7621 | { "wxPyTextShape_base_OnEndSize", (PyCFunction) _wrap_wxPyTextShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7622 | { "wxPyTextShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7623 | { "wxPyTextShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7624 | { "wxPyTextShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7625 | { "wxPyTextShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7626 | { "wxPyTextShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7627 | { "wxPyTextShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7628 | { "wxPyTextShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7629 | { "wxPyTextShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7630 | { "wxPyTextShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7631 | { "wxPyTextShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7632 | { "wxPyTextShape_base_OnDragRight", (PyCFunction) _wrap_wxPyTextShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7633 | { "wxPyTextShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7634 | { "wxPyTextShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7635 | { "wxPyTextShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyTextShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7636 | { "wxPyTextShape_base_OnMovePost", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7637 | { "wxPyTextShape_base_OnMovePre", (PyCFunction) _wrap_wxPyTextShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7638 | { "wxPyTextShape_base_OnSize", (PyCFunction) _wrap_wxPyTextShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7639 | { "wxPyTextShape_base_OnRightClick", (PyCFunction) _wrap_wxPyTextShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7640 | { "wxPyTextShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7641 | { "wxPyTextShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyTextShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7642 | { "wxPyTextShape_base_OnHighlight", (PyCFunction) _wrap_wxPyTextShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7643 | { "wxPyTextShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyTextShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7644 | { "wxPyTextShape_base_OnErase", (PyCFunction) _wrap_wxPyTextShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7645 | { "wxPyTextShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyTextShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7646 | { "wxPyTextShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7647 | { "wxPyTextShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyTextShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7648 | { "wxPyTextShape_base_OnDraw", (PyCFunction) _wrap_wxPyTextShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7649 | { "wxPyTextShape_base_OnDelete", (PyCFunction) _wrap_wxPyTextShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
7650 | { "wxPyTextShape__setSelf", (PyCFunction) _wrap_wxPyTextShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7651 | { "new_wxPyTextShape", (PyCFunction) _wrap_new_wxPyTextShape, METH_VARARGS | METH_KEYWORDS }, | |
7652 | { "wxPyPolygonShape_base_OnEndSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7653 | { "wxPyPolygonShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7654 | { "wxPyPolygonShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7655 | { "wxPyPolygonShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7656 | { "wxPyPolygonShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7657 | { "wxPyPolygonShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7658 | { "wxPyPolygonShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7659 | { "wxPyPolygonShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7660 | { "wxPyPolygonShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7661 | { "wxPyPolygonShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7662 | { "wxPyPolygonShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7663 | { "wxPyPolygonShape_base_OnDragRight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7664 | { "wxPyPolygonShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7665 | { "wxPyPolygonShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7666 | { "wxPyPolygonShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7667 | { "wxPyPolygonShape_base_OnMovePost", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7668 | { "wxPyPolygonShape_base_OnMovePre", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7669 | { "wxPyPolygonShape_base_OnSize", (PyCFunction) _wrap_wxPyPolygonShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7670 | { "wxPyPolygonShape_base_OnRightClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7671 | { "wxPyPolygonShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7672 | { "wxPyPolygonShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyPolygonShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7673 | { "wxPyPolygonShape_base_OnHighlight", (PyCFunction) _wrap_wxPyPolygonShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7674 | { "wxPyPolygonShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7675 | { "wxPyPolygonShape_base_OnErase", (PyCFunction) _wrap_wxPyPolygonShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7676 | { "wxPyPolygonShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyPolygonShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7677 | { "wxPyPolygonShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7678 | { "wxPyPolygonShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7679 | { "wxPyPolygonShape_base_OnDraw", (PyCFunction) _wrap_wxPyPolygonShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7680 | { "wxPyPolygonShape_UpdateOriginalPoints", (PyCFunction) _wrap_wxPyPolygonShape_UpdateOriginalPoints, METH_VARARGS | METH_KEYWORDS }, | |
7681 | { "wxPyPolygonShape_GetPoints", (PyCFunction) _wrap_wxPyPolygonShape_GetPoints, METH_VARARGS | METH_KEYWORDS }, | |
7682 | { "wxPyPolygonShape_DeletePolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_DeletePolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7683 | { "wxPyPolygonShape_CalculatePolygonCentre", (PyCFunction) _wrap_wxPyPolygonShape_CalculatePolygonCentre, METH_VARARGS | METH_KEYWORDS }, | |
7684 | { "wxPyPolygonShape_AddPolygonPoint", (PyCFunction) _wrap_wxPyPolygonShape_AddPolygonPoint, METH_VARARGS | METH_KEYWORDS }, | |
7685 | { "wxPyPolygonShape_Create", (PyCFunction) _wrap_wxPyPolygonShape_Create, METH_VARARGS | METH_KEYWORDS }, | |
7686 | { "wxPyPolygonShape__setSelf", (PyCFunction) _wrap_wxPyPolygonShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7687 | { "new_wxPyPolygonShape", (PyCFunction) _wrap_new_wxPyPolygonShape, METH_VARARGS | METH_KEYWORDS }, | |
7688 | { "wxPyLineShape_base_OnEndSize", (PyCFunction) _wrap_wxPyLineShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7689 | { "wxPyLineShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7690 | { "wxPyLineShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7691 | { "wxPyLineShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7692 | { "wxPyLineShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7693 | { "wxPyLineShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7694 | { "wxPyLineShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7695 | { "wxPyLineShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7696 | { "wxPyLineShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7697 | { "wxPyLineShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7698 | { "wxPyLineShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7699 | { "wxPyLineShape_base_OnDragRight", (PyCFunction) _wrap_wxPyLineShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7700 | { "wxPyLineShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7701 | { "wxPyLineShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7702 | { "wxPyLineShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyLineShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7703 | { "wxPyLineShape_base_OnMovePost", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7704 | { "wxPyLineShape_base_OnMovePre", (PyCFunction) _wrap_wxPyLineShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7705 | { "wxPyLineShape_base_OnSize", (PyCFunction) _wrap_wxPyLineShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7706 | { "wxPyLineShape_base_OnRightClick", (PyCFunction) _wrap_wxPyLineShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7707 | { "wxPyLineShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7708 | { "wxPyLineShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyLineShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7709 | { "wxPyLineShape_base_OnHighlight", (PyCFunction) _wrap_wxPyLineShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7710 | { "wxPyLineShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyLineShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7711 | { "wxPyLineShape_base_OnErase", (PyCFunction) _wrap_wxPyLineShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7712 | { "wxPyLineShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyLineShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7713 | { "wxPyLineShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7714 | { "wxPyLineShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyLineShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7715 | { "wxPyLineShape_base_OnDraw", (PyCFunction) _wrap_wxPyLineShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7716 | { "wxPyLineShape_Unlink", (PyCFunction) _wrap_wxPyLineShape_Unlink, METH_VARARGS | METH_KEYWORDS }, | |
7717 | { "wxPyLineShape_Straighten", (PyCFunction) _wrap_wxPyLineShape_Straighten, METH_VARARGS | METH_KEYWORDS }, | |
7718 | { "wxPyLineShape_SetTo", (PyCFunction) _wrap_wxPyLineShape_SetTo, METH_VARARGS | METH_KEYWORDS }, | |
7719 | { "wxPyLineShape_SetSpline", (PyCFunction) _wrap_wxPyLineShape_SetSpline, METH_VARARGS | METH_KEYWORDS }, | |
7720 | { "wxPyLineShape_SetIgnoreOffsets", (PyCFunction) _wrap_wxPyLineShape_SetIgnoreOffsets, METH_VARARGS | METH_KEYWORDS }, | |
7721 | { "wxPyLineShape_SetFrom", (PyCFunction) _wrap_wxPyLineShape_SetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7722 | { "wxPyLineShape_SetEnds", (PyCFunction) _wrap_wxPyLineShape_SetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7723 | { "wxPyLineShape_SetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7724 | { "wxPyLineShape_SetAttachments", (PyCFunction) _wrap_wxPyLineShape_SetAttachments, METH_VARARGS | METH_KEYWORDS }, | |
7725 | { "wxPyLineShape_SetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_SetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
7726 | { "wxPyLineShape_MakeLineControlPoints", (PyCFunction) _wrap_wxPyLineShape_MakeLineControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7727 | { "wxPyLineShape_IsSpline", (PyCFunction) _wrap_wxPyLineShape_IsSpline, METH_VARARGS | METH_KEYWORDS }, | |
7728 | { "wxPyLineShape_IsEnd", (PyCFunction) _wrap_wxPyLineShape_IsEnd, METH_VARARGS | METH_KEYWORDS }, | |
7729 | { "wxPyLineShape_InsertLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_InsertLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7730 | { "wxPyLineShape_Initialise", (PyCFunction) _wrap_wxPyLineShape_Initialise, METH_VARARGS | METH_KEYWORDS }, | |
7731 | { "wxPyLineShape_GetTo", (PyCFunction) _wrap_wxPyLineShape_GetTo, METH_VARARGS | METH_KEYWORDS }, | |
7732 | { "wxPyLineShape_GetNextControlPoint", (PyCFunction) _wrap_wxPyLineShape_GetNextControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7733 | { "wxPyLineShape_GetLabelPosition", (PyCFunction) _wrap_wxPyLineShape_GetLabelPosition, METH_VARARGS | METH_KEYWORDS }, | |
7734 | { "wxPyLineShape_GetFrom", (PyCFunction) _wrap_wxPyLineShape_GetFrom, METH_VARARGS | METH_KEYWORDS }, | |
7735 | { "wxPyLineShape_GetEnds", (PyCFunction) _wrap_wxPyLineShape_GetEnds, METH_VARARGS | METH_KEYWORDS }, | |
7736 | { "wxPyLineShape_GetAttachmentTo", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentTo, METH_VARARGS | METH_KEYWORDS }, | |
7737 | { "wxPyLineShape_GetAttachmentFrom", (PyCFunction) _wrap_wxPyLineShape_GetAttachmentFrom, METH_VARARGS | METH_KEYWORDS }, | |
7738 | { "wxPyLineShape_FindNth", (PyCFunction) _wrap_wxPyLineShape_FindNth, METH_VARARGS | METH_KEYWORDS }, | |
7739 | { "wxPyLineShape_FindMinimumWidth", (PyCFunction) _wrap_wxPyLineShape_FindMinimumWidth, METH_VARARGS | METH_KEYWORDS }, | |
7740 | { "wxPyLineShape_FindLinePosition", (PyCFunction) _wrap_wxPyLineShape_FindLinePosition, METH_VARARGS | METH_KEYWORDS }, | |
7741 | { "wxPyLineShape_FindLineEndPoints", (PyCFunction) _wrap_wxPyLineShape_FindLineEndPoints, METH_VARARGS | METH_KEYWORDS }, | |
7742 | { "wxPyLineShape_FindArrowHead", (PyCFunction) _wrap_wxPyLineShape_FindArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7743 | { "wxPyLineShape_FindArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_FindArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7744 | { "wxPyLineShape_EraseRegion", (PyCFunction) _wrap_wxPyLineShape_EraseRegion, METH_VARARGS | METH_KEYWORDS }, | |
7745 | { "wxPyLineShape_DrawRegion", (PyCFunction) _wrap_wxPyLineShape_DrawRegion, METH_VARARGS | METH_KEYWORDS }, | |
7746 | { "wxPyLineShape_DrawArrows", (PyCFunction) _wrap_wxPyLineShape_DrawArrows, METH_VARARGS | METH_KEYWORDS }, | |
7747 | { "wxPyLineShape_DeleteLineControlPoint", (PyCFunction) _wrap_wxPyLineShape_DeleteLineControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
7748 | { "wxPyLineShape_DeleteArrowHead", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7749 | { "wxPyLineShape_DeleteArrowHeadId", (PyCFunction) _wrap_wxPyLineShape_DeleteArrowHeadId, METH_VARARGS | METH_KEYWORDS }, | |
7750 | { "wxPyLineShape_DrawArrow", (PyCFunction) _wrap_wxPyLineShape_DrawArrow, METH_VARARGS | METH_KEYWORDS }, | |
7751 | { "wxPyLineShape_ClearArrowsAtPosition", (PyCFunction) _wrap_wxPyLineShape_ClearArrowsAtPosition, METH_VARARGS | METH_KEYWORDS }, | |
7752 | { "wxPyLineShape_ClearArrow", (PyCFunction) _wrap_wxPyLineShape_ClearArrow, METH_VARARGS | METH_KEYWORDS }, | |
7753 | { "wxPyLineShape_AddArrowOrdered", (PyCFunction) _wrap_wxPyLineShape_AddArrowOrdered, METH_VARARGS | METH_KEYWORDS }, | |
7754 | { "wxPyLineShape_AddArrow", (PyCFunction) _wrap_wxPyLineShape_AddArrow, METH_VARARGS | METH_KEYWORDS }, | |
7755 | { "wxPyLineShape__setSelf", (PyCFunction) _wrap_wxPyLineShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7756 | { "new_wxPyLineShape", (PyCFunction) _wrap_new_wxPyLineShape, METH_VARARGS | METH_KEYWORDS }, | |
7757 | { "wxArrowHead_SetSpacing", (PyCFunction) _wrap_wxArrowHead_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7758 | { "wxArrowHead_SetSize", (PyCFunction) _wrap_wxArrowHead_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
7759 | { "wxArrowHead_GetArrowSize", (PyCFunction) _wrap_wxArrowHead_GetArrowSize, METH_VARARGS | METH_KEYWORDS }, | |
7760 | { "wxArrowHead_GetArrowEnd", (PyCFunction) _wrap_wxArrowHead_GetArrowEnd, METH_VARARGS | METH_KEYWORDS }, | |
7761 | { "wxArrowHead_GetId", (PyCFunction) _wrap_wxArrowHead_GetId, METH_VARARGS | METH_KEYWORDS }, | |
7762 | { "wxArrowHead_GetMetaFile", (PyCFunction) _wrap_wxArrowHead_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
7763 | { "wxArrowHead_SetYOffset", (PyCFunction) _wrap_wxArrowHead_SetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7764 | { "wxArrowHead_SetXOffset", (PyCFunction) _wrap_wxArrowHead_SetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7765 | { "wxArrowHead_GetName", (PyCFunction) _wrap_wxArrowHead_GetName, METH_VARARGS | METH_KEYWORDS }, | |
7766 | { "wxArrowHead_GetSize", (PyCFunction) _wrap_wxArrowHead_GetSize, METH_VARARGS | METH_KEYWORDS }, | |
7767 | { "wxArrowHead_GetSpacing", (PyCFunction) _wrap_wxArrowHead_GetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
7768 | { "wxArrowHead_GetYOffset", (PyCFunction) _wrap_wxArrowHead_GetYOffset, METH_VARARGS | METH_KEYWORDS }, | |
7769 | { "wxArrowHead_GetXOffset", (PyCFunction) _wrap_wxArrowHead_GetXOffset, METH_VARARGS | METH_KEYWORDS }, | |
7770 | { "wxArrowHead_SetPosition", (PyCFunction) _wrap_wxArrowHead_SetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7771 | { "wxArrowHead_GetPosition", (PyCFunction) _wrap_wxArrowHead_GetPosition, METH_VARARGS | METH_KEYWORDS }, | |
7772 | { "wxArrowHead__GetType", (PyCFunction) _wrap_wxArrowHead__GetType, METH_VARARGS | METH_KEYWORDS }, | |
7773 | { "delete_wxArrowHead", (PyCFunction) _wrap_delete_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7774 | { "new_wxArrowHead", (PyCFunction) _wrap_new_wxArrowHead, METH_VARARGS | METH_KEYWORDS }, | |
7775 | { "wxPyCircleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7776 | { "wxPyCircleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7777 | { "wxPyCircleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7778 | { "wxPyCircleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7779 | { "wxPyCircleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7780 | { "wxPyCircleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7781 | { "wxPyCircleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7782 | { "wxPyCircleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7783 | { "wxPyCircleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7784 | { "wxPyCircleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7785 | { "wxPyCircleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7786 | { "wxPyCircleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7787 | { "wxPyCircleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7788 | { "wxPyCircleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7789 | { "wxPyCircleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCircleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7790 | { "wxPyCircleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7791 | { "wxPyCircleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCircleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7792 | { "wxPyCircleShape_base_OnSize", (PyCFunction) _wrap_wxPyCircleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7793 | { "wxPyCircleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7794 | { "wxPyCircleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7795 | { "wxPyCircleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCircleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7796 | { "wxPyCircleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCircleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7797 | { "wxPyCircleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7798 | { "wxPyCircleShape_base_OnErase", (PyCFunction) _wrap_wxPyCircleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7799 | { "wxPyCircleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCircleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7800 | { "wxPyCircleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7801 | { "wxPyCircleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCircleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7802 | { "wxPyCircleShape_base_OnDraw", (PyCFunction) _wrap_wxPyCircleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7803 | { "wxPyCircleShape__setSelf", (PyCFunction) _wrap_wxPyCircleShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7804 | { "new_wxPyCircleShape", (PyCFunction) _wrap_new_wxPyCircleShape, METH_VARARGS | METH_KEYWORDS }, | |
7805 | { "wxPyEllipseShape_base_OnEndSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
7806 | { "wxPyEllipseShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
7807 | { "wxPyEllipseShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7808 | { "wxPyEllipseShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7809 | { "wxPyEllipseShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7810 | { "wxPyEllipseShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
7811 | { "wxPyEllipseShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7812 | { "wxPyEllipseShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
7813 | { "wxPyEllipseShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
7814 | { "wxPyEllipseShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7815 | { "wxPyEllipseShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7816 | { "wxPyEllipseShape_base_OnDragRight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
7817 | { "wxPyEllipseShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7818 | { "wxPyEllipseShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7819 | { "wxPyEllipseShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
7820 | { "wxPyEllipseShape_base_OnMovePost", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
7821 | { "wxPyEllipseShape_base_OnMovePre", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
7822 | { "wxPyEllipseShape_base_OnSize", (PyCFunction) _wrap_wxPyEllipseShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
7823 | { "wxPyEllipseShape_base_OnRightClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
7824 | { "wxPyEllipseShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
7825 | { "wxPyEllipseShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyEllipseShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
7826 | { "wxPyEllipseShape_base_OnHighlight", (PyCFunction) _wrap_wxPyEllipseShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
7827 | { "wxPyEllipseShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
7828 | { "wxPyEllipseShape_base_OnErase", (PyCFunction) _wrap_wxPyEllipseShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
7829 | { "wxPyEllipseShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyEllipseShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
7830 | { "wxPyEllipseShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
7831 | { "wxPyEllipseShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
7832 | { "wxPyEllipseShape_base_OnDraw", (PyCFunction) _wrap_wxPyEllipseShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
7833 | { "wxPyEllipseShape__setSelf", (PyCFunction) _wrap_wxPyEllipseShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
7834 | { "new_wxPyEllipseShape", (PyCFunction) _wrap_new_wxPyEllipseShape, METH_VARARGS | METH_KEYWORDS }, | |
7835 | { NULL, NULL } | |
7836 | }; | |
7837 | #ifdef __cplusplus | |
7838 | } | |
7839 | #endif | |
7840 | /* | |
7841 | * This table is used by the pointer type-checker | |
7842 | */ | |
7843 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
7844 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
7845 | { "_wxEvent","_class_wxEvent",0}, | |
7846 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
7847 | { "_signed_long","_long",0}, | |
7848 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
7849 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
7850 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
7851 | { "_wxImage","_class_wxImage",0}, | |
7852 | { "_wxPrintQuality","_int",0}, | |
7853 | { "_wxPrintQuality","_signed_int",0}, | |
7854 | { "_wxPrintQuality","_unsigned_int",0}, | |
7855 | { "_wxPrintQuality","_wxWindowID",0}, | |
7856 | { "_wxPrintQuality","_uint",0}, | |
7857 | { "_wxPrintQuality","_EBool",0}, | |
7858 | { "_wxPrintQuality","_size_t",0}, | |
7859 | { "_wxFontData","_class_wxFontData",0}, | |
7860 | { "___wxPyCleanup","_class___wxPyCleanup",0}, | |
7861 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
7862 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
7863 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
7864 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
7865 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
7866 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
7867 | { "_wxPyCompositeShape","_class_wxPyCompositeShape",0}, | |
7868 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
7869 | { "_wxCursor","_class_wxCursor",0}, | |
7870 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
7871 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
7872 | { "_class_wxPyRectangleShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
7873 | { "_class_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
7874 | { "_class_wxPyRectangleShape","_wxPyRectangleShape",0}, | |
7875 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, | |
7876 | { "_wxMask","_class_wxMask",0}, | |
7877 | { "_wxToolTip","_class_wxToolTip",0}, | |
7878 | { "_wxGrid","_class_wxGrid",0}, | |
7879 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
7880 | { "_class_wxOGLConstraint","_wxOGLConstraint",0}, | |
7881 | { "_class_wxColourData","_wxColourData",0}, | |
7882 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
7883 | { "_wxPrinter","_class_wxPrinter",0}, | |
7884 | { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0}, | |
7885 | { "_class_wxArrowHead","_wxArrowHead",0}, | |
7886 | { "_wxPen","_class_wxPen",0}, | |
7887 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
7888 | { "_byte","_unsigned_char",0}, | |
7889 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
7890 | { "_wxChoice","_class_wxChoice",0}, | |
7891 | { "_wxSlider","_class_wxSlider",0}, | |
7892 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
7893 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
7894 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
7895 | { "_long","_wxDash",0}, | |
7896 | { "_long","_unsigned_long",0}, | |
7897 | { "_long","_signed_long",0}, | |
7898 | { "_wxImageList","_class_wxImageList",0}, | |
7899 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
7900 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
7901 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
7902 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
7903 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
7904 | { "_class_wxGauge","_wxGauge",0}, | |
7905 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
7906 | { "_wxDC","_class_wxDC",0}, | |
7907 | { "_wxListEvent","_class_wxListEvent",0}, | |
7908 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
7909 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
7910 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
7911 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
7912 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
7913 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
7914 | { "_wxPyBitmapShape","_class_wxPyBitmapShape",0}, | |
7915 | { "_class_wxPyEllipseShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
7916 | { "_class_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
7917 | { "_class_wxPyEllipseShape","_wxPyEllipseShape",0}, | |
7918 | { "_size_t","_wxPrintQuality",0}, | |
7919 | { "_size_t","_unsigned_int",0}, | |
7920 | { "_size_t","_int",0}, | |
7921 | { "_size_t","_wxWindowID",0}, | |
7922 | { "_size_t","_uint",0}, | |
7923 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
7924 | { "_wxPrinterDC","_class_wxPrinterDC",0}, | |
7925 | { "_class_wxPyShapeEvtHandler","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
7926 | { "_class_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
7927 | { "_class_wxPyShapeEvtHandler","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
7928 | { "_class_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
7929 | { "_class_wxPyShapeEvtHandler","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
7930 | { "_class_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
7931 | { "_class_wxPyShapeEvtHandler","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
7932 | { "_class_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
7933 | { "_class_wxPyShapeEvtHandler","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
7934 | { "_class_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
7935 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
7936 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
7937 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
7938 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
7939 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
7940 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
7941 | { "_class_wxPyCompositeShape","_wxPyCompositeShape",0}, | |
7942 | { "_wxPyPolygonShape","_class_wxPyPolygonShape",0}, | |
7943 | { "_wxPanel","_class_wxPanel",0}, | |
7944 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
7945 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
7946 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
7947 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
7948 | { "_class_wxMask","_wxMask",0}, | |
7949 | { "_class_wxToolTip","_wxToolTip",0}, | |
7950 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
7951 | { "_class_wxGrid","_wxGrid",0}, | |
7952 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
7953 | { "_wxColour","_class_wxColour",0}, | |
7954 | { "_class_wxDialog","_wxDialog",0}, | |
7955 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
7956 | { "_class_wxPrinter","_wxPrinter",0}, | |
7957 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
7958 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
7959 | { "_wxToolBar","_class_wxToolBar",0}, | |
7960 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
7961 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
7962 | { "_wxBrush","_class_wxBrush",0}, | |
7963 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
7964 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
7965 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
7966 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
7967 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
7968 | { "_class_wxPyDivisionShape","_wxPyDivisionShape",0}, | |
7969 | { "_uint","_wxPrintQuality",0}, | |
7970 | { "_uint","_size_t",0}, | |
7971 | { "_uint","_unsigned_int",0}, | |
7972 | { "_uint","_int",0}, | |
7973 | { "_uint","_wxWindowID",0}, | |
7974 | { "_class_wxEvent","_wxEvent",0}, | |
7975 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
7976 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
7977 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
7978 | { "_wxRect","_class_wxRect",0}, | |
7979 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
7980 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
7981 | { "_class_wxImage","_wxImage",0}, | |
7982 | { "_wxPoint","_class_wxPoint",0}, | |
7983 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
7984 | { "_class_wxPyBitmapShape","_wxPyBitmapShape",0}, | |
7985 | { "_class_wxButton","_wxButton",0}, | |
7986 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
7987 | { "_class_wxFontData","_wxFontData",0}, | |
7988 | { "_class___wxPyCleanup","___wxPyCleanup",0}, | |
7989 | { "_wxBitmap","_class_wxBitmap",0}, | |
7990 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, | |
7991 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
7992 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
7993 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
7994 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
7995 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
7996 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
7997 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
7998 | { "_wxPrintData","_class_wxPrintData",0}, | |
7999 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
8000 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
8001 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
8002 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
8003 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
8004 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
8005 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
8006 | { "_class_wxPyDrawnShape","_wxPyDrawnShape",0}, | |
8007 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
8008 | { "_wxListItem","_class_wxListItem",0}, | |
8009 | { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0}, | |
8010 | { "_class_wxToolBar","_wxToolBar",0}, | |
8011 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
8012 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
8013 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
8014 | { "_class_wxShapeRegion","_wxShapeRegion",0}, | |
8015 | { "_EBool","_wxPrintQuality",0}, | |
8016 | { "_EBool","_signed_int",0}, | |
8017 | { "_EBool","_int",0}, | |
8018 | { "_EBool","_wxWindowID",0}, | |
8019 | { "_class_wxRegion","_wxRegion",0}, | |
8020 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
8021 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
8022 | { "_wxStaticText","_class_wxStaticText",0}, | |
8023 | { "_wxFont","_class_wxFont",0}, | |
8024 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
8025 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
8026 | { "_wxNotebook","_class_wxNotebook",0}, | |
8027 | { "_unsigned_long","_wxDash",0}, | |
8028 | { "_unsigned_long","_long",0}, | |
8029 | { "_class_wxRect","_wxRect",0}, | |
8030 | { "_class_wxDC","_wxDC",0}, | |
8031 | { "_wxPyCircleShape","_class_wxPyCircleShape",0}, | |
8032 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
8033 | { "_wxPyApp","_class_wxPyApp",0}, | |
8034 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
8035 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
8036 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
8037 | { "_wxPyLineShape","_class_wxPyLineShape",0}, | |
8038 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
8039 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
8040 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
8041 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
8042 | { "_class_wxPyPolygonShape","_wxPyPolygonShape",0}, | |
8043 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
8044 | { "_class_wxPanel","_wxPanel",0}, | |
8045 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
8046 | { "_wxComboBox","_class_wxComboBox",0}, | |
8047 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
8048 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
8049 | { "_signed_int","_wxPrintQuality",0}, | |
8050 | { "_signed_int","_EBool",0}, | |
8051 | { "_signed_int","_wxWindowID",0}, | |
8052 | { "_signed_int","_int",0}, | |
8053 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
8054 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
8055 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
8056 | { "_wxMenu","_class_wxMenu",0}, | |
8057 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
8058 | { "_wxListBox","_class_wxListBox",0}, | |
8059 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
8060 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
8061 | { "_wxArrowHead","_class_wxArrowHead",0}, | |
8062 | { "_WXTYPE","_short",0}, | |
8063 | { "_WXTYPE","_signed_short",0}, | |
8064 | { "_WXTYPE","_unsigned_short",0}, | |
8065 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
8066 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
8067 | { "_class_wxBrush","_wxBrush",0}, | |
8068 | { "_unsigned_short","_WXTYPE",0}, | |
8069 | { "_unsigned_short","_short",0}, | |
8070 | { "_class_wxWindow","_wxWindow",0}, | |
8071 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
8072 | { "_class_wxStaticText","_wxStaticText",0}, | |
8073 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
8074 | { "_class_wxFont","_wxFont",0}, | |
8075 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
8076 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
8077 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
8078 | { "_class_wxPyCircleShape","_wxPyCircleShape",0}, | |
8079 | { "_wxClientDC","_class_wxClientDC",0}, | |
8080 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
8081 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
8082 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
8083 | { "_wxPyDividedShape","_class_wxPyDividedShape",0}, | |
8084 | { "_class_wxPoint","_wxPoint",0}, | |
8085 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
8086 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
8087 | { "_wxGridCell","_class_wxGridCell",0}, | |
8088 | { "_signed_short","_WXTYPE",0}, | |
8089 | { "_signed_short","_short",0}, | |
8090 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
8091 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, | |
8092 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
8093 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
8094 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
8095 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
8096 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
8097 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
8098 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
8099 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
8100 | { "_class_wxCursor","_wxCursor",0}, | |
8101 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
8102 | { "_wxPyShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8103 | { "_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8104 | { "_wxPyShape","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8105 | { "_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8106 | { "_wxPyShape","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8107 | { "_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8108 | { "_wxPyShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8109 | { "_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8110 | { "_wxPyShape","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8111 | { "_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8112 | { "_wxPyShape","_class_wxPyShape",0}, | |
8113 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
8114 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
8115 | { "_unsigned_char","_byte",0}, | |
8116 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
8117 | { "_class_wxMenu","_wxMenu",0}, | |
8118 | { "_wxControl","_class_wxControl",0}, | |
8119 | { "_class_wxListBox","_wxListBox",0}, | |
8120 | { "_unsigned_int","_wxPrintQuality",0}, | |
8121 | { "_unsigned_int","_size_t",0}, | |
8122 | { "_unsigned_int","_uint",0}, | |
8123 | { "_unsigned_int","_wxWindowID",0}, | |
8124 | { "_unsigned_int","_int",0}, | |
8125 | { "_wxIcon","_class_wxIcon",0}, | |
8126 | { "_wxDialog","_class_wxDialog",0}, | |
8127 | { "_class_wxListItem","_wxListItem",0}, | |
8128 | { "_class_wxPen","_wxPen",0}, | |
8129 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
8130 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
8131 | { "_short","_WXTYPE",0}, | |
8132 | { "_short","_unsigned_short",0}, | |
8133 | { "_short","_signed_short",0}, | |
8134 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
8135 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
8136 | { "_wxPyTextShape","_class_wxPyTextShape",0}, | |
8137 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
8138 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
8139 | { "_class_wxChoice","_wxChoice",0}, | |
8140 | { "_class_wxSlider","_wxSlider",0}, | |
8141 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
8142 | { "_class_wxImageList","_wxImageList",0}, | |
8143 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
8144 | { "_wxFrame","_class_wxFrame",0}, | |
8145 | { "_wxPyDivisionShape","_class_wxPyDivisionShape",0}, | |
8146 | { "_class_wxNotebook","_wxNotebook",0}, | |
8147 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
8148 | { "_wxWindowID","_wxPrintQuality",0}, | |
8149 | { "_wxWindowID","_size_t",0}, | |
8150 | { "_wxWindowID","_EBool",0}, | |
8151 | { "_wxWindowID","_uint",0}, | |
8152 | { "_wxWindowID","_int",0}, | |
8153 | { "_wxWindowID","_signed_int",0}, | |
8154 | { "_wxWindowID","_unsigned_int",0}, | |
8155 | { "_int","_wxPrintQuality",0}, | |
8156 | { "_int","_size_t",0}, | |
8157 | { "_int","_EBool",0}, | |
8158 | { "_int","_uint",0}, | |
8159 | { "_int","_wxWindowID",0}, | |
8160 | { "_int","_unsigned_int",0}, | |
8161 | { "_int","_signed_int",0}, | |
8162 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
8163 | { "_class_wxListEvent","_wxListEvent",0}, | |
8164 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
8165 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
8166 | { "_wxButton","_class_wxButton",0}, | |
8167 | { "_class_wxPyApp","_wxPyApp",0}, | |
8168 | { "_wxSize","_class_wxSize",0}, | |
8169 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
8170 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
8171 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
8172 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
8173 | { "_class_wxPyLineShape","_wxPyLineShape",0}, | |
8174 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
8175 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
8176 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
8177 | { "_class_wxComboBox","_wxComboBox",0}, | |
8178 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
8179 | { "_class_wxPyShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8180 | { "_class_wxPyShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyShape}, | |
8181 | { "_class_wxPyShape","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8182 | { "_class_wxPyShape","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShape}, | |
8183 | { "_class_wxPyShape","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8184 | { "_class_wxPyShape","_wxPyLineShape",SwigwxPyLineShapeTowxPyShape}, | |
8185 | { "_class_wxPyShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8186 | { "_class_wxPyShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShape}, | |
8187 | { "_class_wxPyShape","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8188 | { "_class_wxPyShape","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShape}, | |
8189 | { "_class_wxPyShape","_wxPyShape",0}, | |
8190 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
8191 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
8192 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
8193 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
8194 | { "_class_wxControl","_wxControl",0}, | |
8195 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
8196 | { "_wxPyDrawnShape","_class_wxPyDrawnShape",0}, | |
8197 | { "_class_wxIcon","_wxIcon",0}, | |
8198 | { "_class_wxColour","_wxColour",0}, | |
8199 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
8200 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
8201 | { "_wxPalette","_class_wxPalette",0}, | |
8202 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
8203 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
8204 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
8205 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
8206 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
8207 | { "_wxRegion","_class_wxRegion",0}, | |
8208 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
8209 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
8210 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
8211 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
8212 | { "_wxGauge","_class_wxGauge",0}, | |
8213 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
8214 | { "_class_wxGridEvent","_wxGridEvent",0}, | |
8215 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
8216 | { "_class_wxClientDC","_wxClientDC",0}, | |
8217 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
8218 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
8219 | { "_class_wxPyDividedShape","_wxPyDividedShape",0}, | |
8220 | { "_wxPyEllipseShape","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
8221 | { "_wxPyEllipseShape","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyEllipseShape}, | |
8222 | { "_wxPyEllipseShape","_class_wxPyEllipseShape",0}, | |
8223 | { "_class_wxGridCell","_wxGridCell",0}, | |
8224 | { "_class_wxSize","_wxSize",0}, | |
8225 | { "_class_wxBitmap","_wxBitmap",0}, | |
8226 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
8227 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
8228 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
8229 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
8230 | { "_wxPyShapeEvtHandler","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8231 | { "_wxPyShapeEvtHandler","_wxPyTextShape",SwigwxPyTextShapeTowxPyShapeEvtHandler}, | |
8232 | { "_wxPyShapeEvtHandler","_class_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8233 | { "_wxPyShapeEvtHandler","_wxPyPolygonShape",SwigwxPyPolygonShapeTowxPyShapeEvtHandler}, | |
8234 | { "_wxPyShapeEvtHandler","_class_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8235 | { "_wxPyShapeEvtHandler","_wxPyLineShape",SwigwxPyLineShapeTowxPyShapeEvtHandler}, | |
8236 | { "_wxPyShapeEvtHandler","_class_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8237 | { "_wxPyShapeEvtHandler","_wxPyCircleShape",SwigwxPyCircleShapeTowxPyShapeEvtHandler}, | |
8238 | { "_wxPyShapeEvtHandler","_class_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8239 | { "_wxPyShapeEvtHandler","_wxPyEllipseShape",SwigwxPyEllipseShapeTowxPyShapeEvtHandler}, | |
8240 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
8241 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
8242 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
8243 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
8244 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
8245 | { "_class_wxPrintData","_wxPrintData",0}, | |
8246 | { "_wxDash","_unsigned_long",0}, | |
8247 | { "_wxDash","_long",0}, | |
8248 | { "_wxPyRectangleShape","_class_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
8249 | { "_wxPyRectangleShape","_wxPyTextShape",SwigwxPyTextShapeTowxPyRectangleShape}, | |
8250 | { "_wxPyRectangleShape","_class_wxPyRectangleShape",0}, | |
8251 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
8252 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
8253 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
8254 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
8255 | { "_wxOGLConstraint","_class_wxOGLConstraint",0}, | |
8256 | { "_wxColourData","_class_wxColourData",0}, | |
8257 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
8258 | { "_class_wxPalette","_wxPalette",0}, | |
8259 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
8260 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
8261 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
8262 | { "_class_wxPyTextShape","_wxPyTextShape",0}, | |
8263 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
8264 | { "_wxWindow","_class_wxWindow",0}, | |
8265 | { "_class_wxFrame","_wxFrame",0}, | |
8266 | {0,0,0}}; | |
8267 | ||
8268 | static PyObject *SWIG_globals; | |
8269 | #ifdef __cplusplus | |
8270 | extern "C" | |
8271 | #endif | |
8272 | SWIGEXPORT(void) initoglshapes2c() { | |
8273 | PyObject *m, *d; | |
8274 | SWIG_globals = SWIG_newvarlink(); | |
8275 | m = Py_InitModule("oglshapes2c", oglshapes2cMethods); | |
8276 | d = PyModule_GetDict(m); | |
8277 | { | |
8278 | int i; | |
8279 | for (i = 0; _swig_mapping[i].n1; i++) | |
8280 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
8281 | } | |
8282 | } |