]>
Commit | Line | Data |
---|---|---|
e91a9dfc | 1 | /* |
c368d904 | 2 | * FILE : contrib/ogl/oglshapes.cpp |
e91a9dfc RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
e91a9dfc RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
c368d904 | 30 | # define SWIGEXPORT(a) a _export |
e91a9dfc | 31 | # else |
c368d904 | 32 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
33 | # endif |
34 | # endif | |
35 | #else | |
c368d904 | 36 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
37 | #endif |
38 | ||
c368d904 RD |
39 | #include "Python.h" |
40 | ||
e91a9dfc RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
185d7c3e | 44 | |
e91a9dfc RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initoglshapesc | |
55 | ||
56 | #define SWIG_name "oglshapesc" | |
57 | ||
58 | #include "helpers.h" | |
59 | #include "oglhelpers.h" | |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
185d7c3e | 63 | if (!target) { |
e91a9dfc | 64 | target = o; |
185d7c3e | 65 | } else if (target == Py_None) { |
e91a9dfc RD |
66 | Py_DECREF(Py_None); |
67 | target = o; | |
185d7c3e | 68 | } else { |
e91a9dfc RD |
69 | if (!PyList_Check(target)) { |
70 | o2 = target; | |
71 | target = PyList_New(0); | |
72 | PyList_Append(target, o2); | |
73 | Py_XDECREF(o2); | |
74 | } | |
75 | PyList_Append(target,o); | |
76 | Py_XDECREF(o); | |
77 | } | |
78 | return target; | |
79 | } | |
80 | ||
81 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
82 | PyObject* o2; | |
83 | PyObject* o3; | |
84 | ||
185d7c3e | 85 | if (!target) { |
e91a9dfc | 86 | target = o; |
185d7c3e | 87 | } else if (target == Py_None) { |
e91a9dfc RD |
88 | Py_DECREF(Py_None); |
89 | target = o; | |
185d7c3e | 90 | } else { |
e91a9dfc RD |
91 | if (!PyTuple_Check(target)) { |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
185d7c3e RD |
96 | o3 = PyTuple_New(1); |
97 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
98 | |
99 | o2 = target; | |
185d7c3e RD |
100 | target = PySequence_Concat(o2, o3); |
101 | Py_DECREF(o2); | |
e91a9dfc RD |
102 | Py_DECREF(o3); |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
e91a9dfc RD |
107 | static char* wxStringErrorMsg = "string type is required for parameter"; |
108 | ||
109 | WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape); | |
110 | ||
2348eaee RD |
111 | WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint); |
112 | ||
e91a9dfc RD |
113 | WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape); |
114 | ||
115 | WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape); | |
116 | ||
117 | WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape); | |
118 | ||
119 | WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape); | |
120 | ||
121 | WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape); | |
122 | #ifdef __cplusplus | |
123 | extern "C" { | |
124 | #endif | |
125 | #define new_wxPseudoMetaFile() (new wxPseudoMetaFile()) | |
126 | static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
127 | PyObject * _resultobj; | |
128 | wxPseudoMetaFile * _result; | |
129 | char *_kwnames[] = { NULL }; | |
130 | char _ptemp[128]; | |
131 | ||
132 | self = self; | |
133 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames)) | |
134 | return NULL; | |
135 | { | |
136 | wxPy_BEGIN_ALLOW_THREADS; | |
137 | _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile(); | |
138 | ||
139 | wxPy_END_ALLOW_THREADS; | |
140 | } if (_result) { | |
141 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
142 | _resultobj = Py_BuildValue("s",_ptemp); | |
143 | } else { | |
144 | Py_INCREF(Py_None); | |
145 | _resultobj = Py_None; | |
146 | } | |
147 | return _resultobj; | |
148 | } | |
149 | ||
150 | #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj) | |
151 | static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
152 | PyObject * _resultobj; | |
153 | wxPseudoMetaFile * _arg0; | |
154 | PyObject * _argo0 = 0; | |
155 | char *_kwnames[] = { "self", NULL }; | |
156 | ||
157 | self = self; | |
158 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0)) | |
159 | return NULL; | |
160 | if (_argo0) { | |
161 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
162 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p."); | |
164 | return NULL; | |
165 | } | |
166 | } | |
167 | { | |
168 | wxPy_BEGIN_ALLOW_THREADS; | |
169 | delete_wxPseudoMetaFile(_arg0); | |
170 | ||
171 | wxPy_END_ALLOW_THREADS; | |
172 | } Py_INCREF(Py_None); | |
173 | _resultobj = Py_None; | |
174 | return _resultobj; | |
175 | } | |
176 | ||
177 | #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2)) | |
178 | static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
179 | PyObject * _resultobj; | |
180 | wxPseudoMetaFile * _arg0; | |
181 | wxDC * _arg1; | |
182 | double _arg2; | |
183 | double _arg3; | |
184 | PyObject * _argo0 = 0; | |
185 | PyObject * _argo1 = 0; | |
186 | char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL }; | |
187 | ||
188 | self = self; | |
189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
190 | return NULL; | |
191 | if (_argo0) { | |
192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p."); | |
195 | return NULL; | |
196 | } | |
197 | } | |
198 | if (_argo1) { | |
199 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
200 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p."); | |
202 | return NULL; | |
203 | } | |
204 | } | |
205 | { | |
206 | wxPy_BEGIN_ALLOW_THREADS; | |
207 | wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3); | |
208 | ||
209 | wxPy_END_ALLOW_THREADS; | |
210 | } Py_INCREF(Py_None); | |
211 | _resultobj = Py_None; | |
212 | return _resultobj; | |
213 | } | |
214 | ||
215 | #define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1)) | |
216 | static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
217 | PyObject * _resultobj; | |
218 | wxPseudoMetaFile * _arg0; | |
219 | wxExpr * _arg1; | |
220 | int _arg2; | |
221 | PyObject * _argo0 = 0; | |
222 | PyObject * _argo1 = 0; | |
223 | char *_kwnames[] = { "self","clause","whichAngle", NULL }; | |
224 | ||
225 | self = self; | |
226 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2)) | |
227 | return NULL; | |
228 | if (_argo0) { | |
229 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
230 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p."); | |
232 | return NULL; | |
233 | } | |
234 | } | |
235 | if (_argo1) { | |
236 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
237 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) { | |
238 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p."); | |
239 | return NULL; | |
240 | } | |
241 | } | |
242 | { | |
243 | wxPy_BEGIN_ALLOW_THREADS; | |
244 | wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2); | |
245 | ||
246 | wxPy_END_ALLOW_THREADS; | |
247 | } Py_INCREF(Py_None); | |
248 | _resultobj = Py_None; | |
249 | return _resultobj; | |
250 | } | |
251 | ||
252 | #define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1)) | |
253 | static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
254 | PyObject * _resultobj; | |
255 | wxPseudoMetaFile * _arg0; | |
256 | wxExpr * _arg1; | |
257 | int _arg2; | |
258 | PyObject * _argo0 = 0; | |
259 | PyObject * _argo1 = 0; | |
260 | char *_kwnames[] = { "self","clause","whichAngle", NULL }; | |
261 | ||
262 | self = self; | |
263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2)) | |
264 | return NULL; | |
265 | if (_argo0) { | |
266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p."); | |
269 | return NULL; | |
270 | } | |
271 | } | |
272 | if (_argo1) { | |
273 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
274 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) { | |
275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p."); | |
276 | return NULL; | |
277 | } | |
278 | } | |
279 | { | |
280 | wxPy_BEGIN_ALLOW_THREADS; | |
281 | wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2); | |
282 | ||
283 | wxPy_END_ALLOW_THREADS; | |
284 | } Py_INCREF(Py_None); | |
285 | _resultobj = Py_None; | |
286 | return _resultobj; | |
287 | } | |
288 | ||
289 | #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear()) | |
290 | static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
291 | PyObject * _resultobj; | |
292 | wxPseudoMetaFile * _arg0; | |
293 | PyObject * _argo0 = 0; | |
294 | char *_kwnames[] = { "self", NULL }; | |
295 | ||
296 | self = self; | |
297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0)) | |
298 | return NULL; | |
299 | if (_argo0) { | |
300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p."); | |
303 | return NULL; | |
304 | } | |
305 | } | |
306 | { | |
307 | wxPy_BEGIN_ALLOW_THREADS; | |
308 | wxPseudoMetaFile_Clear(_arg0); | |
309 | ||
310 | wxPy_END_ALLOW_THREADS; | |
311 | } Py_INCREF(Py_None); | |
312 | _resultobj = Py_None; | |
313 | return _resultobj; | |
314 | } | |
315 | ||
316 | #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0)) | |
317 | static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
318 | PyObject * _resultobj; | |
319 | wxPseudoMetaFile * _arg0; | |
320 | wxPseudoMetaFile * _arg1; | |
321 | PyObject * _argo0 = 0; | |
322 | PyObject * _argo1 = 0; | |
323 | char *_kwnames[] = { "self","copy", NULL }; | |
324 | ||
325 | self = self; | |
326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1)) | |
327 | return NULL; | |
328 | if (_argo0) { | |
329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p."); | |
332 | return NULL; | |
333 | } | |
334 | } | |
335 | if (_argo1) { | |
336 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
337 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) { | |
338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p."); | |
339 | return NULL; | |
340 | } | |
341 | } | |
342 | { | |
343 | wxPy_BEGIN_ALLOW_THREADS; | |
344 | wxPseudoMetaFile_Copy(_arg0,*_arg1); | |
345 | ||
346 | wxPy_END_ALLOW_THREADS; | |
347 | } Py_INCREF(Py_None); | |
348 | _resultobj = Py_None; | |
349 | return _resultobj; | |
350 | } | |
351 | ||
352 | #define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
353 | static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
354 | PyObject * _resultobj; | |
355 | wxPseudoMetaFile * _arg0; | |
356 | double _arg1; | |
357 | double _arg2; | |
358 | PyObject * _argo0 = 0; | |
359 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
360 | ||
361 | self = self; | |
362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
363 | return NULL; | |
364 | if (_argo0) { | |
365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p."); | |
368 | return NULL; | |
369 | } | |
370 | } | |
371 | { | |
372 | wxPy_BEGIN_ALLOW_THREADS; | |
373 | wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2); | |
374 | ||
375 | wxPy_END_ALLOW_THREADS; | |
376 | } Py_INCREF(Py_None); | |
377 | _resultobj = Py_None; | |
378 | return _resultobj; | |
379 | } | |
380 | ||
381 | #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1)) | |
382 | static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
383 | PyObject * _resultobj; | |
384 | wxPseudoMetaFile * _arg0; | |
385 | double _arg1; | |
386 | double _arg2; | |
387 | PyObject * _argo0 = 0; | |
388 | char *_kwnames[] = { "self","w","h", NULL }; | |
389 | ||
390 | self = self; | |
391 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2)) | |
392 | return NULL; | |
393 | if (_argo0) { | |
394 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
395 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p."); | |
397 | return NULL; | |
398 | } | |
399 | } | |
400 | { | |
401 | wxPy_BEGIN_ALLOW_THREADS; | |
402 | wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2); | |
403 | ||
404 | wxPy_END_ALLOW_THREADS; | |
405 | } Py_INCREF(Py_None); | |
406 | _resultobj = Py_None; | |
407 | return _resultobj; | |
408 | } | |
409 | ||
410 | #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
411 | static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
412 | PyObject * _resultobj; | |
413 | wxPseudoMetaFile * _arg0; | |
414 | double _arg1; | |
415 | double _arg2; | |
416 | PyObject * _argo0 = 0; | |
417 | char *_kwnames[] = { "self","x","y", NULL }; | |
418 | ||
419 | self = self; | |
420 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
421 | return NULL; | |
422 | if (_argo0) { | |
423 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
424 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
425 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p."); | |
426 | return NULL; | |
427 | } | |
428 | } | |
429 | { | |
430 | wxPy_BEGIN_ALLOW_THREADS; | |
431 | wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2); | |
432 | ||
433 | wxPy_END_ALLOW_THREADS; | |
434 | } Py_INCREF(Py_None); | |
435 | _resultobj = Py_None; | |
436 | return _resultobj; | |
437 | } | |
438 | ||
439 | #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
440 | static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
441 | PyObject * _resultobj; | |
442 | wxPseudoMetaFile * _arg0; | |
443 | double _arg1; | |
444 | double _arg2; | |
445 | double _arg3; | |
446 | PyObject * _argo0 = 0; | |
447 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
448 | ||
449 | self = self; | |
450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
451 | return NULL; | |
452 | if (_argo0) { | |
453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p."); | |
456 | return NULL; | |
457 | } | |
458 | } | |
459 | { | |
460 | wxPy_BEGIN_ALLOW_THREADS; | |
461 | wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3); | |
462 | ||
463 | wxPy_END_ALLOW_THREADS; | |
464 | } Py_INCREF(Py_None); | |
465 | _resultobj = Py_None; | |
466 | return _resultobj; | |
467 | } | |
468 | ||
469 | #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2)) | |
470 | static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
471 | PyObject * _resultobj; | |
472 | bool _result; | |
473 | wxPseudoMetaFile * _arg0; | |
474 | char * _arg1; | |
475 | double * _arg2; | |
476 | double * _arg3; | |
477 | PyObject * _argo0 = 0; | |
478 | PyObject * _argo2 = 0; | |
479 | PyObject * _argo3 = 0; | |
480 | char *_kwnames[] = { "self","filename","width","height", NULL }; | |
481 | ||
482 | self = self; | |
483 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
484 | return NULL; | |
485 | if (_argo0) { | |
486 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
487 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p."); | |
489 | return NULL; | |
490 | } | |
491 | } | |
492 | if (_argo2) { | |
493 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
494 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) { | |
495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p."); | |
496 | return NULL; | |
497 | } | |
498 | } | |
499 | if (_argo3) { | |
500 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
501 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) { | |
502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p."); | |
503 | return NULL; | |
504 | } | |
505 | } | |
506 | { | |
507 | wxPy_BEGIN_ALLOW_THREADS; | |
508 | _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3); | |
509 | ||
510 | wxPy_END_ALLOW_THREADS; | |
511 | } _resultobj = Py_BuildValue("i",_result); | |
512 | return _resultobj; | |
513 | } | |
514 | ||
515 | #define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
516 | static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
517 | PyObject * _resultobj; | |
518 | wxPseudoMetaFile * _arg0; | |
519 | double * _arg1; | |
520 | double * _arg2; | |
521 | double * _arg3; | |
522 | double * _arg4; | |
523 | PyObject * _argo0 = 0; | |
524 | PyObject * _argo1 = 0; | |
525 | PyObject * _argo2 = 0; | |
526 | PyObject * _argo3 = 0; | |
527 | PyObject * _argo4 = 0; | |
528 | char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL }; | |
529 | ||
530 | self = self; | |
531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4)) | |
532 | return NULL; | |
533 | if (_argo0) { | |
534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p."); | |
537 | return NULL; | |
538 | } | |
539 | } | |
540 | if (_argo1) { | |
541 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
542 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) { | |
543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
544 | return NULL; | |
545 | } | |
546 | } | |
547 | if (_argo2) { | |
548 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
549 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) { | |
550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
551 | return NULL; | |
552 | } | |
553 | } | |
554 | if (_argo3) { | |
555 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
556 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) { | |
557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
558 | return NULL; | |
559 | } | |
560 | } | |
561 | if (_argo4) { | |
562 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
563 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) { | |
564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
565 | return NULL; | |
566 | } | |
567 | } | |
568 | { | |
569 | wxPy_BEGIN_ALLOW_THREADS; | |
570 | wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
571 | ||
572 | wxPy_END_ALLOW_THREADS; | |
573 | } Py_INCREF(Py_None); | |
574 | _resultobj = Py_None; | |
575 | return _resultobj; | |
576 | } | |
577 | ||
578 | #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0)) | |
579 | static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
580 | PyObject * _resultobj; | |
581 | wxPseudoMetaFile * _arg0; | |
582 | wxDrawnShape * _arg1; | |
583 | PyObject * _argo0 = 0; | |
584 | PyObject * _argo1 = 0; | |
585 | char *_kwnames[] = { "self","shape", NULL }; | |
586 | ||
587 | self = self; | |
588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1)) | |
589 | return NULL; | |
590 | if (_argo0) { | |
591 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
592 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p."); | |
594 | return NULL; | |
595 | } | |
596 | } | |
597 | if (_argo1) { | |
598 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
599 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) { | |
600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p."); | |
601 | return NULL; | |
602 | } | |
603 | } | |
604 | { | |
605 | wxPy_BEGIN_ALLOW_THREADS; | |
606 | wxPseudoMetaFile_CalculateSize(_arg0,_arg1); | |
607 | ||
608 | wxPy_END_ALLOW_THREADS; | |
609 | } Py_INCREF(Py_None); | |
610 | _resultobj = Py_None; | |
611 | return _resultobj; | |
612 | } | |
613 | ||
614 | #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0)) | |
615 | static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
616 | PyObject * _resultobj; | |
617 | wxPseudoMetaFile * _arg0; | |
618 | bool _arg1; | |
619 | PyObject * _argo0 = 0; | |
620 | int tempbool1; | |
621 | char *_kwnames[] = { "self","rot", NULL }; | |
622 | ||
623 | self = self; | |
624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1)) | |
625 | return NULL; | |
626 | if (_argo0) { | |
627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p."); | |
630 | return NULL; | |
631 | } | |
632 | } | |
633 | _arg1 = (bool ) tempbool1; | |
634 | { | |
635 | wxPy_BEGIN_ALLOW_THREADS; | |
636 | wxPseudoMetaFile_SetRotateable(_arg0,_arg1); | |
637 | ||
638 | wxPy_END_ALLOW_THREADS; | |
639 | } Py_INCREF(Py_None); | |
640 | _resultobj = Py_None; | |
641 | return _resultobj; | |
642 | } | |
643 | ||
644 | #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable()) | |
645 | static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
646 | PyObject * _resultobj; | |
647 | bool _result; | |
648 | wxPseudoMetaFile * _arg0; | |
649 | PyObject * _argo0 = 0; | |
650 | char *_kwnames[] = { "self", NULL }; | |
651 | ||
652 | self = self; | |
653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0)) | |
654 | return NULL; | |
655 | if (_argo0) { | |
656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p."); | |
659 | return NULL; | |
660 | } | |
661 | } | |
662 | { | |
663 | wxPy_BEGIN_ALLOW_THREADS; | |
664 | _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0); | |
665 | ||
666 | wxPy_END_ALLOW_THREADS; | |
667 | } _resultobj = Py_BuildValue("i",_result); | |
668 | return _resultobj; | |
669 | } | |
670 | ||
671 | #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
672 | static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
673 | PyObject * _resultobj; | |
674 | wxPseudoMetaFile * _arg0; | |
675 | double _arg1; | |
676 | double _arg2; | |
677 | PyObject * _argo0 = 0; | |
678 | char *_kwnames[] = { "self","w","h", NULL }; | |
679 | ||
680 | self = self; | |
681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
682 | return NULL; | |
683 | if (_argo0) { | |
684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p."); | |
687 | return NULL; | |
688 | } | |
689 | } | |
690 | { | |
691 | wxPy_BEGIN_ALLOW_THREADS; | |
692 | wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2); | |
693 | ||
694 | wxPy_END_ALLOW_THREADS; | |
695 | } Py_INCREF(Py_None); | |
696 | _resultobj = Py_None; | |
697 | return _resultobj; | |
698 | } | |
699 | ||
700 | #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0)) | |
701 | static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
702 | PyObject * _resultobj; | |
703 | wxPseudoMetaFile * _arg0; | |
704 | wxBrush * _arg1; | |
705 | PyObject * _argo0 = 0; | |
706 | PyObject * _argo1 = 0; | |
707 | char *_kwnames[] = { "self","brush", NULL }; | |
708 | ||
709 | self = self; | |
710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_argo1)) | |
711 | return NULL; | |
712 | if (_argo0) { | |
713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p."); | |
716 | return NULL; | |
717 | } | |
718 | } | |
719 | if (_argo1) { | |
720 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
721 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetFillBrush. Expected _wxBrush_p."); | |
723 | return NULL; | |
724 | } | |
725 | } | |
726 | { | |
727 | wxPy_BEGIN_ALLOW_THREADS; | |
728 | wxPseudoMetaFile_SetFillBrush(_arg0,_arg1); | |
729 | ||
730 | wxPy_END_ALLOW_THREADS; | |
731 | } Py_INCREF(Py_None); | |
732 | _resultobj = Py_None; | |
733 | return _resultobj; | |
734 | } | |
735 | ||
736 | #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush()) | |
737 | static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
738 | PyObject * _resultobj; | |
739 | wxBrush * _result; | |
740 | wxPseudoMetaFile * _arg0; | |
741 | PyObject * _argo0 = 0; | |
742 | char *_kwnames[] = { "self", NULL }; | |
743 | char _ptemp[128]; | |
744 | ||
745 | self = self; | |
746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0)) | |
747 | return NULL; | |
748 | if (_argo0) { | |
749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p."); | |
752 | return NULL; | |
753 | } | |
754 | } | |
755 | { | |
756 | wxPy_BEGIN_ALLOW_THREADS; | |
757 | _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0); | |
758 | ||
759 | wxPy_END_ALLOW_THREADS; | |
760 | } if (_result) { | |
761 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
762 | _resultobj = Py_BuildValue("s",_ptemp); | |
763 | } else { | |
764 | Py_INCREF(Py_None); | |
765 | _resultobj = Py_None; | |
766 | } | |
767 | return _resultobj; | |
768 | } | |
769 | ||
770 | #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0)) | |
771 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
772 | PyObject * _resultobj; | |
773 | wxPseudoMetaFile * _arg0; | |
774 | wxPen * _arg1; | |
775 | PyObject * _argo0 = 0; | |
776 | PyObject * _argo1 = 0; | |
777 | char *_kwnames[] = { "self","pen", NULL }; | |
778 | ||
779 | self = self; | |
780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_argo1)) | |
781 | return NULL; | |
782 | if (_argo0) { | |
783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
786 | return NULL; | |
787 | } | |
788 | } | |
789 | if (_argo1) { | |
790 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
791 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPen_p."); | |
793 | return NULL; | |
794 | } | |
795 | } | |
796 | { | |
797 | wxPy_BEGIN_ALLOW_THREADS; | |
798 | wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1); | |
799 | ||
800 | wxPy_END_ALLOW_THREADS; | |
801 | } Py_INCREF(Py_None); | |
802 | _resultobj = Py_None; | |
803 | return _resultobj; | |
804 | } | |
805 | ||
806 | #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen()) | |
807 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
808 | PyObject * _resultobj; | |
809 | wxPen * _result; | |
810 | wxPseudoMetaFile * _arg0; | |
811 | PyObject * _argo0 = 0; | |
812 | char *_kwnames[] = { "self", NULL }; | |
813 | char _ptemp[128]; | |
814 | ||
815 | self = self; | |
816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0)) | |
817 | return NULL; | |
818 | if (_argo0) { | |
819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
822 | return NULL; | |
823 | } | |
824 | } | |
825 | { | |
826 | wxPy_BEGIN_ALLOW_THREADS; | |
827 | _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0); | |
828 | ||
829 | wxPy_END_ALLOW_THREADS; | |
830 | } if (_result) { | |
831 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
832 | _resultobj = Py_BuildValue("s",_ptemp); | |
833 | } else { | |
834 | Py_INCREF(Py_None); | |
835 | _resultobj = Py_None; | |
836 | } | |
837 | return _resultobj; | |
838 | } | |
839 | ||
840 | #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0)) | |
841 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
842 | PyObject * _resultobj; | |
843 | wxPseudoMetaFile * _arg0; | |
844 | int _arg1; | |
845 | PyObject * _argo0 = 0; | |
846 | char *_kwnames[] = { "self","op", NULL }; | |
847 | ||
848 | self = self; | |
849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1)) | |
850 | return NULL; | |
851 | if (_argo0) { | |
852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
855 | return NULL; | |
856 | } | |
857 | } | |
858 | { | |
859 | wxPy_BEGIN_ALLOW_THREADS; | |
860 | wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1); | |
861 | ||
862 | wxPy_END_ALLOW_THREADS; | |
863 | } Py_INCREF(Py_None); | |
864 | _resultobj = Py_None; | |
865 | return _resultobj; | |
866 | } | |
867 | ||
868 | #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp()) | |
869 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
870 | PyObject * _resultobj; | |
871 | int _result; | |
872 | wxPseudoMetaFile * _arg0; | |
873 | PyObject * _argo0 = 0; | |
874 | char *_kwnames[] = { "self", NULL }; | |
875 | ||
876 | self = self; | |
877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0)) | |
878 | return NULL; | |
879 | if (_argo0) { | |
880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
883 | return NULL; | |
884 | } | |
885 | } | |
886 | { | |
887 | wxPy_BEGIN_ALLOW_THREADS; | |
888 | _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0); | |
889 | ||
890 | wxPy_END_ALLOW_THREADS; | |
891 | } _resultobj = Py_BuildValue("i",_result); | |
892 | return _resultobj; | |
893 | } | |
894 | ||
895 | #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid()) | |
896 | static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
897 | PyObject * _resultobj; | |
898 | bool _result; | |
899 | wxPseudoMetaFile * _arg0; | |
900 | PyObject * _argo0 = 0; | |
901 | char *_kwnames[] = { "self", NULL }; | |
902 | ||
903 | self = self; | |
904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0)) | |
905 | return NULL; | |
906 | if (_argo0) { | |
907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p."); | |
910 | return NULL; | |
911 | } | |
912 | } | |
913 | { | |
914 | wxPy_BEGIN_ALLOW_THREADS; | |
915 | _result = (bool )wxPseudoMetaFile_IsValid(_arg0); | |
916 | ||
917 | wxPy_END_ALLOW_THREADS; | |
918 | } _resultobj = Py_BuildValue("i",_result); | |
919 | return _resultobj; | |
920 | } | |
921 | ||
922 | #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
923 | static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
924 | PyObject * _resultobj; | |
925 | wxPseudoMetaFile * _arg0; | |
926 | wxPoint * _arg1; | |
927 | wxPoint * _arg2; | |
928 | PyObject * _argo0 = 0; | |
2348eaee RD |
929 | wxPoint temp; |
930 | PyObject * _obj1 = 0; | |
931 | wxPoint temp0; | |
932 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
933 | char *_kwnames[] = { "self","pt1","pt2", NULL }; |
934 | ||
935 | self = self; | |
2348eaee | 936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
937 | return NULL; |
938 | if (_argo0) { | |
939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p."); | |
942 | return NULL; | |
943 | } | |
944 | } | |
2348eaee RD |
945 | { |
946 | _arg1 = &temp; | |
947 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 948 | return NULL; |
2348eaee RD |
949 | } |
950 | { | |
951 | _arg2 = &temp0; | |
952 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 953 | return NULL; |
2348eaee | 954 | } |
e91a9dfc RD |
955 | { |
956 | wxPy_BEGIN_ALLOW_THREADS; | |
957 | wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2); | |
958 | ||
959 | wxPy_END_ALLOW_THREADS; | |
960 | } Py_INCREF(Py_None); | |
961 | _resultobj = Py_None; | |
962 | return _resultobj; | |
963 | } | |
964 | ||
965 | #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
966 | static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
967 | PyObject * _resultobj; | |
968 | wxPseudoMetaFile * _arg0; | |
969 | wxRect * _arg1; | |
970 | PyObject * _argo0 = 0; | |
2348eaee RD |
971 | wxRect temp; |
972 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
973 | char *_kwnames[] = { "self","rect", NULL }; |
974 | ||
975 | self = self; | |
2348eaee | 976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
977 | return NULL; |
978 | if (_argo0) { | |
979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p."); | |
982 | return NULL; | |
983 | } | |
984 | } | |
2348eaee RD |
985 | { |
986 | _arg1 = &temp; | |
987 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 988 | return NULL; |
2348eaee | 989 | } |
e91a9dfc RD |
990 | { |
991 | wxPy_BEGIN_ALLOW_THREADS; | |
992 | wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1); | |
993 | ||
994 | wxPy_END_ALLOW_THREADS; | |
995 | } Py_INCREF(Py_None); | |
996 | _resultobj = Py_None; | |
997 | return _resultobj; | |
998 | } | |
999 | ||
1000 | #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
1001 | static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1002 | PyObject * _resultobj; | |
1003 | wxPseudoMetaFile * _arg0; | |
1004 | wxRect * _arg1; | |
1005 | double _arg2; | |
1006 | PyObject * _argo0 = 0; | |
2348eaee RD |
1007 | wxRect temp; |
1008 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1009 | char *_kwnames[] = { "self","rect","radius", NULL }; |
1010 | ||
1011 | self = self; | |
2348eaee | 1012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
1013 | return NULL; |
1014 | if (_argo0) { | |
1015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p."); | |
1018 | return NULL; | |
1019 | } | |
1020 | } | |
2348eaee RD |
1021 | { |
1022 | _arg1 = &temp; | |
1023 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1024 | return NULL; |
2348eaee | 1025 | } |
e91a9dfc RD |
1026 | { |
1027 | wxPy_BEGIN_ALLOW_THREADS; | |
1028 | wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2); | |
1029 | ||
1030 | wxPy_END_ALLOW_THREADS; | |
1031 | } Py_INCREF(Py_None); | |
1032 | _resultobj = Py_None; | |
1033 | return _resultobj; | |
1034 | } | |
1035 | ||
1036 | #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
1037 | static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1038 | PyObject * _resultobj; | |
1039 | wxPseudoMetaFile * _arg0; | |
1040 | wxPoint * _arg1; | |
1041 | wxPoint * _arg2; | |
1042 | wxPoint * _arg3; | |
1043 | PyObject * _argo0 = 0; | |
2348eaee RD |
1044 | wxPoint temp; |
1045 | PyObject * _obj1 = 0; | |
1046 | wxPoint temp0; | |
1047 | PyObject * _obj2 = 0; | |
1048 | wxPoint temp1; | |
1049 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
1050 | char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL }; |
1051 | ||
1052 | self = self; | |
2348eaee | 1053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
e91a9dfc RD |
1054 | return NULL; |
1055 | if (_argo0) { | |
1056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p."); | |
1059 | return NULL; | |
1060 | } | |
1061 | } | |
2348eaee RD |
1062 | { |
1063 | _arg1 = &temp; | |
1064 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 1065 | return NULL; |
2348eaee RD |
1066 | } |
1067 | { | |
1068 | _arg2 = &temp0; | |
1069 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 1070 | return NULL; |
2348eaee RD |
1071 | } |
1072 | { | |
1073 | _arg3 = &temp1; | |
1074 | if (! wxPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 1075 | return NULL; |
2348eaee | 1076 | } |
e91a9dfc RD |
1077 | { |
1078 | wxPy_BEGIN_ALLOW_THREADS; | |
1079 | wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); | |
1080 | ||
1081 | wxPy_END_ALLOW_THREADS; | |
1082 | } Py_INCREF(Py_None); | |
1083 | _resultobj = Py_None; | |
1084 | return _resultobj; | |
1085 | } | |
1086 | ||
1087 | #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
1088 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1089 | PyObject * _resultobj; | |
1090 | wxPseudoMetaFile * _arg0; | |
1091 | wxRect * _arg1; | |
1092 | double _arg2; | |
1093 | double _arg3; | |
1094 | PyObject * _argo0 = 0; | |
2348eaee RD |
1095 | wxRect temp; |
1096 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1097 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; |
1098 | ||
1099 | self = self; | |
2348eaee | 1100 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
e91a9dfc RD |
1101 | return NULL; |
1102 | if (_argo0) { | |
1103 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1104 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p."); | |
1106 | return NULL; | |
1107 | } | |
1108 | } | |
2348eaee RD |
1109 | { |
1110 | _arg1 = &temp; | |
1111 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1112 | return NULL; |
2348eaee | 1113 | } |
e91a9dfc RD |
1114 | { |
1115 | wxPy_BEGIN_ALLOW_THREADS; | |
1116 | wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); | |
1117 | ||
1118 | wxPy_END_ALLOW_THREADS; | |
1119 | } Py_INCREF(Py_None); | |
1120 | _resultobj = Py_None; | |
1121 | return _resultobj; | |
1122 | } | |
1123 | ||
1124 | #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0)) | |
1125 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1126 | PyObject * _resultobj; | |
1127 | wxPseudoMetaFile * _arg0; | |
1128 | wxRect * _arg1; | |
1129 | PyObject * _argo0 = 0; | |
2348eaee RD |
1130 | wxRect temp; |
1131 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1132 | char *_kwnames[] = { "self","rect", NULL }; |
1133 | ||
1134 | self = self; | |
2348eaee | 1135 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1136 | return NULL; |
1137 | if (_argo0) { | |
1138 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1139 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1140 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p."); | |
1141 | return NULL; | |
1142 | } | |
1143 | } | |
2348eaee RD |
1144 | { |
1145 | _arg1 = &temp; | |
1146 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1147 | return NULL; |
2348eaee | 1148 | } |
e91a9dfc RD |
1149 | { |
1150 | wxPy_BEGIN_ALLOW_THREADS; | |
1151 | wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1); | |
1152 | ||
1153 | wxPy_END_ALLOW_THREADS; | |
1154 | } Py_INCREF(Py_None); | |
1155 | _resultobj = Py_None; | |
1156 | return _resultobj; | |
1157 | } | |
1158 | ||
1159 | #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
1160 | static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1161 | PyObject * _resultobj; | |
1162 | wxPseudoMetaFile * _arg0; | |
1163 | wxPoint * _arg1; | |
1164 | PyObject * _argo0 = 0; | |
2348eaee RD |
1165 | wxPoint temp; |
1166 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1167 | char *_kwnames[] = { "self","pt", NULL }; |
1168 | ||
1169 | self = self; | |
2348eaee | 1170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1171 | return NULL; |
1172 | if (_argo0) { | |
1173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p."); | |
1176 | return NULL; | |
1177 | } | |
1178 | } | |
2348eaee RD |
1179 | { |
1180 | _arg1 = &temp; | |
1181 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 1182 | return NULL; |
2348eaee | 1183 | } |
e91a9dfc RD |
1184 | { |
1185 | wxPy_BEGIN_ALLOW_THREADS; | |
1186 | wxPseudoMetaFile_DrawPoint(_arg0,*_arg1); | |
1187 | ||
1188 | wxPy_END_ALLOW_THREADS; | |
1189 | } Py_INCREF(Py_None); | |
1190 | _resultobj = Py_None; | |
1191 | return _resultobj; | |
1192 | } | |
1193 | ||
1194 | #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
1195 | static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1196 | PyObject * _resultobj; | |
1197 | wxPseudoMetaFile * _arg0; | |
1198 | wxString * _arg1; | |
1199 | wxPoint * _arg2; | |
1200 | PyObject * _argo0 = 0; | |
1201 | PyObject * _obj1 = 0; | |
2348eaee RD |
1202 | wxPoint temp; |
1203 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
1204 | char *_kwnames[] = { "self","text","pt", NULL }; |
1205 | ||
1206 | self = self; | |
2348eaee | 1207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1208 | return NULL; |
1209 | if (_argo0) { | |
1210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p."); | |
1213 | return NULL; | |
1214 | } | |
1215 | } | |
1216 | { | |
185d7c3e RD |
1217 | #if PYTHON_API_VERSION >= 1009 |
1218 | char* tmpPtr; int tmpSize; | |
1219 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1220 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1221 | return NULL; | |
1222 | } | |
1223 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1224 | return NULL; | |
1225 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1226 | #else | |
e91a9dfc RD |
1227 | if (!PyString_Check(_obj1)) { |
1228 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1229 | return NULL; | |
1230 | } | |
185d7c3e RD |
1231 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
1232 | #endif | |
e91a9dfc | 1233 | } |
2348eaee RD |
1234 | { |
1235 | _arg2 = &temp; | |
1236 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 1237 | return NULL; |
2348eaee | 1238 | } |
e91a9dfc RD |
1239 | { |
1240 | wxPy_BEGIN_ALLOW_THREADS; | |
1241 | wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2); | |
1242 | ||
1243 | wxPy_END_ALLOW_THREADS; | |
1244 | } Py_INCREF(Py_None); | |
1245 | _resultobj = Py_None; | |
1246 | { | |
1247 | if (_obj1) | |
1248 | delete _arg1; | |
1249 | } | |
1250 | return _resultobj; | |
1251 | } | |
1252 | ||
1253 | #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
1254 | static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1255 | PyObject * _resultobj; | |
1256 | wxPseudoMetaFile * _arg0; | |
1257 | int _arg1; | |
1258 | wxPoint * _arg2; | |
1259 | PyObject * _argo0 = 0; | |
1260 | PyObject * _obj2 = 0; | |
eec92d76 | 1261 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
1262 | |
1263 | self = self; | |
1264 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2)) | |
1265 | return NULL; | |
1266 | if (_argo0) { | |
1267 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1268 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p."); | |
1270 | return NULL; | |
1271 | } | |
1272 | } | |
1273 | if (_obj2) | |
1274 | { | |
1275 | _arg2 = wxPoint_LIST_helper(_obj2); | |
1276 | if (_arg2 == NULL) { | |
1277 | return NULL; | |
1278 | } | |
1279 | } | |
1280 | { | |
1281 | if (_obj2) { | |
1282 | _arg1 = PyList_Size(_obj2); | |
1283 | } | |
1284 | else { | |
1285 | _arg1 = 0; | |
1286 | } | |
1287 | } | |
1288 | { | |
1289 | wxPy_BEGIN_ALLOW_THREADS; | |
1290 | wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2); | |
1291 | ||
1292 | wxPy_END_ALLOW_THREADS; | |
1293 | } Py_INCREF(Py_None); | |
1294 | _resultobj = Py_None; | |
1295 | { | |
1296 | delete [] _arg2; | |
1297 | } | |
1298 | return _resultobj; | |
1299 | } | |
1300 | ||
1301 | #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
1302 | static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1303 | PyObject * _resultobj; | |
1304 | wxPseudoMetaFile * _arg0; | |
1305 | int _arg1; | |
1306 | wxPoint * _arg2; | |
1307 | int _arg3 = (int ) 0; | |
1308 | PyObject * _argo0 = 0; | |
1309 | PyObject * _obj2 = 0; | |
eec92d76 | 1310 | char *_kwnames[] = { "self","points","flags", NULL }; |
e91a9dfc RD |
1311 | |
1312 | self = self; | |
1313 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
1314 | return NULL; | |
1315 | if (_argo0) { | |
1316 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1317 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1318 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p."); | |
1319 | return NULL; | |
1320 | } | |
1321 | } | |
1322 | if (_obj2) | |
1323 | { | |
1324 | _arg2 = wxPoint_LIST_helper(_obj2); | |
1325 | if (_arg2 == NULL) { | |
1326 | return NULL; | |
1327 | } | |
1328 | } | |
1329 | { | |
1330 | if (_obj2) { | |
1331 | _arg1 = PyList_Size(_obj2); | |
1332 | } | |
1333 | else { | |
1334 | _arg1 = 0; | |
1335 | } | |
1336 | } | |
1337 | { | |
1338 | wxPy_BEGIN_ALLOW_THREADS; | |
1339 | wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3); | |
1340 | ||
1341 | wxPy_END_ALLOW_THREADS; | |
1342 | } Py_INCREF(Py_None); | |
1343 | _resultobj = Py_None; | |
1344 | { | |
1345 | delete [] _arg2; | |
1346 | } | |
1347 | return _resultobj; | |
1348 | } | |
1349 | ||
1350 | #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
1351 | static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1352 | PyObject * _resultobj; | |
1353 | wxPseudoMetaFile * _arg0; | |
1354 | int _arg1; | |
1355 | wxPoint * _arg2; | |
1356 | PyObject * _argo0 = 0; | |
1357 | PyObject * _obj2 = 0; | |
eec92d76 | 1358 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
1359 | |
1360 | self = self; | |
1361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
1362 | return NULL; | |
1363 | if (_argo0) { | |
1364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p."); | |
1367 | return NULL; | |
1368 | } | |
1369 | } | |
1370 | if (_obj2) | |
1371 | { | |
1372 | _arg2 = wxPoint_LIST_helper(_obj2); | |
1373 | if (_arg2 == NULL) { | |
1374 | return NULL; | |
1375 | } | |
1376 | } | |
1377 | { | |
1378 | if (_obj2) { | |
1379 | _arg1 = PyList_Size(_obj2); | |
1380 | } | |
1381 | else { | |
1382 | _arg1 = 0; | |
1383 | } | |
1384 | } | |
1385 | { | |
1386 | wxPy_BEGIN_ALLOW_THREADS; | |
1387 | wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2); | |
1388 | ||
1389 | wxPy_END_ALLOW_THREADS; | |
1390 | } Py_INCREF(Py_None); | |
1391 | _resultobj = Py_None; | |
1392 | { | |
1393 | delete [] _arg2; | |
1394 | } | |
1395 | return _resultobj; | |
1396 | } | |
1397 | ||
1398 | #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
1399 | static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1400 | PyObject * _resultobj; | |
1401 | wxPseudoMetaFile * _arg0; | |
1402 | wxRect * _arg1; | |
1403 | PyObject * _argo0 = 0; | |
2348eaee RD |
1404 | wxRect temp; |
1405 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1406 | char *_kwnames[] = { "self","rect", NULL }; |
1407 | ||
1408 | self = self; | |
2348eaee | 1409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1410 | return NULL; |
1411 | if (_argo0) { | |
1412 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1413 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p."); | |
1415 | return NULL; | |
1416 | } | |
1417 | } | |
2348eaee RD |
1418 | { |
1419 | _arg1 = &temp; | |
1420 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1421 | return NULL; |
2348eaee | 1422 | } |
e91a9dfc RD |
1423 | { |
1424 | wxPy_BEGIN_ALLOW_THREADS; | |
1425 | wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1); | |
1426 | ||
1427 | wxPy_END_ALLOW_THREADS; | |
1428 | } Py_INCREF(Py_None); | |
1429 | _resultobj = Py_None; | |
1430 | return _resultobj; | |
1431 | } | |
1432 | ||
1433 | #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
1434 | static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1435 | PyObject * _resultobj; | |
1436 | wxPseudoMetaFile * _arg0; | |
1437 | PyObject * _argo0 = 0; | |
1438 | char *_kwnames[] = { "self", NULL }; | |
1439 | ||
1440 | self = self; | |
1441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0)) | |
1442 | return NULL; | |
1443 | if (_argo0) { | |
1444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p."); | |
1447 | return NULL; | |
1448 | } | |
1449 | } | |
1450 | { | |
1451 | wxPy_BEGIN_ALLOW_THREADS; | |
1452 | wxPseudoMetaFile_DestroyClippingRect(_arg0); | |
1453 | ||
1454 | wxPy_END_ALLOW_THREADS; | |
1455 | } Py_INCREF(Py_None); | |
1456 | _resultobj = Py_None; | |
1457 | return _resultobj; | |
1458 | } | |
1459 | ||
1460 | #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1)) | |
1461 | static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1462 | PyObject * _resultobj; | |
1463 | wxPseudoMetaFile * _arg0; | |
1464 | wxPen * _arg1; | |
1465 | bool _arg2 = (bool ) FALSE; | |
1466 | PyObject * _argo0 = 0; | |
1467 | PyObject * _argo1 = 0; | |
1468 | int tempbool2 = (int) FALSE; | |
1469 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
1470 | ||
1471 | self = self; | |
1472 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1473 | return NULL; | |
1474 | if (_argo0) { | |
1475 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1476 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1477 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p."); | |
1478 | return NULL; | |
1479 | } | |
1480 | } | |
1481 | if (_argo1) { | |
1482 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1483 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
1484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetPen. Expected _wxPen_p."); | |
1485 | return NULL; | |
1486 | } | |
1487 | } | |
1488 | _arg2 = (bool ) tempbool2; | |
1489 | { | |
1490 | wxPy_BEGIN_ALLOW_THREADS; | |
1491 | wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2); | |
1492 | ||
1493 | wxPy_END_ALLOW_THREADS; | |
1494 | } Py_INCREF(Py_None); | |
1495 | _resultobj = Py_None; | |
1496 | return _resultobj; | |
1497 | } | |
1498 | ||
1499 | #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1)) | |
1500 | static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1501 | PyObject * _resultobj; | |
1502 | wxPseudoMetaFile * _arg0; | |
1503 | wxBrush * _arg1; | |
1504 | bool _arg2 = (bool ) FALSE; | |
1505 | PyObject * _argo0 = 0; | |
1506 | PyObject * _argo1 = 0; | |
1507 | int tempbool2 = (int) FALSE; | |
1508 | char *_kwnames[] = { "self","brush","isFill", NULL }; | |
1509 | ||
1510 | self = self; | |
1511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1512 | return NULL; | |
1513 | if (_argo0) { | |
1514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p."); | |
1517 | return NULL; | |
1518 | } | |
1519 | } | |
1520 | if (_argo1) { | |
1521 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1522 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
1523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetBrush. Expected _wxBrush_p."); | |
1524 | return NULL; | |
1525 | } | |
1526 | } | |
1527 | _arg2 = (bool ) tempbool2; | |
1528 | { | |
1529 | wxPy_BEGIN_ALLOW_THREADS; | |
1530 | wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2); | |
1531 | ||
1532 | wxPy_END_ALLOW_THREADS; | |
1533 | } Py_INCREF(Py_None); | |
1534 | _resultobj = Py_None; | |
1535 | return _resultobj; | |
1536 | } | |
1537 | ||
1538 | #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
1539 | static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1540 | PyObject * _resultobj; | |
1541 | wxPseudoMetaFile * _arg0; | |
1542 | wxFont * _arg1; | |
1543 | PyObject * _argo0 = 0; | |
1544 | PyObject * _argo1 = 0; | |
1545 | char *_kwnames[] = { "self","font", NULL }; | |
1546 | ||
1547 | self = self; | |
1548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_argo1)) | |
1549 | return NULL; | |
1550 | if (_argo0) { | |
1551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p."); | |
1554 | return NULL; | |
1555 | } | |
1556 | } | |
1557 | if (_argo1) { | |
1558 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1559 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
1560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetFont. Expected _wxFont_p."); | |
1561 | return NULL; | |
1562 | } | |
1563 | } | |
1564 | { | |
1565 | wxPy_BEGIN_ALLOW_THREADS; | |
1566 | wxPseudoMetaFile_SetFont(_arg0,_arg1); | |
1567 | ||
1568 | wxPy_END_ALLOW_THREADS; | |
1569 | } Py_INCREF(Py_None); | |
1570 | _resultobj = Py_None; | |
1571 | return _resultobj; | |
1572 | } | |
1573 | ||
1574 | #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
1575 | static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1576 | PyObject * _resultobj; | |
1577 | wxPseudoMetaFile * _arg0; | |
1578 | wxColour * _arg1; | |
1579 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
1580 | wxColour temp; |
1581 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1582 | char *_kwnames[] = { "self","colour", NULL }; |
1583 | ||
1584 | self = self; | |
f6bcfd97 | 1585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1586 | return NULL; |
1587 | if (_argo0) { | |
1588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p."); | |
1591 | return NULL; | |
1592 | } | |
1593 | } | |
f6bcfd97 BP |
1594 | { |
1595 | _arg1 = &temp; | |
1596 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 1597 | return NULL; |
f6bcfd97 | 1598 | } |
e91a9dfc RD |
1599 | { |
1600 | wxPy_BEGIN_ALLOW_THREADS; | |
1601 | wxPseudoMetaFile_SetTextColour(_arg0,*_arg1); | |
1602 | ||
1603 | wxPy_END_ALLOW_THREADS; | |
1604 | } Py_INCREF(Py_None); | |
1605 | _resultobj = Py_None; | |
1606 | return _resultobj; | |
1607 | } | |
1608 | ||
1609 | #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1610 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1611 | PyObject * _resultobj; | |
1612 | wxPseudoMetaFile * _arg0; | |
1613 | wxColour * _arg1; | |
1614 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
1615 | wxColour temp; |
1616 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1617 | char *_kwnames[] = { "self","colour", NULL }; |
1618 | ||
1619 | self = self; | |
f6bcfd97 | 1620 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1621 | return NULL; |
1622 | if (_argo0) { | |
1623 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1624 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p."); | |
1626 | return NULL; | |
1627 | } | |
1628 | } | |
f6bcfd97 BP |
1629 | { |
1630 | _arg1 = &temp; | |
1631 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 1632 | return NULL; |
f6bcfd97 | 1633 | } |
e91a9dfc RD |
1634 | { |
1635 | wxPy_BEGIN_ALLOW_THREADS; | |
1636 | wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1); | |
1637 | ||
1638 | wxPy_END_ALLOW_THREADS; | |
1639 | } Py_INCREF(Py_None); | |
1640 | _resultobj = Py_None; | |
1641 | return _resultobj; | |
1642 | } | |
1643 | ||
1644 | #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0)) | |
1645 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1646 | PyObject * _resultobj; | |
1647 | wxPseudoMetaFile * _arg0; | |
1648 | int _arg1; | |
1649 | PyObject * _argo0 = 0; | |
1650 | char *_kwnames[] = { "self","mode", NULL }; | |
1651 | ||
1652 | self = self; | |
1653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
1654 | return NULL; | |
1655 | if (_argo0) { | |
1656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p."); | |
1659 | return NULL; | |
1660 | } | |
1661 | } | |
1662 | { | |
1663 | wxPy_BEGIN_ALLOW_THREADS; | |
1664 | wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1); | |
1665 | ||
1666 | wxPy_END_ALLOW_THREADS; | |
1667 | } Py_INCREF(Py_None); | |
1668 | _resultobj = Py_None; | |
1669 | return _resultobj; | |
1670 | } | |
1671 | ||
1672 | static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) { | |
1673 | wxPyRectangleShape *src; | |
1674 | wxPyShape *dest; | |
1675 | src = (wxPyRectangleShape *) ptr; | |
1676 | dest = (wxPyShape *) src; | |
1677 | return (void *) dest; | |
1678 | } | |
1679 | ||
1680 | static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1681 | wxPyRectangleShape *src; | |
1682 | wxPyShapeEvtHandler *dest; | |
1683 | src = (wxPyRectangleShape *) ptr; | |
1684 | dest = (wxPyShapeEvtHandler *) src; | |
1685 | return (void *) dest; | |
1686 | } | |
1687 | ||
1688 | #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1)) | |
1689 | static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1690 | PyObject * _resultobj; | |
1691 | wxPyRectangleShape * _result; | |
1692 | double _arg0 = (double ) 0.0; | |
1693 | double _arg1 = (double ) 0.0; | |
1694 | char *_kwnames[] = { "width","height", NULL }; | |
1695 | char _ptemp[128]; | |
1696 | ||
1697 | self = self; | |
1698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1)) | |
1699 | return NULL; | |
1700 | { | |
1701 | wxPy_BEGIN_ALLOW_THREADS; | |
1702 | _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1); | |
1703 | ||
1704 | wxPy_END_ALLOW_THREADS; | |
1705 | } if (_result) { | |
1706 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p"); | |
1707 | _resultobj = Py_BuildValue("s",_ptemp); | |
1708 | } else { | |
1709 | Py_INCREF(Py_None); | |
1710 | _resultobj = Py_None; | |
1711 | } | |
1712 | return _resultobj; | |
1713 | } | |
1714 | ||
f6bcfd97 | 1715 | #define wxPyRectangleShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1716 | static PyObject *_wrap_wxPyRectangleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1717 | PyObject * _resultobj; | |
1718 | wxPyRectangleShape * _arg0; | |
1719 | PyObject * _arg1; | |
f6bcfd97 | 1720 | PyObject * _arg2; |
e91a9dfc RD |
1721 | PyObject * _argo0 = 0; |
1722 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1723 | PyObject * _obj2 = 0; |
1724 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1725 | |
1726 | self = self; | |
f6bcfd97 | 1727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1728 | return NULL; |
1729 | if (_argo0) { | |
1730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setSelf. Expected _wxPyRectangleShape_p."); | |
1733 | return NULL; | |
1734 | } | |
1735 | } | |
1736 | { | |
1737 | _arg1 = _obj1; | |
1738 | } | |
f6bcfd97 BP |
1739 | { |
1740 | _arg2 = _obj2; | |
1741 | } | |
e91a9dfc RD |
1742 | { |
1743 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1744 | wxPyRectangleShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1745 | |
1746 | wxPy_END_ALLOW_THREADS; | |
1747 | } Py_INCREF(Py_None); | |
1748 | _resultobj = Py_None; | |
1749 | return _resultobj; | |
1750 | } | |
1751 | ||
1752 | #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) | |
1753 | static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1754 | PyObject * _resultobj; | |
1755 | wxPyRectangleShape * _arg0; | |
1756 | double _arg1; | |
1757 | PyObject * _argo0 = 0; | |
1758 | char *_kwnames[] = { "self","radius", NULL }; | |
1759 | ||
1760 | self = self; | |
1761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1)) | |
1762 | return NULL; | |
1763 | if (_argo0) { | |
1764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p."); | |
1767 | return NULL; | |
1768 | } | |
1769 | } | |
1770 | { | |
1771 | wxPy_BEGIN_ALLOW_THREADS; | |
1772 | wxPyRectangleShape_SetCornerRadius(_arg0,_arg1); | |
1773 | ||
1774 | wxPy_END_ALLOW_THREADS; | |
1775 | } Py_INCREF(Py_None); | |
1776 | _resultobj = Py_None; | |
1777 | return _resultobj; | |
1778 | } | |
1779 | ||
1780 | #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1781 | static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1782 | PyObject * _resultobj; | |
1783 | wxPyRectangleShape * _arg0; | |
1784 | PyObject * _argo0 = 0; | |
1785 | char *_kwnames[] = { "self", NULL }; | |
1786 | ||
1787 | self = self; | |
1788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0)) | |
1789 | return NULL; | |
1790 | if (_argo0) { | |
1791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p."); | |
1794 | return NULL; | |
1795 | } | |
1796 | } | |
1797 | { | |
1798 | wxPy_BEGIN_ALLOW_THREADS; | |
1799 | wxPyRectangleShape_base_OnDelete(_arg0); | |
1800 | ||
1801 | wxPy_END_ALLOW_THREADS; | |
1802 | } Py_INCREF(Py_None); | |
1803 | _resultobj = Py_None; | |
1804 | return _resultobj; | |
1805 | } | |
1806 | ||
1807 | #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1808 | static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1809 | PyObject * _resultobj; | |
1810 | wxPyRectangleShape * _arg0; | |
1811 | wxDC * _arg1; | |
1812 | PyObject * _argo0 = 0; | |
1813 | PyObject * _argo1 = 0; | |
1814 | char *_kwnames[] = { "self","dc", NULL }; | |
1815 | ||
1816 | self = self; | |
1817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1818 | return NULL; | |
1819 | if (_argo0) { | |
1820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p."); | |
1823 | return NULL; | |
1824 | } | |
1825 | } | |
1826 | if (_argo1) { | |
1827 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1828 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p."); | |
1830 | return NULL; | |
1831 | } | |
1832 | } | |
1833 | { | |
1834 | wxPy_BEGIN_ALLOW_THREADS; | |
1835 | wxPyRectangleShape_base_OnDraw(_arg0,*_arg1); | |
1836 | ||
1837 | wxPy_END_ALLOW_THREADS; | |
1838 | } Py_INCREF(Py_None); | |
1839 | _resultobj = Py_None; | |
1840 | return _resultobj; | |
1841 | } | |
1842 | ||
1843 | #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1844 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1845 | PyObject * _resultobj; | |
1846 | wxPyRectangleShape * _arg0; | |
1847 | wxDC * _arg1; | |
1848 | PyObject * _argo0 = 0; | |
1849 | PyObject * _argo1 = 0; | |
1850 | char *_kwnames[] = { "self","dc", NULL }; | |
1851 | ||
1852 | self = self; | |
1853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1854 | return NULL; | |
1855 | if (_argo0) { | |
1856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p."); | |
1859 | return NULL; | |
1860 | } | |
1861 | } | |
1862 | if (_argo1) { | |
1863 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1864 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p."); | |
1866 | return NULL; | |
1867 | } | |
1868 | } | |
1869 | { | |
1870 | wxPy_BEGIN_ALLOW_THREADS; | |
1871 | wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1); | |
1872 | ||
1873 | wxPy_END_ALLOW_THREADS; | |
1874 | } Py_INCREF(Py_None); | |
1875 | _resultobj = Py_None; | |
1876 | return _resultobj; | |
1877 | } | |
1878 | ||
1879 | #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1880 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1881 | PyObject * _resultobj; | |
1882 | wxPyRectangleShape * _arg0; | |
1883 | wxDC * _arg1; | |
1884 | bool _arg2 = (bool ) FALSE; | |
1885 | PyObject * _argo0 = 0; | |
1886 | PyObject * _argo1 = 0; | |
1887 | int tempbool2 = (int) FALSE; | |
1888 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1889 | ||
1890 | self = self; | |
1891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1892 | return NULL; | |
1893 | if (_argo0) { | |
1894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p."); | |
1897 | return NULL; | |
1898 | } | |
1899 | } | |
1900 | if (_argo1) { | |
1901 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1902 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1904 | return NULL; | |
1905 | } | |
1906 | } | |
1907 | _arg2 = (bool ) tempbool2; | |
1908 | { | |
1909 | wxPy_BEGIN_ALLOW_THREADS; | |
1910 | wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1911 | ||
1912 | wxPy_END_ALLOW_THREADS; | |
1913 | } Py_INCREF(Py_None); | |
1914 | _resultobj = Py_None; | |
1915 | return _resultobj; | |
1916 | } | |
1917 | ||
1918 | #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1919 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1920 | PyObject * _resultobj; | |
1921 | wxPyRectangleShape * _arg0; | |
1922 | wxDC * _arg1; | |
1923 | PyObject * _argo0 = 0; | |
1924 | PyObject * _argo1 = 0; | |
1925 | char *_kwnames[] = { "self","dc", NULL }; | |
1926 | ||
1927 | self = self; | |
1928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1929 | return NULL; | |
1930 | if (_argo0) { | |
1931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p."); | |
1934 | return NULL; | |
1935 | } | |
1936 | } | |
1937 | if (_argo1) { | |
1938 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1939 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
1941 | return NULL; | |
1942 | } | |
1943 | } | |
1944 | { | |
1945 | wxPy_BEGIN_ALLOW_THREADS; | |
1946 | wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1); | |
1947 | ||
1948 | wxPy_END_ALLOW_THREADS; | |
1949 | } Py_INCREF(Py_None); | |
1950 | _resultobj = Py_None; | |
1951 | return _resultobj; | |
1952 | } | |
1953 | ||
1954 | #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1955 | static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1956 | PyObject * _resultobj; | |
1957 | wxPyRectangleShape * _arg0; | |
1958 | wxDC * _arg1; | |
1959 | PyObject * _argo0 = 0; | |
1960 | PyObject * _argo1 = 0; | |
1961 | char *_kwnames[] = { "self","dc", NULL }; | |
1962 | ||
1963 | self = self; | |
1964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1965 | return NULL; | |
1966 | if (_argo0) { | |
1967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p."); | |
1970 | return NULL; | |
1971 | } | |
1972 | } | |
1973 | if (_argo1) { | |
1974 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1975 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p."); | |
1977 | return NULL; | |
1978 | } | |
1979 | } | |
1980 | { | |
1981 | wxPy_BEGIN_ALLOW_THREADS; | |
1982 | wxPyRectangleShape_base_OnErase(_arg0,*_arg1); | |
1983 | ||
1984 | wxPy_END_ALLOW_THREADS; | |
1985 | } Py_INCREF(Py_None); | |
1986 | _resultobj = Py_None; | |
1987 | return _resultobj; | |
1988 | } | |
1989 | ||
1990 | #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1991 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1992 | PyObject * _resultobj; | |
1993 | wxPyRectangleShape * _arg0; | |
1994 | wxDC * _arg1; | |
1995 | PyObject * _argo0 = 0; | |
1996 | PyObject * _argo1 = 0; | |
1997 | char *_kwnames[] = { "self","dc", NULL }; | |
1998 | ||
1999 | self = self; | |
2000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
2001 | return NULL; | |
2002 | if (_argo0) { | |
2003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p."); | |
2006 | return NULL; | |
2007 | } | |
2008 | } | |
2009 | if (_argo1) { | |
2010 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2011 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p."); | |
2013 | return NULL; | |
2014 | } | |
2015 | } | |
2016 | { | |
2017 | wxPy_BEGIN_ALLOW_THREADS; | |
2018 | wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1); | |
2019 | ||
2020 | wxPy_END_ALLOW_THREADS; | |
2021 | } Py_INCREF(Py_None); | |
2022 | _resultobj = Py_None; | |
2023 | return _resultobj; | |
2024 | } | |
2025 | ||
2026 | #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
2027 | static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2028 | PyObject * _resultobj; | |
2029 | wxPyRectangleShape * _arg0; | |
2030 | wxDC * _arg1; | |
2031 | PyObject * _argo0 = 0; | |
2032 | PyObject * _argo1 = 0; | |
2033 | char *_kwnames[] = { "self","dc", NULL }; | |
2034 | ||
2035 | self = self; | |
2036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
2037 | return NULL; | |
2038 | if (_argo0) { | |
2039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p."); | |
2042 | return NULL; | |
2043 | } | |
2044 | } | |
2045 | if (_argo1) { | |
2046 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2047 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p."); | |
2049 | return NULL; | |
2050 | } | |
2051 | } | |
2052 | { | |
2053 | wxPy_BEGIN_ALLOW_THREADS; | |
2054 | wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1); | |
2055 | ||
2056 | wxPy_END_ALLOW_THREADS; | |
2057 | } Py_INCREF(Py_None); | |
2058 | _resultobj = Py_None; | |
2059 | return _resultobj; | |
2060 | } | |
2061 | ||
2062 | #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2063 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2064 | PyObject * _resultobj; | |
2065 | wxPyRectangleShape * _arg0; | |
2066 | double _arg1; | |
2067 | double _arg2; | |
2068 | int _arg3 = (int ) 0; | |
2069 | int _arg4 = (int ) 0; | |
2070 | PyObject * _argo0 = 0; | |
2071 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2072 | ||
2073 | self = self; | |
2074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2075 | return NULL; | |
2076 | if (_argo0) { | |
2077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p."); | |
2080 | return NULL; | |
2081 | } | |
2082 | } | |
2083 | { | |
2084 | wxPy_BEGIN_ALLOW_THREADS; | |
2085 | wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2086 | ||
2087 | wxPy_END_ALLOW_THREADS; | |
2088 | } Py_INCREF(Py_None); | |
2089 | _resultobj = Py_None; | |
2090 | return _resultobj; | |
2091 | } | |
2092 | ||
2093 | #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2094 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2095 | PyObject * _resultobj; | |
2096 | wxPyRectangleShape * _arg0; | |
2097 | double _arg1; | |
2098 | double _arg2; | |
2099 | int _arg3 = (int ) 0; | |
2100 | int _arg4 = (int ) 0; | |
2101 | PyObject * _argo0 = 0; | |
2102 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2103 | ||
2104 | self = self; | |
2105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2106 | return NULL; | |
2107 | if (_argo0) { | |
2108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p."); | |
2111 | return NULL; | |
2112 | } | |
2113 | } | |
2114 | { | |
2115 | wxPy_BEGIN_ALLOW_THREADS; | |
2116 | wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2117 | ||
2118 | wxPy_END_ALLOW_THREADS; | |
2119 | } Py_INCREF(Py_None); | |
2120 | _resultobj = Py_None; | |
2121 | return _resultobj; | |
2122 | } | |
2123 | ||
2124 | #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2125 | static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2126 | PyObject * _resultobj; | |
2127 | wxPyRectangleShape * _arg0; | |
2128 | double _arg1; | |
2129 | double _arg2; | |
2130 | int _arg3 = (int ) 0; | |
2131 | int _arg4 = (int ) 0; | |
2132 | PyObject * _argo0 = 0; | |
2133 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2134 | ||
2135 | self = self; | |
2136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2137 | return NULL; | |
2138 | if (_argo0) { | |
2139 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2140 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p."); | |
2142 | return NULL; | |
2143 | } | |
2144 | } | |
2145 | { | |
2146 | wxPy_BEGIN_ALLOW_THREADS; | |
2147 | wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2148 | ||
2149 | wxPy_END_ALLOW_THREADS; | |
2150 | } Py_INCREF(Py_None); | |
2151 | _resultobj = Py_None; | |
2152 | return _resultobj; | |
2153 | } | |
2154 | ||
2155 | #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
2156 | static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2157 | PyObject * _resultobj; | |
2158 | wxPyRectangleShape * _arg0; | |
2159 | double _arg1; | |
2160 | double _arg2; | |
2161 | PyObject * _argo0 = 0; | |
2162 | char *_kwnames[] = { "self","x","y", NULL }; | |
2163 | ||
2164 | self = self; | |
2165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2166 | return NULL; | |
2167 | if (_argo0) { | |
2168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p."); | |
2171 | return NULL; | |
2172 | } | |
2173 | } | |
2174 | { | |
2175 | wxPy_BEGIN_ALLOW_THREADS; | |
2176 | wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2); | |
2177 | ||
2178 | wxPy_END_ALLOW_THREADS; | |
2179 | } Py_INCREF(Py_None); | |
2180 | _resultobj = Py_None; | |
2181 | return _resultobj; | |
2182 | } | |
2183 | ||
2184 | #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2185 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2186 | PyObject * _resultobj; | |
2187 | bool _result; | |
2188 | wxPyRectangleShape * _arg0; | |
2189 | wxDC * _arg1; | |
2190 | double _arg2; | |
2191 | double _arg3; | |
2192 | double _arg4; | |
2193 | double _arg5; | |
2194 | bool _arg6 = (bool ) TRUE; | |
2195 | PyObject * _argo0 = 0; | |
2196 | PyObject * _argo1 = 0; | |
2197 | int tempbool6 = (int) TRUE; | |
2198 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2199 | ||
2200 | self = self; | |
2201 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2202 | return NULL; | |
2203 | if (_argo0) { | |
2204 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2205 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2206 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p."); | |
2207 | return NULL; | |
2208 | } | |
2209 | } | |
2210 | if (_argo1) { | |
2211 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2212 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2213 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p."); | |
2214 | return NULL; | |
2215 | } | |
2216 | } | |
2217 | _arg6 = (bool ) tempbool6; | |
2218 | { | |
2219 | wxPy_BEGIN_ALLOW_THREADS; | |
2220 | _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2221 | ||
2222 | wxPy_END_ALLOW_THREADS; | |
2223 | } _resultobj = Py_BuildValue("i",_result); | |
2224 | return _resultobj; | |
2225 | } | |
2226 | ||
2227 | #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2228 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2229 | PyObject * _resultobj; | |
2230 | wxPyRectangleShape * _arg0; | |
2231 | wxDC * _arg1; | |
2232 | double _arg2; | |
2233 | double _arg3; | |
2234 | double _arg4; | |
2235 | double _arg5; | |
2236 | bool _arg6 = (bool ) TRUE; | |
2237 | PyObject * _argo0 = 0; | |
2238 | PyObject * _argo1 = 0; | |
2239 | int tempbool6 = (int) TRUE; | |
2240 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2241 | ||
2242 | self = self; | |
2243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2244 | return NULL; | |
2245 | if (_argo0) { | |
2246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p."); | |
2249 | return NULL; | |
2250 | } | |
2251 | } | |
2252 | if (_argo1) { | |
2253 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2254 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p."); | |
2256 | return NULL; | |
2257 | } | |
2258 | } | |
2259 | _arg6 = (bool ) tempbool6; | |
2260 | { | |
2261 | wxPy_BEGIN_ALLOW_THREADS; | |
2262 | wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2263 | ||
2264 | wxPy_END_ALLOW_THREADS; | |
2265 | } Py_INCREF(Py_None); | |
2266 | _resultobj = Py_None; | |
2267 | return _resultobj; | |
2268 | } | |
2269 | ||
2270 | #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2271 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2272 | PyObject * _resultobj; | |
2273 | wxPyRectangleShape * _arg0; | |
2274 | bool _arg1; | |
2275 | double _arg2; | |
2276 | double _arg3; | |
2277 | int _arg4 = (int ) 0; | |
2278 | int _arg5 = (int ) 0; | |
2279 | PyObject * _argo0 = 0; | |
2280 | int tempbool1; | |
2281 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2282 | ||
2283 | self = self; | |
2284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2285 | return NULL; | |
2286 | if (_argo0) { | |
2287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p."); | |
2290 | return NULL; | |
2291 | } | |
2292 | } | |
2293 | _arg1 = (bool ) tempbool1; | |
2294 | { | |
2295 | wxPy_BEGIN_ALLOW_THREADS; | |
2296 | wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2297 | ||
2298 | wxPy_END_ALLOW_THREADS; | |
2299 | } Py_INCREF(Py_None); | |
2300 | _resultobj = Py_None; | |
2301 | return _resultobj; | |
2302 | } | |
2303 | ||
2304 | #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2305 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2306 | PyObject * _resultobj; | |
2307 | wxPyRectangleShape * _arg0; | |
2308 | double _arg1; | |
2309 | double _arg2; | |
2310 | int _arg3 = (int ) 0; | |
2311 | int _arg4 = (int ) 0; | |
2312 | PyObject * _argo0 = 0; | |
2313 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2314 | ||
2315 | self = self; | |
2316 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2317 | return NULL; | |
2318 | if (_argo0) { | |
2319 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2320 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2322 | return NULL; | |
2323 | } | |
2324 | } | |
2325 | { | |
2326 | wxPy_BEGIN_ALLOW_THREADS; | |
2327 | wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2328 | ||
2329 | wxPy_END_ALLOW_THREADS; | |
2330 | } Py_INCREF(Py_None); | |
2331 | _resultobj = Py_None; | |
2332 | return _resultobj; | |
2333 | } | |
2334 | ||
2335 | #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2336 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2337 | PyObject * _resultobj; | |
2338 | wxPyRectangleShape * _arg0; | |
2339 | double _arg1; | |
2340 | double _arg2; | |
2341 | int _arg3 = (int ) 0; | |
2342 | int _arg4 = (int ) 0; | |
2343 | PyObject * _argo0 = 0; | |
2344 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2345 | ||
2346 | self = self; | |
2347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2348 | return NULL; | |
2349 | if (_argo0) { | |
2350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2353 | return NULL; | |
2354 | } | |
2355 | } | |
2356 | { | |
2357 | wxPy_BEGIN_ALLOW_THREADS; | |
2358 | wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2359 | ||
2360 | wxPy_END_ALLOW_THREADS; | |
2361 | } Py_INCREF(Py_None); | |
2362 | _resultobj = Py_None; | |
2363 | return _resultobj; | |
2364 | } | |
2365 | ||
2366 | #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2367 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2368 | PyObject * _resultobj; | |
2369 | wxPyRectangleShape * _arg0; | |
2370 | bool _arg1; | |
2371 | double _arg2; | |
2372 | double _arg3; | |
2373 | int _arg4 = (int ) 0; | |
2374 | int _arg5 = (int ) 0; | |
2375 | PyObject * _argo0 = 0; | |
2376 | int tempbool1; | |
2377 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2378 | ||
2379 | self = self; | |
2380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2381 | return NULL; | |
2382 | if (_argo0) { | |
2383 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2384 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p."); | |
2386 | return NULL; | |
2387 | } | |
2388 | } | |
2389 | _arg1 = (bool ) tempbool1; | |
2390 | { | |
2391 | wxPy_BEGIN_ALLOW_THREADS; | |
2392 | wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2393 | ||
2394 | wxPy_END_ALLOW_THREADS; | |
2395 | } Py_INCREF(Py_None); | |
2396 | _resultobj = Py_None; | |
2397 | return _resultobj; | |
2398 | } | |
2399 | ||
2400 | #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2401 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2402 | PyObject * _resultobj; | |
2403 | wxPyRectangleShape * _arg0; | |
2404 | double _arg1; | |
2405 | double _arg2; | |
2406 | int _arg3 = (int ) 0; | |
2407 | int _arg4 = (int ) 0; | |
2408 | PyObject * _argo0 = 0; | |
2409 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2410 | ||
2411 | self = self; | |
2412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2413 | return NULL; | |
2414 | if (_argo0) { | |
2415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p."); | |
2418 | return NULL; | |
2419 | } | |
2420 | } | |
2421 | { | |
2422 | wxPy_BEGIN_ALLOW_THREADS; | |
2423 | wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2424 | ||
2425 | wxPy_END_ALLOW_THREADS; | |
2426 | } Py_INCREF(Py_None); | |
2427 | _resultobj = Py_None; | |
2428 | return _resultobj; | |
2429 | } | |
2430 | ||
2431 | #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2432 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2433 | PyObject * _resultobj; | |
2434 | wxPyRectangleShape * _arg0; | |
2435 | double _arg1; | |
2436 | double _arg2; | |
2437 | int _arg3 = (int ) 0; | |
2438 | int _arg4 = (int ) 0; | |
2439 | PyObject * _argo0 = 0; | |
2440 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2441 | ||
2442 | self = self; | |
2443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2444 | return NULL; | |
2445 | if (_argo0) { | |
2446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p."); | |
2449 | return NULL; | |
2450 | } | |
2451 | } | |
2452 | { | |
2453 | wxPy_BEGIN_ALLOW_THREADS; | |
2454 | wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2455 | ||
2456 | wxPy_END_ALLOW_THREADS; | |
2457 | } Py_INCREF(Py_None); | |
2458 | _resultobj = Py_None; | |
2459 | return _resultobj; | |
2460 | } | |
2461 | ||
2462 | #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2463 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2464 | PyObject * _resultobj; | |
2465 | wxPyRectangleShape * _arg0; | |
2466 | wxDC * _arg1; | |
2467 | double _arg2; | |
2468 | double _arg3; | |
2469 | double _arg4; | |
2470 | double _arg5; | |
2471 | PyObject * _argo0 = 0; | |
2472 | PyObject * _argo1 = 0; | |
2473 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2474 | ||
2475 | self = self; | |
2476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2477 | return NULL; | |
2478 | if (_argo0) { | |
2479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p."); | |
2482 | return NULL; | |
2483 | } | |
2484 | } | |
2485 | if (_argo1) { | |
2486 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2487 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
2489 | return NULL; | |
2490 | } | |
2491 | } | |
2492 | { | |
2493 | wxPy_BEGIN_ALLOW_THREADS; | |
2494 | wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2495 | ||
2496 | wxPy_END_ALLOW_THREADS; | |
2497 | } Py_INCREF(Py_None); | |
2498 | _resultobj = Py_None; | |
2499 | return _resultobj; | |
2500 | } | |
2501 | ||
2502 | #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2503 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2504 | PyObject * _resultobj; | |
2505 | wxPyRectangleShape * _arg0; | |
2506 | wxDC * _arg1; | |
2507 | PyObject * _argo0 = 0; | |
2508 | PyObject * _argo1 = 0; | |
2509 | char *_kwnames[] = { "self","dc", NULL }; | |
2510 | ||
2511 | self = self; | |
2512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2513 | return NULL; | |
2514 | if (_argo0) { | |
2515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p."); | |
2518 | return NULL; | |
2519 | } | |
2520 | } | |
2521 | if (_argo1) { | |
2522 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2523 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2525 | return NULL; | |
2526 | } | |
2527 | } | |
2528 | { | |
2529 | wxPy_BEGIN_ALLOW_THREADS; | |
2530 | wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
2531 | ||
2532 | wxPy_END_ALLOW_THREADS; | |
2533 | } Py_INCREF(Py_None); | |
2534 | _resultobj = Py_None; | |
2535 | return _resultobj; | |
2536 | } | |
2537 | ||
2538 | #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2539 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2540 | PyObject * _resultobj; | |
2541 | wxPyRectangleShape * _arg0; | |
2542 | wxDC * _arg1; | |
2543 | PyObject * _argo0 = 0; | |
2544 | PyObject * _argo1 = 0; | |
2545 | char *_kwnames[] = { "self","dc", NULL }; | |
2546 | ||
2547 | self = self; | |
2548 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2549 | return NULL; | |
2550 | if (_argo0) { | |
2551 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2552 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2553 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p."); | |
2554 | return NULL; | |
2555 | } | |
2556 | } | |
2557 | if (_argo1) { | |
2558 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2559 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2560 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2561 | return NULL; | |
2562 | } | |
2563 | } | |
2564 | { | |
2565 | wxPy_BEGIN_ALLOW_THREADS; | |
2566 | wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
2567 | ||
2568 | wxPy_END_ALLOW_THREADS; | |
2569 | } Py_INCREF(Py_None); | |
2570 | _resultobj = Py_None; | |
2571 | return _resultobj; | |
2572 | } | |
2573 | ||
2574 | #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2575 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2576 | PyObject * _resultobj; | |
2577 | wxPyRectangleShape * _arg0; | |
2578 | wxDC * _arg1; | |
2579 | bool _arg2 = (bool ) TRUE; | |
2580 | PyObject * _argo0 = 0; | |
2581 | PyObject * _argo1 = 0; | |
2582 | int tempbool2 = (int) TRUE; | |
2583 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2584 | ||
2585 | self = self; | |
2586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2587 | return NULL; | |
2588 | if (_argo0) { | |
2589 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2590 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p."); | |
2592 | return NULL; | |
2593 | } | |
2594 | } | |
2595 | if (_argo1) { | |
2596 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2597 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2599 | return NULL; | |
2600 | } | |
2601 | } | |
2602 | _arg2 = (bool ) tempbool2; | |
2603 | { | |
2604 | wxPy_BEGIN_ALLOW_THREADS; | |
2605 | wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2606 | ||
2607 | wxPy_END_ALLOW_THREADS; | |
2608 | } Py_INCREF(Py_None); | |
2609 | _resultobj = Py_None; | |
2610 | return _resultobj; | |
2611 | } | |
2612 | ||
2613 | #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2614 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2615 | PyObject * _resultobj; | |
2616 | wxPyRectangleShape * _arg0; | |
2348eaee | 2617 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2618 | bool _arg2; |
2619 | double _arg3; | |
2620 | double _arg4; | |
2621 | int _arg5 = (int ) 0; | |
2622 | int _arg6 = (int ) 0; | |
2623 | PyObject * _argo0 = 0; | |
2624 | PyObject * _argo1 = 0; | |
2625 | int tempbool2; | |
2626 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2627 | ||
2628 | self = self; | |
2629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2630 | return NULL; | |
2631 | if (_argo0) { | |
2632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p."); | |
2635 | return NULL; | |
2636 | } | |
2637 | } | |
2638 | if (_argo1) { | |
2639 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2640 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2642 | return NULL; |
2643 | } | |
2644 | } | |
2645 | _arg2 = (bool ) tempbool2; | |
2646 | { | |
2647 | wxPy_BEGIN_ALLOW_THREADS; | |
2648 | wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2649 | ||
2650 | wxPy_END_ALLOW_THREADS; | |
2651 | } Py_INCREF(Py_None); | |
2652 | _resultobj = Py_None; | |
2653 | return _resultobj; | |
2654 | } | |
2655 | ||
2656 | #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2657 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2658 | PyObject * _resultobj; | |
2659 | wxPyRectangleShape * _arg0; | |
2348eaee | 2660 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2661 | double _arg2; |
2662 | double _arg3; | |
2663 | int _arg4 = (int ) 0; | |
2664 | int _arg5 = (int ) 0; | |
2665 | PyObject * _argo0 = 0; | |
2666 | PyObject * _argo1 = 0; | |
2667 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2668 | ||
2669 | self = self; | |
2670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2671 | return NULL; | |
2672 | if (_argo0) { | |
2673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2676 | return NULL; | |
2677 | } | |
2678 | } | |
2679 | if (_argo1) { | |
2680 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2681 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2683 | return NULL; |
2684 | } | |
2685 | } | |
2686 | { | |
2687 | wxPy_BEGIN_ALLOW_THREADS; | |
2688 | wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2689 | ||
2690 | wxPy_END_ALLOW_THREADS; | |
2691 | } Py_INCREF(Py_None); | |
2692 | _resultobj = Py_None; | |
2693 | return _resultobj; | |
2694 | } | |
2695 | ||
2696 | #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2697 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2698 | PyObject * _resultobj; | |
2699 | wxPyRectangleShape * _arg0; | |
2348eaee | 2700 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2701 | double _arg2; |
2702 | double _arg3; | |
2703 | int _arg4 = (int ) 0; | |
2704 | int _arg5 = (int ) 0; | |
2705 | PyObject * _argo0 = 0; | |
2706 | PyObject * _argo1 = 0; | |
2707 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2708 | ||
2709 | self = self; | |
2710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2711 | return NULL; | |
2712 | if (_argo0) { | |
2713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2716 | return NULL; | |
2717 | } | |
2718 | } | |
2719 | if (_argo1) { | |
2720 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2721 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2723 | return NULL; |
2724 | } | |
2725 | } | |
2726 | { | |
2727 | wxPy_BEGIN_ALLOW_THREADS; | |
2728 | wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2729 | ||
2730 | wxPy_END_ALLOW_THREADS; | |
2731 | } Py_INCREF(Py_None); | |
2732 | _resultobj = Py_None; | |
2733 | return _resultobj; | |
2734 | } | |
2735 | ||
2736 | #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2737 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2738 | PyObject * _resultobj; | |
2739 | wxPyRectangleShape * _arg0; | |
2740 | double _arg1; | |
2741 | double _arg2; | |
2742 | PyObject * _argo0 = 0; | |
2743 | char *_kwnames[] = { "self","w","h", NULL }; | |
2744 | ||
2745 | self = self; | |
2746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2747 | return NULL; | |
2748 | if (_argo0) { | |
2749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p."); | |
2752 | return NULL; | |
2753 | } | |
2754 | } | |
2755 | { | |
2756 | wxPy_BEGIN_ALLOW_THREADS; | |
2757 | wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2758 | ||
2759 | wxPy_END_ALLOW_THREADS; | |
2760 | } Py_INCREF(Py_None); | |
2761 | _resultobj = Py_None; | |
2762 | return _resultobj; | |
2763 | } | |
2764 | ||
2765 | #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2766 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2767 | PyObject * _resultobj; | |
2768 | wxPyRectangleShape * _arg0; | |
2769 | double _arg1; | |
2770 | double _arg2; | |
2771 | PyObject * _argo0 = 0; | |
2772 | char *_kwnames[] = { "self","w","h", NULL }; | |
2773 | ||
2774 | self = self; | |
2775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2776 | return NULL; | |
2777 | if (_argo0) { | |
2778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p."); | |
2781 | return NULL; | |
2782 | } | |
2783 | } | |
2784 | { | |
2785 | wxPy_BEGIN_ALLOW_THREADS; | |
2786 | wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
2787 | ||
2788 | wxPy_END_ALLOW_THREADS; | |
2789 | } Py_INCREF(Py_None); | |
2790 | _resultobj = Py_None; | |
2791 | return _resultobj; | |
2792 | } | |
2793 | ||
2348eaee RD |
2794 | static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) { |
2795 | wxPyControlPoint *src; | |
e91a9dfc | 2796 | wxPyRectangleShape *dest; |
2348eaee | 2797 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2798 | dest = (wxPyRectangleShape *) src; |
2799 | return (void *) dest; | |
2800 | } | |
2801 | ||
2348eaee RD |
2802 | static void *SwigwxPyControlPointTowxPyShape(void *ptr) { |
2803 | wxPyControlPoint *src; | |
e91a9dfc | 2804 | wxPyShape *dest; |
2348eaee | 2805 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2806 | dest = (wxPyShape *) src; |
2807 | return (void *) dest; | |
2808 | } | |
2809 | ||
2348eaee RD |
2810 | static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) { |
2811 | wxPyControlPoint *src; | |
e91a9dfc | 2812 | wxPyShapeEvtHandler *dest; |
2348eaee | 2813 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2814 | dest = (wxPyShapeEvtHandler *) src; |
2815 | return (void *) dest; | |
2816 | } | |
2817 | ||
2348eaee RD |
2818 | #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
2819 | static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2820 | PyObject * _resultobj; |
2348eaee RD |
2821 | wxPyControlPoint * _result; |
2822 | wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL; | |
2823 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
2824 | double _arg2 = (double ) 0.0; | |
2825 | double _arg3 = (double ) 0.0; | |
2826 | double _arg4 = (double ) 0.0; | |
2827 | int _arg5 = (int ) 0; | |
2828 | PyObject * _argo0 = 0; | |
2829 | PyObject * _argo1 = 0; | |
2830 | char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL }; | |
e91a9dfc RD |
2831 | char _ptemp[128]; |
2832 | ||
2833 | self = self; | |
2348eaee RD |
2834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) |
2835 | return NULL; | |
2836 | if (_argo0) { | |
2837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
2839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p."); | |
2840 | return NULL; | |
2841 | } | |
2842 | } | |
2843 | if (_argo1) { | |
2844 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2845 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
2846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p."); | |
e91a9dfc | 2847 | return NULL; |
2348eaee RD |
2848 | } |
2849 | } | |
e91a9dfc RD |
2850 | { |
2851 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2852 | _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc RD |
2853 | |
2854 | wxPy_END_ALLOW_THREADS; | |
2855 | } if (_result) { | |
2348eaee | 2856 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p"); |
e91a9dfc RD |
2857 | _resultobj = Py_BuildValue("s",_ptemp); |
2858 | } else { | |
2859 | Py_INCREF(Py_None); | |
2860 | _resultobj = Py_None; | |
2861 | } | |
2862 | return _resultobj; | |
2863 | } | |
2864 | ||
f6bcfd97 | 2865 | #define wxPyControlPoint__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
2348eaee | 2866 | static PyObject *_wrap_wxPyControlPoint__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
e91a9dfc | 2867 | PyObject * _resultobj; |
2348eaee | 2868 | wxPyControlPoint * _arg0; |
e91a9dfc | 2869 | PyObject * _arg1; |
f6bcfd97 | 2870 | PyObject * _arg2; |
e91a9dfc RD |
2871 | PyObject * _argo0 = 0; |
2872 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2873 | PyObject * _obj2 = 0; |
2874 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2875 | |
2876 | self = self; | |
f6bcfd97 | 2877 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2878 | return NULL; |
2879 | if (_argo0) { | |
2880 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2881 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2882 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setSelf. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2883 | return NULL; |
2884 | } | |
2885 | } | |
2886 | { | |
2887 | _arg1 = _obj1; | |
2888 | } | |
f6bcfd97 BP |
2889 | { |
2890 | _arg2 = _obj2; | |
2891 | } | |
e91a9dfc RD |
2892 | { |
2893 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2894 | wxPyControlPoint__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2895 | |
2896 | wxPy_END_ALLOW_THREADS; | |
2897 | } Py_INCREF(Py_None); | |
2898 | _resultobj = Py_None; | |
2899 | return _resultobj; | |
2900 | } | |
2901 | ||
2348eaee RD |
2902 | #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) |
2903 | static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2904 | PyObject * _resultobj; |
2348eaee RD |
2905 | wxPyControlPoint * _arg0; |
2906 | double _arg1; | |
e91a9dfc | 2907 | PyObject * _argo0 = 0; |
2348eaee | 2908 | char *_kwnames[] = { "self","radius", NULL }; |
e91a9dfc RD |
2909 | |
2910 | self = self; | |
2348eaee | 2911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1)) |
e91a9dfc RD |
2912 | return NULL; |
2913 | if (_argo0) { | |
2914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2917 | return NULL; |
2918 | } | |
2919 | } | |
2920 | { | |
2921 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2922 | wxPyControlPoint_SetCornerRadius(_arg0,_arg1); |
e91a9dfc RD |
2923 | |
2924 | wxPy_END_ALLOW_THREADS; | |
2348eaee RD |
2925 | } Py_INCREF(Py_None); |
2926 | _resultobj = Py_None; | |
e91a9dfc RD |
2927 | return _resultobj; |
2928 | } | |
2929 | ||
2348eaee RD |
2930 | #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) |
2931 | static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2932 | PyObject * _resultobj; |
2348eaee | 2933 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
2934 | PyObject * _argo0 = 0; |
2935 | char *_kwnames[] = { "self", NULL }; | |
2936 | ||
2937 | self = self; | |
2348eaee | 2938 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0)) |
e91a9dfc RD |
2939 | return NULL; |
2940 | if (_argo0) { | |
2941 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2942 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2943 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2944 | return NULL; |
2945 | } | |
2946 | } | |
2947 | { | |
2948 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2949 | wxPyControlPoint_base_OnDelete(_arg0); |
e91a9dfc RD |
2950 | |
2951 | wxPy_END_ALLOW_THREADS; | |
2348eaee RD |
2952 | } Py_INCREF(Py_None); |
2953 | _resultobj = Py_None; | |
e91a9dfc RD |
2954 | return _resultobj; |
2955 | } | |
2956 | ||
2348eaee RD |
2957 | #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) |
2958 | static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2959 | PyObject * _resultobj; |
2348eaee RD |
2960 | wxPyControlPoint * _arg0; |
2961 | wxDC * _arg1; | |
e91a9dfc RD |
2962 | PyObject * _argo0 = 0; |
2963 | PyObject * _argo1 = 0; | |
2348eaee | 2964 | char *_kwnames[] = { "self","dc", NULL }; |
e91a9dfc RD |
2965 | |
2966 | self = self; | |
2348eaee | 2967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
2968 | return NULL; |
2969 | if (_argo0) { | |
2970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2973 | return NULL; |
2974 | } | |
2975 | } | |
2976 | if (_argo1) { | |
2977 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2978 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
2979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p."); | |
e91a9dfc RD |
2980 | return NULL; |
2981 | } | |
2982 | } | |
2983 | { | |
2984 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2985 | wxPyControlPoint_base_OnDraw(_arg0,*_arg1); |
e91a9dfc RD |
2986 | |
2987 | wxPy_END_ALLOW_THREADS; | |
2988 | } Py_INCREF(Py_None); | |
2989 | _resultobj = Py_None; | |
2990 | return _resultobj; | |
2991 | } | |
2992 | ||
2348eaee RD |
2993 | #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) |
2994 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2995 | PyObject * _resultobj; |
2348eaee RD |
2996 | wxPyControlPoint * _arg0; |
2997 | wxDC * _arg1; | |
e91a9dfc | 2998 | PyObject * _argo0 = 0; |
2348eaee RD |
2999 | PyObject * _argo1 = 0; |
3000 | char *_kwnames[] = { "self","dc", NULL }; | |
e91a9dfc RD |
3001 | |
3002 | self = self; | |
2348eaee | 3003 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3004 | return NULL; |
3005 | if (_argo0) { | |
3006 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3007 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3008 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3009 | return NULL; |
3010 | } | |
3011 | } | |
2348eaee RD |
3012 | if (_argo1) { |
3013 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3014 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p."); | |
e91a9dfc | 3016 | return NULL; |
2348eaee | 3017 | } |
e91a9dfc | 3018 | } |
e91a9dfc RD |
3019 | { |
3020 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3021 | wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc RD |
3022 | |
3023 | wxPy_END_ALLOW_THREADS; | |
3024 | } Py_INCREF(Py_None); | |
3025 | _resultobj = Py_None; | |
e91a9dfc RD |
3026 | return _resultobj; |
3027 | } | |
3028 | ||
2348eaee RD |
3029 | #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) |
3030 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3031 | PyObject * _resultobj; |
2348eaee RD |
3032 | wxPyControlPoint * _arg0; |
3033 | wxDC * _arg1; | |
3034 | bool _arg2 = (bool ) FALSE; | |
e91a9dfc | 3035 | PyObject * _argo0 = 0; |
2348eaee RD |
3036 | PyObject * _argo1 = 0; |
3037 | int tempbool2 = (int) FALSE; | |
3038 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
3039 | |
3040 | self = self; | |
2348eaee | 3041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) |
e91a9dfc RD |
3042 | return NULL; |
3043 | if (_argo0) { | |
3044 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3045 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p."); | |
3047 | return NULL; | |
3048 | } | |
3049 | } | |
3050 | if (_argo1) { | |
3051 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3052 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3053 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p."); | |
e91a9dfc RD |
3054 | return NULL; |
3055 | } | |
3056 | } | |
2348eaee | 3057 | _arg2 = (bool ) tempbool2; |
e91a9dfc RD |
3058 | { |
3059 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3060 | wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc RD |
3061 | |
3062 | wxPy_END_ALLOW_THREADS; | |
3063 | } Py_INCREF(Py_None); | |
3064 | _resultobj = Py_None; | |
3065 | return _resultobj; | |
3066 | } | |
3067 | ||
2348eaee RD |
3068 | #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) |
3069 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3070 | PyObject * _resultobj; |
2348eaee | 3071 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3072 | wxDC * _arg1; |
3073 | PyObject * _argo0 = 0; | |
3074 | PyObject * _argo1 = 0; | |
3075 | char *_kwnames[] = { "self","dc", NULL }; | |
3076 | ||
3077 | self = self; | |
2348eaee | 3078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3079 | return NULL; |
3080 | if (_argo0) { | |
3081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3084 | return NULL; |
3085 | } | |
3086 | } | |
3087 | if (_argo1) { | |
3088 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3089 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p."); |
e91a9dfc RD |
3091 | return NULL; |
3092 | } | |
3093 | } | |
3094 | { | |
3095 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3096 | wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc RD |
3097 | |
3098 | wxPy_END_ALLOW_THREADS; | |
3099 | } Py_INCREF(Py_None); | |
3100 | _resultobj = Py_None; | |
3101 | return _resultobj; | |
3102 | } | |
3103 | ||
2348eaee RD |
3104 | #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) |
3105 | static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3106 | PyObject * _resultobj; |
2348eaee | 3107 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3108 | wxDC * _arg1; |
3109 | PyObject * _argo0 = 0; | |
3110 | PyObject * _argo1 = 0; | |
3111 | char *_kwnames[] = { "self","dc", NULL }; | |
3112 | ||
3113 | self = self; | |
2348eaee | 3114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3115 | return NULL; |
3116 | if (_argo0) { | |
3117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3120 | return NULL; |
3121 | } | |
3122 | } | |
3123 | if (_argo1) { | |
3124 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3125 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p."); |
e91a9dfc RD |
3127 | return NULL; |
3128 | } | |
3129 | } | |
3130 | { | |
3131 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3132 | wxPyControlPoint_base_OnErase(_arg0,*_arg1); |
e91a9dfc RD |
3133 | |
3134 | wxPy_END_ALLOW_THREADS; | |
3135 | } Py_INCREF(Py_None); | |
3136 | _resultobj = Py_None; | |
3137 | return _resultobj; | |
3138 | } | |
3139 | ||
2348eaee RD |
3140 | #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) |
3141 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3142 | PyObject * _resultobj; |
2348eaee | 3143 | wxPyControlPoint * _arg0; |
e91a9dfc | 3144 | wxDC * _arg1; |
e91a9dfc RD |
3145 | PyObject * _argo0 = 0; |
3146 | PyObject * _argo1 = 0; | |
2348eaee RD |
3147 | char *_kwnames[] = { "self","dc", NULL }; |
3148 | ||
3149 | self = self; | |
3150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
3151 | return NULL; | |
3152 | if (_argo0) { | |
3153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p."); | |
3156 | return NULL; | |
3157 | } | |
3158 | } | |
3159 | if (_argo1) { | |
3160 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3161 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p."); | |
3163 | return NULL; | |
3164 | } | |
3165 | } | |
3166 | { | |
3167 | wxPy_BEGIN_ALLOW_THREADS; | |
3168 | wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1); | |
3169 | ||
3170 | wxPy_END_ALLOW_THREADS; | |
3171 | } Py_INCREF(Py_None); | |
3172 | _resultobj = Py_None; | |
3173 | return _resultobj; | |
3174 | } | |
3175 | ||
3176 | #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
3177 | static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3178 | PyObject * _resultobj; | |
3179 | wxPyControlPoint * _arg0; | |
3180 | wxDC * _arg1; | |
3181 | PyObject * _argo0 = 0; | |
3182 | PyObject * _argo1 = 0; | |
3183 | char *_kwnames[] = { "self","dc", NULL }; | |
3184 | ||
3185 | self = self; | |
3186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
3187 | return NULL; | |
3188 | if (_argo0) { | |
3189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p."); | |
3192 | return NULL; | |
3193 | } | |
3194 | } | |
3195 | if (_argo1) { | |
3196 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3197 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p."); | |
3199 | return NULL; | |
3200 | } | |
3201 | } | |
3202 | { | |
3203 | wxPy_BEGIN_ALLOW_THREADS; | |
3204 | wxPyControlPoint_base_OnHighlight(_arg0,*_arg1); | |
3205 | ||
3206 | wxPy_END_ALLOW_THREADS; | |
3207 | } Py_INCREF(Py_None); | |
3208 | _resultobj = Py_None; | |
3209 | return _resultobj; | |
3210 | } | |
3211 | ||
3212 | #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3213 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3214 | PyObject * _resultobj; | |
3215 | wxPyControlPoint * _arg0; | |
3216 | double _arg1; | |
3217 | double _arg2; | |
3218 | int _arg3 = (int ) 0; | |
3219 | int _arg4 = (int ) 0; | |
3220 | PyObject * _argo0 = 0; | |
3221 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3222 | ||
3223 | self = self; | |
3224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3225 | return NULL; | |
3226 | if (_argo0) { | |
3227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p."); | |
3230 | return NULL; | |
3231 | } | |
3232 | } | |
3233 | { | |
3234 | wxPy_BEGIN_ALLOW_THREADS; | |
3235 | wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3236 | ||
3237 | wxPy_END_ALLOW_THREADS; | |
3238 | } Py_INCREF(Py_None); | |
3239 | _resultobj = Py_None; | |
3240 | return _resultobj; | |
3241 | } | |
3242 | ||
3243 | #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3244 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3245 | PyObject * _resultobj; | |
3246 | wxPyControlPoint * _arg0; | |
3247 | double _arg1; | |
3248 | double _arg2; | |
3249 | int _arg3 = (int ) 0; | |
3250 | int _arg4 = (int ) 0; | |
3251 | PyObject * _argo0 = 0; | |
3252 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3253 | ||
3254 | self = self; | |
3255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3256 | return NULL; | |
3257 | if (_argo0) { | |
3258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p."); | |
3261 | return NULL; | |
3262 | } | |
3263 | } | |
3264 | { | |
3265 | wxPy_BEGIN_ALLOW_THREADS; | |
3266 | wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3267 | ||
3268 | wxPy_END_ALLOW_THREADS; | |
3269 | } Py_INCREF(Py_None); | |
3270 | _resultobj = Py_None; | |
3271 | return _resultobj; | |
3272 | } | |
3273 | ||
3274 | #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3275 | static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3276 | PyObject * _resultobj; | |
3277 | wxPyControlPoint * _arg0; | |
3278 | double _arg1; | |
3279 | double _arg2; | |
3280 | int _arg3 = (int ) 0; | |
3281 | int _arg4 = (int ) 0; | |
3282 | PyObject * _argo0 = 0; | |
3283 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3284 | ||
3285 | self = self; | |
3286 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3287 | return NULL; | |
3288 | if (_argo0) { | |
3289 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3290 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3291 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p."); | |
3292 | return NULL; | |
3293 | } | |
3294 | } | |
3295 | { | |
3296 | wxPy_BEGIN_ALLOW_THREADS; | |
3297 | wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3298 | ||
3299 | wxPy_END_ALLOW_THREADS; | |
3300 | } Py_INCREF(Py_None); | |
3301 | _resultobj = Py_None; | |
3302 | return _resultobj; | |
3303 | } | |
3304 | ||
3305 | #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
3306 | static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3307 | PyObject * _resultobj; | |
3308 | wxPyControlPoint * _arg0; | |
3309 | double _arg1; | |
3310 | double _arg2; | |
3311 | PyObject * _argo0 = 0; | |
3312 | char *_kwnames[] = { "self","x","y", NULL }; | |
3313 | ||
3314 | self = self; | |
3315 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3316 | return NULL; | |
3317 | if (_argo0) { | |
3318 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3319 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p."); | |
3321 | return NULL; | |
3322 | } | |
3323 | } | |
3324 | { | |
3325 | wxPy_BEGIN_ALLOW_THREADS; | |
3326 | wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2); | |
3327 | ||
3328 | wxPy_END_ALLOW_THREADS; | |
3329 | } Py_INCREF(Py_None); | |
3330 | _resultobj = Py_None; | |
3331 | return _resultobj; | |
3332 | } | |
3333 | ||
3334 | #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3335 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3336 | PyObject * _resultobj; | |
3337 | bool _result; | |
3338 | wxPyControlPoint * _arg0; | |
3339 | wxDC * _arg1; | |
3340 | double _arg2; | |
3341 | double _arg3; | |
3342 | double _arg4; | |
3343 | double _arg5; | |
3344 | bool _arg6 = (bool ) TRUE; | |
3345 | PyObject * _argo0 = 0; | |
3346 | PyObject * _argo1 = 0; | |
3347 | int tempbool6 = (int) TRUE; | |
3348 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3349 | ||
3350 | self = self; | |
3351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3352 | return NULL; | |
3353 | if (_argo0) { | |
3354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p."); | |
3357 | return NULL; | |
3358 | } | |
3359 | } | |
3360 | if (_argo1) { | |
3361 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3362 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3363 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p."); | |
3364 | return NULL; | |
3365 | } | |
3366 | } | |
3367 | _arg6 = (bool ) tempbool6; | |
3368 | { | |
3369 | wxPy_BEGIN_ALLOW_THREADS; | |
3370 | _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3371 | ||
3372 | wxPy_END_ALLOW_THREADS; | |
3373 | } _resultobj = Py_BuildValue("i",_result); | |
3374 | return _resultobj; | |
3375 | } | |
3376 | ||
3377 | #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3378 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3379 | PyObject * _resultobj; | |
3380 | wxPyControlPoint * _arg0; | |
3381 | wxDC * _arg1; | |
3382 | double _arg2; | |
3383 | double _arg3; | |
3384 | double _arg4; | |
3385 | double _arg5; | |
3386 | bool _arg6 = (bool ) TRUE; | |
3387 | PyObject * _argo0 = 0; | |
3388 | PyObject * _argo1 = 0; | |
3389 | int tempbool6 = (int) TRUE; | |
3390 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3391 | ||
3392 | self = self; | |
3393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3394 | return NULL; | |
3395 | if (_argo0) { | |
3396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p."); | |
3399 | return NULL; | |
3400 | } | |
3401 | } | |
3402 | if (_argo1) { | |
3403 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3404 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p."); | |
3406 | return NULL; | |
3407 | } | |
3408 | } | |
3409 | _arg6 = (bool ) tempbool6; | |
3410 | { | |
3411 | wxPy_BEGIN_ALLOW_THREADS; | |
3412 | wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3413 | ||
3414 | wxPy_END_ALLOW_THREADS; | |
3415 | } Py_INCREF(Py_None); | |
3416 | _resultobj = Py_None; | |
3417 | return _resultobj; | |
3418 | } | |
3419 | ||
3420 | #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3421 | static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3422 | PyObject * _resultobj; | |
3423 | wxPyControlPoint * _arg0; | |
3424 | bool _arg1; | |
3425 | double _arg2; | |
3426 | double _arg3; | |
3427 | int _arg4 = (int ) 0; | |
3428 | int _arg5 = (int ) 0; | |
3429 | PyObject * _argo0 = 0; | |
3430 | int tempbool1; | |
3431 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3432 | ||
3433 | self = self; | |
3434 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3435 | return NULL; | |
3436 | if (_argo0) { | |
3437 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3438 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p."); | |
3440 | return NULL; | |
3441 | } | |
3442 | } | |
3443 | _arg1 = (bool ) tempbool1; | |
3444 | { | |
3445 | wxPy_BEGIN_ALLOW_THREADS; | |
3446 | wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3447 | ||
3448 | wxPy_END_ALLOW_THREADS; | |
3449 | } Py_INCREF(Py_None); | |
3450 | _resultobj = Py_None; | |
3451 | return _resultobj; | |
3452 | } | |
3453 | ||
3454 | #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3455 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3456 | PyObject * _resultobj; | |
3457 | wxPyControlPoint * _arg0; | |
3458 | double _arg1; | |
3459 | double _arg2; | |
3460 | int _arg3 = (int ) 0; | |
3461 | int _arg4 = (int ) 0; | |
3462 | PyObject * _argo0 = 0; | |
3463 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3464 | ||
3465 | self = self; | |
3466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3467 | return NULL; | |
3468 | if (_argo0) { | |
3469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3472 | return NULL; | |
3473 | } | |
3474 | } | |
3475 | { | |
3476 | wxPy_BEGIN_ALLOW_THREADS; | |
3477 | wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3478 | ||
3479 | wxPy_END_ALLOW_THREADS; | |
3480 | } Py_INCREF(Py_None); | |
3481 | _resultobj = Py_None; | |
3482 | return _resultobj; | |
3483 | } | |
3484 | ||
3485 | #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3486 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3487 | PyObject * _resultobj; | |
3488 | wxPyControlPoint * _arg0; | |
3489 | double _arg1; | |
3490 | double _arg2; | |
3491 | int _arg3 = (int ) 0; | |
3492 | int _arg4 = (int ) 0; | |
3493 | PyObject * _argo0 = 0; | |
3494 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3495 | ||
3496 | self = self; | |
3497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3498 | return NULL; | |
3499 | if (_argo0) { | |
3500 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3501 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p."); | |
3503 | return NULL; | |
3504 | } | |
3505 | } | |
3506 | { | |
3507 | wxPy_BEGIN_ALLOW_THREADS; | |
3508 | wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3509 | ||
3510 | wxPy_END_ALLOW_THREADS; | |
3511 | } Py_INCREF(Py_None); | |
3512 | _resultobj = Py_None; | |
3513 | return _resultobj; | |
3514 | } | |
3515 | ||
3516 | #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3517 | static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3518 | PyObject * _resultobj; | |
3519 | wxPyControlPoint * _arg0; | |
3520 | bool _arg1; | |
3521 | double _arg2; | |
3522 | double _arg3; | |
3523 | int _arg4 = (int ) 0; | |
3524 | int _arg5 = (int ) 0; | |
3525 | PyObject * _argo0 = 0; | |
3526 | int tempbool1; | |
3527 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3528 | ||
3529 | self = self; | |
3530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3531 | return NULL; | |
3532 | if (_argo0) { | |
3533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p."); | |
3536 | return NULL; | |
3537 | } | |
3538 | } | |
3539 | _arg1 = (bool ) tempbool1; | |
3540 | { | |
3541 | wxPy_BEGIN_ALLOW_THREADS; | |
3542 | wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3543 | ||
3544 | wxPy_END_ALLOW_THREADS; | |
3545 | } Py_INCREF(Py_None); | |
3546 | _resultobj = Py_None; | |
3547 | return _resultobj; | |
3548 | } | |
3549 | ||
3550 | #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3551 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3552 | PyObject * _resultobj; | |
3553 | wxPyControlPoint * _arg0; | |
3554 | double _arg1; | |
3555 | double _arg2; | |
3556 | int _arg3 = (int ) 0; | |
3557 | int _arg4 = (int ) 0; | |
3558 | PyObject * _argo0 = 0; | |
3559 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3560 | ||
3561 | self = self; | |
3562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3563 | return NULL; | |
3564 | if (_argo0) { | |
3565 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3566 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3567 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p."); | |
3568 | return NULL; | |
3569 | } | |
3570 | } | |
3571 | { | |
3572 | wxPy_BEGIN_ALLOW_THREADS; | |
3573 | wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3574 | ||
3575 | wxPy_END_ALLOW_THREADS; | |
3576 | } Py_INCREF(Py_None); | |
3577 | _resultobj = Py_None; | |
3578 | return _resultobj; | |
3579 | } | |
3580 | ||
3581 | #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3582 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3583 | PyObject * _resultobj; | |
3584 | wxPyControlPoint * _arg0; | |
3585 | double _arg1; | |
3586 | double _arg2; | |
3587 | int _arg3 = (int ) 0; | |
3588 | int _arg4 = (int ) 0; | |
3589 | PyObject * _argo0 = 0; | |
3590 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3591 | ||
3592 | self = self; | |
3593 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3594 | return NULL; | |
3595 | if (_argo0) { | |
3596 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3597 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p."); | |
3599 | return NULL; | |
3600 | } | |
3601 | } | |
3602 | { | |
3603 | wxPy_BEGIN_ALLOW_THREADS; | |
3604 | wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3605 | ||
3606 | wxPy_END_ALLOW_THREADS; | |
3607 | } Py_INCREF(Py_None); | |
3608 | _resultobj = Py_None; | |
3609 | return _resultobj; | |
3610 | } | |
3611 | ||
3612 | #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3613 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3614 | PyObject * _resultobj; | |
3615 | wxPyControlPoint * _arg0; | |
3616 | wxDC * _arg1; | |
3617 | double _arg2; | |
3618 | double _arg3; | |
3619 | double _arg4; | |
3620 | double _arg5; | |
3621 | PyObject * _argo0 = 0; | |
3622 | PyObject * _argo1 = 0; | |
3623 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
3624 | ||
3625 | self = self; | |
3626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3627 | return NULL; | |
3628 | if (_argo0) { | |
3629 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3630 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p."); | |
3632 | return NULL; | |
3633 | } | |
3634 | } | |
3635 | if (_argo1) { | |
3636 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3637 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p."); | |
3639 | return NULL; | |
3640 | } | |
3641 | } | |
3642 | { | |
3643 | wxPy_BEGIN_ALLOW_THREADS; | |
3644 | wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
3645 | ||
3646 | wxPy_END_ALLOW_THREADS; | |
3647 | } Py_INCREF(Py_None); | |
3648 | _resultobj = Py_None; | |
3649 | return _resultobj; | |
3650 | } | |
3651 | ||
3652 | #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
3653 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3654 | PyObject * _resultobj; | |
3655 | wxPyControlPoint * _arg0; | |
3656 | wxDC * _arg1; | |
3657 | PyObject * _argo0 = 0; | |
3658 | PyObject * _argo1 = 0; | |
3659 | char *_kwnames[] = { "self","dc", NULL }; | |
3660 | ||
3661 | self = self; | |
3662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
3663 | return NULL; | |
3664 | if (_argo0) { | |
3665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p."); | |
3668 | return NULL; | |
3669 | } | |
3670 | } | |
3671 | if (_argo1) { | |
3672 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3673 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p."); | |
3675 | return NULL; | |
3676 | } | |
3677 | } | |
3678 | { | |
3679 | wxPy_BEGIN_ALLOW_THREADS; | |
3680 | wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1); | |
3681 | ||
3682 | wxPy_END_ALLOW_THREADS; | |
3683 | } Py_INCREF(Py_None); | |
3684 | _resultobj = Py_None; | |
3685 | return _resultobj; | |
3686 | } | |
3687 | ||
3688 | #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
3689 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3690 | PyObject * _resultobj; | |
3691 | wxPyControlPoint * _arg0; | |
3692 | wxDC * _arg1; | |
3693 | PyObject * _argo0 = 0; | |
3694 | PyObject * _argo1 = 0; | |
3695 | char *_kwnames[] = { "self","dc", NULL }; | |
3696 | ||
3697 | self = self; | |
3698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
3699 | return NULL; | |
3700 | if (_argo0) { | |
3701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p."); | |
3704 | return NULL; | |
3705 | } | |
3706 | } | |
3707 | if (_argo1) { | |
3708 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3709 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p."); | |
3711 | return NULL; | |
3712 | } | |
3713 | } | |
3714 | { | |
3715 | wxPy_BEGIN_ALLOW_THREADS; | |
3716 | wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1); | |
3717 | ||
3718 | wxPy_END_ALLOW_THREADS; | |
3719 | } Py_INCREF(Py_None); | |
3720 | _resultobj = Py_None; | |
3721 | return _resultobj; | |
3722 | } | |
3723 | ||
3724 | #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
3725 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3726 | PyObject * _resultobj; | |
3727 | wxPyControlPoint * _arg0; | |
3728 | wxDC * _arg1; | |
3729 | bool _arg2 = (bool ) TRUE; | |
3730 | PyObject * _argo0 = 0; | |
3731 | PyObject * _argo1 = 0; | |
3732 | int tempbool2 = (int) TRUE; | |
3733 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
3734 | ||
3735 | self = self; | |
3736 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
3737 | return NULL; | |
3738 | if (_argo0) { | |
3739 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3740 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3741 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p."); | |
3742 | return NULL; | |
3743 | } | |
3744 | } | |
3745 | if (_argo1) { | |
3746 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3747 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p."); | |
3749 | return NULL; | |
3750 | } | |
3751 | } | |
3752 | _arg2 = (bool ) tempbool2; | |
3753 | { | |
3754 | wxPy_BEGIN_ALLOW_THREADS; | |
3755 | wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
3756 | ||
3757 | wxPy_END_ALLOW_THREADS; | |
3758 | } Py_INCREF(Py_None); | |
3759 | _resultobj = Py_None; | |
3760 | return _resultobj; | |
3761 | } | |
3762 | ||
3763 | #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3764 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3765 | PyObject * _resultobj; | |
3766 | wxPyControlPoint * _arg0; | |
3767 | wxPyControlPoint * _arg1; | |
3768 | bool _arg2; | |
3769 | double _arg3; | |
3770 | double _arg4; | |
3771 | int _arg5 = (int ) 0; | |
3772 | int _arg6 = (int ) 0; | |
3773 | PyObject * _argo0 = 0; | |
3774 | PyObject * _argo1 = 0; | |
3775 | int tempbool2; | |
3776 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
3777 | ||
3778 | self = self; | |
3779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
3780 | return NULL; | |
3781 | if (_argo0) { | |
3782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3785 | return NULL; | |
3786 | } | |
3787 | } | |
3788 | if (_argo1) { | |
3789 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3790 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3792 | return NULL; | |
3793 | } | |
3794 | } | |
3795 | _arg2 = (bool ) tempbool2; | |
3796 | { | |
3797 | wxPy_BEGIN_ALLOW_THREADS; | |
3798 | wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3799 | ||
3800 | wxPy_END_ALLOW_THREADS; | |
3801 | } Py_INCREF(Py_None); | |
3802 | _resultobj = Py_None; | |
3803 | return _resultobj; | |
3804 | } | |
3805 | ||
3806 | #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3807 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3808 | PyObject * _resultobj; | |
3809 | wxPyControlPoint * _arg0; | |
3810 | wxPyControlPoint * _arg1; | |
3811 | double _arg2; | |
3812 | double _arg3; | |
3813 | int _arg4 = (int ) 0; | |
3814 | int _arg5 = (int ) 0; | |
3815 | PyObject * _argo0 = 0; | |
3816 | PyObject * _argo1 = 0; | |
3817 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3818 | ||
3819 | self = self; | |
3820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3821 | return NULL; | |
3822 | if (_argo0) { | |
3823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3826 | return NULL; | |
3827 | } | |
3828 | } | |
3829 | if (_argo1) { | |
3830 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3831 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3833 | return NULL; | |
3834 | } | |
3835 | } | |
3836 | { | |
3837 | wxPy_BEGIN_ALLOW_THREADS; | |
3838 | wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3839 | ||
3840 | wxPy_END_ALLOW_THREADS; | |
3841 | } Py_INCREF(Py_None); | |
3842 | _resultobj = Py_None; | |
3843 | return _resultobj; | |
3844 | } | |
3845 | ||
3846 | #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3847 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3848 | PyObject * _resultobj; | |
3849 | wxPyControlPoint * _arg0; | |
3850 | wxPyControlPoint * _arg1; | |
3851 | double _arg2; | |
3852 | double _arg3; | |
3853 | int _arg4 = (int ) 0; | |
3854 | int _arg5 = (int ) 0; | |
3855 | PyObject * _argo0 = 0; | |
3856 | PyObject * _argo1 = 0; | |
3857 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3858 | ||
3859 | self = self; | |
3860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3861 | return NULL; | |
3862 | if (_argo0) { | |
3863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3866 | return NULL; | |
3867 | } | |
3868 | } | |
3869 | if (_argo1) { | |
3870 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3871 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3873 | return NULL; | |
3874 | } | |
3875 | } | |
3876 | { | |
3877 | wxPy_BEGIN_ALLOW_THREADS; | |
3878 | wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3879 | ||
3880 | wxPy_END_ALLOW_THREADS; | |
3881 | } Py_INCREF(Py_None); | |
3882 | _resultobj = Py_None; | |
3883 | return _resultobj; | |
3884 | } | |
3885 | ||
3886 | #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
3887 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3888 | PyObject * _resultobj; | |
3889 | wxPyControlPoint * _arg0; | |
3890 | double _arg1; | |
3891 | double _arg2; | |
3892 | PyObject * _argo0 = 0; | |
3893 | char *_kwnames[] = { "self","w","h", NULL }; | |
3894 | ||
3895 | self = self; | |
3896 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3897 | return NULL; | |
3898 | if (_argo0) { | |
3899 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3900 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3901 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p."); | |
3902 | return NULL; | |
3903 | } | |
3904 | } | |
3905 | { | |
3906 | wxPy_BEGIN_ALLOW_THREADS; | |
3907 | wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2); | |
3908 | ||
3909 | wxPy_END_ALLOW_THREADS; | |
3910 | } Py_INCREF(Py_None); | |
3911 | _resultobj = Py_None; | |
3912 | return _resultobj; | |
3913 | } | |
3914 | ||
3915 | #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
3916 | static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3917 | PyObject * _resultobj; | |
3918 | wxPyControlPoint * _arg0; | |
3919 | double _arg1; | |
3920 | double _arg2; | |
3921 | PyObject * _argo0 = 0; | |
3922 | char *_kwnames[] = { "self","w","h", NULL }; | |
3923 | ||
3924 | self = self; | |
3925 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3926 | return NULL; | |
3927 | if (_argo0) { | |
3928 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3929 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3930 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p."); | |
3931 | return NULL; | |
3932 | } | |
3933 | } | |
3934 | { | |
3935 | wxPy_BEGIN_ALLOW_THREADS; | |
3936 | wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2); | |
3937 | ||
3938 | wxPy_END_ALLOW_THREADS; | |
3939 | } Py_INCREF(Py_None); | |
3940 | _resultobj = Py_None; | |
3941 | return _resultobj; | |
3942 | } | |
3943 | ||
3944 | static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) { | |
3945 | wxPyBitmapShape *src; | |
3946 | wxPyRectangleShape *dest; | |
3947 | src = (wxPyBitmapShape *) ptr; | |
3948 | dest = (wxPyRectangleShape *) src; | |
3949 | return (void *) dest; | |
3950 | } | |
3951 | ||
3952 | static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) { | |
3953 | wxPyBitmapShape *src; | |
3954 | wxPyShape *dest; | |
3955 | src = (wxPyBitmapShape *) ptr; | |
3956 | dest = (wxPyShape *) src; | |
3957 | return (void *) dest; | |
3958 | } | |
3959 | ||
3960 | static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) { | |
3961 | wxPyBitmapShape *src; | |
3962 | wxPyShapeEvtHandler *dest; | |
3963 | src = (wxPyBitmapShape *) ptr; | |
3964 | dest = (wxPyShapeEvtHandler *) src; | |
3965 | return (void *) dest; | |
3966 | } | |
3967 | ||
3968 | #define new_wxPyBitmapShape() (new wxPyBitmapShape()) | |
3969 | static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3970 | PyObject * _resultobj; | |
3971 | wxPyBitmapShape * _result; | |
3972 | char *_kwnames[] = { NULL }; | |
3973 | char _ptemp[128]; | |
3974 | ||
3975 | self = self; | |
3976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames)) | |
3977 | return NULL; | |
3978 | { | |
3979 | wxPy_BEGIN_ALLOW_THREADS; | |
3980 | _result = (wxPyBitmapShape *)new_wxPyBitmapShape(); | |
3981 | ||
3982 | wxPy_END_ALLOW_THREADS; | |
3983 | } if (_result) { | |
3984 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p"); | |
3985 | _resultobj = Py_BuildValue("s",_ptemp); | |
3986 | } else { | |
3987 | Py_INCREF(Py_None); | |
3988 | _resultobj = Py_None; | |
3989 | } | |
3990 | return _resultobj; | |
3991 | } | |
3992 | ||
f6bcfd97 | 3993 | #define wxPyBitmapShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
2348eaee RD |
3994 | static PyObject *_wrap_wxPyBitmapShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
3995 | PyObject * _resultobj; | |
3996 | wxPyBitmapShape * _arg0; | |
3997 | PyObject * _arg1; | |
f6bcfd97 | 3998 | PyObject * _arg2; |
2348eaee RD |
3999 | PyObject * _argo0 = 0; |
4000 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
4001 | PyObject * _obj2 = 0; |
4002 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2348eaee RD |
4003 | |
4004 | self = self; | |
f6bcfd97 | 4005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
2348eaee RD |
4006 | return NULL; |
4007 | if (_argo0) { | |
4008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setSelf. Expected _wxPyBitmapShape_p."); | |
4011 | return NULL; | |
4012 | } | |
4013 | } | |
4014 | { | |
4015 | _arg1 = _obj1; | |
4016 | } | |
f6bcfd97 BP |
4017 | { |
4018 | _arg2 = _obj2; | |
4019 | } | |
2348eaee RD |
4020 | { |
4021 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4022 | wxPyBitmapShape__setSelf(_arg0,_arg1,_arg2); |
2348eaee RD |
4023 | |
4024 | wxPy_END_ALLOW_THREADS; | |
4025 | } Py_INCREF(Py_None); | |
4026 | _resultobj = Py_None; | |
4027 | return _resultobj; | |
4028 | } | |
4029 | ||
4030 | #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
4031 | static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4032 | PyObject * _resultobj; | |
4033 | wxBitmap * _result; | |
4034 | wxPyBitmapShape * _arg0; | |
4035 | PyObject * _argo0 = 0; | |
4036 | char *_kwnames[] = { "self", NULL }; | |
4037 | char _ptemp[128]; | |
4038 | ||
4039 | self = self; | |
4040 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0)) | |
4041 | return NULL; | |
4042 | if (_argo0) { | |
4043 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4044 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p."); | |
4046 | return NULL; | |
4047 | } | |
4048 | } | |
4049 | { | |
4050 | wxPy_BEGIN_ALLOW_THREADS; | |
4051 | wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0); | |
4052 | _result = (wxBitmap *) &_result_ref; | |
4053 | ||
4054 | wxPy_END_ALLOW_THREADS; | |
4055 | } if (_result) { | |
4056 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
4057 | _resultobj = Py_BuildValue("s",_ptemp); | |
4058 | } else { | |
4059 | Py_INCREF(Py_None); | |
4060 | _resultobj = Py_None; | |
4061 | } | |
4062 | return _resultobj; | |
4063 | } | |
4064 | ||
4065 | #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
4066 | static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4067 | PyObject * _resultobj; | |
4068 | wxString * _result; | |
4069 | wxPyBitmapShape * _arg0; | |
4070 | PyObject * _argo0 = 0; | |
4071 | char *_kwnames[] = { "self", NULL }; | |
4072 | ||
4073 | self = self; | |
4074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0)) | |
4075 | return NULL; | |
4076 | if (_argo0) { | |
4077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p."); | |
4080 | return NULL; | |
4081 | } | |
4082 | } | |
4083 | { | |
4084 | wxPy_BEGIN_ALLOW_THREADS; | |
4085 | _result = new wxString (wxPyBitmapShape_GetFilename(_arg0)); | |
4086 | ||
4087 | wxPy_END_ALLOW_THREADS; | |
4088 | }{ | |
eec92d76 | 4089 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
2348eaee RD |
4090 | } |
4091 | { | |
4092 | delete _result; | |
4093 | } | |
4094 | return _resultobj; | |
4095 | } | |
4096 | ||
4097 | #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
4098 | static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4099 | PyObject * _resultobj; | |
4100 | wxPyBitmapShape * _arg0; | |
4101 | wxBitmap * _arg1; | |
4102 | PyObject * _argo0 = 0; | |
4103 | PyObject * _argo1 = 0; | |
4104 | char *_kwnames[] = { "self","bitmap", NULL }; | |
4105 | ||
4106 | self = self; | |
4107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1)) | |
4108 | return NULL; | |
4109 | if (_argo0) { | |
4110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p."); | |
4113 | return NULL; | |
4114 | } | |
4115 | } | |
4116 | if (_argo1) { | |
4117 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4118 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
4119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p."); | |
4120 | return NULL; | |
4121 | } | |
4122 | } | |
4123 | { | |
4124 | wxPy_BEGIN_ALLOW_THREADS; | |
4125 | wxPyBitmapShape_SetBitmap(_arg0,*_arg1); | |
4126 | ||
4127 | wxPy_END_ALLOW_THREADS; | |
4128 | } Py_INCREF(Py_None); | |
4129 | _resultobj = Py_None; | |
4130 | return _resultobj; | |
4131 | } | |
4132 | ||
4133 | #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
4134 | static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4135 | PyObject * _resultobj; | |
4136 | wxPyBitmapShape * _arg0; | |
4137 | wxString * _arg1; | |
4138 | PyObject * _argo0 = 0; | |
4139 | PyObject * _obj1 = 0; | |
4140 | char *_kwnames[] = { "self","filename", NULL }; | |
4141 | ||
4142 | self = self; | |
4143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1)) | |
4144 | return NULL; | |
4145 | if (_argo0) { | |
4146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p."); | |
4149 | return NULL; | |
4150 | } | |
4151 | } | |
4152 | { | |
185d7c3e RD |
4153 | #if PYTHON_API_VERSION >= 1009 |
4154 | char* tmpPtr; int tmpSize; | |
4155 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
4156 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4157 | return NULL; | |
4158 | } | |
4159 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
4160 | return NULL; | |
4161 | _arg1 = new wxString(tmpPtr, tmpSize); | |
4162 | #else | |
2348eaee RD |
4163 | if (!PyString_Check(_obj1)) { |
4164 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4165 | return NULL; | |
4166 | } | |
185d7c3e RD |
4167 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
4168 | #endif | |
2348eaee RD |
4169 | } |
4170 | { | |
4171 | wxPy_BEGIN_ALLOW_THREADS; | |
4172 | wxPyBitmapShape_SetFilename(_arg0,*_arg1); | |
4173 | ||
4174 | wxPy_END_ALLOW_THREADS; | |
4175 | } Py_INCREF(Py_None); | |
4176 | _resultobj = Py_None; | |
4177 | { | |
4178 | if (_obj1) | |
4179 | delete _arg1; | |
4180 | } | |
4181 | return _resultobj; | |
4182 | } | |
4183 | ||
4184 | #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
4185 | static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4186 | PyObject * _resultobj; | |
4187 | wxPyBitmapShape * _arg0; | |
4188 | PyObject * _argo0 = 0; | |
4189 | char *_kwnames[] = { "self", NULL }; | |
4190 | ||
4191 | self = self; | |
4192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0)) | |
4193 | return NULL; | |
4194 | if (_argo0) { | |
4195 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4196 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p."); | |
4198 | return NULL; | |
4199 | } | |
4200 | } | |
4201 | { | |
4202 | wxPy_BEGIN_ALLOW_THREADS; | |
4203 | wxPyBitmapShape_base_OnDelete(_arg0); | |
4204 | ||
4205 | wxPy_END_ALLOW_THREADS; | |
4206 | } Py_INCREF(Py_None); | |
4207 | _resultobj = Py_None; | |
4208 | return _resultobj; | |
4209 | } | |
4210 | ||
4211 | #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4212 | static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4213 | PyObject * _resultobj; | |
4214 | wxPyBitmapShape * _arg0; | |
4215 | wxDC * _arg1; | |
4216 | PyObject * _argo0 = 0; | |
4217 | PyObject * _argo1 = 0; | |
4218 | char *_kwnames[] = { "self","dc", NULL }; | |
4219 | ||
4220 | self = self; | |
4221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4222 | return NULL; | |
4223 | if (_argo0) { | |
4224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p."); | |
4227 | return NULL; | |
4228 | } | |
4229 | } | |
4230 | if (_argo1) { | |
4231 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4232 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p."); | |
4234 | return NULL; | |
4235 | } | |
4236 | } | |
4237 | { | |
4238 | wxPy_BEGIN_ALLOW_THREADS; | |
4239 | wxPyBitmapShape_base_OnDraw(_arg0,*_arg1); | |
4240 | ||
4241 | wxPy_END_ALLOW_THREADS; | |
4242 | } Py_INCREF(Py_None); | |
4243 | _resultobj = Py_None; | |
4244 | return _resultobj; | |
4245 | } | |
4246 | ||
4247 | #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4248 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4249 | PyObject * _resultobj; | |
4250 | wxPyBitmapShape * _arg0; | |
4251 | wxDC * _arg1; | |
4252 | PyObject * _argo0 = 0; | |
4253 | PyObject * _argo1 = 0; | |
4254 | char *_kwnames[] = { "self","dc", NULL }; | |
4255 | ||
4256 | self = self; | |
4257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4258 | return NULL; | |
4259 | if (_argo0) { | |
4260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p."); | |
4263 | return NULL; | |
4264 | } | |
4265 | } | |
4266 | if (_argo1) { | |
4267 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4268 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p."); | |
4270 | return NULL; | |
4271 | } | |
4272 | } | |
4273 | { | |
4274 | wxPy_BEGIN_ALLOW_THREADS; | |
4275 | wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1); | |
4276 | ||
4277 | wxPy_END_ALLOW_THREADS; | |
4278 | } Py_INCREF(Py_None); | |
4279 | _resultobj = Py_None; | |
4280 | return _resultobj; | |
4281 | } | |
4282 | ||
4283 | #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4284 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4285 | PyObject * _resultobj; | |
4286 | wxPyBitmapShape * _arg0; | |
4287 | wxDC * _arg1; | |
4288 | bool _arg2 = (bool ) FALSE; | |
4289 | PyObject * _argo0 = 0; | |
4290 | PyObject * _argo1 = 0; | |
4291 | int tempbool2 = (int) FALSE; | |
4292 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
4293 | |
4294 | self = self; | |
4295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4296 | return NULL; | |
4297 | if (_argo0) { | |
4298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p."); | |
4301 | return NULL; | |
4302 | } | |
4303 | } | |
4304 | if (_argo1) { | |
4305 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4306 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4307 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4308 | return NULL; | |
4309 | } | |
4310 | } | |
4311 | _arg2 = (bool ) tempbool2; | |
4312 | { | |
4313 | wxPy_BEGIN_ALLOW_THREADS; | |
4314 | wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4315 | ||
4316 | wxPy_END_ALLOW_THREADS; | |
4317 | } Py_INCREF(Py_None); | |
4318 | _resultobj = Py_None; | |
4319 | return _resultobj; | |
4320 | } | |
4321 | ||
4322 | #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4323 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4324 | PyObject * _resultobj; | |
4325 | wxPyBitmapShape * _arg0; | |
4326 | wxDC * _arg1; | |
4327 | PyObject * _argo0 = 0; | |
4328 | PyObject * _argo1 = 0; | |
4329 | char *_kwnames[] = { "self","dc", NULL }; | |
4330 | ||
4331 | self = self; | |
4332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4333 | return NULL; | |
4334 | if (_argo0) { | |
4335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p."); | |
4338 | return NULL; | |
4339 | } | |
4340 | } | |
4341 | if (_argo1) { | |
4342 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4343 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4345 | return NULL; | |
4346 | } | |
4347 | } | |
4348 | { | |
4349 | wxPy_BEGIN_ALLOW_THREADS; | |
4350 | wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1); | |
4351 | ||
4352 | wxPy_END_ALLOW_THREADS; | |
4353 | } Py_INCREF(Py_None); | |
4354 | _resultobj = Py_None; | |
4355 | return _resultobj; | |
4356 | } | |
4357 | ||
4358 | #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4359 | static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4360 | PyObject * _resultobj; | |
4361 | wxPyBitmapShape * _arg0; | |
4362 | wxDC * _arg1; | |
4363 | PyObject * _argo0 = 0; | |
4364 | PyObject * _argo1 = 0; | |
4365 | char *_kwnames[] = { "self","dc", NULL }; | |
4366 | ||
4367 | self = self; | |
4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4369 | return NULL; | |
4370 | if (_argo0) { | |
4371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p."); | |
4374 | return NULL; | |
4375 | } | |
4376 | } | |
4377 | if (_argo1) { | |
4378 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4379 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p."); | |
4381 | return NULL; | |
4382 | } | |
4383 | } | |
4384 | { | |
4385 | wxPy_BEGIN_ALLOW_THREADS; | |
4386 | wxPyBitmapShape_base_OnErase(_arg0,*_arg1); | |
4387 | ||
4388 | wxPy_END_ALLOW_THREADS; | |
4389 | } Py_INCREF(Py_None); | |
4390 | _resultobj = Py_None; | |
4391 | return _resultobj; | |
4392 | } | |
4393 | ||
4394 | #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4395 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4396 | PyObject * _resultobj; | |
4397 | wxPyBitmapShape * _arg0; | |
4398 | wxDC * _arg1; | |
4399 | PyObject * _argo0 = 0; | |
4400 | PyObject * _argo1 = 0; | |
4401 | char *_kwnames[] = { "self","dc", NULL }; | |
4402 | ||
4403 | self = self; | |
4404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4405 | return NULL; | |
4406 | if (_argo0) { | |
4407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p."); | |
4410 | return NULL; | |
4411 | } | |
4412 | } | |
4413 | if (_argo1) { | |
4414 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4415 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p."); | |
4417 | return NULL; | |
4418 | } | |
4419 | } | |
4420 | { | |
4421 | wxPy_BEGIN_ALLOW_THREADS; | |
4422 | wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1); | |
4423 | ||
4424 | wxPy_END_ALLOW_THREADS; | |
4425 | } Py_INCREF(Py_None); | |
4426 | _resultobj = Py_None; | |
4427 | return _resultobj; | |
4428 | } | |
4429 | ||
4430 | #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4431 | static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4432 | PyObject * _resultobj; | |
4433 | wxPyBitmapShape * _arg0; | |
4434 | wxDC * _arg1; | |
4435 | PyObject * _argo0 = 0; | |
4436 | PyObject * _argo1 = 0; | |
4437 | char *_kwnames[] = { "self","dc", NULL }; | |
4438 | ||
4439 | self = self; | |
4440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4441 | return NULL; | |
4442 | if (_argo0) { | |
4443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p."); | |
4446 | return NULL; | |
4447 | } | |
4448 | } | |
4449 | if (_argo1) { | |
4450 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4451 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p."); | |
4453 | return NULL; | |
4454 | } | |
4455 | } | |
4456 | { | |
4457 | wxPy_BEGIN_ALLOW_THREADS; | |
4458 | wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1); | |
4459 | ||
4460 | wxPy_END_ALLOW_THREADS; | |
4461 | } Py_INCREF(Py_None); | |
4462 | _resultobj = Py_None; | |
4463 | return _resultobj; | |
4464 | } | |
4465 | ||
4466 | #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4467 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4468 | PyObject * _resultobj; | |
4469 | wxPyBitmapShape * _arg0; | |
4470 | double _arg1; | |
4471 | double _arg2; | |
4472 | int _arg3 = (int ) 0; | |
4473 | int _arg4 = (int ) 0; | |
4474 | PyObject * _argo0 = 0; | |
4475 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4476 | ||
4477 | self = self; | |
4478 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4479 | return NULL; | |
4480 | if (_argo0) { | |
4481 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4482 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p."); | |
4484 | return NULL; | |
4485 | } | |
4486 | } | |
4487 | { | |
4488 | wxPy_BEGIN_ALLOW_THREADS; | |
4489 | wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4490 | ||
4491 | wxPy_END_ALLOW_THREADS; | |
4492 | } Py_INCREF(Py_None); | |
4493 | _resultobj = Py_None; | |
4494 | return _resultobj; | |
4495 | } | |
4496 | ||
4497 | #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4498 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4499 | PyObject * _resultobj; | |
4500 | wxPyBitmapShape * _arg0; | |
4501 | double _arg1; | |
4502 | double _arg2; | |
4503 | int _arg3 = (int ) 0; | |
4504 | int _arg4 = (int ) 0; | |
4505 | PyObject * _argo0 = 0; | |
4506 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4507 | ||
4508 | self = self; | |
4509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4510 | return NULL; | |
4511 | if (_argo0) { | |
4512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p."); | |
4515 | return NULL; | |
4516 | } | |
4517 | } | |
4518 | { | |
4519 | wxPy_BEGIN_ALLOW_THREADS; | |
4520 | wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4521 | ||
4522 | wxPy_END_ALLOW_THREADS; | |
4523 | } Py_INCREF(Py_None); | |
4524 | _resultobj = Py_None; | |
4525 | return _resultobj; | |
4526 | } | |
4527 | ||
4528 | #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4529 | static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4530 | PyObject * _resultobj; | |
4531 | wxPyBitmapShape * _arg0; | |
4532 | double _arg1; | |
4533 | double _arg2; | |
4534 | int _arg3 = (int ) 0; | |
4535 | int _arg4 = (int ) 0; | |
4536 | PyObject * _argo0 = 0; | |
4537 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4538 | ||
4539 | self = self; | |
4540 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4541 | return NULL; | |
4542 | if (_argo0) { | |
4543 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4544 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p."); | |
4546 | return NULL; | |
4547 | } | |
4548 | } | |
4549 | { | |
4550 | wxPy_BEGIN_ALLOW_THREADS; | |
4551 | wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4552 | ||
4553 | wxPy_END_ALLOW_THREADS; | |
4554 | } Py_INCREF(Py_None); | |
4555 | _resultobj = Py_None; | |
4556 | return _resultobj; | |
4557 | } | |
4558 | ||
4559 | #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4560 | static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4561 | PyObject * _resultobj; | |
4562 | wxPyBitmapShape * _arg0; | |
4563 | double _arg1; | |
4564 | double _arg2; | |
4565 | PyObject * _argo0 = 0; | |
4566 | char *_kwnames[] = { "self","x","y", NULL }; | |
4567 | ||
4568 | self = self; | |
4569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4570 | return NULL; | |
4571 | if (_argo0) { | |
4572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p."); | |
4575 | return NULL; | |
4576 | } | |
4577 | } | |
4578 | { | |
4579 | wxPy_BEGIN_ALLOW_THREADS; | |
4580 | wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2); | |
4581 | ||
4582 | wxPy_END_ALLOW_THREADS; | |
4583 | } Py_INCREF(Py_None); | |
4584 | _resultobj = Py_None; | |
4585 | return _resultobj; | |
4586 | } | |
4587 | ||
4588 | #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4589 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4590 | PyObject * _resultobj; | |
4591 | bool _result; | |
4592 | wxPyBitmapShape * _arg0; | |
4593 | wxDC * _arg1; | |
4594 | double _arg2; | |
4595 | double _arg3; | |
4596 | double _arg4; | |
4597 | double _arg5; | |
4598 | bool _arg6 = (bool ) TRUE; | |
4599 | PyObject * _argo0 = 0; | |
4600 | PyObject * _argo1 = 0; | |
4601 | int tempbool6 = (int) TRUE; | |
4602 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4603 | ||
4604 | self = self; | |
4605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4606 | return NULL; | |
4607 | if (_argo0) { | |
4608 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4609 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p."); | |
4611 | return NULL; | |
4612 | } | |
4613 | } | |
4614 | if (_argo1) { | |
4615 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4616 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p."); | |
4618 | return NULL; | |
4619 | } | |
4620 | } | |
4621 | _arg6 = (bool ) tempbool6; | |
4622 | { | |
4623 | wxPy_BEGIN_ALLOW_THREADS; | |
4624 | _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4625 | ||
4626 | wxPy_END_ALLOW_THREADS; | |
4627 | } _resultobj = Py_BuildValue("i",_result); | |
4628 | return _resultobj; | |
4629 | } | |
4630 | ||
4631 | #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4632 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4633 | PyObject * _resultobj; | |
4634 | wxPyBitmapShape * _arg0; | |
4635 | wxDC * _arg1; | |
4636 | double _arg2; | |
4637 | double _arg3; | |
4638 | double _arg4; | |
4639 | double _arg5; | |
4640 | bool _arg6 = (bool ) TRUE; | |
4641 | PyObject * _argo0 = 0; | |
4642 | PyObject * _argo1 = 0; | |
4643 | int tempbool6 = (int) TRUE; | |
4644 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4645 | ||
4646 | self = self; | |
4647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4648 | return NULL; | |
4649 | if (_argo0) { | |
4650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p."); | |
4653 | return NULL; | |
4654 | } | |
4655 | } | |
4656 | if (_argo1) { | |
4657 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4658 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4659 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p."); | |
4660 | return NULL; | |
4661 | } | |
4662 | } | |
4663 | _arg6 = (bool ) tempbool6; | |
4664 | { | |
4665 | wxPy_BEGIN_ALLOW_THREADS; | |
4666 | wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4667 | ||
4668 | wxPy_END_ALLOW_THREADS; | |
4669 | } Py_INCREF(Py_None); | |
4670 | _resultobj = Py_None; | |
4671 | return _resultobj; | |
4672 | } | |
4673 | ||
4674 | #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4675 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4676 | PyObject * _resultobj; | |
4677 | wxPyBitmapShape * _arg0; | |
4678 | bool _arg1; | |
4679 | double _arg2; | |
4680 | double _arg3; | |
4681 | int _arg4 = (int ) 0; | |
4682 | int _arg5 = (int ) 0; | |
4683 | PyObject * _argo0 = 0; | |
4684 | int tempbool1; | |
4685 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4686 | ||
4687 | self = self; | |
4688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4689 | return NULL; | |
4690 | if (_argo0) { | |
4691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p."); | |
4694 | return NULL; | |
4695 | } | |
4696 | } | |
4697 | _arg1 = (bool ) tempbool1; | |
4698 | { | |
4699 | wxPy_BEGIN_ALLOW_THREADS; | |
4700 | wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4701 | ||
4702 | wxPy_END_ALLOW_THREADS; | |
4703 | } Py_INCREF(Py_None); | |
4704 | _resultobj = Py_None; | |
4705 | return _resultobj; | |
4706 | } | |
4707 | ||
4708 | #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4709 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4710 | PyObject * _resultobj; | |
4711 | wxPyBitmapShape * _arg0; | |
4712 | double _arg1; | |
4713 | double _arg2; | |
4714 | int _arg3 = (int ) 0; | |
4715 | int _arg4 = (int ) 0; | |
4716 | PyObject * _argo0 = 0; | |
4717 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4718 | ||
4719 | self = self; | |
4720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4721 | return NULL; | |
4722 | if (_argo0) { | |
4723 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4724 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
4726 | return NULL; | |
4727 | } | |
4728 | } | |
4729 | { | |
4730 | wxPy_BEGIN_ALLOW_THREADS; | |
4731 | wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4732 | ||
4733 | wxPy_END_ALLOW_THREADS; | |
4734 | } Py_INCREF(Py_None); | |
4735 | _resultobj = Py_None; | |
4736 | return _resultobj; | |
4737 | } | |
4738 | ||
4739 | #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4740 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4741 | PyObject * _resultobj; | |
4742 | wxPyBitmapShape * _arg0; | |
4743 | double _arg1; | |
4744 | double _arg2; | |
4745 | int _arg3 = (int ) 0; | |
4746 | int _arg4 = (int ) 0; | |
4747 | PyObject * _argo0 = 0; | |
4748 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4749 | ||
4750 | self = self; | |
4751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4752 | return NULL; | |
4753 | if (_argo0) { | |
4754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p."); | |
4757 | return NULL; | |
4758 | } | |
4759 | } | |
4760 | { | |
4761 | wxPy_BEGIN_ALLOW_THREADS; | |
4762 | wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4763 | ||
4764 | wxPy_END_ALLOW_THREADS; | |
4765 | } Py_INCREF(Py_None); | |
4766 | _resultobj = Py_None; | |
4767 | return _resultobj; | |
4768 | } | |
4769 | ||
4770 | #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4771 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4772 | PyObject * _resultobj; | |
4773 | wxPyBitmapShape * _arg0; | |
4774 | bool _arg1; | |
4775 | double _arg2; | |
4776 | double _arg3; | |
4777 | int _arg4 = (int ) 0; | |
4778 | int _arg5 = (int ) 0; | |
4779 | PyObject * _argo0 = 0; | |
4780 | int tempbool1; | |
4781 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4782 | ||
4783 | self = self; | |
4784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4785 | return NULL; | |
4786 | if (_argo0) { | |
4787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p."); | |
4790 | return NULL; | |
4791 | } | |
4792 | } | |
4793 | _arg1 = (bool ) tempbool1; | |
4794 | { | |
4795 | wxPy_BEGIN_ALLOW_THREADS; | |
4796 | wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4797 | ||
4798 | wxPy_END_ALLOW_THREADS; | |
4799 | } Py_INCREF(Py_None); | |
4800 | _resultobj = Py_None; | |
4801 | return _resultobj; | |
4802 | } | |
4803 | ||
4804 | #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4805 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4806 | PyObject * _resultobj; | |
4807 | wxPyBitmapShape * _arg0; | |
4808 | double _arg1; | |
4809 | double _arg2; | |
4810 | int _arg3 = (int ) 0; | |
4811 | int _arg4 = (int ) 0; | |
4812 | PyObject * _argo0 = 0; | |
4813 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4814 | ||
4815 | self = self; | |
4816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4817 | return NULL; | |
4818 | if (_argo0) { | |
4819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p."); | |
4822 | return NULL; | |
4823 | } | |
4824 | } | |
4825 | { | |
4826 | wxPy_BEGIN_ALLOW_THREADS; | |
4827 | wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4828 | ||
4829 | wxPy_END_ALLOW_THREADS; | |
4830 | } Py_INCREF(Py_None); | |
4831 | _resultobj = Py_None; | |
4832 | return _resultobj; | |
4833 | } | |
4834 | ||
4835 | #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4836 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4837 | PyObject * _resultobj; | |
4838 | wxPyBitmapShape * _arg0; | |
4839 | double _arg1; | |
4840 | double _arg2; | |
4841 | int _arg3 = (int ) 0; | |
4842 | int _arg4 = (int ) 0; | |
4843 | PyObject * _argo0 = 0; | |
4844 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4845 | ||
4846 | self = self; | |
4847 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4848 | return NULL; | |
4849 | if (_argo0) { | |
4850 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4851 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p."); | |
4853 | return NULL; | |
4854 | } | |
4855 | } | |
4856 | { | |
4857 | wxPy_BEGIN_ALLOW_THREADS; | |
4858 | wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4859 | ||
4860 | wxPy_END_ALLOW_THREADS; | |
4861 | } Py_INCREF(Py_None); | |
4862 | _resultobj = Py_None; | |
4863 | return _resultobj; | |
4864 | } | |
4865 | ||
4866 | #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4867 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4868 | PyObject * _resultobj; | |
4869 | wxPyBitmapShape * _arg0; | |
4870 | wxDC * _arg1; | |
4871 | double _arg2; | |
4872 | double _arg3; | |
4873 | double _arg4; | |
4874 | double _arg5; | |
4875 | PyObject * _argo0 = 0; | |
4876 | PyObject * _argo1 = 0; | |
4877 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
4878 | ||
4879 | self = self; | |
4880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4881 | return NULL; | |
4882 | if (_argo0) { | |
4883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p."); | |
4886 | return NULL; | |
4887 | } | |
4888 | } | |
4889 | if (_argo1) { | |
4890 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4891 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p."); | |
4893 | return NULL; | |
4894 | } | |
4895 | } | |
4896 | { | |
4897 | wxPy_BEGIN_ALLOW_THREADS; | |
4898 | wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
4899 | ||
4900 | wxPy_END_ALLOW_THREADS; | |
4901 | } Py_INCREF(Py_None); | |
4902 | _resultobj = Py_None; | |
4903 | return _resultobj; | |
4904 | } | |
4905 | ||
4906 | #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
4907 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4908 | PyObject * _resultobj; | |
4909 | wxPyBitmapShape * _arg0; | |
4910 | wxDC * _arg1; | |
4911 | PyObject * _argo0 = 0; | |
4912 | PyObject * _argo1 = 0; | |
4913 | char *_kwnames[] = { "self","dc", NULL }; | |
4914 | ||
4915 | self = self; | |
4916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
4917 | return NULL; | |
4918 | if (_argo0) { | |
4919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p."); | |
4922 | return NULL; | |
4923 | } | |
4924 | } | |
4925 | if (_argo1) { | |
4926 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4927 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
4929 | return NULL; | |
4930 | } | |
4931 | } | |
4932 | { | |
4933 | wxPy_BEGIN_ALLOW_THREADS; | |
4934 | wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
4935 | ||
4936 | wxPy_END_ALLOW_THREADS; | |
4937 | } Py_INCREF(Py_None); | |
4938 | _resultobj = Py_None; | |
4939 | return _resultobj; | |
4940 | } | |
4941 | ||
4942 | #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
4943 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4944 | PyObject * _resultobj; | |
4945 | wxPyBitmapShape * _arg0; | |
4946 | wxDC * _arg1; | |
4947 | PyObject * _argo0 = 0; | |
4948 | PyObject * _argo1 = 0; | |
4949 | char *_kwnames[] = { "self","dc", NULL }; | |
4950 | ||
4951 | self = self; | |
4952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
4953 | return NULL; | |
4954 | if (_argo0) { | |
4955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p."); | |
4958 | return NULL; | |
4959 | } | |
4960 | } | |
4961 | if (_argo1) { | |
4962 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4963 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
4965 | return NULL; | |
4966 | } | |
4967 | } | |
4968 | { | |
4969 | wxPy_BEGIN_ALLOW_THREADS; | |
4970 | wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
4971 | ||
4972 | wxPy_END_ALLOW_THREADS; | |
4973 | } Py_INCREF(Py_None); | |
4974 | _resultobj = Py_None; | |
4975 | return _resultobj; | |
4976 | } | |
4977 | ||
4978 | #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
4979 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4980 | PyObject * _resultobj; | |
4981 | wxPyBitmapShape * _arg0; | |
4982 | wxDC * _arg1; | |
4983 | bool _arg2 = (bool ) TRUE; | |
4984 | PyObject * _argo0 = 0; | |
4985 | PyObject * _argo1 = 0; | |
4986 | int tempbool2 = (int) TRUE; | |
4987 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
4988 | ||
4989 | self = self; | |
4990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4991 | return NULL; | |
4992 | if (_argo0) { | |
4993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p."); | |
4996 | return NULL; | |
4997 | } | |
4998 | } | |
4999 | if (_argo1) { | |
5000 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5001 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p."); | |
5003 | return NULL; | |
5004 | } | |
5005 | } | |
5006 | _arg2 = (bool ) tempbool2; | |
5007 | { | |
5008 | wxPy_BEGIN_ALLOW_THREADS; | |
5009 | wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
5010 | ||
5011 | wxPy_END_ALLOW_THREADS; | |
5012 | } Py_INCREF(Py_None); | |
5013 | _resultobj = Py_None; | |
5014 | return _resultobj; | |
5015 | } | |
5016 | ||
5017 | #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5018 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5019 | PyObject * _resultobj; | |
5020 | wxPyBitmapShape * _arg0; | |
2348eaee | 5021 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5022 | bool _arg2; |
5023 | double _arg3; | |
5024 | double _arg4; | |
5025 | int _arg5 = (int ) 0; | |
5026 | int _arg6 = (int ) 0; | |
5027 | PyObject * _argo0 = 0; | |
5028 | PyObject * _argo1 = 0; | |
5029 | int tempbool2; | |
5030 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5031 | ||
5032 | self = self; | |
5033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5034 | return NULL; | |
5035 | if (_argo0) { | |
5036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p."); | |
5039 | return NULL; | |
5040 | } | |
5041 | } | |
5042 | if (_argo1) { | |
5043 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5044 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5046 | return NULL; |
5047 | } | |
5048 | } | |
5049 | _arg2 = (bool ) tempbool2; | |
5050 | { | |
5051 | wxPy_BEGIN_ALLOW_THREADS; | |
5052 | wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5053 | ||
5054 | wxPy_END_ALLOW_THREADS; | |
5055 | } Py_INCREF(Py_None); | |
5056 | _resultobj = Py_None; | |
5057 | return _resultobj; | |
5058 | } | |
5059 | ||
5060 | #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5061 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5062 | PyObject * _resultobj; | |
5063 | wxPyBitmapShape * _arg0; | |
2348eaee | 5064 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5065 | double _arg2; |
5066 | double _arg3; | |
5067 | int _arg4 = (int ) 0; | |
5068 | int _arg5 = (int ) 0; | |
5069 | PyObject * _argo0 = 0; | |
5070 | PyObject * _argo1 = 0; | |
5071 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5072 | ||
5073 | self = self; | |
5074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5075 | return NULL; | |
5076 | if (_argo0) { | |
5077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
5080 | return NULL; | |
5081 | } | |
5082 | } | |
5083 | if (_argo1) { | |
5084 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5085 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5087 | return NULL; |
5088 | } | |
5089 | } | |
5090 | { | |
5091 | wxPy_BEGIN_ALLOW_THREADS; | |
5092 | wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5093 | ||
5094 | wxPy_END_ALLOW_THREADS; | |
5095 | } Py_INCREF(Py_None); | |
5096 | _resultobj = Py_None; | |
5097 | return _resultobj; | |
5098 | } | |
5099 | ||
5100 | #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5101 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5102 | PyObject * _resultobj; | |
5103 | wxPyBitmapShape * _arg0; | |
2348eaee | 5104 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5105 | double _arg2; |
5106 | double _arg3; | |
5107 | int _arg4 = (int ) 0; | |
5108 | int _arg5 = (int ) 0; | |
5109 | PyObject * _argo0 = 0; | |
5110 | PyObject * _argo1 = 0; | |
5111 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5112 | ||
5113 | self = self; | |
5114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5115 | return NULL; | |
5116 | if (_argo0) { | |
5117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p."); | |
5120 | return NULL; | |
5121 | } | |
5122 | } | |
5123 | if (_argo1) { | |
5124 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5125 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5127 | return NULL; |
5128 | } | |
5129 | } | |
5130 | { | |
5131 | wxPy_BEGIN_ALLOW_THREADS; | |
5132 | wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5133 | ||
5134 | wxPy_END_ALLOW_THREADS; | |
5135 | } Py_INCREF(Py_None); | |
5136 | _resultobj = Py_None; | |
5137 | return _resultobj; | |
5138 | } | |
5139 | ||
5140 | #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5141 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5142 | PyObject * _resultobj; | |
5143 | wxPyBitmapShape * _arg0; | |
5144 | double _arg1; | |
5145 | double _arg2; | |
5146 | PyObject * _argo0 = 0; | |
5147 | char *_kwnames[] = { "self","w","h", NULL }; | |
5148 | ||
5149 | self = self; | |
5150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5151 | return NULL; | |
5152 | if (_argo0) { | |
5153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p."); | |
5156 | return NULL; | |
5157 | } | |
5158 | } | |
5159 | { | |
5160 | wxPy_BEGIN_ALLOW_THREADS; | |
5161 | wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5162 | ||
5163 | wxPy_END_ALLOW_THREADS; | |
5164 | } Py_INCREF(Py_None); | |
5165 | _resultobj = Py_None; | |
5166 | return _resultobj; | |
5167 | } | |
5168 | ||
5169 | #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5170 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5171 | PyObject * _resultobj; | |
5172 | wxPyBitmapShape * _arg0; | |
5173 | double _arg1; | |
5174 | double _arg2; | |
5175 | PyObject * _argo0 = 0; | |
5176 | char *_kwnames[] = { "self","w","h", NULL }; | |
5177 | ||
5178 | self = self; | |
5179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5180 | return NULL; | |
5181 | if (_argo0) { | |
5182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p."); | |
5185 | return NULL; | |
5186 | } | |
5187 | } | |
5188 | { | |
5189 | wxPy_BEGIN_ALLOW_THREADS; | |
5190 | wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5191 | ||
5192 | wxPy_END_ALLOW_THREADS; | |
5193 | } Py_INCREF(Py_None); | |
5194 | _resultobj = Py_None; | |
5195 | return _resultobj; | |
5196 | } | |
5197 | ||
5198 | static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) { | |
5199 | wxPyDrawnShape *src; | |
5200 | wxPyRectangleShape *dest; | |
5201 | src = (wxPyDrawnShape *) ptr; | |
5202 | dest = (wxPyRectangleShape *) src; | |
5203 | return (void *) dest; | |
5204 | } | |
5205 | ||
5206 | static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) { | |
5207 | wxPyDrawnShape *src; | |
5208 | wxPyShape *dest; | |
5209 | src = (wxPyDrawnShape *) ptr; | |
5210 | dest = (wxPyShape *) src; | |
5211 | return (void *) dest; | |
5212 | } | |
5213 | ||
5214 | static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) { | |
5215 | wxPyDrawnShape *src; | |
5216 | wxPyShapeEvtHandler *dest; | |
5217 | src = (wxPyDrawnShape *) ptr; | |
5218 | dest = (wxPyShapeEvtHandler *) src; | |
5219 | return (void *) dest; | |
5220 | } | |
5221 | ||
5222 | #define new_wxPyDrawnShape() (new wxPyDrawnShape()) | |
5223 | static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5224 | PyObject * _resultobj; | |
5225 | wxPyDrawnShape * _result; | |
5226 | char *_kwnames[] = { NULL }; | |
5227 | char _ptemp[128]; | |
5228 | ||
5229 | self = self; | |
5230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames)) | |
5231 | return NULL; | |
5232 | { | |
5233 | wxPy_BEGIN_ALLOW_THREADS; | |
5234 | _result = (wxPyDrawnShape *)new_wxPyDrawnShape(); | |
5235 | ||
5236 | wxPy_END_ALLOW_THREADS; | |
5237 | } if (_result) { | |
5238 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p"); | |
5239 | _resultobj = Py_BuildValue("s",_ptemp); | |
5240 | } else { | |
5241 | Py_INCREF(Py_None); | |
5242 | _resultobj = Py_None; | |
5243 | } | |
5244 | return _resultobj; | |
5245 | } | |
5246 | ||
f6bcfd97 | 5247 | #define wxPyDrawnShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
5248 | static PyObject *_wrap_wxPyDrawnShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
5249 | PyObject * _resultobj; | |
5250 | wxPyDrawnShape * _arg0; | |
5251 | PyObject * _arg1; | |
f6bcfd97 | 5252 | PyObject * _arg2; |
e91a9dfc RD |
5253 | PyObject * _argo0 = 0; |
5254 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
5255 | PyObject * _obj2 = 0; |
5256 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
5257 | |
5258 | self = self; | |
f6bcfd97 | 5259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5260 | return NULL; |
5261 | if (_argo0) { | |
5262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setSelf. Expected _wxPyDrawnShape_p."); | |
5265 | return NULL; | |
5266 | } | |
5267 | } | |
5268 | { | |
5269 | _arg1 = _obj1; | |
5270 | } | |
f6bcfd97 BP |
5271 | { |
5272 | _arg2 = _obj2; | |
5273 | } | |
e91a9dfc RD |
5274 | { |
5275 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5276 | wxPyDrawnShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
5277 | |
5278 | wxPy_END_ALLOW_THREADS; | |
5279 | } Py_INCREF(Py_None); | |
5280 | _resultobj = Py_None; | |
5281 | return _resultobj; | |
5282 | } | |
5283 | ||
5284 | #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
5285 | static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5286 | PyObject * _resultobj; | |
5287 | wxPyDrawnShape * _arg0; | |
5288 | PyObject * _argo0 = 0; | |
5289 | char *_kwnames[] = { "self", NULL }; | |
5290 | ||
5291 | self = self; | |
5292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0)) | |
5293 | return NULL; | |
5294 | if (_argo0) { | |
5295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p."); | |
5298 | return NULL; | |
5299 | } | |
5300 | } | |
5301 | { | |
5302 | wxPy_BEGIN_ALLOW_THREADS; | |
5303 | wxPyDrawnShape_CalculateSize(_arg0); | |
5304 | ||
5305 | wxPy_END_ALLOW_THREADS; | |
5306 | } Py_INCREF(Py_None); | |
5307 | _resultobj = Py_None; | |
5308 | return _resultobj; | |
5309 | } | |
5310 | ||
5311 | #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
5312 | static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5313 | PyObject * _resultobj; | |
5314 | wxPyDrawnShape * _arg0; | |
5315 | PyObject * _argo0 = 0; | |
5316 | char *_kwnames[] = { "self", NULL }; | |
5317 | ||
5318 | self = self; | |
5319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0)) | |
5320 | return NULL; | |
5321 | if (_argo0) { | |
5322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p."); | |
5325 | return NULL; | |
5326 | } | |
5327 | } | |
5328 | { | |
5329 | wxPy_BEGIN_ALLOW_THREADS; | |
5330 | wxPyDrawnShape_DestroyClippingRect(_arg0); | |
5331 | ||
5332 | wxPy_END_ALLOW_THREADS; | |
5333 | } Py_INCREF(Py_None); | |
5334 | _resultobj = Py_None; | |
5335 | return _resultobj; | |
5336 | } | |
5337 | ||
5338 | #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
5339 | static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5340 | PyObject * _resultobj; | |
5341 | wxPyDrawnShape * _arg0; | |
5342 | wxPoint * _arg1; | |
5343 | wxPoint * _arg2; | |
5344 | wxPoint * _arg3; | |
5345 | PyObject * _argo0 = 0; | |
2348eaee RD |
5346 | wxPoint temp; |
5347 | PyObject * _obj1 = 0; | |
5348 | wxPoint temp0; | |
5349 | PyObject * _obj2 = 0; | |
5350 | wxPoint temp1; | |
5351 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
5352 | char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL }; |
5353 | ||
5354 | self = self; | |
2348eaee | 5355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
e91a9dfc RD |
5356 | return NULL; |
5357 | if (_argo0) { | |
5358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p."); | |
5361 | return NULL; | |
5362 | } | |
5363 | } | |
2348eaee RD |
5364 | { |
5365 | _arg1 = &temp; | |
5366 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5367 | return NULL; |
2348eaee RD |
5368 | } |
5369 | { | |
5370 | _arg2 = &temp0; | |
5371 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5372 | return NULL; |
2348eaee RD |
5373 | } |
5374 | { | |
5375 | _arg3 = &temp1; | |
5376 | if (! wxPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 5377 | return NULL; |
2348eaee | 5378 | } |
e91a9dfc RD |
5379 | { |
5380 | wxPy_BEGIN_ALLOW_THREADS; | |
5381 | wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); | |
5382 | ||
5383 | wxPy_END_ALLOW_THREADS; | |
5384 | } Py_INCREF(Py_None); | |
5385 | _resultobj = Py_None; | |
5386 | return _resultobj; | |
5387 | } | |
5388 | ||
5389 | #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0)) | |
5390 | static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5391 | PyObject * _resultobj; | |
5392 | wxPyDrawnShape * _arg0; | |
5393 | int _arg1; | |
5394 | PyObject * _argo0 = 0; | |
5395 | char *_kwnames[] = { "self","angle", NULL }; | |
5396 | ||
5397 | self = self; | |
5398 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1)) | |
5399 | return NULL; | |
5400 | if (_argo0) { | |
5401 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5402 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5403 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p."); | |
5404 | return NULL; | |
5405 | } | |
5406 | } | |
5407 | { | |
5408 | wxPy_BEGIN_ALLOW_THREADS; | |
5409 | wxPyDrawnShape_DrawAtAngle(_arg0,_arg1); | |
5410 | ||
5411 | wxPy_END_ALLOW_THREADS; | |
5412 | } Py_INCREF(Py_None); | |
5413 | _resultobj = Py_None; | |
5414 | return _resultobj; | |
5415 | } | |
5416 | ||
5417 | #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
5418 | static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5419 | PyObject * _resultobj; | |
5420 | wxPyDrawnShape * _arg0; | |
5421 | wxRect * _arg1; | |
5422 | double _arg2; | |
5423 | double _arg3; | |
5424 | PyObject * _argo0 = 0; | |
2348eaee RD |
5425 | wxRect temp; |
5426 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5427 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; |
5428 | ||
5429 | self = self; | |
2348eaee | 5430 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
e91a9dfc RD |
5431 | return NULL; |
5432 | if (_argo0) { | |
5433 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5434 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p."); | |
5436 | return NULL; | |
5437 | } | |
5438 | } | |
2348eaee RD |
5439 | { |
5440 | _arg1 = &temp; | |
5441 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5442 | return NULL; |
2348eaee | 5443 | } |
e91a9dfc RD |
5444 | { |
5445 | wxPy_BEGIN_ALLOW_THREADS; | |
5446 | wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); | |
5447 | ||
5448 | wxPy_END_ALLOW_THREADS; | |
5449 | } Py_INCREF(Py_None); | |
5450 | _resultobj = Py_None; | |
5451 | return _resultobj; | |
5452 | } | |
5453 | ||
5454 | #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
5455 | static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5456 | PyObject * _resultobj; | |
5457 | wxPyDrawnShape * _arg0; | |
5458 | wxPoint * _arg1; | |
5459 | wxPoint * _arg2; | |
5460 | PyObject * _argo0 = 0; | |
2348eaee RD |
5461 | wxPoint temp; |
5462 | PyObject * _obj1 = 0; | |
5463 | wxPoint temp0; | |
5464 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5465 | char *_kwnames[] = { "self","point1","point2", NULL }; |
5466 | ||
5467 | self = self; | |
2348eaee | 5468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5469 | return NULL; |
5470 | if (_argo0) { | |
5471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p."); | |
5474 | return NULL; | |
5475 | } | |
5476 | } | |
2348eaee RD |
5477 | { |
5478 | _arg1 = &temp; | |
5479 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5480 | return NULL; |
2348eaee RD |
5481 | } |
5482 | { | |
5483 | _arg2 = &temp0; | |
5484 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5485 | return NULL; |
2348eaee | 5486 | } |
e91a9dfc RD |
5487 | { |
5488 | wxPy_BEGIN_ALLOW_THREADS; | |
5489 | wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2); | |
5490 | ||
5491 | wxPy_END_ALLOW_THREADS; | |
5492 | } Py_INCREF(Py_None); | |
5493 | _resultobj = Py_None; | |
5494 | return _resultobj; | |
5495 | } | |
5496 | ||
5497 | #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
5498 | static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5499 | PyObject * _resultobj; | |
5500 | wxPyDrawnShape * _arg0; | |
5501 | int _arg1; | |
5502 | wxPoint * _arg2; | |
5503 | PyObject * _argo0 = 0; | |
5504 | PyObject * _obj2 = 0; | |
eec92d76 | 5505 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
5506 | |
5507 | self = self; | |
5508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2)) | |
5509 | return NULL; | |
5510 | if (_argo0) { | |
5511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p."); | |
5514 | return NULL; | |
5515 | } | |
5516 | } | |
5517 | if (_obj2) | |
5518 | { | |
5519 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5520 | if (_arg2 == NULL) { | |
5521 | return NULL; | |
5522 | } | |
5523 | } | |
5524 | { | |
5525 | if (_obj2) { | |
5526 | _arg1 = PyList_Size(_obj2); | |
5527 | } | |
5528 | else { | |
5529 | _arg1 = 0; | |
5530 | } | |
5531 | } | |
5532 | { | |
5533 | wxPy_BEGIN_ALLOW_THREADS; | |
5534 | wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2); | |
5535 | ||
5536 | wxPy_END_ALLOW_THREADS; | |
5537 | } Py_INCREF(Py_None); | |
5538 | _resultobj = Py_None; | |
5539 | { | |
5540 | delete [] _arg2; | |
5541 | } | |
5542 | return _resultobj; | |
5543 | } | |
5544 | ||
5545 | #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
5546 | static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5547 | PyObject * _resultobj; | |
5548 | wxPyDrawnShape * _arg0; | |
5549 | wxPoint * _arg1; | |
5550 | PyObject * _argo0 = 0; | |
2348eaee RD |
5551 | wxPoint temp; |
5552 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5553 | char *_kwnames[] = { "self","point", NULL }; |
5554 | ||
5555 | self = self; | |
2348eaee | 5556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5557 | return NULL; |
5558 | if (_argo0) { | |
5559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p."); | |
5562 | return NULL; | |
5563 | } | |
5564 | } | |
2348eaee RD |
5565 | { |
5566 | _arg1 = &temp; | |
5567 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5568 | return NULL; |
2348eaee | 5569 | } |
e91a9dfc RD |
5570 | { |
5571 | wxPy_BEGIN_ALLOW_THREADS; | |
5572 | wxPyDrawnShape_DrawPoint(_arg0,*_arg1); | |
5573 | ||
5574 | wxPy_END_ALLOW_THREADS; | |
5575 | } Py_INCREF(Py_None); | |
5576 | _resultobj = Py_None; | |
5577 | return _resultobj; | |
5578 | } | |
5579 | ||
5580 | #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
5581 | static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5582 | PyObject * _resultobj; | |
5583 | wxPyDrawnShape * _arg0; | |
5584 | int _arg1; | |
5585 | wxPoint * _arg2; | |
5586 | int _arg3 = (int ) 0; | |
5587 | PyObject * _argo0 = 0; | |
5588 | PyObject * _obj2 = 0; | |
eec92d76 | 5589 | char *_kwnames[] = { "self","points","flags", NULL }; |
e91a9dfc RD |
5590 | |
5591 | self = self; | |
5592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
5593 | return NULL; | |
5594 | if (_argo0) { | |
5595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p."); | |
5598 | return NULL; | |
5599 | } | |
5600 | } | |
5601 | if (_obj2) | |
5602 | { | |
5603 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5604 | if (_arg2 == NULL) { | |
5605 | return NULL; | |
5606 | } | |
5607 | } | |
5608 | { | |
5609 | if (_obj2) { | |
5610 | _arg1 = PyList_Size(_obj2); | |
5611 | } | |
5612 | else { | |
5613 | _arg1 = 0; | |
5614 | } | |
5615 | } | |
5616 | { | |
5617 | wxPy_BEGIN_ALLOW_THREADS; | |
5618 | wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3); | |
5619 | ||
5620 | wxPy_END_ALLOW_THREADS; | |
5621 | } Py_INCREF(Py_None); | |
5622 | _resultobj = Py_None; | |
5623 | { | |
5624 | delete [] _arg2; | |
5625 | } | |
5626 | return _resultobj; | |
5627 | } | |
5628 | ||
5629 | #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
5630 | static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5631 | PyObject * _resultobj; | |
5632 | wxPyDrawnShape * _arg0; | |
5633 | wxRect * _arg1; | |
5634 | PyObject * _argo0 = 0; | |
2348eaee RD |
5635 | wxRect temp; |
5636 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5637 | char *_kwnames[] = { "self","rect", NULL }; |
5638 | ||
5639 | self = self; | |
2348eaee | 5640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5641 | return NULL; |
5642 | if (_argo0) { | |
5643 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5644 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p."); | |
5646 | return NULL; | |
5647 | } | |
5648 | } | |
2348eaee RD |
5649 | { |
5650 | _arg1 = &temp; | |
5651 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5652 | return NULL; |
2348eaee | 5653 | } |
e91a9dfc RD |
5654 | { |
5655 | wxPy_BEGIN_ALLOW_THREADS; | |
5656 | wxPyDrawnShape_DrawRectangle(_arg0,*_arg1); | |
5657 | ||
5658 | wxPy_END_ALLOW_THREADS; | |
5659 | } Py_INCREF(Py_None); | |
5660 | _resultobj = Py_None; | |
5661 | return _resultobj; | |
5662 | } | |
5663 | ||
5664 | #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
5665 | static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5666 | PyObject * _resultobj; | |
5667 | wxPyDrawnShape * _arg0; | |
5668 | wxRect * _arg1; | |
5669 | double _arg2; | |
5670 | PyObject * _argo0 = 0; | |
2348eaee RD |
5671 | wxRect temp; |
5672 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5673 | char *_kwnames[] = { "self","rect","radius", NULL }; |
5674 | ||
5675 | self = self; | |
2348eaee | 5676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
5677 | return NULL; |
5678 | if (_argo0) { | |
5679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p."); | |
5682 | return NULL; | |
5683 | } | |
5684 | } | |
2348eaee RD |
5685 | { |
5686 | _arg1 = &temp; | |
5687 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5688 | return NULL; |
2348eaee | 5689 | } |
e91a9dfc RD |
5690 | { |
5691 | wxPy_BEGIN_ALLOW_THREADS; | |
5692 | wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2); | |
5693 | ||
5694 | wxPy_END_ALLOW_THREADS; | |
5695 | } Py_INCREF(Py_None); | |
5696 | _resultobj = Py_None; | |
5697 | return _resultobj; | |
5698 | } | |
5699 | ||
5700 | #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
5701 | static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5702 | PyObject * _resultobj; | |
5703 | wxPyDrawnShape * _arg0; | |
5704 | int _arg1; | |
5705 | wxPoint * _arg2; | |
5706 | PyObject * _argo0 = 0; | |
5707 | PyObject * _obj2 = 0; | |
eec92d76 | 5708 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
5709 | |
5710 | self = self; | |
5711 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
5712 | return NULL; | |
5713 | if (_argo0) { | |
5714 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5715 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p."); | |
5717 | return NULL; | |
5718 | } | |
5719 | } | |
5720 | if (_obj2) | |
5721 | { | |
5722 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5723 | if (_arg2 == NULL) { | |
5724 | return NULL; | |
5725 | } | |
5726 | } | |
5727 | { | |
5728 | if (_obj2) { | |
5729 | _arg1 = PyList_Size(_obj2); | |
5730 | } | |
5731 | else { | |
5732 | _arg1 = 0; | |
5733 | } | |
5734 | } | |
5735 | { | |
5736 | wxPy_BEGIN_ALLOW_THREADS; | |
5737 | wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2); | |
5738 | ||
5739 | wxPy_END_ALLOW_THREADS; | |
5740 | } Py_INCREF(Py_None); | |
5741 | _resultobj = Py_None; | |
5742 | { | |
5743 | delete [] _arg2; | |
5744 | } | |
5745 | return _resultobj; | |
5746 | } | |
5747 | ||
5748 | #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
5749 | static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5750 | PyObject * _resultobj; | |
5751 | wxPyDrawnShape * _arg0; | |
5752 | wxString * _arg1; | |
5753 | wxPoint * _arg2; | |
5754 | PyObject * _argo0 = 0; | |
5755 | PyObject * _obj1 = 0; | |
2348eaee RD |
5756 | wxPoint temp; |
5757 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5758 | char *_kwnames[] = { "self","text","point", NULL }; |
5759 | ||
5760 | self = self; | |
2348eaee | 5761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5762 | return NULL; |
5763 | if (_argo0) { | |
5764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p."); | |
5767 | return NULL; | |
5768 | } | |
5769 | } | |
5770 | { | |
185d7c3e RD |
5771 | #if PYTHON_API_VERSION >= 1009 |
5772 | char* tmpPtr; int tmpSize; | |
5773 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5774 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5775 | return NULL; | |
5776 | } | |
5777 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5778 | return NULL; | |
5779 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5780 | #else | |
e91a9dfc RD |
5781 | if (!PyString_Check(_obj1)) { |
5782 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5783 | return NULL; | |
5784 | } | |
185d7c3e RD |
5785 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
5786 | #endif | |
e91a9dfc | 5787 | } |
2348eaee RD |
5788 | { |
5789 | _arg2 = &temp; | |
5790 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5791 | return NULL; |
2348eaee | 5792 | } |
e91a9dfc RD |
5793 | { |
5794 | wxPy_BEGIN_ALLOW_THREADS; | |
5795 | wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2); | |
5796 | ||
5797 | wxPy_END_ALLOW_THREADS; | |
5798 | } Py_INCREF(Py_None); | |
5799 | _resultobj = Py_None; | |
5800 | { | |
5801 | if (_obj1) | |
5802 | delete _arg1; | |
5803 | } | |
5804 | return _resultobj; | |
5805 | } | |
5806 | ||
5807 | #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle()) | |
5808 | static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5809 | PyObject * _resultobj; | |
5810 | int _result; | |
5811 | wxPyDrawnShape * _arg0; | |
5812 | PyObject * _argo0 = 0; | |
5813 | char *_kwnames[] = { "self", NULL }; | |
5814 | ||
5815 | self = self; | |
5816 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0)) | |
5817 | return NULL; | |
5818 | if (_argo0) { | |
5819 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5820 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p."); | |
5822 | return NULL; | |
5823 | } | |
5824 | } | |
5825 | { | |
5826 | wxPy_BEGIN_ALLOW_THREADS; | |
5827 | _result = (int )wxPyDrawnShape_GetAngle(_arg0); | |
5828 | ||
5829 | wxPy_END_ALLOW_THREADS; | |
5830 | } _resultobj = Py_BuildValue("i",_result); | |
5831 | return _resultobj; | |
5832 | } | |
5833 | ||
5834 | #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
5835 | static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5836 | PyObject * _resultobj; | |
5837 | wxPseudoMetaFile * _result; | |
5838 | wxPyDrawnShape * _arg0; | |
5839 | PyObject * _argo0 = 0; | |
5840 | char *_kwnames[] = { "self", NULL }; | |
5841 | char _ptemp[128]; | |
5842 | ||
5843 | self = self; | |
5844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0)) | |
5845 | return NULL; | |
5846 | if (_argo0) { | |
5847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p."); | |
5850 | return NULL; | |
5851 | } | |
5852 | } | |
5853 | { | |
5854 | wxPy_BEGIN_ALLOW_THREADS; | |
5855 | wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0); | |
5856 | _result = (wxPseudoMetaFile *) &_result_ref; | |
5857 | ||
5858 | wxPy_END_ALLOW_THREADS; | |
5859 | } if (_result) { | |
5860 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
5861 | _resultobj = Py_BuildValue("s",_ptemp); | |
5862 | } else { | |
5863 | Py_INCREF(Py_None); | |
5864 | _resultobj = Py_None; | |
5865 | } | |
5866 | return _resultobj; | |
5867 | } | |
5868 | ||
5869 | #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
5870 | static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5871 | PyObject * _resultobj; | |
5872 | double _result; | |
5873 | wxPyDrawnShape * _arg0; | |
5874 | PyObject * _argo0 = 0; | |
5875 | char *_kwnames[] = { "self", NULL }; | |
5876 | ||
5877 | self = self; | |
5878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0)) | |
5879 | return NULL; | |
5880 | if (_argo0) { | |
5881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p."); | |
5884 | return NULL; | |
5885 | } | |
5886 | } | |
5887 | { | |
5888 | wxPy_BEGIN_ALLOW_THREADS; | |
5889 | _result = (double )wxPyDrawnShape_GetRotation(_arg0); | |
5890 | ||
5891 | wxPy_END_ALLOW_THREADS; | |
5892 | } _resultobj = Py_BuildValue("d",_result); | |
5893 | return _resultobj; | |
5894 | } | |
5895 | ||
5896 | #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0)) | |
5897 | static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5898 | PyObject * _resultobj; | |
5899 | bool _result; | |
5900 | wxPyDrawnShape * _arg0; | |
5901 | char * _arg1; | |
5902 | PyObject * _argo0 = 0; | |
5903 | char *_kwnames[] = { "self","filename", NULL }; | |
5904 | ||
5905 | self = self; | |
5906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1)) | |
5907 | return NULL; | |
5908 | if (_argo0) { | |
5909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p."); | |
5912 | return NULL; | |
5913 | } | |
5914 | } | |
5915 | { | |
5916 | wxPy_BEGIN_ALLOW_THREADS; | |
5917 | _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1); | |
5918 | ||
5919 | wxPy_END_ALLOW_THREADS; | |
5920 | } _resultobj = Py_BuildValue("i",_result); | |
5921 | return _resultobj; | |
5922 | } | |
5923 | ||
5924 | #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
5925 | static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5926 | PyObject * _resultobj; | |
5927 | wxPyDrawnShape * _arg0; | |
5928 | double _arg1; | |
5929 | double _arg2; | |
5930 | double _arg3; | |
5931 | PyObject * _argo0 = 0; | |
5932 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
5933 | ||
5934 | self = self; | |
5935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5936 | return NULL; | |
5937 | if (_argo0) { | |
5938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p."); | |
5941 | return NULL; | |
5942 | } | |
5943 | } | |
5944 | { | |
5945 | wxPy_BEGIN_ALLOW_THREADS; | |
5946 | wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3); | |
5947 | ||
5948 | wxPy_END_ALLOW_THREADS; | |
5949 | } Py_INCREF(Py_None); | |
5950 | _resultobj = Py_None; | |
5951 | return _resultobj; | |
5952 | } | |
5953 | ||
5954 | #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
5955 | static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5956 | PyObject * _resultobj; | |
5957 | wxPyDrawnShape * _arg0; | |
5958 | wxRect * _arg1; | |
5959 | PyObject * _argo0 = 0; | |
2348eaee RD |
5960 | wxRect temp; |
5961 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5962 | char *_kwnames[] = { "self","rect", NULL }; |
5963 | ||
5964 | self = self; | |
2348eaee | 5965 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5966 | return NULL; |
5967 | if (_argo0) { | |
5968 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5969 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5970 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p."); | |
5971 | return NULL; | |
5972 | } | |
5973 | } | |
2348eaee RD |
5974 | { |
5975 | _arg1 = &temp; | |
5976 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5977 | return NULL; |
2348eaee | 5978 | } |
e91a9dfc RD |
5979 | { |
5980 | wxPy_BEGIN_ALLOW_THREADS; | |
5981 | wxPyDrawnShape_SetClippingRect(_arg0,*_arg1); | |
5982 | ||
5983 | wxPy_END_ALLOW_THREADS; | |
5984 | } Py_INCREF(Py_None); | |
5985 | _resultobj = Py_None; | |
5986 | return _resultobj; | |
5987 | } | |
5988 | ||
5989 | #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0)) | |
5990 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5991 | PyObject * _resultobj; | |
5992 | wxPyDrawnShape * _arg0; | |
5993 | wxColour * _arg1; | |
5994 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
5995 | wxColour temp; |
5996 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5997 | char *_kwnames[] = { "self","colour", NULL }; |
5998 | ||
5999 | self = self; | |
f6bcfd97 | 6000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
6001 | return NULL; |
6002 | if (_argo0) { | |
6003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p."); | |
6006 | return NULL; | |
6007 | } | |
6008 | } | |
f6bcfd97 BP |
6009 | { |
6010 | _arg1 = &temp; | |
6011 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 6012 | return NULL; |
f6bcfd97 | 6013 | } |
e91a9dfc RD |
6014 | { |
6015 | wxPy_BEGIN_ALLOW_THREADS; | |
6016 | wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1); | |
6017 | ||
6018 | wxPy_END_ALLOW_THREADS; | |
6019 | } Py_INCREF(Py_None); | |
6020 | _resultobj = Py_None; | |
6021 | return _resultobj; | |
6022 | } | |
6023 | ||
6024 | #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0)) | |
6025 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6026 | PyObject * _resultobj; | |
6027 | wxPyDrawnShape * _arg0; | |
6028 | int _arg1; | |
6029 | PyObject * _argo0 = 0; | |
6030 | char *_kwnames[] = { "self","mode", NULL }; | |
6031 | ||
6032 | self = self; | |
6033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
6034 | return NULL; | |
6035 | if (_argo0) { | |
6036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p."); | |
6039 | return NULL; | |
6040 | } | |
6041 | } | |
6042 | { | |
6043 | wxPy_BEGIN_ALLOW_THREADS; | |
6044 | wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1); | |
6045 | ||
6046 | wxPy_END_ALLOW_THREADS; | |
6047 | } Py_INCREF(Py_None); | |
6048 | _resultobj = Py_None; | |
6049 | return _resultobj; | |
6050 | } | |
6051 | ||
6052 | #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1)) | |
6053 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6054 | PyObject * _resultobj; | |
6055 | wxPyDrawnShape * _arg0; | |
6056 | wxBrush * _arg1; | |
6057 | bool _arg2 = (bool ) FALSE; | |
6058 | PyObject * _argo0 = 0; | |
6059 | PyObject * _argo1 = 0; | |
6060 | int tempbool2 = (int) FALSE; | |
6061 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6062 | ||
6063 | self = self; | |
6064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6065 | return NULL; | |
6066 | if (_argo0) { | |
6067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p."); | |
6070 | return NULL; | |
6071 | } | |
6072 | } | |
6073 | if (_argo1) { | |
6074 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6075 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
6076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnBrush. Expected _wxBrush_p."); | |
6077 | return NULL; | |
6078 | } | |
6079 | } | |
6080 | _arg2 = (bool ) tempbool2; | |
6081 | { | |
6082 | wxPy_BEGIN_ALLOW_THREADS; | |
6083 | wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2); | |
6084 | ||
6085 | wxPy_END_ALLOW_THREADS; | |
6086 | } Py_INCREF(Py_None); | |
6087 | _resultobj = Py_None; | |
6088 | return _resultobj; | |
6089 | } | |
6090 | ||
6091 | #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0)) | |
6092 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6093 | PyObject * _resultobj; | |
6094 | wxPyDrawnShape * _arg0; | |
6095 | wxFont * _arg1; | |
6096 | PyObject * _argo0 = 0; | |
6097 | PyObject * _argo1 = 0; | |
6098 | char *_kwnames[] = { "self","font", NULL }; | |
6099 | ||
6100 | self = self; | |
6101 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_argo1)) | |
6102 | return NULL; | |
6103 | if (_argo0) { | |
6104 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6105 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p."); | |
6107 | return NULL; | |
6108 | } | |
6109 | } | |
6110 | if (_argo1) { | |
6111 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6112 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
6113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnFont. Expected _wxFont_p."); | |
6114 | return NULL; | |
6115 | } | |
6116 | } | |
6117 | { | |
6118 | wxPy_BEGIN_ALLOW_THREADS; | |
6119 | wxPyDrawnShape_SetDrawnFont(_arg0,_arg1); | |
6120 | ||
6121 | wxPy_END_ALLOW_THREADS; | |
6122 | } Py_INCREF(Py_None); | |
6123 | _resultobj = Py_None; | |
6124 | return _resultobj; | |
6125 | } | |
6126 | ||
6127 | #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1)) | |
6128 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6129 | PyObject * _resultobj; | |
6130 | wxPyDrawnShape * _arg0; | |
6131 | wxPen * _arg1; | |
6132 | bool _arg2 = (bool ) FALSE; | |
6133 | PyObject * _argo0 = 0; | |
6134 | PyObject * _argo1 = 0; | |
6135 | int tempbool2 = (int) FALSE; | |
6136 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6137 | ||
6138 | self = self; | |
6139 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6140 | return NULL; | |
6141 | if (_argo0) { | |
6142 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6143 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6144 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p."); | |
6145 | return NULL; | |
6146 | } | |
6147 | } | |
6148 | if (_argo1) { | |
6149 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6150 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
6151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnPen. Expected _wxPen_p."); | |
6152 | return NULL; | |
6153 | } | |
6154 | } | |
6155 | _arg2 = (bool ) tempbool2; | |
6156 | { | |
6157 | wxPy_BEGIN_ALLOW_THREADS; | |
6158 | wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2); | |
6159 | ||
6160 | wxPy_END_ALLOW_THREADS; | |
6161 | } Py_INCREF(Py_None); | |
6162 | _resultobj = Py_None; | |
6163 | return _resultobj; | |
6164 | } | |
6165 | ||
6166 | #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0)) | |
6167 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6168 | PyObject * _resultobj; | |
6169 | wxPyDrawnShape * _arg0; | |
6170 | wxColour * _arg1; | |
6171 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
6172 | wxColour temp; |
6173 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
6174 | char *_kwnames[] = { "self","colour", NULL }; |
6175 | ||
6176 | self = self; | |
f6bcfd97 | 6177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
6178 | return NULL; |
6179 | if (_argo0) { | |
6180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p."); | |
6183 | return NULL; | |
6184 | } | |
6185 | } | |
f6bcfd97 BP |
6186 | { |
6187 | _arg1 = &temp; | |
6188 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 6189 | return NULL; |
f6bcfd97 | 6190 | } |
e91a9dfc RD |
6191 | { |
6192 | wxPy_BEGIN_ALLOW_THREADS; | |
6193 | wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1); | |
6194 | ||
6195 | wxPy_END_ALLOW_THREADS; | |
6196 | } Py_INCREF(Py_None); | |
6197 | _resultobj = Py_None; | |
6198 | return _resultobj; | |
6199 | } | |
6200 | ||
6201 | #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
6202 | static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6203 | PyObject * _resultobj; | |
6204 | wxPyDrawnShape * _arg0; | |
6205 | double _arg1; | |
6206 | double _arg2; | |
6207 | PyObject * _argo0 = 0; | |
6208 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
6209 | ||
6210 | self = self; | |
6211 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6212 | return NULL; | |
6213 | if (_argo0) { | |
6214 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6215 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p."); | |
6217 | return NULL; | |
6218 | } | |
6219 | } | |
6220 | { | |
6221 | wxPy_BEGIN_ALLOW_THREADS; | |
6222 | wxPyDrawnShape_Scale(_arg0,_arg1,_arg2); | |
6223 | ||
6224 | wxPy_END_ALLOW_THREADS; | |
6225 | } Py_INCREF(Py_None); | |
6226 | _resultobj = Py_None; | |
6227 | return _resultobj; | |
6228 | } | |
6229 | ||
6230 | #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0)) | |
6231 | static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6232 | PyObject * _resultobj; | |
6233 | wxPyDrawnShape * _arg0; | |
6234 | bool _arg1; | |
6235 | PyObject * _argo0 = 0; | |
6236 | int tempbool1; | |
6237 | char *_kwnames[] = { "self","save", NULL }; | |
6238 | ||
6239 | self = self; | |
6240 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1)) | |
6241 | return NULL; | |
6242 | if (_argo0) { | |
6243 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6244 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6245 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p."); | |
6246 | return NULL; | |
6247 | } | |
6248 | } | |
6249 | _arg1 = (bool ) tempbool1; | |
6250 | { | |
6251 | wxPy_BEGIN_ALLOW_THREADS; | |
6252 | wxPyDrawnShape_SetSaveToFile(_arg0,_arg1); | |
6253 | ||
6254 | wxPy_END_ALLOW_THREADS; | |
6255 | } Py_INCREF(Py_None); | |
6256 | _resultobj = Py_None; | |
6257 | return _resultobj; | |
6258 | } | |
6259 | ||
6260 | #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
6261 | static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6262 | PyObject * _resultobj; | |
6263 | wxPyDrawnShape * _arg0; | |
6264 | double _arg1; | |
6265 | double _arg2; | |
6266 | PyObject * _argo0 = 0; | |
6267 | char *_kwnames[] = { "self","x","y", NULL }; | |
6268 | ||
6269 | self = self; | |
6270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6271 | return NULL; | |
6272 | if (_argo0) { | |
6273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p."); | |
6276 | return NULL; | |
6277 | } | |
6278 | } | |
6279 | { | |
6280 | wxPy_BEGIN_ALLOW_THREADS; | |
6281 | wxPyDrawnShape_Translate(_arg0,_arg1,_arg2); | |
6282 | ||
6283 | wxPy_END_ALLOW_THREADS; | |
6284 | } Py_INCREF(Py_None); | |
6285 | _resultobj = Py_None; | |
6286 | return _resultobj; | |
6287 | } | |
6288 | ||
6289 | #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6290 | static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6291 | PyObject * _resultobj; | |
6292 | wxPyDrawnShape * _arg0; | |
6293 | PyObject * _argo0 = 0; | |
6294 | char *_kwnames[] = { "self", NULL }; | |
6295 | ||
6296 | self = self; | |
6297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0)) | |
6298 | return NULL; | |
6299 | if (_argo0) { | |
6300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p."); | |
6303 | return NULL; | |
6304 | } | |
6305 | } | |
6306 | { | |
6307 | wxPy_BEGIN_ALLOW_THREADS; | |
6308 | wxPyDrawnShape_base_OnDelete(_arg0); | |
6309 | ||
6310 | wxPy_END_ALLOW_THREADS; | |
6311 | } Py_INCREF(Py_None); | |
6312 | _resultobj = Py_None; | |
6313 | return _resultobj; | |
6314 | } | |
6315 | ||
6316 | #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6317 | static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6318 | PyObject * _resultobj; | |
6319 | wxPyDrawnShape * _arg0; | |
6320 | wxDC * _arg1; | |
6321 | PyObject * _argo0 = 0; | |
6322 | PyObject * _argo1 = 0; | |
6323 | char *_kwnames[] = { "self","dc", NULL }; | |
6324 | ||
6325 | self = self; | |
6326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6327 | return NULL; | |
6328 | if (_argo0) { | |
6329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p."); | |
6332 | return NULL; | |
6333 | } | |
6334 | } | |
6335 | if (_argo1) { | |
6336 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6337 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p."); | |
6339 | return NULL; | |
6340 | } | |
6341 | } | |
6342 | { | |
6343 | wxPy_BEGIN_ALLOW_THREADS; | |
6344 | wxPyDrawnShape_base_OnDraw(_arg0,*_arg1); | |
6345 | ||
6346 | wxPy_END_ALLOW_THREADS; | |
6347 | } Py_INCREF(Py_None); | |
6348 | _resultobj = Py_None; | |
6349 | return _resultobj; | |
6350 | } | |
6351 | ||
6352 | #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6353 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6354 | PyObject * _resultobj; | |
6355 | wxPyDrawnShape * _arg0; | |
6356 | wxDC * _arg1; | |
6357 | PyObject * _argo0 = 0; | |
6358 | PyObject * _argo1 = 0; | |
6359 | char *_kwnames[] = { "self","dc", NULL }; | |
6360 | ||
6361 | self = self; | |
6362 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6363 | return NULL; | |
6364 | if (_argo0) { | |
6365 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6366 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p."); | |
6368 | return NULL; | |
6369 | } | |
6370 | } | |
6371 | if (_argo1) { | |
6372 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6373 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p."); | |
6375 | return NULL; | |
6376 | } | |
6377 | } | |
6378 | { | |
6379 | wxPy_BEGIN_ALLOW_THREADS; | |
6380 | wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1); | |
6381 | ||
6382 | wxPy_END_ALLOW_THREADS; | |
6383 | } Py_INCREF(Py_None); | |
6384 | _resultobj = Py_None; | |
6385 | return _resultobj; | |
6386 | } | |
6387 | ||
6388 | #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6389 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6390 | PyObject * _resultobj; | |
6391 | wxPyDrawnShape * _arg0; | |
6392 | wxDC * _arg1; | |
6393 | bool _arg2 = (bool ) FALSE; | |
6394 | PyObject * _argo0 = 0; | |
6395 | PyObject * _argo1 = 0; | |
6396 | int tempbool2 = (int) FALSE; | |
6397 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6398 | ||
6399 | self = self; | |
6400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6401 | return NULL; | |
6402 | if (_argo0) { | |
6403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p."); | |
6406 | return NULL; | |
6407 | } | |
6408 | } | |
6409 | if (_argo1) { | |
6410 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6411 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6413 | return NULL; | |
6414 | } | |
6415 | } | |
6416 | _arg2 = (bool ) tempbool2; | |
6417 | { | |
6418 | wxPy_BEGIN_ALLOW_THREADS; | |
6419 | wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6420 | ||
6421 | wxPy_END_ALLOW_THREADS; | |
6422 | } Py_INCREF(Py_None); | |
6423 | _resultobj = Py_None; | |
6424 | return _resultobj; | |
6425 | } | |
6426 | ||
6427 | #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6428 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6429 | PyObject * _resultobj; | |
6430 | wxPyDrawnShape * _arg0; | |
6431 | wxDC * _arg1; | |
6432 | PyObject * _argo0 = 0; | |
6433 | PyObject * _argo1 = 0; | |
6434 | char *_kwnames[] = { "self","dc", NULL }; | |
6435 | ||
6436 | self = self; | |
6437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6438 | return NULL; | |
6439 | if (_argo0) { | |
6440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p."); | |
6443 | return NULL; | |
6444 | } | |
6445 | } | |
6446 | if (_argo1) { | |
6447 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6448 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6450 | return NULL; | |
6451 | } | |
6452 | } | |
6453 | { | |
6454 | wxPy_BEGIN_ALLOW_THREADS; | |
6455 | wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1); | |
6456 | ||
6457 | wxPy_END_ALLOW_THREADS; | |
6458 | } Py_INCREF(Py_None); | |
6459 | _resultobj = Py_None; | |
6460 | return _resultobj; | |
6461 | } | |
6462 | ||
6463 | #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6464 | static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6465 | PyObject * _resultobj; | |
6466 | wxPyDrawnShape * _arg0; | |
6467 | wxDC * _arg1; | |
6468 | PyObject * _argo0 = 0; | |
6469 | PyObject * _argo1 = 0; | |
6470 | char *_kwnames[] = { "self","dc", NULL }; | |
6471 | ||
6472 | self = self; | |
6473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6474 | return NULL; | |
6475 | if (_argo0) { | |
6476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p."); | |
6479 | return NULL; | |
6480 | } | |
6481 | } | |
6482 | if (_argo1) { | |
6483 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6484 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p."); | |
6486 | return NULL; | |
6487 | } | |
6488 | } | |
6489 | { | |
6490 | wxPy_BEGIN_ALLOW_THREADS; | |
6491 | wxPyDrawnShape_base_OnErase(_arg0,*_arg1); | |
6492 | ||
6493 | wxPy_END_ALLOW_THREADS; | |
6494 | } Py_INCREF(Py_None); | |
6495 | _resultobj = Py_None; | |
6496 | return _resultobj; | |
6497 | } | |
6498 | ||
6499 | #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6500 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6501 | PyObject * _resultobj; | |
6502 | wxPyDrawnShape * _arg0; | |
6503 | wxDC * _arg1; | |
6504 | PyObject * _argo0 = 0; | |
6505 | PyObject * _argo1 = 0; | |
6506 | char *_kwnames[] = { "self","dc", NULL }; | |
6507 | ||
6508 | self = self; | |
6509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6510 | return NULL; | |
6511 | if (_argo0) { | |
6512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p."); | |
6515 | return NULL; | |
6516 | } | |
6517 | } | |
6518 | if (_argo1) { | |
6519 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6520 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p."); | |
6522 | return NULL; | |
6523 | } | |
6524 | } | |
6525 | { | |
6526 | wxPy_BEGIN_ALLOW_THREADS; | |
6527 | wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1); | |
6528 | ||
6529 | wxPy_END_ALLOW_THREADS; | |
6530 | } Py_INCREF(Py_None); | |
6531 | _resultobj = Py_None; | |
6532 | return _resultobj; | |
6533 | } | |
6534 | ||
6535 | #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6536 | static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6537 | PyObject * _resultobj; | |
6538 | wxPyDrawnShape * _arg0; | |
6539 | wxDC * _arg1; | |
6540 | PyObject * _argo0 = 0; | |
6541 | PyObject * _argo1 = 0; | |
6542 | char *_kwnames[] = { "self","dc", NULL }; | |
6543 | ||
6544 | self = self; | |
6545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6546 | return NULL; | |
6547 | if (_argo0) { | |
6548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p."); | |
6551 | return NULL; | |
6552 | } | |
6553 | } | |
6554 | if (_argo1) { | |
6555 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6556 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p."); | |
6558 | return NULL; | |
6559 | } | |
6560 | } | |
6561 | { | |
6562 | wxPy_BEGIN_ALLOW_THREADS; | |
6563 | wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1); | |
6564 | ||
6565 | wxPy_END_ALLOW_THREADS; | |
6566 | } Py_INCREF(Py_None); | |
6567 | _resultobj = Py_None; | |
6568 | return _resultobj; | |
6569 | } | |
6570 | ||
6571 | #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6572 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6573 | PyObject * _resultobj; | |
6574 | wxPyDrawnShape * _arg0; | |
6575 | double _arg1; | |
6576 | double _arg2; | |
6577 | int _arg3 = (int ) 0; | |
6578 | int _arg4 = (int ) 0; | |
6579 | PyObject * _argo0 = 0; | |
6580 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6581 | ||
6582 | self = self; | |
6583 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6584 | return NULL; | |
6585 | if (_argo0) { | |
6586 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6587 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6588 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p."); | |
6589 | return NULL; | |
6590 | } | |
6591 | } | |
6592 | { | |
6593 | wxPy_BEGIN_ALLOW_THREADS; | |
6594 | wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6595 | ||
6596 | wxPy_END_ALLOW_THREADS; | |
6597 | } Py_INCREF(Py_None); | |
6598 | _resultobj = Py_None; | |
6599 | return _resultobj; | |
6600 | } | |
6601 | ||
6602 | #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6603 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6604 | PyObject * _resultobj; | |
6605 | wxPyDrawnShape * _arg0; | |
6606 | double _arg1; | |
6607 | double _arg2; | |
6608 | int _arg3 = (int ) 0; | |
6609 | int _arg4 = (int ) 0; | |
6610 | PyObject * _argo0 = 0; | |
6611 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6612 | ||
6613 | self = self; | |
6614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6615 | return NULL; | |
6616 | if (_argo0) { | |
6617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p."); | |
6620 | return NULL; | |
6621 | } | |
6622 | } | |
6623 | { | |
6624 | wxPy_BEGIN_ALLOW_THREADS; | |
6625 | wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6626 | ||
6627 | wxPy_END_ALLOW_THREADS; | |
6628 | } Py_INCREF(Py_None); | |
6629 | _resultobj = Py_None; | |
6630 | return _resultobj; | |
6631 | } | |
6632 | ||
6633 | #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6634 | static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6635 | PyObject * _resultobj; | |
6636 | wxPyDrawnShape * _arg0; | |
6637 | double _arg1; | |
6638 | double _arg2; | |
6639 | int _arg3 = (int ) 0; | |
6640 | int _arg4 = (int ) 0; | |
6641 | PyObject * _argo0 = 0; | |
6642 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6643 | ||
6644 | self = self; | |
6645 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6646 | return NULL; | |
6647 | if (_argo0) { | |
6648 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6649 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p."); | |
6651 | return NULL; | |
6652 | } | |
6653 | } | |
6654 | { | |
6655 | wxPy_BEGIN_ALLOW_THREADS; | |
6656 | wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6657 | ||
6658 | wxPy_END_ALLOW_THREADS; | |
6659 | } Py_INCREF(Py_None); | |
6660 | _resultobj = Py_None; | |
6661 | return _resultobj; | |
6662 | } | |
6663 | ||
6664 | #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
6665 | static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6666 | PyObject * _resultobj; | |
6667 | wxPyDrawnShape * _arg0; | |
6668 | double _arg1; | |
6669 | double _arg2; | |
6670 | PyObject * _argo0 = 0; | |
6671 | char *_kwnames[] = { "self","x","y", NULL }; | |
6672 | ||
6673 | self = self; | |
6674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6675 | return NULL; | |
6676 | if (_argo0) { | |
6677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p."); | |
6680 | return NULL; | |
6681 | } | |
6682 | } | |
6683 | { | |
6684 | wxPy_BEGIN_ALLOW_THREADS; | |
6685 | wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2); | |
6686 | ||
6687 | wxPy_END_ALLOW_THREADS; | |
6688 | } Py_INCREF(Py_None); | |
6689 | _resultobj = Py_None; | |
6690 | return _resultobj; | |
6691 | } | |
6692 | ||
6693 | #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6694 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6695 | PyObject * _resultobj; | |
6696 | bool _result; | |
6697 | wxPyDrawnShape * _arg0; | |
6698 | wxDC * _arg1; | |
6699 | double _arg2; | |
6700 | double _arg3; | |
6701 | double _arg4; | |
6702 | double _arg5; | |
6703 | bool _arg6 = (bool ) TRUE; | |
6704 | PyObject * _argo0 = 0; | |
6705 | PyObject * _argo1 = 0; | |
6706 | int tempbool6 = (int) TRUE; | |
6707 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6708 | ||
6709 | self = self; | |
6710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6711 | return NULL; | |
6712 | if (_argo0) { | |
6713 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6714 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p."); | |
6716 | return NULL; | |
6717 | } | |
6718 | } | |
6719 | if (_argo1) { | |
6720 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6721 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6722 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p."); | |
6723 | return NULL; | |
6724 | } | |
6725 | } | |
6726 | _arg6 = (bool ) tempbool6; | |
6727 | { | |
6728 | wxPy_BEGIN_ALLOW_THREADS; | |
6729 | _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6730 | ||
6731 | wxPy_END_ALLOW_THREADS; | |
6732 | } _resultobj = Py_BuildValue("i",_result); | |
6733 | return _resultobj; | |
6734 | } | |
6735 | ||
6736 | #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6737 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6738 | PyObject * _resultobj; | |
6739 | wxPyDrawnShape * _arg0; | |
6740 | wxDC * _arg1; | |
6741 | double _arg2; | |
6742 | double _arg3; | |
6743 | double _arg4; | |
6744 | double _arg5; | |
6745 | bool _arg6 = (bool ) TRUE; | |
6746 | PyObject * _argo0 = 0; | |
6747 | PyObject * _argo1 = 0; | |
6748 | int tempbool6 = (int) TRUE; | |
6749 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6750 | ||
6751 | self = self; | |
6752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6753 | return NULL; | |
6754 | if (_argo0) { | |
6755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p."); | |
6758 | return NULL; | |
6759 | } | |
6760 | } | |
6761 | if (_argo1) { | |
6762 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6763 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p."); | |
6765 | return NULL; | |
6766 | } | |
6767 | } | |
6768 | _arg6 = (bool ) tempbool6; | |
6769 | { | |
6770 | wxPy_BEGIN_ALLOW_THREADS; | |
6771 | wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6772 | ||
6773 | wxPy_END_ALLOW_THREADS; | |
6774 | } Py_INCREF(Py_None); | |
6775 | _resultobj = Py_None; | |
6776 | return _resultobj; | |
6777 | } | |
6778 | ||
6779 | #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6780 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6781 | PyObject * _resultobj; | |
6782 | wxPyDrawnShape * _arg0; | |
6783 | bool _arg1; | |
6784 | double _arg2; | |
6785 | double _arg3; | |
6786 | int _arg4 = (int ) 0; | |
6787 | int _arg5 = (int ) 0; | |
6788 | PyObject * _argo0 = 0; | |
6789 | int tempbool1; | |
6790 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6791 | ||
6792 | self = self; | |
6793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6794 | return NULL; | |
6795 | if (_argo0) { | |
6796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p."); | |
6799 | return NULL; | |
6800 | } | |
6801 | } | |
6802 | _arg1 = (bool ) tempbool1; | |
6803 | { | |
6804 | wxPy_BEGIN_ALLOW_THREADS; | |
6805 | wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6806 | ||
6807 | wxPy_END_ALLOW_THREADS; | |
6808 | } Py_INCREF(Py_None); | |
6809 | _resultobj = Py_None; | |
6810 | return _resultobj; | |
6811 | } | |
6812 | ||
6813 | #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6814 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6815 | PyObject * _resultobj; | |
6816 | wxPyDrawnShape * _arg0; | |
6817 | double _arg1; | |
6818 | double _arg2; | |
6819 | int _arg3 = (int ) 0; | |
6820 | int _arg4 = (int ) 0; | |
6821 | PyObject * _argo0 = 0; | |
6822 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6823 | ||
6824 | self = self; | |
6825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6826 | return NULL; | |
6827 | if (_argo0) { | |
6828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
6831 | return NULL; | |
6832 | } | |
6833 | } | |
6834 | { | |
6835 | wxPy_BEGIN_ALLOW_THREADS; | |
6836 | wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6837 | ||
6838 | wxPy_END_ALLOW_THREADS; | |
6839 | } Py_INCREF(Py_None); | |
6840 | _resultobj = Py_None; | |
6841 | return _resultobj; | |
6842 | } | |
6843 | ||
6844 | #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6845 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6846 | PyObject * _resultobj; | |
6847 | wxPyDrawnShape * _arg0; | |
6848 | double _arg1; | |
6849 | double _arg2; | |
6850 | int _arg3 = (int ) 0; | |
6851 | int _arg4 = (int ) 0; | |
6852 | PyObject * _argo0 = 0; | |
6853 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6854 | ||
6855 | self = self; | |
6856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6857 | return NULL; | |
6858 | if (_argo0) { | |
6859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p."); | |
6862 | return NULL; | |
6863 | } | |
6864 | } | |
6865 | { | |
6866 | wxPy_BEGIN_ALLOW_THREADS; | |
6867 | wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6868 | ||
6869 | wxPy_END_ALLOW_THREADS; | |
6870 | } Py_INCREF(Py_None); | |
6871 | _resultobj = Py_None; | |
6872 | return _resultobj; | |
6873 | } | |
6874 | ||
6875 | #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6876 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6877 | PyObject * _resultobj; | |
6878 | wxPyDrawnShape * _arg0; | |
6879 | bool _arg1; | |
6880 | double _arg2; | |
6881 | double _arg3; | |
6882 | int _arg4 = (int ) 0; | |
6883 | int _arg5 = (int ) 0; | |
6884 | PyObject * _argo0 = 0; | |
6885 | int tempbool1; | |
6886 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6887 | ||
6888 | self = self; | |
6889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6890 | return NULL; | |
6891 | if (_argo0) { | |
6892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p."); | |
6895 | return NULL; | |
6896 | } | |
6897 | } | |
6898 | _arg1 = (bool ) tempbool1; | |
6899 | { | |
6900 | wxPy_BEGIN_ALLOW_THREADS; | |
6901 | wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6902 | ||
6903 | wxPy_END_ALLOW_THREADS; | |
6904 | } Py_INCREF(Py_None); | |
6905 | _resultobj = Py_None; | |
6906 | return _resultobj; | |
6907 | } | |
6908 | ||
6909 | #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6910 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6911 | PyObject * _resultobj; | |
6912 | wxPyDrawnShape * _arg0; | |
6913 | double _arg1; | |
6914 | double _arg2; | |
6915 | int _arg3 = (int ) 0; | |
6916 | int _arg4 = (int ) 0; | |
6917 | PyObject * _argo0 = 0; | |
6918 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6919 | ||
6920 | self = self; | |
6921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6922 | return NULL; | |
6923 | if (_argo0) { | |
6924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p."); | |
6927 | return NULL; | |
6928 | } | |
6929 | } | |
6930 | { | |
6931 | wxPy_BEGIN_ALLOW_THREADS; | |
6932 | wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6933 | ||
6934 | wxPy_END_ALLOW_THREADS; | |
6935 | } Py_INCREF(Py_None); | |
6936 | _resultobj = Py_None; | |
6937 | return _resultobj; | |
6938 | } | |
6939 | ||
6940 | #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6941 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6942 | PyObject * _resultobj; | |
6943 | wxPyDrawnShape * _arg0; | |
6944 | double _arg1; | |
6945 | double _arg2; | |
6946 | int _arg3 = (int ) 0; | |
6947 | int _arg4 = (int ) 0; | |
6948 | PyObject * _argo0 = 0; | |
6949 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6950 | ||
6951 | self = self; | |
6952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6953 | return NULL; | |
6954 | if (_argo0) { | |
6955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p."); | |
6958 | return NULL; | |
6959 | } | |
6960 | } | |
6961 | { | |
6962 | wxPy_BEGIN_ALLOW_THREADS; | |
6963 | wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6964 | ||
6965 | wxPy_END_ALLOW_THREADS; | |
6966 | } Py_INCREF(Py_None); | |
6967 | _resultobj = Py_None; | |
6968 | return _resultobj; | |
6969 | } | |
6970 | ||
6971 | #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6972 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6973 | PyObject * _resultobj; | |
6974 | wxPyDrawnShape * _arg0; | |
6975 | wxDC * _arg1; | |
6976 | double _arg2; | |
6977 | double _arg3; | |
6978 | double _arg4; | |
6979 | double _arg5; | |
6980 | PyObject * _argo0 = 0; | |
6981 | PyObject * _argo1 = 0; | |
6982 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
6983 | ||
6984 | self = self; | |
6985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6986 | return NULL; | |
6987 | if (_argo0) { | |
6988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p."); | |
6991 | return NULL; | |
6992 | } | |
6993 | } | |
6994 | if (_argo1) { | |
6995 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6996 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p."); | |
6998 | return NULL; | |
6999 | } | |
7000 | } | |
7001 | { | |
7002 | wxPy_BEGIN_ALLOW_THREADS; | |
7003 | wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7004 | ||
7005 | wxPy_END_ALLOW_THREADS; | |
7006 | } Py_INCREF(Py_None); | |
7007 | _resultobj = Py_None; | |
7008 | return _resultobj; | |
7009 | } | |
7010 | ||
7011 | #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7012 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7013 | PyObject * _resultobj; | |
7014 | wxPyDrawnShape * _arg0; | |
7015 | wxDC * _arg1; | |
7016 | PyObject * _argo0 = 0; | |
7017 | PyObject * _argo1 = 0; | |
7018 | char *_kwnames[] = { "self","dc", NULL }; | |
7019 | ||
7020 | self = self; | |
7021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7022 | return NULL; | |
7023 | if (_argo0) { | |
7024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p."); | |
7027 | return NULL; | |
7028 | } | |
7029 | } | |
7030 | if (_argo1) { | |
7031 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7032 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7034 | return NULL; | |
7035 | } | |
7036 | } | |
7037 | { | |
7038 | wxPy_BEGIN_ALLOW_THREADS; | |
7039 | wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7040 | ||
7041 | wxPy_END_ALLOW_THREADS; | |
7042 | } Py_INCREF(Py_None); | |
7043 | _resultobj = Py_None; | |
7044 | return _resultobj; | |
7045 | } | |
7046 | ||
7047 | #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7048 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7049 | PyObject * _resultobj; | |
7050 | wxPyDrawnShape * _arg0; | |
7051 | wxDC * _arg1; | |
7052 | PyObject * _argo0 = 0; | |
7053 | PyObject * _argo1 = 0; | |
7054 | char *_kwnames[] = { "self","dc", NULL }; | |
7055 | ||
7056 | self = self; | |
7057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7058 | return NULL; | |
7059 | if (_argo0) { | |
7060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p."); | |
7063 | return NULL; | |
7064 | } | |
7065 | } | |
7066 | if (_argo1) { | |
7067 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7068 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7070 | return NULL; | |
7071 | } | |
7072 | } | |
7073 | { | |
7074 | wxPy_BEGIN_ALLOW_THREADS; | |
7075 | wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7076 | ||
7077 | wxPy_END_ALLOW_THREADS; | |
7078 | } Py_INCREF(Py_None); | |
7079 | _resultobj = Py_None; | |
7080 | return _resultobj; | |
7081 | } | |
7082 | ||
7083 | #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7084 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7085 | PyObject * _resultobj; | |
7086 | wxPyDrawnShape * _arg0; | |
7087 | wxDC * _arg1; | |
7088 | bool _arg2 = (bool ) TRUE; | |
7089 | PyObject * _argo0 = 0; | |
7090 | PyObject * _argo1 = 0; | |
7091 | int tempbool2 = (int) TRUE; | |
7092 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7093 | ||
7094 | self = self; | |
7095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7096 | return NULL; | |
7097 | if (_argo0) { | |
7098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p."); | |
7101 | return NULL; | |
7102 | } | |
7103 | } | |
7104 | if (_argo1) { | |
7105 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7106 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p."); | |
7108 | return NULL; | |
7109 | } | |
7110 | } | |
7111 | _arg2 = (bool ) tempbool2; | |
7112 | { | |
7113 | wxPy_BEGIN_ALLOW_THREADS; | |
7114 | wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7115 | ||
7116 | wxPy_END_ALLOW_THREADS; | |
7117 | } Py_INCREF(Py_None); | |
7118 | _resultobj = Py_None; | |
7119 | return _resultobj; | |
7120 | } | |
7121 | ||
7122 | #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7123 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7124 | PyObject * _resultobj; | |
7125 | wxPyDrawnShape * _arg0; | |
2348eaee | 7126 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7127 | bool _arg2; |
7128 | double _arg3; | |
7129 | double _arg4; | |
7130 | int _arg5 = (int ) 0; | |
7131 | int _arg6 = (int ) 0; | |
7132 | PyObject * _argo0 = 0; | |
7133 | PyObject * _argo1 = 0; | |
7134 | int tempbool2; | |
7135 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7136 | ||
7137 | self = self; | |
7138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7139 | return NULL; | |
7140 | if (_argo0) { | |
7141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p."); | |
7144 | return NULL; | |
7145 | } | |
7146 | } | |
7147 | if (_argo1) { | |
7148 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7149 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7151 | return NULL; |
7152 | } | |
7153 | } | |
7154 | _arg2 = (bool ) tempbool2; | |
7155 | { | |
7156 | wxPy_BEGIN_ALLOW_THREADS; | |
7157 | wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7158 | ||
7159 | wxPy_END_ALLOW_THREADS; | |
7160 | } Py_INCREF(Py_None); | |
7161 | _resultobj = Py_None; | |
7162 | return _resultobj; | |
7163 | } | |
7164 | ||
7165 | #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7166 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7167 | PyObject * _resultobj; | |
7168 | wxPyDrawnShape * _arg0; | |
2348eaee | 7169 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7170 | double _arg2; |
7171 | double _arg3; | |
7172 | int _arg4 = (int ) 0; | |
7173 | int _arg5 = (int ) 0; | |
7174 | PyObject * _argo0 = 0; | |
7175 | PyObject * _argo1 = 0; | |
7176 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7177 | ||
7178 | self = self; | |
7179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7180 | return NULL; | |
7181 | if (_argo0) { | |
7182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
7185 | return NULL; | |
7186 | } | |
7187 | } | |
7188 | if (_argo1) { | |
7189 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7190 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7192 | return NULL; |
7193 | } | |
7194 | } | |
7195 | { | |
7196 | wxPy_BEGIN_ALLOW_THREADS; | |
7197 | wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7198 | ||
7199 | wxPy_END_ALLOW_THREADS; | |
7200 | } Py_INCREF(Py_None); | |
7201 | _resultobj = Py_None; | |
7202 | return _resultobj; | |
7203 | } | |
7204 | ||
7205 | #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7206 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7207 | PyObject * _resultobj; | |
7208 | wxPyDrawnShape * _arg0; | |
2348eaee | 7209 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7210 | double _arg2; |
7211 | double _arg3; | |
7212 | int _arg4 = (int ) 0; | |
7213 | int _arg5 = (int ) 0; | |
7214 | PyObject * _argo0 = 0; | |
7215 | PyObject * _argo1 = 0; | |
7216 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7217 | ||
7218 | self = self; | |
7219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7220 | return NULL; | |
7221 | if (_argo0) { | |
7222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p."); | |
7225 | return NULL; | |
7226 | } | |
7227 | } | |
7228 | if (_argo1) { | |
7229 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7230 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7232 | return NULL; |
7233 | } | |
7234 | } | |
7235 | { | |
7236 | wxPy_BEGIN_ALLOW_THREADS; | |
7237 | wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7238 | ||
7239 | wxPy_END_ALLOW_THREADS; | |
7240 | } Py_INCREF(Py_None); | |
7241 | _resultobj = Py_None; | |
7242 | return _resultobj; | |
7243 | } | |
7244 | ||
7245 | #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7246 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7247 | PyObject * _resultobj; | |
7248 | wxPyDrawnShape * _arg0; | |
7249 | double _arg1; | |
7250 | double _arg2; | |
7251 | PyObject * _argo0 = 0; | |
7252 | char *_kwnames[] = { "self","w","h", NULL }; | |
7253 | ||
7254 | self = self; | |
7255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7256 | return NULL; | |
7257 | if (_argo0) { | |
7258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p."); | |
7261 | return NULL; | |
7262 | } | |
7263 | } | |
7264 | { | |
7265 | wxPy_BEGIN_ALLOW_THREADS; | |
7266 | wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7267 | ||
7268 | wxPy_END_ALLOW_THREADS; | |
7269 | } Py_INCREF(Py_None); | |
7270 | _resultobj = Py_None; | |
7271 | return _resultobj; | |
7272 | } | |
7273 | ||
7274 | #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7275 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7276 | PyObject * _resultobj; | |
7277 | wxPyDrawnShape * _arg0; | |
7278 | double _arg1; | |
7279 | double _arg2; | |
7280 | PyObject * _argo0 = 0; | |
7281 | char *_kwnames[] = { "self","w","h", NULL }; | |
7282 | ||
7283 | self = self; | |
7284 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7285 | return NULL; | |
7286 | if (_argo0) { | |
7287 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7288 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7289 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p."); | |
7290 | return NULL; | |
7291 | } | |
7292 | } | |
7293 | { | |
7294 | wxPy_BEGIN_ALLOW_THREADS; | |
7295 | wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7296 | ||
7297 | wxPy_END_ALLOW_THREADS; | |
7298 | } Py_INCREF(Py_None); | |
7299 | _resultobj = Py_None; | |
7300 | return _resultobj; | |
7301 | } | |
7302 | ||
7303 | static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) { | |
99ab9f3b | 7304 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); |
e91a9dfc RD |
7305 | wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list); |
7306 | delete list; | |
7307 | return rv; | |
7308 | } | |
7309 | ||
7310 | static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7311 | PyObject * _resultobj; | |
7312 | wxOGLConstraint * _result; | |
7313 | int _arg0; | |
7314 | wxPyShape * _arg1; | |
7315 | PyObject * _arg2; | |
7316 | PyObject * _argo1 = 0; | |
7317 | PyObject * _obj2 = 0; | |
7318 | char *_kwnames[] = { "type","constraining","constrained", NULL }; | |
7319 | char _ptemp[128]; | |
7320 | ||
7321 | self = self; | |
7322 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2)) | |
7323 | return NULL; | |
7324 | if (_argo1) { | |
7325 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7326 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7327 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p."); | |
7328 | return NULL; | |
7329 | } | |
7330 | } | |
7331 | { | |
7332 | _arg2 = _obj2; | |
7333 | } | |
7334 | { | |
7335 | wxPy_BEGIN_ALLOW_THREADS; | |
7336 | _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2); | |
7337 | ||
7338 | wxPy_END_ALLOW_THREADS; | |
7339 | } if (_result) { | |
7340 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7341 | _resultobj = Py_BuildValue("s",_ptemp); | |
7342 | } else { | |
7343 | Py_INCREF(Py_None); | |
7344 | _resultobj = Py_None; | |
7345 | } | |
7346 | return _resultobj; | |
7347 | } | |
7348 | ||
7349 | #define delete_wxOGLConstraint(_swigobj) (delete _swigobj) | |
7350 | static PyObject *_wrap_delete_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7351 | PyObject * _resultobj; | |
7352 | wxOGLConstraint * _arg0; | |
7353 | PyObject * _argo0 = 0; | |
7354 | char *_kwnames[] = { "self", NULL }; | |
7355 | ||
7356 | self = self; | |
7357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxOGLConstraint",_kwnames,&_argo0)) | |
7358 | return NULL; | |
7359 | if (_argo0) { | |
7360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxOGLConstraint. Expected _wxOGLConstraint_p."); | |
7363 | return NULL; | |
7364 | } | |
7365 | } | |
7366 | { | |
7367 | wxPy_BEGIN_ALLOW_THREADS; | |
7368 | delete_wxOGLConstraint(_arg0); | |
7369 | ||
7370 | wxPy_END_ALLOW_THREADS; | |
7371 | } Py_INCREF(Py_None); | |
7372 | _resultobj = Py_None; | |
7373 | return _resultobj; | |
7374 | } | |
7375 | ||
7376 | #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate()) | |
7377 | static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7378 | PyObject * _resultobj; | |
7379 | bool _result; | |
7380 | wxOGLConstraint * _arg0; | |
7381 | PyObject * _argo0 = 0; | |
7382 | char *_kwnames[] = { "self", NULL }; | |
7383 | ||
7384 | self = self; | |
7385 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0)) | |
7386 | return NULL; | |
7387 | if (_argo0) { | |
7388 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7389 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7390 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p."); | |
7391 | return NULL; | |
7392 | } | |
7393 | } | |
7394 | { | |
7395 | wxPy_BEGIN_ALLOW_THREADS; | |
7396 | _result = (bool )wxOGLConstraint_Evaluate(_arg0); | |
7397 | ||
7398 | wxPy_END_ALLOW_THREADS; | |
7399 | } _resultobj = Py_BuildValue("i",_result); | |
7400 | return _resultobj; | |
7401 | } | |
7402 | ||
7403 | #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1)) | |
7404 | static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7405 | PyObject * _resultobj; | |
7406 | wxOGLConstraint * _arg0; | |
7407 | double _arg1; | |
7408 | double _arg2; | |
7409 | PyObject * _argo0 = 0; | |
7410 | char *_kwnames[] = { "self","x","y", NULL }; | |
7411 | ||
7412 | self = self; | |
7413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7414 | return NULL; | |
7415 | if (_argo0) { | |
7416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p."); | |
7419 | return NULL; | |
7420 | } | |
7421 | } | |
7422 | { | |
7423 | wxPy_BEGIN_ALLOW_THREADS; | |
7424 | wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2); | |
7425 | ||
7426 | wxPy_END_ALLOW_THREADS; | |
7427 | } Py_INCREF(Py_None); | |
7428 | _resultobj = Py_None; | |
7429 | return _resultobj; | |
7430 | } | |
7431 | ||
7432 | #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1)) | |
7433 | static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7434 | PyObject * _resultobj; | |
7435 | bool _result; | |
7436 | wxOGLConstraint * _arg0; | |
7437 | double _arg1; | |
7438 | double _arg2; | |
7439 | PyObject * _argo0 = 0; | |
7440 | char *_kwnames[] = { "self","a","b", NULL }; | |
7441 | ||
7442 | self = self; | |
7443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7444 | return NULL; | |
7445 | if (_argo0) { | |
7446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p."); | |
7449 | return NULL; | |
7450 | } | |
7451 | } | |
7452 | { | |
7453 | wxPy_BEGIN_ALLOW_THREADS; | |
7454 | _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2); | |
7455 | ||
7456 | wxPy_END_ALLOW_THREADS; | |
7457 | } _resultobj = Py_BuildValue("i",_result); | |
7458 | return _resultobj; | |
7459 | } | |
7460 | ||
7461 | static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) { | |
7462 | wxPyCompositeShape *src; | |
7463 | wxPyRectangleShape *dest; | |
7464 | src = (wxPyCompositeShape *) ptr; | |
7465 | dest = (wxPyRectangleShape *) src; | |
7466 | return (void *) dest; | |
7467 | } | |
7468 | ||
7469 | static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) { | |
7470 | wxPyCompositeShape *src; | |
7471 | wxPyShape *dest; | |
7472 | src = (wxPyCompositeShape *) ptr; | |
7473 | dest = (wxPyShape *) src; | |
7474 | return (void *) dest; | |
7475 | } | |
7476 | ||
7477 | static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) { | |
7478 | wxPyCompositeShape *src; | |
7479 | wxPyShapeEvtHandler *dest; | |
7480 | src = (wxPyCompositeShape *) ptr; | |
7481 | dest = (wxPyShapeEvtHandler *) src; | |
7482 | return (void *) dest; | |
7483 | } | |
7484 | ||
7485 | #define new_wxPyCompositeShape() (new wxPyCompositeShape()) | |
7486 | static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7487 | PyObject * _resultobj; | |
7488 | wxPyCompositeShape * _result; | |
7489 | char *_kwnames[] = { NULL }; | |
7490 | char _ptemp[128]; | |
7491 | ||
7492 | self = self; | |
7493 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames)) | |
7494 | return NULL; | |
7495 | { | |
7496 | wxPy_BEGIN_ALLOW_THREADS; | |
7497 | _result = (wxPyCompositeShape *)new_wxPyCompositeShape(); | |
7498 | ||
7499 | wxPy_END_ALLOW_THREADS; | |
7500 | } if (_result) { | |
7501 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p"); | |
7502 | _resultobj = Py_BuildValue("s",_ptemp); | |
7503 | } else { | |
7504 | Py_INCREF(Py_None); | |
7505 | _resultobj = Py_None; | |
7506 | } | |
7507 | return _resultobj; | |
7508 | } | |
7509 | ||
f6bcfd97 | 7510 | #define wxPyCompositeShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
7511 | static PyObject *_wrap_wxPyCompositeShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
7512 | PyObject * _resultobj; | |
7513 | wxPyCompositeShape * _arg0; | |
7514 | PyObject * _arg1; | |
f6bcfd97 | 7515 | PyObject * _arg2; |
e91a9dfc RD |
7516 | PyObject * _argo0 = 0; |
7517 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
7518 | PyObject * _obj2 = 0; |
7519 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
7520 | |
7521 | self = self; | |
f6bcfd97 | 7522 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
7523 | return NULL; |
7524 | if (_argo0) { | |
7525 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7526 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7527 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setSelf. Expected _wxPyCompositeShape_p."); | |
7528 | return NULL; | |
7529 | } | |
7530 | } | |
7531 | { | |
7532 | _arg1 = _obj1; | |
7533 | } | |
f6bcfd97 BP |
7534 | { |
7535 | _arg2 = _obj2; | |
7536 | } | |
e91a9dfc RD |
7537 | { |
7538 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 7539 | wxPyCompositeShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
7540 | |
7541 | wxPy_END_ALLOW_THREADS; | |
7542 | } Py_INCREF(Py_None); | |
7543 | _resultobj = Py_None; | |
7544 | return _resultobj; | |
7545 | } | |
7546 | ||
7547 | #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1)) | |
7548 | static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7549 | PyObject * _resultobj; | |
7550 | wxPyCompositeShape * _arg0; | |
7551 | wxPyShape * _arg1; | |
7552 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
7553 | PyObject * _argo0 = 0; | |
7554 | PyObject * _argo1 = 0; | |
7555 | PyObject * _argo2 = 0; | |
7556 | char *_kwnames[] = { "self","child","addAfter", NULL }; | |
7557 | ||
7558 | self = self; | |
7559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7560 | return NULL; | |
7561 | if (_argo0) { | |
7562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p."); | |
7565 | return NULL; | |
7566 | } | |
7567 | } | |
7568 | if (_argo1) { | |
7569 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7570 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7572 | return NULL; | |
7573 | } | |
7574 | } | |
7575 | if (_argo2) { | |
7576 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7577 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7579 | return NULL; | |
7580 | } | |
7581 | } | |
7582 | { | |
7583 | wxPy_BEGIN_ALLOW_THREADS; | |
7584 | wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2); | |
7585 | ||
7586 | wxPy_END_ALLOW_THREADS; | |
7587 | } Py_INCREF(Py_None); | |
7588 | _resultobj = Py_None; | |
7589 | return _resultobj; | |
7590 | } | |
7591 | ||
7592 | #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0)) | |
7593 | static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7594 | PyObject * _resultobj; | |
7595 | wxOGLConstraint * _result; | |
7596 | wxPyCompositeShape * _arg0; | |
7597 | wxOGLConstraint * _arg1; | |
7598 | PyObject * _argo0 = 0; | |
7599 | PyObject * _argo1 = 0; | |
7600 | char *_kwnames[] = { "self","constraint", NULL }; | |
7601 | char _ptemp[128]; | |
7602 | ||
7603 | self = self; | |
7604 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1)) | |
7605 | return NULL; | |
7606 | if (_argo0) { | |
7607 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7608 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7609 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p."); | |
7610 | return NULL; | |
7611 | } | |
7612 | } | |
7613 | if (_argo1) { | |
7614 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7615 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p."); | |
7617 | return NULL; | |
7618 | } | |
7619 | } | |
7620 | { | |
7621 | wxPy_BEGIN_ALLOW_THREADS; | |
7622 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1); | |
7623 | ||
7624 | wxPy_END_ALLOW_THREADS; | |
7625 | } if (_result) { | |
7626 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7627 | _resultobj = Py_BuildValue("s",_ptemp); | |
7628 | } else { | |
7629 | Py_INCREF(Py_None); | |
7630 | _resultobj = Py_None; | |
7631 | } | |
7632 | return _resultobj; | |
7633 | } | |
7634 | ||
714d23b4 | 7635 | static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) { |
99ab9f3b | 7636 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); |
714d23b4 RD |
7637 | wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list); |
7638 | delete list; | |
7639 | return rv; | |
7640 | } | |
7641 | static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7642 | PyObject * _resultobj; | |
7643 | wxOGLConstraint * _result; | |
7644 | wxPyCompositeShape * _arg0; | |
7645 | int _arg1; | |
7646 | wxPyShape * _arg2; | |
7647 | PyObject * _arg3; | |
7648 | PyObject * _argo0 = 0; | |
7649 | PyObject * _argo2 = 0; | |
7650 | PyObject * _obj3 = 0; | |
7651 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
7652 | char _ptemp[128]; | |
7653 | ||
7654 | self = self; | |
7655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3)) | |
7656 | return NULL; | |
7657 | if (_argo0) { | |
7658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p."); | |
7661 | return NULL; | |
7662 | } | |
7663 | } | |
7664 | if (_argo2) { | |
7665 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7666 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p."); | |
7668 | return NULL; | |
7669 | } | |
7670 | } | |
7671 | { | |
7672 | _arg3 = _obj3; | |
7673 | } | |
7674 | { | |
7675 | wxPy_BEGIN_ALLOW_THREADS; | |
7676 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3); | |
7677 | ||
7678 | wxPy_END_ALLOW_THREADS; | |
7679 | } if (_result) { | |
7680 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7681 | _resultobj = Py_BuildValue("s",_ptemp); | |
7682 | } else { | |
7683 | Py_INCREF(Py_None); | |
7684 | _resultobj = Py_None; | |
7685 | } | |
7686 | return _resultobj; | |
7687 | } | |
7688 | ||
e91a9dfc RD |
7689 | #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2)) |
7690 | static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7691 | PyObject * _resultobj; | |
7692 | wxOGLConstraint * _result; | |
7693 | wxPyCompositeShape * _arg0; | |
7694 | int _arg1; | |
7695 | wxPyShape * _arg2; | |
7696 | wxPyShape * _arg3; | |
7697 | PyObject * _argo0 = 0; | |
7698 | PyObject * _argo2 = 0; | |
7699 | PyObject * _argo3 = 0; | |
7700 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
7701 | char _ptemp[128]; | |
7702 | ||
7703 | self = self; | |
7704 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
7705 | return NULL; | |
7706 | if (_argo0) { | |
7707 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7708 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p."); | |
7710 | return NULL; | |
7711 | } | |
7712 | } | |
7713 | if (_argo2) { | |
7714 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7715 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7716 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7717 | return NULL; | |
7718 | } | |
7719 | } | |
7720 | if (_argo3) { | |
7721 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
7722 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) { | |
7723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7724 | return NULL; | |
7725 | } | |
7726 | } | |
7727 | { | |
7728 | wxPy_BEGIN_ALLOW_THREADS; | |
7729 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3); | |
7730 | ||
7731 | wxPy_END_ALLOW_THREADS; | |
7732 | } if (_result) { | |
7733 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7734 | _resultobj = Py_BuildValue("s",_ptemp); | |
7735 | } else { | |
7736 | Py_INCREF(Py_None); | |
7737 | _resultobj = Py_None; | |
7738 | } | |
7739 | return _resultobj; | |
7740 | } | |
7741 | ||
7742 | #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
7743 | static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7744 | PyObject * _resultobj; | |
7745 | wxPyCompositeShape * _arg0; | |
7746 | PyObject * _argo0 = 0; | |
7747 | char *_kwnames[] = { "self", NULL }; | |
7748 | ||
7749 | self = self; | |
7750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0)) | |
7751 | return NULL; | |
7752 | if (_argo0) { | |
7753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p."); | |
7756 | return NULL; | |
7757 | } | |
7758 | } | |
7759 | { | |
7760 | wxPy_BEGIN_ALLOW_THREADS; | |
7761 | wxPyCompositeShape_CalculateSize(_arg0); | |
7762 | ||
7763 | wxPy_END_ALLOW_THREADS; | |
7764 | } Py_INCREF(Py_None); | |
7765 | _resultobj = Py_None; | |
7766 | return _resultobj; | |
7767 | } | |
7768 | ||
7769 | #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0)) | |
7770 | static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7771 | PyObject * _resultobj; | |
7772 | bool _result; | |
7773 | wxPyCompositeShape * _arg0; | |
7774 | wxPyDivisionShape * _arg1; | |
7775 | PyObject * _argo0 = 0; | |
7776 | PyObject * _argo1 = 0; | |
7777 | char *_kwnames[] = { "self","division", NULL }; | |
7778 | ||
7779 | self = self; | |
7780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1)) | |
7781 | return NULL; | |
7782 | if (_argo0) { | |
7783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p."); | |
7786 | return NULL; | |
7787 | } | |
7788 | } | |
7789 | if (_argo1) { | |
7790 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7791 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
7792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p."); | |
7793 | return NULL; | |
7794 | } | |
7795 | } | |
7796 | { | |
7797 | wxPy_BEGIN_ALLOW_THREADS; | |
7798 | _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1); | |
7799 | ||
7800 | wxPy_END_ALLOW_THREADS; | |
7801 | } _resultobj = Py_BuildValue("i",_result); | |
7802 | return _resultobj; | |
7803 | } | |
7804 | ||
7805 | #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0)) | |
7806 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7807 | PyObject * _resultobj; | |
7808 | wxPyCompositeShape * _arg0; | |
7809 | wxOGLConstraint * _arg1; | |
7810 | PyObject * _argo0 = 0; | |
7811 | PyObject * _argo1 = 0; | |
7812 | char *_kwnames[] = { "self","constraint", NULL }; | |
7813 | ||
7814 | self = self; | |
7815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1)) | |
7816 | return NULL; | |
7817 | if (_argo0) { | |
7818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p."); | |
7821 | return NULL; | |
7822 | } | |
7823 | } | |
7824 | if (_argo1) { | |
7825 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7826 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p."); | |
7828 | return NULL; | |
7829 | } | |
7830 | } | |
7831 | { | |
7832 | wxPy_BEGIN_ALLOW_THREADS; | |
7833 | wxPyCompositeShape_DeleteConstraint(_arg0,_arg1); | |
7834 | ||
7835 | wxPy_END_ALLOW_THREADS; | |
7836 | } Py_INCREF(Py_None); | |
7837 | _resultobj = Py_None; | |
7838 | return _resultobj; | |
7839 | } | |
7840 | ||
7841 | #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0)) | |
7842 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7843 | PyObject * _resultobj; | |
7844 | wxPyCompositeShape * _arg0; | |
7845 | wxPyShape * _arg1; | |
7846 | PyObject * _argo0 = 0; | |
7847 | PyObject * _argo1 = 0; | |
7848 | char *_kwnames[] = { "self","child", NULL }; | |
7849 | ||
7850 | self = self; | |
7851 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1)) | |
7852 | return NULL; | |
7853 | if (_argo0) { | |
7854 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7855 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p."); | |
7857 | return NULL; | |
7858 | } | |
7859 | } | |
7860 | if (_argo1) { | |
7861 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7862 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7863 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p."); | |
7864 | return NULL; | |
7865 | } | |
7866 | } | |
7867 | { | |
7868 | wxPy_BEGIN_ALLOW_THREADS; | |
7869 | wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1); | |
7870 | ||
7871 | wxPy_END_ALLOW_THREADS; | |
7872 | } Py_INCREF(Py_None); | |
7873 | _resultobj = Py_None; | |
7874 | return _resultobj; | |
7875 | } | |
7876 | ||
7877 | #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage()) | |
7878 | static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7879 | PyObject * _resultobj; | |
7880 | wxPyShape * _result; | |
7881 | wxPyCompositeShape * _arg0; | |
7882 | PyObject * _argo0 = 0; | |
7883 | char *_kwnames[] = { "self", NULL }; | |
7884 | char _ptemp[128]; | |
7885 | ||
7886 | self = self; | |
7887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0)) | |
7888 | return NULL; | |
7889 | if (_argo0) { | |
7890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p."); | |
7893 | return NULL; | |
7894 | } | |
7895 | } | |
7896 | { | |
7897 | wxPy_BEGIN_ALLOW_THREADS; | |
7898 | _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0); | |
7899 | ||
7900 | wxPy_END_ALLOW_THREADS; | |
7901 | } if (_result) { | |
7902 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
7903 | _resultobj = Py_BuildValue("s",_ptemp); | |
7904 | } else { | |
7905 | Py_INCREF(Py_None); | |
7906 | _resultobj = Py_None; | |
7907 | } | |
7908 | return _resultobj; | |
7909 | } | |
7910 | ||
7911 | static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) { | |
7912 | wxList& list = self->GetConstraints(); | |
7913 | return wxPy_ConvertList(&list, "wxOGLConstraint"); | |
7914 | } | |
7915 | static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7916 | PyObject * _resultobj; | |
7917 | PyObject * _result; | |
7918 | wxPyCompositeShape * _arg0; | |
7919 | PyObject * _argo0 = 0; | |
7920 | char *_kwnames[] = { "self", NULL }; | |
7921 | ||
7922 | self = self; | |
7923 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0)) | |
7924 | return NULL; | |
7925 | if (_argo0) { | |
7926 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7927 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p."); | |
7929 | return NULL; | |
7930 | } | |
7931 | } | |
7932 | { | |
7933 | wxPy_BEGIN_ALLOW_THREADS; | |
7934 | _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0); | |
7935 | ||
7936 | wxPy_END_ALLOW_THREADS; | |
7937 | }{ | |
7938 | _resultobj = _result; | |
7939 | } | |
7940 | return _resultobj; | |
7941 | } | |
7942 | ||
7943 | static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) { | |
7944 | wxList& list = self->GetDivisions(); | |
7945 | return wxPy_ConvertList(&list, "wxPyDivisionShape"); | |
7946 | } | |
7947 | static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7948 | PyObject * _resultobj; | |
7949 | PyObject * _result; | |
7950 | wxPyCompositeShape * _arg0; | |
7951 | PyObject * _argo0 = 0; | |
7952 | char *_kwnames[] = { "self", NULL }; | |
7953 | ||
7954 | self = self; | |
7955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0)) | |
7956 | return NULL; | |
7957 | if (_argo0) { | |
7958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p."); | |
7961 | return NULL; | |
7962 | } | |
7963 | } | |
7964 | { | |
7965 | wxPy_BEGIN_ALLOW_THREADS; | |
7966 | _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0); | |
7967 | ||
7968 | wxPy_END_ALLOW_THREADS; | |
7969 | }{ | |
7970 | _resultobj = _result; | |
7971 | } | |
7972 | return _resultobj; | |
7973 | } | |
7974 | ||
7975 | #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer()) | |
7976 | static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7977 | PyObject * _resultobj; | |
7978 | wxPyCompositeShape * _arg0; | |
7979 | PyObject * _argo0 = 0; | |
7980 | char *_kwnames[] = { "self", NULL }; | |
7981 | ||
7982 | self = self; | |
7983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0)) | |
7984 | return NULL; | |
7985 | if (_argo0) { | |
7986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p."); | |
7989 | return NULL; | |
7990 | } | |
7991 | } | |
7992 | { | |
7993 | wxPy_BEGIN_ALLOW_THREADS; | |
7994 | wxPyCompositeShape_MakeContainer(_arg0); | |
7995 | ||
7996 | wxPy_END_ALLOW_THREADS; | |
7997 | } Py_INCREF(Py_None); | |
7998 | _resultobj = Py_None; | |
7999 | return _resultobj; | |
8000 | } | |
8001 | ||
8002 | #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
8003 | static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8004 | PyObject * _resultobj; | |
8005 | bool _result; | |
8006 | wxPyCompositeShape * _arg0; | |
8007 | PyObject * _argo0 = 0; | |
8008 | char *_kwnames[] = { "self", NULL }; | |
8009 | ||
8010 | self = self; | |
8011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0)) | |
8012 | return NULL; | |
8013 | if (_argo0) { | |
8014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p."); | |
8017 | return NULL; | |
8018 | } | |
8019 | } | |
8020 | { | |
8021 | wxPy_BEGIN_ALLOW_THREADS; | |
8022 | _result = (bool )wxPyCompositeShape_Recompute(_arg0); | |
8023 | ||
8024 | wxPy_END_ALLOW_THREADS; | |
8025 | } _resultobj = Py_BuildValue("i",_result); | |
8026 | return _resultobj; | |
8027 | } | |
8028 | ||
8029 | #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0)) | |
8030 | static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8031 | PyObject * _resultobj; | |
8032 | wxPyCompositeShape * _arg0; | |
8033 | wxPyShape * _arg1; | |
8034 | PyObject * _argo0 = 0; | |
8035 | PyObject * _argo1 = 0; | |
8036 | char *_kwnames[] = { "self","child", NULL }; | |
8037 | ||
8038 | self = self; | |
8039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
8040 | return NULL; | |
8041 | if (_argo0) { | |
8042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p."); | |
8045 | return NULL; | |
8046 | } | |
8047 | } | |
8048 | if (_argo1) { | |
8049 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8050 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
8051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p."); | |
8052 | return NULL; | |
8053 | } | |
8054 | } | |
8055 | { | |
8056 | wxPy_BEGIN_ALLOW_THREADS; | |
8057 | wxPyCompositeShape_RemoveChild(_arg0,_arg1); | |
8058 | ||
8059 | wxPy_END_ALLOW_THREADS; | |
8060 | } Py_INCREF(Py_None); | |
8061 | _resultobj = Py_None; | |
8062 | return _resultobj; | |
8063 | } | |
8064 | ||
8065 | #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
8066 | static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8067 | PyObject * _resultobj; | |
8068 | wxPyCompositeShape * _arg0; | |
8069 | PyObject * _argo0 = 0; | |
8070 | char *_kwnames[] = { "self", NULL }; | |
8071 | ||
8072 | self = self; | |
8073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0)) | |
8074 | return NULL; | |
8075 | if (_argo0) { | |
8076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p."); | |
8079 | return NULL; | |
8080 | } | |
8081 | } | |
8082 | { | |
8083 | wxPy_BEGIN_ALLOW_THREADS; | |
8084 | wxPyCompositeShape_base_OnDelete(_arg0); | |
8085 | ||
8086 | wxPy_END_ALLOW_THREADS; | |
8087 | } Py_INCREF(Py_None); | |
8088 | _resultobj = Py_None; | |
8089 | return _resultobj; | |
8090 | } | |
8091 | ||
8092 | #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
8093 | static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8094 | PyObject * _resultobj; | |
8095 | wxPyCompositeShape * _arg0; | |
8096 | wxDC * _arg1; | |
8097 | PyObject * _argo0 = 0; | |
8098 | PyObject * _argo1 = 0; | |
8099 | char *_kwnames[] = { "self","dc", NULL }; | |
8100 | ||
8101 | self = self; | |
8102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
8103 | return NULL; | |
8104 | if (_argo0) { | |
8105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p."); | |
8108 | return NULL; | |
8109 | } | |
8110 | } | |
8111 | if (_argo1) { | |
8112 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8113 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p."); | |
8115 | return NULL; | |
8116 | } | |
8117 | } | |
8118 | { | |
8119 | wxPy_BEGIN_ALLOW_THREADS; | |
8120 | wxPyCompositeShape_base_OnDraw(_arg0,*_arg1); | |
8121 | ||
8122 | wxPy_END_ALLOW_THREADS; | |
8123 | } Py_INCREF(Py_None); | |
8124 | _resultobj = Py_None; | |
8125 | return _resultobj; | |
8126 | } | |
8127 | ||
8128 | #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
8129 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8130 | PyObject * _resultobj; | |
8131 | wxPyCompositeShape * _arg0; | |
8132 | wxDC * _arg1; | |
8133 | PyObject * _argo0 = 0; | |
8134 | PyObject * _argo1 = 0; | |
8135 | char *_kwnames[] = { "self","dc", NULL }; | |
8136 | ||
8137 | self = self; | |
8138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
8139 | return NULL; | |
8140 | if (_argo0) { | |
8141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p."); | |
8144 | return NULL; | |
8145 | } | |
8146 | } | |
8147 | if (_argo1) { | |
8148 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8149 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p."); | |
8151 | return NULL; | |
8152 | } | |
8153 | } | |
8154 | { | |
8155 | wxPy_BEGIN_ALLOW_THREADS; | |
8156 | wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1); | |
8157 | ||
8158 | wxPy_END_ALLOW_THREADS; | |
8159 | } Py_INCREF(Py_None); | |
8160 | _resultobj = Py_None; | |
8161 | return _resultobj; | |
8162 | } | |
8163 | ||
8164 | #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
8165 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8166 | PyObject * _resultobj; | |
8167 | wxPyCompositeShape * _arg0; | |
8168 | wxDC * _arg1; | |
8169 | bool _arg2 = (bool ) FALSE; | |
8170 | PyObject * _argo0 = 0; | |
8171 | PyObject * _argo1 = 0; | |
8172 | int tempbool2 = (int) FALSE; | |
8173 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
8174 | ||
8175 | self = self; | |
8176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8177 | return NULL; | |
8178 | if (_argo0) { | |
8179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p."); | |
8182 | return NULL; | |
8183 | } | |
8184 | } | |
8185 | if (_argo1) { | |
8186 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8187 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p."); | |
8189 | return NULL; | |
8190 | } | |
8191 | } | |
8192 | _arg2 = (bool ) tempbool2; | |
8193 | { | |
8194 | wxPy_BEGIN_ALLOW_THREADS; | |
8195 | wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
8196 | ||
8197 | wxPy_END_ALLOW_THREADS; | |
8198 | } Py_INCREF(Py_None); | |
8199 | _resultobj = Py_None; | |
8200 | return _resultobj; | |
8201 | } | |
8202 | ||
8203 | #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
8204 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8205 | PyObject * _resultobj; | |
8206 | wxPyCompositeShape * _arg0; | |
8207 | wxDC * _arg1; | |
8208 | PyObject * _argo0 = 0; | |
8209 | PyObject * _argo1 = 0; | |
8210 | char *_kwnames[] = { "self","dc", NULL }; | |
8211 | ||
8212 | self = self; | |
8213 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
8214 | return NULL; | |
8215 | if (_argo0) { | |
8216 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8217 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8218 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p."); | |
8219 | return NULL; | |
8220 | } | |
8221 | } | |
8222 | if (_argo1) { | |
8223 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8224 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p."); | |
8226 | return NULL; | |
8227 | } | |
8228 | } | |
8229 | { | |
8230 | wxPy_BEGIN_ALLOW_THREADS; | |
8231 | wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1); | |
8232 | ||
8233 | wxPy_END_ALLOW_THREADS; | |
8234 | } Py_INCREF(Py_None); | |
8235 | _resultobj = Py_None; | |
8236 | return _resultobj; | |
8237 | } | |
8238 | ||
8239 | #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
8240 | static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8241 | PyObject * _resultobj; | |
8242 | wxPyCompositeShape * _arg0; | |
8243 | wxDC * _arg1; | |
8244 | PyObject * _argo0 = 0; | |
8245 | PyObject * _argo1 = 0; | |
8246 | char *_kwnames[] = { "self","dc", NULL }; | |
8247 | ||
8248 | self = self; | |
8249 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
8250 | return NULL; | |
8251 | if (_argo0) { | |
8252 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8253 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8254 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p."); | |
8255 | return NULL; | |
8256 | } | |
8257 | } | |
8258 | if (_argo1) { | |
8259 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8260 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8261 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p."); | |
8262 | return NULL; | |
8263 | } | |
8264 | } | |
8265 | { | |
8266 | wxPy_BEGIN_ALLOW_THREADS; | |
8267 | wxPyCompositeShape_base_OnErase(_arg0,*_arg1); | |
8268 | ||
8269 | wxPy_END_ALLOW_THREADS; | |
8270 | } Py_INCREF(Py_None); | |
8271 | _resultobj = Py_None; | |
8272 | return _resultobj; | |
8273 | } | |
8274 | ||
8275 | #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
8276 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8277 | PyObject * _resultobj; | |
8278 | wxPyCompositeShape * _arg0; | |
8279 | wxDC * _arg1; | |
8280 | PyObject * _argo0 = 0; | |
8281 | PyObject * _argo1 = 0; | |
8282 | char *_kwnames[] = { "self","dc", NULL }; | |
8283 | ||
8284 | self = self; | |
8285 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
8286 | return NULL; | |
8287 | if (_argo0) { | |
8288 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8289 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p."); | |
8291 | return NULL; | |
8292 | } | |
8293 | } | |
8294 | if (_argo1) { | |
8295 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8296 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p."); | |
8298 | return NULL; | |
8299 | } | |
8300 | } | |
8301 | { | |
8302 | wxPy_BEGIN_ALLOW_THREADS; | |
8303 | wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1); | |
8304 | ||
8305 | wxPy_END_ALLOW_THREADS; | |
8306 | } Py_INCREF(Py_None); | |
8307 | _resultobj = Py_None; | |
8308 | return _resultobj; | |
8309 | } | |
8310 | ||
8311 | #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
8312 | static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8313 | PyObject * _resultobj; | |
8314 | wxPyCompositeShape * _arg0; | |
8315 | wxDC * _arg1; | |
8316 | PyObject * _argo0 = 0; | |
8317 | PyObject * _argo1 = 0; | |
8318 | char *_kwnames[] = { "self","dc", NULL }; | |
8319 | ||
8320 | self = self; | |
8321 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
8322 | return NULL; | |
8323 | if (_argo0) { | |
8324 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8325 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8326 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p."); | |
8327 | return NULL; | |
8328 | } | |
8329 | } | |
8330 | if (_argo1) { | |
8331 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8332 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p."); | |
8334 | return NULL; | |
8335 | } | |
8336 | } | |
8337 | { | |
8338 | wxPy_BEGIN_ALLOW_THREADS; | |
8339 | wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1); | |
8340 | ||
8341 | wxPy_END_ALLOW_THREADS; | |
8342 | } Py_INCREF(Py_None); | |
8343 | _resultobj = Py_None; | |
8344 | return _resultobj; | |
8345 | } | |
8346 | ||
8347 | #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8348 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8349 | PyObject * _resultobj; | |
8350 | wxPyCompositeShape * _arg0; | |
8351 | double _arg1; | |
8352 | double _arg2; | |
8353 | int _arg3 = (int ) 0; | |
8354 | int _arg4 = (int ) 0; | |
8355 | PyObject * _argo0 = 0; | |
8356 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8357 | ||
8358 | self = self; | |
8359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8360 | return NULL; | |
8361 | if (_argo0) { | |
8362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p."); | |
8365 | return NULL; | |
8366 | } | |
8367 | } | |
8368 | { | |
8369 | wxPy_BEGIN_ALLOW_THREADS; | |
8370 | wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8371 | ||
8372 | wxPy_END_ALLOW_THREADS; | |
8373 | } Py_INCREF(Py_None); | |
8374 | _resultobj = Py_None; | |
8375 | return _resultobj; | |
8376 | } | |
8377 | ||
8378 | #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8379 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8380 | PyObject * _resultobj; | |
8381 | wxPyCompositeShape * _arg0; | |
8382 | double _arg1; | |
8383 | double _arg2; | |
8384 | int _arg3 = (int ) 0; | |
8385 | int _arg4 = (int ) 0; | |
8386 | PyObject * _argo0 = 0; | |
8387 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8388 | ||
8389 | self = self; | |
8390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8391 | return NULL; | |
8392 | if (_argo0) { | |
8393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p."); | |
8396 | return NULL; | |
8397 | } | |
8398 | } | |
8399 | { | |
8400 | wxPy_BEGIN_ALLOW_THREADS; | |
8401 | wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8402 | ||
8403 | wxPy_END_ALLOW_THREADS; | |
8404 | } Py_INCREF(Py_None); | |
8405 | _resultobj = Py_None; | |
8406 | return _resultobj; | |
8407 | } | |
8408 | ||
8409 | #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8410 | static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8411 | PyObject * _resultobj; | |
8412 | wxPyCompositeShape * _arg0; | |
8413 | double _arg1; | |
8414 | double _arg2; | |
8415 | int _arg3 = (int ) 0; | |
8416 | int _arg4 = (int ) 0; | |
8417 | PyObject * _argo0 = 0; | |
8418 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8419 | ||
8420 | self = self; | |
8421 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8422 | return NULL; | |
8423 | if (_argo0) { | |
8424 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8425 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8426 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p."); | |
8427 | return NULL; | |
8428 | } | |
8429 | } | |
8430 | { | |
8431 | wxPy_BEGIN_ALLOW_THREADS; | |
8432 | wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8433 | ||
8434 | wxPy_END_ALLOW_THREADS; | |
8435 | } Py_INCREF(Py_None); | |
8436 | _resultobj = Py_None; | |
8437 | return _resultobj; | |
8438 | } | |
8439 | ||
8440 | #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
8441 | static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8442 | PyObject * _resultobj; | |
8443 | wxPyCompositeShape * _arg0; | |
8444 | double _arg1; | |
8445 | double _arg2; | |
8446 | PyObject * _argo0 = 0; | |
8447 | char *_kwnames[] = { "self","x","y", NULL }; | |
8448 | ||
8449 | self = self; | |
8450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8451 | return NULL; | |
8452 | if (_argo0) { | |
8453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p."); | |
8456 | return NULL; | |
8457 | } | |
8458 | } | |
8459 | { | |
8460 | wxPy_BEGIN_ALLOW_THREADS; | |
8461 | wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2); | |
8462 | ||
8463 | wxPy_END_ALLOW_THREADS; | |
8464 | } Py_INCREF(Py_None); | |
8465 | _resultobj = Py_None; | |
8466 | return _resultobj; | |
8467 | } | |
8468 | ||
8469 | #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8470 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8471 | PyObject * _resultobj; | |
8472 | bool _result; | |
8473 | wxPyCompositeShape * _arg0; | |
8474 | wxDC * _arg1; | |
8475 | double _arg2; | |
8476 | double _arg3; | |
8477 | double _arg4; | |
8478 | double _arg5; | |
8479 | bool _arg6 = (bool ) TRUE; | |
8480 | PyObject * _argo0 = 0; | |
8481 | PyObject * _argo1 = 0; | |
8482 | int tempbool6 = (int) TRUE; | |
8483 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8484 | ||
8485 | self = self; | |
8486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8487 | return NULL; | |
8488 | if (_argo0) { | |
8489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p."); | |
8492 | return NULL; | |
8493 | } | |
8494 | } | |
8495 | if (_argo1) { | |
8496 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8497 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8498 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p."); | |
8499 | return NULL; | |
8500 | } | |
8501 | } | |
8502 | _arg6 = (bool ) tempbool6; | |
8503 | { | |
8504 | wxPy_BEGIN_ALLOW_THREADS; | |
8505 | _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8506 | ||
8507 | wxPy_END_ALLOW_THREADS; | |
8508 | } _resultobj = Py_BuildValue("i",_result); | |
8509 | return _resultobj; | |
8510 | } | |
8511 | ||
8512 | #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8513 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8514 | PyObject * _resultobj; | |
8515 | wxPyCompositeShape * _arg0; | |
8516 | wxDC * _arg1; | |
8517 | double _arg2; | |
8518 | double _arg3; | |
8519 | double _arg4; | |
8520 | double _arg5; | |
8521 | bool _arg6 = (bool ) TRUE; | |
8522 | PyObject * _argo0 = 0; | |
8523 | PyObject * _argo1 = 0; | |
8524 | int tempbool6 = (int) TRUE; | |
8525 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8526 | ||
8527 | self = self; | |
8528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8529 | return NULL; | |
8530 | if (_argo0) { | |
8531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p."); | |
8534 | return NULL; | |
8535 | } | |
8536 | } | |
8537 | if (_argo1) { | |
8538 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8539 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p."); | |
8541 | return NULL; | |
8542 | } | |
8543 | } | |
8544 | _arg6 = (bool ) tempbool6; | |
8545 | { | |
8546 | wxPy_BEGIN_ALLOW_THREADS; | |
8547 | wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8548 | ||
8549 | wxPy_END_ALLOW_THREADS; | |
8550 | } Py_INCREF(Py_None); | |
8551 | _resultobj = Py_None; | |
8552 | return _resultobj; | |
8553 | } | |
8554 | ||
8555 | #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8556 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8557 | PyObject * _resultobj; | |
8558 | wxPyCompositeShape * _arg0; | |
8559 | bool _arg1; | |
8560 | double _arg2; | |
8561 | double _arg3; | |
8562 | int _arg4 = (int ) 0; | |
8563 | int _arg5 = (int ) 0; | |
8564 | PyObject * _argo0 = 0; | |
8565 | int tempbool1; | |
8566 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8567 | ||
8568 | self = self; | |
8569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8570 | return NULL; | |
8571 | if (_argo0) { | |
8572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p."); | |
8575 | return NULL; | |
8576 | } | |
8577 | } | |
8578 | _arg1 = (bool ) tempbool1; | |
8579 | { | |
8580 | wxPy_BEGIN_ALLOW_THREADS; | |
8581 | wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8582 | ||
8583 | wxPy_END_ALLOW_THREADS; | |
8584 | } Py_INCREF(Py_None); | |
8585 | _resultobj = Py_None; | |
8586 | return _resultobj; | |
8587 | } | |
8588 | ||
8589 | #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8590 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8591 | PyObject * _resultobj; | |
8592 | wxPyCompositeShape * _arg0; | |
8593 | double _arg1; | |
8594 | double _arg2; | |
8595 | int _arg3 = (int ) 0; | |
8596 | int _arg4 = (int ) 0; | |
8597 | PyObject * _argo0 = 0; | |
8598 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8599 | ||
8600 | self = self; | |
8601 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8602 | return NULL; | |
8603 | if (_argo0) { | |
8604 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8605 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8607 | return NULL; | |
8608 | } | |
8609 | } | |
8610 | { | |
8611 | wxPy_BEGIN_ALLOW_THREADS; | |
8612 | wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8613 | ||
8614 | wxPy_END_ALLOW_THREADS; | |
8615 | } Py_INCREF(Py_None); | |
8616 | _resultobj = Py_None; | |
8617 | return _resultobj; | |
8618 | } | |
8619 | ||
8620 | #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8621 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8622 | PyObject * _resultobj; | |
8623 | wxPyCompositeShape * _arg0; | |
8624 | double _arg1; | |
8625 | double _arg2; | |
8626 | int _arg3 = (int ) 0; | |
8627 | int _arg4 = (int ) 0; | |
8628 | PyObject * _argo0 = 0; | |
8629 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8630 | ||
8631 | self = self; | |
8632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8633 | return NULL; | |
8634 | if (_argo0) { | |
8635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p."); | |
8638 | return NULL; | |
8639 | } | |
8640 | } | |
8641 | { | |
8642 | wxPy_BEGIN_ALLOW_THREADS; | |
8643 | wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8644 | ||
8645 | wxPy_END_ALLOW_THREADS; | |
8646 | } Py_INCREF(Py_None); | |
8647 | _resultobj = Py_None; | |
8648 | return _resultobj; | |
8649 | } | |
8650 | ||
8651 | #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8652 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8653 | PyObject * _resultobj; | |
8654 | wxPyCompositeShape * _arg0; | |
8655 | bool _arg1; | |
8656 | double _arg2; | |
8657 | double _arg3; | |
8658 | int _arg4 = (int ) 0; | |
8659 | int _arg5 = (int ) 0; | |
8660 | PyObject * _argo0 = 0; | |
8661 | int tempbool1; | |
8662 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8663 | ||
8664 | self = self; | |
8665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8666 | return NULL; | |
8667 | if (_argo0) { | |
8668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p."); | |
8671 | return NULL; | |
8672 | } | |
8673 | } | |
8674 | _arg1 = (bool ) tempbool1; | |
8675 | { | |
8676 | wxPy_BEGIN_ALLOW_THREADS; | |
8677 | wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8678 | ||
8679 | wxPy_END_ALLOW_THREADS; | |
8680 | } Py_INCREF(Py_None); | |
8681 | _resultobj = Py_None; | |
8682 | return _resultobj; | |
8683 | } | |
8684 | ||
8685 | #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8686 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8687 | PyObject * _resultobj; | |
8688 | wxPyCompositeShape * _arg0; | |
8689 | double _arg1; | |
8690 | double _arg2; | |
8691 | int _arg3 = (int ) 0; | |
8692 | int _arg4 = (int ) 0; | |
8693 | PyObject * _argo0 = 0; | |
8694 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8695 | ||
8696 | self = self; | |
8697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8698 | return NULL; | |
8699 | if (_argo0) { | |
8700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p."); | |
8703 | return NULL; | |
8704 | } | |
8705 | } | |
8706 | { | |
8707 | wxPy_BEGIN_ALLOW_THREADS; | |
8708 | wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8709 | ||
8710 | wxPy_END_ALLOW_THREADS; | |
8711 | } Py_INCREF(Py_None); | |
8712 | _resultobj = Py_None; | |
8713 | return _resultobj; | |
8714 | } | |
8715 | ||
8716 | #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8717 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8718 | PyObject * _resultobj; | |
8719 | wxPyCompositeShape * _arg0; | |
8720 | double _arg1; | |
8721 | double _arg2; | |
8722 | int _arg3 = (int ) 0; | |
8723 | int _arg4 = (int ) 0; | |
8724 | PyObject * _argo0 = 0; | |
8725 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8726 | ||
8727 | self = self; | |
8728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8729 | return NULL; | |
8730 | if (_argo0) { | |
8731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p."); | |
8734 | return NULL; | |
8735 | } | |
8736 | } | |
8737 | { | |
8738 | wxPy_BEGIN_ALLOW_THREADS; | |
8739 | wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8740 | ||
8741 | wxPy_END_ALLOW_THREADS; | |
8742 | } Py_INCREF(Py_None); | |
8743 | _resultobj = Py_None; | |
8744 | return _resultobj; | |
8745 | } | |
8746 | ||
8747 | #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8748 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8749 | PyObject * _resultobj; | |
8750 | wxPyCompositeShape * _arg0; | |
8751 | wxDC * _arg1; | |
8752 | double _arg2; | |
8753 | double _arg3; | |
8754 | double _arg4; | |
8755 | double _arg5; | |
8756 | PyObject * _argo0 = 0; | |
8757 | PyObject * _argo1 = 0; | |
8758 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
8759 | ||
8760 | self = self; | |
8761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8762 | return NULL; | |
8763 | if (_argo0) { | |
8764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p."); | |
8767 | return NULL; | |
8768 | } | |
8769 | } | |
8770 | if (_argo1) { | |
8771 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8772 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8773 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p."); | |
8774 | return NULL; | |
8775 | } | |
8776 | } | |
8777 | { | |
8778 | wxPy_BEGIN_ALLOW_THREADS; | |
8779 | wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
8780 | ||
8781 | wxPy_END_ALLOW_THREADS; | |
8782 | } Py_INCREF(Py_None); | |
8783 | _resultobj = Py_None; | |
8784 | return _resultobj; | |
8785 | } | |
8786 | ||
8787 | #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
8788 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8789 | PyObject * _resultobj; | |
8790 | wxPyCompositeShape * _arg0; | |
8791 | wxDC * _arg1; | |
8792 | PyObject * _argo0 = 0; | |
8793 | PyObject * _argo1 = 0; | |
8794 | char *_kwnames[] = { "self","dc", NULL }; | |
8795 | ||
8796 | self = self; | |
8797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
8798 | return NULL; | |
8799 | if (_argo0) { | |
8800 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8801 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p."); | |
8803 | return NULL; | |
8804 | } | |
8805 | } | |
8806 | if (_argo1) { | |
8807 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8808 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
8810 | return NULL; | |
8811 | } | |
8812 | } | |
8813 | { | |
8814 | wxPy_BEGIN_ALLOW_THREADS; | |
8815 | wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
8816 | ||
8817 | wxPy_END_ALLOW_THREADS; | |
8818 | } Py_INCREF(Py_None); | |
8819 | _resultobj = Py_None; | |
8820 | return _resultobj; | |
8821 | } | |
8822 | ||
8823 | #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
8824 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8825 | PyObject * _resultobj; | |
8826 | wxPyCompositeShape * _arg0; | |
8827 | wxDC * _arg1; | |
8828 | PyObject * _argo0 = 0; | |
8829 | PyObject * _argo1 = 0; | |
8830 | char *_kwnames[] = { "self","dc", NULL }; | |
8831 | ||
8832 | self = self; | |
8833 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
8834 | return NULL; | |
8835 | if (_argo0) { | |
8836 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8837 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8838 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p."); | |
8839 | return NULL; | |
8840 | } | |
8841 | } | |
8842 | if (_argo1) { | |
8843 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8844 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
8846 | return NULL; | |
8847 | } | |
8848 | } | |
8849 | { | |
8850 | wxPy_BEGIN_ALLOW_THREADS; | |
8851 | wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
8852 | ||
8853 | wxPy_END_ALLOW_THREADS; | |
8854 | } Py_INCREF(Py_None); | |
8855 | _resultobj = Py_None; | |
8856 | return _resultobj; | |
8857 | } | |
8858 | ||
8859 | #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
8860 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8861 | PyObject * _resultobj; | |
8862 | wxPyCompositeShape * _arg0; | |
8863 | wxDC * _arg1; | |
8864 | bool _arg2 = (bool ) TRUE; | |
8865 | PyObject * _argo0 = 0; | |
8866 | PyObject * _argo1 = 0; | |
8867 | int tempbool2 = (int) TRUE; | |
8868 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
8869 | ||
8870 | self = self; | |
8871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8872 | return NULL; | |
8873 | if (_argo0) { | |
8874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p."); | |
8877 | return NULL; | |
8878 | } | |
8879 | } | |
8880 | if (_argo1) { | |
8881 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8882 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p."); | |
8884 | return NULL; | |
8885 | } | |
8886 | } | |
8887 | _arg2 = (bool ) tempbool2; | |
8888 | { | |
8889 | wxPy_BEGIN_ALLOW_THREADS; | |
8890 | wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
8891 | ||
8892 | wxPy_END_ALLOW_THREADS; | |
8893 | } Py_INCREF(Py_None); | |
8894 | _resultobj = Py_None; | |
8895 | return _resultobj; | |
8896 | } | |
8897 | ||
8898 | #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8899 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8900 | PyObject * _resultobj; | |
8901 | wxPyCompositeShape * _arg0; | |
2348eaee | 8902 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8903 | bool _arg2; |
8904 | double _arg3; | |
8905 | double _arg4; | |
8906 | int _arg5 = (int ) 0; | |
8907 | int _arg6 = (int ) 0; | |
8908 | PyObject * _argo0 = 0; | |
8909 | PyObject * _argo1 = 0; | |
8910 | int tempbool2; | |
8911 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
8912 | ||
8913 | self = self; | |
8914 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
8915 | return NULL; | |
8916 | if (_argo0) { | |
8917 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8918 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p."); | |
8920 | return NULL; | |
8921 | } | |
8922 | } | |
8923 | if (_argo1) { | |
8924 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8925 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8927 | return NULL; |
8928 | } | |
8929 | } | |
8930 | _arg2 = (bool ) tempbool2; | |
8931 | { | |
8932 | wxPy_BEGIN_ALLOW_THREADS; | |
8933 | wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8934 | ||
8935 | wxPy_END_ALLOW_THREADS; | |
8936 | } Py_INCREF(Py_None); | |
8937 | _resultobj = Py_None; | |
8938 | return _resultobj; | |
8939 | } | |
8940 | ||
8941 | #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8942 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8943 | PyObject * _resultobj; | |
8944 | wxPyCompositeShape * _arg0; | |
2348eaee | 8945 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8946 | double _arg2; |
8947 | double _arg3; | |
8948 | int _arg4 = (int ) 0; | |
8949 | int _arg5 = (int ) 0; | |
8950 | PyObject * _argo0 = 0; | |
8951 | PyObject * _argo1 = 0; | |
8952 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8953 | ||
8954 | self = self; | |
8955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8956 | return NULL; | |
8957 | if (_argo0) { | |
8958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8961 | return NULL; | |
8962 | } | |
8963 | } | |
8964 | if (_argo1) { | |
8965 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8966 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8968 | return NULL; |
8969 | } | |
8970 | } | |
8971 | { | |
8972 | wxPy_BEGIN_ALLOW_THREADS; | |
8973 | wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8974 | ||
8975 | wxPy_END_ALLOW_THREADS; | |
8976 | } Py_INCREF(Py_None); | |
8977 | _resultobj = Py_None; | |
8978 | return _resultobj; | |
8979 | } | |
8980 | ||
8981 | #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8982 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8983 | PyObject * _resultobj; | |
8984 | wxPyCompositeShape * _arg0; | |
2348eaee | 8985 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8986 | double _arg2; |
8987 | double _arg3; | |
8988 | int _arg4 = (int ) 0; | |
8989 | int _arg5 = (int ) 0; | |
8990 | PyObject * _argo0 = 0; | |
8991 | PyObject * _argo1 = 0; | |
8992 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8993 | ||
8994 | self = self; | |
8995 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8996 | return NULL; | |
8997 | if (_argo0) { | |
8998 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8999 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p."); | |
9001 | return NULL; | |
9002 | } | |
9003 | } | |
9004 | if (_argo1) { | |
9005 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
9006 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
9007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
9008 | return NULL; |
9009 | } | |
9010 | } | |
9011 | { | |
9012 | wxPy_BEGIN_ALLOW_THREADS; | |
9013 | wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9014 | ||
9015 | wxPy_END_ALLOW_THREADS; | |
9016 | } Py_INCREF(Py_None); | |
9017 | _resultobj = Py_None; | |
9018 | return _resultobj; | |
9019 | } | |
9020 | ||
9021 | #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
9022 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9023 | PyObject * _resultobj; | |
9024 | wxPyCompositeShape * _arg0; | |
9025 | double _arg1; | |
9026 | double _arg2; | |
9027 | PyObject * _argo0 = 0; | |
9028 | char *_kwnames[] = { "self","w","h", NULL }; | |
9029 | ||
9030 | self = self; | |
9031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9032 | return NULL; | |
9033 | if (_argo0) { | |
9034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p."); | |
9037 | return NULL; | |
9038 | } | |
9039 | } | |
9040 | { | |
9041 | wxPy_BEGIN_ALLOW_THREADS; | |
9042 | wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
9043 | ||
9044 | wxPy_END_ALLOW_THREADS; | |
9045 | } Py_INCREF(Py_None); | |
9046 | _resultobj = Py_None; | |
9047 | return _resultobj; | |
9048 | } | |
9049 | ||
9050 | #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
9051 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9052 | PyObject * _resultobj; | |
9053 | wxPyCompositeShape * _arg0; | |
9054 | double _arg1; | |
9055 | double _arg2; | |
9056 | PyObject * _argo0 = 0; | |
9057 | char *_kwnames[] = { "self","w","h", NULL }; | |
9058 | ||
9059 | self = self; | |
9060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9061 | return NULL; | |
9062 | if (_argo0) { | |
9063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p."); | |
9066 | return NULL; | |
9067 | } | |
9068 | } | |
9069 | { | |
9070 | wxPy_BEGIN_ALLOW_THREADS; | |
9071 | wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
9072 | ||
9073 | wxPy_END_ALLOW_THREADS; | |
9074 | } Py_INCREF(Py_None); | |
9075 | _resultobj = Py_None; | |
9076 | return _resultobj; | |
9077 | } | |
9078 | ||
9079 | static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) { | |
9080 | wxPyDividedShape *src; | |
9081 | wxPyRectangleShape *dest; | |
9082 | src = (wxPyDividedShape *) ptr; | |
9083 | dest = (wxPyRectangleShape *) src; | |
9084 | return (void *) dest; | |
9085 | } | |
9086 | ||
9087 | static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) { | |
9088 | wxPyDividedShape *src; | |
9089 | wxPyShape *dest; | |
9090 | src = (wxPyDividedShape *) ptr; | |
9091 | dest = (wxPyShape *) src; | |
9092 | return (void *) dest; | |
9093 | } | |
9094 | ||
9095 | static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) { | |
9096 | wxPyDividedShape *src; | |
9097 | wxPyShapeEvtHandler *dest; | |
9098 | src = (wxPyDividedShape *) ptr; | |
9099 | dest = (wxPyShapeEvtHandler *) src; | |
9100 | return (void *) dest; | |
9101 | } | |
9102 | ||
9103 | #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1)) | |
9104 | static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9105 | PyObject * _resultobj; | |
9106 | wxPyDividedShape * _result; | |
9107 | double _arg0 = (double ) 0.0; | |
9108 | double _arg1 = (double ) 0.0; | |
9109 | char *_kwnames[] = { "width","height", NULL }; | |
9110 | char _ptemp[128]; | |
9111 | ||
9112 | self = self; | |
9113 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1)) | |
9114 | return NULL; | |
9115 | { | |
9116 | wxPy_BEGIN_ALLOW_THREADS; | |
9117 | _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1); | |
9118 | ||
9119 | wxPy_END_ALLOW_THREADS; | |
9120 | } if (_result) { | |
9121 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p"); | |
9122 | _resultobj = Py_BuildValue("s",_ptemp); | |
9123 | } else { | |
9124 | Py_INCREF(Py_None); | |
9125 | _resultobj = Py_None; | |
9126 | } | |
9127 | return _resultobj; | |
9128 | } | |
9129 | ||
f6bcfd97 | 9130 | #define wxPyDividedShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
9131 | static PyObject *_wrap_wxPyDividedShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
9132 | PyObject * _resultobj; | |
9133 | wxPyDividedShape * _arg0; | |
9134 | PyObject * _arg1; | |
f6bcfd97 | 9135 | PyObject * _arg2; |
e91a9dfc RD |
9136 | PyObject * _argo0 = 0; |
9137 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
9138 | PyObject * _obj2 = 0; |
9139 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
9140 | |
9141 | self = self; | |
f6bcfd97 | 9142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
9143 | return NULL; |
9144 | if (_argo0) { | |
9145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setSelf. Expected _wxPyDividedShape_p."); | |
9148 | return NULL; | |
9149 | } | |
9150 | } | |
9151 | { | |
9152 | _arg1 = _obj1; | |
9153 | } | |
f6bcfd97 BP |
9154 | { |
9155 | _arg2 = _obj2; | |
9156 | } | |
e91a9dfc RD |
9157 | { |
9158 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 9159 | wxPyDividedShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
9160 | |
9161 | wxPy_END_ALLOW_THREADS; | |
9162 | } Py_INCREF(Py_None); | |
9163 | _resultobj = Py_None; | |
9164 | return _resultobj; | |
9165 | } | |
9166 | ||
9167 | #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions()) | |
9168 | static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9169 | PyObject * _resultobj; | |
9170 | wxPyDividedShape * _arg0; | |
9171 | PyObject * _argo0 = 0; | |
9172 | char *_kwnames[] = { "self", NULL }; | |
9173 | ||
9174 | self = self; | |
9175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0)) | |
9176 | return NULL; | |
9177 | if (_argo0) { | |
9178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p."); | |
9181 | return NULL; | |
9182 | } | |
9183 | } | |
9184 | { | |
9185 | wxPy_BEGIN_ALLOW_THREADS; | |
9186 | wxPyDividedShape_EditRegions(_arg0); | |
9187 | ||
9188 | wxPy_END_ALLOW_THREADS; | |
9189 | } Py_INCREF(Py_None); | |
9190 | _resultobj = Py_None; | |
9191 | return _resultobj; | |
9192 | } | |
9193 | ||
9194 | #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes()) | |
9195 | static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9196 | PyObject * _resultobj; | |
9197 | wxPyDividedShape * _arg0; | |
9198 | PyObject * _argo0 = 0; | |
9199 | char *_kwnames[] = { "self", NULL }; | |
9200 | ||
9201 | self = self; | |
9202 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0)) | |
9203 | return NULL; | |
9204 | if (_argo0) { | |
9205 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9206 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9207 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p."); | |
9208 | return NULL; | |
9209 | } | |
9210 | } | |
9211 | { | |
9212 | wxPy_BEGIN_ALLOW_THREADS; | |
9213 | wxPyDividedShape_SetRegionSizes(_arg0); | |
9214 | ||
9215 | wxPy_END_ALLOW_THREADS; | |
9216 | } Py_INCREF(Py_None); | |
9217 | _resultobj = Py_None; | |
9218 | return _resultobj; | |
9219 | } | |
9220 | ||
9221 | #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
9222 | static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9223 | PyObject * _resultobj; | |
9224 | wxPyDividedShape * _arg0; | |
9225 | PyObject * _argo0 = 0; | |
9226 | char *_kwnames[] = { "self", NULL }; | |
9227 | ||
9228 | self = self; | |
9229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0)) | |
9230 | return NULL; | |
9231 | if (_argo0) { | |
9232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p."); | |
9235 | return NULL; | |
9236 | } | |
9237 | } | |
9238 | { | |
9239 | wxPy_BEGIN_ALLOW_THREADS; | |
9240 | wxPyDividedShape_base_OnDelete(_arg0); | |
9241 | ||
9242 | wxPy_END_ALLOW_THREADS; | |
9243 | } Py_INCREF(Py_None); | |
9244 | _resultobj = Py_None; | |
9245 | return _resultobj; | |
9246 | } | |
9247 | ||
9248 | #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
9249 | static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9250 | PyObject * _resultobj; | |
9251 | wxPyDividedShape * _arg0; | |
9252 | wxDC * _arg1; | |
9253 | PyObject * _argo0 = 0; | |
9254 | PyObject * _argo1 = 0; | |
9255 | char *_kwnames[] = { "self","dc", NULL }; | |
9256 | ||
9257 | self = self; | |
9258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
9259 | return NULL; | |
9260 | if (_argo0) { | |
9261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p."); | |
9264 | return NULL; | |
9265 | } | |
9266 | } | |
9267 | if (_argo1) { | |
9268 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9269 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p."); | |
9271 | return NULL; | |
9272 | } | |
9273 | } | |
9274 | { | |
9275 | wxPy_BEGIN_ALLOW_THREADS; | |
9276 | wxPyDividedShape_base_OnDraw(_arg0,*_arg1); | |
9277 | ||
9278 | wxPy_END_ALLOW_THREADS; | |
9279 | } Py_INCREF(Py_None); | |
9280 | _resultobj = Py_None; | |
9281 | return _resultobj; | |
9282 | } | |
9283 | ||
9284 | #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
9285 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9286 | PyObject * _resultobj; | |
9287 | wxPyDividedShape * _arg0; | |
9288 | wxDC * _arg1; | |
9289 | PyObject * _argo0 = 0; | |
9290 | PyObject * _argo1 = 0; | |
9291 | char *_kwnames[] = { "self","dc", NULL }; | |
9292 | ||
9293 | self = self; | |
9294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
9295 | return NULL; | |
9296 | if (_argo0) { | |
9297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p."); | |
9300 | return NULL; | |
9301 | } | |
9302 | } | |
9303 | if (_argo1) { | |
9304 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9305 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p."); | |
9307 | return NULL; | |
9308 | } | |
9309 | } | |
9310 | { | |
9311 | wxPy_BEGIN_ALLOW_THREADS; | |
9312 | wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1); | |
9313 | ||
9314 | wxPy_END_ALLOW_THREADS; | |
9315 | } Py_INCREF(Py_None); | |
9316 | _resultobj = Py_None; | |
9317 | return _resultobj; | |
9318 | } | |
9319 | ||
9320 | #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
9321 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9322 | PyObject * _resultobj; | |
9323 | wxPyDividedShape * _arg0; | |
9324 | wxDC * _arg1; | |
9325 | bool _arg2 = (bool ) FALSE; | |
9326 | PyObject * _argo0 = 0; | |
9327 | PyObject * _argo1 = 0; | |
9328 | int tempbool2 = (int) FALSE; | |
9329 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
9330 | ||
9331 | self = self; | |
9332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9333 | return NULL; | |
9334 | if (_argo0) { | |
9335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p."); | |
9338 | return NULL; | |
9339 | } | |
9340 | } | |
9341 | if (_argo1) { | |
9342 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9343 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p."); | |
9345 | return NULL; | |
9346 | } | |
9347 | } | |
9348 | _arg2 = (bool ) tempbool2; | |
9349 | { | |
9350 | wxPy_BEGIN_ALLOW_THREADS; | |
9351 | wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
9352 | ||
9353 | wxPy_END_ALLOW_THREADS; | |
9354 | } Py_INCREF(Py_None); | |
9355 | _resultobj = Py_None; | |
9356 | return _resultobj; | |
9357 | } | |
9358 | ||
9359 | #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
9360 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9361 | PyObject * _resultobj; | |
9362 | wxPyDividedShape * _arg0; | |
9363 | wxDC * _arg1; | |
9364 | PyObject * _argo0 = 0; | |
9365 | PyObject * _argo1 = 0; | |
9366 | char *_kwnames[] = { "self","dc", NULL }; | |
9367 | ||
9368 | self = self; | |
9369 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
9370 | return NULL; | |
9371 | if (_argo0) { | |
9372 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9373 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9374 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p."); | |
9375 | return NULL; | |
9376 | } | |
9377 | } | |
9378 | if (_argo1) { | |
9379 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9380 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p."); | |
9382 | return NULL; | |
9383 | } | |
9384 | } | |
9385 | { | |
9386 | wxPy_BEGIN_ALLOW_THREADS; | |
9387 | wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1); | |
9388 | ||
9389 | wxPy_END_ALLOW_THREADS; | |
9390 | } Py_INCREF(Py_None); | |
9391 | _resultobj = Py_None; | |
9392 | return _resultobj; | |
9393 | } | |
9394 | ||
9395 | #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
9396 | static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9397 | PyObject * _resultobj; | |
9398 | wxPyDividedShape * _arg0; | |
9399 | wxDC * _arg1; | |
9400 | PyObject * _argo0 = 0; | |
9401 | PyObject * _argo1 = 0; | |
9402 | char *_kwnames[] = { "self","dc", NULL }; | |
9403 | ||
9404 | self = self; | |
9405 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
9406 | return NULL; | |
9407 | if (_argo0) { | |
9408 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9409 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9410 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p."); | |
9411 | return NULL; | |
9412 | } | |
9413 | } | |
9414 | if (_argo1) { | |
9415 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9416 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p."); | |
9418 | return NULL; | |
9419 | } | |
9420 | } | |
9421 | { | |
9422 | wxPy_BEGIN_ALLOW_THREADS; | |
9423 | wxPyDividedShape_base_OnErase(_arg0,*_arg1); | |
9424 | ||
9425 | wxPy_END_ALLOW_THREADS; | |
9426 | } Py_INCREF(Py_None); | |
9427 | _resultobj = Py_None; | |
9428 | return _resultobj; | |
9429 | } | |
9430 | ||
9431 | #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
9432 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9433 | PyObject * _resultobj; | |
9434 | wxPyDividedShape * _arg0; | |
9435 | wxDC * _arg1; | |
9436 | PyObject * _argo0 = 0; | |
9437 | PyObject * _argo1 = 0; | |
9438 | char *_kwnames[] = { "self","dc", NULL }; | |
9439 | ||
9440 | self = self; | |
9441 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
9442 | return NULL; | |
9443 | if (_argo0) { | |
9444 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9445 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9446 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p."); | |
9447 | return NULL; | |
9448 | } | |
9449 | } | |
9450 | if (_argo1) { | |
9451 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9452 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p."); | |
9454 | return NULL; | |
9455 | } | |
9456 | } | |
9457 | { | |
9458 | wxPy_BEGIN_ALLOW_THREADS; | |
9459 | wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1); | |
9460 | ||
9461 | wxPy_END_ALLOW_THREADS; | |
9462 | } Py_INCREF(Py_None); | |
9463 | _resultobj = Py_None; | |
9464 | return _resultobj; | |
9465 | } | |
9466 | ||
9467 | #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
9468 | static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9469 | PyObject * _resultobj; | |
9470 | wxPyDividedShape * _arg0; | |
9471 | wxDC * _arg1; | |
9472 | PyObject * _argo0 = 0; | |
9473 | PyObject * _argo1 = 0; | |
9474 | char *_kwnames[] = { "self","dc", NULL }; | |
9475 | ||
9476 | self = self; | |
9477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
9478 | return NULL; | |
9479 | if (_argo0) { | |
9480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p."); | |
9483 | return NULL; | |
9484 | } | |
9485 | } | |
9486 | if (_argo1) { | |
9487 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9488 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p."); | |
9490 | return NULL; | |
9491 | } | |
9492 | } | |
9493 | { | |
9494 | wxPy_BEGIN_ALLOW_THREADS; | |
9495 | wxPyDividedShape_base_OnHighlight(_arg0,*_arg1); | |
9496 | ||
9497 | wxPy_END_ALLOW_THREADS; | |
9498 | } Py_INCREF(Py_None); | |
9499 | _resultobj = Py_None; | |
9500 | return _resultobj; | |
9501 | } | |
9502 | ||
9503 | #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9504 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9505 | PyObject * _resultobj; | |
9506 | wxPyDividedShape * _arg0; | |
9507 | double _arg1; | |
9508 | double _arg2; | |
9509 | int _arg3 = (int ) 0; | |
9510 | int _arg4 = (int ) 0; | |
9511 | PyObject * _argo0 = 0; | |
9512 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9513 | ||
9514 | self = self; | |
9515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9516 | return NULL; | |
9517 | if (_argo0) { | |
9518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p."); | |
9521 | return NULL; | |
9522 | } | |
9523 | } | |
9524 | { | |
9525 | wxPy_BEGIN_ALLOW_THREADS; | |
9526 | wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9527 | ||
9528 | wxPy_END_ALLOW_THREADS; | |
9529 | } Py_INCREF(Py_None); | |
9530 | _resultobj = Py_None; | |
9531 | return _resultobj; | |
9532 | } | |
9533 | ||
9534 | #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9535 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9536 | PyObject * _resultobj; | |
9537 | wxPyDividedShape * _arg0; | |
9538 | double _arg1; | |
9539 | double _arg2; | |
9540 | int _arg3 = (int ) 0; | |
9541 | int _arg4 = (int ) 0; | |
9542 | PyObject * _argo0 = 0; | |
9543 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9544 | ||
9545 | self = self; | |
9546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9547 | return NULL; | |
9548 | if (_argo0) { | |
9549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p."); | |
9552 | return NULL; | |
9553 | } | |
9554 | } | |
9555 | { | |
9556 | wxPy_BEGIN_ALLOW_THREADS; | |
9557 | wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9558 | ||
9559 | wxPy_END_ALLOW_THREADS; | |
9560 | } Py_INCREF(Py_None); | |
9561 | _resultobj = Py_None; | |
9562 | return _resultobj; | |
9563 | } | |
9564 | ||
9565 | #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9566 | static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9567 | PyObject * _resultobj; | |
9568 | wxPyDividedShape * _arg0; | |
9569 | double _arg1; | |
9570 | double _arg2; | |
9571 | int _arg3 = (int ) 0; | |
9572 | int _arg4 = (int ) 0; | |
9573 | PyObject * _argo0 = 0; | |
9574 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9575 | ||
9576 | self = self; | |
9577 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9578 | return NULL; | |
9579 | if (_argo0) { | |
9580 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9581 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p."); | |
9583 | return NULL; | |
9584 | } | |
9585 | } | |
9586 | { | |
9587 | wxPy_BEGIN_ALLOW_THREADS; | |
9588 | wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9589 | ||
9590 | wxPy_END_ALLOW_THREADS; | |
9591 | } Py_INCREF(Py_None); | |
9592 | _resultobj = Py_None; | |
9593 | return _resultobj; | |
9594 | } | |
9595 | ||
9596 | #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
9597 | static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9598 | PyObject * _resultobj; | |
9599 | wxPyDividedShape * _arg0; | |
9600 | double _arg1; | |
9601 | double _arg2; | |
9602 | PyObject * _argo0 = 0; | |
9603 | char *_kwnames[] = { "self","x","y", NULL }; | |
9604 | ||
9605 | self = self; | |
9606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9607 | return NULL; | |
9608 | if (_argo0) { | |
9609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p."); | |
9612 | return NULL; | |
9613 | } | |
9614 | } | |
9615 | { | |
9616 | wxPy_BEGIN_ALLOW_THREADS; | |
9617 | wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2); | |
9618 | ||
9619 | wxPy_END_ALLOW_THREADS; | |
9620 | } Py_INCREF(Py_None); | |
9621 | _resultobj = Py_None; | |
9622 | return _resultobj; | |
9623 | } | |
9624 | ||
9625 | #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9626 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9627 | PyObject * _resultobj; | |
9628 | bool _result; | |
9629 | wxPyDividedShape * _arg0; | |
9630 | wxDC * _arg1; | |
9631 | double _arg2; | |
9632 | double _arg3; | |
9633 | double _arg4; | |
9634 | double _arg5; | |
9635 | bool _arg6 = (bool ) TRUE; | |
9636 | PyObject * _argo0 = 0; | |
9637 | PyObject * _argo1 = 0; | |
9638 | int tempbool6 = (int) TRUE; | |
9639 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9640 | ||
9641 | self = self; | |
9642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9643 | return NULL; | |
9644 | if (_argo0) { | |
9645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p."); | |
9648 | return NULL; | |
9649 | } | |
9650 | } | |
9651 | if (_argo1) { | |
9652 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9653 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p."); | |
9655 | return NULL; | |
9656 | } | |
9657 | } | |
9658 | _arg6 = (bool ) tempbool6; | |
9659 | { | |
9660 | wxPy_BEGIN_ALLOW_THREADS; | |
9661 | _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9662 | ||
9663 | wxPy_END_ALLOW_THREADS; | |
9664 | } _resultobj = Py_BuildValue("i",_result); | |
9665 | return _resultobj; | |
9666 | } | |
9667 | ||
9668 | #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9669 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9670 | PyObject * _resultobj; | |
9671 | wxPyDividedShape * _arg0; | |
9672 | wxDC * _arg1; | |
9673 | double _arg2; | |
9674 | double _arg3; | |
9675 | double _arg4; | |
9676 | double _arg5; | |
9677 | bool _arg6 = (bool ) TRUE; | |
9678 | PyObject * _argo0 = 0; | |
9679 | PyObject * _argo1 = 0; | |
9680 | int tempbool6 = (int) TRUE; | |
9681 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9682 | ||
9683 | self = self; | |
9684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9685 | return NULL; | |
9686 | if (_argo0) { | |
9687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p."); | |
9690 | return NULL; | |
9691 | } | |
9692 | } | |
9693 | if (_argo1) { | |
9694 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9695 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p."); | |
9697 | return NULL; | |
9698 | } | |
9699 | } | |
9700 | _arg6 = (bool ) tempbool6; | |
9701 | { | |
9702 | wxPy_BEGIN_ALLOW_THREADS; | |
9703 | wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9704 | ||
9705 | wxPy_END_ALLOW_THREADS; | |
9706 | } Py_INCREF(Py_None); | |
9707 | _resultobj = Py_None; | |
9708 | return _resultobj; | |
9709 | } | |
9710 | ||
9711 | #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9712 | static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9713 | PyObject * _resultobj; | |
9714 | wxPyDividedShape * _arg0; | |
9715 | bool _arg1; | |
9716 | double _arg2; | |
9717 | double _arg3; | |
9718 | int _arg4 = (int ) 0; | |
9719 | int _arg5 = (int ) 0; | |
9720 | PyObject * _argo0 = 0; | |
9721 | int tempbool1; | |
9722 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9723 | ||
9724 | self = self; | |
9725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9726 | return NULL; | |
9727 | if (_argo0) { | |
9728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p."); | |
9731 | return NULL; | |
9732 | } | |
9733 | } | |
9734 | _arg1 = (bool ) tempbool1; | |
9735 | { | |
9736 | wxPy_BEGIN_ALLOW_THREADS; | |
9737 | wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9738 | ||
9739 | wxPy_END_ALLOW_THREADS; | |
9740 | } Py_INCREF(Py_None); | |
9741 | _resultobj = Py_None; | |
9742 | return _resultobj; | |
9743 | } | |
9744 | ||
9745 | #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9746 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9747 | PyObject * _resultobj; | |
9748 | wxPyDividedShape * _arg0; | |
9749 | double _arg1; | |
9750 | double _arg2; | |
9751 | int _arg3 = (int ) 0; | |
9752 | int _arg4 = (int ) 0; | |
9753 | PyObject * _argo0 = 0; | |
9754 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9755 | ||
9756 | self = self; | |
9757 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9758 | return NULL; | |
9759 | if (_argo0) { | |
9760 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9761 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p."); | |
9763 | return NULL; | |
9764 | } | |
9765 | } | |
9766 | { | |
9767 | wxPy_BEGIN_ALLOW_THREADS; | |
9768 | wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9769 | ||
9770 | wxPy_END_ALLOW_THREADS; | |
9771 | } Py_INCREF(Py_None); | |
9772 | _resultobj = Py_None; | |
9773 | return _resultobj; | |
9774 | } | |
9775 | ||
9776 | #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9777 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9778 | PyObject * _resultobj; | |
9779 | wxPyDividedShape * _arg0; | |
9780 | double _arg1; | |
9781 | double _arg2; | |
9782 | int _arg3 = (int ) 0; | |
9783 | int _arg4 = (int ) 0; | |
9784 | PyObject * _argo0 = 0; | |
9785 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9786 | ||
9787 | self = self; | |
9788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9789 | return NULL; | |
9790 | if (_argo0) { | |
9791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p."); | |
9794 | return NULL; | |
9795 | } | |
9796 | } | |
9797 | { | |
9798 | wxPy_BEGIN_ALLOW_THREADS; | |
9799 | wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9800 | ||
9801 | wxPy_END_ALLOW_THREADS; | |
9802 | } Py_INCREF(Py_None); | |
9803 | _resultobj = Py_None; | |
9804 | return _resultobj; | |
9805 | } | |
9806 | ||
9807 | #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9808 | static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9809 | PyObject * _resultobj; | |
9810 | wxPyDividedShape * _arg0; | |
9811 | bool _arg1; | |
9812 | double _arg2; | |
9813 | double _arg3; | |
9814 | int _arg4 = (int ) 0; | |
9815 | int _arg5 = (int ) 0; | |
9816 | PyObject * _argo0 = 0; | |
9817 | int tempbool1; | |
9818 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9819 | ||
9820 | self = self; | |
9821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9822 | return NULL; | |
9823 | if (_argo0) { | |
9824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p."); | |
9827 | return NULL; | |
9828 | } | |
9829 | } | |
9830 | _arg1 = (bool ) tempbool1; | |
9831 | { | |
9832 | wxPy_BEGIN_ALLOW_THREADS; | |
9833 | wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9834 | ||
9835 | wxPy_END_ALLOW_THREADS; | |
9836 | } Py_INCREF(Py_None); | |
9837 | _resultobj = Py_None; | |
9838 | return _resultobj; | |
9839 | } | |
9840 | ||
9841 | #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9842 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9843 | PyObject * _resultobj; | |
9844 | wxPyDividedShape * _arg0; | |
9845 | double _arg1; | |
9846 | double _arg2; | |
9847 | int _arg3 = (int ) 0; | |
9848 | int _arg4 = (int ) 0; | |
9849 | PyObject * _argo0 = 0; | |
9850 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9851 | ||
9852 | self = self; | |
9853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9854 | return NULL; | |
9855 | if (_argo0) { | |
9856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p."); | |
9859 | return NULL; | |
9860 | } | |
9861 | } | |
9862 | { | |
9863 | wxPy_BEGIN_ALLOW_THREADS; | |
9864 | wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9865 | ||
9866 | wxPy_END_ALLOW_THREADS; | |
9867 | } Py_INCREF(Py_None); | |
9868 | _resultobj = Py_None; | |
9869 | return _resultobj; | |
9870 | } | |
9871 | ||
9872 | #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9873 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9874 | PyObject * _resultobj; | |
9875 | wxPyDividedShape * _arg0; | |
9876 | double _arg1; | |
9877 | double _arg2; | |
9878 | int _arg3 = (int ) 0; | |
9879 | int _arg4 = (int ) 0; | |
9880 | PyObject * _argo0 = 0; | |
9881 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9882 | ||
9883 | self = self; | |
9884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9885 | return NULL; | |
9886 | if (_argo0) { | |
9887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p."); | |
9890 | return NULL; | |
9891 | } | |
9892 | } | |
9893 | { | |
9894 | wxPy_BEGIN_ALLOW_THREADS; | |
9895 | wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9896 | ||
9897 | wxPy_END_ALLOW_THREADS; | |
9898 | } Py_INCREF(Py_None); | |
9899 | _resultobj = Py_None; | |
9900 | return _resultobj; | |
9901 | } | |
9902 | ||
9903 | #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9904 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9905 | PyObject * _resultobj; | |
9906 | wxPyDividedShape * _arg0; | |
9907 | wxDC * _arg1; | |
9908 | double _arg2; | |
9909 | double _arg3; | |
9910 | double _arg4; | |
9911 | double _arg5; | |
9912 | PyObject * _argo0 = 0; | |
9913 | PyObject * _argo1 = 0; | |
9914 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
9915 | ||
9916 | self = self; | |
9917 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9918 | return NULL; | |
9919 | if (_argo0) { | |
9920 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9921 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9922 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p."); | |
9923 | return NULL; | |
9924 | } | |
9925 | } | |
9926 | if (_argo1) { | |
9927 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9928 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p."); | |
9930 | return NULL; | |
9931 | } | |
9932 | } | |
9933 | { | |
9934 | wxPy_BEGIN_ALLOW_THREADS; | |
9935 | wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
9936 | ||
9937 | wxPy_END_ALLOW_THREADS; | |
9938 | } Py_INCREF(Py_None); | |
9939 | _resultobj = Py_None; | |
9940 | return _resultobj; | |
9941 | } | |
9942 | ||
9943 | #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
9944 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9945 | PyObject * _resultobj; | |
9946 | wxPyDividedShape * _arg0; | |
9947 | wxDC * _arg1; | |
9948 | PyObject * _argo0 = 0; | |
9949 | PyObject * _argo1 = 0; | |
9950 | char *_kwnames[] = { "self","dc", NULL }; | |
9951 | ||
9952 | self = self; | |
9953 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
9954 | return NULL; | |
9955 | if (_argo0) { | |
9956 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9957 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p."); | |
9959 | return NULL; | |
9960 | } | |
9961 | } | |
9962 | if (_argo1) { | |
9963 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9964 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9965 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
9966 | return NULL; | |
9967 | } | |
9968 | } | |
9969 | { | |
9970 | wxPy_BEGIN_ALLOW_THREADS; | |
9971 | wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
9972 | ||
9973 | wxPy_END_ALLOW_THREADS; | |
9974 | } Py_INCREF(Py_None); | |
9975 | _resultobj = Py_None; | |
9976 | return _resultobj; | |
9977 | } | |
9978 | ||
9979 | #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
9980 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9981 | PyObject * _resultobj; | |
9982 | wxPyDividedShape * _arg0; | |
9983 | wxDC * _arg1; | |
9984 | PyObject * _argo0 = 0; | |
9985 | PyObject * _argo1 = 0; | |
9986 | char *_kwnames[] = { "self","dc", NULL }; | |
9987 | ||
9988 | self = self; | |
9989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
9990 | return NULL; | |
9991 | if (_argo0) { | |
9992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p."); | |
9995 | return NULL; | |
9996 | } | |
9997 | } | |
9998 | if (_argo1) { | |
9999 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10000 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10001 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
10002 | return NULL; | |
10003 | } | |
10004 | } | |
10005 | { | |
10006 | wxPy_BEGIN_ALLOW_THREADS; | |
10007 | wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
10008 | ||
10009 | wxPy_END_ALLOW_THREADS; | |
10010 | } Py_INCREF(Py_None); | |
10011 | _resultobj = Py_None; | |
10012 | return _resultobj; | |
10013 | } | |
10014 | ||
10015 | #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
10016 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10017 | PyObject * _resultobj; | |
10018 | wxPyDividedShape * _arg0; | |
10019 | wxDC * _arg1; | |
10020 | bool _arg2 = (bool ) TRUE; | |
10021 | PyObject * _argo0 = 0; | |
10022 | PyObject * _argo1 = 0; | |
10023 | int tempbool2 = (int) TRUE; | |
10024 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
10025 | ||
10026 | self = self; | |
10027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
10028 | return NULL; | |
10029 | if (_argo0) { | |
10030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p."); | |
10033 | return NULL; | |
10034 | } | |
10035 | } | |
10036 | if (_argo1) { | |
10037 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10038 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p."); | |
10040 | return NULL; | |
10041 | } | |
10042 | } | |
10043 | _arg2 = (bool ) tempbool2; | |
10044 | { | |
10045 | wxPy_BEGIN_ALLOW_THREADS; | |
10046 | wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
10047 | ||
10048 | wxPy_END_ALLOW_THREADS; | |
10049 | } Py_INCREF(Py_None); | |
10050 | _resultobj = Py_None; | |
10051 | return _resultobj; | |
10052 | } | |
10053 | ||
10054 | #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
10055 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10056 | PyObject * _resultobj; | |
10057 | wxPyDividedShape * _arg0; | |
2348eaee | 10058 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10059 | bool _arg2; |
10060 | double _arg3; | |
10061 | double _arg4; | |
10062 | int _arg5 = (int ) 0; | |
10063 | int _arg6 = (int ) 0; | |
10064 | PyObject * _argo0 = 0; | |
10065 | PyObject * _argo1 = 0; | |
10066 | int tempbool2; | |
10067 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
10068 | ||
10069 | self = self; | |
10070 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
10071 | return NULL; | |
10072 | if (_argo0) { | |
10073 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10074 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10075 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p."); | |
10076 | return NULL; | |
10077 | } | |
10078 | } | |
10079 | if (_argo1) { | |
10080 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10081 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10083 | return NULL; |
10084 | } | |
10085 | } | |
10086 | _arg2 = (bool ) tempbool2; | |
10087 | { | |
10088 | wxPy_BEGIN_ALLOW_THREADS; | |
10089 | wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
10090 | ||
10091 | wxPy_END_ALLOW_THREADS; | |
10092 | } Py_INCREF(Py_None); | |
10093 | _resultobj = Py_None; | |
10094 | return _resultobj; | |
10095 | } | |
10096 | ||
10097 | #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10098 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10099 | PyObject * _resultobj; | |
10100 | wxPyDividedShape * _arg0; | |
2348eaee | 10101 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10102 | double _arg2; |
10103 | double _arg3; | |
10104 | int _arg4 = (int ) 0; | |
10105 | int _arg5 = (int ) 0; | |
10106 | PyObject * _argo0 = 0; | |
10107 | PyObject * _argo1 = 0; | |
10108 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10109 | ||
10110 | self = self; | |
10111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10112 | return NULL; | |
10113 | if (_argo0) { | |
10114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p."); | |
10117 | return NULL; | |
10118 | } | |
10119 | } | |
10120 | if (_argo1) { | |
10121 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10122 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10124 | return NULL; |
10125 | } | |
10126 | } | |
10127 | { | |
10128 | wxPy_BEGIN_ALLOW_THREADS; | |
10129 | wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10130 | ||
10131 | wxPy_END_ALLOW_THREADS; | |
10132 | } Py_INCREF(Py_None); | |
10133 | _resultobj = Py_None; | |
10134 | return _resultobj; | |
10135 | } | |
10136 | ||
10137 | #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10138 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10139 | PyObject * _resultobj; | |
10140 | wxPyDividedShape * _arg0; | |
2348eaee | 10141 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10142 | double _arg2; |
10143 | double _arg3; | |
10144 | int _arg4 = (int ) 0; | |
10145 | int _arg5 = (int ) 0; | |
10146 | PyObject * _argo0 = 0; | |
10147 | PyObject * _argo1 = 0; | |
10148 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10149 | ||
10150 | self = self; | |
10151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10152 | return NULL; | |
10153 | if (_argo0) { | |
10154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p."); | |
10157 | return NULL; | |
10158 | } | |
10159 | } | |
10160 | if (_argo1) { | |
10161 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10162 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10163 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10164 | return NULL; |
10165 | } | |
10166 | } | |
10167 | { | |
10168 | wxPy_BEGIN_ALLOW_THREADS; | |
10169 | wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10170 | ||
10171 | wxPy_END_ALLOW_THREADS; | |
10172 | } Py_INCREF(Py_None); | |
10173 | _resultobj = Py_None; | |
10174 | return _resultobj; | |
10175 | } | |
10176 | ||
10177 | #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
10178 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10179 | PyObject * _resultobj; | |
10180 | wxPyDividedShape * _arg0; | |
10181 | double _arg1; | |
10182 | double _arg2; | |
10183 | PyObject * _argo0 = 0; | |
10184 | char *_kwnames[] = { "self","w","h", NULL }; | |
10185 | ||
10186 | self = self; | |
10187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10188 | return NULL; | |
10189 | if (_argo0) { | |
10190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p."); | |
10193 | return NULL; | |
10194 | } | |
10195 | } | |
10196 | { | |
10197 | wxPy_BEGIN_ALLOW_THREADS; | |
10198 | wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
10199 | ||
10200 | wxPy_END_ALLOW_THREADS; | |
10201 | } Py_INCREF(Py_None); | |
10202 | _resultobj = Py_None; | |
10203 | return _resultobj; | |
10204 | } | |
10205 | ||
10206 | #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
10207 | static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10208 | PyObject * _resultobj; | |
10209 | wxPyDividedShape * _arg0; | |
10210 | double _arg1; | |
10211 | double _arg2; | |
10212 | PyObject * _argo0 = 0; | |
10213 | char *_kwnames[] = { "self","w","h", NULL }; | |
10214 | ||
10215 | self = self; | |
10216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10217 | return NULL; | |
10218 | if (_argo0) { | |
10219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p."); | |
10222 | return NULL; | |
10223 | } | |
10224 | } | |
10225 | { | |
10226 | wxPy_BEGIN_ALLOW_THREADS; | |
10227 | wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
10228 | ||
10229 | wxPy_END_ALLOW_THREADS; | |
10230 | } Py_INCREF(Py_None); | |
10231 | _resultobj = Py_None; | |
10232 | return _resultobj; | |
10233 | } | |
10234 | ||
10235 | static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) { | |
10236 | wxPyDivisionShape *src; | |
10237 | wxPyCompositeShape *dest; | |
10238 | src = (wxPyDivisionShape *) ptr; | |
10239 | dest = (wxPyCompositeShape *) src; | |
10240 | return (void *) dest; | |
10241 | } | |
10242 | ||
10243 | static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) { | |
10244 | wxPyDivisionShape *src; | |
10245 | wxPyRectangleShape *dest; | |
10246 | src = (wxPyDivisionShape *) ptr; | |
10247 | dest = (wxPyRectangleShape *) src; | |
10248 | return (void *) dest; | |
10249 | } | |
10250 | ||
10251 | static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) { | |
10252 | wxPyDivisionShape *src; | |
10253 | wxPyShape *dest; | |
10254 | src = (wxPyDivisionShape *) ptr; | |
10255 | dest = (wxPyShape *) src; | |
10256 | return (void *) dest; | |
10257 | } | |
10258 | ||
10259 | static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) { | |
10260 | wxPyDivisionShape *src; | |
10261 | wxPyShapeEvtHandler *dest; | |
10262 | src = (wxPyDivisionShape *) ptr; | |
10263 | dest = (wxPyShapeEvtHandler *) src; | |
10264 | return (void *) dest; | |
10265 | } | |
10266 | ||
10267 | #define new_wxPyDivisionShape() (new wxPyDivisionShape()) | |
10268 | static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10269 | PyObject * _resultobj; | |
10270 | wxPyDivisionShape * _result; | |
10271 | char *_kwnames[] = { NULL }; | |
10272 | char _ptemp[128]; | |
10273 | ||
10274 | self = self; | |
10275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames)) | |
10276 | return NULL; | |
10277 | { | |
10278 | wxPy_BEGIN_ALLOW_THREADS; | |
10279 | _result = (wxPyDivisionShape *)new_wxPyDivisionShape(); | |
10280 | ||
10281 | wxPy_END_ALLOW_THREADS; | |
10282 | } if (_result) { | |
10283 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10284 | _resultobj = Py_BuildValue("s",_ptemp); | |
10285 | } else { | |
10286 | Py_INCREF(Py_None); | |
10287 | _resultobj = Py_None; | |
10288 | } | |
10289 | return _resultobj; | |
10290 | } | |
10291 | ||
f6bcfd97 | 10292 | #define wxPyDivisionShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
10293 | static PyObject *_wrap_wxPyDivisionShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
10294 | PyObject * _resultobj; | |
10295 | wxPyDivisionShape * _arg0; | |
10296 | PyObject * _arg1; | |
f6bcfd97 | 10297 | PyObject * _arg2; |
e91a9dfc RD |
10298 | PyObject * _argo0 = 0; |
10299 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
10300 | PyObject * _obj2 = 0; |
10301 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
10302 | |
10303 | self = self; | |
f6bcfd97 | 10304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
10305 | return NULL; |
10306 | if (_argo0) { | |
10307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setSelf. Expected _wxPyDivisionShape_p."); | |
10310 | return NULL; | |
10311 | } | |
10312 | } | |
10313 | { | |
10314 | _arg1 = _obj1; | |
10315 | } | |
f6bcfd97 BP |
10316 | { |
10317 | _arg2 = _obj2; | |
10318 | } | |
e91a9dfc RD |
10319 | { |
10320 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 10321 | wxPyDivisionShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
10322 | |
10323 | wxPy_END_ALLOW_THREADS; | |
10324 | } Py_INCREF(Py_None); | |
10325 | _resultobj = Py_None; | |
10326 | return _resultobj; | |
10327 | } | |
10328 | ||
10329 | #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1)) | |
10330 | static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10331 | PyObject * _resultobj; | |
10332 | wxPyDivisionShape * _arg0; | |
10333 | double _arg1; | |
10334 | bool _arg2; | |
10335 | PyObject * _argo0 = 0; | |
10336 | int tempbool2; | |
10337 | char *_kwnames[] = { "self","bottom","test", NULL }; | |
10338 | ||
10339 | self = self; | |
10340 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10341 | return NULL; | |
10342 | if (_argo0) { | |
10343 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10344 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10345 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p."); | |
10346 | return NULL; | |
10347 | } | |
10348 | } | |
10349 | _arg2 = (bool ) tempbool2; | |
10350 | { | |
10351 | wxPy_BEGIN_ALLOW_THREADS; | |
10352 | wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2); | |
10353 | ||
10354 | wxPy_END_ALLOW_THREADS; | |
10355 | } Py_INCREF(Py_None); | |
10356 | _resultobj = Py_None; | |
10357 | return _resultobj; | |
10358 | } | |
10359 | ||
10360 | #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1)) | |
10361 | static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10362 | PyObject * _resultobj; | |
10363 | wxPyDivisionShape * _arg0; | |
10364 | double _arg1; | |
10365 | bool _arg2; | |
10366 | PyObject * _argo0 = 0; | |
10367 | int tempbool2; | |
10368 | char *_kwnames[] = { "self","left","test", NULL }; | |
10369 | ||
10370 | self = self; | |
10371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10372 | return NULL; | |
10373 | if (_argo0) { | |
10374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p."); | |
10377 | return NULL; | |
10378 | } | |
10379 | } | |
10380 | _arg2 = (bool ) tempbool2; | |
10381 | { | |
10382 | wxPy_BEGIN_ALLOW_THREADS; | |
10383 | wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2); | |
10384 | ||
10385 | wxPy_END_ALLOW_THREADS; | |
10386 | } Py_INCREF(Py_None); | |
10387 | _resultobj = Py_None; | |
10388 | return _resultobj; | |
10389 | } | |
10390 | ||
10391 | #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1)) | |
10392 | static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10393 | PyObject * _resultobj; | |
10394 | wxPyDivisionShape * _arg0; | |
10395 | double _arg1; | |
10396 | bool _arg2; | |
10397 | PyObject * _argo0 = 0; | |
10398 | int tempbool2; | |
10399 | char *_kwnames[] = { "self","right","test", NULL }; | |
10400 | ||
10401 | self = self; | |
10402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10403 | return NULL; | |
10404 | if (_argo0) { | |
10405 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10406 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10407 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p."); | |
10408 | return NULL; | |
10409 | } | |
10410 | } | |
10411 | _arg2 = (bool ) tempbool2; | |
10412 | { | |
10413 | wxPy_BEGIN_ALLOW_THREADS; | |
10414 | wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2); | |
10415 | ||
10416 | wxPy_END_ALLOW_THREADS; | |
10417 | } Py_INCREF(Py_None); | |
10418 | _resultobj = Py_None; | |
10419 | return _resultobj; | |
10420 | } | |
10421 | ||
10422 | #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1)) | |
10423 | static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10424 | PyObject * _resultobj; | |
10425 | wxPyDivisionShape * _arg0; | |
10426 | double _arg1; | |
10427 | bool _arg2; | |
10428 | PyObject * _argo0 = 0; | |
10429 | int tempbool2; | |
10430 | char *_kwnames[] = { "self","top","test", NULL }; | |
10431 | ||
10432 | self = self; | |
10433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10434 | return NULL; | |
10435 | if (_argo0) { | |
10436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p."); | |
10439 | return NULL; | |
10440 | } | |
10441 | } | |
10442 | _arg2 = (bool ) tempbool2; | |
10443 | { | |
10444 | wxPy_BEGIN_ALLOW_THREADS; | |
10445 | wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2); | |
10446 | ||
10447 | wxPy_END_ALLOW_THREADS; | |
10448 | } Py_INCREF(Py_None); | |
10449 | _resultobj = Py_None; | |
10450 | return _resultobj; | |
10451 | } | |
10452 | ||
10453 | #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0)) | |
10454 | static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10455 | PyObject * _resultobj; | |
10456 | wxPyDivisionShape * _arg0; | |
10457 | int _arg1; | |
10458 | PyObject * _argo0 = 0; | |
10459 | char *_kwnames[] = { "self","direction", NULL }; | |
10460 | ||
10461 | self = self; | |
10462 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1)) | |
10463 | return NULL; | |
10464 | if (_argo0) { | |
10465 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10466 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10467 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p."); | |
10468 | return NULL; | |
10469 | } | |
10470 | } | |
10471 | { | |
10472 | wxPy_BEGIN_ALLOW_THREADS; | |
10473 | wxPyDivisionShape_Divide(_arg0,_arg1); | |
10474 | ||
10475 | wxPy_END_ALLOW_THREADS; | |
10476 | } Py_INCREF(Py_None); | |
10477 | _resultobj = Py_None; | |
10478 | return _resultobj; | |
10479 | } | |
10480 | ||
10481 | #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0)) | |
10482 | static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10483 | PyObject * _resultobj; | |
10484 | wxPyDivisionShape * _arg0; | |
10485 | int _arg1; | |
10486 | PyObject * _argo0 = 0; | |
10487 | char *_kwnames[] = { "self","side", NULL }; | |
10488 | ||
10489 | self = self; | |
10490 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1)) | |
10491 | return NULL; | |
10492 | if (_argo0) { | |
10493 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10494 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10495 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p."); | |
10496 | return NULL; | |
10497 | } | |
10498 | } | |
10499 | { | |
10500 | wxPy_BEGIN_ALLOW_THREADS; | |
10501 | wxPyDivisionShape_EditEdge(_arg0,_arg1); | |
10502 | ||
10503 | wxPy_END_ALLOW_THREADS; | |
10504 | } Py_INCREF(Py_None); | |
10505 | _resultobj = Py_None; | |
10506 | return _resultobj; | |
10507 | } | |
10508 | ||
10509 | #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide()) | |
10510 | static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10511 | PyObject * _resultobj; | |
10512 | wxPyDivisionShape * _result; | |
10513 | wxPyDivisionShape * _arg0; | |
10514 | PyObject * _argo0 = 0; | |
10515 | char *_kwnames[] = { "self", NULL }; | |
10516 | char _ptemp[128]; | |
10517 | ||
10518 | self = self; | |
10519 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0)) | |
10520 | return NULL; | |
10521 | if (_argo0) { | |
10522 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10523 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10524 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p."); | |
10525 | return NULL; | |
10526 | } | |
10527 | } | |
10528 | { | |
10529 | wxPy_BEGIN_ALLOW_THREADS; | |
10530 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0); | |
10531 | ||
10532 | wxPy_END_ALLOW_THREADS; | |
10533 | } if (_result) { | |
10534 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10535 | _resultobj = Py_BuildValue("s",_ptemp); | |
10536 | } else { | |
10537 | Py_INCREF(Py_None); | |
10538 | _resultobj = Py_None; | |
10539 | } | |
10540 | return _resultobj; | |
10541 | } | |
10542 | ||
10543 | #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide()) | |
10544 | static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10545 | PyObject * _resultobj; | |
10546 | int _result; | |
10547 | wxPyDivisionShape * _arg0; | |
10548 | PyObject * _argo0 = 0; | |
10549 | char *_kwnames[] = { "self", NULL }; | |
10550 | ||
10551 | self = self; | |
10552 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0)) | |
10553 | return NULL; | |
10554 | if (_argo0) { | |
10555 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10556 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p."); | |
10558 | return NULL; | |
10559 | } | |
10560 | } | |
10561 | { | |
10562 | wxPy_BEGIN_ALLOW_THREADS; | |
10563 | _result = (int )wxPyDivisionShape_GetHandleSide(_arg0); | |
10564 | ||
10565 | wxPy_END_ALLOW_THREADS; | |
10566 | } _resultobj = Py_BuildValue("i",_result); | |
10567 | return _resultobj; | |
10568 | } | |
10569 | ||
10570 | #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide()) | |
10571 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10572 | PyObject * _resultobj; | |
10573 | wxPyDivisionShape * _result; | |
10574 | wxPyDivisionShape * _arg0; | |
10575 | PyObject * _argo0 = 0; | |
10576 | char *_kwnames[] = { "self", NULL }; | |
10577 | char _ptemp[128]; | |
10578 | ||
10579 | self = self; | |
10580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0)) | |
10581 | return NULL; | |
10582 | if (_argo0) { | |
10583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p."); | |
10586 | return NULL; | |
10587 | } | |
10588 | } | |
10589 | { | |
10590 | wxPy_BEGIN_ALLOW_THREADS; | |
10591 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0); | |
10592 | ||
10593 | wxPy_END_ALLOW_THREADS; | |
10594 | } if (_result) { | |
10595 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10596 | _resultobj = Py_BuildValue("s",_ptemp); | |
10597 | } else { | |
10598 | Py_INCREF(Py_None); | |
10599 | _resultobj = Py_None; | |
10600 | } | |
10601 | return _resultobj; | |
10602 | } | |
10603 | ||
10604 | #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour()) | |
10605 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10606 | PyObject * _resultobj; | |
10607 | wxString * _result; | |
10608 | wxPyDivisionShape * _arg0; | |
10609 | PyObject * _argo0 = 0; | |
10610 | char *_kwnames[] = { "self", NULL }; | |
10611 | ||
10612 | self = self; | |
10613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0)) | |
10614 | return NULL; | |
10615 | if (_argo0) { | |
10616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10619 | return NULL; | |
10620 | } | |
10621 | } | |
10622 | { | |
10623 | wxPy_BEGIN_ALLOW_THREADS; | |
10624 | _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0)); | |
10625 | ||
10626 | wxPy_END_ALLOW_THREADS; | |
10627 | }{ | |
eec92d76 | 10628 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
10629 | } |
10630 | { | |
10631 | delete _result; | |
10632 | } | |
10633 | return _resultobj; | |
10634 | } | |
10635 | ||
10636 | #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen()) | |
10637 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10638 | PyObject * _resultobj; | |
10639 | wxPen * _result; | |
10640 | wxPyDivisionShape * _arg0; | |
10641 | PyObject * _argo0 = 0; | |
10642 | char *_kwnames[] = { "self", NULL }; | |
10643 | char _ptemp[128]; | |
10644 | ||
10645 | self = self; | |
10646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0)) | |
10647 | return NULL; | |
10648 | if (_argo0) { | |
10649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
10652 | return NULL; | |
10653 | } | |
10654 | } | |
10655 | { | |
10656 | wxPy_BEGIN_ALLOW_THREADS; | |
10657 | _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0); | |
10658 | ||
10659 | wxPy_END_ALLOW_THREADS; | |
10660 | } if (_result) { | |
10661 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10662 | _resultobj = Py_BuildValue("s",_ptemp); | |
10663 | } else { | |
10664 | Py_INCREF(Py_None); | |
10665 | _resultobj = Py_None; | |
10666 | } | |
10667 | return _resultobj; | |
10668 | } | |
10669 | ||
10670 | #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide()) | |
10671 | static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10672 | PyObject * _resultobj; | |
10673 | wxPyDivisionShape * _result; | |
10674 | wxPyDivisionShape * _arg0; | |
10675 | PyObject * _argo0 = 0; | |
10676 | char *_kwnames[] = { "self", NULL }; | |
10677 | char _ptemp[128]; | |
10678 | ||
10679 | self = self; | |
10680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0)) | |
10681 | return NULL; | |
10682 | if (_argo0) { | |
10683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p."); | |
10686 | return NULL; | |
10687 | } | |
10688 | } | |
10689 | { | |
10690 | wxPy_BEGIN_ALLOW_THREADS; | |
10691 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0); | |
10692 | ||
10693 | wxPy_END_ALLOW_THREADS; | |
10694 | } if (_result) { | |
10695 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10696 | _resultobj = Py_BuildValue("s",_ptemp); | |
10697 | } else { | |
10698 | Py_INCREF(Py_None); | |
10699 | _resultobj = Py_None; | |
10700 | } | |
10701 | return _resultobj; | |
10702 | } | |
10703 | ||
10704 | #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide()) | |
10705 | static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10706 | PyObject * _resultobj; | |
10707 | wxPyDivisionShape * _result; | |
10708 | wxPyDivisionShape * _arg0; | |
10709 | PyObject * _argo0 = 0; | |
10710 | char *_kwnames[] = { "self", NULL }; | |
10711 | char _ptemp[128]; | |
10712 | ||
10713 | self = self; | |
10714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0)) | |
10715 | return NULL; | |
10716 | if (_argo0) { | |
10717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p."); | |
10720 | return NULL; | |
10721 | } | |
10722 | } | |
10723 | { | |
10724 | wxPy_BEGIN_ALLOW_THREADS; | |
10725 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0); | |
10726 | ||
10727 | wxPy_END_ALLOW_THREADS; | |
10728 | } if (_result) { | |
10729 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10730 | _resultobj = Py_BuildValue("s",_ptemp); | |
10731 | } else { | |
10732 | Py_INCREF(Py_None); | |
10733 | _resultobj = Py_None; | |
10734 | } | |
10735 | return _resultobj; | |
10736 | } | |
10737 | ||
10738 | #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen()) | |
10739 | static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10740 | PyObject * _resultobj; | |
10741 | wxPen * _result; | |
10742 | wxPyDivisionShape * _arg0; | |
10743 | PyObject * _argo0 = 0; | |
10744 | char *_kwnames[] = { "self", NULL }; | |
10745 | char _ptemp[128]; | |
10746 | ||
10747 | self = self; | |
10748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0)) | |
10749 | return NULL; | |
10750 | if (_argo0) { | |
10751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p."); | |
10754 | return NULL; | |
10755 | } | |
10756 | } | |
10757 | { | |
10758 | wxPy_BEGIN_ALLOW_THREADS; | |
10759 | _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0); | |
10760 | ||
10761 | wxPy_END_ALLOW_THREADS; | |
10762 | } if (_result) { | |
10763 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10764 | _resultobj = Py_BuildValue("s",_ptemp); | |
10765 | } else { | |
10766 | Py_INCREF(Py_None); | |
10767 | _resultobj = Py_None; | |
10768 | } | |
10769 | return _resultobj; | |
10770 | } | |
10771 | ||
10772 | #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2)) | |
10773 | static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10774 | PyObject * _resultobj; | |
10775 | wxPyDivisionShape * _arg0; | |
10776 | int _arg1; | |
10777 | double _arg2; | |
10778 | bool _arg3; | |
10779 | PyObject * _argo0 = 0; | |
10780 | int tempbool3; | |
10781 | char *_kwnames[] = { "self","side","newPos","test", NULL }; | |
10782 | ||
10783 | self = self; | |
10784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
10785 | return NULL; | |
10786 | if (_argo0) { | |
10787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p."); | |
10790 | return NULL; | |
10791 | } | |
10792 | } | |
10793 | _arg3 = (bool ) tempbool3; | |
10794 | { | |
10795 | wxPy_BEGIN_ALLOW_THREADS; | |
10796 | wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3); | |
10797 | ||
10798 | wxPy_END_ALLOW_THREADS; | |
10799 | } Py_INCREF(Py_None); | |
10800 | _resultobj = Py_None; | |
10801 | return _resultobj; | |
10802 | } | |
10803 | ||
10804 | #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1)) | |
10805 | static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10806 | PyObject * _resultobj; | |
10807 | wxPyDivisionShape * _arg0; | |
10808 | double _arg1; | |
10809 | double _arg2; | |
10810 | PyObject * _argo0 = 0; | |
10811 | char *_kwnames[] = { "self","x","y", NULL }; | |
10812 | ||
10813 | self = self; | |
10814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10815 | return NULL; | |
10816 | if (_argo0) { | |
10817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p."); | |
10820 | return NULL; | |
10821 | } | |
10822 | } | |
10823 | { | |
10824 | wxPy_BEGIN_ALLOW_THREADS; | |
10825 | wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2); | |
10826 | ||
10827 | wxPy_END_ALLOW_THREADS; | |
10828 | } Py_INCREF(Py_None); | |
10829 | _resultobj = Py_None; | |
10830 | return _resultobj; | |
10831 | } | |
10832 | ||
10833 | #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0)) | |
10834 | static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10835 | PyObject * _resultobj; | |
10836 | wxPyDivisionShape * _arg0; | |
10837 | wxPyDivisionShape * _arg1; | |
10838 | PyObject * _argo0 = 0; | |
10839 | PyObject * _argo1 = 0; | |
10840 | char *_kwnames[] = { "self","shape", NULL }; | |
10841 | ||
10842 | self = self; | |
10843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1)) | |
10844 | return NULL; | |
10845 | if (_argo0) { | |
10846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10849 | return NULL; | |
10850 | } | |
10851 | } | |
10852 | if (_argo1) { | |
10853 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10854 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10856 | return NULL; | |
10857 | } | |
10858 | } | |
10859 | { | |
10860 | wxPy_BEGIN_ALLOW_THREADS; | |
10861 | wxPyDivisionShape_SetBottomSide(_arg0,_arg1); | |
10862 | ||
10863 | wxPy_END_ALLOW_THREADS; | |
10864 | } Py_INCREF(Py_None); | |
10865 | _resultobj = Py_None; | |
10866 | return _resultobj; | |
10867 | } | |
10868 | ||
10869 | #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0)) | |
10870 | static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10871 | PyObject * _resultobj; | |
10872 | wxPyDivisionShape * _arg0; | |
10873 | int _arg1; | |
10874 | PyObject * _argo0 = 0; | |
10875 | char *_kwnames[] = { "self","side", NULL }; | |
10876 | ||
10877 | self = self; | |
10878 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1)) | |
10879 | return NULL; | |
10880 | if (_argo0) { | |
10881 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10882 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10883 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p."); | |
10884 | return NULL; | |
10885 | } | |
10886 | } | |
10887 | { | |
10888 | wxPy_BEGIN_ALLOW_THREADS; | |
10889 | wxPyDivisionShape_SetHandleSide(_arg0,_arg1); | |
10890 | ||
10891 | wxPy_END_ALLOW_THREADS; | |
10892 | } Py_INCREF(Py_None); | |
10893 | _resultobj = Py_None; | |
10894 | return _resultobj; | |
10895 | } | |
10896 | ||
10897 | #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0)) | |
10898 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10899 | PyObject * _resultobj; | |
10900 | wxPyDivisionShape * _arg0; | |
10901 | wxPyDivisionShape * _arg1; | |
10902 | PyObject * _argo0 = 0; | |
10903 | PyObject * _argo1 = 0; | |
10904 | char *_kwnames[] = { "self","shape", NULL }; | |
10905 | ||
10906 | self = self; | |
10907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1)) | |
10908 | return NULL; | |
10909 | if (_argo0) { | |
10910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10913 | return NULL; | |
10914 | } | |
10915 | } | |
10916 | if (_argo1) { | |
10917 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10918 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10919 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10920 | return NULL; | |
10921 | } | |
10922 | } | |
10923 | { | |
10924 | wxPy_BEGIN_ALLOW_THREADS; | |
10925 | wxPyDivisionShape_SetLeftSide(_arg0,_arg1); | |
10926 | ||
10927 | wxPy_END_ALLOW_THREADS; | |
10928 | } Py_INCREF(Py_None); | |
10929 | _resultobj = Py_None; | |
10930 | return _resultobj; | |
10931 | } | |
10932 | ||
10933 | #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0)) | |
10934 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10935 | PyObject * _resultobj; | |
10936 | wxPyDivisionShape * _arg0; | |
10937 | wxString * _arg1; | |
10938 | PyObject * _argo0 = 0; | |
10939 | PyObject * _obj1 = 0; | |
10940 | char *_kwnames[] = { "self","colour", NULL }; | |
10941 | ||
10942 | self = self; | |
10943 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1)) | |
10944 | return NULL; | |
10945 | if (_argo0) { | |
10946 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10947 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10949 | return NULL; | |
10950 | } | |
10951 | } | |
10952 | { | |
185d7c3e RD |
10953 | #if PYTHON_API_VERSION >= 1009 |
10954 | char* tmpPtr; int tmpSize; | |
10955 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
10956 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
10957 | return NULL; | |
10958 | } | |
10959 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
10960 | return NULL; | |
10961 | _arg1 = new wxString(tmpPtr, tmpSize); | |
10962 | #else | |
e91a9dfc RD |
10963 | if (!PyString_Check(_obj1)) { |
10964 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
10965 | return NULL; | |
10966 | } | |
185d7c3e RD |
10967 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
10968 | #endif | |
e91a9dfc RD |
10969 | } |
10970 | { | |
10971 | wxPy_BEGIN_ALLOW_THREADS; | |
10972 | wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1); | |
10973 | ||
10974 | wxPy_END_ALLOW_THREADS; | |
10975 | } Py_INCREF(Py_None); | |
10976 | _resultobj = Py_None; | |
10977 | { | |
10978 | if (_obj1) | |
10979 | delete _arg1; | |
10980 | } | |
10981 | return _resultobj; | |
10982 | } | |
10983 | ||
10984 | #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0)) | |
10985 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10986 | PyObject * _resultobj; | |
10987 | wxPyDivisionShape * _arg0; | |
10988 | wxPen * _arg1; | |
10989 | PyObject * _argo0 = 0; | |
10990 | PyObject * _argo1 = 0; | |
10991 | char *_kwnames[] = { "self","pen", NULL }; | |
10992 | ||
10993 | self = self; | |
10994 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_argo1)) | |
10995 | return NULL; | |
10996 | if (_argo0) { | |
10997 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10998 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
11000 | return NULL; | |
11001 | } | |
11002 | } | |
11003 | if (_argo1) { | |
11004 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11005 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
11006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPen_p."); | |
11007 | return NULL; | |
11008 | } | |
11009 | } | |
11010 | { | |
11011 | wxPy_BEGIN_ALLOW_THREADS; | |
11012 | wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1); | |
11013 | ||
11014 | wxPy_END_ALLOW_THREADS; | |
11015 | } Py_INCREF(Py_None); | |
11016 | _resultobj = Py_None; | |
11017 | return _resultobj; | |
11018 | } | |
11019 | ||
11020 | #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0)) | |
11021 | static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11022 | PyObject * _resultobj; | |
11023 | wxPyDivisionShape * _arg0; | |
11024 | wxPyDivisionShape * _arg1; | |
11025 | PyObject * _argo0 = 0; | |
11026 | PyObject * _argo1 = 0; | |
11027 | char *_kwnames[] = { "self","shape", NULL }; | |
11028 | ||
11029 | self = self; | |
11030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1)) | |
11031 | return NULL; | |
11032 | if (_argo0) { | |
11033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
11036 | return NULL; | |
11037 | } | |
11038 | } | |
11039 | if (_argo1) { | |
11040 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11041 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
11043 | return NULL; | |
11044 | } | |
11045 | } | |
11046 | { | |
11047 | wxPy_BEGIN_ALLOW_THREADS; | |
11048 | wxPyDivisionShape_SetRightSide(_arg0,_arg1); | |
11049 | ||
11050 | wxPy_END_ALLOW_THREADS; | |
11051 | } Py_INCREF(Py_None); | |
11052 | _resultobj = Py_None; | |
11053 | return _resultobj; | |
11054 | } | |
11055 | ||
11056 | #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0)) | |
11057 | static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11058 | PyObject * _resultobj; | |
11059 | wxPyDivisionShape * _arg0; | |
11060 | wxPyDivisionShape * _arg1; | |
11061 | PyObject * _argo0 = 0; | |
11062 | PyObject * _argo1 = 0; | |
11063 | char *_kwnames[] = { "self","shape", NULL }; | |
11064 | ||
11065 | self = self; | |
11066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1)) | |
11067 | return NULL; | |
11068 | if (_argo0) { | |
11069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11072 | return NULL; | |
11073 | } | |
11074 | } | |
11075 | if (_argo1) { | |
11076 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11077 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11079 | return NULL; | |
11080 | } | |
11081 | } | |
11082 | { | |
11083 | wxPy_BEGIN_ALLOW_THREADS; | |
11084 | wxPyDivisionShape_SetTopSide(_arg0,_arg1); | |
11085 | ||
11086 | wxPy_END_ALLOW_THREADS; | |
11087 | } Py_INCREF(Py_None); | |
11088 | _resultobj = Py_None; | |
11089 | return _resultobj; | |
11090 | } | |
11091 | ||
11092 | #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0)) | |
11093 | static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11094 | PyObject * _resultobj; | |
11095 | wxPyDivisionShape * _arg0; | |
11096 | wxString * _arg1; | |
11097 | PyObject * _argo0 = 0; | |
11098 | PyObject * _obj1 = 0; | |
11099 | char *_kwnames[] = { "self","colour", NULL }; | |
11100 | ||
11101 | self = self; | |
11102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1)) | |
11103 | return NULL; | |
11104 | if (_argo0) { | |
11105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p."); | |
11108 | return NULL; | |
11109 | } | |
11110 | } | |
11111 | { | |
185d7c3e RD |
11112 | #if PYTHON_API_VERSION >= 1009 |
11113 | char* tmpPtr; int tmpSize; | |
11114 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
11115 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
11116 | return NULL; | |
11117 | } | |
11118 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
11119 | return NULL; | |
11120 | _arg1 = new wxString(tmpPtr, tmpSize); | |
11121 | #else | |
e91a9dfc RD |
11122 | if (!PyString_Check(_obj1)) { |
11123 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
11124 | return NULL; | |
11125 | } | |
185d7c3e RD |
11126 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); |
11127 | #endif | |
e91a9dfc RD |
11128 | } |
11129 | { | |
11130 | wxPy_BEGIN_ALLOW_THREADS; | |
11131 | wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1); | |
11132 | ||
11133 | wxPy_END_ALLOW_THREADS; | |
11134 | } Py_INCREF(Py_None); | |
11135 | _resultobj = Py_None; | |
11136 | { | |
11137 | if (_obj1) | |
11138 | delete _arg1; | |
11139 | } | |
11140 | return _resultobj; | |
11141 | } | |
11142 | ||
11143 | #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0)) | |
11144 | static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11145 | PyObject * _resultobj; | |
11146 | wxPyDivisionShape * _arg0; | |
11147 | wxPen * _arg1; | |
11148 | PyObject * _argo0 = 0; | |
11149 | PyObject * _argo1 = 0; | |
11150 | char *_kwnames[] = { "self","pen", NULL }; | |
11151 | ||
11152 | self = self; | |
11153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_argo1)) | |
11154 | return NULL; | |
11155 | if (_argo0) { | |
11156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p."); | |
11159 | return NULL; | |
11160 | } | |
11161 | } | |
11162 | if (_argo1) { | |
11163 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11164 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
11165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSidePen. Expected _wxPen_p."); | |
11166 | return NULL; | |
11167 | } | |
11168 | } | |
11169 | { | |
11170 | wxPy_BEGIN_ALLOW_THREADS; | |
11171 | wxPyDivisionShape_SetTopSidePen(_arg0,_arg1); | |
11172 | ||
11173 | wxPy_END_ALLOW_THREADS; | |
11174 | } Py_INCREF(Py_None); | |
11175 | _resultobj = Py_None; | |
11176 | return _resultobj; | |
11177 | } | |
11178 | ||
11179 | #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
11180 | static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11181 | PyObject * _resultobj; | |
11182 | wxPyDivisionShape * _arg0; | |
11183 | PyObject * _argo0 = 0; | |
11184 | char *_kwnames[] = { "self", NULL }; | |
11185 | ||
11186 | self = self; | |
11187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0)) | |
11188 | return NULL; | |
11189 | if (_argo0) { | |
11190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p."); | |
11193 | return NULL; | |
11194 | } | |
11195 | } | |
11196 | { | |
11197 | wxPy_BEGIN_ALLOW_THREADS; | |
11198 | wxPyDivisionShape_base_OnDelete(_arg0); | |
11199 | ||
11200 | wxPy_END_ALLOW_THREADS; | |
11201 | } Py_INCREF(Py_None); | |
11202 | _resultobj = Py_None; | |
11203 | return _resultobj; | |
11204 | } | |
11205 | ||
11206 | #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
11207 | static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11208 | PyObject * _resultobj; | |
11209 | wxPyDivisionShape * _arg0; | |
11210 | wxDC * _arg1; | |
11211 | PyObject * _argo0 = 0; | |
11212 | PyObject * _argo1 = 0; | |
11213 | char *_kwnames[] = { "self","dc", NULL }; | |
11214 | ||
11215 | self = self; | |
11216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
11217 | return NULL; | |
11218 | if (_argo0) { | |
11219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p."); | |
11222 | return NULL; | |
11223 | } | |
11224 | } | |
11225 | if (_argo1) { | |
11226 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11227 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p."); | |
11229 | return NULL; | |
11230 | } | |
11231 | } | |
11232 | { | |
11233 | wxPy_BEGIN_ALLOW_THREADS; | |
11234 | wxPyDivisionShape_base_OnDraw(_arg0,*_arg1); | |
11235 | ||
11236 | wxPy_END_ALLOW_THREADS; | |
11237 | } Py_INCREF(Py_None); | |
11238 | _resultobj = Py_None; | |
11239 | return _resultobj; | |
11240 | } | |
11241 | ||
11242 | #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
11243 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11244 | PyObject * _resultobj; | |
11245 | wxPyDivisionShape * _arg0; | |
11246 | wxDC * _arg1; | |
11247 | PyObject * _argo0 = 0; | |
11248 | PyObject * _argo1 = 0; | |
11249 | char *_kwnames[] = { "self","dc", NULL }; | |
11250 | ||
11251 | self = self; | |
11252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
11253 | return NULL; | |
11254 | if (_argo0) { | |
11255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p."); | |
11258 | return NULL; | |
11259 | } | |
11260 | } | |
11261 | if (_argo1) { | |
11262 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11263 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p."); | |
11265 | return NULL; | |
11266 | } | |
11267 | } | |
11268 | { | |
11269 | wxPy_BEGIN_ALLOW_THREADS; | |
11270 | wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1); | |
11271 | ||
11272 | wxPy_END_ALLOW_THREADS; | |
11273 | } Py_INCREF(Py_None); | |
11274 | _resultobj = Py_None; | |
11275 | return _resultobj; | |
11276 | } | |
11277 | ||
11278 | #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
11279 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11280 | PyObject * _resultobj; | |
11281 | wxPyDivisionShape * _arg0; | |
11282 | wxDC * _arg1; | |
11283 | bool _arg2 = (bool ) FALSE; | |
11284 | PyObject * _argo0 = 0; | |
11285 | PyObject * _argo1 = 0; | |
11286 | int tempbool2 = (int) FALSE; | |
11287 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
11288 | ||
11289 | self = self; | |
11290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11291 | return NULL; | |
11292 | if (_argo0) { | |
11293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p."); | |
11296 | return NULL; | |
11297 | } | |
11298 | } | |
11299 | if (_argo1) { | |
11300 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11301 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p."); | |
11303 | return NULL; | |
11304 | } | |
11305 | } | |
11306 | _arg2 = (bool ) tempbool2; | |
11307 | { | |
11308 | wxPy_BEGIN_ALLOW_THREADS; | |
11309 | wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
11310 | ||
11311 | wxPy_END_ALLOW_THREADS; | |
11312 | } Py_INCREF(Py_None); | |
11313 | _resultobj = Py_None; | |
11314 | return _resultobj; | |
11315 | } | |
11316 | ||
11317 | #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
11318 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11319 | PyObject * _resultobj; | |
11320 | wxPyDivisionShape * _arg0; | |
11321 | wxDC * _arg1; | |
11322 | PyObject * _argo0 = 0; | |
11323 | PyObject * _argo1 = 0; | |
11324 | char *_kwnames[] = { "self","dc", NULL }; | |
11325 | ||
11326 | self = self; | |
11327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
11328 | return NULL; | |
11329 | if (_argo0) { | |
11330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p."); | |
11333 | return NULL; | |
11334 | } | |
11335 | } | |
11336 | if (_argo1) { | |
11337 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11338 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p."); | |
11340 | return NULL; | |
11341 | } | |
11342 | } | |
11343 | { | |
11344 | wxPy_BEGIN_ALLOW_THREADS; | |
11345 | wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1); | |
11346 | ||
11347 | wxPy_END_ALLOW_THREADS; | |
11348 | } Py_INCREF(Py_None); | |
11349 | _resultobj = Py_None; | |
11350 | return _resultobj; | |
11351 | } | |
11352 | ||
11353 | #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
11354 | static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11355 | PyObject * _resultobj; | |
11356 | wxPyDivisionShape * _arg0; | |
11357 | wxDC * _arg1; | |
11358 | PyObject * _argo0 = 0; | |
11359 | PyObject * _argo1 = 0; | |
11360 | char *_kwnames[] = { "self","dc", NULL }; | |
11361 | ||
11362 | self = self; | |
11363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
11364 | return NULL; | |
11365 | if (_argo0) { | |
11366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p."); | |
11369 | return NULL; | |
11370 | } | |
11371 | } | |
11372 | if (_argo1) { | |
11373 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11374 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p."); | |
11376 | return NULL; | |
11377 | } | |
11378 | } | |
11379 | { | |
11380 | wxPy_BEGIN_ALLOW_THREADS; | |
11381 | wxPyDivisionShape_base_OnErase(_arg0,*_arg1); | |
11382 | ||
11383 | wxPy_END_ALLOW_THREADS; | |
11384 | } Py_INCREF(Py_None); | |
11385 | _resultobj = Py_None; | |
11386 | return _resultobj; | |
11387 | } | |
11388 | ||
11389 | #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
11390 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11391 | PyObject * _resultobj; | |
11392 | wxPyDivisionShape * _arg0; | |
11393 | wxDC * _arg1; | |
11394 | PyObject * _argo0 = 0; | |
11395 | PyObject * _argo1 = 0; | |
11396 | char *_kwnames[] = { "self","dc", NULL }; | |
11397 | ||
11398 | self = self; | |
11399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
11400 | return NULL; | |
11401 | if (_argo0) { | |
11402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p."); | |
11405 | return NULL; | |
11406 | } | |
11407 | } | |
11408 | if (_argo1) { | |
11409 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11410 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11411 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p."); | |
11412 | return NULL; | |
11413 | } | |
11414 | } | |
11415 | { | |
11416 | wxPy_BEGIN_ALLOW_THREADS; | |
11417 | wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1); | |
11418 | ||
11419 | wxPy_END_ALLOW_THREADS; | |
11420 | } Py_INCREF(Py_None); | |
11421 | _resultobj = Py_None; | |
11422 | return _resultobj; | |
11423 | } | |
11424 | ||
11425 | #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
11426 | static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11427 | PyObject * _resultobj; | |
11428 | wxPyDivisionShape * _arg0; | |
11429 | wxDC * _arg1; | |
11430 | PyObject * _argo0 = 0; | |
11431 | PyObject * _argo1 = 0; | |
11432 | char *_kwnames[] = { "self","dc", NULL }; | |
11433 | ||
11434 | self = self; | |
11435 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
11436 | return NULL; | |
11437 | if (_argo0) { | |
11438 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11439 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p."); | |
11441 | return NULL; | |
11442 | } | |
11443 | } | |
11444 | if (_argo1) { | |
11445 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11446 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p."); | |
11448 | return NULL; | |
11449 | } | |
11450 | } | |
11451 | { | |
11452 | wxPy_BEGIN_ALLOW_THREADS; | |
11453 | wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1); | |
11454 | ||
11455 | wxPy_END_ALLOW_THREADS; | |
11456 | } Py_INCREF(Py_None); | |
11457 | _resultobj = Py_None; | |
11458 | return _resultobj; | |
11459 | } | |
11460 | ||
11461 | #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11462 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11463 | PyObject * _resultobj; | |
11464 | wxPyDivisionShape * _arg0; | |
11465 | double _arg1; | |
11466 | double _arg2; | |
11467 | int _arg3 = (int ) 0; | |
11468 | int _arg4 = (int ) 0; | |
11469 | PyObject * _argo0 = 0; | |
11470 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11471 | ||
11472 | self = self; | |
11473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11474 | return NULL; | |
11475 | if (_argo0) { | |
11476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p."); | |
11479 | return NULL; | |
11480 | } | |
11481 | } | |
11482 | { | |
11483 | wxPy_BEGIN_ALLOW_THREADS; | |
11484 | wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11485 | ||
11486 | wxPy_END_ALLOW_THREADS; | |
11487 | } Py_INCREF(Py_None); | |
11488 | _resultobj = Py_None; | |
11489 | return _resultobj; | |
11490 | } | |
11491 | ||
11492 | #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11493 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11494 | PyObject * _resultobj; | |
11495 | wxPyDivisionShape * _arg0; | |
11496 | double _arg1; | |
11497 | double _arg2; | |
11498 | int _arg3 = (int ) 0; | |
11499 | int _arg4 = (int ) 0; | |
11500 | PyObject * _argo0 = 0; | |
11501 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11502 | ||
11503 | self = self; | |
11504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11505 | return NULL; | |
11506 | if (_argo0) { | |
11507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p."); | |
11510 | return NULL; | |
11511 | } | |
11512 | } | |
11513 | { | |
11514 | wxPy_BEGIN_ALLOW_THREADS; | |
11515 | wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11516 | ||
11517 | wxPy_END_ALLOW_THREADS; | |
11518 | } Py_INCREF(Py_None); | |
11519 | _resultobj = Py_None; | |
11520 | return _resultobj; | |
11521 | } | |
11522 | ||
11523 | #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11524 | static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11525 | PyObject * _resultobj; | |
11526 | wxPyDivisionShape * _arg0; | |
11527 | double _arg1; | |
11528 | double _arg2; | |
11529 | int _arg3 = (int ) 0; | |
11530 | int _arg4 = (int ) 0; | |
11531 | PyObject * _argo0 = 0; | |
11532 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11533 | ||
11534 | self = self; | |
11535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11536 | return NULL; | |
11537 | if (_argo0) { | |
11538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p."); | |
11541 | return NULL; | |
11542 | } | |
11543 | } | |
11544 | { | |
11545 | wxPy_BEGIN_ALLOW_THREADS; | |
11546 | wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11547 | ||
11548 | wxPy_END_ALLOW_THREADS; | |
11549 | } Py_INCREF(Py_None); | |
11550 | _resultobj = Py_None; | |
11551 | return _resultobj; | |
11552 | } | |
11553 | ||
11554 | #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
11555 | static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11556 | PyObject * _resultobj; | |
11557 | wxPyDivisionShape * _arg0; | |
11558 | double _arg1; | |
11559 | double _arg2; | |
11560 | PyObject * _argo0 = 0; | |
11561 | char *_kwnames[] = { "self","x","y", NULL }; | |
11562 | ||
11563 | self = self; | |
11564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11565 | return NULL; | |
11566 | if (_argo0) { | |
11567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p."); | |
11570 | return NULL; | |
11571 | } | |
11572 | } | |
11573 | { | |
11574 | wxPy_BEGIN_ALLOW_THREADS; | |
11575 | wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2); | |
11576 | ||
11577 | wxPy_END_ALLOW_THREADS; | |
11578 | } Py_INCREF(Py_None); | |
11579 | _resultobj = Py_None; | |
11580 | return _resultobj; | |
11581 | } | |
11582 | ||
11583 | #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11584 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11585 | PyObject * _resultobj; | |
11586 | bool _result; | |
11587 | wxPyDivisionShape * _arg0; | |
11588 | wxDC * _arg1; | |
11589 | double _arg2; | |
11590 | double _arg3; | |
11591 | double _arg4; | |
11592 | double _arg5; | |
11593 | bool _arg6 = (bool ) TRUE; | |
11594 | PyObject * _argo0 = 0; | |
11595 | PyObject * _argo1 = 0; | |
11596 | int tempbool6 = (int) TRUE; | |
11597 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11598 | ||
11599 | self = self; | |
11600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11601 | return NULL; | |
11602 | if (_argo0) { | |
11603 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11604 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p."); | |
11606 | return NULL; | |
11607 | } | |
11608 | } | |
11609 | if (_argo1) { | |
11610 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11611 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11612 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p."); | |
11613 | return NULL; | |
11614 | } | |
11615 | } | |
11616 | _arg6 = (bool ) tempbool6; | |
11617 | { | |
11618 | wxPy_BEGIN_ALLOW_THREADS; | |
11619 | _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11620 | ||
11621 | wxPy_END_ALLOW_THREADS; | |
11622 | } _resultobj = Py_BuildValue("i",_result); | |
11623 | return _resultobj; | |
11624 | } | |
11625 | ||
11626 | #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11627 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11628 | PyObject * _resultobj; | |
11629 | wxPyDivisionShape * _arg0; | |
11630 | wxDC * _arg1; | |
11631 | double _arg2; | |
11632 | double _arg3; | |
11633 | double _arg4; | |
11634 | double _arg5; | |
11635 | bool _arg6 = (bool ) TRUE; | |
11636 | PyObject * _argo0 = 0; | |
11637 | PyObject * _argo1 = 0; | |
11638 | int tempbool6 = (int) TRUE; | |
11639 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11640 | ||
11641 | self = self; | |
11642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11643 | return NULL; | |
11644 | if (_argo0) { | |
11645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p."); | |
11648 | return NULL; | |
11649 | } | |
11650 | } | |
11651 | if (_argo1) { | |
11652 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11653 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p."); | |
11655 | return NULL; | |
11656 | } | |
11657 | } | |
11658 | _arg6 = (bool ) tempbool6; | |
11659 | { | |
11660 | wxPy_BEGIN_ALLOW_THREADS; | |
11661 | wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11662 | ||
11663 | wxPy_END_ALLOW_THREADS; | |
11664 | } Py_INCREF(Py_None); | |
11665 | _resultobj = Py_None; | |
11666 | return _resultobj; | |
11667 | } | |
11668 | ||
11669 | #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11670 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11671 | PyObject * _resultobj; | |
11672 | wxPyDivisionShape * _arg0; | |
11673 | bool _arg1; | |
11674 | double _arg2; | |
11675 | double _arg3; | |
11676 | int _arg4 = (int ) 0; | |
11677 | int _arg5 = (int ) 0; | |
11678 | PyObject * _argo0 = 0; | |
11679 | int tempbool1; | |
11680 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11681 | ||
11682 | self = self; | |
11683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11684 | return NULL; | |
11685 | if (_argo0) { | |
11686 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11687 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p."); | |
11689 | return NULL; | |
11690 | } | |
11691 | } | |
11692 | _arg1 = (bool ) tempbool1; | |
11693 | { | |
11694 | wxPy_BEGIN_ALLOW_THREADS; | |
11695 | wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11696 | ||
11697 | wxPy_END_ALLOW_THREADS; | |
11698 | } Py_INCREF(Py_None); | |
11699 | _resultobj = Py_None; | |
11700 | return _resultobj; | |
11701 | } | |
11702 | ||
11703 | #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11704 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11705 | PyObject * _resultobj; | |
11706 | wxPyDivisionShape * _arg0; | |
11707 | double _arg1; | |
11708 | double _arg2; | |
11709 | int _arg3 = (int ) 0; | |
11710 | int _arg4 = (int ) 0; | |
11711 | PyObject * _argo0 = 0; | |
11712 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11713 | ||
11714 | self = self; | |
11715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11716 | return NULL; | |
11717 | if (_argo0) { | |
11718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
11721 | return NULL; | |
11722 | } | |
11723 | } | |
11724 | { | |
11725 | wxPy_BEGIN_ALLOW_THREADS; | |
11726 | wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11727 | ||
11728 | wxPy_END_ALLOW_THREADS; | |
11729 | } Py_INCREF(Py_None); | |
11730 | _resultobj = Py_None; | |
11731 | return _resultobj; | |
11732 | } | |
11733 | ||
11734 | #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11735 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11736 | PyObject * _resultobj; | |
11737 | wxPyDivisionShape * _arg0; | |
11738 | double _arg1; | |
11739 | double _arg2; | |
11740 | int _arg3 = (int ) 0; | |
11741 | int _arg4 = (int ) 0; | |
11742 | PyObject * _argo0 = 0; | |
11743 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11744 | ||
11745 | self = self; | |
11746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11747 | return NULL; | |
11748 | if (_argo0) { | |
11749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p."); | |
11752 | return NULL; | |
11753 | } | |
11754 | } | |
11755 | { | |
11756 | wxPy_BEGIN_ALLOW_THREADS; | |
11757 | wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11758 | ||
11759 | wxPy_END_ALLOW_THREADS; | |
11760 | } Py_INCREF(Py_None); | |
11761 | _resultobj = Py_None; | |
11762 | return _resultobj; | |
11763 | } | |
11764 | ||
11765 | #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11766 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11767 | PyObject * _resultobj; | |
11768 | wxPyDivisionShape * _arg0; | |
11769 | bool _arg1; | |
11770 | double _arg2; | |
11771 | double _arg3; | |
11772 | int _arg4 = (int ) 0; | |
11773 | int _arg5 = (int ) 0; | |
11774 | PyObject * _argo0 = 0; | |
11775 | int tempbool1; | |
11776 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11777 | ||
11778 | self = self; | |
11779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11780 | return NULL; | |
11781 | if (_argo0) { | |
11782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p."); | |
11785 | return NULL; | |
11786 | } | |
11787 | } | |
11788 | _arg1 = (bool ) tempbool1; | |
11789 | { | |
11790 | wxPy_BEGIN_ALLOW_THREADS; | |
11791 | wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11792 | ||
11793 | wxPy_END_ALLOW_THREADS; | |
11794 | } Py_INCREF(Py_None); | |
11795 | _resultobj = Py_None; | |
11796 | return _resultobj; | |
11797 | } | |
11798 | ||
11799 | #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11800 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11801 | PyObject * _resultobj; | |
11802 | wxPyDivisionShape * _arg0; | |
11803 | double _arg1; | |
11804 | double _arg2; | |
11805 | int _arg3 = (int ) 0; | |
11806 | int _arg4 = (int ) 0; | |
11807 | PyObject * _argo0 = 0; | |
11808 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11809 | ||
11810 | self = self; | |
11811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11812 | return NULL; | |
11813 | if (_argo0) { | |
11814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p."); | |
11817 | return NULL; | |
11818 | } | |
11819 | } | |
11820 | { | |
11821 | wxPy_BEGIN_ALLOW_THREADS; | |
11822 | wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11823 | ||
11824 | wxPy_END_ALLOW_THREADS; | |
11825 | } Py_INCREF(Py_None); | |
11826 | _resultobj = Py_None; | |
11827 | return _resultobj; | |
11828 | } | |
11829 | ||
11830 | #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11831 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11832 | PyObject * _resultobj; | |
11833 | wxPyDivisionShape * _arg0; | |
11834 | double _arg1; | |
11835 | double _arg2; | |
11836 | int _arg3 = (int ) 0; | |
11837 | int _arg4 = (int ) 0; | |
11838 | PyObject * _argo0 = 0; | |
11839 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11840 | ||
11841 | self = self; | |
11842 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11843 | return NULL; | |
11844 | if (_argo0) { | |
11845 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11846 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11847 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p."); | |
11848 | return NULL; | |
11849 | } | |
11850 | } | |
11851 | { | |
11852 | wxPy_BEGIN_ALLOW_THREADS; | |
11853 | wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11854 | ||
11855 | wxPy_END_ALLOW_THREADS; | |
11856 | } Py_INCREF(Py_None); | |
11857 | _resultobj = Py_None; | |
11858 | return _resultobj; | |
11859 | } | |
11860 | ||
11861 | #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11862 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11863 | PyObject * _resultobj; | |
11864 | wxPyDivisionShape * _arg0; | |
11865 | wxDC * _arg1; | |
11866 | double _arg2; | |
11867 | double _arg3; | |
11868 | double _arg4; | |
11869 | double _arg5; | |
11870 | PyObject * _argo0 = 0; | |
11871 | PyObject * _argo1 = 0; | |
11872 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
11873 | ||
11874 | self = self; | |
11875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11876 | return NULL; | |
11877 | if (_argo0) { | |
11878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p."); | |
11881 | return NULL; | |
11882 | } | |
11883 | } | |
11884 | if (_argo1) { | |
11885 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11886 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p."); | |
11888 | return NULL; | |
11889 | } | |
11890 | } | |
11891 | { | |
11892 | wxPy_BEGIN_ALLOW_THREADS; | |
11893 | wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
11894 | ||
11895 | wxPy_END_ALLOW_THREADS; | |
11896 | } Py_INCREF(Py_None); | |
11897 | _resultobj = Py_None; | |
11898 | return _resultobj; | |
11899 | } | |
11900 | ||
11901 | #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
11902 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11903 | PyObject * _resultobj; | |
11904 | wxPyDivisionShape * _arg0; | |
11905 | wxDC * _arg1; | |
11906 | PyObject * _argo0 = 0; | |
11907 | PyObject * _argo1 = 0; | |
11908 | char *_kwnames[] = { "self","dc", NULL }; | |
11909 | ||
11910 | self = self; | |
11911 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
11912 | return NULL; | |
11913 | if (_argo0) { | |
11914 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11915 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p."); | |
11917 | return NULL; | |
11918 | } | |
11919 | } | |
11920 | if (_argo1) { | |
11921 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11922 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
11924 | return NULL; | |
11925 | } | |
11926 | } | |
11927 | { | |
11928 | wxPy_BEGIN_ALLOW_THREADS; | |
11929 | wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
11930 | ||
11931 | wxPy_END_ALLOW_THREADS; | |
11932 | } Py_INCREF(Py_None); | |
11933 | _resultobj = Py_None; | |
11934 | return _resultobj; | |
11935 | } | |
11936 | ||
11937 | #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
11938 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11939 | PyObject * _resultobj; | |
11940 | wxPyDivisionShape * _arg0; | |
11941 | wxDC * _arg1; | |
11942 | PyObject * _argo0 = 0; | |
11943 | PyObject * _argo1 = 0; | |
11944 | char *_kwnames[] = { "self","dc", NULL }; | |
11945 | ||
11946 | self = self; | |
11947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
11948 | return NULL; | |
11949 | if (_argo0) { | |
11950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p."); | |
11953 | return NULL; | |
11954 | } | |
11955 | } | |
11956 | if (_argo1) { | |
11957 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11958 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
11960 | return NULL; | |
11961 | } | |
11962 | } | |
11963 | { | |
11964 | wxPy_BEGIN_ALLOW_THREADS; | |
11965 | wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
11966 | ||
11967 | wxPy_END_ALLOW_THREADS; | |
11968 | } Py_INCREF(Py_None); | |
11969 | _resultobj = Py_None; | |
11970 | return _resultobj; | |
11971 | } | |
11972 | ||
11973 | #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
11974 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11975 | PyObject * _resultobj; | |
11976 | wxPyDivisionShape * _arg0; | |
11977 | wxDC * _arg1; | |
11978 | bool _arg2 = (bool ) TRUE; | |
11979 | PyObject * _argo0 = 0; | |
11980 | PyObject * _argo1 = 0; | |
11981 | int tempbool2 = (int) TRUE; | |
11982 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
11983 | ||
11984 | self = self; | |
11985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11986 | return NULL; | |
11987 | if (_argo0) { | |
11988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p."); | |
11991 | return NULL; | |
11992 | } | |
11993 | } | |
11994 | if (_argo1) { | |
11995 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11996 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p."); | |
11998 | return NULL; | |
11999 | } | |
12000 | } | |
12001 | _arg2 = (bool ) tempbool2; | |
12002 | { | |
12003 | wxPy_BEGIN_ALLOW_THREADS; | |
12004 | wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
12005 | ||
12006 | wxPy_END_ALLOW_THREADS; | |
12007 | } Py_INCREF(Py_None); | |
12008 | _resultobj = Py_None; | |
12009 | return _resultobj; | |
12010 | } | |
12011 | ||
12012 | #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
12013 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12014 | PyObject * _resultobj; | |
12015 | wxPyDivisionShape * _arg0; | |
2348eaee | 12016 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12017 | bool _arg2; |
12018 | double _arg3; | |
12019 | double _arg4; | |
12020 | int _arg5 = (int ) 0; | |
12021 | int _arg6 = (int ) 0; | |
12022 | PyObject * _argo0 = 0; | |
12023 | PyObject * _argo1 = 0; | |
12024 | int tempbool2; | |
12025 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
12026 | ||
12027 | self = self; | |
12028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
12029 | return NULL; | |
12030 | if (_argo0) { | |
12031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p."); | |
12034 | return NULL; | |
12035 | } | |
12036 | } | |
12037 | if (_argo1) { | |
12038 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12039 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12041 | return NULL; |
12042 | } | |
12043 | } | |
12044 | _arg2 = (bool ) tempbool2; | |
12045 | { | |
12046 | wxPy_BEGIN_ALLOW_THREADS; | |
12047 | wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
12048 | ||
12049 | wxPy_END_ALLOW_THREADS; | |
12050 | } Py_INCREF(Py_None); | |
12051 | _resultobj = Py_None; | |
12052 | return _resultobj; | |
12053 | } | |
12054 | ||
12055 | #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12056 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12057 | PyObject * _resultobj; | |
12058 | wxPyDivisionShape * _arg0; | |
2348eaee | 12059 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12060 | double _arg2; |
12061 | double _arg3; | |
12062 | int _arg4 = (int ) 0; | |
12063 | int _arg5 = (int ) 0; | |
12064 | PyObject * _argo0 = 0; | |
12065 | PyObject * _argo1 = 0; | |
12066 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12067 | ||
12068 | self = self; | |
12069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12070 | return NULL; | |
12071 | if (_argo0) { | |
12072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
12075 | return NULL; | |
12076 | } | |
12077 | } | |
12078 | if (_argo1) { | |
12079 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12080 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12082 | return NULL; |
12083 | } | |
12084 | } | |
12085 | { | |
12086 | wxPy_BEGIN_ALLOW_THREADS; | |
12087 | wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
12088 | ||
12089 | wxPy_END_ALLOW_THREADS; | |
12090 | } Py_INCREF(Py_None); | |
12091 | _resultobj = Py_None; | |
12092 | return _resultobj; | |
12093 | } | |
12094 | ||
12095 | #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12096 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12097 | PyObject * _resultobj; | |
12098 | wxPyDivisionShape * _arg0; | |
2348eaee | 12099 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12100 | double _arg2; |
12101 | double _arg3; | |
12102 | int _arg4 = (int ) 0; | |
12103 | int _arg5 = (int ) 0; | |
12104 | PyObject * _argo0 = 0; | |
12105 | PyObject * _argo1 = 0; | |
12106 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12107 | ||
12108 | self = self; | |
12109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12110 | return NULL; | |
12111 | if (_argo0) { | |
12112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p."); | |
12115 | return NULL; | |
12116 | } | |
12117 | } | |
12118 | if (_argo1) { | |
12119 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12120 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12122 | return NULL; |
12123 | } | |
12124 | } | |
12125 | { | |
12126 | wxPy_BEGIN_ALLOW_THREADS; | |
12127 | wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
12128 | ||
12129 | wxPy_END_ALLOW_THREADS; | |
12130 | } Py_INCREF(Py_None); | |
12131 | _resultobj = Py_None; | |
12132 | return _resultobj; | |
12133 | } | |
12134 | ||
12135 | #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
12136 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12137 | PyObject * _resultobj; | |
12138 | wxPyDivisionShape * _arg0; | |
12139 | double _arg1; | |
12140 | double _arg2; | |
12141 | PyObject * _argo0 = 0; | |
12142 | char *_kwnames[] = { "self","w","h", NULL }; | |
12143 | ||
12144 | self = self; | |
12145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12146 | return NULL; | |
12147 | if (_argo0) { | |
12148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p."); | |
12151 | return NULL; | |
12152 | } | |
12153 | } | |
12154 | { | |
12155 | wxPy_BEGIN_ALLOW_THREADS; | |
12156 | wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
12157 | ||
12158 | wxPy_END_ALLOW_THREADS; | |
12159 | } Py_INCREF(Py_None); | |
12160 | _resultobj = Py_None; | |
12161 | return _resultobj; | |
12162 | } | |
12163 | ||
12164 | #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
12165 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12166 | PyObject * _resultobj; | |
12167 | wxPyDivisionShape * _arg0; | |
12168 | double _arg1; | |
12169 | double _arg2; | |
12170 | PyObject * _argo0 = 0; | |
12171 | char *_kwnames[] = { "self","w","h", NULL }; | |
12172 | ||
12173 | self = self; | |
12174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12175 | return NULL; | |
12176 | if (_argo0) { | |
12177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p."); | |
12180 | return NULL; | |
12181 | } | |
12182 | } | |
12183 | { | |
12184 | wxPy_BEGIN_ALLOW_THREADS; | |
12185 | wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
12186 | ||
12187 | wxPy_END_ALLOW_THREADS; | |
12188 | } Py_INCREF(Py_None); | |
12189 | _resultobj = Py_None; | |
12190 | return _resultobj; | |
12191 | } | |
12192 | ||
12193 | static PyMethodDef oglshapescMethods[] = { | |
12194 | { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12195 | { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12196 | { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12197 | { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12198 | { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12199 | { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12200 | { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12201 | { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12202 | { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12203 | { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12204 | { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12205 | { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12206 | { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12207 | { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12208 | { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12209 | { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12210 | { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12211 | { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12212 | { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12213 | { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12214 | { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12215 | { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12216 | { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12217 | { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12218 | { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12219 | { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12220 | { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12221 | { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12222 | { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12223 | { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12224 | { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12225 | { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12226 | { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12227 | { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12228 | { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12229 | { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12230 | { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12231 | { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12232 | { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
12233 | { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS }, | |
12234 | { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12235 | { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12236 | { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12237 | { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12238 | { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12239 | { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12240 | { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12241 | { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12242 | { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS }, | |
12243 | { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS }, | |
12244 | { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS }, | |
12245 | { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS }, | |
12246 | { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS }, | |
12247 | { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS }, | |
12248 | { "wxPyDivisionShape__setSelf", (PyCFunction) _wrap_wxPyDivisionShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12249 | { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS }, | |
12250 | { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12251 | { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12252 | { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12253 | { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12254 | { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12255 | { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12256 | { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12257 | { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12258 | { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12259 | { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12260 | { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12261 | { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12262 | { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12263 | { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12264 | { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12265 | { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12266 | { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12267 | { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12268 | { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12269 | { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12270 | { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12271 | { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12272 | { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12273 | { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12274 | { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12275 | { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12276 | { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12277 | { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12278 | { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12279 | { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS }, | |
12280 | { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS }, | |
12281 | { "wxPyDividedShape__setSelf", (PyCFunction) _wrap_wxPyDividedShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12282 | { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS }, | |
12283 | { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12284 | { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12285 | { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12286 | { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12287 | { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12288 | { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12289 | { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12290 | { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12291 | { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12292 | { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12293 | { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12294 | { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12295 | { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12296 | { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12297 | { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12298 | { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12299 | { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12300 | { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12301 | { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12302 | { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12303 | { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12304 | { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12305 | { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12306 | { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12307 | { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12308 | { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12309 | { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12310 | { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12311 | { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12312 | { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
12313 | { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
12314 | { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS }, | |
12315 | { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS }, | |
12316 | { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS }, | |
12317 | { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS }, | |
12318 | { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS }, | |
12319 | { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12320 | { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS }, | |
12321 | { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12322 | { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS }, | |
714d23b4 | 12323 | { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12324 | { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS }, |
12325 | { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
12326 | { "wxPyCompositeShape__setSelf", (PyCFunction) _wrap_wxPyCompositeShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12327 | { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS }, | |
12328 | { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS }, | |
12329 | { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
12330 | { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS }, | |
12331 | { "delete_wxOGLConstraint", (PyCFunction) _wrap_delete_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12332 | { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12333 | { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12334 | { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12335 | { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12336 | { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12337 | { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12338 | { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12339 | { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12340 | { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12341 | { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12342 | { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12343 | { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12344 | { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12345 | { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12346 | { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12347 | { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12348 | { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12349 | { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12350 | { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12351 | { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12352 | { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12353 | { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12354 | { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12355 | { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12356 | { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12357 | { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12358 | { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12359 | { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12360 | { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12361 | { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12362 | { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12363 | { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS }, | |
12364 | { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12365 | { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12366 | { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS }, | |
12367 | { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS }, | |
12368 | { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS }, | |
12369 | { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12370 | { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12371 | { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12372 | { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12373 | { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12374 | { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
12375 | { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12376 | { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS }, | |
12377 | { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12378 | { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12379 | { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12380 | { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12381 | { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12382 | { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12383 | { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12384 | { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12385 | { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12386 | { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS }, | |
12387 | { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12388 | { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12389 | { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12390 | { "wxPyDrawnShape__setSelf", (PyCFunction) _wrap_wxPyDrawnShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12391 | { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS }, | |
12392 | { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12393 | { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12394 | { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12395 | { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12396 | { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12397 | { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12398 | { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12399 | { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12400 | { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12401 | { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12402 | { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12403 | { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12404 | { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12405 | { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12406 | { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12407 | { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12408 | { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12409 | { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12410 | { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12411 | { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12412 | { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12413 | { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12414 | { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12415 | { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12416 | { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12417 | { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12418 | { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12419 | { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12420 | { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12421 | { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12422 | { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12423 | { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12424 | { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12425 | { "wxPyBitmapShape__setSelf", (PyCFunction) _wrap_wxPyBitmapShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12426 | { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS }, | |
2348eaee RD |
12427 | { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12428 | { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12429 | { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12430 | { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12431 | { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12432 | { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12433 | { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12434 | { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12435 | { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12436 | { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12437 | { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12438 | { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12439 | { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12440 | { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12441 | { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12442 | { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12443 | { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12444 | { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12445 | { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12446 | { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12447 | { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12448 | { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12449 | { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12450 | { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12451 | { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12452 | { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12453 | { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12454 | { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12455 | { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12456 | { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12457 | { "wxPyControlPoint__setSelf", (PyCFunction) _wrap_wxPyControlPoint__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12458 | { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
e91a9dfc RD |
12459 | { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12460 | { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12461 | { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12462 | { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12463 | { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12464 | { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12465 | { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12466 | { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12467 | { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12468 | { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12469 | { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12470 | { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12471 | { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12472 | { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12473 | { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12474 | { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12475 | { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12476 | { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12477 | { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12478 | { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12479 | { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12480 | { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12481 | { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12482 | { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12483 | { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12484 | { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12485 | { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12486 | { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12487 | { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12488 | { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12489 | { "wxPyRectangleShape__setSelf", (PyCFunction) _wrap_wxPyRectangleShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12490 | { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS }, | |
12491 | { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12492 | { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12493 | { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12494 | { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
12495 | { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
12496 | { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
12497 | { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12498 | { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12499 | { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12500 | { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12501 | { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12502 | { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12503 | { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12504 | { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS }, | |
12505 | { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12506 | { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12507 | { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12508 | { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12509 | { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12510 | { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS }, | |
12511 | { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12512 | { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12513 | { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12514 | { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12515 | { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12516 | { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12517 | { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
12518 | { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12519 | { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12520 | { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12521 | { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS }, | |
12522 | { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12523 | { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12524 | { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12525 | { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS }, | |
12526 | { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12527 | { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS }, | |
12528 | { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS }, | |
12529 | { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12530 | { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12531 | { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS }, | |
12532 | { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12533 | { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12534 | { NULL, NULL } | |
12535 | }; | |
12536 | #ifdef __cplusplus | |
12537 | } | |
12538 | #endif | |
12539 | /* | |
12540 | * This table is used by the pointer type-checker | |
12541 | */ | |
12542 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
12543 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
12544 | { "_wxEvent","_class_wxEvent",0}, | |
12545 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
12546 | { "_signed_long","_long",0}, | |
12547 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
c368d904 | 12548 | { "_class_wxProcessEvent","_wxProcessEvent",0}, |
e91a9dfc | 12549 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, |
c368d904 | 12550 | { "_class_wxFSFile","_wxFSFile",0}, |
eec92d76 RD |
12551 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
12552 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 12553 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
12554 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
12555 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 12556 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
c368d904 RD |
12557 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, |
12558 | { "_class_wxDateTime","_wxDateTime",0}, | |
eec92d76 | 12559 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
12560 | { "_wxPrintQuality","_int",0}, |
12561 | { "_wxPrintQuality","_signed_int",0}, | |
12562 | { "_wxPrintQuality","_unsigned_int",0}, | |
12563 | { "_wxPrintQuality","_wxWindowID",0}, | |
12564 | { "_wxPrintQuality","_uint",0}, | |
12565 | { "_wxPrintQuality","_EBool",0}, | |
12566 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 12567 | { "_wxPrintQuality","_time_t",0}, |
eec92d76 | 12568 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
c368d904 | 12569 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, |
e91a9dfc | 12570 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 12571 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
eec92d76 | 12572 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
12573 | { "_class_wxMenuBar","_wxMenuBar",0}, |
12574 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 12575 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
12576 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
12577 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
12578 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 12579 | { "_wxPySizer","_class_wxPySizer",0}, |
c368d904 | 12580 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, |
e91a9dfc RD |
12581 | { "_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, |
12582 | { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12583 | { "_wxPyCompositeShape","_class_wxPyCompositeShape",0}, | |
12584 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
12585 | { "_wxCursor","_class_wxCursor",0}, | |
12586 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
c368d904 RD |
12587 | { "_wxPyProcess","_class_wxPyProcess",0}, |
12588 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
e91a9dfc RD |
12589 | { "_wxImageHandler","_class_wxImageHandler",0}, |
12590 | { "_class_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12591 | { "_class_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12592 | { "_class_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12593 | { "_class_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12594 | { "_class_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12595 | { "_class_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12596 | { "_class_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12597 | { "_class_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12598 | { "_class_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
12599 | { "_class_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
2348eaee RD |
12600 | { "_class_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, |
12601 | { "_class_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
e91a9dfc | 12602 | { "_class_wxPyRectangleShape","_wxPyRectangleShape",0}, |
c368d904 | 12603 | { "_wxLog","_class_wxLog",0}, |
eec92d76 | 12604 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
12605 | { "_wxMask","_class_wxMask",0}, |
12606 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
12607 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
12608 | { "_class_wxOGLConstraint","_wxOGLConstraint",0}, | |
12609 | { "_class_wxColourData","_wxColourData",0}, | |
12610 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
12611 | { "_wxPrinter","_class_wxPrinter",0}, | |
12612 | { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0}, | |
12613 | { "_wxPen","_class_wxPen",0}, | |
12614 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 12615 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 12616 | { "_byte","_unsigned_char",0}, |
eec92d76 RD |
12617 | { "_wxDataObject","_class_wxDataObject",0}, |
12618 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 12619 | { "_wxStaticBox","_class_wxStaticBox",0}, |
eec92d76 RD |
12620 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
12621 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
12622 | { "_wxChoice","_class_wxChoice",0}, |
12623 | { "_wxSlider","_class_wxSlider",0}, | |
12624 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
12625 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
12626 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
12627 | { "_long","_unsigned_long",0}, |
12628 | { "_long","_signed_long",0}, | |
12629 | { "_wxImageList","_class_wxImageList",0}, | |
eec92d76 | 12630 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
12631 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
12632 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
12633 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 12634 | { "_class_wxSizer","_wxSizer",0}, |
eec92d76 | 12635 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 12636 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 12637 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 12638 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
eec92d76 | 12639 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
12640 | { "_class_wxGauge","_wxGauge",0}, |
12641 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
12642 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 12643 | { "_wxSizerItem","_class_wxSizerItem",0}, |
eec92d76 | 12644 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
12645 | { "_wxListEvent","_class_wxListEvent",0}, |
12646 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
12647 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
12648 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
12649 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 12650 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
12651 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
12652 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
12653 | { "_wxPyBitmapShape","_class_wxPyBitmapShape",0}, | |
eec92d76 | 12654 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 12655 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 12656 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
12657 | { "_size_t","_unsigned_int",0}, |
12658 | { "_size_t","_int",0}, | |
12659 | { "_size_t","_wxWindowID",0}, | |
12660 | { "_size_t","_uint",0}, | |
12661 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
eec92d76 RD |
12662 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
12663 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
c368d904 | 12664 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
eec92d76 | 12665 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, |
c368d904 | 12666 | { "_wxLogGui","_class_wxLogGui",0}, |
e91a9dfc RD |
12667 | { "_class_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, |
12668 | { "_class_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12669 | { "_class_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12670 | { "_class_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12671 | { "_class_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12672 | { "_class_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12673 | { "_class_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12674 | { "_class_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12675 | { "_class_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
12676 | { "_class_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
2348eaee RD |
12677 | { "_class_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, |
12678 | { "_class_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
e91a9dfc RD |
12679 | { "_class_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, |
12680 | { "_class_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
12681 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
12682 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
12683 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
12684 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
12685 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
12686 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 12687 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
12688 | { "_class_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, |
12689 | { "_class_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12690 | { "_class_wxPyCompositeShape","_wxPyCompositeShape",0}, | |
12691 | { "_wxPanel","_class_wxPanel",0}, | |
12692 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
12693 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
c368d904 | 12694 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, |
e91a9dfc RD |
12695 | { "_wxPyEvent","_class_wxPyEvent",0}, |
12696 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
12697 | { "_class_wxMask","_wxMask",0}, | |
eec92d76 | 12698 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 12699 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
eec92d76 | 12700 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc | 12701 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
c368d904 | 12702 | { "_wxFileConfig","_class_wxFileConfig",0}, |
e91a9dfc RD |
12703 | { "_wxColour","_class_wxColour",0}, |
12704 | { "_class_wxDialog","_wxDialog",0}, | |
eec92d76 | 12705 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
12706 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
12707 | { "_class_wxPrinter","_wxPrinter",0}, | |
eec92d76 | 12708 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
12709 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
12710 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
12711 | { "_wxToolBar","_class_wxToolBar",0}, | |
eec92d76 | 12712 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 12713 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
12714 | { "_wxStaticLine","_class_wxStaticLine",0}, |
12715 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
12716 | { "_wxBrush","_class_wxBrush",0}, | |
12717 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
12718 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
12719 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
eec92d76 RD |
12720 | { "_wxDataFormat","_class_wxDataFormat",0}, |
12721 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
12722 | { "_class_wxSashWindow","_wxSashWindow",0}, |
12723 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
12724 | { "_class_wxPyDivisionShape","_wxPyDivisionShape",0}, | |
eec92d76 | 12725 | { "_uint","_wxCoord",0}, |
e91a9dfc | 12726 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 12727 | { "_uint","_time_t",0}, |
e91a9dfc RD |
12728 | { "_uint","_size_t",0}, |
12729 | { "_uint","_unsigned_int",0}, | |
12730 | { "_uint","_int",0}, | |
12731 | { "_uint","_wxWindowID",0}, | |
c368d904 | 12732 | { "_wxChar","_char",0}, |
f0261a72 | 12733 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
12734 | { "_class_wxEvent","_wxEvent",0}, |
12735 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
12736 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
12737 | { "_wxRect","_class_wxRect",0}, |
12738 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
12739 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
c368d904 | 12740 | { "_class_wxLogWindow","_wxLogWindow",0}, |
e91a9dfc RD |
12741 | { "_class_wxImage","_wxImage",0}, |
12742 | { "_wxPoint","_class_wxPoint",0}, | |
c368d904 | 12743 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, |
e91a9dfc RD |
12744 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, |
12745 | { "_class_wxPyBitmapShape","_wxPyBitmapShape",0}, | |
12746 | { "_class_wxButton","_wxButton",0}, | |
12747 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
c368d904 | 12748 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, |
e91a9dfc | 12749 | { "_class_wxFontData","_wxFontData",0}, |
eec92d76 | 12750 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 12751 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
c368d904 RD |
12752 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, |
12753 | { "_char","_wxChar",0}, | |
e91a9dfc | 12754 | { "_wxBitmap","_class_wxBitmap",0}, |
c368d904 | 12755 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, |
e91a9dfc | 12756 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
2348eaee | 12757 | { "_wxPyControlPoint","_class_wxPyControlPoint",0}, |
e91a9dfc | 12758 | { "_wxWindowDC","_class_wxWindowDC",0}, |
c368d904 RD |
12759 | { "_wxTimerEvent","_class_wxTimerEvent",0}, |
12760 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
e91a9dfc RD |
12761 | { "_wxScrollBar","_class_wxScrollBar",0}, |
12762 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
12763 | { "_wxColourDialog","_class_wxColourDialog",0}, |
12764 | { "_wxPrintData","_class_wxPrintData",0}, | |
c368d904 | 12765 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, |
e91a9dfc RD |
12766 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, |
12767 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
12768 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 12769 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc RD |
12770 | { "_class_wxPyEvent","_wxPyEvent",0}, |
12771 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
c368d904 | 12772 | { "_wxConfig","_class_wxConfig",0}, |
e91a9dfc RD |
12773 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, |
12774 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
c368d904 | 12775 | { "_class_wxFileConfig","_wxFileConfig",0}, |
e91a9dfc | 12776 | { "_class_wxPyDrawnShape","_wxPyDrawnShape",0}, |
eec92d76 RD |
12777 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
12778 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
12779 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
12780 | { "_wxListItem","_class_wxListItem",0}, | |
12781 | { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0}, | |
12782 | { "_class_wxToolBar","_wxToolBar",0}, | |
eec92d76 | 12783 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc RD |
12784 | { "_class_wxStaticLine","_wxStaticLine",0}, |
12785 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
eec92d76 | 12786 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc | 12787 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
c368d904 | 12788 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, |
e91a9dfc | 12789 | { "_class_wxShapeRegion","_wxShapeRegion",0}, |
eec92d76 | 12790 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
12791 | { "_EBool","_wxPrintQuality",0}, |
12792 | { "_EBool","_signed_int",0}, | |
12793 | { "_EBool","_int",0}, | |
12794 | { "_EBool","_wxWindowID",0}, | |
12795 | { "_class_wxRegion","_wxRegion",0}, | |
eec92d76 | 12796 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 12797 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
eec92d76 | 12798 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
12799 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
12800 | { "_wxStaticText","_class_wxStaticText",0}, | |
12801 | { "_wxFont","_class_wxFont",0}, | |
eec92d76 | 12802 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
12803 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
12804 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
c368d904 | 12805 | { "_wxProcessEvent","_class_wxProcessEvent",0}, |
e91a9dfc | 12806 | { "_wxNotebook","_class_wxNotebook",0}, |
c368d904 | 12807 | { "_wxFSFile","_class_wxFSFile",0}, |
e91a9dfc RD |
12808 | { "_unsigned_long","_long",0}, |
12809 | { "_class_wxRect","_wxRect",0}, | |
12810 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 12811 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
c368d904 | 12812 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, |
e91a9dfc | 12813 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
eec92d76 | 12814 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
c368d904 | 12815 | { "_wxPyInputStream","_class_wxPyInputStream",0}, |
e91a9dfc | 12816 | { "_wxPyApp","_class_wxPyApp",0}, |
eec92d76 | 12817 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
c368d904 RD |
12818 | { "_class_wxOutputStream","_wxOutputStream",0}, |
12819 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
e91a9dfc RD |
12820 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
12821 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
12822 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
c368d904 | 12823 | { "_wxTimeSpan","_class_wxTimeSpan",0}, |
e91a9dfc RD |
12824 | { "_wxFocusEvent","_class_wxFocusEvent",0}, |
12825 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
c368d904 RD |
12826 | { "_class_wxTimerEvent","_wxTimerEvent",0}, |
12827 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
e91a9dfc RD |
12828 | { "_class_wxSpinButton","_wxSpinButton",0}, |
12829 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
12830 | { "_class_wxPanel","_wxPanel",0}, | |
12831 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
12832 | { "_wxComboBox","_class_wxComboBox",0}, | |
12833 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
12834 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
eec92d76 | 12835 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
12836 | { "_signed_int","_wxPrintQuality",0}, |
12837 | { "_signed_int","_EBool",0}, | |
12838 | { "_signed_int","_wxWindowID",0}, | |
12839 | { "_signed_int","_int",0}, | |
12840 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 12841 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 12842 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
c368d904 | 12843 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, |
eec92d76 | 12844 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
12845 | { "_wxMenu","_class_wxMenu",0}, |
12846 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
12847 | { "_wxListBox","_class_wxListBox",0}, | |
12848 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
eec92d76 | 12849 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc | 12850 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
c368d904 | 12851 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
12852 | { "_WXTYPE","_short",0}, |
12853 | { "_WXTYPE","_signed_short",0}, | |
12854 | { "_WXTYPE","_unsigned_short",0}, | |
12855 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
eec92d76 | 12856 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 12857 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
12858 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
12859 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 12860 | { "_wxTipProvider","_class_wxTipProvider",0}, |
c368d904 | 12861 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
12862 | { "_unsigned_short","_WXTYPE",0}, |
12863 | { "_unsigned_short","_short",0}, | |
12864 | { "_class_wxWindow","_wxWindow",0}, | |
c368d904 | 12865 | { "_class_wxLogStderr","_wxLogStderr",0}, |
e91a9dfc | 12866 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, |
c368d904 | 12867 | { "_wxDateSpan","_class_wxDateSpan",0}, |
e91a9dfc RD |
12868 | { "_class_wxStaticText","_wxStaticText",0}, |
12869 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
12870 | { "_class_wxFont","_wxFont",0}, | |
eec92d76 | 12871 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 12872 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
12873 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
12874 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
eec92d76 | 12875 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
e91a9dfc | 12876 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
eec92d76 RD |
12877 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
12878 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
e91a9dfc RD |
12879 | { "_wxClientDC","_class_wxClientDC",0}, |
12880 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
c368d904 | 12881 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, |
e91a9dfc RD |
12882 | { "_wxListCtrl","_class_wxListCtrl",0}, |
12883 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
12884 | { "_wxPyDividedShape","_class_wxPyDividedShape",0}, | |
12885 | { "_class_wxPoint","_wxPoint",0}, | |
c368d904 | 12886 | { "_class_wxPyInputStream","_wxPyInputStream",0}, |
e91a9dfc RD |
12887 | { "_wxRealPoint","_class_wxRealPoint",0}, |
12888 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 12889 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
12890 | { "_signed_short","_WXTYPE",0}, |
12891 | { "_signed_short","_short",0}, | |
12892 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
eec92d76 | 12893 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
c368d904 | 12894 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, |
e91a9dfc | 12895 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
c368d904 | 12896 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, |
2348eaee | 12897 | { "_class_wxPyControlPoint","_wxPyControlPoint",0}, |
e91a9dfc RD |
12898 | { "_wxPaintDC","_class_wxPaintDC",0}, |
12899 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
12900 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
12901 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
12902 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
12903 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
12904 | { "_class_wxCursor","_wxCursor",0}, | |
eec92d76 | 12905 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, |
c368d904 | 12906 | { "_class_wxPyProcess","_wxPyProcess",0}, |
e91a9dfc RD |
12907 | { "_class_wxImageHandler","_wxImageHandler",0}, |
12908 | { "_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12909 | { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12910 | { "_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12911 | { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12912 | { "_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12913 | { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12914 | { "_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12915 | { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12916 | { "_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
12917 | { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
2348eaee RD |
12918 | { "_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, |
12919 | { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
e91a9dfc RD |
12920 | { "_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, |
12921 | { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
12922 | { "_wxPyShape","_class_wxPyShape",0}, | |
12923 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
c368d904 | 12924 | { "_class_wxLog","_wxLog",0}, |
e91a9dfc RD |
12925 | { "_wxTreeItemId","_class_wxTreeItemId",0}, |
12926 | { "_unsigned_char","_byte",0}, | |
c368d904 | 12927 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, |
e91a9dfc RD |
12928 | { "_class_wxMenu","_wxMenu",0}, |
12929 | { "_wxControl","_class_wxControl",0}, | |
12930 | { "_class_wxListBox","_wxListBox",0}, | |
eec92d76 | 12931 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 12932 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 12933 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
12934 | { "_unsigned_int","_size_t",0}, |
12935 | { "_unsigned_int","_uint",0}, | |
12936 | { "_unsigned_int","_wxWindowID",0}, | |
12937 | { "_unsigned_int","_int",0}, | |
12938 | { "_wxIcon","_class_wxIcon",0}, | |
12939 | { "_wxDialog","_class_wxDialog",0}, | |
12940 | { "_class_wxListItem","_wxListItem",0}, | |
12941 | { "_class_wxPen","_wxPen",0}, | |
12942 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
12943 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
c368d904 RD |
12944 | { "_wxConfigBase","_class_wxConfigBase",0}, |
12945 | { "_short","_wxDateTime_t",0}, | |
e91a9dfc RD |
12946 | { "_short","_WXTYPE",0}, |
12947 | { "_short","_unsigned_short",0}, | |
12948 | { "_short","_signed_short",0}, | |
12949 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
12950 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
eec92d76 RD |
12951 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
12952 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
12953 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
12954 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
12955 | { "_class_wxChoice","_wxChoice",0}, | |
12956 | { "_class_wxSlider","_wxSlider",0}, | |
12957 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
12958 | { "_class_wxImageList","_wxImageList",0}, | |
12959 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
c368d904 | 12960 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, |
f6bcfd97 | 12961 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 12962 | { "_wxFrame","_class_wxFrame",0}, |
eec92d76 | 12963 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 12964 | { "_class_wxGridSizer","_wxGridSizer",0}, |
e91a9dfc | 12965 | { "_wxPyDivisionShape","_class_wxPyDivisionShape",0}, |
eec92d76 | 12966 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
12967 | { "_class_wxNotebook","_wxNotebook",0}, |
12968 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
eec92d76 | 12969 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 12970 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 12971 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
12972 | { "_wxWindowID","_size_t",0}, |
12973 | { "_wxWindowID","_EBool",0}, | |
12974 | { "_wxWindowID","_uint",0}, | |
12975 | { "_wxWindowID","_int",0}, | |
12976 | { "_wxWindowID","_signed_int",0}, | |
12977 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 12978 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 12979 | { "_class_wxSizerItem","_wxSizerItem",0}, |
eec92d76 | 12980 | { "_int","_wxCoord",0}, |
e91a9dfc | 12981 | { "_int","_wxPrintQuality",0}, |
c368d904 | 12982 | { "_int","_time_t",0}, |
e91a9dfc RD |
12983 | { "_int","_size_t",0}, |
12984 | { "_int","_EBool",0}, | |
12985 | { "_int","_uint",0}, | |
12986 | { "_int","_wxWindowID",0}, | |
12987 | { "_int","_unsigned_int",0}, | |
12988 | { "_int","_signed_int",0}, | |
12989 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 12990 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
c368d904 | 12991 | { "_wxLogWindow","_class_wxLogWindow",0}, |
e91a9dfc RD |
12992 | { "_class_wxListEvent","_wxListEvent",0}, |
12993 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
c368d904 RD |
12994 | { "_wxDateTime_t","_unsigned_short",0}, |
12995 | { "_wxDateTime_t","_short",0}, | |
12996 | { "_wxDateTime_t","_WXTYPE",0}, | |
e91a9dfc | 12997 | { "_class_wxSpinEvent","_wxSpinEvent",0}, |
eec92d76 | 12998 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
c368d904 RD |
12999 | { "_wxDateTime","_class_wxDateTime",0}, |
13000 | { "_time_t","_wxCoord",0}, | |
13001 | { "_time_t","_wxPrintQuality",0}, | |
13002 | { "_time_t","_unsigned_int",0}, | |
13003 | { "_time_t","_int",0}, | |
13004 | { "_time_t","_wxWindowID",0}, | |
13005 | { "_time_t","_uint",0}, | |
13006 | { "_time_t","_size_t",0}, | |
eec92d76 | 13007 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, |
c368d904 | 13008 | { "_wxLogNull","_class_wxLogNull",0}, |
e91a9dfc | 13009 | { "_wxButton","_class_wxButton",0}, |
c368d904 | 13010 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, |
e91a9dfc RD |
13011 | { "_class_wxPyApp","_wxPyApp",0}, |
13012 | { "_wxSize","_class_wxSize",0}, | |
13013 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
c368d904 | 13014 | { "_class_wxPrinterDC","_wxPrinterDC",0}, |
eec92d76 | 13015 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
c368d904 RD |
13016 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, |
13017 | { "_class_wxLogGui","_wxLogGui",0}, | |
e91a9dfc RD |
13018 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
13019 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
2348eaee | 13020 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
c368d904 RD |
13021 | { "_class_wxTimeSpan","_wxTimeSpan",0}, |
13022 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
e91a9dfc RD |
13023 | { "_class_wxPaintDC","_wxPaintDC",0}, |
13024 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
eec92d76 | 13025 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
13026 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
13027 | { "_class_wxComboBox","_wxComboBox",0}, | |
13028 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
13029 | { "_class_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
13030 | { "_class_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
13031 | { "_class_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
13032 | { "_class_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
13033 | { "_class_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
13034 | { "_class_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
13035 | { "_class_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
13036 | { "_class_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
13037 | { "_class_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
13038 | { "_class_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
2348eaee RD |
13039 | { "_class_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, |
13040 | { "_class_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
e91a9dfc RD |
13041 | { "_class_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, |
13042 | { "_class_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
13043 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 13044 | { "_wxValidator","_class_wxValidator",0}, |
eec92d76 | 13045 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc | 13046 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
e91a9dfc RD |
13047 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, |
13048 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
13049 | { "_class_wxControl","_wxControl",0}, | |
13050 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
13051 | { "_wxPyDrawnShape","_class_wxPyDrawnShape",0}, | |
13052 | { "_class_wxIcon","_wxIcon",0}, | |
13053 | { "_class_wxColour","_wxColour",0}, | |
13054 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
13055 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
13056 | { "_wxPalette","_class_wxPalette",0}, | |
13057 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
c368d904 | 13058 | { "_class_wxConfigBase","_wxConfigBase",0}, |
eec92d76 RD |
13059 | { "_wxCoord","_int",0}, |
13060 | { "_wxCoord","_signed_int",0}, | |
13061 | { "_wxCoord","_unsigned_int",0}, | |
13062 | { "_wxCoord","_wxWindowID",0}, | |
13063 | { "_wxCoord","_uint",0}, | |
13064 | { "_wxCoord","_EBool",0}, | |
13065 | { "_wxCoord","_size_t",0}, | |
c368d904 | 13066 | { "_wxCoord","_time_t",0}, |
eec92d76 | 13067 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 13068 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
eec92d76 | 13069 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 13070 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 13071 | { "_class_wxTipProvider","_wxTipProvider",0}, |
e91a9dfc RD |
13072 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
13073 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
c368d904 | 13074 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, |
e91a9dfc RD |
13075 | { "_wxRegion","_class_wxRegion",0}, |
13076 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
13077 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 13078 | { "_wxSizer","_class_wxSizer",0}, |
c368d904 RD |
13079 | { "_class_wxDateSpan","_wxDateSpan",0}, |
13080 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
e91a9dfc | 13081 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 13082 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
eec92d76 RD |
13083 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
13084 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
13085 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
e91a9dfc RD |
13086 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
13087 | { "_wxGauge","_class_wxGauge",0}, | |
13088 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
eec92d76 | 13089 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
e91a9dfc RD |
13090 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
13091 | { "_class_wxClientDC","_wxClientDC",0}, | |
13092 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
13093 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
13094 | { "_class_wxPyDividedShape","_wxPyDividedShape",0}, | |
eec92d76 | 13095 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
c368d904 | 13096 | { "_class_wxLogNull","_wxLogNull",0}, |
e91a9dfc RD |
13097 | { "_class_wxSize","_wxSize",0}, |
13098 | { "_class_wxBitmap","_wxBitmap",0}, | |
13099 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
eec92d76 | 13100 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc | 13101 | { "_wxMenuBar","_class_wxMenuBar",0}, |
c368d904 | 13102 | { "_wxOutputStream","_class_wxOutputStream",0}, |
e91a9dfc RD |
13103 | { "_wxTreeEvent","_class_wxTreeEvent",0}, |
13104 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
13105 | { "_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
13106 | { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
13107 | { "_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
13108 | { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
13109 | { "_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
13110 | { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
13111 | { "_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
13112 | { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
13113 | { "_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
13114 | { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
2348eaee RD |
13115 | { "_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, |
13116 | { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
e91a9dfc RD |
13117 | { "_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, |
13118 | { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
13119 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
13120 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
13121 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
13122 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
13123 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
13124 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc RD |
13125 | { "_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, |
13126 | { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
13127 | { "_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
13128 | { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
13129 | { "_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
13130 | { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
13131 | { "_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
13132 | { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
13133 | { "_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
13134 | { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
2348eaee RD |
13135 | { "_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, |
13136 | { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
e91a9dfc RD |
13137 | { "_wxPyRectangleShape","_class_wxPyRectangleShape",0}, |
13138 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
f6bcfd97 | 13139 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc | 13140 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
c368d904 | 13141 | { "_class_wxConfig","_wxConfig",0}, |
e91a9dfc RD |
13142 | { "_wxKeyEvent","_class_wxKeyEvent",0}, |
13143 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
13144 | { "_wxOGLConstraint","_class_wxOGLConstraint",0}, | |
13145 | { "_wxColourData","_class_wxColourData",0}, | |
13146 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
13147 | { "_class_wxPalette","_wxPalette",0}, | |
eec92d76 | 13148 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 13149 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 13150 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 13151 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
eec92d76 | 13152 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc | 13153 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
eec92d76 RD |
13154 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
13155 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
13156 | { "_class_wxFontDialog","_wxFontDialog",0}, |
13157 | { "_wxWindow","_class_wxWindow",0}, | |
eec92d76 | 13158 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
c368d904 RD |
13159 | { "_wxLogStderr","_class_wxLogStderr",0}, |
13160 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
13161 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
e91a9dfc RD |
13162 | { "_class_wxFrame","_wxFrame",0}, |
13163 | {0,0,0}}; | |
13164 | ||
13165 | static PyObject *SWIG_globals; | |
13166 | #ifdef __cplusplus | |
13167 | extern "C" | |
13168 | #endif | |
13169 | SWIGEXPORT(void) initoglshapesc() { | |
13170 | PyObject *m, *d; | |
13171 | SWIG_globals = SWIG_newvarlink(); | |
13172 | m = Py_InitModule("oglshapesc", oglshapescMethods); | |
13173 | d = PyModule_GetDict(m); | |
13174 | { | |
13175 | int i; | |
13176 | for (i = 0; _swig_mapping[i].n1; i++) | |
13177 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
13178 | } | |
13179 | } |