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