]>
Commit | Line | Data |
---|---|---|
e91a9dfc | 1 | /* |
f6bcfd97 | 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; | |
eec92d76 | 1249 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
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; | |
eec92d76 | 1298 | char *_kwnames[] = { "self","points","flags", NULL }; |
e91a9dfc RD |
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; | |
eec92d76 | 1346 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
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; | |
f6bcfd97 BP |
1568 | wxColour temp; |
1569 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1570 | char *_kwnames[] = { "self","colour", NULL }; |
1571 | ||
1572 | self = self; | |
f6bcfd97 | 1573 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1574 | return NULL; |
1575 | if (_argo0) { | |
1576 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1577 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1578 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p."); | |
1579 | return NULL; | |
1580 | } | |
1581 | } | |
f6bcfd97 BP |
1582 | { |
1583 | _arg1 = &temp; | |
1584 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 1585 | return NULL; |
f6bcfd97 | 1586 | } |
e91a9dfc RD |
1587 | { |
1588 | wxPy_BEGIN_ALLOW_THREADS; | |
1589 | wxPseudoMetaFile_SetTextColour(_arg0,*_arg1); | |
1590 | ||
1591 | wxPy_END_ALLOW_THREADS; | |
1592 | } Py_INCREF(Py_None); | |
1593 | _resultobj = Py_None; | |
1594 | return _resultobj; | |
1595 | } | |
1596 | ||
1597 | #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1598 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1599 | PyObject * _resultobj; | |
1600 | wxPseudoMetaFile * _arg0; | |
1601 | wxColour * _arg1; | |
1602 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
1603 | wxColour temp; |
1604 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1605 | char *_kwnames[] = { "self","colour", NULL }; |
1606 | ||
1607 | self = self; | |
f6bcfd97 | 1608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
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 | } | |
f6bcfd97 BP |
1617 | { |
1618 | _arg1 = &temp; | |
1619 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 1620 | return NULL; |
f6bcfd97 | 1621 | } |
e91a9dfc RD |
1622 | { |
1623 | wxPy_BEGIN_ALLOW_THREADS; | |
1624 | wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1); | |
1625 | ||
1626 | wxPy_END_ALLOW_THREADS; | |
1627 | } Py_INCREF(Py_None); | |
1628 | _resultobj = Py_None; | |
1629 | return _resultobj; | |
1630 | } | |
1631 | ||
1632 | #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0)) | |
1633 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1634 | PyObject * _resultobj; | |
1635 | wxPseudoMetaFile * _arg0; | |
1636 | int _arg1; | |
1637 | PyObject * _argo0 = 0; | |
1638 | char *_kwnames[] = { "self","mode", NULL }; | |
1639 | ||
1640 | self = self; | |
1641 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
1642 | return NULL; | |
1643 | if (_argo0) { | |
1644 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1645 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1646 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p."); | |
1647 | return NULL; | |
1648 | } | |
1649 | } | |
1650 | { | |
1651 | wxPy_BEGIN_ALLOW_THREADS; | |
1652 | wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1); | |
1653 | ||
1654 | wxPy_END_ALLOW_THREADS; | |
1655 | } Py_INCREF(Py_None); | |
1656 | _resultobj = Py_None; | |
1657 | return _resultobj; | |
1658 | } | |
1659 | ||
1660 | static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) { | |
1661 | wxPyRectangleShape *src; | |
1662 | wxPyShape *dest; | |
1663 | src = (wxPyRectangleShape *) ptr; | |
1664 | dest = (wxPyShape *) src; | |
1665 | return (void *) dest; | |
1666 | } | |
1667 | ||
1668 | static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1669 | wxPyRectangleShape *src; | |
1670 | wxPyShapeEvtHandler *dest; | |
1671 | src = (wxPyRectangleShape *) ptr; | |
1672 | dest = (wxPyShapeEvtHandler *) src; | |
1673 | return (void *) dest; | |
1674 | } | |
1675 | ||
1676 | #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1)) | |
1677 | static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1678 | PyObject * _resultobj; | |
1679 | wxPyRectangleShape * _result; | |
1680 | double _arg0 = (double ) 0.0; | |
1681 | double _arg1 = (double ) 0.0; | |
1682 | char *_kwnames[] = { "width","height", NULL }; | |
1683 | char _ptemp[128]; | |
1684 | ||
1685 | self = self; | |
1686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1)) | |
1687 | return NULL; | |
1688 | { | |
1689 | wxPy_BEGIN_ALLOW_THREADS; | |
1690 | _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1); | |
1691 | ||
1692 | wxPy_END_ALLOW_THREADS; | |
1693 | } if (_result) { | |
1694 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p"); | |
1695 | _resultobj = Py_BuildValue("s",_ptemp); | |
1696 | } else { | |
1697 | Py_INCREF(Py_None); | |
1698 | _resultobj = Py_None; | |
1699 | } | |
1700 | return _resultobj; | |
1701 | } | |
1702 | ||
f6bcfd97 | 1703 | #define wxPyRectangleShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
1704 | static PyObject *_wrap_wxPyRectangleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
1705 | PyObject * _resultobj; | |
1706 | wxPyRectangleShape * _arg0; | |
1707 | PyObject * _arg1; | |
f6bcfd97 | 1708 | PyObject * _arg2; |
e91a9dfc RD |
1709 | PyObject * _argo0 = 0; |
1710 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1711 | PyObject * _obj2 = 0; |
1712 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1713 | |
1714 | self = self; | |
f6bcfd97 | 1715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
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 | } | |
f6bcfd97 BP |
1727 | { |
1728 | _arg2 = _obj2; | |
1729 | } | |
e91a9dfc RD |
1730 | { |
1731 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 1732 | wxPyRectangleShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
1733 | |
1734 | wxPy_END_ALLOW_THREADS; | |
1735 | } Py_INCREF(Py_None); | |
1736 | _resultobj = Py_None; | |
1737 | return _resultobj; | |
1738 | } | |
1739 | ||
1740 | #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) | |
1741 | static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1742 | PyObject * _resultobj; | |
1743 | wxPyRectangleShape * _arg0; | |
1744 | double _arg1; | |
1745 | PyObject * _argo0 = 0; | |
1746 | char *_kwnames[] = { "self","radius", NULL }; | |
1747 | ||
1748 | self = self; | |
1749 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1)) | |
1750 | return NULL; | |
1751 | if (_argo0) { | |
1752 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1753 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1754 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p."); | |
1755 | return NULL; | |
1756 | } | |
1757 | } | |
1758 | { | |
1759 | wxPy_BEGIN_ALLOW_THREADS; | |
1760 | wxPyRectangleShape_SetCornerRadius(_arg0,_arg1); | |
1761 | ||
1762 | wxPy_END_ALLOW_THREADS; | |
1763 | } Py_INCREF(Py_None); | |
1764 | _resultobj = Py_None; | |
1765 | return _resultobj; | |
1766 | } | |
1767 | ||
1768 | #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1769 | static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1770 | PyObject * _resultobj; | |
1771 | wxPyRectangleShape * _arg0; | |
1772 | PyObject * _argo0 = 0; | |
1773 | char *_kwnames[] = { "self", NULL }; | |
1774 | ||
1775 | self = self; | |
1776 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0)) | |
1777 | return NULL; | |
1778 | if (_argo0) { | |
1779 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1780 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1781 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p."); | |
1782 | return NULL; | |
1783 | } | |
1784 | } | |
1785 | { | |
1786 | wxPy_BEGIN_ALLOW_THREADS; | |
1787 | wxPyRectangleShape_base_OnDelete(_arg0); | |
1788 | ||
1789 | wxPy_END_ALLOW_THREADS; | |
1790 | } Py_INCREF(Py_None); | |
1791 | _resultobj = Py_None; | |
1792 | return _resultobj; | |
1793 | } | |
1794 | ||
1795 | #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1796 | static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1797 | PyObject * _resultobj; | |
1798 | wxPyRectangleShape * _arg0; | |
1799 | wxDC * _arg1; | |
1800 | PyObject * _argo0 = 0; | |
1801 | PyObject * _argo1 = 0; | |
1802 | char *_kwnames[] = { "self","dc", NULL }; | |
1803 | ||
1804 | self = self; | |
1805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
1806 | return NULL; | |
1807 | if (_argo0) { | |
1808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p."); | |
1811 | return NULL; | |
1812 | } | |
1813 | } | |
1814 | if (_argo1) { | |
1815 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1816 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1817 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p."); | |
1818 | return NULL; | |
1819 | } | |
1820 | } | |
1821 | { | |
1822 | wxPy_BEGIN_ALLOW_THREADS; | |
1823 | wxPyRectangleShape_base_OnDraw(_arg0,*_arg1); | |
1824 | ||
1825 | wxPy_END_ALLOW_THREADS; | |
1826 | } Py_INCREF(Py_None); | |
1827 | _resultobj = Py_None; | |
1828 | return _resultobj; | |
1829 | } | |
1830 | ||
1831 | #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1832 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1833 | PyObject * _resultobj; | |
1834 | wxPyRectangleShape * _arg0; | |
1835 | wxDC * _arg1; | |
1836 | PyObject * _argo0 = 0; | |
1837 | PyObject * _argo1 = 0; | |
1838 | char *_kwnames[] = { "self","dc", NULL }; | |
1839 | ||
1840 | self = self; | |
1841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
1842 | return NULL; | |
1843 | if (_argo0) { | |
1844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p."); | |
1847 | return NULL; | |
1848 | } | |
1849 | } | |
1850 | if (_argo1) { | |
1851 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1852 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p."); | |
1854 | return NULL; | |
1855 | } | |
1856 | } | |
1857 | { | |
1858 | wxPy_BEGIN_ALLOW_THREADS; | |
1859 | wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1); | |
1860 | ||
1861 | wxPy_END_ALLOW_THREADS; | |
1862 | } Py_INCREF(Py_None); | |
1863 | _resultobj = Py_None; | |
1864 | return _resultobj; | |
1865 | } | |
1866 | ||
1867 | #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1868 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1869 | PyObject * _resultobj; | |
1870 | wxPyRectangleShape * _arg0; | |
1871 | wxDC * _arg1; | |
1872 | bool _arg2 = (bool ) FALSE; | |
1873 | PyObject * _argo0 = 0; | |
1874 | PyObject * _argo1 = 0; | |
1875 | int tempbool2 = (int) FALSE; | |
1876 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1877 | ||
1878 | self = self; | |
1879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1880 | return NULL; | |
1881 | if (_argo0) { | |
1882 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1883 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p."); | |
1885 | return NULL; | |
1886 | } | |
1887 | } | |
1888 | if (_argo1) { | |
1889 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1890 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1891 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1892 | return NULL; | |
1893 | } | |
1894 | } | |
1895 | _arg2 = (bool ) tempbool2; | |
1896 | { | |
1897 | wxPy_BEGIN_ALLOW_THREADS; | |
1898 | wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
1899 | ||
1900 | wxPy_END_ALLOW_THREADS; | |
1901 | } Py_INCREF(Py_None); | |
1902 | _resultobj = Py_None; | |
1903 | return _resultobj; | |
1904 | } | |
1905 | ||
1906 | #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1907 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1908 | PyObject * _resultobj; | |
1909 | wxPyRectangleShape * _arg0; | |
1910 | wxDC * _arg1; | |
1911 | PyObject * _argo0 = 0; | |
1912 | PyObject * _argo1 = 0; | |
1913 | char *_kwnames[] = { "self","dc", NULL }; | |
1914 | ||
1915 | self = self; | |
1916 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1917 | return NULL; | |
1918 | if (_argo0) { | |
1919 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1920 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1921 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p."); | |
1922 | return NULL; | |
1923 | } | |
1924 | } | |
1925 | if (_argo1) { | |
1926 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1927 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1928 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
1929 | return NULL; | |
1930 | } | |
1931 | } | |
1932 | { | |
1933 | wxPy_BEGIN_ALLOW_THREADS; | |
1934 | wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1); | |
1935 | ||
1936 | wxPy_END_ALLOW_THREADS; | |
1937 | } Py_INCREF(Py_None); | |
1938 | _resultobj = Py_None; | |
1939 | return _resultobj; | |
1940 | } | |
1941 | ||
1942 | #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
1943 | static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1944 | PyObject * _resultobj; | |
1945 | wxPyRectangleShape * _arg0; | |
1946 | wxDC * _arg1; | |
1947 | PyObject * _argo0 = 0; | |
1948 | PyObject * _argo1 = 0; | |
1949 | char *_kwnames[] = { "self","dc", NULL }; | |
1950 | ||
1951 | self = self; | |
1952 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
1953 | return NULL; | |
1954 | if (_argo0) { | |
1955 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1956 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1957 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p."); | |
1958 | return NULL; | |
1959 | } | |
1960 | } | |
1961 | if (_argo1) { | |
1962 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1963 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1964 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p."); | |
1965 | return NULL; | |
1966 | } | |
1967 | } | |
1968 | { | |
1969 | wxPy_BEGIN_ALLOW_THREADS; | |
1970 | wxPyRectangleShape_base_OnErase(_arg0,*_arg1); | |
1971 | ||
1972 | wxPy_END_ALLOW_THREADS; | |
1973 | } Py_INCREF(Py_None); | |
1974 | _resultobj = Py_None; | |
1975 | return _resultobj; | |
1976 | } | |
1977 | ||
1978 | #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
1979 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1980 | PyObject * _resultobj; | |
1981 | wxPyRectangleShape * _arg0; | |
1982 | wxDC * _arg1; | |
1983 | PyObject * _argo0 = 0; | |
1984 | PyObject * _argo1 = 0; | |
1985 | char *_kwnames[] = { "self","dc", NULL }; | |
1986 | ||
1987 | self = self; | |
1988 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
1989 | return NULL; | |
1990 | if (_argo0) { | |
1991 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1992 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1993 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p."); | |
1994 | return NULL; | |
1995 | } | |
1996 | } | |
1997 | if (_argo1) { | |
1998 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1999 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2000 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p."); | |
2001 | return NULL; | |
2002 | } | |
2003 | } | |
2004 | { | |
2005 | wxPy_BEGIN_ALLOW_THREADS; | |
2006 | wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1); | |
2007 | ||
2008 | wxPy_END_ALLOW_THREADS; | |
2009 | } Py_INCREF(Py_None); | |
2010 | _resultobj = Py_None; | |
2011 | return _resultobj; | |
2012 | } | |
2013 | ||
2014 | #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
2015 | static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2016 | PyObject * _resultobj; | |
2017 | wxPyRectangleShape * _arg0; | |
2018 | wxDC * _arg1; | |
2019 | PyObject * _argo0 = 0; | |
2020 | PyObject * _argo1 = 0; | |
2021 | char *_kwnames[] = { "self","dc", NULL }; | |
2022 | ||
2023 | self = self; | |
2024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
2025 | return NULL; | |
2026 | if (_argo0) { | |
2027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p."); | |
2030 | return NULL; | |
2031 | } | |
2032 | } | |
2033 | if (_argo1) { | |
2034 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2035 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2036 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p."); | |
2037 | return NULL; | |
2038 | } | |
2039 | } | |
2040 | { | |
2041 | wxPy_BEGIN_ALLOW_THREADS; | |
2042 | wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1); | |
2043 | ||
2044 | wxPy_END_ALLOW_THREADS; | |
2045 | } Py_INCREF(Py_None); | |
2046 | _resultobj = Py_None; | |
2047 | return _resultobj; | |
2048 | } | |
2049 | ||
2050 | #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2051 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2052 | PyObject * _resultobj; | |
2053 | wxPyRectangleShape * _arg0; | |
2054 | double _arg1; | |
2055 | double _arg2; | |
2056 | int _arg3 = (int ) 0; | |
2057 | int _arg4 = (int ) 0; | |
2058 | PyObject * _argo0 = 0; | |
2059 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2060 | ||
2061 | self = self; | |
2062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2063 | return NULL; | |
2064 | if (_argo0) { | |
2065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p."); | |
2068 | return NULL; | |
2069 | } | |
2070 | } | |
2071 | { | |
2072 | wxPy_BEGIN_ALLOW_THREADS; | |
2073 | wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2074 | ||
2075 | wxPy_END_ALLOW_THREADS; | |
2076 | } Py_INCREF(Py_None); | |
2077 | _resultobj = Py_None; | |
2078 | return _resultobj; | |
2079 | } | |
2080 | ||
2081 | #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2082 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2083 | PyObject * _resultobj; | |
2084 | wxPyRectangleShape * _arg0; | |
2085 | double _arg1; | |
2086 | double _arg2; | |
2087 | int _arg3 = (int ) 0; | |
2088 | int _arg4 = (int ) 0; | |
2089 | PyObject * _argo0 = 0; | |
2090 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2091 | ||
2092 | self = self; | |
2093 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2094 | return NULL; | |
2095 | if (_argo0) { | |
2096 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2097 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2098 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p."); | |
2099 | return NULL; | |
2100 | } | |
2101 | } | |
2102 | { | |
2103 | wxPy_BEGIN_ALLOW_THREADS; | |
2104 | wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2105 | ||
2106 | wxPy_END_ALLOW_THREADS; | |
2107 | } Py_INCREF(Py_None); | |
2108 | _resultobj = Py_None; | |
2109 | return _resultobj; | |
2110 | } | |
2111 | ||
2112 | #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2113 | static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2114 | PyObject * _resultobj; | |
2115 | wxPyRectangleShape * _arg0; | |
2116 | double _arg1; | |
2117 | double _arg2; | |
2118 | int _arg3 = (int ) 0; | |
2119 | int _arg4 = (int ) 0; | |
2120 | PyObject * _argo0 = 0; | |
2121 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2122 | ||
2123 | self = self; | |
2124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2125 | return NULL; | |
2126 | if (_argo0) { | |
2127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p."); | |
2130 | return NULL; | |
2131 | } | |
2132 | } | |
2133 | { | |
2134 | wxPy_BEGIN_ALLOW_THREADS; | |
2135 | wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2136 | ||
2137 | wxPy_END_ALLOW_THREADS; | |
2138 | } Py_INCREF(Py_None); | |
2139 | _resultobj = Py_None; | |
2140 | return _resultobj; | |
2141 | } | |
2142 | ||
2143 | #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
2144 | static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2145 | PyObject * _resultobj; | |
2146 | wxPyRectangleShape * _arg0; | |
2147 | double _arg1; | |
2148 | double _arg2; | |
2149 | PyObject * _argo0 = 0; | |
2150 | char *_kwnames[] = { "self","x","y", NULL }; | |
2151 | ||
2152 | self = self; | |
2153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2154 | return NULL; | |
2155 | if (_argo0) { | |
2156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p."); | |
2159 | return NULL; | |
2160 | } | |
2161 | } | |
2162 | { | |
2163 | wxPy_BEGIN_ALLOW_THREADS; | |
2164 | wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2); | |
2165 | ||
2166 | wxPy_END_ALLOW_THREADS; | |
2167 | } Py_INCREF(Py_None); | |
2168 | _resultobj = Py_None; | |
2169 | return _resultobj; | |
2170 | } | |
2171 | ||
2172 | #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2173 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2174 | PyObject * _resultobj; | |
2175 | bool _result; | |
2176 | wxPyRectangleShape * _arg0; | |
2177 | wxDC * _arg1; | |
2178 | double _arg2; | |
2179 | double _arg3; | |
2180 | double _arg4; | |
2181 | double _arg5; | |
2182 | bool _arg6 = (bool ) TRUE; | |
2183 | PyObject * _argo0 = 0; | |
2184 | PyObject * _argo1 = 0; | |
2185 | int tempbool6 = (int) TRUE; | |
2186 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2187 | ||
2188 | self = self; | |
2189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2190 | return NULL; | |
2191 | if (_argo0) { | |
2192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p."); | |
2195 | return NULL; | |
2196 | } | |
2197 | } | |
2198 | if (_argo1) { | |
2199 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2200 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p."); | |
2202 | return NULL; | |
2203 | } | |
2204 | } | |
2205 | _arg6 = (bool ) tempbool6; | |
2206 | { | |
2207 | wxPy_BEGIN_ALLOW_THREADS; | |
2208 | _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2209 | ||
2210 | wxPy_END_ALLOW_THREADS; | |
2211 | } _resultobj = Py_BuildValue("i",_result); | |
2212 | return _resultobj; | |
2213 | } | |
2214 | ||
2215 | #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2216 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2217 | PyObject * _resultobj; | |
2218 | wxPyRectangleShape * _arg0; | |
2219 | wxDC * _arg1; | |
2220 | double _arg2; | |
2221 | double _arg3; | |
2222 | double _arg4; | |
2223 | double _arg5; | |
2224 | bool _arg6 = (bool ) TRUE; | |
2225 | PyObject * _argo0 = 0; | |
2226 | PyObject * _argo1 = 0; | |
2227 | int tempbool6 = (int) TRUE; | |
2228 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2229 | ||
2230 | self = self; | |
2231 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2232 | return NULL; | |
2233 | if (_argo0) { | |
2234 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2235 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p."); | |
2237 | return NULL; | |
2238 | } | |
2239 | } | |
2240 | if (_argo1) { | |
2241 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2242 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2243 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p."); | |
2244 | return NULL; | |
2245 | } | |
2246 | } | |
2247 | _arg6 = (bool ) tempbool6; | |
2248 | { | |
2249 | wxPy_BEGIN_ALLOW_THREADS; | |
2250 | wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2251 | ||
2252 | wxPy_END_ALLOW_THREADS; | |
2253 | } Py_INCREF(Py_None); | |
2254 | _resultobj = Py_None; | |
2255 | return _resultobj; | |
2256 | } | |
2257 | ||
2258 | #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2259 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2260 | PyObject * _resultobj; | |
2261 | wxPyRectangleShape * _arg0; | |
2262 | bool _arg1; | |
2263 | double _arg2; | |
2264 | double _arg3; | |
2265 | int _arg4 = (int ) 0; | |
2266 | int _arg5 = (int ) 0; | |
2267 | PyObject * _argo0 = 0; | |
2268 | int tempbool1; | |
2269 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2270 | ||
2271 | self = self; | |
2272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2273 | return NULL; | |
2274 | if (_argo0) { | |
2275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p."); | |
2278 | return NULL; | |
2279 | } | |
2280 | } | |
2281 | _arg1 = (bool ) tempbool1; | |
2282 | { | |
2283 | wxPy_BEGIN_ALLOW_THREADS; | |
2284 | wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2285 | ||
2286 | wxPy_END_ALLOW_THREADS; | |
2287 | } Py_INCREF(Py_None); | |
2288 | _resultobj = Py_None; | |
2289 | return _resultobj; | |
2290 | } | |
2291 | ||
2292 | #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2293 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2294 | PyObject * _resultobj; | |
2295 | wxPyRectangleShape * _arg0; | |
2296 | double _arg1; | |
2297 | double _arg2; | |
2298 | int _arg3 = (int ) 0; | |
2299 | int _arg4 = (int ) 0; | |
2300 | PyObject * _argo0 = 0; | |
2301 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2302 | ||
2303 | self = self; | |
2304 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2305 | return NULL; | |
2306 | if (_argo0) { | |
2307 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2308 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2309 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2310 | return NULL; | |
2311 | } | |
2312 | } | |
2313 | { | |
2314 | wxPy_BEGIN_ALLOW_THREADS; | |
2315 | wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2316 | ||
2317 | wxPy_END_ALLOW_THREADS; | |
2318 | } Py_INCREF(Py_None); | |
2319 | _resultobj = Py_None; | |
2320 | return _resultobj; | |
2321 | } | |
2322 | ||
2323 | #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2324 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2325 | PyObject * _resultobj; | |
2326 | wxPyRectangleShape * _arg0; | |
2327 | double _arg1; | |
2328 | double _arg2; | |
2329 | int _arg3 = (int ) 0; | |
2330 | int _arg4 = (int ) 0; | |
2331 | PyObject * _argo0 = 0; | |
2332 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2333 | ||
2334 | self = self; | |
2335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2336 | return NULL; | |
2337 | if (_argo0) { | |
2338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2341 | return NULL; | |
2342 | } | |
2343 | } | |
2344 | { | |
2345 | wxPy_BEGIN_ALLOW_THREADS; | |
2346 | wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2347 | ||
2348 | wxPy_END_ALLOW_THREADS; | |
2349 | } Py_INCREF(Py_None); | |
2350 | _resultobj = Py_None; | |
2351 | return _resultobj; | |
2352 | } | |
2353 | ||
2354 | #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2355 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2356 | PyObject * _resultobj; | |
2357 | wxPyRectangleShape * _arg0; | |
2358 | bool _arg1; | |
2359 | double _arg2; | |
2360 | double _arg3; | |
2361 | int _arg4 = (int ) 0; | |
2362 | int _arg5 = (int ) 0; | |
2363 | PyObject * _argo0 = 0; | |
2364 | int tempbool1; | |
2365 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2366 | ||
2367 | self = self; | |
2368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2369 | return NULL; | |
2370 | if (_argo0) { | |
2371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p."); | |
2374 | return NULL; | |
2375 | } | |
2376 | } | |
2377 | _arg1 = (bool ) tempbool1; | |
2378 | { | |
2379 | wxPy_BEGIN_ALLOW_THREADS; | |
2380 | wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2381 | ||
2382 | wxPy_END_ALLOW_THREADS; | |
2383 | } Py_INCREF(Py_None); | |
2384 | _resultobj = Py_None; | |
2385 | return _resultobj; | |
2386 | } | |
2387 | ||
2388 | #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2389 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2390 | PyObject * _resultobj; | |
2391 | wxPyRectangleShape * _arg0; | |
2392 | double _arg1; | |
2393 | double _arg2; | |
2394 | int _arg3 = (int ) 0; | |
2395 | int _arg4 = (int ) 0; | |
2396 | PyObject * _argo0 = 0; | |
2397 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2398 | ||
2399 | self = self; | |
2400 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2401 | return NULL; | |
2402 | if (_argo0) { | |
2403 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2404 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2405 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p."); | |
2406 | return NULL; | |
2407 | } | |
2408 | } | |
2409 | { | |
2410 | wxPy_BEGIN_ALLOW_THREADS; | |
2411 | wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2412 | ||
2413 | wxPy_END_ALLOW_THREADS; | |
2414 | } Py_INCREF(Py_None); | |
2415 | _resultobj = Py_None; | |
2416 | return _resultobj; | |
2417 | } | |
2418 | ||
2419 | #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2420 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2421 | PyObject * _resultobj; | |
2422 | wxPyRectangleShape * _arg0; | |
2423 | double _arg1; | |
2424 | double _arg2; | |
2425 | int _arg3 = (int ) 0; | |
2426 | int _arg4 = (int ) 0; | |
2427 | PyObject * _argo0 = 0; | |
2428 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2429 | ||
2430 | self = self; | |
2431 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2432 | return NULL; | |
2433 | if (_argo0) { | |
2434 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2435 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2436 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p."); | |
2437 | return NULL; | |
2438 | } | |
2439 | } | |
2440 | { | |
2441 | wxPy_BEGIN_ALLOW_THREADS; | |
2442 | wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
2443 | ||
2444 | wxPy_END_ALLOW_THREADS; | |
2445 | } Py_INCREF(Py_None); | |
2446 | _resultobj = Py_None; | |
2447 | return _resultobj; | |
2448 | } | |
2449 | ||
2450 | #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2451 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2452 | PyObject * _resultobj; | |
2453 | wxPyRectangleShape * _arg0; | |
2454 | wxDC * _arg1; | |
2455 | double _arg2; | |
2456 | double _arg3; | |
2457 | double _arg4; | |
2458 | double _arg5; | |
2459 | PyObject * _argo0 = 0; | |
2460 | PyObject * _argo1 = 0; | |
2461 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2462 | ||
2463 | self = self; | |
2464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2465 | return NULL; | |
2466 | if (_argo0) { | |
2467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p."); | |
2470 | return NULL; | |
2471 | } | |
2472 | } | |
2473 | if (_argo1) { | |
2474 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2475 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
2477 | return NULL; | |
2478 | } | |
2479 | } | |
2480 | { | |
2481 | wxPy_BEGIN_ALLOW_THREADS; | |
2482 | wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
2483 | ||
2484 | wxPy_END_ALLOW_THREADS; | |
2485 | } Py_INCREF(Py_None); | |
2486 | _resultobj = Py_None; | |
2487 | return _resultobj; | |
2488 | } | |
2489 | ||
2490 | #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2491 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2492 | PyObject * _resultobj; | |
2493 | wxPyRectangleShape * _arg0; | |
2494 | wxDC * _arg1; | |
2495 | PyObject * _argo0 = 0; | |
2496 | PyObject * _argo1 = 0; | |
2497 | char *_kwnames[] = { "self","dc", NULL }; | |
2498 | ||
2499 | self = self; | |
2500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2501 | return NULL; | |
2502 | if (_argo0) { | |
2503 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2504 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2505 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p."); | |
2506 | return NULL; | |
2507 | } | |
2508 | } | |
2509 | if (_argo1) { | |
2510 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2511 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2513 | return NULL; | |
2514 | } | |
2515 | } | |
2516 | { | |
2517 | wxPy_BEGIN_ALLOW_THREADS; | |
2518 | wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
2519 | ||
2520 | wxPy_END_ALLOW_THREADS; | |
2521 | } Py_INCREF(Py_None); | |
2522 | _resultobj = Py_None; | |
2523 | return _resultobj; | |
2524 | } | |
2525 | ||
2526 | #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2527 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2528 | PyObject * _resultobj; | |
2529 | wxPyRectangleShape * _arg0; | |
2530 | wxDC * _arg1; | |
2531 | PyObject * _argo0 = 0; | |
2532 | PyObject * _argo1 = 0; | |
2533 | char *_kwnames[] = { "self","dc", NULL }; | |
2534 | ||
2535 | self = self; | |
2536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2537 | return NULL; | |
2538 | if (_argo0) { | |
2539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p."); | |
2542 | return NULL; | |
2543 | } | |
2544 | } | |
2545 | if (_argo1) { | |
2546 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2547 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2549 | return NULL; | |
2550 | } | |
2551 | } | |
2552 | { | |
2553 | wxPy_BEGIN_ALLOW_THREADS; | |
2554 | wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
2555 | ||
2556 | wxPy_END_ALLOW_THREADS; | |
2557 | } Py_INCREF(Py_None); | |
2558 | _resultobj = Py_None; | |
2559 | return _resultobj; | |
2560 | } | |
2561 | ||
2562 | #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2563 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2564 | PyObject * _resultobj; | |
2565 | wxPyRectangleShape * _arg0; | |
2566 | wxDC * _arg1; | |
2567 | bool _arg2 = (bool ) TRUE; | |
2568 | PyObject * _argo0 = 0; | |
2569 | PyObject * _argo1 = 0; | |
2570 | int tempbool2 = (int) TRUE; | |
2571 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2572 | ||
2573 | self = self; | |
2574 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2575 | return NULL; | |
2576 | if (_argo0) { | |
2577 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2578 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2579 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p."); | |
2580 | return NULL; | |
2581 | } | |
2582 | } | |
2583 | if (_argo1) { | |
2584 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2585 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2587 | return NULL; | |
2588 | } | |
2589 | } | |
2590 | _arg2 = (bool ) tempbool2; | |
2591 | { | |
2592 | wxPy_BEGIN_ALLOW_THREADS; | |
2593 | wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
2594 | ||
2595 | wxPy_END_ALLOW_THREADS; | |
2596 | } Py_INCREF(Py_None); | |
2597 | _resultobj = Py_None; | |
2598 | return _resultobj; | |
2599 | } | |
2600 | ||
2601 | #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2602 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2603 | PyObject * _resultobj; | |
2604 | wxPyRectangleShape * _arg0; | |
2348eaee | 2605 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2606 | bool _arg2; |
2607 | double _arg3; | |
2608 | double _arg4; | |
2609 | int _arg5 = (int ) 0; | |
2610 | int _arg6 = (int ) 0; | |
2611 | PyObject * _argo0 = 0; | |
2612 | PyObject * _argo1 = 0; | |
2613 | int tempbool2; | |
2614 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2615 | ||
2616 | self = self; | |
2617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2618 | return NULL; | |
2619 | if (_argo0) { | |
2620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p."); | |
2623 | return NULL; | |
2624 | } | |
2625 | } | |
2626 | if (_argo1) { | |
2627 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2628 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2630 | return NULL; |
2631 | } | |
2632 | } | |
2633 | _arg2 = (bool ) tempbool2; | |
2634 | { | |
2635 | wxPy_BEGIN_ALLOW_THREADS; | |
2636 | wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
2637 | ||
2638 | wxPy_END_ALLOW_THREADS; | |
2639 | } Py_INCREF(Py_None); | |
2640 | _resultobj = Py_None; | |
2641 | return _resultobj; | |
2642 | } | |
2643 | ||
2644 | #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2645 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2646 | PyObject * _resultobj; | |
2647 | wxPyRectangleShape * _arg0; | |
2348eaee | 2648 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2649 | double _arg2; |
2650 | double _arg3; | |
2651 | int _arg4 = (int ) 0; | |
2652 | int _arg5 = (int ) 0; | |
2653 | PyObject * _argo0 = 0; | |
2654 | PyObject * _argo1 = 0; | |
2655 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2656 | ||
2657 | self = self; | |
2658 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2659 | return NULL; | |
2660 | if (_argo0) { | |
2661 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2662 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2663 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2664 | return NULL; | |
2665 | } | |
2666 | } | |
2667 | if (_argo1) { | |
2668 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2669 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2671 | return NULL; |
2672 | } | |
2673 | } | |
2674 | { | |
2675 | wxPy_BEGIN_ALLOW_THREADS; | |
2676 | wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2677 | ||
2678 | wxPy_END_ALLOW_THREADS; | |
2679 | } Py_INCREF(Py_None); | |
2680 | _resultobj = Py_None; | |
2681 | return _resultobj; | |
2682 | } | |
2683 | ||
2684 | #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2685 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2686 | PyObject * _resultobj; | |
2687 | wxPyRectangleShape * _arg0; | |
2348eaee | 2688 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2689 | double _arg2; |
2690 | double _arg3; | |
2691 | int _arg4 = (int ) 0; | |
2692 | int _arg5 = (int ) 0; | |
2693 | PyObject * _argo0 = 0; | |
2694 | PyObject * _argo1 = 0; | |
2695 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2696 | ||
2697 | self = self; | |
2698 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2699 | return NULL; | |
2700 | if (_argo0) { | |
2701 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2702 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2703 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2704 | return NULL; | |
2705 | } | |
2706 | } | |
2707 | if (_argo1) { | |
2708 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2709 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2710 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2711 | return NULL; |
2712 | } | |
2713 | } | |
2714 | { | |
2715 | wxPy_BEGIN_ALLOW_THREADS; | |
2716 | wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
2717 | ||
2718 | wxPy_END_ALLOW_THREADS; | |
2719 | } Py_INCREF(Py_None); | |
2720 | _resultobj = Py_None; | |
2721 | return _resultobj; | |
2722 | } | |
2723 | ||
2724 | #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2725 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2726 | PyObject * _resultobj; | |
2727 | wxPyRectangleShape * _arg0; | |
2728 | double _arg1; | |
2729 | double _arg2; | |
2730 | PyObject * _argo0 = 0; | |
2731 | char *_kwnames[] = { "self","w","h", NULL }; | |
2732 | ||
2733 | self = self; | |
2734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2735 | return NULL; | |
2736 | if (_argo0) { | |
2737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p."); | |
2740 | return NULL; | |
2741 | } | |
2742 | } | |
2743 | { | |
2744 | wxPy_BEGIN_ALLOW_THREADS; | |
2745 | wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
2746 | ||
2747 | wxPy_END_ALLOW_THREADS; | |
2748 | } Py_INCREF(Py_None); | |
2749 | _resultobj = Py_None; | |
2750 | return _resultobj; | |
2751 | } | |
2752 | ||
2753 | #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2754 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2755 | PyObject * _resultobj; | |
2756 | wxPyRectangleShape * _arg0; | |
2757 | double _arg1; | |
2758 | double _arg2; | |
2759 | PyObject * _argo0 = 0; | |
2760 | char *_kwnames[] = { "self","w","h", NULL }; | |
2761 | ||
2762 | self = self; | |
2763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2764 | return NULL; | |
2765 | if (_argo0) { | |
2766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p."); | |
2769 | return NULL; | |
2770 | } | |
2771 | } | |
2772 | { | |
2773 | wxPy_BEGIN_ALLOW_THREADS; | |
2774 | wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
2775 | ||
2776 | wxPy_END_ALLOW_THREADS; | |
2777 | } Py_INCREF(Py_None); | |
2778 | _resultobj = Py_None; | |
2779 | return _resultobj; | |
2780 | } | |
2781 | ||
2348eaee RD |
2782 | static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) { |
2783 | wxPyControlPoint *src; | |
e91a9dfc | 2784 | wxPyRectangleShape *dest; |
2348eaee | 2785 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2786 | dest = (wxPyRectangleShape *) src; |
2787 | return (void *) dest; | |
2788 | } | |
2789 | ||
2348eaee RD |
2790 | static void *SwigwxPyControlPointTowxPyShape(void *ptr) { |
2791 | wxPyControlPoint *src; | |
e91a9dfc | 2792 | wxPyShape *dest; |
2348eaee | 2793 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2794 | dest = (wxPyShape *) src; |
2795 | return (void *) dest; | |
2796 | } | |
2797 | ||
2348eaee RD |
2798 | static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) { |
2799 | wxPyControlPoint *src; | |
e91a9dfc | 2800 | wxPyShapeEvtHandler *dest; |
2348eaee | 2801 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2802 | dest = (wxPyShapeEvtHandler *) src; |
2803 | return (void *) dest; | |
2804 | } | |
2805 | ||
2348eaee RD |
2806 | #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
2807 | static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2808 | PyObject * _resultobj; |
2348eaee RD |
2809 | wxPyControlPoint * _result; |
2810 | wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL; | |
2811 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
2812 | double _arg2 = (double ) 0.0; | |
2813 | double _arg3 = (double ) 0.0; | |
2814 | double _arg4 = (double ) 0.0; | |
2815 | int _arg5 = (int ) 0; | |
2816 | PyObject * _argo0 = 0; | |
2817 | PyObject * _argo1 = 0; | |
2818 | char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL }; | |
e91a9dfc RD |
2819 | char _ptemp[128]; |
2820 | ||
2821 | self = self; | |
2348eaee RD |
2822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) |
2823 | return NULL; | |
2824 | if (_argo0) { | |
2825 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2826 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
2827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p."); | |
2828 | return NULL; | |
2829 | } | |
2830 | } | |
2831 | if (_argo1) { | |
2832 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2833 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
2834 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p."); | |
e91a9dfc | 2835 | return NULL; |
2348eaee RD |
2836 | } |
2837 | } | |
e91a9dfc RD |
2838 | { |
2839 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2840 | _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc RD |
2841 | |
2842 | wxPy_END_ALLOW_THREADS; | |
2843 | } if (_result) { | |
2348eaee | 2844 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p"); |
e91a9dfc RD |
2845 | _resultobj = Py_BuildValue("s",_ptemp); |
2846 | } else { | |
2847 | Py_INCREF(Py_None); | |
2848 | _resultobj = Py_None; | |
2849 | } | |
2850 | return _resultobj; | |
2851 | } | |
2852 | ||
f6bcfd97 | 2853 | #define wxPyControlPoint__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
2348eaee | 2854 | static PyObject *_wrap_wxPyControlPoint__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
e91a9dfc | 2855 | PyObject * _resultobj; |
2348eaee | 2856 | wxPyControlPoint * _arg0; |
e91a9dfc | 2857 | PyObject * _arg1; |
f6bcfd97 | 2858 | PyObject * _arg2; |
e91a9dfc RD |
2859 | PyObject * _argo0 = 0; |
2860 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2861 | PyObject * _obj2 = 0; |
2862 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2863 | |
2864 | self = self; | |
f6bcfd97 | 2865 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2866 | return NULL; |
2867 | if (_argo0) { | |
2868 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2869 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2870 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setSelf. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2871 | return NULL; |
2872 | } | |
2873 | } | |
2874 | { | |
2875 | _arg1 = _obj1; | |
2876 | } | |
f6bcfd97 BP |
2877 | { |
2878 | _arg2 = _obj2; | |
2879 | } | |
e91a9dfc RD |
2880 | { |
2881 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 2882 | wxPyControlPoint__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
2883 | |
2884 | wxPy_END_ALLOW_THREADS; | |
2885 | } Py_INCREF(Py_None); | |
2886 | _resultobj = Py_None; | |
2887 | return _resultobj; | |
2888 | } | |
2889 | ||
2348eaee RD |
2890 | #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) |
2891 | static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2892 | PyObject * _resultobj; |
2348eaee RD |
2893 | wxPyControlPoint * _arg0; |
2894 | double _arg1; | |
e91a9dfc | 2895 | PyObject * _argo0 = 0; |
2348eaee | 2896 | char *_kwnames[] = { "self","radius", NULL }; |
e91a9dfc RD |
2897 | |
2898 | self = self; | |
2348eaee | 2899 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1)) |
e91a9dfc RD |
2900 | return NULL; |
2901 | if (_argo0) { | |
2902 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2903 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2904 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2905 | return NULL; |
2906 | } | |
2907 | } | |
2908 | { | |
2909 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2910 | wxPyControlPoint_SetCornerRadius(_arg0,_arg1); |
e91a9dfc RD |
2911 | |
2912 | wxPy_END_ALLOW_THREADS; | |
2348eaee RD |
2913 | } Py_INCREF(Py_None); |
2914 | _resultobj = Py_None; | |
e91a9dfc RD |
2915 | return _resultobj; |
2916 | } | |
2917 | ||
2348eaee RD |
2918 | #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) |
2919 | static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2920 | PyObject * _resultobj; |
2348eaee | 2921 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
2922 | PyObject * _argo0 = 0; |
2923 | char *_kwnames[] = { "self", NULL }; | |
2924 | ||
2925 | self = self; | |
2348eaee | 2926 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0)) |
e91a9dfc RD |
2927 | return NULL; |
2928 | if (_argo0) { | |
2929 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2930 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2932 | return NULL; |
2933 | } | |
2934 | } | |
2935 | { | |
2936 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2937 | wxPyControlPoint_base_OnDelete(_arg0); |
e91a9dfc RD |
2938 | |
2939 | wxPy_END_ALLOW_THREADS; | |
2348eaee RD |
2940 | } Py_INCREF(Py_None); |
2941 | _resultobj = Py_None; | |
e91a9dfc RD |
2942 | return _resultobj; |
2943 | } | |
2944 | ||
2348eaee RD |
2945 | #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) |
2946 | static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2947 | PyObject * _resultobj; |
2348eaee RD |
2948 | wxPyControlPoint * _arg0; |
2949 | wxDC * _arg1; | |
e91a9dfc RD |
2950 | PyObject * _argo0 = 0; |
2951 | PyObject * _argo1 = 0; | |
2348eaee | 2952 | char *_kwnames[] = { "self","dc", NULL }; |
e91a9dfc RD |
2953 | |
2954 | self = self; | |
2348eaee | 2955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
2956 | return NULL; |
2957 | if (_argo0) { | |
2958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2961 | return NULL; |
2962 | } | |
2963 | } | |
2964 | if (_argo1) { | |
2965 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2966 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
2967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p."); | |
e91a9dfc RD |
2968 | return NULL; |
2969 | } | |
2970 | } | |
2971 | { | |
2972 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 2973 | wxPyControlPoint_base_OnDraw(_arg0,*_arg1); |
e91a9dfc RD |
2974 | |
2975 | wxPy_END_ALLOW_THREADS; | |
2976 | } Py_INCREF(Py_None); | |
2977 | _resultobj = Py_None; | |
2978 | return _resultobj; | |
2979 | } | |
2980 | ||
2348eaee RD |
2981 | #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) |
2982 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2983 | PyObject * _resultobj; |
2348eaee RD |
2984 | wxPyControlPoint * _arg0; |
2985 | wxDC * _arg1; | |
e91a9dfc | 2986 | PyObject * _argo0 = 0; |
2348eaee RD |
2987 | PyObject * _argo1 = 0; |
2988 | char *_kwnames[] = { "self","dc", NULL }; | |
e91a9dfc RD |
2989 | |
2990 | self = self; | |
2348eaee | 2991 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
2992 | return NULL; |
2993 | if (_argo0) { | |
2994 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
2995 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
2996 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2997 | return NULL; |
2998 | } | |
2999 | } | |
2348eaee RD |
3000 | if (_argo1) { |
3001 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3002 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3003 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p."); | |
e91a9dfc | 3004 | return NULL; |
2348eaee | 3005 | } |
e91a9dfc | 3006 | } |
e91a9dfc RD |
3007 | { |
3008 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3009 | wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc RD |
3010 | |
3011 | wxPy_END_ALLOW_THREADS; | |
3012 | } Py_INCREF(Py_None); | |
3013 | _resultobj = Py_None; | |
e91a9dfc RD |
3014 | return _resultobj; |
3015 | } | |
3016 | ||
2348eaee RD |
3017 | #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) |
3018 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3019 | PyObject * _resultobj; |
2348eaee RD |
3020 | wxPyControlPoint * _arg0; |
3021 | wxDC * _arg1; | |
3022 | bool _arg2 = (bool ) FALSE; | |
e91a9dfc | 3023 | PyObject * _argo0 = 0; |
2348eaee RD |
3024 | PyObject * _argo1 = 0; |
3025 | int tempbool2 = (int) FALSE; | |
3026 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
3027 | |
3028 | self = self; | |
2348eaee | 3029 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) |
e91a9dfc RD |
3030 | return NULL; |
3031 | if (_argo0) { | |
3032 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3033 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3034 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p."); | |
3035 | return NULL; | |
3036 | } | |
3037 | } | |
3038 | if (_argo1) { | |
3039 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3040 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p."); | |
e91a9dfc RD |
3042 | return NULL; |
3043 | } | |
3044 | } | |
2348eaee | 3045 | _arg2 = (bool ) tempbool2; |
e91a9dfc RD |
3046 | { |
3047 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3048 | wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc RD |
3049 | |
3050 | wxPy_END_ALLOW_THREADS; | |
3051 | } Py_INCREF(Py_None); | |
3052 | _resultobj = Py_None; | |
3053 | return _resultobj; | |
3054 | } | |
3055 | ||
2348eaee RD |
3056 | #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) |
3057 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3058 | PyObject * _resultobj; |
2348eaee | 3059 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3060 | wxDC * _arg1; |
3061 | PyObject * _argo0 = 0; | |
3062 | PyObject * _argo1 = 0; | |
3063 | char *_kwnames[] = { "self","dc", NULL }; | |
3064 | ||
3065 | self = self; | |
2348eaee | 3066 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3067 | return NULL; |
3068 | if (_argo0) { | |
3069 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3070 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3071 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3072 | return NULL; |
3073 | } | |
3074 | } | |
3075 | if (_argo1) { | |
3076 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3077 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3078 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p."); |
e91a9dfc RD |
3079 | return NULL; |
3080 | } | |
3081 | } | |
3082 | { | |
3083 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3084 | wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc RD |
3085 | |
3086 | wxPy_END_ALLOW_THREADS; | |
3087 | } Py_INCREF(Py_None); | |
3088 | _resultobj = Py_None; | |
3089 | return _resultobj; | |
3090 | } | |
3091 | ||
2348eaee RD |
3092 | #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) |
3093 | static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3094 | PyObject * _resultobj; |
2348eaee | 3095 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3096 | wxDC * _arg1; |
3097 | PyObject * _argo0 = 0; | |
3098 | PyObject * _argo1 = 0; | |
3099 | char *_kwnames[] = { "self","dc", NULL }; | |
3100 | ||
3101 | self = self; | |
2348eaee | 3102 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3103 | return NULL; |
3104 | if (_argo0) { | |
3105 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3106 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3108 | return NULL; |
3109 | } | |
3110 | } | |
3111 | if (_argo1) { | |
3112 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3113 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p."); |
e91a9dfc RD |
3115 | return NULL; |
3116 | } | |
3117 | } | |
3118 | { | |
3119 | wxPy_BEGIN_ALLOW_THREADS; | |
2348eaee | 3120 | wxPyControlPoint_base_OnErase(_arg0,*_arg1); |
e91a9dfc RD |
3121 | |
3122 | wxPy_END_ALLOW_THREADS; | |
3123 | } Py_INCREF(Py_None); | |
3124 | _resultobj = Py_None; | |
3125 | return _resultobj; | |
3126 | } | |
3127 | ||
2348eaee RD |
3128 | #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) |
3129 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3130 | PyObject * _resultobj; |
2348eaee | 3131 | wxPyControlPoint * _arg0; |
e91a9dfc | 3132 | wxDC * _arg1; |
e91a9dfc RD |
3133 | PyObject * _argo0 = 0; |
3134 | PyObject * _argo1 = 0; | |
2348eaee RD |
3135 | char *_kwnames[] = { "self","dc", NULL }; |
3136 | ||
3137 | self = self; | |
3138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
3139 | return NULL; | |
3140 | if (_argo0) { | |
3141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p."); | |
3144 | return NULL; | |
3145 | } | |
3146 | } | |
3147 | if (_argo1) { | |
3148 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3149 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p."); | |
3151 | return NULL; | |
3152 | } | |
3153 | } | |
3154 | { | |
3155 | wxPy_BEGIN_ALLOW_THREADS; | |
3156 | wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1); | |
3157 | ||
3158 | wxPy_END_ALLOW_THREADS; | |
3159 | } Py_INCREF(Py_None); | |
3160 | _resultobj = Py_None; | |
3161 | return _resultobj; | |
3162 | } | |
3163 | ||
3164 | #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
3165 | static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3166 | PyObject * _resultobj; | |
3167 | wxPyControlPoint * _arg0; | |
3168 | wxDC * _arg1; | |
3169 | PyObject * _argo0 = 0; | |
3170 | PyObject * _argo1 = 0; | |
3171 | char *_kwnames[] = { "self","dc", NULL }; | |
3172 | ||
3173 | self = self; | |
3174 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
3175 | return NULL; | |
3176 | if (_argo0) { | |
3177 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3178 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3179 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p."); | |
3180 | return NULL; | |
3181 | } | |
3182 | } | |
3183 | if (_argo1) { | |
3184 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3185 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3186 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p."); | |
3187 | return NULL; | |
3188 | } | |
3189 | } | |
3190 | { | |
3191 | wxPy_BEGIN_ALLOW_THREADS; | |
3192 | wxPyControlPoint_base_OnHighlight(_arg0,*_arg1); | |
3193 | ||
3194 | wxPy_END_ALLOW_THREADS; | |
3195 | } Py_INCREF(Py_None); | |
3196 | _resultobj = Py_None; | |
3197 | return _resultobj; | |
3198 | } | |
3199 | ||
3200 | #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3201 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3202 | PyObject * _resultobj; | |
3203 | wxPyControlPoint * _arg0; | |
3204 | double _arg1; | |
3205 | double _arg2; | |
3206 | int _arg3 = (int ) 0; | |
3207 | int _arg4 = (int ) 0; | |
3208 | PyObject * _argo0 = 0; | |
3209 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3210 | ||
3211 | self = self; | |
3212 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3213 | return NULL; | |
3214 | if (_argo0) { | |
3215 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3216 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3217 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p."); | |
3218 | return NULL; | |
3219 | } | |
3220 | } | |
3221 | { | |
3222 | wxPy_BEGIN_ALLOW_THREADS; | |
3223 | wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3224 | ||
3225 | wxPy_END_ALLOW_THREADS; | |
3226 | } Py_INCREF(Py_None); | |
3227 | _resultobj = Py_None; | |
3228 | return _resultobj; | |
3229 | } | |
3230 | ||
3231 | #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3232 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3233 | PyObject * _resultobj; | |
3234 | wxPyControlPoint * _arg0; | |
3235 | double _arg1; | |
3236 | double _arg2; | |
3237 | int _arg3 = (int ) 0; | |
3238 | int _arg4 = (int ) 0; | |
3239 | PyObject * _argo0 = 0; | |
3240 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3241 | ||
3242 | self = self; | |
3243 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3244 | return NULL; | |
3245 | if (_argo0) { | |
3246 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3247 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3248 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p."); | |
3249 | return NULL; | |
3250 | } | |
3251 | } | |
3252 | { | |
3253 | wxPy_BEGIN_ALLOW_THREADS; | |
3254 | wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3255 | ||
3256 | wxPy_END_ALLOW_THREADS; | |
3257 | } Py_INCREF(Py_None); | |
3258 | _resultobj = Py_None; | |
3259 | return _resultobj; | |
3260 | } | |
3261 | ||
3262 | #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3263 | static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3264 | PyObject * _resultobj; | |
3265 | wxPyControlPoint * _arg0; | |
3266 | double _arg1; | |
3267 | double _arg2; | |
3268 | int _arg3 = (int ) 0; | |
3269 | int _arg4 = (int ) 0; | |
3270 | PyObject * _argo0 = 0; | |
3271 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3272 | ||
3273 | self = self; | |
3274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3275 | return NULL; | |
3276 | if (_argo0) { | |
3277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p."); | |
3280 | return NULL; | |
3281 | } | |
3282 | } | |
3283 | { | |
3284 | wxPy_BEGIN_ALLOW_THREADS; | |
3285 | wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3286 | ||
3287 | wxPy_END_ALLOW_THREADS; | |
3288 | } Py_INCREF(Py_None); | |
3289 | _resultobj = Py_None; | |
3290 | return _resultobj; | |
3291 | } | |
3292 | ||
3293 | #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
3294 | static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3295 | PyObject * _resultobj; | |
3296 | wxPyControlPoint * _arg0; | |
3297 | double _arg1; | |
3298 | double _arg2; | |
3299 | PyObject * _argo0 = 0; | |
3300 | char *_kwnames[] = { "self","x","y", NULL }; | |
3301 | ||
3302 | self = self; | |
3303 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3304 | return NULL; | |
3305 | if (_argo0) { | |
3306 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3307 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3308 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p."); | |
3309 | return NULL; | |
3310 | } | |
3311 | } | |
3312 | { | |
3313 | wxPy_BEGIN_ALLOW_THREADS; | |
3314 | wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2); | |
3315 | ||
3316 | wxPy_END_ALLOW_THREADS; | |
3317 | } Py_INCREF(Py_None); | |
3318 | _resultobj = Py_None; | |
3319 | return _resultobj; | |
3320 | } | |
3321 | ||
3322 | #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3323 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3324 | PyObject * _resultobj; | |
3325 | bool _result; | |
3326 | wxPyControlPoint * _arg0; | |
3327 | wxDC * _arg1; | |
3328 | double _arg2; | |
3329 | double _arg3; | |
3330 | double _arg4; | |
3331 | double _arg5; | |
3332 | bool _arg6 = (bool ) TRUE; | |
3333 | PyObject * _argo0 = 0; | |
3334 | PyObject * _argo1 = 0; | |
3335 | int tempbool6 = (int) TRUE; | |
3336 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3337 | ||
3338 | self = self; | |
3339 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3340 | return NULL; | |
3341 | if (_argo0) { | |
3342 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3343 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3344 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p."); | |
3345 | return NULL; | |
3346 | } | |
3347 | } | |
3348 | if (_argo1) { | |
3349 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3350 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3351 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p."); | |
3352 | return NULL; | |
3353 | } | |
3354 | } | |
3355 | _arg6 = (bool ) tempbool6; | |
3356 | { | |
3357 | wxPy_BEGIN_ALLOW_THREADS; | |
3358 | _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3359 | ||
3360 | wxPy_END_ALLOW_THREADS; | |
3361 | } _resultobj = Py_BuildValue("i",_result); | |
3362 | return _resultobj; | |
3363 | } | |
3364 | ||
3365 | #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3366 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3367 | PyObject * _resultobj; | |
3368 | wxPyControlPoint * _arg0; | |
3369 | wxDC * _arg1; | |
3370 | double _arg2; | |
3371 | double _arg3; | |
3372 | double _arg4; | |
3373 | double _arg5; | |
3374 | bool _arg6 = (bool ) TRUE; | |
3375 | PyObject * _argo0 = 0; | |
3376 | PyObject * _argo1 = 0; | |
3377 | int tempbool6 = (int) TRUE; | |
3378 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3379 | ||
3380 | self = self; | |
3381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3382 | return NULL; | |
3383 | if (_argo0) { | |
3384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p."); | |
3387 | return NULL; | |
3388 | } | |
3389 | } | |
3390 | if (_argo1) { | |
3391 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3392 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3393 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p."); | |
3394 | return NULL; | |
3395 | } | |
3396 | } | |
3397 | _arg6 = (bool ) tempbool6; | |
3398 | { | |
3399 | wxPy_BEGIN_ALLOW_THREADS; | |
3400 | wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3401 | ||
3402 | wxPy_END_ALLOW_THREADS; | |
3403 | } Py_INCREF(Py_None); | |
3404 | _resultobj = Py_None; | |
3405 | return _resultobj; | |
3406 | } | |
3407 | ||
3408 | #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3409 | static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3410 | PyObject * _resultobj; | |
3411 | wxPyControlPoint * _arg0; | |
3412 | bool _arg1; | |
3413 | double _arg2; | |
3414 | double _arg3; | |
3415 | int _arg4 = (int ) 0; | |
3416 | int _arg5 = (int ) 0; | |
3417 | PyObject * _argo0 = 0; | |
3418 | int tempbool1; | |
3419 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3420 | ||
3421 | self = self; | |
3422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3423 | return NULL; | |
3424 | if (_argo0) { | |
3425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p."); | |
3428 | return NULL; | |
3429 | } | |
3430 | } | |
3431 | _arg1 = (bool ) tempbool1; | |
3432 | { | |
3433 | wxPy_BEGIN_ALLOW_THREADS; | |
3434 | wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3435 | ||
3436 | wxPy_END_ALLOW_THREADS; | |
3437 | } Py_INCREF(Py_None); | |
3438 | _resultobj = Py_None; | |
3439 | return _resultobj; | |
3440 | } | |
3441 | ||
3442 | #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3443 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3444 | PyObject * _resultobj; | |
3445 | wxPyControlPoint * _arg0; | |
3446 | double _arg1; | |
3447 | double _arg2; | |
3448 | int _arg3 = (int ) 0; | |
3449 | int _arg4 = (int ) 0; | |
3450 | PyObject * _argo0 = 0; | |
3451 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3452 | ||
3453 | self = self; | |
3454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3455 | return NULL; | |
3456 | if (_argo0) { | |
3457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3460 | return NULL; | |
3461 | } | |
3462 | } | |
3463 | { | |
3464 | wxPy_BEGIN_ALLOW_THREADS; | |
3465 | wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3466 | ||
3467 | wxPy_END_ALLOW_THREADS; | |
3468 | } Py_INCREF(Py_None); | |
3469 | _resultobj = Py_None; | |
3470 | return _resultobj; | |
3471 | } | |
3472 | ||
3473 | #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3474 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3475 | PyObject * _resultobj; | |
3476 | wxPyControlPoint * _arg0; | |
3477 | double _arg1; | |
3478 | double _arg2; | |
3479 | int _arg3 = (int ) 0; | |
3480 | int _arg4 = (int ) 0; | |
3481 | PyObject * _argo0 = 0; | |
3482 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3483 | ||
3484 | self = self; | |
3485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3486 | return NULL; | |
3487 | if (_argo0) { | |
3488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p."); | |
3491 | return NULL; | |
3492 | } | |
3493 | } | |
3494 | { | |
3495 | wxPy_BEGIN_ALLOW_THREADS; | |
3496 | wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3497 | ||
3498 | wxPy_END_ALLOW_THREADS; | |
3499 | } Py_INCREF(Py_None); | |
3500 | _resultobj = Py_None; | |
3501 | return _resultobj; | |
3502 | } | |
3503 | ||
3504 | #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3505 | static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3506 | PyObject * _resultobj; | |
3507 | wxPyControlPoint * _arg0; | |
3508 | bool _arg1; | |
3509 | double _arg2; | |
3510 | double _arg3; | |
3511 | int _arg4 = (int ) 0; | |
3512 | int _arg5 = (int ) 0; | |
3513 | PyObject * _argo0 = 0; | |
3514 | int tempbool1; | |
3515 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3516 | ||
3517 | self = self; | |
3518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3519 | return NULL; | |
3520 | if (_argo0) { | |
3521 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3522 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p."); | |
3524 | return NULL; | |
3525 | } | |
3526 | } | |
3527 | _arg1 = (bool ) tempbool1; | |
3528 | { | |
3529 | wxPy_BEGIN_ALLOW_THREADS; | |
3530 | wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3531 | ||
3532 | wxPy_END_ALLOW_THREADS; | |
3533 | } Py_INCREF(Py_None); | |
3534 | _resultobj = Py_None; | |
3535 | return _resultobj; | |
3536 | } | |
3537 | ||
3538 | #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3539 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3540 | PyObject * _resultobj; | |
3541 | wxPyControlPoint * _arg0; | |
3542 | double _arg1; | |
3543 | double _arg2; | |
3544 | int _arg3 = (int ) 0; | |
3545 | int _arg4 = (int ) 0; | |
3546 | PyObject * _argo0 = 0; | |
3547 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3548 | ||
3549 | self = self; | |
3550 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3551 | return NULL; | |
3552 | if (_argo0) { | |
3553 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3554 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3555 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p."); | |
3556 | return NULL; | |
3557 | } | |
3558 | } | |
3559 | { | |
3560 | wxPy_BEGIN_ALLOW_THREADS; | |
3561 | wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3562 | ||
3563 | wxPy_END_ALLOW_THREADS; | |
3564 | } Py_INCREF(Py_None); | |
3565 | _resultobj = Py_None; | |
3566 | return _resultobj; | |
3567 | } | |
3568 | ||
3569 | #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3570 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3571 | PyObject * _resultobj; | |
3572 | wxPyControlPoint * _arg0; | |
3573 | double _arg1; | |
3574 | double _arg2; | |
3575 | int _arg3 = (int ) 0; | |
3576 | int _arg4 = (int ) 0; | |
3577 | PyObject * _argo0 = 0; | |
3578 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3579 | ||
3580 | self = self; | |
3581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3582 | return NULL; | |
3583 | if (_argo0) { | |
3584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p."); | |
3587 | return NULL; | |
3588 | } | |
3589 | } | |
3590 | { | |
3591 | wxPy_BEGIN_ALLOW_THREADS; | |
3592 | wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
3593 | ||
3594 | wxPy_END_ALLOW_THREADS; | |
3595 | } Py_INCREF(Py_None); | |
3596 | _resultobj = Py_None; | |
3597 | return _resultobj; | |
3598 | } | |
3599 | ||
3600 | #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3601 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3602 | PyObject * _resultobj; | |
3603 | wxPyControlPoint * _arg0; | |
3604 | wxDC * _arg1; | |
3605 | double _arg2; | |
3606 | double _arg3; | |
3607 | double _arg4; | |
3608 | double _arg5; | |
3609 | PyObject * _argo0 = 0; | |
3610 | PyObject * _argo1 = 0; | |
3611 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
3612 | ||
3613 | self = self; | |
3614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3615 | return NULL; | |
3616 | if (_argo0) { | |
3617 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3618 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3619 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p."); | |
3620 | return NULL; | |
3621 | } | |
3622 | } | |
3623 | if (_argo1) { | |
3624 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3625 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p."); | |
3627 | return NULL; | |
3628 | } | |
3629 | } | |
3630 | { | |
3631 | wxPy_BEGIN_ALLOW_THREADS; | |
3632 | wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
3633 | ||
3634 | wxPy_END_ALLOW_THREADS; | |
3635 | } Py_INCREF(Py_None); | |
3636 | _resultobj = Py_None; | |
3637 | return _resultobj; | |
3638 | } | |
3639 | ||
3640 | #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
3641 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3642 | PyObject * _resultobj; | |
3643 | wxPyControlPoint * _arg0; | |
3644 | wxDC * _arg1; | |
3645 | PyObject * _argo0 = 0; | |
3646 | PyObject * _argo1 = 0; | |
3647 | char *_kwnames[] = { "self","dc", NULL }; | |
3648 | ||
3649 | self = self; | |
3650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
3651 | return NULL; | |
3652 | if (_argo0) { | |
3653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p."); | |
3656 | return NULL; | |
3657 | } | |
3658 | } | |
3659 | if (_argo1) { | |
3660 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3661 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p."); | |
3663 | return NULL; | |
3664 | } | |
3665 | } | |
3666 | { | |
3667 | wxPy_BEGIN_ALLOW_THREADS; | |
3668 | wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1); | |
3669 | ||
3670 | wxPy_END_ALLOW_THREADS; | |
3671 | } Py_INCREF(Py_None); | |
3672 | _resultobj = Py_None; | |
3673 | return _resultobj; | |
3674 | } | |
3675 | ||
3676 | #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
3677 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3678 | PyObject * _resultobj; | |
3679 | wxPyControlPoint * _arg0; | |
3680 | wxDC * _arg1; | |
3681 | PyObject * _argo0 = 0; | |
3682 | PyObject * _argo1 = 0; | |
3683 | char *_kwnames[] = { "self","dc", NULL }; | |
3684 | ||
3685 | self = self; | |
3686 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
3687 | return NULL; | |
3688 | if (_argo0) { | |
3689 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3690 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3691 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p."); | |
3692 | return NULL; | |
3693 | } | |
3694 | } | |
3695 | if (_argo1) { | |
3696 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3697 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p."); | |
3699 | return NULL; | |
3700 | } | |
3701 | } | |
3702 | { | |
3703 | wxPy_BEGIN_ALLOW_THREADS; | |
3704 | wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1); | |
3705 | ||
3706 | wxPy_END_ALLOW_THREADS; | |
3707 | } Py_INCREF(Py_None); | |
3708 | _resultobj = Py_None; | |
3709 | return _resultobj; | |
3710 | } | |
3711 | ||
3712 | #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
3713 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3714 | PyObject * _resultobj; | |
3715 | wxPyControlPoint * _arg0; | |
3716 | wxDC * _arg1; | |
3717 | bool _arg2 = (bool ) TRUE; | |
3718 | PyObject * _argo0 = 0; | |
3719 | PyObject * _argo1 = 0; | |
3720 | int tempbool2 = (int) TRUE; | |
3721 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
3722 | ||
3723 | self = self; | |
3724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
3725 | return NULL; | |
3726 | if (_argo0) { | |
3727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p."); | |
3730 | return NULL; | |
3731 | } | |
3732 | } | |
3733 | if (_argo1) { | |
3734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p."); | |
3737 | return NULL; | |
3738 | } | |
3739 | } | |
3740 | _arg2 = (bool ) tempbool2; | |
3741 | { | |
3742 | wxPy_BEGIN_ALLOW_THREADS; | |
3743 | wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
3744 | ||
3745 | wxPy_END_ALLOW_THREADS; | |
3746 | } Py_INCREF(Py_None); | |
3747 | _resultobj = Py_None; | |
3748 | return _resultobj; | |
3749 | } | |
3750 | ||
3751 | #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3752 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3753 | PyObject * _resultobj; | |
3754 | wxPyControlPoint * _arg0; | |
3755 | wxPyControlPoint * _arg1; | |
3756 | bool _arg2; | |
3757 | double _arg3; | |
3758 | double _arg4; | |
3759 | int _arg5 = (int ) 0; | |
3760 | int _arg6 = (int ) 0; | |
3761 | PyObject * _argo0 = 0; | |
3762 | PyObject * _argo1 = 0; | |
3763 | int tempbool2; | |
3764 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
3765 | ||
3766 | self = self; | |
3767 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
3768 | return NULL; | |
3769 | if (_argo0) { | |
3770 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3771 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3772 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3773 | return NULL; | |
3774 | } | |
3775 | } | |
3776 | if (_argo1) { | |
3777 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3778 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3779 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3780 | return NULL; | |
3781 | } | |
3782 | } | |
3783 | _arg2 = (bool ) tempbool2; | |
3784 | { | |
3785 | wxPy_BEGIN_ALLOW_THREADS; | |
3786 | wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
3787 | ||
3788 | wxPy_END_ALLOW_THREADS; | |
3789 | } Py_INCREF(Py_None); | |
3790 | _resultobj = Py_None; | |
3791 | return _resultobj; | |
3792 | } | |
3793 | ||
3794 | #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3795 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3796 | PyObject * _resultobj; | |
3797 | wxPyControlPoint * _arg0; | |
3798 | wxPyControlPoint * _arg1; | |
3799 | double _arg2; | |
3800 | double _arg3; | |
3801 | int _arg4 = (int ) 0; | |
3802 | int _arg5 = (int ) 0; | |
3803 | PyObject * _argo0 = 0; | |
3804 | PyObject * _argo1 = 0; | |
3805 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3806 | ||
3807 | self = self; | |
3808 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3809 | return NULL; | |
3810 | if (_argo0) { | |
3811 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3812 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3813 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3814 | return NULL; | |
3815 | } | |
3816 | } | |
3817 | if (_argo1) { | |
3818 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3819 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3821 | return NULL; | |
3822 | } | |
3823 | } | |
3824 | { | |
3825 | wxPy_BEGIN_ALLOW_THREADS; | |
3826 | wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3827 | ||
3828 | wxPy_END_ALLOW_THREADS; | |
3829 | } Py_INCREF(Py_None); | |
3830 | _resultobj = Py_None; | |
3831 | return _resultobj; | |
3832 | } | |
3833 | ||
3834 | #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3835 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3836 | PyObject * _resultobj; | |
3837 | wxPyControlPoint * _arg0; | |
3838 | wxPyControlPoint * _arg1; | |
3839 | double _arg2; | |
3840 | double _arg3; | |
3841 | int _arg4 = (int ) 0; | |
3842 | int _arg5 = (int ) 0; | |
3843 | PyObject * _argo0 = 0; | |
3844 | PyObject * _argo1 = 0; | |
3845 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3846 | ||
3847 | self = self; | |
3848 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3849 | return NULL; | |
3850 | if (_argo0) { | |
3851 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3852 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3853 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3854 | return NULL; | |
3855 | } | |
3856 | } | |
3857 | if (_argo1) { | |
3858 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3859 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3861 | return NULL; | |
3862 | } | |
3863 | } | |
3864 | { | |
3865 | wxPy_BEGIN_ALLOW_THREADS; | |
3866 | wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
3867 | ||
3868 | wxPy_END_ALLOW_THREADS; | |
3869 | } Py_INCREF(Py_None); | |
3870 | _resultobj = Py_None; | |
3871 | return _resultobj; | |
3872 | } | |
3873 | ||
3874 | #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
3875 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3876 | PyObject * _resultobj; | |
3877 | wxPyControlPoint * _arg0; | |
3878 | double _arg1; | |
3879 | double _arg2; | |
3880 | PyObject * _argo0 = 0; | |
3881 | char *_kwnames[] = { "self","w","h", NULL }; | |
3882 | ||
3883 | self = self; | |
3884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3885 | return NULL; | |
3886 | if (_argo0) { | |
3887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p."); | |
3890 | return NULL; | |
3891 | } | |
3892 | } | |
3893 | { | |
3894 | wxPy_BEGIN_ALLOW_THREADS; | |
3895 | wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2); | |
3896 | ||
3897 | wxPy_END_ALLOW_THREADS; | |
3898 | } Py_INCREF(Py_None); | |
3899 | _resultobj = Py_None; | |
3900 | return _resultobj; | |
3901 | } | |
3902 | ||
3903 | #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
3904 | static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3905 | PyObject * _resultobj; | |
3906 | wxPyControlPoint * _arg0; | |
3907 | double _arg1; | |
3908 | double _arg2; | |
3909 | PyObject * _argo0 = 0; | |
3910 | char *_kwnames[] = { "self","w","h", NULL }; | |
3911 | ||
3912 | self = self; | |
3913 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3914 | return NULL; | |
3915 | if (_argo0) { | |
3916 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3917 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3918 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p."); | |
3919 | return NULL; | |
3920 | } | |
3921 | } | |
3922 | { | |
3923 | wxPy_BEGIN_ALLOW_THREADS; | |
3924 | wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2); | |
3925 | ||
3926 | wxPy_END_ALLOW_THREADS; | |
3927 | } Py_INCREF(Py_None); | |
3928 | _resultobj = Py_None; | |
3929 | return _resultobj; | |
3930 | } | |
3931 | ||
3932 | static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) { | |
3933 | wxPyBitmapShape *src; | |
3934 | wxPyRectangleShape *dest; | |
3935 | src = (wxPyBitmapShape *) ptr; | |
3936 | dest = (wxPyRectangleShape *) src; | |
3937 | return (void *) dest; | |
3938 | } | |
3939 | ||
3940 | static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) { | |
3941 | wxPyBitmapShape *src; | |
3942 | wxPyShape *dest; | |
3943 | src = (wxPyBitmapShape *) ptr; | |
3944 | dest = (wxPyShape *) src; | |
3945 | return (void *) dest; | |
3946 | } | |
3947 | ||
3948 | static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) { | |
3949 | wxPyBitmapShape *src; | |
3950 | wxPyShapeEvtHandler *dest; | |
3951 | src = (wxPyBitmapShape *) ptr; | |
3952 | dest = (wxPyShapeEvtHandler *) src; | |
3953 | return (void *) dest; | |
3954 | } | |
3955 | ||
3956 | #define new_wxPyBitmapShape() (new wxPyBitmapShape()) | |
3957 | static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3958 | PyObject * _resultobj; | |
3959 | wxPyBitmapShape * _result; | |
3960 | char *_kwnames[] = { NULL }; | |
3961 | char _ptemp[128]; | |
3962 | ||
3963 | self = self; | |
3964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames)) | |
3965 | return NULL; | |
3966 | { | |
3967 | wxPy_BEGIN_ALLOW_THREADS; | |
3968 | _result = (wxPyBitmapShape *)new_wxPyBitmapShape(); | |
3969 | ||
3970 | wxPy_END_ALLOW_THREADS; | |
3971 | } if (_result) { | |
3972 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p"); | |
3973 | _resultobj = Py_BuildValue("s",_ptemp); | |
3974 | } else { | |
3975 | Py_INCREF(Py_None); | |
3976 | _resultobj = Py_None; | |
3977 | } | |
3978 | return _resultobj; | |
3979 | } | |
3980 | ||
f6bcfd97 | 3981 | #define wxPyBitmapShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
2348eaee RD |
3982 | static PyObject *_wrap_wxPyBitmapShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
3983 | PyObject * _resultobj; | |
3984 | wxPyBitmapShape * _arg0; | |
3985 | PyObject * _arg1; | |
f6bcfd97 | 3986 | PyObject * _arg2; |
2348eaee RD |
3987 | PyObject * _argo0 = 0; |
3988 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
3989 | PyObject * _obj2 = 0; |
3990 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2348eaee RD |
3991 | |
3992 | self = self; | |
f6bcfd97 | 3993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
2348eaee RD |
3994 | return NULL; |
3995 | if (_argo0) { | |
3996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
3998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setSelf. Expected _wxPyBitmapShape_p."); | |
3999 | return NULL; | |
4000 | } | |
4001 | } | |
4002 | { | |
4003 | _arg1 = _obj1; | |
4004 | } | |
f6bcfd97 BP |
4005 | { |
4006 | _arg2 = _obj2; | |
4007 | } | |
2348eaee RD |
4008 | { |
4009 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 4010 | wxPyBitmapShape__setSelf(_arg0,_arg1,_arg2); |
2348eaee RD |
4011 | |
4012 | wxPy_END_ALLOW_THREADS; | |
4013 | } Py_INCREF(Py_None); | |
4014 | _resultobj = Py_None; | |
4015 | return _resultobj; | |
4016 | } | |
4017 | ||
4018 | #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
4019 | static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4020 | PyObject * _resultobj; | |
4021 | wxBitmap * _result; | |
4022 | wxPyBitmapShape * _arg0; | |
4023 | PyObject * _argo0 = 0; | |
4024 | char *_kwnames[] = { "self", NULL }; | |
4025 | char _ptemp[128]; | |
4026 | ||
4027 | self = self; | |
4028 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0)) | |
4029 | return NULL; | |
4030 | if (_argo0) { | |
4031 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4032 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p."); | |
4034 | return NULL; | |
4035 | } | |
4036 | } | |
4037 | { | |
4038 | wxPy_BEGIN_ALLOW_THREADS; | |
4039 | wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0); | |
4040 | _result = (wxBitmap *) &_result_ref; | |
4041 | ||
4042 | wxPy_END_ALLOW_THREADS; | |
4043 | } if (_result) { | |
4044 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
4045 | _resultobj = Py_BuildValue("s",_ptemp); | |
4046 | } else { | |
4047 | Py_INCREF(Py_None); | |
4048 | _resultobj = Py_None; | |
4049 | } | |
4050 | return _resultobj; | |
4051 | } | |
4052 | ||
4053 | #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
4054 | static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4055 | PyObject * _resultobj; | |
4056 | wxString * _result; | |
4057 | wxPyBitmapShape * _arg0; | |
4058 | PyObject * _argo0 = 0; | |
4059 | char *_kwnames[] = { "self", NULL }; | |
4060 | ||
4061 | self = self; | |
4062 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0)) | |
4063 | return NULL; | |
4064 | if (_argo0) { | |
4065 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4066 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4067 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p."); | |
4068 | return NULL; | |
4069 | } | |
4070 | } | |
4071 | { | |
4072 | wxPy_BEGIN_ALLOW_THREADS; | |
4073 | _result = new wxString (wxPyBitmapShape_GetFilename(_arg0)); | |
4074 | ||
4075 | wxPy_END_ALLOW_THREADS; | |
4076 | }{ | |
eec92d76 | 4077 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
2348eaee RD |
4078 | } |
4079 | { | |
4080 | delete _result; | |
4081 | } | |
4082 | return _resultobj; | |
4083 | } | |
4084 | ||
4085 | #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
4086 | static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4087 | PyObject * _resultobj; | |
4088 | wxPyBitmapShape * _arg0; | |
4089 | wxBitmap * _arg1; | |
4090 | PyObject * _argo0 = 0; | |
4091 | PyObject * _argo1 = 0; | |
4092 | char *_kwnames[] = { "self","bitmap", NULL }; | |
4093 | ||
4094 | self = self; | |
4095 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1)) | |
4096 | return NULL; | |
4097 | if (_argo0) { | |
4098 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4099 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4100 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p."); | |
4101 | return NULL; | |
4102 | } | |
4103 | } | |
4104 | if (_argo1) { | |
4105 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4106 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
4107 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p."); | |
4108 | return NULL; | |
4109 | } | |
4110 | } | |
4111 | { | |
4112 | wxPy_BEGIN_ALLOW_THREADS; | |
4113 | wxPyBitmapShape_SetBitmap(_arg0,*_arg1); | |
4114 | ||
4115 | wxPy_END_ALLOW_THREADS; | |
4116 | } Py_INCREF(Py_None); | |
4117 | _resultobj = Py_None; | |
4118 | return _resultobj; | |
4119 | } | |
4120 | ||
4121 | #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
4122 | static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4123 | PyObject * _resultobj; | |
4124 | wxPyBitmapShape * _arg0; | |
4125 | wxString * _arg1; | |
4126 | PyObject * _argo0 = 0; | |
4127 | PyObject * _obj1 = 0; | |
4128 | char *_kwnames[] = { "self","filename", NULL }; | |
4129 | ||
4130 | self = self; | |
4131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1)) | |
4132 | return NULL; | |
4133 | if (_argo0) { | |
4134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p."); | |
4137 | return NULL; | |
4138 | } | |
4139 | } | |
4140 | { | |
4141 | if (!PyString_Check(_obj1)) { | |
4142 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
4143 | return NULL; | |
4144 | } | |
4145 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
4146 | } | |
4147 | { | |
4148 | wxPy_BEGIN_ALLOW_THREADS; | |
4149 | wxPyBitmapShape_SetFilename(_arg0,*_arg1); | |
4150 | ||
4151 | wxPy_END_ALLOW_THREADS; | |
4152 | } Py_INCREF(Py_None); | |
4153 | _resultobj = Py_None; | |
4154 | { | |
4155 | if (_obj1) | |
4156 | delete _arg1; | |
4157 | } | |
4158 | return _resultobj; | |
4159 | } | |
4160 | ||
4161 | #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
4162 | static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4163 | PyObject * _resultobj; | |
4164 | wxPyBitmapShape * _arg0; | |
4165 | PyObject * _argo0 = 0; | |
4166 | char *_kwnames[] = { "self", NULL }; | |
4167 | ||
4168 | self = self; | |
4169 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0)) | |
4170 | return NULL; | |
4171 | if (_argo0) { | |
4172 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4173 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4174 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p."); | |
4175 | return NULL; | |
4176 | } | |
4177 | } | |
4178 | { | |
4179 | wxPy_BEGIN_ALLOW_THREADS; | |
4180 | wxPyBitmapShape_base_OnDelete(_arg0); | |
4181 | ||
4182 | wxPy_END_ALLOW_THREADS; | |
4183 | } Py_INCREF(Py_None); | |
4184 | _resultobj = Py_None; | |
4185 | return _resultobj; | |
4186 | } | |
4187 | ||
4188 | #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4189 | static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4190 | PyObject * _resultobj; | |
4191 | wxPyBitmapShape * _arg0; | |
4192 | wxDC * _arg1; | |
4193 | PyObject * _argo0 = 0; | |
4194 | PyObject * _argo1 = 0; | |
4195 | char *_kwnames[] = { "self","dc", NULL }; | |
4196 | ||
4197 | self = self; | |
4198 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4199 | return NULL; | |
4200 | if (_argo0) { | |
4201 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4202 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4203 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p."); | |
4204 | return NULL; | |
4205 | } | |
4206 | } | |
4207 | if (_argo1) { | |
4208 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4209 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4210 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p."); | |
4211 | return NULL; | |
4212 | } | |
4213 | } | |
4214 | { | |
4215 | wxPy_BEGIN_ALLOW_THREADS; | |
4216 | wxPyBitmapShape_base_OnDraw(_arg0,*_arg1); | |
4217 | ||
4218 | wxPy_END_ALLOW_THREADS; | |
4219 | } Py_INCREF(Py_None); | |
4220 | _resultobj = Py_None; | |
4221 | return _resultobj; | |
4222 | } | |
4223 | ||
4224 | #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4225 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4226 | PyObject * _resultobj; | |
4227 | wxPyBitmapShape * _arg0; | |
4228 | wxDC * _arg1; | |
4229 | PyObject * _argo0 = 0; | |
4230 | PyObject * _argo1 = 0; | |
4231 | char *_kwnames[] = { "self","dc", NULL }; | |
4232 | ||
4233 | self = self; | |
4234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4235 | return NULL; | |
4236 | if (_argo0) { | |
4237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p."); | |
4240 | return NULL; | |
4241 | } | |
4242 | } | |
4243 | if (_argo1) { | |
4244 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4245 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p."); | |
4247 | return NULL; | |
4248 | } | |
4249 | } | |
4250 | { | |
4251 | wxPy_BEGIN_ALLOW_THREADS; | |
4252 | wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1); | |
4253 | ||
4254 | wxPy_END_ALLOW_THREADS; | |
4255 | } Py_INCREF(Py_None); | |
4256 | _resultobj = Py_None; | |
4257 | return _resultobj; | |
4258 | } | |
4259 | ||
4260 | #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4261 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4262 | PyObject * _resultobj; | |
4263 | wxPyBitmapShape * _arg0; | |
4264 | wxDC * _arg1; | |
4265 | bool _arg2 = (bool ) FALSE; | |
4266 | PyObject * _argo0 = 0; | |
4267 | PyObject * _argo1 = 0; | |
4268 | int tempbool2 = (int) FALSE; | |
4269 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
4270 | |
4271 | self = self; | |
4272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4273 | return NULL; | |
4274 | if (_argo0) { | |
4275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p."); | |
4278 | return NULL; | |
4279 | } | |
4280 | } | |
4281 | if (_argo1) { | |
4282 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4283 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4284 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4285 | return NULL; | |
4286 | } | |
4287 | } | |
4288 | _arg2 = (bool ) tempbool2; | |
4289 | { | |
4290 | wxPy_BEGIN_ALLOW_THREADS; | |
4291 | wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
4292 | ||
4293 | wxPy_END_ALLOW_THREADS; | |
4294 | } Py_INCREF(Py_None); | |
4295 | _resultobj = Py_None; | |
4296 | return _resultobj; | |
4297 | } | |
4298 | ||
4299 | #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4300 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4301 | PyObject * _resultobj; | |
4302 | wxPyBitmapShape * _arg0; | |
4303 | wxDC * _arg1; | |
4304 | PyObject * _argo0 = 0; | |
4305 | PyObject * _argo1 = 0; | |
4306 | char *_kwnames[] = { "self","dc", NULL }; | |
4307 | ||
4308 | self = self; | |
4309 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4310 | return NULL; | |
4311 | if (_argo0) { | |
4312 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4313 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4314 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p."); | |
4315 | return NULL; | |
4316 | } | |
4317 | } | |
4318 | if (_argo1) { | |
4319 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4320 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4321 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4322 | return NULL; | |
4323 | } | |
4324 | } | |
4325 | { | |
4326 | wxPy_BEGIN_ALLOW_THREADS; | |
4327 | wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1); | |
4328 | ||
4329 | wxPy_END_ALLOW_THREADS; | |
4330 | } Py_INCREF(Py_None); | |
4331 | _resultobj = Py_None; | |
4332 | return _resultobj; | |
4333 | } | |
4334 | ||
4335 | #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4336 | static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4337 | PyObject * _resultobj; | |
4338 | wxPyBitmapShape * _arg0; | |
4339 | wxDC * _arg1; | |
4340 | PyObject * _argo0 = 0; | |
4341 | PyObject * _argo1 = 0; | |
4342 | char *_kwnames[] = { "self","dc", NULL }; | |
4343 | ||
4344 | self = self; | |
4345 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4346 | return NULL; | |
4347 | if (_argo0) { | |
4348 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4349 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4350 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p."); | |
4351 | return NULL; | |
4352 | } | |
4353 | } | |
4354 | if (_argo1) { | |
4355 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4356 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4357 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p."); | |
4358 | return NULL; | |
4359 | } | |
4360 | } | |
4361 | { | |
4362 | wxPy_BEGIN_ALLOW_THREADS; | |
4363 | wxPyBitmapShape_base_OnErase(_arg0,*_arg1); | |
4364 | ||
4365 | wxPy_END_ALLOW_THREADS; | |
4366 | } Py_INCREF(Py_None); | |
4367 | _resultobj = Py_None; | |
4368 | return _resultobj; | |
4369 | } | |
4370 | ||
4371 | #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4372 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4373 | PyObject * _resultobj; | |
4374 | wxPyBitmapShape * _arg0; | |
4375 | wxDC * _arg1; | |
4376 | PyObject * _argo0 = 0; | |
4377 | PyObject * _argo1 = 0; | |
4378 | char *_kwnames[] = { "self","dc", NULL }; | |
4379 | ||
4380 | self = self; | |
4381 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4382 | return NULL; | |
4383 | if (_argo0) { | |
4384 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4385 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4386 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p."); | |
4387 | return NULL; | |
4388 | } | |
4389 | } | |
4390 | if (_argo1) { | |
4391 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4392 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4393 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p."); | |
4394 | return NULL; | |
4395 | } | |
4396 | } | |
4397 | { | |
4398 | wxPy_BEGIN_ALLOW_THREADS; | |
4399 | wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1); | |
4400 | ||
4401 | wxPy_END_ALLOW_THREADS; | |
4402 | } Py_INCREF(Py_None); | |
4403 | _resultobj = Py_None; | |
4404 | return _resultobj; | |
4405 | } | |
4406 | ||
4407 | #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4408 | static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4409 | PyObject * _resultobj; | |
4410 | wxPyBitmapShape * _arg0; | |
4411 | wxDC * _arg1; | |
4412 | PyObject * _argo0 = 0; | |
4413 | PyObject * _argo1 = 0; | |
4414 | char *_kwnames[] = { "self","dc", NULL }; | |
4415 | ||
4416 | self = self; | |
4417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
4418 | return NULL; | |
4419 | if (_argo0) { | |
4420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p."); | |
4423 | return NULL; | |
4424 | } | |
4425 | } | |
4426 | if (_argo1) { | |
4427 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4428 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p."); | |
4430 | return NULL; | |
4431 | } | |
4432 | } | |
4433 | { | |
4434 | wxPy_BEGIN_ALLOW_THREADS; | |
4435 | wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1); | |
4436 | ||
4437 | wxPy_END_ALLOW_THREADS; | |
4438 | } Py_INCREF(Py_None); | |
4439 | _resultobj = Py_None; | |
4440 | return _resultobj; | |
4441 | } | |
4442 | ||
4443 | #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4444 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4445 | PyObject * _resultobj; | |
4446 | wxPyBitmapShape * _arg0; | |
4447 | double _arg1; | |
4448 | double _arg2; | |
4449 | int _arg3 = (int ) 0; | |
4450 | int _arg4 = (int ) 0; | |
4451 | PyObject * _argo0 = 0; | |
4452 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4453 | ||
4454 | self = self; | |
4455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4456 | return NULL; | |
4457 | if (_argo0) { | |
4458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p."); | |
4461 | return NULL; | |
4462 | } | |
4463 | } | |
4464 | { | |
4465 | wxPy_BEGIN_ALLOW_THREADS; | |
4466 | wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4467 | ||
4468 | wxPy_END_ALLOW_THREADS; | |
4469 | } Py_INCREF(Py_None); | |
4470 | _resultobj = Py_None; | |
4471 | return _resultobj; | |
4472 | } | |
4473 | ||
4474 | #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4475 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4476 | PyObject * _resultobj; | |
4477 | wxPyBitmapShape * _arg0; | |
4478 | double _arg1; | |
4479 | double _arg2; | |
4480 | int _arg3 = (int ) 0; | |
4481 | int _arg4 = (int ) 0; | |
4482 | PyObject * _argo0 = 0; | |
4483 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4484 | ||
4485 | self = self; | |
4486 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4487 | return NULL; | |
4488 | if (_argo0) { | |
4489 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4490 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4491 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p."); | |
4492 | return NULL; | |
4493 | } | |
4494 | } | |
4495 | { | |
4496 | wxPy_BEGIN_ALLOW_THREADS; | |
4497 | wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4498 | ||
4499 | wxPy_END_ALLOW_THREADS; | |
4500 | } Py_INCREF(Py_None); | |
4501 | _resultobj = Py_None; | |
4502 | return _resultobj; | |
4503 | } | |
4504 | ||
4505 | #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4506 | static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4507 | PyObject * _resultobj; | |
4508 | wxPyBitmapShape * _arg0; | |
4509 | double _arg1; | |
4510 | double _arg2; | |
4511 | int _arg3 = (int ) 0; | |
4512 | int _arg4 = (int ) 0; | |
4513 | PyObject * _argo0 = 0; | |
4514 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4515 | ||
4516 | self = self; | |
4517 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4518 | return NULL; | |
4519 | if (_argo0) { | |
4520 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4521 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4522 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p."); | |
4523 | return NULL; | |
4524 | } | |
4525 | } | |
4526 | { | |
4527 | wxPy_BEGIN_ALLOW_THREADS; | |
4528 | wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4529 | ||
4530 | wxPy_END_ALLOW_THREADS; | |
4531 | } Py_INCREF(Py_None); | |
4532 | _resultobj = Py_None; | |
4533 | return _resultobj; | |
4534 | } | |
4535 | ||
4536 | #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4537 | static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4538 | PyObject * _resultobj; | |
4539 | wxPyBitmapShape * _arg0; | |
4540 | double _arg1; | |
4541 | double _arg2; | |
4542 | PyObject * _argo0 = 0; | |
4543 | char *_kwnames[] = { "self","x","y", NULL }; | |
4544 | ||
4545 | self = self; | |
4546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4547 | return NULL; | |
4548 | if (_argo0) { | |
4549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p."); | |
4552 | return NULL; | |
4553 | } | |
4554 | } | |
4555 | { | |
4556 | wxPy_BEGIN_ALLOW_THREADS; | |
4557 | wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2); | |
4558 | ||
4559 | wxPy_END_ALLOW_THREADS; | |
4560 | } Py_INCREF(Py_None); | |
4561 | _resultobj = Py_None; | |
4562 | return _resultobj; | |
4563 | } | |
4564 | ||
4565 | #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4566 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4567 | PyObject * _resultobj; | |
4568 | bool _result; | |
4569 | wxPyBitmapShape * _arg0; | |
4570 | wxDC * _arg1; | |
4571 | double _arg2; | |
4572 | double _arg3; | |
4573 | double _arg4; | |
4574 | double _arg5; | |
4575 | bool _arg6 = (bool ) TRUE; | |
4576 | PyObject * _argo0 = 0; | |
4577 | PyObject * _argo1 = 0; | |
4578 | int tempbool6 = (int) TRUE; | |
4579 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4580 | ||
4581 | self = self; | |
4582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4583 | return NULL; | |
4584 | if (_argo0) { | |
4585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p."); | |
4588 | return NULL; | |
4589 | } | |
4590 | } | |
4591 | if (_argo1) { | |
4592 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4593 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4594 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p."); | |
4595 | return NULL; | |
4596 | } | |
4597 | } | |
4598 | _arg6 = (bool ) tempbool6; | |
4599 | { | |
4600 | wxPy_BEGIN_ALLOW_THREADS; | |
4601 | _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4602 | ||
4603 | wxPy_END_ALLOW_THREADS; | |
4604 | } _resultobj = Py_BuildValue("i",_result); | |
4605 | return _resultobj; | |
4606 | } | |
4607 | ||
4608 | #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4609 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4610 | PyObject * _resultobj; | |
4611 | wxPyBitmapShape * _arg0; | |
4612 | wxDC * _arg1; | |
4613 | double _arg2; | |
4614 | double _arg3; | |
4615 | double _arg4; | |
4616 | double _arg5; | |
4617 | bool _arg6 = (bool ) TRUE; | |
4618 | PyObject * _argo0 = 0; | |
4619 | PyObject * _argo1 = 0; | |
4620 | int tempbool6 = (int) TRUE; | |
4621 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4622 | ||
4623 | self = self; | |
4624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4625 | return NULL; | |
4626 | if (_argo0) { | |
4627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p."); | |
4630 | return NULL; | |
4631 | } | |
4632 | } | |
4633 | if (_argo1) { | |
4634 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4635 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p."); | |
4637 | return NULL; | |
4638 | } | |
4639 | } | |
4640 | _arg6 = (bool ) tempbool6; | |
4641 | { | |
4642 | wxPy_BEGIN_ALLOW_THREADS; | |
4643 | wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
4644 | ||
4645 | wxPy_END_ALLOW_THREADS; | |
4646 | } Py_INCREF(Py_None); | |
4647 | _resultobj = Py_None; | |
4648 | return _resultobj; | |
4649 | } | |
4650 | ||
4651 | #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4652 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4653 | PyObject * _resultobj; | |
4654 | wxPyBitmapShape * _arg0; | |
4655 | bool _arg1; | |
4656 | double _arg2; | |
4657 | double _arg3; | |
4658 | int _arg4 = (int ) 0; | |
4659 | int _arg5 = (int ) 0; | |
4660 | PyObject * _argo0 = 0; | |
4661 | int tempbool1; | |
4662 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4663 | ||
4664 | self = self; | |
4665 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4666 | return NULL; | |
4667 | if (_argo0) { | |
4668 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4669 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4670 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p."); | |
4671 | return NULL; | |
4672 | } | |
4673 | } | |
4674 | _arg1 = (bool ) tempbool1; | |
4675 | { | |
4676 | wxPy_BEGIN_ALLOW_THREADS; | |
4677 | wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4678 | ||
4679 | wxPy_END_ALLOW_THREADS; | |
4680 | } Py_INCREF(Py_None); | |
4681 | _resultobj = Py_None; | |
4682 | return _resultobj; | |
4683 | } | |
4684 | ||
4685 | #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4686 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4687 | PyObject * _resultobj; | |
4688 | wxPyBitmapShape * _arg0; | |
4689 | double _arg1; | |
4690 | double _arg2; | |
4691 | int _arg3 = (int ) 0; | |
4692 | int _arg4 = (int ) 0; | |
4693 | PyObject * _argo0 = 0; | |
4694 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4695 | ||
4696 | self = self; | |
4697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4698 | return NULL; | |
4699 | if (_argo0) { | |
4700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
4703 | return NULL; | |
4704 | } | |
4705 | } | |
4706 | { | |
4707 | wxPy_BEGIN_ALLOW_THREADS; | |
4708 | wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4709 | ||
4710 | wxPy_END_ALLOW_THREADS; | |
4711 | } Py_INCREF(Py_None); | |
4712 | _resultobj = Py_None; | |
4713 | return _resultobj; | |
4714 | } | |
4715 | ||
4716 | #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4717 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4718 | PyObject * _resultobj; | |
4719 | wxPyBitmapShape * _arg0; | |
4720 | double _arg1; | |
4721 | double _arg2; | |
4722 | int _arg3 = (int ) 0; | |
4723 | int _arg4 = (int ) 0; | |
4724 | PyObject * _argo0 = 0; | |
4725 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4726 | ||
4727 | self = self; | |
4728 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4729 | return NULL; | |
4730 | if (_argo0) { | |
4731 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4732 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4733 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p."); | |
4734 | return NULL; | |
4735 | } | |
4736 | } | |
4737 | { | |
4738 | wxPy_BEGIN_ALLOW_THREADS; | |
4739 | wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4740 | ||
4741 | wxPy_END_ALLOW_THREADS; | |
4742 | } Py_INCREF(Py_None); | |
4743 | _resultobj = Py_None; | |
4744 | return _resultobj; | |
4745 | } | |
4746 | ||
4747 | #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4748 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4749 | PyObject * _resultobj; | |
4750 | wxPyBitmapShape * _arg0; | |
4751 | bool _arg1; | |
4752 | double _arg2; | |
4753 | double _arg3; | |
4754 | int _arg4 = (int ) 0; | |
4755 | int _arg5 = (int ) 0; | |
4756 | PyObject * _argo0 = 0; | |
4757 | int tempbool1; | |
4758 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4759 | ||
4760 | self = self; | |
4761 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4762 | return NULL; | |
4763 | if (_argo0) { | |
4764 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4765 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4766 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p."); | |
4767 | return NULL; | |
4768 | } | |
4769 | } | |
4770 | _arg1 = (bool ) tempbool1; | |
4771 | { | |
4772 | wxPy_BEGIN_ALLOW_THREADS; | |
4773 | wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
4774 | ||
4775 | wxPy_END_ALLOW_THREADS; | |
4776 | } Py_INCREF(Py_None); | |
4777 | _resultobj = Py_None; | |
4778 | return _resultobj; | |
4779 | } | |
4780 | ||
4781 | #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4782 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4783 | PyObject * _resultobj; | |
4784 | wxPyBitmapShape * _arg0; | |
4785 | double _arg1; | |
4786 | double _arg2; | |
4787 | int _arg3 = (int ) 0; | |
4788 | int _arg4 = (int ) 0; | |
4789 | PyObject * _argo0 = 0; | |
4790 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4791 | ||
4792 | self = self; | |
4793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4794 | return NULL; | |
4795 | if (_argo0) { | |
4796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p."); | |
4799 | return NULL; | |
4800 | } | |
4801 | } | |
4802 | { | |
4803 | wxPy_BEGIN_ALLOW_THREADS; | |
4804 | wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4805 | ||
4806 | wxPy_END_ALLOW_THREADS; | |
4807 | } Py_INCREF(Py_None); | |
4808 | _resultobj = Py_None; | |
4809 | return _resultobj; | |
4810 | } | |
4811 | ||
4812 | #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4813 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4814 | PyObject * _resultobj; | |
4815 | wxPyBitmapShape * _arg0; | |
4816 | double _arg1; | |
4817 | double _arg2; | |
4818 | int _arg3 = (int ) 0; | |
4819 | int _arg4 = (int ) 0; | |
4820 | PyObject * _argo0 = 0; | |
4821 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4822 | ||
4823 | self = self; | |
4824 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4825 | return NULL; | |
4826 | if (_argo0) { | |
4827 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4828 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p."); | |
4830 | return NULL; | |
4831 | } | |
4832 | } | |
4833 | { | |
4834 | wxPy_BEGIN_ALLOW_THREADS; | |
4835 | wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
4836 | ||
4837 | wxPy_END_ALLOW_THREADS; | |
4838 | } Py_INCREF(Py_None); | |
4839 | _resultobj = Py_None; | |
4840 | return _resultobj; | |
4841 | } | |
4842 | ||
4843 | #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4844 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4845 | PyObject * _resultobj; | |
4846 | wxPyBitmapShape * _arg0; | |
4847 | wxDC * _arg1; | |
4848 | double _arg2; | |
4849 | double _arg3; | |
4850 | double _arg4; | |
4851 | double _arg5; | |
4852 | PyObject * _argo0 = 0; | |
4853 | PyObject * _argo1 = 0; | |
4854 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
4855 | ||
4856 | self = self; | |
4857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4858 | return NULL; | |
4859 | if (_argo0) { | |
4860 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4861 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p."); | |
4863 | return NULL; | |
4864 | } | |
4865 | } | |
4866 | if (_argo1) { | |
4867 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4868 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p."); | |
4870 | return NULL; | |
4871 | } | |
4872 | } | |
4873 | { | |
4874 | wxPy_BEGIN_ALLOW_THREADS; | |
4875 | wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
4876 | ||
4877 | wxPy_END_ALLOW_THREADS; | |
4878 | } Py_INCREF(Py_None); | |
4879 | _resultobj = Py_None; | |
4880 | return _resultobj; | |
4881 | } | |
4882 | ||
4883 | #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
4884 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4885 | PyObject * _resultobj; | |
4886 | wxPyBitmapShape * _arg0; | |
4887 | wxDC * _arg1; | |
4888 | PyObject * _argo0 = 0; | |
4889 | PyObject * _argo1 = 0; | |
4890 | char *_kwnames[] = { "self","dc", NULL }; | |
4891 | ||
4892 | self = self; | |
4893 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
4894 | return NULL; | |
4895 | if (_argo0) { | |
4896 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4897 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4898 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p."); | |
4899 | return NULL; | |
4900 | } | |
4901 | } | |
4902 | if (_argo1) { | |
4903 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4904 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4905 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
4906 | return NULL; | |
4907 | } | |
4908 | } | |
4909 | { | |
4910 | wxPy_BEGIN_ALLOW_THREADS; | |
4911 | wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
4912 | ||
4913 | wxPy_END_ALLOW_THREADS; | |
4914 | } Py_INCREF(Py_None); | |
4915 | _resultobj = Py_None; | |
4916 | return _resultobj; | |
4917 | } | |
4918 | ||
4919 | #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
4920 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4921 | PyObject * _resultobj; | |
4922 | wxPyBitmapShape * _arg0; | |
4923 | wxDC * _arg1; | |
4924 | PyObject * _argo0 = 0; | |
4925 | PyObject * _argo1 = 0; | |
4926 | char *_kwnames[] = { "self","dc", NULL }; | |
4927 | ||
4928 | self = self; | |
4929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
4930 | return NULL; | |
4931 | if (_argo0) { | |
4932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p."); | |
4935 | return NULL; | |
4936 | } | |
4937 | } | |
4938 | if (_argo1) { | |
4939 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4940 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
4942 | return NULL; | |
4943 | } | |
4944 | } | |
4945 | { | |
4946 | wxPy_BEGIN_ALLOW_THREADS; | |
4947 | wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
4948 | ||
4949 | wxPy_END_ALLOW_THREADS; | |
4950 | } Py_INCREF(Py_None); | |
4951 | _resultobj = Py_None; | |
4952 | return _resultobj; | |
4953 | } | |
4954 | ||
4955 | #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
4956 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4957 | PyObject * _resultobj; | |
4958 | wxPyBitmapShape * _arg0; | |
4959 | wxDC * _arg1; | |
4960 | bool _arg2 = (bool ) TRUE; | |
4961 | PyObject * _argo0 = 0; | |
4962 | PyObject * _argo1 = 0; | |
4963 | int tempbool2 = (int) TRUE; | |
4964 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
4965 | ||
4966 | self = self; | |
4967 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4968 | return NULL; | |
4969 | if (_argo0) { | |
4970 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4971 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4972 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p."); | |
4973 | return NULL; | |
4974 | } | |
4975 | } | |
4976 | if (_argo1) { | |
4977 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4978 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4979 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p."); | |
4980 | return NULL; | |
4981 | } | |
4982 | } | |
4983 | _arg2 = (bool ) tempbool2; | |
4984 | { | |
4985 | wxPy_BEGIN_ALLOW_THREADS; | |
4986 | wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
4987 | ||
4988 | wxPy_END_ALLOW_THREADS; | |
4989 | } Py_INCREF(Py_None); | |
4990 | _resultobj = Py_None; | |
4991 | return _resultobj; | |
4992 | } | |
4993 | ||
4994 | #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4995 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4996 | PyObject * _resultobj; | |
4997 | wxPyBitmapShape * _arg0; | |
2348eaee | 4998 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
4999 | bool _arg2; |
5000 | double _arg3; | |
5001 | double _arg4; | |
5002 | int _arg5 = (int ) 0; | |
5003 | int _arg6 = (int ) 0; | |
5004 | PyObject * _argo0 = 0; | |
5005 | PyObject * _argo1 = 0; | |
5006 | int tempbool2; | |
5007 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5008 | ||
5009 | self = self; | |
5010 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5011 | return NULL; | |
5012 | if (_argo0) { | |
5013 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5014 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5015 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p."); | |
5016 | return NULL; | |
5017 | } | |
5018 | } | |
5019 | if (_argo1) { | |
5020 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5021 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5022 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5023 | return NULL; |
5024 | } | |
5025 | } | |
5026 | _arg2 = (bool ) tempbool2; | |
5027 | { | |
5028 | wxPy_BEGIN_ALLOW_THREADS; | |
5029 | wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
5030 | ||
5031 | wxPy_END_ALLOW_THREADS; | |
5032 | } Py_INCREF(Py_None); | |
5033 | _resultobj = Py_None; | |
5034 | return _resultobj; | |
5035 | } | |
5036 | ||
5037 | #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5038 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5039 | PyObject * _resultobj; | |
5040 | wxPyBitmapShape * _arg0; | |
2348eaee | 5041 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5042 | double _arg2; |
5043 | double _arg3; | |
5044 | int _arg4 = (int ) 0; | |
5045 | int _arg5 = (int ) 0; | |
5046 | PyObject * _argo0 = 0; | |
5047 | PyObject * _argo1 = 0; | |
5048 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5049 | ||
5050 | self = self; | |
5051 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5052 | return NULL; | |
5053 | if (_argo0) { | |
5054 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5055 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5056 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
5057 | return NULL; | |
5058 | } | |
5059 | } | |
5060 | if (_argo1) { | |
5061 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5062 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5063 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5064 | return NULL; |
5065 | } | |
5066 | } | |
5067 | { | |
5068 | wxPy_BEGIN_ALLOW_THREADS; | |
5069 | wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5070 | ||
5071 | wxPy_END_ALLOW_THREADS; | |
5072 | } Py_INCREF(Py_None); | |
5073 | _resultobj = Py_None; | |
5074 | return _resultobj; | |
5075 | } | |
5076 | ||
5077 | #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5078 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5079 | PyObject * _resultobj; | |
5080 | wxPyBitmapShape * _arg0; | |
2348eaee | 5081 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5082 | double _arg2; |
5083 | double _arg3; | |
5084 | int _arg4 = (int ) 0; | |
5085 | int _arg5 = (int ) 0; | |
5086 | PyObject * _argo0 = 0; | |
5087 | PyObject * _argo1 = 0; | |
5088 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5089 | ||
5090 | self = self; | |
5091 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5092 | return NULL; | |
5093 | if (_argo0) { | |
5094 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5095 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5096 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p."); | |
5097 | return NULL; | |
5098 | } | |
5099 | } | |
5100 | if (_argo1) { | |
5101 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5102 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5103 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5104 | return NULL; |
5105 | } | |
5106 | } | |
5107 | { | |
5108 | wxPy_BEGIN_ALLOW_THREADS; | |
5109 | wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
5110 | ||
5111 | wxPy_END_ALLOW_THREADS; | |
5112 | } Py_INCREF(Py_None); | |
5113 | _resultobj = Py_None; | |
5114 | return _resultobj; | |
5115 | } | |
5116 | ||
5117 | #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5118 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5119 | PyObject * _resultobj; | |
5120 | wxPyBitmapShape * _arg0; | |
5121 | double _arg1; | |
5122 | double _arg2; | |
5123 | PyObject * _argo0 = 0; | |
5124 | char *_kwnames[] = { "self","w","h", NULL }; | |
5125 | ||
5126 | self = self; | |
5127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5128 | return NULL; | |
5129 | if (_argo0) { | |
5130 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5131 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p."); | |
5133 | return NULL; | |
5134 | } | |
5135 | } | |
5136 | { | |
5137 | wxPy_BEGIN_ALLOW_THREADS; | |
5138 | wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
5139 | ||
5140 | wxPy_END_ALLOW_THREADS; | |
5141 | } Py_INCREF(Py_None); | |
5142 | _resultobj = Py_None; | |
5143 | return _resultobj; | |
5144 | } | |
5145 | ||
5146 | #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5147 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5148 | PyObject * _resultobj; | |
5149 | wxPyBitmapShape * _arg0; | |
5150 | double _arg1; | |
5151 | double _arg2; | |
5152 | PyObject * _argo0 = 0; | |
5153 | char *_kwnames[] = { "self","w","h", NULL }; | |
5154 | ||
5155 | self = self; | |
5156 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5157 | return NULL; | |
5158 | if (_argo0) { | |
5159 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5160 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5161 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p."); | |
5162 | return NULL; | |
5163 | } | |
5164 | } | |
5165 | { | |
5166 | wxPy_BEGIN_ALLOW_THREADS; | |
5167 | wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
5168 | ||
5169 | wxPy_END_ALLOW_THREADS; | |
5170 | } Py_INCREF(Py_None); | |
5171 | _resultobj = Py_None; | |
5172 | return _resultobj; | |
5173 | } | |
5174 | ||
5175 | static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) { | |
5176 | wxPyDrawnShape *src; | |
5177 | wxPyRectangleShape *dest; | |
5178 | src = (wxPyDrawnShape *) ptr; | |
5179 | dest = (wxPyRectangleShape *) src; | |
5180 | return (void *) dest; | |
5181 | } | |
5182 | ||
5183 | static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) { | |
5184 | wxPyDrawnShape *src; | |
5185 | wxPyShape *dest; | |
5186 | src = (wxPyDrawnShape *) ptr; | |
5187 | dest = (wxPyShape *) src; | |
5188 | return (void *) dest; | |
5189 | } | |
5190 | ||
5191 | static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) { | |
5192 | wxPyDrawnShape *src; | |
5193 | wxPyShapeEvtHandler *dest; | |
5194 | src = (wxPyDrawnShape *) ptr; | |
5195 | dest = (wxPyShapeEvtHandler *) src; | |
5196 | return (void *) dest; | |
5197 | } | |
5198 | ||
5199 | #define new_wxPyDrawnShape() (new wxPyDrawnShape()) | |
5200 | static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5201 | PyObject * _resultobj; | |
5202 | wxPyDrawnShape * _result; | |
5203 | char *_kwnames[] = { NULL }; | |
5204 | char _ptemp[128]; | |
5205 | ||
5206 | self = self; | |
5207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames)) | |
5208 | return NULL; | |
5209 | { | |
5210 | wxPy_BEGIN_ALLOW_THREADS; | |
5211 | _result = (wxPyDrawnShape *)new_wxPyDrawnShape(); | |
5212 | ||
5213 | wxPy_END_ALLOW_THREADS; | |
5214 | } if (_result) { | |
5215 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p"); | |
5216 | _resultobj = Py_BuildValue("s",_ptemp); | |
5217 | } else { | |
5218 | Py_INCREF(Py_None); | |
5219 | _resultobj = Py_None; | |
5220 | } | |
5221 | return _resultobj; | |
5222 | } | |
5223 | ||
f6bcfd97 | 5224 | #define wxPyDrawnShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
5225 | static PyObject *_wrap_wxPyDrawnShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
5226 | PyObject * _resultobj; | |
5227 | wxPyDrawnShape * _arg0; | |
5228 | PyObject * _arg1; | |
f6bcfd97 | 5229 | PyObject * _arg2; |
e91a9dfc RD |
5230 | PyObject * _argo0 = 0; |
5231 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
5232 | PyObject * _obj2 = 0; |
5233 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
5234 | |
5235 | self = self; | |
f6bcfd97 | 5236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5237 | return NULL; |
5238 | if (_argo0) { | |
5239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setSelf. Expected _wxPyDrawnShape_p."); | |
5242 | return NULL; | |
5243 | } | |
5244 | } | |
5245 | { | |
5246 | _arg1 = _obj1; | |
5247 | } | |
f6bcfd97 BP |
5248 | { |
5249 | _arg2 = _obj2; | |
5250 | } | |
e91a9dfc RD |
5251 | { |
5252 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 5253 | wxPyDrawnShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
5254 | |
5255 | wxPy_END_ALLOW_THREADS; | |
5256 | } Py_INCREF(Py_None); | |
5257 | _resultobj = Py_None; | |
5258 | return _resultobj; | |
5259 | } | |
5260 | ||
5261 | #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
5262 | static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5263 | PyObject * _resultobj; | |
5264 | wxPyDrawnShape * _arg0; | |
5265 | PyObject * _argo0 = 0; | |
5266 | char *_kwnames[] = { "self", NULL }; | |
5267 | ||
5268 | self = self; | |
5269 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0)) | |
5270 | return NULL; | |
5271 | if (_argo0) { | |
5272 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5273 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5274 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p."); | |
5275 | return NULL; | |
5276 | } | |
5277 | } | |
5278 | { | |
5279 | wxPy_BEGIN_ALLOW_THREADS; | |
5280 | wxPyDrawnShape_CalculateSize(_arg0); | |
5281 | ||
5282 | wxPy_END_ALLOW_THREADS; | |
5283 | } Py_INCREF(Py_None); | |
5284 | _resultobj = Py_None; | |
5285 | return _resultobj; | |
5286 | } | |
5287 | ||
5288 | #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
5289 | static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5290 | PyObject * _resultobj; | |
5291 | wxPyDrawnShape * _arg0; | |
5292 | PyObject * _argo0 = 0; | |
5293 | char *_kwnames[] = { "self", NULL }; | |
5294 | ||
5295 | self = self; | |
5296 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0)) | |
5297 | return NULL; | |
5298 | if (_argo0) { | |
5299 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5300 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5301 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p."); | |
5302 | return NULL; | |
5303 | } | |
5304 | } | |
5305 | { | |
5306 | wxPy_BEGIN_ALLOW_THREADS; | |
5307 | wxPyDrawnShape_DestroyClippingRect(_arg0); | |
5308 | ||
5309 | wxPy_END_ALLOW_THREADS; | |
5310 | } Py_INCREF(Py_None); | |
5311 | _resultobj = Py_None; | |
5312 | return _resultobj; | |
5313 | } | |
5314 | ||
5315 | #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
5316 | static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5317 | PyObject * _resultobj; | |
5318 | wxPyDrawnShape * _arg0; | |
5319 | wxPoint * _arg1; | |
5320 | wxPoint * _arg2; | |
5321 | wxPoint * _arg3; | |
5322 | PyObject * _argo0 = 0; | |
2348eaee RD |
5323 | wxPoint temp; |
5324 | PyObject * _obj1 = 0; | |
5325 | wxPoint temp0; | |
5326 | PyObject * _obj2 = 0; | |
5327 | wxPoint temp1; | |
5328 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
5329 | char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL }; |
5330 | ||
5331 | self = self; | |
2348eaee | 5332 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
e91a9dfc RD |
5333 | return NULL; |
5334 | if (_argo0) { | |
5335 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5336 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5337 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p."); | |
5338 | return NULL; | |
5339 | } | |
5340 | } | |
2348eaee RD |
5341 | { |
5342 | _arg1 = &temp; | |
5343 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5344 | return NULL; |
2348eaee RD |
5345 | } |
5346 | { | |
5347 | _arg2 = &temp0; | |
5348 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5349 | return NULL; |
2348eaee RD |
5350 | } |
5351 | { | |
5352 | _arg3 = &temp1; | |
5353 | if (! wxPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 5354 | return NULL; |
2348eaee | 5355 | } |
e91a9dfc RD |
5356 | { |
5357 | wxPy_BEGIN_ALLOW_THREADS; | |
5358 | wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); | |
5359 | ||
5360 | wxPy_END_ALLOW_THREADS; | |
5361 | } Py_INCREF(Py_None); | |
5362 | _resultobj = Py_None; | |
5363 | return _resultobj; | |
5364 | } | |
5365 | ||
5366 | #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0)) | |
5367 | static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5368 | PyObject * _resultobj; | |
5369 | wxPyDrawnShape * _arg0; | |
5370 | int _arg1; | |
5371 | PyObject * _argo0 = 0; | |
5372 | char *_kwnames[] = { "self","angle", NULL }; | |
5373 | ||
5374 | self = self; | |
5375 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1)) | |
5376 | return NULL; | |
5377 | if (_argo0) { | |
5378 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5379 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5380 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p."); | |
5381 | return NULL; | |
5382 | } | |
5383 | } | |
5384 | { | |
5385 | wxPy_BEGIN_ALLOW_THREADS; | |
5386 | wxPyDrawnShape_DrawAtAngle(_arg0,_arg1); | |
5387 | ||
5388 | wxPy_END_ALLOW_THREADS; | |
5389 | } Py_INCREF(Py_None); | |
5390 | _resultobj = Py_None; | |
5391 | return _resultobj; | |
5392 | } | |
5393 | ||
5394 | #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
5395 | static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5396 | PyObject * _resultobj; | |
5397 | wxPyDrawnShape * _arg0; | |
5398 | wxRect * _arg1; | |
5399 | double _arg2; | |
5400 | double _arg3; | |
5401 | PyObject * _argo0 = 0; | |
2348eaee RD |
5402 | wxRect temp; |
5403 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5404 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; |
5405 | ||
5406 | self = self; | |
2348eaee | 5407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
e91a9dfc RD |
5408 | return NULL; |
5409 | if (_argo0) { | |
5410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p."); | |
5413 | return NULL; | |
5414 | } | |
5415 | } | |
2348eaee RD |
5416 | { |
5417 | _arg1 = &temp; | |
5418 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5419 | return NULL; |
2348eaee | 5420 | } |
e91a9dfc RD |
5421 | { |
5422 | wxPy_BEGIN_ALLOW_THREADS; | |
5423 | wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); | |
5424 | ||
5425 | wxPy_END_ALLOW_THREADS; | |
5426 | } Py_INCREF(Py_None); | |
5427 | _resultobj = Py_None; | |
5428 | return _resultobj; | |
5429 | } | |
5430 | ||
5431 | #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
5432 | static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5433 | PyObject * _resultobj; | |
5434 | wxPyDrawnShape * _arg0; | |
5435 | wxPoint * _arg1; | |
5436 | wxPoint * _arg2; | |
5437 | PyObject * _argo0 = 0; | |
2348eaee RD |
5438 | wxPoint temp; |
5439 | PyObject * _obj1 = 0; | |
5440 | wxPoint temp0; | |
5441 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5442 | char *_kwnames[] = { "self","point1","point2", NULL }; |
5443 | ||
5444 | self = self; | |
2348eaee | 5445 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5446 | return NULL; |
5447 | if (_argo0) { | |
5448 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5449 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5450 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p."); | |
5451 | return NULL; | |
5452 | } | |
5453 | } | |
2348eaee RD |
5454 | { |
5455 | _arg1 = &temp; | |
5456 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5457 | return NULL; |
2348eaee RD |
5458 | } |
5459 | { | |
5460 | _arg2 = &temp0; | |
5461 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5462 | return NULL; |
2348eaee | 5463 | } |
e91a9dfc RD |
5464 | { |
5465 | wxPy_BEGIN_ALLOW_THREADS; | |
5466 | wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2); | |
5467 | ||
5468 | wxPy_END_ALLOW_THREADS; | |
5469 | } Py_INCREF(Py_None); | |
5470 | _resultobj = Py_None; | |
5471 | return _resultobj; | |
5472 | } | |
5473 | ||
5474 | #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
5475 | static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5476 | PyObject * _resultobj; | |
5477 | wxPyDrawnShape * _arg0; | |
5478 | int _arg1; | |
5479 | wxPoint * _arg2; | |
5480 | PyObject * _argo0 = 0; | |
5481 | PyObject * _obj2 = 0; | |
eec92d76 | 5482 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
5483 | |
5484 | self = self; | |
5485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2)) | |
5486 | return NULL; | |
5487 | if (_argo0) { | |
5488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p."); | |
5491 | return NULL; | |
5492 | } | |
5493 | } | |
5494 | if (_obj2) | |
5495 | { | |
5496 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5497 | if (_arg2 == NULL) { | |
5498 | return NULL; | |
5499 | } | |
5500 | } | |
5501 | { | |
5502 | if (_obj2) { | |
5503 | _arg1 = PyList_Size(_obj2); | |
5504 | } | |
5505 | else { | |
5506 | _arg1 = 0; | |
5507 | } | |
5508 | } | |
5509 | { | |
5510 | wxPy_BEGIN_ALLOW_THREADS; | |
5511 | wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2); | |
5512 | ||
5513 | wxPy_END_ALLOW_THREADS; | |
5514 | } Py_INCREF(Py_None); | |
5515 | _resultobj = Py_None; | |
5516 | { | |
5517 | delete [] _arg2; | |
5518 | } | |
5519 | return _resultobj; | |
5520 | } | |
5521 | ||
5522 | #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
5523 | static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5524 | PyObject * _resultobj; | |
5525 | wxPyDrawnShape * _arg0; | |
5526 | wxPoint * _arg1; | |
5527 | PyObject * _argo0 = 0; | |
2348eaee RD |
5528 | wxPoint temp; |
5529 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5530 | char *_kwnames[] = { "self","point", NULL }; |
5531 | ||
5532 | self = self; | |
2348eaee | 5533 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5534 | return NULL; |
5535 | if (_argo0) { | |
5536 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5537 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p."); | |
5539 | return NULL; | |
5540 | } | |
5541 | } | |
2348eaee RD |
5542 | { |
5543 | _arg1 = &temp; | |
5544 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5545 | return NULL; |
2348eaee | 5546 | } |
e91a9dfc RD |
5547 | { |
5548 | wxPy_BEGIN_ALLOW_THREADS; | |
5549 | wxPyDrawnShape_DrawPoint(_arg0,*_arg1); | |
5550 | ||
5551 | wxPy_END_ALLOW_THREADS; | |
5552 | } Py_INCREF(Py_None); | |
5553 | _resultobj = Py_None; | |
5554 | return _resultobj; | |
5555 | } | |
5556 | ||
5557 | #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
5558 | static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5559 | PyObject * _resultobj; | |
5560 | wxPyDrawnShape * _arg0; | |
5561 | int _arg1; | |
5562 | wxPoint * _arg2; | |
5563 | int _arg3 = (int ) 0; | |
5564 | PyObject * _argo0 = 0; | |
5565 | PyObject * _obj2 = 0; | |
eec92d76 | 5566 | char *_kwnames[] = { "self","points","flags", NULL }; |
e91a9dfc RD |
5567 | |
5568 | self = self; | |
5569 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
5570 | return NULL; | |
5571 | if (_argo0) { | |
5572 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5573 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5574 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p."); | |
5575 | return NULL; | |
5576 | } | |
5577 | } | |
5578 | if (_obj2) | |
5579 | { | |
5580 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5581 | if (_arg2 == NULL) { | |
5582 | return NULL; | |
5583 | } | |
5584 | } | |
5585 | { | |
5586 | if (_obj2) { | |
5587 | _arg1 = PyList_Size(_obj2); | |
5588 | } | |
5589 | else { | |
5590 | _arg1 = 0; | |
5591 | } | |
5592 | } | |
5593 | { | |
5594 | wxPy_BEGIN_ALLOW_THREADS; | |
5595 | wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3); | |
5596 | ||
5597 | wxPy_END_ALLOW_THREADS; | |
5598 | } Py_INCREF(Py_None); | |
5599 | _resultobj = Py_None; | |
5600 | { | |
5601 | delete [] _arg2; | |
5602 | } | |
5603 | return _resultobj; | |
5604 | } | |
5605 | ||
5606 | #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
5607 | static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5608 | PyObject * _resultobj; | |
5609 | wxPyDrawnShape * _arg0; | |
5610 | wxRect * _arg1; | |
5611 | PyObject * _argo0 = 0; | |
2348eaee RD |
5612 | wxRect temp; |
5613 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5614 | char *_kwnames[] = { "self","rect", NULL }; |
5615 | ||
5616 | self = self; | |
2348eaee | 5617 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5618 | return NULL; |
5619 | if (_argo0) { | |
5620 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5621 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5622 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p."); | |
5623 | return NULL; | |
5624 | } | |
5625 | } | |
2348eaee RD |
5626 | { |
5627 | _arg1 = &temp; | |
5628 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5629 | return NULL; |
2348eaee | 5630 | } |
e91a9dfc RD |
5631 | { |
5632 | wxPy_BEGIN_ALLOW_THREADS; | |
5633 | wxPyDrawnShape_DrawRectangle(_arg0,*_arg1); | |
5634 | ||
5635 | wxPy_END_ALLOW_THREADS; | |
5636 | } Py_INCREF(Py_None); | |
5637 | _resultobj = Py_None; | |
5638 | return _resultobj; | |
5639 | } | |
5640 | ||
5641 | #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
5642 | static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5643 | PyObject * _resultobj; | |
5644 | wxPyDrawnShape * _arg0; | |
5645 | wxRect * _arg1; | |
5646 | double _arg2; | |
5647 | PyObject * _argo0 = 0; | |
2348eaee RD |
5648 | wxRect temp; |
5649 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5650 | char *_kwnames[] = { "self","rect","radius", NULL }; |
5651 | ||
5652 | self = self; | |
2348eaee | 5653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
5654 | return NULL; |
5655 | if (_argo0) { | |
5656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p."); | |
5659 | return NULL; | |
5660 | } | |
5661 | } | |
2348eaee RD |
5662 | { |
5663 | _arg1 = &temp; | |
5664 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5665 | return NULL; |
2348eaee | 5666 | } |
e91a9dfc RD |
5667 | { |
5668 | wxPy_BEGIN_ALLOW_THREADS; | |
5669 | wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2); | |
5670 | ||
5671 | wxPy_END_ALLOW_THREADS; | |
5672 | } Py_INCREF(Py_None); | |
5673 | _resultobj = Py_None; | |
5674 | return _resultobj; | |
5675 | } | |
5676 | ||
5677 | #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
5678 | static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5679 | PyObject * _resultobj; | |
5680 | wxPyDrawnShape * _arg0; | |
5681 | int _arg1; | |
5682 | wxPoint * _arg2; | |
5683 | PyObject * _argo0 = 0; | |
5684 | PyObject * _obj2 = 0; | |
eec92d76 | 5685 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
5686 | |
5687 | self = self; | |
5688 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
5689 | return NULL; | |
5690 | if (_argo0) { | |
5691 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5692 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5693 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p."); | |
5694 | return NULL; | |
5695 | } | |
5696 | } | |
5697 | if (_obj2) | |
5698 | { | |
5699 | _arg2 = wxPoint_LIST_helper(_obj2); | |
5700 | if (_arg2 == NULL) { | |
5701 | return NULL; | |
5702 | } | |
5703 | } | |
5704 | { | |
5705 | if (_obj2) { | |
5706 | _arg1 = PyList_Size(_obj2); | |
5707 | } | |
5708 | else { | |
5709 | _arg1 = 0; | |
5710 | } | |
5711 | } | |
5712 | { | |
5713 | wxPy_BEGIN_ALLOW_THREADS; | |
5714 | wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2); | |
5715 | ||
5716 | wxPy_END_ALLOW_THREADS; | |
5717 | } Py_INCREF(Py_None); | |
5718 | _resultobj = Py_None; | |
5719 | { | |
5720 | delete [] _arg2; | |
5721 | } | |
5722 | return _resultobj; | |
5723 | } | |
5724 | ||
5725 | #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
5726 | static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5727 | PyObject * _resultobj; | |
5728 | wxPyDrawnShape * _arg0; | |
5729 | wxString * _arg1; | |
5730 | wxPoint * _arg2; | |
5731 | PyObject * _argo0 = 0; | |
5732 | PyObject * _obj1 = 0; | |
2348eaee RD |
5733 | wxPoint temp; |
5734 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5735 | char *_kwnames[] = { "self","text","point", NULL }; |
5736 | ||
5737 | self = self; | |
2348eaee | 5738 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5739 | return NULL; |
5740 | if (_argo0) { | |
5741 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5742 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5743 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p."); | |
5744 | return NULL; | |
5745 | } | |
5746 | } | |
5747 | { | |
5748 | if (!PyString_Check(_obj1)) { | |
5749 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
5750 | return NULL; | |
5751 | } | |
5752 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
5753 | } | |
2348eaee RD |
5754 | { |
5755 | _arg2 = &temp; | |
5756 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5757 | return NULL; |
2348eaee | 5758 | } |
e91a9dfc RD |
5759 | { |
5760 | wxPy_BEGIN_ALLOW_THREADS; | |
5761 | wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2); | |
5762 | ||
5763 | wxPy_END_ALLOW_THREADS; | |
5764 | } Py_INCREF(Py_None); | |
5765 | _resultobj = Py_None; | |
5766 | { | |
5767 | if (_obj1) | |
5768 | delete _arg1; | |
5769 | } | |
5770 | return _resultobj; | |
5771 | } | |
5772 | ||
5773 | #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle()) | |
5774 | static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5775 | PyObject * _resultobj; | |
5776 | int _result; | |
5777 | wxPyDrawnShape * _arg0; | |
5778 | PyObject * _argo0 = 0; | |
5779 | char *_kwnames[] = { "self", NULL }; | |
5780 | ||
5781 | self = self; | |
5782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0)) | |
5783 | return NULL; | |
5784 | if (_argo0) { | |
5785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p."); | |
5788 | return NULL; | |
5789 | } | |
5790 | } | |
5791 | { | |
5792 | wxPy_BEGIN_ALLOW_THREADS; | |
5793 | _result = (int )wxPyDrawnShape_GetAngle(_arg0); | |
5794 | ||
5795 | wxPy_END_ALLOW_THREADS; | |
5796 | } _resultobj = Py_BuildValue("i",_result); | |
5797 | return _resultobj; | |
5798 | } | |
5799 | ||
5800 | #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
5801 | static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5802 | PyObject * _resultobj; | |
5803 | wxPseudoMetaFile * _result; | |
5804 | wxPyDrawnShape * _arg0; | |
5805 | PyObject * _argo0 = 0; | |
5806 | char *_kwnames[] = { "self", NULL }; | |
5807 | char _ptemp[128]; | |
5808 | ||
5809 | self = self; | |
5810 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0)) | |
5811 | return NULL; | |
5812 | if (_argo0) { | |
5813 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5814 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5815 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p."); | |
5816 | return NULL; | |
5817 | } | |
5818 | } | |
5819 | { | |
5820 | wxPy_BEGIN_ALLOW_THREADS; | |
5821 | wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0); | |
5822 | _result = (wxPseudoMetaFile *) &_result_ref; | |
5823 | ||
5824 | wxPy_END_ALLOW_THREADS; | |
5825 | } if (_result) { | |
5826 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
5827 | _resultobj = Py_BuildValue("s",_ptemp); | |
5828 | } else { | |
5829 | Py_INCREF(Py_None); | |
5830 | _resultobj = Py_None; | |
5831 | } | |
5832 | return _resultobj; | |
5833 | } | |
5834 | ||
5835 | #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
5836 | static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5837 | PyObject * _resultobj; | |
5838 | double _result; | |
5839 | wxPyDrawnShape * _arg0; | |
5840 | PyObject * _argo0 = 0; | |
5841 | char *_kwnames[] = { "self", NULL }; | |
5842 | ||
5843 | self = self; | |
5844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0)) | |
5845 | return NULL; | |
5846 | if (_argo0) { | |
5847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p."); | |
5850 | return NULL; | |
5851 | } | |
5852 | } | |
5853 | { | |
5854 | wxPy_BEGIN_ALLOW_THREADS; | |
5855 | _result = (double )wxPyDrawnShape_GetRotation(_arg0); | |
5856 | ||
5857 | wxPy_END_ALLOW_THREADS; | |
5858 | } _resultobj = Py_BuildValue("d",_result); | |
5859 | return _resultobj; | |
5860 | } | |
5861 | ||
5862 | #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0)) | |
5863 | static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5864 | PyObject * _resultobj; | |
5865 | bool _result; | |
5866 | wxPyDrawnShape * _arg0; | |
5867 | char * _arg1; | |
5868 | PyObject * _argo0 = 0; | |
5869 | char *_kwnames[] = { "self","filename", NULL }; | |
5870 | ||
5871 | self = self; | |
5872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1)) | |
5873 | return NULL; | |
5874 | if (_argo0) { | |
5875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p."); | |
5878 | return NULL; | |
5879 | } | |
5880 | } | |
5881 | { | |
5882 | wxPy_BEGIN_ALLOW_THREADS; | |
5883 | _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1); | |
5884 | ||
5885 | wxPy_END_ALLOW_THREADS; | |
5886 | } _resultobj = Py_BuildValue("i",_result); | |
5887 | return _resultobj; | |
5888 | } | |
5889 | ||
5890 | #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
5891 | static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5892 | PyObject * _resultobj; | |
5893 | wxPyDrawnShape * _arg0; | |
5894 | double _arg1; | |
5895 | double _arg2; | |
5896 | double _arg3; | |
5897 | PyObject * _argo0 = 0; | |
5898 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
5899 | ||
5900 | self = self; | |
5901 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
5902 | return NULL; | |
5903 | if (_argo0) { | |
5904 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5905 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p."); | |
5907 | return NULL; | |
5908 | } | |
5909 | } | |
5910 | { | |
5911 | wxPy_BEGIN_ALLOW_THREADS; | |
5912 | wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3); | |
5913 | ||
5914 | wxPy_END_ALLOW_THREADS; | |
5915 | } Py_INCREF(Py_None); | |
5916 | _resultobj = Py_None; | |
5917 | return _resultobj; | |
5918 | } | |
5919 | ||
5920 | #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
5921 | static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5922 | PyObject * _resultobj; | |
5923 | wxPyDrawnShape * _arg0; | |
5924 | wxRect * _arg1; | |
5925 | PyObject * _argo0 = 0; | |
2348eaee RD |
5926 | wxRect temp; |
5927 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5928 | char *_kwnames[] = { "self","rect", NULL }; |
5929 | ||
5930 | self = self; | |
2348eaee | 5931 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5932 | return NULL; |
5933 | if (_argo0) { | |
5934 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5935 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5936 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p."); | |
5937 | return NULL; | |
5938 | } | |
5939 | } | |
2348eaee RD |
5940 | { |
5941 | _arg1 = &temp; | |
5942 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5943 | return NULL; |
2348eaee | 5944 | } |
e91a9dfc RD |
5945 | { |
5946 | wxPy_BEGIN_ALLOW_THREADS; | |
5947 | wxPyDrawnShape_SetClippingRect(_arg0,*_arg1); | |
5948 | ||
5949 | wxPy_END_ALLOW_THREADS; | |
5950 | } Py_INCREF(Py_None); | |
5951 | _resultobj = Py_None; | |
5952 | return _resultobj; | |
5953 | } | |
5954 | ||
5955 | #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0)) | |
5956 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5957 | PyObject * _resultobj; | |
5958 | wxPyDrawnShape * _arg0; | |
5959 | wxColour * _arg1; | |
5960 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
5961 | wxColour temp; |
5962 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5963 | char *_kwnames[] = { "self","colour", NULL }; |
5964 | ||
5965 | self = self; | |
f6bcfd97 | 5966 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5967 | return NULL; |
5968 | if (_argo0) { | |
5969 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5970 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5971 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p."); | |
5972 | return NULL; | |
5973 | } | |
5974 | } | |
f6bcfd97 BP |
5975 | { |
5976 | _arg1 = &temp; | |
5977 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 5978 | return NULL; |
f6bcfd97 | 5979 | } |
e91a9dfc RD |
5980 | { |
5981 | wxPy_BEGIN_ALLOW_THREADS; | |
5982 | wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1); | |
5983 | ||
5984 | wxPy_END_ALLOW_THREADS; | |
5985 | } Py_INCREF(Py_None); | |
5986 | _resultobj = Py_None; | |
5987 | return _resultobj; | |
5988 | } | |
5989 | ||
5990 | #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0)) | |
5991 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5992 | PyObject * _resultobj; | |
5993 | wxPyDrawnShape * _arg0; | |
5994 | int _arg1; | |
5995 | PyObject * _argo0 = 0; | |
5996 | char *_kwnames[] = { "self","mode", NULL }; | |
5997 | ||
5998 | self = self; | |
5999 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
6000 | return NULL; | |
6001 | if (_argo0) { | |
6002 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6003 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6004 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p."); | |
6005 | return NULL; | |
6006 | } | |
6007 | } | |
6008 | { | |
6009 | wxPy_BEGIN_ALLOW_THREADS; | |
6010 | wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1); | |
6011 | ||
6012 | wxPy_END_ALLOW_THREADS; | |
6013 | } Py_INCREF(Py_None); | |
6014 | _resultobj = Py_None; | |
6015 | return _resultobj; | |
6016 | } | |
6017 | ||
6018 | #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1)) | |
6019 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6020 | PyObject * _resultobj; | |
6021 | wxPyDrawnShape * _arg0; | |
6022 | wxBrush * _arg1; | |
6023 | bool _arg2 = (bool ) FALSE; | |
6024 | PyObject * _argo0 = 0; | |
6025 | PyObject * _argo1 = 0; | |
6026 | int tempbool2 = (int) FALSE; | |
6027 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6028 | ||
6029 | self = self; | |
6030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6031 | return NULL; | |
6032 | if (_argo0) { | |
6033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p."); | |
6036 | return NULL; | |
6037 | } | |
6038 | } | |
6039 | if (_argo1) { | |
6040 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6041 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) { | |
6042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnBrush. Expected _wxBrush_p."); | |
6043 | return NULL; | |
6044 | } | |
6045 | } | |
6046 | _arg2 = (bool ) tempbool2; | |
6047 | { | |
6048 | wxPy_BEGIN_ALLOW_THREADS; | |
6049 | wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2); | |
6050 | ||
6051 | wxPy_END_ALLOW_THREADS; | |
6052 | } Py_INCREF(Py_None); | |
6053 | _resultobj = Py_None; | |
6054 | return _resultobj; | |
6055 | } | |
6056 | ||
6057 | #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0)) | |
6058 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6059 | PyObject * _resultobj; | |
6060 | wxPyDrawnShape * _arg0; | |
6061 | wxFont * _arg1; | |
6062 | PyObject * _argo0 = 0; | |
6063 | PyObject * _argo1 = 0; | |
6064 | char *_kwnames[] = { "self","font", NULL }; | |
6065 | ||
6066 | self = self; | |
6067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_argo1)) | |
6068 | return NULL; | |
6069 | if (_argo0) { | |
6070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p."); | |
6073 | return NULL; | |
6074 | } | |
6075 | } | |
6076 | if (_argo1) { | |
6077 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6078 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) { | |
6079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnFont. Expected _wxFont_p."); | |
6080 | return NULL; | |
6081 | } | |
6082 | } | |
6083 | { | |
6084 | wxPy_BEGIN_ALLOW_THREADS; | |
6085 | wxPyDrawnShape_SetDrawnFont(_arg0,_arg1); | |
6086 | ||
6087 | wxPy_END_ALLOW_THREADS; | |
6088 | } Py_INCREF(Py_None); | |
6089 | _resultobj = Py_None; | |
6090 | return _resultobj; | |
6091 | } | |
6092 | ||
6093 | #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1)) | |
6094 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6095 | PyObject * _resultobj; | |
6096 | wxPyDrawnShape * _arg0; | |
6097 | wxPen * _arg1; | |
6098 | bool _arg2 = (bool ) FALSE; | |
6099 | PyObject * _argo0 = 0; | |
6100 | PyObject * _argo1 = 0; | |
6101 | int tempbool2 = (int) FALSE; | |
6102 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6103 | ||
6104 | self = self; | |
6105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6106 | return NULL; | |
6107 | if (_argo0) { | |
6108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p."); | |
6111 | return NULL; | |
6112 | } | |
6113 | } | |
6114 | if (_argo1) { | |
6115 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6116 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
6117 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnPen. Expected _wxPen_p."); | |
6118 | return NULL; | |
6119 | } | |
6120 | } | |
6121 | _arg2 = (bool ) tempbool2; | |
6122 | { | |
6123 | wxPy_BEGIN_ALLOW_THREADS; | |
6124 | wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2); | |
6125 | ||
6126 | wxPy_END_ALLOW_THREADS; | |
6127 | } Py_INCREF(Py_None); | |
6128 | _resultobj = Py_None; | |
6129 | return _resultobj; | |
6130 | } | |
6131 | ||
6132 | #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0)) | |
6133 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6134 | PyObject * _resultobj; | |
6135 | wxPyDrawnShape * _arg0; | |
6136 | wxColour * _arg1; | |
6137 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
6138 | wxColour temp; |
6139 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
6140 | char *_kwnames[] = { "self","colour", NULL }; |
6141 | ||
6142 | self = self; | |
f6bcfd97 | 6143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
6144 | return NULL; |
6145 | if (_argo0) { | |
6146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p."); | |
6149 | return NULL; | |
6150 | } | |
6151 | } | |
f6bcfd97 BP |
6152 | { |
6153 | _arg1 = &temp; | |
6154 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 6155 | return NULL; |
f6bcfd97 | 6156 | } |
e91a9dfc RD |
6157 | { |
6158 | wxPy_BEGIN_ALLOW_THREADS; | |
6159 | wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1); | |
6160 | ||
6161 | wxPy_END_ALLOW_THREADS; | |
6162 | } Py_INCREF(Py_None); | |
6163 | _resultobj = Py_None; | |
6164 | return _resultobj; | |
6165 | } | |
6166 | ||
6167 | #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
6168 | static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6169 | PyObject * _resultobj; | |
6170 | wxPyDrawnShape * _arg0; | |
6171 | double _arg1; | |
6172 | double _arg2; | |
6173 | PyObject * _argo0 = 0; | |
6174 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
6175 | ||
6176 | self = self; | |
6177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6178 | return NULL; | |
6179 | if (_argo0) { | |
6180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p."); | |
6183 | return NULL; | |
6184 | } | |
6185 | } | |
6186 | { | |
6187 | wxPy_BEGIN_ALLOW_THREADS; | |
6188 | wxPyDrawnShape_Scale(_arg0,_arg1,_arg2); | |
6189 | ||
6190 | wxPy_END_ALLOW_THREADS; | |
6191 | } Py_INCREF(Py_None); | |
6192 | _resultobj = Py_None; | |
6193 | return _resultobj; | |
6194 | } | |
6195 | ||
6196 | #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0)) | |
6197 | static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6198 | PyObject * _resultobj; | |
6199 | wxPyDrawnShape * _arg0; | |
6200 | bool _arg1; | |
6201 | PyObject * _argo0 = 0; | |
6202 | int tempbool1; | |
6203 | char *_kwnames[] = { "self","save", NULL }; | |
6204 | ||
6205 | self = self; | |
6206 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1)) | |
6207 | return NULL; | |
6208 | if (_argo0) { | |
6209 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6210 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6211 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p."); | |
6212 | return NULL; | |
6213 | } | |
6214 | } | |
6215 | _arg1 = (bool ) tempbool1; | |
6216 | { | |
6217 | wxPy_BEGIN_ALLOW_THREADS; | |
6218 | wxPyDrawnShape_SetSaveToFile(_arg0,_arg1); | |
6219 | ||
6220 | wxPy_END_ALLOW_THREADS; | |
6221 | } Py_INCREF(Py_None); | |
6222 | _resultobj = Py_None; | |
6223 | return _resultobj; | |
6224 | } | |
6225 | ||
6226 | #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
6227 | static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6228 | PyObject * _resultobj; | |
6229 | wxPyDrawnShape * _arg0; | |
6230 | double _arg1; | |
6231 | double _arg2; | |
6232 | PyObject * _argo0 = 0; | |
6233 | char *_kwnames[] = { "self","x","y", NULL }; | |
6234 | ||
6235 | self = self; | |
6236 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6237 | return NULL; | |
6238 | if (_argo0) { | |
6239 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6240 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6241 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p."); | |
6242 | return NULL; | |
6243 | } | |
6244 | } | |
6245 | { | |
6246 | wxPy_BEGIN_ALLOW_THREADS; | |
6247 | wxPyDrawnShape_Translate(_arg0,_arg1,_arg2); | |
6248 | ||
6249 | wxPy_END_ALLOW_THREADS; | |
6250 | } Py_INCREF(Py_None); | |
6251 | _resultobj = Py_None; | |
6252 | return _resultobj; | |
6253 | } | |
6254 | ||
6255 | #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6256 | static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6257 | PyObject * _resultobj; | |
6258 | wxPyDrawnShape * _arg0; | |
6259 | PyObject * _argo0 = 0; | |
6260 | char *_kwnames[] = { "self", NULL }; | |
6261 | ||
6262 | self = self; | |
6263 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0)) | |
6264 | return NULL; | |
6265 | if (_argo0) { | |
6266 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6267 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6268 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p."); | |
6269 | return NULL; | |
6270 | } | |
6271 | } | |
6272 | { | |
6273 | wxPy_BEGIN_ALLOW_THREADS; | |
6274 | wxPyDrawnShape_base_OnDelete(_arg0); | |
6275 | ||
6276 | wxPy_END_ALLOW_THREADS; | |
6277 | } Py_INCREF(Py_None); | |
6278 | _resultobj = Py_None; | |
6279 | return _resultobj; | |
6280 | } | |
6281 | ||
6282 | #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6283 | static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6284 | PyObject * _resultobj; | |
6285 | wxPyDrawnShape * _arg0; | |
6286 | wxDC * _arg1; | |
6287 | PyObject * _argo0 = 0; | |
6288 | PyObject * _argo1 = 0; | |
6289 | char *_kwnames[] = { "self","dc", NULL }; | |
6290 | ||
6291 | self = self; | |
6292 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6293 | return NULL; | |
6294 | if (_argo0) { | |
6295 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6296 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6297 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p."); | |
6298 | return NULL; | |
6299 | } | |
6300 | } | |
6301 | if (_argo1) { | |
6302 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6303 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6304 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p."); | |
6305 | return NULL; | |
6306 | } | |
6307 | } | |
6308 | { | |
6309 | wxPy_BEGIN_ALLOW_THREADS; | |
6310 | wxPyDrawnShape_base_OnDraw(_arg0,*_arg1); | |
6311 | ||
6312 | wxPy_END_ALLOW_THREADS; | |
6313 | } Py_INCREF(Py_None); | |
6314 | _resultobj = Py_None; | |
6315 | return _resultobj; | |
6316 | } | |
6317 | ||
6318 | #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6319 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6320 | PyObject * _resultobj; | |
6321 | wxPyDrawnShape * _arg0; | |
6322 | wxDC * _arg1; | |
6323 | PyObject * _argo0 = 0; | |
6324 | PyObject * _argo1 = 0; | |
6325 | char *_kwnames[] = { "self","dc", NULL }; | |
6326 | ||
6327 | self = self; | |
6328 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6329 | return NULL; | |
6330 | if (_argo0) { | |
6331 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6332 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6333 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p."); | |
6334 | return NULL; | |
6335 | } | |
6336 | } | |
6337 | if (_argo1) { | |
6338 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6339 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p."); | |
6341 | return NULL; | |
6342 | } | |
6343 | } | |
6344 | { | |
6345 | wxPy_BEGIN_ALLOW_THREADS; | |
6346 | wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1); | |
6347 | ||
6348 | wxPy_END_ALLOW_THREADS; | |
6349 | } Py_INCREF(Py_None); | |
6350 | _resultobj = Py_None; | |
6351 | return _resultobj; | |
6352 | } | |
6353 | ||
6354 | #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6355 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6356 | PyObject * _resultobj; | |
6357 | wxPyDrawnShape * _arg0; | |
6358 | wxDC * _arg1; | |
6359 | bool _arg2 = (bool ) FALSE; | |
6360 | PyObject * _argo0 = 0; | |
6361 | PyObject * _argo1 = 0; | |
6362 | int tempbool2 = (int) FALSE; | |
6363 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6364 | ||
6365 | self = self; | |
6366 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6367 | return NULL; | |
6368 | if (_argo0) { | |
6369 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6370 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6371 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p."); | |
6372 | return NULL; | |
6373 | } | |
6374 | } | |
6375 | if (_argo1) { | |
6376 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6377 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6378 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6379 | return NULL; | |
6380 | } | |
6381 | } | |
6382 | _arg2 = (bool ) tempbool2; | |
6383 | { | |
6384 | wxPy_BEGIN_ALLOW_THREADS; | |
6385 | wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
6386 | ||
6387 | wxPy_END_ALLOW_THREADS; | |
6388 | } Py_INCREF(Py_None); | |
6389 | _resultobj = Py_None; | |
6390 | return _resultobj; | |
6391 | } | |
6392 | ||
6393 | #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6394 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6395 | PyObject * _resultobj; | |
6396 | wxPyDrawnShape * _arg0; | |
6397 | wxDC * _arg1; | |
6398 | PyObject * _argo0 = 0; | |
6399 | PyObject * _argo1 = 0; | |
6400 | char *_kwnames[] = { "self","dc", NULL }; | |
6401 | ||
6402 | self = self; | |
6403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
6404 | return NULL; | |
6405 | if (_argo0) { | |
6406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p."); | |
6409 | return NULL; | |
6410 | } | |
6411 | } | |
6412 | if (_argo1) { | |
6413 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6414 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6416 | return NULL; | |
6417 | } | |
6418 | } | |
6419 | { | |
6420 | wxPy_BEGIN_ALLOW_THREADS; | |
6421 | wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1); | |
6422 | ||
6423 | wxPy_END_ALLOW_THREADS; | |
6424 | } Py_INCREF(Py_None); | |
6425 | _resultobj = Py_None; | |
6426 | return _resultobj; | |
6427 | } | |
6428 | ||
6429 | #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6430 | static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6431 | PyObject * _resultobj; | |
6432 | wxPyDrawnShape * _arg0; | |
6433 | wxDC * _arg1; | |
6434 | PyObject * _argo0 = 0; | |
6435 | PyObject * _argo1 = 0; | |
6436 | char *_kwnames[] = { "self","dc", NULL }; | |
6437 | ||
6438 | self = self; | |
6439 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6440 | return NULL; | |
6441 | if (_argo0) { | |
6442 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6443 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6444 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p."); | |
6445 | return NULL; | |
6446 | } | |
6447 | } | |
6448 | if (_argo1) { | |
6449 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6450 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6451 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p."); | |
6452 | return NULL; | |
6453 | } | |
6454 | } | |
6455 | { | |
6456 | wxPy_BEGIN_ALLOW_THREADS; | |
6457 | wxPyDrawnShape_base_OnErase(_arg0,*_arg1); | |
6458 | ||
6459 | wxPy_END_ALLOW_THREADS; | |
6460 | } Py_INCREF(Py_None); | |
6461 | _resultobj = Py_None; | |
6462 | return _resultobj; | |
6463 | } | |
6464 | ||
6465 | #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6466 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6467 | PyObject * _resultobj; | |
6468 | wxPyDrawnShape * _arg0; | |
6469 | wxDC * _arg1; | |
6470 | PyObject * _argo0 = 0; | |
6471 | PyObject * _argo1 = 0; | |
6472 | char *_kwnames[] = { "self","dc", NULL }; | |
6473 | ||
6474 | self = self; | |
6475 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6476 | return NULL; | |
6477 | if (_argo0) { | |
6478 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6479 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6480 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p."); | |
6481 | return NULL; | |
6482 | } | |
6483 | } | |
6484 | if (_argo1) { | |
6485 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6486 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6487 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p."); | |
6488 | return NULL; | |
6489 | } | |
6490 | } | |
6491 | { | |
6492 | wxPy_BEGIN_ALLOW_THREADS; | |
6493 | wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1); | |
6494 | ||
6495 | wxPy_END_ALLOW_THREADS; | |
6496 | } Py_INCREF(Py_None); | |
6497 | _resultobj = Py_None; | |
6498 | return _resultobj; | |
6499 | } | |
6500 | ||
6501 | #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6502 | static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6503 | PyObject * _resultobj; | |
6504 | wxPyDrawnShape * _arg0; | |
6505 | wxDC * _arg1; | |
6506 | PyObject * _argo0 = 0; | |
6507 | PyObject * _argo1 = 0; | |
6508 | char *_kwnames[] = { "self","dc", NULL }; | |
6509 | ||
6510 | self = self; | |
6511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6512 | return NULL; | |
6513 | if (_argo0) { | |
6514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p."); | |
6517 | return NULL; | |
6518 | } | |
6519 | } | |
6520 | if (_argo1) { | |
6521 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6522 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p."); | |
6524 | return NULL; | |
6525 | } | |
6526 | } | |
6527 | { | |
6528 | wxPy_BEGIN_ALLOW_THREADS; | |
6529 | wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1); | |
6530 | ||
6531 | wxPy_END_ALLOW_THREADS; | |
6532 | } Py_INCREF(Py_None); | |
6533 | _resultobj = Py_None; | |
6534 | return _resultobj; | |
6535 | } | |
6536 | ||
6537 | #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6538 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6539 | PyObject * _resultobj; | |
6540 | wxPyDrawnShape * _arg0; | |
6541 | double _arg1; | |
6542 | double _arg2; | |
6543 | int _arg3 = (int ) 0; | |
6544 | int _arg4 = (int ) 0; | |
6545 | PyObject * _argo0 = 0; | |
6546 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6547 | ||
6548 | self = self; | |
6549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6550 | return NULL; | |
6551 | if (_argo0) { | |
6552 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6553 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p."); | |
6555 | return NULL; | |
6556 | } | |
6557 | } | |
6558 | { | |
6559 | wxPy_BEGIN_ALLOW_THREADS; | |
6560 | wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6561 | ||
6562 | wxPy_END_ALLOW_THREADS; | |
6563 | } Py_INCREF(Py_None); | |
6564 | _resultobj = Py_None; | |
6565 | return _resultobj; | |
6566 | } | |
6567 | ||
6568 | #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6569 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6570 | PyObject * _resultobj; | |
6571 | wxPyDrawnShape * _arg0; | |
6572 | double _arg1; | |
6573 | double _arg2; | |
6574 | int _arg3 = (int ) 0; | |
6575 | int _arg4 = (int ) 0; | |
6576 | PyObject * _argo0 = 0; | |
6577 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6578 | ||
6579 | self = self; | |
6580 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6581 | return NULL; | |
6582 | if (_argo0) { | |
6583 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6584 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6585 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p."); | |
6586 | return NULL; | |
6587 | } | |
6588 | } | |
6589 | { | |
6590 | wxPy_BEGIN_ALLOW_THREADS; | |
6591 | wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6592 | ||
6593 | wxPy_END_ALLOW_THREADS; | |
6594 | } Py_INCREF(Py_None); | |
6595 | _resultobj = Py_None; | |
6596 | return _resultobj; | |
6597 | } | |
6598 | ||
6599 | #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6600 | static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6601 | PyObject * _resultobj; | |
6602 | wxPyDrawnShape * _arg0; | |
6603 | double _arg1; | |
6604 | double _arg2; | |
6605 | int _arg3 = (int ) 0; | |
6606 | int _arg4 = (int ) 0; | |
6607 | PyObject * _argo0 = 0; | |
6608 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6609 | ||
6610 | self = self; | |
6611 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6612 | return NULL; | |
6613 | if (_argo0) { | |
6614 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6615 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6616 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p."); | |
6617 | return NULL; | |
6618 | } | |
6619 | } | |
6620 | { | |
6621 | wxPy_BEGIN_ALLOW_THREADS; | |
6622 | wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6623 | ||
6624 | wxPy_END_ALLOW_THREADS; | |
6625 | } Py_INCREF(Py_None); | |
6626 | _resultobj = Py_None; | |
6627 | return _resultobj; | |
6628 | } | |
6629 | ||
6630 | #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
6631 | static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6632 | PyObject * _resultobj; | |
6633 | wxPyDrawnShape * _arg0; | |
6634 | double _arg1; | |
6635 | double _arg2; | |
6636 | PyObject * _argo0 = 0; | |
6637 | char *_kwnames[] = { "self","x","y", NULL }; | |
6638 | ||
6639 | self = self; | |
6640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6641 | return NULL; | |
6642 | if (_argo0) { | |
6643 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6644 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p."); | |
6646 | return NULL; | |
6647 | } | |
6648 | } | |
6649 | { | |
6650 | wxPy_BEGIN_ALLOW_THREADS; | |
6651 | wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2); | |
6652 | ||
6653 | wxPy_END_ALLOW_THREADS; | |
6654 | } Py_INCREF(Py_None); | |
6655 | _resultobj = Py_None; | |
6656 | return _resultobj; | |
6657 | } | |
6658 | ||
6659 | #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6660 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6661 | PyObject * _resultobj; | |
6662 | bool _result; | |
6663 | wxPyDrawnShape * _arg0; | |
6664 | wxDC * _arg1; | |
6665 | double _arg2; | |
6666 | double _arg3; | |
6667 | double _arg4; | |
6668 | double _arg5; | |
6669 | bool _arg6 = (bool ) TRUE; | |
6670 | PyObject * _argo0 = 0; | |
6671 | PyObject * _argo1 = 0; | |
6672 | int tempbool6 = (int) TRUE; | |
6673 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6674 | ||
6675 | self = self; | |
6676 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6677 | return NULL; | |
6678 | if (_argo0) { | |
6679 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6680 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6681 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p."); | |
6682 | return NULL; | |
6683 | } | |
6684 | } | |
6685 | if (_argo1) { | |
6686 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6687 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6688 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p."); | |
6689 | return NULL; | |
6690 | } | |
6691 | } | |
6692 | _arg6 = (bool ) tempbool6; | |
6693 | { | |
6694 | wxPy_BEGIN_ALLOW_THREADS; | |
6695 | _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6696 | ||
6697 | wxPy_END_ALLOW_THREADS; | |
6698 | } _resultobj = Py_BuildValue("i",_result); | |
6699 | return _resultobj; | |
6700 | } | |
6701 | ||
6702 | #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6703 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6704 | PyObject * _resultobj; | |
6705 | wxPyDrawnShape * _arg0; | |
6706 | wxDC * _arg1; | |
6707 | double _arg2; | |
6708 | double _arg3; | |
6709 | double _arg4; | |
6710 | double _arg5; | |
6711 | bool _arg6 = (bool ) TRUE; | |
6712 | PyObject * _argo0 = 0; | |
6713 | PyObject * _argo1 = 0; | |
6714 | int tempbool6 = (int) TRUE; | |
6715 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6716 | ||
6717 | self = self; | |
6718 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6719 | return NULL; | |
6720 | if (_argo0) { | |
6721 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6722 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6723 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p."); | |
6724 | return NULL; | |
6725 | } | |
6726 | } | |
6727 | if (_argo1) { | |
6728 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6729 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p."); | |
6731 | return NULL; | |
6732 | } | |
6733 | } | |
6734 | _arg6 = (bool ) tempbool6; | |
6735 | { | |
6736 | wxPy_BEGIN_ALLOW_THREADS; | |
6737 | wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
6738 | ||
6739 | wxPy_END_ALLOW_THREADS; | |
6740 | } Py_INCREF(Py_None); | |
6741 | _resultobj = Py_None; | |
6742 | return _resultobj; | |
6743 | } | |
6744 | ||
6745 | #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6746 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6747 | PyObject * _resultobj; | |
6748 | wxPyDrawnShape * _arg0; | |
6749 | bool _arg1; | |
6750 | double _arg2; | |
6751 | double _arg3; | |
6752 | int _arg4 = (int ) 0; | |
6753 | int _arg5 = (int ) 0; | |
6754 | PyObject * _argo0 = 0; | |
6755 | int tempbool1; | |
6756 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6757 | ||
6758 | self = self; | |
6759 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6760 | return NULL; | |
6761 | if (_argo0) { | |
6762 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6763 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p."); | |
6765 | return NULL; | |
6766 | } | |
6767 | } | |
6768 | _arg1 = (bool ) tempbool1; | |
6769 | { | |
6770 | wxPy_BEGIN_ALLOW_THREADS; | |
6771 | wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6772 | ||
6773 | wxPy_END_ALLOW_THREADS; | |
6774 | } Py_INCREF(Py_None); | |
6775 | _resultobj = Py_None; | |
6776 | return _resultobj; | |
6777 | } | |
6778 | ||
6779 | #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6780 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6781 | PyObject * _resultobj; | |
6782 | wxPyDrawnShape * _arg0; | |
6783 | double _arg1; | |
6784 | double _arg2; | |
6785 | int _arg3 = (int ) 0; | |
6786 | int _arg4 = (int ) 0; | |
6787 | PyObject * _argo0 = 0; | |
6788 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6789 | ||
6790 | self = self; | |
6791 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6792 | return NULL; | |
6793 | if (_argo0) { | |
6794 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6795 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
6797 | return NULL; | |
6798 | } | |
6799 | } | |
6800 | { | |
6801 | wxPy_BEGIN_ALLOW_THREADS; | |
6802 | wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6803 | ||
6804 | wxPy_END_ALLOW_THREADS; | |
6805 | } Py_INCREF(Py_None); | |
6806 | _resultobj = Py_None; | |
6807 | return _resultobj; | |
6808 | } | |
6809 | ||
6810 | #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6811 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6812 | PyObject * _resultobj; | |
6813 | wxPyDrawnShape * _arg0; | |
6814 | double _arg1; | |
6815 | double _arg2; | |
6816 | int _arg3 = (int ) 0; | |
6817 | int _arg4 = (int ) 0; | |
6818 | PyObject * _argo0 = 0; | |
6819 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6820 | ||
6821 | self = self; | |
6822 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6823 | return NULL; | |
6824 | if (_argo0) { | |
6825 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6826 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6827 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p."); | |
6828 | return NULL; | |
6829 | } | |
6830 | } | |
6831 | { | |
6832 | wxPy_BEGIN_ALLOW_THREADS; | |
6833 | wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6834 | ||
6835 | wxPy_END_ALLOW_THREADS; | |
6836 | } Py_INCREF(Py_None); | |
6837 | _resultobj = Py_None; | |
6838 | return _resultobj; | |
6839 | } | |
6840 | ||
6841 | #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6842 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6843 | PyObject * _resultobj; | |
6844 | wxPyDrawnShape * _arg0; | |
6845 | bool _arg1; | |
6846 | double _arg2; | |
6847 | double _arg3; | |
6848 | int _arg4 = (int ) 0; | |
6849 | int _arg5 = (int ) 0; | |
6850 | PyObject * _argo0 = 0; | |
6851 | int tempbool1; | |
6852 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
6853 | ||
6854 | self = self; | |
6855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6856 | return NULL; | |
6857 | if (_argo0) { | |
6858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p."); | |
6861 | return NULL; | |
6862 | } | |
6863 | } | |
6864 | _arg1 = (bool ) tempbool1; | |
6865 | { | |
6866 | wxPy_BEGIN_ALLOW_THREADS; | |
6867 | wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
6868 | ||
6869 | wxPy_END_ALLOW_THREADS; | |
6870 | } Py_INCREF(Py_None); | |
6871 | _resultobj = Py_None; | |
6872 | return _resultobj; | |
6873 | } | |
6874 | ||
6875 | #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6876 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6877 | PyObject * _resultobj; | |
6878 | wxPyDrawnShape * _arg0; | |
6879 | double _arg1; | |
6880 | double _arg2; | |
6881 | int _arg3 = (int ) 0; | |
6882 | int _arg4 = (int ) 0; | |
6883 | PyObject * _argo0 = 0; | |
6884 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6885 | ||
6886 | self = self; | |
6887 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6888 | return NULL; | |
6889 | if (_argo0) { | |
6890 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6891 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p."); | |
6893 | return NULL; | |
6894 | } | |
6895 | } | |
6896 | { | |
6897 | wxPy_BEGIN_ALLOW_THREADS; | |
6898 | wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6899 | ||
6900 | wxPy_END_ALLOW_THREADS; | |
6901 | } Py_INCREF(Py_None); | |
6902 | _resultobj = Py_None; | |
6903 | return _resultobj; | |
6904 | } | |
6905 | ||
6906 | #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6907 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6908 | PyObject * _resultobj; | |
6909 | wxPyDrawnShape * _arg0; | |
6910 | double _arg1; | |
6911 | double _arg2; | |
6912 | int _arg3 = (int ) 0; | |
6913 | int _arg4 = (int ) 0; | |
6914 | PyObject * _argo0 = 0; | |
6915 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6916 | ||
6917 | self = self; | |
6918 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6919 | return NULL; | |
6920 | if (_argo0) { | |
6921 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6922 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6923 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p."); | |
6924 | return NULL; | |
6925 | } | |
6926 | } | |
6927 | { | |
6928 | wxPy_BEGIN_ALLOW_THREADS; | |
6929 | wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
6930 | ||
6931 | wxPy_END_ALLOW_THREADS; | |
6932 | } Py_INCREF(Py_None); | |
6933 | _resultobj = Py_None; | |
6934 | return _resultobj; | |
6935 | } | |
6936 | ||
6937 | #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6938 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6939 | PyObject * _resultobj; | |
6940 | wxPyDrawnShape * _arg0; | |
6941 | wxDC * _arg1; | |
6942 | double _arg2; | |
6943 | double _arg3; | |
6944 | double _arg4; | |
6945 | double _arg5; | |
6946 | PyObject * _argo0 = 0; | |
6947 | PyObject * _argo1 = 0; | |
6948 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
6949 | ||
6950 | self = self; | |
6951 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
6952 | return NULL; | |
6953 | if (_argo0) { | |
6954 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6955 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6956 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p."); | |
6957 | return NULL; | |
6958 | } | |
6959 | } | |
6960 | if (_argo1) { | |
6961 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6962 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6963 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p."); | |
6964 | return NULL; | |
6965 | } | |
6966 | } | |
6967 | { | |
6968 | wxPy_BEGIN_ALLOW_THREADS; | |
6969 | wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
6970 | ||
6971 | wxPy_END_ALLOW_THREADS; | |
6972 | } Py_INCREF(Py_None); | |
6973 | _resultobj = Py_None; | |
6974 | return _resultobj; | |
6975 | } | |
6976 | ||
6977 | #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
6978 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6979 | PyObject * _resultobj; | |
6980 | wxPyDrawnShape * _arg0; | |
6981 | wxDC * _arg1; | |
6982 | PyObject * _argo0 = 0; | |
6983 | PyObject * _argo1 = 0; | |
6984 | char *_kwnames[] = { "self","dc", NULL }; | |
6985 | ||
6986 | self = self; | |
6987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
6988 | return NULL; | |
6989 | if (_argo0) { | |
6990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p."); | |
6993 | return NULL; | |
6994 | } | |
6995 | } | |
6996 | if (_argo1) { | |
6997 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6998 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7000 | return NULL; | |
7001 | } | |
7002 | } | |
7003 | { | |
7004 | wxPy_BEGIN_ALLOW_THREADS; | |
7005 | wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
7006 | ||
7007 | wxPy_END_ALLOW_THREADS; | |
7008 | } Py_INCREF(Py_None); | |
7009 | _resultobj = Py_None; | |
7010 | return _resultobj; | |
7011 | } | |
7012 | ||
7013 | #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7014 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7015 | PyObject * _resultobj; | |
7016 | wxPyDrawnShape * _arg0; | |
7017 | wxDC * _arg1; | |
7018 | PyObject * _argo0 = 0; | |
7019 | PyObject * _argo1 = 0; | |
7020 | char *_kwnames[] = { "self","dc", NULL }; | |
7021 | ||
7022 | self = self; | |
7023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7024 | return NULL; | |
7025 | if (_argo0) { | |
7026 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7027 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p."); | |
7029 | return NULL; | |
7030 | } | |
7031 | } | |
7032 | if (_argo1) { | |
7033 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7034 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7036 | return NULL; | |
7037 | } | |
7038 | } | |
7039 | { | |
7040 | wxPy_BEGIN_ALLOW_THREADS; | |
7041 | wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
7042 | ||
7043 | wxPy_END_ALLOW_THREADS; | |
7044 | } Py_INCREF(Py_None); | |
7045 | _resultobj = Py_None; | |
7046 | return _resultobj; | |
7047 | } | |
7048 | ||
7049 | #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7050 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7051 | PyObject * _resultobj; | |
7052 | wxPyDrawnShape * _arg0; | |
7053 | wxDC * _arg1; | |
7054 | bool _arg2 = (bool ) TRUE; | |
7055 | PyObject * _argo0 = 0; | |
7056 | PyObject * _argo1 = 0; | |
7057 | int tempbool2 = (int) TRUE; | |
7058 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7059 | ||
7060 | self = self; | |
7061 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7062 | return NULL; | |
7063 | if (_argo0) { | |
7064 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7065 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7066 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p."); | |
7067 | return NULL; | |
7068 | } | |
7069 | } | |
7070 | if (_argo1) { | |
7071 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7072 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p."); | |
7074 | return NULL; | |
7075 | } | |
7076 | } | |
7077 | _arg2 = (bool ) tempbool2; | |
7078 | { | |
7079 | wxPy_BEGIN_ALLOW_THREADS; | |
7080 | wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
7081 | ||
7082 | wxPy_END_ALLOW_THREADS; | |
7083 | } Py_INCREF(Py_None); | |
7084 | _resultobj = Py_None; | |
7085 | return _resultobj; | |
7086 | } | |
7087 | ||
7088 | #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7089 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7090 | PyObject * _resultobj; | |
7091 | wxPyDrawnShape * _arg0; | |
2348eaee | 7092 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7093 | bool _arg2; |
7094 | double _arg3; | |
7095 | double _arg4; | |
7096 | int _arg5 = (int ) 0; | |
7097 | int _arg6 = (int ) 0; | |
7098 | PyObject * _argo0 = 0; | |
7099 | PyObject * _argo1 = 0; | |
7100 | int tempbool2; | |
7101 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7102 | ||
7103 | self = self; | |
7104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7105 | return NULL; | |
7106 | if (_argo0) { | |
7107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p."); | |
7110 | return NULL; | |
7111 | } | |
7112 | } | |
7113 | if (_argo1) { | |
7114 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7115 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7117 | return NULL; |
7118 | } | |
7119 | } | |
7120 | _arg2 = (bool ) tempbool2; | |
7121 | { | |
7122 | wxPy_BEGIN_ALLOW_THREADS; | |
7123 | wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
7124 | ||
7125 | wxPy_END_ALLOW_THREADS; | |
7126 | } Py_INCREF(Py_None); | |
7127 | _resultobj = Py_None; | |
7128 | return _resultobj; | |
7129 | } | |
7130 | ||
7131 | #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7132 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7133 | PyObject * _resultobj; | |
7134 | wxPyDrawnShape * _arg0; | |
2348eaee | 7135 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7136 | double _arg2; |
7137 | double _arg3; | |
7138 | int _arg4 = (int ) 0; | |
7139 | int _arg5 = (int ) 0; | |
7140 | PyObject * _argo0 = 0; | |
7141 | PyObject * _argo1 = 0; | |
7142 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7143 | ||
7144 | self = self; | |
7145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7146 | return NULL; | |
7147 | if (_argo0) { | |
7148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
7151 | return NULL; | |
7152 | } | |
7153 | } | |
7154 | if (_argo1) { | |
7155 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7156 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7158 | return NULL; |
7159 | } | |
7160 | } | |
7161 | { | |
7162 | wxPy_BEGIN_ALLOW_THREADS; | |
7163 | wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7164 | ||
7165 | wxPy_END_ALLOW_THREADS; | |
7166 | } Py_INCREF(Py_None); | |
7167 | _resultobj = Py_None; | |
7168 | return _resultobj; | |
7169 | } | |
7170 | ||
7171 | #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7172 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7173 | PyObject * _resultobj; | |
7174 | wxPyDrawnShape * _arg0; | |
2348eaee | 7175 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7176 | double _arg2; |
7177 | double _arg3; | |
7178 | int _arg4 = (int ) 0; | |
7179 | int _arg5 = (int ) 0; | |
7180 | PyObject * _argo0 = 0; | |
7181 | PyObject * _argo1 = 0; | |
7182 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7183 | ||
7184 | self = self; | |
7185 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7186 | return NULL; | |
7187 | if (_argo0) { | |
7188 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7189 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p."); | |
7191 | return NULL; | |
7192 | } | |
7193 | } | |
7194 | if (_argo1) { | |
7195 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7196 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7198 | return NULL; |
7199 | } | |
7200 | } | |
7201 | { | |
7202 | wxPy_BEGIN_ALLOW_THREADS; | |
7203 | wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
7204 | ||
7205 | wxPy_END_ALLOW_THREADS; | |
7206 | } Py_INCREF(Py_None); | |
7207 | _resultobj = Py_None; | |
7208 | return _resultobj; | |
7209 | } | |
7210 | ||
7211 | #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7212 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7213 | PyObject * _resultobj; | |
7214 | wxPyDrawnShape * _arg0; | |
7215 | double _arg1; | |
7216 | double _arg2; | |
7217 | PyObject * _argo0 = 0; | |
7218 | char *_kwnames[] = { "self","w","h", NULL }; | |
7219 | ||
7220 | self = self; | |
7221 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7222 | return NULL; | |
7223 | if (_argo0) { | |
7224 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7225 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p."); | |
7227 | return NULL; | |
7228 | } | |
7229 | } | |
7230 | { | |
7231 | wxPy_BEGIN_ALLOW_THREADS; | |
7232 | wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
7233 | ||
7234 | wxPy_END_ALLOW_THREADS; | |
7235 | } Py_INCREF(Py_None); | |
7236 | _resultobj = Py_None; | |
7237 | return _resultobj; | |
7238 | } | |
7239 | ||
7240 | #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7241 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7242 | PyObject * _resultobj; | |
7243 | wxPyDrawnShape * _arg0; | |
7244 | double _arg1; | |
7245 | double _arg2; | |
7246 | PyObject * _argo0 = 0; | |
7247 | char *_kwnames[] = { "self","w","h", NULL }; | |
7248 | ||
7249 | self = self; | |
7250 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7251 | return NULL; | |
7252 | if (_argo0) { | |
7253 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7254 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7255 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p."); | |
7256 | return NULL; | |
7257 | } | |
7258 | } | |
7259 | { | |
7260 | wxPy_BEGIN_ALLOW_THREADS; | |
7261 | wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
7262 | ||
7263 | wxPy_END_ALLOW_THREADS; | |
7264 | } Py_INCREF(Py_None); | |
7265 | _resultobj = Py_None; | |
7266 | return _resultobj; | |
7267 | } | |
7268 | ||
7269 | static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) { | |
99ab9f3b | 7270 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); |
e91a9dfc RD |
7271 | wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list); |
7272 | delete list; | |
7273 | return rv; | |
7274 | } | |
7275 | ||
7276 | static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7277 | PyObject * _resultobj; | |
7278 | wxOGLConstraint * _result; | |
7279 | int _arg0; | |
7280 | wxPyShape * _arg1; | |
7281 | PyObject * _arg2; | |
7282 | PyObject * _argo1 = 0; | |
7283 | PyObject * _obj2 = 0; | |
7284 | char *_kwnames[] = { "type","constraining","constrained", NULL }; | |
7285 | char _ptemp[128]; | |
7286 | ||
7287 | self = self; | |
7288 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2)) | |
7289 | return NULL; | |
7290 | if (_argo1) { | |
7291 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7292 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7293 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p."); | |
7294 | return NULL; | |
7295 | } | |
7296 | } | |
7297 | { | |
7298 | _arg2 = _obj2; | |
7299 | } | |
7300 | { | |
7301 | wxPy_BEGIN_ALLOW_THREADS; | |
7302 | _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2); | |
7303 | ||
7304 | wxPy_END_ALLOW_THREADS; | |
7305 | } if (_result) { | |
7306 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7307 | _resultobj = Py_BuildValue("s",_ptemp); | |
7308 | } else { | |
7309 | Py_INCREF(Py_None); | |
7310 | _resultobj = Py_None; | |
7311 | } | |
7312 | return _resultobj; | |
7313 | } | |
7314 | ||
7315 | #define delete_wxOGLConstraint(_swigobj) (delete _swigobj) | |
7316 | static PyObject *_wrap_delete_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7317 | PyObject * _resultobj; | |
7318 | wxOGLConstraint * _arg0; | |
7319 | PyObject * _argo0 = 0; | |
7320 | char *_kwnames[] = { "self", NULL }; | |
7321 | ||
7322 | self = self; | |
7323 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxOGLConstraint",_kwnames,&_argo0)) | |
7324 | return NULL; | |
7325 | if (_argo0) { | |
7326 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7327 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7328 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxOGLConstraint. Expected _wxOGLConstraint_p."); | |
7329 | return NULL; | |
7330 | } | |
7331 | } | |
7332 | { | |
7333 | wxPy_BEGIN_ALLOW_THREADS; | |
7334 | delete_wxOGLConstraint(_arg0); | |
7335 | ||
7336 | wxPy_END_ALLOW_THREADS; | |
7337 | } Py_INCREF(Py_None); | |
7338 | _resultobj = Py_None; | |
7339 | return _resultobj; | |
7340 | } | |
7341 | ||
7342 | #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate()) | |
7343 | static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7344 | PyObject * _resultobj; | |
7345 | bool _result; | |
7346 | wxOGLConstraint * _arg0; | |
7347 | PyObject * _argo0 = 0; | |
7348 | char *_kwnames[] = { "self", NULL }; | |
7349 | ||
7350 | self = self; | |
7351 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0)) | |
7352 | return NULL; | |
7353 | if (_argo0) { | |
7354 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7355 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p."); | |
7357 | return NULL; | |
7358 | } | |
7359 | } | |
7360 | { | |
7361 | wxPy_BEGIN_ALLOW_THREADS; | |
7362 | _result = (bool )wxOGLConstraint_Evaluate(_arg0); | |
7363 | ||
7364 | wxPy_END_ALLOW_THREADS; | |
7365 | } _resultobj = Py_BuildValue("i",_result); | |
7366 | return _resultobj; | |
7367 | } | |
7368 | ||
7369 | #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1)) | |
7370 | static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7371 | PyObject * _resultobj; | |
7372 | wxOGLConstraint * _arg0; | |
7373 | double _arg1; | |
7374 | double _arg2; | |
7375 | PyObject * _argo0 = 0; | |
7376 | char *_kwnames[] = { "self","x","y", NULL }; | |
7377 | ||
7378 | self = self; | |
7379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7380 | return NULL; | |
7381 | if (_argo0) { | |
7382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p."); | |
7385 | return NULL; | |
7386 | } | |
7387 | } | |
7388 | { | |
7389 | wxPy_BEGIN_ALLOW_THREADS; | |
7390 | wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2); | |
7391 | ||
7392 | wxPy_END_ALLOW_THREADS; | |
7393 | } Py_INCREF(Py_None); | |
7394 | _resultobj = Py_None; | |
7395 | return _resultobj; | |
7396 | } | |
7397 | ||
7398 | #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1)) | |
7399 | static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7400 | PyObject * _resultobj; | |
7401 | bool _result; | |
7402 | wxOGLConstraint * _arg0; | |
7403 | double _arg1; | |
7404 | double _arg2; | |
7405 | PyObject * _argo0 = 0; | |
7406 | char *_kwnames[] = { "self","a","b", NULL }; | |
7407 | ||
7408 | self = self; | |
7409 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7410 | return NULL; | |
7411 | if (_argo0) { | |
7412 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7413 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7414 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p."); | |
7415 | return NULL; | |
7416 | } | |
7417 | } | |
7418 | { | |
7419 | wxPy_BEGIN_ALLOW_THREADS; | |
7420 | _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2); | |
7421 | ||
7422 | wxPy_END_ALLOW_THREADS; | |
7423 | } _resultobj = Py_BuildValue("i",_result); | |
7424 | return _resultobj; | |
7425 | } | |
7426 | ||
7427 | static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) { | |
7428 | wxPyCompositeShape *src; | |
7429 | wxPyRectangleShape *dest; | |
7430 | src = (wxPyCompositeShape *) ptr; | |
7431 | dest = (wxPyRectangleShape *) src; | |
7432 | return (void *) dest; | |
7433 | } | |
7434 | ||
7435 | static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) { | |
7436 | wxPyCompositeShape *src; | |
7437 | wxPyShape *dest; | |
7438 | src = (wxPyCompositeShape *) ptr; | |
7439 | dest = (wxPyShape *) src; | |
7440 | return (void *) dest; | |
7441 | } | |
7442 | ||
7443 | static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) { | |
7444 | wxPyCompositeShape *src; | |
7445 | wxPyShapeEvtHandler *dest; | |
7446 | src = (wxPyCompositeShape *) ptr; | |
7447 | dest = (wxPyShapeEvtHandler *) src; | |
7448 | return (void *) dest; | |
7449 | } | |
7450 | ||
7451 | #define new_wxPyCompositeShape() (new wxPyCompositeShape()) | |
7452 | static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7453 | PyObject * _resultobj; | |
7454 | wxPyCompositeShape * _result; | |
7455 | char *_kwnames[] = { NULL }; | |
7456 | char _ptemp[128]; | |
7457 | ||
7458 | self = self; | |
7459 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames)) | |
7460 | return NULL; | |
7461 | { | |
7462 | wxPy_BEGIN_ALLOW_THREADS; | |
7463 | _result = (wxPyCompositeShape *)new_wxPyCompositeShape(); | |
7464 | ||
7465 | wxPy_END_ALLOW_THREADS; | |
7466 | } if (_result) { | |
7467 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p"); | |
7468 | _resultobj = Py_BuildValue("s",_ptemp); | |
7469 | } else { | |
7470 | Py_INCREF(Py_None); | |
7471 | _resultobj = Py_None; | |
7472 | } | |
7473 | return _resultobj; | |
7474 | } | |
7475 | ||
f6bcfd97 | 7476 | #define wxPyCompositeShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
7477 | static PyObject *_wrap_wxPyCompositeShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
7478 | PyObject * _resultobj; | |
7479 | wxPyCompositeShape * _arg0; | |
7480 | PyObject * _arg1; | |
f6bcfd97 | 7481 | PyObject * _arg2; |
e91a9dfc RD |
7482 | PyObject * _argo0 = 0; |
7483 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
7484 | PyObject * _obj2 = 0; |
7485 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
7486 | |
7487 | self = self; | |
f6bcfd97 | 7488 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
7489 | return NULL; |
7490 | if (_argo0) { | |
7491 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7492 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setSelf. Expected _wxPyCompositeShape_p."); | |
7494 | return NULL; | |
7495 | } | |
7496 | } | |
7497 | { | |
7498 | _arg1 = _obj1; | |
7499 | } | |
f6bcfd97 BP |
7500 | { |
7501 | _arg2 = _obj2; | |
7502 | } | |
e91a9dfc RD |
7503 | { |
7504 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 7505 | wxPyCompositeShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
7506 | |
7507 | wxPy_END_ALLOW_THREADS; | |
7508 | } Py_INCREF(Py_None); | |
7509 | _resultobj = Py_None; | |
7510 | return _resultobj; | |
7511 | } | |
7512 | ||
7513 | #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1)) | |
7514 | static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7515 | PyObject * _resultobj; | |
7516 | wxPyCompositeShape * _arg0; | |
7517 | wxPyShape * _arg1; | |
7518 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
7519 | PyObject * _argo0 = 0; | |
7520 | PyObject * _argo1 = 0; | |
7521 | PyObject * _argo2 = 0; | |
7522 | char *_kwnames[] = { "self","child","addAfter", NULL }; | |
7523 | ||
7524 | self = self; | |
7525 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7526 | return NULL; | |
7527 | if (_argo0) { | |
7528 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7529 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7530 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p."); | |
7531 | return NULL; | |
7532 | } | |
7533 | } | |
7534 | if (_argo1) { | |
7535 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7536 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7537 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7538 | return NULL; | |
7539 | } | |
7540 | } | |
7541 | if (_argo2) { | |
7542 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7543 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7544 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7545 | return NULL; | |
7546 | } | |
7547 | } | |
7548 | { | |
7549 | wxPy_BEGIN_ALLOW_THREADS; | |
7550 | wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2); | |
7551 | ||
7552 | wxPy_END_ALLOW_THREADS; | |
7553 | } Py_INCREF(Py_None); | |
7554 | _resultobj = Py_None; | |
7555 | return _resultobj; | |
7556 | } | |
7557 | ||
7558 | #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0)) | |
7559 | static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7560 | PyObject * _resultobj; | |
7561 | wxOGLConstraint * _result; | |
7562 | wxPyCompositeShape * _arg0; | |
7563 | wxOGLConstraint * _arg1; | |
7564 | PyObject * _argo0 = 0; | |
7565 | PyObject * _argo1 = 0; | |
7566 | char *_kwnames[] = { "self","constraint", NULL }; | |
7567 | char _ptemp[128]; | |
7568 | ||
7569 | self = self; | |
7570 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1)) | |
7571 | return NULL; | |
7572 | if (_argo0) { | |
7573 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7574 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p."); | |
7576 | return NULL; | |
7577 | } | |
7578 | } | |
7579 | if (_argo1) { | |
7580 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7581 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7582 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p."); | |
7583 | return NULL; | |
7584 | } | |
7585 | } | |
7586 | { | |
7587 | wxPy_BEGIN_ALLOW_THREADS; | |
7588 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1); | |
7589 | ||
7590 | wxPy_END_ALLOW_THREADS; | |
7591 | } if (_result) { | |
7592 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7593 | _resultobj = Py_BuildValue("s",_ptemp); | |
7594 | } else { | |
7595 | Py_INCREF(Py_None); | |
7596 | _resultobj = Py_None; | |
7597 | } | |
7598 | return _resultobj; | |
7599 | } | |
7600 | ||
714d23b4 | 7601 | static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) { |
99ab9f3b | 7602 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); |
714d23b4 RD |
7603 | wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list); |
7604 | delete list; | |
7605 | return rv; | |
7606 | } | |
7607 | static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7608 | PyObject * _resultobj; | |
7609 | wxOGLConstraint * _result; | |
7610 | wxPyCompositeShape * _arg0; | |
7611 | int _arg1; | |
7612 | wxPyShape * _arg2; | |
7613 | PyObject * _arg3; | |
7614 | PyObject * _argo0 = 0; | |
7615 | PyObject * _argo2 = 0; | |
7616 | PyObject * _obj3 = 0; | |
7617 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
7618 | char _ptemp[128]; | |
7619 | ||
7620 | self = self; | |
7621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3)) | |
7622 | return NULL; | |
7623 | if (_argo0) { | |
7624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p."); | |
7627 | return NULL; | |
7628 | } | |
7629 | } | |
7630 | if (_argo2) { | |
7631 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7632 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7633 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p."); | |
7634 | return NULL; | |
7635 | } | |
7636 | } | |
7637 | { | |
7638 | _arg3 = _obj3; | |
7639 | } | |
7640 | { | |
7641 | wxPy_BEGIN_ALLOW_THREADS; | |
7642 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3); | |
7643 | ||
7644 | wxPy_END_ALLOW_THREADS; | |
7645 | } if (_result) { | |
7646 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7647 | _resultobj = Py_BuildValue("s",_ptemp); | |
7648 | } else { | |
7649 | Py_INCREF(Py_None); | |
7650 | _resultobj = Py_None; | |
7651 | } | |
7652 | return _resultobj; | |
7653 | } | |
7654 | ||
e91a9dfc RD |
7655 | #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2)) |
7656 | static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7657 | PyObject * _resultobj; | |
7658 | wxOGLConstraint * _result; | |
7659 | wxPyCompositeShape * _arg0; | |
7660 | int _arg1; | |
7661 | wxPyShape * _arg2; | |
7662 | wxPyShape * _arg3; | |
7663 | PyObject * _argo0 = 0; | |
7664 | PyObject * _argo2 = 0; | |
7665 | PyObject * _argo3 = 0; | |
7666 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
7667 | char _ptemp[128]; | |
7668 | ||
7669 | self = self; | |
7670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
7671 | return NULL; | |
7672 | if (_argo0) { | |
7673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p."); | |
7676 | return NULL; | |
7677 | } | |
7678 | } | |
7679 | if (_argo2) { | |
7680 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7681 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7683 | return NULL; | |
7684 | } | |
7685 | } | |
7686 | if (_argo3) { | |
7687 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
7688 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) { | |
7689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7690 | return NULL; | |
7691 | } | |
7692 | } | |
7693 | { | |
7694 | wxPy_BEGIN_ALLOW_THREADS; | |
7695 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3); | |
7696 | ||
7697 | wxPy_END_ALLOW_THREADS; | |
7698 | } if (_result) { | |
7699 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7700 | _resultobj = Py_BuildValue("s",_ptemp); | |
7701 | } else { | |
7702 | Py_INCREF(Py_None); | |
7703 | _resultobj = Py_None; | |
7704 | } | |
7705 | return _resultobj; | |
7706 | } | |
7707 | ||
7708 | #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
7709 | static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7710 | PyObject * _resultobj; | |
7711 | wxPyCompositeShape * _arg0; | |
7712 | PyObject * _argo0 = 0; | |
7713 | char *_kwnames[] = { "self", NULL }; | |
7714 | ||
7715 | self = self; | |
7716 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0)) | |
7717 | return NULL; | |
7718 | if (_argo0) { | |
7719 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7720 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7721 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p."); | |
7722 | return NULL; | |
7723 | } | |
7724 | } | |
7725 | { | |
7726 | wxPy_BEGIN_ALLOW_THREADS; | |
7727 | wxPyCompositeShape_CalculateSize(_arg0); | |
7728 | ||
7729 | wxPy_END_ALLOW_THREADS; | |
7730 | } Py_INCREF(Py_None); | |
7731 | _resultobj = Py_None; | |
7732 | return _resultobj; | |
7733 | } | |
7734 | ||
7735 | #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0)) | |
7736 | static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7737 | PyObject * _resultobj; | |
7738 | bool _result; | |
7739 | wxPyCompositeShape * _arg0; | |
7740 | wxPyDivisionShape * _arg1; | |
7741 | PyObject * _argo0 = 0; | |
7742 | PyObject * _argo1 = 0; | |
7743 | char *_kwnames[] = { "self","division", NULL }; | |
7744 | ||
7745 | self = self; | |
7746 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1)) | |
7747 | return NULL; | |
7748 | if (_argo0) { | |
7749 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7750 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7751 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p."); | |
7752 | return NULL; | |
7753 | } | |
7754 | } | |
7755 | if (_argo1) { | |
7756 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7757 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
7758 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p."); | |
7759 | return NULL; | |
7760 | } | |
7761 | } | |
7762 | { | |
7763 | wxPy_BEGIN_ALLOW_THREADS; | |
7764 | _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1); | |
7765 | ||
7766 | wxPy_END_ALLOW_THREADS; | |
7767 | } _resultobj = Py_BuildValue("i",_result); | |
7768 | return _resultobj; | |
7769 | } | |
7770 | ||
7771 | #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0)) | |
7772 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7773 | PyObject * _resultobj; | |
7774 | wxPyCompositeShape * _arg0; | |
7775 | wxOGLConstraint * _arg1; | |
7776 | PyObject * _argo0 = 0; | |
7777 | PyObject * _argo1 = 0; | |
7778 | char *_kwnames[] = { "self","constraint", NULL }; | |
7779 | ||
7780 | self = self; | |
7781 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1)) | |
7782 | return NULL; | |
7783 | if (_argo0) { | |
7784 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7785 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7786 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p."); | |
7787 | return NULL; | |
7788 | } | |
7789 | } | |
7790 | if (_argo1) { | |
7791 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7792 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7793 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p."); | |
7794 | return NULL; | |
7795 | } | |
7796 | } | |
7797 | { | |
7798 | wxPy_BEGIN_ALLOW_THREADS; | |
7799 | wxPyCompositeShape_DeleteConstraint(_arg0,_arg1); | |
7800 | ||
7801 | wxPy_END_ALLOW_THREADS; | |
7802 | } Py_INCREF(Py_None); | |
7803 | _resultobj = Py_None; | |
7804 | return _resultobj; | |
7805 | } | |
7806 | ||
7807 | #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0)) | |
7808 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7809 | PyObject * _resultobj; | |
7810 | wxPyCompositeShape * _arg0; | |
7811 | wxPyShape * _arg1; | |
7812 | PyObject * _argo0 = 0; | |
7813 | PyObject * _argo1 = 0; | |
7814 | char *_kwnames[] = { "self","child", NULL }; | |
7815 | ||
7816 | self = self; | |
7817 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1)) | |
7818 | return NULL; | |
7819 | if (_argo0) { | |
7820 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7821 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7822 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p."); | |
7823 | return NULL; | |
7824 | } | |
7825 | } | |
7826 | if (_argo1) { | |
7827 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7828 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7829 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p."); | |
7830 | return NULL; | |
7831 | } | |
7832 | } | |
7833 | { | |
7834 | wxPy_BEGIN_ALLOW_THREADS; | |
7835 | wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1); | |
7836 | ||
7837 | wxPy_END_ALLOW_THREADS; | |
7838 | } Py_INCREF(Py_None); | |
7839 | _resultobj = Py_None; | |
7840 | return _resultobj; | |
7841 | } | |
7842 | ||
7843 | #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage()) | |
7844 | static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7845 | PyObject * _resultobj; | |
7846 | wxPyShape * _result; | |
7847 | wxPyCompositeShape * _arg0; | |
7848 | PyObject * _argo0 = 0; | |
7849 | char *_kwnames[] = { "self", NULL }; | |
7850 | char _ptemp[128]; | |
7851 | ||
7852 | self = self; | |
7853 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0)) | |
7854 | return NULL; | |
7855 | if (_argo0) { | |
7856 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7857 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7858 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p."); | |
7859 | return NULL; | |
7860 | } | |
7861 | } | |
7862 | { | |
7863 | wxPy_BEGIN_ALLOW_THREADS; | |
7864 | _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0); | |
7865 | ||
7866 | wxPy_END_ALLOW_THREADS; | |
7867 | } if (_result) { | |
7868 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p"); | |
7869 | _resultobj = Py_BuildValue("s",_ptemp); | |
7870 | } else { | |
7871 | Py_INCREF(Py_None); | |
7872 | _resultobj = Py_None; | |
7873 | } | |
7874 | return _resultobj; | |
7875 | } | |
7876 | ||
7877 | static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) { | |
7878 | wxList& list = self->GetConstraints(); | |
7879 | return wxPy_ConvertList(&list, "wxOGLConstraint"); | |
7880 | } | |
7881 | static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7882 | PyObject * _resultobj; | |
7883 | PyObject * _result; | |
7884 | wxPyCompositeShape * _arg0; | |
7885 | PyObject * _argo0 = 0; | |
7886 | char *_kwnames[] = { "self", NULL }; | |
7887 | ||
7888 | self = self; | |
7889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0)) | |
7890 | return NULL; | |
7891 | if (_argo0) { | |
7892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p."); | |
7895 | return NULL; | |
7896 | } | |
7897 | } | |
7898 | { | |
7899 | wxPy_BEGIN_ALLOW_THREADS; | |
7900 | _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0); | |
7901 | ||
7902 | wxPy_END_ALLOW_THREADS; | |
7903 | }{ | |
7904 | _resultobj = _result; | |
7905 | } | |
7906 | return _resultobj; | |
7907 | } | |
7908 | ||
7909 | static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) { | |
7910 | wxList& list = self->GetDivisions(); | |
7911 | return wxPy_ConvertList(&list, "wxPyDivisionShape"); | |
7912 | } | |
7913 | static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7914 | PyObject * _resultobj; | |
7915 | PyObject * _result; | |
7916 | wxPyCompositeShape * _arg0; | |
7917 | PyObject * _argo0 = 0; | |
7918 | char *_kwnames[] = { "self", NULL }; | |
7919 | ||
7920 | self = self; | |
7921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0)) | |
7922 | return NULL; | |
7923 | if (_argo0) { | |
7924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p."); | |
7927 | return NULL; | |
7928 | } | |
7929 | } | |
7930 | { | |
7931 | wxPy_BEGIN_ALLOW_THREADS; | |
7932 | _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0); | |
7933 | ||
7934 | wxPy_END_ALLOW_THREADS; | |
7935 | }{ | |
7936 | _resultobj = _result; | |
7937 | } | |
7938 | return _resultobj; | |
7939 | } | |
7940 | ||
7941 | #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer()) | |
7942 | static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7943 | PyObject * _resultobj; | |
7944 | wxPyCompositeShape * _arg0; | |
7945 | PyObject * _argo0 = 0; | |
7946 | char *_kwnames[] = { "self", NULL }; | |
7947 | ||
7948 | self = self; | |
7949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0)) | |
7950 | return NULL; | |
7951 | if (_argo0) { | |
7952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p."); | |
7955 | return NULL; | |
7956 | } | |
7957 | } | |
7958 | { | |
7959 | wxPy_BEGIN_ALLOW_THREADS; | |
7960 | wxPyCompositeShape_MakeContainer(_arg0); | |
7961 | ||
7962 | wxPy_END_ALLOW_THREADS; | |
7963 | } Py_INCREF(Py_None); | |
7964 | _resultobj = Py_None; | |
7965 | return _resultobj; | |
7966 | } | |
7967 | ||
7968 | #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
7969 | static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7970 | PyObject * _resultobj; | |
7971 | bool _result; | |
7972 | wxPyCompositeShape * _arg0; | |
7973 | PyObject * _argo0 = 0; | |
7974 | char *_kwnames[] = { "self", NULL }; | |
7975 | ||
7976 | self = self; | |
7977 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0)) | |
7978 | return NULL; | |
7979 | if (_argo0) { | |
7980 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7981 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7982 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p."); | |
7983 | return NULL; | |
7984 | } | |
7985 | } | |
7986 | { | |
7987 | wxPy_BEGIN_ALLOW_THREADS; | |
7988 | _result = (bool )wxPyCompositeShape_Recompute(_arg0); | |
7989 | ||
7990 | wxPy_END_ALLOW_THREADS; | |
7991 | } _resultobj = Py_BuildValue("i",_result); | |
7992 | return _resultobj; | |
7993 | } | |
7994 | ||
7995 | #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0)) | |
7996 | static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7997 | PyObject * _resultobj; | |
7998 | wxPyCompositeShape * _arg0; | |
7999 | wxPyShape * _arg1; | |
8000 | PyObject * _argo0 = 0; | |
8001 | PyObject * _argo1 = 0; | |
8002 | char *_kwnames[] = { "self","child", NULL }; | |
8003 | ||
8004 | self = self; | |
8005 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
8006 | return NULL; | |
8007 | if (_argo0) { | |
8008 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8009 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8010 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p."); | |
8011 | return NULL; | |
8012 | } | |
8013 | } | |
8014 | if (_argo1) { | |
8015 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8016 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
8017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p."); | |
8018 | return NULL; | |
8019 | } | |
8020 | } | |
8021 | { | |
8022 | wxPy_BEGIN_ALLOW_THREADS; | |
8023 | wxPyCompositeShape_RemoveChild(_arg0,_arg1); | |
8024 | ||
8025 | wxPy_END_ALLOW_THREADS; | |
8026 | } Py_INCREF(Py_None); | |
8027 | _resultobj = Py_None; | |
8028 | return _resultobj; | |
8029 | } | |
8030 | ||
8031 | #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
8032 | static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8033 | PyObject * _resultobj; | |
8034 | wxPyCompositeShape * _arg0; | |
8035 | PyObject * _argo0 = 0; | |
8036 | char *_kwnames[] = { "self", NULL }; | |
8037 | ||
8038 | self = self; | |
8039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0)) | |
8040 | return NULL; | |
8041 | if (_argo0) { | |
8042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p."); | |
8045 | return NULL; | |
8046 | } | |
8047 | } | |
8048 | { | |
8049 | wxPy_BEGIN_ALLOW_THREADS; | |
8050 | wxPyCompositeShape_base_OnDelete(_arg0); | |
8051 | ||
8052 | wxPy_END_ALLOW_THREADS; | |
8053 | } Py_INCREF(Py_None); | |
8054 | _resultobj = Py_None; | |
8055 | return _resultobj; | |
8056 | } | |
8057 | ||
8058 | #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
8059 | static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8060 | PyObject * _resultobj; | |
8061 | wxPyCompositeShape * _arg0; | |
8062 | wxDC * _arg1; | |
8063 | PyObject * _argo0 = 0; | |
8064 | PyObject * _argo1 = 0; | |
8065 | char *_kwnames[] = { "self","dc", NULL }; | |
8066 | ||
8067 | self = self; | |
8068 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
8069 | return NULL; | |
8070 | if (_argo0) { | |
8071 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8072 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8073 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p."); | |
8074 | return NULL; | |
8075 | } | |
8076 | } | |
8077 | if (_argo1) { | |
8078 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8079 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8080 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p."); | |
8081 | return NULL; | |
8082 | } | |
8083 | } | |
8084 | { | |
8085 | wxPy_BEGIN_ALLOW_THREADS; | |
8086 | wxPyCompositeShape_base_OnDraw(_arg0,*_arg1); | |
8087 | ||
8088 | wxPy_END_ALLOW_THREADS; | |
8089 | } Py_INCREF(Py_None); | |
8090 | _resultobj = Py_None; | |
8091 | return _resultobj; | |
8092 | } | |
8093 | ||
8094 | #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
8095 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(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_OnDrawContents",_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_OnDrawContents. 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_OnDrawContents. Expected _wxDC_p."); | |
8117 | return NULL; | |
8118 | } | |
8119 | } | |
8120 | { | |
8121 | wxPy_BEGIN_ALLOW_THREADS; | |
8122 | wxPyCompositeShape_base_OnDrawContents(_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_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
8131 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8132 | PyObject * _resultobj; | |
8133 | wxPyCompositeShape * _arg0; | |
8134 | wxDC * _arg1; | |
8135 | bool _arg2 = (bool ) FALSE; | |
8136 | PyObject * _argo0 = 0; | |
8137 | PyObject * _argo1 = 0; | |
8138 | int tempbool2 = (int) FALSE; | |
8139 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
8140 | ||
8141 | self = self; | |
8142 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8143 | return NULL; | |
8144 | if (_argo0) { | |
8145 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8146 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8147 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p."); | |
8148 | return NULL; | |
8149 | } | |
8150 | } | |
8151 | if (_argo1) { | |
8152 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8153 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8154 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p."); | |
8155 | return NULL; | |
8156 | } | |
8157 | } | |
8158 | _arg2 = (bool ) tempbool2; | |
8159 | { | |
8160 | wxPy_BEGIN_ALLOW_THREADS; | |
8161 | wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
8162 | ||
8163 | wxPy_END_ALLOW_THREADS; | |
8164 | } Py_INCREF(Py_None); | |
8165 | _resultobj = Py_None; | |
8166 | return _resultobj; | |
8167 | } | |
8168 | ||
8169 | #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
8170 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8171 | PyObject * _resultobj; | |
8172 | wxPyCompositeShape * _arg0; | |
8173 | wxDC * _arg1; | |
8174 | PyObject * _argo0 = 0; | |
8175 | PyObject * _argo1 = 0; | |
8176 | char *_kwnames[] = { "self","dc", NULL }; | |
8177 | ||
8178 | self = self; | |
8179 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
8180 | return NULL; | |
8181 | if (_argo0) { | |
8182 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8183 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8184 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p."); | |
8185 | return NULL; | |
8186 | } | |
8187 | } | |
8188 | if (_argo1) { | |
8189 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8190 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8191 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p."); | |
8192 | return NULL; | |
8193 | } | |
8194 | } | |
8195 | { | |
8196 | wxPy_BEGIN_ALLOW_THREADS; | |
8197 | wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1); | |
8198 | ||
8199 | wxPy_END_ALLOW_THREADS; | |
8200 | } Py_INCREF(Py_None); | |
8201 | _resultobj = Py_None; | |
8202 | return _resultobj; | |
8203 | } | |
8204 | ||
8205 | #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
8206 | static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8207 | PyObject * _resultobj; | |
8208 | wxPyCompositeShape * _arg0; | |
8209 | wxDC * _arg1; | |
8210 | PyObject * _argo0 = 0; | |
8211 | PyObject * _argo1 = 0; | |
8212 | char *_kwnames[] = { "self","dc", NULL }; | |
8213 | ||
8214 | self = self; | |
8215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
8216 | return NULL; | |
8217 | if (_argo0) { | |
8218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p."); | |
8221 | return NULL; | |
8222 | } | |
8223 | } | |
8224 | if (_argo1) { | |
8225 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8226 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8227 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p."); | |
8228 | return NULL; | |
8229 | } | |
8230 | } | |
8231 | { | |
8232 | wxPy_BEGIN_ALLOW_THREADS; | |
8233 | wxPyCompositeShape_base_OnErase(_arg0,*_arg1); | |
8234 | ||
8235 | wxPy_END_ALLOW_THREADS; | |
8236 | } Py_INCREF(Py_None); | |
8237 | _resultobj = Py_None; | |
8238 | return _resultobj; | |
8239 | } | |
8240 | ||
8241 | #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
8242 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8243 | PyObject * _resultobj; | |
8244 | wxPyCompositeShape * _arg0; | |
8245 | wxDC * _arg1; | |
8246 | PyObject * _argo0 = 0; | |
8247 | PyObject * _argo1 = 0; | |
8248 | char *_kwnames[] = { "self","dc", NULL }; | |
8249 | ||
8250 | self = self; | |
8251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
8252 | return NULL; | |
8253 | if (_argo0) { | |
8254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p."); | |
8257 | return NULL; | |
8258 | } | |
8259 | } | |
8260 | if (_argo1) { | |
8261 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8262 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p."); | |
8264 | return NULL; | |
8265 | } | |
8266 | } | |
8267 | { | |
8268 | wxPy_BEGIN_ALLOW_THREADS; | |
8269 | wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1); | |
8270 | ||
8271 | wxPy_END_ALLOW_THREADS; | |
8272 | } Py_INCREF(Py_None); | |
8273 | _resultobj = Py_None; | |
8274 | return _resultobj; | |
8275 | } | |
8276 | ||
8277 | #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
8278 | static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8279 | PyObject * _resultobj; | |
8280 | wxPyCompositeShape * _arg0; | |
8281 | wxDC * _arg1; | |
8282 | PyObject * _argo0 = 0; | |
8283 | PyObject * _argo1 = 0; | |
8284 | char *_kwnames[] = { "self","dc", NULL }; | |
8285 | ||
8286 | self = self; | |
8287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
8288 | return NULL; | |
8289 | if (_argo0) { | |
8290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p."); | |
8293 | return NULL; | |
8294 | } | |
8295 | } | |
8296 | if (_argo1) { | |
8297 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8298 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p."); | |
8300 | return NULL; | |
8301 | } | |
8302 | } | |
8303 | { | |
8304 | wxPy_BEGIN_ALLOW_THREADS; | |
8305 | wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1); | |
8306 | ||
8307 | wxPy_END_ALLOW_THREADS; | |
8308 | } Py_INCREF(Py_None); | |
8309 | _resultobj = Py_None; | |
8310 | return _resultobj; | |
8311 | } | |
8312 | ||
8313 | #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8314 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8315 | PyObject * _resultobj; | |
8316 | wxPyCompositeShape * _arg0; | |
8317 | double _arg1; | |
8318 | double _arg2; | |
8319 | int _arg3 = (int ) 0; | |
8320 | int _arg4 = (int ) 0; | |
8321 | PyObject * _argo0 = 0; | |
8322 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8323 | ||
8324 | self = self; | |
8325 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8326 | return NULL; | |
8327 | if (_argo0) { | |
8328 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8329 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8330 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p."); | |
8331 | return NULL; | |
8332 | } | |
8333 | } | |
8334 | { | |
8335 | wxPy_BEGIN_ALLOW_THREADS; | |
8336 | wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8337 | ||
8338 | wxPy_END_ALLOW_THREADS; | |
8339 | } Py_INCREF(Py_None); | |
8340 | _resultobj = Py_None; | |
8341 | return _resultobj; | |
8342 | } | |
8343 | ||
8344 | #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8345 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8346 | PyObject * _resultobj; | |
8347 | wxPyCompositeShape * _arg0; | |
8348 | double _arg1; | |
8349 | double _arg2; | |
8350 | int _arg3 = (int ) 0; | |
8351 | int _arg4 = (int ) 0; | |
8352 | PyObject * _argo0 = 0; | |
8353 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8354 | ||
8355 | self = self; | |
8356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8357 | return NULL; | |
8358 | if (_argo0) { | |
8359 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8360 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p."); | |
8362 | return NULL; | |
8363 | } | |
8364 | } | |
8365 | { | |
8366 | wxPy_BEGIN_ALLOW_THREADS; | |
8367 | wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8368 | ||
8369 | wxPy_END_ALLOW_THREADS; | |
8370 | } Py_INCREF(Py_None); | |
8371 | _resultobj = Py_None; | |
8372 | return _resultobj; | |
8373 | } | |
8374 | ||
8375 | #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8376 | static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8377 | PyObject * _resultobj; | |
8378 | wxPyCompositeShape * _arg0; | |
8379 | double _arg1; | |
8380 | double _arg2; | |
8381 | int _arg3 = (int ) 0; | |
8382 | int _arg4 = (int ) 0; | |
8383 | PyObject * _argo0 = 0; | |
8384 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8385 | ||
8386 | self = self; | |
8387 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8388 | return NULL; | |
8389 | if (_argo0) { | |
8390 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8391 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8392 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p."); | |
8393 | return NULL; | |
8394 | } | |
8395 | } | |
8396 | { | |
8397 | wxPy_BEGIN_ALLOW_THREADS; | |
8398 | wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8399 | ||
8400 | wxPy_END_ALLOW_THREADS; | |
8401 | } Py_INCREF(Py_None); | |
8402 | _resultobj = Py_None; | |
8403 | return _resultobj; | |
8404 | } | |
8405 | ||
8406 | #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
8407 | static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8408 | PyObject * _resultobj; | |
8409 | wxPyCompositeShape * _arg0; | |
8410 | double _arg1; | |
8411 | double _arg2; | |
8412 | PyObject * _argo0 = 0; | |
8413 | char *_kwnames[] = { "self","x","y", NULL }; | |
8414 | ||
8415 | self = self; | |
8416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8417 | return NULL; | |
8418 | if (_argo0) { | |
8419 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8420 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8421 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p."); | |
8422 | return NULL; | |
8423 | } | |
8424 | } | |
8425 | { | |
8426 | wxPy_BEGIN_ALLOW_THREADS; | |
8427 | wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2); | |
8428 | ||
8429 | wxPy_END_ALLOW_THREADS; | |
8430 | } Py_INCREF(Py_None); | |
8431 | _resultobj = Py_None; | |
8432 | return _resultobj; | |
8433 | } | |
8434 | ||
8435 | #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8436 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8437 | PyObject * _resultobj; | |
8438 | bool _result; | |
8439 | wxPyCompositeShape * _arg0; | |
8440 | wxDC * _arg1; | |
8441 | double _arg2; | |
8442 | double _arg3; | |
8443 | double _arg4; | |
8444 | double _arg5; | |
8445 | bool _arg6 = (bool ) TRUE; | |
8446 | PyObject * _argo0 = 0; | |
8447 | PyObject * _argo1 = 0; | |
8448 | int tempbool6 = (int) TRUE; | |
8449 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8450 | ||
8451 | self = self; | |
8452 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8453 | return NULL; | |
8454 | if (_argo0) { | |
8455 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8456 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8457 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p."); | |
8458 | return NULL; | |
8459 | } | |
8460 | } | |
8461 | if (_argo1) { | |
8462 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8463 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8464 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p."); | |
8465 | return NULL; | |
8466 | } | |
8467 | } | |
8468 | _arg6 = (bool ) tempbool6; | |
8469 | { | |
8470 | wxPy_BEGIN_ALLOW_THREADS; | |
8471 | _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8472 | ||
8473 | wxPy_END_ALLOW_THREADS; | |
8474 | } _resultobj = Py_BuildValue("i",_result); | |
8475 | return _resultobj; | |
8476 | } | |
8477 | ||
8478 | #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8479 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8480 | PyObject * _resultobj; | |
8481 | wxPyCompositeShape * _arg0; | |
8482 | wxDC * _arg1; | |
8483 | double _arg2; | |
8484 | double _arg3; | |
8485 | double _arg4; | |
8486 | double _arg5; | |
8487 | bool _arg6 = (bool ) TRUE; | |
8488 | PyObject * _argo0 = 0; | |
8489 | PyObject * _argo1 = 0; | |
8490 | int tempbool6 = (int) TRUE; | |
8491 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8492 | ||
8493 | self = self; | |
8494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8495 | return NULL; | |
8496 | if (_argo0) { | |
8497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p."); | |
8500 | return NULL; | |
8501 | } | |
8502 | } | |
8503 | if (_argo1) { | |
8504 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8505 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8506 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p."); | |
8507 | return NULL; | |
8508 | } | |
8509 | } | |
8510 | _arg6 = (bool ) tempbool6; | |
8511 | { | |
8512 | wxPy_BEGIN_ALLOW_THREADS; | |
8513 | wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8514 | ||
8515 | wxPy_END_ALLOW_THREADS; | |
8516 | } Py_INCREF(Py_None); | |
8517 | _resultobj = Py_None; | |
8518 | return _resultobj; | |
8519 | } | |
8520 | ||
8521 | #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8522 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8523 | PyObject * _resultobj; | |
8524 | wxPyCompositeShape * _arg0; | |
8525 | bool _arg1; | |
8526 | double _arg2; | |
8527 | double _arg3; | |
8528 | int _arg4 = (int ) 0; | |
8529 | int _arg5 = (int ) 0; | |
8530 | PyObject * _argo0 = 0; | |
8531 | int tempbool1; | |
8532 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8533 | ||
8534 | self = self; | |
8535 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8536 | return NULL; | |
8537 | if (_argo0) { | |
8538 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8539 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8540 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p."); | |
8541 | return NULL; | |
8542 | } | |
8543 | } | |
8544 | _arg1 = (bool ) tempbool1; | |
8545 | { | |
8546 | wxPy_BEGIN_ALLOW_THREADS; | |
8547 | wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8548 | ||
8549 | wxPy_END_ALLOW_THREADS; | |
8550 | } Py_INCREF(Py_None); | |
8551 | _resultobj = Py_None; | |
8552 | return _resultobj; | |
8553 | } | |
8554 | ||
8555 | #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8556 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8557 | PyObject * _resultobj; | |
8558 | wxPyCompositeShape * _arg0; | |
8559 | double _arg1; | |
8560 | double _arg2; | |
8561 | int _arg3 = (int ) 0; | |
8562 | int _arg4 = (int ) 0; | |
8563 | PyObject * _argo0 = 0; | |
8564 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8565 | ||
8566 | self = self; | |
8567 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8568 | return NULL; | |
8569 | if (_argo0) { | |
8570 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8571 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8572 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8573 | return NULL; | |
8574 | } | |
8575 | } | |
8576 | { | |
8577 | wxPy_BEGIN_ALLOW_THREADS; | |
8578 | wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8579 | ||
8580 | wxPy_END_ALLOW_THREADS; | |
8581 | } Py_INCREF(Py_None); | |
8582 | _resultobj = Py_None; | |
8583 | return _resultobj; | |
8584 | } | |
8585 | ||
8586 | #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8587 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8588 | PyObject * _resultobj; | |
8589 | wxPyCompositeShape * _arg0; | |
8590 | double _arg1; | |
8591 | double _arg2; | |
8592 | int _arg3 = (int ) 0; | |
8593 | int _arg4 = (int ) 0; | |
8594 | PyObject * _argo0 = 0; | |
8595 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8596 | ||
8597 | self = self; | |
8598 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8599 | return NULL; | |
8600 | if (_argo0) { | |
8601 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8602 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8603 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p."); | |
8604 | return NULL; | |
8605 | } | |
8606 | } | |
8607 | { | |
8608 | wxPy_BEGIN_ALLOW_THREADS; | |
8609 | wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8610 | ||
8611 | wxPy_END_ALLOW_THREADS; | |
8612 | } Py_INCREF(Py_None); | |
8613 | _resultobj = Py_None; | |
8614 | return _resultobj; | |
8615 | } | |
8616 | ||
8617 | #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8618 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8619 | PyObject * _resultobj; | |
8620 | wxPyCompositeShape * _arg0; | |
8621 | bool _arg1; | |
8622 | double _arg2; | |
8623 | double _arg3; | |
8624 | int _arg4 = (int ) 0; | |
8625 | int _arg5 = (int ) 0; | |
8626 | PyObject * _argo0 = 0; | |
8627 | int tempbool1; | |
8628 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8629 | ||
8630 | self = self; | |
8631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8632 | return NULL; | |
8633 | if (_argo0) { | |
8634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p."); | |
8637 | return NULL; | |
8638 | } | |
8639 | } | |
8640 | _arg1 = (bool ) tempbool1; | |
8641 | { | |
8642 | wxPy_BEGIN_ALLOW_THREADS; | |
8643 | wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8644 | ||
8645 | wxPy_END_ALLOW_THREADS; | |
8646 | } Py_INCREF(Py_None); | |
8647 | _resultobj = Py_None; | |
8648 | return _resultobj; | |
8649 | } | |
8650 | ||
8651 | #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8652 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8653 | PyObject * _resultobj; | |
8654 | wxPyCompositeShape * _arg0; | |
8655 | double _arg1; | |
8656 | double _arg2; | |
8657 | int _arg3 = (int ) 0; | |
8658 | int _arg4 = (int ) 0; | |
8659 | PyObject * _argo0 = 0; | |
8660 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8661 | ||
8662 | self = self; | |
8663 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8664 | return NULL; | |
8665 | if (_argo0) { | |
8666 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8667 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8668 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p."); | |
8669 | return NULL; | |
8670 | } | |
8671 | } | |
8672 | { | |
8673 | wxPy_BEGIN_ALLOW_THREADS; | |
8674 | wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8675 | ||
8676 | wxPy_END_ALLOW_THREADS; | |
8677 | } Py_INCREF(Py_None); | |
8678 | _resultobj = Py_None; | |
8679 | return _resultobj; | |
8680 | } | |
8681 | ||
8682 | #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8683 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8684 | PyObject * _resultobj; | |
8685 | wxPyCompositeShape * _arg0; | |
8686 | double _arg1; | |
8687 | double _arg2; | |
8688 | int _arg3 = (int ) 0; | |
8689 | int _arg4 = (int ) 0; | |
8690 | PyObject * _argo0 = 0; | |
8691 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8692 | ||
8693 | self = self; | |
8694 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8695 | return NULL; | |
8696 | if (_argo0) { | |
8697 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8698 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p."); | |
8700 | return NULL; | |
8701 | } | |
8702 | } | |
8703 | { | |
8704 | wxPy_BEGIN_ALLOW_THREADS; | |
8705 | wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
8706 | ||
8707 | wxPy_END_ALLOW_THREADS; | |
8708 | } Py_INCREF(Py_None); | |
8709 | _resultobj = Py_None; | |
8710 | return _resultobj; | |
8711 | } | |
8712 | ||
8713 | #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8714 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8715 | PyObject * _resultobj; | |
8716 | wxPyCompositeShape * _arg0; | |
8717 | wxDC * _arg1; | |
8718 | double _arg2; | |
8719 | double _arg3; | |
8720 | double _arg4; | |
8721 | double _arg5; | |
8722 | PyObject * _argo0 = 0; | |
8723 | PyObject * _argo1 = 0; | |
8724 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
8725 | ||
8726 | self = self; | |
8727 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8728 | return NULL; | |
8729 | if (_argo0) { | |
8730 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8731 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8732 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p."); | |
8733 | return NULL; | |
8734 | } | |
8735 | } | |
8736 | if (_argo1) { | |
8737 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8738 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p."); | |
8740 | return NULL; | |
8741 | } | |
8742 | } | |
8743 | { | |
8744 | wxPy_BEGIN_ALLOW_THREADS; | |
8745 | wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
8746 | ||
8747 | wxPy_END_ALLOW_THREADS; | |
8748 | } Py_INCREF(Py_None); | |
8749 | _resultobj = Py_None; | |
8750 | return _resultobj; | |
8751 | } | |
8752 | ||
8753 | #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
8754 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8755 | PyObject * _resultobj; | |
8756 | wxPyCompositeShape * _arg0; | |
8757 | wxDC * _arg1; | |
8758 | PyObject * _argo0 = 0; | |
8759 | PyObject * _argo1 = 0; | |
8760 | char *_kwnames[] = { "self","dc", NULL }; | |
8761 | ||
8762 | self = self; | |
8763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
8764 | return NULL; | |
8765 | if (_argo0) { | |
8766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p."); | |
8769 | return NULL; | |
8770 | } | |
8771 | } | |
8772 | if (_argo1) { | |
8773 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8774 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8775 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
8776 | return NULL; | |
8777 | } | |
8778 | } | |
8779 | { | |
8780 | wxPy_BEGIN_ALLOW_THREADS; | |
8781 | wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
8782 | ||
8783 | wxPy_END_ALLOW_THREADS; | |
8784 | } Py_INCREF(Py_None); | |
8785 | _resultobj = Py_None; | |
8786 | return _resultobj; | |
8787 | } | |
8788 | ||
8789 | #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
8790 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8791 | PyObject * _resultobj; | |
8792 | wxPyCompositeShape * _arg0; | |
8793 | wxDC * _arg1; | |
8794 | PyObject * _argo0 = 0; | |
8795 | PyObject * _argo1 = 0; | |
8796 | char *_kwnames[] = { "self","dc", NULL }; | |
8797 | ||
8798 | self = self; | |
8799 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
8800 | return NULL; | |
8801 | if (_argo0) { | |
8802 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8803 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8804 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p."); | |
8805 | return NULL; | |
8806 | } | |
8807 | } | |
8808 | if (_argo1) { | |
8809 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8810 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8811 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
8812 | return NULL; | |
8813 | } | |
8814 | } | |
8815 | { | |
8816 | wxPy_BEGIN_ALLOW_THREADS; | |
8817 | wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
8818 | ||
8819 | wxPy_END_ALLOW_THREADS; | |
8820 | } Py_INCREF(Py_None); | |
8821 | _resultobj = Py_None; | |
8822 | return _resultobj; | |
8823 | } | |
8824 | ||
8825 | #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
8826 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8827 | PyObject * _resultobj; | |
8828 | wxPyCompositeShape * _arg0; | |
8829 | wxDC * _arg1; | |
8830 | bool _arg2 = (bool ) TRUE; | |
8831 | PyObject * _argo0 = 0; | |
8832 | PyObject * _argo1 = 0; | |
8833 | int tempbool2 = (int) TRUE; | |
8834 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
8835 | ||
8836 | self = self; | |
8837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8838 | return NULL; | |
8839 | if (_argo0) { | |
8840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p."); | |
8843 | return NULL; | |
8844 | } | |
8845 | } | |
8846 | if (_argo1) { | |
8847 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8848 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p."); | |
8850 | return NULL; | |
8851 | } | |
8852 | } | |
8853 | _arg2 = (bool ) tempbool2; | |
8854 | { | |
8855 | wxPy_BEGIN_ALLOW_THREADS; | |
8856 | wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
8857 | ||
8858 | wxPy_END_ALLOW_THREADS; | |
8859 | } Py_INCREF(Py_None); | |
8860 | _resultobj = Py_None; | |
8861 | return _resultobj; | |
8862 | } | |
8863 | ||
8864 | #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8865 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8866 | PyObject * _resultobj; | |
8867 | wxPyCompositeShape * _arg0; | |
2348eaee | 8868 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8869 | bool _arg2; |
8870 | double _arg3; | |
8871 | double _arg4; | |
8872 | int _arg5 = (int ) 0; | |
8873 | int _arg6 = (int ) 0; | |
8874 | PyObject * _argo0 = 0; | |
8875 | PyObject * _argo1 = 0; | |
8876 | int tempbool2; | |
8877 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
8878 | ||
8879 | self = self; | |
8880 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
8881 | return NULL; | |
8882 | if (_argo0) { | |
8883 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8884 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p."); | |
8886 | return NULL; | |
8887 | } | |
8888 | } | |
8889 | if (_argo1) { | |
8890 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8891 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8892 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8893 | return NULL; |
8894 | } | |
8895 | } | |
8896 | _arg2 = (bool ) tempbool2; | |
8897 | { | |
8898 | wxPy_BEGIN_ALLOW_THREADS; | |
8899 | wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
8900 | ||
8901 | wxPy_END_ALLOW_THREADS; | |
8902 | } Py_INCREF(Py_None); | |
8903 | _resultobj = Py_None; | |
8904 | return _resultobj; | |
8905 | } | |
8906 | ||
8907 | #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8908 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8909 | PyObject * _resultobj; | |
8910 | wxPyCompositeShape * _arg0; | |
2348eaee | 8911 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8912 | double _arg2; |
8913 | double _arg3; | |
8914 | int _arg4 = (int ) 0; | |
8915 | int _arg5 = (int ) 0; | |
8916 | PyObject * _argo0 = 0; | |
8917 | PyObject * _argo1 = 0; | |
8918 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8919 | ||
8920 | self = self; | |
8921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8922 | return NULL; | |
8923 | if (_argo0) { | |
8924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8927 | return NULL; | |
8928 | } | |
8929 | } | |
8930 | if (_argo1) { | |
8931 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8932 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8934 | return NULL; |
8935 | } | |
8936 | } | |
8937 | { | |
8938 | wxPy_BEGIN_ALLOW_THREADS; | |
8939 | wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8940 | ||
8941 | wxPy_END_ALLOW_THREADS; | |
8942 | } Py_INCREF(Py_None); | |
8943 | _resultobj = Py_None; | |
8944 | return _resultobj; | |
8945 | } | |
8946 | ||
8947 | #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8948 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8949 | PyObject * _resultobj; | |
8950 | wxPyCompositeShape * _arg0; | |
2348eaee | 8951 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
8952 | double _arg2; |
8953 | double _arg3; | |
8954 | int _arg4 = (int ) 0; | |
8955 | int _arg5 = (int ) 0; | |
8956 | PyObject * _argo0 = 0; | |
8957 | PyObject * _argo1 = 0; | |
8958 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
8959 | ||
8960 | self = self; | |
8961 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8962 | return NULL; | |
8963 | if (_argo0) { | |
8964 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8965 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8966 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p."); | |
8967 | return NULL; | |
8968 | } | |
8969 | } | |
8970 | if (_argo1) { | |
8971 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
8972 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
8973 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
8974 | return NULL; |
8975 | } | |
8976 | } | |
8977 | { | |
8978 | wxPy_BEGIN_ALLOW_THREADS; | |
8979 | wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
8980 | ||
8981 | wxPy_END_ALLOW_THREADS; | |
8982 | } Py_INCREF(Py_None); | |
8983 | _resultobj = Py_None; | |
8984 | return _resultobj; | |
8985 | } | |
8986 | ||
8987 | #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
8988 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8989 | PyObject * _resultobj; | |
8990 | wxPyCompositeShape * _arg0; | |
8991 | double _arg1; | |
8992 | double _arg2; | |
8993 | PyObject * _argo0 = 0; | |
8994 | char *_kwnames[] = { "self","w","h", NULL }; | |
8995 | ||
8996 | self = self; | |
8997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8998 | return NULL; | |
8999 | if (_argo0) { | |
9000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p."); | |
9003 | return NULL; | |
9004 | } | |
9005 | } | |
9006 | { | |
9007 | wxPy_BEGIN_ALLOW_THREADS; | |
9008 | wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
9009 | ||
9010 | wxPy_END_ALLOW_THREADS; | |
9011 | } Py_INCREF(Py_None); | |
9012 | _resultobj = Py_None; | |
9013 | return _resultobj; | |
9014 | } | |
9015 | ||
9016 | #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
9017 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9018 | PyObject * _resultobj; | |
9019 | wxPyCompositeShape * _arg0; | |
9020 | double _arg1; | |
9021 | double _arg2; | |
9022 | PyObject * _argo0 = 0; | |
9023 | char *_kwnames[] = { "self","w","h", NULL }; | |
9024 | ||
9025 | self = self; | |
9026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9027 | return NULL; | |
9028 | if (_argo0) { | |
9029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p."); | |
9032 | return NULL; | |
9033 | } | |
9034 | } | |
9035 | { | |
9036 | wxPy_BEGIN_ALLOW_THREADS; | |
9037 | wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
9038 | ||
9039 | wxPy_END_ALLOW_THREADS; | |
9040 | } Py_INCREF(Py_None); | |
9041 | _resultobj = Py_None; | |
9042 | return _resultobj; | |
9043 | } | |
9044 | ||
9045 | static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) { | |
9046 | wxPyDividedShape *src; | |
9047 | wxPyRectangleShape *dest; | |
9048 | src = (wxPyDividedShape *) ptr; | |
9049 | dest = (wxPyRectangleShape *) src; | |
9050 | return (void *) dest; | |
9051 | } | |
9052 | ||
9053 | static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) { | |
9054 | wxPyDividedShape *src; | |
9055 | wxPyShape *dest; | |
9056 | src = (wxPyDividedShape *) ptr; | |
9057 | dest = (wxPyShape *) src; | |
9058 | return (void *) dest; | |
9059 | } | |
9060 | ||
9061 | static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) { | |
9062 | wxPyDividedShape *src; | |
9063 | wxPyShapeEvtHandler *dest; | |
9064 | src = (wxPyDividedShape *) ptr; | |
9065 | dest = (wxPyShapeEvtHandler *) src; | |
9066 | return (void *) dest; | |
9067 | } | |
9068 | ||
9069 | #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1)) | |
9070 | static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9071 | PyObject * _resultobj; | |
9072 | wxPyDividedShape * _result; | |
9073 | double _arg0 = (double ) 0.0; | |
9074 | double _arg1 = (double ) 0.0; | |
9075 | char *_kwnames[] = { "width","height", NULL }; | |
9076 | char _ptemp[128]; | |
9077 | ||
9078 | self = self; | |
9079 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1)) | |
9080 | return NULL; | |
9081 | { | |
9082 | wxPy_BEGIN_ALLOW_THREADS; | |
9083 | _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1); | |
9084 | ||
9085 | wxPy_END_ALLOW_THREADS; | |
9086 | } if (_result) { | |
9087 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p"); | |
9088 | _resultobj = Py_BuildValue("s",_ptemp); | |
9089 | } else { | |
9090 | Py_INCREF(Py_None); | |
9091 | _resultobj = Py_None; | |
9092 | } | |
9093 | return _resultobj; | |
9094 | } | |
9095 | ||
f6bcfd97 | 9096 | #define wxPyDividedShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
9097 | static PyObject *_wrap_wxPyDividedShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
9098 | PyObject * _resultobj; | |
9099 | wxPyDividedShape * _arg0; | |
9100 | PyObject * _arg1; | |
f6bcfd97 | 9101 | PyObject * _arg2; |
e91a9dfc RD |
9102 | PyObject * _argo0 = 0; |
9103 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
9104 | PyObject * _obj2 = 0; |
9105 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
9106 | |
9107 | self = self; | |
f6bcfd97 | 9108 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
9109 | return NULL; |
9110 | if (_argo0) { | |
9111 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9112 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9113 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setSelf. Expected _wxPyDividedShape_p."); | |
9114 | return NULL; | |
9115 | } | |
9116 | } | |
9117 | { | |
9118 | _arg1 = _obj1; | |
9119 | } | |
f6bcfd97 BP |
9120 | { |
9121 | _arg2 = _obj2; | |
9122 | } | |
e91a9dfc RD |
9123 | { |
9124 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 9125 | wxPyDividedShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
9126 | |
9127 | wxPy_END_ALLOW_THREADS; | |
9128 | } Py_INCREF(Py_None); | |
9129 | _resultobj = Py_None; | |
9130 | return _resultobj; | |
9131 | } | |
9132 | ||
9133 | #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions()) | |
9134 | static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9135 | PyObject * _resultobj; | |
9136 | wxPyDividedShape * _arg0; | |
9137 | PyObject * _argo0 = 0; | |
9138 | char *_kwnames[] = { "self", NULL }; | |
9139 | ||
9140 | self = self; | |
9141 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0)) | |
9142 | return NULL; | |
9143 | if (_argo0) { | |
9144 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9145 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9146 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p."); | |
9147 | return NULL; | |
9148 | } | |
9149 | } | |
9150 | { | |
9151 | wxPy_BEGIN_ALLOW_THREADS; | |
9152 | wxPyDividedShape_EditRegions(_arg0); | |
9153 | ||
9154 | wxPy_END_ALLOW_THREADS; | |
9155 | } Py_INCREF(Py_None); | |
9156 | _resultobj = Py_None; | |
9157 | return _resultobj; | |
9158 | } | |
9159 | ||
9160 | #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes()) | |
9161 | static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9162 | PyObject * _resultobj; | |
9163 | wxPyDividedShape * _arg0; | |
9164 | PyObject * _argo0 = 0; | |
9165 | char *_kwnames[] = { "self", NULL }; | |
9166 | ||
9167 | self = self; | |
9168 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0)) | |
9169 | return NULL; | |
9170 | if (_argo0) { | |
9171 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9172 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9173 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p."); | |
9174 | return NULL; | |
9175 | } | |
9176 | } | |
9177 | { | |
9178 | wxPy_BEGIN_ALLOW_THREADS; | |
9179 | wxPyDividedShape_SetRegionSizes(_arg0); | |
9180 | ||
9181 | wxPy_END_ALLOW_THREADS; | |
9182 | } Py_INCREF(Py_None); | |
9183 | _resultobj = Py_None; | |
9184 | return _resultobj; | |
9185 | } | |
9186 | ||
9187 | #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
9188 | static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9189 | PyObject * _resultobj; | |
9190 | wxPyDividedShape * _arg0; | |
9191 | PyObject * _argo0 = 0; | |
9192 | char *_kwnames[] = { "self", NULL }; | |
9193 | ||
9194 | self = self; | |
9195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0)) | |
9196 | return NULL; | |
9197 | if (_argo0) { | |
9198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p."); | |
9201 | return NULL; | |
9202 | } | |
9203 | } | |
9204 | { | |
9205 | wxPy_BEGIN_ALLOW_THREADS; | |
9206 | wxPyDividedShape_base_OnDelete(_arg0); | |
9207 | ||
9208 | wxPy_END_ALLOW_THREADS; | |
9209 | } Py_INCREF(Py_None); | |
9210 | _resultobj = Py_None; | |
9211 | return _resultobj; | |
9212 | } | |
9213 | ||
9214 | #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
9215 | static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9216 | PyObject * _resultobj; | |
9217 | wxPyDividedShape * _arg0; | |
9218 | wxDC * _arg1; | |
9219 | PyObject * _argo0 = 0; | |
9220 | PyObject * _argo1 = 0; | |
9221 | char *_kwnames[] = { "self","dc", NULL }; | |
9222 | ||
9223 | self = self; | |
9224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
9225 | return NULL; | |
9226 | if (_argo0) { | |
9227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p."); | |
9230 | return NULL; | |
9231 | } | |
9232 | } | |
9233 | if (_argo1) { | |
9234 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9235 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p."); | |
9237 | return NULL; | |
9238 | } | |
9239 | } | |
9240 | { | |
9241 | wxPy_BEGIN_ALLOW_THREADS; | |
9242 | wxPyDividedShape_base_OnDraw(_arg0,*_arg1); | |
9243 | ||
9244 | wxPy_END_ALLOW_THREADS; | |
9245 | } Py_INCREF(Py_None); | |
9246 | _resultobj = Py_None; | |
9247 | return _resultobj; | |
9248 | } | |
9249 | ||
9250 | #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
9251 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9252 | PyObject * _resultobj; | |
9253 | wxPyDividedShape * _arg0; | |
9254 | wxDC * _arg1; | |
9255 | PyObject * _argo0 = 0; | |
9256 | PyObject * _argo1 = 0; | |
9257 | char *_kwnames[] = { "self","dc", NULL }; | |
9258 | ||
9259 | self = self; | |
9260 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
9261 | return NULL; | |
9262 | if (_argo0) { | |
9263 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9264 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p."); | |
9266 | return NULL; | |
9267 | } | |
9268 | } | |
9269 | if (_argo1) { | |
9270 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9271 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p."); | |
9273 | return NULL; | |
9274 | } | |
9275 | } | |
9276 | { | |
9277 | wxPy_BEGIN_ALLOW_THREADS; | |
9278 | wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1); | |
9279 | ||
9280 | wxPy_END_ALLOW_THREADS; | |
9281 | } Py_INCREF(Py_None); | |
9282 | _resultobj = Py_None; | |
9283 | return _resultobj; | |
9284 | } | |
9285 | ||
9286 | #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
9287 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9288 | PyObject * _resultobj; | |
9289 | wxPyDividedShape * _arg0; | |
9290 | wxDC * _arg1; | |
9291 | bool _arg2 = (bool ) FALSE; | |
9292 | PyObject * _argo0 = 0; | |
9293 | PyObject * _argo1 = 0; | |
9294 | int tempbool2 = (int) FALSE; | |
9295 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
9296 | ||
9297 | self = self; | |
9298 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9299 | return NULL; | |
9300 | if (_argo0) { | |
9301 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9302 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9303 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p."); | |
9304 | return NULL; | |
9305 | } | |
9306 | } | |
9307 | if (_argo1) { | |
9308 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9309 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9310 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p."); | |
9311 | return NULL; | |
9312 | } | |
9313 | } | |
9314 | _arg2 = (bool ) tempbool2; | |
9315 | { | |
9316 | wxPy_BEGIN_ALLOW_THREADS; | |
9317 | wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
9318 | ||
9319 | wxPy_END_ALLOW_THREADS; | |
9320 | } Py_INCREF(Py_None); | |
9321 | _resultobj = Py_None; | |
9322 | return _resultobj; | |
9323 | } | |
9324 | ||
9325 | #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
9326 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9327 | PyObject * _resultobj; | |
9328 | wxPyDividedShape * _arg0; | |
9329 | wxDC * _arg1; | |
9330 | PyObject * _argo0 = 0; | |
9331 | PyObject * _argo1 = 0; | |
9332 | char *_kwnames[] = { "self","dc", NULL }; | |
9333 | ||
9334 | self = self; | |
9335 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
9336 | return NULL; | |
9337 | if (_argo0) { | |
9338 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9339 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9340 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p."); | |
9341 | return NULL; | |
9342 | } | |
9343 | } | |
9344 | if (_argo1) { | |
9345 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9346 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p."); | |
9348 | return NULL; | |
9349 | } | |
9350 | } | |
9351 | { | |
9352 | wxPy_BEGIN_ALLOW_THREADS; | |
9353 | wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1); | |
9354 | ||
9355 | wxPy_END_ALLOW_THREADS; | |
9356 | } Py_INCREF(Py_None); | |
9357 | _resultobj = Py_None; | |
9358 | return _resultobj; | |
9359 | } | |
9360 | ||
9361 | #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
9362 | static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9363 | PyObject * _resultobj; | |
9364 | wxPyDividedShape * _arg0; | |
9365 | wxDC * _arg1; | |
9366 | PyObject * _argo0 = 0; | |
9367 | PyObject * _argo1 = 0; | |
9368 | char *_kwnames[] = { "self","dc", NULL }; | |
9369 | ||
9370 | self = self; | |
9371 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
9372 | return NULL; | |
9373 | if (_argo0) { | |
9374 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9375 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9376 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p."); | |
9377 | return NULL; | |
9378 | } | |
9379 | } | |
9380 | if (_argo1) { | |
9381 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9382 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p."); | |
9384 | return NULL; | |
9385 | } | |
9386 | } | |
9387 | { | |
9388 | wxPy_BEGIN_ALLOW_THREADS; | |
9389 | wxPyDividedShape_base_OnErase(_arg0,*_arg1); | |
9390 | ||
9391 | wxPy_END_ALLOW_THREADS; | |
9392 | } Py_INCREF(Py_None); | |
9393 | _resultobj = Py_None; | |
9394 | return _resultobj; | |
9395 | } | |
9396 | ||
9397 | #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
9398 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9399 | PyObject * _resultobj; | |
9400 | wxPyDividedShape * _arg0; | |
9401 | wxDC * _arg1; | |
9402 | PyObject * _argo0 = 0; | |
9403 | PyObject * _argo1 = 0; | |
9404 | char *_kwnames[] = { "self","dc", NULL }; | |
9405 | ||
9406 | self = self; | |
9407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
9408 | return NULL; | |
9409 | if (_argo0) { | |
9410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p."); | |
9413 | return NULL; | |
9414 | } | |
9415 | } | |
9416 | if (_argo1) { | |
9417 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9418 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9419 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p."); | |
9420 | return NULL; | |
9421 | } | |
9422 | } | |
9423 | { | |
9424 | wxPy_BEGIN_ALLOW_THREADS; | |
9425 | wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1); | |
9426 | ||
9427 | wxPy_END_ALLOW_THREADS; | |
9428 | } Py_INCREF(Py_None); | |
9429 | _resultobj = Py_None; | |
9430 | return _resultobj; | |
9431 | } | |
9432 | ||
9433 | #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
9434 | static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9435 | PyObject * _resultobj; | |
9436 | wxPyDividedShape * _arg0; | |
9437 | wxDC * _arg1; | |
9438 | PyObject * _argo0 = 0; | |
9439 | PyObject * _argo1 = 0; | |
9440 | char *_kwnames[] = { "self","dc", NULL }; | |
9441 | ||
9442 | self = self; | |
9443 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
9444 | return NULL; | |
9445 | if (_argo0) { | |
9446 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9447 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9448 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p."); | |
9449 | return NULL; | |
9450 | } | |
9451 | } | |
9452 | if (_argo1) { | |
9453 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9454 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9455 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p."); | |
9456 | return NULL; | |
9457 | } | |
9458 | } | |
9459 | { | |
9460 | wxPy_BEGIN_ALLOW_THREADS; | |
9461 | wxPyDividedShape_base_OnHighlight(_arg0,*_arg1); | |
9462 | ||
9463 | wxPy_END_ALLOW_THREADS; | |
9464 | } Py_INCREF(Py_None); | |
9465 | _resultobj = Py_None; | |
9466 | return _resultobj; | |
9467 | } | |
9468 | ||
9469 | #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9470 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9471 | PyObject * _resultobj; | |
9472 | wxPyDividedShape * _arg0; | |
9473 | double _arg1; | |
9474 | double _arg2; | |
9475 | int _arg3 = (int ) 0; | |
9476 | int _arg4 = (int ) 0; | |
9477 | PyObject * _argo0 = 0; | |
9478 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9479 | ||
9480 | self = self; | |
9481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9482 | return NULL; | |
9483 | if (_argo0) { | |
9484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p."); | |
9487 | return NULL; | |
9488 | } | |
9489 | } | |
9490 | { | |
9491 | wxPy_BEGIN_ALLOW_THREADS; | |
9492 | wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9493 | ||
9494 | wxPy_END_ALLOW_THREADS; | |
9495 | } Py_INCREF(Py_None); | |
9496 | _resultobj = Py_None; | |
9497 | return _resultobj; | |
9498 | } | |
9499 | ||
9500 | #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9501 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9502 | PyObject * _resultobj; | |
9503 | wxPyDividedShape * _arg0; | |
9504 | double _arg1; | |
9505 | double _arg2; | |
9506 | int _arg3 = (int ) 0; | |
9507 | int _arg4 = (int ) 0; | |
9508 | PyObject * _argo0 = 0; | |
9509 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9510 | ||
9511 | self = self; | |
9512 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9513 | return NULL; | |
9514 | if (_argo0) { | |
9515 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9516 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9517 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p."); | |
9518 | return NULL; | |
9519 | } | |
9520 | } | |
9521 | { | |
9522 | wxPy_BEGIN_ALLOW_THREADS; | |
9523 | wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9524 | ||
9525 | wxPy_END_ALLOW_THREADS; | |
9526 | } Py_INCREF(Py_None); | |
9527 | _resultobj = Py_None; | |
9528 | return _resultobj; | |
9529 | } | |
9530 | ||
9531 | #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9532 | static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9533 | PyObject * _resultobj; | |
9534 | wxPyDividedShape * _arg0; | |
9535 | double _arg1; | |
9536 | double _arg2; | |
9537 | int _arg3 = (int ) 0; | |
9538 | int _arg4 = (int ) 0; | |
9539 | PyObject * _argo0 = 0; | |
9540 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9541 | ||
9542 | self = self; | |
9543 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9544 | return NULL; | |
9545 | if (_argo0) { | |
9546 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9547 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p."); | |
9549 | return NULL; | |
9550 | } | |
9551 | } | |
9552 | { | |
9553 | wxPy_BEGIN_ALLOW_THREADS; | |
9554 | wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9555 | ||
9556 | wxPy_END_ALLOW_THREADS; | |
9557 | } Py_INCREF(Py_None); | |
9558 | _resultobj = Py_None; | |
9559 | return _resultobj; | |
9560 | } | |
9561 | ||
9562 | #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
9563 | static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9564 | PyObject * _resultobj; | |
9565 | wxPyDividedShape * _arg0; | |
9566 | double _arg1; | |
9567 | double _arg2; | |
9568 | PyObject * _argo0 = 0; | |
9569 | char *_kwnames[] = { "self","x","y", NULL }; | |
9570 | ||
9571 | self = self; | |
9572 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9573 | return NULL; | |
9574 | if (_argo0) { | |
9575 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9576 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9577 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p."); | |
9578 | return NULL; | |
9579 | } | |
9580 | } | |
9581 | { | |
9582 | wxPy_BEGIN_ALLOW_THREADS; | |
9583 | wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2); | |
9584 | ||
9585 | wxPy_END_ALLOW_THREADS; | |
9586 | } Py_INCREF(Py_None); | |
9587 | _resultobj = Py_None; | |
9588 | return _resultobj; | |
9589 | } | |
9590 | ||
9591 | #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9592 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9593 | PyObject * _resultobj; | |
9594 | bool _result; | |
9595 | wxPyDividedShape * _arg0; | |
9596 | wxDC * _arg1; | |
9597 | double _arg2; | |
9598 | double _arg3; | |
9599 | double _arg4; | |
9600 | double _arg5; | |
9601 | bool _arg6 = (bool ) TRUE; | |
9602 | PyObject * _argo0 = 0; | |
9603 | PyObject * _argo1 = 0; | |
9604 | int tempbool6 = (int) TRUE; | |
9605 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9606 | ||
9607 | self = self; | |
9608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9609 | return NULL; | |
9610 | if (_argo0) { | |
9611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p."); | |
9614 | return NULL; | |
9615 | } | |
9616 | } | |
9617 | if (_argo1) { | |
9618 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9619 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9620 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p."); | |
9621 | return NULL; | |
9622 | } | |
9623 | } | |
9624 | _arg6 = (bool ) tempbool6; | |
9625 | { | |
9626 | wxPy_BEGIN_ALLOW_THREADS; | |
9627 | _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9628 | ||
9629 | wxPy_END_ALLOW_THREADS; | |
9630 | } _resultobj = Py_BuildValue("i",_result); | |
9631 | return _resultobj; | |
9632 | } | |
9633 | ||
9634 | #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9635 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9636 | PyObject * _resultobj; | |
9637 | wxPyDividedShape * _arg0; | |
9638 | wxDC * _arg1; | |
9639 | double _arg2; | |
9640 | double _arg3; | |
9641 | double _arg4; | |
9642 | double _arg5; | |
9643 | bool _arg6 = (bool ) TRUE; | |
9644 | PyObject * _argo0 = 0; | |
9645 | PyObject * _argo1 = 0; | |
9646 | int tempbool6 = (int) TRUE; | |
9647 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9648 | ||
9649 | self = self; | |
9650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9651 | return NULL; | |
9652 | if (_argo0) { | |
9653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p."); | |
9656 | return NULL; | |
9657 | } | |
9658 | } | |
9659 | if (_argo1) { | |
9660 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9661 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p."); | |
9663 | return NULL; | |
9664 | } | |
9665 | } | |
9666 | _arg6 = (bool ) tempbool6; | |
9667 | { | |
9668 | wxPy_BEGIN_ALLOW_THREADS; | |
9669 | wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
9670 | ||
9671 | wxPy_END_ALLOW_THREADS; | |
9672 | } Py_INCREF(Py_None); | |
9673 | _resultobj = Py_None; | |
9674 | return _resultobj; | |
9675 | } | |
9676 | ||
9677 | #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9678 | static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9679 | PyObject * _resultobj; | |
9680 | wxPyDividedShape * _arg0; | |
9681 | bool _arg1; | |
9682 | double _arg2; | |
9683 | double _arg3; | |
9684 | int _arg4 = (int ) 0; | |
9685 | int _arg5 = (int ) 0; | |
9686 | PyObject * _argo0 = 0; | |
9687 | int tempbool1; | |
9688 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9689 | ||
9690 | self = self; | |
9691 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9692 | return NULL; | |
9693 | if (_argo0) { | |
9694 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9695 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9696 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p."); | |
9697 | return NULL; | |
9698 | } | |
9699 | } | |
9700 | _arg1 = (bool ) tempbool1; | |
9701 | { | |
9702 | wxPy_BEGIN_ALLOW_THREADS; | |
9703 | wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9704 | ||
9705 | wxPy_END_ALLOW_THREADS; | |
9706 | } Py_INCREF(Py_None); | |
9707 | _resultobj = Py_None; | |
9708 | return _resultobj; | |
9709 | } | |
9710 | ||
9711 | #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9712 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9713 | PyObject * _resultobj; | |
9714 | wxPyDividedShape * _arg0; | |
9715 | double _arg1; | |
9716 | double _arg2; | |
9717 | int _arg3 = (int ) 0; | |
9718 | int _arg4 = (int ) 0; | |
9719 | PyObject * _argo0 = 0; | |
9720 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9721 | ||
9722 | self = self; | |
9723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9724 | return NULL; | |
9725 | if (_argo0) { | |
9726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p."); | |
9729 | return NULL; | |
9730 | } | |
9731 | } | |
9732 | { | |
9733 | wxPy_BEGIN_ALLOW_THREADS; | |
9734 | wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9735 | ||
9736 | wxPy_END_ALLOW_THREADS; | |
9737 | } Py_INCREF(Py_None); | |
9738 | _resultobj = Py_None; | |
9739 | return _resultobj; | |
9740 | } | |
9741 | ||
9742 | #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9743 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9744 | PyObject * _resultobj; | |
9745 | wxPyDividedShape * _arg0; | |
9746 | double _arg1; | |
9747 | double _arg2; | |
9748 | int _arg3 = (int ) 0; | |
9749 | int _arg4 = (int ) 0; | |
9750 | PyObject * _argo0 = 0; | |
9751 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9752 | ||
9753 | self = self; | |
9754 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9755 | return NULL; | |
9756 | if (_argo0) { | |
9757 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9758 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p."); | |
9760 | return NULL; | |
9761 | } | |
9762 | } | |
9763 | { | |
9764 | wxPy_BEGIN_ALLOW_THREADS; | |
9765 | wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9766 | ||
9767 | wxPy_END_ALLOW_THREADS; | |
9768 | } Py_INCREF(Py_None); | |
9769 | _resultobj = Py_None; | |
9770 | return _resultobj; | |
9771 | } | |
9772 | ||
9773 | #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9774 | static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9775 | PyObject * _resultobj; | |
9776 | wxPyDividedShape * _arg0; | |
9777 | bool _arg1; | |
9778 | double _arg2; | |
9779 | double _arg3; | |
9780 | int _arg4 = (int ) 0; | |
9781 | int _arg5 = (int ) 0; | |
9782 | PyObject * _argo0 = 0; | |
9783 | int tempbool1; | |
9784 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9785 | ||
9786 | self = self; | |
9787 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9788 | return NULL; | |
9789 | if (_argo0) { | |
9790 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9791 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9792 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p."); | |
9793 | return NULL; | |
9794 | } | |
9795 | } | |
9796 | _arg1 = (bool ) tempbool1; | |
9797 | { | |
9798 | wxPy_BEGIN_ALLOW_THREADS; | |
9799 | wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
9800 | ||
9801 | wxPy_END_ALLOW_THREADS; | |
9802 | } Py_INCREF(Py_None); | |
9803 | _resultobj = Py_None; | |
9804 | return _resultobj; | |
9805 | } | |
9806 | ||
9807 | #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9808 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9809 | PyObject * _resultobj; | |
9810 | wxPyDividedShape * _arg0; | |
9811 | double _arg1; | |
9812 | double _arg2; | |
9813 | int _arg3 = (int ) 0; | |
9814 | int _arg4 = (int ) 0; | |
9815 | PyObject * _argo0 = 0; | |
9816 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9817 | ||
9818 | self = self; | |
9819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9820 | return NULL; | |
9821 | if (_argo0) { | |
9822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p."); | |
9825 | return NULL; | |
9826 | } | |
9827 | } | |
9828 | { | |
9829 | wxPy_BEGIN_ALLOW_THREADS; | |
9830 | wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9831 | ||
9832 | wxPy_END_ALLOW_THREADS; | |
9833 | } Py_INCREF(Py_None); | |
9834 | _resultobj = Py_None; | |
9835 | return _resultobj; | |
9836 | } | |
9837 | ||
9838 | #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9839 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9840 | PyObject * _resultobj; | |
9841 | wxPyDividedShape * _arg0; | |
9842 | double _arg1; | |
9843 | double _arg2; | |
9844 | int _arg3 = (int ) 0; | |
9845 | int _arg4 = (int ) 0; | |
9846 | PyObject * _argo0 = 0; | |
9847 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9848 | ||
9849 | self = self; | |
9850 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9851 | return NULL; | |
9852 | if (_argo0) { | |
9853 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9854 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9855 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p."); | |
9856 | return NULL; | |
9857 | } | |
9858 | } | |
9859 | { | |
9860 | wxPy_BEGIN_ALLOW_THREADS; | |
9861 | wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
9862 | ||
9863 | wxPy_END_ALLOW_THREADS; | |
9864 | } Py_INCREF(Py_None); | |
9865 | _resultobj = Py_None; | |
9866 | return _resultobj; | |
9867 | } | |
9868 | ||
9869 | #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9870 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9871 | PyObject * _resultobj; | |
9872 | wxPyDividedShape * _arg0; | |
9873 | wxDC * _arg1; | |
9874 | double _arg2; | |
9875 | double _arg3; | |
9876 | double _arg4; | |
9877 | double _arg5; | |
9878 | PyObject * _argo0 = 0; | |
9879 | PyObject * _argo1 = 0; | |
9880 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
9881 | ||
9882 | self = self; | |
9883 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9884 | return NULL; | |
9885 | if (_argo0) { | |
9886 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9887 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9888 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p."); | |
9889 | return NULL; | |
9890 | } | |
9891 | } | |
9892 | if (_argo1) { | |
9893 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9894 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9895 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p."); | |
9896 | return NULL; | |
9897 | } | |
9898 | } | |
9899 | { | |
9900 | wxPy_BEGIN_ALLOW_THREADS; | |
9901 | wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
9902 | ||
9903 | wxPy_END_ALLOW_THREADS; | |
9904 | } Py_INCREF(Py_None); | |
9905 | _resultobj = Py_None; | |
9906 | return _resultobj; | |
9907 | } | |
9908 | ||
9909 | #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
9910 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9911 | PyObject * _resultobj; | |
9912 | wxPyDividedShape * _arg0; | |
9913 | wxDC * _arg1; | |
9914 | PyObject * _argo0 = 0; | |
9915 | PyObject * _argo1 = 0; | |
9916 | char *_kwnames[] = { "self","dc", NULL }; | |
9917 | ||
9918 | self = self; | |
9919 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
9920 | return NULL; | |
9921 | if (_argo0) { | |
9922 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9923 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9924 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p."); | |
9925 | return NULL; | |
9926 | } | |
9927 | } | |
9928 | if (_argo1) { | |
9929 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9930 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9931 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
9932 | return NULL; | |
9933 | } | |
9934 | } | |
9935 | { | |
9936 | wxPy_BEGIN_ALLOW_THREADS; | |
9937 | wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
9938 | ||
9939 | wxPy_END_ALLOW_THREADS; | |
9940 | } Py_INCREF(Py_None); | |
9941 | _resultobj = Py_None; | |
9942 | return _resultobj; | |
9943 | } | |
9944 | ||
9945 | #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
9946 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9947 | PyObject * _resultobj; | |
9948 | wxPyDividedShape * _arg0; | |
9949 | wxDC * _arg1; | |
9950 | PyObject * _argo0 = 0; | |
9951 | PyObject * _argo1 = 0; | |
9952 | char *_kwnames[] = { "self","dc", NULL }; | |
9953 | ||
9954 | self = self; | |
9955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
9956 | return NULL; | |
9957 | if (_argo0) { | |
9958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p."); | |
9961 | return NULL; | |
9962 | } | |
9963 | } | |
9964 | if (_argo1) { | |
9965 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9966 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
9968 | return NULL; | |
9969 | } | |
9970 | } | |
9971 | { | |
9972 | wxPy_BEGIN_ALLOW_THREADS; | |
9973 | wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
9974 | ||
9975 | wxPy_END_ALLOW_THREADS; | |
9976 | } Py_INCREF(Py_None); | |
9977 | _resultobj = Py_None; | |
9978 | return _resultobj; | |
9979 | } | |
9980 | ||
9981 | #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
9982 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9983 | PyObject * _resultobj; | |
9984 | wxPyDividedShape * _arg0; | |
9985 | wxDC * _arg1; | |
9986 | bool _arg2 = (bool ) TRUE; | |
9987 | PyObject * _argo0 = 0; | |
9988 | PyObject * _argo1 = 0; | |
9989 | int tempbool2 = (int) TRUE; | |
9990 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
9991 | ||
9992 | self = self; | |
9993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9994 | return NULL; | |
9995 | if (_argo0) { | |
9996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p."); | |
9999 | return NULL; | |
10000 | } | |
10001 | } | |
10002 | if (_argo1) { | |
10003 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10004 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p."); | |
10006 | return NULL; | |
10007 | } | |
10008 | } | |
10009 | _arg2 = (bool ) tempbool2; | |
10010 | { | |
10011 | wxPy_BEGIN_ALLOW_THREADS; | |
10012 | wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
10013 | ||
10014 | wxPy_END_ALLOW_THREADS; | |
10015 | } Py_INCREF(Py_None); | |
10016 | _resultobj = Py_None; | |
10017 | return _resultobj; | |
10018 | } | |
10019 | ||
10020 | #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
10021 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10022 | PyObject * _resultobj; | |
10023 | wxPyDividedShape * _arg0; | |
2348eaee | 10024 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10025 | bool _arg2; |
10026 | double _arg3; | |
10027 | double _arg4; | |
10028 | int _arg5 = (int ) 0; | |
10029 | int _arg6 = (int ) 0; | |
10030 | PyObject * _argo0 = 0; | |
10031 | PyObject * _argo1 = 0; | |
10032 | int tempbool2; | |
10033 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
10034 | ||
10035 | self = self; | |
10036 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
10037 | return NULL; | |
10038 | if (_argo0) { | |
10039 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10040 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10041 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p."); | |
10042 | return NULL; | |
10043 | } | |
10044 | } | |
10045 | if (_argo1) { | |
10046 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10047 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10048 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10049 | return NULL; |
10050 | } | |
10051 | } | |
10052 | _arg2 = (bool ) tempbool2; | |
10053 | { | |
10054 | wxPy_BEGIN_ALLOW_THREADS; | |
10055 | wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
10056 | ||
10057 | wxPy_END_ALLOW_THREADS; | |
10058 | } Py_INCREF(Py_None); | |
10059 | _resultobj = Py_None; | |
10060 | return _resultobj; | |
10061 | } | |
10062 | ||
10063 | #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10064 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10065 | PyObject * _resultobj; | |
10066 | wxPyDividedShape * _arg0; | |
2348eaee | 10067 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10068 | double _arg2; |
10069 | double _arg3; | |
10070 | int _arg4 = (int ) 0; | |
10071 | int _arg5 = (int ) 0; | |
10072 | PyObject * _argo0 = 0; | |
10073 | PyObject * _argo1 = 0; | |
10074 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10075 | ||
10076 | self = self; | |
10077 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10078 | return NULL; | |
10079 | if (_argo0) { | |
10080 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10081 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10082 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p."); | |
10083 | return NULL; | |
10084 | } | |
10085 | } | |
10086 | if (_argo1) { | |
10087 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10088 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10089 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10090 | return NULL; |
10091 | } | |
10092 | } | |
10093 | { | |
10094 | wxPy_BEGIN_ALLOW_THREADS; | |
10095 | wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10096 | ||
10097 | wxPy_END_ALLOW_THREADS; | |
10098 | } Py_INCREF(Py_None); | |
10099 | _resultobj = Py_None; | |
10100 | return _resultobj; | |
10101 | } | |
10102 | ||
10103 | #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10104 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10105 | PyObject * _resultobj; | |
10106 | wxPyDividedShape * _arg0; | |
2348eaee | 10107 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10108 | double _arg2; |
10109 | double _arg3; | |
10110 | int _arg4 = (int ) 0; | |
10111 | int _arg5 = (int ) 0; | |
10112 | PyObject * _argo0 = 0; | |
10113 | PyObject * _argo1 = 0; | |
10114 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10115 | ||
10116 | self = self; | |
10117 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10118 | return NULL; | |
10119 | if (_argo0) { | |
10120 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10121 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10122 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p."); | |
10123 | return NULL; | |
10124 | } | |
10125 | } | |
10126 | if (_argo1) { | |
10127 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10128 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10130 | return NULL; |
10131 | } | |
10132 | } | |
10133 | { | |
10134 | wxPy_BEGIN_ALLOW_THREADS; | |
10135 | wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
10136 | ||
10137 | wxPy_END_ALLOW_THREADS; | |
10138 | } Py_INCREF(Py_None); | |
10139 | _resultobj = Py_None; | |
10140 | return _resultobj; | |
10141 | } | |
10142 | ||
10143 | #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
10144 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10145 | PyObject * _resultobj; | |
10146 | wxPyDividedShape * _arg0; | |
10147 | double _arg1; | |
10148 | double _arg2; | |
10149 | PyObject * _argo0 = 0; | |
10150 | char *_kwnames[] = { "self","w","h", NULL }; | |
10151 | ||
10152 | self = self; | |
10153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10154 | return NULL; | |
10155 | if (_argo0) { | |
10156 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10157 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10158 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p."); | |
10159 | return NULL; | |
10160 | } | |
10161 | } | |
10162 | { | |
10163 | wxPy_BEGIN_ALLOW_THREADS; | |
10164 | wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
10165 | ||
10166 | wxPy_END_ALLOW_THREADS; | |
10167 | } Py_INCREF(Py_None); | |
10168 | _resultobj = Py_None; | |
10169 | return _resultobj; | |
10170 | } | |
10171 | ||
10172 | #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
10173 | static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10174 | PyObject * _resultobj; | |
10175 | wxPyDividedShape * _arg0; | |
10176 | double _arg1; | |
10177 | double _arg2; | |
10178 | PyObject * _argo0 = 0; | |
10179 | char *_kwnames[] = { "self","w","h", NULL }; | |
10180 | ||
10181 | self = self; | |
10182 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10183 | return NULL; | |
10184 | if (_argo0) { | |
10185 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10186 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10187 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p."); | |
10188 | return NULL; | |
10189 | } | |
10190 | } | |
10191 | { | |
10192 | wxPy_BEGIN_ALLOW_THREADS; | |
10193 | wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
10194 | ||
10195 | wxPy_END_ALLOW_THREADS; | |
10196 | } Py_INCREF(Py_None); | |
10197 | _resultobj = Py_None; | |
10198 | return _resultobj; | |
10199 | } | |
10200 | ||
10201 | static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) { | |
10202 | wxPyDivisionShape *src; | |
10203 | wxPyCompositeShape *dest; | |
10204 | src = (wxPyDivisionShape *) ptr; | |
10205 | dest = (wxPyCompositeShape *) src; | |
10206 | return (void *) dest; | |
10207 | } | |
10208 | ||
10209 | static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) { | |
10210 | wxPyDivisionShape *src; | |
10211 | wxPyRectangleShape *dest; | |
10212 | src = (wxPyDivisionShape *) ptr; | |
10213 | dest = (wxPyRectangleShape *) src; | |
10214 | return (void *) dest; | |
10215 | } | |
10216 | ||
10217 | static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) { | |
10218 | wxPyDivisionShape *src; | |
10219 | wxPyShape *dest; | |
10220 | src = (wxPyDivisionShape *) ptr; | |
10221 | dest = (wxPyShape *) src; | |
10222 | return (void *) dest; | |
10223 | } | |
10224 | ||
10225 | static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) { | |
10226 | wxPyDivisionShape *src; | |
10227 | wxPyShapeEvtHandler *dest; | |
10228 | src = (wxPyDivisionShape *) ptr; | |
10229 | dest = (wxPyShapeEvtHandler *) src; | |
10230 | return (void *) dest; | |
10231 | } | |
10232 | ||
10233 | #define new_wxPyDivisionShape() (new wxPyDivisionShape()) | |
10234 | static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10235 | PyObject * _resultobj; | |
10236 | wxPyDivisionShape * _result; | |
10237 | char *_kwnames[] = { NULL }; | |
10238 | char _ptemp[128]; | |
10239 | ||
10240 | self = self; | |
10241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames)) | |
10242 | return NULL; | |
10243 | { | |
10244 | wxPy_BEGIN_ALLOW_THREADS; | |
10245 | _result = (wxPyDivisionShape *)new_wxPyDivisionShape(); | |
10246 | ||
10247 | wxPy_END_ALLOW_THREADS; | |
10248 | } if (_result) { | |
10249 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10250 | _resultobj = Py_BuildValue("s",_ptemp); | |
10251 | } else { | |
10252 | Py_INCREF(Py_None); | |
10253 | _resultobj = Py_None; | |
10254 | } | |
10255 | return _resultobj; | |
10256 | } | |
10257 | ||
f6bcfd97 | 10258 | #define wxPyDivisionShape__setSelf(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setSelf(_swigarg0,_swigarg1)) |
e91a9dfc RD |
10259 | static PyObject *_wrap_wxPyDivisionShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) { |
10260 | PyObject * _resultobj; | |
10261 | wxPyDivisionShape * _arg0; | |
10262 | PyObject * _arg1; | |
f6bcfd97 | 10263 | PyObject * _arg2; |
e91a9dfc RD |
10264 | PyObject * _argo0 = 0; |
10265 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
10266 | PyObject * _obj2 = 0; |
10267 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
10268 | |
10269 | self = self; | |
f6bcfd97 | 10270 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setSelf",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
10271 | return NULL; |
10272 | if (_argo0) { | |
10273 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10274 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10275 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setSelf. Expected _wxPyDivisionShape_p."); | |
10276 | return NULL; | |
10277 | } | |
10278 | } | |
10279 | { | |
10280 | _arg1 = _obj1; | |
10281 | } | |
f6bcfd97 BP |
10282 | { |
10283 | _arg2 = _obj2; | |
10284 | } | |
e91a9dfc RD |
10285 | { |
10286 | wxPy_BEGIN_ALLOW_THREADS; | |
f6bcfd97 | 10287 | wxPyDivisionShape__setSelf(_arg0,_arg1,_arg2); |
e91a9dfc RD |
10288 | |
10289 | wxPy_END_ALLOW_THREADS; | |
10290 | } Py_INCREF(Py_None); | |
10291 | _resultobj = Py_None; | |
10292 | return _resultobj; | |
10293 | } | |
10294 | ||
10295 | #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1)) | |
10296 | static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10297 | PyObject * _resultobj; | |
10298 | wxPyDivisionShape * _arg0; | |
10299 | double _arg1; | |
10300 | bool _arg2; | |
10301 | PyObject * _argo0 = 0; | |
10302 | int tempbool2; | |
10303 | char *_kwnames[] = { "self","bottom","test", NULL }; | |
10304 | ||
10305 | self = self; | |
10306 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10307 | return NULL; | |
10308 | if (_argo0) { | |
10309 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10310 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10311 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p."); | |
10312 | return NULL; | |
10313 | } | |
10314 | } | |
10315 | _arg2 = (bool ) tempbool2; | |
10316 | { | |
10317 | wxPy_BEGIN_ALLOW_THREADS; | |
10318 | wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2); | |
10319 | ||
10320 | wxPy_END_ALLOW_THREADS; | |
10321 | } Py_INCREF(Py_None); | |
10322 | _resultobj = Py_None; | |
10323 | return _resultobj; | |
10324 | } | |
10325 | ||
10326 | #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1)) | |
10327 | static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10328 | PyObject * _resultobj; | |
10329 | wxPyDivisionShape * _arg0; | |
10330 | double _arg1; | |
10331 | bool _arg2; | |
10332 | PyObject * _argo0 = 0; | |
10333 | int tempbool2; | |
10334 | char *_kwnames[] = { "self","left","test", NULL }; | |
10335 | ||
10336 | self = self; | |
10337 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10338 | return NULL; | |
10339 | if (_argo0) { | |
10340 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10341 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10342 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p."); | |
10343 | return NULL; | |
10344 | } | |
10345 | } | |
10346 | _arg2 = (bool ) tempbool2; | |
10347 | { | |
10348 | wxPy_BEGIN_ALLOW_THREADS; | |
10349 | wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2); | |
10350 | ||
10351 | wxPy_END_ALLOW_THREADS; | |
10352 | } Py_INCREF(Py_None); | |
10353 | _resultobj = Py_None; | |
10354 | return _resultobj; | |
10355 | } | |
10356 | ||
10357 | #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1)) | |
10358 | static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10359 | PyObject * _resultobj; | |
10360 | wxPyDivisionShape * _arg0; | |
10361 | double _arg1; | |
10362 | bool _arg2; | |
10363 | PyObject * _argo0 = 0; | |
10364 | int tempbool2; | |
10365 | char *_kwnames[] = { "self","right","test", NULL }; | |
10366 | ||
10367 | self = self; | |
10368 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10369 | return NULL; | |
10370 | if (_argo0) { | |
10371 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10372 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p."); | |
10374 | return NULL; | |
10375 | } | |
10376 | } | |
10377 | _arg2 = (bool ) tempbool2; | |
10378 | { | |
10379 | wxPy_BEGIN_ALLOW_THREADS; | |
10380 | wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2); | |
10381 | ||
10382 | wxPy_END_ALLOW_THREADS; | |
10383 | } Py_INCREF(Py_None); | |
10384 | _resultobj = Py_None; | |
10385 | return _resultobj; | |
10386 | } | |
10387 | ||
10388 | #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1)) | |
10389 | static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10390 | PyObject * _resultobj; | |
10391 | wxPyDivisionShape * _arg0; | |
10392 | double _arg1; | |
10393 | bool _arg2; | |
10394 | PyObject * _argo0 = 0; | |
10395 | int tempbool2; | |
10396 | char *_kwnames[] = { "self","top","test", NULL }; | |
10397 | ||
10398 | self = self; | |
10399 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10400 | return NULL; | |
10401 | if (_argo0) { | |
10402 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10403 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10404 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p."); | |
10405 | return NULL; | |
10406 | } | |
10407 | } | |
10408 | _arg2 = (bool ) tempbool2; | |
10409 | { | |
10410 | wxPy_BEGIN_ALLOW_THREADS; | |
10411 | wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2); | |
10412 | ||
10413 | wxPy_END_ALLOW_THREADS; | |
10414 | } Py_INCREF(Py_None); | |
10415 | _resultobj = Py_None; | |
10416 | return _resultobj; | |
10417 | } | |
10418 | ||
10419 | #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0)) | |
10420 | static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10421 | PyObject * _resultobj; | |
10422 | wxPyDivisionShape * _arg0; | |
10423 | int _arg1; | |
10424 | PyObject * _argo0 = 0; | |
10425 | char *_kwnames[] = { "self","direction", NULL }; | |
10426 | ||
10427 | self = self; | |
10428 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1)) | |
10429 | return NULL; | |
10430 | if (_argo0) { | |
10431 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10432 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10433 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p."); | |
10434 | return NULL; | |
10435 | } | |
10436 | } | |
10437 | { | |
10438 | wxPy_BEGIN_ALLOW_THREADS; | |
10439 | wxPyDivisionShape_Divide(_arg0,_arg1); | |
10440 | ||
10441 | wxPy_END_ALLOW_THREADS; | |
10442 | } Py_INCREF(Py_None); | |
10443 | _resultobj = Py_None; | |
10444 | return _resultobj; | |
10445 | } | |
10446 | ||
10447 | #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0)) | |
10448 | static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10449 | PyObject * _resultobj; | |
10450 | wxPyDivisionShape * _arg0; | |
10451 | int _arg1; | |
10452 | PyObject * _argo0 = 0; | |
10453 | char *_kwnames[] = { "self","side", NULL }; | |
10454 | ||
10455 | self = self; | |
10456 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1)) | |
10457 | return NULL; | |
10458 | if (_argo0) { | |
10459 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10460 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10461 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p."); | |
10462 | return NULL; | |
10463 | } | |
10464 | } | |
10465 | { | |
10466 | wxPy_BEGIN_ALLOW_THREADS; | |
10467 | wxPyDivisionShape_EditEdge(_arg0,_arg1); | |
10468 | ||
10469 | wxPy_END_ALLOW_THREADS; | |
10470 | } Py_INCREF(Py_None); | |
10471 | _resultobj = Py_None; | |
10472 | return _resultobj; | |
10473 | } | |
10474 | ||
10475 | #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide()) | |
10476 | static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10477 | PyObject * _resultobj; | |
10478 | wxPyDivisionShape * _result; | |
10479 | wxPyDivisionShape * _arg0; | |
10480 | PyObject * _argo0 = 0; | |
10481 | char *_kwnames[] = { "self", NULL }; | |
10482 | char _ptemp[128]; | |
10483 | ||
10484 | self = self; | |
10485 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0)) | |
10486 | return NULL; | |
10487 | if (_argo0) { | |
10488 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10489 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10490 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p."); | |
10491 | return NULL; | |
10492 | } | |
10493 | } | |
10494 | { | |
10495 | wxPy_BEGIN_ALLOW_THREADS; | |
10496 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0); | |
10497 | ||
10498 | wxPy_END_ALLOW_THREADS; | |
10499 | } if (_result) { | |
10500 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10501 | _resultobj = Py_BuildValue("s",_ptemp); | |
10502 | } else { | |
10503 | Py_INCREF(Py_None); | |
10504 | _resultobj = Py_None; | |
10505 | } | |
10506 | return _resultobj; | |
10507 | } | |
10508 | ||
10509 | #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide()) | |
10510 | static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10511 | PyObject * _resultobj; | |
10512 | int _result; | |
10513 | wxPyDivisionShape * _arg0; | |
10514 | PyObject * _argo0 = 0; | |
10515 | char *_kwnames[] = { "self", NULL }; | |
10516 | ||
10517 | self = self; | |
10518 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0)) | |
10519 | return NULL; | |
10520 | if (_argo0) { | |
10521 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10522 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10523 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p."); | |
10524 | return NULL; | |
10525 | } | |
10526 | } | |
10527 | { | |
10528 | wxPy_BEGIN_ALLOW_THREADS; | |
10529 | _result = (int )wxPyDivisionShape_GetHandleSide(_arg0); | |
10530 | ||
10531 | wxPy_END_ALLOW_THREADS; | |
10532 | } _resultobj = Py_BuildValue("i",_result); | |
10533 | return _resultobj; | |
10534 | } | |
10535 | ||
10536 | #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide()) | |
10537 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10538 | PyObject * _resultobj; | |
10539 | wxPyDivisionShape * _result; | |
10540 | wxPyDivisionShape * _arg0; | |
10541 | PyObject * _argo0 = 0; | |
10542 | char *_kwnames[] = { "self", NULL }; | |
10543 | char _ptemp[128]; | |
10544 | ||
10545 | self = self; | |
10546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0)) | |
10547 | return NULL; | |
10548 | if (_argo0) { | |
10549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p."); | |
10552 | return NULL; | |
10553 | } | |
10554 | } | |
10555 | { | |
10556 | wxPy_BEGIN_ALLOW_THREADS; | |
10557 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0); | |
10558 | ||
10559 | wxPy_END_ALLOW_THREADS; | |
10560 | } if (_result) { | |
10561 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10562 | _resultobj = Py_BuildValue("s",_ptemp); | |
10563 | } else { | |
10564 | Py_INCREF(Py_None); | |
10565 | _resultobj = Py_None; | |
10566 | } | |
10567 | return _resultobj; | |
10568 | } | |
10569 | ||
10570 | #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour()) | |
10571 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10572 | PyObject * _resultobj; | |
10573 | wxString * _result; | |
10574 | wxPyDivisionShape * _arg0; | |
10575 | PyObject * _argo0 = 0; | |
10576 | char *_kwnames[] = { "self", NULL }; | |
10577 | ||
10578 | self = self; | |
10579 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0)) | |
10580 | return NULL; | |
10581 | if (_argo0) { | |
10582 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10583 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10584 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10585 | return NULL; | |
10586 | } | |
10587 | } | |
10588 | { | |
10589 | wxPy_BEGIN_ALLOW_THREADS; | |
10590 | _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0)); | |
10591 | ||
10592 | wxPy_END_ALLOW_THREADS; | |
10593 | }{ | |
eec92d76 | 10594 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
e91a9dfc RD |
10595 | } |
10596 | { | |
10597 | delete _result; | |
10598 | } | |
10599 | return _resultobj; | |
10600 | } | |
10601 | ||
10602 | #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen()) | |
10603 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10604 | PyObject * _resultobj; | |
10605 | wxPen * _result; | |
10606 | wxPyDivisionShape * _arg0; | |
10607 | PyObject * _argo0 = 0; | |
10608 | char *_kwnames[] = { "self", NULL }; | |
10609 | char _ptemp[128]; | |
10610 | ||
10611 | self = self; | |
10612 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0)) | |
10613 | return NULL; | |
10614 | if (_argo0) { | |
10615 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10616 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10617 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
10618 | return NULL; | |
10619 | } | |
10620 | } | |
10621 | { | |
10622 | wxPy_BEGIN_ALLOW_THREADS; | |
10623 | _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0); | |
10624 | ||
10625 | wxPy_END_ALLOW_THREADS; | |
10626 | } if (_result) { | |
10627 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10628 | _resultobj = Py_BuildValue("s",_ptemp); | |
10629 | } else { | |
10630 | Py_INCREF(Py_None); | |
10631 | _resultobj = Py_None; | |
10632 | } | |
10633 | return _resultobj; | |
10634 | } | |
10635 | ||
10636 | #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide()) | |
10637 | static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10638 | PyObject * _resultobj; | |
10639 | wxPyDivisionShape * _result; | |
10640 | wxPyDivisionShape * _arg0; | |
10641 | PyObject * _argo0 = 0; | |
10642 | char *_kwnames[] = { "self", NULL }; | |
10643 | char _ptemp[128]; | |
10644 | ||
10645 | self = self; | |
10646 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0)) | |
10647 | return NULL; | |
10648 | if (_argo0) { | |
10649 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10650 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10651 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p."); | |
10652 | return NULL; | |
10653 | } | |
10654 | } | |
10655 | { | |
10656 | wxPy_BEGIN_ALLOW_THREADS; | |
10657 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0); | |
10658 | ||
10659 | wxPy_END_ALLOW_THREADS; | |
10660 | } if (_result) { | |
10661 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10662 | _resultobj = Py_BuildValue("s",_ptemp); | |
10663 | } else { | |
10664 | Py_INCREF(Py_None); | |
10665 | _resultobj = Py_None; | |
10666 | } | |
10667 | return _resultobj; | |
10668 | } | |
10669 | ||
10670 | #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide()) | |
10671 | static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10672 | PyObject * _resultobj; | |
10673 | wxPyDivisionShape * _result; | |
10674 | wxPyDivisionShape * _arg0; | |
10675 | PyObject * _argo0 = 0; | |
10676 | char *_kwnames[] = { "self", NULL }; | |
10677 | char _ptemp[128]; | |
10678 | ||
10679 | self = self; | |
10680 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0)) | |
10681 | return NULL; | |
10682 | if (_argo0) { | |
10683 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10684 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10685 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p."); | |
10686 | return NULL; | |
10687 | } | |
10688 | } | |
10689 | { | |
10690 | wxPy_BEGIN_ALLOW_THREADS; | |
10691 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0); | |
10692 | ||
10693 | wxPy_END_ALLOW_THREADS; | |
10694 | } if (_result) { | |
10695 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10696 | _resultobj = Py_BuildValue("s",_ptemp); | |
10697 | } else { | |
10698 | Py_INCREF(Py_None); | |
10699 | _resultobj = Py_None; | |
10700 | } | |
10701 | return _resultobj; | |
10702 | } | |
10703 | ||
10704 | #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen()) | |
10705 | static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10706 | PyObject * _resultobj; | |
10707 | wxPen * _result; | |
10708 | wxPyDivisionShape * _arg0; | |
10709 | PyObject * _argo0 = 0; | |
10710 | char *_kwnames[] = { "self", NULL }; | |
10711 | char _ptemp[128]; | |
10712 | ||
10713 | self = self; | |
10714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0)) | |
10715 | return NULL; | |
10716 | if (_argo0) { | |
10717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p."); | |
10720 | return NULL; | |
10721 | } | |
10722 | } | |
10723 | { | |
10724 | wxPy_BEGIN_ALLOW_THREADS; | |
10725 | _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0); | |
10726 | ||
10727 | wxPy_END_ALLOW_THREADS; | |
10728 | } if (_result) { | |
10729 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10730 | _resultobj = Py_BuildValue("s",_ptemp); | |
10731 | } else { | |
10732 | Py_INCREF(Py_None); | |
10733 | _resultobj = Py_None; | |
10734 | } | |
10735 | return _resultobj; | |
10736 | } | |
10737 | ||
10738 | #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2)) | |
10739 | static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10740 | PyObject * _resultobj; | |
10741 | wxPyDivisionShape * _arg0; | |
10742 | int _arg1; | |
10743 | double _arg2; | |
10744 | bool _arg3; | |
10745 | PyObject * _argo0 = 0; | |
10746 | int tempbool3; | |
10747 | char *_kwnames[] = { "self","side","newPos","test", NULL }; | |
10748 | ||
10749 | self = self; | |
10750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
10751 | return NULL; | |
10752 | if (_argo0) { | |
10753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p."); | |
10756 | return NULL; | |
10757 | } | |
10758 | } | |
10759 | _arg3 = (bool ) tempbool3; | |
10760 | { | |
10761 | wxPy_BEGIN_ALLOW_THREADS; | |
10762 | wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3); | |
10763 | ||
10764 | wxPy_END_ALLOW_THREADS; | |
10765 | } Py_INCREF(Py_None); | |
10766 | _resultobj = Py_None; | |
10767 | return _resultobj; | |
10768 | } | |
10769 | ||
10770 | #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1)) | |
10771 | static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10772 | PyObject * _resultobj; | |
10773 | wxPyDivisionShape * _arg0; | |
10774 | double _arg1; | |
10775 | double _arg2; | |
10776 | PyObject * _argo0 = 0; | |
10777 | char *_kwnames[] = { "self","x","y", NULL }; | |
10778 | ||
10779 | self = self; | |
10780 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10781 | return NULL; | |
10782 | if (_argo0) { | |
10783 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10784 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10785 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p."); | |
10786 | return NULL; | |
10787 | } | |
10788 | } | |
10789 | { | |
10790 | wxPy_BEGIN_ALLOW_THREADS; | |
10791 | wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2); | |
10792 | ||
10793 | wxPy_END_ALLOW_THREADS; | |
10794 | } Py_INCREF(Py_None); | |
10795 | _resultobj = Py_None; | |
10796 | return _resultobj; | |
10797 | } | |
10798 | ||
10799 | #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0)) | |
10800 | static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10801 | PyObject * _resultobj; | |
10802 | wxPyDivisionShape * _arg0; | |
10803 | wxPyDivisionShape * _arg1; | |
10804 | PyObject * _argo0 = 0; | |
10805 | PyObject * _argo1 = 0; | |
10806 | char *_kwnames[] = { "self","shape", NULL }; | |
10807 | ||
10808 | self = self; | |
10809 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1)) | |
10810 | return NULL; | |
10811 | if (_argo0) { | |
10812 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10813 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10814 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10815 | return NULL; | |
10816 | } | |
10817 | } | |
10818 | if (_argo1) { | |
10819 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10820 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10821 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
10822 | return NULL; | |
10823 | } | |
10824 | } | |
10825 | { | |
10826 | wxPy_BEGIN_ALLOW_THREADS; | |
10827 | wxPyDivisionShape_SetBottomSide(_arg0,_arg1); | |
10828 | ||
10829 | wxPy_END_ALLOW_THREADS; | |
10830 | } Py_INCREF(Py_None); | |
10831 | _resultobj = Py_None; | |
10832 | return _resultobj; | |
10833 | } | |
10834 | ||
10835 | #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0)) | |
10836 | static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10837 | PyObject * _resultobj; | |
10838 | wxPyDivisionShape * _arg0; | |
10839 | int _arg1; | |
10840 | PyObject * _argo0 = 0; | |
10841 | char *_kwnames[] = { "self","side", NULL }; | |
10842 | ||
10843 | self = self; | |
10844 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1)) | |
10845 | return NULL; | |
10846 | if (_argo0) { | |
10847 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10848 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10849 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p."); | |
10850 | return NULL; | |
10851 | } | |
10852 | } | |
10853 | { | |
10854 | wxPy_BEGIN_ALLOW_THREADS; | |
10855 | wxPyDivisionShape_SetHandleSide(_arg0,_arg1); | |
10856 | ||
10857 | wxPy_END_ALLOW_THREADS; | |
10858 | } Py_INCREF(Py_None); | |
10859 | _resultobj = Py_None; | |
10860 | return _resultobj; | |
10861 | } | |
10862 | ||
10863 | #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0)) | |
10864 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10865 | PyObject * _resultobj; | |
10866 | wxPyDivisionShape * _arg0; | |
10867 | wxPyDivisionShape * _arg1; | |
10868 | PyObject * _argo0 = 0; | |
10869 | PyObject * _argo1 = 0; | |
10870 | char *_kwnames[] = { "self","shape", NULL }; | |
10871 | ||
10872 | self = self; | |
10873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1)) | |
10874 | return NULL; | |
10875 | if (_argo0) { | |
10876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10879 | return NULL; | |
10880 | } | |
10881 | } | |
10882 | if (_argo1) { | |
10883 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10884 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10885 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
10886 | return NULL; | |
10887 | } | |
10888 | } | |
10889 | { | |
10890 | wxPy_BEGIN_ALLOW_THREADS; | |
10891 | wxPyDivisionShape_SetLeftSide(_arg0,_arg1); | |
10892 | ||
10893 | wxPy_END_ALLOW_THREADS; | |
10894 | } Py_INCREF(Py_None); | |
10895 | _resultobj = Py_None; | |
10896 | return _resultobj; | |
10897 | } | |
10898 | ||
10899 | #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0)) | |
10900 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10901 | PyObject * _resultobj; | |
10902 | wxPyDivisionShape * _arg0; | |
10903 | wxString * _arg1; | |
10904 | PyObject * _argo0 = 0; | |
10905 | PyObject * _obj1 = 0; | |
10906 | char *_kwnames[] = { "self","colour", NULL }; | |
10907 | ||
10908 | self = self; | |
10909 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1)) | |
10910 | return NULL; | |
10911 | if (_argo0) { | |
10912 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10913 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10914 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10915 | return NULL; | |
10916 | } | |
10917 | } | |
10918 | { | |
10919 | if (!PyString_Check(_obj1)) { | |
10920 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
10921 | return NULL; | |
10922 | } | |
10923 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
10924 | } | |
10925 | { | |
10926 | wxPy_BEGIN_ALLOW_THREADS; | |
10927 | wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1); | |
10928 | ||
10929 | wxPy_END_ALLOW_THREADS; | |
10930 | } Py_INCREF(Py_None); | |
10931 | _resultobj = Py_None; | |
10932 | { | |
10933 | if (_obj1) | |
10934 | delete _arg1; | |
10935 | } | |
10936 | return _resultobj; | |
10937 | } | |
10938 | ||
10939 | #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0)) | |
10940 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10941 | PyObject * _resultobj; | |
10942 | wxPyDivisionShape * _arg0; | |
10943 | wxPen * _arg1; | |
10944 | PyObject * _argo0 = 0; | |
10945 | PyObject * _argo1 = 0; | |
10946 | char *_kwnames[] = { "self","pen", NULL }; | |
10947 | ||
10948 | self = self; | |
10949 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_argo1)) | |
10950 | return NULL; | |
10951 | if (_argo0) { | |
10952 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10953 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10954 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
10955 | return NULL; | |
10956 | } | |
10957 | } | |
10958 | if (_argo1) { | |
10959 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10960 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
10961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPen_p."); | |
10962 | return NULL; | |
10963 | } | |
10964 | } | |
10965 | { | |
10966 | wxPy_BEGIN_ALLOW_THREADS; | |
10967 | wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1); | |
10968 | ||
10969 | wxPy_END_ALLOW_THREADS; | |
10970 | } Py_INCREF(Py_None); | |
10971 | _resultobj = Py_None; | |
10972 | return _resultobj; | |
10973 | } | |
10974 | ||
10975 | #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0)) | |
10976 | static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10977 | PyObject * _resultobj; | |
10978 | wxPyDivisionShape * _arg0; | |
10979 | wxPyDivisionShape * _arg1; | |
10980 | PyObject * _argo0 = 0; | |
10981 | PyObject * _argo1 = 0; | |
10982 | char *_kwnames[] = { "self","shape", NULL }; | |
10983 | ||
10984 | self = self; | |
10985 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1)) | |
10986 | return NULL; | |
10987 | if (_argo0) { | |
10988 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10989 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10990 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
10991 | return NULL; | |
10992 | } | |
10993 | } | |
10994 | if (_argo1) { | |
10995 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10996 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
10997 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
10998 | return NULL; | |
10999 | } | |
11000 | } | |
11001 | { | |
11002 | wxPy_BEGIN_ALLOW_THREADS; | |
11003 | wxPyDivisionShape_SetRightSide(_arg0,_arg1); | |
11004 | ||
11005 | wxPy_END_ALLOW_THREADS; | |
11006 | } Py_INCREF(Py_None); | |
11007 | _resultobj = Py_None; | |
11008 | return _resultobj; | |
11009 | } | |
11010 | ||
11011 | #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0)) | |
11012 | static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11013 | PyObject * _resultobj; | |
11014 | wxPyDivisionShape * _arg0; | |
11015 | wxPyDivisionShape * _arg1; | |
11016 | PyObject * _argo0 = 0; | |
11017 | PyObject * _argo1 = 0; | |
11018 | char *_kwnames[] = { "self","shape", NULL }; | |
11019 | ||
11020 | self = self; | |
11021 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1)) | |
11022 | return NULL; | |
11023 | if (_argo0) { | |
11024 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11025 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11026 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11027 | return NULL; | |
11028 | } | |
11029 | } | |
11030 | if (_argo1) { | |
11031 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11032 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11033 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11034 | return NULL; | |
11035 | } | |
11036 | } | |
11037 | { | |
11038 | wxPy_BEGIN_ALLOW_THREADS; | |
11039 | wxPyDivisionShape_SetTopSide(_arg0,_arg1); | |
11040 | ||
11041 | wxPy_END_ALLOW_THREADS; | |
11042 | } Py_INCREF(Py_None); | |
11043 | _resultobj = Py_None; | |
11044 | return _resultobj; | |
11045 | } | |
11046 | ||
11047 | #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0)) | |
11048 | static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11049 | PyObject * _resultobj; | |
11050 | wxPyDivisionShape * _arg0; | |
11051 | wxString * _arg1; | |
11052 | PyObject * _argo0 = 0; | |
11053 | PyObject * _obj1 = 0; | |
11054 | char *_kwnames[] = { "self","colour", NULL }; | |
11055 | ||
11056 | self = self; | |
11057 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1)) | |
11058 | return NULL; | |
11059 | if (_argo0) { | |
11060 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11061 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11062 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p."); | |
11063 | return NULL; | |
11064 | } | |
11065 | } | |
11066 | { | |
11067 | if (!PyString_Check(_obj1)) { | |
11068 | PyErr_SetString(PyExc_TypeError, wxStringErrorMsg); | |
11069 | return NULL; | |
11070 | } | |
11071 | _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1)); | |
11072 | } | |
11073 | { | |
11074 | wxPy_BEGIN_ALLOW_THREADS; | |
11075 | wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1); | |
11076 | ||
11077 | wxPy_END_ALLOW_THREADS; | |
11078 | } Py_INCREF(Py_None); | |
11079 | _resultobj = Py_None; | |
11080 | { | |
11081 | if (_obj1) | |
11082 | delete _arg1; | |
11083 | } | |
11084 | return _resultobj; | |
11085 | } | |
11086 | ||
11087 | #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0)) | |
11088 | static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11089 | PyObject * _resultobj; | |
11090 | wxPyDivisionShape * _arg0; | |
11091 | wxPen * _arg1; | |
11092 | PyObject * _argo0 = 0; | |
11093 | PyObject * _argo1 = 0; | |
11094 | char *_kwnames[] = { "self","pen", NULL }; | |
11095 | ||
11096 | self = self; | |
11097 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_argo1)) | |
11098 | return NULL; | |
11099 | if (_argo0) { | |
11100 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11101 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11102 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p."); | |
11103 | return NULL; | |
11104 | } | |
11105 | } | |
11106 | if (_argo1) { | |
11107 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11108 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) { | |
11109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSidePen. Expected _wxPen_p."); | |
11110 | return NULL; | |
11111 | } | |
11112 | } | |
11113 | { | |
11114 | wxPy_BEGIN_ALLOW_THREADS; | |
11115 | wxPyDivisionShape_SetTopSidePen(_arg0,_arg1); | |
11116 | ||
11117 | wxPy_END_ALLOW_THREADS; | |
11118 | } Py_INCREF(Py_None); | |
11119 | _resultobj = Py_None; | |
11120 | return _resultobj; | |
11121 | } | |
11122 | ||
11123 | #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
11124 | static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11125 | PyObject * _resultobj; | |
11126 | wxPyDivisionShape * _arg0; | |
11127 | PyObject * _argo0 = 0; | |
11128 | char *_kwnames[] = { "self", NULL }; | |
11129 | ||
11130 | self = self; | |
11131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0)) | |
11132 | return NULL; | |
11133 | if (_argo0) { | |
11134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p."); | |
11137 | return NULL; | |
11138 | } | |
11139 | } | |
11140 | { | |
11141 | wxPy_BEGIN_ALLOW_THREADS; | |
11142 | wxPyDivisionShape_base_OnDelete(_arg0); | |
11143 | ||
11144 | wxPy_END_ALLOW_THREADS; | |
11145 | } Py_INCREF(Py_None); | |
11146 | _resultobj = Py_None; | |
11147 | return _resultobj; | |
11148 | } | |
11149 | ||
11150 | #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
11151 | static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11152 | PyObject * _resultobj; | |
11153 | wxPyDivisionShape * _arg0; | |
11154 | wxDC * _arg1; | |
11155 | PyObject * _argo0 = 0; | |
11156 | PyObject * _argo1 = 0; | |
11157 | char *_kwnames[] = { "self","dc", NULL }; | |
11158 | ||
11159 | self = self; | |
11160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
11161 | return NULL; | |
11162 | if (_argo0) { | |
11163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p."); | |
11166 | return NULL; | |
11167 | } | |
11168 | } | |
11169 | if (_argo1) { | |
11170 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11171 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p."); | |
11173 | return NULL; | |
11174 | } | |
11175 | } | |
11176 | { | |
11177 | wxPy_BEGIN_ALLOW_THREADS; | |
11178 | wxPyDivisionShape_base_OnDraw(_arg0,*_arg1); | |
11179 | ||
11180 | wxPy_END_ALLOW_THREADS; | |
11181 | } Py_INCREF(Py_None); | |
11182 | _resultobj = Py_None; | |
11183 | return _resultobj; | |
11184 | } | |
11185 | ||
11186 | #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
11187 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11188 | PyObject * _resultobj; | |
11189 | wxPyDivisionShape * _arg0; | |
11190 | wxDC * _arg1; | |
11191 | PyObject * _argo0 = 0; | |
11192 | PyObject * _argo1 = 0; | |
11193 | char *_kwnames[] = { "self","dc", NULL }; | |
11194 | ||
11195 | self = self; | |
11196 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
11197 | return NULL; | |
11198 | if (_argo0) { | |
11199 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11200 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p."); | |
11202 | return NULL; | |
11203 | } | |
11204 | } | |
11205 | if (_argo1) { | |
11206 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11207 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p."); | |
11209 | return NULL; | |
11210 | } | |
11211 | } | |
11212 | { | |
11213 | wxPy_BEGIN_ALLOW_THREADS; | |
11214 | wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1); | |
11215 | ||
11216 | wxPy_END_ALLOW_THREADS; | |
11217 | } Py_INCREF(Py_None); | |
11218 | _resultobj = Py_None; | |
11219 | return _resultobj; | |
11220 | } | |
11221 | ||
11222 | #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
11223 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11224 | PyObject * _resultobj; | |
11225 | wxPyDivisionShape * _arg0; | |
11226 | wxDC * _arg1; | |
11227 | bool _arg2 = (bool ) FALSE; | |
11228 | PyObject * _argo0 = 0; | |
11229 | PyObject * _argo1 = 0; | |
11230 | int tempbool2 = (int) FALSE; | |
11231 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
11232 | ||
11233 | self = self; | |
11234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11235 | return NULL; | |
11236 | if (_argo0) { | |
11237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p."); | |
11240 | return NULL; | |
11241 | } | |
11242 | } | |
11243 | if (_argo1) { | |
11244 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11245 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p."); | |
11247 | return NULL; | |
11248 | } | |
11249 | } | |
11250 | _arg2 = (bool ) tempbool2; | |
11251 | { | |
11252 | wxPy_BEGIN_ALLOW_THREADS; | |
11253 | wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); | |
11254 | ||
11255 | wxPy_END_ALLOW_THREADS; | |
11256 | } Py_INCREF(Py_None); | |
11257 | _resultobj = Py_None; | |
11258 | return _resultobj; | |
11259 | } | |
11260 | ||
11261 | #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
11262 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11263 | PyObject * _resultobj; | |
11264 | wxPyDivisionShape * _arg0; | |
11265 | wxDC * _arg1; | |
11266 | PyObject * _argo0 = 0; | |
11267 | PyObject * _argo1 = 0; | |
11268 | char *_kwnames[] = { "self","dc", NULL }; | |
11269 | ||
11270 | self = self; | |
11271 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
11272 | return NULL; | |
11273 | if (_argo0) { | |
11274 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11275 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11276 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p."); | |
11277 | return NULL; | |
11278 | } | |
11279 | } | |
11280 | if (_argo1) { | |
11281 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11282 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p."); | |
11284 | return NULL; | |
11285 | } | |
11286 | } | |
11287 | { | |
11288 | wxPy_BEGIN_ALLOW_THREADS; | |
11289 | wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1); | |
11290 | ||
11291 | wxPy_END_ALLOW_THREADS; | |
11292 | } Py_INCREF(Py_None); | |
11293 | _resultobj = Py_None; | |
11294 | return _resultobj; | |
11295 | } | |
11296 | ||
11297 | #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
11298 | static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11299 | PyObject * _resultobj; | |
11300 | wxPyDivisionShape * _arg0; | |
11301 | wxDC * _arg1; | |
11302 | PyObject * _argo0 = 0; | |
11303 | PyObject * _argo1 = 0; | |
11304 | char *_kwnames[] = { "self","dc", NULL }; | |
11305 | ||
11306 | self = self; | |
11307 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
11308 | return NULL; | |
11309 | if (_argo0) { | |
11310 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11311 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p."); | |
11313 | return NULL; | |
11314 | } | |
11315 | } | |
11316 | if (_argo1) { | |
11317 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11318 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11319 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p."); | |
11320 | return NULL; | |
11321 | } | |
11322 | } | |
11323 | { | |
11324 | wxPy_BEGIN_ALLOW_THREADS; | |
11325 | wxPyDivisionShape_base_OnErase(_arg0,*_arg1); | |
11326 | ||
11327 | wxPy_END_ALLOW_THREADS; | |
11328 | } Py_INCREF(Py_None); | |
11329 | _resultobj = Py_None; | |
11330 | return _resultobj; | |
11331 | } | |
11332 | ||
11333 | #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
11334 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11335 | PyObject * _resultobj; | |
11336 | wxPyDivisionShape * _arg0; | |
11337 | wxDC * _arg1; | |
11338 | PyObject * _argo0 = 0; | |
11339 | PyObject * _argo1 = 0; | |
11340 | char *_kwnames[] = { "self","dc", NULL }; | |
11341 | ||
11342 | self = self; | |
11343 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
11344 | return NULL; | |
11345 | if (_argo0) { | |
11346 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11347 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11348 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p."); | |
11349 | return NULL; | |
11350 | } | |
11351 | } | |
11352 | if (_argo1) { | |
11353 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11354 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11355 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p."); | |
11356 | return NULL; | |
11357 | } | |
11358 | } | |
11359 | { | |
11360 | wxPy_BEGIN_ALLOW_THREADS; | |
11361 | wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1); | |
11362 | ||
11363 | wxPy_END_ALLOW_THREADS; | |
11364 | } Py_INCREF(Py_None); | |
11365 | _resultobj = Py_None; | |
11366 | return _resultobj; | |
11367 | } | |
11368 | ||
11369 | #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
11370 | static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11371 | PyObject * _resultobj; | |
11372 | wxPyDivisionShape * _arg0; | |
11373 | wxDC * _arg1; | |
11374 | PyObject * _argo0 = 0; | |
11375 | PyObject * _argo1 = 0; | |
11376 | char *_kwnames[] = { "self","dc", NULL }; | |
11377 | ||
11378 | self = self; | |
11379 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
11380 | return NULL; | |
11381 | if (_argo0) { | |
11382 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11383 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11384 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p."); | |
11385 | return NULL; | |
11386 | } | |
11387 | } | |
11388 | if (_argo1) { | |
11389 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11390 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p."); | |
11392 | return NULL; | |
11393 | } | |
11394 | } | |
11395 | { | |
11396 | wxPy_BEGIN_ALLOW_THREADS; | |
11397 | wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1); | |
11398 | ||
11399 | wxPy_END_ALLOW_THREADS; | |
11400 | } Py_INCREF(Py_None); | |
11401 | _resultobj = Py_None; | |
11402 | return _resultobj; | |
11403 | } | |
11404 | ||
11405 | #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11406 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11407 | PyObject * _resultobj; | |
11408 | wxPyDivisionShape * _arg0; | |
11409 | double _arg1; | |
11410 | double _arg2; | |
11411 | int _arg3 = (int ) 0; | |
11412 | int _arg4 = (int ) 0; | |
11413 | PyObject * _argo0 = 0; | |
11414 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11415 | ||
11416 | self = self; | |
11417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11418 | return NULL; | |
11419 | if (_argo0) { | |
11420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p."); | |
11423 | return NULL; | |
11424 | } | |
11425 | } | |
11426 | { | |
11427 | wxPy_BEGIN_ALLOW_THREADS; | |
11428 | wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11429 | ||
11430 | wxPy_END_ALLOW_THREADS; | |
11431 | } Py_INCREF(Py_None); | |
11432 | _resultobj = Py_None; | |
11433 | return _resultobj; | |
11434 | } | |
11435 | ||
11436 | #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11437 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11438 | PyObject * _resultobj; | |
11439 | wxPyDivisionShape * _arg0; | |
11440 | double _arg1; | |
11441 | double _arg2; | |
11442 | int _arg3 = (int ) 0; | |
11443 | int _arg4 = (int ) 0; | |
11444 | PyObject * _argo0 = 0; | |
11445 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11446 | ||
11447 | self = self; | |
11448 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11449 | return NULL; | |
11450 | if (_argo0) { | |
11451 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11452 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11453 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p."); | |
11454 | return NULL; | |
11455 | } | |
11456 | } | |
11457 | { | |
11458 | wxPy_BEGIN_ALLOW_THREADS; | |
11459 | wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11460 | ||
11461 | wxPy_END_ALLOW_THREADS; | |
11462 | } Py_INCREF(Py_None); | |
11463 | _resultobj = Py_None; | |
11464 | return _resultobj; | |
11465 | } | |
11466 | ||
11467 | #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11468 | static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11469 | PyObject * _resultobj; | |
11470 | wxPyDivisionShape * _arg0; | |
11471 | double _arg1; | |
11472 | double _arg2; | |
11473 | int _arg3 = (int ) 0; | |
11474 | int _arg4 = (int ) 0; | |
11475 | PyObject * _argo0 = 0; | |
11476 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11477 | ||
11478 | self = self; | |
11479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11480 | return NULL; | |
11481 | if (_argo0) { | |
11482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p."); | |
11485 | return NULL; | |
11486 | } | |
11487 | } | |
11488 | { | |
11489 | wxPy_BEGIN_ALLOW_THREADS; | |
11490 | wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11491 | ||
11492 | wxPy_END_ALLOW_THREADS; | |
11493 | } Py_INCREF(Py_None); | |
11494 | _resultobj = Py_None; | |
11495 | return _resultobj; | |
11496 | } | |
11497 | ||
11498 | #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
11499 | static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11500 | PyObject * _resultobj; | |
11501 | wxPyDivisionShape * _arg0; | |
11502 | double _arg1; | |
11503 | double _arg2; | |
11504 | PyObject * _argo0 = 0; | |
11505 | char *_kwnames[] = { "self","x","y", NULL }; | |
11506 | ||
11507 | self = self; | |
11508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11509 | return NULL; | |
11510 | if (_argo0) { | |
11511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p."); | |
11514 | return NULL; | |
11515 | } | |
11516 | } | |
11517 | { | |
11518 | wxPy_BEGIN_ALLOW_THREADS; | |
11519 | wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2); | |
11520 | ||
11521 | wxPy_END_ALLOW_THREADS; | |
11522 | } Py_INCREF(Py_None); | |
11523 | _resultobj = Py_None; | |
11524 | return _resultobj; | |
11525 | } | |
11526 | ||
11527 | #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11528 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11529 | PyObject * _resultobj; | |
11530 | bool _result; | |
11531 | wxPyDivisionShape * _arg0; | |
11532 | wxDC * _arg1; | |
11533 | double _arg2; | |
11534 | double _arg3; | |
11535 | double _arg4; | |
11536 | double _arg5; | |
11537 | bool _arg6 = (bool ) TRUE; | |
11538 | PyObject * _argo0 = 0; | |
11539 | PyObject * _argo1 = 0; | |
11540 | int tempbool6 = (int) TRUE; | |
11541 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11542 | ||
11543 | self = self; | |
11544 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11545 | return NULL; | |
11546 | if (_argo0) { | |
11547 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11548 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p."); | |
11550 | return NULL; | |
11551 | } | |
11552 | } | |
11553 | if (_argo1) { | |
11554 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11555 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11556 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p."); | |
11557 | return NULL; | |
11558 | } | |
11559 | } | |
11560 | _arg6 = (bool ) tempbool6; | |
11561 | { | |
11562 | wxPy_BEGIN_ALLOW_THREADS; | |
11563 | _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11564 | ||
11565 | wxPy_END_ALLOW_THREADS; | |
11566 | } _resultobj = Py_BuildValue("i",_result); | |
11567 | return _resultobj; | |
11568 | } | |
11569 | ||
11570 | #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11571 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11572 | PyObject * _resultobj; | |
11573 | wxPyDivisionShape * _arg0; | |
11574 | wxDC * _arg1; | |
11575 | double _arg2; | |
11576 | double _arg3; | |
11577 | double _arg4; | |
11578 | double _arg5; | |
11579 | bool _arg6 = (bool ) TRUE; | |
11580 | PyObject * _argo0 = 0; | |
11581 | PyObject * _argo1 = 0; | |
11582 | int tempbool6 = (int) TRUE; | |
11583 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11584 | ||
11585 | self = self; | |
11586 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11587 | return NULL; | |
11588 | if (_argo0) { | |
11589 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11590 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11591 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p."); | |
11592 | return NULL; | |
11593 | } | |
11594 | } | |
11595 | if (_argo1) { | |
11596 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11597 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11598 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p."); | |
11599 | return NULL; | |
11600 | } | |
11601 | } | |
11602 | _arg6 = (bool ) tempbool6; | |
11603 | { | |
11604 | wxPy_BEGIN_ALLOW_THREADS; | |
11605 | wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11606 | ||
11607 | wxPy_END_ALLOW_THREADS; | |
11608 | } Py_INCREF(Py_None); | |
11609 | _resultobj = Py_None; | |
11610 | return _resultobj; | |
11611 | } | |
11612 | ||
11613 | #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11614 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11615 | PyObject * _resultobj; | |
11616 | wxPyDivisionShape * _arg0; | |
11617 | bool _arg1; | |
11618 | double _arg2; | |
11619 | double _arg3; | |
11620 | int _arg4 = (int ) 0; | |
11621 | int _arg5 = (int ) 0; | |
11622 | PyObject * _argo0 = 0; | |
11623 | int tempbool1; | |
11624 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11625 | ||
11626 | self = self; | |
11627 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11628 | return NULL; | |
11629 | if (_argo0) { | |
11630 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11631 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11632 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p."); | |
11633 | return NULL; | |
11634 | } | |
11635 | } | |
11636 | _arg1 = (bool ) tempbool1; | |
11637 | { | |
11638 | wxPy_BEGIN_ALLOW_THREADS; | |
11639 | wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11640 | ||
11641 | wxPy_END_ALLOW_THREADS; | |
11642 | } Py_INCREF(Py_None); | |
11643 | _resultobj = Py_None; | |
11644 | return _resultobj; | |
11645 | } | |
11646 | ||
11647 | #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11648 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11649 | PyObject * _resultobj; | |
11650 | wxPyDivisionShape * _arg0; | |
11651 | double _arg1; | |
11652 | double _arg2; | |
11653 | int _arg3 = (int ) 0; | |
11654 | int _arg4 = (int ) 0; | |
11655 | PyObject * _argo0 = 0; | |
11656 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11657 | ||
11658 | self = self; | |
11659 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11660 | return NULL; | |
11661 | if (_argo0) { | |
11662 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11663 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11664 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
11665 | return NULL; | |
11666 | } | |
11667 | } | |
11668 | { | |
11669 | wxPy_BEGIN_ALLOW_THREADS; | |
11670 | wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11671 | ||
11672 | wxPy_END_ALLOW_THREADS; | |
11673 | } Py_INCREF(Py_None); | |
11674 | _resultobj = Py_None; | |
11675 | return _resultobj; | |
11676 | } | |
11677 | ||
11678 | #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11679 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11680 | PyObject * _resultobj; | |
11681 | wxPyDivisionShape * _arg0; | |
11682 | double _arg1; | |
11683 | double _arg2; | |
11684 | int _arg3 = (int ) 0; | |
11685 | int _arg4 = (int ) 0; | |
11686 | PyObject * _argo0 = 0; | |
11687 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11688 | ||
11689 | self = self; | |
11690 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11691 | return NULL; | |
11692 | if (_argo0) { | |
11693 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11694 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11695 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p."); | |
11696 | return NULL; | |
11697 | } | |
11698 | } | |
11699 | { | |
11700 | wxPy_BEGIN_ALLOW_THREADS; | |
11701 | wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11702 | ||
11703 | wxPy_END_ALLOW_THREADS; | |
11704 | } Py_INCREF(Py_None); | |
11705 | _resultobj = Py_None; | |
11706 | return _resultobj; | |
11707 | } | |
11708 | ||
11709 | #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11710 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11711 | PyObject * _resultobj; | |
11712 | wxPyDivisionShape * _arg0; | |
11713 | bool _arg1; | |
11714 | double _arg2; | |
11715 | double _arg3; | |
11716 | int _arg4 = (int ) 0; | |
11717 | int _arg5 = (int ) 0; | |
11718 | PyObject * _argo0 = 0; | |
11719 | int tempbool1; | |
11720 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11721 | ||
11722 | self = self; | |
11723 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11724 | return NULL; | |
11725 | if (_argo0) { | |
11726 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11727 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11728 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p."); | |
11729 | return NULL; | |
11730 | } | |
11731 | } | |
11732 | _arg1 = (bool ) tempbool1; | |
11733 | { | |
11734 | wxPy_BEGIN_ALLOW_THREADS; | |
11735 | wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
11736 | ||
11737 | wxPy_END_ALLOW_THREADS; | |
11738 | } Py_INCREF(Py_None); | |
11739 | _resultobj = Py_None; | |
11740 | return _resultobj; | |
11741 | } | |
11742 | ||
11743 | #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11744 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11745 | PyObject * _resultobj; | |
11746 | wxPyDivisionShape * _arg0; | |
11747 | double _arg1; | |
11748 | double _arg2; | |
11749 | int _arg3 = (int ) 0; | |
11750 | int _arg4 = (int ) 0; | |
11751 | PyObject * _argo0 = 0; | |
11752 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11753 | ||
11754 | self = self; | |
11755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11756 | return NULL; | |
11757 | if (_argo0) { | |
11758 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11759 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11760 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p."); | |
11761 | return NULL; | |
11762 | } | |
11763 | } | |
11764 | { | |
11765 | wxPy_BEGIN_ALLOW_THREADS; | |
11766 | wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11767 | ||
11768 | wxPy_END_ALLOW_THREADS; | |
11769 | } Py_INCREF(Py_None); | |
11770 | _resultobj = Py_None; | |
11771 | return _resultobj; | |
11772 | } | |
11773 | ||
11774 | #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11775 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11776 | PyObject * _resultobj; | |
11777 | wxPyDivisionShape * _arg0; | |
11778 | double _arg1; | |
11779 | double _arg2; | |
11780 | int _arg3 = (int ) 0; | |
11781 | int _arg4 = (int ) 0; | |
11782 | PyObject * _argo0 = 0; | |
11783 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11784 | ||
11785 | self = self; | |
11786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11787 | return NULL; | |
11788 | if (_argo0) { | |
11789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p."); | |
11792 | return NULL; | |
11793 | } | |
11794 | } | |
11795 | { | |
11796 | wxPy_BEGIN_ALLOW_THREADS; | |
11797 | wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); | |
11798 | ||
11799 | wxPy_END_ALLOW_THREADS; | |
11800 | } Py_INCREF(Py_None); | |
11801 | _resultobj = Py_None; | |
11802 | return _resultobj; | |
11803 | } | |
11804 | ||
11805 | #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11806 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11807 | PyObject * _resultobj; | |
11808 | wxPyDivisionShape * _arg0; | |
11809 | wxDC * _arg1; | |
11810 | double _arg2; | |
11811 | double _arg3; | |
11812 | double _arg4; | |
11813 | double _arg5; | |
11814 | PyObject * _argo0 = 0; | |
11815 | PyObject * _argo1 = 0; | |
11816 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
11817 | ||
11818 | self = self; | |
11819 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11820 | return NULL; | |
11821 | if (_argo0) { | |
11822 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11823 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11824 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p."); | |
11825 | return NULL; | |
11826 | } | |
11827 | } | |
11828 | if (_argo1) { | |
11829 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11830 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11831 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p."); | |
11832 | return NULL; | |
11833 | } | |
11834 | } | |
11835 | { | |
11836 | wxPy_BEGIN_ALLOW_THREADS; | |
11837 | wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); | |
11838 | ||
11839 | wxPy_END_ALLOW_THREADS; | |
11840 | } Py_INCREF(Py_None); | |
11841 | _resultobj = Py_None; | |
11842 | return _resultobj; | |
11843 | } | |
11844 | ||
11845 | #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
11846 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11847 | PyObject * _resultobj; | |
11848 | wxPyDivisionShape * _arg0; | |
11849 | wxDC * _arg1; | |
11850 | PyObject * _argo0 = 0; | |
11851 | PyObject * _argo1 = 0; | |
11852 | char *_kwnames[] = { "self","dc", NULL }; | |
11853 | ||
11854 | self = self; | |
11855 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
11856 | return NULL; | |
11857 | if (_argo0) { | |
11858 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11859 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11860 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p."); | |
11861 | return NULL; | |
11862 | } | |
11863 | } | |
11864 | if (_argo1) { | |
11865 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11866 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11867 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
11868 | return NULL; | |
11869 | } | |
11870 | } | |
11871 | { | |
11872 | wxPy_BEGIN_ALLOW_THREADS; | |
11873 | wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1); | |
11874 | ||
11875 | wxPy_END_ALLOW_THREADS; | |
11876 | } Py_INCREF(Py_None); | |
11877 | _resultobj = Py_None; | |
11878 | return _resultobj; | |
11879 | } | |
11880 | ||
11881 | #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
11882 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11883 | PyObject * _resultobj; | |
11884 | wxPyDivisionShape * _arg0; | |
11885 | wxDC * _arg1; | |
11886 | PyObject * _argo0 = 0; | |
11887 | PyObject * _argo1 = 0; | |
11888 | char *_kwnames[] = { "self","dc", NULL }; | |
11889 | ||
11890 | self = self; | |
11891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
11892 | return NULL; | |
11893 | if (_argo0) { | |
11894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p."); | |
11897 | return NULL; | |
11898 | } | |
11899 | } | |
11900 | if (_argo1) { | |
11901 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11902 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11903 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
11904 | return NULL; | |
11905 | } | |
11906 | } | |
11907 | { | |
11908 | wxPy_BEGIN_ALLOW_THREADS; | |
11909 | wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1); | |
11910 | ||
11911 | wxPy_END_ALLOW_THREADS; | |
11912 | } Py_INCREF(Py_None); | |
11913 | _resultobj = Py_None; | |
11914 | return _resultobj; | |
11915 | } | |
11916 | ||
11917 | #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
11918 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11919 | PyObject * _resultobj; | |
11920 | wxPyDivisionShape * _arg0; | |
11921 | wxDC * _arg1; | |
11922 | bool _arg2 = (bool ) TRUE; | |
11923 | PyObject * _argo0 = 0; | |
11924 | PyObject * _argo1 = 0; | |
11925 | int tempbool2 = (int) TRUE; | |
11926 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
11927 | ||
11928 | self = self; | |
11929 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11930 | return NULL; | |
11931 | if (_argo0) { | |
11932 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11933 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p."); | |
11935 | return NULL; | |
11936 | } | |
11937 | } | |
11938 | if (_argo1) { | |
11939 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11940 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p."); | |
11942 | return NULL; | |
11943 | } | |
11944 | } | |
11945 | _arg2 = (bool ) tempbool2; | |
11946 | { | |
11947 | wxPy_BEGIN_ALLOW_THREADS; | |
11948 | wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2); | |
11949 | ||
11950 | wxPy_END_ALLOW_THREADS; | |
11951 | } Py_INCREF(Py_None); | |
11952 | _resultobj = Py_None; | |
11953 | return _resultobj; | |
11954 | } | |
11955 | ||
11956 | #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11957 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11958 | PyObject * _resultobj; | |
11959 | wxPyDivisionShape * _arg0; | |
2348eaee | 11960 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
11961 | bool _arg2; |
11962 | double _arg3; | |
11963 | double _arg4; | |
11964 | int _arg5 = (int ) 0; | |
11965 | int _arg6 = (int ) 0; | |
11966 | PyObject * _argo0 = 0; | |
11967 | PyObject * _argo1 = 0; | |
11968 | int tempbool2; | |
11969 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
11970 | ||
11971 | self = self; | |
11972 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
11973 | return NULL; | |
11974 | if (_argo0) { | |
11975 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11976 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11977 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p."); | |
11978 | return NULL; | |
11979 | } | |
11980 | } | |
11981 | if (_argo1) { | |
11982 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
11983 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
11984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
11985 | return NULL; |
11986 | } | |
11987 | } | |
11988 | _arg2 = (bool ) tempbool2; | |
11989 | { | |
11990 | wxPy_BEGIN_ALLOW_THREADS; | |
11991 | wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); | |
11992 | ||
11993 | wxPy_END_ALLOW_THREADS; | |
11994 | } Py_INCREF(Py_None); | |
11995 | _resultobj = Py_None; | |
11996 | return _resultobj; | |
11997 | } | |
11998 | ||
11999 | #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12000 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12001 | PyObject * _resultobj; | |
12002 | wxPyDivisionShape * _arg0; | |
2348eaee | 12003 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12004 | double _arg2; |
12005 | double _arg3; | |
12006 | int _arg4 = (int ) 0; | |
12007 | int _arg5 = (int ) 0; | |
12008 | PyObject * _argo0 = 0; | |
12009 | PyObject * _argo1 = 0; | |
12010 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12011 | ||
12012 | self = self; | |
12013 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12014 | return NULL; | |
12015 | if (_argo0) { | |
12016 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12017 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12018 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
12019 | return NULL; | |
12020 | } | |
12021 | } | |
12022 | if (_argo1) { | |
12023 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12024 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12025 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12026 | return NULL; |
12027 | } | |
12028 | } | |
12029 | { | |
12030 | wxPy_BEGIN_ALLOW_THREADS; | |
12031 | wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
12032 | ||
12033 | wxPy_END_ALLOW_THREADS; | |
12034 | } Py_INCREF(Py_None); | |
12035 | _resultobj = Py_None; | |
12036 | return _resultobj; | |
12037 | } | |
12038 | ||
12039 | #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12040 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12041 | PyObject * _resultobj; | |
12042 | wxPyDivisionShape * _arg0; | |
2348eaee | 12043 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12044 | double _arg2; |
12045 | double _arg3; | |
12046 | int _arg4 = (int ) 0; | |
12047 | int _arg5 = (int ) 0; | |
12048 | PyObject * _argo0 = 0; | |
12049 | PyObject * _argo1 = 0; | |
12050 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12051 | ||
12052 | self = self; | |
12053 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12054 | return NULL; | |
12055 | if (_argo0) { | |
12056 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12057 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12058 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p."); | |
12059 | return NULL; | |
12060 | } | |
12061 | } | |
12062 | if (_argo1) { | |
12063 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12064 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12066 | return NULL; |
12067 | } | |
12068 | } | |
12069 | { | |
12070 | wxPy_BEGIN_ALLOW_THREADS; | |
12071 | wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); | |
12072 | ||
12073 | wxPy_END_ALLOW_THREADS; | |
12074 | } Py_INCREF(Py_None); | |
12075 | _resultobj = Py_None; | |
12076 | return _resultobj; | |
12077 | } | |
12078 | ||
12079 | #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
12080 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12081 | PyObject * _resultobj; | |
12082 | wxPyDivisionShape * _arg0; | |
12083 | double _arg1; | |
12084 | double _arg2; | |
12085 | PyObject * _argo0 = 0; | |
12086 | char *_kwnames[] = { "self","w","h", NULL }; | |
12087 | ||
12088 | self = self; | |
12089 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12090 | return NULL; | |
12091 | if (_argo0) { | |
12092 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12093 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12094 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p."); | |
12095 | return NULL; | |
12096 | } | |
12097 | } | |
12098 | { | |
12099 | wxPy_BEGIN_ALLOW_THREADS; | |
12100 | wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2); | |
12101 | ||
12102 | wxPy_END_ALLOW_THREADS; | |
12103 | } Py_INCREF(Py_None); | |
12104 | _resultobj = Py_None; | |
12105 | return _resultobj; | |
12106 | } | |
12107 | ||
12108 | #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
12109 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12110 | PyObject * _resultobj; | |
12111 | wxPyDivisionShape * _arg0; | |
12112 | double _arg1; | |
12113 | double _arg2; | |
12114 | PyObject * _argo0 = 0; | |
12115 | char *_kwnames[] = { "self","w","h", NULL }; | |
12116 | ||
12117 | self = self; | |
12118 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12119 | return NULL; | |
12120 | if (_argo0) { | |
12121 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12122 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12123 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p."); | |
12124 | return NULL; | |
12125 | } | |
12126 | } | |
12127 | { | |
12128 | wxPy_BEGIN_ALLOW_THREADS; | |
12129 | wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2); | |
12130 | ||
12131 | wxPy_END_ALLOW_THREADS; | |
12132 | } Py_INCREF(Py_None); | |
12133 | _resultobj = Py_None; | |
12134 | return _resultobj; | |
12135 | } | |
12136 | ||
12137 | static PyMethodDef oglshapescMethods[] = { | |
12138 | { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12139 | { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12140 | { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12141 | { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12142 | { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12143 | { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12144 | { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12145 | { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12146 | { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12147 | { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12148 | { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12149 | { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12150 | { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12151 | { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12152 | { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12153 | { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12154 | { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12155 | { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12156 | { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12157 | { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12158 | { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12159 | { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12160 | { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12161 | { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12162 | { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12163 | { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12164 | { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12165 | { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12166 | { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12167 | { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12168 | { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12169 | { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12170 | { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12171 | { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12172 | { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12173 | { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12174 | { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12175 | { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12176 | { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
12177 | { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS }, | |
12178 | { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12179 | { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12180 | { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12181 | { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12182 | { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12183 | { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12184 | { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12185 | { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12186 | { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS }, | |
12187 | { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS }, | |
12188 | { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS }, | |
12189 | { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS }, | |
12190 | { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS }, | |
12191 | { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS }, | |
12192 | { "wxPyDivisionShape__setSelf", (PyCFunction) _wrap_wxPyDivisionShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12193 | { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS }, | |
12194 | { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12195 | { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12196 | { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12197 | { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12198 | { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12199 | { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12200 | { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12201 | { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12202 | { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12203 | { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12204 | { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12205 | { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12206 | { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12207 | { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12208 | { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12209 | { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12210 | { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12211 | { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12212 | { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12213 | { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12214 | { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12215 | { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12216 | { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12217 | { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12218 | { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12219 | { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12220 | { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12221 | { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12222 | { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12223 | { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS }, | |
12224 | { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS }, | |
12225 | { "wxPyDividedShape__setSelf", (PyCFunction) _wrap_wxPyDividedShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12226 | { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS }, | |
12227 | { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12228 | { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12229 | { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12230 | { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12231 | { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12232 | { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12233 | { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12234 | { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12235 | { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12236 | { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12237 | { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12238 | { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12239 | { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12240 | { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12241 | { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12242 | { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12243 | { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12244 | { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12245 | { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12246 | { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12247 | { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12248 | { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12249 | { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12250 | { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12251 | { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12252 | { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12253 | { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12254 | { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12255 | { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12256 | { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
12257 | { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
12258 | { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS }, | |
12259 | { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS }, | |
12260 | { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS }, | |
12261 | { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS }, | |
12262 | { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS }, | |
12263 | { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12264 | { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS }, | |
12265 | { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12266 | { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS }, | |
714d23b4 | 12267 | { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12268 | { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS }, |
12269 | { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
12270 | { "wxPyCompositeShape__setSelf", (PyCFunction) _wrap_wxPyCompositeShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12271 | { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS }, | |
12272 | { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS }, | |
12273 | { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
12274 | { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS }, | |
12275 | { "delete_wxOGLConstraint", (PyCFunction) _wrap_delete_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12276 | { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12277 | { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12278 | { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12279 | { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12280 | { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12281 | { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12282 | { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12283 | { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12284 | { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12285 | { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12286 | { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12287 | { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12288 | { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12289 | { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12290 | { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12291 | { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12292 | { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12293 | { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12294 | { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12295 | { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12296 | { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12297 | { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12298 | { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12299 | { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12300 | { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12301 | { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12302 | { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12303 | { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12304 | { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12305 | { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12306 | { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12307 | { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS }, | |
12308 | { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12309 | { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12310 | { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS }, | |
12311 | { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS }, | |
12312 | { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS }, | |
12313 | { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12314 | { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12315 | { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12316 | { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12317 | { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12318 | { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
12319 | { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12320 | { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS }, | |
12321 | { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12322 | { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12323 | { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12324 | { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12325 | { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12326 | { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12327 | { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12328 | { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12329 | { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12330 | { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS }, | |
12331 | { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12332 | { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12333 | { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12334 | { "wxPyDrawnShape__setSelf", (PyCFunction) _wrap_wxPyDrawnShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12335 | { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS }, | |
12336 | { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12337 | { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12338 | { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12339 | { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12340 | { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12341 | { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12342 | { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12343 | { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12344 | { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12345 | { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12346 | { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12347 | { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12348 | { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12349 | { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12350 | { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12351 | { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12352 | { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12353 | { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12354 | { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12355 | { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12356 | { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12357 | { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12358 | { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12359 | { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12360 | { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12361 | { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12362 | { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12363 | { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12364 | { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12365 | { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12366 | { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12367 | { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12368 | { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12369 | { "wxPyBitmapShape__setSelf", (PyCFunction) _wrap_wxPyBitmapShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12370 | { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS }, | |
2348eaee RD |
12371 | { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12372 | { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12373 | { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12374 | { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12375 | { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12376 | { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12377 | { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12378 | { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12379 | { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12380 | { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12381 | { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12382 | { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12383 | { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12384 | { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12385 | { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12386 | { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12387 | { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12388 | { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12389 | { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12390 | { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12391 | { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12392 | { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12393 | { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12394 | { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12395 | { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12396 | { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12397 | { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12398 | { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12399 | { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12400 | { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12401 | { "wxPyControlPoint__setSelf", (PyCFunction) _wrap_wxPyControlPoint__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12402 | { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS }, | |
e91a9dfc RD |
12403 | { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12404 | { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12405 | { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12406 | { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12407 | { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12408 | { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12409 | { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12410 | { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12411 | { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12412 | { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12413 | { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12414 | { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12415 | { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12416 | { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12417 | { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12418 | { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12419 | { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12420 | { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12421 | { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12422 | { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12423 | { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12424 | { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12425 | { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12426 | { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12427 | { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12428 | { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12429 | { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12430 | { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12431 | { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12432 | { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
12433 | { "wxPyRectangleShape__setSelf", (PyCFunction) _wrap_wxPyRectangleShape__setSelf, METH_VARARGS | METH_KEYWORDS }, | |
12434 | { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS }, | |
12435 | { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12436 | { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12437 | { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12438 | { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
12439 | { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
12440 | { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
12441 | { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12442 | { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12443 | { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12444 | { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12445 | { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12446 | { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12447 | { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12448 | { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS }, | |
12449 | { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12450 | { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12451 | { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12452 | { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12453 | { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12454 | { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS }, | |
12455 | { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12456 | { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12457 | { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12458 | { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12459 | { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12460 | { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12461 | { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
12462 | { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12463 | { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12464 | { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12465 | { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS }, | |
12466 | { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12467 | { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12468 | { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12469 | { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS }, | |
12470 | { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12471 | { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS }, | |
12472 | { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS }, | |
12473 | { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12474 | { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12475 | { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS }, | |
12476 | { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12477 | { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12478 | { NULL, NULL } | |
12479 | }; | |
12480 | #ifdef __cplusplus | |
12481 | } | |
12482 | #endif | |
12483 | /* | |
12484 | * This table is used by the pointer type-checker | |
12485 | */ | |
12486 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
12487 | { "_wxAcceleratorTable","_class_wxAcceleratorTable",0}, | |
12488 | { "_wxEvent","_class_wxEvent",0}, | |
12489 | { "_class_wxActivateEvent","_wxActivateEvent",0}, | |
12490 | { "_signed_long","_long",0}, | |
12491 | { "_wxMenuEvent","_class_wxMenuEvent",0}, | |
12492 | { "_class_wxJPEGHandler","_wxJPEGHandler",0}, | |
eec92d76 RD |
12493 | { "_wxPyBitmapDataObject","_class_wxPyBitmapDataObject",0}, |
12494 | { "_wxBitmapDataObject","_class_wxBitmapDataObject",0}, | |
2348eaee | 12495 | { "_class_wxPyCommandEvent","_wxPyCommandEvent",0}, |
e91a9dfc RD |
12496 | { "_wxBMPHandler","_class_wxBMPHandler",0}, |
12497 | { "_wxImage","_class_wxImage",0}, | |
f6bcfd97 | 12498 | { "_wxFlexGridSizer","_class_wxFlexGridSizer",0}, |
eec92d76 | 12499 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
12500 | { "_wxPrintQuality","_int",0}, |
12501 | { "_wxPrintQuality","_signed_int",0}, | |
12502 | { "_wxPrintQuality","_unsigned_int",0}, | |
12503 | { "_wxPrintQuality","_wxWindowID",0}, | |
12504 | { "_wxPrintQuality","_uint",0}, | |
12505 | { "_wxPrintQuality","_EBool",0}, | |
12506 | { "_wxPrintQuality","_size_t",0}, | |
eec92d76 | 12507 | { "_class_wxCustomDataObject","_wxCustomDataObject",0}, |
e91a9dfc | 12508 | { "_wxFontData","_class_wxFontData",0}, |
e91a9dfc | 12509 | { "_class_wxRegionIterator","_wxRegionIterator",0}, |
eec92d76 | 12510 | { "_class_wxPyTextDropTarget","_wxPyTextDropTarget",0}, |
e91a9dfc RD |
12511 | { "_class_wxMenuBar","_wxMenuBar",0}, |
12512 | { "_class_wxPyTreeItemData","_wxPyTreeItemData",0}, | |
2348eaee | 12513 | { "_class_wxStaticBoxSizer","_wxStaticBoxSizer",0}, |
e91a9dfc RD |
12514 | { "_class_wxEvtHandler","_wxEvtHandler",0}, |
12515 | { "_wxPaintEvent","_class_wxPaintEvent",0}, | |
12516 | { "_wxGIFHandler","_class_wxGIFHandler",0}, | |
2348eaee | 12517 | { "_wxPySizer","_class_wxPySizer",0}, |
e91a9dfc RD |
12518 | { "_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, |
12519 | { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12520 | { "_wxPyCompositeShape","_class_wxPyCompositeShape",0}, | |
12521 | { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0}, | |
12522 | { "_wxCursor","_class_wxCursor",0}, | |
12523 | { "_wxNotifyEvent","_class_wxNotifyEvent",0}, | |
12524 | { "_wxImageHandler","_class_wxImageHandler",0}, | |
12525 | { "_class_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12526 | { "_class_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12527 | { "_class_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12528 | { "_class_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12529 | { "_class_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12530 | { "_class_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12531 | { "_class_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12532 | { "_class_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
12533 | { "_class_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
12534 | { "_class_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
2348eaee RD |
12535 | { "_class_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, |
12536 | { "_class_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
e91a9dfc | 12537 | { "_class_wxPyRectangleShape","_wxPyRectangleShape",0}, |
eec92d76 | 12538 | { "_class_wxToolBarBase","_wxToolBarBase",0}, |
e91a9dfc RD |
12539 | { "_class_wxTreeCtrl","_wxTreeCtrl",0}, |
12540 | { "_wxMask","_class_wxMask",0}, | |
12541 | { "_wxToolTip","_class_wxToolTip",0}, | |
e91a9dfc RD |
12542 | { "_wxPNGHandler","_class_wxPNGHandler",0}, |
12543 | { "_class_wxOGLConstraint","_wxOGLConstraint",0}, | |
12544 | { "_class_wxColourData","_wxColourData",0}, | |
12545 | { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0}, | |
12546 | { "_wxPrinter","_class_wxPrinter",0}, | |
12547 | { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0}, | |
12548 | { "_wxPen","_class_wxPen",0}, | |
12549 | { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0}, | |
f6bcfd97 | 12550 | { "_class_wxNotebookSizer","_wxNotebookSizer",0}, |
e91a9dfc | 12551 | { "_byte","_unsigned_char",0}, |
eec92d76 RD |
12552 | { "_wxDataObject","_class_wxDataObject",0}, |
12553 | { "_class_wxPyFontEnumerator","_wxPyFontEnumerator",0}, | |
e91a9dfc | 12554 | { "_wxStaticBox","_class_wxStaticBox",0}, |
eec92d76 RD |
12555 | { "_wxPyDataObjectSimple","_class_wxPyDataObjectSimple",0}, |
12556 | { "_wxPyDropSource","_class_wxPyDropSource",0}, | |
e91a9dfc RD |
12557 | { "_wxChoice","_class_wxChoice",0}, |
12558 | { "_wxSlider","_class_wxSlider",0}, | |
12559 | { "_wxNotebookEvent","_class_wxNotebookEvent",0}, | |
12560 | { "_wxPyPrintout","_class_wxPyPrintout",0}, | |
12561 | { "_wxShapeRegion","_class_wxShapeRegion",0}, | |
e91a9dfc RD |
12562 | { "_long","_unsigned_long",0}, |
12563 | { "_long","_signed_long",0}, | |
12564 | { "_wxImageList","_class_wxImageList",0}, | |
eec92d76 | 12565 | { "_wxDataObjectSimple","_class_wxDataObjectSimple",0}, |
e91a9dfc RD |
12566 | { "_wxDropFilesEvent","_class_wxDropFilesEvent",0}, |
12567 | { "_wxBitmapButton","_class_wxBitmapButton",0}, | |
12568 | { "_wxSashWindow","_class_wxSashWindow",0}, | |
2348eaee | 12569 | { "_class_wxSizer","_wxSizer",0}, |
eec92d76 | 12570 | { "_class_wxTIFFHandler","_wxTIFFHandler",0}, |
e91a9dfc | 12571 | { "_class_wxPrintDialogData","_wxPrintDialogData",0}, |
f6bcfd97 | 12572 | { "_wxGridSizer","_class_wxGridSizer",0}, |
e91a9dfc | 12573 | { "_class_wxAcceleratorTable","_wxAcceleratorTable",0}, |
eec92d76 | 12574 | { "_class_wxClipboard","_wxClipboard",0}, |
e91a9dfc RD |
12575 | { "_class_wxGauge","_wxGauge",0}, |
12576 | { "_class_wxSashEvent","_wxSashEvent",0}, | |
12577 | { "_wxDC","_class_wxDC",0}, | |
2348eaee | 12578 | { "_wxSizerItem","_class_wxSizerItem",0}, |
eec92d76 | 12579 | { "_class_wxBitmapDataObject","_wxBitmapDataObject",0}, |
e91a9dfc RD |
12580 | { "_wxListEvent","_class_wxListEvent",0}, |
12581 | { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0}, | |
12582 | { "_wxProgressDialog","_class_wxProgressDialog",0}, | |
12583 | { "_class_wxBMPHandler","_wxBMPHandler",0}, | |
12584 | { "_wxPrintPreview","_class_wxPrintPreview",0}, | |
f6bcfd97 | 12585 | { "_class_wxFlexGridSizer","_wxFlexGridSizer",0}, |
e91a9dfc RD |
12586 | { "_wxSpinEvent","_class_wxSpinEvent",0}, |
12587 | { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0}, | |
12588 | { "_wxPyBitmapShape","_class_wxPyBitmapShape",0}, | |
eec92d76 | 12589 | { "_size_t","_wxCoord",0}, |
e91a9dfc RD |
12590 | { "_size_t","_wxPrintQuality",0}, |
12591 | { "_size_t","_unsigned_int",0}, | |
12592 | { "_size_t","_int",0}, | |
12593 | { "_size_t","_wxWindowID",0}, | |
12594 | { "_size_t","_uint",0}, | |
12595 | { "_class_wxRealPoint","_wxRealPoint",0}, | |
eec92d76 RD |
12596 | { "_wxNavigationKeyEvent","_class_wxNavigationKeyEvent",0}, |
12597 | { "_wxPNMHandler","_class_wxPNMHandler",0}, | |
12598 | { "_wxWindowCreateEvent","_class_wxWindowCreateEvent",0}, | |
e91a9dfc RD |
12599 | { "_class_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, |
12600 | { "_class_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12601 | { "_class_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12602 | { "_class_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12603 | { "_class_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12604 | { "_class_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12605 | { "_class_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12606 | { "_class_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12607 | { "_class_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
12608 | { "_class_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
2348eaee RD |
12609 | { "_class_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, |
12610 | { "_class_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
e91a9dfc RD |
12611 | { "_class_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, |
12612 | { "_class_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
12613 | { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0}, | |
12614 | { "_class_wxMenuItem","_wxMenuItem",0}, | |
12615 | { "_class_wxPaintEvent","_wxPaintEvent",0}, | |
12616 | { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0}, | |
12617 | { "_class_wxStatusBar","_wxStatusBar",0}, | |
12618 | { "_class_wxGIFHandler","_wxGIFHandler",0}, | |
2348eaee | 12619 | { "_class_wxPySizer","_wxPySizer",0}, |
e91a9dfc RD |
12620 | { "_class_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, |
12621 | { "_class_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, | |
12622 | { "_class_wxPyCompositeShape","_wxPyCompositeShape",0}, | |
eec92d76 | 12623 | { "_class_wxPostScriptDC","_wxPostScriptDC",0}, |
e91a9dfc RD |
12624 | { "_wxPanel","_class_wxPanel",0}, |
12625 | { "_wxInitDialogEvent","_class_wxInitDialogEvent",0}, | |
12626 | { "_wxCheckBox","_class_wxCheckBox",0}, | |
12627 | { "_wxPyEvent","_class_wxPyEvent",0}, | |
12628 | { "_wxTextCtrl","_class_wxTextCtrl",0}, | |
12629 | { "_class_wxMask","_wxMask",0}, | |
eec92d76 | 12630 | { "_wxTextDataObject","_class_wxTextDataObject",0}, |
e91a9dfc | 12631 | { "_class_wxKeyEvent","_wxKeyEvent",0}, |
eec92d76 | 12632 | { "_class_wxToolTip","_wxToolTip",0}, |
e91a9dfc RD |
12633 | { "_class_wxPNGHandler","_wxPNGHandler",0}, |
12634 | { "_wxColour","_class_wxColour",0}, | |
12635 | { "_class_wxDialog","_wxDialog",0}, | |
eec92d76 | 12636 | { "_wxBusyCursor","_class_wxBusyCursor",0}, |
e91a9dfc RD |
12637 | { "_wxPageSetupDialog","_class_wxPageSetupDialog",0}, |
12638 | { "_class_wxPrinter","_wxPrinter",0}, | |
eec92d76 | 12639 | { "_class_wxFileDataObject","_wxFileDataObject",0}, |
e91a9dfc RD |
12640 | { "_wxIdleEvent","_class_wxIdleEvent",0}, |
12641 | { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0}, | |
12642 | { "_wxToolBar","_class_wxToolBar",0}, | |
eec92d76 | 12643 | { "_class_wxDataObject","_wxDataObject",0}, |
f0261a72 | 12644 | { "_wxCaret","_class_wxCaret",0}, |
e91a9dfc RD |
12645 | { "_wxStaticLine","_class_wxStaticLine",0}, |
12646 | { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0}, | |
12647 | { "_wxBrush","_class_wxBrush",0}, | |
12648 | { "_wxMiniFrame","_class_wxMiniFrame",0}, | |
12649 | { "_class_wxNotebookEvent","_wxNotebookEvent",0}, | |
12650 | { "_class_wxPyPrintout","_wxPyPrintout",0}, | |
eec92d76 RD |
12651 | { "_wxDataFormat","_class_wxDataFormat",0}, |
12652 | { "_class_wxDataObjectSimple","_wxDataObjectSimple",0}, | |
e91a9dfc RD |
12653 | { "_class_wxSashWindow","_wxSashWindow",0}, |
12654 | { "_wxShowEvent","_class_wxShowEvent",0}, | |
12655 | { "_class_wxPyDivisionShape","_wxPyDivisionShape",0}, | |
eec92d76 | 12656 | { "_uint","_wxCoord",0}, |
e91a9dfc RD |
12657 | { "_uint","_wxPrintQuality",0}, |
12658 | { "_uint","_size_t",0}, | |
12659 | { "_uint","_unsigned_int",0}, | |
12660 | { "_uint","_int",0}, | |
12661 | { "_uint","_wxWindowID",0}, | |
f0261a72 | 12662 | { "_wxPyValidator","_class_wxPyValidator",0}, |
e91a9dfc RD |
12663 | { "_class_wxEvent","_wxEvent",0}, |
12664 | { "_wxCheckListBox","_class_wxCheckListBox",0}, | |
12665 | { "_wxSplitterEvent","_class_wxSplitterEvent",0}, | |
e91a9dfc RD |
12666 | { "_wxRect","_class_wxRect",0}, |
12667 | { "_wxCommandEvent","_class_wxCommandEvent",0}, | |
12668 | { "_wxSizeEvent","_class_wxSizeEvent",0}, | |
12669 | { "_class_wxImage","_wxImage",0}, | |
12670 | { "_wxPoint","_class_wxPoint",0}, | |
12671 | { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0}, | |
12672 | { "_class_wxPyBitmapShape","_wxPyBitmapShape",0}, | |
12673 | { "_class_wxButton","_wxButton",0}, | |
12674 | { "_wxRadioBox","_class_wxRadioBox",0}, | |
12675 | { "_class_wxFontData","_wxFontData",0}, | |
eec92d76 | 12676 | { "_class_wxPNMHandler","_wxPNMHandler",0}, |
2348eaee | 12677 | { "_wxBoxSizer","_class_wxBoxSizer",0}, |
e91a9dfc | 12678 | { "_wxBitmap","_class_wxBitmap",0}, |
e91a9dfc | 12679 | { "_wxPrintDialog","_class_wxPrintDialog",0}, |
2348eaee | 12680 | { "_wxPyControlPoint","_class_wxPyControlPoint",0}, |
e91a9dfc RD |
12681 | { "_wxPyTimer","_class_wxPyTimer",0}, |
12682 | { "_wxWindowDC","_class_wxWindowDC",0}, | |
12683 | { "_wxScrollBar","_class_wxScrollBar",0}, | |
12684 | { "_wxSpinButton","_class_wxSpinButton",0}, | |
e91a9dfc RD |
12685 | { "_wxColourDialog","_class_wxColourDialog",0}, |
12686 | { "_wxPrintData","_class_wxPrintData",0}, | |
12687 | { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0}, | |
12688 | { "_class_wxNotifyEvent","_wxNotifyEvent",0}, | |
12689 | { "_wxMessageDialog","_class_wxMessageDialog",0}, | |
f0261a72 | 12690 | { "_class_wxValidator","_wxValidator",0}, |
e91a9dfc RD |
12691 | { "_class_wxPyEvent","_wxPyEvent",0}, |
12692 | { "_wxTextEntryDialog","_class_wxTextEntryDialog",0}, | |
12693 | { "_class_wxIconizeEvent","_wxIconizeEvent",0}, | |
12694 | { "_class_wxStaticBitmap","_wxStaticBitmap",0}, | |
12695 | { "_class_wxPyDrawnShape","_wxPyDrawnShape",0}, | |
eec92d76 RD |
12696 | { "_class_wxBusyCursor","_wxBusyCursor",0}, |
12697 | { "_wxToolBarSimple","_class_wxToolBarSimple",0}, | |
e91a9dfc RD |
12698 | { "_wxMDIChildFrame","_class_wxMDIChildFrame",0}, |
12699 | { "_wxListItem","_class_wxListItem",0}, | |
12700 | { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0}, | |
12701 | { "_class_wxToolBar","_wxToolBar",0}, | |
eec92d76 | 12702 | { "_wxDropTarget","_class_wxDropTarget",0}, |
e91a9dfc RD |
12703 | { "_class_wxStaticLine","_wxStaticLine",0}, |
12704 | { "_wxScrollEvent","_class_wxScrollEvent",0}, | |
eec92d76 | 12705 | { "_wxToolBarToolBase","_class_wxToolBarToolBase",0}, |
e91a9dfc RD |
12706 | { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0}, |
12707 | { "_class_wxShapeRegion","_wxShapeRegion",0}, | |
eec92d76 | 12708 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
12709 | { "_EBool","_wxPrintQuality",0}, |
12710 | { "_EBool","_signed_int",0}, | |
12711 | { "_EBool","_int",0}, | |
12712 | { "_EBool","_wxWindowID",0}, | |
12713 | { "_class_wxRegion","_wxRegion",0}, | |
eec92d76 | 12714 | { "_class_wxDataFormat","_wxDataFormat",0}, |
e91a9dfc | 12715 | { "_class_wxDropFilesEvent","_wxDropFilesEvent",0}, |
eec92d76 | 12716 | { "_wxWindowDestroyEvent","_class_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
12717 | { "_class_wxPreviewFrame","_wxPreviewFrame",0}, |
12718 | { "_wxStaticText","_class_wxStaticText",0}, | |
12719 | { "_wxFont","_class_wxFont",0}, | |
eec92d76 | 12720 | { "_class_wxPyDropTarget","_wxPyDropTarget",0}, |
e91a9dfc RD |
12721 | { "_wxCloseEvent","_class_wxCloseEvent",0}, |
12722 | { "_class_wxSplitterEvent","_wxSplitterEvent",0}, | |
12723 | { "_wxNotebook","_class_wxNotebook",0}, | |
e91a9dfc RD |
12724 | { "_unsigned_long","_long",0}, |
12725 | { "_class_wxRect","_wxRect",0}, | |
12726 | { "_class_wxDC","_wxDC",0}, | |
9cce9de1 | 12727 | { "_wxScrollWinEvent","_class_wxScrollWinEvent",0}, |
e91a9dfc | 12728 | { "_class_wxProgressDialog","_wxProgressDialog",0}, |
eec92d76 | 12729 | { "_wxQueryNewPaletteEvent","_class_wxQueryNewPaletteEvent",0}, |
e91a9dfc | 12730 | { "_wxPyApp","_class_wxPyApp",0}, |
eec92d76 | 12731 | { "_class_wxWindowCreateEvent","_wxWindowCreateEvent",0}, |
e91a9dfc RD |
12732 | { "_wxMDIParentFrame","_class_wxMDIParentFrame",0}, |
12733 | { "_class_wxTreeEvent","_wxTreeEvent",0}, | |
12734 | { "_class_wxDirDialog","_wxDirDialog",0}, | |
12735 | { "_class_wxPyTimer","_wxPyTimer",0}, | |
12736 | { "_wxFocusEvent","_class_wxFocusEvent",0}, | |
12737 | { "_wxMaximizeEvent","_class_wxMaximizeEvent",0}, | |
12738 | { "_class_wxSpinButton","_wxSpinButton",0}, | |
12739 | { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0}, | |
12740 | { "_class_wxPanel","_wxPanel",0}, | |
12741 | { "_class_wxCheckBox","_wxCheckBox",0}, | |
12742 | { "_wxComboBox","_class_wxComboBox",0}, | |
12743 | { "_wxRadioButton","_class_wxRadioButton",0}, | |
12744 | { "_class_wxMessageDialog","_wxMessageDialog",0}, | |
eec92d76 | 12745 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
12746 | { "_signed_int","_wxPrintQuality",0}, |
12747 | { "_signed_int","_EBool",0}, | |
12748 | { "_signed_int","_wxWindowID",0}, | |
12749 | { "_signed_int","_int",0}, | |
12750 | { "_class_wxTextCtrl","_wxTextCtrl",0}, | |
f6bcfd97 | 12751 | { "_class_wxListItemAttr","_wxListItemAttr",0}, |
e91a9dfc | 12752 | { "_wxLayoutConstraints","_class_wxLayoutConstraints",0}, |
eec92d76 | 12753 | { "_class_wxTextDataObject","_wxTextDataObject",0}, |
e91a9dfc RD |
12754 | { "_wxMenu","_class_wxMenu",0}, |
12755 | { "_class_wxMoveEvent","_wxMoveEvent",0}, | |
12756 | { "_wxListBox","_class_wxListBox",0}, | |
12757 | { "_wxScreenDC","_class_wxScreenDC",0}, | |
eec92d76 | 12758 | { "_class_wxToolBarSimple","_wxToolBarSimple",0}, |
e91a9dfc RD |
12759 | { "_class_wxMDIChildFrame","_wxMDIChildFrame",0}, |
12760 | { "_WXTYPE","_short",0}, | |
12761 | { "_WXTYPE","_signed_short",0}, | |
12762 | { "_WXTYPE","_unsigned_short",0}, | |
12763 | { "_wxFileDialog","_class_wxFileDialog",0}, | |
eec92d76 | 12764 | { "_class_wxDropTarget","_wxDropTarget",0}, |
f0261a72 | 12765 | { "_class_wxCaret","_wxCaret",0}, |
e91a9dfc RD |
12766 | { "_class_wxMDIClientWindow","_wxMDIClientWindow",0}, |
12767 | { "_class_wxBrush","_wxBrush",0}, | |
f6bcfd97 | 12768 | { "_wxTipProvider","_class_wxTipProvider",0}, |
e91a9dfc RD |
12769 | { "_unsigned_short","_WXTYPE",0}, |
12770 | { "_unsigned_short","_short",0}, | |
12771 | { "_class_wxWindow","_wxWindow",0}, | |
12772 | { "_wxSplitterWindow","_class_wxSplitterWindow",0}, | |
12773 | { "_class_wxStaticText","_wxStaticText",0}, | |
12774 | { "_wxPrintDialogData","_class_wxPrintDialogData",0}, | |
12775 | { "_class_wxFont","_wxFont",0}, | |
eec92d76 | 12776 | { "_wxClipboard","_class_wxClipboard",0}, |
f0261a72 | 12777 | { "_class_wxPyValidator","_wxPyValidator",0}, |
e91a9dfc RD |
12778 | { "_class_wxCloseEvent","_wxCloseEvent",0}, |
12779 | { "_wxSashEvent","_class_wxSashEvent",0}, | |
eec92d76 | 12780 | { "_wxBusyInfo","_class_wxBusyInfo",0}, |
e91a9dfc | 12781 | { "_class_wxMenuEvent","_wxMenuEvent",0}, |
eec92d76 RD |
12782 | { "_wxPaletteChangedEvent","_class_wxPaletteChangedEvent",0}, |
12783 | { "_class_wxPyBitmapDataObject","_wxPyBitmapDataObject",0}, | |
e91a9dfc RD |
12784 | { "_wxClientDC","_class_wxClientDC",0}, |
12785 | { "_wxMouseEvent","_class_wxMouseEvent",0}, | |
12786 | { "_wxListCtrl","_class_wxListCtrl",0}, | |
12787 | { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0}, | |
12788 | { "_wxPyDividedShape","_class_wxPyDividedShape",0}, | |
12789 | { "_class_wxPoint","_wxPoint",0}, | |
12790 | { "_wxRealPoint","_class_wxRealPoint",0}, | |
12791 | { "_class_wxRadioBox","_wxRadioBox",0}, | |
2348eaee | 12792 | { "_class_wxBoxSizer","_wxBoxSizer",0}, |
e91a9dfc RD |
12793 | { "_signed_short","_WXTYPE",0}, |
12794 | { "_signed_short","_short",0}, | |
12795 | { "_wxMemoryDC","_class_wxMemoryDC",0}, | |
eec92d76 | 12796 | { "_wxPyTextDataObject","_class_wxPyTextDataObject",0}, |
e91a9dfc | 12797 | { "_class_wxPrintDialog","_wxPrintDialog",0}, |
2348eaee | 12798 | { "_class_wxPyControlPoint","_wxPyControlPoint",0}, |
e91a9dfc RD |
12799 | { "_wxPaintDC","_class_wxPaintDC",0}, |
12800 | { "_class_wxWindowDC","_wxWindowDC",0}, | |
12801 | { "_class_wxFocusEvent","_wxFocusEvent",0}, | |
12802 | { "_class_wxMaximizeEvent","_wxMaximizeEvent",0}, | |
12803 | { "_wxStatusBar","_class_wxStatusBar",0}, | |
e91a9dfc RD |
12804 | { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0}, |
12805 | { "_class_wxCursor","_wxCursor",0}, | |
eec92d76 RD |
12806 | { "_wxPostScriptDC","_class_wxPostScriptDC",0}, |
12807 | { "_wxPyFileDropTarget","_class_wxPyFileDropTarget",0}, | |
e91a9dfc RD |
12808 | { "_class_wxImageHandler","_wxImageHandler",0}, |
12809 | { "_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12810 | { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12811 | { "_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12812 | { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12813 | { "_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12814 | { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12815 | { "_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12816 | { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12817 | { "_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
12818 | { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
2348eaee RD |
12819 | { "_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, |
12820 | { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
e91a9dfc RD |
12821 | { "_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, |
12822 | { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
12823 | { "_wxPyShape","_class_wxPyShape",0}, | |
12824 | { "_wxScrolledWindow","_class_wxScrolledWindow",0}, | |
12825 | { "_wxTreeItemId","_class_wxTreeItemId",0}, | |
12826 | { "_unsigned_char","_byte",0}, | |
e91a9dfc RD |
12827 | { "_class_wxMenu","_wxMenu",0}, |
12828 | { "_wxControl","_class_wxControl",0}, | |
12829 | { "_class_wxListBox","_wxListBox",0}, | |
eec92d76 | 12830 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc RD |
12831 | { "_unsigned_int","_wxPrintQuality",0}, |
12832 | { "_unsigned_int","_size_t",0}, | |
12833 | { "_unsigned_int","_uint",0}, | |
12834 | { "_unsigned_int","_wxWindowID",0}, | |
12835 | { "_unsigned_int","_int",0}, | |
12836 | { "_wxIcon","_class_wxIcon",0}, | |
12837 | { "_wxDialog","_class_wxDialog",0}, | |
12838 | { "_class_wxListItem","_wxListItem",0}, | |
12839 | { "_class_wxPen","_wxPen",0}, | |
12840 | { "_class_wxFileDialog","_wxFileDialog",0}, | |
12841 | { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0}, | |
12842 | { "_short","_WXTYPE",0}, | |
12843 | { "_short","_unsigned_short",0}, | |
12844 | { "_short","_signed_short",0}, | |
12845 | { "_class_wxStaticBox","_wxStaticBox",0}, | |
12846 | { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0}, | |
eec92d76 RD |
12847 | { "_class_wxPyDataObjectSimple","_wxPyDataObjectSimple",0}, |
12848 | { "_class_wxPyDropSource","_wxPyDropSource",0}, | |
e91a9dfc RD |
12849 | { "_class_wxScrollEvent","_wxScrollEvent",0}, |
12850 | { "_wxJoystickEvent","_class_wxJoystickEvent",0}, | |
12851 | { "_class_wxChoice","_wxChoice",0}, | |
12852 | { "_class_wxSlider","_wxSlider",0}, | |
12853 | { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0}, | |
12854 | { "_class_wxImageList","_wxImageList",0}, | |
12855 | { "_class_wxBitmapButton","_wxBitmapButton",0}, | |
f6bcfd97 | 12856 | { "_wxPyTipProvider","_class_wxPyTipProvider",0}, |
e91a9dfc | 12857 | { "_wxFrame","_class_wxFrame",0}, |
eec92d76 | 12858 | { "_wxPCXHandler","_class_wxPCXHandler",0}, |
f6bcfd97 | 12859 | { "_class_wxGridSizer","_wxGridSizer",0}, |
e91a9dfc | 12860 | { "_wxPyDivisionShape","_class_wxPyDivisionShape",0}, |
eec92d76 | 12861 | { "_class_wxPaletteChangedEvent","_wxPaletteChangedEvent",0}, |
e91a9dfc RD |
12862 | { "_class_wxNotebook","_wxNotebook",0}, |
12863 | { "_wxJPEGHandler","_class_wxJPEGHandler",0}, | |
eec92d76 | 12864 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc RD |
12865 | { "_wxWindowID","_wxPrintQuality",0}, |
12866 | { "_wxWindowID","_size_t",0}, | |
12867 | { "_wxWindowID","_EBool",0}, | |
12868 | { "_wxWindowID","_uint",0}, | |
12869 | { "_wxWindowID","_int",0}, | |
12870 | { "_wxWindowID","_signed_int",0}, | |
12871 | { "_wxWindowID","_unsigned_int",0}, | |
9cce9de1 | 12872 | { "_class_wxScrollWinEvent","_wxScrollWinEvent",0}, |
2348eaee | 12873 | { "_class_wxSizerItem","_wxSizerItem",0}, |
eec92d76 | 12874 | { "_int","_wxCoord",0}, |
e91a9dfc RD |
12875 | { "_int","_wxPrintQuality",0}, |
12876 | { "_int","_size_t",0}, | |
12877 | { "_int","_EBool",0}, | |
12878 | { "_int","_uint",0}, | |
12879 | { "_int","_wxWindowID",0}, | |
12880 | { "_int","_unsigned_int",0}, | |
12881 | { "_int","_signed_int",0}, | |
12882 | { "_class_wxMouseEvent","_wxMouseEvent",0}, | |
2348eaee | 12883 | { "_wxPyCommandEvent","_class_wxPyCommandEvent",0}, |
e91a9dfc RD |
12884 | { "_class_wxListEvent","_wxListEvent",0}, |
12885 | { "_class_wxPrintPreview","_wxPrintPreview",0}, | |
12886 | { "_class_wxSpinEvent","_wxSpinEvent",0}, | |
eec92d76 RD |
12887 | { "_class_wxQueryNewPaletteEvent","_wxQueryNewPaletteEvent",0}, |
12888 | { "_class_wxNavigationKeyEvent","_wxNavigationKeyEvent",0}, | |
e91a9dfc RD |
12889 | { "_wxButton","_class_wxButton",0}, |
12890 | { "_class_wxPyApp","_wxPyApp",0}, | |
12891 | { "_wxSize","_class_wxSize",0}, | |
12892 | { "_wxRegionIterator","_class_wxRegionIterator",0}, | |
eec92d76 | 12893 | { "_class_wxPyTextDataObject","_wxPyTextDataObject",0}, |
e91a9dfc RD |
12894 | { "_class_wxMDIParentFrame","_wxMDIParentFrame",0}, |
12895 | { "_wxPyTreeItemData","_class_wxPyTreeItemData",0}, | |
2348eaee | 12896 | { "_wxStaticBoxSizer","_class_wxStaticBoxSizer",0}, |
e91a9dfc RD |
12897 | { "_class_wxPaintDC","_wxPaintDC",0}, |
12898 | { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0}, | |
eec92d76 | 12899 | { "_class_wxPyFileDropTarget","_wxPyFileDropTarget",0}, |
e91a9dfc RD |
12900 | { "_class_wxInitDialogEvent","_wxInitDialogEvent",0}, |
12901 | { "_class_wxComboBox","_wxComboBox",0}, | |
12902 | { "_class_wxRadioButton","_wxRadioButton",0}, | |
12903 | { "_class_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12904 | { "_class_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, | |
12905 | { "_class_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12906 | { "_class_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, | |
12907 | { "_class_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12908 | { "_class_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, | |
12909 | { "_class_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12910 | { "_class_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, | |
12911 | { "_class_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
12912 | { "_class_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, | |
2348eaee RD |
12913 | { "_class_wxPyShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, |
12914 | { "_class_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, | |
e91a9dfc RD |
12915 | { "_class_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, |
12916 | { "_class_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, | |
12917 | { "_class_wxPyShape","_wxPyShape",0}, | |
f0261a72 | 12918 | { "_wxValidator","_class_wxValidator",0}, |
eec92d76 | 12919 | { "_wxToolBarBase","_class_wxToolBarBase",0}, |
e91a9dfc RD |
12920 | { "_class_wxTreeItemId","_wxTreeItemId",0}, |
12921 | { "_wxTreeCtrl","_class_wxTreeCtrl",0}, | |
12922 | { "_class_wxLayoutConstraints","_wxLayoutConstraints",0}, | |
12923 | { "_wxIconizeEvent","_class_wxIconizeEvent",0}, | |
12924 | { "_class_wxControl","_wxControl",0}, | |
12925 | { "_wxStaticBitmap","_class_wxStaticBitmap",0}, | |
12926 | { "_wxPyDrawnShape","_class_wxPyDrawnShape",0}, | |
12927 | { "_class_wxIcon","_wxIcon",0}, | |
12928 | { "_class_wxColour","_wxColour",0}, | |
12929 | { "_class_wxScreenDC","_wxScreenDC",0}, | |
12930 | { "_class_wxPageSetupDialog","_wxPageSetupDialog",0}, | |
12931 | { "_wxPalette","_class_wxPalette",0}, | |
12932 | { "_class_wxIdleEvent","_wxIdleEvent",0}, | |
eec92d76 RD |
12933 | { "_wxCoord","_int",0}, |
12934 | { "_wxCoord","_signed_int",0}, | |
12935 | { "_wxCoord","_unsigned_int",0}, | |
12936 | { "_wxCoord","_wxWindowID",0}, | |
12937 | { "_wxCoord","_uint",0}, | |
12938 | { "_wxCoord","_EBool",0}, | |
12939 | { "_wxCoord","_size_t",0}, | |
12940 | { "_wxCoord","_wxPrintQuality",0}, | |
e91a9dfc | 12941 | { "_wxEraseEvent","_class_wxEraseEvent",0}, |
eec92d76 | 12942 | { "_wxDataObjectComposite","_class_wxDataObjectComposite",0}, |
e91a9dfc | 12943 | { "_class_wxJoystickEvent","_wxJoystickEvent",0}, |
f6bcfd97 | 12944 | { "_class_wxTipProvider","_wxTipProvider",0}, |
e91a9dfc RD |
12945 | { "_class_wxMiniFrame","_wxMiniFrame",0}, |
12946 | { "_wxFontDialog","_class_wxFontDialog",0}, | |
12947 | { "_wxRegion","_class_wxRegion",0}, | |
12948 | { "_class_wxSplitterWindow","_wxSplitterWindow",0}, | |
12949 | { "_wxPreviewFrame","_class_wxPreviewFrame",0}, | |
2348eaee | 12950 | { "_wxSizer","_class_wxSizer",0}, |
e91a9dfc | 12951 | { "_class_wxShowEvent","_wxShowEvent",0}, |
f6bcfd97 | 12952 | { "_class_wxPyTipProvider","_wxPyTipProvider",0}, |
eec92d76 RD |
12953 | { "_class_wxPCXHandler","_wxPCXHandler",0}, |
12954 | { "_wxTIFFHandler","_class_wxTIFFHandler",0}, | |
12955 | { "_wxPyDropTarget","_class_wxPyDropTarget",0}, | |
e91a9dfc RD |
12956 | { "_wxActivateEvent","_class_wxActivateEvent",0}, |
12957 | { "_wxGauge","_class_wxGauge",0}, | |
12958 | { "_class_wxCheckListBox","_wxCheckListBox",0}, | |
eec92d76 | 12959 | { "_class_wxBusyInfo","_wxBusyInfo",0}, |
e91a9dfc RD |
12960 | { "_class_wxCommandEvent","_wxCommandEvent",0}, |
12961 | { "_class_wxClientDC","_wxClientDC",0}, | |
12962 | { "_class_wxSizeEvent","_wxSizeEvent",0}, | |
12963 | { "_class_wxListCtrl","_wxListCtrl",0}, | |
12964 | { "_class_wxPyDividedShape","_wxPyDividedShape",0}, | |
eec92d76 | 12965 | { "_wxCustomDataObject","_class_wxCustomDataObject",0}, |
e91a9dfc RD |
12966 | { "_class_wxSize","_wxSize",0}, |
12967 | { "_class_wxBitmap","_wxBitmap",0}, | |
12968 | { "_class_wxMemoryDC","_wxMemoryDC",0}, | |
eec92d76 | 12969 | { "_wxPyTextDropTarget","_class_wxPyTextDropTarget",0}, |
e91a9dfc RD |
12970 | { "_wxMenuBar","_class_wxMenuBar",0}, |
12971 | { "_wxTreeEvent","_class_wxTreeEvent",0}, | |
12972 | { "_wxDirDialog","_class_wxDirDialog",0}, | |
12973 | { "_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12974 | { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, | |
12975 | { "_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12976 | { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, | |
12977 | { "_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12978 | { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, | |
12979 | { "_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12980 | { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, | |
12981 | { "_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
12982 | { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, | |
2348eaee RD |
12983 | { "_wxPyShapeEvtHandler","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, |
12984 | { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, | |
e91a9dfc RD |
12985 | { "_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, |
12986 | { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, | |
12987 | { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0}, | |
12988 | { "_wxEvtHandler","_class_wxEvtHandler",0}, | |
12989 | { "_wxMenuItem","_class_wxMenuItem",0}, | |
12990 | { "_class_wxScrollBar","_wxScrollBar",0}, | |
12991 | { "_class_wxColourDialog","_wxColourDialog",0}, | |
12992 | { "_class_wxPrintData","_wxPrintData",0}, | |
e91a9dfc RD |
12993 | { "_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, |
12994 | { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, | |
12995 | { "_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12996 | { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, | |
12997 | { "_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12998 | { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, | |
12999 | { "_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
13000 | { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, | |
13001 | { "_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
13002 | { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, | |
2348eaee RD |
13003 | { "_wxPyRectangleShape","_class_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, |
13004 | { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, | |
e91a9dfc RD |
13005 | { "_wxPyRectangleShape","_class_wxPyRectangleShape",0}, |
13006 | { "_class_wxScrolledWindow","_wxScrolledWindow",0}, | |
f6bcfd97 | 13007 | { "_wxListItemAttr","_class_wxListItemAttr",0}, |
e91a9dfc RD |
13008 | { "_class_wxTextEntryDialog","_wxTextEntryDialog",0}, |
13009 | { "_wxKeyEvent","_class_wxKeyEvent",0}, | |
13010 | { "_wxMoveEvent","_class_wxMoveEvent",0}, | |
13011 | { "_wxOGLConstraint","_class_wxOGLConstraint",0}, | |
13012 | { "_wxColourData","_class_wxColourData",0}, | |
13013 | { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0}, | |
13014 | { "_class_wxPalette","_wxPalette",0}, | |
eec92d76 | 13015 | { "_wxFileDataObject","_class_wxFileDataObject",0}, |
e91a9dfc | 13016 | { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0}, |
f6bcfd97 | 13017 | { "_wxNotebookSizer","_class_wxNotebookSizer",0}, |
e91a9dfc | 13018 | { "_class_wxEraseEvent","_wxEraseEvent",0}, |
eec92d76 | 13019 | { "_wxPyFontEnumerator","_class_wxPyFontEnumerator",0}, |
e91a9dfc | 13020 | { "_wxMDIClientWindow","_class_wxMDIClientWindow",0}, |
eec92d76 RD |
13021 | { "_class_wxDataObjectComposite","_wxDataObjectComposite",0}, |
13022 | { "_class_wxToolBarToolBase","_wxToolBarToolBase",0}, | |
e91a9dfc RD |
13023 | { "_class_wxFontDialog","_wxFontDialog",0}, |
13024 | { "_wxWindow","_class_wxWindow",0}, | |
eec92d76 | 13025 | { "_class_wxWindowDestroyEvent","_wxWindowDestroyEvent",0}, |
e91a9dfc RD |
13026 | { "_class_wxFrame","_wxFrame",0}, |
13027 | {0,0,0}}; | |
13028 | ||
13029 | static PyObject *SWIG_globals; | |
13030 | #ifdef __cplusplus | |
13031 | extern "C" | |
13032 | #endif | |
13033 | SWIGEXPORT(void) initoglshapesc() { | |
13034 | PyObject *m, *d; | |
13035 | SWIG_globals = SWIG_newvarlink(); | |
13036 | m = Py_InitModule("oglshapesc", oglshapescMethods); | |
13037 | d = PyModule_GetDict(m); | |
13038 | { | |
13039 | int i; | |
13040 | for (i = 0; _swig_mapping[i].n1; i++) | |
13041 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
13042 | } | |
13043 | } |