]>
Commit | Line | Data |
---|---|---|
e91a9dfc | 1 | /* |
2348eaee | 2 | * FILE : ./oglshapes.cpp |
e91a9dfc RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
6 | * Version 1.1 (Build 810) | |
7 | * | |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
30 | # define SWIGEXPORT(a) a _export | |
31 | # else | |
32 | # define SWIGEXPORT(a) a | |
33 | # endif | |
34 | # endif | |
35 | #else | |
36 | # define SWIGEXPORT(a) a | |
37 | #endif | |
38 | ||
39 | #ifdef __cplusplus | |
40 | extern "C" { | |
41 | #endif | |
42 | #include "Python.h" | |
43 | extern void SWIG_MakePtr(char *, void *, char *); | |
44 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
45 | extern char *SWIG_GetPtr(char *, void **, char *); | |
46 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
47 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
48 | extern PyObject *SWIG_newvarlink(void); | |
49 | #ifdef __cplusplus | |
50 | } | |
51 | #endif | |
52 | #define SWIG_init initoglshapesc | |
53 | ||
54 | #define SWIG_name "oglshapesc" | |
55 | ||
56 | #include "helpers.h" | |
57 | #include "oglhelpers.h" | |
58 | ||
59 | static PyObject* l_output_helper(PyObject* target, PyObject* o) { | |
60 | PyObject* o2; | |
61 | PyObject* o3; | |
62 | if (!target) { | |
63 | target = o; | |
64 | } else if (target == Py_None) { | |
65 | Py_DECREF(Py_None); | |
66 | target = o; | |
67 | } else { | |
68 | if (!PyList_Check(target)) { | |
69 | o2 = target; | |
70 | target = PyList_New(0); | |
71 | PyList_Append(target, o2); | |
72 | Py_XDECREF(o2); | |
73 | } | |
74 | PyList_Append(target,o); | |
75 | Py_XDECREF(o); | |
76 | } | |
77 | return target; | |
78 | } | |
79 | ||
80 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
81 | PyObject* o2; | |
82 | PyObject* o3; | |
83 | ||
84 | if (!target) { | |
85 | target = o; | |
86 | } else if (target == Py_None) { | |
87 | Py_DECREF(Py_None); | |
88 | target = o; | |
89 | } else { | |
90 | if (!PyTuple_Check(target)) { | |
91 | o2 = target; | |
92 | target = PyTuple_New(1); | |
93 | PyTuple_SetItem(target, 0, o2); | |
94 | } | |
95 | o3 = PyTuple_New(1); | |
96 | PyTuple_SetItem(o3, 0, o); | |
97 | ||
98 | o2 = target; | |
99 | target = PySequence_Concat(o2, o3); | |
100 | Py_DECREF(o2); | |
101 | Py_DECREF(o3); | |
102 | } | |
103 | return target; | |
104 | } | |
105 | ||
e91a9dfc RD |
106 | static char* wxStringErrorMsg = "string type is required for parameter"; |
107 | ||
108 | WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape); | |
109 | ||
2348eaee RD |
110 | WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint); |
111 | ||
e91a9dfc RD |
112 | WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape); |
113 | ||
114 | WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape); | |
115 | ||
116 | WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape); | |
117 | ||
118 | WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape); | |
119 | ||
120 | WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape); | |
121 | #ifdef __cplusplus | |
122 | extern "C" { | |
123 | #endif | |
124 | #define new_wxPseudoMetaFile() (new wxPseudoMetaFile()) | |
125 | static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
126 | PyObject * _resultobj; | |
127 | wxPseudoMetaFile * _result; | |
128 | char *_kwnames[] = { NULL }; | |
129 | char _ptemp[128]; | |
130 | ||
131 | self = self; | |
132 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames)) | |
133 | return NULL; | |
134 | { | |
135 | wxPy_BEGIN_ALLOW_THREADS; | |
136 | _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile(); | |
137 | ||
138 | wxPy_END_ALLOW_THREADS; | |
139 | } if (_result) { | |
140 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
141 | _resultobj = Py_BuildValue("s",_ptemp); | |
142 | } else { | |
143 | Py_INCREF(Py_None); | |
144 | _resultobj = Py_None; | |
145 | } | |
146 | return _resultobj; | |
147 | } | |
148 | ||
149 | #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj) | |
150 | static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
151 | PyObject * _resultobj; | |
152 | wxPseudoMetaFile * _arg0; | |
153 | PyObject * _argo0 = 0; | |
154 | char *_kwnames[] = { "self", NULL }; | |
155 | ||
156 | self = self; | |
157 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0)) | |
158 | return NULL; | |
159 | if (_argo0) { | |
160 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
161 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
162 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p."); | |
163 | return NULL; | |
164 | } | |
165 | } | |
166 | { | |
167 | wxPy_BEGIN_ALLOW_THREADS; | |
168 | delete_wxPseudoMetaFile(_arg0); | |
169 | ||
170 | wxPy_END_ALLOW_THREADS; | |
171 | } Py_INCREF(Py_None); | |
172 | _resultobj = Py_None; | |
173 | return _resultobj; | |
174 | } | |
175 | ||
176 | #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2)) | |
177 | static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
178 | PyObject * _resultobj; | |
179 | wxPseudoMetaFile * _arg0; | |
180 | wxDC * _arg1; | |
181 | double _arg2; | |
182 | double _arg3; | |
183 | PyObject * _argo0 = 0; | |
184 | PyObject * _argo1 = 0; | |
185 | char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL }; | |
186 | ||
187 | self = self; | |
188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
189 | return NULL; | |
190 | if (_argo0) { | |
191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p."); | |
194 | return NULL; | |
195 | } | |
196 | } | |
197 | if (_argo1) { | |
198 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
199 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p."); | |
201 | return NULL; | |
202 | } | |
203 | } | |
204 | { | |
205 | wxPy_BEGIN_ALLOW_THREADS; | |
206 | wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3); | |
207 | ||
208 | wxPy_END_ALLOW_THREADS; | |
209 | } Py_INCREF(Py_None); | |
210 | _resultobj = Py_None; | |
211 | return _resultobj; | |
212 | } | |
213 | ||
214 | #define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1)) | |
215 | static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
216 | PyObject * _resultobj; | |
217 | wxPseudoMetaFile * _arg0; | |
218 | wxExpr * _arg1; | |
219 | int _arg2; | |
220 | PyObject * _argo0 = 0; | |
221 | PyObject * _argo1 = 0; | |
222 | char *_kwnames[] = { "self","clause","whichAngle", NULL }; | |
223 | ||
224 | self = self; | |
225 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2)) | |
226 | return NULL; | |
227 | if (_argo0) { | |
228 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
229 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p."); | |
231 | return NULL; | |
232 | } | |
233 | } | |
234 | if (_argo1) { | |
235 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
236 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) { | |
237 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p."); | |
238 | return NULL; | |
239 | } | |
240 | } | |
241 | { | |
242 | wxPy_BEGIN_ALLOW_THREADS; | |
243 | wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2); | |
244 | ||
245 | wxPy_END_ALLOW_THREADS; | |
246 | } Py_INCREF(Py_None); | |
247 | _resultobj = Py_None; | |
248 | return _resultobj; | |
249 | } | |
250 | ||
251 | #define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1)) | |
252 | static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
253 | PyObject * _resultobj; | |
254 | wxPseudoMetaFile * _arg0; | |
255 | wxExpr * _arg1; | |
256 | int _arg2; | |
257 | PyObject * _argo0 = 0; | |
258 | PyObject * _argo1 = 0; | |
259 | char *_kwnames[] = { "self","clause","whichAngle", NULL }; | |
260 | ||
261 | self = self; | |
262 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2)) | |
263 | return NULL; | |
264 | if (_argo0) { | |
265 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
266 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p."); | |
268 | return NULL; | |
269 | } | |
270 | } | |
271 | if (_argo1) { | |
272 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
273 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) { | |
274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p."); | |
275 | return NULL; | |
276 | } | |
277 | } | |
278 | { | |
279 | wxPy_BEGIN_ALLOW_THREADS; | |
280 | wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2); | |
281 | ||
282 | wxPy_END_ALLOW_THREADS; | |
283 | } Py_INCREF(Py_None); | |
284 | _resultobj = Py_None; | |
285 | return _resultobj; | |
286 | } | |
287 | ||
288 | #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear()) | |
289 | static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
290 | PyObject * _resultobj; | |
291 | wxPseudoMetaFile * _arg0; | |
292 | PyObject * _argo0 = 0; | |
293 | char *_kwnames[] = { "self", NULL }; | |
294 | ||
295 | self = self; | |
296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0)) | |
297 | return NULL; | |
298 | if (_argo0) { | |
299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p."); | |
302 | return NULL; | |
303 | } | |
304 | } | |
305 | { | |
306 | wxPy_BEGIN_ALLOW_THREADS; | |
307 | wxPseudoMetaFile_Clear(_arg0); | |
308 | ||
309 | wxPy_END_ALLOW_THREADS; | |
310 | } Py_INCREF(Py_None); | |
311 | _resultobj = Py_None; | |
312 | return _resultobj; | |
313 | } | |
314 | ||
315 | #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0)) | |
316 | static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
317 | PyObject * _resultobj; | |
318 | wxPseudoMetaFile * _arg0; | |
319 | wxPseudoMetaFile * _arg1; | |
320 | PyObject * _argo0 = 0; | |
321 | PyObject * _argo1 = 0; | |
322 | char *_kwnames[] = { "self","copy", NULL }; | |
323 | ||
324 | self = self; | |
325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1)) | |
326 | return NULL; | |
327 | if (_argo0) { | |
328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p."); | |
331 | return NULL; | |
332 | } | |
333 | } | |
334 | if (_argo1) { | |
335 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
336 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) { | |
337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p."); | |
338 | return NULL; | |
339 | } | |
340 | } | |
341 | { | |
342 | wxPy_BEGIN_ALLOW_THREADS; | |
343 | wxPseudoMetaFile_Copy(_arg0,*_arg1); | |
344 | ||
345 | wxPy_END_ALLOW_THREADS; | |
346 | } Py_INCREF(Py_None); | |
347 | _resultobj = Py_None; | |
348 | return _resultobj; | |
349 | } | |
350 | ||
351 | #define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
352 | static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
353 | PyObject * _resultobj; | |
354 | wxPseudoMetaFile * _arg0; | |
355 | double _arg1; | |
356 | double _arg2; | |
357 | PyObject * _argo0 = 0; | |
358 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
359 | ||
360 | self = self; | |
361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
362 | return NULL; | |
363 | if (_argo0) { | |
364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p."); | |
367 | return NULL; | |
368 | } | |
369 | } | |
370 | { | |
371 | wxPy_BEGIN_ALLOW_THREADS; | |
372 | wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2); | |
373 | ||
374 | wxPy_END_ALLOW_THREADS; | |
375 | } Py_INCREF(Py_None); | |
376 | _resultobj = Py_None; | |
377 | return _resultobj; | |
378 | } | |
379 | ||
380 | #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1)) | |
381 | static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
382 | PyObject * _resultobj; | |
383 | wxPseudoMetaFile * _arg0; | |
384 | double _arg1; | |
385 | double _arg2; | |
386 | PyObject * _argo0 = 0; | |
387 | char *_kwnames[] = { "self","w","h", NULL }; | |
388 | ||
389 | self = self; | |
390 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2)) | |
391 | return NULL; | |
392 | if (_argo0) { | |
393 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
394 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
395 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p."); | |
396 | return NULL; | |
397 | } | |
398 | } | |
399 | { | |
400 | wxPy_BEGIN_ALLOW_THREADS; | |
401 | wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2); | |
402 | ||
403 | wxPy_END_ALLOW_THREADS; | |
404 | } Py_INCREF(Py_None); | |
405 | _resultobj = Py_None; | |
406 | return _resultobj; | |
407 | } | |
408 | ||
409 | #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
410 | static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
411 | PyObject * _resultobj; | |
412 | wxPseudoMetaFile * _arg0; | |
413 | double _arg1; | |
414 | double _arg2; | |
415 | PyObject * _argo0 = 0; | |
416 | char *_kwnames[] = { "self","x","y", NULL }; | |
417 | ||
418 | self = self; | |
419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
420 | return NULL; | |
421 | if (_argo0) { | |
422 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
423 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p."); | |
425 | return NULL; | |
426 | } | |
427 | } | |
428 | { | |
429 | wxPy_BEGIN_ALLOW_THREADS; | |
430 | wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2); | |
431 | ||
432 | wxPy_END_ALLOW_THREADS; | |
433 | } Py_INCREF(Py_None); | |
434 | _resultobj = Py_None; | |
435 | return _resultobj; | |
436 | } | |
437 | ||
438 | #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
439 | static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
440 | PyObject * _resultobj; | |
441 | wxPseudoMetaFile * _arg0; | |
442 | double _arg1; | |
443 | double _arg2; | |
444 | double _arg3; | |
445 | PyObject * _argo0 = 0; | |
446 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
447 | ||
448 | self = self; | |
449 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
450 | return NULL; | |
451 | if (_argo0) { | |
452 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
453 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
454 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p."); | |
455 | return NULL; | |
456 | } | |
457 | } | |
458 | { | |
459 | wxPy_BEGIN_ALLOW_THREADS; | |
460 | wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3); | |
461 | ||
462 | wxPy_END_ALLOW_THREADS; | |
463 | } Py_INCREF(Py_None); | |
464 | _resultobj = Py_None; | |
465 | return _resultobj; | |
466 | } | |
467 | ||
468 | #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2)) | |
469 | static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
470 | PyObject * _resultobj; | |
471 | bool _result; | |
472 | wxPseudoMetaFile * _arg0; | |
473 | char * _arg1; | |
474 | double * _arg2; | |
475 | double * _arg3; | |
476 | PyObject * _argo0 = 0; | |
477 | PyObject * _argo2 = 0; | |
478 | PyObject * _argo3 = 0; | |
479 | char *_kwnames[] = { "self","filename","width","height", NULL }; | |
480 | ||
481 | self = self; | |
482 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
483 | return NULL; | |
484 | if (_argo0) { | |
485 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
486 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p."); | |
488 | return NULL; | |
489 | } | |
490 | } | |
491 | if (_argo2) { | |
492 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
493 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) { | |
494 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p."); | |
495 | return NULL; | |
496 | } | |
497 | } | |
498 | if (_argo3) { | |
499 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
500 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) { | |
501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p."); | |
502 | return NULL; | |
503 | } | |
504 | } | |
505 | { | |
506 | wxPy_BEGIN_ALLOW_THREADS; | |
507 | _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3); | |
508 | ||
509 | wxPy_END_ALLOW_THREADS; | |
510 | } _resultobj = Py_BuildValue("i",_result); | |
511 | return _resultobj; | |
512 | } | |
513 | ||
514 | #define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
515 | static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) { | |
516 | PyObject * _resultobj; | |
517 | wxPseudoMetaFile * _arg0; | |
518 | double * _arg1; | |
519 | double * _arg2; | |
520 | double * _arg3; | |
521 | double * _arg4; | |
522 | PyObject * _argo0 = 0; | |
523 | PyObject * _argo1 = 0; | |
524 | PyObject * _argo2 = 0; | |
525 | PyObject * _argo3 = 0; | |
526 | PyObject * _argo4 = 0; | |
527 | char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL }; | |
528 | ||
529 | self = self; | |
530 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4)) | |
531 | return NULL; | |
532 | if (_argo0) { | |
533 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
534 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
535 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p."); | |
536 | return NULL; | |
537 | } | |
538 | } | |
539 | if (_argo1) { | |
540 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
541 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) { | |
542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
543 | return NULL; | |
544 | } | |
545 | } | |
546 | if (_argo2) { | |
547 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
548 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) { | |
549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
550 | return NULL; | |
551 | } | |
552 | } | |
553 | if (_argo3) { | |
554 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
555 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) { | |
556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
557 | return NULL; | |
558 | } | |
559 | } | |
560 | if (_argo4) { | |
561 | if (_argo4 == Py_None) { _arg4 = NULL; } | |
562 | else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) { | |
563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p."); | |
564 | return NULL; | |
565 | } | |
566 | } | |
567 | { | |
568 | wxPy_BEGIN_ALLOW_THREADS; | |
569 | wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4); | |
570 | ||
571 | wxPy_END_ALLOW_THREADS; | |
572 | } Py_INCREF(Py_None); | |
573 | _resultobj = Py_None; | |
574 | return _resultobj; | |
575 | } | |
576 | ||
577 | #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0)) | |
578 | static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
579 | PyObject * _resultobj; | |
580 | wxPseudoMetaFile * _arg0; | |
581 | wxDrawnShape * _arg1; | |
582 | PyObject * _argo0 = 0; | |
583 | PyObject * _argo1 = 0; | |
584 | char *_kwnames[] = { "self","shape", NULL }; | |
585 | ||
586 | self = self; | |
587 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1)) | |
588 | return NULL; | |
589 | if (_argo0) { | |
590 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
591 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
592 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p."); | |
593 | return NULL; | |
594 | } | |
595 | } | |
596 | if (_argo1) { | |
597 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
598 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) { | |
599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p."); | |
600 | return NULL; | |
601 | } | |
602 | } | |
603 | { | |
604 | wxPy_BEGIN_ALLOW_THREADS; | |
605 | wxPseudoMetaFile_CalculateSize(_arg0,_arg1); | |
606 | ||
607 | wxPy_END_ALLOW_THREADS; | |
608 | } Py_INCREF(Py_None); | |
609 | _resultobj = Py_None; | |
610 | return _resultobj; | |
611 | } | |
612 | ||
613 | #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0)) | |
614 | static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
615 | PyObject * _resultobj; | |
616 | wxPseudoMetaFile * _arg0; | |
617 | bool _arg1; | |
618 | PyObject * _argo0 = 0; | |
619 | int tempbool1; | |
620 | char *_kwnames[] = { "self","rot", NULL }; | |
621 | ||
622 | self = self; | |
623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1)) | |
624 | return NULL; | |
625 | if (_argo0) { | |
626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p."); | |
629 | return NULL; | |
630 | } | |
631 | } | |
632 | _arg1 = (bool ) tempbool1; | |
633 | { | |
634 | wxPy_BEGIN_ALLOW_THREADS; | |
635 | wxPseudoMetaFile_SetRotateable(_arg0,_arg1); | |
636 | ||
637 | wxPy_END_ALLOW_THREADS; | |
638 | } Py_INCREF(Py_None); | |
639 | _resultobj = Py_None; | |
640 | return _resultobj; | |
641 | } | |
642 | ||
643 | #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable()) | |
644 | static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
645 | PyObject * _resultobj; | |
646 | bool _result; | |
647 | wxPseudoMetaFile * _arg0; | |
648 | PyObject * _argo0 = 0; | |
649 | char *_kwnames[] = { "self", NULL }; | |
650 | ||
651 | self = self; | |
652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0)) | |
653 | return NULL; | |
654 | if (_argo0) { | |
655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p."); | |
658 | return NULL; | |
659 | } | |
660 | } | |
661 | { | |
662 | wxPy_BEGIN_ALLOW_THREADS; | |
663 | _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0); | |
664 | ||
665 | wxPy_END_ALLOW_THREADS; | |
666 | } _resultobj = Py_BuildValue("i",_result); | |
667 | return _resultobj; | |
668 | } | |
669 | ||
670 | #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
671 | static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
672 | PyObject * _resultobj; | |
673 | wxPseudoMetaFile * _arg0; | |
674 | double _arg1; | |
675 | double _arg2; | |
676 | PyObject * _argo0 = 0; | |
677 | char *_kwnames[] = { "self","w","h", NULL }; | |
678 | ||
679 | self = self; | |
680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
681 | return NULL; | |
682 | if (_argo0) { | |
683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p."); | |
686 | return NULL; | |
687 | } | |
688 | } | |
689 | { | |
690 | wxPy_BEGIN_ALLOW_THREADS; | |
691 | wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2); | |
692 | ||
693 | wxPy_END_ALLOW_THREADS; | |
694 | } Py_INCREF(Py_None); | |
695 | _resultobj = Py_None; | |
696 | return _resultobj; | |
697 | } | |
698 | ||
699 | #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0)) | |
700 | static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
701 | PyObject * _resultobj; | |
702 | wxPseudoMetaFile * _arg0; | |
703 | wxBrush * _arg1; | |
704 | PyObject * _argo0 = 0; | |
705 | PyObject * _argo1 = 0; | |
706 | char *_kwnames[] = { "self","brush", NULL }; | |
707 | ||
708 | self = self; | |
709 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_argo1)) | |
710 | return NULL; | |
711 | if (_argo0) { | |
712 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
713 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p."); | |
715 | return NULL; | |
716 | } | |
717 | } | |
718 | if (_argo1) { | |
719 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
720 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetFillBrush. Expected _wxBrush_p."); | |
722 | return NULL; | |
723 | } | |
724 | } | |
725 | { | |
726 | wxPy_BEGIN_ALLOW_THREADS; | |
727 | wxPseudoMetaFile_SetFillBrush(_arg0,_arg1); | |
728 | ||
729 | wxPy_END_ALLOW_THREADS; | |
730 | } Py_INCREF(Py_None); | |
731 | _resultobj = Py_None; | |
732 | return _resultobj; | |
733 | } | |
734 | ||
735 | #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush()) | |
736 | static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
737 | PyObject * _resultobj; | |
738 | wxBrush * _result; | |
739 | wxPseudoMetaFile * _arg0; | |
740 | PyObject * _argo0 = 0; | |
741 | char *_kwnames[] = { "self", NULL }; | |
742 | char _ptemp[128]; | |
743 | ||
744 | self = self; | |
745 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0)) | |
746 | return NULL; | |
747 | if (_argo0) { | |
748 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
749 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
750 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p."); | |
751 | return NULL; | |
752 | } | |
753 | } | |
754 | { | |
755 | wxPy_BEGIN_ALLOW_THREADS; | |
756 | _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0); | |
757 | ||
758 | wxPy_END_ALLOW_THREADS; | |
759 | } if (_result) { | |
760 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
761 | _resultobj = Py_BuildValue("s",_ptemp); | |
762 | } else { | |
763 | Py_INCREF(Py_None); | |
764 | _resultobj = Py_None; | |
765 | } | |
766 | return _resultobj; | |
767 | } | |
768 | ||
769 | #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0)) | |
770 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
771 | PyObject * _resultobj; | |
772 | wxPseudoMetaFile * _arg0; | |
773 | wxPen * _arg1; | |
774 | PyObject * _argo0 = 0; | |
775 | PyObject * _argo1 = 0; | |
776 | char *_kwnames[] = { "self","pen", NULL }; | |
777 | ||
778 | self = self; | |
779 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_argo1)) | |
780 | return NULL; | |
781 | if (_argo0) { | |
782 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
783 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
784 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
785 | return NULL; | |
786 | } | |
787 | } | |
788 | if (_argo1) { | |
789 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
790 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPen_p."); | |
792 | return NULL; | |
793 | } | |
794 | } | |
795 | { | |
796 | wxPy_BEGIN_ALLOW_THREADS; | |
797 | wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1); | |
798 | ||
799 | wxPy_END_ALLOW_THREADS; | |
800 | } Py_INCREF(Py_None); | |
801 | _resultobj = Py_None; | |
802 | return _resultobj; | |
803 | } | |
804 | ||
805 | #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen()) | |
806 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
807 | PyObject * _resultobj; | |
808 | wxPen * _result; | |
809 | wxPseudoMetaFile * _arg0; | |
810 | PyObject * _argo0 = 0; | |
811 | char *_kwnames[] = { "self", NULL }; | |
812 | char _ptemp[128]; | |
813 | ||
814 | self = self; | |
815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0)) | |
816 | return NULL; | |
817 | if (_argo0) { | |
818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
821 | return NULL; | |
822 | } | |
823 | } | |
824 | { | |
825 | wxPy_BEGIN_ALLOW_THREADS; | |
826 | _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0); | |
827 | ||
828 | wxPy_END_ALLOW_THREADS; | |
829 | } if (_result) { | |
830 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
831 | _resultobj = Py_BuildValue("s",_ptemp); | |
832 | } else { | |
833 | Py_INCREF(Py_None); | |
834 | _resultobj = Py_None; | |
835 | } | |
836 | return _resultobj; | |
837 | } | |
838 | ||
839 | #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0)) | |
840 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
841 | PyObject * _resultobj; | |
842 | wxPseudoMetaFile * _arg0; | |
843 | int _arg1; | |
844 | PyObject * _argo0 = 0; | |
845 | char *_kwnames[] = { "self","op", NULL }; | |
846 | ||
847 | self = self; | |
848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1)) | |
849 | return NULL; | |
850 | if (_argo0) { | |
851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
854 | return NULL; | |
855 | } | |
856 | } | |
857 | { | |
858 | wxPy_BEGIN_ALLOW_THREADS; | |
859 | wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1); | |
860 | ||
861 | wxPy_END_ALLOW_THREADS; | |
862 | } Py_INCREF(Py_None); | |
863 | _resultobj = Py_None; | |
864 | return _resultobj; | |
865 | } | |
866 | ||
867 | #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp()) | |
868 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
869 | PyObject * _resultobj; | |
870 | int _result; | |
871 | wxPseudoMetaFile * _arg0; | |
872 | PyObject * _argo0 = 0; | |
873 | char *_kwnames[] = { "self", NULL }; | |
874 | ||
875 | self = self; | |
876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0)) | |
877 | return NULL; | |
878 | if (_argo0) { | |
879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
882 | return NULL; | |
883 | } | |
884 | } | |
885 | { | |
886 | wxPy_BEGIN_ALLOW_THREADS; | |
887 | _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0); | |
888 | ||
889 | wxPy_END_ALLOW_THREADS; | |
890 | } _resultobj = Py_BuildValue("i",_result); | |
891 | return _resultobj; | |
892 | } | |
893 | ||
894 | #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid()) | |
895 | static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
896 | PyObject * _resultobj; | |
897 | bool _result; | |
898 | wxPseudoMetaFile * _arg0; | |
899 | PyObject * _argo0 = 0; | |
900 | char *_kwnames[] = { "self", NULL }; | |
901 | ||
902 | self = self; | |
903 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0)) | |
904 | return NULL; | |
905 | if (_argo0) { | |
906 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
907 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
908 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p."); | |
909 | return NULL; | |
910 | } | |
911 | } | |
912 | { | |
913 | wxPy_BEGIN_ALLOW_THREADS; | |
914 | _result = (bool )wxPseudoMetaFile_IsValid(_arg0); | |
915 | ||
916 | wxPy_END_ALLOW_THREADS; | |
917 | } _resultobj = Py_BuildValue("i",_result); | |
918 | return _resultobj; | |
919 | } | |
920 | ||
921 | #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
922 | static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
923 | PyObject * _resultobj; | |
924 | wxPseudoMetaFile * _arg0; | |
925 | wxPoint * _arg1; | |
926 | wxPoint * _arg2; | |
927 | PyObject * _argo0 = 0; | |
2348eaee RD |
928 | wxPoint temp; |
929 | PyObject * _obj1 = 0; | |
930 | wxPoint temp0; | |
931 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
932 | char *_kwnames[] = { "self","pt1","pt2", NULL }; |
933 | ||
934 | self = self; | |
2348eaee | 935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
936 | return NULL; |
937 | if (_argo0) { | |
938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p."); | |
941 | return NULL; | |
942 | } | |
943 | } | |
2348eaee RD |
944 | { |
945 | _arg1 = &temp; | |
946 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 947 | return NULL; |
2348eaee RD |
948 | } |
949 | { | |
950 | _arg2 = &temp0; | |
951 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 952 | return NULL; |
2348eaee | 953 | } |
e91a9dfc RD |
954 | { |
955 | wxPy_BEGIN_ALLOW_THREADS; | |
956 | wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2); | |
957 | ||
958 | wxPy_END_ALLOW_THREADS; | |
959 | } Py_INCREF(Py_None); | |
960 | _resultobj = Py_None; | |
961 | return _resultobj; | |
962 | } | |
963 | ||
964 | #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
965 | static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
966 | PyObject * _resultobj; | |
967 | wxPseudoMetaFile * _arg0; | |
968 | wxRect * _arg1; | |
969 | PyObject * _argo0 = 0; | |
2348eaee RD |
970 | wxRect temp; |
971 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
972 | char *_kwnames[] = { "self","rect", NULL }; |
973 | ||
974 | self = self; | |
2348eaee | 975 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
976 | return NULL; |
977 | if (_argo0) { | |
978 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
979 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p."); | |
981 | return NULL; | |
982 | } | |
983 | } | |
2348eaee RD |
984 | { |
985 | _arg1 = &temp; | |
986 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 987 | return NULL; |
2348eaee | 988 | } |
e91a9dfc RD |
989 | { |
990 | wxPy_BEGIN_ALLOW_THREADS; | |
991 | wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1); | |
992 | ||
993 | wxPy_END_ALLOW_THREADS; | |
994 | } Py_INCREF(Py_None); | |
995 | _resultobj = Py_None; | |
996 | return _resultobj; | |
997 | } | |
998 | ||
999 | #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
1000 | static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1001 | PyObject * _resultobj; | |
1002 | wxPseudoMetaFile * _arg0; | |
1003 | wxRect * _arg1; | |
1004 | double _arg2; | |
1005 | PyObject * _argo0 = 0; | |
2348eaee RD |
1006 | wxRect temp; |
1007 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1008 | char *_kwnames[] = { "self","rect","radius", NULL }; |
1009 | ||
1010 | self = self; | |
2348eaee | 1011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
1012 | return NULL; |
1013 | if (_argo0) { | |
1014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p."); | |
1017 | return NULL; | |
1018 | } | |
1019 | } | |
2348eaee RD |
1020 | { |
1021 | _arg1 = &temp; | |
1022 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1023 | return NULL; |
2348eaee | 1024 | } |
e91a9dfc RD |
1025 | { |
1026 | wxPy_BEGIN_ALLOW_THREADS; | |
1027 | wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2); | |
1028 | ||
1029 | wxPy_END_ALLOW_THREADS; | |
1030 | } Py_INCREF(Py_None); | |
1031 | _resultobj = Py_None; | |
1032 | return _resultobj; | |
1033 | } | |
1034 | ||
1035 | #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
1036 | static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1037 | PyObject * _resultobj; | |
1038 | wxPseudoMetaFile * _arg0; | |
1039 | wxPoint * _arg1; | |
1040 | wxPoint * _arg2; | |
1041 | wxPoint * _arg3; | |
1042 | PyObject * _argo0 = 0; | |
2348eaee RD |
1043 | wxPoint temp; |
1044 | PyObject * _obj1 = 0; | |
1045 | wxPoint temp0; | |
1046 | PyObject * _obj2 = 0; | |
1047 | wxPoint temp1; | |
1048 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
1049 | char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL }; |
1050 | ||
1051 | self = self; | |
2348eaee | 1052 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
e91a9dfc RD |
1053 | return NULL; |
1054 | if (_argo0) { | |
1055 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1056 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p."); | |
1058 | return NULL; | |
1059 | } | |
1060 | } | |
2348eaee RD |
1061 | { |
1062 | _arg1 = &temp; | |
1063 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 1064 | return NULL; |
2348eaee RD |
1065 | } |
1066 | { | |
1067 | _arg2 = &temp0; | |
1068 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 1069 | return NULL; |
2348eaee RD |
1070 | } |
1071 | { | |
1072 | _arg3 = &temp1; | |
1073 | if (! wxPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 1074 | return NULL; |
2348eaee | 1075 | } |
e91a9dfc RD |
1076 | { |
1077 | wxPy_BEGIN_ALLOW_THREADS; | |
1078 | wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); | |
1079 | ||
1080 | wxPy_END_ALLOW_THREADS; | |
1081 | } Py_INCREF(Py_None); | |
1082 | _resultobj = Py_None; | |
1083 | return _resultobj; | |
1084 | } | |
1085 | ||
1086 | #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
1087 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1088 | PyObject * _resultobj; | |
1089 | wxPseudoMetaFile * _arg0; | |
1090 | wxRect * _arg1; | |
1091 | double _arg2; | |
1092 | double _arg3; | |
1093 | PyObject * _argo0 = 0; | |
2348eaee RD |
1094 | wxRect temp; |
1095 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1096 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; |
1097 | ||
1098 | self = self; | |
2348eaee | 1099 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
e91a9dfc RD |
1100 | return NULL; |
1101 | if (_argo0) { | |
1102 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1103 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1104 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p."); | |
1105 | return NULL; | |
1106 | } | |
1107 | } | |
2348eaee RD |
1108 | { |
1109 | _arg1 = &temp; | |
1110 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1111 | return NULL; |
2348eaee | 1112 | } |
e91a9dfc RD |
1113 | { |
1114 | wxPy_BEGIN_ALLOW_THREADS; | |
1115 | wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); | |
1116 | ||
1117 | wxPy_END_ALLOW_THREADS; | |
1118 | } Py_INCREF(Py_None); | |
1119 | _resultobj = Py_None; | |
1120 | return _resultobj; | |
1121 | } | |
1122 | ||
1123 | #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0)) | |
1124 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1125 | PyObject * _resultobj; | |
1126 | wxPseudoMetaFile * _arg0; | |
1127 | wxRect * _arg1; | |
1128 | PyObject * _argo0 = 0; | |
2348eaee RD |
1129 | wxRect temp; |
1130 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1131 | char *_kwnames[] = { "self","rect", NULL }; |
1132 | ||
1133 | self = self; | |
2348eaee | 1134 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1135 | return NULL; |
1136 | if (_argo0) { | |
1137 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1138 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1139 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p."); | |
1140 | return NULL; | |
1141 | } | |
1142 | } | |
2348eaee RD |
1143 | { |
1144 | _arg1 = &temp; | |
1145 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1146 | return NULL; |
2348eaee | 1147 | } |
e91a9dfc RD |
1148 | { |
1149 | wxPy_BEGIN_ALLOW_THREADS; | |
1150 | wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1); | |
1151 | ||
1152 | wxPy_END_ALLOW_THREADS; | |
1153 | } Py_INCREF(Py_None); | |
1154 | _resultobj = Py_None; | |
1155 | return _resultobj; | |
1156 | } | |
1157 | ||
1158 | #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
1159 | static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1160 | PyObject * _resultobj; | |
1161 | wxPseudoMetaFile * _arg0; | |
1162 | wxPoint * _arg1; | |
1163 | PyObject * _argo0 = 0; | |
2348eaee RD |
1164 | wxPoint temp; |
1165 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1166 | char *_kwnames[] = { "self","pt", NULL }; |
1167 | ||
1168 | self = self; | |
2348eaee | 1169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1170 | return NULL; |
1171 | if (_argo0) { | |
1172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p."); | |
1175 | return NULL; | |
1176 | } | |
1177 | } | |
2348eaee RD |
1178 | { |
1179 | _arg1 = &temp; | |
1180 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 1181 | return NULL; |
2348eaee | 1182 | } |
e91a9dfc RD |
1183 | { |
1184 | wxPy_BEGIN_ALLOW_THREADS; | |
1185 | wxPseudoMetaFile_DrawPoint(_arg0,*_arg1); | |
1186 | ||
1187 | wxPy_END_ALLOW_THREADS; | |
1188 | } Py_INCREF(Py_None); | |
1189 | _resultobj = Py_None; | |
1190 | return _resultobj; | |
1191 | } | |
1192 | ||
1193 | #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
1194 | static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1195 | PyObject * _resultobj; | |
1196 | wxPseudoMetaFile * _arg0; | |
1197 | wxString * _arg1; | |
1198 | wxPoint * _arg2; | |
1199 | PyObject * _argo0 = 0; | |
1200 | PyObject * _obj1 = 0; | |
2348eaee RD |
1201 | wxPoint temp; |
1202 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
1203 | char *_kwnames[] = { "self","text","pt", NULL }; |
1204 | ||
1205 | self = self; | |
2348eaee | 1206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1207 | return NULL; |
1208 | if (_argo0) { | |
1209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p."); | |
1212 | return NULL; | |
1213 | } | |
1214 | } | |
1215 | { | |
1216 | if (!PyString_Check(_obj1)) { | |
1217 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
1218 | return NULL; | |
1219 | } | |
1220 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
1221 | } | |
2348eaee RD |
1222 | { |
1223 | _arg2 = &temp; | |
1224 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 1225 | return NULL; |
2348eaee | 1226 | } |
e91a9dfc RD |
1227 | { |
1228 | wxPy_BEGIN_ALLOW_THREADS; | |
1229 | wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2); | |
1230 | ||
1231 | wxPy_END_ALLOW_THREADS; | |
1232 | } Py_INCREF(Py_None); | |
1233 | _resultobj = Py_None; | |
1234 | { | |
1235 | if (_obj1) | |
1236 | delete _arg1; | |
1237 | } | |
1238 | return _resultobj; | |
1239 | } | |
1240 | ||
1241 | #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
1242 | static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1243 | PyObject * _resultobj; | |
1244 | wxPseudoMetaFile * _arg0; | |
1245 | int _arg1; | |
1246 | wxPoint * _arg2; | |
1247 | PyObject * _argo0 = 0; | |
1248 | PyObject * _obj2 = 0; | |
1249 | char *_kwnames[] = { "self","LIST", NULL }; | |
1250 | ||
1251 | self = self; | |
1252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2)) | |
1253 | return NULL; | |
1254 | if (_argo0) { | |
1255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p."); | |
1258 | return NULL; | |
1259 | } | |
1260 | } | |
1261 | if (_obj2) | |
1262 | { | |
1263 | _arg2 = wxPoint_LIST_helper(_obj2); | |
1264 | if (_arg2 == NULL) { | |
1265 | return NULL; | |
1266 | } | |
1267 | } | |
1268 | { | |
1269 | if (_obj2) { | |
1270 | _arg1 = PyList_Size(_obj2); | |
1271 | } | |
1272 | else { | |
1273 | _arg1 = 0; | |
1274 | } | |
1275 | } | |
1276 | { | |
1277 | wxPy_BEGIN_ALLOW_THREADS; | |
1278 | wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2); | |
1279 | ||
1280 | wxPy_END_ALLOW_THREADS; | |
1281 | } Py_INCREF(Py_None); | |
1282 | _resultobj = Py_None; | |
1283 | { | |
1284 | delete [] _arg2; | |
1285 | } | |
1286 | return _resultobj; | |
1287 | } | |
1288 | ||
1289 | #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
1290 | static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1291 | PyObject * _resultobj; | |
1292 | wxPseudoMetaFile * _arg0; | |
1293 | int _arg1; | |
1294 | wxPoint * _arg2; | |
1295 | int _arg3 = (int ) 0; | |
1296 | PyObject * _argo0 = 0; | |
1297 | PyObject * _obj2 = 0; | |
1298 | char *_kwnames[] = { "self","LIST","flags", NULL }; | |
1299 | ||
1300 | self = self; | |
1301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
1302 | return NULL; | |
1303 | if (_argo0) { | |
1304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p."); | |
1307 | return NULL; | |
1308 | } | |
1309 | } | |
1310 | if (_obj2) | |
1311 | { | |
1312 | _arg2 = wxPoint_LIST_helper(_obj2); | |
1313 | if (_arg2 == NULL) { | |
1314 | return NULL; | |
1315 | } | |
1316 | } | |
1317 | { | |
1318 | if (_obj2) { | |
1319 | _arg1 = PyList_Size(_obj2); | |
1320 | } | |
1321 | else { | |
1322 | _arg1 = 0; | |
1323 | } | |
1324 | } | |
1325 | { | |
1326 | wxPy_BEGIN_ALLOW_THREADS; | |
1327 | wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3); | |
1328 | ||
1329 | wxPy_END_ALLOW_THREADS; | |
1330 | } Py_INCREF(Py_None); | |
1331 | _resultobj = Py_None; | |
1332 | { | |
1333 | delete [] _arg2; | |
1334 | } | |
1335 | return _resultobj; | |
1336 | } | |
1337 | ||
1338 | #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
1339 | static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1340 | PyObject * _resultobj; | |
1341 | wxPseudoMetaFile * _arg0; | |
1342 | int _arg1; | |
1343 | wxPoint * _arg2; | |
1344 | PyObject * _argo0 = 0; | |
1345 | PyObject * _obj2 = 0; | |
1346 | char *_kwnames[] = { "self","LIST", NULL }; | |
1347 | ||
1348 | self = self; | |
1349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
1350 | return NULL; | |
1351 | if (_argo0) { | |
1352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p."); | |
1355 | return NULL; | |
1356 | } | |
1357 | } | |
1358 | if (_obj2) | |
1359 | { | |
1360 | _arg2 = wxPoint_LIST_helper(_obj2); | |
1361 | if (_arg2 == NULL) { | |
1362 | return NULL; | |
1363 | } | |
1364 | } | |
1365 | { | |
1366 | if (_obj2) { | |
1367 | _arg1 = PyList_Size(_obj2); | |
1368 | } | |
1369 | else { | |
1370 | _arg1 = 0; | |
1371 | } | |
1372 | } | |
1373 | { | |
1374 | wxPy_BEGIN_ALLOW_THREADS; | |
1375 | wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2); | |
1376 | ||
1377 | wxPy_END_ALLOW_THREADS; | |
1378 | } Py_INCREF(Py_None); | |
1379 | _resultobj = Py_None; | |
1380 | { | |
1381 | delete [] _arg2; | |
1382 | } | |
1383 | return _resultobj; | |
1384 | } | |
1385 | ||
1386 | #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
1387 | static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1388 | PyObject * _resultobj; | |
1389 | wxPseudoMetaFile * _arg0; | |
1390 | wxRect * _arg1; | |
1391 | PyObject * _argo0 = 0; | |
2348eaee RD |
1392 | wxRect temp; |
1393 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1394 | char *_kwnames[] = { "self","rect", NULL }; |
1395 | ||
1396 | self = self; | |
2348eaee | 1397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1398 | return NULL; |
1399 | if (_argo0) { | |
1400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p."); | |
1403 | return NULL; | |
1404 | } | |
1405 | } | |
2348eaee RD |
1406 | { |
1407 | _arg1 = &temp; | |
1408 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1409 | return NULL; |
2348eaee | 1410 | } |
e91a9dfc RD |
1411 | { |
1412 | wxPy_BEGIN_ALLOW_THREADS; | |
1413 | wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1); | |
1414 | ||
1415 | wxPy_END_ALLOW_THREADS; | |
1416 | } Py_INCREF(Py_None); | |
1417 | _resultobj = Py_None; | |
1418 | return _resultobj; | |
1419 | } | |
1420 | ||
1421 | #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
1422 | static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1423 | PyObject * _resultobj; | |
1424 | wxPseudoMetaFile * _arg0; | |
1425 | PyObject * _argo0 = 0; | |
1426 | char *_kwnames[] = { "self", NULL }; | |
1427 | ||
1428 | self = self; | |
1429 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0)) | |
1430 | return NULL; | |
1431 | if (_argo0) { | |
1432 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1433 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1434 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p."); | |
1435 | return NULL; | |
1436 | } | |
1437 | } | |
1438 | { | |
1439 | wxPy_BEGIN_ALLOW_THREADS; | |
1440 | wxPseudoMetaFile_DestroyClippingRect(_arg0); | |
1441 | ||
1442 | wxPy_END_ALLOW_THREADS; | |
1443 | } Py_INCREF(Py_None); | |
1444 | _resultobj = Py_None; | |
1445 | return _resultobj; | |
1446 | } | |
1447 | ||
1448 | #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1)) | |
1449 | static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1450 | PyObject * _resultobj; | |
1451 | wxPseudoMetaFile * _arg0; | |
1452 | wxPen * _arg1; | |
1453 | bool _arg2 = (bool ) FALSE; | |
1454 | PyObject * _argo0 = 0; | |
1455 | PyObject * _argo1 = 0; | |
1456 | int tempbool2 = (int) FALSE; | |
1457 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
1458 | ||
1459 | self = self; | |
1460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1461 | return NULL; | |
1462 | if (_argo0) { | |
1463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p."); | |
1466 | return NULL; | |
1467 | } | |
1468 | } | |
1469 | if (_argo1) { | |
1470 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1471 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
1472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetPen. Expected _wxPen_p."); | |
1473 | return NULL; | |
1474 | } | |
1475 | } | |
1476 | _arg2 = (bool ) tempbool2; | |
1477 | { | |
1478 | wxPy_BEGIN_ALLOW_THREADS; | |
1479 | wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2); | |
1480 | ||
1481 | wxPy_END_ALLOW_THREADS; | |
1482 | } Py_INCREF(Py_None); | |
1483 | _resultobj = Py_None; | |
1484 | return _resultobj; | |
1485 | } | |
1486 | ||
1487 | #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1)) | |
1488 | static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1489 | PyObject * _resultobj; | |
1490 | wxPseudoMetaFile * _arg0; | |
1491 | wxBrush * _arg1; | |
1492 | bool _arg2 = (bool ) FALSE; | |
1493 | PyObject * _argo0 = 0; | |
1494 | PyObject * _argo1 = 0; | |
1495 | int tempbool2 = (int) FALSE; | |
1496 | char *_kwnames[] = { "self","brush","isFill", NULL }; | |
1497 | ||
1498 | self = self; | |
1499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1500 | return NULL; | |
1501 | if (_argo0) { | |
1502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p."); | |
1505 | return NULL; | |
1506 | } | |
1507 | } | |
1508 | if (_argo1) { | |
1509 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1510 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
1511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetBrush. Expected _wxBrush_p."); | |
1512 | return NULL; | |
1513 | } | |
1514 | } | |
1515 | _arg2 = (bool ) tempbool2; | |
1516 | { | |
1517 | wxPy_BEGIN_ALLOW_THREADS; | |
1518 | wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2); | |
1519 | ||
1520 | wxPy_END_ALLOW_THREADS; | |
1521 | } Py_INCREF(Py_None); | |
1522 | _resultobj = Py_None; | |
1523 | return _resultobj; | |
1524 | } | |
1525 | ||
1526 | #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
1527 | static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1528 | PyObject * _resultobj; | |
1529 | wxPseudoMetaFile * _arg0; | |
1530 | wxFont * _arg1; | |
1531 | PyObject * _argo0 = 0; | |
1532 | PyObject * _argo1 = 0; | |
1533 | char *_kwnames[] = { "self","font", NULL }; | |
1534 | ||
1535 | self = self; | |
1536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_argo1)) | |
1537 | return NULL; | |
1538 | if (_argo0) { | |
1539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p."); | |
1542 | return NULL; | |
1543 | } | |
1544 | } | |
1545 | if (_argo1) { | |
1546 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1547 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
1548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetFont. Expected _wxFont_p."); | |
1549 | return NULL; | |
1550 | } | |
1551 | } | |
1552 | { | |
1553 | wxPy_BEGIN_ALLOW_THREADS; | |
1554 | wxPseudoMetaFile_SetFont(_arg0,_arg1); | |
1555 | ||
1556 | wxPy_END_ALLOW_THREADS; | |
1557 | } Py_INCREF(Py_None); | |
1558 | _resultobj = Py_None; | |
1559 | return _resultobj; | |
1560 | } | |
1561 | ||
1562 | #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
1563 | static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1564 | PyObject * _resultobj; | |
1565 | wxPseudoMetaFile * _arg0; | |
1566 | wxColour * _arg1; | |
1567 | PyObject * _argo0 = 0; | |
1568 | PyObject * _argo1 = 0; | |
1569 | char *_kwnames[] = { "self","colour", NULL }; | |
1570 | ||
1571 | self = self; | |
1572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_argo1)) | |
1573 | return NULL; | |
1574 | if (_argo0) { | |
1575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p."); | |
1578 | return NULL; | |
1579 | } | |
1580 | } | |
1581 | if (_argo1) { | |
1582 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1583 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
1584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetTextColour. Expected _wxColour_p."); | |
1585 | return NULL; | |
1586 | } | |
1587 | } | |
1588 | { | |
1589 | wxPy_BEGIN_ALLOW_THREADS; | |
1590 | wxPseudoMetaFile_SetTextColour(_arg0,*_arg1); | |
1591 | ||
1592 | wxPy_END_ALLOW_THREADS; | |
1593 | } Py_INCREF(Py_None); | |
1594 | _resultobj = Py_None; | |
1595 | return _resultobj; | |
1596 | } | |
1597 | ||
1598 | #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1599 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1600 | PyObject * _resultobj; | |
1601 | wxPseudoMetaFile * _arg0; | |
1602 | wxColour * _arg1; | |
1603 | PyObject * _argo0 = 0; | |
1604 | PyObject * _argo1 = 0; | |
1605 | char *_kwnames[] = { "self","colour", NULL }; | |
1606 | ||
1607 | self = self; | |
1608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_argo1)) | |
1609 | return NULL; | |
1610 | if (_argo0) { | |
1611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p."); | |
1614 | return NULL; | |
1615 | } | |
1616 | } | |
1617 | if (_argo1) { | |
1618 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1619 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
1620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxColour_p."); | |
1621 | return NULL; | |
1622 | } | |
1623 | } | |
1624 | { | |
1625 | wxPy_BEGIN_ALLOW_THREADS; | |
1626 | wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1); | |
1627 | ||
1628 | wxPy_END_ALLOW_THREADS; | |
1629 | } Py_INCREF(Py_None); | |
1630 | _resultobj = Py_None; | |
1631 | return _resultobj; | |
1632 | } | |
1633 | ||
1634 | #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0)) | |
1635 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1636 | PyObject * _resultobj; | |
1637 | wxPseudoMetaFile * _arg0; | |
1638 | int _arg1; | |
1639 | PyObject * _argo0 = 0; | |
1640 | char *_kwnames[] = { "self","mode", NULL }; | |
1641 | ||
1642 | self = self; | |
1643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
1644 | return NULL; | |
1645 | if (_argo0) { | |
1646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p."); | |
1649 | return NULL; | |
1650 | } | |
1651 | } | |
1652 | { | |
1653 | wxPy_BEGIN_ALLOW_THREADS; | |
1654 | wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1); | |
1655 | ||
1656 | wxPy_END_ALLOW_THREADS; | |
1657 | } Py_INCREF(Py_None); | |
1658 | _resultobj = Py_None; | |
1659 | return _resultobj; | |
1660 | } | |
1661 | ||
1662 | static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) { | |
1663 | wxPyRectangleShape *src; | |
1664 | wxPyShape *dest; | |
1665 | src = (wxPyRectangleShape *) ptr; | |
1666 | dest = (wxPyShape *) src; | |
1667 | return (void *) dest; | |
1668 | } | |
1669 | ||
1670 | static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1671 | wxPyRectangleShape *src; | |
1672 | wxPyShapeEvtHandler *dest; | |
1673 | src = (wxPyRectangleShape *) ptr; | |
1674 | dest = (wxPyShapeEvtHandler *) src; | |
1675 | return (void *) dest; | |
1676 | } | |
1677 | ||
1678 | #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1)) | |
1679 | static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1680 | PyObject * _resultobj; | |
1681 | wxPyRectangleShape * _result; | |
1682 | double _arg0 = (double ) 0.0; | |
1683 | double _arg1 = (double ) 0.0; | |
1684 | char *_kwnames[] = { "width","height", NULL }; | |
1685 | char _ptemp[128]; | |
1686 | ||
1687 | self = self; | |
1688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1)) | |
1689 | return NULL; | |
1690 | { | |
1691 | wxPy_BEGIN_ALLOW_THREADS; | |
1692 | _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1); | |
1693 | ||
1694 | wxPy_END_ALLOW_THREADS; | |
1695 | } if (_result) { | |
1696 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p"); | |
1697 | _resultobj = Py_BuildValue("s",_ptemp); | |
1698 | } else { | |
1699 | Py_INCREF(Py_None); | |
1700 | _resultobj = Py_None; | |
1701 | } | |
1702 | return _resultobj; | |
1703 | } | |
1704 | ||
1705 | #define wxPyRectangleShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
1706 | static PyObject *_wrap_wxPyRectangleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1707 | PyObject * _resultobj; | |
1708 | wxPyRectangleShape * _arg0; | |
1709 | PyObject * _arg1; | |
1710 | PyObject * _argo0 = 0; | |
1711 | PyObject * _obj1 = 0; | |
1712 | char *_kwnames[] = { "self","self", NULL }; | |
1713 | ||
1714 | self = self; | |
1715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
1716 | return NULL; | |
1717 | if (_argo0) { | |
1718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setSelf. Expected _wxPyRectangleShape_p."); | |
1721 | return NULL; | |
1722 | } | |
1723 | } | |
1724 | { | |
1725 | _arg1 = _obj1; | |
1726 | } | |
1727 | { | |
1728 | wxPy_BEGIN_ALLOW_THREADS; | |
1729 | wxPyRectangleShape__setSelf(_arg0,_arg1); | |
1730 | ||
1731 | wxPy_END_ALLOW_THREADS; | |
1732 | } Py_INCREF(Py_None); | |
1733 | _resultobj = Py_None; | |
1734 | return _resultobj; | |
1735 | } | |
1736 | ||
1737 | #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) | |
1738 | static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1739 | PyObject * _resultobj; | |
1740 | wxPyRectangleShape * _arg0; | |
1741 | double _arg1; | |
1742 | PyObject * _argo0 = 0; | |
1743 | char *_kwnames[] = { "self","radius", NULL }; | |
1744 | ||
1745 | self = self; | |
1746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1)) | |
1747 | return NULL; | |
1748 | if (_argo0) { | |
1749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p."); | |
1752 | return NULL; | |
1753 | } | |
1754 | } | |
1755 | { | |
1756 | wxPy_BEGIN_ALLOW_THREADS; | |
1757 | wxPyRectangleShape_SetCornerRadius(_arg0,_arg1); | |
1758 | ||
1759 | wxPy_END_ALLOW_THREADS; | |
1760 | } Py_INCREF(Py_None); | |
1761 | _resultobj = Py_None; | |
1762 | return _resultobj; | |
1763 | } | |
1764 | ||
1765 | #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1766 | static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1767 | PyObject * _resultobj; | |
1768 | wxPyRectangleShape * _arg0; | |
1769 | PyObject * _argo0 = 0; | |
1770 | char *_kwnames[] = { "self", NULL }; | |
1771 | ||
1772 | self = self; | |
1773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0)) | |
1774 | return NULL; | |
1775 | if (_argo0) { | |
1776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p."); | |
1779 | return NULL; | |
1780 | } | |
1781 | } | |
1782 | { | |
1783 | wxPy_BEGIN_ALLOW_THREADS; | |
1784 | wxPyRectangleShape_base_OnDelete(_arg0); | |
1785 | ||
1786 | wxPy_END_ALLOW_THREADS; | |
1787 | } Py_INCREF(Py_None); | |
1788 | _resultobj = Py_None; | |
1789 | return _resultobj; | |
1790 | } | |
1791 | ||
1792 | #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1793 | static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1794 | PyObject * _resultobj; | |
1795 | wxPyRectangleShape * _arg0; | |
1796 | wxDC * _arg1; | |
1797 | PyObject * _argo0 = 0; | |
1798 | PyObject * _argo1 = 0; | |
1799 | char *_kwnames[] = { "self","dc", NULL }; | |
1800 | ||
1801 | self = self; | |
1802 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1803 | return NULL; | |
1804 | if (_argo0) { | |
1805 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1806 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p."); | |
1808 | return NULL; | |
1809 | } | |
1810 | } | |
1811 | if (_argo1) { | |
1812 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1813 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p."); | |
1815 | return NULL; | |
1816 | } | |
1817 | } | |
1818 | { | |
1819 | wxPy_BEGIN_ALLOW_THREADS; | |
1820 | wxPyRectangleShape_base_OnDraw(_arg0,*_arg1); | |
1821 | ||
1822 | wxPy_END_ALLOW_THREADS; | |
1823 | } Py_INCREF(Py_None); | |
1824 | _resultobj = Py_None; | |
1825 | return _resultobj; | |
1826 | } | |
1827 | ||
1828 | #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1829 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1830 | PyObject * _resultobj; | |
1831 | wxPyRectangleShape * _arg0; | |
1832 | wxDC * _arg1; | |
1833 | PyObject * _argo0 = 0; | |
1834 | PyObject * _argo1 = 0; | |
1835 | char *_kwnames[] = { "self","dc", NULL }; | |
1836 | ||
1837 | self = self; | |
1838 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1839 | return NULL; | |
1840 | if (_argo0) { | |
1841 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1842 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1843 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p."); | |
1844 | return NULL; | |
1845 | } | |
1846 | } | |
1847 | if (_argo1) { | |
1848 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1849 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1850 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p."); | |
1851 | return NULL; | |
1852 | } | |
1853 | } | |
1854 | { | |
1855 | wxPy_BEGIN_ALLOW_THREADS; | |
1856 | wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1); | |
1857 | ||
1858 | wxPy_END_ALLOW_THREADS; | |
1859 | } Py_INCREF(Py_None); | |
1860 | _resultobj = Py_None; | |
1861 | return _resultobj; | |
1862 | } | |
1863 | ||
1864 | #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1865 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1866 | PyObject * _resultobj; | |
1867 | wxPyRectangleShape * _arg0; | |
1868 | wxDC * _arg1; | |
1869 | bool _arg2 = (bool ) FALSE; | |
1870 | PyObject * _argo0 = 0; | |
1871 | PyObject * _argo1 = 0; | |
1872 | int tempbool2 = (int) FALSE; | |
1873 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1874 | ||
1875 | self = self; | |
1876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1877 | return NULL; | |
1878 | if (_argo0) { | |
1879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p."); | |
1882 | return NULL; | |
1883 | } | |
1884 | } | |
1885 | if (_argo1) { | |
1886 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1887 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1889 | return NULL; | |
1890 | } | |
1891 | } | |
1892 | _arg2 = (bool ) tempbool2; | |
1893 | { | |
1894 | wxPy_BEGIN_ALLOW_THREADS; | |
1895 | wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1896 | ||
1897 | wxPy_END_ALLOW_THREADS; | |
1898 | } Py_INCREF(Py_None); | |
1899 | _resultobj = Py_None; | |
1900 | return _resultobj; | |
1901 | } | |
1902 | ||
1903 | #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1904 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1905 | PyObject * _resultobj; | |
1906 | wxPyRectangleShape * _arg0; | |
1907 | wxDC * _arg1; | |
1908 | PyObject * _argo0 = 0; | |
1909 | PyObject * _argo1 = 0; | |
1910 | char *_kwnames[] = { "self","dc", NULL }; | |
1911 | ||
1912 | self = self; | |
1913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1914 | return NULL; | |
1915 | if (_argo0) { | |
1916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p."); | |
1919 | return NULL; | |
1920 | } | |
1921 | } | |
1922 | if (_argo1) { | |
1923 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1924 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
1926 | return NULL; | |
1927 | } | |
1928 | } | |
1929 | { | |
1930 | wxPy_BEGIN_ALLOW_THREADS; | |
1931 | wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1); | |
1932 | ||
1933 | wxPy_END_ALLOW_THREADS; | |
1934 | } Py_INCREF(Py_None); | |
1935 | _resultobj = Py_None; | |
1936 | return _resultobj; | |
1937 | } | |
1938 | ||
1939 | #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1940 | static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1941 | PyObject * _resultobj; | |
1942 | wxPyRectangleShape * _arg0; | |
1943 | wxDC * _arg1; | |
1944 | PyObject * _argo0 = 0; | |
1945 | PyObject * _argo1 = 0; | |
1946 | char *_kwnames[] = { "self","dc", NULL }; | |
1947 | ||
1948 | self = self; | |
1949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1950 | return NULL; | |
1951 | if (_argo0) { | |
1952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p."); | |
1955 | return NULL; | |
1956 | } | |
1957 | } | |
1958 | if (_argo1) { | |
1959 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1960 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p."); | |
1962 | return NULL; | |
1963 | } | |
1964 | } | |
1965 | { | |
1966 | wxPy_BEGIN_ALLOW_THREADS; | |
1967 | wxPyRectangleShape_base_OnErase(_arg0,*_arg1); | |
1968 | ||
1969 | wxPy_END_ALLOW_THREADS; | |
1970 | } Py_INCREF(Py_None); | |
1971 | _resultobj = Py_None; | |
1972 | return _resultobj; | |
1973 | } | |
1974 | ||
1975 | #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1976 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1977 | PyObject * _resultobj; | |
1978 | wxPyRectangleShape * _arg0; | |
1979 | wxDC * _arg1; | |
1980 | PyObject * _argo0 = 0; | |
1981 | PyObject * _argo1 = 0; | |
1982 | char *_kwnames[] = { "self","dc", NULL }; | |
1983 | ||
1984 | self = self; | |
1985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1986 | return NULL; | |
1987 | if (_argo0) { | |
1988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p."); | |
1991 | return NULL; | |
1992 | } | |
1993 | } | |
1994 | if (_argo1) { | |
1995 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1996 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p."); | |
1998 | return NULL; | |
1999 | } | |
2000 | } | |
2001 | { | |
2002 | wxPy_BEGIN_ALLOW_THREADS; | |
2003 | wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1); | |
2004 | ||
2005 | wxPy_END_ALLOW_THREADS; | |
2006 | } Py_INCREF(Py_None); | |
2007 | _resultobj = Py_None; | |
2008 | return _resultobj; | |
2009 | } | |
2010 | ||
2011 | #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
2012 | static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2013 | PyObject * _resultobj; | |
2014 | wxPyRectangleShape * _arg0; | |
2015 | wxDC * _arg1; | |
2016 | PyObject * _argo0 = 0; | |
2017 | PyObject * _argo1 = 0; | |
2018 | char *_kwnames[] = { "self","dc", NULL }; | |
2019 | ||
2020 | self = self; | |
2021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
2022 | return NULL; | |
2023 | if (_argo0) { | |
2024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p."); | |
2027 | return NULL; | |
2028 | } | |
2029 | } | |
2030 | if (_argo1) { | |
2031 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2032 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p."); | |
2034 | return NULL; | |
2035 | } | |
2036 | } | |
2037 | { | |
2038 | wxPy_BEGIN_ALLOW_THREADS; | |
2039 | wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1); | |
2040 | ||
2041 | wxPy_END_ALLOW_THREADS; | |
2042 | } Py_INCREF(Py_None); | |
2043 | _resultobj = Py_None; | |
2044 | return _resultobj; | |
2045 | } | |
2046 | ||
2047 | #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2048 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2049 | PyObject * _resultobj; | |
2050 | wxPyRectangleShape * _arg0; | |
2051 | double _arg1; | |
2052 | double _arg2; | |
2053 | int _arg3 = (int ) 0; | |
2054 | int _arg4 = (int ) 0; | |
2055 | PyObject * _argo0 = 0; | |
2056 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2057 | ||
2058 | self = self; | |
2059 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2060 | return NULL; | |
2061 | if (_argo0) { | |
2062 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2063 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2064 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p."); | |
2065 | return NULL; | |
2066 | } | |
2067 | } | |
2068 | { | |
2069 | wxPy_BEGIN_ALLOW_THREADS; | |
2070 | wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2071 | ||
2072 | wxPy_END_ALLOW_THREADS; | |
2073 | } Py_INCREF(Py_None); | |
2074 | _resultobj = Py_None; | |
2075 | return _resultobj; | |
2076 | } | |
2077 | ||
2078 | #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2079 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2080 | PyObject * _resultobj; | |
2081 | wxPyRectangleShape * _arg0; | |
2082 | double _arg1; | |
2083 | double _arg2; | |
2084 | int _arg3 = (int ) 0; | |
2085 | int _arg4 = (int ) 0; | |
2086 | PyObject * _argo0 = 0; | |
2087 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2088 | ||
2089 | self = self; | |
2090 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2091 | return NULL; | |
2092 | if (_argo0) { | |
2093 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2094 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2095 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p."); | |
2096 | return NULL; | |
2097 | } | |
2098 | } | |
2099 | { | |
2100 | wxPy_BEGIN_ALLOW_THREADS; | |
2101 | wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2102 | ||
2103 | wxPy_END_ALLOW_THREADS; | |
2104 | } Py_INCREF(Py_None); | |
2105 | _resultobj = Py_None; | |
2106 | return _resultobj; | |
2107 | } | |
2108 | ||
2109 | #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2110 | static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2111 | PyObject * _resultobj; | |
2112 | wxPyRectangleShape * _arg0; | |
2113 | double _arg1; | |
2114 | double _arg2; | |
2115 | int _arg3 = (int ) 0; | |
2116 | int _arg4 = (int ) 0; | |
2117 | PyObject * _argo0 = 0; | |
2118 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2119 | ||
2120 | self = self; | |
2121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2122 | return NULL; | |
2123 | if (_argo0) { | |
2124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p."); | |
2127 | return NULL; | |
2128 | } | |
2129 | } | |
2130 | { | |
2131 | wxPy_BEGIN_ALLOW_THREADS; | |
2132 | wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2133 | ||
2134 | wxPy_END_ALLOW_THREADS; | |
2135 | } Py_INCREF(Py_None); | |
2136 | _resultobj = Py_None; | |
2137 | return _resultobj; | |
2138 | } | |
2139 | ||
2140 | #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
2141 | static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2142 | PyObject * _resultobj; | |
2143 | wxPyRectangleShape * _arg0; | |
2144 | double _arg1; | |
2145 | double _arg2; | |
2146 | PyObject * _argo0 = 0; | |
2147 | char *_kwnames[] = { "self","x","y", NULL }; | |
2148 | ||
2149 | self = self; | |
2150 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2151 | return NULL; | |
2152 | if (_argo0) { | |
2153 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2154 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2155 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p."); | |
2156 | return NULL; | |
2157 | } | |
2158 | } | |
2159 | { | |
2160 | wxPy_BEGIN_ALLOW_THREADS; | |
2161 | wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2); | |
2162 | ||
2163 | wxPy_END_ALLOW_THREADS; | |
2164 | } Py_INCREF(Py_None); | |
2165 | _resultobj = Py_None; | |
2166 | return _resultobj; | |
2167 | } | |
2168 | ||
2169 | #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2170 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2171 | PyObject * _resultobj; | |
2172 | bool _result; | |
2173 | wxPyRectangleShape * _arg0; | |
2174 | wxDC * _arg1; | |
2175 | double _arg2; | |
2176 | double _arg3; | |
2177 | double _arg4; | |
2178 | double _arg5; | |
2179 | bool _arg6 = (bool ) TRUE; | |
2180 | PyObject * _argo0 = 0; | |
2181 | PyObject * _argo1 = 0; | |
2182 | int tempbool6 = (int) TRUE; | |
2183 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2184 | ||
2185 | self = self; | |
2186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2187 | return NULL; | |
2188 | if (_argo0) { | |
2189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p."); | |
2192 | return NULL; | |
2193 | } | |
2194 | } | |
2195 | if (_argo1) { | |
2196 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2197 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p."); | |
2199 | return NULL; | |
2200 | } | |
2201 | } | |
2202 | _arg6 = (bool ) tempbool6; | |
2203 | { | |
2204 | wxPy_BEGIN_ALLOW_THREADS; | |
2205 | _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2206 | ||
2207 | wxPy_END_ALLOW_THREADS; | |
2208 | } _resultobj = Py_BuildValue("i",_result); | |
2209 | return _resultobj; | |
2210 | } | |
2211 | ||
2212 | #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2213 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2214 | PyObject * _resultobj; | |
2215 | wxPyRectangleShape * _arg0; | |
2216 | wxDC * _arg1; | |
2217 | double _arg2; | |
2218 | double _arg3; | |
2219 | double _arg4; | |
2220 | double _arg5; | |
2221 | bool _arg6 = (bool ) TRUE; | |
2222 | PyObject * _argo0 = 0; | |
2223 | PyObject * _argo1 = 0; | |
2224 | int tempbool6 = (int) TRUE; | |
2225 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2226 | ||
2227 | self = self; | |
2228 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2229 | return NULL; | |
2230 | if (_argo0) { | |
2231 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2232 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p."); | |
2234 | return NULL; | |
2235 | } | |
2236 | } | |
2237 | if (_argo1) { | |
2238 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2239 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p."); | |
2241 | return NULL; | |
2242 | } | |
2243 | } | |
2244 | _arg6 = (bool ) tempbool6; | |
2245 | { | |
2246 | wxPy_BEGIN_ALLOW_THREADS; | |
2247 | wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2248 | ||
2249 | wxPy_END_ALLOW_THREADS; | |
2250 | } Py_INCREF(Py_None); | |
2251 | _resultobj = Py_None; | |
2252 | return _resultobj; | |
2253 | } | |
2254 | ||
2255 | #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2256 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2257 | PyObject * _resultobj; | |
2258 | wxPyRectangleShape * _arg0; | |
2259 | bool _arg1; | |
2260 | double _arg2; | |
2261 | double _arg3; | |
2262 | int _arg4 = (int ) 0; | |
2263 | int _arg5 = (int ) 0; | |
2264 | PyObject * _argo0 = 0; | |
2265 | int tempbool1; | |
2266 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2267 | ||
2268 | self = self; | |
2269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2270 | return NULL; | |
2271 | if (_argo0) { | |
2272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p."); | |
2275 | return NULL; | |
2276 | } | |
2277 | } | |
2278 | _arg1 = (bool ) tempbool1; | |
2279 | { | |
2280 | wxPy_BEGIN_ALLOW_THREADS; | |
2281 | wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2282 | ||
2283 | wxPy_END_ALLOW_THREADS; | |
2284 | } Py_INCREF(Py_None); | |
2285 | _resultobj = Py_None; | |
2286 | return _resultobj; | |
2287 | } | |
2288 | ||
2289 | #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2290 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2291 | PyObject * _resultobj; | |
2292 | wxPyRectangleShape * _arg0; | |
2293 | double _arg1; | |
2294 | double _arg2; | |
2295 | int _arg3 = (int ) 0; | |
2296 | int _arg4 = (int ) 0; | |
2297 | PyObject * _argo0 = 0; | |
2298 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2299 | ||
2300 | self = self; | |
2301 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2302 | return NULL; | |
2303 | if (_argo0) { | |
2304 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2305 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2307 | return NULL; | |
2308 | } | |
2309 | } | |
2310 | { | |
2311 | wxPy_BEGIN_ALLOW_THREADS; | |
2312 | wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2313 | ||
2314 | wxPy_END_ALLOW_THREADS; | |
2315 | } Py_INCREF(Py_None); | |
2316 | _resultobj = Py_None; | |
2317 | return _resultobj; | |
2318 | } | |
2319 | ||
2320 | #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2321 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2322 | PyObject * _resultobj; | |
2323 | wxPyRectangleShape * _arg0; | |
2324 | double _arg1; | |
2325 | double _arg2; | |
2326 | int _arg3 = (int ) 0; | |
2327 | int _arg4 = (int ) 0; | |
2328 | PyObject * _argo0 = 0; | |
2329 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2330 | ||
2331 | self = self; | |
2332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2333 | return NULL; | |
2334 | if (_argo0) { | |
2335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2338 | return NULL; | |
2339 | } | |
2340 | } | |
2341 | { | |
2342 | wxPy_BEGIN_ALLOW_THREADS; | |
2343 | wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2344 | ||
2345 | wxPy_END_ALLOW_THREADS; | |
2346 | } Py_INCREF(Py_None); | |
2347 | _resultobj = Py_None; | |
2348 | return _resultobj; | |
2349 | } | |
2350 | ||
2351 | #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2352 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2353 | PyObject * _resultobj; | |
2354 | wxPyRectangleShape * _arg0; | |
2355 | bool _arg1; | |
2356 | double _arg2; | |
2357 | double _arg3; | |
2358 | int _arg4 = (int ) 0; | |
2359 | int _arg5 = (int ) 0; | |
2360 | PyObject * _argo0 = 0; | |
2361 | int tempbool1; | |
2362 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2363 | ||
2364 | self = self; | |
2365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2366 | return NULL; | |
2367 | if (_argo0) { | |
2368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p."); | |
2371 | return NULL; | |
2372 | } | |
2373 | } | |
2374 | _arg1 = (bool ) tempbool1; | |
2375 | { | |
2376 | wxPy_BEGIN_ALLOW_THREADS; | |
2377 | wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2378 | ||
2379 | wxPy_END_ALLOW_THREADS; | |
2380 | } Py_INCREF(Py_None); | |
2381 | _resultobj = Py_None; | |
2382 | return _resultobj; | |
2383 | } | |
2384 | ||
2385 | #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2386 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2387 | PyObject * _resultobj; | |
2388 | wxPyRectangleShape * _arg0; | |
2389 | double _arg1; | |
2390 | double _arg2; | |
2391 | int _arg3 = (int ) 0; | |
2392 | int _arg4 = (int ) 0; | |
2393 | PyObject * _argo0 = 0; | |
2394 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2395 | ||
2396 | self = self; | |
2397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2398 | return NULL; | |
2399 | if (_argo0) { | |
2400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p."); | |
2403 | return NULL; | |
2404 | } | |
2405 | } | |
2406 | { | |
2407 | wxPy_BEGIN_ALLOW_THREADS; | |
2408 | wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2409 | ||
2410 | wxPy_END_ALLOW_THREADS; | |
2411 | } Py_INCREF(Py_None); | |
2412 | _resultobj = Py_None; | |
2413 | return _resultobj; | |
2414 | } | |
2415 | ||
2416 | #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2417 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2418 | PyObject * _resultobj; | |
2419 | wxPyRectangleShape * _arg0; | |
2420 | double _arg1; | |
2421 | double _arg2; | |
2422 | int _arg3 = (int ) 0; | |
2423 | int _arg4 = (int ) 0; | |
2424 | PyObject * _argo0 = 0; | |
2425 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2426 | ||
2427 | self = self; | |
2428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2429 | return NULL; | |
2430 | if (_argo0) { | |
2431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p."); | |
2434 | return NULL; | |
2435 | } | |
2436 | } | |
2437 | { | |
2438 | wxPy_BEGIN_ALLOW_THREADS; | |
2439 | wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2440 | ||
2441 | wxPy_END_ALLOW_THREADS; | |
2442 | } Py_INCREF(Py_None); | |
2443 | _resultobj = Py_None; | |
2444 | return _resultobj; | |
2445 | } | |
2446 | ||
2447 | #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2448 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2449 | PyObject * _resultobj; | |
2450 | wxPyRectangleShape * _arg0; | |
2451 | wxDC * _arg1; | |
2452 | double _arg2; | |
2453 | double _arg3; | |
2454 | double _arg4; | |
2455 | double _arg5; | |
2456 | PyObject * _argo0 = 0; | |
2457 | PyObject * _argo1 = 0; | |
2458 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2459 | ||
2460 | self = self; | |
2461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2462 | return NULL; | |
2463 | if (_argo0) { | |
2464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p."); | |
2467 | return NULL; | |
2468 | } | |
2469 | } | |
2470 | if (_argo1) { | |
2471 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2472 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
2474 | return NULL; | |
2475 | } | |
2476 | } | |
2477 | { | |
2478 | wxPy_BEGIN_ALLOW_THREADS; | |
2479 | wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2480 | ||
2481 | wxPy_END_ALLOW_THREADS; | |
2482 | } Py_INCREF(Py_None); | |
2483 | _resultobj = Py_None; | |
2484 | return _resultobj; | |
2485 | } | |
2486 | ||
2487 | #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2488 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2489 | PyObject * _resultobj; | |
2490 | wxPyRectangleShape * _arg0; | |
2491 | wxDC * _arg1; | |
2492 | PyObject * _argo0 = 0; | |
2493 | PyObject * _argo1 = 0; | |
2494 | char *_kwnames[] = { "self","dc", NULL }; | |
2495 | ||
2496 | self = self; | |
2497 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2498 | return NULL; | |
2499 | if (_argo0) { | |
2500 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2501 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2502 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p."); | |
2503 | return NULL; | |
2504 | } | |
2505 | } | |
2506 | if (_argo1) { | |
2507 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2508 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2510 | return NULL; | |
2511 | } | |
2512 | } | |
2513 | { | |
2514 | wxPy_BEGIN_ALLOW_THREADS; | |
2515 | wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
2516 | ||
2517 | wxPy_END_ALLOW_THREADS; | |
2518 | } Py_INCREF(Py_None); | |
2519 | _resultobj = Py_None; | |
2520 | return _resultobj; | |
2521 | } | |
2522 | ||
2523 | #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2524 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2525 | PyObject * _resultobj; | |
2526 | wxPyRectangleShape * _arg0; | |
2527 | wxDC * _arg1; | |
2528 | PyObject * _argo0 = 0; | |
2529 | PyObject * _argo1 = 0; | |
2530 | char *_kwnames[] = { "self","dc", NULL }; | |
2531 | ||
2532 | self = self; | |
2533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2534 | return NULL; | |
2535 | if (_argo0) { | |
2536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p."); | |
2539 | return NULL; | |
2540 | } | |
2541 | } | |
2542 | if (_argo1) { | |
2543 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2544 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2545 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2546 | return NULL; | |
2547 | } | |
2548 | } | |
2549 | { | |
2550 | wxPy_BEGIN_ALLOW_THREADS; | |
2551 | wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
2552 | ||
2553 | wxPy_END_ALLOW_THREADS; | |
2554 | } Py_INCREF(Py_None); | |
2555 | _resultobj = Py_None; | |
2556 | return _resultobj; | |
2557 | } | |
2558 | ||
2559 | #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2560 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2561 | PyObject * _resultobj; | |
2562 | wxPyRectangleShape * _arg0; | |
2563 | wxDC * _arg1; | |
2564 | bool _arg2 = (bool ) TRUE; | |
2565 | PyObject * _argo0 = 0; | |
2566 | PyObject * _argo1 = 0; | |
2567 | int tempbool2 = (int) TRUE; | |
2568 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2569 | ||
2570 | self = self; | |
2571 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2572 | return NULL; | |
2573 | if (_argo0) { | |
2574 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2575 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2576 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p."); | |
2577 | return NULL; | |
2578 | } | |
2579 | } | |
2580 | if (_argo1) { | |
2581 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2582 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2583 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2584 | return NULL; | |
2585 | } | |
2586 | } | |
2587 | _arg2 = (bool ) tempbool2; | |
2588 | { | |
2589 | wxPy_BEGIN_ALLOW_THREADS; | |
2590 | wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2591 | ||
2592 | wxPy_END_ALLOW_THREADS; | |
2593 | } Py_INCREF(Py_None); | |
2594 | _resultobj = Py_None; | |
2595 | return _resultobj; | |
2596 | } | |
2597 | ||
2598 | #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2599 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2600 | PyObject * _resultobj; | |
2601 | wxPyRectangleShape * _arg0; | |
2348eaee | 2602 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2603 | bool _arg2; |
2604 | double _arg3; | |
2605 | double _arg4; | |
2606 | int _arg5 = (int ) 0; | |
2607 | int _arg6 = (int ) 0; | |
2608 | PyObject * _argo0 = 0; | |
2609 | PyObject * _argo1 = 0; | |
2610 | int tempbool2; | |
2611 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2612 | ||
2613 | self = self; | |
2614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2615 | return NULL; | |
2616 | if (_argo0) { | |
2617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p."); | |
2620 | return NULL; | |
2621 | } | |
2622 | } | |
2623 | if (_argo1) { | |
2624 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2625 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2627 | return NULL; |
2628 | } | |
2629 | } | |
2630 | _arg2 = (bool ) tempbool2; | |
2631 | { | |
2632 | wxPy_BEGIN_ALLOW_THREADS; | |
2633 | wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2634 | ||
2635 | wxPy_END_ALLOW_THREADS; | |
2636 | } Py_INCREF(Py_None); | |
2637 | _resultobj = Py_None; | |
2638 | return _resultobj; | |
2639 | } | |
2640 | ||
2641 | #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2642 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2643 | PyObject * _resultobj; | |
2644 | wxPyRectangleShape * _arg0; | |
2348eaee | 2645 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2646 | double _arg2; |
2647 | double _arg3; | |
2648 | int _arg4 = (int ) 0; | |
2649 | int _arg5 = (int ) 0; | |
2650 | PyObject * _argo0 = 0; | |
2651 | PyObject * _argo1 = 0; | |
2652 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2653 | ||
2654 | self = self; | |
2655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2656 | return NULL; | |
2657 | if (_argo0) { | |
2658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2661 | return NULL; | |
2662 | } | |
2663 | } | |
2664 | if (_argo1) { | |
2665 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2666 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2667 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2668 | return NULL; |
2669 | } | |
2670 | } | |
2671 | { | |
2672 | wxPy_BEGIN_ALLOW_THREADS; | |
2673 | wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2674 | ||
2675 | wxPy_END_ALLOW_THREADS; | |
2676 | } Py_INCREF(Py_None); | |
2677 | _resultobj = Py_None; | |
2678 | return _resultobj; | |
2679 | } | |
2680 | ||
2681 | #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2682 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2683 | PyObject * _resultobj; | |
2684 | wxPyRectangleShape * _arg0; | |
2348eaee | 2685 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2686 | double _arg2; |
2687 | double _arg3; | |
2688 | int _arg4 = (int ) 0; | |
2689 | int _arg5 = (int ) 0; | |
2690 | PyObject * _argo0 = 0; | |
2691 | PyObject * _argo1 = 0; | |
2692 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2693 | ||
2694 | self = self; | |
2695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2696 | return NULL; | |
2697 | if (_argo0) { | |
2698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2701 | return NULL; | |
2702 | } | |
2703 | } | |
2704 | if (_argo1) { | |
2705 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2706 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2708 | return NULL; |
2709 | } | |
2710 | } | |
2711 | { | |
2712 | wxPy_BEGIN_ALLOW_THREADS; | |
2713 | wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2714 | ||
2715 | wxPy_END_ALLOW_THREADS; | |
2716 | } Py_INCREF(Py_None); | |
2717 | _resultobj = Py_None; | |
2718 | return _resultobj; | |
2719 | } | |
2720 | ||
2721 | #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2722 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2723 | PyObject * _resultobj; | |
2724 | wxPyRectangleShape * _arg0; | |
2725 | double _arg1; | |
2726 | double _arg2; | |
2727 | PyObject * _argo0 = 0; | |
2728 | char *_kwnames[] = { "self","w","h", NULL }; | |
2729 | ||
2730 | self = self; | |
2731 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2732 | return NULL; | |
2733 | if (_argo0) { | |
2734 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2735 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p."); | |
2737 | return NULL; | |
2738 | } | |
2739 | } | |
2740 | { | |
2741 | wxPy_BEGIN_ALLOW_THREADS; | |
2742 | wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2743 | ||
2744 | wxPy_END_ALLOW_THREADS; | |
2745 | } Py_INCREF(Py_None); | |
2746 | _resultobj = Py_None; | |
2747 | return _resultobj; | |
2748 | } | |
2749 | ||
2750 | #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2751 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2752 | PyObject * _resultobj; | |
2753 | wxPyRectangleShape * _arg0; | |
2754 | double _arg1; | |
2755 | double _arg2; | |
2756 | PyObject * _argo0 = 0; | |
2757 | char *_kwnames[] = { "self","w","h", NULL }; | |
2758 | ||
2759 | self = self; | |
2760 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2761 | return NULL; | |
2762 | if (_argo0) { | |
2763 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2764 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2765 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p."); | |
2766 | return NULL; | |
2767 | } | |
2768 | } | |
2769 | { | |
2770 | wxPy_BEGIN_ALLOW_THREADS; | |
2771 | wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
2772 | ||
2773 | wxPy_END_ALLOW_THREADS; | |
2774 | } Py_INCREF(Py_None); | |
2775 | _resultobj = Py_None; | |
2776 | return _resultobj; | |
2777 | } | |
2778 | ||
2348eaee RD |
2779 | static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) { |
2780 | wxPyControlPoint *src; | |
e91a9dfc | 2781 | wxPyRectangleShape *dest; |
2348eaee | 2782 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2783 | dest = (wxPyRectangleShape *) src; |
2784 | return (void *) dest; | |
2785 | } | |
2786 | ||
2348eaee RD |
2787 | static void *SwigwxPyControlPointTowxPyShape(void *ptr) { |
2788 | wxPyControlPoint *src; | |
e91a9dfc | 2789 | wxPyShape *dest; |
2348eaee | 2790 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2791 | dest = (wxPyShape *) src; |
2792 | return (void *) dest; | |
2793 | } | |
2794 | ||
2348eaee RD |
2795 | static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) { |
2796 | wxPyControlPoint *src; | |
e91a9dfc | 2797 | wxPyShapeEvtHandler *dest; |
2348eaee | 2798 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2799 | dest = (wxPyShapeEvtHandler *) src; |
2800 | return (void *) dest; | |
2801 | } | |
2802 | ||
2348eaee RD |
2803 | #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
2804 | static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2805 | PyObject * _resultobj; |
2348eaee RD |
2806 | wxPyControlPoint * _result; |
2807 | wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL; | |
2808 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
2809 | double _arg2 = (double ) 0.0; | |
2810 | double _arg3 = (double ) 0.0; | |
2811 | double _arg4 = (double ) 0.0; | |
2812 | int _arg5 = (int ) 0; | |
2813 | PyObject * _argo0 = 0; | |
2814 | PyObject * _argo1 = 0; | |
2815 | char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL }; | |
e91a9dfc RD |
2816 | char _ptemp[128]; |
2817 | ||
2818 | self = self; | |
2348eaee RD |
2819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) |
2820 | return NULL; | |
2821 | if (_argo0) { | |
2822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
2824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p."); | |
2825 | return NULL; | |
2826 | } | |
2827 | } | |
2828 | if (_argo1) { | |
2829 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2830 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
2831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p."); | |
e91a9dfc | 2832 | return NULL; |
2348eaee RD |
2833 | } |
2834 | } | |
e91a9dfc RD |
2835 | { |
2836 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2837 | _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc RD |
2838 | |
2839 | wxPy_END_ALLOW_THREADS; | |
2840 | } if (_result) { | |
2348eaee | 2841 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p"); |
e91a9dfc RD |
2842 | _resultobj = Py_BuildValue("s",_ptemp); |
2843 | } else { | |
2844 | Py_INCREF(Py_None); | |
2845 | _resultobj = Py_None; | |
2846 | } | |
2847 | return _resultobj; | |
2848 | } | |
2849 | ||
2348eaee RD |
2850 | #define wxPyControlPoint__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) |
2851 | static PyObject *_wrap_wxPyControlPoint__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2852 | PyObject * _resultobj; |
2348eaee | 2853 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
2854 | PyObject * _arg1; |
2855 | PyObject * _argo0 = 0; | |
2856 | PyObject * _obj1 = 0; | |
2857 | char *_kwnames[] = { "self","self", NULL }; | |
2858 | ||
2859 | self = self; | |
2348eaee | 2860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint__setSelf",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
2861 | return NULL; |
2862 | if (_argo0) { | |
2863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setSelf. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2866 | return NULL; |
2867 | } | |
2868 | } | |
2869 | { | |
2870 | _arg1 = _obj1; | |
2871 | } | |
2872 | { | |
2873 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2874 | wxPyControlPoint__setSelf(_arg0,_arg1); |
e91a9dfc RD |
2875 | |
2876 | wxPy_END_ALLOW_THREADS; | |
2877 | } Py_INCREF(Py_None); | |
2878 | _resultobj = Py_None; | |
2879 | return _resultobj; | |
2880 | } | |
2881 | ||
2348eaee RD |
2882 | #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) |
2883 | static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2884 | PyObject * _resultobj; |
2348eaee RD |
2885 | wxPyControlPoint * _arg0; |
2886 | double _arg1; | |
e91a9dfc | 2887 | PyObject * _argo0 = 0; |
2348eaee | 2888 | char *_kwnames[] = { "self","radius", NULL }; |
e91a9dfc RD |
2889 | |
2890 | self = self; | |
2348eaee | 2891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1)) |
e91a9dfc RD |
2892 | return NULL; |
2893 | if (_argo0) { | |
2894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2897 | return NULL; |
2898 | } | |
2899 | } | |
2900 | { | |
2901 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2902 | wxPyControlPoint_SetCornerRadius(_arg0,_arg1); |
e91a9dfc RD |
2903 | |
2904 | wxPy_END_ALLOW_THREADS; | |
2348eaee RD |
2905 | } Py_INCREF(Py_None); |
2906 | _resultobj = Py_None; | |
e91a9dfc RD |
2907 | return _resultobj; |
2908 | } | |
2909 | ||
2348eaee RD |
2910 | #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) |
2911 | static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2912 | PyObject * _resultobj; |
2348eaee | 2913 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
2914 | PyObject * _argo0 = 0; |
2915 | char *_kwnames[] = { "self", NULL }; | |
2916 | ||
2917 | self = self; | |
2348eaee | 2918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0)) |
e91a9dfc RD |
2919 | return NULL; |
2920 | if (_argo0) { | |
2921 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2922 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2924 | return NULL; |
2925 | } | |
2926 | } | |
2927 | { | |
2928 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2929 | wxPyControlPoint_base_OnDelete(_arg0); |
e91a9dfc RD |
2930 | |
2931 | wxPy_END_ALLOW_THREADS; | |
2348eaee RD |
2932 | } Py_INCREF(Py_None); |
2933 | _resultobj = Py_None; | |
e91a9dfc RD |
2934 | return _resultobj; |
2935 | } | |
2936 | ||
2348eaee RD |
2937 | #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) |
2938 | static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2939 | PyObject * _resultobj; |
2348eaee RD |
2940 | wxPyControlPoint * _arg0; |
2941 | wxDC * _arg1; | |
e91a9dfc RD |
2942 | PyObject * _argo0 = 0; |
2943 | PyObject * _argo1 = 0; | |
2348eaee | 2944 | char *_kwnames[] = { "self","dc", NULL }; |
e91a9dfc RD |
2945 | |
2946 | self = self; | |
2348eaee | 2947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
2948 | return NULL; |
2949 | if (_argo0) { | |
2950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2953 | return NULL; |
2954 | } | |
2955 | } | |
2956 | if (_argo1) { | |
2957 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2958 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
2959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p."); | |
e91a9dfc RD |
2960 | return NULL; |
2961 | } | |
2962 | } | |
2963 | { | |
2964 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2965 | wxPyControlPoint_base_OnDraw(_arg0,*_arg1); |
e91a9dfc RD |
2966 | |
2967 | wxPy_END_ALLOW_THREADS; | |
2968 | } Py_INCREF(Py_None); | |
2969 | _resultobj = Py_None; | |
2970 | return _resultobj; | |
2971 | } | |
2972 | ||
2348eaee RD |
2973 | #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) |
2974 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2975 | PyObject * _resultobj; |
2348eaee RD |
2976 | wxPyControlPoint * _arg0; |
2977 | wxDC * _arg1; | |
e91a9dfc | 2978 | PyObject * _argo0 = 0; |
2348eaee RD |
2979 | PyObject * _argo1 = 0; |
2980 | char *_kwnames[] = { "self","dc", NULL }; | |
e91a9dfc RD |
2981 | |
2982 | self = self; | |
2348eaee | 2983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
2984 | return NULL; |
2985 | if (_argo0) { | |
2986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2989 | return NULL; |
2990 | } | |
2991 | } | |
2348eaee RD |
2992 | if (_argo1) { |
2993 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2994 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p."); | |
e91a9dfc | 2996 | return NULL; |
2348eaee | 2997 | } |
e91a9dfc | 2998 | } |
e91a9dfc RD |
2999 | { |
3000 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3001 | wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc RD |
3002 | |
3003 | wxPy_END_ALLOW_THREADS; | |
3004 | } Py_INCREF(Py_None); | |
3005 | _resultobj = Py_None; | |
e91a9dfc RD |
3006 | return _resultobj; |
3007 | } | |
3008 | ||
2348eaee RD |
3009 | #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) |
3010 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3011 | PyObject * _resultobj; |
2348eaee RD |
3012 | wxPyControlPoint * _arg0; |
3013 | wxDC * _arg1; | |
3014 | bool _arg2 = (bool ) FALSE; | |
e91a9dfc | 3015 | PyObject * _argo0 = 0; |
2348eaee RD |
3016 | PyObject * _argo1 = 0; |
3017 | int tempbool2 = (int) FALSE; | |
3018 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
3019 | |
3020 | self = self; | |
2348eaee | 3021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) |
e91a9dfc RD |
3022 | return NULL; |
3023 | if (_argo0) { | |
3024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p."); | |
3027 | return NULL; | |
3028 | } | |
3029 | } | |
3030 | if (_argo1) { | |
3031 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3032 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p."); | |
e91a9dfc RD |
3034 | return NULL; |
3035 | } | |
3036 | } | |
2348eaee | 3037 | _arg2 = (bool ) tempbool2; |
e91a9dfc RD |
3038 | { |
3039 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3040 | wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc RD |
3041 | |
3042 | wxPy_END_ALLOW_THREADS; | |
3043 | } Py_INCREF(Py_None); | |
3044 | _resultobj = Py_None; | |
3045 | return _resultobj; | |
3046 | } | |
3047 | ||
2348eaee RD |
3048 | #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) |
3049 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3050 | PyObject * _resultobj; |
2348eaee | 3051 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3052 | wxDC * _arg1; |
3053 | PyObject * _argo0 = 0; | |
3054 | PyObject * _argo1 = 0; | |
3055 | char *_kwnames[] = { "self","dc", NULL }; | |
3056 | ||
3057 | self = self; | |
2348eaee | 3058 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3059 | return NULL; |
3060 | if (_argo0) { | |
3061 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3062 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3064 | return NULL; |
3065 | } | |
3066 | } | |
3067 | if (_argo1) { | |
3068 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3069 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3070 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p."); |
e91a9dfc RD |
3071 | return NULL; |
3072 | } | |
3073 | } | |
3074 | { | |
3075 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3076 | wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc RD |
3077 | |
3078 | wxPy_END_ALLOW_THREADS; | |
3079 | } Py_INCREF(Py_None); | |
3080 | _resultobj = Py_None; | |
3081 | return _resultobj; | |
3082 | } | |
3083 | ||
2348eaee RD |
3084 | #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) |
3085 | static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3086 | PyObject * _resultobj; |
2348eaee | 3087 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3088 | wxDC * _arg1; |
3089 | PyObject * _argo0 = 0; | |
3090 | PyObject * _argo1 = 0; | |
3091 | char *_kwnames[] = { "self","dc", NULL }; | |
3092 | ||
3093 | self = self; | |
2348eaee | 3094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3095 | return NULL; |
3096 | if (_argo0) { | |
3097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3100 | return NULL; |
3101 | } | |
3102 | } | |
3103 | if (_argo1) { | |
3104 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3105 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3106 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p."); |
e91a9dfc RD |
3107 | return NULL; |
3108 | } | |
3109 | } | |
3110 | { | |
3111 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3112 | wxPyControlPoint_base_OnErase(_arg0,*_arg1); |
e91a9dfc RD |
3113 | |
3114 | wxPy_END_ALLOW_THREADS; | |
3115 | } Py_INCREF(Py_None); | |
3116 | _resultobj = Py_None; | |
3117 | return _resultobj; | |
3118 | } | |
3119 | ||
2348eaee RD |
3120 | #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) |
3121 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3122 | PyObject * _resultobj; |
2348eaee | 3123 | wxPyControlPoint * _arg0; |
e91a9dfc | 3124 | wxDC * _arg1; |
e91a9dfc RD |
3125 | PyObject * _argo0 = 0; |
3126 | PyObject * _argo1 = 0; | |
2348eaee RD |
3127 | char *_kwnames[] = { "self","dc", NULL }; |
3128 | ||
3129 | self = self; | |
3130 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
3131 | return NULL; | |
3132 | if (_argo0) { | |
3133 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3134 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3135 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p."); | |
3136 | return NULL; | |
3137 | } | |
3138 | } | |
3139 | if (_argo1) { | |
3140 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3141 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3142 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p."); | |
3143 | return NULL; | |
3144 | } | |
3145 | } | |
3146 | { | |
3147 | wxPy_BEGIN_ALLOW_THREADS; | |
3148 | wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1); | |
3149 | ||
3150 | wxPy_END_ALLOW_THREADS; | |
3151 | } Py_INCREF(Py_None); | |
3152 | _resultobj = Py_None; | |
3153 | return _resultobj; | |
3154 | } | |
3155 | ||
3156 | #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
3157 | static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3158 | PyObject * _resultobj; | |
3159 | wxPyControlPoint * _arg0; | |
3160 | wxDC * _arg1; | |
3161 | PyObject * _argo0 = 0; | |
3162 | PyObject * _argo1 = 0; | |
3163 | char *_kwnames[] = { "self","dc", NULL }; | |
3164 | ||
3165 | self = self; | |
3166 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
3167 | return NULL; | |
3168 | if (_argo0) { | |
3169 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3170 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3171 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p."); | |
3172 | return NULL; | |
3173 | } | |
3174 | } | |
3175 | if (_argo1) { | |
3176 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3177 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3178 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p."); | |
3179 | return NULL; | |
3180 | } | |
3181 | } | |
3182 | { | |
3183 | wxPy_BEGIN_ALLOW_THREADS; | |
3184 | wxPyControlPoint_base_OnHighlight(_arg0,*_arg1); | |
3185 | ||
3186 | wxPy_END_ALLOW_THREADS; | |
3187 | } Py_INCREF(Py_None); | |
3188 | _resultobj = Py_None; | |
3189 | return _resultobj; | |
3190 | } | |
3191 | ||
3192 | #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3193 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3194 | PyObject * _resultobj; | |
3195 | wxPyControlPoint * _arg0; | |
3196 | double _arg1; | |
3197 | double _arg2; | |
3198 | int _arg3 = (int ) 0; | |
3199 | int _arg4 = (int ) 0; | |
3200 | PyObject * _argo0 = 0; | |
3201 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3202 | ||
3203 | self = self; | |
3204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3205 | return NULL; | |
3206 | if (_argo0) { | |
3207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p."); | |
3210 | return NULL; | |
3211 | } | |
3212 | } | |
3213 | { | |
3214 | wxPy_BEGIN_ALLOW_THREADS; | |
3215 | wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3216 | ||
3217 | wxPy_END_ALLOW_THREADS; | |
3218 | } Py_INCREF(Py_None); | |
3219 | _resultobj = Py_None; | |
3220 | return _resultobj; | |
3221 | } | |
3222 | ||
3223 | #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3224 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3225 | PyObject * _resultobj; | |
3226 | wxPyControlPoint * _arg0; | |
3227 | double _arg1; | |
3228 | double _arg2; | |
3229 | int _arg3 = (int ) 0; | |
3230 | int _arg4 = (int ) 0; | |
3231 | PyObject * _argo0 = 0; | |
3232 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3233 | ||
3234 | self = self; | |
3235 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3236 | return NULL; | |
3237 | if (_argo0) { | |
3238 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3239 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3240 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p."); | |
3241 | return NULL; | |
3242 | } | |
3243 | } | |
3244 | { | |
3245 | wxPy_BEGIN_ALLOW_THREADS; | |
3246 | wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3247 | ||
3248 | wxPy_END_ALLOW_THREADS; | |
3249 | } Py_INCREF(Py_None); | |
3250 | _resultobj = Py_None; | |
3251 | return _resultobj; | |
3252 | } | |
3253 | ||
3254 | #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3255 | static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3256 | PyObject * _resultobj; | |
3257 | wxPyControlPoint * _arg0; | |
3258 | double _arg1; | |
3259 | double _arg2; | |
3260 | int _arg3 = (int ) 0; | |
3261 | int _arg4 = (int ) 0; | |
3262 | PyObject * _argo0 = 0; | |
3263 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3264 | ||
3265 | self = self; | |
3266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3267 | return NULL; | |
3268 | if (_argo0) { | |
3269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p."); | |
3272 | return NULL; | |
3273 | } | |
3274 | } | |
3275 | { | |
3276 | wxPy_BEGIN_ALLOW_THREADS; | |
3277 | wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3278 | ||
3279 | wxPy_END_ALLOW_THREADS; | |
3280 | } Py_INCREF(Py_None); | |
3281 | _resultobj = Py_None; | |
3282 | return _resultobj; | |
3283 | } | |
3284 | ||
3285 | #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
3286 | static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3287 | PyObject * _resultobj; | |
3288 | wxPyControlPoint * _arg0; | |
3289 | double _arg1; | |
3290 | double _arg2; | |
3291 | PyObject * _argo0 = 0; | |
3292 | char *_kwnames[] = { "self","x","y", NULL }; | |
3293 | ||
3294 | self = self; | |
3295 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3296 | return NULL; | |
3297 | if (_argo0) { | |
3298 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3299 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3300 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p."); | |
3301 | return NULL; | |
3302 | } | |
3303 | } | |
3304 | { | |
3305 | wxPy_BEGIN_ALLOW_THREADS; | |
3306 | wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2); | |
3307 | ||
3308 | wxPy_END_ALLOW_THREADS; | |
3309 | } Py_INCREF(Py_None); | |
3310 | _resultobj = Py_None; | |
3311 | return _resultobj; | |
3312 | } | |
3313 | ||
3314 | #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3315 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3316 | PyObject * _resultobj; | |
3317 | bool _result; | |
3318 | wxPyControlPoint * _arg0; | |
3319 | wxDC * _arg1; | |
3320 | double _arg2; | |
3321 | double _arg3; | |
3322 | double _arg4; | |
3323 | double _arg5; | |
3324 | bool _arg6 = (bool ) TRUE; | |
3325 | PyObject * _argo0 = 0; | |
3326 | PyObject * _argo1 = 0; | |
3327 | int tempbool6 = (int) TRUE; | |
3328 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3329 | ||
3330 | self = self; | |
3331 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3332 | return NULL; | |
3333 | if (_argo0) { | |
3334 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3335 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3336 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p."); | |
3337 | return NULL; | |
3338 | } | |
3339 | } | |
3340 | if (_argo1) { | |
3341 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3342 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3343 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p."); | |
3344 | return NULL; | |
3345 | } | |
3346 | } | |
3347 | _arg6 = (bool ) tempbool6; | |
3348 | { | |
3349 | wxPy_BEGIN_ALLOW_THREADS; | |
3350 | _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3351 | ||
3352 | wxPy_END_ALLOW_THREADS; | |
3353 | } _resultobj = Py_BuildValue("i",_result); | |
3354 | return _resultobj; | |
3355 | } | |
3356 | ||
3357 | #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3358 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3359 | PyObject * _resultobj; | |
3360 | wxPyControlPoint * _arg0; | |
3361 | wxDC * _arg1; | |
3362 | double _arg2; | |
3363 | double _arg3; | |
3364 | double _arg4; | |
3365 | double _arg5; | |
3366 | bool _arg6 = (bool ) TRUE; | |
3367 | PyObject * _argo0 = 0; | |
3368 | PyObject * _argo1 = 0; | |
3369 | int tempbool6 = (int) TRUE; | |
3370 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3371 | ||
3372 | self = self; | |
3373 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3374 | return NULL; | |
3375 | if (_argo0) { | |
3376 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3377 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p."); | |
3379 | return NULL; | |
3380 | } | |
3381 | } | |
3382 | if (_argo1) { | |
3383 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3384 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3385 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p."); | |
3386 | return NULL; | |
3387 | } | |
3388 | } | |
3389 | _arg6 = (bool ) tempbool6; | |
3390 | { | |
3391 | wxPy_BEGIN_ALLOW_THREADS; | |
3392 | wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3393 | ||
3394 | wxPy_END_ALLOW_THREADS; | |
3395 | } Py_INCREF(Py_None); | |
3396 | _resultobj = Py_None; | |
3397 | return _resultobj; | |
3398 | } | |
3399 | ||
3400 | #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3401 | static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3402 | PyObject * _resultobj; | |
3403 | wxPyControlPoint * _arg0; | |
3404 | bool _arg1; | |
3405 | double _arg2; | |
3406 | double _arg3; | |
3407 | int _arg4 = (int ) 0; | |
3408 | int _arg5 = (int ) 0; | |
3409 | PyObject * _argo0 = 0; | |
3410 | int tempbool1; | |
3411 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3412 | ||
3413 | self = self; | |
3414 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3415 | return NULL; | |
3416 | if (_argo0) { | |
3417 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3418 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p."); | |
3420 | return NULL; | |
3421 | } | |
3422 | } | |
3423 | _arg1 = (bool ) tempbool1; | |
3424 | { | |
3425 | wxPy_BEGIN_ALLOW_THREADS; | |
3426 | wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3427 | ||
3428 | wxPy_END_ALLOW_THREADS; | |
3429 | } Py_INCREF(Py_None); | |
3430 | _resultobj = Py_None; | |
3431 | return _resultobj; | |
3432 | } | |
3433 | ||
3434 | #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3435 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3436 | PyObject * _resultobj; | |
3437 | wxPyControlPoint * _arg0; | |
3438 | double _arg1; | |
3439 | double _arg2; | |
3440 | int _arg3 = (int ) 0; | |
3441 | int _arg4 = (int ) 0; | |
3442 | PyObject * _argo0 = 0; | |
3443 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3444 | ||
3445 | self = self; | |
3446 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3447 | return NULL; | |
3448 | if (_argo0) { | |
3449 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3450 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3452 | return NULL; | |
3453 | } | |
3454 | } | |
3455 | { | |
3456 | wxPy_BEGIN_ALLOW_THREADS; | |
3457 | wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3458 | ||
3459 | wxPy_END_ALLOW_THREADS; | |
3460 | } Py_INCREF(Py_None); | |
3461 | _resultobj = Py_None; | |
3462 | return _resultobj; | |
3463 | } | |
3464 | ||
3465 | #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3466 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3467 | PyObject * _resultobj; | |
3468 | wxPyControlPoint * _arg0; | |
3469 | double _arg1; | |
3470 | double _arg2; | |
3471 | int _arg3 = (int ) 0; | |
3472 | int _arg4 = (int ) 0; | |
3473 | PyObject * _argo0 = 0; | |
3474 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3475 | ||
3476 | self = self; | |
3477 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3478 | return NULL; | |
3479 | if (_argo0) { | |
3480 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3481 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3482 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p."); | |
3483 | return NULL; | |
3484 | } | |
3485 | } | |
3486 | { | |
3487 | wxPy_BEGIN_ALLOW_THREADS; | |
3488 | wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3489 | ||
3490 | wxPy_END_ALLOW_THREADS; | |
3491 | } Py_INCREF(Py_None); | |
3492 | _resultobj = Py_None; | |
3493 | return _resultobj; | |
3494 | } | |
3495 | ||
3496 | #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3497 | static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3498 | PyObject * _resultobj; | |
3499 | wxPyControlPoint * _arg0; | |
3500 | bool _arg1; | |
3501 | double _arg2; | |
3502 | double _arg3; | |
3503 | int _arg4 = (int ) 0; | |
3504 | int _arg5 = (int ) 0; | |
3505 | PyObject * _argo0 = 0; | |
3506 | int tempbool1; | |
3507 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3508 | ||
3509 | self = self; | |
3510 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3511 | return NULL; | |
3512 | if (_argo0) { | |
3513 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3514 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3515 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p."); | |
3516 | return NULL; | |
3517 | } | |
3518 | } | |
3519 | _arg1 = (bool ) tempbool1; | |
3520 | { | |
3521 | wxPy_BEGIN_ALLOW_THREADS; | |
3522 | wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3523 | ||
3524 | wxPy_END_ALLOW_THREADS; | |
3525 | } Py_INCREF(Py_None); | |
3526 | _resultobj = Py_None; | |
3527 | return _resultobj; | |
3528 | } | |
3529 | ||
3530 | #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3531 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3532 | PyObject * _resultobj; | |
3533 | wxPyControlPoint * _arg0; | |
3534 | double _arg1; | |
3535 | double _arg2; | |
3536 | int _arg3 = (int ) 0; | |
3537 | int _arg4 = (int ) 0; | |
3538 | PyObject * _argo0 = 0; | |
3539 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3540 | ||
3541 | self = self; | |
3542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3543 | return NULL; | |
3544 | if (_argo0) { | |
3545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p."); | |
3548 | return NULL; | |
3549 | } | |
3550 | } | |
3551 | { | |
3552 | wxPy_BEGIN_ALLOW_THREADS; | |
3553 | wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3554 | ||
3555 | wxPy_END_ALLOW_THREADS; | |
3556 | } Py_INCREF(Py_None); | |
3557 | _resultobj = Py_None; | |
3558 | return _resultobj; | |
3559 | } | |
3560 | ||
3561 | #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3562 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3563 | PyObject * _resultobj; | |
3564 | wxPyControlPoint * _arg0; | |
3565 | double _arg1; | |
3566 | double _arg2; | |
3567 | int _arg3 = (int ) 0; | |
3568 | int _arg4 = (int ) 0; | |
3569 | PyObject * _argo0 = 0; | |
3570 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3571 | ||
3572 | self = self; | |
3573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3574 | return NULL; | |
3575 | if (_argo0) { | |
3576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p."); | |
3579 | return NULL; | |
3580 | } | |
3581 | } | |
3582 | { | |
3583 | wxPy_BEGIN_ALLOW_THREADS; | |
3584 | wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3585 | ||
3586 | wxPy_END_ALLOW_THREADS; | |
3587 | } Py_INCREF(Py_None); | |
3588 | _resultobj = Py_None; | |
3589 | return _resultobj; | |
3590 | } | |
3591 | ||
3592 | #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3593 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3594 | PyObject * _resultobj; | |
3595 | wxPyControlPoint * _arg0; | |
3596 | wxDC * _arg1; | |
3597 | double _arg2; | |
3598 | double _arg3; | |
3599 | double _arg4; | |
3600 | double _arg5; | |
3601 | PyObject * _argo0 = 0; | |
3602 | PyObject * _argo1 = 0; | |
3603 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
3604 | ||
3605 | self = self; | |
3606 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3607 | return NULL; | |
3608 | if (_argo0) { | |
3609 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3610 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3611 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p."); | |
3612 | return NULL; | |
3613 | } | |
3614 | } | |
3615 | if (_argo1) { | |
3616 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3617 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p."); | |
3619 | return NULL; | |
3620 | } | |
3621 | } | |
3622 | { | |
3623 | wxPy_BEGIN_ALLOW_THREADS; | |
3624 | wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
3625 | ||
3626 | wxPy_END_ALLOW_THREADS; | |
3627 | } Py_INCREF(Py_None); | |
3628 | _resultobj = Py_None; | |
3629 | return _resultobj; | |
3630 | } | |
3631 | ||
3632 | #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
3633 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3634 | PyObject * _resultobj; | |
3635 | wxPyControlPoint * _arg0; | |
3636 | wxDC * _arg1; | |
3637 | PyObject * _argo0 = 0; | |
3638 | PyObject * _argo1 = 0; | |
3639 | char *_kwnames[] = { "self","dc", NULL }; | |
3640 | ||
3641 | self = self; | |
3642 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
3643 | return NULL; | |
3644 | if (_argo0) { | |
3645 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3646 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3647 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p."); | |
3648 | return NULL; | |
3649 | } | |
3650 | } | |
3651 | if (_argo1) { | |
3652 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3653 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3654 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p."); | |
3655 | return NULL; | |
3656 | } | |
3657 | } | |
3658 | { | |
3659 | wxPy_BEGIN_ALLOW_THREADS; | |
3660 | wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1); | |
3661 | ||
3662 | wxPy_END_ALLOW_THREADS; | |
3663 | } Py_INCREF(Py_None); | |
3664 | _resultobj = Py_None; | |
3665 | return _resultobj; | |
3666 | } | |
3667 | ||
3668 | #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
3669 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3670 | PyObject * _resultobj; | |
3671 | wxPyControlPoint * _arg0; | |
3672 | wxDC * _arg1; | |
3673 | PyObject * _argo0 = 0; | |
3674 | PyObject * _argo1 = 0; | |
3675 | char *_kwnames[] = { "self","dc", NULL }; | |
3676 | ||
3677 | self = self; | |
3678 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
3679 | return NULL; | |
3680 | if (_argo0) { | |
3681 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3682 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p."); | |
3684 | return NULL; | |
3685 | } | |
3686 | } | |
3687 | if (_argo1) { | |
3688 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3689 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p."); | |
3691 | return NULL; | |
3692 | } | |
3693 | } | |
3694 | { | |
3695 | wxPy_BEGIN_ALLOW_THREADS; | |
3696 | wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1); | |
3697 | ||
3698 | wxPy_END_ALLOW_THREADS; | |
3699 | } Py_INCREF(Py_None); | |
3700 | _resultobj = Py_None; | |
3701 | return _resultobj; | |
3702 | } | |
3703 | ||
3704 | #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
3705 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3706 | PyObject * _resultobj; | |
3707 | wxPyControlPoint * _arg0; | |
3708 | wxDC * _arg1; | |
3709 | bool _arg2 = (bool ) TRUE; | |
3710 | PyObject * _argo0 = 0; | |
3711 | PyObject * _argo1 = 0; | |
3712 | int tempbool2 = (int) TRUE; | |
3713 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
3714 | ||
3715 | self = self; | |
3716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
3717 | return NULL; | |
3718 | if (_argo0) { | |
3719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p."); | |
3722 | return NULL; | |
3723 | } | |
3724 | } | |
3725 | if (_argo1) { | |
3726 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3727 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p."); | |
3729 | return NULL; | |
3730 | } | |
3731 | } | |
3732 | _arg2 = (bool ) tempbool2; | |
3733 | { | |
3734 | wxPy_BEGIN_ALLOW_THREADS; | |
3735 | wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
3736 | ||
3737 | wxPy_END_ALLOW_THREADS; | |
3738 | } Py_INCREF(Py_None); | |
3739 | _resultobj = Py_None; | |
3740 | return _resultobj; | |
3741 | } | |
3742 | ||
3743 | #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3744 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3745 | PyObject * _resultobj; | |
3746 | wxPyControlPoint * _arg0; | |
3747 | wxPyControlPoint * _arg1; | |
3748 | bool _arg2; | |
3749 | double _arg3; | |
3750 | double _arg4; | |
3751 | int _arg5 = (int ) 0; | |
3752 | int _arg6 = (int ) 0; | |
3753 | PyObject * _argo0 = 0; | |
3754 | PyObject * _argo1 = 0; | |
3755 | int tempbool2; | |
3756 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
3757 | ||
3758 | self = self; | |
3759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
3760 | return NULL; | |
3761 | if (_argo0) { | |
3762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3765 | return NULL; | |
3766 | } | |
3767 | } | |
3768 | if (_argo1) { | |
3769 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3770 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3771 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3772 | return NULL; | |
3773 | } | |
3774 | } | |
3775 | _arg2 = (bool ) tempbool2; | |
3776 | { | |
3777 | wxPy_BEGIN_ALLOW_THREADS; | |
3778 | wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3779 | ||
3780 | wxPy_END_ALLOW_THREADS; | |
3781 | } Py_INCREF(Py_None); | |
3782 | _resultobj = Py_None; | |
3783 | return _resultobj; | |
3784 | } | |
3785 | ||
3786 | #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3787 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3788 | PyObject * _resultobj; | |
3789 | wxPyControlPoint * _arg0; | |
3790 | wxPyControlPoint * _arg1; | |
3791 | double _arg2; | |
3792 | double _arg3; | |
3793 | int _arg4 = (int ) 0; | |
3794 | int _arg5 = (int ) 0; | |
3795 | PyObject * _argo0 = 0; | |
3796 | PyObject * _argo1 = 0; | |
3797 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3798 | ||
3799 | self = self; | |
3800 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3801 | return NULL; | |
3802 | if (_argo0) { | |
3803 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3804 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3805 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3806 | return NULL; | |
3807 | } | |
3808 | } | |
3809 | if (_argo1) { | |
3810 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3811 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3812 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3813 | return NULL; | |
3814 | } | |
3815 | } | |
3816 | { | |
3817 | wxPy_BEGIN_ALLOW_THREADS; | |
3818 | wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3819 | ||
3820 | wxPy_END_ALLOW_THREADS; | |
3821 | } Py_INCREF(Py_None); | |
3822 | _resultobj = Py_None; | |
3823 | return _resultobj; | |
3824 | } | |
3825 | ||
3826 | #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3827 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3828 | PyObject * _resultobj; | |
3829 | wxPyControlPoint * _arg0; | |
3830 | wxPyControlPoint * _arg1; | |
3831 | double _arg2; | |
3832 | double _arg3; | |
3833 | int _arg4 = (int ) 0; | |
3834 | int _arg5 = (int ) 0; | |
3835 | PyObject * _argo0 = 0; | |
3836 | PyObject * _argo1 = 0; | |
3837 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3838 | ||
3839 | self = self; | |
3840 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3841 | return NULL; | |
3842 | if (_argo0) { | |
3843 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3844 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3845 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3846 | return NULL; | |
3847 | } | |
3848 | } | |
3849 | if (_argo1) { | |
3850 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3851 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3852 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3853 | return NULL; | |
3854 | } | |
3855 | } | |
3856 | { | |
3857 | wxPy_BEGIN_ALLOW_THREADS; | |
3858 | wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3859 | ||
3860 | wxPy_END_ALLOW_THREADS; | |
3861 | } Py_INCREF(Py_None); | |
3862 | _resultobj = Py_None; | |
3863 | return _resultobj; | |
3864 | } | |
3865 | ||
3866 | #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
3867 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3868 | PyObject * _resultobj; | |
3869 | wxPyControlPoint * _arg0; | |
3870 | double _arg1; | |
3871 | double _arg2; | |
3872 | PyObject * _argo0 = 0; | |
3873 | char *_kwnames[] = { "self","w","h", NULL }; | |
3874 | ||
3875 | self = self; | |
3876 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3877 | return NULL; | |
3878 | if (_argo0) { | |
3879 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3880 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3881 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p."); | |
3882 | return NULL; | |
3883 | } | |
3884 | } | |
3885 | { | |
3886 | wxPy_BEGIN_ALLOW_THREADS; | |
3887 | wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2); | |
3888 | ||
3889 | wxPy_END_ALLOW_THREADS; | |
3890 | } Py_INCREF(Py_None); | |
3891 | _resultobj = Py_None; | |
3892 | return _resultobj; | |
3893 | } | |
3894 | ||
3895 | #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
3896 | static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3897 | PyObject * _resultobj; | |
3898 | wxPyControlPoint * _arg0; | |
3899 | double _arg1; | |
3900 | double _arg2; | |
3901 | PyObject * _argo0 = 0; | |
3902 | char *_kwnames[] = { "self","w","h", NULL }; | |
3903 | ||
3904 | self = self; | |
3905 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3906 | return NULL; | |
3907 | if (_argo0) { | |
3908 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3909 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3910 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p."); | |
3911 | return NULL; | |
3912 | } | |
3913 | } | |
3914 | { | |
3915 | wxPy_BEGIN_ALLOW_THREADS; | |
3916 | wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2); | |
3917 | ||
3918 | wxPy_END_ALLOW_THREADS; | |
3919 | } Py_INCREF(Py_None); | |
3920 | _resultobj = Py_None; | |
3921 | return _resultobj; | |
3922 | } | |
3923 | ||
3924 | static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) { | |
3925 | wxPyBitmapShape *src; | |
3926 | wxPyRectangleShape *dest; | |
3927 | src = (wxPyBitmapShape *) ptr; | |
3928 | dest = (wxPyRectangleShape *) src; | |
3929 | return (void *) dest; | |
3930 | } | |
3931 | ||
3932 | static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) { | |
3933 | wxPyBitmapShape *src; | |
3934 | wxPyShape *dest; | |
3935 | src = (wxPyBitmapShape *) ptr; | |
3936 | dest = (wxPyShape *) src; | |
3937 | return (void *) dest; | |
3938 | } | |
3939 | ||
3940 | static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) { | |
3941 | wxPyBitmapShape *src; | |
3942 | wxPyShapeEvtHandler *dest; | |
3943 | src = (wxPyBitmapShape *) ptr; | |
3944 | dest = (wxPyShapeEvtHandler *) src; | |
3945 | return (void *) dest; | |
3946 | } | |
3947 | ||
3948 | #define new_wxPyBitmapShape() (new wxPyBitmapShape()) | |
3949 | static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3950 | PyObject * _resultobj; | |
3951 | wxPyBitmapShape * _result; | |
3952 | char *_kwnames[] = { NULL }; | |
3953 | char _ptemp[128]; | |
3954 | ||
3955 | self = self; | |
3956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames)) | |
3957 | return NULL; | |
3958 | { | |
3959 | wxPy_BEGIN_ALLOW_THREADS; | |
3960 | _result = (wxPyBitmapShape *)new_wxPyBitmapShape(); | |
3961 | ||
3962 | wxPy_END_ALLOW_THREADS; | |
3963 | } if (_result) { | |
3964 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p"); | |
3965 | _resultobj = Py_BuildValue("s",_ptemp); | |
3966 | } else { | |
3967 | Py_INCREF(Py_None); | |
3968 | _resultobj = Py_None; | |
3969 | } | |
3970 | return _resultobj; | |
3971 | } | |
3972 | ||
3973 | #define wxPyBitmapShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
3974 | static PyObject *_wrap_wxPyBitmapShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3975 | PyObject * _resultobj; | |
3976 | wxPyBitmapShape * _arg0; | |
3977 | PyObject * _arg1; | |
3978 | PyObject * _argo0 = 0; | |
3979 | PyObject * _obj1 = 0; | |
3980 | char *_kwnames[] = { "self","self", NULL }; | |
3981 | ||
3982 | self = self; | |
3983 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
3984 | return NULL; | |
3985 | if (_argo0) { | |
3986 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3987 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
3988 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setSelf. Expected _wxPyBitmapShape_p."); | |
3989 | return NULL; | |
3990 | } | |
3991 | } | |
3992 | { | |
3993 | _arg1 = _obj1; | |
3994 | } | |
3995 | { | |
3996 | wxPy_BEGIN_ALLOW_THREADS; | |
3997 | wxPyBitmapShape__setSelf(_arg0,_arg1); | |
3998 | ||
3999 | wxPy_END_ALLOW_THREADS; | |
4000 | } Py_INCREF(Py_None); | |
4001 | _resultobj = Py_None; | |
4002 | return _resultobj; | |
4003 | } | |
4004 | ||
4005 | #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
4006 | static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4007 | PyObject * _resultobj; | |
4008 | wxBitmap * _result; | |
4009 | wxPyBitmapShape * _arg0; | |
4010 | PyObject * _argo0 = 0; | |
4011 | char *_kwnames[] = { "self", NULL }; | |
4012 | char _ptemp[128]; | |
4013 | ||
4014 | self = self; | |
4015 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0)) | |
4016 | return NULL; | |
4017 | if (_argo0) { | |
4018 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4019 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4020 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p."); | |
4021 | return NULL; | |
4022 | } | |
4023 | } | |
4024 | { | |
4025 | wxPy_BEGIN_ALLOW_THREADS; | |
4026 | wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0); | |
4027 | _result = (wxBitmap *) &_result_ref; | |
4028 | ||
4029 | wxPy_END_ALLOW_THREADS; | |
4030 | } if (_result) { | |
4031 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
4032 | _resultobj = Py_BuildValue("s",_ptemp); | |
4033 | } else { | |
4034 | Py_INCREF(Py_None); | |
4035 | _resultobj = Py_None; | |
4036 | } | |
4037 | return _resultobj; | |
4038 | } | |
4039 | ||
4040 | #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
4041 | static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4042 | PyObject * _resultobj; | |
4043 | wxString * _result; | |
4044 | wxPyBitmapShape * _arg0; | |
4045 | PyObject * _argo0 = 0; | |
4046 | char *_kwnames[] = { "self", NULL }; | |
4047 | ||
4048 | self = self; | |
4049 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0)) | |
4050 | return NULL; | |
4051 | if (_argo0) { | |
4052 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4053 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4054 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p."); | |
4055 | return NULL; | |
4056 | } | |
4057 | } | |
4058 | { | |
4059 | wxPy_BEGIN_ALLOW_THREADS; | |
4060 | _result = new wxString (wxPyBitmapShape_GetFilename(_arg0)); | |
4061 | ||
4062 | wxPy_END_ALLOW_THREADS; | |
4063 | }{ | |
4064 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
4065 | } | |
4066 | { | |
4067 | delete _result; | |
4068 | } | |
4069 | return _resultobj; | |
4070 | } | |
4071 | ||
4072 | #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
4073 | static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4074 | PyObject * _resultobj; | |
4075 | wxPyBitmapShape * _arg0; | |
4076 | wxBitmap * _arg1; | |
4077 | PyObject * _argo0 = 0; | |
4078 | PyObject * _argo1 = 0; | |
4079 | char *_kwnames[] = { "self","bitmap", NULL }; | |
4080 | ||
4081 | self = self; | |
4082 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1)) | |
4083 | return NULL; | |
4084 | if (_argo0) { | |
4085 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4086 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p."); | |
4088 | return NULL; | |
4089 | } | |
4090 | } | |
4091 | if (_argo1) { | |
4092 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4093 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
4094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p."); | |
4095 | return NULL; | |
4096 | } | |
4097 | } | |
4098 | { | |
4099 | wxPy_BEGIN_ALLOW_THREADS; | |
4100 | wxPyBitmapShape_SetBitmap(_arg0,*_arg1); | |
4101 | ||
4102 | wxPy_END_ALLOW_THREADS; | |
4103 | } Py_INCREF(Py_None); | |
4104 | _resultobj = Py_None; | |
4105 | return _resultobj; | |
4106 | } | |
4107 | ||
4108 | #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
4109 | static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4110 | PyObject * _resultobj; | |
4111 | wxPyBitmapShape * _arg0; | |
4112 | wxString * _arg1; | |
4113 | PyObject * _argo0 = 0; | |
4114 | PyObject * _obj1 = 0; | |
4115 | char *_kwnames[] = { "self","filename", NULL }; | |
4116 | ||
4117 | self = self; | |
4118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1)) | |
4119 | return NULL; | |
4120 | if (_argo0) { | |
4121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p."); | |
4124 | return NULL; | |
4125 | } | |
4126 | } | |
4127 | { | |
4128 | if (!PyString_Check(_obj1)) { | |
4129 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4130 | return NULL; | |
4131 | } | |
4132 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4133 | } | |
4134 | { | |
4135 | wxPy_BEGIN_ALLOW_THREADS; | |
4136 | wxPyBitmapShape_SetFilename(_arg0,*_arg1); | |
4137 | ||
4138 | wxPy_END_ALLOW_THREADS; | |
4139 | } Py_INCREF(Py_None); | |
4140 | _resultobj = Py_None; | |
4141 | { | |
4142 | if (_obj1) | |
4143 | delete _arg1; | |
4144 | } | |
4145 | return _resultobj; | |
4146 | } | |
4147 | ||
4148 | #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
4149 | static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4150 | PyObject * _resultobj; | |
4151 | wxPyBitmapShape * _arg0; | |
4152 | PyObject * _argo0 = 0; | |
4153 | char *_kwnames[] = { "self", NULL }; | |
4154 | ||
4155 | self = self; | |
4156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0)) | |
4157 | return NULL; | |
4158 | if (_argo0) { | |
4159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p."); | |
4162 | return NULL; | |
4163 | } | |
4164 | } | |
4165 | { | |
4166 | wxPy_BEGIN_ALLOW_THREADS; | |
4167 | wxPyBitmapShape_base_OnDelete(_arg0); | |
4168 | ||
4169 | wxPy_END_ALLOW_THREADS; | |
4170 | } Py_INCREF(Py_None); | |
4171 | _resultobj = Py_None; | |
4172 | return _resultobj; | |
4173 | } | |
4174 | ||
4175 | #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4176 | static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4177 | PyObject * _resultobj; | |
4178 | wxPyBitmapShape * _arg0; | |
4179 | wxDC * _arg1; | |
4180 | PyObject * _argo0 = 0; | |
4181 | PyObject * _argo1 = 0; | |
4182 | char *_kwnames[] = { "self","dc", NULL }; | |
4183 | ||
4184 | self = self; | |
4185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4186 | return NULL; | |
4187 | if (_argo0) { | |
4188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p."); | |
4191 | return NULL; | |
4192 | } | |
4193 | } | |
4194 | if (_argo1) { | |
4195 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4196 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p."); | |
4198 | return NULL; | |
4199 | } | |
4200 | } | |
4201 | { | |
4202 | wxPy_BEGIN_ALLOW_THREADS; | |
4203 | wxPyBitmapShape_base_OnDraw(_arg0,*_arg1); | |
4204 | ||
4205 | wxPy_END_ALLOW_THREADS; | |
4206 | } Py_INCREF(Py_None); | |
4207 | _resultobj = Py_None; | |
4208 | return _resultobj; | |
4209 | } | |
4210 | ||
4211 | #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4212 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4213 | PyObject * _resultobj; | |
4214 | wxPyBitmapShape * _arg0; | |
4215 | wxDC * _arg1; | |
4216 | PyObject * _argo0 = 0; | |
4217 | PyObject * _argo1 = 0; | |
4218 | char *_kwnames[] = { "self","dc", NULL }; | |
4219 | ||
4220 | self = self; | |
4221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4222 | return NULL; | |
4223 | if (_argo0) { | |
4224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p."); | |
4227 | return NULL; | |
4228 | } | |
4229 | } | |
4230 | if (_argo1) { | |
4231 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4232 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4233 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p."); | |
4234 | return NULL; | |
4235 | } | |
4236 | } | |
4237 | { | |
4238 | wxPy_BEGIN_ALLOW_THREADS; | |
4239 | wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1); | |
4240 | ||
4241 | wxPy_END_ALLOW_THREADS; | |
4242 | } Py_INCREF(Py_None); | |
4243 | _resultobj = Py_None; | |
4244 | return _resultobj; | |
4245 | } | |
4246 | ||
4247 | #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4248 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4249 | PyObject * _resultobj; | |
4250 | wxPyBitmapShape * _arg0; | |
4251 | wxDC * _arg1; | |
4252 | bool _arg2 = (bool ) FALSE; | |
4253 | PyObject * _argo0 = 0; | |
4254 | PyObject * _argo1 = 0; | |
4255 | int tempbool2 = (int) FALSE; | |
4256 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
4257 | |
4258 | self = self; | |
4259 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4260 | return NULL; | |
4261 | if (_argo0) { | |
4262 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4263 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4264 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p."); | |
4265 | return NULL; | |
4266 | } | |
4267 | } | |
4268 | if (_argo1) { | |
4269 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4270 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4272 | return NULL; | |
4273 | } | |
4274 | } | |
4275 | _arg2 = (bool ) tempbool2; | |
4276 | { | |
4277 | wxPy_BEGIN_ALLOW_THREADS; | |
4278 | wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4279 | ||
4280 | wxPy_END_ALLOW_THREADS; | |
4281 | } Py_INCREF(Py_None); | |
4282 | _resultobj = Py_None; | |
4283 | return _resultobj; | |
4284 | } | |
4285 | ||
4286 | #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4287 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4288 | PyObject * _resultobj; | |
4289 | wxPyBitmapShape * _arg0; | |
4290 | wxDC * _arg1; | |
4291 | PyObject * _argo0 = 0; | |
4292 | PyObject * _argo1 = 0; | |
4293 | char *_kwnames[] = { "self","dc", NULL }; | |
4294 | ||
4295 | self = self; | |
4296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4297 | return NULL; | |
4298 | if (_argo0) { | |
4299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p."); | |
4302 | return NULL; | |
4303 | } | |
4304 | } | |
4305 | if (_argo1) { | |
4306 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4307 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4309 | return NULL; | |
4310 | } | |
4311 | } | |
4312 | { | |
4313 | wxPy_BEGIN_ALLOW_THREADS; | |
4314 | wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1); | |
4315 | ||
4316 | wxPy_END_ALLOW_THREADS; | |
4317 | } Py_INCREF(Py_None); | |
4318 | _resultobj = Py_None; | |
4319 | return _resultobj; | |
4320 | } | |
4321 | ||
4322 | #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4323 | static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4324 | PyObject * _resultobj; | |
4325 | wxPyBitmapShape * _arg0; | |
4326 | wxDC * _arg1; | |
4327 | PyObject * _argo0 = 0; | |
4328 | PyObject * _argo1 = 0; | |
4329 | char *_kwnames[] = { "self","dc", NULL }; | |
4330 | ||
4331 | self = self; | |
4332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4333 | return NULL; | |
4334 | if (_argo0) { | |
4335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p."); | |
4338 | return NULL; | |
4339 | } | |
4340 | } | |
4341 | if (_argo1) { | |
4342 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4343 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p."); | |
4345 | return NULL; | |
4346 | } | |
4347 | } | |
4348 | { | |
4349 | wxPy_BEGIN_ALLOW_THREADS; | |
4350 | wxPyBitmapShape_base_OnErase(_arg0,*_arg1); | |
4351 | ||
4352 | wxPy_END_ALLOW_THREADS; | |
4353 | } Py_INCREF(Py_None); | |
4354 | _resultobj = Py_None; | |
4355 | return _resultobj; | |
4356 | } | |
4357 | ||
4358 | #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4359 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4360 | PyObject * _resultobj; | |
4361 | wxPyBitmapShape * _arg0; | |
4362 | wxDC * _arg1; | |
4363 | PyObject * _argo0 = 0; | |
4364 | PyObject * _argo1 = 0; | |
4365 | char *_kwnames[] = { "self","dc", NULL }; | |
4366 | ||
4367 | self = self; | |
4368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4369 | return NULL; | |
4370 | if (_argo0) { | |
4371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p."); | |
4374 | return NULL; | |
4375 | } | |
4376 | } | |
4377 | if (_argo1) { | |
4378 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4379 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p."); | |
4381 | return NULL; | |
4382 | } | |
4383 | } | |
4384 | { | |
4385 | wxPy_BEGIN_ALLOW_THREADS; | |
4386 | wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1); | |
4387 | ||
4388 | wxPy_END_ALLOW_THREADS; | |
4389 | } Py_INCREF(Py_None); | |
4390 | _resultobj = Py_None; | |
4391 | return _resultobj; | |
4392 | } | |
4393 | ||
4394 | #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4395 | static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4396 | PyObject * _resultobj; | |
4397 | wxPyBitmapShape * _arg0; | |
4398 | wxDC * _arg1; | |
4399 | PyObject * _argo0 = 0; | |
4400 | PyObject * _argo1 = 0; | |
4401 | char *_kwnames[] = { "self","dc", NULL }; | |
4402 | ||
4403 | self = self; | |
4404 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4405 | return NULL; | |
4406 | if (_argo0) { | |
4407 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4408 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4409 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p."); | |
4410 | return NULL; | |
4411 | } | |
4412 | } | |
4413 | if (_argo1) { | |
4414 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4415 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4416 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p."); | |
4417 | return NULL; | |
4418 | } | |
4419 | } | |
4420 | { | |
4421 | wxPy_BEGIN_ALLOW_THREADS; | |
4422 | wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1); | |
4423 | ||
4424 | wxPy_END_ALLOW_THREADS; | |
4425 | } Py_INCREF(Py_None); | |
4426 | _resultobj = Py_None; | |
4427 | return _resultobj; | |
4428 | } | |
4429 | ||
4430 | #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4431 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4432 | PyObject * _resultobj; | |
4433 | wxPyBitmapShape * _arg0; | |
4434 | double _arg1; | |
4435 | double _arg2; | |
4436 | int _arg3 = (int ) 0; | |
4437 | int _arg4 = (int ) 0; | |
4438 | PyObject * _argo0 = 0; | |
4439 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4440 | ||
4441 | self = self; | |
4442 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4443 | return NULL; | |
4444 | if (_argo0) { | |
4445 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4446 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4447 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p."); | |
4448 | return NULL; | |
4449 | } | |
4450 | } | |
4451 | { | |
4452 | wxPy_BEGIN_ALLOW_THREADS; | |
4453 | wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4454 | ||
4455 | wxPy_END_ALLOW_THREADS; | |
4456 | } Py_INCREF(Py_None); | |
4457 | _resultobj = Py_None; | |
4458 | return _resultobj; | |
4459 | } | |
4460 | ||
4461 | #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4462 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4463 | PyObject * _resultobj; | |
4464 | wxPyBitmapShape * _arg0; | |
4465 | double _arg1; | |
4466 | double _arg2; | |
4467 | int _arg3 = (int ) 0; | |
4468 | int _arg4 = (int ) 0; | |
4469 | PyObject * _argo0 = 0; | |
4470 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4471 | ||
4472 | self = self; | |
4473 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnLeftDoubleClick. Expected _wxPyBitmapShape_p."); | |
4479 | return NULL; | |
4480 | } | |
4481 | } | |
4482 | { | |
4483 | wxPy_BEGIN_ALLOW_THREADS; | |
4484 | wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4485 | ||
4486 | wxPy_END_ALLOW_THREADS; | |
4487 | } Py_INCREF(Py_None); | |
4488 | _resultobj = Py_None; | |
4489 | return _resultobj; | |
4490 | } | |
4491 | ||
4492 | #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4493 | static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4494 | PyObject * _resultobj; | |
4495 | wxPyBitmapShape * _arg0; | |
4496 | double _arg1; | |
4497 | double _arg2; | |
4498 | int _arg3 = (int ) 0; | |
4499 | int _arg4 = (int ) 0; | |
4500 | PyObject * _argo0 = 0; | |
4501 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4502 | ||
4503 | self = self; | |
4504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4505 | return NULL; | |
4506 | if (_argo0) { | |
4507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p."); | |
4510 | return NULL; | |
4511 | } | |
4512 | } | |
4513 | { | |
4514 | wxPy_BEGIN_ALLOW_THREADS; | |
4515 | wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4516 | ||
4517 | wxPy_END_ALLOW_THREADS; | |
4518 | } Py_INCREF(Py_None); | |
4519 | _resultobj = Py_None; | |
4520 | return _resultobj; | |
4521 | } | |
4522 | ||
4523 | #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4524 | static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4525 | PyObject * _resultobj; | |
4526 | wxPyBitmapShape * _arg0; | |
4527 | double _arg1; | |
4528 | double _arg2; | |
4529 | PyObject * _argo0 = 0; | |
4530 | char *_kwnames[] = { "self","x","y", NULL }; | |
4531 | ||
4532 | self = self; | |
4533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4534 | return NULL; | |
4535 | if (_argo0) { | |
4536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p."); | |
4539 | return NULL; | |
4540 | } | |
4541 | } | |
4542 | { | |
4543 | wxPy_BEGIN_ALLOW_THREADS; | |
4544 | wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2); | |
4545 | ||
4546 | wxPy_END_ALLOW_THREADS; | |
4547 | } Py_INCREF(Py_None); | |
4548 | _resultobj = Py_None; | |
4549 | return _resultobj; | |
4550 | } | |
4551 | ||
4552 | #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4553 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4554 | PyObject * _resultobj; | |
4555 | bool _result; | |
4556 | wxPyBitmapShape * _arg0; | |
4557 | wxDC * _arg1; | |
4558 | double _arg2; | |
4559 | double _arg3; | |
4560 | double _arg4; | |
4561 | double _arg5; | |
4562 | bool _arg6 = (bool ) TRUE; | |
4563 | PyObject * _argo0 = 0; | |
4564 | PyObject * _argo1 = 0; | |
4565 | int tempbool6 = (int) TRUE; | |
4566 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4567 | ||
4568 | self = self; | |
4569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4570 | return NULL; | |
4571 | if (_argo0) { | |
4572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p."); | |
4575 | return NULL; | |
4576 | } | |
4577 | } | |
4578 | if (_argo1) { | |
4579 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4580 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p."); | |
4582 | return NULL; | |
4583 | } | |
4584 | } | |
4585 | _arg6 = (bool ) tempbool6; | |
4586 | { | |
4587 | wxPy_BEGIN_ALLOW_THREADS; | |
4588 | _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4589 | ||
4590 | wxPy_END_ALLOW_THREADS; | |
4591 | } _resultobj = Py_BuildValue("i",_result); | |
4592 | return _resultobj; | |
4593 | } | |
4594 | ||
4595 | #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4596 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4597 | PyObject * _resultobj; | |
4598 | wxPyBitmapShape * _arg0; | |
4599 | wxDC * _arg1; | |
4600 | double _arg2; | |
4601 | double _arg3; | |
4602 | double _arg4; | |
4603 | double _arg5; | |
4604 | bool _arg6 = (bool ) TRUE; | |
4605 | PyObject * _argo0 = 0; | |
4606 | PyObject * _argo1 = 0; | |
4607 | int tempbool6 = (int) TRUE; | |
4608 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4609 | ||
4610 | self = self; | |
4611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4612 | return NULL; | |
4613 | if (_argo0) { | |
4614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p."); | |
4617 | return NULL; | |
4618 | } | |
4619 | } | |
4620 | if (_argo1) { | |
4621 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4622 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4623 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p."); | |
4624 | return NULL; | |
4625 | } | |
4626 | } | |
4627 | _arg6 = (bool ) tempbool6; | |
4628 | { | |
4629 | wxPy_BEGIN_ALLOW_THREADS; | |
4630 | wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4631 | ||
4632 | wxPy_END_ALLOW_THREADS; | |
4633 | } Py_INCREF(Py_None); | |
4634 | _resultobj = Py_None; | |
4635 | return _resultobj; | |
4636 | } | |
4637 | ||
4638 | #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4639 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4640 | PyObject * _resultobj; | |
4641 | wxPyBitmapShape * _arg0; | |
4642 | bool _arg1; | |
4643 | double _arg2; | |
4644 | double _arg3; | |
4645 | int _arg4 = (int ) 0; | |
4646 | int _arg5 = (int ) 0; | |
4647 | PyObject * _argo0 = 0; | |
4648 | int tempbool1; | |
4649 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4650 | ||
4651 | self = self; | |
4652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4653 | return NULL; | |
4654 | if (_argo0) { | |
4655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p."); | |
4658 | return NULL; | |
4659 | } | |
4660 | } | |
4661 | _arg1 = (bool ) tempbool1; | |
4662 | { | |
4663 | wxPy_BEGIN_ALLOW_THREADS; | |
4664 | wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4665 | ||
4666 | wxPy_END_ALLOW_THREADS; | |
4667 | } Py_INCREF(Py_None); | |
4668 | _resultobj = Py_None; | |
4669 | return _resultobj; | |
4670 | } | |
4671 | ||
4672 | #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4673 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4674 | PyObject * _resultobj; | |
4675 | wxPyBitmapShape * _arg0; | |
4676 | double _arg1; | |
4677 | double _arg2; | |
4678 | int _arg3 = (int ) 0; | |
4679 | int _arg4 = (int ) 0; | |
4680 | PyObject * _argo0 = 0; | |
4681 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4682 | ||
4683 | self = self; | |
4684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4685 | return NULL; | |
4686 | if (_argo0) { | |
4687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
4690 | return NULL; | |
4691 | } | |
4692 | } | |
4693 | { | |
4694 | wxPy_BEGIN_ALLOW_THREADS; | |
4695 | wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4696 | ||
4697 | wxPy_END_ALLOW_THREADS; | |
4698 | } Py_INCREF(Py_None); | |
4699 | _resultobj = Py_None; | |
4700 | return _resultobj; | |
4701 | } | |
4702 | ||
4703 | #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4704 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4705 | PyObject * _resultobj; | |
4706 | wxPyBitmapShape * _arg0; | |
4707 | double _arg1; | |
4708 | double _arg2; | |
4709 | int _arg3 = (int ) 0; | |
4710 | int _arg4 = (int ) 0; | |
4711 | PyObject * _argo0 = 0; | |
4712 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4713 | ||
4714 | self = self; | |
4715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4716 | return NULL; | |
4717 | if (_argo0) { | |
4718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p."); | |
4721 | return NULL; | |
4722 | } | |
4723 | } | |
4724 | { | |
4725 | wxPy_BEGIN_ALLOW_THREADS; | |
4726 | wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4727 | ||
4728 | wxPy_END_ALLOW_THREADS; | |
4729 | } Py_INCREF(Py_None); | |
4730 | _resultobj = Py_None; | |
4731 | return _resultobj; | |
4732 | } | |
4733 | ||
4734 | #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4735 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4736 | PyObject * _resultobj; | |
4737 | wxPyBitmapShape * _arg0; | |
4738 | bool _arg1; | |
4739 | double _arg2; | |
4740 | double _arg3; | |
4741 | int _arg4 = (int ) 0; | |
4742 | int _arg5 = (int ) 0; | |
4743 | PyObject * _argo0 = 0; | |
4744 | int tempbool1; | |
4745 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4746 | ||
4747 | self = self; | |
4748 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4749 | return NULL; | |
4750 | if (_argo0) { | |
4751 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4752 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4753 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p."); | |
4754 | return NULL; | |
4755 | } | |
4756 | } | |
4757 | _arg1 = (bool ) tempbool1; | |
4758 | { | |
4759 | wxPy_BEGIN_ALLOW_THREADS; | |
4760 | wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4761 | ||
4762 | wxPy_END_ALLOW_THREADS; | |
4763 | } Py_INCREF(Py_None); | |
4764 | _resultobj = Py_None; | |
4765 | return _resultobj; | |
4766 | } | |
4767 | ||
4768 | #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4769 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4770 | PyObject * _resultobj; | |
4771 | wxPyBitmapShape * _arg0; | |
4772 | double _arg1; | |
4773 | double _arg2; | |
4774 | int _arg3 = (int ) 0; | |
4775 | int _arg4 = (int ) 0; | |
4776 | PyObject * _argo0 = 0; | |
4777 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4778 | ||
4779 | self = self; | |
4780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4781 | return NULL; | |
4782 | if (_argo0) { | |
4783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p."); | |
4786 | return NULL; | |
4787 | } | |
4788 | } | |
4789 | { | |
4790 | wxPy_BEGIN_ALLOW_THREADS; | |
4791 | wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4792 | ||
4793 | wxPy_END_ALLOW_THREADS; | |
4794 | } Py_INCREF(Py_None); | |
4795 | _resultobj = Py_None; | |
4796 | return _resultobj; | |
4797 | } | |
4798 | ||
4799 | #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4800 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4801 | PyObject * _resultobj; | |
4802 | wxPyBitmapShape * _arg0; | |
4803 | double _arg1; | |
4804 | double _arg2; | |
4805 | int _arg3 = (int ) 0; | |
4806 | int _arg4 = (int ) 0; | |
4807 | PyObject * _argo0 = 0; | |
4808 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4809 | ||
4810 | self = self; | |
4811 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4812 | return NULL; | |
4813 | if (_argo0) { | |
4814 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4815 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4816 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p."); | |
4817 | return NULL; | |
4818 | } | |
4819 | } | |
4820 | { | |
4821 | wxPy_BEGIN_ALLOW_THREADS; | |
4822 | wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4823 | ||
4824 | wxPy_END_ALLOW_THREADS; | |
4825 | } Py_INCREF(Py_None); | |
4826 | _resultobj = Py_None; | |
4827 | return _resultobj; | |
4828 | } | |
4829 | ||
4830 | #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4831 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4832 | PyObject * _resultobj; | |
4833 | wxPyBitmapShape * _arg0; | |
4834 | wxDC * _arg1; | |
4835 | double _arg2; | |
4836 | double _arg3; | |
4837 | double _arg4; | |
4838 | double _arg5; | |
4839 | PyObject * _argo0 = 0; | |
4840 | PyObject * _argo1 = 0; | |
4841 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
4842 | ||
4843 | self = self; | |
4844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4845 | return NULL; | |
4846 | if (_argo0) { | |
4847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p."); | |
4850 | return NULL; | |
4851 | } | |
4852 | } | |
4853 | if (_argo1) { | |
4854 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4855 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p."); | |
4857 | return NULL; | |
4858 | } | |
4859 | } | |
4860 | { | |
4861 | wxPy_BEGIN_ALLOW_THREADS; | |
4862 | wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
4863 | ||
4864 | wxPy_END_ALLOW_THREADS; | |
4865 | } Py_INCREF(Py_None); | |
4866 | _resultobj = Py_None; | |
4867 | return _resultobj; | |
4868 | } | |
4869 | ||
4870 | #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
4871 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4872 | PyObject * _resultobj; | |
4873 | wxPyBitmapShape * _arg0; | |
4874 | wxDC * _arg1; | |
4875 | PyObject * _argo0 = 0; | |
4876 | PyObject * _argo1 = 0; | |
4877 | char *_kwnames[] = { "self","dc", NULL }; | |
4878 | ||
4879 | self = self; | |
4880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
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_OnDrawControlPoints. Expected _wxPyBitmapShape_p."); | |
4886 | return NULL; | |
4887 | } | |
4888 | } | |
4889 | if (_argo1) { | |
4890 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4891 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
4893 | return NULL; | |
4894 | } | |
4895 | } | |
4896 | { | |
4897 | wxPy_BEGIN_ALLOW_THREADS; | |
4898 | wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
4899 | ||
4900 | wxPy_END_ALLOW_THREADS; | |
4901 | } Py_INCREF(Py_None); | |
4902 | _resultobj = Py_None; | |
4903 | return _resultobj; | |
4904 | } | |
4905 | ||
4906 | #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
4907 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4908 | PyObject * _resultobj; | |
4909 | wxPyBitmapShape * _arg0; | |
4910 | wxDC * _arg1; | |
4911 | PyObject * _argo0 = 0; | |
4912 | PyObject * _argo1 = 0; | |
4913 | char *_kwnames[] = { "self","dc", NULL }; | |
4914 | ||
4915 | self = self; | |
4916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
4917 | return NULL; | |
4918 | if (_argo0) { | |
4919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p."); | |
4922 | return NULL; | |
4923 | } | |
4924 | } | |
4925 | if (_argo1) { | |
4926 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4927 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
4929 | return NULL; | |
4930 | } | |
4931 | } | |
4932 | { | |
4933 | wxPy_BEGIN_ALLOW_THREADS; | |
4934 | wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
4935 | ||
4936 | wxPy_END_ALLOW_THREADS; | |
4937 | } Py_INCREF(Py_None); | |
4938 | _resultobj = Py_None; | |
4939 | return _resultobj; | |
4940 | } | |
4941 | ||
4942 | #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
4943 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4944 | PyObject * _resultobj; | |
4945 | wxPyBitmapShape * _arg0; | |
4946 | wxDC * _arg1; | |
4947 | bool _arg2 = (bool ) TRUE; | |
4948 | PyObject * _argo0 = 0; | |
4949 | PyObject * _argo1 = 0; | |
4950 | int tempbool2 = (int) TRUE; | |
4951 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
4952 | ||
4953 | self = self; | |
4954 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4955 | return NULL; | |
4956 | if (_argo0) { | |
4957 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4958 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p."); | |
4960 | return NULL; | |
4961 | } | |
4962 | } | |
4963 | if (_argo1) { | |
4964 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4965 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p."); | |
4967 | return NULL; | |
4968 | } | |
4969 | } | |
4970 | _arg2 = (bool ) tempbool2; | |
4971 | { | |
4972 | wxPy_BEGIN_ALLOW_THREADS; | |
4973 | wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
4974 | ||
4975 | wxPy_END_ALLOW_THREADS; | |
4976 | } Py_INCREF(Py_None); | |
4977 | _resultobj = Py_None; | |
4978 | return _resultobj; | |
4979 | } | |
4980 | ||
4981 | #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4982 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4983 | PyObject * _resultobj; | |
4984 | wxPyBitmapShape * _arg0; | |
2348eaee | 4985 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
4986 | bool _arg2; |
4987 | double _arg3; | |
4988 | double _arg4; | |
4989 | int _arg5 = (int ) 0; | |
4990 | int _arg6 = (int ) 0; | |
4991 | PyObject * _argo0 = 0; | |
4992 | PyObject * _argo1 = 0; | |
4993 | int tempbool2; | |
4994 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
4995 | ||
4996 | self = self; | |
4997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
4998 | return NULL; | |
4999 | if (_argo0) { | |
5000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p."); | |
5003 | return NULL; | |
5004 | } | |
5005 | } | |
5006 | if (_argo1) { | |
5007 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5008 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5010 | return NULL; |
5011 | } | |
5012 | } | |
5013 | _arg2 = (bool ) tempbool2; | |
5014 | { | |
5015 | wxPy_BEGIN_ALLOW_THREADS; | |
5016 | wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5017 | ||
5018 | wxPy_END_ALLOW_THREADS; | |
5019 | } Py_INCREF(Py_None); | |
5020 | _resultobj = Py_None; | |
5021 | return _resultobj; | |
5022 | } | |
5023 | ||
5024 | #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5025 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5026 | PyObject * _resultobj; | |
5027 | wxPyBitmapShape * _arg0; | |
2348eaee | 5028 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5029 | double _arg2; |
5030 | double _arg3; | |
5031 | int _arg4 = (int ) 0; | |
5032 | int _arg5 = (int ) 0; | |
5033 | PyObject * _argo0 = 0; | |
5034 | PyObject * _argo1 = 0; | |
5035 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5036 | ||
5037 | self = self; | |
5038 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5039 | return NULL; | |
5040 | if (_argo0) { | |
5041 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5042 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5043 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
5044 | return NULL; | |
5045 | } | |
5046 | } | |
5047 | if (_argo1) { | |
5048 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5049 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5051 | return NULL; |
5052 | } | |
5053 | } | |
5054 | { | |
5055 | wxPy_BEGIN_ALLOW_THREADS; | |
5056 | wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5057 | ||
5058 | wxPy_END_ALLOW_THREADS; | |
5059 | } Py_INCREF(Py_None); | |
5060 | _resultobj = Py_None; | |
5061 | return _resultobj; | |
5062 | } | |
5063 | ||
5064 | #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5065 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5066 | PyObject * _resultobj; | |
5067 | wxPyBitmapShape * _arg0; | |
2348eaee | 5068 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5069 | double _arg2; |
5070 | double _arg3; | |
5071 | int _arg4 = (int ) 0; | |
5072 | int _arg5 = (int ) 0; | |
5073 | PyObject * _argo0 = 0; | |
5074 | PyObject * _argo1 = 0; | |
5075 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5076 | ||
5077 | self = self; | |
5078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5079 | return NULL; | |
5080 | if (_argo0) { | |
5081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p."); | |
5084 | return NULL; | |
5085 | } | |
5086 | } | |
5087 | if (_argo1) { | |
5088 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5089 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5090 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5091 | return NULL; |
5092 | } | |
5093 | } | |
5094 | { | |
5095 | wxPy_BEGIN_ALLOW_THREADS; | |
5096 | wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5097 | ||
5098 | wxPy_END_ALLOW_THREADS; | |
5099 | } Py_INCREF(Py_None); | |
5100 | _resultobj = Py_None; | |
5101 | return _resultobj; | |
5102 | } | |
5103 | ||
5104 | #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5105 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5106 | PyObject * _resultobj; | |
5107 | wxPyBitmapShape * _arg0; | |
5108 | double _arg1; | |
5109 | double _arg2; | |
5110 | PyObject * _argo0 = 0; | |
5111 | char *_kwnames[] = { "self","w","h", NULL }; | |
5112 | ||
5113 | self = self; | |
5114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5115 | return NULL; | |
5116 | if (_argo0) { | |
5117 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5118 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5119 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p."); | |
5120 | return NULL; | |
5121 | } | |
5122 | } | |
5123 | { | |
5124 | wxPy_BEGIN_ALLOW_THREADS; | |
5125 | wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5126 | ||
5127 | wxPy_END_ALLOW_THREADS; | |
5128 | } Py_INCREF(Py_None); | |
5129 | _resultobj = Py_None; | |
5130 | return _resultobj; | |
5131 | } | |
5132 | ||
5133 | #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5134 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5135 | PyObject * _resultobj; | |
5136 | wxPyBitmapShape * _arg0; | |
5137 | double _arg1; | |
5138 | double _arg2; | |
5139 | PyObject * _argo0 = 0; | |
5140 | char *_kwnames[] = { "self","w","h", NULL }; | |
5141 | ||
5142 | self = self; | |
5143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5144 | return NULL; | |
5145 | if (_argo0) { | |
5146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p."); | |
5149 | return NULL; | |
5150 | } | |
5151 | } | |
5152 | { | |
5153 | wxPy_BEGIN_ALLOW_THREADS; | |
5154 | wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5155 | ||
5156 | wxPy_END_ALLOW_THREADS; | |
5157 | } Py_INCREF(Py_None); | |
5158 | _resultobj = Py_None; | |
5159 | return _resultobj; | |
5160 | } | |
5161 | ||
5162 | static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) { | |
5163 | wxPyDrawnShape *src; | |
5164 | wxPyRectangleShape *dest; | |
5165 | src = (wxPyDrawnShape *) ptr; | |
5166 | dest = (wxPyRectangleShape *) src; | |
5167 | return (void *) dest; | |
5168 | } | |
5169 | ||
5170 | static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) { | |
5171 | wxPyDrawnShape *src; | |
5172 | wxPyShape *dest; | |
5173 | src = (wxPyDrawnShape *) ptr; | |
5174 | dest = (wxPyShape *) src; | |
5175 | return (void *) dest; | |
5176 | } | |
5177 | ||
5178 | static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) { | |
5179 | wxPyDrawnShape *src; | |
5180 | wxPyShapeEvtHandler *dest; | |
5181 | src = (wxPyDrawnShape *) ptr; | |
5182 | dest = (wxPyShapeEvtHandler *) src; | |
5183 | return (void *) dest; | |
5184 | } | |
5185 | ||
5186 | #define new_wxPyDrawnShape() (new wxPyDrawnShape()) | |
5187 | static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5188 | PyObject * _resultobj; | |
5189 | wxPyDrawnShape * _result; | |
5190 | char *_kwnames[] = { NULL }; | |
5191 | char _ptemp[128]; | |
5192 | ||
5193 | self = self; | |
5194 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames)) | |
5195 | return NULL; | |
5196 | { | |
5197 | wxPy_BEGIN_ALLOW_THREADS; | |
5198 | _result = (wxPyDrawnShape *)new_wxPyDrawnShape(); | |
5199 | ||
5200 | wxPy_END_ALLOW_THREADS; | |
5201 | } if (_result) { | |
5202 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p"); | |
5203 | _resultobj = Py_BuildValue("s",_ptemp); | |
5204 | } else { | |
5205 | Py_INCREF(Py_None); | |
5206 | _resultobj = Py_None; | |
5207 | } | |
5208 | return _resultobj; | |
5209 | } | |
5210 | ||
5211 | #define wxPyDrawnShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
5212 | static PyObject *_wrap_wxPyDrawnShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5213 | PyObject * _resultobj; | |
5214 | wxPyDrawnShape * _arg0; | |
5215 | PyObject * _arg1; | |
5216 | PyObject * _argo0 = 0; | |
5217 | PyObject * _obj1 = 0; | |
5218 | char *_kwnames[] = { "self","self", NULL }; | |
5219 | ||
5220 | self = self; | |
5221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
5222 | return NULL; | |
5223 | if (_argo0) { | |
5224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setSelf. Expected _wxPyDrawnShape_p."); | |
5227 | return NULL; | |
5228 | } | |
5229 | } | |
5230 | { | |
5231 | _arg1 = _obj1; | |
5232 | } | |
5233 | { | |
5234 | wxPy_BEGIN_ALLOW_THREADS; | |
5235 | wxPyDrawnShape__setSelf(_arg0,_arg1); | |
5236 | ||
5237 | wxPy_END_ALLOW_THREADS; | |
5238 | } Py_INCREF(Py_None); | |
5239 | _resultobj = Py_None; | |
5240 | return _resultobj; | |
5241 | } | |
5242 | ||
5243 | #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
5244 | static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5245 | PyObject * _resultobj; | |
5246 | wxPyDrawnShape * _arg0; | |
5247 | PyObject * _argo0 = 0; | |
5248 | char *_kwnames[] = { "self", NULL }; | |
5249 | ||
5250 | self = self; | |
5251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0)) | |
5252 | return NULL; | |
5253 | if (_argo0) { | |
5254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p."); | |
5257 | return NULL; | |
5258 | } | |
5259 | } | |
5260 | { | |
5261 | wxPy_BEGIN_ALLOW_THREADS; | |
5262 | wxPyDrawnShape_CalculateSize(_arg0); | |
5263 | ||
5264 | wxPy_END_ALLOW_THREADS; | |
5265 | } Py_INCREF(Py_None); | |
5266 | _resultobj = Py_None; | |
5267 | return _resultobj; | |
5268 | } | |
5269 | ||
5270 | #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
5271 | static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5272 | PyObject * _resultobj; | |
5273 | wxPyDrawnShape * _arg0; | |
5274 | PyObject * _argo0 = 0; | |
5275 | char *_kwnames[] = { "self", NULL }; | |
5276 | ||
5277 | self = self; | |
5278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0)) | |
5279 | return NULL; | |
5280 | if (_argo0) { | |
5281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p."); | |
5284 | return NULL; | |
5285 | } | |
5286 | } | |
5287 | { | |
5288 | wxPy_BEGIN_ALLOW_THREADS; | |
5289 | wxPyDrawnShape_DestroyClippingRect(_arg0); | |
5290 | ||
5291 | wxPy_END_ALLOW_THREADS; | |
5292 | } Py_INCREF(Py_None); | |
5293 | _resultobj = Py_None; | |
5294 | return _resultobj; | |
5295 | } | |
5296 | ||
5297 | #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
5298 | static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5299 | PyObject * _resultobj; | |
5300 | wxPyDrawnShape * _arg0; | |
5301 | wxPoint * _arg1; | |
5302 | wxPoint * _arg2; | |
5303 | wxPoint * _arg3; | |
5304 | PyObject * _argo0 = 0; | |
2348eaee RD |
5305 | wxPoint temp; |
5306 | PyObject * _obj1 = 0; | |
5307 | wxPoint temp0; | |
5308 | PyObject * _obj2 = 0; | |
5309 | wxPoint temp1; | |
5310 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
5311 | char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL }; |
5312 | ||
5313 | self = self; | |
2348eaee | 5314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
e91a9dfc RD |
5315 | return NULL; |
5316 | if (_argo0) { | |
5317 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5318 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p."); | |
5320 | return NULL; | |
5321 | } | |
5322 | } | |
2348eaee RD |
5323 | { |
5324 | _arg1 = &temp; | |
5325 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5326 | return NULL; |
2348eaee RD |
5327 | } |
5328 | { | |
5329 | _arg2 = &temp0; | |
5330 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5331 | return NULL; |
2348eaee RD |
5332 | } |
5333 | { | |
5334 | _arg3 = &temp1; | |
5335 | if (! wxPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 5336 | return NULL; |
2348eaee | 5337 | } |
e91a9dfc RD |
5338 | { |
5339 | wxPy_BEGIN_ALLOW_THREADS; | |
5340 | wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); | |
5341 | ||
5342 | wxPy_END_ALLOW_THREADS; | |
5343 | } Py_INCREF(Py_None); | |
5344 | _resultobj = Py_None; | |
5345 | return _resultobj; | |
5346 | } | |
5347 | ||
5348 | #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0)) | |
5349 | static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5350 | PyObject * _resultobj; | |
5351 | wxPyDrawnShape * _arg0; | |
5352 | int _arg1; | |
5353 | PyObject * _argo0 = 0; | |
5354 | char *_kwnames[] = { "self","angle", NULL }; | |
5355 | ||
5356 | self = self; | |
5357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1)) | |
5358 | return NULL; | |
5359 | if (_argo0) { | |
5360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p."); | |
5363 | return NULL; | |
5364 | } | |
5365 | } | |
5366 | { | |
5367 | wxPy_BEGIN_ALLOW_THREADS; | |
5368 | wxPyDrawnShape_DrawAtAngle(_arg0,_arg1); | |
5369 | ||
5370 | wxPy_END_ALLOW_THREADS; | |
5371 | } Py_INCREF(Py_None); | |
5372 | _resultobj = Py_None; | |
5373 | return _resultobj; | |
5374 | } | |
5375 | ||
5376 | #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
5377 | static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5378 | PyObject * _resultobj; | |
5379 | wxPyDrawnShape * _arg0; | |
5380 | wxRect * _arg1; | |
5381 | double _arg2; | |
5382 | double _arg3; | |
5383 | PyObject * _argo0 = 0; | |
2348eaee RD |
5384 | wxRect temp; |
5385 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5386 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; |
5387 | ||
5388 | self = self; | |
2348eaee | 5389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
e91a9dfc RD |
5390 | return NULL; |
5391 | if (_argo0) { | |
5392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p."); | |
5395 | return NULL; | |
5396 | } | |
5397 | } | |
2348eaee RD |
5398 | { |
5399 | _arg1 = &temp; | |
5400 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5401 | return NULL; |
2348eaee | 5402 | } |
e91a9dfc RD |
5403 | { |
5404 | wxPy_BEGIN_ALLOW_THREADS; | |
5405 | wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); | |
5406 | ||
5407 | wxPy_END_ALLOW_THREADS; | |
5408 | } Py_INCREF(Py_None); | |
5409 | _resultobj = Py_None; | |
5410 | return _resultobj; | |
5411 | } | |
5412 | ||
5413 | #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
5414 | static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5415 | PyObject * _resultobj; | |
5416 | wxPyDrawnShape * _arg0; | |
5417 | wxPoint * _arg1; | |
5418 | wxPoint * _arg2; | |
5419 | PyObject * _argo0 = 0; | |
2348eaee RD |
5420 | wxPoint temp; |
5421 | PyObject * _obj1 = 0; | |
5422 | wxPoint temp0; | |
5423 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5424 | char *_kwnames[] = { "self","point1","point2", NULL }; |
5425 | ||
5426 | self = self; | |
2348eaee | 5427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5428 | return NULL; |
5429 | if (_argo0) { | |
5430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p."); | |
5433 | return NULL; | |
5434 | } | |
5435 | } | |
2348eaee RD |
5436 | { |
5437 | _arg1 = &temp; | |
5438 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5439 | return NULL; |
2348eaee RD |
5440 | } |
5441 | { | |
5442 | _arg2 = &temp0; | |
5443 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5444 | return NULL; |
2348eaee | 5445 | } |
e91a9dfc RD |
5446 | { |
5447 | wxPy_BEGIN_ALLOW_THREADS; | |
5448 | wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2); | |
5449 | ||
5450 | wxPy_END_ALLOW_THREADS; | |
5451 | } Py_INCREF(Py_None); | |
5452 | _resultobj = Py_None; | |
5453 | return _resultobj; | |
5454 | } | |
5455 | ||
5456 | #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
5457 | static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5458 | PyObject * _resultobj; | |
5459 | wxPyDrawnShape * _arg0; | |
5460 | int _arg1; | |
5461 | wxPoint * _arg2; | |
5462 | PyObject * _argo0 = 0; | |
5463 | PyObject * _obj2 = 0; | |
5464 | char *_kwnames[] = { "self","LIST", NULL }; | |
5465 | ||
5466 | self = self; | |
5467 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2)) | |
5468 | return NULL; | |
5469 | if (_argo0) { | |
5470 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5471 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5472 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p."); | |
5473 | return NULL; | |
5474 | } | |
5475 | } | |
5476 | if (_obj2) | |
5477 | { | |
5478 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5479 | if (_arg2 == NULL) { | |
5480 | return NULL; | |
5481 | } | |
5482 | } | |
5483 | { | |
5484 | if (_obj2) { | |
5485 | _arg1 = PyList_Size(_obj2); | |
5486 | } | |
5487 | else { | |
5488 | _arg1 = 0; | |
5489 | } | |
5490 | } | |
5491 | { | |
5492 | wxPy_BEGIN_ALLOW_THREADS; | |
5493 | wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2); | |
5494 | ||
5495 | wxPy_END_ALLOW_THREADS; | |
5496 | } Py_INCREF(Py_None); | |
5497 | _resultobj = Py_None; | |
5498 | { | |
5499 | delete [] _arg2; | |
5500 | } | |
5501 | return _resultobj; | |
5502 | } | |
5503 | ||
5504 | #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
5505 | static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5506 | PyObject * _resultobj; | |
5507 | wxPyDrawnShape * _arg0; | |
5508 | wxPoint * _arg1; | |
5509 | PyObject * _argo0 = 0; | |
2348eaee RD |
5510 | wxPoint temp; |
5511 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5512 | char *_kwnames[] = { "self","point", NULL }; |
5513 | ||
5514 | self = self; | |
2348eaee | 5515 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5516 | return NULL; |
5517 | if (_argo0) { | |
5518 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5519 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p."); | |
5521 | return NULL; | |
5522 | } | |
5523 | } | |
2348eaee RD |
5524 | { |
5525 | _arg1 = &temp; | |
5526 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5527 | return NULL; |
2348eaee | 5528 | } |
e91a9dfc RD |
5529 | { |
5530 | wxPy_BEGIN_ALLOW_THREADS; | |
5531 | wxPyDrawnShape_DrawPoint(_arg0,*_arg1); | |
5532 | ||
5533 | wxPy_END_ALLOW_THREADS; | |
5534 | } Py_INCREF(Py_None); | |
5535 | _resultobj = Py_None; | |
5536 | return _resultobj; | |
5537 | } | |
5538 | ||
5539 | #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
5540 | static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5541 | PyObject * _resultobj; | |
5542 | wxPyDrawnShape * _arg0; | |
5543 | int _arg1; | |
5544 | wxPoint * _arg2; | |
5545 | int _arg3 = (int ) 0; | |
5546 | PyObject * _argo0 = 0; | |
5547 | PyObject * _obj2 = 0; | |
5548 | char *_kwnames[] = { "self","LIST","flags", NULL }; | |
5549 | ||
5550 | self = self; | |
5551 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
5552 | return NULL; | |
5553 | if (_argo0) { | |
5554 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5555 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p."); | |
5557 | return NULL; | |
5558 | } | |
5559 | } | |
5560 | if (_obj2) | |
5561 | { | |
5562 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5563 | if (_arg2 == NULL) { | |
5564 | return NULL; | |
5565 | } | |
5566 | } | |
5567 | { | |
5568 | if (_obj2) { | |
5569 | _arg1 = PyList_Size(_obj2); | |
5570 | } | |
5571 | else { | |
5572 | _arg1 = 0; | |
5573 | } | |
5574 | } | |
5575 | { | |
5576 | wxPy_BEGIN_ALLOW_THREADS; | |
5577 | wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3); | |
5578 | ||
5579 | wxPy_END_ALLOW_THREADS; | |
5580 | } Py_INCREF(Py_None); | |
5581 | _resultobj = Py_None; | |
5582 | { | |
5583 | delete [] _arg2; | |
5584 | } | |
5585 | return _resultobj; | |
5586 | } | |
5587 | ||
5588 | #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
5589 | static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5590 | PyObject * _resultobj; | |
5591 | wxPyDrawnShape * _arg0; | |
5592 | wxRect * _arg1; | |
5593 | PyObject * _argo0 = 0; | |
2348eaee RD |
5594 | wxRect temp; |
5595 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5596 | char *_kwnames[] = { "self","rect", NULL }; |
5597 | ||
5598 | self = self; | |
2348eaee | 5599 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5600 | return NULL; |
5601 | if (_argo0) { | |
5602 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5603 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5604 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p."); | |
5605 | return NULL; | |
5606 | } | |
5607 | } | |
2348eaee RD |
5608 | { |
5609 | _arg1 = &temp; | |
5610 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5611 | return NULL; |
2348eaee | 5612 | } |
e91a9dfc RD |
5613 | { |
5614 | wxPy_BEGIN_ALLOW_THREADS; | |
5615 | wxPyDrawnShape_DrawRectangle(_arg0,*_arg1); | |
5616 | ||
5617 | wxPy_END_ALLOW_THREADS; | |
5618 | } Py_INCREF(Py_None); | |
5619 | _resultobj = Py_None; | |
5620 | return _resultobj; | |
5621 | } | |
5622 | ||
5623 | #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
5624 | static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5625 | PyObject * _resultobj; | |
5626 | wxPyDrawnShape * _arg0; | |
5627 | wxRect * _arg1; | |
5628 | double _arg2; | |
5629 | PyObject * _argo0 = 0; | |
2348eaee RD |
5630 | wxRect temp; |
5631 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5632 | char *_kwnames[] = { "self","rect","radius", NULL }; |
5633 | ||
5634 | self = self; | |
2348eaee | 5635 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
5636 | return NULL; |
5637 | if (_argo0) { | |
5638 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5639 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5640 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p."); | |
5641 | return NULL; | |
5642 | } | |
5643 | } | |
2348eaee RD |
5644 | { |
5645 | _arg1 = &temp; | |
5646 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5647 | return NULL; |
2348eaee | 5648 | } |
e91a9dfc RD |
5649 | { |
5650 | wxPy_BEGIN_ALLOW_THREADS; | |
5651 | wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2); | |
5652 | ||
5653 | wxPy_END_ALLOW_THREADS; | |
5654 | } Py_INCREF(Py_None); | |
5655 | _resultobj = Py_None; | |
5656 | return _resultobj; | |
5657 | } | |
5658 | ||
5659 | #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
5660 | static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5661 | PyObject * _resultobj; | |
5662 | wxPyDrawnShape * _arg0; | |
5663 | int _arg1; | |
5664 | wxPoint * _arg2; | |
5665 | PyObject * _argo0 = 0; | |
5666 | PyObject * _obj2 = 0; | |
5667 | char *_kwnames[] = { "self","LIST", NULL }; | |
5668 | ||
5669 | self = self; | |
5670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
5671 | return NULL; | |
5672 | if (_argo0) { | |
5673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p."); | |
5676 | return NULL; | |
5677 | } | |
5678 | } | |
5679 | if (_obj2) | |
5680 | { | |
5681 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5682 | if (_arg2 == NULL) { | |
5683 | return NULL; | |
5684 | } | |
5685 | } | |
5686 | { | |
5687 | if (_obj2) { | |
5688 | _arg1 = PyList_Size(_obj2); | |
5689 | } | |
5690 | else { | |
5691 | _arg1 = 0; | |
5692 | } | |
5693 | } | |
5694 | { | |
5695 | wxPy_BEGIN_ALLOW_THREADS; | |
5696 | wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2); | |
5697 | ||
5698 | wxPy_END_ALLOW_THREADS; | |
5699 | } Py_INCREF(Py_None); | |
5700 | _resultobj = Py_None; | |
5701 | { | |
5702 | delete [] _arg2; | |
5703 | } | |
5704 | return _resultobj; | |
5705 | } | |
5706 | ||
5707 | #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
5708 | static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5709 | PyObject * _resultobj; | |
5710 | wxPyDrawnShape * _arg0; | |
5711 | wxString * _arg1; | |
5712 | wxPoint * _arg2; | |
5713 | PyObject * _argo0 = 0; | |
5714 | PyObject * _obj1 = 0; | |
2348eaee RD |
5715 | wxPoint temp; |
5716 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5717 | char *_kwnames[] = { "self","text","point", NULL }; |
5718 | ||
5719 | self = self; | |
2348eaee | 5720 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5721 | return NULL; |
5722 | if (_argo0) { | |
5723 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5724 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5725 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p."); | |
5726 | return NULL; | |
5727 | } | |
5728 | } | |
5729 | { | |
5730 | if (!PyString_Check(_obj1)) { | |
5731 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5732 | return NULL; | |
5733 | } | |
5734 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
5735 | } | |
2348eaee RD |
5736 | { |
5737 | _arg2 = &temp; | |
5738 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5739 | return NULL; |
2348eaee | 5740 | } |
e91a9dfc RD |
5741 | { |
5742 | wxPy_BEGIN_ALLOW_THREADS; | |
5743 | wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2); | |
5744 | ||
5745 | wxPy_END_ALLOW_THREADS; | |
5746 | } Py_INCREF(Py_None); | |
5747 | _resultobj = Py_None; | |
5748 | { | |
5749 | if (_obj1) | |
5750 | delete _arg1; | |
5751 | } | |
5752 | return _resultobj; | |
5753 | } | |
5754 | ||
5755 | #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle()) | |
5756 | static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5757 | PyObject * _resultobj; | |
5758 | int _result; | |
5759 | wxPyDrawnShape * _arg0; | |
5760 | PyObject * _argo0 = 0; | |
5761 | char *_kwnames[] = { "self", NULL }; | |
5762 | ||
5763 | self = self; | |
5764 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0)) | |
5765 | return NULL; | |
5766 | if (_argo0) { | |
5767 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5768 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5769 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p."); | |
5770 | return NULL; | |
5771 | } | |
5772 | } | |
5773 | { | |
5774 | wxPy_BEGIN_ALLOW_THREADS; | |
5775 | _result = (int )wxPyDrawnShape_GetAngle(_arg0); | |
5776 | ||
5777 | wxPy_END_ALLOW_THREADS; | |
5778 | } _resultobj = Py_BuildValue("i",_result); | |
5779 | return _resultobj; | |
5780 | } | |
5781 | ||
5782 | #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
5783 | static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5784 | PyObject * _resultobj; | |
5785 | wxPseudoMetaFile * _result; | |
5786 | wxPyDrawnShape * _arg0; | |
5787 | PyObject * _argo0 = 0; | |
5788 | char *_kwnames[] = { "self", NULL }; | |
5789 | char _ptemp[128]; | |
5790 | ||
5791 | self = self; | |
5792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0)) | |
5793 | return NULL; | |
5794 | if (_argo0) { | |
5795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p."); | |
5798 | return NULL; | |
5799 | } | |
5800 | } | |
5801 | { | |
5802 | wxPy_BEGIN_ALLOW_THREADS; | |
5803 | wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0); | |
5804 | _result = (wxPseudoMetaFile *) &_result_ref; | |
5805 | ||
5806 | wxPy_END_ALLOW_THREADS; | |
5807 | } if (_result) { | |
5808 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
5809 | _resultobj = Py_BuildValue("s",_ptemp); | |
5810 | } else { | |
5811 | Py_INCREF(Py_None); | |
5812 | _resultobj = Py_None; | |
5813 | } | |
5814 | return _resultobj; | |
5815 | } | |
5816 | ||
5817 | #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
5818 | static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5819 | PyObject * _resultobj; | |
5820 | double _result; | |
5821 | wxPyDrawnShape * _arg0; | |
5822 | PyObject * _argo0 = 0; | |
5823 | char *_kwnames[] = { "self", NULL }; | |
5824 | ||
5825 | self = self; | |
5826 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0)) | |
5827 | return NULL; | |
5828 | if (_argo0) { | |
5829 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5830 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p."); | |
5832 | return NULL; | |
5833 | } | |
5834 | } | |
5835 | { | |
5836 | wxPy_BEGIN_ALLOW_THREADS; | |
5837 | _result = (double )wxPyDrawnShape_GetRotation(_arg0); | |
5838 | ||
5839 | wxPy_END_ALLOW_THREADS; | |
5840 | } _resultobj = Py_BuildValue("d",_result); | |
5841 | return _resultobj; | |
5842 | } | |
5843 | ||
5844 | #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0)) | |
5845 | static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5846 | PyObject * _resultobj; | |
5847 | bool _result; | |
5848 | wxPyDrawnShape * _arg0; | |
5849 | char * _arg1; | |
5850 | PyObject * _argo0 = 0; | |
5851 | char *_kwnames[] = { "self","filename", NULL }; | |
5852 | ||
5853 | self = self; | |
5854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1)) | |
5855 | return NULL; | |
5856 | if (_argo0) { | |
5857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p."); | |
5860 | return NULL; | |
5861 | } | |
5862 | } | |
5863 | { | |
5864 | wxPy_BEGIN_ALLOW_THREADS; | |
5865 | _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1); | |
5866 | ||
5867 | wxPy_END_ALLOW_THREADS; | |
5868 | } _resultobj = Py_BuildValue("i",_result); | |
5869 | return _resultobj; | |
5870 | } | |
5871 | ||
5872 | #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
5873 | static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5874 | PyObject * _resultobj; | |
5875 | wxPyDrawnShape * _arg0; | |
5876 | double _arg1; | |
5877 | double _arg2; | |
5878 | double _arg3; | |
5879 | PyObject * _argo0 = 0; | |
5880 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
5881 | ||
5882 | self = self; | |
5883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5884 | return NULL; | |
5885 | if (_argo0) { | |
5886 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5887 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p."); | |
5889 | return NULL; | |
5890 | } | |
5891 | } | |
5892 | { | |
5893 | wxPy_BEGIN_ALLOW_THREADS; | |
5894 | wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3); | |
5895 | ||
5896 | wxPy_END_ALLOW_THREADS; | |
5897 | } Py_INCREF(Py_None); | |
5898 | _resultobj = Py_None; | |
5899 | return _resultobj; | |
5900 | } | |
5901 | ||
5902 | #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
5903 | static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5904 | PyObject * _resultobj; | |
5905 | wxPyDrawnShape * _arg0; | |
5906 | wxRect * _arg1; | |
5907 | PyObject * _argo0 = 0; | |
2348eaee RD |
5908 | wxRect temp; |
5909 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5910 | char *_kwnames[] = { "self","rect", NULL }; |
5911 | ||
5912 | self = self; | |
2348eaee | 5913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5914 | return NULL; |
5915 | if (_argo0) { | |
5916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p."); | |
5919 | return NULL; | |
5920 | } | |
5921 | } | |
2348eaee RD |
5922 | { |
5923 | _arg1 = &temp; | |
5924 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5925 | return NULL; |
2348eaee | 5926 | } |
e91a9dfc RD |
5927 | { |
5928 | wxPy_BEGIN_ALLOW_THREADS; | |
5929 | wxPyDrawnShape_SetClippingRect(_arg0,*_arg1); | |
5930 | ||
5931 | wxPy_END_ALLOW_THREADS; | |
5932 | } Py_INCREF(Py_None); | |
5933 | _resultobj = Py_None; | |
5934 | return _resultobj; | |
5935 | } | |
5936 | ||
5937 | #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0)) | |
5938 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5939 | PyObject * _resultobj; | |
5940 | wxPyDrawnShape * _arg0; | |
5941 | wxColour * _arg1; | |
5942 | PyObject * _argo0 = 0; | |
5943 | PyObject * _argo1 = 0; | |
5944 | char *_kwnames[] = { "self","colour", NULL }; | |
5945 | ||
5946 | self = self; | |
5947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_argo1)) | |
5948 | return NULL; | |
5949 | if (_argo0) { | |
5950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p."); | |
5953 | return NULL; | |
5954 | } | |
5955 | } | |
5956 | if (_argo1) { | |
5957 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5958 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
5959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxColour_p."); | |
5960 | return NULL; | |
5961 | } | |
5962 | } | |
5963 | { | |
5964 | wxPy_BEGIN_ALLOW_THREADS; | |
5965 | wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1); | |
5966 | ||
5967 | wxPy_END_ALLOW_THREADS; | |
5968 | } Py_INCREF(Py_None); | |
5969 | _resultobj = Py_None; | |
5970 | return _resultobj; | |
5971 | } | |
5972 | ||
5973 | #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0)) | |
5974 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5975 | PyObject * _resultobj; | |
5976 | wxPyDrawnShape * _arg0; | |
5977 | int _arg1; | |
5978 | PyObject * _argo0 = 0; | |
5979 | char *_kwnames[] = { "self","mode", NULL }; | |
5980 | ||
5981 | self = self; | |
5982 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
5983 | return NULL; | |
5984 | if (_argo0) { | |
5985 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5986 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5987 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p."); | |
5988 | return NULL; | |
5989 | } | |
5990 | } | |
5991 | { | |
5992 | wxPy_BEGIN_ALLOW_THREADS; | |
5993 | wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1); | |
5994 | ||
5995 | wxPy_END_ALLOW_THREADS; | |
5996 | } Py_INCREF(Py_None); | |
5997 | _resultobj = Py_None; | |
5998 | return _resultobj; | |
5999 | } | |
6000 | ||
6001 | #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1)) | |
6002 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6003 | PyObject * _resultobj; | |
6004 | wxPyDrawnShape * _arg0; | |
6005 | wxBrush * _arg1; | |
6006 | bool _arg2 = (bool ) FALSE; | |
6007 | PyObject * _argo0 = 0; | |
6008 | PyObject * _argo1 = 0; | |
6009 | int tempbool2 = (int) FALSE; | |
6010 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6011 | ||
6012 | self = self; | |
6013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6014 | return NULL; | |
6015 | if (_argo0) { | |
6016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p."); | |
6019 | return NULL; | |
6020 | } | |
6021 | } | |
6022 | if (_argo1) { | |
6023 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6024 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
6025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnBrush. Expected _wxBrush_p."); | |
6026 | return NULL; | |
6027 | } | |
6028 | } | |
6029 | _arg2 = (bool ) tempbool2; | |
6030 | { | |
6031 | wxPy_BEGIN_ALLOW_THREADS; | |
6032 | wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2); | |
6033 | ||
6034 | wxPy_END_ALLOW_THREADS; | |
6035 | } Py_INCREF(Py_None); | |
6036 | _resultobj = Py_None; | |
6037 | return _resultobj; | |
6038 | } | |
6039 | ||
6040 | #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0)) | |
6041 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6042 | PyObject * _resultobj; | |
6043 | wxPyDrawnShape * _arg0; | |
6044 | wxFont * _arg1; | |
6045 | PyObject * _argo0 = 0; | |
6046 | PyObject * _argo1 = 0; | |
6047 | char *_kwnames[] = { "self","font", NULL }; | |
6048 | ||
6049 | self = self; | |
6050 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_argo1)) | |
6051 | return NULL; | |
6052 | if (_argo0) { | |
6053 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6054 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6055 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p."); | |
6056 | return NULL; | |
6057 | } | |
6058 | } | |
6059 | if (_argo1) { | |
6060 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6061 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
6062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnFont. Expected _wxFont_p."); | |
6063 | return NULL; | |
6064 | } | |
6065 | } | |
6066 | { | |
6067 | wxPy_BEGIN_ALLOW_THREADS; | |
6068 | wxPyDrawnShape_SetDrawnFont(_arg0,_arg1); | |
6069 | ||
6070 | wxPy_END_ALLOW_THREADS; | |
6071 | } Py_INCREF(Py_None); | |
6072 | _resultobj = Py_None; | |
6073 | return _resultobj; | |
6074 | } | |
6075 | ||
6076 | #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1)) | |
6077 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6078 | PyObject * _resultobj; | |
6079 | wxPyDrawnShape * _arg0; | |
6080 | wxPen * _arg1; | |
6081 | bool _arg2 = (bool ) FALSE; | |
6082 | PyObject * _argo0 = 0; | |
6083 | PyObject * _argo1 = 0; | |
6084 | int tempbool2 = (int) FALSE; | |
6085 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6086 | ||
6087 | self = self; | |
6088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6089 | return NULL; | |
6090 | if (_argo0) { | |
6091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p."); | |
6094 | return NULL; | |
6095 | } | |
6096 | } | |
6097 | if (_argo1) { | |
6098 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6099 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
6100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnPen. Expected _wxPen_p."); | |
6101 | return NULL; | |
6102 | } | |
6103 | } | |
6104 | _arg2 = (bool ) tempbool2; | |
6105 | { | |
6106 | wxPy_BEGIN_ALLOW_THREADS; | |
6107 | wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2); | |
6108 | ||
6109 | wxPy_END_ALLOW_THREADS; | |
6110 | } Py_INCREF(Py_None); | |
6111 | _resultobj = Py_None; | |
6112 | return _resultobj; | |
6113 | } | |
6114 | ||
6115 | #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0)) | |
6116 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6117 | PyObject * _resultobj; | |
6118 | wxPyDrawnShape * _arg0; | |
6119 | wxColour * _arg1; | |
6120 | PyObject * _argo0 = 0; | |
6121 | PyObject * _argo1 = 0; | |
6122 | char *_kwnames[] = { "self","colour", NULL }; | |
6123 | ||
6124 | self = self; | |
6125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_argo1)) | |
6126 | return NULL; | |
6127 | if (_argo0) { | |
6128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p."); | |
6131 | return NULL; | |
6132 | } | |
6133 | } | |
6134 | if (_argo1) { | |
6135 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6136 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) { | |
6137 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxColour_p."); | |
6138 | return NULL; | |
6139 | } | |
6140 | } | |
6141 | { | |
6142 | wxPy_BEGIN_ALLOW_THREADS; | |
6143 | wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1); | |
6144 | ||
6145 | wxPy_END_ALLOW_THREADS; | |
6146 | } Py_INCREF(Py_None); | |
6147 | _resultobj = Py_None; | |
6148 | return _resultobj; | |
6149 | } | |
6150 | ||
6151 | #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
6152 | static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6153 | PyObject * _resultobj; | |
6154 | wxPyDrawnShape * _arg0; | |
6155 | double _arg1; | |
6156 | double _arg2; | |
6157 | PyObject * _argo0 = 0; | |
6158 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
6159 | ||
6160 | self = self; | |
6161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6162 | return NULL; | |
6163 | if (_argo0) { | |
6164 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6165 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p."); | |
6167 | return NULL; | |
6168 | } | |
6169 | } | |
6170 | { | |
6171 | wxPy_BEGIN_ALLOW_THREADS; | |
6172 | wxPyDrawnShape_Scale(_arg0,_arg1,_arg2); | |
6173 | ||
6174 | wxPy_END_ALLOW_THREADS; | |
6175 | } Py_INCREF(Py_None); | |
6176 | _resultobj = Py_None; | |
6177 | return _resultobj; | |
6178 | } | |
6179 | ||
6180 | #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0)) | |
6181 | static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6182 | PyObject * _resultobj; | |
6183 | wxPyDrawnShape * _arg0; | |
6184 | bool _arg1; | |
6185 | PyObject * _argo0 = 0; | |
6186 | int tempbool1; | |
6187 | char *_kwnames[] = { "self","save", NULL }; | |
6188 | ||
6189 | self = self; | |
6190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1)) | |
6191 | return NULL; | |
6192 | if (_argo0) { | |
6193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p."); | |
6196 | return NULL; | |
6197 | } | |
6198 | } | |
6199 | _arg1 = (bool ) tempbool1; | |
6200 | { | |
6201 | wxPy_BEGIN_ALLOW_THREADS; | |
6202 | wxPyDrawnShape_SetSaveToFile(_arg0,_arg1); | |
6203 | ||
6204 | wxPy_END_ALLOW_THREADS; | |
6205 | } Py_INCREF(Py_None); | |
6206 | _resultobj = Py_None; | |
6207 | return _resultobj; | |
6208 | } | |
6209 | ||
6210 | #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
6211 | static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6212 | PyObject * _resultobj; | |
6213 | wxPyDrawnShape * _arg0; | |
6214 | double _arg1; | |
6215 | double _arg2; | |
6216 | PyObject * _argo0 = 0; | |
6217 | char *_kwnames[] = { "self","x","y", NULL }; | |
6218 | ||
6219 | self = self; | |
6220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6221 | return NULL; | |
6222 | if (_argo0) { | |
6223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p."); | |
6226 | return NULL; | |
6227 | } | |
6228 | } | |
6229 | { | |
6230 | wxPy_BEGIN_ALLOW_THREADS; | |
6231 | wxPyDrawnShape_Translate(_arg0,_arg1,_arg2); | |
6232 | ||
6233 | wxPy_END_ALLOW_THREADS; | |
6234 | } Py_INCREF(Py_None); | |
6235 | _resultobj = Py_None; | |
6236 | return _resultobj; | |
6237 | } | |
6238 | ||
6239 | #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6240 | static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6241 | PyObject * _resultobj; | |
6242 | wxPyDrawnShape * _arg0; | |
6243 | PyObject * _argo0 = 0; | |
6244 | char *_kwnames[] = { "self", NULL }; | |
6245 | ||
6246 | self = self; | |
6247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0)) | |
6248 | return NULL; | |
6249 | if (_argo0) { | |
6250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p."); | |
6253 | return NULL; | |
6254 | } | |
6255 | } | |
6256 | { | |
6257 | wxPy_BEGIN_ALLOW_THREADS; | |
6258 | wxPyDrawnShape_base_OnDelete(_arg0); | |
6259 | ||
6260 | wxPy_END_ALLOW_THREADS; | |
6261 | } Py_INCREF(Py_None); | |
6262 | _resultobj = Py_None; | |
6263 | return _resultobj; | |
6264 | } | |
6265 | ||
6266 | #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6267 | static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6268 | PyObject * _resultobj; | |
6269 | wxPyDrawnShape * _arg0; | |
6270 | wxDC * _arg1; | |
6271 | PyObject * _argo0 = 0; | |
6272 | PyObject * _argo1 = 0; | |
6273 | char *_kwnames[] = { "self","dc", NULL }; | |
6274 | ||
6275 | self = self; | |
6276 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6277 | return NULL; | |
6278 | if (_argo0) { | |
6279 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6280 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6281 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p."); | |
6282 | return NULL; | |
6283 | } | |
6284 | } | |
6285 | if (_argo1) { | |
6286 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6287 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p."); | |
6289 | return NULL; | |
6290 | } | |
6291 | } | |
6292 | { | |
6293 | wxPy_BEGIN_ALLOW_THREADS; | |
6294 | wxPyDrawnShape_base_OnDraw(_arg0,*_arg1); | |
6295 | ||
6296 | wxPy_END_ALLOW_THREADS; | |
6297 | } Py_INCREF(Py_None); | |
6298 | _resultobj = Py_None; | |
6299 | return _resultobj; | |
6300 | } | |
6301 | ||
6302 | #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6303 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6304 | PyObject * _resultobj; | |
6305 | wxPyDrawnShape * _arg0; | |
6306 | wxDC * _arg1; | |
6307 | PyObject * _argo0 = 0; | |
6308 | PyObject * _argo1 = 0; | |
6309 | char *_kwnames[] = { "self","dc", NULL }; | |
6310 | ||
6311 | self = self; | |
6312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6313 | return NULL; | |
6314 | if (_argo0) { | |
6315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p."); | |
6318 | return NULL; | |
6319 | } | |
6320 | } | |
6321 | if (_argo1) { | |
6322 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6323 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p."); | |
6325 | return NULL; | |
6326 | } | |
6327 | } | |
6328 | { | |
6329 | wxPy_BEGIN_ALLOW_THREADS; | |
6330 | wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1); | |
6331 | ||
6332 | wxPy_END_ALLOW_THREADS; | |
6333 | } Py_INCREF(Py_None); | |
6334 | _resultobj = Py_None; | |
6335 | return _resultobj; | |
6336 | } | |
6337 | ||
6338 | #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6339 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6340 | PyObject * _resultobj; | |
6341 | wxPyDrawnShape * _arg0; | |
6342 | wxDC * _arg1; | |
6343 | bool _arg2 = (bool ) FALSE; | |
6344 | PyObject * _argo0 = 0; | |
6345 | PyObject * _argo1 = 0; | |
6346 | int tempbool2 = (int) FALSE; | |
6347 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6348 | ||
6349 | self = self; | |
6350 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6351 | return NULL; | |
6352 | if (_argo0) { | |
6353 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6354 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p."); | |
6356 | return NULL; | |
6357 | } | |
6358 | } | |
6359 | if (_argo1) { | |
6360 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6361 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6363 | return NULL; | |
6364 | } | |
6365 | } | |
6366 | _arg2 = (bool ) tempbool2; | |
6367 | { | |
6368 | wxPy_BEGIN_ALLOW_THREADS; | |
6369 | wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6370 | ||
6371 | wxPy_END_ALLOW_THREADS; | |
6372 | } Py_INCREF(Py_None); | |
6373 | _resultobj = Py_None; | |
6374 | return _resultobj; | |
6375 | } | |
6376 | ||
6377 | #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6378 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6379 | PyObject * _resultobj; | |
6380 | wxPyDrawnShape * _arg0; | |
6381 | wxDC * _arg1; | |
6382 | PyObject * _argo0 = 0; | |
6383 | PyObject * _argo1 = 0; | |
6384 | char *_kwnames[] = { "self","dc", NULL }; | |
6385 | ||
6386 | self = self; | |
6387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6388 | return NULL; | |
6389 | if (_argo0) { | |
6390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p."); | |
6393 | return NULL; | |
6394 | } | |
6395 | } | |
6396 | if (_argo1) { | |
6397 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6398 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6400 | return NULL; | |
6401 | } | |
6402 | } | |
6403 | { | |
6404 | wxPy_BEGIN_ALLOW_THREADS; | |
6405 | wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1); | |
6406 | ||
6407 | wxPy_END_ALLOW_THREADS; | |
6408 | } Py_INCREF(Py_None); | |
6409 | _resultobj = Py_None; | |
6410 | return _resultobj; | |
6411 | } | |
6412 | ||
6413 | #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6414 | static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6415 | PyObject * _resultobj; | |
6416 | wxPyDrawnShape * _arg0; | |
6417 | wxDC * _arg1; | |
6418 | PyObject * _argo0 = 0; | |
6419 | PyObject * _argo1 = 0; | |
6420 | char *_kwnames[] = { "self","dc", NULL }; | |
6421 | ||
6422 | self = self; | |
6423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6424 | return NULL; | |
6425 | if (_argo0) { | |
6426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p."); | |
6429 | return NULL; | |
6430 | } | |
6431 | } | |
6432 | if (_argo1) { | |
6433 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6434 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6435 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p."); | |
6436 | return NULL; | |
6437 | } | |
6438 | } | |
6439 | { | |
6440 | wxPy_BEGIN_ALLOW_THREADS; | |
6441 | wxPyDrawnShape_base_OnErase(_arg0,*_arg1); | |
6442 | ||
6443 | wxPy_END_ALLOW_THREADS; | |
6444 | } Py_INCREF(Py_None); | |
6445 | _resultobj = Py_None; | |
6446 | return _resultobj; | |
6447 | } | |
6448 | ||
6449 | #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6450 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6451 | PyObject * _resultobj; | |
6452 | wxPyDrawnShape * _arg0; | |
6453 | wxDC * _arg1; | |
6454 | PyObject * _argo0 = 0; | |
6455 | PyObject * _argo1 = 0; | |
6456 | char *_kwnames[] = { "self","dc", NULL }; | |
6457 | ||
6458 | self = self; | |
6459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6460 | return NULL; | |
6461 | if (_argo0) { | |
6462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p."); | |
6465 | return NULL; | |
6466 | } | |
6467 | } | |
6468 | if (_argo1) { | |
6469 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6470 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p."); | |
6472 | return NULL; | |
6473 | } | |
6474 | } | |
6475 | { | |
6476 | wxPy_BEGIN_ALLOW_THREADS; | |
6477 | wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1); | |
6478 | ||
6479 | wxPy_END_ALLOW_THREADS; | |
6480 | } Py_INCREF(Py_None); | |
6481 | _resultobj = Py_None; | |
6482 | return _resultobj; | |
6483 | } | |
6484 | ||
6485 | #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6486 | static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6487 | PyObject * _resultobj; | |
6488 | wxPyDrawnShape * _arg0; | |
6489 | wxDC * _arg1; | |
6490 | PyObject * _argo0 = 0; | |
6491 | PyObject * _argo1 = 0; | |
6492 | char *_kwnames[] = { "self","dc", NULL }; | |
6493 | ||
6494 | self = self; | |
6495 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6496 | return NULL; | |
6497 | if (_argo0) { | |
6498 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6499 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p."); | |
6501 | return NULL; | |
6502 | } | |
6503 | } | |
6504 | if (_argo1) { | |
6505 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6506 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6507 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p."); | |
6508 | return NULL; | |
6509 | } | |
6510 | } | |
6511 | { | |
6512 | wxPy_BEGIN_ALLOW_THREADS; | |
6513 | wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1); | |
6514 | ||
6515 | wxPy_END_ALLOW_THREADS; | |
6516 | } Py_INCREF(Py_None); | |
6517 | _resultobj = Py_None; | |
6518 | return _resultobj; | |
6519 | } | |
6520 | ||
6521 | #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6522 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6523 | PyObject * _resultobj; | |
6524 | wxPyDrawnShape * _arg0; | |
6525 | double _arg1; | |
6526 | double _arg2; | |
6527 | int _arg3 = (int ) 0; | |
6528 | int _arg4 = (int ) 0; | |
6529 | PyObject * _argo0 = 0; | |
6530 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6531 | ||
6532 | self = self; | |
6533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6534 | return NULL; | |
6535 | if (_argo0) { | |
6536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p."); | |
6539 | return NULL; | |
6540 | } | |
6541 | } | |
6542 | { | |
6543 | wxPy_BEGIN_ALLOW_THREADS; | |
6544 | wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6545 | ||
6546 | wxPy_END_ALLOW_THREADS; | |
6547 | } Py_INCREF(Py_None); | |
6548 | _resultobj = Py_None; | |
6549 | return _resultobj; | |
6550 | } | |
6551 | ||
6552 | #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6553 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6554 | PyObject * _resultobj; | |
6555 | wxPyDrawnShape * _arg0; | |
6556 | double _arg1; | |
6557 | double _arg2; | |
6558 | int _arg3 = (int ) 0; | |
6559 | int _arg4 = (int ) 0; | |
6560 | PyObject * _argo0 = 0; | |
6561 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6562 | ||
6563 | self = self; | |
6564 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6565 | return NULL; | |
6566 | if (_argo0) { | |
6567 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6568 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p."); | |
6570 | return NULL; | |
6571 | } | |
6572 | } | |
6573 | { | |
6574 | wxPy_BEGIN_ALLOW_THREADS; | |
6575 | wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6576 | ||
6577 | wxPy_END_ALLOW_THREADS; | |
6578 | } Py_INCREF(Py_None); | |
6579 | _resultobj = Py_None; | |
6580 | return _resultobj; | |
6581 | } | |
6582 | ||
6583 | #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6584 | static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6585 | PyObject * _resultobj; | |
6586 | wxPyDrawnShape * _arg0; | |
6587 | double _arg1; | |
6588 | double _arg2; | |
6589 | int _arg3 = (int ) 0; | |
6590 | int _arg4 = (int ) 0; | |
6591 | PyObject * _argo0 = 0; | |
6592 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6593 | ||
6594 | self = self; | |
6595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnRightClick. Expected _wxPyDrawnShape_p."); | |
6601 | return NULL; | |
6602 | } | |
6603 | } | |
6604 | { | |
6605 | wxPy_BEGIN_ALLOW_THREADS; | |
6606 | wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6607 | ||
6608 | wxPy_END_ALLOW_THREADS; | |
6609 | } Py_INCREF(Py_None); | |
6610 | _resultobj = Py_None; | |
6611 | return _resultobj; | |
6612 | } | |
6613 | ||
6614 | #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
6615 | static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6616 | PyObject * _resultobj; | |
6617 | wxPyDrawnShape * _arg0; | |
6618 | double _arg1; | |
6619 | double _arg2; | |
6620 | PyObject * _argo0 = 0; | |
6621 | char *_kwnames[] = { "self","x","y", NULL }; | |
6622 | ||
6623 | self = self; | |
6624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6625 | return NULL; | |
6626 | if (_argo0) { | |
6627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p."); | |
6630 | return NULL; | |
6631 | } | |
6632 | } | |
6633 | { | |
6634 | wxPy_BEGIN_ALLOW_THREADS; | |
6635 | wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2); | |
6636 | ||
6637 | wxPy_END_ALLOW_THREADS; | |
6638 | } Py_INCREF(Py_None); | |
6639 | _resultobj = Py_None; | |
6640 | return _resultobj; | |
6641 | } | |
6642 | ||
6643 | #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6644 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6645 | PyObject * _resultobj; | |
6646 | bool _result; | |
6647 | wxPyDrawnShape * _arg0; | |
6648 | wxDC * _arg1; | |
6649 | double _arg2; | |
6650 | double _arg3; | |
6651 | double _arg4; | |
6652 | double _arg5; | |
6653 | bool _arg6 = (bool ) TRUE; | |
6654 | PyObject * _argo0 = 0; | |
6655 | PyObject * _argo1 = 0; | |
6656 | int tempbool6 = (int) TRUE; | |
6657 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6658 | ||
6659 | self = self; | |
6660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6661 | return NULL; | |
6662 | if (_argo0) { | |
6663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p."); | |
6666 | return NULL; | |
6667 | } | |
6668 | } | |
6669 | if (_argo1) { | |
6670 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6671 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p."); | |
6673 | return NULL; | |
6674 | } | |
6675 | } | |
6676 | _arg6 = (bool ) tempbool6; | |
6677 | { | |
6678 | wxPy_BEGIN_ALLOW_THREADS; | |
6679 | _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6680 | ||
6681 | wxPy_END_ALLOW_THREADS; | |
6682 | } _resultobj = Py_BuildValue("i",_result); | |
6683 | return _resultobj; | |
6684 | } | |
6685 | ||
6686 | #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6687 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6688 | PyObject * _resultobj; | |
6689 | wxPyDrawnShape * _arg0; | |
6690 | wxDC * _arg1; | |
6691 | double _arg2; | |
6692 | double _arg3; | |
6693 | double _arg4; | |
6694 | double _arg5; | |
6695 | bool _arg6 = (bool ) TRUE; | |
6696 | PyObject * _argo0 = 0; | |
6697 | PyObject * _argo1 = 0; | |
6698 | int tempbool6 = (int) TRUE; | |
6699 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6700 | ||
6701 | self = self; | |
6702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6703 | return NULL; | |
6704 | if (_argo0) { | |
6705 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6706 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p."); | |
6708 | return NULL; | |
6709 | } | |
6710 | } | |
6711 | if (_argo1) { | |
6712 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6713 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6714 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p."); | |
6715 | return NULL; | |
6716 | } | |
6717 | } | |
6718 | _arg6 = (bool ) tempbool6; | |
6719 | { | |
6720 | wxPy_BEGIN_ALLOW_THREADS; | |
6721 | wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6722 | ||
6723 | wxPy_END_ALLOW_THREADS; | |
6724 | } Py_INCREF(Py_None); | |
6725 | _resultobj = Py_None; | |
6726 | return _resultobj; | |
6727 | } | |
6728 | ||
6729 | #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6730 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6731 | PyObject * _resultobj; | |
6732 | wxPyDrawnShape * _arg0; | |
6733 | bool _arg1; | |
6734 | double _arg2; | |
6735 | double _arg3; | |
6736 | int _arg4 = (int ) 0; | |
6737 | int _arg5 = (int ) 0; | |
6738 | PyObject * _argo0 = 0; | |
6739 | int tempbool1; | |
6740 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6741 | ||
6742 | self = self; | |
6743 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6744 | return NULL; | |
6745 | if (_argo0) { | |
6746 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6747 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6748 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p."); | |
6749 | return NULL; | |
6750 | } | |
6751 | } | |
6752 | _arg1 = (bool ) tempbool1; | |
6753 | { | |
6754 | wxPy_BEGIN_ALLOW_THREADS; | |
6755 | wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6756 | ||
6757 | wxPy_END_ALLOW_THREADS; | |
6758 | } Py_INCREF(Py_None); | |
6759 | _resultobj = Py_None; | |
6760 | return _resultobj; | |
6761 | } | |
6762 | ||
6763 | #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6764 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6765 | PyObject * _resultobj; | |
6766 | wxPyDrawnShape * _arg0; | |
6767 | double _arg1; | |
6768 | double _arg2; | |
6769 | int _arg3 = (int ) 0; | |
6770 | int _arg4 = (int ) 0; | |
6771 | PyObject * _argo0 = 0; | |
6772 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6773 | ||
6774 | self = self; | |
6775 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6776 | return NULL; | |
6777 | if (_argo0) { | |
6778 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6779 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6780 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
6781 | return NULL; | |
6782 | } | |
6783 | } | |
6784 | { | |
6785 | wxPy_BEGIN_ALLOW_THREADS; | |
6786 | wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6787 | ||
6788 | wxPy_END_ALLOW_THREADS; | |
6789 | } Py_INCREF(Py_None); | |
6790 | _resultobj = Py_None; | |
6791 | return _resultobj; | |
6792 | } | |
6793 | ||
6794 | #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6795 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6796 | PyObject * _resultobj; | |
6797 | wxPyDrawnShape * _arg0; | |
6798 | double _arg1; | |
6799 | double _arg2; | |
6800 | int _arg3 = (int ) 0; | |
6801 | int _arg4 = (int ) 0; | |
6802 | PyObject * _argo0 = 0; | |
6803 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6804 | ||
6805 | self = self; | |
6806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6807 | return NULL; | |
6808 | if (_argo0) { | |
6809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p."); | |
6812 | return NULL; | |
6813 | } | |
6814 | } | |
6815 | { | |
6816 | wxPy_BEGIN_ALLOW_THREADS; | |
6817 | wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6818 | ||
6819 | wxPy_END_ALLOW_THREADS; | |
6820 | } Py_INCREF(Py_None); | |
6821 | _resultobj = Py_None; | |
6822 | return _resultobj; | |
6823 | } | |
6824 | ||
6825 | #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6826 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6827 | PyObject * _resultobj; | |
6828 | wxPyDrawnShape * _arg0; | |
6829 | bool _arg1; | |
6830 | double _arg2; | |
6831 | double _arg3; | |
6832 | int _arg4 = (int ) 0; | |
6833 | int _arg5 = (int ) 0; | |
6834 | PyObject * _argo0 = 0; | |
6835 | int tempbool1; | |
6836 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6837 | ||
6838 | self = self; | |
6839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6840 | return NULL; | |
6841 | if (_argo0) { | |
6842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p."); | |
6845 | return NULL; | |
6846 | } | |
6847 | } | |
6848 | _arg1 = (bool ) tempbool1; | |
6849 | { | |
6850 | wxPy_BEGIN_ALLOW_THREADS; | |
6851 | wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6852 | ||
6853 | wxPy_END_ALLOW_THREADS; | |
6854 | } Py_INCREF(Py_None); | |
6855 | _resultobj = Py_None; | |
6856 | return _resultobj; | |
6857 | } | |
6858 | ||
6859 | #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6860 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6861 | PyObject * _resultobj; | |
6862 | wxPyDrawnShape * _arg0; | |
6863 | double _arg1; | |
6864 | double _arg2; | |
6865 | int _arg3 = (int ) 0; | |
6866 | int _arg4 = (int ) 0; | |
6867 | PyObject * _argo0 = 0; | |
6868 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6869 | ||
6870 | self = self; | |
6871 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6872 | return NULL; | |
6873 | if (_argo0) { | |
6874 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6875 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p."); | |
6877 | return NULL; | |
6878 | } | |
6879 | } | |
6880 | { | |
6881 | wxPy_BEGIN_ALLOW_THREADS; | |
6882 | wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6883 | ||
6884 | wxPy_END_ALLOW_THREADS; | |
6885 | } Py_INCREF(Py_None); | |
6886 | _resultobj = Py_None; | |
6887 | return _resultobj; | |
6888 | } | |
6889 | ||
6890 | #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6891 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6892 | PyObject * _resultobj; | |
6893 | wxPyDrawnShape * _arg0; | |
6894 | double _arg1; | |
6895 | double _arg2; | |
6896 | int _arg3 = (int ) 0; | |
6897 | int _arg4 = (int ) 0; | |
6898 | PyObject * _argo0 = 0; | |
6899 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6900 | ||
6901 | self = self; | |
6902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6903 | return NULL; | |
6904 | if (_argo0) { | |
6905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p."); | |
6908 | return NULL; | |
6909 | } | |
6910 | } | |
6911 | { | |
6912 | wxPy_BEGIN_ALLOW_THREADS; | |
6913 | wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6914 | ||
6915 | wxPy_END_ALLOW_THREADS; | |
6916 | } Py_INCREF(Py_None); | |
6917 | _resultobj = Py_None; | |
6918 | return _resultobj; | |
6919 | } | |
6920 | ||
6921 | #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6922 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6923 | PyObject * _resultobj; | |
6924 | wxPyDrawnShape * _arg0; | |
6925 | wxDC * _arg1; | |
6926 | double _arg2; | |
6927 | double _arg3; | |
6928 | double _arg4; | |
6929 | double _arg5; | |
6930 | PyObject * _argo0 = 0; | |
6931 | PyObject * _argo1 = 0; | |
6932 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
6933 | ||
6934 | self = self; | |
6935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6936 | return NULL; | |
6937 | if (_argo0) { | |
6938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p."); | |
6941 | return NULL; | |
6942 | } | |
6943 | } | |
6944 | if (_argo1) { | |
6945 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6946 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6947 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p."); | |
6948 | return NULL; | |
6949 | } | |
6950 | } | |
6951 | { | |
6952 | wxPy_BEGIN_ALLOW_THREADS; | |
6953 | wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
6954 | ||
6955 | wxPy_END_ALLOW_THREADS; | |
6956 | } Py_INCREF(Py_None); | |
6957 | _resultobj = Py_None; | |
6958 | return _resultobj; | |
6959 | } | |
6960 | ||
6961 | #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
6962 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6963 | PyObject * _resultobj; | |
6964 | wxPyDrawnShape * _arg0; | |
6965 | wxDC * _arg1; | |
6966 | PyObject * _argo0 = 0; | |
6967 | PyObject * _argo1 = 0; | |
6968 | char *_kwnames[] = { "self","dc", NULL }; | |
6969 | ||
6970 | self = self; | |
6971 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
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_OnDrawControlPoints. Expected _wxPyDrawnShape_p."); | |
6977 | return NULL; | |
6978 | } | |
6979 | } | |
6980 | if (_argo1) { | |
6981 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6982 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
6984 | return NULL; | |
6985 | } | |
6986 | } | |
6987 | { | |
6988 | wxPy_BEGIN_ALLOW_THREADS; | |
6989 | wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
6990 | ||
6991 | wxPy_END_ALLOW_THREADS; | |
6992 | } Py_INCREF(Py_None); | |
6993 | _resultobj = Py_None; | |
6994 | return _resultobj; | |
6995 | } | |
6996 | ||
6997 | #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
6998 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6999 | PyObject * _resultobj; | |
7000 | wxPyDrawnShape * _arg0; | |
7001 | wxDC * _arg1; | |
7002 | PyObject * _argo0 = 0; | |
7003 | PyObject * _argo1 = 0; | |
7004 | char *_kwnames[] = { "self","dc", NULL }; | |
7005 | ||
7006 | self = self; | |
7007 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7008 | return NULL; | |
7009 | if (_argo0) { | |
7010 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7011 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7012 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p."); | |
7013 | return NULL; | |
7014 | } | |
7015 | } | |
7016 | if (_argo1) { | |
7017 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7018 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7019 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7020 | return NULL; | |
7021 | } | |
7022 | } | |
7023 | { | |
7024 | wxPy_BEGIN_ALLOW_THREADS; | |
7025 | wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7026 | ||
7027 | wxPy_END_ALLOW_THREADS; | |
7028 | } Py_INCREF(Py_None); | |
7029 | _resultobj = Py_None; | |
7030 | return _resultobj; | |
7031 | } | |
7032 | ||
7033 | #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7034 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7035 | PyObject * _resultobj; | |
7036 | wxPyDrawnShape * _arg0; | |
7037 | wxDC * _arg1; | |
7038 | bool _arg2 = (bool ) TRUE; | |
7039 | PyObject * _argo0 = 0; | |
7040 | PyObject * _argo1 = 0; | |
7041 | int tempbool2 = (int) TRUE; | |
7042 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7043 | ||
7044 | self = self; | |
7045 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7046 | return NULL; | |
7047 | if (_argo0) { | |
7048 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7049 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7050 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p."); | |
7051 | return NULL; | |
7052 | } | |
7053 | } | |
7054 | if (_argo1) { | |
7055 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7056 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7057 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p."); | |
7058 | return NULL; | |
7059 | } | |
7060 | } | |
7061 | _arg2 = (bool ) tempbool2; | |
7062 | { | |
7063 | wxPy_BEGIN_ALLOW_THREADS; | |
7064 | wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7065 | ||
7066 | wxPy_END_ALLOW_THREADS; | |
7067 | } Py_INCREF(Py_None); | |
7068 | _resultobj = Py_None; | |
7069 | return _resultobj; | |
7070 | } | |
7071 | ||
7072 | #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7073 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7074 | PyObject * _resultobj; | |
7075 | wxPyDrawnShape * _arg0; | |
2348eaee | 7076 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7077 | bool _arg2; |
7078 | double _arg3; | |
7079 | double _arg4; | |
7080 | int _arg5 = (int ) 0; | |
7081 | int _arg6 = (int ) 0; | |
7082 | PyObject * _argo0 = 0; | |
7083 | PyObject * _argo1 = 0; | |
7084 | int tempbool2; | |
7085 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7086 | ||
7087 | self = self; | |
7088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7089 | return NULL; | |
7090 | if (_argo0) { | |
7091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p."); | |
7094 | return NULL; | |
7095 | } | |
7096 | } | |
7097 | if (_argo1) { | |
7098 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7099 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7101 | return NULL; |
7102 | } | |
7103 | } | |
7104 | _arg2 = (bool ) tempbool2; | |
7105 | { | |
7106 | wxPy_BEGIN_ALLOW_THREADS; | |
7107 | wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7108 | ||
7109 | wxPy_END_ALLOW_THREADS; | |
7110 | } Py_INCREF(Py_None); | |
7111 | _resultobj = Py_None; | |
7112 | return _resultobj; | |
7113 | } | |
7114 | ||
7115 | #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7116 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7117 | PyObject * _resultobj; | |
7118 | wxPyDrawnShape * _arg0; | |
2348eaee | 7119 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7120 | double _arg2; |
7121 | double _arg3; | |
7122 | int _arg4 = (int ) 0; | |
7123 | int _arg5 = (int ) 0; | |
7124 | PyObject * _argo0 = 0; | |
7125 | PyObject * _argo1 = 0; | |
7126 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7127 | ||
7128 | self = self; | |
7129 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7130 | return NULL; | |
7131 | if (_argo0) { | |
7132 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7133 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7134 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
7135 | return NULL; | |
7136 | } | |
7137 | } | |
7138 | if (_argo1) { | |
7139 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7140 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7141 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7142 | return NULL; |
7143 | } | |
7144 | } | |
7145 | { | |
7146 | wxPy_BEGIN_ALLOW_THREADS; | |
7147 | wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7148 | ||
7149 | wxPy_END_ALLOW_THREADS; | |
7150 | } Py_INCREF(Py_None); | |
7151 | _resultobj = Py_None; | |
7152 | return _resultobj; | |
7153 | } | |
7154 | ||
7155 | #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7156 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7157 | PyObject * _resultobj; | |
7158 | wxPyDrawnShape * _arg0; | |
2348eaee | 7159 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7160 | double _arg2; |
7161 | double _arg3; | |
7162 | int _arg4 = (int ) 0; | |
7163 | int _arg5 = (int ) 0; | |
7164 | PyObject * _argo0 = 0; | |
7165 | PyObject * _argo1 = 0; | |
7166 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7167 | ||
7168 | self = self; | |
7169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7170 | return NULL; | |
7171 | if (_argo0) { | |
7172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p."); | |
7175 | return NULL; | |
7176 | } | |
7177 | } | |
7178 | if (_argo1) { | |
7179 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7180 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7182 | return NULL; |
7183 | } | |
7184 | } | |
7185 | { | |
7186 | wxPy_BEGIN_ALLOW_THREADS; | |
7187 | wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7188 | ||
7189 | wxPy_END_ALLOW_THREADS; | |
7190 | } Py_INCREF(Py_None); | |
7191 | _resultobj = Py_None; | |
7192 | return _resultobj; | |
7193 | } | |
7194 | ||
7195 | #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7196 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7197 | PyObject * _resultobj; | |
7198 | wxPyDrawnShape * _arg0; | |
7199 | double _arg1; | |
7200 | double _arg2; | |
7201 | PyObject * _argo0 = 0; | |
7202 | char *_kwnames[] = { "self","w","h", NULL }; | |
7203 | ||
7204 | self = self; | |
7205 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7206 | return NULL; | |
7207 | if (_argo0) { | |
7208 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7209 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p."); | |
7211 | return NULL; | |
7212 | } | |
7213 | } | |
7214 | { | |
7215 | wxPy_BEGIN_ALLOW_THREADS; | |
7216 | wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7217 | ||
7218 | wxPy_END_ALLOW_THREADS; | |
7219 | } Py_INCREF(Py_None); | |
7220 | _resultobj = Py_None; | |
7221 | return _resultobj; | |
7222 | } | |
7223 | ||
7224 | #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7225 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7226 | PyObject * _resultobj; | |
7227 | wxPyDrawnShape * _arg0; | |
7228 | double _arg1; | |
7229 | double _arg2; | |
7230 | PyObject * _argo0 = 0; | |
7231 | char *_kwnames[] = { "self","w","h", NULL }; | |
7232 | ||
7233 | self = self; | |
7234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7235 | return NULL; | |
7236 | if (_argo0) { | |
7237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p."); | |
7240 | return NULL; | |
7241 | } | |
7242 | } | |
7243 | { | |
7244 | wxPy_BEGIN_ALLOW_THREADS; | |
7245 | wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7246 | ||
7247 | wxPy_END_ALLOW_THREADS; | |
7248 | } Py_INCREF(Py_None); | |
7249 | _resultobj = Py_None; | |
7250 | return _resultobj; | |
7251 | } | |
7252 | ||
7253 | static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) { | |
7254 | wxList* list = wxPy_wxListHelper(constrained, "wxPyShape"); | |
7255 | wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list); | |
7256 | delete list; | |
7257 | return rv; | |
7258 | } | |
7259 | ||
7260 | static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7261 | PyObject * _resultobj; | |
7262 | wxOGLConstraint * _result; | |
7263 | int _arg0; | |
7264 | wxPyShape * _arg1; | |
7265 | PyObject * _arg2; | |
7266 | PyObject * _argo1 = 0; | |
7267 | PyObject * _obj2 = 0; | |
7268 | char *_kwnames[] = { "type","constraining","constrained", NULL }; | |
7269 | char _ptemp[128]; | |
7270 | ||
7271 | self = self; | |
7272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2)) | |
7273 | return NULL; | |
7274 | if (_argo1) { | |
7275 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7276 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p."); | |
7278 | return NULL; | |
7279 | } | |
7280 | } | |
7281 | { | |
7282 | _arg2 = _obj2; | |
7283 | } | |
7284 | { | |
7285 | wxPy_BEGIN_ALLOW_THREADS; | |
7286 | _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2); | |
7287 | ||
7288 | wxPy_END_ALLOW_THREADS; | |
7289 | } if (_result) { | |
7290 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7291 | _resultobj = Py_BuildValue("s",_ptemp); | |
7292 | } else { | |
7293 | Py_INCREF(Py_None); | |
7294 | _resultobj = Py_None; | |
7295 | } | |
7296 | return _resultobj; | |
7297 | } | |
7298 | ||
7299 | #define delete_wxOGLConstraint(_swigobj) (delete _swigobj) | |
7300 | static PyObject *_wrap_delete_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7301 | PyObject * _resultobj; | |
7302 | wxOGLConstraint * _arg0; | |
7303 | PyObject * _argo0 = 0; | |
7304 | char *_kwnames[] = { "self", NULL }; | |
7305 | ||
7306 | self = self; | |
7307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxOGLConstraint",_kwnames,&_argo0)) | |
7308 | return NULL; | |
7309 | if (_argo0) { | |
7310 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7311 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxOGLConstraint. Expected _wxOGLConstraint_p."); | |
7313 | return NULL; | |
7314 | } | |
7315 | } | |
7316 | { | |
7317 | wxPy_BEGIN_ALLOW_THREADS; | |
7318 | delete_wxOGLConstraint(_arg0); | |
7319 | ||
7320 | wxPy_END_ALLOW_THREADS; | |
7321 | } Py_INCREF(Py_None); | |
7322 | _resultobj = Py_None; | |
7323 | return _resultobj; | |
7324 | } | |
7325 | ||
7326 | #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate()) | |
7327 | static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7328 | PyObject * _resultobj; | |
7329 | bool _result; | |
7330 | wxOGLConstraint * _arg0; | |
7331 | PyObject * _argo0 = 0; | |
7332 | char *_kwnames[] = { "self", NULL }; | |
7333 | ||
7334 | self = self; | |
7335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0)) | |
7336 | return NULL; | |
7337 | if (_argo0) { | |
7338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p."); | |
7341 | return NULL; | |
7342 | } | |
7343 | } | |
7344 | { | |
7345 | wxPy_BEGIN_ALLOW_THREADS; | |
7346 | _result = (bool )wxOGLConstraint_Evaluate(_arg0); | |
7347 | ||
7348 | wxPy_END_ALLOW_THREADS; | |
7349 | } _resultobj = Py_BuildValue("i",_result); | |
7350 | return _resultobj; | |
7351 | } | |
7352 | ||
7353 | #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1)) | |
7354 | static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7355 | PyObject * _resultobj; | |
7356 | wxOGLConstraint * _arg0; | |
7357 | double _arg1; | |
7358 | double _arg2; | |
7359 | PyObject * _argo0 = 0; | |
7360 | char *_kwnames[] = { "self","x","y", NULL }; | |
7361 | ||
7362 | self = self; | |
7363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7364 | return NULL; | |
7365 | if (_argo0) { | |
7366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p."); | |
7369 | return NULL; | |
7370 | } | |
7371 | } | |
7372 | { | |
7373 | wxPy_BEGIN_ALLOW_THREADS; | |
7374 | wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2); | |
7375 | ||
7376 | wxPy_END_ALLOW_THREADS; | |
7377 | } Py_INCREF(Py_None); | |
7378 | _resultobj = Py_None; | |
7379 | return _resultobj; | |
7380 | } | |
7381 | ||
7382 | #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1)) | |
7383 | static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7384 | PyObject * _resultobj; | |
7385 | bool _result; | |
7386 | wxOGLConstraint * _arg0; | |
7387 | double _arg1; | |
7388 | double _arg2; | |
7389 | PyObject * _argo0 = 0; | |
7390 | char *_kwnames[] = { "self","a","b", NULL }; | |
7391 | ||
7392 | self = self; | |
7393 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7394 | return NULL; | |
7395 | if (_argo0) { | |
7396 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7397 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p."); | |
7399 | return NULL; | |
7400 | } | |
7401 | } | |
7402 | { | |
7403 | wxPy_BEGIN_ALLOW_THREADS; | |
7404 | _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2); | |
7405 | ||
7406 | wxPy_END_ALLOW_THREADS; | |
7407 | } _resultobj = Py_BuildValue("i",_result); | |
7408 | return _resultobj; | |
7409 | } | |
7410 | ||
7411 | static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) { | |
7412 | wxPyCompositeShape *src; | |
7413 | wxPyRectangleShape *dest; | |
7414 | src = (wxPyCompositeShape *) ptr; | |
7415 | dest = (wxPyRectangleShape *) src; | |
7416 | return (void *) dest; | |
7417 | } | |
7418 | ||
7419 | static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) { | |
7420 | wxPyCompositeShape *src; | |
7421 | wxPyShape *dest; | |
7422 | src = (wxPyCompositeShape *) ptr; | |
7423 | dest = (wxPyShape *) src; | |
7424 | return (void *) dest; | |
7425 | } | |
7426 | ||
7427 | static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) { | |
7428 | wxPyCompositeShape *src; | |
7429 | wxPyShapeEvtHandler *dest; | |
7430 | src = (wxPyCompositeShape *) ptr; | |
7431 | dest = (wxPyShapeEvtHandler *) src; | |
7432 | return (void *) dest; | |
7433 | } | |
7434 | ||
7435 | #define new_wxPyCompositeShape() (new wxPyCompositeShape()) | |
7436 | static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7437 | PyObject * _resultobj; | |
7438 | wxPyCompositeShape * _result; | |
7439 | char *_kwnames[] = { NULL }; | |
7440 | char _ptemp[128]; | |
7441 | ||
7442 | self = self; | |
7443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames)) | |
7444 | return NULL; | |
7445 | { | |
7446 | wxPy_BEGIN_ALLOW_THREADS; | |
7447 | _result = (wxPyCompositeShape *)new_wxPyCompositeShape(); | |
7448 | ||
7449 | wxPy_END_ALLOW_THREADS; | |
7450 | } if (_result) { | |
7451 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p"); | |
7452 | _resultobj = Py_BuildValue("s",_ptemp); | |
7453 | } else { | |
7454 | Py_INCREF(Py_None); | |
7455 | _resultobj = Py_None; | |
7456 | } | |
7457 | return _resultobj; | |
7458 | } | |
7459 | ||
7460 | #define wxPyCompositeShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
7461 | static PyObject *_wrap_wxPyCompositeShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7462 | PyObject * _resultobj; | |
7463 | wxPyCompositeShape * _arg0; | |
7464 | PyObject * _arg1; | |
7465 | PyObject * _argo0 = 0; | |
7466 | PyObject * _obj1 = 0; | |
7467 | char *_kwnames[] = { "self","self", NULL }; | |
7468 | ||
7469 | self = self; | |
7470 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
7471 | return NULL; | |
7472 | if (_argo0) { | |
7473 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7474 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setSelf. Expected _wxPyCompositeShape_p."); | |
7476 | return NULL; | |
7477 | } | |
7478 | } | |
7479 | { | |
7480 | _arg1 = _obj1; | |
7481 | } | |
7482 | { | |
7483 | wxPy_BEGIN_ALLOW_THREADS; | |
7484 | wxPyCompositeShape__setSelf(_arg0,_arg1); | |
7485 | ||
7486 | wxPy_END_ALLOW_THREADS; | |
7487 | } Py_INCREF(Py_None); | |
7488 | _resultobj = Py_None; | |
7489 | return _resultobj; | |
7490 | } | |
7491 | ||
7492 | #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1)) | |
7493 | static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7494 | PyObject * _resultobj; | |
7495 | wxPyCompositeShape * _arg0; | |
7496 | wxPyShape * _arg1; | |
7497 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
7498 | PyObject * _argo0 = 0; | |
7499 | PyObject * _argo1 = 0; | |
7500 | PyObject * _argo2 = 0; | |
7501 | char *_kwnames[] = { "self","child","addAfter", NULL }; | |
7502 | ||
7503 | self = self; | |
7504 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7505 | return NULL; | |
7506 | if (_argo0) { | |
7507 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7508 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7509 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p."); | |
7510 | return NULL; | |
7511 | } | |
7512 | } | |
7513 | if (_argo1) { | |
7514 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7515 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7517 | return NULL; | |
7518 | } | |
7519 | } | |
7520 | if (_argo2) { | |
7521 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7522 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7524 | return NULL; | |
7525 | } | |
7526 | } | |
7527 | { | |
7528 | wxPy_BEGIN_ALLOW_THREADS; | |
7529 | wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2); | |
7530 | ||
7531 | wxPy_END_ALLOW_THREADS; | |
7532 | } Py_INCREF(Py_None); | |
7533 | _resultobj = Py_None; | |
7534 | return _resultobj; | |
7535 | } | |
7536 | ||
7537 | #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0)) | |
7538 | static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7539 | PyObject * _resultobj; | |
7540 | wxOGLConstraint * _result; | |
7541 | wxPyCompositeShape * _arg0; | |
7542 | wxOGLConstraint * _arg1; | |
7543 | PyObject * _argo0 = 0; | |
7544 | PyObject * _argo1 = 0; | |
7545 | char *_kwnames[] = { "self","constraint", NULL }; | |
7546 | char _ptemp[128]; | |
7547 | ||
7548 | self = self; | |
7549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1)) | |
7550 | return NULL; | |
7551 | if (_argo0) { | |
7552 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7553 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p."); | |
7555 | return NULL; | |
7556 | } | |
7557 | } | |
7558 | if (_argo1) { | |
7559 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7560 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p."); | |
7562 | return NULL; | |
7563 | } | |
7564 | } | |
7565 | { | |
7566 | wxPy_BEGIN_ALLOW_THREADS; | |
7567 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1); | |
7568 | ||
7569 | wxPy_END_ALLOW_THREADS; | |
7570 | } if (_result) { | |
7571 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7572 | _resultobj = Py_BuildValue("s",_ptemp); | |
7573 | } else { | |
7574 | Py_INCREF(Py_None); | |
7575 | _resultobj = Py_None; | |
7576 | } | |
7577 | return _resultobj; | |
7578 | } | |
7579 | ||
7580 | #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2)) | |
7581 | static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7582 | PyObject * _resultobj; | |
7583 | wxOGLConstraint * _result; | |
7584 | wxPyCompositeShape * _arg0; | |
7585 | int _arg1; | |
7586 | wxPyShape * _arg2; | |
7587 | wxPyShape * _arg3; | |
7588 | PyObject * _argo0 = 0; | |
7589 | PyObject * _argo2 = 0; | |
7590 | PyObject * _argo3 = 0; | |
7591 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
7592 | char _ptemp[128]; | |
7593 | ||
7594 | self = self; | |
7595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
7596 | return NULL; | |
7597 | if (_argo0) { | |
7598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p."); | |
7601 | return NULL; | |
7602 | } | |
7603 | } | |
7604 | if (_argo2) { | |
7605 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7606 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7608 | return NULL; | |
7609 | } | |
7610 | } | |
7611 | if (_argo3) { | |
7612 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
7613 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) { | |
7614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7615 | return NULL; | |
7616 | } | |
7617 | } | |
7618 | { | |
7619 | wxPy_BEGIN_ALLOW_THREADS; | |
7620 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3); | |
7621 | ||
7622 | wxPy_END_ALLOW_THREADS; | |
7623 | } if (_result) { | |
7624 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7625 | _resultobj = Py_BuildValue("s",_ptemp); | |
7626 | } else { | |
7627 | Py_INCREF(Py_None); | |
7628 | _resultobj = Py_None; | |
7629 | } | |
7630 | return _resultobj; | |
7631 | } | |
7632 | ||
7633 | #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
7634 | static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7635 | PyObject * _resultobj; | |
7636 | wxPyCompositeShape * _arg0; | |
7637 | PyObject * _argo0 = 0; | |
7638 | char *_kwnames[] = { "self", NULL }; | |
7639 | ||
7640 | self = self; | |
7641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0)) | |
7642 | return NULL; | |
7643 | if (_argo0) { | |
7644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p."); | |
7647 | return NULL; | |
7648 | } | |
7649 | } | |
7650 | { | |
7651 | wxPy_BEGIN_ALLOW_THREADS; | |
7652 | wxPyCompositeShape_CalculateSize(_arg0); | |
7653 | ||
7654 | wxPy_END_ALLOW_THREADS; | |
7655 | } Py_INCREF(Py_None); | |
7656 | _resultobj = Py_None; | |
7657 | return _resultobj; | |
7658 | } | |
7659 | ||
7660 | #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0)) | |
7661 | static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7662 | PyObject * _resultobj; | |
7663 | bool _result; | |
7664 | wxPyCompositeShape * _arg0; | |
7665 | wxPyDivisionShape * _arg1; | |
7666 | PyObject * _argo0 = 0; | |
7667 | PyObject * _argo1 = 0; | |
7668 | char *_kwnames[] = { "self","division", NULL }; | |
7669 | ||
7670 | self = self; | |
7671 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1)) | |
7672 | return NULL; | |
7673 | if (_argo0) { | |
7674 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7675 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7676 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p."); | |
7677 | return NULL; | |
7678 | } | |
7679 | } | |
7680 | if (_argo1) { | |
7681 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7682 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
7683 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p."); | |
7684 | return NULL; | |
7685 | } | |
7686 | } | |
7687 | { | |
7688 | wxPy_BEGIN_ALLOW_THREADS; | |
7689 | _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1); | |
7690 | ||
7691 | wxPy_END_ALLOW_THREADS; | |
7692 | } _resultobj = Py_BuildValue("i",_result); | |
7693 | return _resultobj; | |
7694 | } | |
7695 | ||
7696 | #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0)) | |
7697 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7698 | PyObject * _resultobj; | |
7699 | wxPyCompositeShape * _arg0; | |
7700 | wxOGLConstraint * _arg1; | |
7701 | PyObject * _argo0 = 0; | |
7702 | PyObject * _argo1 = 0; | |
7703 | char *_kwnames[] = { "self","constraint", NULL }; | |
7704 | ||
7705 | self = self; | |
7706 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1)) | |
7707 | return NULL; | |
7708 | if (_argo0) { | |
7709 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7710 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7711 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p."); | |
7712 | return NULL; | |
7713 | } | |
7714 | } | |
7715 | if (_argo1) { | |
7716 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7717 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7718 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p."); | |
7719 | return NULL; | |
7720 | } | |
7721 | } | |
7722 | { | |
7723 | wxPy_BEGIN_ALLOW_THREADS; | |
7724 | wxPyCompositeShape_DeleteConstraint(_arg0,_arg1); | |
7725 | ||
7726 | wxPy_END_ALLOW_THREADS; | |
7727 | } Py_INCREF(Py_None); | |
7728 | _resultobj = Py_None; | |
7729 | return _resultobj; | |
7730 | } | |
7731 | ||
7732 | #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0)) | |
7733 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7734 | PyObject * _resultobj; | |
7735 | wxPyCompositeShape * _arg0; | |
7736 | wxPyShape * _arg1; | |
7737 | PyObject * _argo0 = 0; | |
7738 | PyObject * _argo1 = 0; | |
7739 | char *_kwnames[] = { "self","child", NULL }; | |
7740 | ||
7741 | self = self; | |
7742 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1)) | |
7743 | return NULL; | |
7744 | if (_argo0) { | |
7745 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7746 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7747 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p."); | |
7748 | return NULL; | |
7749 | } | |
7750 | } | |
7751 | if (_argo1) { | |
7752 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7753 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p."); | |
7755 | return NULL; | |
7756 | } | |
7757 | } | |
7758 | { | |
7759 | wxPy_BEGIN_ALLOW_THREADS; | |
7760 | wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1); | |
7761 | ||
7762 | wxPy_END_ALLOW_THREADS; | |
7763 | } Py_INCREF(Py_None); | |
7764 | _resultobj = Py_None; | |
7765 | return _resultobj; | |
7766 | } | |
7767 | ||
7768 | #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage()) | |
7769 | static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7770 | PyObject * _resultobj; | |
7771 | wxPyShape * _result; | |
7772 | wxPyCompositeShape * _arg0; | |
7773 | PyObject * _argo0 = 0; | |
7774 | char *_kwnames[] = { "self", NULL }; | |
7775 | char _ptemp[128]; | |
7776 | ||
7777 | self = self; | |
7778 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0)) | |
7779 | return NULL; | |
7780 | if (_argo0) { | |
7781 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7782 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7783 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p."); | |
7784 | return NULL; | |
7785 | } | |
7786 | } | |
7787 | { | |
7788 | wxPy_BEGIN_ALLOW_THREADS; | |
7789 | _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0); | |
7790 | ||
7791 | wxPy_END_ALLOW_THREADS; | |
7792 | } if (_result) { | |
7793 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
7794 | _resultobj = Py_BuildValue("s",_ptemp); | |
7795 | } else { | |
7796 | Py_INCREF(Py_None); | |
7797 | _resultobj = Py_None; | |
7798 | } | |
7799 | return _resultobj; | |
7800 | } | |
7801 | ||
7802 | static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) { | |
7803 | wxList& list = self->GetConstraints(); | |
7804 | return wxPy_ConvertList(&list, "wxOGLConstraint"); | |
7805 | } | |
7806 | static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7807 | PyObject * _resultobj; | |
7808 | PyObject * _result; | |
7809 | wxPyCompositeShape * _arg0; | |
7810 | PyObject * _argo0 = 0; | |
7811 | char *_kwnames[] = { "self", NULL }; | |
7812 | ||
7813 | self = self; | |
7814 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0)) | |
7815 | return NULL; | |
7816 | if (_argo0) { | |
7817 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7818 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7819 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p."); | |
7820 | return NULL; | |
7821 | } | |
7822 | } | |
7823 | { | |
7824 | wxPy_BEGIN_ALLOW_THREADS; | |
7825 | _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0); | |
7826 | ||
7827 | wxPy_END_ALLOW_THREADS; | |
7828 | }{ | |
7829 | _resultobj = _result; | |
7830 | } | |
7831 | return _resultobj; | |
7832 | } | |
7833 | ||
7834 | static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) { | |
7835 | wxList& list = self->GetDivisions(); | |
7836 | return wxPy_ConvertList(&list, "wxPyDivisionShape"); | |
7837 | } | |
7838 | static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7839 | PyObject * _resultobj; | |
7840 | PyObject * _result; | |
7841 | wxPyCompositeShape * _arg0; | |
7842 | PyObject * _argo0 = 0; | |
7843 | char *_kwnames[] = { "self", NULL }; | |
7844 | ||
7845 | self = self; | |
7846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0)) | |
7847 | return NULL; | |
7848 | if (_argo0) { | |
7849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p."); | |
7852 | return NULL; | |
7853 | } | |
7854 | } | |
7855 | { | |
7856 | wxPy_BEGIN_ALLOW_THREADS; | |
7857 | _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0); | |
7858 | ||
7859 | wxPy_END_ALLOW_THREADS; | |
7860 | }{ | |
7861 | _resultobj = _result; | |
7862 | } | |
7863 | return _resultobj; | |
7864 | } | |
7865 | ||
7866 | #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer()) | |
7867 | static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7868 | PyObject * _resultobj; | |
7869 | wxPyCompositeShape * _arg0; | |
7870 | PyObject * _argo0 = 0; | |
7871 | char *_kwnames[] = { "self", NULL }; | |
7872 | ||
7873 | self = self; | |
7874 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0)) | |
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_MakeContainer. Expected _wxPyCompositeShape_p."); | |
7880 | return NULL; | |
7881 | } | |
7882 | } | |
7883 | { | |
7884 | wxPy_BEGIN_ALLOW_THREADS; | |
7885 | wxPyCompositeShape_MakeContainer(_arg0); | |
7886 | ||
7887 | wxPy_END_ALLOW_THREADS; | |
7888 | } Py_INCREF(Py_None); | |
7889 | _resultobj = Py_None; | |
7890 | return _resultobj; | |
7891 | } | |
7892 | ||
7893 | #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
7894 | static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7895 | PyObject * _resultobj; | |
7896 | bool _result; | |
7897 | wxPyCompositeShape * _arg0; | |
7898 | PyObject * _argo0 = 0; | |
7899 | char *_kwnames[] = { "self", NULL }; | |
7900 | ||
7901 | self = self; | |
7902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0)) | |
7903 | return NULL; | |
7904 | if (_argo0) { | |
7905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p."); | |
7908 | return NULL; | |
7909 | } | |
7910 | } | |
7911 | { | |
7912 | wxPy_BEGIN_ALLOW_THREADS; | |
7913 | _result = (bool )wxPyCompositeShape_Recompute(_arg0); | |
7914 | ||
7915 | wxPy_END_ALLOW_THREADS; | |
7916 | } _resultobj = Py_BuildValue("i",_result); | |
7917 | return _resultobj; | |
7918 | } | |
7919 | ||
7920 | #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0)) | |
7921 | static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7922 | PyObject * _resultobj; | |
7923 | wxPyCompositeShape * _arg0; | |
7924 | wxPyShape * _arg1; | |
7925 | PyObject * _argo0 = 0; | |
7926 | PyObject * _argo1 = 0; | |
7927 | char *_kwnames[] = { "self","child", NULL }; | |
7928 | ||
7929 | self = self; | |
7930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
7931 | return NULL; | |
7932 | if (_argo0) { | |
7933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p."); | |
7936 | return NULL; | |
7937 | } | |
7938 | } | |
7939 | if (_argo1) { | |
7940 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7941 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p."); | |
7943 | return NULL; | |
7944 | } | |
7945 | } | |
7946 | { | |
7947 | wxPy_BEGIN_ALLOW_THREADS; | |
7948 | wxPyCompositeShape_RemoveChild(_arg0,_arg1); | |
7949 | ||
7950 | wxPy_END_ALLOW_THREADS; | |
7951 | } Py_INCREF(Py_None); | |
7952 | _resultobj = Py_None; | |
7953 | return _resultobj; | |
7954 | } | |
7955 | ||
7956 | #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
7957 | static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7958 | PyObject * _resultobj; | |
7959 | wxPyCompositeShape * _arg0; | |
7960 | PyObject * _argo0 = 0; | |
7961 | char *_kwnames[] = { "self", NULL }; | |
7962 | ||
7963 | self = self; | |
7964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0)) | |
7965 | return NULL; | |
7966 | if (_argo0) { | |
7967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p."); | |
7970 | return NULL; | |
7971 | } | |
7972 | } | |
7973 | { | |
7974 | wxPy_BEGIN_ALLOW_THREADS; | |
7975 | wxPyCompositeShape_base_OnDelete(_arg0); | |
7976 | ||
7977 | wxPy_END_ALLOW_THREADS; | |
7978 | } Py_INCREF(Py_None); | |
7979 | _resultobj = Py_None; | |
7980 | return _resultobj; | |
7981 | } | |
7982 | ||
7983 | #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
7984 | static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7985 | PyObject * _resultobj; | |
7986 | wxPyCompositeShape * _arg0; | |
7987 | wxDC * _arg1; | |
7988 | PyObject * _argo0 = 0; | |
7989 | PyObject * _argo1 = 0; | |
7990 | char *_kwnames[] = { "self","dc", NULL }; | |
7991 | ||
7992 | self = self; | |
7993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
7994 | return NULL; | |
7995 | if (_argo0) { | |
7996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p."); | |
7999 | return NULL; | |
8000 | } | |
8001 | } | |
8002 | if (_argo1) { | |
8003 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8004 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p."); | |
8006 | return NULL; | |
8007 | } | |
8008 | } | |
8009 | { | |
8010 | wxPy_BEGIN_ALLOW_THREADS; | |
8011 | wxPyCompositeShape_base_OnDraw(_arg0,*_arg1); | |
8012 | ||
8013 | wxPy_END_ALLOW_THREADS; | |
8014 | } Py_INCREF(Py_None); | |
8015 | _resultobj = Py_None; | |
8016 | return _resultobj; | |
8017 | } | |
8018 | ||
8019 | #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
8020 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8021 | PyObject * _resultobj; | |
8022 | wxPyCompositeShape * _arg0; | |
8023 | wxDC * _arg1; | |
8024 | PyObject * _argo0 = 0; | |
8025 | PyObject * _argo1 = 0; | |
8026 | char *_kwnames[] = { "self","dc", NULL }; | |
8027 | ||
8028 | self = self; | |
8029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
8030 | return NULL; | |
8031 | if (_argo0) { | |
8032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p."); | |
8035 | return NULL; | |
8036 | } | |
8037 | } | |
8038 | if (_argo1) { | |
8039 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8040 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p."); | |
8042 | return NULL; | |
8043 | } | |
8044 | } | |
8045 | { | |
8046 | wxPy_BEGIN_ALLOW_THREADS; | |
8047 | wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1); | |
8048 | ||
8049 | wxPy_END_ALLOW_THREADS; | |
8050 | } Py_INCREF(Py_None); | |
8051 | _resultobj = Py_None; | |
8052 | return _resultobj; | |
8053 | } | |
8054 | ||
8055 | #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
8056 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8057 | PyObject * _resultobj; | |
8058 | wxPyCompositeShape * _arg0; | |
8059 | wxDC * _arg1; | |
8060 | bool _arg2 = (bool ) FALSE; | |
8061 | PyObject * _argo0 = 0; | |
8062 | PyObject * _argo1 = 0; | |
8063 | int tempbool2 = (int) FALSE; | |
8064 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
8065 | ||
8066 | self = self; | |
8067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8068 | return NULL; | |
8069 | if (_argo0) { | |
8070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p."); | |
8073 | return NULL; | |
8074 | } | |
8075 | } | |
8076 | if (_argo1) { | |
8077 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8078 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p."); | |
8080 | return NULL; | |
8081 | } | |
8082 | } | |
8083 | _arg2 = (bool ) tempbool2; | |
8084 | { | |
8085 | wxPy_BEGIN_ALLOW_THREADS; | |
8086 | wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
8087 | ||
8088 | wxPy_END_ALLOW_THREADS; | |
8089 | } Py_INCREF(Py_None); | |
8090 | _resultobj = Py_None; | |
8091 | return _resultobj; | |
8092 | } | |
8093 | ||
8094 | #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
8095 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8096 | PyObject * _resultobj; | |
8097 | wxPyCompositeShape * _arg0; | |
8098 | wxDC * _arg1; | |
8099 | PyObject * _argo0 = 0; | |
8100 | PyObject * _argo1 = 0; | |
8101 | char *_kwnames[] = { "self","dc", NULL }; | |
8102 | ||
8103 | self = self; | |
8104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
8105 | return NULL; | |
8106 | if (_argo0) { | |
8107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p."); | |
8110 | return NULL; | |
8111 | } | |
8112 | } | |
8113 | if (_argo1) { | |
8114 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8115 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p."); | |
8117 | return NULL; | |
8118 | } | |
8119 | } | |
8120 | { | |
8121 | wxPy_BEGIN_ALLOW_THREADS; | |
8122 | wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1); | |
8123 | ||
8124 | wxPy_END_ALLOW_THREADS; | |
8125 | } Py_INCREF(Py_None); | |
8126 | _resultobj = Py_None; | |
8127 | return _resultobj; | |
8128 | } | |
8129 | ||
8130 | #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
8131 | static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8132 | PyObject * _resultobj; | |
8133 | wxPyCompositeShape * _arg0; | |
8134 | wxDC * _arg1; | |
8135 | PyObject * _argo0 = 0; | |
8136 | PyObject * _argo1 = 0; | |
8137 | char *_kwnames[] = { "self","dc", NULL }; | |
8138 | ||
8139 | self = self; | |
8140 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
8141 | return NULL; | |
8142 | if (_argo0) { | |
8143 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8144 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8145 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p."); | |
8146 | return NULL; | |
8147 | } | |
8148 | } | |
8149 | if (_argo1) { | |
8150 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8151 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p."); | |
8153 | return NULL; | |
8154 | } | |
8155 | } | |
8156 | { | |
8157 | wxPy_BEGIN_ALLOW_THREADS; | |
8158 | wxPyCompositeShape_base_OnErase(_arg0,*_arg1); | |
8159 | ||
8160 | wxPy_END_ALLOW_THREADS; | |
8161 | } Py_INCREF(Py_None); | |
8162 | _resultobj = Py_None; | |
8163 | return _resultobj; | |
8164 | } | |
8165 | ||
8166 | #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
8167 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8168 | PyObject * _resultobj; | |
8169 | wxPyCompositeShape * _arg0; | |
8170 | wxDC * _arg1; | |
8171 | PyObject * _argo0 = 0; | |
8172 | PyObject * _argo1 = 0; | |
8173 | char *_kwnames[] = { "self","dc", NULL }; | |
8174 | ||
8175 | self = self; | |
8176 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
8177 | return NULL; | |
8178 | if (_argo0) { | |
8179 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8180 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8181 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p."); | |
8182 | return NULL; | |
8183 | } | |
8184 | } | |
8185 | if (_argo1) { | |
8186 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8187 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p."); | |
8189 | return NULL; | |
8190 | } | |
8191 | } | |
8192 | { | |
8193 | wxPy_BEGIN_ALLOW_THREADS; | |
8194 | wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1); | |
8195 | ||
8196 | wxPy_END_ALLOW_THREADS; | |
8197 | } Py_INCREF(Py_None); | |
8198 | _resultobj = Py_None; | |
8199 | return _resultobj; | |
8200 | } | |
8201 | ||
8202 | #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
8203 | static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8204 | PyObject * _resultobj; | |
8205 | wxPyCompositeShape * _arg0; | |
8206 | wxDC * _arg1; | |
8207 | PyObject * _argo0 = 0; | |
8208 | PyObject * _argo1 = 0; | |
8209 | char *_kwnames[] = { "self","dc", NULL }; | |
8210 | ||
8211 | self = self; | |
8212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
8213 | return NULL; | |
8214 | if (_argo0) { | |
8215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p."); | |
8218 | return NULL; | |
8219 | } | |
8220 | } | |
8221 | if (_argo1) { | |
8222 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8223 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8224 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p."); | |
8225 | return NULL; | |
8226 | } | |
8227 | } | |
8228 | { | |
8229 | wxPy_BEGIN_ALLOW_THREADS; | |
8230 | wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1); | |
8231 | ||
8232 | wxPy_END_ALLOW_THREADS; | |
8233 | } Py_INCREF(Py_None); | |
8234 | _resultobj = Py_None; | |
8235 | return _resultobj; | |
8236 | } | |
8237 | ||
8238 | #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8239 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8240 | PyObject * _resultobj; | |
8241 | wxPyCompositeShape * _arg0; | |
8242 | double _arg1; | |
8243 | double _arg2; | |
8244 | int _arg3 = (int ) 0; | |
8245 | int _arg4 = (int ) 0; | |
8246 | PyObject * _argo0 = 0; | |
8247 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8248 | ||
8249 | self = self; | |
8250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8251 | return NULL; | |
8252 | if (_argo0) { | |
8253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p."); | |
8256 | return NULL; | |
8257 | } | |
8258 | } | |
8259 | { | |
8260 | wxPy_BEGIN_ALLOW_THREADS; | |
8261 | wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8262 | ||
8263 | wxPy_END_ALLOW_THREADS; | |
8264 | } Py_INCREF(Py_None); | |
8265 | _resultobj = Py_None; | |
8266 | return _resultobj; | |
8267 | } | |
8268 | ||
8269 | #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8270 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8271 | PyObject * _resultobj; | |
8272 | wxPyCompositeShape * _arg0; | |
8273 | double _arg1; | |
8274 | double _arg2; | |
8275 | int _arg3 = (int ) 0; | |
8276 | int _arg4 = (int ) 0; | |
8277 | PyObject * _argo0 = 0; | |
8278 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8279 | ||
8280 | self = self; | |
8281 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8282 | return NULL; | |
8283 | if (_argo0) { | |
8284 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8285 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p."); | |
8287 | return NULL; | |
8288 | } | |
8289 | } | |
8290 | { | |
8291 | wxPy_BEGIN_ALLOW_THREADS; | |
8292 | wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8293 | ||
8294 | wxPy_END_ALLOW_THREADS; | |
8295 | } Py_INCREF(Py_None); | |
8296 | _resultobj = Py_None; | |
8297 | return _resultobj; | |
8298 | } | |
8299 | ||
8300 | #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8301 | static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8302 | PyObject * _resultobj; | |
8303 | wxPyCompositeShape * _arg0; | |
8304 | double _arg1; | |
8305 | double _arg2; | |
8306 | int _arg3 = (int ) 0; | |
8307 | int _arg4 = (int ) 0; | |
8308 | PyObject * _argo0 = 0; | |
8309 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8310 | ||
8311 | self = self; | |
8312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8313 | return NULL; | |
8314 | if (_argo0) { | |
8315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p."); | |
8318 | return NULL; | |
8319 | } | |
8320 | } | |
8321 | { | |
8322 | wxPy_BEGIN_ALLOW_THREADS; | |
8323 | wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8324 | ||
8325 | wxPy_END_ALLOW_THREADS; | |
8326 | } Py_INCREF(Py_None); | |
8327 | _resultobj = Py_None; | |
8328 | return _resultobj; | |
8329 | } | |
8330 | ||
8331 | #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
8332 | static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8333 | PyObject * _resultobj; | |
8334 | wxPyCompositeShape * _arg0; | |
8335 | double _arg1; | |
8336 | double _arg2; | |
8337 | PyObject * _argo0 = 0; | |
8338 | char *_kwnames[] = { "self","x","y", NULL }; | |
8339 | ||
8340 | self = self; | |
8341 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8342 | return NULL; | |
8343 | if (_argo0) { | |
8344 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8345 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p."); | |
8347 | return NULL; | |
8348 | } | |
8349 | } | |
8350 | { | |
8351 | wxPy_BEGIN_ALLOW_THREADS; | |
8352 | wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2); | |
8353 | ||
8354 | wxPy_END_ALLOW_THREADS; | |
8355 | } Py_INCREF(Py_None); | |
8356 | _resultobj = Py_None; | |
8357 | return _resultobj; | |
8358 | } | |
8359 | ||
8360 | #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8361 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8362 | PyObject * _resultobj; | |
8363 | bool _result; | |
8364 | wxPyCompositeShape * _arg0; | |
8365 | wxDC * _arg1; | |
8366 | double _arg2; | |
8367 | double _arg3; | |
8368 | double _arg4; | |
8369 | double _arg5; | |
8370 | bool _arg6 = (bool ) TRUE; | |
8371 | PyObject * _argo0 = 0; | |
8372 | PyObject * _argo1 = 0; | |
8373 | int tempbool6 = (int) TRUE; | |
8374 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8375 | ||
8376 | self = self; | |
8377 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8378 | return NULL; | |
8379 | if (_argo0) { | |
8380 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8381 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8382 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p."); | |
8383 | return NULL; | |
8384 | } | |
8385 | } | |
8386 | if (_argo1) { | |
8387 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8388 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8389 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p."); | |
8390 | return NULL; | |
8391 | } | |
8392 | } | |
8393 | _arg6 = (bool ) tempbool6; | |
8394 | { | |
8395 | wxPy_BEGIN_ALLOW_THREADS; | |
8396 | _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8397 | ||
8398 | wxPy_END_ALLOW_THREADS; | |
8399 | } _resultobj = Py_BuildValue("i",_result); | |
8400 | return _resultobj; | |
8401 | } | |
8402 | ||
8403 | #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8404 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8405 | PyObject * _resultobj; | |
8406 | wxPyCompositeShape * _arg0; | |
8407 | wxDC * _arg1; | |
8408 | double _arg2; | |
8409 | double _arg3; | |
8410 | double _arg4; | |
8411 | double _arg5; | |
8412 | bool _arg6 = (bool ) TRUE; | |
8413 | PyObject * _argo0 = 0; | |
8414 | PyObject * _argo1 = 0; | |
8415 | int tempbool6 = (int) TRUE; | |
8416 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8417 | ||
8418 | self = self; | |
8419 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8420 | return NULL; | |
8421 | if (_argo0) { | |
8422 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8423 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8424 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p."); | |
8425 | return NULL; | |
8426 | } | |
8427 | } | |
8428 | if (_argo1) { | |
8429 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8430 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p."); | |
8432 | return NULL; | |
8433 | } | |
8434 | } | |
8435 | _arg6 = (bool ) tempbool6; | |
8436 | { | |
8437 | wxPy_BEGIN_ALLOW_THREADS; | |
8438 | wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8439 | ||
8440 | wxPy_END_ALLOW_THREADS; | |
8441 | } Py_INCREF(Py_None); | |
8442 | _resultobj = Py_None; | |
8443 | return _resultobj; | |
8444 | } | |
8445 | ||
8446 | #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8447 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8448 | PyObject * _resultobj; | |
8449 | wxPyCompositeShape * _arg0; | |
8450 | bool _arg1; | |
8451 | double _arg2; | |
8452 | double _arg3; | |
8453 | int _arg4 = (int ) 0; | |
8454 | int _arg5 = (int ) 0; | |
8455 | PyObject * _argo0 = 0; | |
8456 | int tempbool1; | |
8457 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8458 | ||
8459 | self = self; | |
8460 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8461 | return NULL; | |
8462 | if (_argo0) { | |
8463 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8464 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8465 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p."); | |
8466 | return NULL; | |
8467 | } | |
8468 | } | |
8469 | _arg1 = (bool ) tempbool1; | |
8470 | { | |
8471 | wxPy_BEGIN_ALLOW_THREADS; | |
8472 | wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8473 | ||
8474 | wxPy_END_ALLOW_THREADS; | |
8475 | } Py_INCREF(Py_None); | |
8476 | _resultobj = Py_None; | |
8477 | return _resultobj; | |
8478 | } | |
8479 | ||
8480 | #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8481 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8482 | PyObject * _resultobj; | |
8483 | wxPyCompositeShape * _arg0; | |
8484 | double _arg1; | |
8485 | double _arg2; | |
8486 | int _arg3 = (int ) 0; | |
8487 | int _arg4 = (int ) 0; | |
8488 | PyObject * _argo0 = 0; | |
8489 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8490 | ||
8491 | self = self; | |
8492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8493 | return NULL; | |
8494 | if (_argo0) { | |
8495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8498 | return NULL; | |
8499 | } | |
8500 | } | |
8501 | { | |
8502 | wxPy_BEGIN_ALLOW_THREADS; | |
8503 | wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8504 | ||
8505 | wxPy_END_ALLOW_THREADS; | |
8506 | } Py_INCREF(Py_None); | |
8507 | _resultobj = Py_None; | |
8508 | return _resultobj; | |
8509 | } | |
8510 | ||
8511 | #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8512 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8513 | PyObject * _resultobj; | |
8514 | wxPyCompositeShape * _arg0; | |
8515 | double _arg1; | |
8516 | double _arg2; | |
8517 | int _arg3 = (int ) 0; | |
8518 | int _arg4 = (int ) 0; | |
8519 | PyObject * _argo0 = 0; | |
8520 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8521 | ||
8522 | self = self; | |
8523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8524 | return NULL; | |
8525 | if (_argo0) { | |
8526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p."); | |
8529 | return NULL; | |
8530 | } | |
8531 | } | |
8532 | { | |
8533 | wxPy_BEGIN_ALLOW_THREADS; | |
8534 | wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8535 | ||
8536 | wxPy_END_ALLOW_THREADS; | |
8537 | } Py_INCREF(Py_None); | |
8538 | _resultobj = Py_None; | |
8539 | return _resultobj; | |
8540 | } | |
8541 | ||
8542 | #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8543 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8544 | PyObject * _resultobj; | |
8545 | wxPyCompositeShape * _arg0; | |
8546 | bool _arg1; | |
8547 | double _arg2; | |
8548 | double _arg3; | |
8549 | int _arg4 = (int ) 0; | |
8550 | int _arg5 = (int ) 0; | |
8551 | PyObject * _argo0 = 0; | |
8552 | int tempbool1; | |
8553 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8554 | ||
8555 | self = self; | |
8556 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8557 | return NULL; | |
8558 | if (_argo0) { | |
8559 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8560 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8561 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p."); | |
8562 | return NULL; | |
8563 | } | |
8564 | } | |
8565 | _arg1 = (bool ) tempbool1; | |
8566 | { | |
8567 | wxPy_BEGIN_ALLOW_THREADS; | |
8568 | wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8569 | ||
8570 | wxPy_END_ALLOW_THREADS; | |
8571 | } Py_INCREF(Py_None); | |
8572 | _resultobj = Py_None; | |
8573 | return _resultobj; | |
8574 | } | |
8575 | ||
8576 | #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8577 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8578 | PyObject * _resultobj; | |
8579 | wxPyCompositeShape * _arg0; | |
8580 | double _arg1; | |
8581 | double _arg2; | |
8582 | int _arg3 = (int ) 0; | |
8583 | int _arg4 = (int ) 0; | |
8584 | PyObject * _argo0 = 0; | |
8585 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8586 | ||
8587 | self = self; | |
8588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8589 | return NULL; | |
8590 | if (_argo0) { | |
8591 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8592 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p."); | |
8594 | return NULL; | |
8595 | } | |
8596 | } | |
8597 | { | |
8598 | wxPy_BEGIN_ALLOW_THREADS; | |
8599 | wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8600 | ||
8601 | wxPy_END_ALLOW_THREADS; | |
8602 | } Py_INCREF(Py_None); | |
8603 | _resultobj = Py_None; | |
8604 | return _resultobj; | |
8605 | } | |
8606 | ||
8607 | #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8608 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8609 | PyObject * _resultobj; | |
8610 | wxPyCompositeShape * _arg0; | |
8611 | double _arg1; | |
8612 | double _arg2; | |
8613 | int _arg3 = (int ) 0; | |
8614 | int _arg4 = (int ) 0; | |
8615 | PyObject * _argo0 = 0; | |
8616 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8617 | ||
8618 | self = self; | |
8619 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8620 | return NULL; | |
8621 | if (_argo0) { | |
8622 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8623 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8624 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p."); | |
8625 | return NULL; | |
8626 | } | |
8627 | } | |
8628 | { | |
8629 | wxPy_BEGIN_ALLOW_THREADS; | |
8630 | wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8631 | ||
8632 | wxPy_END_ALLOW_THREADS; | |
8633 | } Py_INCREF(Py_None); | |
8634 | _resultobj = Py_None; | |
8635 | return _resultobj; | |
8636 | } | |
8637 | ||
8638 | #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8639 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8640 | PyObject * _resultobj; | |
8641 | wxPyCompositeShape * _arg0; | |
8642 | wxDC * _arg1; | |
8643 | double _arg2; | |
8644 | double _arg3; | |
8645 | double _arg4; | |
8646 | double _arg5; | |
8647 | PyObject * _argo0 = 0; | |
8648 | PyObject * _argo1 = 0; | |
8649 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
8650 | ||
8651 | self = self; | |
8652 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8653 | return NULL; | |
8654 | if (_argo0) { | |
8655 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8656 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8657 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p."); | |
8658 | return NULL; | |
8659 | } | |
8660 | } | |
8661 | if (_argo1) { | |
8662 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8663 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p."); | |
8665 | return NULL; | |
8666 | } | |
8667 | } | |
8668 | { | |
8669 | wxPy_BEGIN_ALLOW_THREADS; | |
8670 | wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
8671 | ||
8672 | wxPy_END_ALLOW_THREADS; | |
8673 | } Py_INCREF(Py_None); | |
8674 | _resultobj = Py_None; | |
8675 | return _resultobj; | |
8676 | } | |
8677 | ||
8678 | #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
8679 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8680 | PyObject * _resultobj; | |
8681 | wxPyCompositeShape * _arg0; | |
8682 | wxDC * _arg1; | |
8683 | PyObject * _argo0 = 0; | |
8684 | PyObject * _argo1 = 0; | |
8685 | char *_kwnames[] = { "self","dc", NULL }; | |
8686 | ||
8687 | self = self; | |
8688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
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_OnDrawControlPoints. Expected _wxPyCompositeShape_p."); | |
8694 | return NULL; | |
8695 | } | |
8696 | } | |
8697 | if (_argo1) { | |
8698 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8699 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
8701 | return NULL; | |
8702 | } | |
8703 | } | |
8704 | { | |
8705 | wxPy_BEGIN_ALLOW_THREADS; | |
8706 | wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
8707 | ||
8708 | wxPy_END_ALLOW_THREADS; | |
8709 | } Py_INCREF(Py_None); | |
8710 | _resultobj = Py_None; | |
8711 | return _resultobj; | |
8712 | } | |
8713 | ||
8714 | #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
8715 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8716 | PyObject * _resultobj; | |
8717 | wxPyCompositeShape * _arg0; | |
8718 | wxDC * _arg1; | |
8719 | PyObject * _argo0 = 0; | |
8720 | PyObject * _argo1 = 0; | |
8721 | char *_kwnames[] = { "self","dc", NULL }; | |
8722 | ||
8723 | self = self; | |
8724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
8725 | return NULL; | |
8726 | if (_argo0) { | |
8727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p."); | |
8730 | return NULL; | |
8731 | } | |
8732 | } | |
8733 | if (_argo1) { | |
8734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
8737 | return NULL; | |
8738 | } | |
8739 | } | |
8740 | { | |
8741 | wxPy_BEGIN_ALLOW_THREADS; | |
8742 | wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
8743 | ||
8744 | wxPy_END_ALLOW_THREADS; | |
8745 | } Py_INCREF(Py_None); | |
8746 | _resultobj = Py_None; | |
8747 | return _resultobj; | |
8748 | } | |
8749 | ||
8750 | #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
8751 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8752 | PyObject * _resultobj; | |
8753 | wxPyCompositeShape * _arg0; | |
8754 | wxDC * _arg1; | |
8755 | bool _arg2 = (bool ) TRUE; | |
8756 | PyObject * _argo0 = 0; | |
8757 | PyObject * _argo1 = 0; | |
8758 | int tempbool2 = (int) TRUE; | |
8759 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
8760 | ||
8761 | self = self; | |
8762 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8763 | return NULL; | |
8764 | if (_argo0) { | |
8765 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8766 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8767 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p."); | |
8768 | return NULL; | |
8769 | } | |
8770 | } | |
8771 | if (_argo1) { | |
8772 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8773 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8774 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p."); | |
8775 | return NULL; | |
8776 | } | |
8777 | } | |
8778 | _arg2 = (bool ) tempbool2; | |
8779 | { | |
8780 | wxPy_BEGIN_ALLOW_THREADS; | |
8781 | wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
8782 | ||
8783 | wxPy_END_ALLOW_THREADS; | |
8784 | } Py_INCREF(Py_None); | |
8785 | _resultobj = Py_None; | |
8786 | return _resultobj; | |
8787 | } | |
8788 | ||
8789 | #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8790 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8791 | PyObject * _resultobj; | |
8792 | wxPyCompositeShape * _arg0; | |
2348eaee | 8793 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8794 | bool _arg2; |
8795 | double _arg3; | |
8796 | double _arg4; | |
8797 | int _arg5 = (int ) 0; | |
8798 | int _arg6 = (int ) 0; | |
8799 | PyObject * _argo0 = 0; | |
8800 | PyObject * _argo1 = 0; | |
8801 | int tempbool2; | |
8802 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
8803 | ||
8804 | self = self; | |
8805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
8806 | return NULL; | |
8807 | if (_argo0) { | |
8808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p."); | |
8811 | return NULL; | |
8812 | } | |
8813 | } | |
8814 | if (_argo1) { | |
8815 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8816 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8818 | return NULL; |
8819 | } | |
8820 | } | |
8821 | _arg2 = (bool ) tempbool2; | |
8822 | { | |
8823 | wxPy_BEGIN_ALLOW_THREADS; | |
8824 | wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8825 | ||
8826 | wxPy_END_ALLOW_THREADS; | |
8827 | } Py_INCREF(Py_None); | |
8828 | _resultobj = Py_None; | |
8829 | return _resultobj; | |
8830 | } | |
8831 | ||
8832 | #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8833 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8834 | PyObject * _resultobj; | |
8835 | wxPyCompositeShape * _arg0; | |
2348eaee | 8836 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8837 | double _arg2; |
8838 | double _arg3; | |
8839 | int _arg4 = (int ) 0; | |
8840 | int _arg5 = (int ) 0; | |
8841 | PyObject * _argo0 = 0; | |
8842 | PyObject * _argo1 = 0; | |
8843 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8844 | ||
8845 | self = self; | |
8846 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8847 | return NULL; | |
8848 | if (_argo0) { | |
8849 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8850 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8852 | return NULL; | |
8853 | } | |
8854 | } | |
8855 | if (_argo1) { | |
8856 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8857 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8859 | return NULL; |
8860 | } | |
8861 | } | |
8862 | { | |
8863 | wxPy_BEGIN_ALLOW_THREADS; | |
8864 | wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8865 | ||
8866 | wxPy_END_ALLOW_THREADS; | |
8867 | } Py_INCREF(Py_None); | |
8868 | _resultobj = Py_None; | |
8869 | return _resultobj; | |
8870 | } | |
8871 | ||
8872 | #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8873 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8874 | PyObject * _resultobj; | |
8875 | wxPyCompositeShape * _arg0; | |
2348eaee | 8876 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8877 | double _arg2; |
8878 | double _arg3; | |
8879 | int _arg4 = (int ) 0; | |
8880 | int _arg5 = (int ) 0; | |
8881 | PyObject * _argo0 = 0; | |
8882 | PyObject * _argo1 = 0; | |
8883 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8884 | ||
8885 | self = self; | |
8886 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8887 | return NULL; | |
8888 | if (_argo0) { | |
8889 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8890 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p."); | |
8892 | return NULL; | |
8893 | } | |
8894 | } | |
8895 | if (_argo1) { | |
8896 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8897 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8899 | return NULL; |
8900 | } | |
8901 | } | |
8902 | { | |
8903 | wxPy_BEGIN_ALLOW_THREADS; | |
8904 | wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8905 | ||
8906 | wxPy_END_ALLOW_THREADS; | |
8907 | } Py_INCREF(Py_None); | |
8908 | _resultobj = Py_None; | |
8909 | return _resultobj; | |
8910 | } | |
8911 | ||
8912 | #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
8913 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8914 | PyObject * _resultobj; | |
8915 | wxPyCompositeShape * _arg0; | |
8916 | double _arg1; | |
8917 | double _arg2; | |
8918 | PyObject * _argo0 = 0; | |
8919 | char *_kwnames[] = { "self","w","h", NULL }; | |
8920 | ||
8921 | self = self; | |
8922 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8923 | return NULL; | |
8924 | if (_argo0) { | |
8925 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8926 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p."); | |
8928 | return NULL; | |
8929 | } | |
8930 | } | |
8931 | { | |
8932 | wxPy_BEGIN_ALLOW_THREADS; | |
8933 | wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
8934 | ||
8935 | wxPy_END_ALLOW_THREADS; | |
8936 | } Py_INCREF(Py_None); | |
8937 | _resultobj = Py_None; | |
8938 | return _resultobj; | |
8939 | } | |
8940 | ||
8941 | #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
8942 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8943 | PyObject * _resultobj; | |
8944 | wxPyCompositeShape * _arg0; | |
8945 | double _arg1; | |
8946 | double _arg2; | |
8947 | PyObject * _argo0 = 0; | |
8948 | char *_kwnames[] = { "self","w","h", NULL }; | |
8949 | ||
8950 | self = self; | |
8951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8952 | return NULL; | |
8953 | if (_argo0) { | |
8954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p."); | |
8957 | return NULL; | |
8958 | } | |
8959 | } | |
8960 | { | |
8961 | wxPy_BEGIN_ALLOW_THREADS; | |
8962 | wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
8963 | ||
8964 | wxPy_END_ALLOW_THREADS; | |
8965 | } Py_INCREF(Py_None); | |
8966 | _resultobj = Py_None; | |
8967 | return _resultobj; | |
8968 | } | |
8969 | ||
8970 | static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) { | |
8971 | wxPyDividedShape *src; | |
8972 | wxPyRectangleShape *dest; | |
8973 | src = (wxPyDividedShape *) ptr; | |
8974 | dest = (wxPyRectangleShape *) src; | |
8975 | return (void *) dest; | |
8976 | } | |
8977 | ||
8978 | static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) { | |
8979 | wxPyDividedShape *src; | |
8980 | wxPyShape *dest; | |
8981 | src = (wxPyDividedShape *) ptr; | |
8982 | dest = (wxPyShape *) src; | |
8983 | return (void *) dest; | |
8984 | } | |
8985 | ||
8986 | static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) { | |
8987 | wxPyDividedShape *src; | |
8988 | wxPyShapeEvtHandler *dest; | |
8989 | src = (wxPyDividedShape *) ptr; | |
8990 | dest = (wxPyShapeEvtHandler *) src; | |
8991 | return (void *) dest; | |
8992 | } | |
8993 | ||
8994 | #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1)) | |
8995 | static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8996 | PyObject * _resultobj; | |
8997 | wxPyDividedShape * _result; | |
8998 | double _arg0 = (double ) 0.0; | |
8999 | double _arg1 = (double ) 0.0; | |
9000 | char *_kwnames[] = { "width","height", NULL }; | |
9001 | char _ptemp[128]; | |
9002 | ||
9003 | self = self; | |
9004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1)) | |
9005 | return NULL; | |
9006 | { | |
9007 | wxPy_BEGIN_ALLOW_THREADS; | |
9008 | _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1); | |
9009 | ||
9010 | wxPy_END_ALLOW_THREADS; | |
9011 | } if (_result) { | |
9012 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p"); | |
9013 | _resultobj = Py_BuildValue("s",_ptemp); | |
9014 | } else { | |
9015 | Py_INCREF(Py_None); | |
9016 | _resultobj = Py_None; | |
9017 | } | |
9018 | return _resultobj; | |
9019 | } | |
9020 | ||
9021 | #define wxPyDividedShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
9022 | static PyObject *_wrap_wxPyDividedShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9023 | PyObject * _resultobj; | |
9024 | wxPyDividedShape * _arg0; | |
9025 | PyObject * _arg1; | |
9026 | PyObject * _argo0 = 0; | |
9027 | PyObject * _obj1 = 0; | |
9028 | char *_kwnames[] = { "self","self", NULL }; | |
9029 | ||
9030 | self = self; | |
9031 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
9032 | return NULL; | |
9033 | if (_argo0) { | |
9034 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9035 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setSelf. Expected _wxPyDividedShape_p."); | |
9037 | return NULL; | |
9038 | } | |
9039 | } | |
9040 | { | |
9041 | _arg1 = _obj1; | |
9042 | } | |
9043 | { | |
9044 | wxPy_BEGIN_ALLOW_THREADS; | |
9045 | wxPyDividedShape__setSelf(_arg0,_arg1); | |
9046 | ||
9047 | wxPy_END_ALLOW_THREADS; | |
9048 | } Py_INCREF(Py_None); | |
9049 | _resultobj = Py_None; | |
9050 | return _resultobj; | |
9051 | } | |
9052 | ||
9053 | #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions()) | |
9054 | static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9055 | PyObject * _resultobj; | |
9056 | wxPyDividedShape * _arg0; | |
9057 | PyObject * _argo0 = 0; | |
9058 | char *_kwnames[] = { "self", NULL }; | |
9059 | ||
9060 | self = self; | |
9061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0)) | |
9062 | return NULL; | |
9063 | if (_argo0) { | |
9064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p."); | |
9067 | return NULL; | |
9068 | } | |
9069 | } | |
9070 | { | |
9071 | wxPy_BEGIN_ALLOW_THREADS; | |
9072 | wxPyDividedShape_EditRegions(_arg0); | |
9073 | ||
9074 | wxPy_END_ALLOW_THREADS; | |
9075 | } Py_INCREF(Py_None); | |
9076 | _resultobj = Py_None; | |
9077 | return _resultobj; | |
9078 | } | |
9079 | ||
9080 | #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes()) | |
9081 | static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9082 | PyObject * _resultobj; | |
9083 | wxPyDividedShape * _arg0; | |
9084 | PyObject * _argo0 = 0; | |
9085 | char *_kwnames[] = { "self", NULL }; | |
9086 | ||
9087 | self = self; | |
9088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0)) | |
9089 | return NULL; | |
9090 | if (_argo0) { | |
9091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p."); | |
9094 | return NULL; | |
9095 | } | |
9096 | } | |
9097 | { | |
9098 | wxPy_BEGIN_ALLOW_THREADS; | |
9099 | wxPyDividedShape_SetRegionSizes(_arg0); | |
9100 | ||
9101 | wxPy_END_ALLOW_THREADS; | |
9102 | } Py_INCREF(Py_None); | |
9103 | _resultobj = Py_None; | |
9104 | return _resultobj; | |
9105 | } | |
9106 | ||
9107 | #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
9108 | static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9109 | PyObject * _resultobj; | |
9110 | wxPyDividedShape * _arg0; | |
9111 | PyObject * _argo0 = 0; | |
9112 | char *_kwnames[] = { "self", NULL }; | |
9113 | ||
9114 | self = self; | |
9115 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0)) | |
9116 | return NULL; | |
9117 | if (_argo0) { | |
9118 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9119 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9120 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p."); | |
9121 | return NULL; | |
9122 | } | |
9123 | } | |
9124 | { | |
9125 | wxPy_BEGIN_ALLOW_THREADS; | |
9126 | wxPyDividedShape_base_OnDelete(_arg0); | |
9127 | ||
9128 | wxPy_END_ALLOW_THREADS; | |
9129 | } Py_INCREF(Py_None); | |
9130 | _resultobj = Py_None; | |
9131 | return _resultobj; | |
9132 | } | |
9133 | ||
9134 | #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
9135 | static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9136 | PyObject * _resultobj; | |
9137 | wxPyDividedShape * _arg0; | |
9138 | wxDC * _arg1; | |
9139 | PyObject * _argo0 = 0; | |
9140 | PyObject * _argo1 = 0; | |
9141 | char *_kwnames[] = { "self","dc", NULL }; | |
9142 | ||
9143 | self = self; | |
9144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
9145 | return NULL; | |
9146 | if (_argo0) { | |
9147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p."); | |
9150 | return NULL; | |
9151 | } | |
9152 | } | |
9153 | if (_argo1) { | |
9154 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9155 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9156 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p."); | |
9157 | return NULL; | |
9158 | } | |
9159 | } | |
9160 | { | |
9161 | wxPy_BEGIN_ALLOW_THREADS; | |
9162 | wxPyDividedShape_base_OnDraw(_arg0,*_arg1); | |
9163 | ||
9164 | wxPy_END_ALLOW_THREADS; | |
9165 | } Py_INCREF(Py_None); | |
9166 | _resultobj = Py_None; | |
9167 | return _resultobj; | |
9168 | } | |
9169 | ||
9170 | #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
9171 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9172 | PyObject * _resultobj; | |
9173 | wxPyDividedShape * _arg0; | |
9174 | wxDC * _arg1; | |
9175 | PyObject * _argo0 = 0; | |
9176 | PyObject * _argo1 = 0; | |
9177 | char *_kwnames[] = { "self","dc", NULL }; | |
9178 | ||
9179 | self = self; | |
9180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
9181 | return NULL; | |
9182 | if (_argo0) { | |
9183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p."); | |
9186 | return NULL; | |
9187 | } | |
9188 | } | |
9189 | if (_argo1) { | |
9190 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9191 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p."); | |
9193 | return NULL; | |
9194 | } | |
9195 | } | |
9196 | { | |
9197 | wxPy_BEGIN_ALLOW_THREADS; | |
9198 | wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1); | |
9199 | ||
9200 | wxPy_END_ALLOW_THREADS; | |
9201 | } Py_INCREF(Py_None); | |
9202 | _resultobj = Py_None; | |
9203 | return _resultobj; | |
9204 | } | |
9205 | ||
9206 | #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
9207 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9208 | PyObject * _resultobj; | |
9209 | wxPyDividedShape * _arg0; | |
9210 | wxDC * _arg1; | |
9211 | bool _arg2 = (bool ) FALSE; | |
9212 | PyObject * _argo0 = 0; | |
9213 | PyObject * _argo1 = 0; | |
9214 | int tempbool2 = (int) FALSE; | |
9215 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
9216 | ||
9217 | self = self; | |
9218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9219 | return NULL; | |
9220 | if (_argo0) { | |
9221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p."); | |
9224 | return NULL; | |
9225 | } | |
9226 | } | |
9227 | if (_argo1) { | |
9228 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9229 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9230 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p."); | |
9231 | return NULL; | |
9232 | } | |
9233 | } | |
9234 | _arg2 = (bool ) tempbool2; | |
9235 | { | |
9236 | wxPy_BEGIN_ALLOW_THREADS; | |
9237 | wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
9238 | ||
9239 | wxPy_END_ALLOW_THREADS; | |
9240 | } Py_INCREF(Py_None); | |
9241 | _resultobj = Py_None; | |
9242 | return _resultobj; | |
9243 | } | |
9244 | ||
9245 | #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
9246 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9247 | PyObject * _resultobj; | |
9248 | wxPyDividedShape * _arg0; | |
9249 | wxDC * _arg1; | |
9250 | PyObject * _argo0 = 0; | |
9251 | PyObject * _argo1 = 0; | |
9252 | char *_kwnames[] = { "self","dc", NULL }; | |
9253 | ||
9254 | self = self; | |
9255 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
9256 | return NULL; | |
9257 | if (_argo0) { | |
9258 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9259 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9260 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p."); | |
9261 | return NULL; | |
9262 | } | |
9263 | } | |
9264 | if (_argo1) { | |
9265 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9266 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9267 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p."); | |
9268 | return NULL; | |
9269 | } | |
9270 | } | |
9271 | { | |
9272 | wxPy_BEGIN_ALLOW_THREADS; | |
9273 | wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1); | |
9274 | ||
9275 | wxPy_END_ALLOW_THREADS; | |
9276 | } Py_INCREF(Py_None); | |
9277 | _resultobj = Py_None; | |
9278 | return _resultobj; | |
9279 | } | |
9280 | ||
9281 | #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
9282 | static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9283 | PyObject * _resultobj; | |
9284 | wxPyDividedShape * _arg0; | |
9285 | wxDC * _arg1; | |
9286 | PyObject * _argo0 = 0; | |
9287 | PyObject * _argo1 = 0; | |
9288 | char *_kwnames[] = { "self","dc", NULL }; | |
9289 | ||
9290 | self = self; | |
9291 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
9292 | return NULL; | |
9293 | if (_argo0) { | |
9294 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9295 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9296 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p."); | |
9297 | return NULL; | |
9298 | } | |
9299 | } | |
9300 | if (_argo1) { | |
9301 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9302 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p."); | |
9304 | return NULL; | |
9305 | } | |
9306 | } | |
9307 | { | |
9308 | wxPy_BEGIN_ALLOW_THREADS; | |
9309 | wxPyDividedShape_base_OnErase(_arg0,*_arg1); | |
9310 | ||
9311 | wxPy_END_ALLOW_THREADS; | |
9312 | } Py_INCREF(Py_None); | |
9313 | _resultobj = Py_None; | |
9314 | return _resultobj; | |
9315 | } | |
9316 | ||
9317 | #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
9318 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9319 | PyObject * _resultobj; | |
9320 | wxPyDividedShape * _arg0; | |
9321 | wxDC * _arg1; | |
9322 | PyObject * _argo0 = 0; | |
9323 | PyObject * _argo1 = 0; | |
9324 | char *_kwnames[] = { "self","dc", NULL }; | |
9325 | ||
9326 | self = self; | |
9327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
9328 | return NULL; | |
9329 | if (_argo0) { | |
9330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p."); | |
9333 | return NULL; | |
9334 | } | |
9335 | } | |
9336 | if (_argo1) { | |
9337 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9338 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p."); | |
9340 | return NULL; | |
9341 | } | |
9342 | } | |
9343 | { | |
9344 | wxPy_BEGIN_ALLOW_THREADS; | |
9345 | wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1); | |
9346 | ||
9347 | wxPy_END_ALLOW_THREADS; | |
9348 | } Py_INCREF(Py_None); | |
9349 | _resultobj = Py_None; | |
9350 | return _resultobj; | |
9351 | } | |
9352 | ||
9353 | #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
9354 | static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9355 | PyObject * _resultobj; | |
9356 | wxPyDividedShape * _arg0; | |
9357 | wxDC * _arg1; | |
9358 | PyObject * _argo0 = 0; | |
9359 | PyObject * _argo1 = 0; | |
9360 | char *_kwnames[] = { "self","dc", NULL }; | |
9361 | ||
9362 | self = self; | |
9363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
9364 | return NULL; | |
9365 | if (_argo0) { | |
9366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p."); | |
9369 | return NULL; | |
9370 | } | |
9371 | } | |
9372 | if (_argo1) { | |
9373 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9374 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9375 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p."); | |
9376 | return NULL; | |
9377 | } | |
9378 | } | |
9379 | { | |
9380 | wxPy_BEGIN_ALLOW_THREADS; | |
9381 | wxPyDividedShape_base_OnHighlight(_arg0,*_arg1); | |
9382 | ||
9383 | wxPy_END_ALLOW_THREADS; | |
9384 | } Py_INCREF(Py_None); | |
9385 | _resultobj = Py_None; | |
9386 | return _resultobj; | |
9387 | } | |
9388 | ||
9389 | #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9390 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9391 | PyObject * _resultobj; | |
9392 | wxPyDividedShape * _arg0; | |
9393 | double _arg1; | |
9394 | double _arg2; | |
9395 | int _arg3 = (int ) 0; | |
9396 | int _arg4 = (int ) 0; | |
9397 | PyObject * _argo0 = 0; | |
9398 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9399 | ||
9400 | self = self; | |
9401 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9402 | return NULL; | |
9403 | if (_argo0) { | |
9404 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9405 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p."); | |
9407 | return NULL; | |
9408 | } | |
9409 | } | |
9410 | { | |
9411 | wxPy_BEGIN_ALLOW_THREADS; | |
9412 | wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9413 | ||
9414 | wxPy_END_ALLOW_THREADS; | |
9415 | } Py_INCREF(Py_None); | |
9416 | _resultobj = Py_None; | |
9417 | return _resultobj; | |
9418 | } | |
9419 | ||
9420 | #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9421 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9422 | PyObject * _resultobj; | |
9423 | wxPyDividedShape * _arg0; | |
9424 | double _arg1; | |
9425 | double _arg2; | |
9426 | int _arg3 = (int ) 0; | |
9427 | int _arg4 = (int ) 0; | |
9428 | PyObject * _argo0 = 0; | |
9429 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9430 | ||
9431 | self = self; | |
9432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9433 | return NULL; | |
9434 | if (_argo0) { | |
9435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p."); | |
9438 | return NULL; | |
9439 | } | |
9440 | } | |
9441 | { | |
9442 | wxPy_BEGIN_ALLOW_THREADS; | |
9443 | wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9444 | ||
9445 | wxPy_END_ALLOW_THREADS; | |
9446 | } Py_INCREF(Py_None); | |
9447 | _resultobj = Py_None; | |
9448 | return _resultobj; | |
9449 | } | |
9450 | ||
9451 | #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9452 | static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9453 | PyObject * _resultobj; | |
9454 | wxPyDividedShape * _arg0; | |
9455 | double _arg1; | |
9456 | double _arg2; | |
9457 | int _arg3 = (int ) 0; | |
9458 | int _arg4 = (int ) 0; | |
9459 | PyObject * _argo0 = 0; | |
9460 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9461 | ||
9462 | self = self; | |
9463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9464 | return NULL; | |
9465 | if (_argo0) { | |
9466 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9467 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p."); | |
9469 | return NULL; | |
9470 | } | |
9471 | } | |
9472 | { | |
9473 | wxPy_BEGIN_ALLOW_THREADS; | |
9474 | wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9475 | ||
9476 | wxPy_END_ALLOW_THREADS; | |
9477 | } Py_INCREF(Py_None); | |
9478 | _resultobj = Py_None; | |
9479 | return _resultobj; | |
9480 | } | |
9481 | ||
9482 | #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
9483 | static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9484 | PyObject * _resultobj; | |
9485 | wxPyDividedShape * _arg0; | |
9486 | double _arg1; | |
9487 | double _arg2; | |
9488 | PyObject * _argo0 = 0; | |
9489 | char *_kwnames[] = { "self","x","y", NULL }; | |
9490 | ||
9491 | self = self; | |
9492 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9493 | return NULL; | |
9494 | if (_argo0) { | |
9495 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9496 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9497 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p."); | |
9498 | return NULL; | |
9499 | } | |
9500 | } | |
9501 | { | |
9502 | wxPy_BEGIN_ALLOW_THREADS; | |
9503 | wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2); | |
9504 | ||
9505 | wxPy_END_ALLOW_THREADS; | |
9506 | } Py_INCREF(Py_None); | |
9507 | _resultobj = Py_None; | |
9508 | return _resultobj; | |
9509 | } | |
9510 | ||
9511 | #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9512 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9513 | PyObject * _resultobj; | |
9514 | bool _result; | |
9515 | wxPyDividedShape * _arg0; | |
9516 | wxDC * _arg1; | |
9517 | double _arg2; | |
9518 | double _arg3; | |
9519 | double _arg4; | |
9520 | double _arg5; | |
9521 | bool _arg6 = (bool ) TRUE; | |
9522 | PyObject * _argo0 = 0; | |
9523 | PyObject * _argo1 = 0; | |
9524 | int tempbool6 = (int) TRUE; | |
9525 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9526 | ||
9527 | self = self; | |
9528 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9529 | return NULL; | |
9530 | if (_argo0) { | |
9531 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9532 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9533 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p."); | |
9534 | return NULL; | |
9535 | } | |
9536 | } | |
9537 | if (_argo1) { | |
9538 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9539 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p."); | |
9541 | return NULL; | |
9542 | } | |
9543 | } | |
9544 | _arg6 = (bool ) tempbool6; | |
9545 | { | |
9546 | wxPy_BEGIN_ALLOW_THREADS; | |
9547 | _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9548 | ||
9549 | wxPy_END_ALLOW_THREADS; | |
9550 | } _resultobj = Py_BuildValue("i",_result); | |
9551 | return _resultobj; | |
9552 | } | |
9553 | ||
9554 | #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9555 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9556 | PyObject * _resultobj; | |
9557 | wxPyDividedShape * _arg0; | |
9558 | wxDC * _arg1; | |
9559 | double _arg2; | |
9560 | double _arg3; | |
9561 | double _arg4; | |
9562 | double _arg5; | |
9563 | bool _arg6 = (bool ) TRUE; | |
9564 | PyObject * _argo0 = 0; | |
9565 | PyObject * _argo1 = 0; | |
9566 | int tempbool6 = (int) TRUE; | |
9567 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9568 | ||
9569 | self = self; | |
9570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9571 | return NULL; | |
9572 | if (_argo0) { | |
9573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p."); | |
9576 | return NULL; | |
9577 | } | |
9578 | } | |
9579 | if (_argo1) { | |
9580 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9581 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p."); | |
9583 | return NULL; | |
9584 | } | |
9585 | } | |
9586 | _arg6 = (bool ) tempbool6; | |
9587 | { | |
9588 | wxPy_BEGIN_ALLOW_THREADS; | |
9589 | wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9590 | ||
9591 | wxPy_END_ALLOW_THREADS; | |
9592 | } Py_INCREF(Py_None); | |
9593 | _resultobj = Py_None; | |
9594 | return _resultobj; | |
9595 | } | |
9596 | ||
9597 | #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9598 | static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9599 | PyObject * _resultobj; | |
9600 | wxPyDividedShape * _arg0; | |
9601 | bool _arg1; | |
9602 | double _arg2; | |
9603 | double _arg3; | |
9604 | int _arg4 = (int ) 0; | |
9605 | int _arg5 = (int ) 0; | |
9606 | PyObject * _argo0 = 0; | |
9607 | int tempbool1; | |
9608 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9609 | ||
9610 | self = self; | |
9611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9612 | return NULL; | |
9613 | if (_argo0) { | |
9614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p."); | |
9617 | return NULL; | |
9618 | } | |
9619 | } | |
9620 | _arg1 = (bool ) tempbool1; | |
9621 | { | |
9622 | wxPy_BEGIN_ALLOW_THREADS; | |
9623 | wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9624 | ||
9625 | wxPy_END_ALLOW_THREADS; | |
9626 | } Py_INCREF(Py_None); | |
9627 | _resultobj = Py_None; | |
9628 | return _resultobj; | |
9629 | } | |
9630 | ||
9631 | #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9632 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9633 | PyObject * _resultobj; | |
9634 | wxPyDividedShape * _arg0; | |
9635 | double _arg1; | |
9636 | double _arg2; | |
9637 | int _arg3 = (int ) 0; | |
9638 | int _arg4 = (int ) 0; | |
9639 | PyObject * _argo0 = 0; | |
9640 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9641 | ||
9642 | self = self; | |
9643 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9644 | return NULL; | |
9645 | if (_argo0) { | |
9646 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9647 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9648 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p."); | |
9649 | return NULL; | |
9650 | } | |
9651 | } | |
9652 | { | |
9653 | wxPy_BEGIN_ALLOW_THREADS; | |
9654 | wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9655 | ||
9656 | wxPy_END_ALLOW_THREADS; | |
9657 | } Py_INCREF(Py_None); | |
9658 | _resultobj = Py_None; | |
9659 | return _resultobj; | |
9660 | } | |
9661 | ||
9662 | #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9663 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9664 | PyObject * _resultobj; | |
9665 | wxPyDividedShape * _arg0; | |
9666 | double _arg1; | |
9667 | double _arg2; | |
9668 | int _arg3 = (int ) 0; | |
9669 | int _arg4 = (int ) 0; | |
9670 | PyObject * _argo0 = 0; | |
9671 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9672 | ||
9673 | self = self; | |
9674 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9675 | return NULL; | |
9676 | if (_argo0) { | |
9677 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9678 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9679 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p."); | |
9680 | return NULL; | |
9681 | } | |
9682 | } | |
9683 | { | |
9684 | wxPy_BEGIN_ALLOW_THREADS; | |
9685 | wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9686 | ||
9687 | wxPy_END_ALLOW_THREADS; | |
9688 | } Py_INCREF(Py_None); | |
9689 | _resultobj = Py_None; | |
9690 | return _resultobj; | |
9691 | } | |
9692 | ||
9693 | #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9694 | static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9695 | PyObject * _resultobj; | |
9696 | wxPyDividedShape * _arg0; | |
9697 | bool _arg1; | |
9698 | double _arg2; | |
9699 | double _arg3; | |
9700 | int _arg4 = (int ) 0; | |
9701 | int _arg5 = (int ) 0; | |
9702 | PyObject * _argo0 = 0; | |
9703 | int tempbool1; | |
9704 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9705 | ||
9706 | self = self; | |
9707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
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_OnDragRight. Expected _wxPyDividedShape_p."); | |
9713 | return NULL; | |
9714 | } | |
9715 | } | |
9716 | _arg1 = (bool ) tempbool1; | |
9717 | { | |
9718 | wxPy_BEGIN_ALLOW_THREADS; | |
9719 | wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9720 | ||
9721 | wxPy_END_ALLOW_THREADS; | |
9722 | } Py_INCREF(Py_None); | |
9723 | _resultobj = Py_None; | |
9724 | return _resultobj; | |
9725 | } | |
9726 | ||
9727 | #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9728 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9729 | PyObject * _resultobj; | |
9730 | wxPyDividedShape * _arg0; | |
9731 | double _arg1; | |
9732 | double _arg2; | |
9733 | int _arg3 = (int ) 0; | |
9734 | int _arg4 = (int ) 0; | |
9735 | PyObject * _argo0 = 0; | |
9736 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9737 | ||
9738 | self = self; | |
9739 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9740 | return NULL; | |
9741 | if (_argo0) { | |
9742 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9743 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9744 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p."); | |
9745 | return NULL; | |
9746 | } | |
9747 | } | |
9748 | { | |
9749 | wxPy_BEGIN_ALLOW_THREADS; | |
9750 | wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9751 | ||
9752 | wxPy_END_ALLOW_THREADS; | |
9753 | } Py_INCREF(Py_None); | |
9754 | _resultobj = Py_None; | |
9755 | return _resultobj; | |
9756 | } | |
9757 | ||
9758 | #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9759 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9760 | PyObject * _resultobj; | |
9761 | wxPyDividedShape * _arg0; | |
9762 | double _arg1; | |
9763 | double _arg2; | |
9764 | int _arg3 = (int ) 0; | |
9765 | int _arg4 = (int ) 0; | |
9766 | PyObject * _argo0 = 0; | |
9767 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9768 | ||
9769 | self = self; | |
9770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9771 | return NULL; | |
9772 | if (_argo0) { | |
9773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p."); | |
9776 | return NULL; | |
9777 | } | |
9778 | } | |
9779 | { | |
9780 | wxPy_BEGIN_ALLOW_THREADS; | |
9781 | wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9782 | ||
9783 | wxPy_END_ALLOW_THREADS; | |
9784 | } Py_INCREF(Py_None); | |
9785 | _resultobj = Py_None; | |
9786 | return _resultobj; | |
9787 | } | |
9788 | ||
9789 | #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9790 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9791 | PyObject * _resultobj; | |
9792 | wxPyDividedShape * _arg0; | |
9793 | wxDC * _arg1; | |
9794 | double _arg2; | |
9795 | double _arg3; | |
9796 | double _arg4; | |
9797 | double _arg5; | |
9798 | PyObject * _argo0 = 0; | |
9799 | PyObject * _argo1 = 0; | |
9800 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
9801 | ||
9802 | self = self; | |
9803 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9804 | return NULL; | |
9805 | if (_argo0) { | |
9806 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9807 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9808 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p."); | |
9809 | return NULL; | |
9810 | } | |
9811 | } | |
9812 | if (_argo1) { | |
9813 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9814 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p."); | |
9816 | return NULL; | |
9817 | } | |
9818 | } | |
9819 | { | |
9820 | wxPy_BEGIN_ALLOW_THREADS; | |
9821 | wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
9822 | ||
9823 | wxPy_END_ALLOW_THREADS; | |
9824 | } Py_INCREF(Py_None); | |
9825 | _resultobj = Py_None; | |
9826 | return _resultobj; | |
9827 | } | |
9828 | ||
9829 | #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
9830 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9831 | PyObject * _resultobj; | |
9832 | wxPyDividedShape * _arg0; | |
9833 | wxDC * _arg1; | |
9834 | PyObject * _argo0 = 0; | |
9835 | PyObject * _argo1 = 0; | |
9836 | char *_kwnames[] = { "self","dc", NULL }; | |
9837 | ||
9838 | self = self; | |
9839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
9840 | return NULL; | |
9841 | if (_argo0) { | |
9842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p."); | |
9845 | return NULL; | |
9846 | } | |
9847 | } | |
9848 | if (_argo1) { | |
9849 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9850 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9851 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
9852 | return NULL; | |
9853 | } | |
9854 | } | |
9855 | { | |
9856 | wxPy_BEGIN_ALLOW_THREADS; | |
9857 | wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
9858 | ||
9859 | wxPy_END_ALLOW_THREADS; | |
9860 | } Py_INCREF(Py_None); | |
9861 | _resultobj = Py_None; | |
9862 | return _resultobj; | |
9863 | } | |
9864 | ||
9865 | #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
9866 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9867 | PyObject * _resultobj; | |
9868 | wxPyDividedShape * _arg0; | |
9869 | wxDC * _arg1; | |
9870 | PyObject * _argo0 = 0; | |
9871 | PyObject * _argo1 = 0; | |
9872 | char *_kwnames[] = { "self","dc", NULL }; | |
9873 | ||
9874 | self = self; | |
9875 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
9876 | return NULL; | |
9877 | if (_argo0) { | |
9878 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9879 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9880 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p."); | |
9881 | return NULL; | |
9882 | } | |
9883 | } | |
9884 | if (_argo1) { | |
9885 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9886 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9887 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
9888 | return NULL; | |
9889 | } | |
9890 | } | |
9891 | { | |
9892 | wxPy_BEGIN_ALLOW_THREADS; | |
9893 | wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
9894 | ||
9895 | wxPy_END_ALLOW_THREADS; | |
9896 | } Py_INCREF(Py_None); | |
9897 | _resultobj = Py_None; | |
9898 | return _resultobj; | |
9899 | } | |
9900 | ||
9901 | #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
9902 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9903 | PyObject * _resultobj; | |
9904 | wxPyDividedShape * _arg0; | |
9905 | wxDC * _arg1; | |
9906 | bool _arg2 = (bool ) TRUE; | |
9907 | PyObject * _argo0 = 0; | |
9908 | PyObject * _argo1 = 0; | |
9909 | int tempbool2 = (int) TRUE; | |
9910 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
9911 | ||
9912 | self = self; | |
9913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9914 | return NULL; | |
9915 | if (_argo0) { | |
9916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p."); | |
9919 | return NULL; | |
9920 | } | |
9921 | } | |
9922 | if (_argo1) { | |
9923 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9924 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9925 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p."); | |
9926 | return NULL; | |
9927 | } | |
9928 | } | |
9929 | _arg2 = (bool ) tempbool2; | |
9930 | { | |
9931 | wxPy_BEGIN_ALLOW_THREADS; | |
9932 | wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
9933 | ||
9934 | wxPy_END_ALLOW_THREADS; | |
9935 | } Py_INCREF(Py_None); | |
9936 | _resultobj = Py_None; | |
9937 | return _resultobj; | |
9938 | } | |
9939 | ||
9940 | #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9941 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9942 | PyObject * _resultobj; | |
9943 | wxPyDividedShape * _arg0; | |
2348eaee | 9944 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
9945 | bool _arg2; |
9946 | double _arg3; | |
9947 | double _arg4; | |
9948 | int _arg5 = (int ) 0; | |
9949 | int _arg6 = (int ) 0; | |
9950 | PyObject * _argo0 = 0; | |
9951 | PyObject * _argo1 = 0; | |
9952 | int tempbool2; | |
9953 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
9954 | ||
9955 | self = self; | |
9956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
9957 | return NULL; | |
9958 | if (_argo0) { | |
9959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p."); | |
9962 | return NULL; | |
9963 | } | |
9964 | } | |
9965 | if (_argo1) { | |
9966 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
9967 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
9968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
9969 | return NULL; |
9970 | } | |
9971 | } | |
9972 | _arg2 = (bool ) tempbool2; | |
9973 | { | |
9974 | wxPy_BEGIN_ALLOW_THREADS; | |
9975 | wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9976 | ||
9977 | wxPy_END_ALLOW_THREADS; | |
9978 | } Py_INCREF(Py_None); | |
9979 | _resultobj = Py_None; | |
9980 | return _resultobj; | |
9981 | } | |
9982 | ||
9983 | #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9984 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9985 | PyObject * _resultobj; | |
9986 | wxPyDividedShape * _arg0; | |
2348eaee | 9987 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
9988 | double _arg2; |
9989 | double _arg3; | |
9990 | int _arg4 = (int ) 0; | |
9991 | int _arg5 = (int ) 0; | |
9992 | PyObject * _argo0 = 0; | |
9993 | PyObject * _argo1 = 0; | |
9994 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
9995 | ||
9996 | self = self; | |
9997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9998 | return NULL; | |
9999 | if (_argo0) { | |
10000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p."); | |
10003 | return NULL; | |
10004 | } | |
10005 | } | |
10006 | if (_argo1) { | |
10007 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10008 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10010 | return NULL; |
10011 | } | |
10012 | } | |
10013 | { | |
10014 | wxPy_BEGIN_ALLOW_THREADS; | |
10015 | wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10016 | ||
10017 | wxPy_END_ALLOW_THREADS; | |
10018 | } Py_INCREF(Py_None); | |
10019 | _resultobj = Py_None; | |
10020 | return _resultobj; | |
10021 | } | |
10022 | ||
10023 | #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10024 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10025 | PyObject * _resultobj; | |
10026 | wxPyDividedShape * _arg0; | |
2348eaee | 10027 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10028 | double _arg2; |
10029 | double _arg3; | |
10030 | int _arg4 = (int ) 0; | |
10031 | int _arg5 = (int ) 0; | |
10032 | PyObject * _argo0 = 0; | |
10033 | PyObject * _argo1 = 0; | |
10034 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10035 | ||
10036 | self = self; | |
10037 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10038 | return NULL; | |
10039 | if (_argo0) { | |
10040 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10041 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p."); | |
10043 | return NULL; | |
10044 | } | |
10045 | } | |
10046 | if (_argo1) { | |
10047 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10048 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10049 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10050 | return NULL; |
10051 | } | |
10052 | } | |
10053 | { | |
10054 | wxPy_BEGIN_ALLOW_THREADS; | |
10055 | wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10056 | ||
10057 | wxPy_END_ALLOW_THREADS; | |
10058 | } Py_INCREF(Py_None); | |
10059 | _resultobj = Py_None; | |
10060 | return _resultobj; | |
10061 | } | |
10062 | ||
10063 | #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
10064 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10065 | PyObject * _resultobj; | |
10066 | wxPyDividedShape * _arg0; | |
10067 | double _arg1; | |
10068 | double _arg2; | |
10069 | PyObject * _argo0 = 0; | |
10070 | char *_kwnames[] = { "self","w","h", NULL }; | |
10071 | ||
10072 | self = self; | |
10073 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10074 | return NULL; | |
10075 | if (_argo0) { | |
10076 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10077 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p."); | |
10079 | return NULL; | |
10080 | } | |
10081 | } | |
10082 | { | |
10083 | wxPy_BEGIN_ALLOW_THREADS; | |
10084 | wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
10085 | ||
10086 | wxPy_END_ALLOW_THREADS; | |
10087 | } Py_INCREF(Py_None); | |
10088 | _resultobj = Py_None; | |
10089 | return _resultobj; | |
10090 | } | |
10091 | ||
10092 | #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
10093 | static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10094 | PyObject * _resultobj; | |
10095 | wxPyDividedShape * _arg0; | |
10096 | double _arg1; | |
10097 | double _arg2; | |
10098 | PyObject * _argo0 = 0; | |
10099 | char *_kwnames[] = { "self","w","h", NULL }; | |
10100 | ||
10101 | self = self; | |
10102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10103 | return NULL; | |
10104 | if (_argo0) { | |
10105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p."); | |
10108 | return NULL; | |
10109 | } | |
10110 | } | |
10111 | { | |
10112 | wxPy_BEGIN_ALLOW_THREADS; | |
10113 | wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
10114 | ||
10115 | wxPy_END_ALLOW_THREADS; | |
10116 | } Py_INCREF(Py_None); | |
10117 | _resultobj = Py_None; | |
10118 | return _resultobj; | |
10119 | } | |
10120 | ||
10121 | static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) { | |
10122 | wxPyDivisionShape *src; | |
10123 | wxPyCompositeShape *dest; | |
10124 | src = (wxPyDivisionShape *) ptr; | |
10125 | dest = (wxPyCompositeShape *) src; | |
10126 | return (void *) dest; | |
10127 | } | |
10128 | ||
10129 | static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) { | |
10130 | wxPyDivisionShape *src; | |
10131 | wxPyRectangleShape *dest; | |
10132 | src = (wxPyDivisionShape *) ptr; | |
10133 | dest = (wxPyRectangleShape *) src; | |
10134 | return (void *) dest; | |
10135 | } | |
10136 | ||
10137 | static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) { | |
10138 | wxPyDivisionShape *src; | |
10139 | wxPyShape *dest; | |
10140 | src = (wxPyDivisionShape *) ptr; | |
10141 | dest = (wxPyShape *) src; | |
10142 | return (void *) dest; | |
10143 | } | |
10144 | ||
10145 | static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) { | |
10146 | wxPyDivisionShape *src; | |
10147 | wxPyShapeEvtHandler *dest; | |
10148 | src = (wxPyDivisionShape *) ptr; | |
10149 | dest = (wxPyShapeEvtHandler *) src; | |
10150 | return (void *) dest; | |
10151 | } | |
10152 | ||
10153 | #define new_wxPyDivisionShape() (new wxPyDivisionShape()) | |
10154 | static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10155 | PyObject * _resultobj; | |
10156 | wxPyDivisionShape * _result; | |
10157 | char *_kwnames[] = { NULL }; | |
10158 | char _ptemp[128]; | |
10159 | ||
10160 | self = self; | |
10161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames)) | |
10162 | return NULL; | |
10163 | { | |
10164 | wxPy_BEGIN_ALLOW_THREADS; | |
10165 | _result = (wxPyDivisionShape *)new_wxPyDivisionShape(); | |
10166 | ||
10167 | wxPy_END_ALLOW_THREADS; | |
10168 | } if (_result) { | |
10169 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10170 | _resultobj = Py_BuildValue("s",_ptemp); | |
10171 | } else { | |
10172 | Py_INCREF(Py_None); | |
10173 | _resultobj = Py_None; | |
10174 | } | |
10175 | return _resultobj; | |
10176 | } | |
10177 | ||
10178 | #define wxPyDivisionShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0)) | |
10179 | static PyObject *_wrap_wxPyDivisionShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10180 | PyObject * _resultobj; | |
10181 | wxPyDivisionShape * _arg0; | |
10182 | PyObject * _arg1; | |
10183 | PyObject * _argo0 = 0; | |
10184 | PyObject * _obj1 = 0; | |
10185 | char *_kwnames[] = { "self","self", NULL }; | |
10186 | ||
10187 | self = self; | |
10188 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape__setSelf",_kwnames,&_argo0,&_obj1)) | |
10189 | return NULL; | |
10190 | if (_argo0) { | |
10191 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10192 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10193 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setSelf. Expected _wxPyDivisionShape_p."); | |
10194 | return NULL; | |
10195 | } | |
10196 | } | |
10197 | { | |
10198 | _arg1 = _obj1; | |
10199 | } | |
10200 | { | |
10201 | wxPy_BEGIN_ALLOW_THREADS; | |
10202 | wxPyDivisionShape__setSelf(_arg0,_arg1); | |
10203 | ||
10204 | wxPy_END_ALLOW_THREADS; | |
10205 | } Py_INCREF(Py_None); | |
10206 | _resultobj = Py_None; | |
10207 | return _resultobj; | |
10208 | } | |
10209 | ||
10210 | #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1)) | |
10211 | static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10212 | PyObject * _resultobj; | |
10213 | wxPyDivisionShape * _arg0; | |
10214 | double _arg1; | |
10215 | bool _arg2; | |
10216 | PyObject * _argo0 = 0; | |
10217 | int tempbool2; | |
10218 | char *_kwnames[] = { "self","bottom","test", NULL }; | |
10219 | ||
10220 | self = self; | |
10221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10222 | return NULL; | |
10223 | if (_argo0) { | |
10224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p."); | |
10227 | return NULL; | |
10228 | } | |
10229 | } | |
10230 | _arg2 = (bool ) tempbool2; | |
10231 | { | |
10232 | wxPy_BEGIN_ALLOW_THREADS; | |
10233 | wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2); | |
10234 | ||
10235 | wxPy_END_ALLOW_THREADS; | |
10236 | } Py_INCREF(Py_None); | |
10237 | _resultobj = Py_None; | |
10238 | return _resultobj; | |
10239 | } | |
10240 | ||
10241 | #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1)) | |
10242 | static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10243 | PyObject * _resultobj; | |
10244 | wxPyDivisionShape * _arg0; | |
10245 | double _arg1; | |
10246 | bool _arg2; | |
10247 | PyObject * _argo0 = 0; | |
10248 | int tempbool2; | |
10249 | char *_kwnames[] = { "self","left","test", NULL }; | |
10250 | ||
10251 | self = self; | |
10252 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10253 | return NULL; | |
10254 | if (_argo0) { | |
10255 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10256 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10257 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p."); | |
10258 | return NULL; | |
10259 | } | |
10260 | } | |
10261 | _arg2 = (bool ) tempbool2; | |
10262 | { | |
10263 | wxPy_BEGIN_ALLOW_THREADS; | |
10264 | wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2); | |
10265 | ||
10266 | wxPy_END_ALLOW_THREADS; | |
10267 | } Py_INCREF(Py_None); | |
10268 | _resultobj = Py_None; | |
10269 | return _resultobj; | |
10270 | } | |
10271 | ||
10272 | #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1)) | |
10273 | static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10274 | PyObject * _resultobj; | |
10275 | wxPyDivisionShape * _arg0; | |
10276 | double _arg1; | |
10277 | bool _arg2; | |
10278 | PyObject * _argo0 = 0; | |
10279 | int tempbool2; | |
10280 | char *_kwnames[] = { "self","right","test", NULL }; | |
10281 | ||
10282 | self = self; | |
10283 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10284 | return NULL; | |
10285 | if (_argo0) { | |
10286 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10287 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10288 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p."); | |
10289 | return NULL; | |
10290 | } | |
10291 | } | |
10292 | _arg2 = (bool ) tempbool2; | |
10293 | { | |
10294 | wxPy_BEGIN_ALLOW_THREADS; | |
10295 | wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2); | |
10296 | ||
10297 | wxPy_END_ALLOW_THREADS; | |
10298 | } Py_INCREF(Py_None); | |
10299 | _resultobj = Py_None; | |
10300 | return _resultobj; | |
10301 | } | |
10302 | ||
10303 | #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1)) | |
10304 | static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10305 | PyObject * _resultobj; | |
10306 | wxPyDivisionShape * _arg0; | |
10307 | double _arg1; | |
10308 | bool _arg2; | |
10309 | PyObject * _argo0 = 0; | |
10310 | int tempbool2; | |
10311 | char *_kwnames[] = { "self","top","test", NULL }; | |
10312 | ||
10313 | self = self; | |
10314 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10315 | return NULL; | |
10316 | if (_argo0) { | |
10317 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10318 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p."); | |
10320 | return NULL; | |
10321 | } | |
10322 | } | |
10323 | _arg2 = (bool ) tempbool2; | |
10324 | { | |
10325 | wxPy_BEGIN_ALLOW_THREADS; | |
10326 | wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2); | |
10327 | ||
10328 | wxPy_END_ALLOW_THREADS; | |
10329 | } Py_INCREF(Py_None); | |
10330 | _resultobj = Py_None; | |
10331 | return _resultobj; | |
10332 | } | |
10333 | ||
10334 | #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0)) | |
10335 | static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10336 | PyObject * _resultobj; | |
10337 | wxPyDivisionShape * _arg0; | |
10338 | int _arg1; | |
10339 | PyObject * _argo0 = 0; | |
10340 | char *_kwnames[] = { "self","direction", NULL }; | |
10341 | ||
10342 | self = self; | |
10343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1)) | |
10344 | return NULL; | |
10345 | if (_argo0) { | |
10346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p."); | |
10349 | return NULL; | |
10350 | } | |
10351 | } | |
10352 | { | |
10353 | wxPy_BEGIN_ALLOW_THREADS; | |
10354 | wxPyDivisionShape_Divide(_arg0,_arg1); | |
10355 | ||
10356 | wxPy_END_ALLOW_THREADS; | |
10357 | } Py_INCREF(Py_None); | |
10358 | _resultobj = Py_None; | |
10359 | return _resultobj; | |
10360 | } | |
10361 | ||
10362 | #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0)) | |
10363 | static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10364 | PyObject * _resultobj; | |
10365 | wxPyDivisionShape * _arg0; | |
10366 | int _arg1; | |
10367 | PyObject * _argo0 = 0; | |
10368 | char *_kwnames[] = { "self","side", NULL }; | |
10369 | ||
10370 | self = self; | |
10371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1)) | |
10372 | return NULL; | |
10373 | if (_argo0) { | |
10374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p."); | |
10377 | return NULL; | |
10378 | } | |
10379 | } | |
10380 | { | |
10381 | wxPy_BEGIN_ALLOW_THREADS; | |
10382 | wxPyDivisionShape_EditEdge(_arg0,_arg1); | |
10383 | ||
10384 | wxPy_END_ALLOW_THREADS; | |
10385 | } Py_INCREF(Py_None); | |
10386 | _resultobj = Py_None; | |
10387 | return _resultobj; | |
10388 | } | |
10389 | ||
10390 | #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide()) | |
10391 | static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10392 | PyObject * _resultobj; | |
10393 | wxPyDivisionShape * _result; | |
10394 | wxPyDivisionShape * _arg0; | |
10395 | PyObject * _argo0 = 0; | |
10396 | char *_kwnames[] = { "self", NULL }; | |
10397 | char _ptemp[128]; | |
10398 | ||
10399 | self = self; | |
10400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0)) | |
10401 | return NULL; | |
10402 | if (_argo0) { | |
10403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p."); | |
10406 | return NULL; | |
10407 | } | |
10408 | } | |
10409 | { | |
10410 | wxPy_BEGIN_ALLOW_THREADS; | |
10411 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0); | |
10412 | ||
10413 | wxPy_END_ALLOW_THREADS; | |
10414 | } if (_result) { | |
10415 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10416 | _resultobj = Py_BuildValue("s",_ptemp); | |
10417 | } else { | |
10418 | Py_INCREF(Py_None); | |
10419 | _resultobj = Py_None; | |
10420 | } | |
10421 | return _resultobj; | |
10422 | } | |
10423 | ||
10424 | #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide()) | |
10425 | static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10426 | PyObject * _resultobj; | |
10427 | int _result; | |
10428 | wxPyDivisionShape * _arg0; | |
10429 | PyObject * _argo0 = 0; | |
10430 | char *_kwnames[] = { "self", NULL }; | |
10431 | ||
10432 | self = self; | |
10433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0)) | |
10434 | return NULL; | |
10435 | if (_argo0) { | |
10436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p."); | |
10439 | return NULL; | |
10440 | } | |
10441 | } | |
10442 | { | |
10443 | wxPy_BEGIN_ALLOW_THREADS; | |
10444 | _result = (int )wxPyDivisionShape_GetHandleSide(_arg0); | |
10445 | ||
10446 | wxPy_END_ALLOW_THREADS; | |
10447 | } _resultobj = Py_BuildValue("i",_result); | |
10448 | return _resultobj; | |
10449 | } | |
10450 | ||
10451 | #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide()) | |
10452 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10453 | PyObject * _resultobj; | |
10454 | wxPyDivisionShape * _result; | |
10455 | wxPyDivisionShape * _arg0; | |
10456 | PyObject * _argo0 = 0; | |
10457 | char *_kwnames[] = { "self", NULL }; | |
10458 | char _ptemp[128]; | |
10459 | ||
10460 | self = self; | |
10461 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0)) | |
10462 | return NULL; | |
10463 | if (_argo0) { | |
10464 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10465 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10466 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p."); | |
10467 | return NULL; | |
10468 | } | |
10469 | } | |
10470 | { | |
10471 | wxPy_BEGIN_ALLOW_THREADS; | |
10472 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0); | |
10473 | ||
10474 | wxPy_END_ALLOW_THREADS; | |
10475 | } if (_result) { | |
10476 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10477 | _resultobj = Py_BuildValue("s",_ptemp); | |
10478 | } else { | |
10479 | Py_INCREF(Py_None); | |
10480 | _resultobj = Py_None; | |
10481 | } | |
10482 | return _resultobj; | |
10483 | } | |
10484 | ||
10485 | #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour()) | |
10486 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10487 | PyObject * _resultobj; | |
10488 | wxString * _result; | |
10489 | wxPyDivisionShape * _arg0; | |
10490 | PyObject * _argo0 = 0; | |
10491 | char *_kwnames[] = { "self", NULL }; | |
10492 | ||
10493 | self = self; | |
10494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0)) | |
10495 | return NULL; | |
10496 | if (_argo0) { | |
10497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10500 | return NULL; | |
10501 | } | |
10502 | } | |
10503 | { | |
10504 | wxPy_BEGIN_ALLOW_THREADS; | |
10505 | _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0)); | |
10506 | ||
10507 | wxPy_END_ALLOW_THREADS; | |
10508 | }{ | |
10509 | _resultobj = PyString_FromString(WXSTRINGCAST *(_result)); | |
10510 | } | |
10511 | { | |
10512 | delete _result; | |
10513 | } | |
10514 | return _resultobj; | |
10515 | } | |
10516 | ||
10517 | #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen()) | |
10518 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10519 | PyObject * _resultobj; | |
10520 | wxPen * _result; | |
10521 | wxPyDivisionShape * _arg0; | |
10522 | PyObject * _argo0 = 0; | |
10523 | char *_kwnames[] = { "self", NULL }; | |
10524 | char _ptemp[128]; | |
10525 | ||
10526 | self = self; | |
10527 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0)) | |
10528 | return NULL; | |
10529 | if (_argo0) { | |
10530 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10531 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10532 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
10533 | return NULL; | |
10534 | } | |
10535 | } | |
10536 | { | |
10537 | wxPy_BEGIN_ALLOW_THREADS; | |
10538 | _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0); | |
10539 | ||
10540 | wxPy_END_ALLOW_THREADS; | |
10541 | } if (_result) { | |
10542 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10543 | _resultobj = Py_BuildValue("s",_ptemp); | |
10544 | } else { | |
10545 | Py_INCREF(Py_None); | |
10546 | _resultobj = Py_None; | |
10547 | } | |
10548 | return _resultobj; | |
10549 | } | |
10550 | ||
10551 | #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide()) | |
10552 | static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10553 | PyObject * _resultobj; | |
10554 | wxPyDivisionShape * _result; | |
10555 | wxPyDivisionShape * _arg0; | |
10556 | PyObject * _argo0 = 0; | |
10557 | char *_kwnames[] = { "self", NULL }; | |
10558 | char _ptemp[128]; | |
10559 | ||
10560 | self = self; | |
10561 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0)) | |
10562 | return NULL; | |
10563 | if (_argo0) { | |
10564 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10565 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10566 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p."); | |
10567 | return NULL; | |
10568 | } | |
10569 | } | |
10570 | { | |
10571 | wxPy_BEGIN_ALLOW_THREADS; | |
10572 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0); | |
10573 | ||
10574 | wxPy_END_ALLOW_THREADS; | |
10575 | } if (_result) { | |
10576 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10577 | _resultobj = Py_BuildValue("s",_ptemp); | |
10578 | } else { | |
10579 | Py_INCREF(Py_None); | |
10580 | _resultobj = Py_None; | |
10581 | } | |
10582 | return _resultobj; | |
10583 | } | |
10584 | ||
10585 | #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide()) | |
10586 | static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10587 | PyObject * _resultobj; | |
10588 | wxPyDivisionShape * _result; | |
10589 | wxPyDivisionShape * _arg0; | |
10590 | PyObject * _argo0 = 0; | |
10591 | char *_kwnames[] = { "self", NULL }; | |
10592 | char _ptemp[128]; | |
10593 | ||
10594 | self = self; | |
10595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0)) | |
10596 | return NULL; | |
10597 | if (_argo0) { | |
10598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p."); | |
10601 | return NULL; | |
10602 | } | |
10603 | } | |
10604 | { | |
10605 | wxPy_BEGIN_ALLOW_THREADS; | |
10606 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0); | |
10607 | ||
10608 | wxPy_END_ALLOW_THREADS; | |
10609 | } if (_result) { | |
10610 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10611 | _resultobj = Py_BuildValue("s",_ptemp); | |
10612 | } else { | |
10613 | Py_INCREF(Py_None); | |
10614 | _resultobj = Py_None; | |
10615 | } | |
10616 | return _resultobj; | |
10617 | } | |
10618 | ||
10619 | #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen()) | |
10620 | static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10621 | PyObject * _resultobj; | |
10622 | wxPen * _result; | |
10623 | wxPyDivisionShape * _arg0; | |
10624 | PyObject * _argo0 = 0; | |
10625 | char *_kwnames[] = { "self", NULL }; | |
10626 | char _ptemp[128]; | |
10627 | ||
10628 | self = self; | |
10629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0)) | |
10630 | return NULL; | |
10631 | if (_argo0) { | |
10632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p."); | |
10635 | return NULL; | |
10636 | } | |
10637 | } | |
10638 | { | |
10639 | wxPy_BEGIN_ALLOW_THREADS; | |
10640 | _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0); | |
10641 | ||
10642 | wxPy_END_ALLOW_THREADS; | |
10643 | } if (_result) { | |
10644 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10645 | _resultobj = Py_BuildValue("s",_ptemp); | |
10646 | } else { | |
10647 | Py_INCREF(Py_None); | |
10648 | _resultobj = Py_None; | |
10649 | } | |
10650 | return _resultobj; | |
10651 | } | |
10652 | ||
10653 | #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2)) | |
10654 | static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10655 | PyObject * _resultobj; | |
10656 | wxPyDivisionShape * _arg0; | |
10657 | int _arg1; | |
10658 | double _arg2; | |
10659 | bool _arg3; | |
10660 | PyObject * _argo0 = 0; | |
10661 | int tempbool3; | |
10662 | char *_kwnames[] = { "self","side","newPos","test", NULL }; | |
10663 | ||
10664 | self = self; | |
10665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
10666 | return NULL; | |
10667 | if (_argo0) { | |
10668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p."); | |
10671 | return NULL; | |
10672 | } | |
10673 | } | |
10674 | _arg3 = (bool ) tempbool3; | |
10675 | { | |
10676 | wxPy_BEGIN_ALLOW_THREADS; | |
10677 | wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3); | |
10678 | ||
10679 | wxPy_END_ALLOW_THREADS; | |
10680 | } Py_INCREF(Py_None); | |
10681 | _resultobj = Py_None; | |
10682 | return _resultobj; | |
10683 | } | |
10684 | ||
10685 | #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1)) | |
10686 | static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10687 | PyObject * _resultobj; | |
10688 | wxPyDivisionShape * _arg0; | |
10689 | double _arg1; | |
10690 | double _arg2; | |
10691 | PyObject * _argo0 = 0; | |
10692 | char *_kwnames[] = { "self","x","y", NULL }; | |
10693 | ||
10694 | self = self; | |
10695 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10696 | return NULL; | |
10697 | if (_argo0) { | |
10698 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10699 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10700 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p."); | |
10701 | return NULL; | |
10702 | } | |
10703 | } | |
10704 | { | |
10705 | wxPy_BEGIN_ALLOW_THREADS; | |
10706 | wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2); | |
10707 | ||
10708 | wxPy_END_ALLOW_THREADS; | |
10709 | } Py_INCREF(Py_None); | |
10710 | _resultobj = Py_None; | |
10711 | return _resultobj; | |
10712 | } | |
10713 | ||
10714 | #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0)) | |
10715 | static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10716 | PyObject * _resultobj; | |
10717 | wxPyDivisionShape * _arg0; | |
10718 | wxPyDivisionShape * _arg1; | |
10719 | PyObject * _argo0 = 0; | |
10720 | PyObject * _argo1 = 0; | |
10721 | char *_kwnames[] = { "self","shape", NULL }; | |
10722 | ||
10723 | self = self; | |
10724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1)) | |
10725 | return NULL; | |
10726 | if (_argo0) { | |
10727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10730 | return NULL; | |
10731 | } | |
10732 | } | |
10733 | if (_argo1) { | |
10734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10737 | return NULL; | |
10738 | } | |
10739 | } | |
10740 | { | |
10741 | wxPy_BEGIN_ALLOW_THREADS; | |
10742 | wxPyDivisionShape_SetBottomSide(_arg0,_arg1); | |
10743 | ||
10744 | wxPy_END_ALLOW_THREADS; | |
10745 | } Py_INCREF(Py_None); | |
10746 | _resultobj = Py_None; | |
10747 | return _resultobj; | |
10748 | } | |
10749 | ||
10750 | #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0)) | |
10751 | static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10752 | PyObject * _resultobj; | |
10753 | wxPyDivisionShape * _arg0; | |
10754 | int _arg1; | |
10755 | PyObject * _argo0 = 0; | |
10756 | char *_kwnames[] = { "self","side", NULL }; | |
10757 | ||
10758 | self = self; | |
10759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1)) | |
10760 | return NULL; | |
10761 | if (_argo0) { | |
10762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p."); | |
10765 | return NULL; | |
10766 | } | |
10767 | } | |
10768 | { | |
10769 | wxPy_BEGIN_ALLOW_THREADS; | |
10770 | wxPyDivisionShape_SetHandleSide(_arg0,_arg1); | |
10771 | ||
10772 | wxPy_END_ALLOW_THREADS; | |
10773 | } Py_INCREF(Py_None); | |
10774 | _resultobj = Py_None; | |
10775 | return _resultobj; | |
10776 | } | |
10777 | ||
10778 | #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0)) | |
10779 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10780 | PyObject * _resultobj; | |
10781 | wxPyDivisionShape * _arg0; | |
10782 | wxPyDivisionShape * _arg1; | |
10783 | PyObject * _argo0 = 0; | |
10784 | PyObject * _argo1 = 0; | |
10785 | char *_kwnames[] = { "self","shape", NULL }; | |
10786 | ||
10787 | self = self; | |
10788 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1)) | |
10789 | return NULL; | |
10790 | if (_argo0) { | |
10791 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10792 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10794 | return NULL; | |
10795 | } | |
10796 | } | |
10797 | if (_argo1) { | |
10798 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10799 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10801 | return NULL; | |
10802 | } | |
10803 | } | |
10804 | { | |
10805 | wxPy_BEGIN_ALLOW_THREADS; | |
10806 | wxPyDivisionShape_SetLeftSide(_arg0,_arg1); | |
10807 | ||
10808 | wxPy_END_ALLOW_THREADS; | |
10809 | } Py_INCREF(Py_None); | |
10810 | _resultobj = Py_None; | |
10811 | return _resultobj; | |
10812 | } | |
10813 | ||
10814 | #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0)) | |
10815 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10816 | PyObject * _resultobj; | |
10817 | wxPyDivisionShape * _arg0; | |
10818 | wxString * _arg1; | |
10819 | PyObject * _argo0 = 0; | |
10820 | PyObject * _obj1 = 0; | |
10821 | char *_kwnames[] = { "self","colour", NULL }; | |
10822 | ||
10823 | self = self; | |
10824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1)) | |
10825 | return NULL; | |
10826 | if (_argo0) { | |
10827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10830 | return NULL; | |
10831 | } | |
10832 | } | |
10833 | { | |
10834 | if (!PyString_Check(_obj1)) { | |
10835 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
10836 | return NULL; | |
10837 | } | |
10838 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
10839 | } | |
10840 | { | |
10841 | wxPy_BEGIN_ALLOW_THREADS; | |
10842 | wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1); | |
10843 | ||
10844 | wxPy_END_ALLOW_THREADS; | |
10845 | } Py_INCREF(Py_None); | |
10846 | _resultobj = Py_None; | |
10847 | { | |
10848 | if (_obj1) | |
10849 | delete _arg1; | |
10850 | } | |
10851 | return _resultobj; | |
10852 | } | |
10853 | ||
10854 | #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0)) | |
10855 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10856 | PyObject * _resultobj; | |
10857 | wxPyDivisionShape * _arg0; | |
10858 | wxPen * _arg1; | |
10859 | PyObject * _argo0 = 0; | |
10860 | PyObject * _argo1 = 0; | |
10861 | char *_kwnames[] = { "self","pen", NULL }; | |
10862 | ||
10863 | self = self; | |
10864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_argo1)) | |
10865 | return NULL; | |
10866 | if (_argo0) { | |
10867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
10870 | return NULL; | |
10871 | } | |
10872 | } | |
10873 | if (_argo1) { | |
10874 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10875 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
10876 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPen_p."); | |
10877 | return NULL; | |
10878 | } | |
10879 | } | |
10880 | { | |
10881 | wxPy_BEGIN_ALLOW_THREADS; | |
10882 | wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1); | |
10883 | ||
10884 | wxPy_END_ALLOW_THREADS; | |
10885 | } Py_INCREF(Py_None); | |
10886 | _resultobj = Py_None; | |
10887 | return _resultobj; | |
10888 | } | |
10889 | ||
10890 | #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0)) | |
10891 | static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10892 | PyObject * _resultobj; | |
10893 | wxPyDivisionShape * _arg0; | |
10894 | wxPyDivisionShape * _arg1; | |
10895 | PyObject * _argo0 = 0; | |
10896 | PyObject * _argo1 = 0; | |
10897 | char *_kwnames[] = { "self","shape", NULL }; | |
10898 | ||
10899 | self = self; | |
10900 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1)) | |
10901 | return NULL; | |
10902 | if (_argo0) { | |
10903 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10904 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
10906 | return NULL; | |
10907 | } | |
10908 | } | |
10909 | if (_argo1) { | |
10910 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10911 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10912 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
10913 | return NULL; | |
10914 | } | |
10915 | } | |
10916 | { | |
10917 | wxPy_BEGIN_ALLOW_THREADS; | |
10918 | wxPyDivisionShape_SetRightSide(_arg0,_arg1); | |
10919 | ||
10920 | wxPy_END_ALLOW_THREADS; | |
10921 | } Py_INCREF(Py_None); | |
10922 | _resultobj = Py_None; | |
10923 | return _resultobj; | |
10924 | } | |
10925 | ||
10926 | #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0)) | |
10927 | static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10928 | PyObject * _resultobj; | |
10929 | wxPyDivisionShape * _arg0; | |
10930 | wxPyDivisionShape * _arg1; | |
10931 | PyObject * _argo0 = 0; | |
10932 | PyObject * _argo1 = 0; | |
10933 | char *_kwnames[] = { "self","shape", NULL }; | |
10934 | ||
10935 | self = self; | |
10936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1)) | |
10937 | return NULL; | |
10938 | if (_argo0) { | |
10939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
10942 | return NULL; | |
10943 | } | |
10944 | } | |
10945 | if (_argo1) { | |
10946 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10947 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10948 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
10949 | return NULL; | |
10950 | } | |
10951 | } | |
10952 | { | |
10953 | wxPy_BEGIN_ALLOW_THREADS; | |
10954 | wxPyDivisionShape_SetTopSide(_arg0,_arg1); | |
10955 | ||
10956 | wxPy_END_ALLOW_THREADS; | |
10957 | } Py_INCREF(Py_None); | |
10958 | _resultobj = Py_None; | |
10959 | return _resultobj; | |
10960 | } | |
10961 | ||
10962 | #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0)) | |
10963 | static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10964 | PyObject * _resultobj; | |
10965 | wxPyDivisionShape * _arg0; | |
10966 | wxString * _arg1; | |
10967 | PyObject * _argo0 = 0; | |
10968 | PyObject * _obj1 = 0; | |
10969 | char *_kwnames[] = { "self","colour", NULL }; | |
10970 | ||
10971 | self = self; | |
10972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1)) | |
10973 | return NULL; | |
10974 | if (_argo0) { | |
10975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p."); | |
10978 | return NULL; | |
10979 | } | |
10980 | } | |
10981 | { | |
10982 | if (!PyString_Check(_obj1)) { | |
10983 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
10984 | return NULL; | |
10985 | } | |
10986 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
10987 | } | |
10988 | { | |
10989 | wxPy_BEGIN_ALLOW_THREADS; | |
10990 | wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1); | |
10991 | ||
10992 | wxPy_END_ALLOW_THREADS; | |
10993 | } Py_INCREF(Py_None); | |
10994 | _resultobj = Py_None; | |
10995 | { | |
10996 | if (_obj1) | |
10997 | delete _arg1; | |
10998 | } | |
10999 | return _resultobj; | |
11000 | } | |
11001 | ||
11002 | #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0)) | |
11003 | static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11004 | PyObject * _resultobj; | |
11005 | wxPyDivisionShape * _arg0; | |
11006 | wxPen * _arg1; | |
11007 | PyObject * _argo0 = 0; | |
11008 | PyObject * _argo1 = 0; | |
11009 | char *_kwnames[] = { "self","pen", NULL }; | |
11010 | ||
11011 | self = self; | |
11012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_argo1)) | |
11013 | return NULL; | |
11014 | if (_argo0) { | |
11015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p."); | |
11018 | return NULL; | |
11019 | } | |
11020 | } | |
11021 | if (_argo1) { | |
11022 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11023 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
11024 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSidePen. Expected _wxPen_p."); | |
11025 | return NULL; | |
11026 | } | |
11027 | } | |
11028 | { | |
11029 | wxPy_BEGIN_ALLOW_THREADS; | |
11030 | wxPyDivisionShape_SetTopSidePen(_arg0,_arg1); | |
11031 | ||
11032 | wxPy_END_ALLOW_THREADS; | |
11033 | } Py_INCREF(Py_None); | |
11034 | _resultobj = Py_None; | |
11035 | return _resultobj; | |
11036 | } | |
11037 | ||
11038 | #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
11039 | static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11040 | PyObject * _resultobj; | |
11041 | wxPyDivisionShape * _arg0; | |
11042 | PyObject * _argo0 = 0; | |
11043 | char *_kwnames[] = { "self", NULL }; | |
11044 | ||
11045 | self = self; | |
11046 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0)) | |
11047 | return NULL; | |
11048 | if (_argo0) { | |
11049 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11050 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11051 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p."); | |
11052 | return NULL; | |
11053 | } | |
11054 | } | |
11055 | { | |
11056 | wxPy_BEGIN_ALLOW_THREADS; | |
11057 | wxPyDivisionShape_base_OnDelete(_arg0); | |
11058 | ||
11059 | wxPy_END_ALLOW_THREADS; | |
11060 | } Py_INCREF(Py_None); | |
11061 | _resultobj = Py_None; | |
11062 | return _resultobj; | |
11063 | } | |
11064 | ||
11065 | #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
11066 | static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11067 | PyObject * _resultobj; | |
11068 | wxPyDivisionShape * _arg0; | |
11069 | wxDC * _arg1; | |
11070 | PyObject * _argo0 = 0; | |
11071 | PyObject * _argo1 = 0; | |
11072 | char *_kwnames[] = { "self","dc", NULL }; | |
11073 | ||
11074 | self = self; | |
11075 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
11076 | return NULL; | |
11077 | if (_argo0) { | |
11078 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11079 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p."); | |
11081 | return NULL; | |
11082 | } | |
11083 | } | |
11084 | if (_argo1) { | |
11085 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11086 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11087 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p."); | |
11088 | return NULL; | |
11089 | } | |
11090 | } | |
11091 | { | |
11092 | wxPy_BEGIN_ALLOW_THREADS; | |
11093 | wxPyDivisionShape_base_OnDraw(_arg0,*_arg1); | |
11094 | ||
11095 | wxPy_END_ALLOW_THREADS; | |
11096 | } Py_INCREF(Py_None); | |
11097 | _resultobj = Py_None; | |
11098 | return _resultobj; | |
11099 | } | |
11100 | ||
11101 | #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
11102 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11103 | PyObject * _resultobj; | |
11104 | wxPyDivisionShape * _arg0; | |
11105 | wxDC * _arg1; | |
11106 | PyObject * _argo0 = 0; | |
11107 | PyObject * _argo1 = 0; | |
11108 | char *_kwnames[] = { "self","dc", NULL }; | |
11109 | ||
11110 | self = self; | |
11111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
11112 | return NULL; | |
11113 | if (_argo0) { | |
11114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p."); | |
11117 | return NULL; | |
11118 | } | |
11119 | } | |
11120 | if (_argo1) { | |
11121 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11122 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p."); | |
11124 | return NULL; | |
11125 | } | |
11126 | } | |
11127 | { | |
11128 | wxPy_BEGIN_ALLOW_THREADS; | |
11129 | wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1); | |
11130 | ||
11131 | wxPy_END_ALLOW_THREADS; | |
11132 | } Py_INCREF(Py_None); | |
11133 | _resultobj = Py_None; | |
11134 | return _resultobj; | |
11135 | } | |
11136 | ||
11137 | #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
11138 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11139 | PyObject * _resultobj; | |
11140 | wxPyDivisionShape * _arg0; | |
11141 | wxDC * _arg1; | |
11142 | bool _arg2 = (bool ) FALSE; | |
11143 | PyObject * _argo0 = 0; | |
11144 | PyObject * _argo1 = 0; | |
11145 | int tempbool2 = (int) FALSE; | |
11146 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
11147 | ||
11148 | self = self; | |
11149 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11150 | return NULL; | |
11151 | if (_argo0) { | |
11152 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11153 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p."); | |
11155 | return NULL; | |
11156 | } | |
11157 | } | |
11158 | if (_argo1) { | |
11159 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11160 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p."); | |
11162 | return NULL; | |
11163 | } | |
11164 | } | |
11165 | _arg2 = (bool ) tempbool2; | |
11166 | { | |
11167 | wxPy_BEGIN_ALLOW_THREADS; | |
11168 | wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
11169 | ||
11170 | wxPy_END_ALLOW_THREADS; | |
11171 | } Py_INCREF(Py_None); | |
11172 | _resultobj = Py_None; | |
11173 | return _resultobj; | |
11174 | } | |
11175 | ||
11176 | #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
11177 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11178 | PyObject * _resultobj; | |
11179 | wxPyDivisionShape * _arg0; | |
11180 | wxDC * _arg1; | |
11181 | PyObject * _argo0 = 0; | |
11182 | PyObject * _argo1 = 0; | |
11183 | char *_kwnames[] = { "self","dc", NULL }; | |
11184 | ||
11185 | self = self; | |
11186 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
11187 | return NULL; | |
11188 | if (_argo0) { | |
11189 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11190 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p."); | |
11192 | return NULL; | |
11193 | } | |
11194 | } | |
11195 | if (_argo1) { | |
11196 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11197 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11198 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p."); | |
11199 | return NULL; | |
11200 | } | |
11201 | } | |
11202 | { | |
11203 | wxPy_BEGIN_ALLOW_THREADS; | |
11204 | wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1); | |
11205 | ||
11206 | wxPy_END_ALLOW_THREADS; | |
11207 | } Py_INCREF(Py_None); | |
11208 | _resultobj = Py_None; | |
11209 | return _resultobj; | |
11210 | } | |
11211 | ||
11212 | #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
11213 | static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11214 | PyObject * _resultobj; | |
11215 | wxPyDivisionShape * _arg0; | |
11216 | wxDC * _arg1; | |
11217 | PyObject * _argo0 = 0; | |
11218 | PyObject * _argo1 = 0; | |
11219 | char *_kwnames[] = { "self","dc", NULL }; | |
11220 | ||
11221 | self = self; | |
11222 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
11223 | return NULL; | |
11224 | if (_argo0) { | |
11225 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11226 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p."); | |
11228 | return NULL; | |
11229 | } | |
11230 | } | |
11231 | if (_argo1) { | |
11232 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11233 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11234 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p."); | |
11235 | return NULL; | |
11236 | } | |
11237 | } | |
11238 | { | |
11239 | wxPy_BEGIN_ALLOW_THREADS; | |
11240 | wxPyDivisionShape_base_OnErase(_arg0,*_arg1); | |
11241 | ||
11242 | wxPy_END_ALLOW_THREADS; | |
11243 | } Py_INCREF(Py_None); | |
11244 | _resultobj = Py_None; | |
11245 | return _resultobj; | |
11246 | } | |
11247 | ||
11248 | #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
11249 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11250 | PyObject * _resultobj; | |
11251 | wxPyDivisionShape * _arg0; | |
11252 | wxDC * _arg1; | |
11253 | PyObject * _argo0 = 0; | |
11254 | PyObject * _argo1 = 0; | |
11255 | char *_kwnames[] = { "self","dc", NULL }; | |
11256 | ||
11257 | self = self; | |
11258 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
11259 | return NULL; | |
11260 | if (_argo0) { | |
11261 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11262 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p."); | |
11264 | return NULL; | |
11265 | } | |
11266 | } | |
11267 | if (_argo1) { | |
11268 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11269 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11270 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p."); | |
11271 | return NULL; | |
11272 | } | |
11273 | } | |
11274 | { | |
11275 | wxPy_BEGIN_ALLOW_THREADS; | |
11276 | wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1); | |
11277 | ||
11278 | wxPy_END_ALLOW_THREADS; | |
11279 | } Py_INCREF(Py_None); | |
11280 | _resultobj = Py_None; | |
11281 | return _resultobj; | |
11282 | } | |
11283 | ||
11284 | #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
11285 | static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11286 | PyObject * _resultobj; | |
11287 | wxPyDivisionShape * _arg0; | |
11288 | wxDC * _arg1; | |
11289 | PyObject * _argo0 = 0; | |
11290 | PyObject * _argo1 = 0; | |
11291 | char *_kwnames[] = { "self","dc", NULL }; | |
11292 | ||
11293 | self = self; | |
11294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
11295 | return NULL; | |
11296 | if (_argo0) { | |
11297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p."); | |
11300 | return NULL; | |
11301 | } | |
11302 | } | |
11303 | if (_argo1) { | |
11304 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11305 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p."); | |
11307 | return NULL; | |
11308 | } | |
11309 | } | |
11310 | { | |
11311 | wxPy_BEGIN_ALLOW_THREADS; | |
11312 | wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1); | |
11313 | ||
11314 | wxPy_END_ALLOW_THREADS; | |
11315 | } Py_INCREF(Py_None); | |
11316 | _resultobj = Py_None; | |
11317 | return _resultobj; | |
11318 | } | |
11319 | ||
11320 | #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11321 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11322 | PyObject * _resultobj; | |
11323 | wxPyDivisionShape * _arg0; | |
11324 | double _arg1; | |
11325 | double _arg2; | |
11326 | int _arg3 = (int ) 0; | |
11327 | int _arg4 = (int ) 0; | |
11328 | PyObject * _argo0 = 0; | |
11329 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11330 | ||
11331 | self = self; | |
11332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11333 | return NULL; | |
11334 | if (_argo0) { | |
11335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p."); | |
11338 | return NULL; | |
11339 | } | |
11340 | } | |
11341 | { | |
11342 | wxPy_BEGIN_ALLOW_THREADS; | |
11343 | wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11344 | ||
11345 | wxPy_END_ALLOW_THREADS; | |
11346 | } Py_INCREF(Py_None); | |
11347 | _resultobj = Py_None; | |
11348 | return _resultobj; | |
11349 | } | |
11350 | ||
11351 | #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11352 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11353 | PyObject * _resultobj; | |
11354 | wxPyDivisionShape * _arg0; | |
11355 | double _arg1; | |
11356 | double _arg2; | |
11357 | int _arg3 = (int ) 0; | |
11358 | int _arg4 = (int ) 0; | |
11359 | PyObject * _argo0 = 0; | |
11360 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11361 | ||
11362 | self = self; | |
11363 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11364 | return NULL; | |
11365 | if (_argo0) { | |
11366 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11367 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11368 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p."); | |
11369 | return NULL; | |
11370 | } | |
11371 | } | |
11372 | { | |
11373 | wxPy_BEGIN_ALLOW_THREADS; | |
11374 | wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11375 | ||
11376 | wxPy_END_ALLOW_THREADS; | |
11377 | } Py_INCREF(Py_None); | |
11378 | _resultobj = Py_None; | |
11379 | return _resultobj; | |
11380 | } | |
11381 | ||
11382 | #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11383 | static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11384 | PyObject * _resultobj; | |
11385 | wxPyDivisionShape * _arg0; | |
11386 | double _arg1; | |
11387 | double _arg2; | |
11388 | int _arg3 = (int ) 0; | |
11389 | int _arg4 = (int ) 0; | |
11390 | PyObject * _argo0 = 0; | |
11391 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11392 | ||
11393 | self = self; | |
11394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11395 | return NULL; | |
11396 | if (_argo0) { | |
11397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p."); | |
11400 | return NULL; | |
11401 | } | |
11402 | } | |
11403 | { | |
11404 | wxPy_BEGIN_ALLOW_THREADS; | |
11405 | wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11406 | ||
11407 | wxPy_END_ALLOW_THREADS; | |
11408 | } Py_INCREF(Py_None); | |
11409 | _resultobj = Py_None; | |
11410 | return _resultobj; | |
11411 | } | |
11412 | ||
11413 | #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
11414 | static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11415 | PyObject * _resultobj; | |
11416 | wxPyDivisionShape * _arg0; | |
11417 | double _arg1; | |
11418 | double _arg2; | |
11419 | PyObject * _argo0 = 0; | |
11420 | char *_kwnames[] = { "self","x","y", NULL }; | |
11421 | ||
11422 | self = self; | |
11423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11424 | return NULL; | |
11425 | if (_argo0) { | |
11426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p."); | |
11429 | return NULL; | |
11430 | } | |
11431 | } | |
11432 | { | |
11433 | wxPy_BEGIN_ALLOW_THREADS; | |
11434 | wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2); | |
11435 | ||
11436 | wxPy_END_ALLOW_THREADS; | |
11437 | } Py_INCREF(Py_None); | |
11438 | _resultobj = Py_None; | |
11439 | return _resultobj; | |
11440 | } | |
11441 | ||
11442 | #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11443 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11444 | PyObject * _resultobj; | |
11445 | bool _result; | |
11446 | wxPyDivisionShape * _arg0; | |
11447 | wxDC * _arg1; | |
11448 | double _arg2; | |
11449 | double _arg3; | |
11450 | double _arg4; | |
11451 | double _arg5; | |
11452 | bool _arg6 = (bool ) TRUE; | |
11453 | PyObject * _argo0 = 0; | |
11454 | PyObject * _argo1 = 0; | |
11455 | int tempbool6 = (int) TRUE; | |
11456 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11457 | ||
11458 | self = self; | |
11459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11460 | return NULL; | |
11461 | if (_argo0) { | |
11462 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11463 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p."); | |
11465 | return NULL; | |
11466 | } | |
11467 | } | |
11468 | if (_argo1) { | |
11469 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11470 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p."); | |
11472 | return NULL; | |
11473 | } | |
11474 | } | |
11475 | _arg6 = (bool ) tempbool6; | |
11476 | { | |
11477 | wxPy_BEGIN_ALLOW_THREADS; | |
11478 | _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11479 | ||
11480 | wxPy_END_ALLOW_THREADS; | |
11481 | } _resultobj = Py_BuildValue("i",_result); | |
11482 | return _resultobj; | |
11483 | } | |
11484 | ||
11485 | #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11486 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11487 | PyObject * _resultobj; | |
11488 | wxPyDivisionShape * _arg0; | |
11489 | wxDC * _arg1; | |
11490 | double _arg2; | |
11491 | double _arg3; | |
11492 | double _arg4; | |
11493 | double _arg5; | |
11494 | bool _arg6 = (bool ) TRUE; | |
11495 | PyObject * _argo0 = 0; | |
11496 | PyObject * _argo1 = 0; | |
11497 | int tempbool6 = (int) TRUE; | |
11498 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11499 | ||
11500 | self = self; | |
11501 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11502 | return NULL; | |
11503 | if (_argo0) { | |
11504 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11505 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p."); | |
11507 | return NULL; | |
11508 | } | |
11509 | } | |
11510 | if (_argo1) { | |
11511 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11512 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p."); | |
11514 | return NULL; | |
11515 | } | |
11516 | } | |
11517 | _arg6 = (bool ) tempbool6; | |
11518 | { | |
11519 | wxPy_BEGIN_ALLOW_THREADS; | |
11520 | wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11521 | ||
11522 | wxPy_END_ALLOW_THREADS; | |
11523 | } Py_INCREF(Py_None); | |
11524 | _resultobj = Py_None; | |
11525 | return _resultobj; | |
11526 | } | |
11527 | ||
11528 | #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11529 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11530 | PyObject * _resultobj; | |
11531 | wxPyDivisionShape * _arg0; | |
11532 | bool _arg1; | |
11533 | double _arg2; | |
11534 | double _arg3; | |
11535 | int _arg4 = (int ) 0; | |
11536 | int _arg5 = (int ) 0; | |
11537 | PyObject * _argo0 = 0; | |
11538 | int tempbool1; | |
11539 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11540 | ||
11541 | self = self; | |
11542 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11543 | return NULL; | |
11544 | if (_argo0) { | |
11545 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11546 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11547 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p."); | |
11548 | return NULL; | |
11549 | } | |
11550 | } | |
11551 | _arg1 = (bool ) tempbool1; | |
11552 | { | |
11553 | wxPy_BEGIN_ALLOW_THREADS; | |
11554 | wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11555 | ||
11556 | wxPy_END_ALLOW_THREADS; | |
11557 | } Py_INCREF(Py_None); | |
11558 | _resultobj = Py_None; | |
11559 | return _resultobj; | |
11560 | } | |
11561 | ||
11562 | #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11563 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11564 | PyObject * _resultobj; | |
11565 | wxPyDivisionShape * _arg0; | |
11566 | double _arg1; | |
11567 | double _arg2; | |
11568 | int _arg3 = (int ) 0; | |
11569 | int _arg4 = (int ) 0; | |
11570 | PyObject * _argo0 = 0; | |
11571 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11572 | ||
11573 | self = self; | |
11574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11575 | return NULL; | |
11576 | if (_argo0) { | |
11577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
11580 | return NULL; | |
11581 | } | |
11582 | } | |
11583 | { | |
11584 | wxPy_BEGIN_ALLOW_THREADS; | |
11585 | wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11586 | ||
11587 | wxPy_END_ALLOW_THREADS; | |
11588 | } Py_INCREF(Py_None); | |
11589 | _resultobj = Py_None; | |
11590 | return _resultobj; | |
11591 | } | |
11592 | ||
11593 | #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11594 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11595 | PyObject * _resultobj; | |
11596 | wxPyDivisionShape * _arg0; | |
11597 | double _arg1; | |
11598 | double _arg2; | |
11599 | int _arg3 = (int ) 0; | |
11600 | int _arg4 = (int ) 0; | |
11601 | PyObject * _argo0 = 0; | |
11602 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11603 | ||
11604 | self = self; | |
11605 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragLeft. Expected _wxPyDivisionShape_p."); | |
11611 | return NULL; | |
11612 | } | |
11613 | } | |
11614 | { | |
11615 | wxPy_BEGIN_ALLOW_THREADS; | |
11616 | wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11617 | ||
11618 | wxPy_END_ALLOW_THREADS; | |
11619 | } Py_INCREF(Py_None); | |
11620 | _resultobj = Py_None; | |
11621 | return _resultobj; | |
11622 | } | |
11623 | ||
11624 | #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11625 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11626 | PyObject * _resultobj; | |
11627 | wxPyDivisionShape * _arg0; | |
11628 | bool _arg1; | |
11629 | double _arg2; | |
11630 | double _arg3; | |
11631 | int _arg4 = (int ) 0; | |
11632 | int _arg5 = (int ) 0; | |
11633 | PyObject * _argo0 = 0; | |
11634 | int tempbool1; | |
11635 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11636 | ||
11637 | self = self; | |
11638 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11639 | return NULL; | |
11640 | if (_argo0) { | |
11641 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11642 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p."); | |
11644 | return NULL; | |
11645 | } | |
11646 | } | |
11647 | _arg1 = (bool ) tempbool1; | |
11648 | { | |
11649 | wxPy_BEGIN_ALLOW_THREADS; | |
11650 | wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11651 | ||
11652 | wxPy_END_ALLOW_THREADS; | |
11653 | } Py_INCREF(Py_None); | |
11654 | _resultobj = Py_None; | |
11655 | return _resultobj; | |
11656 | } | |
11657 | ||
11658 | #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11659 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11660 | PyObject * _resultobj; | |
11661 | wxPyDivisionShape * _arg0; | |
11662 | double _arg1; | |
11663 | double _arg2; | |
11664 | int _arg3 = (int ) 0; | |
11665 | int _arg4 = (int ) 0; | |
11666 | PyObject * _argo0 = 0; | |
11667 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11668 | ||
11669 | self = self; | |
11670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11671 | return NULL; | |
11672 | if (_argo0) { | |
11673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p."); | |
11676 | return NULL; | |
11677 | } | |
11678 | } | |
11679 | { | |
11680 | wxPy_BEGIN_ALLOW_THREADS; | |
11681 | wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11682 | ||
11683 | wxPy_END_ALLOW_THREADS; | |
11684 | } Py_INCREF(Py_None); | |
11685 | _resultobj = Py_None; | |
11686 | return _resultobj; | |
11687 | } | |
11688 | ||
11689 | #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11690 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11691 | PyObject * _resultobj; | |
11692 | wxPyDivisionShape * _arg0; | |
11693 | double _arg1; | |
11694 | double _arg2; | |
11695 | int _arg3 = (int ) 0; | |
11696 | int _arg4 = (int ) 0; | |
11697 | PyObject * _argo0 = 0; | |
11698 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11699 | ||
11700 | self = self; | |
11701 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11702 | return NULL; | |
11703 | if (_argo0) { | |
11704 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11705 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11706 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p."); | |
11707 | return NULL; | |
11708 | } | |
11709 | } | |
11710 | { | |
11711 | wxPy_BEGIN_ALLOW_THREADS; | |
11712 | wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11713 | ||
11714 | wxPy_END_ALLOW_THREADS; | |
11715 | } Py_INCREF(Py_None); | |
11716 | _resultobj = Py_None; | |
11717 | return _resultobj; | |
11718 | } | |
11719 | ||
11720 | #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11721 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11722 | PyObject * _resultobj; | |
11723 | wxPyDivisionShape * _arg0; | |
11724 | wxDC * _arg1; | |
11725 | double _arg2; | |
11726 | double _arg3; | |
11727 | double _arg4; | |
11728 | double _arg5; | |
11729 | PyObject * _argo0 = 0; | |
11730 | PyObject * _argo1 = 0; | |
11731 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
11732 | ||
11733 | self = self; | |
11734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11735 | return NULL; | |
11736 | if (_argo0) { | |
11737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p."); | |
11740 | return NULL; | |
11741 | } | |
11742 | } | |
11743 | if (_argo1) { | |
11744 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11745 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p."); | |
11747 | return NULL; | |
11748 | } | |
11749 | } | |
11750 | { | |
11751 | wxPy_BEGIN_ALLOW_THREADS; | |
11752 | wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
11753 | ||
11754 | wxPy_END_ALLOW_THREADS; | |
11755 | } Py_INCREF(Py_None); | |
11756 | _resultobj = Py_None; | |
11757 | return _resultobj; | |
11758 | } | |
11759 | ||
11760 | #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
11761 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11762 | PyObject * _resultobj; | |
11763 | wxPyDivisionShape * _arg0; | |
11764 | wxDC * _arg1; | |
11765 | PyObject * _argo0 = 0; | |
11766 | PyObject * _argo1 = 0; | |
11767 | char *_kwnames[] = { "self","dc", NULL }; | |
11768 | ||
11769 | self = self; | |
11770 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
11771 | return NULL; | |
11772 | if (_argo0) { | |
11773 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11774 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p."); | |
11776 | return NULL; | |
11777 | } | |
11778 | } | |
11779 | if (_argo1) { | |
11780 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11781 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11782 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
11783 | return NULL; | |
11784 | } | |
11785 | } | |
11786 | { | |
11787 | wxPy_BEGIN_ALLOW_THREADS; | |
11788 | wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
11789 | ||
11790 | wxPy_END_ALLOW_THREADS; | |
11791 | } Py_INCREF(Py_None); | |
11792 | _resultobj = Py_None; | |
11793 | return _resultobj; | |
11794 | } | |
11795 | ||
11796 | #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
11797 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11798 | PyObject * _resultobj; | |
11799 | wxPyDivisionShape * _arg0; | |
11800 | wxDC * _arg1; | |
11801 | PyObject * _argo0 = 0; | |
11802 | PyObject * _argo1 = 0; | |
11803 | char *_kwnames[] = { "self","dc", NULL }; | |
11804 | ||
11805 | self = self; | |
11806 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
11807 | return NULL; | |
11808 | if (_argo0) { | |
11809 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11810 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p."); | |
11812 | return NULL; | |
11813 | } | |
11814 | } | |
11815 | if (_argo1) { | |
11816 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11817 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
11819 | return NULL; | |
11820 | } | |
11821 | } | |
11822 | { | |
11823 | wxPy_BEGIN_ALLOW_THREADS; | |
11824 | wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
11825 | ||
11826 | wxPy_END_ALLOW_THREADS; | |
11827 | } Py_INCREF(Py_None); | |
11828 | _resultobj = Py_None; | |
11829 | return _resultobj; | |
11830 | } | |
11831 | ||
11832 | #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
11833 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11834 | PyObject * _resultobj; | |
11835 | wxPyDivisionShape * _arg0; | |
11836 | wxDC * _arg1; | |
11837 | bool _arg2 = (bool ) TRUE; | |
11838 | PyObject * _argo0 = 0; | |
11839 | PyObject * _argo1 = 0; | |
11840 | int tempbool2 = (int) TRUE; | |
11841 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
11842 | ||
11843 | self = self; | |
11844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11845 | return NULL; | |
11846 | if (_argo0) { | |
11847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p."); | |
11850 | return NULL; | |
11851 | } | |
11852 | } | |
11853 | if (_argo1) { | |
11854 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11855 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11856 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p."); | |
11857 | return NULL; | |
11858 | } | |
11859 | } | |
11860 | _arg2 = (bool ) tempbool2; | |
11861 | { | |
11862 | wxPy_BEGIN_ALLOW_THREADS; | |
11863 | wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
11864 | ||
11865 | wxPy_END_ALLOW_THREADS; | |
11866 | } Py_INCREF(Py_None); | |
11867 | _resultobj = Py_None; | |
11868 | return _resultobj; | |
11869 | } | |
11870 | ||
11871 | #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11872 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11873 | PyObject * _resultobj; | |
11874 | wxPyDivisionShape * _arg0; | |
2348eaee | 11875 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
11876 | bool _arg2; |
11877 | double _arg3; | |
11878 | double _arg4; | |
11879 | int _arg5 = (int ) 0; | |
11880 | int _arg6 = (int ) 0; | |
11881 | PyObject * _argo0 = 0; | |
11882 | PyObject * _argo1 = 0; | |
11883 | int tempbool2; | |
11884 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
11885 | ||
11886 | self = self; | |
11887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
11888 | return NULL; | |
11889 | if (_argo0) { | |
11890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p."); | |
11893 | return NULL; | |
11894 | } | |
11895 | } | |
11896 | if (_argo1) { | |
11897 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
11898 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
11899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
11900 | return NULL; |
11901 | } | |
11902 | } | |
11903 | _arg2 = (bool ) tempbool2; | |
11904 | { | |
11905 | wxPy_BEGIN_ALLOW_THREADS; | |
11906 | wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11907 | ||
11908 | wxPy_END_ALLOW_THREADS; | |
11909 | } Py_INCREF(Py_None); | |
11910 | _resultobj = Py_None; | |
11911 | return _resultobj; | |
11912 | } | |
11913 | ||
11914 | #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11915 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11916 | PyObject * _resultobj; | |
11917 | wxPyDivisionShape * _arg0; | |
2348eaee | 11918 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
11919 | double _arg2; |
11920 | double _arg3; | |
11921 | int _arg4 = (int ) 0; | |
11922 | int _arg5 = (int ) 0; | |
11923 | PyObject * _argo0 = 0; | |
11924 | PyObject * _argo1 = 0; | |
11925 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
11926 | ||
11927 | self = self; | |
11928 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11929 | return NULL; | |
11930 | if (_argo0) { | |
11931 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11932 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
11934 | return NULL; | |
11935 | } | |
11936 | } | |
11937 | if (_argo1) { | |
11938 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
11939 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
11940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
11941 | return NULL; |
11942 | } | |
11943 | } | |
11944 | { | |
11945 | wxPy_BEGIN_ALLOW_THREADS; | |
11946 | wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11947 | ||
11948 | wxPy_END_ALLOW_THREADS; | |
11949 | } Py_INCREF(Py_None); | |
11950 | _resultobj = Py_None; | |
11951 | return _resultobj; | |
11952 | } | |
11953 | ||
11954 | #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11955 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11956 | PyObject * _resultobj; | |
11957 | wxPyDivisionShape * _arg0; | |
2348eaee | 11958 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
11959 | double _arg2; |
11960 | double _arg3; | |
11961 | int _arg4 = (int ) 0; | |
11962 | int _arg5 = (int ) 0; | |
11963 | PyObject * _argo0 = 0; | |
11964 | PyObject * _argo1 = 0; | |
11965 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
11966 | ||
11967 | self = self; | |
11968 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11969 | return NULL; | |
11970 | if (_argo0) { | |
11971 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11972 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p."); | |
11974 | return NULL; | |
11975 | } | |
11976 | } | |
11977 | if (_argo1) { | |
11978 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
11979 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
11980 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
11981 | return NULL; |
11982 | } | |
11983 | } | |
11984 | { | |
11985 | wxPy_BEGIN_ALLOW_THREADS; | |
11986 | wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11987 | ||
11988 | wxPy_END_ALLOW_THREADS; | |
11989 | } Py_INCREF(Py_None); | |
11990 | _resultobj = Py_None; | |
11991 | return _resultobj; | |
11992 | } | |
11993 | ||
11994 | #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
11995 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11996 | PyObject * _resultobj; | |
11997 | wxPyDivisionShape * _arg0; | |
11998 | double _arg1; | |
11999 | double _arg2; | |
12000 | PyObject * _argo0 = 0; | |
12001 | char *_kwnames[] = { "self","w","h", NULL }; | |
12002 | ||
12003 | self = self; | |
12004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12005 | return NULL; | |
12006 | if (_argo0) { | |
12007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p."); | |
12010 | return NULL; | |
12011 | } | |
12012 | } | |
12013 | { | |
12014 | wxPy_BEGIN_ALLOW_THREADS; | |
12015 | wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
12016 | ||
12017 | wxPy_END_ALLOW_THREADS; | |
12018 | } Py_INCREF(Py_None); | |
12019 | _resultobj = Py_None; | |
12020 | return _resultobj; | |
12021 | } | |
12022 | ||
12023 | #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
12024 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12025 | PyObject * _resultobj; | |
12026 | wxPyDivisionShape * _arg0; | |
12027 | double _arg1; | |
12028 | double _arg2; | |
12029 | PyObject * _argo0 = 0; | |
12030 | char *_kwnames[] = { "self","w","h", NULL }; | |
12031 | ||
12032 | self = self; | |
12033 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12034 | return NULL; | |
12035 | if (_argo0) { | |
12036 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12037 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12038 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p."); | |
12039 | return NULL; | |
12040 | } | |
12041 | } | |
12042 | { | |
12043 | wxPy_BEGIN_ALLOW_THREADS; | |
12044 | wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
12045 | ||
12046 | wxPy_END_ALLOW_THREADS; | |
12047 | } Py_INCREF(Py_None); | |
12048 | _resultobj = Py_None; | |
12049 | return _resultobj; | |
12050 | } | |
12051 | ||
12052 | static PyMethodDef oglshapescMethods[] = { | |
12053 | { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12054 | { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12055 | { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12056 | { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12057 | { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12058 | { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12059 | { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12060 | { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12061 | { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12062 | { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12063 | { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12064 | { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12065 | { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12066 | { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12067 | { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12068 | { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12069 | { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12070 | { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12071 | { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12072 | { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12073 | { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12074 | { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12075 | { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12076 | { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12077 | { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12078 | { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12079 | { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12080 | { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12081 | { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12082 | { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12083 | { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12084 | { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12085 | { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12086 | { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12087 | { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12088 | { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12089 | { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12090 | { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12091 | { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
12092 | { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS }, | |
12093 | { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12094 | { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12095 | { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12096 | { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12097 | { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12098 | { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12099 | { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12100 | { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12101 | { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS }, | |
12102 | { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS }, | |
12103 | { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS }, | |
12104 | { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS }, | |
12105 | { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS }, | |
12106 | { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS }, | |
12107 | { "wxPyDivisionShape__setSelf", (PyCFunction) _wrap_wxPyDivisionShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12108 | { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS }, | |
12109 | { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12110 | { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12111 | { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12112 | { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12113 | { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12114 | { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12115 | { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12116 | { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12117 | { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12118 | { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12119 | { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12120 | { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12121 | { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12122 | { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12123 | { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12124 | { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12125 | { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12126 | { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12127 | { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12128 | { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12129 | { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12130 | { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12131 | { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12132 | { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12133 | { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12134 | { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12135 | { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12136 | { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12137 | { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12138 | { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS }, | |
12139 | { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS }, | |
12140 | { "wxPyDividedShape__setSelf", (PyCFunction) _wrap_wxPyDividedShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12141 | { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS }, | |
12142 | { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12143 | { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12144 | { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12145 | { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12146 | { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12147 | { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12148 | { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12149 | { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12150 | { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12151 | { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12152 | { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12153 | { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12154 | { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12155 | { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12156 | { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12157 | { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12158 | { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12159 | { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12160 | { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12161 | { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12162 | { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12163 | { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12164 | { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12165 | { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12166 | { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12167 | { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12168 | { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12169 | { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12170 | { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12171 | { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
12172 | { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
12173 | { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS }, | |
12174 | { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS }, | |
12175 | { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS }, | |
12176 | { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS }, | |
12177 | { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS }, | |
12178 | { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12179 | { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS }, | |
12180 | { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12181 | { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12182 | { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12183 | { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
12184 | { "wxPyCompositeShape__setSelf", (PyCFunction) _wrap_wxPyCompositeShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12185 | { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS }, | |
12186 | { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS }, | |
12187 | { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
12188 | { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS }, | |
12189 | { "delete_wxOGLConstraint", (PyCFunction) _wrap_delete_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12190 | { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12191 | { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12192 | { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12193 | { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12194 | { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12195 | { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12196 | { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12197 | { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12198 | { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12199 | { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12200 | { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12201 | { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12202 | { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12203 | { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12204 | { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12205 | { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12206 | { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12207 | { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12208 | { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12209 | { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12210 | { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12211 | { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12212 | { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12213 | { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12214 | { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12215 | { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12216 | { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12217 | { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12218 | { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12219 | { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12220 | { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12221 | { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS }, | |
12222 | { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12223 | { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12224 | { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS }, | |
12225 | { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS }, | |
12226 | { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS }, | |
12227 | { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12228 | { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12229 | { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12230 | { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12231 | { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12232 | { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
12233 | { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12234 | { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS }, | |
12235 | { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12236 | { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12237 | { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12238 | { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12239 | { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12240 | { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12241 | { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12242 | { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12243 | { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12244 | { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS }, | |
12245 | { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12246 | { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12247 | { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12248 | { "wxPyDrawnShape__setSelf", (PyCFunction) _wrap_wxPyDrawnShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12249 | { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS }, | |
12250 | { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12251 | { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12252 | { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12253 | { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12254 | { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12255 | { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12256 | { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12257 | { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12258 | { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12259 | { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12260 | { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12261 | { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12262 | { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12263 | { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12264 | { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12265 | { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12266 | { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12267 | { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12268 | { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12269 | { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12270 | { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12271 | { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12272 | { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12273 | { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12274 | { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12275 | { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12276 | { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12277 | { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12278 | { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12279 | { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12280 | { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12281 | { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12282 | { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12283 | { "wxPyBitmapShape__setSelf", (PyCFunction) _wrap_wxPyBitmapShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12284 | { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS }, | |
2348eaee RD |
12285 | { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12286 | { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12287 | { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12288 | { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12289 | { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12290 | { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12291 | { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12292 | { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12293 | { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12294 | { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12295 | { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12296 | { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12297 | { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12298 | { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12299 | { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12300 | { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12301 | { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12302 | { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12303 | { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12304 | { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12305 | { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12306 | { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12307 | { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12308 | { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12309 | { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12310 | { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12311 | { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12312 | { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12313 | { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12314 | { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12315 | { "wxPyControlPoint__setSelf", (PyCFunction) _wrap_wxPyControlPoint__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12316 | { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
e91a9dfc RD |
12317 | { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12318 | { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12319 | { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12320 | { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12321 | { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12322 | { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12323 | { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12324 | { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12325 | { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12326 | { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12327 | { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12328 | { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12329 | { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12330 | { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12331 | { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12332 | { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12333 | { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12334 | { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12335 | { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12336 | { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12337 | { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12338 | { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12339 | { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12340 | { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12341 | { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12342 | { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12343 | { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12344 | { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12345 | { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12346 | { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12347 | { "wxPyRectangleShape__setSelf", (PyCFunction) _wrap_wxPyRectangleShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12348 | { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS }, | |
12349 | { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12350 | { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12351 | { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12352 | { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
12353 | { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
12354 | { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
12355 | { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12356 | { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12357 | { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12358 | { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12359 | { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12360 | { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12361 | { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12362 | { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS }, | |
12363 | { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12364 | { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12365 | { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12366 | { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12367 | { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12368 | { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS }, | |
12369 | { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12370 | { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12371 | { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12372 | { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12373 | { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12374 | { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12375 | { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
12376 | { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12377 | { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12378 | { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12379 | { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS }, | |
12380 | { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12381 | { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12382 | { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12383 | { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS }, | |
12384 | { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12385 | { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS }, | |
12386 | { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS }, | |
12387 | { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12388 | { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12389 | { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS }, | |
12390 | { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12391 | { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12392 | { NULL, NULL } | |
12393 | }; | |
12394 | #ifdef __cplusplus | |
12395 | } | |
12396 | #endif | |
12397 | /* | |
12398 | * This table is used by the pointer type-checker | |
12399 | */ | |
12400 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
12401 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
12402 | { "_wxEvent","_class_wxEvent",0}, | |
12403 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
12404 | { "_signed_long","_long",0}, | |
12405 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
12406 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
2348eaee | 12407 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
12408 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
12409 | { "_wxImage","_class_wxImage",0}, | |
12410 | { "_wxPrintQuality","_int",0}, | |
12411 | { "_wxPrintQuality","_signed_int",0}, | |
12412 | { "_wxPrintQuality","_unsigned_int",0}, | |
12413 | { "_wxPrintQuality","_wxWindowID",0}, | |
12414 | { "_wxPrintQuality","_uint",0}, | |
12415 | { "_wxPrintQuality","_EBool",0}, | |
12416 | { "_wxPrintQuality","_size_t",0}, | |
12417 | { "_wxFontData","_class_wxFontData",0}, | |
12418 | { "___wxPyCleanup","_class___wxPyCleanup",0}, | |
12419 | { "_class_wxRegionIterator","_wxRegionIterator",0}, | |
12420 | { "_class_wxMenuBar","_wxMenuBar",0}, | |
12421 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 12422 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
12423 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
12424 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
12425 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 12426 | { "_wxPySizer","_class_wxPySizer",0}, |
e91a9dfc RD |
12427 | { "_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, |
12428 | { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12429 | { "_wxPyCompositeShape","_class_wxPyCompositeShape",0}, | |
12430 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
12431 | { "_wxCursor","_class_wxCursor",0}, | |
12432 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
12433 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
12434 | { "_class_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12435 | { "_class_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12436 | { "_class_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12437 | { "_class_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12438 | { "_class_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12439 | { "_class_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12440 | { "_class_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12441 | { "_class_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12442 | { "_class_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
12443 | { "_class_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
2348eaee RD |
12444 | { "_class_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, |
12445 | { "_class_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
e91a9dfc RD |
12446 | { "_class_wxPyRectangleShape","_wxPyRectangleShape",0}, |
12447 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, | |
12448 | { "_wxMask","_class_wxMask",0}, | |
12449 | { "_wxToolTip","_class_wxToolTip",0}, | |
12450 | { "_wxGrid","_class_wxGrid",0}, | |
12451 | { "_wxPNGHandler","_class_wxPNGHandler",0}, | |
12452 | { "_class_wxOGLConstraint","_wxOGLConstraint",0}, | |
12453 | { "_class_wxColourData","_wxColourData",0}, | |
12454 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
12455 | { "_wxPrinter","_class_wxPrinter",0}, | |
12456 | { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0}, | |
12457 | { "_wxPen","_class_wxPen",0}, | |
12458 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
12459 | { "_byte","_unsigned_char",0}, | |
12460 | { "_wxStaticBox","_class_wxStaticBox",0}, | |
12461 | { "_wxChoice","_class_wxChoice",0}, | |
12462 | { "_wxSlider","_class_wxSlider",0}, | |
12463 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
12464 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
12465 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
12466 | { "_long","_wxDash",0}, | |
12467 | { "_long","_unsigned_long",0}, | |
12468 | { "_long","_signed_long",0}, | |
12469 | { "_wxImageList","_class_wxImageList",0}, | |
12470 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, | |
12471 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
12472 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 12473 | { "_class_wxSizer","_wxSizer",0}, |
e91a9dfc RD |
12474 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
12475 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, | |
12476 | { "_class_wxGauge","_wxGauge",0}, | |
12477 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
12478 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 12479 | { "_wxSizerItem","_class_wxSizerItem",0}, |
e91a9dfc RD |
12480 | { "_wxListEvent","_class_wxListEvent",0}, |
12481 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
12482 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
12483 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
12484 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
12485 | { "_wxSpinEvent","_class_wxSpinEvent",0}, | |
12486 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
12487 | { "_wxPyBitmapShape","_class_wxPyBitmapShape",0}, | |
12488 | { "_size_t","_wxPrintQuality",0}, | |
12489 | { "_size_t","_unsigned_int",0}, | |
12490 | { "_size_t","_int",0}, | |
12491 | { "_size_t","_wxWindowID",0}, | |
12492 | { "_size_t","_uint",0}, | |
12493 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
2348eaee | 12494 | { "_wxPrinterDC","_class_wxPrinterDC",0}, |
e91a9dfc RD |
12495 | { "_class_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, |
12496 | { "_class_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12497 | { "_class_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12498 | { "_class_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12499 | { "_class_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12500 | { "_class_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12501 | { "_class_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12502 | { "_class_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12503 | { "_class_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
12504 | { "_class_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
2348eaee RD |
12505 | { "_class_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, |
12506 | { "_class_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
e91a9dfc RD |
12507 | { "_class_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, |
12508 | { "_class_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
12509 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
12510 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
12511 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
12512 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
12513 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
12514 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 12515 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
12516 | { "_class_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, |
12517 | { "_class_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12518 | { "_class_wxPyCompositeShape","_wxPyCompositeShape",0}, | |
12519 | { "_wxPanel","_class_wxPanel",0}, | |
12520 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
12521 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
12522 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
12523 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
12524 | { "_class_wxMask","_wxMask",0}, | |
12525 | { "_class_wxToolTip","_wxToolTip",0}, | |
12526 | { "_class_wxKeyEvent","_wxKeyEvent",0}, | |
12527 | { "_class_wxGrid","_wxGrid",0}, | |
12528 | { "_class_wxPNGHandler","_wxPNGHandler",0}, | |
12529 | { "_wxColour","_class_wxColour",0}, | |
12530 | { "_class_wxDialog","_wxDialog",0}, | |
12531 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, | |
12532 | { "_class_wxPrinter","_wxPrinter",0}, | |
12533 | { "_wxIdleEvent","_class_wxIdleEvent",0}, | |
12534 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
12535 | { "_wxToolBar","_class_wxToolBar",0}, | |
12536 | { "_wxStaticLine","_class_wxStaticLine",0}, | |
12537 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
12538 | { "_wxBrush","_class_wxBrush",0}, | |
12539 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
12540 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
12541 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
12542 | { "_class_wxSashWindow","_wxSashWindow",0}, | |
12543 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
12544 | { "_class_wxPyDivisionShape","_wxPyDivisionShape",0}, | |
12545 | { "_uint","_wxPrintQuality",0}, | |
12546 | { "_uint","_size_t",0}, | |
12547 | { "_uint","_unsigned_int",0}, | |
12548 | { "_uint","_int",0}, | |
12549 | { "_uint","_wxWindowID",0}, | |
12550 | { "_class_wxEvent","_wxEvent",0}, | |
12551 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
12552 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
12553 | { "_wxGridEvent","_class_wxGridEvent",0}, | |
12554 | { "_wxRect","_class_wxRect",0}, | |
12555 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
12556 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
12557 | { "_class_wxImage","_wxImage",0}, | |
12558 | { "_wxPoint","_class_wxPoint",0}, | |
12559 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
12560 | { "_class_wxPyBitmapShape","_wxPyBitmapShape",0}, | |
12561 | { "_class_wxButton","_wxButton",0}, | |
12562 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
12563 | { "_class_wxFontData","_wxFontData",0}, | |
2348eaee | 12564 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
e91a9dfc RD |
12565 | { "_class___wxPyCleanup","___wxPyCleanup",0}, |
12566 | { "_wxBitmap","_class_wxBitmap",0}, | |
2348eaee | 12567 | { "_wxTaskBarIcon","_class_wxTaskBarIcon",0}, |
e91a9dfc | 12568 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
2348eaee | 12569 | { "_wxPyControlPoint","_class_wxPyControlPoint",0}, |
e91a9dfc RD |
12570 | { "_wxPyTimer","_class_wxPyTimer",0}, |
12571 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
12572 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
12573 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
12574 | { "_wxToolBarTool","_class_wxToolBarTool",0}, | |
12575 | { "_wxColourDialog","_class_wxColourDialog",0}, | |
12576 | { "_wxPrintData","_class_wxPrintData",0}, | |
12577 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
12578 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
12579 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
12580 | { "_class_wxPyEvent","_wxPyEvent",0}, | |
12581 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
12582 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
12583 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
12584 | { "_class_wxPyDrawnShape","_wxPyDrawnShape",0}, | |
12585 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, | |
12586 | { "_wxListItem","_class_wxListItem",0}, | |
12587 | { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0}, | |
12588 | { "_class_wxToolBar","_wxToolBar",0}, | |
12589 | { "_class_wxStaticLine","_wxStaticLine",0}, | |
12590 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
12591 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, | |
12592 | { "_class_wxShapeRegion","_wxShapeRegion",0}, | |
12593 | { "_EBool","_wxPrintQuality",0}, | |
12594 | { "_EBool","_signed_int",0}, | |
12595 | { "_EBool","_int",0}, | |
12596 | { "_EBool","_wxWindowID",0}, | |
12597 | { "_class_wxRegion","_wxRegion",0}, | |
12598 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, | |
12599 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, | |
12600 | { "_wxStaticText","_class_wxStaticText",0}, | |
12601 | { "_wxFont","_class_wxFont",0}, | |
12602 | { "_wxCloseEvent","_class_wxCloseEvent",0}, | |
12603 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
12604 | { "_wxNotebook","_class_wxNotebook",0}, | |
12605 | { "_unsigned_long","_wxDash",0}, | |
12606 | { "_unsigned_long","_long",0}, | |
12607 | { "_class_wxRect","_wxRect",0}, | |
12608 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 12609 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
e91a9dfc RD |
12610 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
12611 | { "_wxPyApp","_class_wxPyApp",0}, | |
12612 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, | |
12613 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
12614 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
12615 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
12616 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
12617 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
12618 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
12619 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
12620 | { "_class_wxPanel","_wxPanel",0}, | |
12621 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
12622 | { "_wxComboBox","_class_wxComboBox",0}, | |
12623 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
12624 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
12625 | { "_signed_int","_wxPrintQuality",0}, | |
12626 | { "_signed_int","_EBool",0}, | |
12627 | { "_signed_int","_wxWindowID",0}, | |
12628 | { "_signed_int","_int",0}, | |
12629 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
12630 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, | |
2348eaee | 12631 | { "_wxMetaFileDC","_class_wxMetaFileDC",0}, |
e91a9dfc RD |
12632 | { "_wxMenu","_class_wxMenu",0}, |
12633 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
12634 | { "_wxListBox","_class_wxListBox",0}, | |
12635 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
12636 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, | |
12637 | { "_WXTYPE","_short",0}, | |
12638 | { "_WXTYPE","_signed_short",0}, | |
12639 | { "_WXTYPE","_unsigned_short",0}, | |
12640 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
12641 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, | |
12642 | { "_class_wxBrush","_wxBrush",0}, | |
12643 | { "_unsigned_short","_WXTYPE",0}, | |
12644 | { "_unsigned_short","_short",0}, | |
12645 | { "_class_wxWindow","_wxWindow",0}, | |
12646 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
12647 | { "_class_wxStaticText","_wxStaticText",0}, | |
12648 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
12649 | { "_class_wxFont","_wxFont",0}, | |
12650 | { "_class_wxCloseEvent","_wxCloseEvent",0}, | |
12651 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
12652 | { "_class_wxMenuEvent","_wxMenuEvent",0}, | |
12653 | { "_wxClientDC","_class_wxClientDC",0}, | |
12654 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
12655 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
12656 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
12657 | { "_wxPyDividedShape","_class_wxPyDividedShape",0}, | |
12658 | { "_class_wxPoint","_wxPoint",0}, | |
12659 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
12660 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
12661 | { "_wxGridCell","_class_wxGridCell",0}, | |
2348eaee | 12662 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
12663 | { "_signed_short","_WXTYPE",0}, |
12664 | { "_signed_short","_short",0}, | |
12665 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
2348eaee | 12666 | { "_class_wxTaskBarIcon","_wxTaskBarIcon",0}, |
e91a9dfc | 12667 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
2348eaee | 12668 | { "_class_wxPyControlPoint","_wxPyControlPoint",0}, |
e91a9dfc RD |
12669 | { "_wxPaintDC","_class_wxPaintDC",0}, |
12670 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
12671 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
12672 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
12673 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
12674 | { "_class_wxToolBarTool","_wxToolBarTool",0}, | |
12675 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, | |
12676 | { "_class_wxCursor","_wxCursor",0}, | |
12677 | { "_class_wxImageHandler","_wxImageHandler",0}, | |
12678 | { "_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12679 | { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12680 | { "_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12681 | { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12682 | { "_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12683 | { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12684 | { "_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12685 | { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12686 | { "_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
12687 | { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
2348eaee RD |
12688 | { "_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, |
12689 | { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
e91a9dfc RD |
12690 | { "_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, |
12691 | { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
12692 | { "_wxPyShape","_class_wxPyShape",0}, | |
12693 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
12694 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
12695 | { "_unsigned_char","_byte",0}, | |
2348eaee | 12696 | { "_class_wxMetaFileDC","_wxMetaFileDC",0}, |
e91a9dfc RD |
12697 | { "_class_wxMenu","_wxMenu",0}, |
12698 | { "_wxControl","_class_wxControl",0}, | |
12699 | { "_class_wxListBox","_wxListBox",0}, | |
12700 | { "_unsigned_int","_wxPrintQuality",0}, | |
12701 | { "_unsigned_int","_size_t",0}, | |
12702 | { "_unsigned_int","_uint",0}, | |
12703 | { "_unsigned_int","_wxWindowID",0}, | |
12704 | { "_unsigned_int","_int",0}, | |
12705 | { "_wxIcon","_class_wxIcon",0}, | |
12706 | { "_wxDialog","_class_wxDialog",0}, | |
12707 | { "_class_wxListItem","_wxListItem",0}, | |
12708 | { "_class_wxPen","_wxPen",0}, | |
12709 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
12710 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
12711 | { "_short","_WXTYPE",0}, | |
12712 | { "_short","_unsigned_short",0}, | |
12713 | { "_short","_signed_short",0}, | |
12714 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
12715 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
12716 | { "_class_wxScrollEvent","_wxScrollEvent",0}, | |
12717 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
12718 | { "_class_wxChoice","_wxChoice",0}, | |
12719 | { "_class_wxSlider","_wxSlider",0}, | |
12720 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
12721 | { "_class_wxImageList","_wxImageList",0}, | |
12722 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
12723 | { "_wxFrame","_class_wxFrame",0}, | |
12724 | { "_wxPyDivisionShape","_class_wxPyDivisionShape",0}, | |
12725 | { "_class_wxNotebook","_wxNotebook",0}, | |
12726 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
12727 | { "_wxWindowID","_wxPrintQuality",0}, | |
12728 | { "_wxWindowID","_size_t",0}, | |
12729 | { "_wxWindowID","_EBool",0}, | |
12730 | { "_wxWindowID","_uint",0}, | |
12731 | { "_wxWindowID","_int",0}, | |
12732 | { "_wxWindowID","_signed_int",0}, | |
12733 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 12734 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 12735 | { "_class_wxSizerItem","_wxSizerItem",0}, |
e91a9dfc RD |
12736 | { "_int","_wxPrintQuality",0}, |
12737 | { "_int","_size_t",0}, | |
12738 | { "_int","_EBool",0}, | |
12739 | { "_int","_uint",0}, | |
12740 | { "_int","_wxWindowID",0}, | |
12741 | { "_int","_unsigned_int",0}, | |
12742 | { "_int","_signed_int",0}, | |
12743 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 12744 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
e91a9dfc RD |
12745 | { "_class_wxListEvent","_wxListEvent",0}, |
12746 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
12747 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
12748 | { "_wxButton","_class_wxButton",0}, | |
12749 | { "_class_wxPyApp","_wxPyApp",0}, | |
12750 | { "_wxSize","_class_wxSize",0}, | |
12751 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
2348eaee | 12752 | { "_class_wxPrinterDC","_wxPrinterDC",0}, |
e91a9dfc RD |
12753 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
12754 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
2348eaee | 12755 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
e91a9dfc RD |
12756 | { "_class_wxPaintDC","_wxPaintDC",0}, |
12757 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
12758 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, | |
12759 | { "_class_wxComboBox","_wxComboBox",0}, | |
12760 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
12761 | { "_class_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12762 | { "_class_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12763 | { "_class_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12764 | { "_class_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12765 | { "_class_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12766 | { "_class_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12767 | { "_class_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12768 | { "_class_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12769 | { "_class_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
12770 | { "_class_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
2348eaee RD |
12771 | { "_class_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, |
12772 | { "_class_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
e91a9dfc RD |
12773 | { "_class_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, |
12774 | { "_class_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
12775 | { "_class_wxPyShape","_wxPyShape",0}, | |
12776 | { "_class_wxTreeItemId","_wxTreeItemId",0}, | |
12777 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
12778 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
12779 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
12780 | { "_class_wxControl","_wxControl",0}, | |
12781 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
12782 | { "_wxPyDrawnShape","_class_wxPyDrawnShape",0}, | |
12783 | { "_class_wxIcon","_wxIcon",0}, | |
12784 | { "_class_wxColour","_wxColour",0}, | |
12785 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
12786 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
12787 | { "_wxPalette","_class_wxPalette",0}, | |
12788 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
12789 | { "_wxEraseEvent","_class_wxEraseEvent",0}, | |
12790 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, | |
12791 | { "_class_wxMiniFrame","_wxMiniFrame",0}, | |
12792 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
12793 | { "_wxRegion","_class_wxRegion",0}, | |
12794 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
12795 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 12796 | { "_wxSizer","_class_wxSizer",0}, |
e91a9dfc RD |
12797 | { "_class_wxShowEvent","_wxShowEvent",0}, |
12798 | { "_wxActivateEvent","_class_wxActivateEvent",0}, | |
12799 | { "_wxGauge","_class_wxGauge",0}, | |
12800 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
12801 | { "_class_wxGridEvent","_wxGridEvent",0}, | |
12802 | { "_class_wxCommandEvent","_wxCommandEvent",0}, | |
12803 | { "_class_wxClientDC","_wxClientDC",0}, | |
12804 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
12805 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
12806 | { "_class_wxPyDividedShape","_wxPyDividedShape",0}, | |
12807 | { "_class_wxGridCell","_wxGridCell",0}, | |
12808 | { "_class_wxSize","_wxSize",0}, | |
12809 | { "_class_wxBitmap","_wxBitmap",0}, | |
12810 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
12811 | { "_wxMenuBar","_class_wxMenuBar",0}, | |
12812 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
12813 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
12814 | { "_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12815 | { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12816 | { "_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12817 | { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12818 | { "_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12819 | { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12820 | { "_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12821 | { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12822 | { "_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
12823 | { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
2348eaee RD |
12824 | { "_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, |
12825 | { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
e91a9dfc RD |
12826 | { "_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, |
12827 | { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
12828 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
12829 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
12830 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
12831 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
12832 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
12833 | { "_class_wxPrintData","_wxPrintData",0}, | |
12834 | { "_wxDash","_unsigned_long",0}, | |
12835 | { "_wxDash","_long",0}, | |
12836 | { "_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12837 | { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12838 | { "_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12839 | { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12840 | { "_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12841 | { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12842 | { "_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12843 | { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12844 | { "_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
12845 | { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
2348eaee RD |
12846 | { "_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, |
12847 | { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
e91a9dfc RD |
12848 | { "_wxPyRectangleShape","_class_wxPyRectangleShape",0}, |
12849 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
12850 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, | |
12851 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
12852 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
12853 | { "_wxOGLConstraint","_class_wxOGLConstraint",0}, | |
12854 | { "_wxColourData","_class_wxColourData",0}, | |
12855 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
12856 | { "_class_wxPalette","_wxPalette",0}, | |
12857 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, | |
12858 | { "_class_wxEraseEvent","_wxEraseEvent",0}, | |
12859 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, | |
12860 | { "_class_wxFontDialog","_wxFontDialog",0}, | |
12861 | { "_wxWindow","_class_wxWindow",0}, | |
12862 | { "_class_wxFrame","_wxFrame",0}, | |
12863 | {0,0,0}}; | |
12864 | ||
12865 | static PyObject *SWIG_globals; | |
12866 | #ifdef __cplusplus | |
12867 | extern "C" | |
12868 | #endif | |
12869 | SWIGEXPORT(void) initoglshapesc() { | |
12870 | PyObject *m, *d; | |
12871 | SWIG_globals = SWIG_newvarlink(); | |
12872 | m = Py_InitModule("oglshapesc", oglshapescMethods); | |
12873 | d = PyModule_GetDict(m); | |
12874 | { | |
12875 | int i; | |
12876 | for (i = 0; _swig_mapping[i].n1; i++) | |
12877 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
12878 | } | |
12879 | } |