]>
Commit | Line | Data |
---|---|---|
1 | /* | |
2 | * FILE : contrib/ogl/oglshapes.cpp | |
3 | * | |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 883) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #include "Python.h" | |
40 | ||
41 | #ifdef __cplusplus | |
42 | extern "C" { | |
43 | #endif | |
44 | ||
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 "export.h" | |
59 | #include "oglhelpers.h" | |
60 | ||
61 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
62 | PyObject* o2; | |
63 | if (!target) { | |
64 | target = o; | |
65 | } else if (target == Py_None) { | |
66 | Py_DECREF(Py_None); | |
67 | target = o; | |
68 | } else { | |
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 | ||
85 | if (!target) { | |
86 | target = o; | |
87 | } else if (target == Py_None) { | |
88 | Py_DECREF(Py_None); | |
89 | target = o; | |
90 | } else { | |
91 | if (!PyTuple_Check(target)) { | |
92 | o2 = target; | |
93 | target = PyTuple_New(1); | |
94 | PyTuple_SetItem(target, 0, o2); | |
95 | } | |
96 | o3 = PyTuple_New(1); | |
97 | PyTuple_SetItem(o3, 0, o); | |
98 | ||
99 | o2 = target; | |
100 | target = PySequence_Concat(o2, o3); | |
101 | Py_DECREF(o2); | |
102 | Py_DECREF(o3); | |
103 | } | |
104 | return target; | |
105 | } | |
106 | ||
107 | static char* wxStringErrorMsg = "string type is required for parameter"; | |
108 | ||
109 | WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape); | |
110 | ||
111 | WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint); | |
112 | ||
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 * _obj1 = 0; | |
707 | char *_kwnames[] = { "self","brush", NULL }; | |
708 | ||
709 | self = self; | |
710 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1)) | |
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 | { | |
720 | wxBrush* temp; | |
721 | if (_obj1) { | |
722 | if (_obj1 == Py_None) { temp = NULL; } | |
723 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) { | |
724 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p."); | |
725 | return NULL; | |
726 | } | |
727 | } | |
728 | if (temp) | |
729 | _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle()); | |
730 | else | |
731 | _arg1 = NULL; | |
732 | } | |
733 | { | |
734 | wxPy_BEGIN_ALLOW_THREADS; | |
735 | wxPseudoMetaFile_SetFillBrush(_arg0,_arg1); | |
736 | ||
737 | wxPy_END_ALLOW_THREADS; | |
738 | } Py_INCREF(Py_None); | |
739 | _resultobj = Py_None; | |
740 | return _resultobj; | |
741 | } | |
742 | ||
743 | #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush()) | |
744 | static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
745 | PyObject * _resultobj; | |
746 | wxBrush * _result; | |
747 | wxPseudoMetaFile * _arg0; | |
748 | PyObject * _argo0 = 0; | |
749 | char *_kwnames[] = { "self", NULL }; | |
750 | char _ptemp[128]; | |
751 | ||
752 | self = self; | |
753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0)) | |
754 | return NULL; | |
755 | if (_argo0) { | |
756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p."); | |
759 | return NULL; | |
760 | } | |
761 | } | |
762 | { | |
763 | wxPy_BEGIN_ALLOW_THREADS; | |
764 | _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0); | |
765 | ||
766 | wxPy_END_ALLOW_THREADS; | |
767 | } if (_result) { | |
768 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
769 | _resultobj = Py_BuildValue("s",_ptemp); | |
770 | } else { | |
771 | Py_INCREF(Py_None); | |
772 | _resultobj = Py_None; | |
773 | } | |
774 | return _resultobj; | |
775 | } | |
776 | ||
777 | #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0)) | |
778 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
779 | PyObject * _resultobj; | |
780 | wxPseudoMetaFile * _arg0; | |
781 | wxPen * _arg1; | |
782 | PyObject * _argo0 = 0; | |
783 | PyObject * _obj1 = 0; | |
784 | char *_kwnames[] = { "self","pen", NULL }; | |
785 | ||
786 | self = self; | |
787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1)) | |
788 | return NULL; | |
789 | if (_argo0) { | |
790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
793 | return NULL; | |
794 | } | |
795 | } | |
796 | { | |
797 | wxPen* temp; | |
798 | if (_obj1) { | |
799 | if (_obj1 == Py_None) { temp = NULL; } | |
800 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
801 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
802 | return NULL; | |
803 | } | |
804 | } | |
805 | if (temp) | |
806 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
807 | temp->GetWidth(), | |
808 | temp->GetStyle()); | |
809 | else | |
810 | _arg1 = NULL; | |
811 | } | |
812 | { | |
813 | wxPy_BEGIN_ALLOW_THREADS; | |
814 | wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1); | |
815 | ||
816 | wxPy_END_ALLOW_THREADS; | |
817 | } Py_INCREF(Py_None); | |
818 | _resultobj = Py_None; | |
819 | return _resultobj; | |
820 | } | |
821 | ||
822 | #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen()) | |
823 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
824 | PyObject * _resultobj; | |
825 | wxPen * _result; | |
826 | wxPseudoMetaFile * _arg0; | |
827 | PyObject * _argo0 = 0; | |
828 | char *_kwnames[] = { "self", NULL }; | |
829 | char _ptemp[128]; | |
830 | ||
831 | self = self; | |
832 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0)) | |
833 | return NULL; | |
834 | if (_argo0) { | |
835 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
836 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
837 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
838 | return NULL; | |
839 | } | |
840 | } | |
841 | { | |
842 | wxPy_BEGIN_ALLOW_THREADS; | |
843 | _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0); | |
844 | ||
845 | wxPy_END_ALLOW_THREADS; | |
846 | } if (_result) { | |
847 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
848 | _resultobj = Py_BuildValue("s",_ptemp); | |
849 | } else { | |
850 | Py_INCREF(Py_None); | |
851 | _resultobj = Py_None; | |
852 | } | |
853 | return _resultobj; | |
854 | } | |
855 | ||
856 | #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0)) | |
857 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
858 | PyObject * _resultobj; | |
859 | wxPseudoMetaFile * _arg0; | |
860 | int _arg1; | |
861 | PyObject * _argo0 = 0; | |
862 | char *_kwnames[] = { "self","op", NULL }; | |
863 | ||
864 | self = self; | |
865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1)) | |
866 | return NULL; | |
867 | if (_argo0) { | |
868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
871 | return NULL; | |
872 | } | |
873 | } | |
874 | { | |
875 | wxPy_BEGIN_ALLOW_THREADS; | |
876 | wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1); | |
877 | ||
878 | wxPy_END_ALLOW_THREADS; | |
879 | } Py_INCREF(Py_None); | |
880 | _resultobj = Py_None; | |
881 | return _resultobj; | |
882 | } | |
883 | ||
884 | #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp()) | |
885 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
886 | PyObject * _resultobj; | |
887 | int _result; | |
888 | wxPseudoMetaFile * _arg0; | |
889 | PyObject * _argo0 = 0; | |
890 | char *_kwnames[] = { "self", NULL }; | |
891 | ||
892 | self = self; | |
893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0)) | |
894 | return NULL; | |
895 | if (_argo0) { | |
896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
899 | return NULL; | |
900 | } | |
901 | } | |
902 | { | |
903 | wxPy_BEGIN_ALLOW_THREADS; | |
904 | _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0); | |
905 | ||
906 | wxPy_END_ALLOW_THREADS; | |
907 | } _resultobj = Py_BuildValue("i",_result); | |
908 | return _resultobj; | |
909 | } | |
910 | ||
911 | #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid()) | |
912 | static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
913 | PyObject * _resultobj; | |
914 | bool _result; | |
915 | wxPseudoMetaFile * _arg0; | |
916 | PyObject * _argo0 = 0; | |
917 | char *_kwnames[] = { "self", NULL }; | |
918 | ||
919 | self = self; | |
920 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0)) | |
921 | return NULL; | |
922 | if (_argo0) { | |
923 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
924 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p."); | |
926 | return NULL; | |
927 | } | |
928 | } | |
929 | { | |
930 | wxPy_BEGIN_ALLOW_THREADS; | |
931 | _result = (bool )wxPseudoMetaFile_IsValid(_arg0); | |
932 | ||
933 | wxPy_END_ALLOW_THREADS; | |
934 | } _resultobj = Py_BuildValue("i",_result); | |
935 | return _resultobj; | |
936 | } | |
937 | ||
938 | #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
939 | static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
940 | PyObject * _resultobj; | |
941 | wxPseudoMetaFile * _arg0; | |
942 | wxPoint * _arg1; | |
943 | wxPoint * _arg2; | |
944 | PyObject * _argo0 = 0; | |
945 | wxPoint temp; | |
946 | PyObject * _obj1 = 0; | |
947 | wxPoint temp0; | |
948 | PyObject * _obj2 = 0; | |
949 | char *_kwnames[] = { "self","pt1","pt2", NULL }; | |
950 | ||
951 | self = self; | |
952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) | |
953 | return NULL; | |
954 | if (_argo0) { | |
955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p."); | |
958 | return NULL; | |
959 | } | |
960 | } | |
961 | { | |
962 | _arg1 = &temp; | |
963 | if (! wxPoint_helper(_obj1, &_arg1)) | |
964 | return NULL; | |
965 | } | |
966 | { | |
967 | _arg2 = &temp0; | |
968 | if (! wxPoint_helper(_obj2, &_arg2)) | |
969 | return NULL; | |
970 | } | |
971 | { | |
972 | wxPy_BEGIN_ALLOW_THREADS; | |
973 | wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2); | |
974 | ||
975 | wxPy_END_ALLOW_THREADS; | |
976 | } Py_INCREF(Py_None); | |
977 | _resultobj = Py_None; | |
978 | return _resultobj; | |
979 | } | |
980 | ||
981 | #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
982 | static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
983 | PyObject * _resultobj; | |
984 | wxPseudoMetaFile * _arg0; | |
985 | wxRect * _arg1; | |
986 | PyObject * _argo0 = 0; | |
987 | wxRect temp; | |
988 | PyObject * _obj1 = 0; | |
989 | char *_kwnames[] = { "self","rect", NULL }; | |
990 | ||
991 | self = self; | |
992 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1)) | |
993 | return NULL; | |
994 | if (_argo0) { | |
995 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
996 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p."); | |
998 | return NULL; | |
999 | } | |
1000 | } | |
1001 | { | |
1002 | _arg1 = &temp; | |
1003 | if (! wxRect_helper(_obj1, &_arg1)) | |
1004 | return NULL; | |
1005 | } | |
1006 | { | |
1007 | wxPy_BEGIN_ALLOW_THREADS; | |
1008 | wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1); | |
1009 | ||
1010 | wxPy_END_ALLOW_THREADS; | |
1011 | } Py_INCREF(Py_None); | |
1012 | _resultobj = Py_None; | |
1013 | return _resultobj; | |
1014 | } | |
1015 | ||
1016 | #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
1017 | static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1018 | PyObject * _resultobj; | |
1019 | wxPseudoMetaFile * _arg0; | |
1020 | wxRect * _arg1; | |
1021 | double _arg2; | |
1022 | PyObject * _argo0 = 0; | |
1023 | wxRect temp; | |
1024 | PyObject * _obj1 = 0; | |
1025 | char *_kwnames[] = { "self","rect","radius", NULL }; | |
1026 | ||
1027 | self = self; | |
1028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) | |
1029 | return NULL; | |
1030 | if (_argo0) { | |
1031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p."); | |
1034 | return NULL; | |
1035 | } | |
1036 | } | |
1037 | { | |
1038 | _arg1 = &temp; | |
1039 | if (! wxRect_helper(_obj1, &_arg1)) | |
1040 | return NULL; | |
1041 | } | |
1042 | { | |
1043 | wxPy_BEGIN_ALLOW_THREADS; | |
1044 | wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2); | |
1045 | ||
1046 | wxPy_END_ALLOW_THREADS; | |
1047 | } Py_INCREF(Py_None); | |
1048 | _resultobj = Py_None; | |
1049 | return _resultobj; | |
1050 | } | |
1051 | ||
1052 | #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
1053 | static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1054 | PyObject * _resultobj; | |
1055 | wxPseudoMetaFile * _arg0; | |
1056 | wxPoint * _arg1; | |
1057 | wxPoint * _arg2; | |
1058 | wxPoint * _arg3; | |
1059 | PyObject * _argo0 = 0; | |
1060 | wxPoint temp; | |
1061 | PyObject * _obj1 = 0; | |
1062 | wxPoint temp0; | |
1063 | PyObject * _obj2 = 0; | |
1064 | wxPoint temp1; | |
1065 | PyObject * _obj3 = 0; | |
1066 | char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL }; | |
1067 | ||
1068 | self = self; | |
1069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
1070 | return NULL; | |
1071 | if (_argo0) { | |
1072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p."); | |
1075 | return NULL; | |
1076 | } | |
1077 | } | |
1078 | { | |
1079 | _arg1 = &temp; | |
1080 | if (! wxPoint_helper(_obj1, &_arg1)) | |
1081 | return NULL; | |
1082 | } | |
1083 | { | |
1084 | _arg2 = &temp0; | |
1085 | if (! wxPoint_helper(_obj2, &_arg2)) | |
1086 | return NULL; | |
1087 | } | |
1088 | { | |
1089 | _arg3 = &temp1; | |
1090 | if (! wxPoint_helper(_obj3, &_arg3)) | |
1091 | return NULL; | |
1092 | } | |
1093 | { | |
1094 | wxPy_BEGIN_ALLOW_THREADS; | |
1095 | wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); | |
1096 | ||
1097 | wxPy_END_ALLOW_THREADS; | |
1098 | } Py_INCREF(Py_None); | |
1099 | _resultobj = Py_None; | |
1100 | return _resultobj; | |
1101 | } | |
1102 | ||
1103 | #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
1104 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1105 | PyObject * _resultobj; | |
1106 | wxPseudoMetaFile * _arg0; | |
1107 | wxRect * _arg1; | |
1108 | double _arg2; | |
1109 | double _arg3; | |
1110 | PyObject * _argo0 = 0; | |
1111 | wxRect temp; | |
1112 | PyObject * _obj1 = 0; | |
1113 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; | |
1114 | ||
1115 | self = self; | |
1116 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) | |
1117 | return NULL; | |
1118 | if (_argo0) { | |
1119 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1120 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p."); | |
1122 | return NULL; | |
1123 | } | |
1124 | } | |
1125 | { | |
1126 | _arg1 = &temp; | |
1127 | if (! wxRect_helper(_obj1, &_arg1)) | |
1128 | return NULL; | |
1129 | } | |
1130 | { | |
1131 | wxPy_BEGIN_ALLOW_THREADS; | |
1132 | wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); | |
1133 | ||
1134 | wxPy_END_ALLOW_THREADS; | |
1135 | } Py_INCREF(Py_None); | |
1136 | _resultobj = Py_None; | |
1137 | return _resultobj; | |
1138 | } | |
1139 | ||
1140 | #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0)) | |
1141 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1142 | PyObject * _resultobj; | |
1143 | wxPseudoMetaFile * _arg0; | |
1144 | wxRect * _arg1; | |
1145 | PyObject * _argo0 = 0; | |
1146 | wxRect temp; | |
1147 | PyObject * _obj1 = 0; | |
1148 | char *_kwnames[] = { "self","rect", NULL }; | |
1149 | ||
1150 | self = self; | |
1151 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1)) | |
1152 | return NULL; | |
1153 | if (_argo0) { | |
1154 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1155 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p."); | |
1157 | return NULL; | |
1158 | } | |
1159 | } | |
1160 | { | |
1161 | _arg1 = &temp; | |
1162 | if (! wxRect_helper(_obj1, &_arg1)) | |
1163 | return NULL; | |
1164 | } | |
1165 | { | |
1166 | wxPy_BEGIN_ALLOW_THREADS; | |
1167 | wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1); | |
1168 | ||
1169 | wxPy_END_ALLOW_THREADS; | |
1170 | } Py_INCREF(Py_None); | |
1171 | _resultobj = Py_None; | |
1172 | return _resultobj; | |
1173 | } | |
1174 | ||
1175 | #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
1176 | static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1177 | PyObject * _resultobj; | |
1178 | wxPseudoMetaFile * _arg0; | |
1179 | wxPoint * _arg1; | |
1180 | PyObject * _argo0 = 0; | |
1181 | wxPoint temp; | |
1182 | PyObject * _obj1 = 0; | |
1183 | char *_kwnames[] = { "self","pt", NULL }; | |
1184 | ||
1185 | self = self; | |
1186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1)) | |
1187 | return NULL; | |
1188 | if (_argo0) { | |
1189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p."); | |
1192 | return NULL; | |
1193 | } | |
1194 | } | |
1195 | { | |
1196 | _arg1 = &temp; | |
1197 | if (! wxPoint_helper(_obj1, &_arg1)) | |
1198 | return NULL; | |
1199 | } | |
1200 | { | |
1201 | wxPy_BEGIN_ALLOW_THREADS; | |
1202 | wxPseudoMetaFile_DrawPoint(_arg0,*_arg1); | |
1203 | ||
1204 | wxPy_END_ALLOW_THREADS; | |
1205 | } Py_INCREF(Py_None); | |
1206 | _resultobj = Py_None; | |
1207 | return _resultobj; | |
1208 | } | |
1209 | ||
1210 | #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
1211 | static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1212 | PyObject * _resultobj; | |
1213 | wxPseudoMetaFile * _arg0; | |
1214 | wxString * _arg1; | |
1215 | wxPoint * _arg2; | |
1216 | PyObject * _argo0 = 0; | |
1217 | PyObject * _obj1 = 0; | |
1218 | wxPoint temp; | |
1219 | PyObject * _obj2 = 0; | |
1220 | char *_kwnames[] = { "self","text","pt", NULL }; | |
1221 | ||
1222 | self = self; | |
1223 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
1224 | return NULL; | |
1225 | if (_argo0) { | |
1226 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1227 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p."); | |
1229 | return NULL; | |
1230 | } | |
1231 | } | |
1232 | { | |
1233 | #if PYTHON_API_VERSION >= 1009 | |
1234 | char* tmpPtr; int tmpSize; | |
1235 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
1236 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
1237 | return NULL; | |
1238 | } | |
1239 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
1240 | return NULL; | |
1241 | _arg1 = new wxString(tmpPtr, tmpSize); | |
1242 | #else | |
1243 | if (!PyString_Check(_obj1)) { | |
1244 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1245 | return NULL; | |
1246 | } | |
1247 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
1248 | #endif | |
1249 | } | |
1250 | { | |
1251 | _arg2 = &temp; | |
1252 | if (! wxPoint_helper(_obj2, &_arg2)) | |
1253 | return NULL; | |
1254 | } | |
1255 | { | |
1256 | wxPy_BEGIN_ALLOW_THREADS; | |
1257 | wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2); | |
1258 | ||
1259 | wxPy_END_ALLOW_THREADS; | |
1260 | } Py_INCREF(Py_None); | |
1261 | _resultobj = Py_None; | |
1262 | { | |
1263 | if (_obj1) | |
1264 | delete _arg1; | |
1265 | } | |
1266 | return _resultobj; | |
1267 | } | |
1268 | ||
1269 | #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
1270 | static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1271 | PyObject * _resultobj; | |
1272 | wxPseudoMetaFile * _arg0; | |
1273 | int _arg1; | |
1274 | wxPoint * _arg2; | |
1275 | PyObject * _argo0 = 0; | |
1276 | int NPOINTS; | |
1277 | PyObject * _obj2 = 0; | |
1278 | char *_kwnames[] = { "self","points", NULL }; | |
1279 | ||
1280 | self = self; | |
1281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2)) | |
1282 | return NULL; | |
1283 | if (_argo0) { | |
1284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p."); | |
1287 | return NULL; | |
1288 | } | |
1289 | } | |
1290 | if (_obj2) | |
1291 | { | |
1292 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); | |
1293 | if (_arg2 == NULL) { | |
1294 | return NULL; | |
1295 | } | |
1296 | } | |
1297 | { | |
1298 | _arg1 = NPOINTS; | |
1299 | } | |
1300 | { | |
1301 | wxPy_BEGIN_ALLOW_THREADS; | |
1302 | wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2); | |
1303 | ||
1304 | wxPy_END_ALLOW_THREADS; | |
1305 | } Py_INCREF(Py_None); | |
1306 | _resultobj = Py_None; | |
1307 | { | |
1308 | delete [] _arg2; | |
1309 | } | |
1310 | return _resultobj; | |
1311 | } | |
1312 | ||
1313 | #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
1314 | static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1315 | PyObject * _resultobj; | |
1316 | wxPseudoMetaFile * _arg0; | |
1317 | int _arg1; | |
1318 | wxPoint * _arg2; | |
1319 | int _arg3 = (int ) 0; | |
1320 | PyObject * _argo0 = 0; | |
1321 | int NPOINTS; | |
1322 | PyObject * _obj2 = 0; | |
1323 | char *_kwnames[] = { "self","points","flags", NULL }; | |
1324 | ||
1325 | self = self; | |
1326 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
1327 | return NULL; | |
1328 | if (_argo0) { | |
1329 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1330 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p."); | |
1332 | return NULL; | |
1333 | } | |
1334 | } | |
1335 | if (_obj2) | |
1336 | { | |
1337 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); | |
1338 | if (_arg2 == NULL) { | |
1339 | return NULL; | |
1340 | } | |
1341 | } | |
1342 | { | |
1343 | _arg1 = NPOINTS; | |
1344 | } | |
1345 | { | |
1346 | wxPy_BEGIN_ALLOW_THREADS; | |
1347 | wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3); | |
1348 | ||
1349 | wxPy_END_ALLOW_THREADS; | |
1350 | } Py_INCREF(Py_None); | |
1351 | _resultobj = Py_None; | |
1352 | { | |
1353 | delete [] _arg2; | |
1354 | } | |
1355 | return _resultobj; | |
1356 | } | |
1357 | ||
1358 | #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
1359 | static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1360 | PyObject * _resultobj; | |
1361 | wxPseudoMetaFile * _arg0; | |
1362 | int _arg1; | |
1363 | wxPoint * _arg2; | |
1364 | PyObject * _argo0 = 0; | |
1365 | int NPOINTS; | |
1366 | PyObject * _obj2 = 0; | |
1367 | char *_kwnames[] = { "self","points", NULL }; | |
1368 | ||
1369 | self = self; | |
1370 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
1371 | return NULL; | |
1372 | if (_argo0) { | |
1373 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1374 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p."); | |
1376 | return NULL; | |
1377 | } | |
1378 | } | |
1379 | if (_obj2) | |
1380 | { | |
1381 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); | |
1382 | if (_arg2 == NULL) { | |
1383 | return NULL; | |
1384 | } | |
1385 | } | |
1386 | { | |
1387 | _arg1 = NPOINTS; | |
1388 | } | |
1389 | { | |
1390 | wxPy_BEGIN_ALLOW_THREADS; | |
1391 | wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2); | |
1392 | ||
1393 | wxPy_END_ALLOW_THREADS; | |
1394 | } Py_INCREF(Py_None); | |
1395 | _resultobj = Py_None; | |
1396 | { | |
1397 | delete [] _arg2; | |
1398 | } | |
1399 | return _resultobj; | |
1400 | } | |
1401 | ||
1402 | #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
1403 | static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1404 | PyObject * _resultobj; | |
1405 | wxPseudoMetaFile * _arg0; | |
1406 | wxRect * _arg1; | |
1407 | PyObject * _argo0 = 0; | |
1408 | wxRect temp; | |
1409 | PyObject * _obj1 = 0; | |
1410 | char *_kwnames[] = { "self","rect", NULL }; | |
1411 | ||
1412 | self = self; | |
1413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1)) | |
1414 | return NULL; | |
1415 | if (_argo0) { | |
1416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p."); | |
1419 | return NULL; | |
1420 | } | |
1421 | } | |
1422 | { | |
1423 | _arg1 = &temp; | |
1424 | if (! wxRect_helper(_obj1, &_arg1)) | |
1425 | return NULL; | |
1426 | } | |
1427 | { | |
1428 | wxPy_BEGIN_ALLOW_THREADS; | |
1429 | wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1); | |
1430 | ||
1431 | wxPy_END_ALLOW_THREADS; | |
1432 | } Py_INCREF(Py_None); | |
1433 | _resultobj = Py_None; | |
1434 | return _resultobj; | |
1435 | } | |
1436 | ||
1437 | #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
1438 | static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1439 | PyObject * _resultobj; | |
1440 | wxPseudoMetaFile * _arg0; | |
1441 | PyObject * _argo0 = 0; | |
1442 | char *_kwnames[] = { "self", NULL }; | |
1443 | ||
1444 | self = self; | |
1445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0)) | |
1446 | return NULL; | |
1447 | if (_argo0) { | |
1448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p."); | |
1451 | return NULL; | |
1452 | } | |
1453 | } | |
1454 | { | |
1455 | wxPy_BEGIN_ALLOW_THREADS; | |
1456 | wxPseudoMetaFile_DestroyClippingRect(_arg0); | |
1457 | ||
1458 | wxPy_END_ALLOW_THREADS; | |
1459 | } Py_INCREF(Py_None); | |
1460 | _resultobj = Py_None; | |
1461 | return _resultobj; | |
1462 | } | |
1463 | ||
1464 | #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1)) | |
1465 | static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1466 | PyObject * _resultobj; | |
1467 | wxPseudoMetaFile * _arg0; | |
1468 | wxPen * _arg1; | |
1469 | bool _arg2 = (bool ) FALSE; | |
1470 | PyObject * _argo0 = 0; | |
1471 | PyObject * _obj1 = 0; | |
1472 | int tempbool2 = (int) FALSE; | |
1473 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
1474 | ||
1475 | self = self; | |
1476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2)) | |
1477 | return NULL; | |
1478 | if (_argo0) { | |
1479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p."); | |
1482 | return NULL; | |
1483 | } | |
1484 | } | |
1485 | { | |
1486 | wxPen* temp; | |
1487 | if (_obj1) { | |
1488 | if (_obj1 == Py_None) { temp = NULL; } | |
1489 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
1490 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
1491 | return NULL; | |
1492 | } | |
1493 | } | |
1494 | if (temp) | |
1495 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
1496 | temp->GetWidth(), | |
1497 | temp->GetStyle()); | |
1498 | else | |
1499 | _arg1 = NULL; | |
1500 | } | |
1501 | _arg2 = (bool ) tempbool2; | |
1502 | { | |
1503 | wxPy_BEGIN_ALLOW_THREADS; | |
1504 | wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2); | |
1505 | ||
1506 | wxPy_END_ALLOW_THREADS; | |
1507 | } Py_INCREF(Py_None); | |
1508 | _resultobj = Py_None; | |
1509 | return _resultobj; | |
1510 | } | |
1511 | ||
1512 | #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1)) | |
1513 | static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1514 | PyObject * _resultobj; | |
1515 | wxPseudoMetaFile * _arg0; | |
1516 | wxBrush * _arg1; | |
1517 | bool _arg2 = (bool ) FALSE; | |
1518 | PyObject * _argo0 = 0; | |
1519 | PyObject * _obj1 = 0; | |
1520 | int tempbool2 = (int) FALSE; | |
1521 | char *_kwnames[] = { "self","brush","isFill", NULL }; | |
1522 | ||
1523 | self = self; | |
1524 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2)) | |
1525 | return NULL; | |
1526 | if (_argo0) { | |
1527 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1528 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1529 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p."); | |
1530 | return NULL; | |
1531 | } | |
1532 | } | |
1533 | { | |
1534 | wxBrush* temp; | |
1535 | if (_obj1) { | |
1536 | if (_obj1 == Py_None) { temp = NULL; } | |
1537 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) { | |
1538 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p."); | |
1539 | return NULL; | |
1540 | } | |
1541 | } | |
1542 | if (temp) | |
1543 | _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle()); | |
1544 | else | |
1545 | _arg1 = NULL; | |
1546 | } | |
1547 | _arg2 = (bool ) tempbool2; | |
1548 | { | |
1549 | wxPy_BEGIN_ALLOW_THREADS; | |
1550 | wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2); | |
1551 | ||
1552 | wxPy_END_ALLOW_THREADS; | |
1553 | } Py_INCREF(Py_None); | |
1554 | _resultobj = Py_None; | |
1555 | return _resultobj; | |
1556 | } | |
1557 | ||
1558 | #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
1559 | static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1560 | PyObject * _resultobj; | |
1561 | wxPseudoMetaFile * _arg0; | |
1562 | wxFont * _arg1; | |
1563 | PyObject * _argo0 = 0; | |
1564 | PyObject * _obj1 = 0; | |
1565 | char *_kwnames[] = { "self","font", NULL }; | |
1566 | ||
1567 | self = self; | |
1568 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1)) | |
1569 | return NULL; | |
1570 | if (_argo0) { | |
1571 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1572 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1573 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p."); | |
1574 | return NULL; | |
1575 | } | |
1576 | } | |
1577 | { | |
1578 | wxFont* temp; | |
1579 | if (_obj1) { | |
1580 | if (_obj1 == Py_None) { temp = NULL; } | |
1581 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) { | |
1582 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p."); | |
1583 | return NULL; | |
1584 | } | |
1585 | } | |
1586 | if (temp) | |
1587 | _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(), | |
1588 | temp->GetFamily(), | |
1589 | temp->GetStyle(), | |
1590 | temp->GetWeight(), | |
1591 | temp->GetUnderlined(), | |
1592 | temp->GetFaceName(), | |
1593 | temp->GetEncoding()); | |
1594 | else | |
1595 | _arg1 = NULL; | |
1596 | } | |
1597 | { | |
1598 | wxPy_BEGIN_ALLOW_THREADS; | |
1599 | wxPseudoMetaFile_SetFont(_arg0,_arg1); | |
1600 | ||
1601 | wxPy_END_ALLOW_THREADS; | |
1602 | } Py_INCREF(Py_None); | |
1603 | _resultobj = Py_None; | |
1604 | return _resultobj; | |
1605 | } | |
1606 | ||
1607 | #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
1608 | static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1609 | PyObject * _resultobj; | |
1610 | wxPseudoMetaFile * _arg0; | |
1611 | wxColour * _arg1; | |
1612 | PyObject * _argo0 = 0; | |
1613 | wxColour temp; | |
1614 | PyObject * _obj1 = 0; | |
1615 | char *_kwnames[] = { "self","colour", NULL }; | |
1616 | ||
1617 | self = self; | |
1618 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1)) | |
1619 | return NULL; | |
1620 | if (_argo0) { | |
1621 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1622 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p."); | |
1624 | return NULL; | |
1625 | } | |
1626 | } | |
1627 | { | |
1628 | _arg1 = &temp; | |
1629 | if (! wxColour_helper(_obj1, &_arg1)) | |
1630 | return NULL; | |
1631 | } | |
1632 | { | |
1633 | wxPy_BEGIN_ALLOW_THREADS; | |
1634 | wxPseudoMetaFile_SetTextColour(_arg0,*_arg1); | |
1635 | ||
1636 | wxPy_END_ALLOW_THREADS; | |
1637 | } Py_INCREF(Py_None); | |
1638 | _resultobj = Py_None; | |
1639 | return _resultobj; | |
1640 | } | |
1641 | ||
1642 | #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1643 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1644 | PyObject * _resultobj; | |
1645 | wxPseudoMetaFile * _arg0; | |
1646 | wxColour * _arg1; | |
1647 | PyObject * _argo0 = 0; | |
1648 | wxColour temp; | |
1649 | PyObject * _obj1 = 0; | |
1650 | char *_kwnames[] = { "self","colour", NULL }; | |
1651 | ||
1652 | self = self; | |
1653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
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_SetBackgroundColour. Expected _wxPseudoMetaFile_p."); | |
1659 | return NULL; | |
1660 | } | |
1661 | } | |
1662 | { | |
1663 | _arg1 = &temp; | |
1664 | if (! wxColour_helper(_obj1, &_arg1)) | |
1665 | return NULL; | |
1666 | } | |
1667 | { | |
1668 | wxPy_BEGIN_ALLOW_THREADS; | |
1669 | wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1); | |
1670 | ||
1671 | wxPy_END_ALLOW_THREADS; | |
1672 | } Py_INCREF(Py_None); | |
1673 | _resultobj = Py_None; | |
1674 | return _resultobj; | |
1675 | } | |
1676 | ||
1677 | #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0)) | |
1678 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1679 | PyObject * _resultobj; | |
1680 | wxPseudoMetaFile * _arg0; | |
1681 | int _arg1; | |
1682 | PyObject * _argo0 = 0; | |
1683 | char *_kwnames[] = { "self","mode", NULL }; | |
1684 | ||
1685 | self = self; | |
1686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
1687 | return NULL; | |
1688 | if (_argo0) { | |
1689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p."); | |
1692 | return NULL; | |
1693 | } | |
1694 | } | |
1695 | { | |
1696 | wxPy_BEGIN_ALLOW_THREADS; | |
1697 | wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1); | |
1698 | ||
1699 | wxPy_END_ALLOW_THREADS; | |
1700 | } Py_INCREF(Py_None); | |
1701 | _resultobj = Py_None; | |
1702 | return _resultobj; | |
1703 | } | |
1704 | ||
1705 | static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) { | |
1706 | wxPyRectangleShape *src; | |
1707 | wxPyShape *dest; | |
1708 | src = (wxPyRectangleShape *) ptr; | |
1709 | dest = (wxPyShape *) src; | |
1710 | return (void *) dest; | |
1711 | } | |
1712 | ||
1713 | static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1714 | wxPyRectangleShape *src; | |
1715 | wxPyShapeEvtHandler *dest; | |
1716 | src = (wxPyRectangleShape *) ptr; | |
1717 | dest = (wxPyShapeEvtHandler *) src; | |
1718 | return (void *) dest; | |
1719 | } | |
1720 | ||
1721 | #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1)) | |
1722 | static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1723 | PyObject * _resultobj; | |
1724 | wxPyRectangleShape * _result; | |
1725 | double _arg0 = (double ) 0.0; | |
1726 | double _arg1 = (double ) 0.0; | |
1727 | char *_kwnames[] = { "width","height", NULL }; | |
1728 | char _ptemp[128]; | |
1729 | ||
1730 | self = self; | |
1731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1)) | |
1732 | return NULL; | |
1733 | { | |
1734 | wxPy_BEGIN_ALLOW_THREADS; | |
1735 | _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1); | |
1736 | ||
1737 | wxPy_END_ALLOW_THREADS; | |
1738 | } if (_result) { | |
1739 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p"); | |
1740 | _resultobj = Py_BuildValue("s",_ptemp); | |
1741 | } else { | |
1742 | Py_INCREF(Py_None); | |
1743 | _resultobj = Py_None; | |
1744 | } | |
1745 | return _resultobj; | |
1746 | } | |
1747 | ||
1748 | #define wxPyRectangleShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
1749 | static PyObject *_wrap_wxPyRectangleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1750 | PyObject * _resultobj; | |
1751 | wxPyRectangleShape * _arg0; | |
1752 | PyObject * _arg1; | |
1753 | PyObject * _arg2; | |
1754 | PyObject * _argo0 = 0; | |
1755 | PyObject * _obj1 = 0; | |
1756 | PyObject * _obj2 = 0; | |
1757 | char *_kwnames[] = { "self","self","_class", NULL }; | |
1758 | ||
1759 | self = self; | |
1760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
1761 | return NULL; | |
1762 | if (_argo0) { | |
1763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setSelf. Expected _wxPyRectangleShape_p."); | |
1766 | return NULL; | |
1767 | } | |
1768 | } | |
1769 | { | |
1770 | _arg1 = _obj1; | |
1771 | } | |
1772 | { | |
1773 | _arg2 = _obj2; | |
1774 | } | |
1775 | { | |
1776 | wxPy_BEGIN_ALLOW_THREADS; | |
1777 | wxPyRectangleShape__setSelf(_arg0,_arg1,_arg2); | |
1778 | ||
1779 | wxPy_END_ALLOW_THREADS; | |
1780 | } Py_INCREF(Py_None); | |
1781 | _resultobj = Py_None; | |
1782 | return _resultobj; | |
1783 | } | |
1784 | ||
1785 | #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) | |
1786 | static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1787 | PyObject * _resultobj; | |
1788 | wxPyRectangleShape * _arg0; | |
1789 | double _arg1; | |
1790 | PyObject * _argo0 = 0; | |
1791 | char *_kwnames[] = { "self","radius", NULL }; | |
1792 | ||
1793 | self = self; | |
1794 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1)) | |
1795 | return NULL; | |
1796 | if (_argo0) { | |
1797 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1798 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1799 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p."); | |
1800 | return NULL; | |
1801 | } | |
1802 | } | |
1803 | { | |
1804 | wxPy_BEGIN_ALLOW_THREADS; | |
1805 | wxPyRectangleShape_SetCornerRadius(_arg0,_arg1); | |
1806 | ||
1807 | wxPy_END_ALLOW_THREADS; | |
1808 | } Py_INCREF(Py_None); | |
1809 | _resultobj = Py_None; | |
1810 | return _resultobj; | |
1811 | } | |
1812 | ||
1813 | #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1814 | static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1815 | PyObject * _resultobj; | |
1816 | wxPyRectangleShape * _arg0; | |
1817 | PyObject * _argo0 = 0; | |
1818 | char *_kwnames[] = { "self", NULL }; | |
1819 | ||
1820 | self = self; | |
1821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0)) | |
1822 | return NULL; | |
1823 | if (_argo0) { | |
1824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p."); | |
1827 | return NULL; | |
1828 | } | |
1829 | } | |
1830 | { | |
1831 | wxPy_BEGIN_ALLOW_THREADS; | |
1832 | wxPyRectangleShape_base_OnDelete(_arg0); | |
1833 | ||
1834 | wxPy_END_ALLOW_THREADS; | |
1835 | } Py_INCREF(Py_None); | |
1836 | _resultobj = Py_None; | |
1837 | return _resultobj; | |
1838 | } | |
1839 | ||
1840 | #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1841 | static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1842 | PyObject * _resultobj; | |
1843 | wxPyRectangleShape * _arg0; | |
1844 | wxDC * _arg1; | |
1845 | PyObject * _argo0 = 0; | |
1846 | PyObject * _argo1 = 0; | |
1847 | char *_kwnames[] = { "self","dc", NULL }; | |
1848 | ||
1849 | self = self; | |
1850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1851 | return NULL; | |
1852 | if (_argo0) { | |
1853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p."); | |
1856 | return NULL; | |
1857 | } | |
1858 | } | |
1859 | if (_argo1) { | |
1860 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1861 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p."); | |
1863 | return NULL; | |
1864 | } | |
1865 | } | |
1866 | { | |
1867 | wxPy_BEGIN_ALLOW_THREADS; | |
1868 | wxPyRectangleShape_base_OnDraw(_arg0,*_arg1); | |
1869 | ||
1870 | wxPy_END_ALLOW_THREADS; | |
1871 | } Py_INCREF(Py_None); | |
1872 | _resultobj = Py_None; | |
1873 | return _resultobj; | |
1874 | } | |
1875 | ||
1876 | #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1877 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1878 | PyObject * _resultobj; | |
1879 | wxPyRectangleShape * _arg0; | |
1880 | wxDC * _arg1; | |
1881 | PyObject * _argo0 = 0; | |
1882 | PyObject * _argo1 = 0; | |
1883 | char *_kwnames[] = { "self","dc", NULL }; | |
1884 | ||
1885 | self = self; | |
1886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1887 | return NULL; | |
1888 | if (_argo0) { | |
1889 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1890 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p."); | |
1892 | return NULL; | |
1893 | } | |
1894 | } | |
1895 | if (_argo1) { | |
1896 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1897 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p."); | |
1899 | return NULL; | |
1900 | } | |
1901 | } | |
1902 | { | |
1903 | wxPy_BEGIN_ALLOW_THREADS; | |
1904 | wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1); | |
1905 | ||
1906 | wxPy_END_ALLOW_THREADS; | |
1907 | } Py_INCREF(Py_None); | |
1908 | _resultobj = Py_None; | |
1909 | return _resultobj; | |
1910 | } | |
1911 | ||
1912 | #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1913 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1914 | PyObject * _resultobj; | |
1915 | wxPyRectangleShape * _arg0; | |
1916 | wxDC * _arg1; | |
1917 | bool _arg2 = (bool ) FALSE; | |
1918 | PyObject * _argo0 = 0; | |
1919 | PyObject * _argo1 = 0; | |
1920 | int tempbool2 = (int) FALSE; | |
1921 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1922 | ||
1923 | self = self; | |
1924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1925 | return NULL; | |
1926 | if (_argo0) { | |
1927 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1928 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p."); | |
1930 | return NULL; | |
1931 | } | |
1932 | } | |
1933 | if (_argo1) { | |
1934 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1935 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1937 | return NULL; | |
1938 | } | |
1939 | } | |
1940 | _arg2 = (bool ) tempbool2; | |
1941 | { | |
1942 | wxPy_BEGIN_ALLOW_THREADS; | |
1943 | wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1944 | ||
1945 | wxPy_END_ALLOW_THREADS; | |
1946 | } Py_INCREF(Py_None); | |
1947 | _resultobj = Py_None; | |
1948 | return _resultobj; | |
1949 | } | |
1950 | ||
1951 | #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1952 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1953 | PyObject * _resultobj; | |
1954 | wxPyRectangleShape * _arg0; | |
1955 | wxDC * _arg1; | |
1956 | PyObject * _argo0 = 0; | |
1957 | PyObject * _argo1 = 0; | |
1958 | char *_kwnames[] = { "self","dc", NULL }; | |
1959 | ||
1960 | self = self; | |
1961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1962 | return NULL; | |
1963 | if (_argo0) { | |
1964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p."); | |
1967 | return NULL; | |
1968 | } | |
1969 | } | |
1970 | if (_argo1) { | |
1971 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1972 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
1974 | return NULL; | |
1975 | } | |
1976 | } | |
1977 | { | |
1978 | wxPy_BEGIN_ALLOW_THREADS; | |
1979 | wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1); | |
1980 | ||
1981 | wxPy_END_ALLOW_THREADS; | |
1982 | } Py_INCREF(Py_None); | |
1983 | _resultobj = Py_None; | |
1984 | return _resultobj; | |
1985 | } | |
1986 | ||
1987 | #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1988 | static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1989 | PyObject * _resultobj; | |
1990 | wxPyRectangleShape * _arg0; | |
1991 | wxDC * _arg1; | |
1992 | PyObject * _argo0 = 0; | |
1993 | PyObject * _argo1 = 0; | |
1994 | char *_kwnames[] = { "self","dc", NULL }; | |
1995 | ||
1996 | self = self; | |
1997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1998 | return NULL; | |
1999 | if (_argo0) { | |
2000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p."); | |
2003 | return NULL; | |
2004 | } | |
2005 | } | |
2006 | if (_argo1) { | |
2007 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2008 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p."); | |
2010 | return NULL; | |
2011 | } | |
2012 | } | |
2013 | { | |
2014 | wxPy_BEGIN_ALLOW_THREADS; | |
2015 | wxPyRectangleShape_base_OnErase(_arg0,*_arg1); | |
2016 | ||
2017 | wxPy_END_ALLOW_THREADS; | |
2018 | } Py_INCREF(Py_None); | |
2019 | _resultobj = Py_None; | |
2020 | return _resultobj; | |
2021 | } | |
2022 | ||
2023 | #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
2024 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2025 | PyObject * _resultobj; | |
2026 | wxPyRectangleShape * _arg0; | |
2027 | wxDC * _arg1; | |
2028 | PyObject * _argo0 = 0; | |
2029 | PyObject * _argo1 = 0; | |
2030 | char *_kwnames[] = { "self","dc", NULL }; | |
2031 | ||
2032 | self = self; | |
2033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
2034 | return NULL; | |
2035 | if (_argo0) { | |
2036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p."); | |
2039 | return NULL; | |
2040 | } | |
2041 | } | |
2042 | if (_argo1) { | |
2043 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2044 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2045 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p."); | |
2046 | return NULL; | |
2047 | } | |
2048 | } | |
2049 | { | |
2050 | wxPy_BEGIN_ALLOW_THREADS; | |
2051 | wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1); | |
2052 | ||
2053 | wxPy_END_ALLOW_THREADS; | |
2054 | } Py_INCREF(Py_None); | |
2055 | _resultobj = Py_None; | |
2056 | return _resultobj; | |
2057 | } | |
2058 | ||
2059 | #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
2060 | static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2061 | PyObject * _resultobj; | |
2062 | wxPyRectangleShape * _arg0; | |
2063 | wxDC * _arg1; | |
2064 | PyObject * _argo0 = 0; | |
2065 | PyObject * _argo1 = 0; | |
2066 | char *_kwnames[] = { "self","dc", NULL }; | |
2067 | ||
2068 | self = self; | |
2069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
2070 | return NULL; | |
2071 | if (_argo0) { | |
2072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p."); | |
2075 | return NULL; | |
2076 | } | |
2077 | } | |
2078 | if (_argo1) { | |
2079 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2080 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p."); | |
2082 | return NULL; | |
2083 | } | |
2084 | } | |
2085 | { | |
2086 | wxPy_BEGIN_ALLOW_THREADS; | |
2087 | wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1); | |
2088 | ||
2089 | wxPy_END_ALLOW_THREADS; | |
2090 | } Py_INCREF(Py_None); | |
2091 | _resultobj = Py_None; | |
2092 | return _resultobj; | |
2093 | } | |
2094 | ||
2095 | #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2096 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2097 | PyObject * _resultobj; | |
2098 | wxPyRectangleShape * _arg0; | |
2099 | double _arg1; | |
2100 | double _arg2; | |
2101 | int _arg3 = (int ) 0; | |
2102 | int _arg4 = (int ) 0; | |
2103 | PyObject * _argo0 = 0; | |
2104 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2105 | ||
2106 | self = self; | |
2107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2108 | return NULL; | |
2109 | if (_argo0) { | |
2110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p."); | |
2113 | return NULL; | |
2114 | } | |
2115 | } | |
2116 | { | |
2117 | wxPy_BEGIN_ALLOW_THREADS; | |
2118 | wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2119 | ||
2120 | wxPy_END_ALLOW_THREADS; | |
2121 | } Py_INCREF(Py_None); | |
2122 | _resultobj = Py_None; | |
2123 | return _resultobj; | |
2124 | } | |
2125 | ||
2126 | #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2127 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2128 | PyObject * _resultobj; | |
2129 | wxPyRectangleShape * _arg0; | |
2130 | double _arg1; | |
2131 | double _arg2; | |
2132 | int _arg3 = (int ) 0; | |
2133 | int _arg4 = (int ) 0; | |
2134 | PyObject * _argo0 = 0; | |
2135 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2136 | ||
2137 | self = self; | |
2138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2139 | return NULL; | |
2140 | if (_argo0) { | |
2141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p."); | |
2144 | return NULL; | |
2145 | } | |
2146 | } | |
2147 | { | |
2148 | wxPy_BEGIN_ALLOW_THREADS; | |
2149 | wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2150 | ||
2151 | wxPy_END_ALLOW_THREADS; | |
2152 | } Py_INCREF(Py_None); | |
2153 | _resultobj = Py_None; | |
2154 | return _resultobj; | |
2155 | } | |
2156 | ||
2157 | #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2158 | static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2159 | PyObject * _resultobj; | |
2160 | wxPyRectangleShape * _arg0; | |
2161 | double _arg1; | |
2162 | double _arg2; | |
2163 | int _arg3 = (int ) 0; | |
2164 | int _arg4 = (int ) 0; | |
2165 | PyObject * _argo0 = 0; | |
2166 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2167 | ||
2168 | self = self; | |
2169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2170 | return NULL; | |
2171 | if (_argo0) { | |
2172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p."); | |
2175 | return NULL; | |
2176 | } | |
2177 | } | |
2178 | { | |
2179 | wxPy_BEGIN_ALLOW_THREADS; | |
2180 | wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2181 | ||
2182 | wxPy_END_ALLOW_THREADS; | |
2183 | } Py_INCREF(Py_None); | |
2184 | _resultobj = Py_None; | |
2185 | return _resultobj; | |
2186 | } | |
2187 | ||
2188 | #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
2189 | static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2190 | PyObject * _resultobj; | |
2191 | wxPyRectangleShape * _arg0; | |
2192 | double _arg1; | |
2193 | double _arg2; | |
2194 | PyObject * _argo0 = 0; | |
2195 | char *_kwnames[] = { "self","x","y", NULL }; | |
2196 | ||
2197 | self = self; | |
2198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2199 | return NULL; | |
2200 | if (_argo0) { | |
2201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p."); | |
2204 | return NULL; | |
2205 | } | |
2206 | } | |
2207 | { | |
2208 | wxPy_BEGIN_ALLOW_THREADS; | |
2209 | wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2); | |
2210 | ||
2211 | wxPy_END_ALLOW_THREADS; | |
2212 | } Py_INCREF(Py_None); | |
2213 | _resultobj = Py_None; | |
2214 | return _resultobj; | |
2215 | } | |
2216 | ||
2217 | #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2218 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2219 | PyObject * _resultobj; | |
2220 | bool _result; | |
2221 | wxPyRectangleShape * _arg0; | |
2222 | wxDC * _arg1; | |
2223 | double _arg2; | |
2224 | double _arg3; | |
2225 | double _arg4; | |
2226 | double _arg5; | |
2227 | bool _arg6 = (bool ) TRUE; | |
2228 | PyObject * _argo0 = 0; | |
2229 | PyObject * _argo1 = 0; | |
2230 | int tempbool6 = (int) TRUE; | |
2231 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2232 | ||
2233 | self = self; | |
2234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2235 | return NULL; | |
2236 | if (_argo0) { | |
2237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p."); | |
2240 | return NULL; | |
2241 | } | |
2242 | } | |
2243 | if (_argo1) { | |
2244 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2245 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p."); | |
2247 | return NULL; | |
2248 | } | |
2249 | } | |
2250 | _arg6 = (bool ) tempbool6; | |
2251 | { | |
2252 | wxPy_BEGIN_ALLOW_THREADS; | |
2253 | _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2254 | ||
2255 | wxPy_END_ALLOW_THREADS; | |
2256 | } _resultobj = Py_BuildValue("i",_result); | |
2257 | return _resultobj; | |
2258 | } | |
2259 | ||
2260 | #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2261 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2262 | PyObject * _resultobj; | |
2263 | wxPyRectangleShape * _arg0; | |
2264 | wxDC * _arg1; | |
2265 | double _arg2; | |
2266 | double _arg3; | |
2267 | double _arg4; | |
2268 | double _arg5; | |
2269 | bool _arg6 = (bool ) TRUE; | |
2270 | PyObject * _argo0 = 0; | |
2271 | PyObject * _argo1 = 0; | |
2272 | int tempbool6 = (int) TRUE; | |
2273 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2274 | ||
2275 | self = self; | |
2276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2277 | return NULL; | |
2278 | if (_argo0) { | |
2279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p."); | |
2282 | return NULL; | |
2283 | } | |
2284 | } | |
2285 | if (_argo1) { | |
2286 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2287 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p."); | |
2289 | return NULL; | |
2290 | } | |
2291 | } | |
2292 | _arg6 = (bool ) tempbool6; | |
2293 | { | |
2294 | wxPy_BEGIN_ALLOW_THREADS; | |
2295 | wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2296 | ||
2297 | wxPy_END_ALLOW_THREADS; | |
2298 | } Py_INCREF(Py_None); | |
2299 | _resultobj = Py_None; | |
2300 | return _resultobj; | |
2301 | } | |
2302 | ||
2303 | #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2304 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2305 | PyObject * _resultobj; | |
2306 | wxPyRectangleShape * _arg0; | |
2307 | bool _arg1; | |
2308 | double _arg2; | |
2309 | double _arg3; | |
2310 | int _arg4 = (int ) 0; | |
2311 | int _arg5 = (int ) 0; | |
2312 | PyObject * _argo0 = 0; | |
2313 | int tempbool1; | |
2314 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2315 | ||
2316 | self = self; | |
2317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2318 | return NULL; | |
2319 | if (_argo0) { | |
2320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p."); | |
2323 | return NULL; | |
2324 | } | |
2325 | } | |
2326 | _arg1 = (bool ) tempbool1; | |
2327 | { | |
2328 | wxPy_BEGIN_ALLOW_THREADS; | |
2329 | wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2330 | ||
2331 | wxPy_END_ALLOW_THREADS; | |
2332 | } Py_INCREF(Py_None); | |
2333 | _resultobj = Py_None; | |
2334 | return _resultobj; | |
2335 | } | |
2336 | ||
2337 | #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2338 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2339 | PyObject * _resultobj; | |
2340 | wxPyRectangleShape * _arg0; | |
2341 | double _arg1; | |
2342 | double _arg2; | |
2343 | int _arg3 = (int ) 0; | |
2344 | int _arg4 = (int ) 0; | |
2345 | PyObject * _argo0 = 0; | |
2346 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2347 | ||
2348 | self = self; | |
2349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2350 | return NULL; | |
2351 | if (_argo0) { | |
2352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2355 | return NULL; | |
2356 | } | |
2357 | } | |
2358 | { | |
2359 | wxPy_BEGIN_ALLOW_THREADS; | |
2360 | wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2361 | ||
2362 | wxPy_END_ALLOW_THREADS; | |
2363 | } Py_INCREF(Py_None); | |
2364 | _resultobj = Py_None; | |
2365 | return _resultobj; | |
2366 | } | |
2367 | ||
2368 | #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2369 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2370 | PyObject * _resultobj; | |
2371 | wxPyRectangleShape * _arg0; | |
2372 | double _arg1; | |
2373 | double _arg2; | |
2374 | int _arg3 = (int ) 0; | |
2375 | int _arg4 = (int ) 0; | |
2376 | PyObject * _argo0 = 0; | |
2377 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2378 | ||
2379 | self = self; | |
2380 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2386 | return NULL; | |
2387 | } | |
2388 | } | |
2389 | { | |
2390 | wxPy_BEGIN_ALLOW_THREADS; | |
2391 | wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2392 | ||
2393 | wxPy_END_ALLOW_THREADS; | |
2394 | } Py_INCREF(Py_None); | |
2395 | _resultobj = Py_None; | |
2396 | return _resultobj; | |
2397 | } | |
2398 | ||
2399 | #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2400 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2401 | PyObject * _resultobj; | |
2402 | wxPyRectangleShape * _arg0; | |
2403 | bool _arg1; | |
2404 | double _arg2; | |
2405 | double _arg3; | |
2406 | int _arg4 = (int ) 0; | |
2407 | int _arg5 = (int ) 0; | |
2408 | PyObject * _argo0 = 0; | |
2409 | int tempbool1; | |
2410 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2411 | ||
2412 | self = self; | |
2413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2414 | return NULL; | |
2415 | if (_argo0) { | |
2416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p."); | |
2419 | return NULL; | |
2420 | } | |
2421 | } | |
2422 | _arg1 = (bool ) tempbool1; | |
2423 | { | |
2424 | wxPy_BEGIN_ALLOW_THREADS; | |
2425 | wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2426 | ||
2427 | wxPy_END_ALLOW_THREADS; | |
2428 | } Py_INCREF(Py_None); | |
2429 | _resultobj = Py_None; | |
2430 | return _resultobj; | |
2431 | } | |
2432 | ||
2433 | #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2434 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2435 | PyObject * _resultobj; | |
2436 | wxPyRectangleShape * _arg0; | |
2437 | double _arg1; | |
2438 | double _arg2; | |
2439 | int _arg3 = (int ) 0; | |
2440 | int _arg4 = (int ) 0; | |
2441 | PyObject * _argo0 = 0; | |
2442 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2443 | ||
2444 | self = self; | |
2445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2446 | return NULL; | |
2447 | if (_argo0) { | |
2448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p."); | |
2451 | return NULL; | |
2452 | } | |
2453 | } | |
2454 | { | |
2455 | wxPy_BEGIN_ALLOW_THREADS; | |
2456 | wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2457 | ||
2458 | wxPy_END_ALLOW_THREADS; | |
2459 | } Py_INCREF(Py_None); | |
2460 | _resultobj = Py_None; | |
2461 | return _resultobj; | |
2462 | } | |
2463 | ||
2464 | #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2465 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2466 | PyObject * _resultobj; | |
2467 | wxPyRectangleShape * _arg0; | |
2468 | double _arg1; | |
2469 | double _arg2; | |
2470 | int _arg3 = (int ) 0; | |
2471 | int _arg4 = (int ) 0; | |
2472 | PyObject * _argo0 = 0; | |
2473 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2474 | ||
2475 | self = self; | |
2476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragRight. Expected _wxPyRectangleShape_p."); | |
2482 | return NULL; | |
2483 | } | |
2484 | } | |
2485 | { | |
2486 | wxPy_BEGIN_ALLOW_THREADS; | |
2487 | wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2488 | ||
2489 | wxPy_END_ALLOW_THREADS; | |
2490 | } Py_INCREF(Py_None); | |
2491 | _resultobj = Py_None; | |
2492 | return _resultobj; | |
2493 | } | |
2494 | ||
2495 | #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2496 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2497 | PyObject * _resultobj; | |
2498 | wxPyRectangleShape * _arg0; | |
2499 | wxDC * _arg1; | |
2500 | double _arg2; | |
2501 | double _arg3; | |
2502 | double _arg4; | |
2503 | double _arg5; | |
2504 | PyObject * _argo0 = 0; | |
2505 | PyObject * _argo1 = 0; | |
2506 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2507 | ||
2508 | self = self; | |
2509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2510 | return NULL; | |
2511 | if (_argo0) { | |
2512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p."); | |
2515 | return NULL; | |
2516 | } | |
2517 | } | |
2518 | if (_argo1) { | |
2519 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2520 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
2522 | return NULL; | |
2523 | } | |
2524 | } | |
2525 | { | |
2526 | wxPy_BEGIN_ALLOW_THREADS; | |
2527 | wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2528 | ||
2529 | wxPy_END_ALLOW_THREADS; | |
2530 | } Py_INCREF(Py_None); | |
2531 | _resultobj = Py_None; | |
2532 | return _resultobj; | |
2533 | } | |
2534 | ||
2535 | #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2536 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2537 | PyObject * _resultobj; | |
2538 | wxPyRectangleShape * _arg0; | |
2539 | wxDC * _arg1; | |
2540 | PyObject * _argo0 = 0; | |
2541 | PyObject * _argo1 = 0; | |
2542 | char *_kwnames[] = { "self","dc", NULL }; | |
2543 | ||
2544 | self = self; | |
2545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2546 | return NULL; | |
2547 | if (_argo0) { | |
2548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p."); | |
2551 | return NULL; | |
2552 | } | |
2553 | } | |
2554 | if (_argo1) { | |
2555 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2556 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2558 | return NULL; | |
2559 | } | |
2560 | } | |
2561 | { | |
2562 | wxPy_BEGIN_ALLOW_THREADS; | |
2563 | wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
2564 | ||
2565 | wxPy_END_ALLOW_THREADS; | |
2566 | } Py_INCREF(Py_None); | |
2567 | _resultobj = Py_None; | |
2568 | return _resultobj; | |
2569 | } | |
2570 | ||
2571 | #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2572 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2573 | PyObject * _resultobj; | |
2574 | wxPyRectangleShape * _arg0; | |
2575 | wxDC * _arg1; | |
2576 | PyObject * _argo0 = 0; | |
2577 | PyObject * _argo1 = 0; | |
2578 | char *_kwnames[] = { "self","dc", NULL }; | |
2579 | ||
2580 | self = self; | |
2581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2582 | return NULL; | |
2583 | if (_argo0) { | |
2584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p."); | |
2587 | return NULL; | |
2588 | } | |
2589 | } | |
2590 | if (_argo1) { | |
2591 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2592 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2594 | return NULL; | |
2595 | } | |
2596 | } | |
2597 | { | |
2598 | wxPy_BEGIN_ALLOW_THREADS; | |
2599 | wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
2600 | ||
2601 | wxPy_END_ALLOW_THREADS; | |
2602 | } Py_INCREF(Py_None); | |
2603 | _resultobj = Py_None; | |
2604 | return _resultobj; | |
2605 | } | |
2606 | ||
2607 | #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2608 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2609 | PyObject * _resultobj; | |
2610 | wxPyRectangleShape * _arg0; | |
2611 | wxDC * _arg1; | |
2612 | bool _arg2 = (bool ) TRUE; | |
2613 | PyObject * _argo0 = 0; | |
2614 | PyObject * _argo1 = 0; | |
2615 | int tempbool2 = (int) TRUE; | |
2616 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2617 | ||
2618 | self = self; | |
2619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2620 | return NULL; | |
2621 | if (_argo0) { | |
2622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p."); | |
2625 | return NULL; | |
2626 | } | |
2627 | } | |
2628 | if (_argo1) { | |
2629 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2630 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2631 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2632 | return NULL; | |
2633 | } | |
2634 | } | |
2635 | _arg2 = (bool ) tempbool2; | |
2636 | { | |
2637 | wxPy_BEGIN_ALLOW_THREADS; | |
2638 | wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2639 | ||
2640 | wxPy_END_ALLOW_THREADS; | |
2641 | } Py_INCREF(Py_None); | |
2642 | _resultobj = Py_None; | |
2643 | return _resultobj; | |
2644 | } | |
2645 | ||
2646 | #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2647 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2648 | PyObject * _resultobj; | |
2649 | wxPyRectangleShape * _arg0; | |
2650 | wxPyControlPoint * _arg1; | |
2651 | bool _arg2; | |
2652 | double _arg3; | |
2653 | double _arg4; | |
2654 | int _arg5 = (int ) 0; | |
2655 | int _arg6 = (int ) 0; | |
2656 | PyObject * _argo0 = 0; | |
2657 | PyObject * _argo1 = 0; | |
2658 | int tempbool2; | |
2659 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2660 | ||
2661 | self = self; | |
2662 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2663 | return NULL; | |
2664 | if (_argo0) { | |
2665 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2666 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p."); | |
2668 | return NULL; | |
2669 | } | |
2670 | } | |
2671 | if (_argo1) { | |
2672 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2673 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
2674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
2675 | return NULL; | |
2676 | } | |
2677 | } | |
2678 | _arg2 = (bool ) tempbool2; | |
2679 | { | |
2680 | wxPy_BEGIN_ALLOW_THREADS; | |
2681 | wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2682 | ||
2683 | wxPy_END_ALLOW_THREADS; | |
2684 | } Py_INCREF(Py_None); | |
2685 | _resultobj = Py_None; | |
2686 | return _resultobj; | |
2687 | } | |
2688 | ||
2689 | #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2690 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2691 | PyObject * _resultobj; | |
2692 | wxPyRectangleShape * _arg0; | |
2693 | wxPyControlPoint * _arg1; | |
2694 | double _arg2; | |
2695 | double _arg3; | |
2696 | int _arg4 = (int ) 0; | |
2697 | int _arg5 = (int ) 0; | |
2698 | PyObject * _argo0 = 0; | |
2699 | PyObject * _argo1 = 0; | |
2700 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2701 | ||
2702 | self = self; | |
2703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2704 | return NULL; | |
2705 | if (_argo0) { | |
2706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2709 | return NULL; | |
2710 | } | |
2711 | } | |
2712 | if (_argo1) { | |
2713 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2714 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
2715 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
2716 | return NULL; | |
2717 | } | |
2718 | } | |
2719 | { | |
2720 | wxPy_BEGIN_ALLOW_THREADS; | |
2721 | wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2722 | ||
2723 | wxPy_END_ALLOW_THREADS; | |
2724 | } Py_INCREF(Py_None); | |
2725 | _resultobj = Py_None; | |
2726 | return _resultobj; | |
2727 | } | |
2728 | ||
2729 | #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2730 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2731 | PyObject * _resultobj; | |
2732 | wxPyRectangleShape * _arg0; | |
2733 | wxPyControlPoint * _arg1; | |
2734 | double _arg2; | |
2735 | double _arg3; | |
2736 | int _arg4 = (int ) 0; | |
2737 | int _arg5 = (int ) 0; | |
2738 | PyObject * _argo0 = 0; | |
2739 | PyObject * _argo1 = 0; | |
2740 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2741 | ||
2742 | self = self; | |
2743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2744 | return NULL; | |
2745 | if (_argo0) { | |
2746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2749 | return NULL; | |
2750 | } | |
2751 | } | |
2752 | if (_argo1) { | |
2753 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2754 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
2755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
2756 | return NULL; | |
2757 | } | |
2758 | } | |
2759 | { | |
2760 | wxPy_BEGIN_ALLOW_THREADS; | |
2761 | wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2762 | ||
2763 | wxPy_END_ALLOW_THREADS; | |
2764 | } Py_INCREF(Py_None); | |
2765 | _resultobj = Py_None; | |
2766 | return _resultobj; | |
2767 | } | |
2768 | ||
2769 | #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2770 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2771 | PyObject * _resultobj; | |
2772 | wxPyRectangleShape * _arg0; | |
2773 | double _arg1; | |
2774 | double _arg2; | |
2775 | PyObject * _argo0 = 0; | |
2776 | char *_kwnames[] = { "self","w","h", NULL }; | |
2777 | ||
2778 | self = self; | |
2779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2780 | return NULL; | |
2781 | if (_argo0) { | |
2782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p."); | |
2785 | return NULL; | |
2786 | } | |
2787 | } | |
2788 | { | |
2789 | wxPy_BEGIN_ALLOW_THREADS; | |
2790 | wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2791 | ||
2792 | wxPy_END_ALLOW_THREADS; | |
2793 | } Py_INCREF(Py_None); | |
2794 | _resultobj = Py_None; | |
2795 | return _resultobj; | |
2796 | } | |
2797 | ||
2798 | #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2799 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2800 | PyObject * _resultobj; | |
2801 | wxPyRectangleShape * _arg0; | |
2802 | double _arg1; | |
2803 | double _arg2; | |
2804 | PyObject * _argo0 = 0; | |
2805 | char *_kwnames[] = { "self","w","h", NULL }; | |
2806 | ||
2807 | self = self; | |
2808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2809 | return NULL; | |
2810 | if (_argo0) { | |
2811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p."); | |
2814 | return NULL; | |
2815 | } | |
2816 | } | |
2817 | { | |
2818 | wxPy_BEGIN_ALLOW_THREADS; | |
2819 | wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
2820 | ||
2821 | wxPy_END_ALLOW_THREADS; | |
2822 | } Py_INCREF(Py_None); | |
2823 | _resultobj = Py_None; | |
2824 | return _resultobj; | |
2825 | } | |
2826 | ||
2827 | static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) { | |
2828 | wxPyControlPoint *src; | |
2829 | wxPyRectangleShape *dest; | |
2830 | src = (wxPyControlPoint *) ptr; | |
2831 | dest = (wxPyRectangleShape *) src; | |
2832 | return (void *) dest; | |
2833 | } | |
2834 | ||
2835 | static void *SwigwxPyControlPointTowxPyShape(void *ptr) { | |
2836 | wxPyControlPoint *src; | |
2837 | wxPyShape *dest; | |
2838 | src = (wxPyControlPoint *) ptr; | |
2839 | dest = (wxPyShape *) src; | |
2840 | return (void *) dest; | |
2841 | } | |
2842 | ||
2843 | static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) { | |
2844 | wxPyControlPoint *src; | |
2845 | wxPyShapeEvtHandler *dest; | |
2846 | src = (wxPyControlPoint *) ptr; | |
2847 | dest = (wxPyShapeEvtHandler *) src; | |
2848 | return (void *) dest; | |
2849 | } | |
2850 | ||
2851 | #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2852 | static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2853 | PyObject * _resultobj; | |
2854 | wxPyControlPoint * _result; | |
2855 | wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL; | |
2856 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
2857 | double _arg2 = (double ) 0.0; | |
2858 | double _arg3 = (double ) 0.0; | |
2859 | double _arg4 = (double ) 0.0; | |
2860 | int _arg5 = (int ) 0; | |
2861 | PyObject * _argo0 = 0; | |
2862 | PyObject * _argo1 = 0; | |
2863 | char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL }; | |
2864 | char _ptemp[128]; | |
2865 | ||
2866 | self = self; | |
2867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2868 | return NULL; | |
2869 | if (_argo0) { | |
2870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
2872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p."); | |
2873 | return NULL; | |
2874 | } | |
2875 | } | |
2876 | if (_argo1) { | |
2877 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2878 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
2879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p."); | |
2880 | return NULL; | |
2881 | } | |
2882 | } | |
2883 | { | |
2884 | wxPy_BEGIN_ALLOW_THREADS; | |
2885 | _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2886 | ||
2887 | wxPy_END_ALLOW_THREADS; | |
2888 | } if (_result) { | |
2889 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p"); | |
2890 | _resultobj = Py_BuildValue("s",_ptemp); | |
2891 | } else { | |
2892 | Py_INCREF(Py_None); | |
2893 | _resultobj = Py_None; | |
2894 | } | |
2895 | return _resultobj; | |
2896 | } | |
2897 | ||
2898 | #define wxPyControlPoint__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
2899 | static PyObject *_wrap_wxPyControlPoint__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2900 | PyObject * _resultobj; | |
2901 | wxPyControlPoint * _arg0; | |
2902 | PyObject * _arg1; | |
2903 | PyObject * _arg2; | |
2904 | PyObject * _argo0 = 0; | |
2905 | PyObject * _obj1 = 0; | |
2906 | PyObject * _obj2 = 0; | |
2907 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2908 | ||
2909 | self = self; | |
2910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
2911 | return NULL; | |
2912 | if (_argo0) { | |
2913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
2915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setSelf. Expected _wxPyControlPoint_p."); | |
2916 | return NULL; | |
2917 | } | |
2918 | } | |
2919 | { | |
2920 | _arg1 = _obj1; | |
2921 | } | |
2922 | { | |
2923 | _arg2 = _obj2; | |
2924 | } | |
2925 | { | |
2926 | wxPy_BEGIN_ALLOW_THREADS; | |
2927 | wxPyControlPoint__setSelf(_arg0,_arg1,_arg2); | |
2928 | ||
2929 | wxPy_END_ALLOW_THREADS; | |
2930 | } Py_INCREF(Py_None); | |
2931 | _resultobj = Py_None; | |
2932 | return _resultobj; | |
2933 | } | |
2934 | ||
2935 | #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) | |
2936 | static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2937 | PyObject * _resultobj; | |
2938 | wxPyControlPoint * _arg0; | |
2939 | double _arg1; | |
2940 | PyObject * _argo0 = 0; | |
2941 | char *_kwnames[] = { "self","radius", NULL }; | |
2942 | ||
2943 | self = self; | |
2944 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1)) | |
2945 | return NULL; | |
2946 | if (_argo0) { | |
2947 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2948 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
2949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p."); | |
2950 | return NULL; | |
2951 | } | |
2952 | } | |
2953 | { | |
2954 | wxPy_BEGIN_ALLOW_THREADS; | |
2955 | wxPyControlPoint_SetCornerRadius(_arg0,_arg1); | |
2956 | ||
2957 | wxPy_END_ALLOW_THREADS; | |
2958 | } Py_INCREF(Py_None); | |
2959 | _resultobj = Py_None; | |
2960 | return _resultobj; | |
2961 | } | |
2962 | ||
2963 | #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
2964 | static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2965 | PyObject * _resultobj; | |
2966 | wxPyControlPoint * _arg0; | |
2967 | PyObject * _argo0 = 0; | |
2968 | char *_kwnames[] = { "self", NULL }; | |
2969 | ||
2970 | self = self; | |
2971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0)) | |
2972 | return NULL; | |
2973 | if (_argo0) { | |
2974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
2976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p."); | |
2977 | return NULL; | |
2978 | } | |
2979 | } | |
2980 | { | |
2981 | wxPy_BEGIN_ALLOW_THREADS; | |
2982 | wxPyControlPoint_base_OnDelete(_arg0); | |
2983 | ||
2984 | wxPy_END_ALLOW_THREADS; | |
2985 | } Py_INCREF(Py_None); | |
2986 | _resultobj = Py_None; | |
2987 | return _resultobj; | |
2988 | } | |
2989 | ||
2990 | #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
2991 | static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2992 | PyObject * _resultobj; | |
2993 | wxPyControlPoint * _arg0; | |
2994 | wxDC * _arg1; | |
2995 | PyObject * _argo0 = 0; | |
2996 | PyObject * _argo1 = 0; | |
2997 | char *_kwnames[] = { "self","dc", NULL }; | |
2998 | ||
2999 | self = self; | |
3000 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
3001 | return NULL; | |
3002 | if (_argo0) { | |
3003 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3004 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p."); | |
3006 | return NULL; | |
3007 | } | |
3008 | } | |
3009 | if (_argo1) { | |
3010 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3011 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p."); | |
3013 | return NULL; | |
3014 | } | |
3015 | } | |
3016 | { | |
3017 | wxPy_BEGIN_ALLOW_THREADS; | |
3018 | wxPyControlPoint_base_OnDraw(_arg0,*_arg1); | |
3019 | ||
3020 | wxPy_END_ALLOW_THREADS; | |
3021 | } Py_INCREF(Py_None); | |
3022 | _resultobj = Py_None; | |
3023 | return _resultobj; | |
3024 | } | |
3025 | ||
3026 | #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
3027 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3028 | PyObject * _resultobj; | |
3029 | wxPyControlPoint * _arg0; | |
3030 | wxDC * _arg1; | |
3031 | PyObject * _argo0 = 0; | |
3032 | PyObject * _argo1 = 0; | |
3033 | char *_kwnames[] = { "self","dc", NULL }; | |
3034 | ||
3035 | self = self; | |
3036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
3037 | return NULL; | |
3038 | if (_argo0) { | |
3039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p."); | |
3042 | return NULL; | |
3043 | } | |
3044 | } | |
3045 | if (_argo1) { | |
3046 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3047 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p."); | |
3049 | return NULL; | |
3050 | } | |
3051 | } | |
3052 | { | |
3053 | wxPy_BEGIN_ALLOW_THREADS; | |
3054 | wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1); | |
3055 | ||
3056 | wxPy_END_ALLOW_THREADS; | |
3057 | } Py_INCREF(Py_None); | |
3058 | _resultobj = Py_None; | |
3059 | return _resultobj; | |
3060 | } | |
3061 | ||
3062 | #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
3063 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3064 | PyObject * _resultobj; | |
3065 | wxPyControlPoint * _arg0; | |
3066 | wxDC * _arg1; | |
3067 | bool _arg2 = (bool ) FALSE; | |
3068 | PyObject * _argo0 = 0; | |
3069 | PyObject * _argo1 = 0; | |
3070 | int tempbool2 = (int) FALSE; | |
3071 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
3072 | ||
3073 | self = self; | |
3074 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
3075 | return NULL; | |
3076 | if (_argo0) { | |
3077 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3078 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p."); | |
3080 | return NULL; | |
3081 | } | |
3082 | } | |
3083 | if (_argo1) { | |
3084 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3085 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3086 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p."); | |
3087 | return NULL; | |
3088 | } | |
3089 | } | |
3090 | _arg2 = (bool ) tempbool2; | |
3091 | { | |
3092 | wxPy_BEGIN_ALLOW_THREADS; | |
3093 | wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
3094 | ||
3095 | wxPy_END_ALLOW_THREADS; | |
3096 | } Py_INCREF(Py_None); | |
3097 | _resultobj = Py_None; | |
3098 | return _resultobj; | |
3099 | } | |
3100 | ||
3101 | #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
3102 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3103 | PyObject * _resultobj; | |
3104 | wxPyControlPoint * _arg0; | |
3105 | wxDC * _arg1; | |
3106 | PyObject * _argo0 = 0; | |
3107 | PyObject * _argo1 = 0; | |
3108 | char *_kwnames[] = { "self","dc", NULL }; | |
3109 | ||
3110 | self = self; | |
3111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
3112 | return NULL; | |
3113 | if (_argo0) { | |
3114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p."); | |
3117 | return NULL; | |
3118 | } | |
3119 | } | |
3120 | if (_argo1) { | |
3121 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3122 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p."); | |
3124 | return NULL; | |
3125 | } | |
3126 | } | |
3127 | { | |
3128 | wxPy_BEGIN_ALLOW_THREADS; | |
3129 | wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1); | |
3130 | ||
3131 | wxPy_END_ALLOW_THREADS; | |
3132 | } Py_INCREF(Py_None); | |
3133 | _resultobj = Py_None; | |
3134 | return _resultobj; | |
3135 | } | |
3136 | ||
3137 | #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
3138 | static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3139 | PyObject * _resultobj; | |
3140 | wxPyControlPoint * _arg0; | |
3141 | wxDC * _arg1; | |
3142 | PyObject * _argo0 = 0; | |
3143 | PyObject * _argo1 = 0; | |
3144 | char *_kwnames[] = { "self","dc", NULL }; | |
3145 | ||
3146 | self = self; | |
3147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
3148 | return NULL; | |
3149 | if (_argo0) { | |
3150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p."); | |
3153 | return NULL; | |
3154 | } | |
3155 | } | |
3156 | if (_argo1) { | |
3157 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3158 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p."); | |
3160 | return NULL; | |
3161 | } | |
3162 | } | |
3163 | { | |
3164 | wxPy_BEGIN_ALLOW_THREADS; | |
3165 | wxPyControlPoint_base_OnErase(_arg0,*_arg1); | |
3166 | ||
3167 | wxPy_END_ALLOW_THREADS; | |
3168 | } Py_INCREF(Py_None); | |
3169 | _resultobj = Py_None; | |
3170 | return _resultobj; | |
3171 | } | |
3172 | ||
3173 | #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
3174 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3175 | PyObject * _resultobj; | |
3176 | wxPyControlPoint * _arg0; | |
3177 | wxDC * _arg1; | |
3178 | PyObject * _argo0 = 0; | |
3179 | PyObject * _argo1 = 0; | |
3180 | char *_kwnames[] = { "self","dc", NULL }; | |
3181 | ||
3182 | self = self; | |
3183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
3184 | return NULL; | |
3185 | if (_argo0) { | |
3186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p."); | |
3189 | return NULL; | |
3190 | } | |
3191 | } | |
3192 | if (_argo1) { | |
3193 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3194 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p."); | |
3196 | return NULL; | |
3197 | } | |
3198 | } | |
3199 | { | |
3200 | wxPy_BEGIN_ALLOW_THREADS; | |
3201 | wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1); | |
3202 | ||
3203 | wxPy_END_ALLOW_THREADS; | |
3204 | } Py_INCREF(Py_None); | |
3205 | _resultobj = Py_None; | |
3206 | return _resultobj; | |
3207 | } | |
3208 | ||
3209 | #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
3210 | static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3211 | PyObject * _resultobj; | |
3212 | wxPyControlPoint * _arg0; | |
3213 | wxDC * _arg1; | |
3214 | PyObject * _argo0 = 0; | |
3215 | PyObject * _argo1 = 0; | |
3216 | char *_kwnames[] = { "self","dc", NULL }; | |
3217 | ||
3218 | self = self; | |
3219 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
3220 | return NULL; | |
3221 | if (_argo0) { | |
3222 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3223 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p."); | |
3225 | return NULL; | |
3226 | } | |
3227 | } | |
3228 | if (_argo1) { | |
3229 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3230 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3231 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p."); | |
3232 | return NULL; | |
3233 | } | |
3234 | } | |
3235 | { | |
3236 | wxPy_BEGIN_ALLOW_THREADS; | |
3237 | wxPyControlPoint_base_OnHighlight(_arg0,*_arg1); | |
3238 | ||
3239 | wxPy_END_ALLOW_THREADS; | |
3240 | } Py_INCREF(Py_None); | |
3241 | _resultobj = Py_None; | |
3242 | return _resultobj; | |
3243 | } | |
3244 | ||
3245 | #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3246 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3247 | PyObject * _resultobj; | |
3248 | wxPyControlPoint * _arg0; | |
3249 | double _arg1; | |
3250 | double _arg2; | |
3251 | int _arg3 = (int ) 0; | |
3252 | int _arg4 = (int ) 0; | |
3253 | PyObject * _argo0 = 0; | |
3254 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3255 | ||
3256 | self = self; | |
3257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3258 | return NULL; | |
3259 | if (_argo0) { | |
3260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p."); | |
3263 | return NULL; | |
3264 | } | |
3265 | } | |
3266 | { | |
3267 | wxPy_BEGIN_ALLOW_THREADS; | |
3268 | wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3269 | ||
3270 | wxPy_END_ALLOW_THREADS; | |
3271 | } Py_INCREF(Py_None); | |
3272 | _resultobj = Py_None; | |
3273 | return _resultobj; | |
3274 | } | |
3275 | ||
3276 | #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3277 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3278 | PyObject * _resultobj; | |
3279 | wxPyControlPoint * _arg0; | |
3280 | double _arg1; | |
3281 | double _arg2; | |
3282 | int _arg3 = (int ) 0; | |
3283 | int _arg4 = (int ) 0; | |
3284 | PyObject * _argo0 = 0; | |
3285 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3286 | ||
3287 | self = self; | |
3288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3289 | return NULL; | |
3290 | if (_argo0) { | |
3291 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3292 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p."); | |
3294 | return NULL; | |
3295 | } | |
3296 | } | |
3297 | { | |
3298 | wxPy_BEGIN_ALLOW_THREADS; | |
3299 | wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3300 | ||
3301 | wxPy_END_ALLOW_THREADS; | |
3302 | } Py_INCREF(Py_None); | |
3303 | _resultobj = Py_None; | |
3304 | return _resultobj; | |
3305 | } | |
3306 | ||
3307 | #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3308 | static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3309 | PyObject * _resultobj; | |
3310 | wxPyControlPoint * _arg0; | |
3311 | double _arg1; | |
3312 | double _arg2; | |
3313 | int _arg3 = (int ) 0; | |
3314 | int _arg4 = (int ) 0; | |
3315 | PyObject * _argo0 = 0; | |
3316 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3317 | ||
3318 | self = self; | |
3319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3320 | return NULL; | |
3321 | if (_argo0) { | |
3322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p."); | |
3325 | return NULL; | |
3326 | } | |
3327 | } | |
3328 | { | |
3329 | wxPy_BEGIN_ALLOW_THREADS; | |
3330 | wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3331 | ||
3332 | wxPy_END_ALLOW_THREADS; | |
3333 | } Py_INCREF(Py_None); | |
3334 | _resultobj = Py_None; | |
3335 | return _resultobj; | |
3336 | } | |
3337 | ||
3338 | #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
3339 | static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3340 | PyObject * _resultobj; | |
3341 | wxPyControlPoint * _arg0; | |
3342 | double _arg1; | |
3343 | double _arg2; | |
3344 | PyObject * _argo0 = 0; | |
3345 | char *_kwnames[] = { "self","x","y", NULL }; | |
3346 | ||
3347 | self = self; | |
3348 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3349 | return NULL; | |
3350 | if (_argo0) { | |
3351 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3352 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3353 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p."); | |
3354 | return NULL; | |
3355 | } | |
3356 | } | |
3357 | { | |
3358 | wxPy_BEGIN_ALLOW_THREADS; | |
3359 | wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2); | |
3360 | ||
3361 | wxPy_END_ALLOW_THREADS; | |
3362 | } Py_INCREF(Py_None); | |
3363 | _resultobj = Py_None; | |
3364 | return _resultobj; | |
3365 | } | |
3366 | ||
3367 | #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3368 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3369 | PyObject * _resultobj; | |
3370 | bool _result; | |
3371 | wxPyControlPoint * _arg0; | |
3372 | wxDC * _arg1; | |
3373 | double _arg2; | |
3374 | double _arg3; | |
3375 | double _arg4; | |
3376 | double _arg5; | |
3377 | bool _arg6 = (bool ) TRUE; | |
3378 | PyObject * _argo0 = 0; | |
3379 | PyObject * _argo1 = 0; | |
3380 | int tempbool6 = (int) TRUE; | |
3381 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3382 | ||
3383 | self = self; | |
3384 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3385 | return NULL; | |
3386 | if (_argo0) { | |
3387 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3388 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p."); | |
3390 | return NULL; | |
3391 | } | |
3392 | } | |
3393 | if (_argo1) { | |
3394 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3395 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3396 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p."); | |
3397 | return NULL; | |
3398 | } | |
3399 | } | |
3400 | _arg6 = (bool ) tempbool6; | |
3401 | { | |
3402 | wxPy_BEGIN_ALLOW_THREADS; | |
3403 | _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3404 | ||
3405 | wxPy_END_ALLOW_THREADS; | |
3406 | } _resultobj = Py_BuildValue("i",_result); | |
3407 | return _resultobj; | |
3408 | } | |
3409 | ||
3410 | #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3411 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3412 | PyObject * _resultobj; | |
3413 | wxPyControlPoint * _arg0; | |
3414 | wxDC * _arg1; | |
3415 | double _arg2; | |
3416 | double _arg3; | |
3417 | double _arg4; | |
3418 | double _arg5; | |
3419 | bool _arg6 = (bool ) TRUE; | |
3420 | PyObject * _argo0 = 0; | |
3421 | PyObject * _argo1 = 0; | |
3422 | int tempbool6 = (int) TRUE; | |
3423 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3424 | ||
3425 | self = self; | |
3426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3427 | return NULL; | |
3428 | if (_argo0) { | |
3429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p."); | |
3432 | return NULL; | |
3433 | } | |
3434 | } | |
3435 | if (_argo1) { | |
3436 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3437 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p."); | |
3439 | return NULL; | |
3440 | } | |
3441 | } | |
3442 | _arg6 = (bool ) tempbool6; | |
3443 | { | |
3444 | wxPy_BEGIN_ALLOW_THREADS; | |
3445 | wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3446 | ||
3447 | wxPy_END_ALLOW_THREADS; | |
3448 | } Py_INCREF(Py_None); | |
3449 | _resultobj = Py_None; | |
3450 | return _resultobj; | |
3451 | } | |
3452 | ||
3453 | #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3454 | static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3455 | PyObject * _resultobj; | |
3456 | wxPyControlPoint * _arg0; | |
3457 | bool _arg1; | |
3458 | double _arg2; | |
3459 | double _arg3; | |
3460 | int _arg4 = (int ) 0; | |
3461 | int _arg5 = (int ) 0; | |
3462 | PyObject * _argo0 = 0; | |
3463 | int tempbool1; | |
3464 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3465 | ||
3466 | self = self; | |
3467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3468 | return NULL; | |
3469 | if (_argo0) { | |
3470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p."); | |
3473 | return NULL; | |
3474 | } | |
3475 | } | |
3476 | _arg1 = (bool ) tempbool1; | |
3477 | { | |
3478 | wxPy_BEGIN_ALLOW_THREADS; | |
3479 | wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3480 | ||
3481 | wxPy_END_ALLOW_THREADS; | |
3482 | } Py_INCREF(Py_None); | |
3483 | _resultobj = Py_None; | |
3484 | return _resultobj; | |
3485 | } | |
3486 | ||
3487 | #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3488 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3489 | PyObject * _resultobj; | |
3490 | wxPyControlPoint * _arg0; | |
3491 | double _arg1; | |
3492 | double _arg2; | |
3493 | int _arg3 = (int ) 0; | |
3494 | int _arg4 = (int ) 0; | |
3495 | PyObject * _argo0 = 0; | |
3496 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3497 | ||
3498 | self = self; | |
3499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3500 | return NULL; | |
3501 | if (_argo0) { | |
3502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3505 | return NULL; | |
3506 | } | |
3507 | } | |
3508 | { | |
3509 | wxPy_BEGIN_ALLOW_THREADS; | |
3510 | wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3511 | ||
3512 | wxPy_END_ALLOW_THREADS; | |
3513 | } Py_INCREF(Py_None); | |
3514 | _resultobj = Py_None; | |
3515 | return _resultobj; | |
3516 | } | |
3517 | ||
3518 | #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3519 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3520 | PyObject * _resultobj; | |
3521 | wxPyControlPoint * _arg0; | |
3522 | double _arg1; | |
3523 | double _arg2; | |
3524 | int _arg3 = (int ) 0; | |
3525 | int _arg4 = (int ) 0; | |
3526 | PyObject * _argo0 = 0; | |
3527 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3528 | ||
3529 | self = self; | |
3530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragLeft. Expected _wxPyControlPoint_p."); | |
3536 | return NULL; | |
3537 | } | |
3538 | } | |
3539 | { | |
3540 | wxPy_BEGIN_ALLOW_THREADS; | |
3541 | wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3542 | ||
3543 | wxPy_END_ALLOW_THREADS; | |
3544 | } Py_INCREF(Py_None); | |
3545 | _resultobj = Py_None; | |
3546 | return _resultobj; | |
3547 | } | |
3548 | ||
3549 | #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3550 | static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3551 | PyObject * _resultobj; | |
3552 | wxPyControlPoint * _arg0; | |
3553 | bool _arg1; | |
3554 | double _arg2; | |
3555 | double _arg3; | |
3556 | int _arg4 = (int ) 0; | |
3557 | int _arg5 = (int ) 0; | |
3558 | PyObject * _argo0 = 0; | |
3559 | int tempbool1; | |
3560 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3561 | ||
3562 | self = self; | |
3563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3564 | return NULL; | |
3565 | if (_argo0) { | |
3566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p."); | |
3569 | return NULL; | |
3570 | } | |
3571 | } | |
3572 | _arg1 = (bool ) tempbool1; | |
3573 | { | |
3574 | wxPy_BEGIN_ALLOW_THREADS; | |
3575 | wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3576 | ||
3577 | wxPy_END_ALLOW_THREADS; | |
3578 | } Py_INCREF(Py_None); | |
3579 | _resultobj = Py_None; | |
3580 | return _resultobj; | |
3581 | } | |
3582 | ||
3583 | #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3584 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3585 | PyObject * _resultobj; | |
3586 | wxPyControlPoint * _arg0; | |
3587 | double _arg1; | |
3588 | double _arg2; | |
3589 | int _arg3 = (int ) 0; | |
3590 | int _arg4 = (int ) 0; | |
3591 | PyObject * _argo0 = 0; | |
3592 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3593 | ||
3594 | self = self; | |
3595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3596 | return NULL; | |
3597 | if (_argo0) { | |
3598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p."); | |
3601 | return NULL; | |
3602 | } | |
3603 | } | |
3604 | { | |
3605 | wxPy_BEGIN_ALLOW_THREADS; | |
3606 | wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3607 | ||
3608 | wxPy_END_ALLOW_THREADS; | |
3609 | } Py_INCREF(Py_None); | |
3610 | _resultobj = Py_None; | |
3611 | return _resultobj; | |
3612 | } | |
3613 | ||
3614 | #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3615 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3616 | PyObject * _resultobj; | |
3617 | wxPyControlPoint * _arg0; | |
3618 | double _arg1; | |
3619 | double _arg2; | |
3620 | int _arg3 = (int ) 0; | |
3621 | int _arg4 = (int ) 0; | |
3622 | PyObject * _argo0 = 0; | |
3623 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3624 | ||
3625 | self = self; | |
3626 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragRight. Expected _wxPyControlPoint_p."); | |
3632 | return NULL; | |
3633 | } | |
3634 | } | |
3635 | { | |
3636 | wxPy_BEGIN_ALLOW_THREADS; | |
3637 | wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3638 | ||
3639 | wxPy_END_ALLOW_THREADS; | |
3640 | } Py_INCREF(Py_None); | |
3641 | _resultobj = Py_None; | |
3642 | return _resultobj; | |
3643 | } | |
3644 | ||
3645 | #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3646 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3647 | PyObject * _resultobj; | |
3648 | wxPyControlPoint * _arg0; | |
3649 | wxDC * _arg1; | |
3650 | double _arg2; | |
3651 | double _arg3; | |
3652 | double _arg4; | |
3653 | double _arg5; | |
3654 | PyObject * _argo0 = 0; | |
3655 | PyObject * _argo1 = 0; | |
3656 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
3657 | ||
3658 | self = self; | |
3659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3660 | return NULL; | |
3661 | if (_argo0) { | |
3662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p."); | |
3665 | return NULL; | |
3666 | } | |
3667 | } | |
3668 | if (_argo1) { | |
3669 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3670 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3671 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p."); | |
3672 | return NULL; | |
3673 | } | |
3674 | } | |
3675 | { | |
3676 | wxPy_BEGIN_ALLOW_THREADS; | |
3677 | wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
3678 | ||
3679 | wxPy_END_ALLOW_THREADS; | |
3680 | } Py_INCREF(Py_None); | |
3681 | _resultobj = Py_None; | |
3682 | return _resultobj; | |
3683 | } | |
3684 | ||
3685 | #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
3686 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3687 | PyObject * _resultobj; | |
3688 | wxPyControlPoint * _arg0; | |
3689 | wxDC * _arg1; | |
3690 | PyObject * _argo0 = 0; | |
3691 | PyObject * _argo1 = 0; | |
3692 | char *_kwnames[] = { "self","dc", NULL }; | |
3693 | ||
3694 | self = self; | |
3695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
3696 | return NULL; | |
3697 | if (_argo0) { | |
3698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p."); | |
3701 | return NULL; | |
3702 | } | |
3703 | } | |
3704 | if (_argo1) { | |
3705 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3706 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p."); | |
3708 | return NULL; | |
3709 | } | |
3710 | } | |
3711 | { | |
3712 | wxPy_BEGIN_ALLOW_THREADS; | |
3713 | wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1); | |
3714 | ||
3715 | wxPy_END_ALLOW_THREADS; | |
3716 | } Py_INCREF(Py_None); | |
3717 | _resultobj = Py_None; | |
3718 | return _resultobj; | |
3719 | } | |
3720 | ||
3721 | #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
3722 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3723 | PyObject * _resultobj; | |
3724 | wxPyControlPoint * _arg0; | |
3725 | wxDC * _arg1; | |
3726 | PyObject * _argo0 = 0; | |
3727 | PyObject * _argo1 = 0; | |
3728 | char *_kwnames[] = { "self","dc", NULL }; | |
3729 | ||
3730 | self = self; | |
3731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
3732 | return NULL; | |
3733 | if (_argo0) { | |
3734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p."); | |
3737 | return NULL; | |
3738 | } | |
3739 | } | |
3740 | if (_argo1) { | |
3741 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3742 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p."); | |
3744 | return NULL; | |
3745 | } | |
3746 | } | |
3747 | { | |
3748 | wxPy_BEGIN_ALLOW_THREADS; | |
3749 | wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1); | |
3750 | ||
3751 | wxPy_END_ALLOW_THREADS; | |
3752 | } Py_INCREF(Py_None); | |
3753 | _resultobj = Py_None; | |
3754 | return _resultobj; | |
3755 | } | |
3756 | ||
3757 | #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
3758 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3759 | PyObject * _resultobj; | |
3760 | wxPyControlPoint * _arg0; | |
3761 | wxDC * _arg1; | |
3762 | bool _arg2 = (bool ) TRUE; | |
3763 | PyObject * _argo0 = 0; | |
3764 | PyObject * _argo1 = 0; | |
3765 | int tempbool2 = (int) TRUE; | |
3766 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
3767 | ||
3768 | self = self; | |
3769 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
3770 | return NULL; | |
3771 | if (_argo0) { | |
3772 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3773 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p."); | |
3775 | return NULL; | |
3776 | } | |
3777 | } | |
3778 | if (_argo1) { | |
3779 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3780 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p."); | |
3782 | return NULL; | |
3783 | } | |
3784 | } | |
3785 | _arg2 = (bool ) tempbool2; | |
3786 | { | |
3787 | wxPy_BEGIN_ALLOW_THREADS; | |
3788 | wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
3789 | ||
3790 | wxPy_END_ALLOW_THREADS; | |
3791 | } Py_INCREF(Py_None); | |
3792 | _resultobj = Py_None; | |
3793 | return _resultobj; | |
3794 | } | |
3795 | ||
3796 | #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3797 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3798 | PyObject * _resultobj; | |
3799 | wxPyControlPoint * _arg0; | |
3800 | wxPyControlPoint * _arg1; | |
3801 | bool _arg2; | |
3802 | double _arg3; | |
3803 | double _arg4; | |
3804 | int _arg5 = (int ) 0; | |
3805 | int _arg6 = (int ) 0; | |
3806 | PyObject * _argo0 = 0; | |
3807 | PyObject * _argo1 = 0; | |
3808 | int tempbool2; | |
3809 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
3810 | ||
3811 | self = self; | |
3812 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
3813 | return NULL; | |
3814 | if (_argo0) { | |
3815 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3816 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3818 | return NULL; | |
3819 | } | |
3820 | } | |
3821 | if (_argo1) { | |
3822 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3823 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3825 | return NULL; | |
3826 | } | |
3827 | } | |
3828 | _arg2 = (bool ) tempbool2; | |
3829 | { | |
3830 | wxPy_BEGIN_ALLOW_THREADS; | |
3831 | wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3832 | ||
3833 | wxPy_END_ALLOW_THREADS; | |
3834 | } Py_INCREF(Py_None); | |
3835 | _resultobj = Py_None; | |
3836 | return _resultobj; | |
3837 | } | |
3838 | ||
3839 | #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3840 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3841 | PyObject * _resultobj; | |
3842 | wxPyControlPoint * _arg0; | |
3843 | wxPyControlPoint * _arg1; | |
3844 | double _arg2; | |
3845 | double _arg3; | |
3846 | int _arg4 = (int ) 0; | |
3847 | int _arg5 = (int ) 0; | |
3848 | PyObject * _argo0 = 0; | |
3849 | PyObject * _argo1 = 0; | |
3850 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3851 | ||
3852 | self = self; | |
3853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3854 | return NULL; | |
3855 | if (_argo0) { | |
3856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3859 | return NULL; | |
3860 | } | |
3861 | } | |
3862 | if (_argo1) { | |
3863 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3864 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3866 | return NULL; | |
3867 | } | |
3868 | } | |
3869 | { | |
3870 | wxPy_BEGIN_ALLOW_THREADS; | |
3871 | wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3872 | ||
3873 | wxPy_END_ALLOW_THREADS; | |
3874 | } Py_INCREF(Py_None); | |
3875 | _resultobj = Py_None; | |
3876 | return _resultobj; | |
3877 | } | |
3878 | ||
3879 | #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3880 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3881 | PyObject * _resultobj; | |
3882 | wxPyControlPoint * _arg0; | |
3883 | wxPyControlPoint * _arg1; | |
3884 | double _arg2; | |
3885 | double _arg3; | |
3886 | int _arg4 = (int ) 0; | |
3887 | int _arg5 = (int ) 0; | |
3888 | PyObject * _argo0 = 0; | |
3889 | PyObject * _argo1 = 0; | |
3890 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3891 | ||
3892 | self = self; | |
3893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3894 | return NULL; | |
3895 | if (_argo0) { | |
3896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3899 | return NULL; | |
3900 | } | |
3901 | } | |
3902 | if (_argo1) { | |
3903 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3904 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3906 | return NULL; | |
3907 | } | |
3908 | } | |
3909 | { | |
3910 | wxPy_BEGIN_ALLOW_THREADS; | |
3911 | wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3912 | ||
3913 | wxPy_END_ALLOW_THREADS; | |
3914 | } Py_INCREF(Py_None); | |
3915 | _resultobj = Py_None; | |
3916 | return _resultobj; | |
3917 | } | |
3918 | ||
3919 | #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
3920 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3921 | PyObject * _resultobj; | |
3922 | wxPyControlPoint * _arg0; | |
3923 | double _arg1; | |
3924 | double _arg2; | |
3925 | PyObject * _argo0 = 0; | |
3926 | char *_kwnames[] = { "self","w","h", NULL }; | |
3927 | ||
3928 | self = self; | |
3929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3930 | return NULL; | |
3931 | if (_argo0) { | |
3932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p."); | |
3935 | return NULL; | |
3936 | } | |
3937 | } | |
3938 | { | |
3939 | wxPy_BEGIN_ALLOW_THREADS; | |
3940 | wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2); | |
3941 | ||
3942 | wxPy_END_ALLOW_THREADS; | |
3943 | } Py_INCREF(Py_None); | |
3944 | _resultobj = Py_None; | |
3945 | return _resultobj; | |
3946 | } | |
3947 | ||
3948 | #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
3949 | static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3950 | PyObject * _resultobj; | |
3951 | wxPyControlPoint * _arg0; | |
3952 | double _arg1; | |
3953 | double _arg2; | |
3954 | PyObject * _argo0 = 0; | |
3955 | char *_kwnames[] = { "self","w","h", NULL }; | |
3956 | ||
3957 | self = self; | |
3958 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3959 | return NULL; | |
3960 | if (_argo0) { | |
3961 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3962 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p."); | |
3964 | return NULL; | |
3965 | } | |
3966 | } | |
3967 | { | |
3968 | wxPy_BEGIN_ALLOW_THREADS; | |
3969 | wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2); | |
3970 | ||
3971 | wxPy_END_ALLOW_THREADS; | |
3972 | } Py_INCREF(Py_None); | |
3973 | _resultobj = Py_None; | |
3974 | return _resultobj; | |
3975 | } | |
3976 | ||
3977 | static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) { | |
3978 | wxPyBitmapShape *src; | |
3979 | wxPyRectangleShape *dest; | |
3980 | src = (wxPyBitmapShape *) ptr; | |
3981 | dest = (wxPyRectangleShape *) src; | |
3982 | return (void *) dest; | |
3983 | } | |
3984 | ||
3985 | static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) { | |
3986 | wxPyBitmapShape *src; | |
3987 | wxPyShape *dest; | |
3988 | src = (wxPyBitmapShape *) ptr; | |
3989 | dest = (wxPyShape *) src; | |
3990 | return (void *) dest; | |
3991 | } | |
3992 | ||
3993 | static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) { | |
3994 | wxPyBitmapShape *src; | |
3995 | wxPyShapeEvtHandler *dest; | |
3996 | src = (wxPyBitmapShape *) ptr; | |
3997 | dest = (wxPyShapeEvtHandler *) src; | |
3998 | return (void *) dest; | |
3999 | } | |
4000 | ||
4001 | #define new_wxPyBitmapShape() (new wxPyBitmapShape()) | |
4002 | static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4003 | PyObject * _resultobj; | |
4004 | wxPyBitmapShape * _result; | |
4005 | char *_kwnames[] = { NULL }; | |
4006 | char _ptemp[128]; | |
4007 | ||
4008 | self = self; | |
4009 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames)) | |
4010 | return NULL; | |
4011 | { | |
4012 | wxPy_BEGIN_ALLOW_THREADS; | |
4013 | _result = (wxPyBitmapShape *)new_wxPyBitmapShape(); | |
4014 | ||
4015 | wxPy_END_ALLOW_THREADS; | |
4016 | } if (_result) { | |
4017 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p"); | |
4018 | _resultobj = Py_BuildValue("s",_ptemp); | |
4019 | } else { | |
4020 | Py_INCREF(Py_None); | |
4021 | _resultobj = Py_None; | |
4022 | } | |
4023 | return _resultobj; | |
4024 | } | |
4025 | ||
4026 | #define wxPyBitmapShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
4027 | static PyObject *_wrap_wxPyBitmapShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4028 | PyObject * _resultobj; | |
4029 | wxPyBitmapShape * _arg0; | |
4030 | PyObject * _arg1; | |
4031 | PyObject * _arg2; | |
4032 | PyObject * _argo0 = 0; | |
4033 | PyObject * _obj1 = 0; | |
4034 | PyObject * _obj2 = 0; | |
4035 | char *_kwnames[] = { "self","self","_class", NULL }; | |
4036 | ||
4037 | self = self; | |
4038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
4039 | return NULL; | |
4040 | if (_argo0) { | |
4041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setSelf. Expected _wxPyBitmapShape_p."); | |
4044 | return NULL; | |
4045 | } | |
4046 | } | |
4047 | { | |
4048 | _arg1 = _obj1; | |
4049 | } | |
4050 | { | |
4051 | _arg2 = _obj2; | |
4052 | } | |
4053 | { | |
4054 | wxPy_BEGIN_ALLOW_THREADS; | |
4055 | wxPyBitmapShape__setSelf(_arg0,_arg1,_arg2); | |
4056 | ||
4057 | wxPy_END_ALLOW_THREADS; | |
4058 | } Py_INCREF(Py_None); | |
4059 | _resultobj = Py_None; | |
4060 | return _resultobj; | |
4061 | } | |
4062 | ||
4063 | #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
4064 | static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4065 | PyObject * _resultobj; | |
4066 | wxBitmap * _result; | |
4067 | wxPyBitmapShape * _arg0; | |
4068 | PyObject * _argo0 = 0; | |
4069 | char *_kwnames[] = { "self", NULL }; | |
4070 | char _ptemp[128]; | |
4071 | ||
4072 | self = self; | |
4073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0)) | |
4074 | return NULL; | |
4075 | if (_argo0) { | |
4076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p."); | |
4079 | return NULL; | |
4080 | } | |
4081 | } | |
4082 | { | |
4083 | wxPy_BEGIN_ALLOW_THREADS; | |
4084 | wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0); | |
4085 | _result = (wxBitmap *) &_result_ref; | |
4086 | ||
4087 | wxPy_END_ALLOW_THREADS; | |
4088 | } if (_result) { | |
4089 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
4090 | _resultobj = Py_BuildValue("s",_ptemp); | |
4091 | } else { | |
4092 | Py_INCREF(Py_None); | |
4093 | _resultobj = Py_None; | |
4094 | } | |
4095 | return _resultobj; | |
4096 | } | |
4097 | ||
4098 | #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
4099 | static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4100 | PyObject * _resultobj; | |
4101 | wxString * _result; | |
4102 | wxPyBitmapShape * _arg0; | |
4103 | PyObject * _argo0 = 0; | |
4104 | char *_kwnames[] = { "self", NULL }; | |
4105 | ||
4106 | self = self; | |
4107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0)) | |
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_GetFilename. Expected _wxPyBitmapShape_p."); | |
4113 | return NULL; | |
4114 | } | |
4115 | } | |
4116 | { | |
4117 | wxPy_BEGIN_ALLOW_THREADS; | |
4118 | _result = new wxString (wxPyBitmapShape_GetFilename(_arg0)); | |
4119 | ||
4120 | wxPy_END_ALLOW_THREADS; | |
4121 | }{ | |
4122 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
4123 | } | |
4124 | { | |
4125 | delete _result; | |
4126 | } | |
4127 | return _resultobj; | |
4128 | } | |
4129 | ||
4130 | #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
4131 | static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4132 | PyObject * _resultobj; | |
4133 | wxPyBitmapShape * _arg0; | |
4134 | wxBitmap * _arg1; | |
4135 | PyObject * _argo0 = 0; | |
4136 | PyObject * _argo1 = 0; | |
4137 | char *_kwnames[] = { "self","bitmap", NULL }; | |
4138 | ||
4139 | self = self; | |
4140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1)) | |
4141 | return NULL; | |
4142 | if (_argo0) { | |
4143 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4144 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p."); | |
4146 | return NULL; | |
4147 | } | |
4148 | } | |
4149 | if (_argo1) { | |
4150 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4151 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
4152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p."); | |
4153 | return NULL; | |
4154 | } | |
4155 | } | |
4156 | { | |
4157 | wxPy_BEGIN_ALLOW_THREADS; | |
4158 | wxPyBitmapShape_SetBitmap(_arg0,*_arg1); | |
4159 | ||
4160 | wxPy_END_ALLOW_THREADS; | |
4161 | } Py_INCREF(Py_None); | |
4162 | _resultobj = Py_None; | |
4163 | return _resultobj; | |
4164 | } | |
4165 | ||
4166 | #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
4167 | static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4168 | PyObject * _resultobj; | |
4169 | wxPyBitmapShape * _arg0; | |
4170 | wxString * _arg1; | |
4171 | PyObject * _argo0 = 0; | |
4172 | PyObject * _obj1 = 0; | |
4173 | char *_kwnames[] = { "self","filename", NULL }; | |
4174 | ||
4175 | self = self; | |
4176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1)) | |
4177 | return NULL; | |
4178 | if (_argo0) { | |
4179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p."); | |
4182 | return NULL; | |
4183 | } | |
4184 | } | |
4185 | { | |
4186 | #if PYTHON_API_VERSION >= 1009 | |
4187 | char* tmpPtr; int tmpSize; | |
4188 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
4189 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
4190 | return NULL; | |
4191 | } | |
4192 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
4193 | return NULL; | |
4194 | _arg1 = new wxString(tmpPtr, tmpSize); | |
4195 | #else | |
4196 | if (!PyString_Check(_obj1)) { | |
4197 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4198 | return NULL; | |
4199 | } | |
4200 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
4201 | #endif | |
4202 | } | |
4203 | { | |
4204 | wxPy_BEGIN_ALLOW_THREADS; | |
4205 | wxPyBitmapShape_SetFilename(_arg0,*_arg1); | |
4206 | ||
4207 | wxPy_END_ALLOW_THREADS; | |
4208 | } Py_INCREF(Py_None); | |
4209 | _resultobj = Py_None; | |
4210 | { | |
4211 | if (_obj1) | |
4212 | delete _arg1; | |
4213 | } | |
4214 | return _resultobj; | |
4215 | } | |
4216 | ||
4217 | #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
4218 | static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4219 | PyObject * _resultobj; | |
4220 | wxPyBitmapShape * _arg0; | |
4221 | PyObject * _argo0 = 0; | |
4222 | char *_kwnames[] = { "self", NULL }; | |
4223 | ||
4224 | self = self; | |
4225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0)) | |
4226 | return NULL; | |
4227 | if (_argo0) { | |
4228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p."); | |
4231 | return NULL; | |
4232 | } | |
4233 | } | |
4234 | { | |
4235 | wxPy_BEGIN_ALLOW_THREADS; | |
4236 | wxPyBitmapShape_base_OnDelete(_arg0); | |
4237 | ||
4238 | wxPy_END_ALLOW_THREADS; | |
4239 | } Py_INCREF(Py_None); | |
4240 | _resultobj = Py_None; | |
4241 | return _resultobj; | |
4242 | } | |
4243 | ||
4244 | #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4245 | static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4246 | PyObject * _resultobj; | |
4247 | wxPyBitmapShape * _arg0; | |
4248 | wxDC * _arg1; | |
4249 | PyObject * _argo0 = 0; | |
4250 | PyObject * _argo1 = 0; | |
4251 | char *_kwnames[] = { "self","dc", NULL }; | |
4252 | ||
4253 | self = self; | |
4254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4255 | return NULL; | |
4256 | if (_argo0) { | |
4257 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4258 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p."); | |
4260 | return NULL; | |
4261 | } | |
4262 | } | |
4263 | if (_argo1) { | |
4264 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4265 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p."); | |
4267 | return NULL; | |
4268 | } | |
4269 | } | |
4270 | { | |
4271 | wxPy_BEGIN_ALLOW_THREADS; | |
4272 | wxPyBitmapShape_base_OnDraw(_arg0,*_arg1); | |
4273 | ||
4274 | wxPy_END_ALLOW_THREADS; | |
4275 | } Py_INCREF(Py_None); | |
4276 | _resultobj = Py_None; | |
4277 | return _resultobj; | |
4278 | } | |
4279 | ||
4280 | #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4281 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4282 | PyObject * _resultobj; | |
4283 | wxPyBitmapShape * _arg0; | |
4284 | wxDC * _arg1; | |
4285 | PyObject * _argo0 = 0; | |
4286 | PyObject * _argo1 = 0; | |
4287 | char *_kwnames[] = { "self","dc", NULL }; | |
4288 | ||
4289 | self = self; | |
4290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4291 | return NULL; | |
4292 | if (_argo0) { | |
4293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p."); | |
4296 | return NULL; | |
4297 | } | |
4298 | } | |
4299 | if (_argo1) { | |
4300 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4301 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p."); | |
4303 | return NULL; | |
4304 | } | |
4305 | } | |
4306 | { | |
4307 | wxPy_BEGIN_ALLOW_THREADS; | |
4308 | wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1); | |
4309 | ||
4310 | wxPy_END_ALLOW_THREADS; | |
4311 | } Py_INCREF(Py_None); | |
4312 | _resultobj = Py_None; | |
4313 | return _resultobj; | |
4314 | } | |
4315 | ||
4316 | #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4317 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4318 | PyObject * _resultobj; | |
4319 | wxPyBitmapShape * _arg0; | |
4320 | wxDC * _arg1; | |
4321 | bool _arg2 = (bool ) FALSE; | |
4322 | PyObject * _argo0 = 0; | |
4323 | PyObject * _argo1 = 0; | |
4324 | int tempbool2 = (int) FALSE; | |
4325 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
4326 | ||
4327 | self = self; | |
4328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4329 | return NULL; | |
4330 | if (_argo0) { | |
4331 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4332 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p."); | |
4334 | return NULL; | |
4335 | } | |
4336 | } | |
4337 | if (_argo1) { | |
4338 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4339 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4341 | return NULL; | |
4342 | } | |
4343 | } | |
4344 | _arg2 = (bool ) tempbool2; | |
4345 | { | |
4346 | wxPy_BEGIN_ALLOW_THREADS; | |
4347 | wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4348 | ||
4349 | wxPy_END_ALLOW_THREADS; | |
4350 | } Py_INCREF(Py_None); | |
4351 | _resultobj = Py_None; | |
4352 | return _resultobj; | |
4353 | } | |
4354 | ||
4355 | #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4356 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4357 | PyObject * _resultobj; | |
4358 | wxPyBitmapShape * _arg0; | |
4359 | wxDC * _arg1; | |
4360 | PyObject * _argo0 = 0; | |
4361 | PyObject * _argo1 = 0; | |
4362 | char *_kwnames[] = { "self","dc", NULL }; | |
4363 | ||
4364 | self = self; | |
4365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4366 | return NULL; | |
4367 | if (_argo0) { | |
4368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p."); | |
4371 | return NULL; | |
4372 | } | |
4373 | } | |
4374 | if (_argo1) { | |
4375 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4376 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4378 | return NULL; | |
4379 | } | |
4380 | } | |
4381 | { | |
4382 | wxPy_BEGIN_ALLOW_THREADS; | |
4383 | wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1); | |
4384 | ||
4385 | wxPy_END_ALLOW_THREADS; | |
4386 | } Py_INCREF(Py_None); | |
4387 | _resultobj = Py_None; | |
4388 | return _resultobj; | |
4389 | } | |
4390 | ||
4391 | #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4392 | static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4393 | PyObject * _resultobj; | |
4394 | wxPyBitmapShape * _arg0; | |
4395 | wxDC * _arg1; | |
4396 | PyObject * _argo0 = 0; | |
4397 | PyObject * _argo1 = 0; | |
4398 | char *_kwnames[] = { "self","dc", NULL }; | |
4399 | ||
4400 | self = self; | |
4401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4402 | return NULL; | |
4403 | if (_argo0) { | |
4404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p."); | |
4407 | return NULL; | |
4408 | } | |
4409 | } | |
4410 | if (_argo1) { | |
4411 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4412 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p."); | |
4414 | return NULL; | |
4415 | } | |
4416 | } | |
4417 | { | |
4418 | wxPy_BEGIN_ALLOW_THREADS; | |
4419 | wxPyBitmapShape_base_OnErase(_arg0,*_arg1); | |
4420 | ||
4421 | wxPy_END_ALLOW_THREADS; | |
4422 | } Py_INCREF(Py_None); | |
4423 | _resultobj = Py_None; | |
4424 | return _resultobj; | |
4425 | } | |
4426 | ||
4427 | #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4428 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4429 | PyObject * _resultobj; | |
4430 | wxPyBitmapShape * _arg0; | |
4431 | wxDC * _arg1; | |
4432 | PyObject * _argo0 = 0; | |
4433 | PyObject * _argo1 = 0; | |
4434 | char *_kwnames[] = { "self","dc", NULL }; | |
4435 | ||
4436 | self = self; | |
4437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4438 | return NULL; | |
4439 | if (_argo0) { | |
4440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p."); | |
4443 | return NULL; | |
4444 | } | |
4445 | } | |
4446 | if (_argo1) { | |
4447 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4448 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p."); | |
4450 | return NULL; | |
4451 | } | |
4452 | } | |
4453 | { | |
4454 | wxPy_BEGIN_ALLOW_THREADS; | |
4455 | wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1); | |
4456 | ||
4457 | wxPy_END_ALLOW_THREADS; | |
4458 | } Py_INCREF(Py_None); | |
4459 | _resultobj = Py_None; | |
4460 | return _resultobj; | |
4461 | } | |
4462 | ||
4463 | #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4464 | static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4465 | PyObject * _resultobj; | |
4466 | wxPyBitmapShape * _arg0; | |
4467 | wxDC * _arg1; | |
4468 | PyObject * _argo0 = 0; | |
4469 | PyObject * _argo1 = 0; | |
4470 | char *_kwnames[] = { "self","dc", NULL }; | |
4471 | ||
4472 | self = self; | |
4473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4474 | return NULL; | |
4475 | if (_argo0) { | |
4476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p."); | |
4479 | return NULL; | |
4480 | } | |
4481 | } | |
4482 | if (_argo1) { | |
4483 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4484 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4485 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p."); | |
4486 | return NULL; | |
4487 | } | |
4488 | } | |
4489 | { | |
4490 | wxPy_BEGIN_ALLOW_THREADS; | |
4491 | wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1); | |
4492 | ||
4493 | wxPy_END_ALLOW_THREADS; | |
4494 | } Py_INCREF(Py_None); | |
4495 | _resultobj = Py_None; | |
4496 | return _resultobj; | |
4497 | } | |
4498 | ||
4499 | #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4500 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4501 | PyObject * _resultobj; | |
4502 | wxPyBitmapShape * _arg0; | |
4503 | double _arg1; | |
4504 | double _arg2; | |
4505 | int _arg3 = (int ) 0; | |
4506 | int _arg4 = (int ) 0; | |
4507 | PyObject * _argo0 = 0; | |
4508 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4509 | ||
4510 | self = self; | |
4511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4512 | return NULL; | |
4513 | if (_argo0) { | |
4514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p."); | |
4517 | return NULL; | |
4518 | } | |
4519 | } | |
4520 | { | |
4521 | wxPy_BEGIN_ALLOW_THREADS; | |
4522 | wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4523 | ||
4524 | wxPy_END_ALLOW_THREADS; | |
4525 | } Py_INCREF(Py_None); | |
4526 | _resultobj = Py_None; | |
4527 | return _resultobj; | |
4528 | } | |
4529 | ||
4530 | #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4531 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4532 | PyObject * _resultobj; | |
4533 | wxPyBitmapShape * _arg0; | |
4534 | double _arg1; | |
4535 | double _arg2; | |
4536 | int _arg3 = (int ) 0; | |
4537 | int _arg4 = (int ) 0; | |
4538 | PyObject * _argo0 = 0; | |
4539 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4540 | ||
4541 | self = self; | |
4542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4543 | return NULL; | |
4544 | if (_argo0) { | |
4545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p."); | |
4548 | return NULL; | |
4549 | } | |
4550 | } | |
4551 | { | |
4552 | wxPy_BEGIN_ALLOW_THREADS; | |
4553 | wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4554 | ||
4555 | wxPy_END_ALLOW_THREADS; | |
4556 | } Py_INCREF(Py_None); | |
4557 | _resultobj = Py_None; | |
4558 | return _resultobj; | |
4559 | } | |
4560 | ||
4561 | #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4562 | static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4563 | PyObject * _resultobj; | |
4564 | wxPyBitmapShape * _arg0; | |
4565 | double _arg1; | |
4566 | double _arg2; | |
4567 | int _arg3 = (int ) 0; | |
4568 | int _arg4 = (int ) 0; | |
4569 | PyObject * _argo0 = 0; | |
4570 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4571 | ||
4572 | self = self; | |
4573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4574 | return NULL; | |
4575 | if (_argo0) { | |
4576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p."); | |
4579 | return NULL; | |
4580 | } | |
4581 | } | |
4582 | { | |
4583 | wxPy_BEGIN_ALLOW_THREADS; | |
4584 | wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4585 | ||
4586 | wxPy_END_ALLOW_THREADS; | |
4587 | } Py_INCREF(Py_None); | |
4588 | _resultobj = Py_None; | |
4589 | return _resultobj; | |
4590 | } | |
4591 | ||
4592 | #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4593 | static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4594 | PyObject * _resultobj; | |
4595 | wxPyBitmapShape * _arg0; | |
4596 | double _arg1; | |
4597 | double _arg2; | |
4598 | PyObject * _argo0 = 0; | |
4599 | char *_kwnames[] = { "self","x","y", NULL }; | |
4600 | ||
4601 | self = self; | |
4602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4603 | return NULL; | |
4604 | if (_argo0) { | |
4605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p."); | |
4608 | return NULL; | |
4609 | } | |
4610 | } | |
4611 | { | |
4612 | wxPy_BEGIN_ALLOW_THREADS; | |
4613 | wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2); | |
4614 | ||
4615 | wxPy_END_ALLOW_THREADS; | |
4616 | } Py_INCREF(Py_None); | |
4617 | _resultobj = Py_None; | |
4618 | return _resultobj; | |
4619 | } | |
4620 | ||
4621 | #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4622 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4623 | PyObject * _resultobj; | |
4624 | bool _result; | |
4625 | wxPyBitmapShape * _arg0; | |
4626 | wxDC * _arg1; | |
4627 | double _arg2; | |
4628 | double _arg3; | |
4629 | double _arg4; | |
4630 | double _arg5; | |
4631 | bool _arg6 = (bool ) TRUE; | |
4632 | PyObject * _argo0 = 0; | |
4633 | PyObject * _argo1 = 0; | |
4634 | int tempbool6 = (int) TRUE; | |
4635 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4636 | ||
4637 | self = self; | |
4638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4639 | return NULL; | |
4640 | if (_argo0) { | |
4641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p."); | |
4644 | return NULL; | |
4645 | } | |
4646 | } | |
4647 | if (_argo1) { | |
4648 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4649 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4650 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p."); | |
4651 | return NULL; | |
4652 | } | |
4653 | } | |
4654 | _arg6 = (bool ) tempbool6; | |
4655 | { | |
4656 | wxPy_BEGIN_ALLOW_THREADS; | |
4657 | _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4658 | ||
4659 | wxPy_END_ALLOW_THREADS; | |
4660 | } _resultobj = Py_BuildValue("i",_result); | |
4661 | return _resultobj; | |
4662 | } | |
4663 | ||
4664 | #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4665 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4666 | PyObject * _resultobj; | |
4667 | wxPyBitmapShape * _arg0; | |
4668 | wxDC * _arg1; | |
4669 | double _arg2; | |
4670 | double _arg3; | |
4671 | double _arg4; | |
4672 | double _arg5; | |
4673 | bool _arg6 = (bool ) TRUE; | |
4674 | PyObject * _argo0 = 0; | |
4675 | PyObject * _argo1 = 0; | |
4676 | int tempbool6 = (int) TRUE; | |
4677 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4678 | ||
4679 | self = self; | |
4680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4681 | return NULL; | |
4682 | if (_argo0) { | |
4683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p."); | |
4686 | return NULL; | |
4687 | } | |
4688 | } | |
4689 | if (_argo1) { | |
4690 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4691 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p."); | |
4693 | return NULL; | |
4694 | } | |
4695 | } | |
4696 | _arg6 = (bool ) tempbool6; | |
4697 | { | |
4698 | wxPy_BEGIN_ALLOW_THREADS; | |
4699 | wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4700 | ||
4701 | wxPy_END_ALLOW_THREADS; | |
4702 | } Py_INCREF(Py_None); | |
4703 | _resultobj = Py_None; | |
4704 | return _resultobj; | |
4705 | } | |
4706 | ||
4707 | #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4708 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4709 | PyObject * _resultobj; | |
4710 | wxPyBitmapShape * _arg0; | |
4711 | bool _arg1; | |
4712 | double _arg2; | |
4713 | double _arg3; | |
4714 | int _arg4 = (int ) 0; | |
4715 | int _arg5 = (int ) 0; | |
4716 | PyObject * _argo0 = 0; | |
4717 | int tempbool1; | |
4718 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4719 | ||
4720 | self = self; | |
4721 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4722 | return NULL; | |
4723 | if (_argo0) { | |
4724 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4725 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p."); | |
4727 | return NULL; | |
4728 | } | |
4729 | } | |
4730 | _arg1 = (bool ) tempbool1; | |
4731 | { | |
4732 | wxPy_BEGIN_ALLOW_THREADS; | |
4733 | wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4734 | ||
4735 | wxPy_END_ALLOW_THREADS; | |
4736 | } Py_INCREF(Py_None); | |
4737 | _resultobj = Py_None; | |
4738 | return _resultobj; | |
4739 | } | |
4740 | ||
4741 | #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4742 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4743 | PyObject * _resultobj; | |
4744 | wxPyBitmapShape * _arg0; | |
4745 | double _arg1; | |
4746 | double _arg2; | |
4747 | int _arg3 = (int ) 0; | |
4748 | int _arg4 = (int ) 0; | |
4749 | PyObject * _argo0 = 0; | |
4750 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4751 | ||
4752 | self = self; | |
4753 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4754 | return NULL; | |
4755 | if (_argo0) { | |
4756 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4757 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
4759 | return NULL; | |
4760 | } | |
4761 | } | |
4762 | { | |
4763 | wxPy_BEGIN_ALLOW_THREADS; | |
4764 | wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4765 | ||
4766 | wxPy_END_ALLOW_THREADS; | |
4767 | } Py_INCREF(Py_None); | |
4768 | _resultobj = Py_None; | |
4769 | return _resultobj; | |
4770 | } | |
4771 | ||
4772 | #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4773 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4774 | PyObject * _resultobj; | |
4775 | wxPyBitmapShape * _arg0; | |
4776 | double _arg1; | |
4777 | double _arg2; | |
4778 | int _arg3 = (int ) 0; | |
4779 | int _arg4 = (int ) 0; | |
4780 | PyObject * _argo0 = 0; | |
4781 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4782 | ||
4783 | self = self; | |
4784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragLeft. Expected _wxPyBitmapShape_p."); | |
4790 | return NULL; | |
4791 | } | |
4792 | } | |
4793 | { | |
4794 | wxPy_BEGIN_ALLOW_THREADS; | |
4795 | wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4796 | ||
4797 | wxPy_END_ALLOW_THREADS; | |
4798 | } Py_INCREF(Py_None); | |
4799 | _resultobj = Py_None; | |
4800 | return _resultobj; | |
4801 | } | |
4802 | ||
4803 | #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4804 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4805 | PyObject * _resultobj; | |
4806 | wxPyBitmapShape * _arg0; | |
4807 | bool _arg1; | |
4808 | double _arg2; | |
4809 | double _arg3; | |
4810 | int _arg4 = (int ) 0; | |
4811 | int _arg5 = (int ) 0; | |
4812 | PyObject * _argo0 = 0; | |
4813 | int tempbool1; | |
4814 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4815 | ||
4816 | self = self; | |
4817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4818 | return NULL; | |
4819 | if (_argo0) { | |
4820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p."); | |
4823 | return NULL; | |
4824 | } | |
4825 | } | |
4826 | _arg1 = (bool ) tempbool1; | |
4827 | { | |
4828 | wxPy_BEGIN_ALLOW_THREADS; | |
4829 | wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4830 | ||
4831 | wxPy_END_ALLOW_THREADS; | |
4832 | } Py_INCREF(Py_None); | |
4833 | _resultobj = Py_None; | |
4834 | return _resultobj; | |
4835 | } | |
4836 | ||
4837 | #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4838 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4839 | PyObject * _resultobj; | |
4840 | wxPyBitmapShape * _arg0; | |
4841 | double _arg1; | |
4842 | double _arg2; | |
4843 | int _arg3 = (int ) 0; | |
4844 | int _arg4 = (int ) 0; | |
4845 | PyObject * _argo0 = 0; | |
4846 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4847 | ||
4848 | self = self; | |
4849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4850 | return NULL; | |
4851 | if (_argo0) { | |
4852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p."); | |
4855 | return NULL; | |
4856 | } | |
4857 | } | |
4858 | { | |
4859 | wxPy_BEGIN_ALLOW_THREADS; | |
4860 | wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4861 | ||
4862 | wxPy_END_ALLOW_THREADS; | |
4863 | } Py_INCREF(Py_None); | |
4864 | _resultobj = Py_None; | |
4865 | return _resultobj; | |
4866 | } | |
4867 | ||
4868 | #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4869 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4870 | PyObject * _resultobj; | |
4871 | wxPyBitmapShape * _arg0; | |
4872 | double _arg1; | |
4873 | double _arg2; | |
4874 | int _arg3 = (int ) 0; | |
4875 | int _arg4 = (int ) 0; | |
4876 | PyObject * _argo0 = 0; | |
4877 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4878 | ||
4879 | self = self; | |
4880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragRight. Expected _wxPyBitmapShape_p."); | |
4886 | return NULL; | |
4887 | } | |
4888 | } | |
4889 | { | |
4890 | wxPy_BEGIN_ALLOW_THREADS; | |
4891 | wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4892 | ||
4893 | wxPy_END_ALLOW_THREADS; | |
4894 | } Py_INCREF(Py_None); | |
4895 | _resultobj = Py_None; | |
4896 | return _resultobj; | |
4897 | } | |
4898 | ||
4899 | #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4900 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4901 | PyObject * _resultobj; | |
4902 | wxPyBitmapShape * _arg0; | |
4903 | wxDC * _arg1; | |
4904 | double _arg2; | |
4905 | double _arg3; | |
4906 | double _arg4; | |
4907 | double _arg5; | |
4908 | PyObject * _argo0 = 0; | |
4909 | PyObject * _argo1 = 0; | |
4910 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
4911 | ||
4912 | self = self; | |
4913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4914 | return NULL; | |
4915 | if (_argo0) { | |
4916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p."); | |
4919 | return NULL; | |
4920 | } | |
4921 | } | |
4922 | if (_argo1) { | |
4923 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4924 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p."); | |
4926 | return NULL; | |
4927 | } | |
4928 | } | |
4929 | { | |
4930 | wxPy_BEGIN_ALLOW_THREADS; | |
4931 | wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
4932 | ||
4933 | wxPy_END_ALLOW_THREADS; | |
4934 | } Py_INCREF(Py_None); | |
4935 | _resultobj = Py_None; | |
4936 | return _resultobj; | |
4937 | } | |
4938 | ||
4939 | #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
4940 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4941 | PyObject * _resultobj; | |
4942 | wxPyBitmapShape * _arg0; | |
4943 | wxDC * _arg1; | |
4944 | PyObject * _argo0 = 0; | |
4945 | PyObject * _argo1 = 0; | |
4946 | char *_kwnames[] = { "self","dc", NULL }; | |
4947 | ||
4948 | self = self; | |
4949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
4950 | return NULL; | |
4951 | if (_argo0) { | |
4952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p."); | |
4955 | return NULL; | |
4956 | } | |
4957 | } | |
4958 | if (_argo1) { | |
4959 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4960 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
4962 | return NULL; | |
4963 | } | |
4964 | } | |
4965 | { | |
4966 | wxPy_BEGIN_ALLOW_THREADS; | |
4967 | wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
4968 | ||
4969 | wxPy_END_ALLOW_THREADS; | |
4970 | } Py_INCREF(Py_None); | |
4971 | _resultobj = Py_None; | |
4972 | return _resultobj; | |
4973 | } | |
4974 | ||
4975 | #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
4976 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4977 | PyObject * _resultobj; | |
4978 | wxPyBitmapShape * _arg0; | |
4979 | wxDC * _arg1; | |
4980 | PyObject * _argo0 = 0; | |
4981 | PyObject * _argo1 = 0; | |
4982 | char *_kwnames[] = { "self","dc", NULL }; | |
4983 | ||
4984 | self = self; | |
4985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
4986 | return NULL; | |
4987 | if (_argo0) { | |
4988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p."); | |
4991 | return NULL; | |
4992 | } | |
4993 | } | |
4994 | if (_argo1) { | |
4995 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4996 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
4998 | return NULL; | |
4999 | } | |
5000 | } | |
5001 | { | |
5002 | wxPy_BEGIN_ALLOW_THREADS; | |
5003 | wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
5004 | ||
5005 | wxPy_END_ALLOW_THREADS; | |
5006 | } Py_INCREF(Py_None); | |
5007 | _resultobj = Py_None; | |
5008 | return _resultobj; | |
5009 | } | |
5010 | ||
5011 | #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
5012 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5013 | PyObject * _resultobj; | |
5014 | wxPyBitmapShape * _arg0; | |
5015 | wxDC * _arg1; | |
5016 | bool _arg2 = (bool ) TRUE; | |
5017 | PyObject * _argo0 = 0; | |
5018 | PyObject * _argo1 = 0; | |
5019 | int tempbool2 = (int) TRUE; | |
5020 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
5021 | ||
5022 | self = self; | |
5023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5024 | return NULL; | |
5025 | if (_argo0) { | |
5026 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5027 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p."); | |
5029 | return NULL; | |
5030 | } | |
5031 | } | |
5032 | if (_argo1) { | |
5033 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5034 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p."); | |
5036 | return NULL; | |
5037 | } | |
5038 | } | |
5039 | _arg2 = (bool ) tempbool2; | |
5040 | { | |
5041 | wxPy_BEGIN_ALLOW_THREADS; | |
5042 | wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
5043 | ||
5044 | wxPy_END_ALLOW_THREADS; | |
5045 | } Py_INCREF(Py_None); | |
5046 | _resultobj = Py_None; | |
5047 | return _resultobj; | |
5048 | } | |
5049 | ||
5050 | #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5051 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5052 | PyObject * _resultobj; | |
5053 | wxPyBitmapShape * _arg0; | |
5054 | wxPyControlPoint * _arg1; | |
5055 | bool _arg2; | |
5056 | double _arg3; | |
5057 | double _arg4; | |
5058 | int _arg5 = (int ) 0; | |
5059 | int _arg6 = (int ) 0; | |
5060 | PyObject * _argo0 = 0; | |
5061 | PyObject * _argo1 = 0; | |
5062 | int tempbool2; | |
5063 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5064 | ||
5065 | self = self; | |
5066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5067 | return NULL; | |
5068 | if (_argo0) { | |
5069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p."); | |
5072 | return NULL; | |
5073 | } | |
5074 | } | |
5075 | if (_argo1) { | |
5076 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5077 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
5078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
5079 | return NULL; | |
5080 | } | |
5081 | } | |
5082 | _arg2 = (bool ) tempbool2; | |
5083 | { | |
5084 | wxPy_BEGIN_ALLOW_THREADS; | |
5085 | wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5086 | ||
5087 | wxPy_END_ALLOW_THREADS; | |
5088 | } Py_INCREF(Py_None); | |
5089 | _resultobj = Py_None; | |
5090 | return _resultobj; | |
5091 | } | |
5092 | ||
5093 | #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5094 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5095 | PyObject * _resultobj; | |
5096 | wxPyBitmapShape * _arg0; | |
5097 | wxPyControlPoint * _arg1; | |
5098 | double _arg2; | |
5099 | double _arg3; | |
5100 | int _arg4 = (int ) 0; | |
5101 | int _arg5 = (int ) 0; | |
5102 | PyObject * _argo0 = 0; | |
5103 | PyObject * _argo1 = 0; | |
5104 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5105 | ||
5106 | self = self; | |
5107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5108 | return NULL; | |
5109 | if (_argo0) { | |
5110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
5113 | return NULL; | |
5114 | } | |
5115 | } | |
5116 | if (_argo1) { | |
5117 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5118 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
5119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
5120 | return NULL; | |
5121 | } | |
5122 | } | |
5123 | { | |
5124 | wxPy_BEGIN_ALLOW_THREADS; | |
5125 | wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5126 | ||
5127 | wxPy_END_ALLOW_THREADS; | |
5128 | } Py_INCREF(Py_None); | |
5129 | _resultobj = Py_None; | |
5130 | return _resultobj; | |
5131 | } | |
5132 | ||
5133 | #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5134 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5135 | PyObject * _resultobj; | |
5136 | wxPyBitmapShape * _arg0; | |
5137 | wxPyControlPoint * _arg1; | |
5138 | double _arg2; | |
5139 | double _arg3; | |
5140 | int _arg4 = (int ) 0; | |
5141 | int _arg5 = (int ) 0; | |
5142 | PyObject * _argo0 = 0; | |
5143 | PyObject * _argo1 = 0; | |
5144 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5145 | ||
5146 | self = self; | |
5147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5148 | return NULL; | |
5149 | if (_argo0) { | |
5150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p."); | |
5153 | return NULL; | |
5154 | } | |
5155 | } | |
5156 | if (_argo1) { | |
5157 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5158 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
5159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
5160 | return NULL; | |
5161 | } | |
5162 | } | |
5163 | { | |
5164 | wxPy_BEGIN_ALLOW_THREADS; | |
5165 | wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5166 | ||
5167 | wxPy_END_ALLOW_THREADS; | |
5168 | } Py_INCREF(Py_None); | |
5169 | _resultobj = Py_None; | |
5170 | return _resultobj; | |
5171 | } | |
5172 | ||
5173 | #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5174 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5175 | PyObject * _resultobj; | |
5176 | wxPyBitmapShape * _arg0; | |
5177 | double _arg1; | |
5178 | double _arg2; | |
5179 | PyObject * _argo0 = 0; | |
5180 | char *_kwnames[] = { "self","w","h", NULL }; | |
5181 | ||
5182 | self = self; | |
5183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5184 | return NULL; | |
5185 | if (_argo0) { | |
5186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p."); | |
5189 | return NULL; | |
5190 | } | |
5191 | } | |
5192 | { | |
5193 | wxPy_BEGIN_ALLOW_THREADS; | |
5194 | wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5195 | ||
5196 | wxPy_END_ALLOW_THREADS; | |
5197 | } Py_INCREF(Py_None); | |
5198 | _resultobj = Py_None; | |
5199 | return _resultobj; | |
5200 | } | |
5201 | ||
5202 | #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5203 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5204 | PyObject * _resultobj; | |
5205 | wxPyBitmapShape * _arg0; | |
5206 | double _arg1; | |
5207 | double _arg2; | |
5208 | PyObject * _argo0 = 0; | |
5209 | char *_kwnames[] = { "self","w","h", NULL }; | |
5210 | ||
5211 | self = self; | |
5212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5213 | return NULL; | |
5214 | if (_argo0) { | |
5215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p."); | |
5218 | return NULL; | |
5219 | } | |
5220 | } | |
5221 | { | |
5222 | wxPy_BEGIN_ALLOW_THREADS; | |
5223 | wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5224 | ||
5225 | wxPy_END_ALLOW_THREADS; | |
5226 | } Py_INCREF(Py_None); | |
5227 | _resultobj = Py_None; | |
5228 | return _resultobj; | |
5229 | } | |
5230 | ||
5231 | static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) { | |
5232 | wxPyDrawnShape *src; | |
5233 | wxPyRectangleShape *dest; | |
5234 | src = (wxPyDrawnShape *) ptr; | |
5235 | dest = (wxPyRectangleShape *) src; | |
5236 | return (void *) dest; | |
5237 | } | |
5238 | ||
5239 | static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) { | |
5240 | wxPyDrawnShape *src; | |
5241 | wxPyShape *dest; | |
5242 | src = (wxPyDrawnShape *) ptr; | |
5243 | dest = (wxPyShape *) src; | |
5244 | return (void *) dest; | |
5245 | } | |
5246 | ||
5247 | static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) { | |
5248 | wxPyDrawnShape *src; | |
5249 | wxPyShapeEvtHandler *dest; | |
5250 | src = (wxPyDrawnShape *) ptr; | |
5251 | dest = (wxPyShapeEvtHandler *) src; | |
5252 | return (void *) dest; | |
5253 | } | |
5254 | ||
5255 | #define new_wxPyDrawnShape() (new wxPyDrawnShape()) | |
5256 | static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5257 | PyObject * _resultobj; | |
5258 | wxPyDrawnShape * _result; | |
5259 | char *_kwnames[] = { NULL }; | |
5260 | char _ptemp[128]; | |
5261 | ||
5262 | self = self; | |
5263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames)) | |
5264 | return NULL; | |
5265 | { | |
5266 | wxPy_BEGIN_ALLOW_THREADS; | |
5267 | _result = (wxPyDrawnShape *)new_wxPyDrawnShape(); | |
5268 | ||
5269 | wxPy_END_ALLOW_THREADS; | |
5270 | } if (_result) { | |
5271 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p"); | |
5272 | _resultobj = Py_BuildValue("s",_ptemp); | |
5273 | } else { | |
5274 | Py_INCREF(Py_None); | |
5275 | _resultobj = Py_None; | |
5276 | } | |
5277 | return _resultobj; | |
5278 | } | |
5279 | ||
5280 | #define wxPyDrawnShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
5281 | static PyObject *_wrap_wxPyDrawnShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5282 | PyObject * _resultobj; | |
5283 | wxPyDrawnShape * _arg0; | |
5284 | PyObject * _arg1; | |
5285 | PyObject * _arg2; | |
5286 | PyObject * _argo0 = 0; | |
5287 | PyObject * _obj1 = 0; | |
5288 | PyObject * _obj2 = 0; | |
5289 | char *_kwnames[] = { "self","self","_class", NULL }; | |
5290 | ||
5291 | self = self; | |
5292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
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__setSelf. Expected _wxPyDrawnShape_p."); | |
5298 | return NULL; | |
5299 | } | |
5300 | } | |
5301 | { | |
5302 | _arg1 = _obj1; | |
5303 | } | |
5304 | { | |
5305 | _arg2 = _obj2; | |
5306 | } | |
5307 | { | |
5308 | wxPy_BEGIN_ALLOW_THREADS; | |
5309 | wxPyDrawnShape__setSelf(_arg0,_arg1,_arg2); | |
5310 | ||
5311 | wxPy_END_ALLOW_THREADS; | |
5312 | } Py_INCREF(Py_None); | |
5313 | _resultobj = Py_None; | |
5314 | return _resultobj; | |
5315 | } | |
5316 | ||
5317 | #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
5318 | static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5319 | PyObject * _resultobj; | |
5320 | wxPyDrawnShape * _arg0; | |
5321 | PyObject * _argo0 = 0; | |
5322 | char *_kwnames[] = { "self", NULL }; | |
5323 | ||
5324 | self = self; | |
5325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0)) | |
5326 | return NULL; | |
5327 | if (_argo0) { | |
5328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p."); | |
5331 | return NULL; | |
5332 | } | |
5333 | } | |
5334 | { | |
5335 | wxPy_BEGIN_ALLOW_THREADS; | |
5336 | wxPyDrawnShape_CalculateSize(_arg0); | |
5337 | ||
5338 | wxPy_END_ALLOW_THREADS; | |
5339 | } Py_INCREF(Py_None); | |
5340 | _resultobj = Py_None; | |
5341 | return _resultobj; | |
5342 | } | |
5343 | ||
5344 | #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
5345 | static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5346 | PyObject * _resultobj; | |
5347 | wxPyDrawnShape * _arg0; | |
5348 | PyObject * _argo0 = 0; | |
5349 | char *_kwnames[] = { "self", NULL }; | |
5350 | ||
5351 | self = self; | |
5352 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0)) | |
5353 | return NULL; | |
5354 | if (_argo0) { | |
5355 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5356 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p."); | |
5358 | return NULL; | |
5359 | } | |
5360 | } | |
5361 | { | |
5362 | wxPy_BEGIN_ALLOW_THREADS; | |
5363 | wxPyDrawnShape_DestroyClippingRect(_arg0); | |
5364 | ||
5365 | wxPy_END_ALLOW_THREADS; | |
5366 | } Py_INCREF(Py_None); | |
5367 | _resultobj = Py_None; | |
5368 | return _resultobj; | |
5369 | } | |
5370 | ||
5371 | #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
5372 | static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5373 | PyObject * _resultobj; | |
5374 | wxPyDrawnShape * _arg0; | |
5375 | wxPoint * _arg1; | |
5376 | wxPoint * _arg2; | |
5377 | wxPoint * _arg3; | |
5378 | PyObject * _argo0 = 0; | |
5379 | wxPoint temp; | |
5380 | PyObject * _obj1 = 0; | |
5381 | wxPoint temp0; | |
5382 | PyObject * _obj2 = 0; | |
5383 | wxPoint temp1; | |
5384 | PyObject * _obj3 = 0; | |
5385 | char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL }; | |
5386 | ||
5387 | self = self; | |
5388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) | |
5389 | return NULL; | |
5390 | if (_argo0) { | |
5391 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5392 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5393 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p."); | |
5394 | return NULL; | |
5395 | } | |
5396 | } | |
5397 | { | |
5398 | _arg1 = &temp; | |
5399 | if (! wxPoint_helper(_obj1, &_arg1)) | |
5400 | return NULL; | |
5401 | } | |
5402 | { | |
5403 | _arg2 = &temp0; | |
5404 | if (! wxPoint_helper(_obj2, &_arg2)) | |
5405 | return NULL; | |
5406 | } | |
5407 | { | |
5408 | _arg3 = &temp1; | |
5409 | if (! wxPoint_helper(_obj3, &_arg3)) | |
5410 | return NULL; | |
5411 | } | |
5412 | { | |
5413 | wxPy_BEGIN_ALLOW_THREADS; | |
5414 | wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); | |
5415 | ||
5416 | wxPy_END_ALLOW_THREADS; | |
5417 | } Py_INCREF(Py_None); | |
5418 | _resultobj = Py_None; | |
5419 | return _resultobj; | |
5420 | } | |
5421 | ||
5422 | #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0)) | |
5423 | static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5424 | PyObject * _resultobj; | |
5425 | wxPyDrawnShape * _arg0; | |
5426 | int _arg1; | |
5427 | PyObject * _argo0 = 0; | |
5428 | char *_kwnames[] = { "self","angle", NULL }; | |
5429 | ||
5430 | self = self; | |
5431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1)) | |
5432 | return NULL; | |
5433 | if (_argo0) { | |
5434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p."); | |
5437 | return NULL; | |
5438 | } | |
5439 | } | |
5440 | { | |
5441 | wxPy_BEGIN_ALLOW_THREADS; | |
5442 | wxPyDrawnShape_DrawAtAngle(_arg0,_arg1); | |
5443 | ||
5444 | wxPy_END_ALLOW_THREADS; | |
5445 | } Py_INCREF(Py_None); | |
5446 | _resultobj = Py_None; | |
5447 | return _resultobj; | |
5448 | } | |
5449 | ||
5450 | #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
5451 | static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5452 | PyObject * _resultobj; | |
5453 | wxPyDrawnShape * _arg0; | |
5454 | wxRect * _arg1; | |
5455 | double _arg2; | |
5456 | double _arg3; | |
5457 | PyObject * _argo0 = 0; | |
5458 | wxRect temp; | |
5459 | PyObject * _obj1 = 0; | |
5460 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; | |
5461 | ||
5462 | self = self; | |
5463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) | |
5464 | return NULL; | |
5465 | if (_argo0) { | |
5466 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5467 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p."); | |
5469 | return NULL; | |
5470 | } | |
5471 | } | |
5472 | { | |
5473 | _arg1 = &temp; | |
5474 | if (! wxRect_helper(_obj1, &_arg1)) | |
5475 | return NULL; | |
5476 | } | |
5477 | { | |
5478 | wxPy_BEGIN_ALLOW_THREADS; | |
5479 | wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); | |
5480 | ||
5481 | wxPy_END_ALLOW_THREADS; | |
5482 | } Py_INCREF(Py_None); | |
5483 | _resultobj = Py_None; | |
5484 | return _resultobj; | |
5485 | } | |
5486 | ||
5487 | #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
5488 | static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5489 | PyObject * _resultobj; | |
5490 | wxPyDrawnShape * _arg0; | |
5491 | wxPoint * _arg1; | |
5492 | wxPoint * _arg2; | |
5493 | PyObject * _argo0 = 0; | |
5494 | wxPoint temp; | |
5495 | PyObject * _obj1 = 0; | |
5496 | wxPoint temp0; | |
5497 | PyObject * _obj2 = 0; | |
5498 | char *_kwnames[] = { "self","point1","point2", NULL }; | |
5499 | ||
5500 | self = self; | |
5501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) | |
5502 | return NULL; | |
5503 | if (_argo0) { | |
5504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p."); | |
5507 | return NULL; | |
5508 | } | |
5509 | } | |
5510 | { | |
5511 | _arg1 = &temp; | |
5512 | if (! wxPoint_helper(_obj1, &_arg1)) | |
5513 | return NULL; | |
5514 | } | |
5515 | { | |
5516 | _arg2 = &temp0; | |
5517 | if (! wxPoint_helper(_obj2, &_arg2)) | |
5518 | return NULL; | |
5519 | } | |
5520 | { | |
5521 | wxPy_BEGIN_ALLOW_THREADS; | |
5522 | wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2); | |
5523 | ||
5524 | wxPy_END_ALLOW_THREADS; | |
5525 | } Py_INCREF(Py_None); | |
5526 | _resultobj = Py_None; | |
5527 | return _resultobj; | |
5528 | } | |
5529 | ||
5530 | #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
5531 | static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5532 | PyObject * _resultobj; | |
5533 | wxPyDrawnShape * _arg0; | |
5534 | int _arg1; | |
5535 | wxPoint * _arg2; | |
5536 | PyObject * _argo0 = 0; | |
5537 | int NPOINTS; | |
5538 | PyObject * _obj2 = 0; | |
5539 | char *_kwnames[] = { "self","points", NULL }; | |
5540 | ||
5541 | self = self; | |
5542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2)) | |
5543 | return NULL; | |
5544 | if (_argo0) { | |
5545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p."); | |
5548 | return NULL; | |
5549 | } | |
5550 | } | |
5551 | if (_obj2) | |
5552 | { | |
5553 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); | |
5554 | if (_arg2 == NULL) { | |
5555 | return NULL; | |
5556 | } | |
5557 | } | |
5558 | { | |
5559 | _arg1 = NPOINTS; | |
5560 | } | |
5561 | { | |
5562 | wxPy_BEGIN_ALLOW_THREADS; | |
5563 | wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2); | |
5564 | ||
5565 | wxPy_END_ALLOW_THREADS; | |
5566 | } Py_INCREF(Py_None); | |
5567 | _resultobj = Py_None; | |
5568 | { | |
5569 | delete [] _arg2; | |
5570 | } | |
5571 | return _resultobj; | |
5572 | } | |
5573 | ||
5574 | #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
5575 | static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5576 | PyObject * _resultobj; | |
5577 | wxPyDrawnShape * _arg0; | |
5578 | wxPoint * _arg1; | |
5579 | PyObject * _argo0 = 0; | |
5580 | wxPoint temp; | |
5581 | PyObject * _obj1 = 0; | |
5582 | char *_kwnames[] = { "self","point", NULL }; | |
5583 | ||
5584 | self = self; | |
5585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1)) | |
5586 | return NULL; | |
5587 | if (_argo0) { | |
5588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p."); | |
5591 | return NULL; | |
5592 | } | |
5593 | } | |
5594 | { | |
5595 | _arg1 = &temp; | |
5596 | if (! wxPoint_helper(_obj1, &_arg1)) | |
5597 | return NULL; | |
5598 | } | |
5599 | { | |
5600 | wxPy_BEGIN_ALLOW_THREADS; | |
5601 | wxPyDrawnShape_DrawPoint(_arg0,*_arg1); | |
5602 | ||
5603 | wxPy_END_ALLOW_THREADS; | |
5604 | } Py_INCREF(Py_None); | |
5605 | _resultobj = Py_None; | |
5606 | return _resultobj; | |
5607 | } | |
5608 | ||
5609 | #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
5610 | static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5611 | PyObject * _resultobj; | |
5612 | wxPyDrawnShape * _arg0; | |
5613 | int _arg1; | |
5614 | wxPoint * _arg2; | |
5615 | int _arg3 = (int ) 0; | |
5616 | PyObject * _argo0 = 0; | |
5617 | int NPOINTS; | |
5618 | PyObject * _obj2 = 0; | |
5619 | char *_kwnames[] = { "self","points","flags", NULL }; | |
5620 | ||
5621 | self = self; | |
5622 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
5623 | return NULL; | |
5624 | if (_argo0) { | |
5625 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5626 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5627 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p."); | |
5628 | return NULL; | |
5629 | } | |
5630 | } | |
5631 | if (_obj2) | |
5632 | { | |
5633 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); | |
5634 | if (_arg2 == NULL) { | |
5635 | return NULL; | |
5636 | } | |
5637 | } | |
5638 | { | |
5639 | _arg1 = NPOINTS; | |
5640 | } | |
5641 | { | |
5642 | wxPy_BEGIN_ALLOW_THREADS; | |
5643 | wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3); | |
5644 | ||
5645 | wxPy_END_ALLOW_THREADS; | |
5646 | } Py_INCREF(Py_None); | |
5647 | _resultobj = Py_None; | |
5648 | { | |
5649 | delete [] _arg2; | |
5650 | } | |
5651 | return _resultobj; | |
5652 | } | |
5653 | ||
5654 | #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
5655 | static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5656 | PyObject * _resultobj; | |
5657 | wxPyDrawnShape * _arg0; | |
5658 | wxRect * _arg1; | |
5659 | PyObject * _argo0 = 0; | |
5660 | wxRect temp; | |
5661 | PyObject * _obj1 = 0; | |
5662 | char *_kwnames[] = { "self","rect", NULL }; | |
5663 | ||
5664 | self = self; | |
5665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1)) | |
5666 | return NULL; | |
5667 | if (_argo0) { | |
5668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p."); | |
5671 | return NULL; | |
5672 | } | |
5673 | } | |
5674 | { | |
5675 | _arg1 = &temp; | |
5676 | if (! wxRect_helper(_obj1, &_arg1)) | |
5677 | return NULL; | |
5678 | } | |
5679 | { | |
5680 | wxPy_BEGIN_ALLOW_THREADS; | |
5681 | wxPyDrawnShape_DrawRectangle(_arg0,*_arg1); | |
5682 | ||
5683 | wxPy_END_ALLOW_THREADS; | |
5684 | } Py_INCREF(Py_None); | |
5685 | _resultobj = Py_None; | |
5686 | return _resultobj; | |
5687 | } | |
5688 | ||
5689 | #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
5690 | static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5691 | PyObject * _resultobj; | |
5692 | wxPyDrawnShape * _arg0; | |
5693 | wxRect * _arg1; | |
5694 | double _arg2; | |
5695 | PyObject * _argo0 = 0; | |
5696 | wxRect temp; | |
5697 | PyObject * _obj1 = 0; | |
5698 | char *_kwnames[] = { "self","rect","radius", NULL }; | |
5699 | ||
5700 | self = self; | |
5701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) | |
5702 | return NULL; | |
5703 | if (_argo0) { | |
5704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p."); | |
5707 | return NULL; | |
5708 | } | |
5709 | } | |
5710 | { | |
5711 | _arg1 = &temp; | |
5712 | if (! wxRect_helper(_obj1, &_arg1)) | |
5713 | return NULL; | |
5714 | } | |
5715 | { | |
5716 | wxPy_BEGIN_ALLOW_THREADS; | |
5717 | wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2); | |
5718 | ||
5719 | wxPy_END_ALLOW_THREADS; | |
5720 | } Py_INCREF(Py_None); | |
5721 | _resultobj = Py_None; | |
5722 | return _resultobj; | |
5723 | } | |
5724 | ||
5725 | #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
5726 | static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5727 | PyObject * _resultobj; | |
5728 | wxPyDrawnShape * _arg0; | |
5729 | int _arg1; | |
5730 | wxPoint * _arg2; | |
5731 | PyObject * _argo0 = 0; | |
5732 | int NPOINTS; | |
5733 | PyObject * _obj2 = 0; | |
5734 | char *_kwnames[] = { "self","points", NULL }; | |
5735 | ||
5736 | self = self; | |
5737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
5738 | return NULL; | |
5739 | if (_argo0) { | |
5740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p."); | |
5743 | return NULL; | |
5744 | } | |
5745 | } | |
5746 | if (_obj2) | |
5747 | { | |
5748 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); | |
5749 | if (_arg2 == NULL) { | |
5750 | return NULL; | |
5751 | } | |
5752 | } | |
5753 | { | |
5754 | _arg1 = NPOINTS; | |
5755 | } | |
5756 | { | |
5757 | wxPy_BEGIN_ALLOW_THREADS; | |
5758 | wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2); | |
5759 | ||
5760 | wxPy_END_ALLOW_THREADS; | |
5761 | } Py_INCREF(Py_None); | |
5762 | _resultobj = Py_None; | |
5763 | { | |
5764 | delete [] _arg2; | |
5765 | } | |
5766 | return _resultobj; | |
5767 | } | |
5768 | ||
5769 | #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
5770 | static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5771 | PyObject * _resultobj; | |
5772 | wxPyDrawnShape * _arg0; | |
5773 | wxString * _arg1; | |
5774 | wxPoint * _arg2; | |
5775 | PyObject * _argo0 = 0; | |
5776 | PyObject * _obj1 = 0; | |
5777 | wxPoint temp; | |
5778 | PyObject * _obj2 = 0; | |
5779 | char *_kwnames[] = { "self","text","point", NULL }; | |
5780 | ||
5781 | self = self; | |
5782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) | |
5783 | return NULL; | |
5784 | if (_argo0) { | |
5785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p."); | |
5788 | return NULL; | |
5789 | } | |
5790 | } | |
5791 | { | |
5792 | #if PYTHON_API_VERSION >= 1009 | |
5793 | char* tmpPtr; int tmpSize; | |
5794 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
5795 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
5796 | return NULL; | |
5797 | } | |
5798 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
5799 | return NULL; | |
5800 | _arg1 = new wxString(tmpPtr, tmpSize); | |
5801 | #else | |
5802 | if (!PyString_Check(_obj1)) { | |
5803 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5804 | return NULL; | |
5805 | } | |
5806 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
5807 | #endif | |
5808 | } | |
5809 | { | |
5810 | _arg2 = &temp; | |
5811 | if (! wxPoint_helper(_obj2, &_arg2)) | |
5812 | return NULL; | |
5813 | } | |
5814 | { | |
5815 | wxPy_BEGIN_ALLOW_THREADS; | |
5816 | wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2); | |
5817 | ||
5818 | wxPy_END_ALLOW_THREADS; | |
5819 | } Py_INCREF(Py_None); | |
5820 | _resultobj = Py_None; | |
5821 | { | |
5822 | if (_obj1) | |
5823 | delete _arg1; | |
5824 | } | |
5825 | return _resultobj; | |
5826 | } | |
5827 | ||
5828 | #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle()) | |
5829 | static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5830 | PyObject * _resultobj; | |
5831 | int _result; | |
5832 | wxPyDrawnShape * _arg0; | |
5833 | PyObject * _argo0 = 0; | |
5834 | char *_kwnames[] = { "self", NULL }; | |
5835 | ||
5836 | self = self; | |
5837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0)) | |
5838 | return NULL; | |
5839 | if (_argo0) { | |
5840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p."); | |
5843 | return NULL; | |
5844 | } | |
5845 | } | |
5846 | { | |
5847 | wxPy_BEGIN_ALLOW_THREADS; | |
5848 | _result = (int )wxPyDrawnShape_GetAngle(_arg0); | |
5849 | ||
5850 | wxPy_END_ALLOW_THREADS; | |
5851 | } _resultobj = Py_BuildValue("i",_result); | |
5852 | return _resultobj; | |
5853 | } | |
5854 | ||
5855 | #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
5856 | static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5857 | PyObject * _resultobj; | |
5858 | wxPseudoMetaFile * _result; | |
5859 | wxPyDrawnShape * _arg0; | |
5860 | PyObject * _argo0 = 0; | |
5861 | char *_kwnames[] = { "self", NULL }; | |
5862 | char _ptemp[128]; | |
5863 | ||
5864 | self = self; | |
5865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0)) | |
5866 | return NULL; | |
5867 | if (_argo0) { | |
5868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p."); | |
5871 | return NULL; | |
5872 | } | |
5873 | } | |
5874 | { | |
5875 | wxPy_BEGIN_ALLOW_THREADS; | |
5876 | wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0); | |
5877 | _result = (wxPseudoMetaFile *) &_result_ref; | |
5878 | ||
5879 | wxPy_END_ALLOW_THREADS; | |
5880 | } if (_result) { | |
5881 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
5882 | _resultobj = Py_BuildValue("s",_ptemp); | |
5883 | } else { | |
5884 | Py_INCREF(Py_None); | |
5885 | _resultobj = Py_None; | |
5886 | } | |
5887 | return _resultobj; | |
5888 | } | |
5889 | ||
5890 | #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
5891 | static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5892 | PyObject * _resultobj; | |
5893 | double _result; | |
5894 | wxPyDrawnShape * _arg0; | |
5895 | PyObject * _argo0 = 0; | |
5896 | char *_kwnames[] = { "self", NULL }; | |
5897 | ||
5898 | self = self; | |
5899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0)) | |
5900 | return NULL; | |
5901 | if (_argo0) { | |
5902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p."); | |
5905 | return NULL; | |
5906 | } | |
5907 | } | |
5908 | { | |
5909 | wxPy_BEGIN_ALLOW_THREADS; | |
5910 | _result = (double )wxPyDrawnShape_GetRotation(_arg0); | |
5911 | ||
5912 | wxPy_END_ALLOW_THREADS; | |
5913 | } _resultobj = Py_BuildValue("d",_result); | |
5914 | return _resultobj; | |
5915 | } | |
5916 | ||
5917 | #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0)) | |
5918 | static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5919 | PyObject * _resultobj; | |
5920 | bool _result; | |
5921 | wxPyDrawnShape * _arg0; | |
5922 | char * _arg1; | |
5923 | PyObject * _argo0 = 0; | |
5924 | char *_kwnames[] = { "self","filename", NULL }; | |
5925 | ||
5926 | self = self; | |
5927 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1)) | |
5928 | return NULL; | |
5929 | if (_argo0) { | |
5930 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5931 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5932 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p."); | |
5933 | return NULL; | |
5934 | } | |
5935 | } | |
5936 | { | |
5937 | wxPy_BEGIN_ALLOW_THREADS; | |
5938 | _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1); | |
5939 | ||
5940 | wxPy_END_ALLOW_THREADS; | |
5941 | } _resultobj = Py_BuildValue("i",_result); | |
5942 | return _resultobj; | |
5943 | } | |
5944 | ||
5945 | #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
5946 | static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5947 | PyObject * _resultobj; | |
5948 | wxPyDrawnShape * _arg0; | |
5949 | double _arg1; | |
5950 | double _arg2; | |
5951 | double _arg3; | |
5952 | PyObject * _argo0 = 0; | |
5953 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
5954 | ||
5955 | self = self; | |
5956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5957 | return NULL; | |
5958 | if (_argo0) { | |
5959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p."); | |
5962 | return NULL; | |
5963 | } | |
5964 | } | |
5965 | { | |
5966 | wxPy_BEGIN_ALLOW_THREADS; | |
5967 | wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3); | |
5968 | ||
5969 | wxPy_END_ALLOW_THREADS; | |
5970 | } Py_INCREF(Py_None); | |
5971 | _resultobj = Py_None; | |
5972 | return _resultobj; | |
5973 | } | |
5974 | ||
5975 | #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
5976 | static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5977 | PyObject * _resultobj; | |
5978 | wxPyDrawnShape * _arg0; | |
5979 | wxRect * _arg1; | |
5980 | PyObject * _argo0 = 0; | |
5981 | wxRect temp; | |
5982 | PyObject * _obj1 = 0; | |
5983 | char *_kwnames[] = { "self","rect", NULL }; | |
5984 | ||
5985 | self = self; | |
5986 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1)) | |
5987 | return NULL; | |
5988 | if (_argo0) { | |
5989 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5990 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5991 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p."); | |
5992 | return NULL; | |
5993 | } | |
5994 | } | |
5995 | { | |
5996 | _arg1 = &temp; | |
5997 | if (! wxRect_helper(_obj1, &_arg1)) | |
5998 | return NULL; | |
5999 | } | |
6000 | { | |
6001 | wxPy_BEGIN_ALLOW_THREADS; | |
6002 | wxPyDrawnShape_SetClippingRect(_arg0,*_arg1); | |
6003 | ||
6004 | wxPy_END_ALLOW_THREADS; | |
6005 | } Py_INCREF(Py_None); | |
6006 | _resultobj = Py_None; | |
6007 | return _resultobj; | |
6008 | } | |
6009 | ||
6010 | #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0)) | |
6011 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6012 | PyObject * _resultobj; | |
6013 | wxPyDrawnShape * _arg0; | |
6014 | wxColour * _arg1; | |
6015 | PyObject * _argo0 = 0; | |
6016 | wxColour temp; | |
6017 | PyObject * _obj1 = 0; | |
6018 | char *_kwnames[] = { "self","colour", NULL }; | |
6019 | ||
6020 | self = self; | |
6021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1)) | |
6022 | return NULL; | |
6023 | if (_argo0) { | |
6024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p."); | |
6027 | return NULL; | |
6028 | } | |
6029 | } | |
6030 | { | |
6031 | _arg1 = &temp; | |
6032 | if (! wxColour_helper(_obj1, &_arg1)) | |
6033 | return NULL; | |
6034 | } | |
6035 | { | |
6036 | wxPy_BEGIN_ALLOW_THREADS; | |
6037 | wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1); | |
6038 | ||
6039 | wxPy_END_ALLOW_THREADS; | |
6040 | } Py_INCREF(Py_None); | |
6041 | _resultobj = Py_None; | |
6042 | return _resultobj; | |
6043 | } | |
6044 | ||
6045 | #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0)) | |
6046 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6047 | PyObject * _resultobj; | |
6048 | wxPyDrawnShape * _arg0; | |
6049 | int _arg1; | |
6050 | PyObject * _argo0 = 0; | |
6051 | char *_kwnames[] = { "self","mode", NULL }; | |
6052 | ||
6053 | self = self; | |
6054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
6055 | return NULL; | |
6056 | if (_argo0) { | |
6057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p."); | |
6060 | return NULL; | |
6061 | } | |
6062 | } | |
6063 | { | |
6064 | wxPy_BEGIN_ALLOW_THREADS; | |
6065 | wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1); | |
6066 | ||
6067 | wxPy_END_ALLOW_THREADS; | |
6068 | } Py_INCREF(Py_None); | |
6069 | _resultobj = Py_None; | |
6070 | return _resultobj; | |
6071 | } | |
6072 | ||
6073 | #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1)) | |
6074 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6075 | PyObject * _resultobj; | |
6076 | wxPyDrawnShape * _arg0; | |
6077 | wxBrush * _arg1; | |
6078 | bool _arg2 = (bool ) FALSE; | |
6079 | PyObject * _argo0 = 0; | |
6080 | PyObject * _obj1 = 0; | |
6081 | int tempbool2 = (int) FALSE; | |
6082 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6083 | ||
6084 | self = self; | |
6085 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2)) | |
6086 | return NULL; | |
6087 | if (_argo0) { | |
6088 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6089 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p."); | |
6091 | return NULL; | |
6092 | } | |
6093 | } | |
6094 | { | |
6095 | wxBrush* temp; | |
6096 | if (_obj1) { | |
6097 | if (_obj1 == Py_None) { temp = NULL; } | |
6098 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) { | |
6099 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p."); | |
6100 | return NULL; | |
6101 | } | |
6102 | } | |
6103 | if (temp) | |
6104 | _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle()); | |
6105 | else | |
6106 | _arg1 = NULL; | |
6107 | } | |
6108 | _arg2 = (bool ) tempbool2; | |
6109 | { | |
6110 | wxPy_BEGIN_ALLOW_THREADS; | |
6111 | wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2); | |
6112 | ||
6113 | wxPy_END_ALLOW_THREADS; | |
6114 | } Py_INCREF(Py_None); | |
6115 | _resultobj = Py_None; | |
6116 | return _resultobj; | |
6117 | } | |
6118 | ||
6119 | #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0)) | |
6120 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6121 | PyObject * _resultobj; | |
6122 | wxPyDrawnShape * _arg0; | |
6123 | wxFont * _arg1; | |
6124 | PyObject * _argo0 = 0; | |
6125 | PyObject * _obj1 = 0; | |
6126 | char *_kwnames[] = { "self","font", NULL }; | |
6127 | ||
6128 | self = self; | |
6129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1)) | |
6130 | return NULL; | |
6131 | if (_argo0) { | |
6132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p."); | |
6135 | return NULL; | |
6136 | } | |
6137 | } | |
6138 | { | |
6139 | wxFont* temp; | |
6140 | if (_obj1) { | |
6141 | if (_obj1 == Py_None) { temp = NULL; } | |
6142 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) { | |
6143 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p."); | |
6144 | return NULL; | |
6145 | } | |
6146 | } | |
6147 | if (temp) | |
6148 | _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(), | |
6149 | temp->GetFamily(), | |
6150 | temp->GetStyle(), | |
6151 | temp->GetWeight(), | |
6152 | temp->GetUnderlined(), | |
6153 | temp->GetFaceName(), | |
6154 | temp->GetEncoding()); | |
6155 | else | |
6156 | _arg1 = NULL; | |
6157 | } | |
6158 | { | |
6159 | wxPy_BEGIN_ALLOW_THREADS; | |
6160 | wxPyDrawnShape_SetDrawnFont(_arg0,_arg1); | |
6161 | ||
6162 | wxPy_END_ALLOW_THREADS; | |
6163 | } Py_INCREF(Py_None); | |
6164 | _resultobj = Py_None; | |
6165 | return _resultobj; | |
6166 | } | |
6167 | ||
6168 | #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1)) | |
6169 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6170 | PyObject * _resultobj; | |
6171 | wxPyDrawnShape * _arg0; | |
6172 | wxPen * _arg1; | |
6173 | bool _arg2 = (bool ) FALSE; | |
6174 | PyObject * _argo0 = 0; | |
6175 | PyObject * _obj1 = 0; | |
6176 | int tempbool2 = (int) FALSE; | |
6177 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6178 | ||
6179 | self = self; | |
6180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2)) | |
6181 | return NULL; | |
6182 | if (_argo0) { | |
6183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p."); | |
6186 | return NULL; | |
6187 | } | |
6188 | } | |
6189 | { | |
6190 | wxPen* temp; | |
6191 | if (_obj1) { | |
6192 | if (_obj1 == Py_None) { temp = NULL; } | |
6193 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
6194 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
6195 | return NULL; | |
6196 | } | |
6197 | } | |
6198 | if (temp) | |
6199 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
6200 | temp->GetWidth(), | |
6201 | temp->GetStyle()); | |
6202 | else | |
6203 | _arg1 = NULL; | |
6204 | } | |
6205 | _arg2 = (bool ) tempbool2; | |
6206 | { | |
6207 | wxPy_BEGIN_ALLOW_THREADS; | |
6208 | wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2); | |
6209 | ||
6210 | wxPy_END_ALLOW_THREADS; | |
6211 | } Py_INCREF(Py_None); | |
6212 | _resultobj = Py_None; | |
6213 | return _resultobj; | |
6214 | } | |
6215 | ||
6216 | #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0)) | |
6217 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6218 | PyObject * _resultobj; | |
6219 | wxPyDrawnShape * _arg0; | |
6220 | wxColour * _arg1; | |
6221 | PyObject * _argo0 = 0; | |
6222 | wxColour temp; | |
6223 | PyObject * _obj1 = 0; | |
6224 | char *_kwnames[] = { "self","colour", NULL }; | |
6225 | ||
6226 | self = self; | |
6227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1)) | |
6228 | return NULL; | |
6229 | if (_argo0) { | |
6230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p."); | |
6233 | return NULL; | |
6234 | } | |
6235 | } | |
6236 | { | |
6237 | _arg1 = &temp; | |
6238 | if (! wxColour_helper(_obj1, &_arg1)) | |
6239 | return NULL; | |
6240 | } | |
6241 | { | |
6242 | wxPy_BEGIN_ALLOW_THREADS; | |
6243 | wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1); | |
6244 | ||
6245 | wxPy_END_ALLOW_THREADS; | |
6246 | } Py_INCREF(Py_None); | |
6247 | _resultobj = Py_None; | |
6248 | return _resultobj; | |
6249 | } | |
6250 | ||
6251 | #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
6252 | static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6253 | PyObject * _resultobj; | |
6254 | wxPyDrawnShape * _arg0; | |
6255 | double _arg1; | |
6256 | double _arg2; | |
6257 | PyObject * _argo0 = 0; | |
6258 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
6259 | ||
6260 | self = self; | |
6261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6262 | return NULL; | |
6263 | if (_argo0) { | |
6264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p."); | |
6267 | return NULL; | |
6268 | } | |
6269 | } | |
6270 | { | |
6271 | wxPy_BEGIN_ALLOW_THREADS; | |
6272 | wxPyDrawnShape_Scale(_arg0,_arg1,_arg2); | |
6273 | ||
6274 | wxPy_END_ALLOW_THREADS; | |
6275 | } Py_INCREF(Py_None); | |
6276 | _resultobj = Py_None; | |
6277 | return _resultobj; | |
6278 | } | |
6279 | ||
6280 | #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0)) | |
6281 | static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6282 | PyObject * _resultobj; | |
6283 | wxPyDrawnShape * _arg0; | |
6284 | bool _arg1; | |
6285 | PyObject * _argo0 = 0; | |
6286 | int tempbool1; | |
6287 | char *_kwnames[] = { "self","save", NULL }; | |
6288 | ||
6289 | self = self; | |
6290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1)) | |
6291 | return NULL; | |
6292 | if (_argo0) { | |
6293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p."); | |
6296 | return NULL; | |
6297 | } | |
6298 | } | |
6299 | _arg1 = (bool ) tempbool1; | |
6300 | { | |
6301 | wxPy_BEGIN_ALLOW_THREADS; | |
6302 | wxPyDrawnShape_SetSaveToFile(_arg0,_arg1); | |
6303 | ||
6304 | wxPy_END_ALLOW_THREADS; | |
6305 | } Py_INCREF(Py_None); | |
6306 | _resultobj = Py_None; | |
6307 | return _resultobj; | |
6308 | } | |
6309 | ||
6310 | #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
6311 | static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6312 | PyObject * _resultobj; | |
6313 | wxPyDrawnShape * _arg0; | |
6314 | double _arg1; | |
6315 | double _arg2; | |
6316 | PyObject * _argo0 = 0; | |
6317 | char *_kwnames[] = { "self","x","y", NULL }; | |
6318 | ||
6319 | self = self; | |
6320 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6321 | return NULL; | |
6322 | if (_argo0) { | |
6323 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6324 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6325 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p."); | |
6326 | return NULL; | |
6327 | } | |
6328 | } | |
6329 | { | |
6330 | wxPy_BEGIN_ALLOW_THREADS; | |
6331 | wxPyDrawnShape_Translate(_arg0,_arg1,_arg2); | |
6332 | ||
6333 | wxPy_END_ALLOW_THREADS; | |
6334 | } Py_INCREF(Py_None); | |
6335 | _resultobj = Py_None; | |
6336 | return _resultobj; | |
6337 | } | |
6338 | ||
6339 | #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6340 | static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6341 | PyObject * _resultobj; | |
6342 | wxPyDrawnShape * _arg0; | |
6343 | PyObject * _argo0 = 0; | |
6344 | char *_kwnames[] = { "self", NULL }; | |
6345 | ||
6346 | self = self; | |
6347 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0)) | |
6348 | return NULL; | |
6349 | if (_argo0) { | |
6350 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6351 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6352 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p."); | |
6353 | return NULL; | |
6354 | } | |
6355 | } | |
6356 | { | |
6357 | wxPy_BEGIN_ALLOW_THREADS; | |
6358 | wxPyDrawnShape_base_OnDelete(_arg0); | |
6359 | ||
6360 | wxPy_END_ALLOW_THREADS; | |
6361 | } Py_INCREF(Py_None); | |
6362 | _resultobj = Py_None; | |
6363 | return _resultobj; | |
6364 | } | |
6365 | ||
6366 | #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6367 | static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6368 | PyObject * _resultobj; | |
6369 | wxPyDrawnShape * _arg0; | |
6370 | wxDC * _arg1; | |
6371 | PyObject * _argo0 = 0; | |
6372 | PyObject * _argo1 = 0; | |
6373 | char *_kwnames[] = { "self","dc", NULL }; | |
6374 | ||
6375 | self = self; | |
6376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6377 | return NULL; | |
6378 | if (_argo0) { | |
6379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p."); | |
6382 | return NULL; | |
6383 | } | |
6384 | } | |
6385 | if (_argo1) { | |
6386 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6387 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p."); | |
6389 | return NULL; | |
6390 | } | |
6391 | } | |
6392 | { | |
6393 | wxPy_BEGIN_ALLOW_THREADS; | |
6394 | wxPyDrawnShape_base_OnDraw(_arg0,*_arg1); | |
6395 | ||
6396 | wxPy_END_ALLOW_THREADS; | |
6397 | } Py_INCREF(Py_None); | |
6398 | _resultobj = Py_None; | |
6399 | return _resultobj; | |
6400 | } | |
6401 | ||
6402 | #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6403 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6404 | PyObject * _resultobj; | |
6405 | wxPyDrawnShape * _arg0; | |
6406 | wxDC * _arg1; | |
6407 | PyObject * _argo0 = 0; | |
6408 | PyObject * _argo1 = 0; | |
6409 | char *_kwnames[] = { "self","dc", NULL }; | |
6410 | ||
6411 | self = self; | |
6412 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6413 | return NULL; | |
6414 | if (_argo0) { | |
6415 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6416 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6417 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p."); | |
6418 | return NULL; | |
6419 | } | |
6420 | } | |
6421 | if (_argo1) { | |
6422 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6423 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p."); | |
6425 | return NULL; | |
6426 | } | |
6427 | } | |
6428 | { | |
6429 | wxPy_BEGIN_ALLOW_THREADS; | |
6430 | wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1); | |
6431 | ||
6432 | wxPy_END_ALLOW_THREADS; | |
6433 | } Py_INCREF(Py_None); | |
6434 | _resultobj = Py_None; | |
6435 | return _resultobj; | |
6436 | } | |
6437 | ||
6438 | #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6439 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6440 | PyObject * _resultobj; | |
6441 | wxPyDrawnShape * _arg0; | |
6442 | wxDC * _arg1; | |
6443 | bool _arg2 = (bool ) FALSE; | |
6444 | PyObject * _argo0 = 0; | |
6445 | PyObject * _argo1 = 0; | |
6446 | int tempbool2 = (int) FALSE; | |
6447 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6448 | ||
6449 | self = self; | |
6450 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6451 | return NULL; | |
6452 | if (_argo0) { | |
6453 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6454 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p."); | |
6456 | return NULL; | |
6457 | } | |
6458 | } | |
6459 | if (_argo1) { | |
6460 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6461 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6462 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6463 | return NULL; | |
6464 | } | |
6465 | } | |
6466 | _arg2 = (bool ) tempbool2; | |
6467 | { | |
6468 | wxPy_BEGIN_ALLOW_THREADS; | |
6469 | wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6470 | ||
6471 | wxPy_END_ALLOW_THREADS; | |
6472 | } Py_INCREF(Py_None); | |
6473 | _resultobj = Py_None; | |
6474 | return _resultobj; | |
6475 | } | |
6476 | ||
6477 | #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6478 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6479 | PyObject * _resultobj; | |
6480 | wxPyDrawnShape * _arg0; | |
6481 | wxDC * _arg1; | |
6482 | PyObject * _argo0 = 0; | |
6483 | PyObject * _argo1 = 0; | |
6484 | char *_kwnames[] = { "self","dc", NULL }; | |
6485 | ||
6486 | self = self; | |
6487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6488 | return NULL; | |
6489 | if (_argo0) { | |
6490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p."); | |
6493 | return NULL; | |
6494 | } | |
6495 | } | |
6496 | if (_argo1) { | |
6497 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6498 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6500 | return NULL; | |
6501 | } | |
6502 | } | |
6503 | { | |
6504 | wxPy_BEGIN_ALLOW_THREADS; | |
6505 | wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1); | |
6506 | ||
6507 | wxPy_END_ALLOW_THREADS; | |
6508 | } Py_INCREF(Py_None); | |
6509 | _resultobj = Py_None; | |
6510 | return _resultobj; | |
6511 | } | |
6512 | ||
6513 | #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6514 | static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6515 | PyObject * _resultobj; | |
6516 | wxPyDrawnShape * _arg0; | |
6517 | wxDC * _arg1; | |
6518 | PyObject * _argo0 = 0; | |
6519 | PyObject * _argo1 = 0; | |
6520 | char *_kwnames[] = { "self","dc", NULL }; | |
6521 | ||
6522 | self = self; | |
6523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6524 | return NULL; | |
6525 | if (_argo0) { | |
6526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p."); | |
6529 | return NULL; | |
6530 | } | |
6531 | } | |
6532 | if (_argo1) { | |
6533 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6534 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p."); | |
6536 | return NULL; | |
6537 | } | |
6538 | } | |
6539 | { | |
6540 | wxPy_BEGIN_ALLOW_THREADS; | |
6541 | wxPyDrawnShape_base_OnErase(_arg0,*_arg1); | |
6542 | ||
6543 | wxPy_END_ALLOW_THREADS; | |
6544 | } Py_INCREF(Py_None); | |
6545 | _resultobj = Py_None; | |
6546 | return _resultobj; | |
6547 | } | |
6548 | ||
6549 | #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6550 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6551 | PyObject * _resultobj; | |
6552 | wxPyDrawnShape * _arg0; | |
6553 | wxDC * _arg1; | |
6554 | PyObject * _argo0 = 0; | |
6555 | PyObject * _argo1 = 0; | |
6556 | char *_kwnames[] = { "self","dc", NULL }; | |
6557 | ||
6558 | self = self; | |
6559 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6560 | return NULL; | |
6561 | if (_argo0) { | |
6562 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6563 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6564 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p."); | |
6565 | return NULL; | |
6566 | } | |
6567 | } | |
6568 | if (_argo1) { | |
6569 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6570 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6571 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p."); | |
6572 | return NULL; | |
6573 | } | |
6574 | } | |
6575 | { | |
6576 | wxPy_BEGIN_ALLOW_THREADS; | |
6577 | wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1); | |
6578 | ||
6579 | wxPy_END_ALLOW_THREADS; | |
6580 | } Py_INCREF(Py_None); | |
6581 | _resultobj = Py_None; | |
6582 | return _resultobj; | |
6583 | } | |
6584 | ||
6585 | #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6586 | static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6587 | PyObject * _resultobj; | |
6588 | wxPyDrawnShape * _arg0; | |
6589 | wxDC * _arg1; | |
6590 | PyObject * _argo0 = 0; | |
6591 | PyObject * _argo1 = 0; | |
6592 | char *_kwnames[] = { "self","dc", NULL }; | |
6593 | ||
6594 | self = self; | |
6595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6596 | return NULL; | |
6597 | if (_argo0) { | |
6598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p."); | |
6601 | return NULL; | |
6602 | } | |
6603 | } | |
6604 | if (_argo1) { | |
6605 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6606 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p."); | |
6608 | return NULL; | |
6609 | } | |
6610 | } | |
6611 | { | |
6612 | wxPy_BEGIN_ALLOW_THREADS; | |
6613 | wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1); | |
6614 | ||
6615 | wxPy_END_ALLOW_THREADS; | |
6616 | } Py_INCREF(Py_None); | |
6617 | _resultobj = Py_None; | |
6618 | return _resultobj; | |
6619 | } | |
6620 | ||
6621 | #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6622 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6623 | PyObject * _resultobj; | |
6624 | wxPyDrawnShape * _arg0; | |
6625 | double _arg1; | |
6626 | double _arg2; | |
6627 | int _arg3 = (int ) 0; | |
6628 | int _arg4 = (int ) 0; | |
6629 | PyObject * _argo0 = 0; | |
6630 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6631 | ||
6632 | self = self; | |
6633 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6634 | return NULL; | |
6635 | if (_argo0) { | |
6636 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6637 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6638 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p."); | |
6639 | return NULL; | |
6640 | } | |
6641 | } | |
6642 | { | |
6643 | wxPy_BEGIN_ALLOW_THREADS; | |
6644 | wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6645 | ||
6646 | wxPy_END_ALLOW_THREADS; | |
6647 | } Py_INCREF(Py_None); | |
6648 | _resultobj = Py_None; | |
6649 | return _resultobj; | |
6650 | } | |
6651 | ||
6652 | #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6653 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6654 | PyObject * _resultobj; | |
6655 | wxPyDrawnShape * _arg0; | |
6656 | double _arg1; | |
6657 | double _arg2; | |
6658 | int _arg3 = (int ) 0; | |
6659 | int _arg4 = (int ) 0; | |
6660 | PyObject * _argo0 = 0; | |
6661 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6662 | ||
6663 | self = self; | |
6664 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6665 | return NULL; | |
6666 | if (_argo0) { | |
6667 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6668 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6669 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p."); | |
6670 | return NULL; | |
6671 | } | |
6672 | } | |
6673 | { | |
6674 | wxPy_BEGIN_ALLOW_THREADS; | |
6675 | wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6676 | ||
6677 | wxPy_END_ALLOW_THREADS; | |
6678 | } Py_INCREF(Py_None); | |
6679 | _resultobj = Py_None; | |
6680 | return _resultobj; | |
6681 | } | |
6682 | ||
6683 | #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6684 | static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6685 | PyObject * _resultobj; | |
6686 | wxPyDrawnShape * _arg0; | |
6687 | double _arg1; | |
6688 | double _arg2; | |
6689 | int _arg3 = (int ) 0; | |
6690 | int _arg4 = (int ) 0; | |
6691 | PyObject * _argo0 = 0; | |
6692 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6693 | ||
6694 | self = self; | |
6695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6696 | return NULL; | |
6697 | if (_argo0) { | |
6698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p."); | |
6701 | return NULL; | |
6702 | } | |
6703 | } | |
6704 | { | |
6705 | wxPy_BEGIN_ALLOW_THREADS; | |
6706 | wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6707 | ||
6708 | wxPy_END_ALLOW_THREADS; | |
6709 | } Py_INCREF(Py_None); | |
6710 | _resultobj = Py_None; | |
6711 | return _resultobj; | |
6712 | } | |
6713 | ||
6714 | #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
6715 | static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6716 | PyObject * _resultobj; | |
6717 | wxPyDrawnShape * _arg0; | |
6718 | double _arg1; | |
6719 | double _arg2; | |
6720 | PyObject * _argo0 = 0; | |
6721 | char *_kwnames[] = { "self","x","y", NULL }; | |
6722 | ||
6723 | self = self; | |
6724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6725 | return NULL; | |
6726 | if (_argo0) { | |
6727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p."); | |
6730 | return NULL; | |
6731 | } | |
6732 | } | |
6733 | { | |
6734 | wxPy_BEGIN_ALLOW_THREADS; | |
6735 | wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2); | |
6736 | ||
6737 | wxPy_END_ALLOW_THREADS; | |
6738 | } Py_INCREF(Py_None); | |
6739 | _resultobj = Py_None; | |
6740 | return _resultobj; | |
6741 | } | |
6742 | ||
6743 | #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6744 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6745 | PyObject * _resultobj; | |
6746 | bool _result; | |
6747 | wxPyDrawnShape * _arg0; | |
6748 | wxDC * _arg1; | |
6749 | double _arg2; | |
6750 | double _arg3; | |
6751 | double _arg4; | |
6752 | double _arg5; | |
6753 | bool _arg6 = (bool ) TRUE; | |
6754 | PyObject * _argo0 = 0; | |
6755 | PyObject * _argo1 = 0; | |
6756 | int tempbool6 = (int) TRUE; | |
6757 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6758 | ||
6759 | self = self; | |
6760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6761 | return NULL; | |
6762 | if (_argo0) { | |
6763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p."); | |
6766 | return NULL; | |
6767 | } | |
6768 | } | |
6769 | if (_argo1) { | |
6770 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6771 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p."); | |
6773 | return NULL; | |
6774 | } | |
6775 | } | |
6776 | _arg6 = (bool ) tempbool6; | |
6777 | { | |
6778 | wxPy_BEGIN_ALLOW_THREADS; | |
6779 | _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6780 | ||
6781 | wxPy_END_ALLOW_THREADS; | |
6782 | } _resultobj = Py_BuildValue("i",_result); | |
6783 | return _resultobj; | |
6784 | } | |
6785 | ||
6786 | #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6787 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6788 | PyObject * _resultobj; | |
6789 | wxPyDrawnShape * _arg0; | |
6790 | wxDC * _arg1; | |
6791 | double _arg2; | |
6792 | double _arg3; | |
6793 | double _arg4; | |
6794 | double _arg5; | |
6795 | bool _arg6 = (bool ) TRUE; | |
6796 | PyObject * _argo0 = 0; | |
6797 | PyObject * _argo1 = 0; | |
6798 | int tempbool6 = (int) TRUE; | |
6799 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6800 | ||
6801 | self = self; | |
6802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6803 | return NULL; | |
6804 | if (_argo0) { | |
6805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p."); | |
6808 | return NULL; | |
6809 | } | |
6810 | } | |
6811 | if (_argo1) { | |
6812 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6813 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p."); | |
6815 | return NULL; | |
6816 | } | |
6817 | } | |
6818 | _arg6 = (bool ) tempbool6; | |
6819 | { | |
6820 | wxPy_BEGIN_ALLOW_THREADS; | |
6821 | wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6822 | ||
6823 | wxPy_END_ALLOW_THREADS; | |
6824 | } Py_INCREF(Py_None); | |
6825 | _resultobj = Py_None; | |
6826 | return _resultobj; | |
6827 | } | |
6828 | ||
6829 | #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6830 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6831 | PyObject * _resultobj; | |
6832 | wxPyDrawnShape * _arg0; | |
6833 | bool _arg1; | |
6834 | double _arg2; | |
6835 | double _arg3; | |
6836 | int _arg4 = (int ) 0; | |
6837 | int _arg5 = (int ) 0; | |
6838 | PyObject * _argo0 = 0; | |
6839 | int tempbool1; | |
6840 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6841 | ||
6842 | self = self; | |
6843 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6844 | return NULL; | |
6845 | if (_argo0) { | |
6846 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6847 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6848 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p."); | |
6849 | return NULL; | |
6850 | } | |
6851 | } | |
6852 | _arg1 = (bool ) tempbool1; | |
6853 | { | |
6854 | wxPy_BEGIN_ALLOW_THREADS; | |
6855 | wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6856 | ||
6857 | wxPy_END_ALLOW_THREADS; | |
6858 | } Py_INCREF(Py_None); | |
6859 | _resultobj = Py_None; | |
6860 | return _resultobj; | |
6861 | } | |
6862 | ||
6863 | #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6864 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6865 | PyObject * _resultobj; | |
6866 | wxPyDrawnShape * _arg0; | |
6867 | double _arg1; | |
6868 | double _arg2; | |
6869 | int _arg3 = (int ) 0; | |
6870 | int _arg4 = (int ) 0; | |
6871 | PyObject * _argo0 = 0; | |
6872 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6873 | ||
6874 | self = self; | |
6875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6876 | return NULL; | |
6877 | if (_argo0) { | |
6878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
6881 | return NULL; | |
6882 | } | |
6883 | } | |
6884 | { | |
6885 | wxPy_BEGIN_ALLOW_THREADS; | |
6886 | wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6887 | ||
6888 | wxPy_END_ALLOW_THREADS; | |
6889 | } Py_INCREF(Py_None); | |
6890 | _resultobj = Py_None; | |
6891 | return _resultobj; | |
6892 | } | |
6893 | ||
6894 | #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6895 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6896 | PyObject * _resultobj; | |
6897 | wxPyDrawnShape * _arg0; | |
6898 | double _arg1; | |
6899 | double _arg2; | |
6900 | int _arg3 = (int ) 0; | |
6901 | int _arg4 = (int ) 0; | |
6902 | PyObject * _argo0 = 0; | |
6903 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6904 | ||
6905 | self = self; | |
6906 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6907 | return NULL; | |
6908 | if (_argo0) { | |
6909 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6910 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6911 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p."); | |
6912 | return NULL; | |
6913 | } | |
6914 | } | |
6915 | { | |
6916 | wxPy_BEGIN_ALLOW_THREADS; | |
6917 | wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6918 | ||
6919 | wxPy_END_ALLOW_THREADS; | |
6920 | } Py_INCREF(Py_None); | |
6921 | _resultobj = Py_None; | |
6922 | return _resultobj; | |
6923 | } | |
6924 | ||
6925 | #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6926 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6927 | PyObject * _resultobj; | |
6928 | wxPyDrawnShape * _arg0; | |
6929 | bool _arg1; | |
6930 | double _arg2; | |
6931 | double _arg3; | |
6932 | int _arg4 = (int ) 0; | |
6933 | int _arg5 = (int ) 0; | |
6934 | PyObject * _argo0 = 0; | |
6935 | int tempbool1; | |
6936 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6937 | ||
6938 | self = self; | |
6939 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6940 | return NULL; | |
6941 | if (_argo0) { | |
6942 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6943 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p."); | |
6945 | return NULL; | |
6946 | } | |
6947 | } | |
6948 | _arg1 = (bool ) tempbool1; | |
6949 | { | |
6950 | wxPy_BEGIN_ALLOW_THREADS; | |
6951 | wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6952 | ||
6953 | wxPy_END_ALLOW_THREADS; | |
6954 | } Py_INCREF(Py_None); | |
6955 | _resultobj = Py_None; | |
6956 | return _resultobj; | |
6957 | } | |
6958 | ||
6959 | #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6960 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6961 | PyObject * _resultobj; | |
6962 | wxPyDrawnShape * _arg0; | |
6963 | double _arg1; | |
6964 | double _arg2; | |
6965 | int _arg3 = (int ) 0; | |
6966 | int _arg4 = (int ) 0; | |
6967 | PyObject * _argo0 = 0; | |
6968 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6969 | ||
6970 | self = self; | |
6971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6972 | return NULL; | |
6973 | if (_argo0) { | |
6974 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6975 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p."); | |
6977 | return NULL; | |
6978 | } | |
6979 | } | |
6980 | { | |
6981 | wxPy_BEGIN_ALLOW_THREADS; | |
6982 | wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6983 | ||
6984 | wxPy_END_ALLOW_THREADS; | |
6985 | } Py_INCREF(Py_None); | |
6986 | _resultobj = Py_None; | |
6987 | return _resultobj; | |
6988 | } | |
6989 | ||
6990 | #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6991 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6992 | PyObject * _resultobj; | |
6993 | wxPyDrawnShape * _arg0; | |
6994 | double _arg1; | |
6995 | double _arg2; | |
6996 | int _arg3 = (int ) 0; | |
6997 | int _arg4 = (int ) 0; | |
6998 | PyObject * _argo0 = 0; | |
6999 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7000 | ||
7001 | self = self; | |
7002 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7003 | return NULL; | |
7004 | if (_argo0) { | |
7005 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7006 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7007 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p."); | |
7008 | return NULL; | |
7009 | } | |
7010 | } | |
7011 | { | |
7012 | wxPy_BEGIN_ALLOW_THREADS; | |
7013 | wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
7014 | ||
7015 | wxPy_END_ALLOW_THREADS; | |
7016 | } Py_INCREF(Py_None); | |
7017 | _resultobj = Py_None; | |
7018 | return _resultobj; | |
7019 | } | |
7020 | ||
7021 | #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7022 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7023 | PyObject * _resultobj; | |
7024 | wxPyDrawnShape * _arg0; | |
7025 | wxDC * _arg1; | |
7026 | double _arg2; | |
7027 | double _arg3; | |
7028 | double _arg4; | |
7029 | double _arg5; | |
7030 | PyObject * _argo0 = 0; | |
7031 | PyObject * _argo1 = 0; | |
7032 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7033 | ||
7034 | self = self; | |
7035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7036 | return NULL; | |
7037 | if (_argo0) { | |
7038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p."); | |
7041 | return NULL; | |
7042 | } | |
7043 | } | |
7044 | if (_argo1) { | |
7045 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7046 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7048 | return NULL; | |
7049 | } | |
7050 | } | |
7051 | { | |
7052 | wxPy_BEGIN_ALLOW_THREADS; | |
7053 | wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
7054 | ||
7055 | wxPy_END_ALLOW_THREADS; | |
7056 | } Py_INCREF(Py_None); | |
7057 | _resultobj = Py_None; | |
7058 | return _resultobj; | |
7059 | } | |
7060 | ||
7061 | #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7062 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7063 | PyObject * _resultobj; | |
7064 | wxPyDrawnShape * _arg0; | |
7065 | wxDC * _arg1; | |
7066 | PyObject * _argo0 = 0; | |
7067 | PyObject * _argo1 = 0; | |
7068 | char *_kwnames[] = { "self","dc", NULL }; | |
7069 | ||
7070 | self = self; | |
7071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7072 | return NULL; | |
7073 | if (_argo0) { | |
7074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p."); | |
7077 | return NULL; | |
7078 | } | |
7079 | } | |
7080 | if (_argo1) { | |
7081 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7082 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7084 | return NULL; | |
7085 | } | |
7086 | } | |
7087 | { | |
7088 | wxPy_BEGIN_ALLOW_THREADS; | |
7089 | wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7090 | ||
7091 | wxPy_END_ALLOW_THREADS; | |
7092 | } Py_INCREF(Py_None); | |
7093 | _resultobj = Py_None; | |
7094 | return _resultobj; | |
7095 | } | |
7096 | ||
7097 | #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7098 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7099 | PyObject * _resultobj; | |
7100 | wxPyDrawnShape * _arg0; | |
7101 | wxDC * _arg1; | |
7102 | PyObject * _argo0 = 0; | |
7103 | PyObject * _argo1 = 0; | |
7104 | char *_kwnames[] = { "self","dc", NULL }; | |
7105 | ||
7106 | self = self; | |
7107 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7108 | return NULL; | |
7109 | if (_argo0) { | |
7110 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7111 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7112 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p."); | |
7113 | return NULL; | |
7114 | } | |
7115 | } | |
7116 | if (_argo1) { | |
7117 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7118 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7120 | return NULL; | |
7121 | } | |
7122 | } | |
7123 | { | |
7124 | wxPy_BEGIN_ALLOW_THREADS; | |
7125 | wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7126 | ||
7127 | wxPy_END_ALLOW_THREADS; | |
7128 | } Py_INCREF(Py_None); | |
7129 | _resultobj = Py_None; | |
7130 | return _resultobj; | |
7131 | } | |
7132 | ||
7133 | #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7134 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7135 | PyObject * _resultobj; | |
7136 | wxPyDrawnShape * _arg0; | |
7137 | wxDC * _arg1; | |
7138 | bool _arg2 = (bool ) TRUE; | |
7139 | PyObject * _argo0 = 0; | |
7140 | PyObject * _argo1 = 0; | |
7141 | int tempbool2 = (int) TRUE; | |
7142 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7143 | ||
7144 | self = self; | |
7145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7146 | return NULL; | |
7147 | if (_argo0) { | |
7148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p."); | |
7151 | return NULL; | |
7152 | } | |
7153 | } | |
7154 | if (_argo1) { | |
7155 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7156 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p."); | |
7158 | return NULL; | |
7159 | } | |
7160 | } | |
7161 | _arg2 = (bool ) tempbool2; | |
7162 | { | |
7163 | wxPy_BEGIN_ALLOW_THREADS; | |
7164 | wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7165 | ||
7166 | wxPy_END_ALLOW_THREADS; | |
7167 | } Py_INCREF(Py_None); | |
7168 | _resultobj = Py_None; | |
7169 | return _resultobj; | |
7170 | } | |
7171 | ||
7172 | #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7173 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7174 | PyObject * _resultobj; | |
7175 | wxPyDrawnShape * _arg0; | |
7176 | wxPyControlPoint * _arg1; | |
7177 | bool _arg2; | |
7178 | double _arg3; | |
7179 | double _arg4; | |
7180 | int _arg5 = (int ) 0; | |
7181 | int _arg6 = (int ) 0; | |
7182 | PyObject * _argo0 = 0; | |
7183 | PyObject * _argo1 = 0; | |
7184 | int tempbool2; | |
7185 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7186 | ||
7187 | self = self; | |
7188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7189 | return NULL; | |
7190 | if (_argo0) { | |
7191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p."); | |
7194 | return NULL; | |
7195 | } | |
7196 | } | |
7197 | if (_argo1) { | |
7198 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7199 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
7200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
7201 | return NULL; | |
7202 | } | |
7203 | } | |
7204 | _arg2 = (bool ) tempbool2; | |
7205 | { | |
7206 | wxPy_BEGIN_ALLOW_THREADS; | |
7207 | wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7208 | ||
7209 | wxPy_END_ALLOW_THREADS; | |
7210 | } Py_INCREF(Py_None); | |
7211 | _resultobj = Py_None; | |
7212 | return _resultobj; | |
7213 | } | |
7214 | ||
7215 | #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7216 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7217 | PyObject * _resultobj; | |
7218 | wxPyDrawnShape * _arg0; | |
7219 | wxPyControlPoint * _arg1; | |
7220 | double _arg2; | |
7221 | double _arg3; | |
7222 | int _arg4 = (int ) 0; | |
7223 | int _arg5 = (int ) 0; | |
7224 | PyObject * _argo0 = 0; | |
7225 | PyObject * _argo1 = 0; | |
7226 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7227 | ||
7228 | self = self; | |
7229 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7230 | return NULL; | |
7231 | if (_argo0) { | |
7232 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7233 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
7235 | return NULL; | |
7236 | } | |
7237 | } | |
7238 | if (_argo1) { | |
7239 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7240 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
7241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
7242 | return NULL; | |
7243 | } | |
7244 | } | |
7245 | { | |
7246 | wxPy_BEGIN_ALLOW_THREADS; | |
7247 | wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7248 | ||
7249 | wxPy_END_ALLOW_THREADS; | |
7250 | } Py_INCREF(Py_None); | |
7251 | _resultobj = Py_None; | |
7252 | return _resultobj; | |
7253 | } | |
7254 | ||
7255 | #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7256 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7257 | PyObject * _resultobj; | |
7258 | wxPyDrawnShape * _arg0; | |
7259 | wxPyControlPoint * _arg1; | |
7260 | double _arg2; | |
7261 | double _arg3; | |
7262 | int _arg4 = (int ) 0; | |
7263 | int _arg5 = (int ) 0; | |
7264 | PyObject * _argo0 = 0; | |
7265 | PyObject * _argo1 = 0; | |
7266 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7267 | ||
7268 | self = self; | |
7269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7270 | return NULL; | |
7271 | if (_argo0) { | |
7272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p."); | |
7275 | return NULL; | |
7276 | } | |
7277 | } | |
7278 | if (_argo1) { | |
7279 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7280 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
7281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
7282 | return NULL; | |
7283 | } | |
7284 | } | |
7285 | { | |
7286 | wxPy_BEGIN_ALLOW_THREADS; | |
7287 | wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7288 | ||
7289 | wxPy_END_ALLOW_THREADS; | |
7290 | } Py_INCREF(Py_None); | |
7291 | _resultobj = Py_None; | |
7292 | return _resultobj; | |
7293 | } | |
7294 | ||
7295 | #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7296 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7297 | PyObject * _resultobj; | |
7298 | wxPyDrawnShape * _arg0; | |
7299 | double _arg1; | |
7300 | double _arg2; | |
7301 | PyObject * _argo0 = 0; | |
7302 | char *_kwnames[] = { "self","w","h", NULL }; | |
7303 | ||
7304 | self = self; | |
7305 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7306 | return NULL; | |
7307 | if (_argo0) { | |
7308 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7309 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p."); | |
7311 | return NULL; | |
7312 | } | |
7313 | } | |
7314 | { | |
7315 | wxPy_BEGIN_ALLOW_THREADS; | |
7316 | wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7317 | ||
7318 | wxPy_END_ALLOW_THREADS; | |
7319 | } Py_INCREF(Py_None); | |
7320 | _resultobj = Py_None; | |
7321 | return _resultobj; | |
7322 | } | |
7323 | ||
7324 | #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7325 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7326 | PyObject * _resultobj; | |
7327 | wxPyDrawnShape * _arg0; | |
7328 | double _arg1; | |
7329 | double _arg2; | |
7330 | PyObject * _argo0 = 0; | |
7331 | char *_kwnames[] = { "self","w","h", NULL }; | |
7332 | ||
7333 | self = self; | |
7334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7335 | return NULL; | |
7336 | if (_argo0) { | |
7337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p."); | |
7340 | return NULL; | |
7341 | } | |
7342 | } | |
7343 | { | |
7344 | wxPy_BEGIN_ALLOW_THREADS; | |
7345 | wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7346 | ||
7347 | wxPy_END_ALLOW_THREADS; | |
7348 | } Py_INCREF(Py_None); | |
7349 | _resultobj = Py_None; | |
7350 | return _resultobj; | |
7351 | } | |
7352 | ||
7353 | static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) { | |
7354 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); | |
7355 | wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list); | |
7356 | delete list; | |
7357 | return rv; | |
7358 | } | |
7359 | ||
7360 | static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7361 | PyObject * _resultobj; | |
7362 | wxOGLConstraint * _result; | |
7363 | int _arg0; | |
7364 | wxPyShape * _arg1; | |
7365 | PyObject * _arg2; | |
7366 | PyObject * _argo1 = 0; | |
7367 | PyObject * _obj2 = 0; | |
7368 | char *_kwnames[] = { "type","constraining","constrained", NULL }; | |
7369 | char _ptemp[128]; | |
7370 | ||
7371 | self = self; | |
7372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2)) | |
7373 | return NULL; | |
7374 | if (_argo1) { | |
7375 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7376 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p."); | |
7378 | return NULL; | |
7379 | } | |
7380 | } | |
7381 | { | |
7382 | _arg2 = _obj2; | |
7383 | } | |
7384 | { | |
7385 | wxPy_BEGIN_ALLOW_THREADS; | |
7386 | _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2); | |
7387 | ||
7388 | wxPy_END_ALLOW_THREADS; | |
7389 | } if (_result) { | |
7390 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7391 | _resultobj = Py_BuildValue("s",_ptemp); | |
7392 | } else { | |
7393 | Py_INCREF(Py_None); | |
7394 | _resultobj = Py_None; | |
7395 | } | |
7396 | return _resultobj; | |
7397 | } | |
7398 | ||
7399 | #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate()) | |
7400 | static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7401 | PyObject * _resultobj; | |
7402 | bool _result; | |
7403 | wxOGLConstraint * _arg0; | |
7404 | PyObject * _argo0 = 0; | |
7405 | char *_kwnames[] = { "self", NULL }; | |
7406 | ||
7407 | self = self; | |
7408 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0)) | |
7409 | return NULL; | |
7410 | if (_argo0) { | |
7411 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7412 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7413 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p."); | |
7414 | return NULL; | |
7415 | } | |
7416 | } | |
7417 | { | |
7418 | wxPy_BEGIN_ALLOW_THREADS; | |
7419 | _result = (bool )wxOGLConstraint_Evaluate(_arg0); | |
7420 | ||
7421 | wxPy_END_ALLOW_THREADS; | |
7422 | } _resultobj = Py_BuildValue("i",_result); | |
7423 | return _resultobj; | |
7424 | } | |
7425 | ||
7426 | #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1)) | |
7427 | static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7428 | PyObject * _resultobj; | |
7429 | wxOGLConstraint * _arg0; | |
7430 | double _arg1; | |
7431 | double _arg2; | |
7432 | PyObject * _argo0 = 0; | |
7433 | char *_kwnames[] = { "self","x","y", NULL }; | |
7434 | ||
7435 | self = self; | |
7436 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7437 | return NULL; | |
7438 | if (_argo0) { | |
7439 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7440 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7441 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p."); | |
7442 | return NULL; | |
7443 | } | |
7444 | } | |
7445 | { | |
7446 | wxPy_BEGIN_ALLOW_THREADS; | |
7447 | wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2); | |
7448 | ||
7449 | wxPy_END_ALLOW_THREADS; | |
7450 | } Py_INCREF(Py_None); | |
7451 | _resultobj = Py_None; | |
7452 | return _resultobj; | |
7453 | } | |
7454 | ||
7455 | #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1)) | |
7456 | static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7457 | PyObject * _resultobj; | |
7458 | bool _result; | |
7459 | wxOGLConstraint * _arg0; | |
7460 | double _arg1; | |
7461 | double _arg2; | |
7462 | PyObject * _argo0 = 0; | |
7463 | char *_kwnames[] = { "self","a","b", NULL }; | |
7464 | ||
7465 | self = self; | |
7466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7467 | return NULL; | |
7468 | if (_argo0) { | |
7469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p."); | |
7472 | return NULL; | |
7473 | } | |
7474 | } | |
7475 | { | |
7476 | wxPy_BEGIN_ALLOW_THREADS; | |
7477 | _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2); | |
7478 | ||
7479 | wxPy_END_ALLOW_THREADS; | |
7480 | } _resultobj = Py_BuildValue("i",_result); | |
7481 | return _resultobj; | |
7482 | } | |
7483 | ||
7484 | static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) { | |
7485 | wxPyCompositeShape *src; | |
7486 | wxPyRectangleShape *dest; | |
7487 | src = (wxPyCompositeShape *) ptr; | |
7488 | dest = (wxPyRectangleShape *) src; | |
7489 | return (void *) dest; | |
7490 | } | |
7491 | ||
7492 | static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) { | |
7493 | wxPyCompositeShape *src; | |
7494 | wxPyShape *dest; | |
7495 | src = (wxPyCompositeShape *) ptr; | |
7496 | dest = (wxPyShape *) src; | |
7497 | return (void *) dest; | |
7498 | } | |
7499 | ||
7500 | static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) { | |
7501 | wxPyCompositeShape *src; | |
7502 | wxPyShapeEvtHandler *dest; | |
7503 | src = (wxPyCompositeShape *) ptr; | |
7504 | dest = (wxPyShapeEvtHandler *) src; | |
7505 | return (void *) dest; | |
7506 | } | |
7507 | ||
7508 | #define new_wxPyCompositeShape() (new wxPyCompositeShape()) | |
7509 | static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7510 | PyObject * _resultobj; | |
7511 | wxPyCompositeShape * _result; | |
7512 | char *_kwnames[] = { NULL }; | |
7513 | char _ptemp[128]; | |
7514 | ||
7515 | self = self; | |
7516 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames)) | |
7517 | return NULL; | |
7518 | { | |
7519 | wxPy_BEGIN_ALLOW_THREADS; | |
7520 | _result = (wxPyCompositeShape *)new_wxPyCompositeShape(); | |
7521 | ||
7522 | wxPy_END_ALLOW_THREADS; | |
7523 | } if (_result) { | |
7524 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p"); | |
7525 | _resultobj = Py_BuildValue("s",_ptemp); | |
7526 | } else { | |
7527 | Py_INCREF(Py_None); | |
7528 | _resultobj = Py_None; | |
7529 | } | |
7530 | return _resultobj; | |
7531 | } | |
7532 | ||
7533 | #define wxPyCompositeShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
7534 | static PyObject *_wrap_wxPyCompositeShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7535 | PyObject * _resultobj; | |
7536 | wxPyCompositeShape * _arg0; | |
7537 | PyObject * _arg1; | |
7538 | PyObject * _arg2; | |
7539 | PyObject * _argo0 = 0; | |
7540 | PyObject * _obj1 = 0; | |
7541 | PyObject * _obj2 = 0; | |
7542 | char *_kwnames[] = { "self","self","_class", NULL }; | |
7543 | ||
7544 | self = self; | |
7545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
7546 | return NULL; | |
7547 | if (_argo0) { | |
7548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setSelf. Expected _wxPyCompositeShape_p."); | |
7551 | return NULL; | |
7552 | } | |
7553 | } | |
7554 | { | |
7555 | _arg1 = _obj1; | |
7556 | } | |
7557 | { | |
7558 | _arg2 = _obj2; | |
7559 | } | |
7560 | { | |
7561 | wxPy_BEGIN_ALLOW_THREADS; | |
7562 | wxPyCompositeShape__setSelf(_arg0,_arg1,_arg2); | |
7563 | ||
7564 | wxPy_END_ALLOW_THREADS; | |
7565 | } Py_INCREF(Py_None); | |
7566 | _resultobj = Py_None; | |
7567 | return _resultobj; | |
7568 | } | |
7569 | ||
7570 | #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1)) | |
7571 | static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7572 | PyObject * _resultobj; | |
7573 | wxPyCompositeShape * _arg0; | |
7574 | wxPyShape * _arg1; | |
7575 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
7576 | PyObject * _argo0 = 0; | |
7577 | PyObject * _argo1 = 0; | |
7578 | PyObject * _argo2 = 0; | |
7579 | char *_kwnames[] = { "self","child","addAfter", NULL }; | |
7580 | ||
7581 | self = self; | |
7582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7583 | return NULL; | |
7584 | if (_argo0) { | |
7585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p."); | |
7588 | return NULL; | |
7589 | } | |
7590 | } | |
7591 | if (_argo1) { | |
7592 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7593 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7595 | return NULL; | |
7596 | } | |
7597 | } | |
7598 | if (_argo2) { | |
7599 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7600 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7601 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7602 | return NULL; | |
7603 | } | |
7604 | } | |
7605 | { | |
7606 | wxPy_BEGIN_ALLOW_THREADS; | |
7607 | wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2); | |
7608 | ||
7609 | wxPy_END_ALLOW_THREADS; | |
7610 | } Py_INCREF(Py_None); | |
7611 | _resultobj = Py_None; | |
7612 | return _resultobj; | |
7613 | } | |
7614 | ||
7615 | #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0)) | |
7616 | static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7617 | PyObject * _resultobj; | |
7618 | wxOGLConstraint * _result; | |
7619 | wxPyCompositeShape * _arg0; | |
7620 | wxOGLConstraint * _arg1; | |
7621 | PyObject * _argo0 = 0; | |
7622 | PyObject * _argo1 = 0; | |
7623 | char *_kwnames[] = { "self","constraint", NULL }; | |
7624 | char _ptemp[128]; | |
7625 | ||
7626 | self = self; | |
7627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1)) | |
7628 | return NULL; | |
7629 | if (_argo0) { | |
7630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p."); | |
7633 | return NULL; | |
7634 | } | |
7635 | } | |
7636 | if (_argo1) { | |
7637 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7638 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7639 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p."); | |
7640 | return NULL; | |
7641 | } | |
7642 | } | |
7643 | { | |
7644 | wxPy_BEGIN_ALLOW_THREADS; | |
7645 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1); | |
7646 | ||
7647 | wxPy_END_ALLOW_THREADS; | |
7648 | } if (_result) { | |
7649 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7650 | _resultobj = Py_BuildValue("s",_ptemp); | |
7651 | } else { | |
7652 | Py_INCREF(Py_None); | |
7653 | _resultobj = Py_None; | |
7654 | } | |
7655 | return _resultobj; | |
7656 | } | |
7657 | ||
7658 | static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) { | |
7659 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); | |
7660 | wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list); | |
7661 | delete list; | |
7662 | return rv; | |
7663 | } | |
7664 | static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7665 | PyObject * _resultobj; | |
7666 | wxOGLConstraint * _result; | |
7667 | wxPyCompositeShape * _arg0; | |
7668 | int _arg1; | |
7669 | wxPyShape * _arg2; | |
7670 | PyObject * _arg3; | |
7671 | PyObject * _argo0 = 0; | |
7672 | PyObject * _argo2 = 0; | |
7673 | PyObject * _obj3 = 0; | |
7674 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
7675 | char _ptemp[128]; | |
7676 | ||
7677 | self = self; | |
7678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3)) | |
7679 | return NULL; | |
7680 | if (_argo0) { | |
7681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p."); | |
7684 | return NULL; | |
7685 | } | |
7686 | } | |
7687 | if (_argo2) { | |
7688 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7689 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p."); | |
7691 | return NULL; | |
7692 | } | |
7693 | } | |
7694 | { | |
7695 | _arg3 = _obj3; | |
7696 | } | |
7697 | { | |
7698 | wxPy_BEGIN_ALLOW_THREADS; | |
7699 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3); | |
7700 | ||
7701 | wxPy_END_ALLOW_THREADS; | |
7702 | } if (_result) { | |
7703 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7704 | _resultobj = Py_BuildValue("s",_ptemp); | |
7705 | } else { | |
7706 | Py_INCREF(Py_None); | |
7707 | _resultobj = Py_None; | |
7708 | } | |
7709 | return _resultobj; | |
7710 | } | |
7711 | ||
7712 | #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2)) | |
7713 | static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7714 | PyObject * _resultobj; | |
7715 | wxOGLConstraint * _result; | |
7716 | wxPyCompositeShape * _arg0; | |
7717 | int _arg1; | |
7718 | wxPyShape * _arg2; | |
7719 | wxPyShape * _arg3; | |
7720 | PyObject * _argo0 = 0; | |
7721 | PyObject * _argo2 = 0; | |
7722 | PyObject * _argo3 = 0; | |
7723 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
7724 | char _ptemp[128]; | |
7725 | ||
7726 | self = self; | |
7727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
7728 | return NULL; | |
7729 | if (_argo0) { | |
7730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p."); | |
7733 | return NULL; | |
7734 | } | |
7735 | } | |
7736 | if (_argo2) { | |
7737 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7738 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7740 | return NULL; | |
7741 | } | |
7742 | } | |
7743 | if (_argo3) { | |
7744 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
7745 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) { | |
7746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7747 | return NULL; | |
7748 | } | |
7749 | } | |
7750 | { | |
7751 | wxPy_BEGIN_ALLOW_THREADS; | |
7752 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3); | |
7753 | ||
7754 | wxPy_END_ALLOW_THREADS; | |
7755 | } if (_result) { | |
7756 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7757 | _resultobj = Py_BuildValue("s",_ptemp); | |
7758 | } else { | |
7759 | Py_INCREF(Py_None); | |
7760 | _resultobj = Py_None; | |
7761 | } | |
7762 | return _resultobj; | |
7763 | } | |
7764 | ||
7765 | #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
7766 | static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7767 | PyObject * _resultobj; | |
7768 | wxPyCompositeShape * _arg0; | |
7769 | PyObject * _argo0 = 0; | |
7770 | char *_kwnames[] = { "self", NULL }; | |
7771 | ||
7772 | self = self; | |
7773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0)) | |
7774 | return NULL; | |
7775 | if (_argo0) { | |
7776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p."); | |
7779 | return NULL; | |
7780 | } | |
7781 | } | |
7782 | { | |
7783 | wxPy_BEGIN_ALLOW_THREADS; | |
7784 | wxPyCompositeShape_CalculateSize(_arg0); | |
7785 | ||
7786 | wxPy_END_ALLOW_THREADS; | |
7787 | } Py_INCREF(Py_None); | |
7788 | _resultobj = Py_None; | |
7789 | return _resultobj; | |
7790 | } | |
7791 | ||
7792 | #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0)) | |
7793 | static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7794 | PyObject * _resultobj; | |
7795 | bool _result; | |
7796 | wxPyCompositeShape * _arg0; | |
7797 | wxPyDivisionShape * _arg1; | |
7798 | PyObject * _argo0 = 0; | |
7799 | PyObject * _argo1 = 0; | |
7800 | char *_kwnames[] = { "self","division", NULL }; | |
7801 | ||
7802 | self = self; | |
7803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1)) | |
7804 | return NULL; | |
7805 | if (_argo0) { | |
7806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p."); | |
7809 | return NULL; | |
7810 | } | |
7811 | } | |
7812 | if (_argo1) { | |
7813 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7814 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
7815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p."); | |
7816 | return NULL; | |
7817 | } | |
7818 | } | |
7819 | { | |
7820 | wxPy_BEGIN_ALLOW_THREADS; | |
7821 | _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1); | |
7822 | ||
7823 | wxPy_END_ALLOW_THREADS; | |
7824 | } _resultobj = Py_BuildValue("i",_result); | |
7825 | return _resultobj; | |
7826 | } | |
7827 | ||
7828 | #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0)) | |
7829 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7830 | PyObject * _resultobj; | |
7831 | wxPyCompositeShape * _arg0; | |
7832 | wxOGLConstraint * _arg1; | |
7833 | PyObject * _argo0 = 0; | |
7834 | PyObject * _argo1 = 0; | |
7835 | char *_kwnames[] = { "self","constraint", NULL }; | |
7836 | ||
7837 | self = self; | |
7838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1)) | |
7839 | return NULL; | |
7840 | if (_argo0) { | |
7841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p."); | |
7844 | return NULL; | |
7845 | } | |
7846 | } | |
7847 | if (_argo1) { | |
7848 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7849 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p."); | |
7851 | return NULL; | |
7852 | } | |
7853 | } | |
7854 | { | |
7855 | wxPy_BEGIN_ALLOW_THREADS; | |
7856 | wxPyCompositeShape_DeleteConstraint(_arg0,_arg1); | |
7857 | ||
7858 | wxPy_END_ALLOW_THREADS; | |
7859 | } Py_INCREF(Py_None); | |
7860 | _resultobj = Py_None; | |
7861 | return _resultobj; | |
7862 | } | |
7863 | ||
7864 | #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0)) | |
7865 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7866 | PyObject * _resultobj; | |
7867 | wxPyCompositeShape * _arg0; | |
7868 | wxPyShape * _arg1; | |
7869 | PyObject * _argo0 = 0; | |
7870 | PyObject * _argo1 = 0; | |
7871 | char *_kwnames[] = { "self","child", NULL }; | |
7872 | ||
7873 | self = self; | |
7874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1)) | |
7875 | return NULL; | |
7876 | if (_argo0) { | |
7877 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7878 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7879 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p."); | |
7880 | return NULL; | |
7881 | } | |
7882 | } | |
7883 | if (_argo1) { | |
7884 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7885 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7886 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p."); | |
7887 | return NULL; | |
7888 | } | |
7889 | } | |
7890 | { | |
7891 | wxPy_BEGIN_ALLOW_THREADS; | |
7892 | wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1); | |
7893 | ||
7894 | wxPy_END_ALLOW_THREADS; | |
7895 | } Py_INCREF(Py_None); | |
7896 | _resultobj = Py_None; | |
7897 | return _resultobj; | |
7898 | } | |
7899 | ||
7900 | #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage()) | |
7901 | static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7902 | PyObject * _resultobj; | |
7903 | wxPyShape * _result; | |
7904 | wxPyCompositeShape * _arg0; | |
7905 | PyObject * _argo0 = 0; | |
7906 | char *_kwnames[] = { "self", NULL }; | |
7907 | char _ptemp[128]; | |
7908 | ||
7909 | self = self; | |
7910 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0)) | |
7911 | return NULL; | |
7912 | if (_argo0) { | |
7913 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7914 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7915 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p."); | |
7916 | return NULL; | |
7917 | } | |
7918 | } | |
7919 | { | |
7920 | wxPy_BEGIN_ALLOW_THREADS; | |
7921 | _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0); | |
7922 | ||
7923 | wxPy_END_ALLOW_THREADS; | |
7924 | } if (_result) { | |
7925 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
7926 | _resultobj = Py_BuildValue("s",_ptemp); | |
7927 | } else { | |
7928 | Py_INCREF(Py_None); | |
7929 | _resultobj = Py_None; | |
7930 | } | |
7931 | return _resultobj; | |
7932 | } | |
7933 | ||
7934 | static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) { | |
7935 | wxList& list = self->GetConstraints(); | |
7936 | return wxPy_ConvertList(&list, "wxOGLConstraint"); | |
7937 | } | |
7938 | static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7939 | PyObject * _resultobj; | |
7940 | PyObject * _result; | |
7941 | wxPyCompositeShape * _arg0; | |
7942 | PyObject * _argo0 = 0; | |
7943 | char *_kwnames[] = { "self", NULL }; | |
7944 | ||
7945 | self = self; | |
7946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0)) | |
7947 | return NULL; | |
7948 | if (_argo0) { | |
7949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p."); | |
7952 | return NULL; | |
7953 | } | |
7954 | } | |
7955 | { | |
7956 | wxPy_BEGIN_ALLOW_THREADS; | |
7957 | _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0); | |
7958 | ||
7959 | wxPy_END_ALLOW_THREADS; | |
7960 | }{ | |
7961 | _resultobj = _result; | |
7962 | } | |
7963 | return _resultobj; | |
7964 | } | |
7965 | ||
7966 | static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) { | |
7967 | wxList& list = self->GetDivisions(); | |
7968 | return wxPy_ConvertList(&list, "wxPyDivisionShape"); | |
7969 | } | |
7970 | static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7971 | PyObject * _resultobj; | |
7972 | PyObject * _result; | |
7973 | wxPyCompositeShape * _arg0; | |
7974 | PyObject * _argo0 = 0; | |
7975 | char *_kwnames[] = { "self", NULL }; | |
7976 | ||
7977 | self = self; | |
7978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0)) | |
7979 | return NULL; | |
7980 | if (_argo0) { | |
7981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p."); | |
7984 | return NULL; | |
7985 | } | |
7986 | } | |
7987 | { | |
7988 | wxPy_BEGIN_ALLOW_THREADS; | |
7989 | _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0); | |
7990 | ||
7991 | wxPy_END_ALLOW_THREADS; | |
7992 | }{ | |
7993 | _resultobj = _result; | |
7994 | } | |
7995 | return _resultobj; | |
7996 | } | |
7997 | ||
7998 | #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer()) | |
7999 | static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8000 | PyObject * _resultobj; | |
8001 | wxPyCompositeShape * _arg0; | |
8002 | PyObject * _argo0 = 0; | |
8003 | char *_kwnames[] = { "self", NULL }; | |
8004 | ||
8005 | self = self; | |
8006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0)) | |
8007 | return NULL; | |
8008 | if (_argo0) { | |
8009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p."); | |
8012 | return NULL; | |
8013 | } | |
8014 | } | |
8015 | { | |
8016 | wxPy_BEGIN_ALLOW_THREADS; | |
8017 | wxPyCompositeShape_MakeContainer(_arg0); | |
8018 | ||
8019 | wxPy_END_ALLOW_THREADS; | |
8020 | } Py_INCREF(Py_None); | |
8021 | _resultobj = Py_None; | |
8022 | return _resultobj; | |
8023 | } | |
8024 | ||
8025 | #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
8026 | static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8027 | PyObject * _resultobj; | |
8028 | bool _result; | |
8029 | wxPyCompositeShape * _arg0; | |
8030 | PyObject * _argo0 = 0; | |
8031 | char *_kwnames[] = { "self", NULL }; | |
8032 | ||
8033 | self = self; | |
8034 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0)) | |
8035 | return NULL; | |
8036 | if (_argo0) { | |
8037 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8038 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p."); | |
8040 | return NULL; | |
8041 | } | |
8042 | } | |
8043 | { | |
8044 | wxPy_BEGIN_ALLOW_THREADS; | |
8045 | _result = (bool )wxPyCompositeShape_Recompute(_arg0); | |
8046 | ||
8047 | wxPy_END_ALLOW_THREADS; | |
8048 | } _resultobj = Py_BuildValue("i",_result); | |
8049 | return _resultobj; | |
8050 | } | |
8051 | ||
8052 | #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0)) | |
8053 | static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8054 | PyObject * _resultobj; | |
8055 | wxPyCompositeShape * _arg0; | |
8056 | wxPyShape * _arg1; | |
8057 | PyObject * _argo0 = 0; | |
8058 | PyObject * _argo1 = 0; | |
8059 | char *_kwnames[] = { "self","child", NULL }; | |
8060 | ||
8061 | self = self; | |
8062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
8063 | return NULL; | |
8064 | if (_argo0) { | |
8065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p."); | |
8068 | return NULL; | |
8069 | } | |
8070 | } | |
8071 | if (_argo1) { | |
8072 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8073 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
8074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p."); | |
8075 | return NULL; | |
8076 | } | |
8077 | } | |
8078 | { | |
8079 | wxPy_BEGIN_ALLOW_THREADS; | |
8080 | wxPyCompositeShape_RemoveChild(_arg0,_arg1); | |
8081 | ||
8082 | wxPy_END_ALLOW_THREADS; | |
8083 | } Py_INCREF(Py_None); | |
8084 | _resultobj = Py_None; | |
8085 | return _resultobj; | |
8086 | } | |
8087 | ||
8088 | #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
8089 | static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8090 | PyObject * _resultobj; | |
8091 | wxPyCompositeShape * _arg0; | |
8092 | PyObject * _argo0 = 0; | |
8093 | char *_kwnames[] = { "self", NULL }; | |
8094 | ||
8095 | self = self; | |
8096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0)) | |
8097 | return NULL; | |
8098 | if (_argo0) { | |
8099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p."); | |
8102 | return NULL; | |
8103 | } | |
8104 | } | |
8105 | { | |
8106 | wxPy_BEGIN_ALLOW_THREADS; | |
8107 | wxPyCompositeShape_base_OnDelete(_arg0); | |
8108 | ||
8109 | wxPy_END_ALLOW_THREADS; | |
8110 | } Py_INCREF(Py_None); | |
8111 | _resultobj = Py_None; | |
8112 | return _resultobj; | |
8113 | } | |
8114 | ||
8115 | #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
8116 | static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8117 | PyObject * _resultobj; | |
8118 | wxPyCompositeShape * _arg0; | |
8119 | wxDC * _arg1; | |
8120 | PyObject * _argo0 = 0; | |
8121 | PyObject * _argo1 = 0; | |
8122 | char *_kwnames[] = { "self","dc", NULL }; | |
8123 | ||
8124 | self = self; | |
8125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
8126 | return NULL; | |
8127 | if (_argo0) { | |
8128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p."); | |
8131 | return NULL; | |
8132 | } | |
8133 | } | |
8134 | if (_argo1) { | |
8135 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8136 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8137 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p."); | |
8138 | return NULL; | |
8139 | } | |
8140 | } | |
8141 | { | |
8142 | wxPy_BEGIN_ALLOW_THREADS; | |
8143 | wxPyCompositeShape_base_OnDraw(_arg0,*_arg1); | |
8144 | ||
8145 | wxPy_END_ALLOW_THREADS; | |
8146 | } Py_INCREF(Py_None); | |
8147 | _resultobj = Py_None; | |
8148 | return _resultobj; | |
8149 | } | |
8150 | ||
8151 | #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
8152 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8153 | PyObject * _resultobj; | |
8154 | wxPyCompositeShape * _arg0; | |
8155 | wxDC * _arg1; | |
8156 | PyObject * _argo0 = 0; | |
8157 | PyObject * _argo1 = 0; | |
8158 | char *_kwnames[] = { "self","dc", NULL }; | |
8159 | ||
8160 | self = self; | |
8161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
8162 | return NULL; | |
8163 | if (_argo0) { | |
8164 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8165 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p."); | |
8167 | return NULL; | |
8168 | } | |
8169 | } | |
8170 | if (_argo1) { | |
8171 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8172 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p."); | |
8174 | return NULL; | |
8175 | } | |
8176 | } | |
8177 | { | |
8178 | wxPy_BEGIN_ALLOW_THREADS; | |
8179 | wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1); | |
8180 | ||
8181 | wxPy_END_ALLOW_THREADS; | |
8182 | } Py_INCREF(Py_None); | |
8183 | _resultobj = Py_None; | |
8184 | return _resultobj; | |
8185 | } | |
8186 | ||
8187 | #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
8188 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8189 | PyObject * _resultobj; | |
8190 | wxPyCompositeShape * _arg0; | |
8191 | wxDC * _arg1; | |
8192 | bool _arg2 = (bool ) FALSE; | |
8193 | PyObject * _argo0 = 0; | |
8194 | PyObject * _argo1 = 0; | |
8195 | int tempbool2 = (int) FALSE; | |
8196 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
8197 | ||
8198 | self = self; | |
8199 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8200 | return NULL; | |
8201 | if (_argo0) { | |
8202 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8203 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p."); | |
8205 | return NULL; | |
8206 | } | |
8207 | } | |
8208 | if (_argo1) { | |
8209 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8210 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p."); | |
8212 | return NULL; | |
8213 | } | |
8214 | } | |
8215 | _arg2 = (bool ) tempbool2; | |
8216 | { | |
8217 | wxPy_BEGIN_ALLOW_THREADS; | |
8218 | wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
8219 | ||
8220 | wxPy_END_ALLOW_THREADS; | |
8221 | } Py_INCREF(Py_None); | |
8222 | _resultobj = Py_None; | |
8223 | return _resultobj; | |
8224 | } | |
8225 | ||
8226 | #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
8227 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8228 | PyObject * _resultobj; | |
8229 | wxPyCompositeShape * _arg0; | |
8230 | wxDC * _arg1; | |
8231 | PyObject * _argo0 = 0; | |
8232 | PyObject * _argo1 = 0; | |
8233 | char *_kwnames[] = { "self","dc", NULL }; | |
8234 | ||
8235 | self = self; | |
8236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
8237 | return NULL; | |
8238 | if (_argo0) { | |
8239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p."); | |
8242 | return NULL; | |
8243 | } | |
8244 | } | |
8245 | if (_argo1) { | |
8246 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8247 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p."); | |
8249 | return NULL; | |
8250 | } | |
8251 | } | |
8252 | { | |
8253 | wxPy_BEGIN_ALLOW_THREADS; | |
8254 | wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1); | |
8255 | ||
8256 | wxPy_END_ALLOW_THREADS; | |
8257 | } Py_INCREF(Py_None); | |
8258 | _resultobj = Py_None; | |
8259 | return _resultobj; | |
8260 | } | |
8261 | ||
8262 | #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
8263 | static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8264 | PyObject * _resultobj; | |
8265 | wxPyCompositeShape * _arg0; | |
8266 | wxDC * _arg1; | |
8267 | PyObject * _argo0 = 0; | |
8268 | PyObject * _argo1 = 0; | |
8269 | char *_kwnames[] = { "self","dc", NULL }; | |
8270 | ||
8271 | self = self; | |
8272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
8273 | return NULL; | |
8274 | if (_argo0) { | |
8275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p."); | |
8278 | return NULL; | |
8279 | } | |
8280 | } | |
8281 | if (_argo1) { | |
8282 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8283 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p."); | |
8285 | return NULL; | |
8286 | } | |
8287 | } | |
8288 | { | |
8289 | wxPy_BEGIN_ALLOW_THREADS; | |
8290 | wxPyCompositeShape_base_OnErase(_arg0,*_arg1); | |
8291 | ||
8292 | wxPy_END_ALLOW_THREADS; | |
8293 | } Py_INCREF(Py_None); | |
8294 | _resultobj = Py_None; | |
8295 | return _resultobj; | |
8296 | } | |
8297 | ||
8298 | #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
8299 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8300 | PyObject * _resultobj; | |
8301 | wxPyCompositeShape * _arg0; | |
8302 | wxDC * _arg1; | |
8303 | PyObject * _argo0 = 0; | |
8304 | PyObject * _argo1 = 0; | |
8305 | char *_kwnames[] = { "self","dc", NULL }; | |
8306 | ||
8307 | self = self; | |
8308 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
8309 | return NULL; | |
8310 | if (_argo0) { | |
8311 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8312 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8313 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p."); | |
8314 | return NULL; | |
8315 | } | |
8316 | } | |
8317 | if (_argo1) { | |
8318 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8319 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8320 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p."); | |
8321 | return NULL; | |
8322 | } | |
8323 | } | |
8324 | { | |
8325 | wxPy_BEGIN_ALLOW_THREADS; | |
8326 | wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1); | |
8327 | ||
8328 | wxPy_END_ALLOW_THREADS; | |
8329 | } Py_INCREF(Py_None); | |
8330 | _resultobj = Py_None; | |
8331 | return _resultobj; | |
8332 | } | |
8333 | ||
8334 | #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
8335 | static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8336 | PyObject * _resultobj; | |
8337 | wxPyCompositeShape * _arg0; | |
8338 | wxDC * _arg1; | |
8339 | PyObject * _argo0 = 0; | |
8340 | PyObject * _argo1 = 0; | |
8341 | char *_kwnames[] = { "self","dc", NULL }; | |
8342 | ||
8343 | self = self; | |
8344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
8345 | return NULL; | |
8346 | if (_argo0) { | |
8347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p."); | |
8350 | return NULL; | |
8351 | } | |
8352 | } | |
8353 | if (_argo1) { | |
8354 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8355 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p."); | |
8357 | return NULL; | |
8358 | } | |
8359 | } | |
8360 | { | |
8361 | wxPy_BEGIN_ALLOW_THREADS; | |
8362 | wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1); | |
8363 | ||
8364 | wxPy_END_ALLOW_THREADS; | |
8365 | } Py_INCREF(Py_None); | |
8366 | _resultobj = Py_None; | |
8367 | return _resultobj; | |
8368 | } | |
8369 | ||
8370 | #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8371 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8372 | PyObject * _resultobj; | |
8373 | wxPyCompositeShape * _arg0; | |
8374 | double _arg1; | |
8375 | double _arg2; | |
8376 | int _arg3 = (int ) 0; | |
8377 | int _arg4 = (int ) 0; | |
8378 | PyObject * _argo0 = 0; | |
8379 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8380 | ||
8381 | self = self; | |
8382 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8383 | return NULL; | |
8384 | if (_argo0) { | |
8385 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8386 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8387 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p."); | |
8388 | return NULL; | |
8389 | } | |
8390 | } | |
8391 | { | |
8392 | wxPy_BEGIN_ALLOW_THREADS; | |
8393 | wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8394 | ||
8395 | wxPy_END_ALLOW_THREADS; | |
8396 | } Py_INCREF(Py_None); | |
8397 | _resultobj = Py_None; | |
8398 | return _resultobj; | |
8399 | } | |
8400 | ||
8401 | #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8402 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8403 | PyObject * _resultobj; | |
8404 | wxPyCompositeShape * _arg0; | |
8405 | double _arg1; | |
8406 | double _arg2; | |
8407 | int _arg3 = (int ) 0; | |
8408 | int _arg4 = (int ) 0; | |
8409 | PyObject * _argo0 = 0; | |
8410 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8411 | ||
8412 | self = self; | |
8413 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8414 | return NULL; | |
8415 | if (_argo0) { | |
8416 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8417 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8418 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p."); | |
8419 | return NULL; | |
8420 | } | |
8421 | } | |
8422 | { | |
8423 | wxPy_BEGIN_ALLOW_THREADS; | |
8424 | wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8425 | ||
8426 | wxPy_END_ALLOW_THREADS; | |
8427 | } Py_INCREF(Py_None); | |
8428 | _resultobj = Py_None; | |
8429 | return _resultobj; | |
8430 | } | |
8431 | ||
8432 | #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8433 | static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8434 | PyObject * _resultobj; | |
8435 | wxPyCompositeShape * _arg0; | |
8436 | double _arg1; | |
8437 | double _arg2; | |
8438 | int _arg3 = (int ) 0; | |
8439 | int _arg4 = (int ) 0; | |
8440 | PyObject * _argo0 = 0; | |
8441 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8442 | ||
8443 | self = self; | |
8444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8445 | return NULL; | |
8446 | if (_argo0) { | |
8447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p."); | |
8450 | return NULL; | |
8451 | } | |
8452 | } | |
8453 | { | |
8454 | wxPy_BEGIN_ALLOW_THREADS; | |
8455 | wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8456 | ||
8457 | wxPy_END_ALLOW_THREADS; | |
8458 | } Py_INCREF(Py_None); | |
8459 | _resultobj = Py_None; | |
8460 | return _resultobj; | |
8461 | } | |
8462 | ||
8463 | #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
8464 | static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8465 | PyObject * _resultobj; | |
8466 | wxPyCompositeShape * _arg0; | |
8467 | double _arg1; | |
8468 | double _arg2; | |
8469 | PyObject * _argo0 = 0; | |
8470 | char *_kwnames[] = { "self","x","y", NULL }; | |
8471 | ||
8472 | self = self; | |
8473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8474 | return NULL; | |
8475 | if (_argo0) { | |
8476 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8477 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8478 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p."); | |
8479 | return NULL; | |
8480 | } | |
8481 | } | |
8482 | { | |
8483 | wxPy_BEGIN_ALLOW_THREADS; | |
8484 | wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2); | |
8485 | ||
8486 | wxPy_END_ALLOW_THREADS; | |
8487 | } Py_INCREF(Py_None); | |
8488 | _resultobj = Py_None; | |
8489 | return _resultobj; | |
8490 | } | |
8491 | ||
8492 | #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8493 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8494 | PyObject * _resultobj; | |
8495 | bool _result; | |
8496 | wxPyCompositeShape * _arg0; | |
8497 | wxDC * _arg1; | |
8498 | double _arg2; | |
8499 | double _arg3; | |
8500 | double _arg4; | |
8501 | double _arg5; | |
8502 | bool _arg6 = (bool ) TRUE; | |
8503 | PyObject * _argo0 = 0; | |
8504 | PyObject * _argo1 = 0; | |
8505 | int tempbool6 = (int) TRUE; | |
8506 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8507 | ||
8508 | self = self; | |
8509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8510 | return NULL; | |
8511 | if (_argo0) { | |
8512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p."); | |
8515 | return NULL; | |
8516 | } | |
8517 | } | |
8518 | if (_argo1) { | |
8519 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8520 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p."); | |
8522 | return NULL; | |
8523 | } | |
8524 | } | |
8525 | _arg6 = (bool ) tempbool6; | |
8526 | { | |
8527 | wxPy_BEGIN_ALLOW_THREADS; | |
8528 | _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8529 | ||
8530 | wxPy_END_ALLOW_THREADS; | |
8531 | } _resultobj = Py_BuildValue("i",_result); | |
8532 | return _resultobj; | |
8533 | } | |
8534 | ||
8535 | #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8536 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8537 | PyObject * _resultobj; | |
8538 | wxPyCompositeShape * _arg0; | |
8539 | wxDC * _arg1; | |
8540 | double _arg2; | |
8541 | double _arg3; | |
8542 | double _arg4; | |
8543 | double _arg5; | |
8544 | bool _arg6 = (bool ) TRUE; | |
8545 | PyObject * _argo0 = 0; | |
8546 | PyObject * _argo1 = 0; | |
8547 | int tempbool6 = (int) TRUE; | |
8548 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8549 | ||
8550 | self = self; | |
8551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8552 | return NULL; | |
8553 | if (_argo0) { | |
8554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p."); | |
8557 | return NULL; | |
8558 | } | |
8559 | } | |
8560 | if (_argo1) { | |
8561 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8562 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p."); | |
8564 | return NULL; | |
8565 | } | |
8566 | } | |
8567 | _arg6 = (bool ) tempbool6; | |
8568 | { | |
8569 | wxPy_BEGIN_ALLOW_THREADS; | |
8570 | wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8571 | ||
8572 | wxPy_END_ALLOW_THREADS; | |
8573 | } Py_INCREF(Py_None); | |
8574 | _resultobj = Py_None; | |
8575 | return _resultobj; | |
8576 | } | |
8577 | ||
8578 | #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8579 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8580 | PyObject * _resultobj; | |
8581 | wxPyCompositeShape * _arg0; | |
8582 | bool _arg1; | |
8583 | double _arg2; | |
8584 | double _arg3; | |
8585 | int _arg4 = (int ) 0; | |
8586 | int _arg5 = (int ) 0; | |
8587 | PyObject * _argo0 = 0; | |
8588 | int tempbool1; | |
8589 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8590 | ||
8591 | self = self; | |
8592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8593 | return NULL; | |
8594 | if (_argo0) { | |
8595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p."); | |
8598 | return NULL; | |
8599 | } | |
8600 | } | |
8601 | _arg1 = (bool ) tempbool1; | |
8602 | { | |
8603 | wxPy_BEGIN_ALLOW_THREADS; | |
8604 | wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8605 | ||
8606 | wxPy_END_ALLOW_THREADS; | |
8607 | } Py_INCREF(Py_None); | |
8608 | _resultobj = Py_None; | |
8609 | return _resultobj; | |
8610 | } | |
8611 | ||
8612 | #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8613 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8614 | PyObject * _resultobj; | |
8615 | wxPyCompositeShape * _arg0; | |
8616 | double _arg1; | |
8617 | double _arg2; | |
8618 | int _arg3 = (int ) 0; | |
8619 | int _arg4 = (int ) 0; | |
8620 | PyObject * _argo0 = 0; | |
8621 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8622 | ||
8623 | self = self; | |
8624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8625 | return NULL; | |
8626 | if (_argo0) { | |
8627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8630 | return NULL; | |
8631 | } | |
8632 | } | |
8633 | { | |
8634 | wxPy_BEGIN_ALLOW_THREADS; | |
8635 | wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8636 | ||
8637 | wxPy_END_ALLOW_THREADS; | |
8638 | } Py_INCREF(Py_None); | |
8639 | _resultobj = Py_None; | |
8640 | return _resultobj; | |
8641 | } | |
8642 | ||
8643 | #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8644 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8645 | PyObject * _resultobj; | |
8646 | wxPyCompositeShape * _arg0; | |
8647 | double _arg1; | |
8648 | double _arg2; | |
8649 | int _arg3 = (int ) 0; | |
8650 | int _arg4 = (int ) 0; | |
8651 | PyObject * _argo0 = 0; | |
8652 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8653 | ||
8654 | self = self; | |
8655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8656 | return NULL; | |
8657 | if (_argo0) { | |
8658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p."); | |
8661 | return NULL; | |
8662 | } | |
8663 | } | |
8664 | { | |
8665 | wxPy_BEGIN_ALLOW_THREADS; | |
8666 | wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8667 | ||
8668 | wxPy_END_ALLOW_THREADS; | |
8669 | } Py_INCREF(Py_None); | |
8670 | _resultobj = Py_None; | |
8671 | return _resultobj; | |
8672 | } | |
8673 | ||
8674 | #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8675 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8676 | PyObject * _resultobj; | |
8677 | wxPyCompositeShape * _arg0; | |
8678 | bool _arg1; | |
8679 | double _arg2; | |
8680 | double _arg3; | |
8681 | int _arg4 = (int ) 0; | |
8682 | int _arg5 = (int ) 0; | |
8683 | PyObject * _argo0 = 0; | |
8684 | int tempbool1; | |
8685 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8686 | ||
8687 | self = self; | |
8688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8689 | return NULL; | |
8690 | if (_argo0) { | |
8691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p."); | |
8694 | return NULL; | |
8695 | } | |
8696 | } | |
8697 | _arg1 = (bool ) tempbool1; | |
8698 | { | |
8699 | wxPy_BEGIN_ALLOW_THREADS; | |
8700 | wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8701 | ||
8702 | wxPy_END_ALLOW_THREADS; | |
8703 | } Py_INCREF(Py_None); | |
8704 | _resultobj = Py_None; | |
8705 | return _resultobj; | |
8706 | } | |
8707 | ||
8708 | #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8709 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8710 | PyObject * _resultobj; | |
8711 | wxPyCompositeShape * _arg0; | |
8712 | double _arg1; | |
8713 | double _arg2; | |
8714 | int _arg3 = (int ) 0; | |
8715 | int _arg4 = (int ) 0; | |
8716 | PyObject * _argo0 = 0; | |
8717 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8718 | ||
8719 | self = self; | |
8720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8721 | return NULL; | |
8722 | if (_argo0) { | |
8723 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8724 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p."); | |
8726 | return NULL; | |
8727 | } | |
8728 | } | |
8729 | { | |
8730 | wxPy_BEGIN_ALLOW_THREADS; | |
8731 | wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8732 | ||
8733 | wxPy_END_ALLOW_THREADS; | |
8734 | } Py_INCREF(Py_None); | |
8735 | _resultobj = Py_None; | |
8736 | return _resultobj; | |
8737 | } | |
8738 | ||
8739 | #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8740 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8741 | PyObject * _resultobj; | |
8742 | wxPyCompositeShape * _arg0; | |
8743 | double _arg1; | |
8744 | double _arg2; | |
8745 | int _arg3 = (int ) 0; | |
8746 | int _arg4 = (int ) 0; | |
8747 | PyObject * _argo0 = 0; | |
8748 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8749 | ||
8750 | self = self; | |
8751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8752 | return NULL; | |
8753 | if (_argo0) { | |
8754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p."); | |
8757 | return NULL; | |
8758 | } | |
8759 | } | |
8760 | { | |
8761 | wxPy_BEGIN_ALLOW_THREADS; | |
8762 | wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8763 | ||
8764 | wxPy_END_ALLOW_THREADS; | |
8765 | } Py_INCREF(Py_None); | |
8766 | _resultobj = Py_None; | |
8767 | return _resultobj; | |
8768 | } | |
8769 | ||
8770 | #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8771 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8772 | PyObject * _resultobj; | |
8773 | wxPyCompositeShape * _arg0; | |
8774 | wxDC * _arg1; | |
8775 | double _arg2; | |
8776 | double _arg3; | |
8777 | double _arg4; | |
8778 | double _arg5; | |
8779 | PyObject * _argo0 = 0; | |
8780 | PyObject * _argo1 = 0; | |
8781 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
8782 | ||
8783 | self = self; | |
8784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8785 | return NULL; | |
8786 | if (_argo0) { | |
8787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p."); | |
8790 | return NULL; | |
8791 | } | |
8792 | } | |
8793 | if (_argo1) { | |
8794 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8795 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p."); | |
8797 | return NULL; | |
8798 | } | |
8799 | } | |
8800 | { | |
8801 | wxPy_BEGIN_ALLOW_THREADS; | |
8802 | wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
8803 | ||
8804 | wxPy_END_ALLOW_THREADS; | |
8805 | } Py_INCREF(Py_None); | |
8806 | _resultobj = Py_None; | |
8807 | return _resultobj; | |
8808 | } | |
8809 | ||
8810 | #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
8811 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8812 | PyObject * _resultobj; | |
8813 | wxPyCompositeShape * _arg0; | |
8814 | wxDC * _arg1; | |
8815 | PyObject * _argo0 = 0; | |
8816 | PyObject * _argo1 = 0; | |
8817 | char *_kwnames[] = { "self","dc", NULL }; | |
8818 | ||
8819 | self = self; | |
8820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
8821 | return NULL; | |
8822 | if (_argo0) { | |
8823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p."); | |
8826 | return NULL; | |
8827 | } | |
8828 | } | |
8829 | if (_argo1) { | |
8830 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8831 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
8833 | return NULL; | |
8834 | } | |
8835 | } | |
8836 | { | |
8837 | wxPy_BEGIN_ALLOW_THREADS; | |
8838 | wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
8839 | ||
8840 | wxPy_END_ALLOW_THREADS; | |
8841 | } Py_INCREF(Py_None); | |
8842 | _resultobj = Py_None; | |
8843 | return _resultobj; | |
8844 | } | |
8845 | ||
8846 | #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
8847 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8848 | PyObject * _resultobj; | |
8849 | wxPyCompositeShape * _arg0; | |
8850 | wxDC * _arg1; | |
8851 | PyObject * _argo0 = 0; | |
8852 | PyObject * _argo1 = 0; | |
8853 | char *_kwnames[] = { "self","dc", NULL }; | |
8854 | ||
8855 | self = self; | |
8856 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
8857 | return NULL; | |
8858 | if (_argo0) { | |
8859 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8860 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8861 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p."); | |
8862 | return NULL; | |
8863 | } | |
8864 | } | |
8865 | if (_argo1) { | |
8866 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8867 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8868 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
8869 | return NULL; | |
8870 | } | |
8871 | } | |
8872 | { | |
8873 | wxPy_BEGIN_ALLOW_THREADS; | |
8874 | wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
8875 | ||
8876 | wxPy_END_ALLOW_THREADS; | |
8877 | } Py_INCREF(Py_None); | |
8878 | _resultobj = Py_None; | |
8879 | return _resultobj; | |
8880 | } | |
8881 | ||
8882 | #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
8883 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8884 | PyObject * _resultobj; | |
8885 | wxPyCompositeShape * _arg0; | |
8886 | wxDC * _arg1; | |
8887 | bool _arg2 = (bool ) TRUE; | |
8888 | PyObject * _argo0 = 0; | |
8889 | PyObject * _argo1 = 0; | |
8890 | int tempbool2 = (int) TRUE; | |
8891 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
8892 | ||
8893 | self = self; | |
8894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8895 | return NULL; | |
8896 | if (_argo0) { | |
8897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p."); | |
8900 | return NULL; | |
8901 | } | |
8902 | } | |
8903 | if (_argo1) { | |
8904 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8905 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p."); | |
8907 | return NULL; | |
8908 | } | |
8909 | } | |
8910 | _arg2 = (bool ) tempbool2; | |
8911 | { | |
8912 | wxPy_BEGIN_ALLOW_THREADS; | |
8913 | wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
8914 | ||
8915 | wxPy_END_ALLOW_THREADS; | |
8916 | } Py_INCREF(Py_None); | |
8917 | _resultobj = Py_None; | |
8918 | return _resultobj; | |
8919 | } | |
8920 | ||
8921 | #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8922 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8923 | PyObject * _resultobj; | |
8924 | wxPyCompositeShape * _arg0; | |
8925 | wxPyControlPoint * _arg1; | |
8926 | bool _arg2; | |
8927 | double _arg3; | |
8928 | double _arg4; | |
8929 | int _arg5 = (int ) 0; | |
8930 | int _arg6 = (int ) 0; | |
8931 | PyObject * _argo0 = 0; | |
8932 | PyObject * _argo1 = 0; | |
8933 | int tempbool2; | |
8934 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
8935 | ||
8936 | self = self; | |
8937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
8938 | return NULL; | |
8939 | if (_argo0) { | |
8940 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8941 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p."); | |
8943 | return NULL; | |
8944 | } | |
8945 | } | |
8946 | if (_argo1) { | |
8947 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8948 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
8949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
8950 | return NULL; | |
8951 | } | |
8952 | } | |
8953 | _arg2 = (bool ) tempbool2; | |
8954 | { | |
8955 | wxPy_BEGIN_ALLOW_THREADS; | |
8956 | wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8957 | ||
8958 | wxPy_END_ALLOW_THREADS; | |
8959 | } Py_INCREF(Py_None); | |
8960 | _resultobj = Py_None; | |
8961 | return _resultobj; | |
8962 | } | |
8963 | ||
8964 | #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8965 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8966 | PyObject * _resultobj; | |
8967 | wxPyCompositeShape * _arg0; | |
8968 | wxPyControlPoint * _arg1; | |
8969 | double _arg2; | |
8970 | double _arg3; | |
8971 | int _arg4 = (int ) 0; | |
8972 | int _arg5 = (int ) 0; | |
8973 | PyObject * _argo0 = 0; | |
8974 | PyObject * _argo1 = 0; | |
8975 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8976 | ||
8977 | self = self; | |
8978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8979 | return NULL; | |
8980 | if (_argo0) { | |
8981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8984 | return NULL; | |
8985 | } | |
8986 | } | |
8987 | if (_argo1) { | |
8988 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8989 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
8990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
8991 | return NULL; | |
8992 | } | |
8993 | } | |
8994 | { | |
8995 | wxPy_BEGIN_ALLOW_THREADS; | |
8996 | wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8997 | ||
8998 | wxPy_END_ALLOW_THREADS; | |
8999 | } Py_INCREF(Py_None); | |
9000 | _resultobj = Py_None; | |
9001 | return _resultobj; | |
9002 | } | |
9003 | ||
9004 | #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9005 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9006 | PyObject * _resultobj; | |
9007 | wxPyCompositeShape * _arg0; | |
9008 | wxPyControlPoint * _arg1; | |
9009 | double _arg2; | |
9010 | double _arg3; | |
9011 | int _arg4 = (int ) 0; | |
9012 | int _arg5 = (int ) 0; | |
9013 | PyObject * _argo0 = 0; | |
9014 | PyObject * _argo1 = 0; | |
9015 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
9016 | ||
9017 | self = self; | |
9018 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9019 | return NULL; | |
9020 | if (_argo0) { | |
9021 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9022 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9023 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p."); | |
9024 | return NULL; | |
9025 | } | |
9026 | } | |
9027 | if (_argo1) { | |
9028 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9029 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
9030 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
9031 | return NULL; | |
9032 | } | |
9033 | } | |
9034 | { | |
9035 | wxPy_BEGIN_ALLOW_THREADS; | |
9036 | wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9037 | ||
9038 | wxPy_END_ALLOW_THREADS; | |
9039 | } Py_INCREF(Py_None); | |
9040 | _resultobj = Py_None; | |
9041 | return _resultobj; | |
9042 | } | |
9043 | ||
9044 | #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
9045 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9046 | PyObject * _resultobj; | |
9047 | wxPyCompositeShape * _arg0; | |
9048 | double _arg1; | |
9049 | double _arg2; | |
9050 | PyObject * _argo0 = 0; | |
9051 | char *_kwnames[] = { "self","w","h", NULL }; | |
9052 | ||
9053 | self = self; | |
9054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9055 | return NULL; | |
9056 | if (_argo0) { | |
9057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p."); | |
9060 | return NULL; | |
9061 | } | |
9062 | } | |
9063 | { | |
9064 | wxPy_BEGIN_ALLOW_THREADS; | |
9065 | wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
9066 | ||
9067 | wxPy_END_ALLOW_THREADS; | |
9068 | } Py_INCREF(Py_None); | |
9069 | _resultobj = Py_None; | |
9070 | return _resultobj; | |
9071 | } | |
9072 | ||
9073 | #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
9074 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9075 | PyObject * _resultobj; | |
9076 | wxPyCompositeShape * _arg0; | |
9077 | double _arg1; | |
9078 | double _arg2; | |
9079 | PyObject * _argo0 = 0; | |
9080 | char *_kwnames[] = { "self","w","h", NULL }; | |
9081 | ||
9082 | self = self; | |
9083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9084 | return NULL; | |
9085 | if (_argo0) { | |
9086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p."); | |
9089 | return NULL; | |
9090 | } | |
9091 | } | |
9092 | { | |
9093 | wxPy_BEGIN_ALLOW_THREADS; | |
9094 | wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
9095 | ||
9096 | wxPy_END_ALLOW_THREADS; | |
9097 | } Py_INCREF(Py_None); | |
9098 | _resultobj = Py_None; | |
9099 | return _resultobj; | |
9100 | } | |
9101 | ||
9102 | static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) { | |
9103 | wxPyDividedShape *src; | |
9104 | wxPyRectangleShape *dest; | |
9105 | src = (wxPyDividedShape *) ptr; | |
9106 | dest = (wxPyRectangleShape *) src; | |
9107 | return (void *) dest; | |
9108 | } | |
9109 | ||
9110 | static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) { | |
9111 | wxPyDividedShape *src; | |
9112 | wxPyShape *dest; | |
9113 | src = (wxPyDividedShape *) ptr; | |
9114 | dest = (wxPyShape *) src; | |
9115 | return (void *) dest; | |
9116 | } | |
9117 | ||
9118 | static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) { | |
9119 | wxPyDividedShape *src; | |
9120 | wxPyShapeEvtHandler *dest; | |
9121 | src = (wxPyDividedShape *) ptr; | |
9122 | dest = (wxPyShapeEvtHandler *) src; | |
9123 | return (void *) dest; | |
9124 | } | |
9125 | ||
9126 | #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1)) | |
9127 | static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9128 | PyObject * _resultobj; | |
9129 | wxPyDividedShape * _result; | |
9130 | double _arg0 = (double ) 0.0; | |
9131 | double _arg1 = (double ) 0.0; | |
9132 | char *_kwnames[] = { "width","height", NULL }; | |
9133 | char _ptemp[128]; | |
9134 | ||
9135 | self = self; | |
9136 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1)) | |
9137 | return NULL; | |
9138 | { | |
9139 | wxPy_BEGIN_ALLOW_THREADS; | |
9140 | _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1); | |
9141 | ||
9142 | wxPy_END_ALLOW_THREADS; | |
9143 | } if (_result) { | |
9144 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p"); | |
9145 | _resultobj = Py_BuildValue("s",_ptemp); | |
9146 | } else { | |
9147 | Py_INCREF(Py_None); | |
9148 | _resultobj = Py_None; | |
9149 | } | |
9150 | return _resultobj; | |
9151 | } | |
9152 | ||
9153 | #define wxPyDividedShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
9154 | static PyObject *_wrap_wxPyDividedShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9155 | PyObject * _resultobj; | |
9156 | wxPyDividedShape * _arg0; | |
9157 | PyObject * _arg1; | |
9158 | PyObject * _arg2; | |
9159 | PyObject * _argo0 = 0; | |
9160 | PyObject * _obj1 = 0; | |
9161 | PyObject * _obj2 = 0; | |
9162 | char *_kwnames[] = { "self","self","_class", NULL }; | |
9163 | ||
9164 | self = self; | |
9165 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
9166 | return NULL; | |
9167 | if (_argo0) { | |
9168 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9169 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9170 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setSelf. Expected _wxPyDividedShape_p."); | |
9171 | return NULL; | |
9172 | } | |
9173 | } | |
9174 | { | |
9175 | _arg1 = _obj1; | |
9176 | } | |
9177 | { | |
9178 | _arg2 = _obj2; | |
9179 | } | |
9180 | { | |
9181 | wxPy_BEGIN_ALLOW_THREADS; | |
9182 | wxPyDividedShape__setSelf(_arg0,_arg1,_arg2); | |
9183 | ||
9184 | wxPy_END_ALLOW_THREADS; | |
9185 | } Py_INCREF(Py_None); | |
9186 | _resultobj = Py_None; | |
9187 | return _resultobj; | |
9188 | } | |
9189 | ||
9190 | #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions()) | |
9191 | static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9192 | PyObject * _resultobj; | |
9193 | wxPyDividedShape * _arg0; | |
9194 | PyObject * _argo0 = 0; | |
9195 | char *_kwnames[] = { "self", NULL }; | |
9196 | ||
9197 | self = self; | |
9198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0)) | |
9199 | return NULL; | |
9200 | if (_argo0) { | |
9201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p."); | |
9204 | return NULL; | |
9205 | } | |
9206 | } | |
9207 | { | |
9208 | wxPy_BEGIN_ALLOW_THREADS; | |
9209 | wxPyDividedShape_EditRegions(_arg0); | |
9210 | ||
9211 | wxPy_END_ALLOW_THREADS; | |
9212 | } Py_INCREF(Py_None); | |
9213 | _resultobj = Py_None; | |
9214 | return _resultobj; | |
9215 | } | |
9216 | ||
9217 | #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes()) | |
9218 | static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9219 | PyObject * _resultobj; | |
9220 | wxPyDividedShape * _arg0; | |
9221 | PyObject * _argo0 = 0; | |
9222 | char *_kwnames[] = { "self", NULL }; | |
9223 | ||
9224 | self = self; | |
9225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0)) | |
9226 | return NULL; | |
9227 | if (_argo0) { | |
9228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p."); | |
9231 | return NULL; | |
9232 | } | |
9233 | } | |
9234 | { | |
9235 | wxPy_BEGIN_ALLOW_THREADS; | |
9236 | wxPyDividedShape_SetRegionSizes(_arg0); | |
9237 | ||
9238 | wxPy_END_ALLOW_THREADS; | |
9239 | } Py_INCREF(Py_None); | |
9240 | _resultobj = Py_None; | |
9241 | return _resultobj; | |
9242 | } | |
9243 | ||
9244 | #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
9245 | static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9246 | PyObject * _resultobj; | |
9247 | wxPyDividedShape * _arg0; | |
9248 | PyObject * _argo0 = 0; | |
9249 | char *_kwnames[] = { "self", NULL }; | |
9250 | ||
9251 | self = self; | |
9252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0)) | |
9253 | return NULL; | |
9254 | if (_argo0) { | |
9255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p."); | |
9258 | return NULL; | |
9259 | } | |
9260 | } | |
9261 | { | |
9262 | wxPy_BEGIN_ALLOW_THREADS; | |
9263 | wxPyDividedShape_base_OnDelete(_arg0); | |
9264 | ||
9265 | wxPy_END_ALLOW_THREADS; | |
9266 | } Py_INCREF(Py_None); | |
9267 | _resultobj = Py_None; | |
9268 | return _resultobj; | |
9269 | } | |
9270 | ||
9271 | #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
9272 | static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9273 | PyObject * _resultobj; | |
9274 | wxPyDividedShape * _arg0; | |
9275 | wxDC * _arg1; | |
9276 | PyObject * _argo0 = 0; | |
9277 | PyObject * _argo1 = 0; | |
9278 | char *_kwnames[] = { "self","dc", NULL }; | |
9279 | ||
9280 | self = self; | |
9281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
9282 | return NULL; | |
9283 | if (_argo0) { | |
9284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p."); | |
9287 | return NULL; | |
9288 | } | |
9289 | } | |
9290 | if (_argo1) { | |
9291 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9292 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p."); | |
9294 | return NULL; | |
9295 | } | |
9296 | } | |
9297 | { | |
9298 | wxPy_BEGIN_ALLOW_THREADS; | |
9299 | wxPyDividedShape_base_OnDraw(_arg0,*_arg1); | |
9300 | ||
9301 | wxPy_END_ALLOW_THREADS; | |
9302 | } Py_INCREF(Py_None); | |
9303 | _resultobj = Py_None; | |
9304 | return _resultobj; | |
9305 | } | |
9306 | ||
9307 | #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
9308 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9309 | PyObject * _resultobj; | |
9310 | wxPyDividedShape * _arg0; | |
9311 | wxDC * _arg1; | |
9312 | PyObject * _argo0 = 0; | |
9313 | PyObject * _argo1 = 0; | |
9314 | char *_kwnames[] = { "self","dc", NULL }; | |
9315 | ||
9316 | self = self; | |
9317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
9318 | return NULL; | |
9319 | if (_argo0) { | |
9320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p."); | |
9323 | return NULL; | |
9324 | } | |
9325 | } | |
9326 | if (_argo1) { | |
9327 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9328 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p."); | |
9330 | return NULL; | |
9331 | } | |
9332 | } | |
9333 | { | |
9334 | wxPy_BEGIN_ALLOW_THREADS; | |
9335 | wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1); | |
9336 | ||
9337 | wxPy_END_ALLOW_THREADS; | |
9338 | } Py_INCREF(Py_None); | |
9339 | _resultobj = Py_None; | |
9340 | return _resultobj; | |
9341 | } | |
9342 | ||
9343 | #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
9344 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9345 | PyObject * _resultobj; | |
9346 | wxPyDividedShape * _arg0; | |
9347 | wxDC * _arg1; | |
9348 | bool _arg2 = (bool ) FALSE; | |
9349 | PyObject * _argo0 = 0; | |
9350 | PyObject * _argo1 = 0; | |
9351 | int tempbool2 = (int) FALSE; | |
9352 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
9353 | ||
9354 | self = self; | |
9355 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9356 | return NULL; | |
9357 | if (_argo0) { | |
9358 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9359 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9360 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p."); | |
9361 | return NULL; | |
9362 | } | |
9363 | } | |
9364 | if (_argo1) { | |
9365 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9366 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9367 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p."); | |
9368 | return NULL; | |
9369 | } | |
9370 | } | |
9371 | _arg2 = (bool ) tempbool2; | |
9372 | { | |
9373 | wxPy_BEGIN_ALLOW_THREADS; | |
9374 | wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
9375 | ||
9376 | wxPy_END_ALLOW_THREADS; | |
9377 | } Py_INCREF(Py_None); | |
9378 | _resultobj = Py_None; | |
9379 | return _resultobj; | |
9380 | } | |
9381 | ||
9382 | #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
9383 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9384 | PyObject * _resultobj; | |
9385 | wxPyDividedShape * _arg0; | |
9386 | wxDC * _arg1; | |
9387 | PyObject * _argo0 = 0; | |
9388 | PyObject * _argo1 = 0; | |
9389 | char *_kwnames[] = { "self","dc", NULL }; | |
9390 | ||
9391 | self = self; | |
9392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
9393 | return NULL; | |
9394 | if (_argo0) { | |
9395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p."); | |
9398 | return NULL; | |
9399 | } | |
9400 | } | |
9401 | if (_argo1) { | |
9402 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9403 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p."); | |
9405 | return NULL; | |
9406 | } | |
9407 | } | |
9408 | { | |
9409 | wxPy_BEGIN_ALLOW_THREADS; | |
9410 | wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1); | |
9411 | ||
9412 | wxPy_END_ALLOW_THREADS; | |
9413 | } Py_INCREF(Py_None); | |
9414 | _resultobj = Py_None; | |
9415 | return _resultobj; | |
9416 | } | |
9417 | ||
9418 | #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
9419 | static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9420 | PyObject * _resultobj; | |
9421 | wxPyDividedShape * _arg0; | |
9422 | wxDC * _arg1; | |
9423 | PyObject * _argo0 = 0; | |
9424 | PyObject * _argo1 = 0; | |
9425 | char *_kwnames[] = { "self","dc", NULL }; | |
9426 | ||
9427 | self = self; | |
9428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
9429 | return NULL; | |
9430 | if (_argo0) { | |
9431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p."); | |
9434 | return NULL; | |
9435 | } | |
9436 | } | |
9437 | if (_argo1) { | |
9438 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9439 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9440 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p."); | |
9441 | return NULL; | |
9442 | } | |
9443 | } | |
9444 | { | |
9445 | wxPy_BEGIN_ALLOW_THREADS; | |
9446 | wxPyDividedShape_base_OnErase(_arg0,*_arg1); | |
9447 | ||
9448 | wxPy_END_ALLOW_THREADS; | |
9449 | } Py_INCREF(Py_None); | |
9450 | _resultobj = Py_None; | |
9451 | return _resultobj; | |
9452 | } | |
9453 | ||
9454 | #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
9455 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9456 | PyObject * _resultobj; | |
9457 | wxPyDividedShape * _arg0; | |
9458 | wxDC * _arg1; | |
9459 | PyObject * _argo0 = 0; | |
9460 | PyObject * _argo1 = 0; | |
9461 | char *_kwnames[] = { "self","dc", NULL }; | |
9462 | ||
9463 | self = self; | |
9464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
9465 | return NULL; | |
9466 | if (_argo0) { | |
9467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p."); | |
9470 | return NULL; | |
9471 | } | |
9472 | } | |
9473 | if (_argo1) { | |
9474 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9475 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p."); | |
9477 | return NULL; | |
9478 | } | |
9479 | } | |
9480 | { | |
9481 | wxPy_BEGIN_ALLOW_THREADS; | |
9482 | wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1); | |
9483 | ||
9484 | wxPy_END_ALLOW_THREADS; | |
9485 | } Py_INCREF(Py_None); | |
9486 | _resultobj = Py_None; | |
9487 | return _resultobj; | |
9488 | } | |
9489 | ||
9490 | #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
9491 | static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9492 | PyObject * _resultobj; | |
9493 | wxPyDividedShape * _arg0; | |
9494 | wxDC * _arg1; | |
9495 | PyObject * _argo0 = 0; | |
9496 | PyObject * _argo1 = 0; | |
9497 | char *_kwnames[] = { "self","dc", NULL }; | |
9498 | ||
9499 | self = self; | |
9500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
9501 | return NULL; | |
9502 | if (_argo0) { | |
9503 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9504 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9505 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p."); | |
9506 | return NULL; | |
9507 | } | |
9508 | } | |
9509 | if (_argo1) { | |
9510 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9511 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p."); | |
9513 | return NULL; | |
9514 | } | |
9515 | } | |
9516 | { | |
9517 | wxPy_BEGIN_ALLOW_THREADS; | |
9518 | wxPyDividedShape_base_OnHighlight(_arg0,*_arg1); | |
9519 | ||
9520 | wxPy_END_ALLOW_THREADS; | |
9521 | } Py_INCREF(Py_None); | |
9522 | _resultobj = Py_None; | |
9523 | return _resultobj; | |
9524 | } | |
9525 | ||
9526 | #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9527 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9528 | PyObject * _resultobj; | |
9529 | wxPyDividedShape * _arg0; | |
9530 | double _arg1; | |
9531 | double _arg2; | |
9532 | int _arg3 = (int ) 0; | |
9533 | int _arg4 = (int ) 0; | |
9534 | PyObject * _argo0 = 0; | |
9535 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9536 | ||
9537 | self = self; | |
9538 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9539 | return NULL; | |
9540 | if (_argo0) { | |
9541 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9542 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9543 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p."); | |
9544 | return NULL; | |
9545 | } | |
9546 | } | |
9547 | { | |
9548 | wxPy_BEGIN_ALLOW_THREADS; | |
9549 | wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9550 | ||
9551 | wxPy_END_ALLOW_THREADS; | |
9552 | } Py_INCREF(Py_None); | |
9553 | _resultobj = Py_None; | |
9554 | return _resultobj; | |
9555 | } | |
9556 | ||
9557 | #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9558 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9559 | PyObject * _resultobj; | |
9560 | wxPyDividedShape * _arg0; | |
9561 | double _arg1; | |
9562 | double _arg2; | |
9563 | int _arg3 = (int ) 0; | |
9564 | int _arg4 = (int ) 0; | |
9565 | PyObject * _argo0 = 0; | |
9566 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9567 | ||
9568 | self = self; | |
9569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9570 | return NULL; | |
9571 | if (_argo0) { | |
9572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p."); | |
9575 | return NULL; | |
9576 | } | |
9577 | } | |
9578 | { | |
9579 | wxPy_BEGIN_ALLOW_THREADS; | |
9580 | wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9581 | ||
9582 | wxPy_END_ALLOW_THREADS; | |
9583 | } Py_INCREF(Py_None); | |
9584 | _resultobj = Py_None; | |
9585 | return _resultobj; | |
9586 | } | |
9587 | ||
9588 | #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9589 | static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9590 | PyObject * _resultobj; | |
9591 | wxPyDividedShape * _arg0; | |
9592 | double _arg1; | |
9593 | double _arg2; | |
9594 | int _arg3 = (int ) 0; | |
9595 | int _arg4 = (int ) 0; | |
9596 | PyObject * _argo0 = 0; | |
9597 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9598 | ||
9599 | self = self; | |
9600 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9601 | return NULL; | |
9602 | if (_argo0) { | |
9603 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9604 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9605 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p."); | |
9606 | return NULL; | |
9607 | } | |
9608 | } | |
9609 | { | |
9610 | wxPy_BEGIN_ALLOW_THREADS; | |
9611 | wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9612 | ||
9613 | wxPy_END_ALLOW_THREADS; | |
9614 | } Py_INCREF(Py_None); | |
9615 | _resultobj = Py_None; | |
9616 | return _resultobj; | |
9617 | } | |
9618 | ||
9619 | #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
9620 | static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9621 | PyObject * _resultobj; | |
9622 | wxPyDividedShape * _arg0; | |
9623 | double _arg1; | |
9624 | double _arg2; | |
9625 | PyObject * _argo0 = 0; | |
9626 | char *_kwnames[] = { "self","x","y", NULL }; | |
9627 | ||
9628 | self = self; | |
9629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9630 | return NULL; | |
9631 | if (_argo0) { | |
9632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p."); | |
9635 | return NULL; | |
9636 | } | |
9637 | } | |
9638 | { | |
9639 | wxPy_BEGIN_ALLOW_THREADS; | |
9640 | wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2); | |
9641 | ||
9642 | wxPy_END_ALLOW_THREADS; | |
9643 | } Py_INCREF(Py_None); | |
9644 | _resultobj = Py_None; | |
9645 | return _resultobj; | |
9646 | } | |
9647 | ||
9648 | #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9649 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9650 | PyObject * _resultobj; | |
9651 | bool _result; | |
9652 | wxPyDividedShape * _arg0; | |
9653 | wxDC * _arg1; | |
9654 | double _arg2; | |
9655 | double _arg3; | |
9656 | double _arg4; | |
9657 | double _arg5; | |
9658 | bool _arg6 = (bool ) TRUE; | |
9659 | PyObject * _argo0 = 0; | |
9660 | PyObject * _argo1 = 0; | |
9661 | int tempbool6 = (int) TRUE; | |
9662 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9663 | ||
9664 | self = self; | |
9665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9666 | return NULL; | |
9667 | if (_argo0) { | |
9668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p."); | |
9671 | return NULL; | |
9672 | } | |
9673 | } | |
9674 | if (_argo1) { | |
9675 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9676 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9677 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p."); | |
9678 | return NULL; | |
9679 | } | |
9680 | } | |
9681 | _arg6 = (bool ) tempbool6; | |
9682 | { | |
9683 | wxPy_BEGIN_ALLOW_THREADS; | |
9684 | _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9685 | ||
9686 | wxPy_END_ALLOW_THREADS; | |
9687 | } _resultobj = Py_BuildValue("i",_result); | |
9688 | return _resultobj; | |
9689 | } | |
9690 | ||
9691 | #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9692 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9693 | PyObject * _resultobj; | |
9694 | wxPyDividedShape * _arg0; | |
9695 | wxDC * _arg1; | |
9696 | double _arg2; | |
9697 | double _arg3; | |
9698 | double _arg4; | |
9699 | double _arg5; | |
9700 | bool _arg6 = (bool ) TRUE; | |
9701 | PyObject * _argo0 = 0; | |
9702 | PyObject * _argo1 = 0; | |
9703 | int tempbool6 = (int) TRUE; | |
9704 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9705 | ||
9706 | self = self; | |
9707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9708 | return NULL; | |
9709 | if (_argo0) { | |
9710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p."); | |
9713 | return NULL; | |
9714 | } | |
9715 | } | |
9716 | if (_argo1) { | |
9717 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9718 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p."); | |
9720 | return NULL; | |
9721 | } | |
9722 | } | |
9723 | _arg6 = (bool ) tempbool6; | |
9724 | { | |
9725 | wxPy_BEGIN_ALLOW_THREADS; | |
9726 | wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9727 | ||
9728 | wxPy_END_ALLOW_THREADS; | |
9729 | } Py_INCREF(Py_None); | |
9730 | _resultobj = Py_None; | |
9731 | return _resultobj; | |
9732 | } | |
9733 | ||
9734 | #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9735 | static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9736 | PyObject * _resultobj; | |
9737 | wxPyDividedShape * _arg0; | |
9738 | bool _arg1; | |
9739 | double _arg2; | |
9740 | double _arg3; | |
9741 | int _arg4 = (int ) 0; | |
9742 | int _arg5 = (int ) 0; | |
9743 | PyObject * _argo0 = 0; | |
9744 | int tempbool1; | |
9745 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9746 | ||
9747 | self = self; | |
9748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9749 | return NULL; | |
9750 | if (_argo0) { | |
9751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p."); | |
9754 | return NULL; | |
9755 | } | |
9756 | } | |
9757 | _arg1 = (bool ) tempbool1; | |
9758 | { | |
9759 | wxPy_BEGIN_ALLOW_THREADS; | |
9760 | wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9761 | ||
9762 | wxPy_END_ALLOW_THREADS; | |
9763 | } Py_INCREF(Py_None); | |
9764 | _resultobj = Py_None; | |
9765 | return _resultobj; | |
9766 | } | |
9767 | ||
9768 | #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9769 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9770 | PyObject * _resultobj; | |
9771 | wxPyDividedShape * _arg0; | |
9772 | double _arg1; | |
9773 | double _arg2; | |
9774 | int _arg3 = (int ) 0; | |
9775 | int _arg4 = (int ) 0; | |
9776 | PyObject * _argo0 = 0; | |
9777 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9778 | ||
9779 | self = self; | |
9780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9781 | return NULL; | |
9782 | if (_argo0) { | |
9783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p."); | |
9786 | return NULL; | |
9787 | } | |
9788 | } | |
9789 | { | |
9790 | wxPy_BEGIN_ALLOW_THREADS; | |
9791 | wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9792 | ||
9793 | wxPy_END_ALLOW_THREADS; | |
9794 | } Py_INCREF(Py_None); | |
9795 | _resultobj = Py_None; | |
9796 | return _resultobj; | |
9797 | } | |
9798 | ||
9799 | #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9800 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9801 | PyObject * _resultobj; | |
9802 | wxPyDividedShape * _arg0; | |
9803 | double _arg1; | |
9804 | double _arg2; | |
9805 | int _arg3 = (int ) 0; | |
9806 | int _arg4 = (int ) 0; | |
9807 | PyObject * _argo0 = 0; | |
9808 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9809 | ||
9810 | self = self; | |
9811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9812 | return NULL; | |
9813 | if (_argo0) { | |
9814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p."); | |
9817 | return NULL; | |
9818 | } | |
9819 | } | |
9820 | { | |
9821 | wxPy_BEGIN_ALLOW_THREADS; | |
9822 | wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9823 | ||
9824 | wxPy_END_ALLOW_THREADS; | |
9825 | } Py_INCREF(Py_None); | |
9826 | _resultobj = Py_None; | |
9827 | return _resultobj; | |
9828 | } | |
9829 | ||
9830 | #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9831 | static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9832 | PyObject * _resultobj; | |
9833 | wxPyDividedShape * _arg0; | |
9834 | bool _arg1; | |
9835 | double _arg2; | |
9836 | double _arg3; | |
9837 | int _arg4 = (int ) 0; | |
9838 | int _arg5 = (int ) 0; | |
9839 | PyObject * _argo0 = 0; | |
9840 | int tempbool1; | |
9841 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9842 | ||
9843 | self = self; | |
9844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9845 | return NULL; | |
9846 | if (_argo0) { | |
9847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p."); | |
9850 | return NULL; | |
9851 | } | |
9852 | } | |
9853 | _arg1 = (bool ) tempbool1; | |
9854 | { | |
9855 | wxPy_BEGIN_ALLOW_THREADS; | |
9856 | wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9857 | ||
9858 | wxPy_END_ALLOW_THREADS; | |
9859 | } Py_INCREF(Py_None); | |
9860 | _resultobj = Py_None; | |
9861 | return _resultobj; | |
9862 | } | |
9863 | ||
9864 | #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9865 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9866 | PyObject * _resultobj; | |
9867 | wxPyDividedShape * _arg0; | |
9868 | double _arg1; | |
9869 | double _arg2; | |
9870 | int _arg3 = (int ) 0; | |
9871 | int _arg4 = (int ) 0; | |
9872 | PyObject * _argo0 = 0; | |
9873 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9874 | ||
9875 | self = self; | |
9876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9877 | return NULL; | |
9878 | if (_argo0) { | |
9879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p."); | |
9882 | return NULL; | |
9883 | } | |
9884 | } | |
9885 | { | |
9886 | wxPy_BEGIN_ALLOW_THREADS; | |
9887 | wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9888 | ||
9889 | wxPy_END_ALLOW_THREADS; | |
9890 | } Py_INCREF(Py_None); | |
9891 | _resultobj = Py_None; | |
9892 | return _resultobj; | |
9893 | } | |
9894 | ||
9895 | #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9896 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9897 | PyObject * _resultobj; | |
9898 | wxPyDividedShape * _arg0; | |
9899 | double _arg1; | |
9900 | double _arg2; | |
9901 | int _arg3 = (int ) 0; | |
9902 | int _arg4 = (int ) 0; | |
9903 | PyObject * _argo0 = 0; | |
9904 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9905 | ||
9906 | self = self; | |
9907 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9908 | return NULL; | |
9909 | if (_argo0) { | |
9910 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9911 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p."); | |
9913 | return NULL; | |
9914 | } | |
9915 | } | |
9916 | { | |
9917 | wxPy_BEGIN_ALLOW_THREADS; | |
9918 | wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9919 | ||
9920 | wxPy_END_ALLOW_THREADS; | |
9921 | } Py_INCREF(Py_None); | |
9922 | _resultobj = Py_None; | |
9923 | return _resultobj; | |
9924 | } | |
9925 | ||
9926 | #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9927 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9928 | PyObject * _resultobj; | |
9929 | wxPyDividedShape * _arg0; | |
9930 | wxDC * _arg1; | |
9931 | double _arg2; | |
9932 | double _arg3; | |
9933 | double _arg4; | |
9934 | double _arg5; | |
9935 | PyObject * _argo0 = 0; | |
9936 | PyObject * _argo1 = 0; | |
9937 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
9938 | ||
9939 | self = self; | |
9940 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9941 | return NULL; | |
9942 | if (_argo0) { | |
9943 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9944 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9945 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p."); | |
9946 | return NULL; | |
9947 | } | |
9948 | } | |
9949 | if (_argo1) { | |
9950 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9951 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p."); | |
9953 | return NULL; | |
9954 | } | |
9955 | } | |
9956 | { | |
9957 | wxPy_BEGIN_ALLOW_THREADS; | |
9958 | wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
9959 | ||
9960 | wxPy_END_ALLOW_THREADS; | |
9961 | } Py_INCREF(Py_None); | |
9962 | _resultobj = Py_None; | |
9963 | return _resultobj; | |
9964 | } | |
9965 | ||
9966 | #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
9967 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9968 | PyObject * _resultobj; | |
9969 | wxPyDividedShape * _arg0; | |
9970 | wxDC * _arg1; | |
9971 | PyObject * _argo0 = 0; | |
9972 | PyObject * _argo1 = 0; | |
9973 | char *_kwnames[] = { "self","dc", NULL }; | |
9974 | ||
9975 | self = self; | |
9976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
9977 | return NULL; | |
9978 | if (_argo0) { | |
9979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p."); | |
9982 | return NULL; | |
9983 | } | |
9984 | } | |
9985 | if (_argo1) { | |
9986 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9987 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
9989 | return NULL; | |
9990 | } | |
9991 | } | |
9992 | { | |
9993 | wxPy_BEGIN_ALLOW_THREADS; | |
9994 | wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
9995 | ||
9996 | wxPy_END_ALLOW_THREADS; | |
9997 | } Py_INCREF(Py_None); | |
9998 | _resultobj = Py_None; | |
9999 | return _resultobj; | |
10000 | } | |
10001 | ||
10002 | #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
10003 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10004 | PyObject * _resultobj; | |
10005 | wxPyDividedShape * _arg0; | |
10006 | wxDC * _arg1; | |
10007 | PyObject * _argo0 = 0; | |
10008 | PyObject * _argo1 = 0; | |
10009 | char *_kwnames[] = { "self","dc", NULL }; | |
10010 | ||
10011 | self = self; | |
10012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
10013 | return NULL; | |
10014 | if (_argo0) { | |
10015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p."); | |
10018 | return NULL; | |
10019 | } | |
10020 | } | |
10021 | if (_argo1) { | |
10022 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10023 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
10025 | return NULL; | |
10026 | } | |
10027 | } | |
10028 | { | |
10029 | wxPy_BEGIN_ALLOW_THREADS; | |
10030 | wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
10031 | ||
10032 | wxPy_END_ALLOW_THREADS; | |
10033 | } Py_INCREF(Py_None); | |
10034 | _resultobj = Py_None; | |
10035 | return _resultobj; | |
10036 | } | |
10037 | ||
10038 | #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
10039 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10040 | PyObject * _resultobj; | |
10041 | wxPyDividedShape * _arg0; | |
10042 | wxDC * _arg1; | |
10043 | bool _arg2 = (bool ) TRUE; | |
10044 | PyObject * _argo0 = 0; | |
10045 | PyObject * _argo1 = 0; | |
10046 | int tempbool2 = (int) TRUE; | |
10047 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
10048 | ||
10049 | self = self; | |
10050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
10051 | return NULL; | |
10052 | if (_argo0) { | |
10053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p."); | |
10056 | return NULL; | |
10057 | } | |
10058 | } | |
10059 | if (_argo1) { | |
10060 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10061 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p."); | |
10063 | return NULL; | |
10064 | } | |
10065 | } | |
10066 | _arg2 = (bool ) tempbool2; | |
10067 | { | |
10068 | wxPy_BEGIN_ALLOW_THREADS; | |
10069 | wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
10070 | ||
10071 | wxPy_END_ALLOW_THREADS; | |
10072 | } Py_INCREF(Py_None); | |
10073 | _resultobj = Py_None; | |
10074 | return _resultobj; | |
10075 | } | |
10076 | ||
10077 | #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
10078 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10079 | PyObject * _resultobj; | |
10080 | wxPyDividedShape * _arg0; | |
10081 | wxPyControlPoint * _arg1; | |
10082 | bool _arg2; | |
10083 | double _arg3; | |
10084 | double _arg4; | |
10085 | int _arg5 = (int ) 0; | |
10086 | int _arg6 = (int ) 0; | |
10087 | PyObject * _argo0 = 0; | |
10088 | PyObject * _argo1 = 0; | |
10089 | int tempbool2; | |
10090 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
10091 | ||
10092 | self = self; | |
10093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
10094 | return NULL; | |
10095 | if (_argo0) { | |
10096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p."); | |
10099 | return NULL; | |
10100 | } | |
10101 | } | |
10102 | if (_argo1) { | |
10103 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10104 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
10105 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
10106 | return NULL; | |
10107 | } | |
10108 | } | |
10109 | _arg2 = (bool ) tempbool2; | |
10110 | { | |
10111 | wxPy_BEGIN_ALLOW_THREADS; | |
10112 | wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
10113 | ||
10114 | wxPy_END_ALLOW_THREADS; | |
10115 | } Py_INCREF(Py_None); | |
10116 | _resultobj = Py_None; | |
10117 | return _resultobj; | |
10118 | } | |
10119 | ||
10120 | #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10121 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10122 | PyObject * _resultobj; | |
10123 | wxPyDividedShape * _arg0; | |
10124 | wxPyControlPoint * _arg1; | |
10125 | double _arg2; | |
10126 | double _arg3; | |
10127 | int _arg4 = (int ) 0; | |
10128 | int _arg5 = (int ) 0; | |
10129 | PyObject * _argo0 = 0; | |
10130 | PyObject * _argo1 = 0; | |
10131 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10132 | ||
10133 | self = self; | |
10134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10135 | return NULL; | |
10136 | if (_argo0) { | |
10137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p."); | |
10140 | return NULL; | |
10141 | } | |
10142 | } | |
10143 | if (_argo1) { | |
10144 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10145 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
10146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
10147 | return NULL; | |
10148 | } | |
10149 | } | |
10150 | { | |
10151 | wxPy_BEGIN_ALLOW_THREADS; | |
10152 | wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10153 | ||
10154 | wxPy_END_ALLOW_THREADS; | |
10155 | } Py_INCREF(Py_None); | |
10156 | _resultobj = Py_None; | |
10157 | return _resultobj; | |
10158 | } | |
10159 | ||
10160 | #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10161 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10162 | PyObject * _resultobj; | |
10163 | wxPyDividedShape * _arg0; | |
10164 | wxPyControlPoint * _arg1; | |
10165 | double _arg2; | |
10166 | double _arg3; | |
10167 | int _arg4 = (int ) 0; | |
10168 | int _arg5 = (int ) 0; | |
10169 | PyObject * _argo0 = 0; | |
10170 | PyObject * _argo1 = 0; | |
10171 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10172 | ||
10173 | self = self; | |
10174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10175 | return NULL; | |
10176 | if (_argo0) { | |
10177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p."); | |
10180 | return NULL; | |
10181 | } | |
10182 | } | |
10183 | if (_argo1) { | |
10184 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10185 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
10186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
10187 | return NULL; | |
10188 | } | |
10189 | } | |
10190 | { | |
10191 | wxPy_BEGIN_ALLOW_THREADS; | |
10192 | wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10193 | ||
10194 | wxPy_END_ALLOW_THREADS; | |
10195 | } Py_INCREF(Py_None); | |
10196 | _resultobj = Py_None; | |
10197 | return _resultobj; | |
10198 | } | |
10199 | ||
10200 | #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
10201 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10202 | PyObject * _resultobj; | |
10203 | wxPyDividedShape * _arg0; | |
10204 | double _arg1; | |
10205 | double _arg2; | |
10206 | PyObject * _argo0 = 0; | |
10207 | char *_kwnames[] = { "self","w","h", NULL }; | |
10208 | ||
10209 | self = self; | |
10210 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10211 | return NULL; | |
10212 | if (_argo0) { | |
10213 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10214 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10215 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p."); | |
10216 | return NULL; | |
10217 | } | |
10218 | } | |
10219 | { | |
10220 | wxPy_BEGIN_ALLOW_THREADS; | |
10221 | wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
10222 | ||
10223 | wxPy_END_ALLOW_THREADS; | |
10224 | } Py_INCREF(Py_None); | |
10225 | _resultobj = Py_None; | |
10226 | return _resultobj; | |
10227 | } | |
10228 | ||
10229 | #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
10230 | static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10231 | PyObject * _resultobj; | |
10232 | wxPyDividedShape * _arg0; | |
10233 | double _arg1; | |
10234 | double _arg2; | |
10235 | PyObject * _argo0 = 0; | |
10236 | char *_kwnames[] = { "self","w","h", NULL }; | |
10237 | ||
10238 | self = self; | |
10239 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10240 | return NULL; | |
10241 | if (_argo0) { | |
10242 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10243 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10244 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p."); | |
10245 | return NULL; | |
10246 | } | |
10247 | } | |
10248 | { | |
10249 | wxPy_BEGIN_ALLOW_THREADS; | |
10250 | wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
10251 | ||
10252 | wxPy_END_ALLOW_THREADS; | |
10253 | } Py_INCREF(Py_None); | |
10254 | _resultobj = Py_None; | |
10255 | return _resultobj; | |
10256 | } | |
10257 | ||
10258 | static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) { | |
10259 | wxPyDivisionShape *src; | |
10260 | wxPyCompositeShape *dest; | |
10261 | src = (wxPyDivisionShape *) ptr; | |
10262 | dest = (wxPyCompositeShape *) src; | |
10263 | return (void *) dest; | |
10264 | } | |
10265 | ||
10266 | static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) { | |
10267 | wxPyDivisionShape *src; | |
10268 | wxPyRectangleShape *dest; | |
10269 | src = (wxPyDivisionShape *) ptr; | |
10270 | dest = (wxPyRectangleShape *) src; | |
10271 | return (void *) dest; | |
10272 | } | |
10273 | ||
10274 | static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) { | |
10275 | wxPyDivisionShape *src; | |
10276 | wxPyShape *dest; | |
10277 | src = (wxPyDivisionShape *) ptr; | |
10278 | dest = (wxPyShape *) src; | |
10279 | return (void *) dest; | |
10280 | } | |
10281 | ||
10282 | static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) { | |
10283 | wxPyDivisionShape *src; | |
10284 | wxPyShapeEvtHandler *dest; | |
10285 | src = (wxPyDivisionShape *) ptr; | |
10286 | dest = (wxPyShapeEvtHandler *) src; | |
10287 | return (void *) dest; | |
10288 | } | |
10289 | ||
10290 | #define new_wxPyDivisionShape() (new wxPyDivisionShape()) | |
10291 | static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10292 | PyObject * _resultobj; | |
10293 | wxPyDivisionShape * _result; | |
10294 | char *_kwnames[] = { NULL }; | |
10295 | char _ptemp[128]; | |
10296 | ||
10297 | self = self; | |
10298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames)) | |
10299 | return NULL; | |
10300 | { | |
10301 | wxPy_BEGIN_ALLOW_THREADS; | |
10302 | _result = (wxPyDivisionShape *)new_wxPyDivisionShape(); | |
10303 | ||
10304 | wxPy_END_ALLOW_THREADS; | |
10305 | } if (_result) { | |
10306 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10307 | _resultobj = Py_BuildValue("s",_ptemp); | |
10308 | } else { | |
10309 | Py_INCREF(Py_None); | |
10310 | _resultobj = Py_None; | |
10311 | } | |
10312 | return _resultobj; | |
10313 | } | |
10314 | ||
10315 | #define wxPyDivisionShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) | |
10316 | static PyObject *_wrap_wxPyDivisionShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10317 | PyObject * _resultobj; | |
10318 | wxPyDivisionShape * _arg0; | |
10319 | PyObject * _arg1; | |
10320 | PyObject * _arg2; | |
10321 | PyObject * _argo0 = 0; | |
10322 | PyObject * _obj1 = 0; | |
10323 | PyObject * _obj2 = 0; | |
10324 | char *_kwnames[] = { "self","self","_class", NULL }; | |
10325 | ||
10326 | self = self; | |
10327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) | |
10328 | return NULL; | |
10329 | if (_argo0) { | |
10330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setSelf. Expected _wxPyDivisionShape_p."); | |
10333 | return NULL; | |
10334 | } | |
10335 | } | |
10336 | { | |
10337 | _arg1 = _obj1; | |
10338 | } | |
10339 | { | |
10340 | _arg2 = _obj2; | |
10341 | } | |
10342 | { | |
10343 | wxPy_BEGIN_ALLOW_THREADS; | |
10344 | wxPyDivisionShape__setSelf(_arg0,_arg1,_arg2); | |
10345 | ||
10346 | wxPy_END_ALLOW_THREADS; | |
10347 | } Py_INCREF(Py_None); | |
10348 | _resultobj = Py_None; | |
10349 | return _resultobj; | |
10350 | } | |
10351 | ||
10352 | #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1)) | |
10353 | static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10354 | PyObject * _resultobj; | |
10355 | wxPyDivisionShape * _arg0; | |
10356 | double _arg1; | |
10357 | bool _arg2; | |
10358 | PyObject * _argo0 = 0; | |
10359 | int tempbool2; | |
10360 | char *_kwnames[] = { "self","bottom","test", NULL }; | |
10361 | ||
10362 | self = self; | |
10363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10364 | return NULL; | |
10365 | if (_argo0) { | |
10366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p."); | |
10369 | return NULL; | |
10370 | } | |
10371 | } | |
10372 | _arg2 = (bool ) tempbool2; | |
10373 | { | |
10374 | wxPy_BEGIN_ALLOW_THREADS; | |
10375 | wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2); | |
10376 | ||
10377 | wxPy_END_ALLOW_THREADS; | |
10378 | } Py_INCREF(Py_None); | |
10379 | _resultobj = Py_None; | |
10380 | return _resultobj; | |
10381 | } | |
10382 | ||
10383 | #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1)) | |
10384 | static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10385 | PyObject * _resultobj; | |
10386 | wxPyDivisionShape * _arg0; | |
10387 | double _arg1; | |
10388 | bool _arg2; | |
10389 | PyObject * _argo0 = 0; | |
10390 | int tempbool2; | |
10391 | char *_kwnames[] = { "self","left","test", NULL }; | |
10392 | ||
10393 | self = self; | |
10394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10395 | return NULL; | |
10396 | if (_argo0) { | |
10397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p."); | |
10400 | return NULL; | |
10401 | } | |
10402 | } | |
10403 | _arg2 = (bool ) tempbool2; | |
10404 | { | |
10405 | wxPy_BEGIN_ALLOW_THREADS; | |
10406 | wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2); | |
10407 | ||
10408 | wxPy_END_ALLOW_THREADS; | |
10409 | } Py_INCREF(Py_None); | |
10410 | _resultobj = Py_None; | |
10411 | return _resultobj; | |
10412 | } | |
10413 | ||
10414 | #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1)) | |
10415 | static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10416 | PyObject * _resultobj; | |
10417 | wxPyDivisionShape * _arg0; | |
10418 | double _arg1; | |
10419 | bool _arg2; | |
10420 | PyObject * _argo0 = 0; | |
10421 | int tempbool2; | |
10422 | char *_kwnames[] = { "self","right","test", NULL }; | |
10423 | ||
10424 | self = self; | |
10425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10426 | return NULL; | |
10427 | if (_argo0) { | |
10428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p."); | |
10431 | return NULL; | |
10432 | } | |
10433 | } | |
10434 | _arg2 = (bool ) tempbool2; | |
10435 | { | |
10436 | wxPy_BEGIN_ALLOW_THREADS; | |
10437 | wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2); | |
10438 | ||
10439 | wxPy_END_ALLOW_THREADS; | |
10440 | } Py_INCREF(Py_None); | |
10441 | _resultobj = Py_None; | |
10442 | return _resultobj; | |
10443 | } | |
10444 | ||
10445 | #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1)) | |
10446 | static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10447 | PyObject * _resultobj; | |
10448 | wxPyDivisionShape * _arg0; | |
10449 | double _arg1; | |
10450 | bool _arg2; | |
10451 | PyObject * _argo0 = 0; | |
10452 | int tempbool2; | |
10453 | char *_kwnames[] = { "self","top","test", NULL }; | |
10454 | ||
10455 | self = self; | |
10456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10457 | return NULL; | |
10458 | if (_argo0) { | |
10459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p."); | |
10462 | return NULL; | |
10463 | } | |
10464 | } | |
10465 | _arg2 = (bool ) tempbool2; | |
10466 | { | |
10467 | wxPy_BEGIN_ALLOW_THREADS; | |
10468 | wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2); | |
10469 | ||
10470 | wxPy_END_ALLOW_THREADS; | |
10471 | } Py_INCREF(Py_None); | |
10472 | _resultobj = Py_None; | |
10473 | return _resultobj; | |
10474 | } | |
10475 | ||
10476 | #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0)) | |
10477 | static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10478 | PyObject * _resultobj; | |
10479 | wxPyDivisionShape * _arg0; | |
10480 | int _arg1; | |
10481 | PyObject * _argo0 = 0; | |
10482 | char *_kwnames[] = { "self","direction", NULL }; | |
10483 | ||
10484 | self = self; | |
10485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1)) | |
10486 | return NULL; | |
10487 | if (_argo0) { | |
10488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p."); | |
10491 | return NULL; | |
10492 | } | |
10493 | } | |
10494 | { | |
10495 | wxPy_BEGIN_ALLOW_THREADS; | |
10496 | wxPyDivisionShape_Divide(_arg0,_arg1); | |
10497 | ||
10498 | wxPy_END_ALLOW_THREADS; | |
10499 | } Py_INCREF(Py_None); | |
10500 | _resultobj = Py_None; | |
10501 | return _resultobj; | |
10502 | } | |
10503 | ||
10504 | #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0)) | |
10505 | static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10506 | PyObject * _resultobj; | |
10507 | wxPyDivisionShape * _arg0; | |
10508 | int _arg1; | |
10509 | PyObject * _argo0 = 0; | |
10510 | char *_kwnames[] = { "self","side", NULL }; | |
10511 | ||
10512 | self = self; | |
10513 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1)) | |
10514 | return NULL; | |
10515 | if (_argo0) { | |
10516 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10517 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10518 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p."); | |
10519 | return NULL; | |
10520 | } | |
10521 | } | |
10522 | { | |
10523 | wxPy_BEGIN_ALLOW_THREADS; | |
10524 | wxPyDivisionShape_EditEdge(_arg0,_arg1); | |
10525 | ||
10526 | wxPy_END_ALLOW_THREADS; | |
10527 | } Py_INCREF(Py_None); | |
10528 | _resultobj = Py_None; | |
10529 | return _resultobj; | |
10530 | } | |
10531 | ||
10532 | #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide()) | |
10533 | static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10534 | PyObject * _resultobj; | |
10535 | wxPyDivisionShape * _result; | |
10536 | wxPyDivisionShape * _arg0; | |
10537 | PyObject * _argo0 = 0; | |
10538 | char *_kwnames[] = { "self", NULL }; | |
10539 | char _ptemp[128]; | |
10540 | ||
10541 | self = self; | |
10542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0)) | |
10543 | return NULL; | |
10544 | if (_argo0) { | |
10545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p."); | |
10548 | return NULL; | |
10549 | } | |
10550 | } | |
10551 | { | |
10552 | wxPy_BEGIN_ALLOW_THREADS; | |
10553 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0); | |
10554 | ||
10555 | wxPy_END_ALLOW_THREADS; | |
10556 | } if (_result) { | |
10557 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10558 | _resultobj = Py_BuildValue("s",_ptemp); | |
10559 | } else { | |
10560 | Py_INCREF(Py_None); | |
10561 | _resultobj = Py_None; | |
10562 | } | |
10563 | return _resultobj; | |
10564 | } | |
10565 | ||
10566 | #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide()) | |
10567 | static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10568 | PyObject * _resultobj; | |
10569 | int _result; | |
10570 | wxPyDivisionShape * _arg0; | |
10571 | PyObject * _argo0 = 0; | |
10572 | char *_kwnames[] = { "self", NULL }; | |
10573 | ||
10574 | self = self; | |
10575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0)) | |
10576 | return NULL; | |
10577 | if (_argo0) { | |
10578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p."); | |
10581 | return NULL; | |
10582 | } | |
10583 | } | |
10584 | { | |
10585 | wxPy_BEGIN_ALLOW_THREADS; | |
10586 | _result = (int )wxPyDivisionShape_GetHandleSide(_arg0); | |
10587 | ||
10588 | wxPy_END_ALLOW_THREADS; | |
10589 | } _resultobj = Py_BuildValue("i",_result); | |
10590 | return _resultobj; | |
10591 | } | |
10592 | ||
10593 | #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide()) | |
10594 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10595 | PyObject * _resultobj; | |
10596 | wxPyDivisionShape * _result; | |
10597 | wxPyDivisionShape * _arg0; | |
10598 | PyObject * _argo0 = 0; | |
10599 | char *_kwnames[] = { "self", NULL }; | |
10600 | char _ptemp[128]; | |
10601 | ||
10602 | self = self; | |
10603 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0)) | |
10604 | return NULL; | |
10605 | if (_argo0) { | |
10606 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10607 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10608 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p."); | |
10609 | return NULL; | |
10610 | } | |
10611 | } | |
10612 | { | |
10613 | wxPy_BEGIN_ALLOW_THREADS; | |
10614 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0); | |
10615 | ||
10616 | wxPy_END_ALLOW_THREADS; | |
10617 | } if (_result) { | |
10618 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10619 | _resultobj = Py_BuildValue("s",_ptemp); | |
10620 | } else { | |
10621 | Py_INCREF(Py_None); | |
10622 | _resultobj = Py_None; | |
10623 | } | |
10624 | return _resultobj; | |
10625 | } | |
10626 | ||
10627 | #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour()) | |
10628 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10629 | PyObject * _resultobj; | |
10630 | wxString * _result; | |
10631 | wxPyDivisionShape * _arg0; | |
10632 | PyObject * _argo0 = 0; | |
10633 | char *_kwnames[] = { "self", NULL }; | |
10634 | ||
10635 | self = self; | |
10636 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0)) | |
10637 | return NULL; | |
10638 | if (_argo0) { | |
10639 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10640 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10641 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10642 | return NULL; | |
10643 | } | |
10644 | } | |
10645 | { | |
10646 | wxPy_BEGIN_ALLOW_THREADS; | |
10647 | _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0)); | |
10648 | ||
10649 | wxPy_END_ALLOW_THREADS; | |
10650 | }{ | |
10651 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); | |
10652 | } | |
10653 | { | |
10654 | delete _result; | |
10655 | } | |
10656 | return _resultobj; | |
10657 | } | |
10658 | ||
10659 | #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen()) | |
10660 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10661 | PyObject * _resultobj; | |
10662 | wxPen * _result; | |
10663 | wxPyDivisionShape * _arg0; | |
10664 | PyObject * _argo0 = 0; | |
10665 | char *_kwnames[] = { "self", NULL }; | |
10666 | char _ptemp[128]; | |
10667 | ||
10668 | self = self; | |
10669 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0)) | |
10670 | return NULL; | |
10671 | if (_argo0) { | |
10672 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10673 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10674 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
10675 | return NULL; | |
10676 | } | |
10677 | } | |
10678 | { | |
10679 | wxPy_BEGIN_ALLOW_THREADS; | |
10680 | _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0); | |
10681 | ||
10682 | wxPy_END_ALLOW_THREADS; | |
10683 | } if (_result) { | |
10684 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10685 | _resultobj = Py_BuildValue("s",_ptemp); | |
10686 | } else { | |
10687 | Py_INCREF(Py_None); | |
10688 | _resultobj = Py_None; | |
10689 | } | |
10690 | return _resultobj; | |
10691 | } | |
10692 | ||
10693 | #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide()) | |
10694 | static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10695 | PyObject * _resultobj; | |
10696 | wxPyDivisionShape * _result; | |
10697 | wxPyDivisionShape * _arg0; | |
10698 | PyObject * _argo0 = 0; | |
10699 | char *_kwnames[] = { "self", NULL }; | |
10700 | char _ptemp[128]; | |
10701 | ||
10702 | self = self; | |
10703 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0)) | |
10704 | return NULL; | |
10705 | if (_argo0) { | |
10706 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10707 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10708 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p."); | |
10709 | return NULL; | |
10710 | } | |
10711 | } | |
10712 | { | |
10713 | wxPy_BEGIN_ALLOW_THREADS; | |
10714 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0); | |
10715 | ||
10716 | wxPy_END_ALLOW_THREADS; | |
10717 | } if (_result) { | |
10718 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10719 | _resultobj = Py_BuildValue("s",_ptemp); | |
10720 | } else { | |
10721 | Py_INCREF(Py_None); | |
10722 | _resultobj = Py_None; | |
10723 | } | |
10724 | return _resultobj; | |
10725 | } | |
10726 | ||
10727 | #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide()) | |
10728 | static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10729 | PyObject * _resultobj; | |
10730 | wxPyDivisionShape * _result; | |
10731 | wxPyDivisionShape * _arg0; | |
10732 | PyObject * _argo0 = 0; | |
10733 | char *_kwnames[] = { "self", NULL }; | |
10734 | char _ptemp[128]; | |
10735 | ||
10736 | self = self; | |
10737 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0)) | |
10738 | return NULL; | |
10739 | if (_argo0) { | |
10740 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10741 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10742 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p."); | |
10743 | return NULL; | |
10744 | } | |
10745 | } | |
10746 | { | |
10747 | wxPy_BEGIN_ALLOW_THREADS; | |
10748 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0); | |
10749 | ||
10750 | wxPy_END_ALLOW_THREADS; | |
10751 | } if (_result) { | |
10752 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10753 | _resultobj = Py_BuildValue("s",_ptemp); | |
10754 | } else { | |
10755 | Py_INCREF(Py_None); | |
10756 | _resultobj = Py_None; | |
10757 | } | |
10758 | return _resultobj; | |
10759 | } | |
10760 | ||
10761 | #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen()) | |
10762 | static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10763 | PyObject * _resultobj; | |
10764 | wxPen * _result; | |
10765 | wxPyDivisionShape * _arg0; | |
10766 | PyObject * _argo0 = 0; | |
10767 | char *_kwnames[] = { "self", NULL }; | |
10768 | char _ptemp[128]; | |
10769 | ||
10770 | self = self; | |
10771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0)) | |
10772 | return NULL; | |
10773 | if (_argo0) { | |
10774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p."); | |
10777 | return NULL; | |
10778 | } | |
10779 | } | |
10780 | { | |
10781 | wxPy_BEGIN_ALLOW_THREADS; | |
10782 | _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0); | |
10783 | ||
10784 | wxPy_END_ALLOW_THREADS; | |
10785 | } if (_result) { | |
10786 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10787 | _resultobj = Py_BuildValue("s",_ptemp); | |
10788 | } else { | |
10789 | Py_INCREF(Py_None); | |
10790 | _resultobj = Py_None; | |
10791 | } | |
10792 | return _resultobj; | |
10793 | } | |
10794 | ||
10795 | #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2)) | |
10796 | static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10797 | PyObject * _resultobj; | |
10798 | wxPyDivisionShape * _arg0; | |
10799 | int _arg1; | |
10800 | double _arg2; | |
10801 | bool _arg3; | |
10802 | PyObject * _argo0 = 0; | |
10803 | int tempbool3; | |
10804 | char *_kwnames[] = { "self","side","newPos","test", NULL }; | |
10805 | ||
10806 | self = self; | |
10807 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
10808 | return NULL; | |
10809 | if (_argo0) { | |
10810 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10811 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p."); | |
10813 | return NULL; | |
10814 | } | |
10815 | } | |
10816 | _arg3 = (bool ) tempbool3; | |
10817 | { | |
10818 | wxPy_BEGIN_ALLOW_THREADS; | |
10819 | wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3); | |
10820 | ||
10821 | wxPy_END_ALLOW_THREADS; | |
10822 | } Py_INCREF(Py_None); | |
10823 | _resultobj = Py_None; | |
10824 | return _resultobj; | |
10825 | } | |
10826 | ||
10827 | #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1)) | |
10828 | static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10829 | PyObject * _resultobj; | |
10830 | wxPyDivisionShape * _arg0; | |
10831 | double _arg1; | |
10832 | double _arg2; | |
10833 | PyObject * _argo0 = 0; | |
10834 | char *_kwnames[] = { "self","x","y", NULL }; | |
10835 | ||
10836 | self = self; | |
10837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10838 | return NULL; | |
10839 | if (_argo0) { | |
10840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p."); | |
10843 | return NULL; | |
10844 | } | |
10845 | } | |
10846 | { | |
10847 | wxPy_BEGIN_ALLOW_THREADS; | |
10848 | wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2); | |
10849 | ||
10850 | wxPy_END_ALLOW_THREADS; | |
10851 | } Py_INCREF(Py_None); | |
10852 | _resultobj = Py_None; | |
10853 | return _resultobj; | |
10854 | } | |
10855 | ||
10856 | #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0)) | |
10857 | static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10858 | PyObject * _resultobj; | |
10859 | wxPyDivisionShape * _arg0; | |
10860 | wxPyDivisionShape * _arg1; | |
10861 | PyObject * _argo0 = 0; | |
10862 | PyObject * _argo1 = 0; | |
10863 | char *_kwnames[] = { "self","shape", NULL }; | |
10864 | ||
10865 | self = self; | |
10866 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1)) | |
10867 | return NULL; | |
10868 | if (_argo0) { | |
10869 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10870 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10871 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10872 | return NULL; | |
10873 | } | |
10874 | } | |
10875 | if (_argo1) { | |
10876 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10877 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10879 | return NULL; | |
10880 | } | |
10881 | } | |
10882 | { | |
10883 | wxPy_BEGIN_ALLOW_THREADS; | |
10884 | wxPyDivisionShape_SetBottomSide(_arg0,_arg1); | |
10885 | ||
10886 | wxPy_END_ALLOW_THREADS; | |
10887 | } Py_INCREF(Py_None); | |
10888 | _resultobj = Py_None; | |
10889 | return _resultobj; | |
10890 | } | |
10891 | ||
10892 | #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0)) | |
10893 | static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10894 | PyObject * _resultobj; | |
10895 | wxPyDivisionShape * _arg0; | |
10896 | int _arg1; | |
10897 | PyObject * _argo0 = 0; | |
10898 | char *_kwnames[] = { "self","side", NULL }; | |
10899 | ||
10900 | self = self; | |
10901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1)) | |
10902 | return NULL; | |
10903 | if (_argo0) { | |
10904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p."); | |
10907 | return NULL; | |
10908 | } | |
10909 | } | |
10910 | { | |
10911 | wxPy_BEGIN_ALLOW_THREADS; | |
10912 | wxPyDivisionShape_SetHandleSide(_arg0,_arg1); | |
10913 | ||
10914 | wxPy_END_ALLOW_THREADS; | |
10915 | } Py_INCREF(Py_None); | |
10916 | _resultobj = Py_None; | |
10917 | return _resultobj; | |
10918 | } | |
10919 | ||
10920 | #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0)) | |
10921 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10922 | PyObject * _resultobj; | |
10923 | wxPyDivisionShape * _arg0; | |
10924 | wxPyDivisionShape * _arg1; | |
10925 | PyObject * _argo0 = 0; | |
10926 | PyObject * _argo1 = 0; | |
10927 | char *_kwnames[] = { "self","shape", NULL }; | |
10928 | ||
10929 | self = self; | |
10930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1)) | |
10931 | return NULL; | |
10932 | if (_argo0) { | |
10933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10936 | return NULL; | |
10937 | } | |
10938 | } | |
10939 | if (_argo1) { | |
10940 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10941 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10943 | return NULL; | |
10944 | } | |
10945 | } | |
10946 | { | |
10947 | wxPy_BEGIN_ALLOW_THREADS; | |
10948 | wxPyDivisionShape_SetLeftSide(_arg0,_arg1); | |
10949 | ||
10950 | wxPy_END_ALLOW_THREADS; | |
10951 | } Py_INCREF(Py_None); | |
10952 | _resultobj = Py_None; | |
10953 | return _resultobj; | |
10954 | } | |
10955 | ||
10956 | #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0)) | |
10957 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10958 | PyObject * _resultobj; | |
10959 | wxPyDivisionShape * _arg0; | |
10960 | wxString * _arg1; | |
10961 | PyObject * _argo0 = 0; | |
10962 | PyObject * _obj1 = 0; | |
10963 | char *_kwnames[] = { "self","colour", NULL }; | |
10964 | ||
10965 | self = self; | |
10966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1)) | |
10967 | return NULL; | |
10968 | if (_argo0) { | |
10969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10972 | return NULL; | |
10973 | } | |
10974 | } | |
10975 | { | |
10976 | #if PYTHON_API_VERSION >= 1009 | |
10977 | char* tmpPtr; int tmpSize; | |
10978 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
10979 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
10980 | return NULL; | |
10981 | } | |
10982 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
10983 | return NULL; | |
10984 | _arg1 = new wxString(tmpPtr, tmpSize); | |
10985 | #else | |
10986 | if (!PyString_Check(_obj1)) { | |
10987 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
10988 | return NULL; | |
10989 | } | |
10990 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
10991 | #endif | |
10992 | } | |
10993 | { | |
10994 | wxPy_BEGIN_ALLOW_THREADS; | |
10995 | wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1); | |
10996 | ||
10997 | wxPy_END_ALLOW_THREADS; | |
10998 | } Py_INCREF(Py_None); | |
10999 | _resultobj = Py_None; | |
11000 | { | |
11001 | if (_obj1) | |
11002 | delete _arg1; | |
11003 | } | |
11004 | return _resultobj; | |
11005 | } | |
11006 | ||
11007 | #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0)) | |
11008 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11009 | PyObject * _resultobj; | |
11010 | wxPyDivisionShape * _arg0; | |
11011 | wxPen * _arg1; | |
11012 | PyObject * _argo0 = 0; | |
11013 | PyObject * _obj1 = 0; | |
11014 | char *_kwnames[] = { "self","pen", NULL }; | |
11015 | ||
11016 | self = self; | |
11017 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1)) | |
11018 | return NULL; | |
11019 | if (_argo0) { | |
11020 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11021 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
11023 | return NULL; | |
11024 | } | |
11025 | } | |
11026 | { | |
11027 | wxPen* temp; | |
11028 | if (_obj1) { | |
11029 | if (_obj1 == Py_None) { temp = NULL; } | |
11030 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
11031 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
11032 | return NULL; | |
11033 | } | |
11034 | } | |
11035 | if (temp) | |
11036 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
11037 | temp->GetWidth(), | |
11038 | temp->GetStyle()); | |
11039 | else | |
11040 | _arg1 = NULL; | |
11041 | } | |
11042 | { | |
11043 | wxPy_BEGIN_ALLOW_THREADS; | |
11044 | wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1); | |
11045 | ||
11046 | wxPy_END_ALLOW_THREADS; | |
11047 | } Py_INCREF(Py_None); | |
11048 | _resultobj = Py_None; | |
11049 | return _resultobj; | |
11050 | } | |
11051 | ||
11052 | #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0)) | |
11053 | static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11054 | PyObject * _resultobj; | |
11055 | wxPyDivisionShape * _arg0; | |
11056 | wxPyDivisionShape * _arg1; | |
11057 | PyObject * _argo0 = 0; | |
11058 | PyObject * _argo1 = 0; | |
11059 | char *_kwnames[] = { "self","shape", NULL }; | |
11060 | ||
11061 | self = self; | |
11062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1)) | |
11063 | return NULL; | |
11064 | if (_argo0) { | |
11065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
11068 | return NULL; | |
11069 | } | |
11070 | } | |
11071 | if (_argo1) { | |
11072 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11073 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
11075 | return NULL; | |
11076 | } | |
11077 | } | |
11078 | { | |
11079 | wxPy_BEGIN_ALLOW_THREADS; | |
11080 | wxPyDivisionShape_SetRightSide(_arg0,_arg1); | |
11081 | ||
11082 | wxPy_END_ALLOW_THREADS; | |
11083 | } Py_INCREF(Py_None); | |
11084 | _resultobj = Py_None; | |
11085 | return _resultobj; | |
11086 | } | |
11087 | ||
11088 | #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0)) | |
11089 | static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11090 | PyObject * _resultobj; | |
11091 | wxPyDivisionShape * _arg0; | |
11092 | wxPyDivisionShape * _arg1; | |
11093 | PyObject * _argo0 = 0; | |
11094 | PyObject * _argo1 = 0; | |
11095 | char *_kwnames[] = { "self","shape", NULL }; | |
11096 | ||
11097 | self = self; | |
11098 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1)) | |
11099 | return NULL; | |
11100 | if (_argo0) { | |
11101 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11102 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11104 | return NULL; | |
11105 | } | |
11106 | } | |
11107 | if (_argo1) { | |
11108 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11109 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11111 | return NULL; | |
11112 | } | |
11113 | } | |
11114 | { | |
11115 | wxPy_BEGIN_ALLOW_THREADS; | |
11116 | wxPyDivisionShape_SetTopSide(_arg0,_arg1); | |
11117 | ||
11118 | wxPy_END_ALLOW_THREADS; | |
11119 | } Py_INCREF(Py_None); | |
11120 | _resultobj = Py_None; | |
11121 | return _resultobj; | |
11122 | } | |
11123 | ||
11124 | #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0)) | |
11125 | static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11126 | PyObject * _resultobj; | |
11127 | wxPyDivisionShape * _arg0; | |
11128 | wxString * _arg1; | |
11129 | PyObject * _argo0 = 0; | |
11130 | PyObject * _obj1 = 0; | |
11131 | char *_kwnames[] = { "self","colour", NULL }; | |
11132 | ||
11133 | self = self; | |
11134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1)) | |
11135 | return NULL; | |
11136 | if (_argo0) { | |
11137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p."); | |
11140 | return NULL; | |
11141 | } | |
11142 | } | |
11143 | { | |
11144 | #if PYTHON_API_VERSION >= 1009 | |
11145 | char* tmpPtr; int tmpSize; | |
11146 | if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) { | |
11147 | PyErr_SetString(PyExc_TypeError, "String or Unicode type required"); | |
11148 | return NULL; | |
11149 | } | |
11150 | if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1) | |
11151 | return NULL; | |
11152 | _arg1 = new wxString(tmpPtr, tmpSize); | |
11153 | #else | |
11154 | if (!PyString_Check(_obj1)) { | |
11155 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
11156 | return NULL; | |
11157 | } | |
11158 | _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1)); | |
11159 | #endif | |
11160 | } | |
11161 | { | |
11162 | wxPy_BEGIN_ALLOW_THREADS; | |
11163 | wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1); | |
11164 | ||
11165 | wxPy_END_ALLOW_THREADS; | |
11166 | } Py_INCREF(Py_None); | |
11167 | _resultobj = Py_None; | |
11168 | { | |
11169 | if (_obj1) | |
11170 | delete _arg1; | |
11171 | } | |
11172 | return _resultobj; | |
11173 | } | |
11174 | ||
11175 | #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0)) | |
11176 | static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11177 | PyObject * _resultobj; | |
11178 | wxPyDivisionShape * _arg0; | |
11179 | wxPen * _arg1; | |
11180 | PyObject * _argo0 = 0; | |
11181 | PyObject * _obj1 = 0; | |
11182 | char *_kwnames[] = { "self","pen", NULL }; | |
11183 | ||
11184 | self = self; | |
11185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1)) | |
11186 | return NULL; | |
11187 | if (_argo0) { | |
11188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p."); | |
11191 | return NULL; | |
11192 | } | |
11193 | } | |
11194 | { | |
11195 | wxPen* temp; | |
11196 | if (_obj1) { | |
11197 | if (_obj1 == Py_None) { temp = NULL; } | |
11198 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
11199 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
11200 | return NULL; | |
11201 | } | |
11202 | } | |
11203 | if (temp) | |
11204 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
11205 | temp->GetWidth(), | |
11206 | temp->GetStyle()); | |
11207 | else | |
11208 | _arg1 = NULL; | |
11209 | } | |
11210 | { | |
11211 | wxPy_BEGIN_ALLOW_THREADS; | |
11212 | wxPyDivisionShape_SetTopSidePen(_arg0,_arg1); | |
11213 | ||
11214 | wxPy_END_ALLOW_THREADS; | |
11215 | } Py_INCREF(Py_None); | |
11216 | _resultobj = Py_None; | |
11217 | return _resultobj; | |
11218 | } | |
11219 | ||
11220 | #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
11221 | static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11222 | PyObject * _resultobj; | |
11223 | wxPyDivisionShape * _arg0; | |
11224 | PyObject * _argo0 = 0; | |
11225 | char *_kwnames[] = { "self", NULL }; | |
11226 | ||
11227 | self = self; | |
11228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0)) | |
11229 | return NULL; | |
11230 | if (_argo0) { | |
11231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p."); | |
11234 | return NULL; | |
11235 | } | |
11236 | } | |
11237 | { | |
11238 | wxPy_BEGIN_ALLOW_THREADS; | |
11239 | wxPyDivisionShape_base_OnDelete(_arg0); | |
11240 | ||
11241 | wxPy_END_ALLOW_THREADS; | |
11242 | } Py_INCREF(Py_None); | |
11243 | _resultobj = Py_None; | |
11244 | return _resultobj; | |
11245 | } | |
11246 | ||
11247 | #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
11248 | static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11249 | PyObject * _resultobj; | |
11250 | wxPyDivisionShape * _arg0; | |
11251 | wxDC * _arg1; | |
11252 | PyObject * _argo0 = 0; | |
11253 | PyObject * _argo1 = 0; | |
11254 | char *_kwnames[] = { "self","dc", NULL }; | |
11255 | ||
11256 | self = self; | |
11257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
11258 | return NULL; | |
11259 | if (_argo0) { | |
11260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p."); | |
11263 | return NULL; | |
11264 | } | |
11265 | } | |
11266 | if (_argo1) { | |
11267 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11268 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p."); | |
11270 | return NULL; | |
11271 | } | |
11272 | } | |
11273 | { | |
11274 | wxPy_BEGIN_ALLOW_THREADS; | |
11275 | wxPyDivisionShape_base_OnDraw(_arg0,*_arg1); | |
11276 | ||
11277 | wxPy_END_ALLOW_THREADS; | |
11278 | } Py_INCREF(Py_None); | |
11279 | _resultobj = Py_None; | |
11280 | return _resultobj; | |
11281 | } | |
11282 | ||
11283 | #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
11284 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11285 | PyObject * _resultobj; | |
11286 | wxPyDivisionShape * _arg0; | |
11287 | wxDC * _arg1; | |
11288 | PyObject * _argo0 = 0; | |
11289 | PyObject * _argo1 = 0; | |
11290 | char *_kwnames[] = { "self","dc", NULL }; | |
11291 | ||
11292 | self = self; | |
11293 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
11294 | return NULL; | |
11295 | if (_argo0) { | |
11296 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11297 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11298 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p."); | |
11299 | return NULL; | |
11300 | } | |
11301 | } | |
11302 | if (_argo1) { | |
11303 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11304 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p."); | |
11306 | return NULL; | |
11307 | } | |
11308 | } | |
11309 | { | |
11310 | wxPy_BEGIN_ALLOW_THREADS; | |
11311 | wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1); | |
11312 | ||
11313 | wxPy_END_ALLOW_THREADS; | |
11314 | } Py_INCREF(Py_None); | |
11315 | _resultobj = Py_None; | |
11316 | return _resultobj; | |
11317 | } | |
11318 | ||
11319 | #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
11320 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11321 | PyObject * _resultobj; | |
11322 | wxPyDivisionShape * _arg0; | |
11323 | wxDC * _arg1; | |
11324 | bool _arg2 = (bool ) FALSE; | |
11325 | PyObject * _argo0 = 0; | |
11326 | PyObject * _argo1 = 0; | |
11327 | int tempbool2 = (int) FALSE; | |
11328 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
11329 | ||
11330 | self = self; | |
11331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11332 | return NULL; | |
11333 | if (_argo0) { | |
11334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p."); | |
11337 | return NULL; | |
11338 | } | |
11339 | } | |
11340 | if (_argo1) { | |
11341 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11342 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p."); | |
11344 | return NULL; | |
11345 | } | |
11346 | } | |
11347 | _arg2 = (bool ) tempbool2; | |
11348 | { | |
11349 | wxPy_BEGIN_ALLOW_THREADS; | |
11350 | wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
11351 | ||
11352 | wxPy_END_ALLOW_THREADS; | |
11353 | } Py_INCREF(Py_None); | |
11354 | _resultobj = Py_None; | |
11355 | return _resultobj; | |
11356 | } | |
11357 | ||
11358 | #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
11359 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11360 | PyObject * _resultobj; | |
11361 | wxPyDivisionShape * _arg0; | |
11362 | wxDC * _arg1; | |
11363 | PyObject * _argo0 = 0; | |
11364 | PyObject * _argo1 = 0; | |
11365 | char *_kwnames[] = { "self","dc", NULL }; | |
11366 | ||
11367 | self = self; | |
11368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
11369 | return NULL; | |
11370 | if (_argo0) { | |
11371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p."); | |
11374 | return NULL; | |
11375 | } | |
11376 | } | |
11377 | if (_argo1) { | |
11378 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11379 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p."); | |
11381 | return NULL; | |
11382 | } | |
11383 | } | |
11384 | { | |
11385 | wxPy_BEGIN_ALLOW_THREADS; | |
11386 | wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1); | |
11387 | ||
11388 | wxPy_END_ALLOW_THREADS; | |
11389 | } Py_INCREF(Py_None); | |
11390 | _resultobj = Py_None; | |
11391 | return _resultobj; | |
11392 | } | |
11393 | ||
11394 | #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
11395 | static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11396 | PyObject * _resultobj; | |
11397 | wxPyDivisionShape * _arg0; | |
11398 | wxDC * _arg1; | |
11399 | PyObject * _argo0 = 0; | |
11400 | PyObject * _argo1 = 0; | |
11401 | char *_kwnames[] = { "self","dc", NULL }; | |
11402 | ||
11403 | self = self; | |
11404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
11405 | return NULL; | |
11406 | if (_argo0) { | |
11407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p."); | |
11410 | return NULL; | |
11411 | } | |
11412 | } | |
11413 | if (_argo1) { | |
11414 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11415 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p."); | |
11417 | return NULL; | |
11418 | } | |
11419 | } | |
11420 | { | |
11421 | wxPy_BEGIN_ALLOW_THREADS; | |
11422 | wxPyDivisionShape_base_OnErase(_arg0,*_arg1); | |
11423 | ||
11424 | wxPy_END_ALLOW_THREADS; | |
11425 | } Py_INCREF(Py_None); | |
11426 | _resultobj = Py_None; | |
11427 | return _resultobj; | |
11428 | } | |
11429 | ||
11430 | #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
11431 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11432 | PyObject * _resultobj; | |
11433 | wxPyDivisionShape * _arg0; | |
11434 | wxDC * _arg1; | |
11435 | PyObject * _argo0 = 0; | |
11436 | PyObject * _argo1 = 0; | |
11437 | char *_kwnames[] = { "self","dc", NULL }; | |
11438 | ||
11439 | self = self; | |
11440 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
11441 | return NULL; | |
11442 | if (_argo0) { | |
11443 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11444 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p."); | |
11446 | return NULL; | |
11447 | } | |
11448 | } | |
11449 | if (_argo1) { | |
11450 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11451 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p."); | |
11453 | return NULL; | |
11454 | } | |
11455 | } | |
11456 | { | |
11457 | wxPy_BEGIN_ALLOW_THREADS; | |
11458 | wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1); | |
11459 | ||
11460 | wxPy_END_ALLOW_THREADS; | |
11461 | } Py_INCREF(Py_None); | |
11462 | _resultobj = Py_None; | |
11463 | return _resultobj; | |
11464 | } | |
11465 | ||
11466 | #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
11467 | static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11468 | PyObject * _resultobj; | |
11469 | wxPyDivisionShape * _arg0; | |
11470 | wxDC * _arg1; | |
11471 | PyObject * _argo0 = 0; | |
11472 | PyObject * _argo1 = 0; | |
11473 | char *_kwnames[] = { "self","dc", NULL }; | |
11474 | ||
11475 | self = self; | |
11476 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
11477 | return NULL; | |
11478 | if (_argo0) { | |
11479 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11480 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11481 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p."); | |
11482 | return NULL; | |
11483 | } | |
11484 | } | |
11485 | if (_argo1) { | |
11486 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11487 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11488 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p."); | |
11489 | return NULL; | |
11490 | } | |
11491 | } | |
11492 | { | |
11493 | wxPy_BEGIN_ALLOW_THREADS; | |
11494 | wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1); | |
11495 | ||
11496 | wxPy_END_ALLOW_THREADS; | |
11497 | } Py_INCREF(Py_None); | |
11498 | _resultobj = Py_None; | |
11499 | return _resultobj; | |
11500 | } | |
11501 | ||
11502 | #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11503 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11504 | PyObject * _resultobj; | |
11505 | wxPyDivisionShape * _arg0; | |
11506 | double _arg1; | |
11507 | double _arg2; | |
11508 | int _arg3 = (int ) 0; | |
11509 | int _arg4 = (int ) 0; | |
11510 | PyObject * _argo0 = 0; | |
11511 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11512 | ||
11513 | self = self; | |
11514 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11515 | return NULL; | |
11516 | if (_argo0) { | |
11517 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11518 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p."); | |
11520 | return NULL; | |
11521 | } | |
11522 | } | |
11523 | { | |
11524 | wxPy_BEGIN_ALLOW_THREADS; | |
11525 | wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11526 | ||
11527 | wxPy_END_ALLOW_THREADS; | |
11528 | } Py_INCREF(Py_None); | |
11529 | _resultobj = Py_None; | |
11530 | return _resultobj; | |
11531 | } | |
11532 | ||
11533 | #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11534 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11535 | PyObject * _resultobj; | |
11536 | wxPyDivisionShape * _arg0; | |
11537 | double _arg1; | |
11538 | double _arg2; | |
11539 | int _arg3 = (int ) 0; | |
11540 | int _arg4 = (int ) 0; | |
11541 | PyObject * _argo0 = 0; | |
11542 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11543 | ||
11544 | self = self; | |
11545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11546 | return NULL; | |
11547 | if (_argo0) { | |
11548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p."); | |
11551 | return NULL; | |
11552 | } | |
11553 | } | |
11554 | { | |
11555 | wxPy_BEGIN_ALLOW_THREADS; | |
11556 | wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11557 | ||
11558 | wxPy_END_ALLOW_THREADS; | |
11559 | } Py_INCREF(Py_None); | |
11560 | _resultobj = Py_None; | |
11561 | return _resultobj; | |
11562 | } | |
11563 | ||
11564 | #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11565 | static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11566 | PyObject * _resultobj; | |
11567 | wxPyDivisionShape * _arg0; | |
11568 | double _arg1; | |
11569 | double _arg2; | |
11570 | int _arg3 = (int ) 0; | |
11571 | int _arg4 = (int ) 0; | |
11572 | PyObject * _argo0 = 0; | |
11573 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11574 | ||
11575 | self = self; | |
11576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11577 | return NULL; | |
11578 | if (_argo0) { | |
11579 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11580 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p."); | |
11582 | return NULL; | |
11583 | } | |
11584 | } | |
11585 | { | |
11586 | wxPy_BEGIN_ALLOW_THREADS; | |
11587 | wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11588 | ||
11589 | wxPy_END_ALLOW_THREADS; | |
11590 | } Py_INCREF(Py_None); | |
11591 | _resultobj = Py_None; | |
11592 | return _resultobj; | |
11593 | } | |
11594 | ||
11595 | #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
11596 | static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11597 | PyObject * _resultobj; | |
11598 | wxPyDivisionShape * _arg0; | |
11599 | double _arg1; | |
11600 | double _arg2; | |
11601 | PyObject * _argo0 = 0; | |
11602 | char *_kwnames[] = { "self","x","y", NULL }; | |
11603 | ||
11604 | self = self; | |
11605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11606 | return NULL; | |
11607 | if (_argo0) { | |
11608 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11609 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11610 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p."); | |
11611 | return NULL; | |
11612 | } | |
11613 | } | |
11614 | { | |
11615 | wxPy_BEGIN_ALLOW_THREADS; | |
11616 | wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2); | |
11617 | ||
11618 | wxPy_END_ALLOW_THREADS; | |
11619 | } Py_INCREF(Py_None); | |
11620 | _resultobj = Py_None; | |
11621 | return _resultobj; | |
11622 | } | |
11623 | ||
11624 | #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11625 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11626 | PyObject * _resultobj; | |
11627 | bool _result; | |
11628 | wxPyDivisionShape * _arg0; | |
11629 | wxDC * _arg1; | |
11630 | double _arg2; | |
11631 | double _arg3; | |
11632 | double _arg4; | |
11633 | double _arg5; | |
11634 | bool _arg6 = (bool ) TRUE; | |
11635 | PyObject * _argo0 = 0; | |
11636 | PyObject * _argo1 = 0; | |
11637 | int tempbool6 = (int) TRUE; | |
11638 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11639 | ||
11640 | self = self; | |
11641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11642 | return NULL; | |
11643 | if (_argo0) { | |
11644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p."); | |
11647 | return NULL; | |
11648 | } | |
11649 | } | |
11650 | if (_argo1) { | |
11651 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11652 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p."); | |
11654 | return NULL; | |
11655 | } | |
11656 | } | |
11657 | _arg6 = (bool ) tempbool6; | |
11658 | { | |
11659 | wxPy_BEGIN_ALLOW_THREADS; | |
11660 | _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11661 | ||
11662 | wxPy_END_ALLOW_THREADS; | |
11663 | } _resultobj = Py_BuildValue("i",_result); | |
11664 | return _resultobj; | |
11665 | } | |
11666 | ||
11667 | #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11668 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11669 | PyObject * _resultobj; | |
11670 | wxPyDivisionShape * _arg0; | |
11671 | wxDC * _arg1; | |
11672 | double _arg2; | |
11673 | double _arg3; | |
11674 | double _arg4; | |
11675 | double _arg5; | |
11676 | bool _arg6 = (bool ) TRUE; | |
11677 | PyObject * _argo0 = 0; | |
11678 | PyObject * _argo1 = 0; | |
11679 | int tempbool6 = (int) TRUE; | |
11680 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11681 | ||
11682 | self = self; | |
11683 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
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_OnMovePost. Expected _wxPyDivisionShape_p."); | |
11689 | return NULL; | |
11690 | } | |
11691 | } | |
11692 | if (_argo1) { | |
11693 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11694 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p."); | |
11696 | return NULL; | |
11697 | } | |
11698 | } | |
11699 | _arg6 = (bool ) tempbool6; | |
11700 | { | |
11701 | wxPy_BEGIN_ALLOW_THREADS; | |
11702 | wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11703 | ||
11704 | wxPy_END_ALLOW_THREADS; | |
11705 | } Py_INCREF(Py_None); | |
11706 | _resultobj = Py_None; | |
11707 | return _resultobj; | |
11708 | } | |
11709 | ||
11710 | #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11711 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11712 | PyObject * _resultobj; | |
11713 | wxPyDivisionShape * _arg0; | |
11714 | bool _arg1; | |
11715 | double _arg2; | |
11716 | double _arg3; | |
11717 | int _arg4 = (int ) 0; | |
11718 | int _arg5 = (int ) 0; | |
11719 | PyObject * _argo0 = 0; | |
11720 | int tempbool1; | |
11721 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11722 | ||
11723 | self = self; | |
11724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11725 | return NULL; | |
11726 | if (_argo0) { | |
11727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p."); | |
11730 | return NULL; | |
11731 | } | |
11732 | } | |
11733 | _arg1 = (bool ) tempbool1; | |
11734 | { | |
11735 | wxPy_BEGIN_ALLOW_THREADS; | |
11736 | wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11737 | ||
11738 | wxPy_END_ALLOW_THREADS; | |
11739 | } Py_INCREF(Py_None); | |
11740 | _resultobj = Py_None; | |
11741 | return _resultobj; | |
11742 | } | |
11743 | ||
11744 | #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11745 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11746 | PyObject * _resultobj; | |
11747 | wxPyDivisionShape * _arg0; | |
11748 | double _arg1; | |
11749 | double _arg2; | |
11750 | int _arg3 = (int ) 0; | |
11751 | int _arg4 = (int ) 0; | |
11752 | PyObject * _argo0 = 0; | |
11753 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11754 | ||
11755 | self = self; | |
11756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11757 | return NULL; | |
11758 | if (_argo0) { | |
11759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
11762 | return NULL; | |
11763 | } | |
11764 | } | |
11765 | { | |
11766 | wxPy_BEGIN_ALLOW_THREADS; | |
11767 | wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11768 | ||
11769 | wxPy_END_ALLOW_THREADS; | |
11770 | } Py_INCREF(Py_None); | |
11771 | _resultobj = Py_None; | |
11772 | return _resultobj; | |
11773 | } | |
11774 | ||
11775 | #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11776 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11777 | PyObject * _resultobj; | |
11778 | wxPyDivisionShape * _arg0; | |
11779 | double _arg1; | |
11780 | double _arg2; | |
11781 | int _arg3 = (int ) 0; | |
11782 | int _arg4 = (int ) 0; | |
11783 | PyObject * _argo0 = 0; | |
11784 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11785 | ||
11786 | self = self; | |
11787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11788 | return NULL; | |
11789 | if (_argo0) { | |
11790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p."); | |
11793 | return NULL; | |
11794 | } | |
11795 | } | |
11796 | { | |
11797 | wxPy_BEGIN_ALLOW_THREADS; | |
11798 | wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11799 | ||
11800 | wxPy_END_ALLOW_THREADS; | |
11801 | } Py_INCREF(Py_None); | |
11802 | _resultobj = Py_None; | |
11803 | return _resultobj; | |
11804 | } | |
11805 | ||
11806 | #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11807 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11808 | PyObject * _resultobj; | |
11809 | wxPyDivisionShape * _arg0; | |
11810 | bool _arg1; | |
11811 | double _arg2; | |
11812 | double _arg3; | |
11813 | int _arg4 = (int ) 0; | |
11814 | int _arg5 = (int ) 0; | |
11815 | PyObject * _argo0 = 0; | |
11816 | int tempbool1; | |
11817 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11818 | ||
11819 | self = self; | |
11820 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11821 | return NULL; | |
11822 | if (_argo0) { | |
11823 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11824 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11825 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p."); | |
11826 | return NULL; | |
11827 | } | |
11828 | } | |
11829 | _arg1 = (bool ) tempbool1; | |
11830 | { | |
11831 | wxPy_BEGIN_ALLOW_THREADS; | |
11832 | wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11833 | ||
11834 | wxPy_END_ALLOW_THREADS; | |
11835 | } Py_INCREF(Py_None); | |
11836 | _resultobj = Py_None; | |
11837 | return _resultobj; | |
11838 | } | |
11839 | ||
11840 | #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11841 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11842 | PyObject * _resultobj; | |
11843 | wxPyDivisionShape * _arg0; | |
11844 | double _arg1; | |
11845 | double _arg2; | |
11846 | int _arg3 = (int ) 0; | |
11847 | int _arg4 = (int ) 0; | |
11848 | PyObject * _argo0 = 0; | |
11849 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11850 | ||
11851 | self = self; | |
11852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11853 | return NULL; | |
11854 | if (_argo0) { | |
11855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p."); | |
11858 | return NULL; | |
11859 | } | |
11860 | } | |
11861 | { | |
11862 | wxPy_BEGIN_ALLOW_THREADS; | |
11863 | wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11864 | ||
11865 | wxPy_END_ALLOW_THREADS; | |
11866 | } Py_INCREF(Py_None); | |
11867 | _resultobj = Py_None; | |
11868 | return _resultobj; | |
11869 | } | |
11870 | ||
11871 | #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11872 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11873 | PyObject * _resultobj; | |
11874 | wxPyDivisionShape * _arg0; | |
11875 | double _arg1; | |
11876 | double _arg2; | |
11877 | int _arg3 = (int ) 0; | |
11878 | int _arg4 = (int ) 0; | |
11879 | PyObject * _argo0 = 0; | |
11880 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11881 | ||
11882 | self = self; | |
11883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11884 | return NULL; | |
11885 | if (_argo0) { | |
11886 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11887 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p."); | |
11889 | return NULL; | |
11890 | } | |
11891 | } | |
11892 | { | |
11893 | wxPy_BEGIN_ALLOW_THREADS; | |
11894 | wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11895 | ||
11896 | wxPy_END_ALLOW_THREADS; | |
11897 | } Py_INCREF(Py_None); | |
11898 | _resultobj = Py_None; | |
11899 | return _resultobj; | |
11900 | } | |
11901 | ||
11902 | #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11903 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11904 | PyObject * _resultobj; | |
11905 | wxPyDivisionShape * _arg0; | |
11906 | wxDC * _arg1; | |
11907 | double _arg2; | |
11908 | double _arg3; | |
11909 | double _arg4; | |
11910 | double _arg5; | |
11911 | PyObject * _argo0 = 0; | |
11912 | PyObject * _argo1 = 0; | |
11913 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
11914 | ||
11915 | self = self; | |
11916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11917 | return NULL; | |
11918 | if (_argo0) { | |
11919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p."); | |
11922 | return NULL; | |
11923 | } | |
11924 | } | |
11925 | if (_argo1) { | |
11926 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11927 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p."); | |
11929 | return NULL; | |
11930 | } | |
11931 | } | |
11932 | { | |
11933 | wxPy_BEGIN_ALLOW_THREADS; | |
11934 | wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
11935 | ||
11936 | wxPy_END_ALLOW_THREADS; | |
11937 | } Py_INCREF(Py_None); | |
11938 | _resultobj = Py_None; | |
11939 | return _resultobj; | |
11940 | } | |
11941 | ||
11942 | #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
11943 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11944 | PyObject * _resultobj; | |
11945 | wxPyDivisionShape * _arg0; | |
11946 | wxDC * _arg1; | |
11947 | PyObject * _argo0 = 0; | |
11948 | PyObject * _argo1 = 0; | |
11949 | char *_kwnames[] = { "self","dc", NULL }; | |
11950 | ||
11951 | self = self; | |
11952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
11953 | return NULL; | |
11954 | if (_argo0) { | |
11955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p."); | |
11958 | return NULL; | |
11959 | } | |
11960 | } | |
11961 | if (_argo1) { | |
11962 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11963 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
11965 | return NULL; | |
11966 | } | |
11967 | } | |
11968 | { | |
11969 | wxPy_BEGIN_ALLOW_THREADS; | |
11970 | wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
11971 | ||
11972 | wxPy_END_ALLOW_THREADS; | |
11973 | } Py_INCREF(Py_None); | |
11974 | _resultobj = Py_None; | |
11975 | return _resultobj; | |
11976 | } | |
11977 | ||
11978 | #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
11979 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11980 | PyObject * _resultobj; | |
11981 | wxPyDivisionShape * _arg0; | |
11982 | wxDC * _arg1; | |
11983 | PyObject * _argo0 = 0; | |
11984 | PyObject * _argo1 = 0; | |
11985 | char *_kwnames[] = { "self","dc", NULL }; | |
11986 | ||
11987 | self = self; | |
11988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
11989 | return NULL; | |
11990 | if (_argo0) { | |
11991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p."); | |
11994 | return NULL; | |
11995 | } | |
11996 | } | |
11997 | if (_argo1) { | |
11998 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11999 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
12000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
12001 | return NULL; | |
12002 | } | |
12003 | } | |
12004 | { | |
12005 | wxPy_BEGIN_ALLOW_THREADS; | |
12006 | wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
12007 | ||
12008 | wxPy_END_ALLOW_THREADS; | |
12009 | } Py_INCREF(Py_None); | |
12010 | _resultobj = Py_None; | |
12011 | return _resultobj; | |
12012 | } | |
12013 | ||
12014 | #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
12015 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12016 | PyObject * _resultobj; | |
12017 | wxPyDivisionShape * _arg0; | |
12018 | wxDC * _arg1; | |
12019 | bool _arg2 = (bool ) TRUE; | |
12020 | PyObject * _argo0 = 0; | |
12021 | PyObject * _argo1 = 0; | |
12022 | int tempbool2 = (int) TRUE; | |
12023 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
12024 | ||
12025 | self = self; | |
12026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
12027 | return NULL; | |
12028 | if (_argo0) { | |
12029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p."); | |
12032 | return NULL; | |
12033 | } | |
12034 | } | |
12035 | if (_argo1) { | |
12036 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12037 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
12038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p."); | |
12039 | return NULL; | |
12040 | } | |
12041 | } | |
12042 | _arg2 = (bool ) tempbool2; | |
12043 | { | |
12044 | wxPy_BEGIN_ALLOW_THREADS; | |
12045 | wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
12046 | ||
12047 | wxPy_END_ALLOW_THREADS; | |
12048 | } Py_INCREF(Py_None); | |
12049 | _resultobj = Py_None; | |
12050 | return _resultobj; | |
12051 | } | |
12052 | ||
12053 | #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
12054 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12055 | PyObject * _resultobj; | |
12056 | wxPyDivisionShape * _arg0; | |
12057 | wxPyControlPoint * _arg1; | |
12058 | bool _arg2; | |
12059 | double _arg3; | |
12060 | double _arg4; | |
12061 | int _arg5 = (int ) 0; | |
12062 | int _arg6 = (int ) 0; | |
12063 | PyObject * _argo0 = 0; | |
12064 | PyObject * _argo1 = 0; | |
12065 | int tempbool2; | |
12066 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
12067 | ||
12068 | self = self; | |
12069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
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_OnSizingDragLeft. Expected _wxPyDivisionShape_p."); | |
12075 | return NULL; | |
12076 | } | |
12077 | } | |
12078 | if (_argo1) { | |
12079 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12080 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
12081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
12082 | return NULL; | |
12083 | } | |
12084 | } | |
12085 | _arg2 = (bool ) tempbool2; | |
12086 | { | |
12087 | wxPy_BEGIN_ALLOW_THREADS; | |
12088 | wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
12089 | ||
12090 | wxPy_END_ALLOW_THREADS; | |
12091 | } Py_INCREF(Py_None); | |
12092 | _resultobj = Py_None; | |
12093 | return _resultobj; | |
12094 | } | |
12095 | ||
12096 | #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12097 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12098 | PyObject * _resultobj; | |
12099 | wxPyDivisionShape * _arg0; | |
12100 | wxPyControlPoint * _arg1; | |
12101 | double _arg2; | |
12102 | double _arg3; | |
12103 | int _arg4 = (int ) 0; | |
12104 | int _arg5 = (int ) 0; | |
12105 | PyObject * _argo0 = 0; | |
12106 | PyObject * _argo1 = 0; | |
12107 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12108 | ||
12109 | self = self; | |
12110 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12111 | return NULL; | |
12112 | if (_argo0) { | |
12113 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12114 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
12116 | return NULL; | |
12117 | } | |
12118 | } | |
12119 | if (_argo1) { | |
12120 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12121 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
12122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
12123 | return NULL; | |
12124 | } | |
12125 | } | |
12126 | { | |
12127 | wxPy_BEGIN_ALLOW_THREADS; | |
12128 | wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
12129 | ||
12130 | wxPy_END_ALLOW_THREADS; | |
12131 | } Py_INCREF(Py_None); | |
12132 | _resultobj = Py_None; | |
12133 | return _resultobj; | |
12134 | } | |
12135 | ||
12136 | #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12137 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12138 | PyObject * _resultobj; | |
12139 | wxPyDivisionShape * _arg0; | |
12140 | wxPyControlPoint * _arg1; | |
12141 | double _arg2; | |
12142 | double _arg3; | |
12143 | int _arg4 = (int ) 0; | |
12144 | int _arg5 = (int ) 0; | |
12145 | PyObject * _argo0 = 0; | |
12146 | PyObject * _argo1 = 0; | |
12147 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12148 | ||
12149 | self = self; | |
12150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12151 | return NULL; | |
12152 | if (_argo0) { | |
12153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p."); | |
12156 | return NULL; | |
12157 | } | |
12158 | } | |
12159 | if (_argo1) { | |
12160 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12161 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
12162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
12163 | return NULL; | |
12164 | } | |
12165 | } | |
12166 | { | |
12167 | wxPy_BEGIN_ALLOW_THREADS; | |
12168 | wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
12169 | ||
12170 | wxPy_END_ALLOW_THREADS; | |
12171 | } Py_INCREF(Py_None); | |
12172 | _resultobj = Py_None; | |
12173 | return _resultobj; | |
12174 | } | |
12175 | ||
12176 | #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
12177 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12178 | PyObject * _resultobj; | |
12179 | wxPyDivisionShape * _arg0; | |
12180 | double _arg1; | |
12181 | double _arg2; | |
12182 | PyObject * _argo0 = 0; | |
12183 | char *_kwnames[] = { "self","w","h", NULL }; | |
12184 | ||
12185 | self = self; | |
12186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12187 | return NULL; | |
12188 | if (_argo0) { | |
12189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p."); | |
12192 | return NULL; | |
12193 | } | |
12194 | } | |
12195 | { | |
12196 | wxPy_BEGIN_ALLOW_THREADS; | |
12197 | wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
12198 | ||
12199 | wxPy_END_ALLOW_THREADS; | |
12200 | } Py_INCREF(Py_None); | |
12201 | _resultobj = Py_None; | |
12202 | return _resultobj; | |
12203 | } | |
12204 | ||
12205 | #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
12206 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12207 | PyObject * _resultobj; | |
12208 | wxPyDivisionShape * _arg0; | |
12209 | double _arg1; | |
12210 | double _arg2; | |
12211 | PyObject * _argo0 = 0; | |
12212 | char *_kwnames[] = { "self","w","h", NULL }; | |
12213 | ||
12214 | self = self; | |
12215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12216 | return NULL; | |
12217 | if (_argo0) { | |
12218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p."); | |
12221 | return NULL; | |
12222 | } | |
12223 | } | |
12224 | { | |
12225 | wxPy_BEGIN_ALLOW_THREADS; | |
12226 | wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
12227 | ||
12228 | wxPy_END_ALLOW_THREADS; | |
12229 | } Py_INCREF(Py_None); | |
12230 | _resultobj = Py_None; | |
12231 | return _resultobj; | |
12232 | } | |
12233 | ||
12234 | static PyMethodDef oglshapescMethods[] = { | |
12235 | { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12236 | { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12237 | { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12238 | { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12239 | { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12240 | { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12241 | { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12242 | { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12243 | { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12244 | { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12245 | { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12246 | { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12247 | { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12248 | { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12249 | { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12250 | { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12251 | { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12252 | { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12253 | { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12254 | { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12255 | { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12256 | { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12257 | { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12258 | { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12259 | { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12260 | { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12261 | { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12262 | { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12263 | { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12264 | { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12265 | { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12266 | { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12267 | { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12268 | { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12269 | { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12270 | { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12271 | { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12272 | { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12273 | { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
12274 | { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS }, | |
12275 | { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12276 | { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12277 | { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12278 | { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12279 | { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12280 | { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12281 | { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12282 | { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12283 | { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS }, | |
12284 | { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS }, | |
12285 | { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS }, | |
12286 | { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS }, | |
12287 | { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS }, | |
12288 | { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS }, | |
12289 | { "wxPyDivisionShape__setSelf", (PyCFunction) _wrap_wxPyDivisionShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12290 | { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS }, | |
12291 | { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12292 | { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12293 | { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12294 | { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12295 | { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12296 | { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12297 | { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12298 | { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12299 | { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12300 | { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12301 | { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12302 | { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12303 | { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12304 | { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12305 | { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12306 | { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12307 | { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12308 | { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12309 | { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12310 | { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12311 | { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12312 | { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12313 | { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12314 | { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12315 | { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12316 | { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12317 | { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12318 | { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12319 | { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12320 | { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS }, | |
12321 | { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS }, | |
12322 | { "wxPyDividedShape__setSelf", (PyCFunction) _wrap_wxPyDividedShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12323 | { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS }, | |
12324 | { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12325 | { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12326 | { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12327 | { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12328 | { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12329 | { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12330 | { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12331 | { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12332 | { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12333 | { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12334 | { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12335 | { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12336 | { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12337 | { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12338 | { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12339 | { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12340 | { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12341 | { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12342 | { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12343 | { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12344 | { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12345 | { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12346 | { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12347 | { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12348 | { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12349 | { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12350 | { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12351 | { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12352 | { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12353 | { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
12354 | { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
12355 | { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS }, | |
12356 | { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS }, | |
12357 | { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS }, | |
12358 | { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS }, | |
12359 | { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS }, | |
12360 | { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12361 | { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS }, | |
12362 | { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12363 | { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12364 | { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS }, | |
12365 | { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12366 | { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
12367 | { "wxPyCompositeShape__setSelf", (PyCFunction) _wrap_wxPyCompositeShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12368 | { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS }, | |
12369 | { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS }, | |
12370 | { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
12371 | { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS }, | |
12372 | { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12373 | { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12374 | { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12375 | { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12376 | { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12377 | { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12378 | { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12379 | { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12380 | { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12381 | { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12382 | { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12383 | { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12384 | { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12385 | { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12386 | { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12387 | { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12388 | { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12389 | { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12390 | { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12391 | { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12392 | { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12393 | { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12394 | { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12395 | { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12396 | { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12397 | { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12398 | { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12399 | { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12400 | { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12401 | { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12402 | { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12403 | { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS }, | |
12404 | { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12405 | { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12406 | { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS }, | |
12407 | { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS }, | |
12408 | { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS }, | |
12409 | { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12410 | { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12411 | { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12412 | { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12413 | { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12414 | { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
12415 | { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12416 | { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS }, | |
12417 | { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12418 | { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12419 | { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12420 | { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12421 | { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12422 | { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12423 | { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12424 | { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12425 | { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12426 | { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS }, | |
12427 | { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12428 | { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12429 | { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12430 | { "wxPyDrawnShape__setSelf", (PyCFunction) _wrap_wxPyDrawnShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12431 | { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS }, | |
12432 | { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12433 | { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12434 | { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12435 | { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12436 | { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12437 | { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12438 | { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12439 | { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12440 | { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12441 | { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12442 | { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12443 | { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12444 | { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12445 | { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12446 | { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12447 | { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12448 | { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12449 | { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12450 | { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12451 | { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12452 | { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12453 | { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12454 | { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12455 | { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12456 | { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12457 | { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12458 | { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12459 | { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12460 | { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12461 | { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12462 | { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12463 | { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12464 | { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12465 | { "wxPyBitmapShape__setSelf", (PyCFunction) _wrap_wxPyBitmapShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12466 | { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS }, | |
12467 | { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12468 | { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12469 | { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12470 | { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12471 | { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12472 | { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12473 | { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12474 | { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12475 | { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12476 | { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12477 | { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12478 | { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12479 | { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12480 | { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12481 | { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12482 | { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12483 | { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12484 | { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12485 | { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12486 | { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12487 | { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12488 | { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12489 | { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12490 | { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12491 | { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12492 | { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12493 | { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12494 | { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12495 | { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12496 | { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12497 | { "wxPyControlPoint__setSelf", (PyCFunction) _wrap_wxPyControlPoint__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12498 | { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
12499 | { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12500 | { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12501 | { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12502 | { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12503 | { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12504 | { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12505 | { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12506 | { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12507 | { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12508 | { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12509 | { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12510 | { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12511 | { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12512 | { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12513 | { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12514 | { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12515 | { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12516 | { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12517 | { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12518 | { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12519 | { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12520 | { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12521 | { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12522 | { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12523 | { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12524 | { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12525 | { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12526 | { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12527 | { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12528 | { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12529 | { "wxPyRectangleShape__setSelf", (PyCFunction) _wrap_wxPyRectangleShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12530 | { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS }, | |
12531 | { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12532 | { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12533 | { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12534 | { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
12535 | { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
12536 | { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
12537 | { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12538 | { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12539 | { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12540 | { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12541 | { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12542 | { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12543 | { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12544 | { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS }, | |
12545 | { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12546 | { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12547 | { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12548 | { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12549 | { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12550 | { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS }, | |
12551 | { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12552 | { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12553 | { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12554 | { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12555 | { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12556 | { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12557 | { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
12558 | { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12559 | { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12560 | { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12561 | { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS }, | |
12562 | { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12563 | { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12564 | { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12565 | { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS }, | |
12566 | { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12567 | { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS }, | |
12568 | { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS }, | |
12569 | { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12570 | { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12571 | { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS }, | |
12572 | { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12573 | { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12574 | { NULL, NULL } | |
12575 | }; | |
12576 | #ifdef __cplusplus | |
12577 | } | |
12578 | #endif | |
12579 | /* | |
12580 | * This table is used by the pointer type-checker | |
12581 | */ | |
12582 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
12583 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
12584 | { "_wxEvent","_class_wxEvent",0}, | |
12585 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
12586 | { "_signed_long","_long",0}, | |
12587 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
12588 | { "_class_wxProcessEvent","_wxProcessEvent",0}, | |
12589 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
12590 | { "_class_wxFSFile","_wxFSFile",0}, | |
12591 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, | |
12592 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
12593 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, | |
12594 | { "_wxBMPHandler","_class_wxBMPHandler",0}, | |
12595 | { "_wxImage","_class_wxImage",0}, | |
12596 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, | |
12597 | { "_wxWindowDisabler","_class_wxWindowDisabler",0}, | |
12598 | { "_class_wxDateTime","_wxDateTime",0}, | |
12599 | { "_wxPrintQuality","_wxCoord",0}, | |
12600 | { "_wxPrintQuality","_int",0}, | |
12601 | { "_wxPrintQuality","_signed_int",0}, | |
12602 | { "_wxPrintQuality","_unsigned_int",0}, | |
12603 | { "_wxPrintQuality","_wxWindowID",0}, | |
12604 | { "_wxPrintQuality","_uint",0}, | |
12605 | { "_wxPrintQuality","_EBool",0}, | |
12606 | { "_wxPrintQuality","_size_t",0}, | |
12607 | { "_wxPrintQuality","_time_t",0}, | |
12608 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, | |
12609 | { "_wxSpinCtrl","_class_wxSpinCtrl",0}, | |
12610 | { "_wxFontData","_class_wxFontData",0}, | |
12611 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
12612 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, | |
12613 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
12614 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
12615 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, | |
12616 | { "_class_wxEvtHandler","_wxEvtHandler",0}, | |
12617 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
12618 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
12619 | { "_wxPySizer","_class_wxPySizer",0}, | |
12620 | { "_wxInternetFSHandler","_class_wxInternetFSHandler",0}, | |
12621 | { "_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12622 | { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12623 | { "_wxPyCompositeShape","_class_wxPyCompositeShape",0}, | |
12624 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
12625 | { "_wxCursor","_class_wxCursor",0}, | |
12626 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
12627 | { "_wxPyProcess","_class_wxPyProcess",0}, | |
12628 | { "_wxPyTreeCtrl","_class_wxPyTreeCtrl",0}, | |
12629 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
12630 | { "_class_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12631 | { "_class_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12632 | { "_class_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12633 | { "_class_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12634 | { "_class_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12635 | { "_class_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12636 | { "_class_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12637 | { "_class_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12638 | { "_class_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
12639 | { "_class_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
12640 | { "_class_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
12641 | { "_class_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
12642 | { "_class_wxPyRectangleShape","_wxPyRectangleShape",0}, | |
12643 | { "_wxMutexGuiLocker","_class_wxMutexGuiLocker",0}, | |
12644 | { "_wxLog","_class_wxLog",0}, | |
12645 | { "_class_wxToolBarBase","_wxToolBarBase",0}, | |
12646 | { "_wxMask","_class_wxMask",0}, | |
12647 | { "_wxToolTip","_class_wxToolTip",0}, | |
12648 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
12649 | { "_class_wxOGLConstraint","_wxOGLConstraint",0}, | |
12650 | { "_class_wxColourData","_wxColourData",0}, | |
12651 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
12652 | { "_wxPrinter","_class_wxPrinter",0}, | |
12653 | { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0}, | |
12654 | { "_wxPen","_class_wxPen",0}, | |
12655 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
12656 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, | |
12657 | { "_byte","_unsigned_char",0}, | |
12658 | { "_wxDataObject","_class_wxDataObject",0}, | |
12659 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
12660 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
12661 | { "_wxColourDatabase","_class_wxColourDatabase",0}, | |
12662 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, | |
12663 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
12664 | { "_wxChoice","_class_wxChoice",0}, | |
12665 | { "_wxSlider","_class_wxSlider",0}, | |
12666 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
12667 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
12668 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
12669 | { "_long","_unsigned_long",0}, | |
12670 | { "_long","_signed_long",0}, | |
12671 | { "_wxImageList","_class_wxImageList",0}, | |
12672 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, | |
12673 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
12674 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
12675 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
12676 | { "_class_wxSizer","_wxSizer",0}, | |
12677 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, | |
12678 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, | |
12679 | { "_wxGridSizer","_class_wxGridSizer",0}, | |
12680 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
12681 | { "_class_wxClipboard","_wxClipboard",0}, | |
12682 | { "_class_wxGauge","_wxGauge",0}, | |
12683 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
12684 | { "_wxDC","_class_wxDC",0}, | |
12685 | { "_wxSizerItem","_class_wxSizerItem",0}, | |
12686 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, | |
12687 | { "_wxListEvent","_class_wxListEvent",0}, | |
12688 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
12689 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
12690 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
12691 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
12692 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, | |
12693 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
12694 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
12695 | { "_wxPyBitmapShape","_class_wxPyBitmapShape",0}, | |
12696 | { "_size_t","_wxCoord",0}, | |
12697 | { "_size_t","_wxPrintQuality",0}, | |
12698 | { "_size_t","_time_t",0}, | |
12699 | { "_size_t","_unsigned_int",0}, | |
12700 | { "_size_t","_int",0}, | |
12701 | { "_size_t","_wxWindowID",0}, | |
12702 | { "_size_t","_uint",0}, | |
12703 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
12704 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, | |
12705 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
12706 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
12707 | { "_wxLogGui","_class_wxLogGui",0}, | |
12708 | { "_wxPrinterDC","_class_wxPrinterDC",0}, | |
12709 | { "_class_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12710 | { "_class_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12711 | { "_class_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12712 | { "_class_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12713 | { "_class_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12714 | { "_class_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12715 | { "_class_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12716 | { "_class_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12717 | { "_class_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
12718 | { "_class_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
12719 | { "_class_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
12720 | { "_class_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
12721 | { "_class_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
12722 | { "_class_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
12723 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
12724 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
12725 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
12726 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
12727 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
12728 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
12729 | { "_class_wxPySizer","_wxPySizer",0}, | |
12730 | { "_class_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12731 | { "_class_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12732 | { "_class_wxPyCompositeShape","_wxPyCompositeShape",0}, | |
12733 | { "_wxPanel","_class_wxPanel",0}, | |
12734 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
12735 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
12736 | { "_class_wxPyTreeCtrl","_wxPyTreeCtrl",0}, | |
12737 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
12738 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
12739 | { "_class_wxMask","_wxMask",0}, | |
12740 | { "_wxTextDataObject","_class_wxTextDataObject",0}, | |
12741 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
12742 | { "_class_wxToolTip","_wxToolTip",0}, | |
12743 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
12744 | { "_wxFileConfig","_class_wxFileConfig",0}, | |
12745 | { "_wxColour","_class_wxColour",0}, | |
12746 | { "_class_wxDialog","_wxDialog",0}, | |
12747 | { "_wxBusyCursor","_class_wxBusyCursor",0}, | |
12748 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
12749 | { "_class_wxPrinter","_wxPrinter",0}, | |
12750 | { "_class_wxFileDataObject","_wxFileDataObject",0}, | |
12751 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
12752 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
12753 | { "_wxToolBar","_class_wxToolBar",0}, | |
12754 | { "_class_wxDataObject","_wxDataObject",0}, | |
12755 | { "_wxCaret","_class_wxCaret",0}, | |
12756 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
12757 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
12758 | { "_wxBrush","_class_wxBrush",0}, | |
12759 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
12760 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
12761 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
12762 | { "_wxDataFormat","_class_wxDataFormat",0}, | |
12763 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
12764 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
12765 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
12766 | { "_class_wxPyDivisionShape","_wxPyDivisionShape",0}, | |
12767 | { "_uint","_wxCoord",0}, | |
12768 | { "_uint","_wxPrintQuality",0}, | |
12769 | { "_uint","_time_t",0}, | |
12770 | { "_uint","_size_t",0}, | |
12771 | { "_uint","_unsigned_int",0}, | |
12772 | { "_uint","_int",0}, | |
12773 | { "_uint","_wxWindowID",0}, | |
12774 | { "_wxChar","_char",0}, | |
12775 | { "_wxPyValidator","_class_wxPyValidator",0}, | |
12776 | { "_class_wxEvent","_wxEvent",0}, | |
12777 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
12778 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
12779 | { "_wxRect","_class_wxRect",0}, | |
12780 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
12781 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
12782 | { "_class_wxLogWindow","_wxLogWindow",0}, | |
12783 | { "_class_wxImage","_wxImage",0}, | |
12784 | { "_wxPoint","_class_wxPoint",0}, | |
12785 | { "_class_wxWindowDisabler","_wxWindowDisabler",0}, | |
12786 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
12787 | { "_class_wxPyBitmapShape","_wxPyBitmapShape",0}, | |
12788 | { "_class_wxButton","_wxButton",0}, | |
12789 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
12790 | { "_class_wxSpinCtrl","_wxSpinCtrl",0}, | |
12791 | { "_class_wxFontData","_wxFontData",0}, | |
12792 | { "_class_wxPNMHandler","_wxPNMHandler",0}, | |
12793 | { "_wxBoxSizer","_class_wxBoxSizer",0}, | |
12794 | { "_class_wxZipFSHandler","_wxZipFSHandler",0}, | |
12795 | { "_char","_wxChar",0}, | |
12796 | { "_wxBitmap","_class_wxBitmap",0}, | |
12797 | { "_wxPenList","_class_wxPenList",0}, | |
12798 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, | |
12799 | { "_wxPrintDialog","_class_wxPrintDialog",0}, | |
12800 | { "_wxPyControlPoint","_class_wxPyControlPoint",0}, | |
12801 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
12802 | { "_wxTimerEvent","_class_wxTimerEvent",0}, | |
12803 | { "_wxPyTimer","_class_wxPyTimer",0}, | |
12804 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
12805 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
12806 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
12807 | { "_wxPrintData","_class_wxPrintData",0}, | |
12808 | { "_class_wxInternetFSHandler","_wxInternetFSHandler",0}, | |
12809 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
12810 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
12811 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
12812 | { "_class_wxValidator","_wxValidator",0}, | |
12813 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
12814 | { "_class_wxMutexGuiLocker","_wxMutexGuiLocker",0}, | |
12815 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
12816 | { "_wxConfig","_class_wxConfig",0}, | |
12817 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
12818 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
12819 | { "_class_wxFileConfig","_wxFileConfig",0}, | |
12820 | { "_class_wxPyDrawnShape","_wxPyDrawnShape",0}, | |
12821 | { "_class_wxBusyCursor","_wxBusyCursor",0}, | |
12822 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
12823 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
12824 | { "_wxListItem","_class_wxListItem",0}, | |
12825 | { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0}, | |
12826 | { "_class_wxToolBar","_wxToolBar",0}, | |
12827 | { "_wxDropTarget","_class_wxDropTarget",0}, | |
12828 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
12829 | { "_class_wxColourDatabase","_wxColourDatabase",0}, | |
12830 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
12831 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, | |
12832 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
12833 | { "_class_wxMemoryFSHandler","_wxMemoryFSHandler",0}, | |
12834 | { "_class_wxShapeRegion","_wxShapeRegion",0}, | |
12835 | { "_EBool","_wxCoord",0}, | |
12836 | { "_EBool","_wxPrintQuality",0}, | |
12837 | { "_EBool","_signed_int",0}, | |
12838 | { "_EBool","_int",0}, | |
12839 | { "_EBool","_wxWindowID",0}, | |
12840 | { "_class_wxRegion","_wxRegion",0}, | |
12841 | { "_class_wxDataFormat","_wxDataFormat",0}, | |
12842 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
12843 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, | |
12844 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
12845 | { "_wxStaticText","_class_wxStaticText",0}, | |
12846 | { "_wxFont","_class_wxFont",0}, | |
12847 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, | |
12848 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
12849 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
12850 | { "_wxProcessEvent","_class_wxProcessEvent",0}, | |
12851 | { "_wxNotebook","_class_wxNotebook",0}, | |
12852 | { "_wxFSFile","_class_wxFSFile",0}, | |
12853 | { "_unsigned_long","_long",0}, | |
12854 | { "_class_wxRect","_wxRect",0}, | |
12855 | { "_class_wxDC","_wxDC",0}, | |
12856 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, | |
12857 | { "_wxGenericDragImage","_class_wxGenericDragImage",0}, | |
12858 | { "_class_wxProgressDialog","_wxProgressDialog",0}, | |
12859 | { "_class_wxBrushList","_wxBrushList",0}, | |
12860 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, | |
12861 | { "_wxPyInputStream","_class_wxPyInputStream",0}, | |
12862 | { "_wxPyApp","_class_wxPyApp",0}, | |
12863 | { "_class_wxPenList","_wxPenList",0}, | |
12864 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, | |
12865 | { "_class_wxOutputStream","_wxOutputStream",0}, | |
12866 | { "_wxLogTextCtrl","_class_wxLogTextCtrl",0}, | |
12867 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
12868 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
12869 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
12870 | { "_wxTimeSpan","_class_wxTimeSpan",0}, | |
12871 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
12872 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
12873 | { "_class_wxTimerEvent","_wxTimerEvent",0}, | |
12874 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
12875 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
12876 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
12877 | { "_class_wxPanel","_wxPanel",0}, | |
12878 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
12879 | { "_wxComboBox","_class_wxComboBox",0}, | |
12880 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
12881 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
12882 | { "_signed_int","_wxCoord",0}, | |
12883 | { "_signed_int","_wxPrintQuality",0}, | |
12884 | { "_signed_int","_EBool",0}, | |
12885 | { "_signed_int","_wxWindowID",0}, | |
12886 | { "_signed_int","_int",0}, | |
12887 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
12888 | { "_class_wxListItemAttr","_wxListItemAttr",0}, | |
12889 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
12890 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, | |
12891 | { "_class_wxTextDataObject","_wxTextDataObject",0}, | |
12892 | { "_wxMenu","_class_wxMenu",0}, | |
12893 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
12894 | { "_wxListBox","_class_wxListBox",0}, | |
12895 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
12896 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, | |
12897 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
12898 | { "_WXTYPE","_wxDateTime_t",0}, | |
12899 | { "_WXTYPE","_short",0}, | |
12900 | { "_WXTYPE","_signed_short",0}, | |
12901 | { "_WXTYPE","_unsigned_short",0}, | |
12902 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
12903 | { "_class_wxDropTarget","_wxDropTarget",0}, | |
12904 | { "_class_wxCaret","_wxCaret",0}, | |
12905 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
12906 | { "_class_wxBrush","_wxBrush",0}, | |
12907 | { "_wxTipProvider","_class_wxTipProvider",0}, | |
12908 | { "_unsigned_short","_wxDateTime_t",0}, | |
12909 | { "_unsigned_short","_WXTYPE",0}, | |
12910 | { "_unsigned_short","_short",0}, | |
12911 | { "_class_wxWindow","_wxWindow",0}, | |
12912 | { "_class_wxLogStderr","_wxLogStderr",0}, | |
12913 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
12914 | { "_wxDateSpan","_class_wxDateSpan",0}, | |
12915 | { "_class_wxStaticText","_wxStaticText",0}, | |
12916 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
12917 | { "_class_wxFont","_wxFont",0}, | |
12918 | { "_wxClipboard","_class_wxClipboard",0}, | |
12919 | { "_class_wxPyValidator","_wxPyValidator",0}, | |
12920 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
12921 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
12922 | { "_wxBusyInfo","_class_wxBusyInfo",0}, | |
12923 | { "_wxFontList","_class_wxFontList",0}, | |
12924 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
12925 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, | |
12926 | { "_wxJoystick","_class_wxJoystick",0}, | |
12927 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
12928 | { "_wxClientDC","_class_wxClientDC",0}, | |
12929 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
12930 | { "_class_wxGenericDragImage","_wxGenericDragImage",0}, | |
12931 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
12932 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
12933 | { "_wxPyDividedShape","_class_wxPyDividedShape",0}, | |
12934 | { "_class_wxPoint","_wxPoint",0}, | |
12935 | { "_class_wxPyInputStream","_wxPyInputStream",0}, | |
12936 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
12937 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
12938 | { "_class_wxBoxSizer","_wxBoxSizer",0}, | |
12939 | { "_signed_short","_WXTYPE",0}, | |
12940 | { "_signed_short","_short",0}, | |
12941 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
12942 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, | |
12943 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, | |
12944 | { "_class_wxPrintDialog","_wxPrintDialog",0}, | |
12945 | { "_wxPyFileSystemHandler","_class_wxPyFileSystemHandler",0}, | |
12946 | { "_class_wxPyControlPoint","_wxPyControlPoint",0}, | |
12947 | { "_wxPaintDC","_class_wxPaintDC",0}, | |
12948 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
12949 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
12950 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
12951 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
12952 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
12953 | { "_class_wxCursor","_wxCursor",0}, | |
12954 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, | |
12955 | { "_class_wxPyProcess","_wxPyProcess",0}, | |
12956 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
12957 | { "_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12958 | { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12959 | { "_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12960 | { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12961 | { "_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12962 | { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12963 | { "_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12964 | { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12965 | { "_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
12966 | { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
12967 | { "_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
12968 | { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
12969 | { "_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
12970 | { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
12971 | { "_wxPyShape","_class_wxPyShape",0}, | |
12972 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
12973 | { "_class_wxLog","_wxLog",0}, | |
12974 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
12975 | { "_unsigned_char","_byte",0}, | |
12976 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, | |
12977 | { "_class_wxMenu","_wxMenu",0}, | |
12978 | { "_wxControl","_class_wxControl",0}, | |
12979 | { "_class_wxListBox","_wxListBox",0}, | |
12980 | { "_unsigned_int","_wxCoord",0}, | |
12981 | { "_unsigned_int","_wxPrintQuality",0}, | |
12982 | { "_unsigned_int","_time_t",0}, | |
12983 | { "_unsigned_int","_size_t",0}, | |
12984 | { "_unsigned_int","_uint",0}, | |
12985 | { "_unsigned_int","_wxWindowID",0}, | |
12986 | { "_unsigned_int","_int",0}, | |
12987 | { "_wxIcon","_class_wxIcon",0}, | |
12988 | { "_wxDialog","_class_wxDialog",0}, | |
12989 | { "_class_wxListItem","_wxListItem",0}, | |
12990 | { "_class_wxPen","_wxPen",0}, | |
12991 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
12992 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
12993 | { "_wxConfigBase","_class_wxConfigBase",0}, | |
12994 | { "_short","_wxDateTime_t",0}, | |
12995 | { "_short","_WXTYPE",0}, | |
12996 | { "_short","_unsigned_short",0}, | |
12997 | { "_short","_signed_short",0}, | |
12998 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
12999 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
13000 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, | |
13001 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
13002 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
13003 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
13004 | { "_class_wxChoice","_wxChoice",0}, | |
13005 | { "_class_wxSlider","_wxSlider",0}, | |
13006 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
13007 | { "_class_wxImageList","_wxImageList",0}, | |
13008 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
13009 | { "_wxFileSystemHandler","_class_wxFileSystemHandler",0}, | |
13010 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, | |
13011 | { "_wxFrame","_class_wxFrame",0}, | |
13012 | { "_wxPCXHandler","_class_wxPCXHandler",0}, | |
13013 | { "_class_wxGridSizer","_wxGridSizer",0}, | |
13014 | { "_wxPyDivisionShape","_class_wxPyDivisionShape",0}, | |
13015 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, | |
13016 | { "_class_wxNotebook","_wxNotebook",0}, | |
13017 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
13018 | { "_wxWindowID","_wxCoord",0}, | |
13019 | { "_wxWindowID","_wxPrintQuality",0}, | |
13020 | { "_wxWindowID","_time_t",0}, | |
13021 | { "_wxWindowID","_size_t",0}, | |
13022 | { "_wxWindowID","_EBool",0}, | |
13023 | { "_wxWindowID","_uint",0}, | |
13024 | { "_wxWindowID","_int",0}, | |
13025 | { "_wxWindowID","_signed_int",0}, | |
13026 | { "_wxWindowID","_unsigned_int",0}, | |
13027 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, | |
13028 | { "_class_wxSizerItem","_wxSizerItem",0}, | |
13029 | { "_int","_wxCoord",0}, | |
13030 | { "_int","_wxPrintQuality",0}, | |
13031 | { "_int","_time_t",0}, | |
13032 | { "_int","_size_t",0}, | |
13033 | { "_int","_EBool",0}, | |
13034 | { "_int","_uint",0}, | |
13035 | { "_int","_wxWindowID",0}, | |
13036 | { "_int","_unsigned_int",0}, | |
13037 | { "_int","_signed_int",0}, | |
13038 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
13039 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, | |
13040 | { "_wxLogWindow","_class_wxLogWindow",0}, | |
13041 | { "_class_wxListEvent","_wxListEvent",0}, | |
13042 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
13043 | { "_wxDateTime_t","_unsigned_short",0}, | |
13044 | { "_wxDateTime_t","_short",0}, | |
13045 | { "_wxDateTime_t","_WXTYPE",0}, | |
13046 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
13047 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, | |
13048 | { "_wxDateTime","_class_wxDateTime",0}, | |
13049 | { "_time_t","_wxCoord",0}, | |
13050 | { "_time_t","_wxPrintQuality",0}, | |
13051 | { "_time_t","_unsigned_int",0}, | |
13052 | { "_time_t","_int",0}, | |
13053 | { "_time_t","_wxWindowID",0}, | |
13054 | { "_time_t","_uint",0}, | |
13055 | { "_time_t","_size_t",0}, | |
13056 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
13057 | { "_wxLogNull","_class_wxLogNull",0}, | |
13058 | { "_wxButton","_class_wxButton",0}, | |
13059 | { "_wxZipFSHandler","_class_wxZipFSHandler",0}, | |
13060 | { "_class_wxPyApp","_wxPyApp",0}, | |
13061 | { "_wxSize","_class_wxSize",0}, | |
13062 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
13063 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, | |
13064 | { "_class_wxLogTextCtrl","_wxLogTextCtrl",0}, | |
13065 | { "_class_wxLogGui","_wxLogGui",0}, | |
13066 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, | |
13067 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
13068 | { "_class_wxPrinterDC","_wxPrinterDC",0}, | |
13069 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, | |
13070 | { "_class_wxTimeSpan","_wxTimeSpan",0}, | |
13071 | { "_class_wxPyFileSystemHandler","_wxPyFileSystemHandler",0}, | |
13072 | { "_class_wxPaintDC","_wxPaintDC",0}, | |
13073 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
13074 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, | |
13075 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
13076 | { "_class_wxComboBox","_wxComboBox",0}, | |
13077 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
13078 | { "_class_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
13079 | { "_class_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
13080 | { "_class_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
13081 | { "_class_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
13082 | { "_class_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
13083 | { "_class_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
13084 | { "_class_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
13085 | { "_class_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
13086 | { "_class_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
13087 | { "_class_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
13088 | { "_class_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
13089 | { "_class_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
13090 | { "_class_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
13091 | { "_class_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
13092 | { "_class_wxPyShape","_wxPyShape",0}, | |
13093 | { "_wxValidator","_class_wxValidator",0}, | |
13094 | { "_wxToolBarBase","_class_wxToolBarBase",0}, | |
13095 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
13096 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
13097 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
13098 | { "_class_wxControl","_wxControl",0}, | |
13099 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
13100 | { "_wxPyDrawnShape","_class_wxPyDrawnShape",0}, | |
13101 | { "_class_wxIcon","_wxIcon",0}, | |
13102 | { "_class_wxColour","_wxColour",0}, | |
13103 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
13104 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
13105 | { "_wxPalette","_class_wxPalette",0}, | |
13106 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
13107 | { "_class_wxConfigBase","_wxConfigBase",0}, | |
13108 | { "_wxCoord","_int",0}, | |
13109 | { "_wxCoord","_signed_int",0}, | |
13110 | { "_wxCoord","_unsigned_int",0}, | |
13111 | { "_wxCoord","_wxWindowID",0}, | |
13112 | { "_wxCoord","_uint",0}, | |
13113 | { "_wxCoord","_EBool",0}, | |
13114 | { "_wxCoord","_size_t",0}, | |
13115 | { "_wxCoord","_time_t",0}, | |
13116 | { "_wxCoord","_wxPrintQuality",0}, | |
13117 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
13118 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, | |
13119 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
13120 | { "_class_wxTipProvider","_wxTipProvider",0}, | |
13121 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
13122 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
13123 | { "_wxMemoryFSHandler","_class_wxMemoryFSHandler",0}, | |
13124 | { "_wxRegion","_class_wxRegion",0}, | |
13125 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
13126 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
13127 | { "_wxSizer","_class_wxSizer",0}, | |
13128 | { "_class_wxDateSpan","_wxDateSpan",0}, | |
13129 | { "_wxFileSystem","_class_wxFileSystem",0}, | |
13130 | { "_class_wxShowEvent","_wxShowEvent",0}, | |
13131 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, | |
13132 | { "_class_wxPCXHandler","_wxPCXHandler",0}, | |
13133 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
13134 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
13135 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
13136 | { "_wxGauge","_class_wxGauge",0}, | |
13137 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
13138 | { "_class_wxBusyInfo","_wxBusyInfo",0}, | |
13139 | { "_class_wxFontList","_wxFontList",0}, | |
13140 | { "_class_wxJoystick","_wxJoystick",0}, | |
13141 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
13142 | { "_class_wxClientDC","_wxClientDC",0}, | |
13143 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
13144 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
13145 | { "_class_wxPyDividedShape","_wxPyDividedShape",0}, | |
13146 | { "_wxBrushList","_class_wxBrushList",0}, | |
13147 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, | |
13148 | { "_class_wxLogNull","_wxLogNull",0}, | |
13149 | { "_class_wxSize","_wxSize",0}, | |
13150 | { "_class_wxBitmap","_wxBitmap",0}, | |
13151 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
13152 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, | |
13153 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
13154 | { "_wxOutputStream","_class_wxOutputStream",0}, | |
13155 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
13156 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
13157 | { "_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
13158 | { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
13159 | { "_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
13160 | { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
13161 | { "_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
13162 | { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
13163 | { "_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
13164 | { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
13165 | { "_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
13166 | { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
13167 | { "_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
13168 | { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
13169 | { "_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
13170 | { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
13171 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
13172 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
13173 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
13174 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
13175 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
13176 | { "_class_wxPrintData","_wxPrintData",0}, | |
13177 | { "_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
13178 | { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
13179 | { "_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
13180 | { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
13181 | { "_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
13182 | { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
13183 | { "_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
13184 | { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
13185 | { "_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
13186 | { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
13187 | { "_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
13188 | { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
13189 | { "_wxPyRectangleShape","_class_wxPyRectangleShape",0}, | |
13190 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
13191 | { "_wxListItemAttr","_class_wxListItemAttr",0}, | |
13192 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
13193 | { "_class_wxConfig","_wxConfig",0}, | |
13194 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
13195 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
13196 | { "_wxOGLConstraint","_class_wxOGLConstraint",0}, | |
13197 | { "_wxColourData","_class_wxColourData",0}, | |
13198 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
13199 | { "_class_wxPalette","_wxPalette",0}, | |
13200 | { "_wxFileDataObject","_class_wxFileDataObject",0}, | |
13201 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
13202 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, | |
13203 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
13204 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, | |
13205 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
13206 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, | |
13207 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
13208 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
13209 | { "_wxWindow","_class_wxWindow",0}, | |
13210 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, | |
13211 | { "_wxLogStderr","_class_wxLogStderr",0}, | |
13212 | { "_class_wxFileSystemHandler","_wxFileSystemHandler",0}, | |
13213 | { "_class_wxFileSystem","_wxFileSystem",0}, | |
13214 | { "_class_wxFrame","_wxFrame",0}, | |
13215 | {0,0,0}}; | |
13216 | ||
13217 | static PyObject *SWIG_globals; | |
13218 | #ifdef __cplusplus | |
13219 | extern "C" | |
13220 | #endif | |
13221 | SWIGEXPORT(void) initoglshapesc() { | |
13222 | PyObject *m, *d; | |
13223 | SWIG_globals = SWIG_newvarlink(); | |
13224 | m = Py_InitModule("oglshapesc", oglshapescMethods); | |
13225 | d = PyModule_GetDict(m); | |
13226 | { | |
13227 | int i; | |
13228 | for (i = 0; _swig_mapping[i].n1; i++) | |
13229 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
13230 | } | |
13231 | } |