]>
Commit | Line | Data |
---|---|---|
e91a9dfc | 1 | /* |
c368d904 | 2 | * FILE : contrib/ogl/oglshapes.cpp |
e91a9dfc RD |
3 | * |
4 | * This file was automatically generated by : | |
5 | * Simplified Wrapper and Interface Generator (SWIG) | |
185d7c3e | 6 | * Version 1.1 (Build 883) |
e91a9dfc RD |
7 | * |
8 | * Portions Copyright (c) 1995-1998 | |
9 | * The University of Utah and The Regents of the University of California. | |
10 | * Permission is granted to distribute this file in any manner provided | |
11 | * this notice remains intact. | |
12 | * | |
13 | * Do not make changes to this file--changes will be lost! | |
14 | * | |
15 | */ | |
16 | ||
17 | ||
18 | #define SWIGCODE | |
19 | /* Implementation : PYTHON */ | |
20 | ||
21 | #define SWIGPYTHON | |
22 | #include <string.h> | |
23 | #include <stdlib.h> | |
24 | /* Definitions for Windows/Unix exporting */ | |
25 | #if defined(__WIN32__) | |
26 | # if defined(_MSC_VER) | |
27 | # define SWIGEXPORT(a) __declspec(dllexport) a | |
28 | # else | |
29 | # if defined(__BORLANDC__) | |
9ae9011b | 30 | # define SWIGEXPORT(a) a _export |
e91a9dfc | 31 | # else |
9ae9011b | 32 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
33 | # endif |
34 | # endif | |
35 | #else | |
9ae9011b | 36 | # define SWIGEXPORT(a) a |
e91a9dfc RD |
37 | #endif |
38 | ||
9ae9011b RD |
39 | #include "Python.h" |
40 | ||
e91a9dfc RD |
41 | #ifdef __cplusplus |
42 | extern "C" { | |
43 | #endif | |
9ae9011b | 44 | |
e91a9dfc RD |
45 | extern void SWIG_MakePtr(char *, void *, char *); |
46 | extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *)); | |
47 | extern char *SWIG_GetPtr(char *, void **, char *); | |
48 | extern char *SWIG_GetPtrObj(PyObject *, void **, char *); | |
49 | extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *)); | |
50 | extern PyObject *SWIG_newvarlink(void); | |
51 | #ifdef __cplusplus | |
52 | } | |
53 | #endif | |
54 | #define SWIG_init initoglshapesc | |
55 | ||
56 | #define SWIG_name "oglshapesc" | |
57 | ||
1e7ecb7b | 58 | #include "export.h" |
e91a9dfc RD |
59 | #include "oglhelpers.h" |
60 | ||
e91a9dfc RD |
61 | |
62 | static PyObject* t_output_helper(PyObject* target, PyObject* o) { | |
63 | PyObject* o2; | |
64 | PyObject* o3; | |
65 | ||
d74525f7 | 66 | if (!target) { |
e91a9dfc | 67 | target = o; |
d74525f7 | 68 | } else if (target == Py_None) { |
e91a9dfc RD |
69 | Py_DECREF(Py_None); |
70 | target = o; | |
d74525f7 | 71 | } else { |
e91a9dfc RD |
72 | if (!PyTuple_Check(target)) { |
73 | o2 = target; | |
74 | target = PyTuple_New(1); | |
75 | PyTuple_SetItem(target, 0, o2); | |
76 | } | |
d74525f7 RD |
77 | o3 = PyTuple_New(1); |
78 | PyTuple_SetItem(o3, 0, o); | |
e91a9dfc RD |
79 | |
80 | o2 = target; | |
d74525f7 RD |
81 | target = PySequence_Concat(o2, o3); |
82 | Py_DECREF(o2); | |
e91a9dfc RD |
83 | Py_DECREF(o3); |
84 | } | |
85 | return target; | |
86 | } | |
87 | ||
e91a9dfc RD |
88 | WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape); |
89 | ||
2348eaee RD |
90 | WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint); |
91 | ||
e91a9dfc RD |
92 | WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape); |
93 | ||
94 | WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape); | |
95 | ||
96 | WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape); | |
97 | ||
98 | WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape); | |
99 | ||
100 | WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape); | |
101 | #ifdef __cplusplus | |
102 | extern "C" { | |
103 | #endif | |
9416aa89 RD |
104 | static void *SwigwxPseudoMetaFileTowxObject(void *ptr) { |
105 | wxPseudoMetaFile *src; | |
106 | wxObject *dest; | |
107 | src = (wxPseudoMetaFile *) ptr; | |
108 | dest = (wxObject *) src; | |
109 | return (void *) dest; | |
110 | } | |
111 | ||
e91a9dfc RD |
112 | #define new_wxPseudoMetaFile() (new wxPseudoMetaFile()) |
113 | static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
114 | PyObject * _resultobj; | |
115 | wxPseudoMetaFile * _result; | |
116 | char *_kwnames[] = { NULL }; | |
117 | char _ptemp[128]; | |
118 | ||
119 | self = self; | |
120 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames)) | |
121 | return NULL; | |
122 | { | |
4268f798 | 123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 124 | _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile(); |
e91a9dfc | 125 | |
4268f798 RD |
126 | wxPyEndAllowThreads(__tstate); |
127 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
128 | } if (_result) { |
129 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p"); | |
130 | _resultobj = Py_BuildValue("s",_ptemp); | |
131 | } else { | |
132 | Py_INCREF(Py_None); | |
133 | _resultobj = Py_None; | |
134 | } | |
135 | return _resultobj; | |
136 | } | |
137 | ||
138 | #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj) | |
139 | static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
140 | PyObject * _resultobj; | |
141 | wxPseudoMetaFile * _arg0; | |
142 | PyObject * _argo0 = 0; | |
143 | char *_kwnames[] = { "self", NULL }; | |
144 | ||
145 | self = self; | |
146 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0)) | |
147 | return NULL; | |
148 | if (_argo0) { | |
149 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
150 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
151 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p."); | |
152 | return NULL; | |
153 | } | |
154 | } | |
155 | { | |
4268f798 | 156 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 157 | delete_wxPseudoMetaFile(_arg0); |
e91a9dfc | 158 | |
4268f798 RD |
159 | wxPyEndAllowThreads(__tstate); |
160 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
161 | } Py_INCREF(Py_None); |
162 | _resultobj = Py_None; | |
163 | return _resultobj; | |
164 | } | |
165 | ||
166 | #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2)) | |
167 | static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
168 | PyObject * _resultobj; | |
169 | wxPseudoMetaFile * _arg0; | |
170 | wxDC * _arg1; | |
171 | double _arg2; | |
172 | double _arg3; | |
173 | PyObject * _argo0 = 0; | |
174 | PyObject * _argo1 = 0; | |
175 | char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL }; | |
176 | ||
177 | self = self; | |
178 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3)) | |
179 | return NULL; | |
180 | if (_argo0) { | |
181 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
182 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
183 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p."); | |
184 | return NULL; | |
185 | } | |
186 | } | |
187 | if (_argo1) { | |
188 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
189 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
190 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p."); | |
191 | return NULL; | |
192 | } | |
193 | } | |
194 | { | |
4268f798 | 195 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 196 | wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3); |
e91a9dfc | 197 | |
4268f798 RD |
198 | wxPyEndAllowThreads(__tstate); |
199 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
200 | } Py_INCREF(Py_None); |
201 | _resultobj = Py_None; | |
202 | return _resultobj; | |
203 | } | |
204 | ||
205 | #define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1)) | |
206 | static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
207 | PyObject * _resultobj; | |
208 | wxPseudoMetaFile * _arg0; | |
209 | wxExpr * _arg1; | |
210 | int _arg2; | |
211 | PyObject * _argo0 = 0; | |
212 | PyObject * _argo1 = 0; | |
213 | char *_kwnames[] = { "self","clause","whichAngle", NULL }; | |
214 | ||
215 | self = self; | |
216 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2)) | |
217 | return NULL; | |
218 | if (_argo0) { | |
219 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
220 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
221 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p."); | |
222 | return NULL; | |
223 | } | |
224 | } | |
225 | if (_argo1) { | |
226 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
227 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) { | |
228 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p."); | |
229 | return NULL; | |
230 | } | |
231 | } | |
232 | { | |
4268f798 | 233 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 234 | wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2); |
e91a9dfc | 235 | |
4268f798 RD |
236 | wxPyEndAllowThreads(__tstate); |
237 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
238 | } Py_INCREF(Py_None); |
239 | _resultobj = Py_None; | |
240 | return _resultobj; | |
241 | } | |
242 | ||
243 | #define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1)) | |
244 | static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
245 | PyObject * _resultobj; | |
246 | wxPseudoMetaFile * _arg0; | |
247 | wxExpr * _arg1; | |
248 | int _arg2; | |
249 | PyObject * _argo0 = 0; | |
250 | PyObject * _argo1 = 0; | |
251 | char *_kwnames[] = { "self","clause","whichAngle", NULL }; | |
252 | ||
253 | self = self; | |
254 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2)) | |
255 | return NULL; | |
256 | if (_argo0) { | |
257 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
258 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p."); | |
260 | return NULL; | |
261 | } | |
262 | } | |
263 | if (_argo1) { | |
264 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
265 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) { | |
266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p."); | |
267 | return NULL; | |
268 | } | |
269 | } | |
270 | { | |
4268f798 | 271 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 272 | wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2); |
e91a9dfc | 273 | |
4268f798 RD |
274 | wxPyEndAllowThreads(__tstate); |
275 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
276 | } Py_INCREF(Py_None); |
277 | _resultobj = Py_None; | |
278 | return _resultobj; | |
279 | } | |
280 | ||
281 | #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear()) | |
282 | static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) { | |
283 | PyObject * _resultobj; | |
284 | wxPseudoMetaFile * _arg0; | |
285 | PyObject * _argo0 = 0; | |
286 | char *_kwnames[] = { "self", NULL }; | |
287 | ||
288 | self = self; | |
289 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0)) | |
290 | return NULL; | |
291 | if (_argo0) { | |
292 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
293 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
294 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p."); | |
295 | return NULL; | |
296 | } | |
297 | } | |
298 | { | |
4268f798 | 299 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 300 | wxPseudoMetaFile_Clear(_arg0); |
e91a9dfc | 301 | |
4268f798 RD |
302 | wxPyEndAllowThreads(__tstate); |
303 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
304 | } Py_INCREF(Py_None); |
305 | _resultobj = Py_None; | |
306 | return _resultobj; | |
307 | } | |
308 | ||
309 | #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0)) | |
310 | static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) { | |
311 | PyObject * _resultobj; | |
312 | wxPseudoMetaFile * _arg0; | |
313 | wxPseudoMetaFile * _arg1; | |
314 | PyObject * _argo0 = 0; | |
315 | PyObject * _argo1 = 0; | |
316 | char *_kwnames[] = { "self","copy", NULL }; | |
317 | ||
318 | self = self; | |
319 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1)) | |
320 | return NULL; | |
321 | if (_argo0) { | |
322 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
323 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p."); | |
325 | return NULL; | |
326 | } | |
327 | } | |
328 | if (_argo1) { | |
329 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
330 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) { | |
331 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p."); | |
332 | return NULL; | |
333 | } | |
334 | } | |
335 | { | |
4268f798 | 336 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 337 | wxPseudoMetaFile_Copy(_arg0,*_arg1); |
e91a9dfc | 338 | |
4268f798 RD |
339 | wxPyEndAllowThreads(__tstate); |
340 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
341 | } Py_INCREF(Py_None); |
342 | _resultobj = Py_None; | |
343 | return _resultobj; | |
344 | } | |
345 | ||
346 | #define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
347 | static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
348 | PyObject * _resultobj; | |
349 | wxPseudoMetaFile * _arg0; | |
350 | double _arg1; | |
351 | double _arg2; | |
352 | PyObject * _argo0 = 0; | |
353 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
354 | ||
355 | self = self; | |
356 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
357 | return NULL; | |
358 | if (_argo0) { | |
359 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
360 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p."); | |
362 | return NULL; | |
363 | } | |
364 | } | |
365 | { | |
4268f798 | 366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 367 | wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2); |
e91a9dfc | 368 | |
4268f798 RD |
369 | wxPyEndAllowThreads(__tstate); |
370 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
371 | } Py_INCREF(Py_None); |
372 | _resultobj = Py_None; | |
373 | return _resultobj; | |
374 | } | |
375 | ||
376 | #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1)) | |
377 | static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
378 | PyObject * _resultobj; | |
379 | wxPseudoMetaFile * _arg0; | |
380 | double _arg1; | |
381 | double _arg2; | |
382 | PyObject * _argo0 = 0; | |
383 | char *_kwnames[] = { "self","w","h", NULL }; | |
384 | ||
385 | self = self; | |
386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2)) | |
387 | return NULL; | |
388 | if (_argo0) { | |
389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p."); | |
392 | return NULL; | |
393 | } | |
394 | } | |
395 | { | |
4268f798 | 396 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 397 | wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2); |
e91a9dfc | 398 | |
4268f798 RD |
399 | wxPyEndAllowThreads(__tstate); |
400 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
401 | } Py_INCREF(Py_None); |
402 | _resultobj = Py_None; | |
403 | return _resultobj; | |
404 | } | |
405 | ||
406 | #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
407 | static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
408 | PyObject * _resultobj; | |
409 | wxPseudoMetaFile * _arg0; | |
410 | double _arg1; | |
411 | double _arg2; | |
412 | PyObject * _argo0 = 0; | |
413 | char *_kwnames[] = { "self","x","y", NULL }; | |
414 | ||
415 | self = self; | |
416 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
417 | return NULL; | |
418 | if (_argo0) { | |
419 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
420 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
421 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p."); | |
422 | return NULL; | |
423 | } | |
424 | } | |
425 | { | |
4268f798 | 426 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 427 | wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2); |
e91a9dfc | 428 | |
4268f798 RD |
429 | wxPyEndAllowThreads(__tstate); |
430 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
431 | } Py_INCREF(Py_None); |
432 | _resultobj = Py_None; | |
433 | return _resultobj; | |
434 | } | |
435 | ||
436 | #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
437 | static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
438 | PyObject * _resultobj; | |
439 | wxPseudoMetaFile * _arg0; | |
440 | double _arg1; | |
441 | double _arg2; | |
442 | double _arg3; | |
443 | PyObject * _argo0 = 0; | |
444 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
445 | ||
446 | self = self; | |
447 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
448 | return NULL; | |
449 | if (_argo0) { | |
450 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
451 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
452 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p."); | |
453 | return NULL; | |
454 | } | |
455 | } | |
456 | { | |
4268f798 | 457 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 458 | wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3); |
e91a9dfc | 459 | |
4268f798 RD |
460 | wxPyEndAllowThreads(__tstate); |
461 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
462 | } Py_INCREF(Py_None); |
463 | _resultobj = Py_None; | |
464 | return _resultobj; | |
465 | } | |
466 | ||
467 | #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2)) | |
468 | static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
469 | PyObject * _resultobj; | |
470 | bool _result; | |
471 | wxPseudoMetaFile * _arg0; | |
472 | char * _arg1; | |
473 | double * _arg2; | |
474 | double * _arg3; | |
475 | PyObject * _argo0 = 0; | |
476 | PyObject * _argo2 = 0; | |
477 | PyObject * _argo3 = 0; | |
478 | char *_kwnames[] = { "self","filename","width","height", NULL }; | |
479 | ||
480 | self = self; | |
481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
482 | return NULL; | |
483 | if (_argo0) { | |
484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p."); | |
487 | return NULL; | |
488 | } | |
489 | } | |
490 | if (_argo2) { | |
491 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
492 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) { | |
493 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p."); | |
494 | return NULL; | |
495 | } | |
496 | } | |
497 | if (_argo3) { | |
498 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
499 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) { | |
500 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p."); | |
501 | return NULL; | |
502 | } | |
503 | } | |
504 | { | |
4268f798 | 505 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 506 | _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3); |
e91a9dfc | 507 | |
4268f798 RD |
508 | wxPyEndAllowThreads(__tstate); |
509 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
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 | { | |
4268f798 | 568 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 569 | wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 570 | |
4268f798 RD |
571 | wxPyEndAllowThreads(__tstate); |
572 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
573 | } Py_INCREF(Py_None); |
574 | _resultobj = Py_None; | |
575 | return _resultobj; | |
576 | } | |
577 | ||
578 | #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0)) | |
579 | static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
580 | PyObject * _resultobj; | |
581 | wxPseudoMetaFile * _arg0; | |
582 | wxDrawnShape * _arg1; | |
583 | PyObject * _argo0 = 0; | |
584 | PyObject * _argo1 = 0; | |
585 | char *_kwnames[] = { "self","shape", NULL }; | |
586 | ||
587 | self = self; | |
588 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1)) | |
589 | return NULL; | |
590 | if (_argo0) { | |
591 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
592 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
593 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p."); | |
594 | return NULL; | |
595 | } | |
596 | } | |
597 | if (_argo1) { | |
598 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
599 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) { | |
600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p."); | |
601 | return NULL; | |
602 | } | |
603 | } | |
604 | { | |
4268f798 | 605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 606 | wxPseudoMetaFile_CalculateSize(_arg0,_arg1); |
e91a9dfc | 607 | |
4268f798 RD |
608 | wxPyEndAllowThreads(__tstate); |
609 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
610 | } Py_INCREF(Py_None); |
611 | _resultobj = Py_None; | |
612 | return _resultobj; | |
613 | } | |
614 | ||
615 | #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0)) | |
616 | static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
617 | PyObject * _resultobj; | |
618 | wxPseudoMetaFile * _arg0; | |
619 | bool _arg1; | |
620 | PyObject * _argo0 = 0; | |
621 | int tempbool1; | |
622 | char *_kwnames[] = { "self","rot", NULL }; | |
623 | ||
624 | self = self; | |
625 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1)) | |
626 | return NULL; | |
627 | if (_argo0) { | |
628 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
629 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
630 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p."); | |
631 | return NULL; | |
632 | } | |
633 | } | |
634 | _arg1 = (bool ) tempbool1; | |
635 | { | |
4268f798 | 636 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 637 | wxPseudoMetaFile_SetRotateable(_arg0,_arg1); |
e91a9dfc | 638 | |
4268f798 RD |
639 | wxPyEndAllowThreads(__tstate); |
640 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
641 | } Py_INCREF(Py_None); |
642 | _resultobj = Py_None; | |
643 | return _resultobj; | |
644 | } | |
645 | ||
646 | #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable()) | |
647 | static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) { | |
648 | PyObject * _resultobj; | |
649 | bool _result; | |
650 | wxPseudoMetaFile * _arg0; | |
651 | PyObject * _argo0 = 0; | |
652 | char *_kwnames[] = { "self", NULL }; | |
653 | ||
654 | self = self; | |
655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0)) | |
656 | return NULL; | |
657 | if (_argo0) { | |
658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p."); | |
661 | return NULL; | |
662 | } | |
663 | } | |
664 | { | |
4268f798 | 665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 666 | _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0); |
e91a9dfc | 667 | |
4268f798 RD |
668 | wxPyEndAllowThreads(__tstate); |
669 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
670 | } _resultobj = Py_BuildValue("i",_result); |
671 | return _resultobj; | |
672 | } | |
673 | ||
674 | #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1)) | |
675 | static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
676 | PyObject * _resultobj; | |
677 | wxPseudoMetaFile * _arg0; | |
678 | double _arg1; | |
679 | double _arg2; | |
680 | PyObject * _argo0 = 0; | |
681 | char *_kwnames[] = { "self","w","h", NULL }; | |
682 | ||
683 | self = self; | |
684 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
685 | return NULL; | |
686 | if (_argo0) { | |
687 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
688 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p."); | |
690 | return NULL; | |
691 | } | |
692 | } | |
693 | { | |
4268f798 | 694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 695 | wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2); |
e91a9dfc | 696 | |
4268f798 RD |
697 | wxPyEndAllowThreads(__tstate); |
698 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
699 | } Py_INCREF(Py_None); |
700 | _resultobj = Py_None; | |
701 | return _resultobj; | |
702 | } | |
703 | ||
704 | #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0)) | |
705 | static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
706 | PyObject * _resultobj; | |
707 | wxPseudoMetaFile * _arg0; | |
708 | wxBrush * _arg1; | |
709 | PyObject * _argo0 = 0; | |
d74525f7 | 710 | PyObject * _obj1 = 0; |
e91a9dfc RD |
711 | char *_kwnames[] = { "self","brush", NULL }; |
712 | ||
713 | self = self; | |
d74525f7 | 714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
715 | return NULL; |
716 | if (_argo0) { | |
717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p."); | |
720 | return NULL; | |
721 | } | |
722 | } | |
d74525f7 RD |
723 | { |
724 | wxBrush* temp; | |
725 | if (_obj1) { | |
726 | if (_obj1 == Py_None) { temp = NULL; } | |
727 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) { | |
728 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p."); | |
e91a9dfc RD |
729 | return NULL; |
730 | } | |
731 | } | |
d74525f7 RD |
732 | if (temp) |
733 | _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle()); | |
734 | else | |
735 | _arg1 = NULL; | |
736 | } | |
e91a9dfc | 737 | { |
4268f798 | 738 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 739 | wxPseudoMetaFile_SetFillBrush(_arg0,_arg1); |
e91a9dfc | 740 | |
4268f798 RD |
741 | wxPyEndAllowThreads(__tstate); |
742 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
743 | } Py_INCREF(Py_None); |
744 | _resultobj = Py_None; | |
745 | return _resultobj; | |
746 | } | |
747 | ||
748 | #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush()) | |
749 | static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
750 | PyObject * _resultobj; | |
751 | wxBrush * _result; | |
752 | wxPseudoMetaFile * _arg0; | |
753 | PyObject * _argo0 = 0; | |
754 | char *_kwnames[] = { "self", NULL }; | |
755 | char _ptemp[128]; | |
756 | ||
757 | self = self; | |
758 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0)) | |
759 | return NULL; | |
760 | if (_argo0) { | |
761 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
762 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p."); | |
764 | return NULL; | |
765 | } | |
766 | } | |
767 | { | |
4268f798 | 768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 769 | _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0); |
e91a9dfc | 770 | |
4268f798 RD |
771 | wxPyEndAllowThreads(__tstate); |
772 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
773 | } if (_result) { |
774 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p"); | |
775 | _resultobj = Py_BuildValue("s",_ptemp); | |
776 | } else { | |
777 | Py_INCREF(Py_None); | |
778 | _resultobj = Py_None; | |
779 | } | |
780 | return _resultobj; | |
781 | } | |
782 | ||
783 | #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0)) | |
784 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
785 | PyObject * _resultobj; | |
786 | wxPseudoMetaFile * _arg0; | |
787 | wxPen * _arg1; | |
788 | PyObject * _argo0 = 0; | |
d74525f7 | 789 | PyObject * _obj1 = 0; |
e91a9dfc RD |
790 | char *_kwnames[] = { "self","pen", NULL }; |
791 | ||
792 | self = self; | |
d74525f7 | 793 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
794 | return NULL; |
795 | if (_argo0) { | |
796 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
797 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
798 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
799 | return NULL; | |
800 | } | |
801 | } | |
d74525f7 RD |
802 | { |
803 | wxPen* temp; | |
804 | if (_obj1) { | |
805 | if (_obj1 == Py_None) { temp = NULL; } | |
806 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
807 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
e91a9dfc RD |
808 | return NULL; |
809 | } | |
810 | } | |
d74525f7 RD |
811 | if (temp) |
812 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
813 | temp->GetWidth(), | |
814 | temp->GetStyle()); | |
815 | else | |
816 | _arg1 = NULL; | |
817 | } | |
e91a9dfc | 818 | { |
4268f798 | 819 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 820 | wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1); |
e91a9dfc | 821 | |
4268f798 RD |
822 | wxPyEndAllowThreads(__tstate); |
823 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
824 | } Py_INCREF(Py_None); |
825 | _resultobj = Py_None; | |
826 | return _resultobj; | |
827 | } | |
828 | ||
829 | #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen()) | |
830 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
831 | PyObject * _resultobj; | |
832 | wxPen * _result; | |
833 | wxPseudoMetaFile * _arg0; | |
834 | PyObject * _argo0 = 0; | |
835 | char *_kwnames[] = { "self", NULL }; | |
836 | char _ptemp[128]; | |
837 | ||
838 | self = self; | |
839 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0)) | |
840 | return NULL; | |
841 | if (_argo0) { | |
842 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
843 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
844 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p."); | |
845 | return NULL; | |
846 | } | |
847 | } | |
848 | { | |
4268f798 | 849 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 850 | _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0); |
e91a9dfc | 851 | |
4268f798 RD |
852 | wxPyEndAllowThreads(__tstate); |
853 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
854 | } if (_result) { |
855 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
856 | _resultobj = Py_BuildValue("s",_ptemp); | |
857 | } else { | |
858 | Py_INCREF(Py_None); | |
859 | _resultobj = Py_None; | |
860 | } | |
861 | return _resultobj; | |
862 | } | |
863 | ||
864 | #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0)) | |
865 | static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
866 | PyObject * _resultobj; | |
867 | wxPseudoMetaFile * _arg0; | |
868 | int _arg1; | |
869 | PyObject * _argo0 = 0; | |
870 | char *_kwnames[] = { "self","op", NULL }; | |
871 | ||
872 | self = self; | |
873 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1)) | |
874 | return NULL; | |
875 | if (_argo0) { | |
876 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
877 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
878 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
879 | return NULL; | |
880 | } | |
881 | } | |
882 | { | |
4268f798 | 883 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 884 | wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1); |
e91a9dfc | 885 | |
4268f798 RD |
886 | wxPyEndAllowThreads(__tstate); |
887 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
888 | } Py_INCREF(Py_None); |
889 | _resultobj = Py_None; | |
890 | return _resultobj; | |
891 | } | |
892 | ||
893 | #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp()) | |
894 | static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) { | |
895 | PyObject * _resultobj; | |
896 | int _result; | |
897 | wxPseudoMetaFile * _arg0; | |
898 | PyObject * _argo0 = 0; | |
899 | char *_kwnames[] = { "self", NULL }; | |
900 | ||
901 | self = self; | |
902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0)) | |
903 | return NULL; | |
904 | if (_argo0) { | |
905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p."); | |
908 | return NULL; | |
909 | } | |
910 | } | |
911 | { | |
4268f798 | 912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 913 | _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0); |
e91a9dfc | 914 | |
4268f798 RD |
915 | wxPyEndAllowThreads(__tstate); |
916 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
917 | } _resultobj = Py_BuildValue("i",_result); |
918 | return _resultobj; | |
919 | } | |
920 | ||
921 | #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid()) | |
922 | static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) { | |
923 | PyObject * _resultobj; | |
924 | bool _result; | |
925 | wxPseudoMetaFile * _arg0; | |
926 | PyObject * _argo0 = 0; | |
927 | char *_kwnames[] = { "self", NULL }; | |
928 | ||
929 | self = self; | |
930 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0)) | |
931 | return NULL; | |
932 | if (_argo0) { | |
933 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
934 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
935 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p."); | |
936 | return NULL; | |
937 | } | |
938 | } | |
939 | { | |
4268f798 | 940 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 941 | _result = (bool )wxPseudoMetaFile_IsValid(_arg0); |
e91a9dfc | 942 | |
4268f798 RD |
943 | wxPyEndAllowThreads(__tstate); |
944 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
945 | } _resultobj = Py_BuildValue("i",_result); |
946 | return _resultobj; | |
947 | } | |
948 | ||
949 | #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
950 | static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
951 | PyObject * _resultobj; | |
952 | wxPseudoMetaFile * _arg0; | |
953 | wxPoint * _arg1; | |
954 | wxPoint * _arg2; | |
955 | PyObject * _argo0 = 0; | |
2348eaee RD |
956 | wxPoint temp; |
957 | PyObject * _obj1 = 0; | |
958 | wxPoint temp0; | |
959 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
960 | char *_kwnames[] = { "self","pt1","pt2", NULL }; |
961 | ||
962 | self = self; | |
2348eaee | 963 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
964 | return NULL; |
965 | if (_argo0) { | |
966 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
967 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
968 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p."); | |
969 | return NULL; | |
970 | } | |
971 | } | |
2348eaee RD |
972 | { |
973 | _arg1 = &temp; | |
974 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 975 | return NULL; |
2348eaee RD |
976 | } |
977 | { | |
978 | _arg2 = &temp0; | |
979 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 980 | return NULL; |
2348eaee | 981 | } |
e91a9dfc | 982 | { |
4268f798 | 983 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 984 | wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2); |
e91a9dfc | 985 | |
4268f798 RD |
986 | wxPyEndAllowThreads(__tstate); |
987 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
988 | } Py_INCREF(Py_None); |
989 | _resultobj = Py_None; | |
990 | return _resultobj; | |
991 | } | |
992 | ||
993 | #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
994 | static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
995 | PyObject * _resultobj; | |
996 | wxPseudoMetaFile * _arg0; | |
997 | wxRect * _arg1; | |
998 | PyObject * _argo0 = 0; | |
2348eaee RD |
999 | wxRect temp; |
1000 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1001 | char *_kwnames[] = { "self","rect", NULL }; |
1002 | ||
1003 | self = self; | |
2348eaee | 1004 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1005 | return NULL; |
1006 | if (_argo0) { | |
1007 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1008 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1009 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p."); | |
1010 | return NULL; | |
1011 | } | |
1012 | } | |
2348eaee RD |
1013 | { |
1014 | _arg1 = &temp; | |
1015 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1016 | return NULL; |
2348eaee | 1017 | } |
e91a9dfc | 1018 | { |
4268f798 | 1019 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1020 | wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1); |
e91a9dfc | 1021 | |
4268f798 RD |
1022 | wxPyEndAllowThreads(__tstate); |
1023 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1024 | } Py_INCREF(Py_None); |
1025 | _resultobj = Py_None; | |
1026 | return _resultobj; | |
1027 | } | |
1028 | ||
1029 | #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
1030 | static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1031 | PyObject * _resultobj; | |
1032 | wxPseudoMetaFile * _arg0; | |
1033 | wxRect * _arg1; | |
1034 | double _arg2; | |
1035 | PyObject * _argo0 = 0; | |
2348eaee RD |
1036 | wxRect temp; |
1037 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1038 | char *_kwnames[] = { "self","rect","radius", NULL }; |
1039 | ||
1040 | self = self; | |
2348eaee | 1041 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
1042 | return NULL; |
1043 | if (_argo0) { | |
1044 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1045 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1046 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p."); | |
1047 | return NULL; | |
1048 | } | |
1049 | } | |
2348eaee RD |
1050 | { |
1051 | _arg1 = &temp; | |
1052 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1053 | return NULL; |
2348eaee | 1054 | } |
e91a9dfc | 1055 | { |
4268f798 | 1056 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1057 | wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2); |
e91a9dfc | 1058 | |
4268f798 RD |
1059 | wxPyEndAllowThreads(__tstate); |
1060 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1061 | } Py_INCREF(Py_None); |
1062 | _resultobj = Py_None; | |
1063 | return _resultobj; | |
1064 | } | |
1065 | ||
1066 | #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
1067 | static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1068 | PyObject * _resultobj; | |
1069 | wxPseudoMetaFile * _arg0; | |
1070 | wxPoint * _arg1; | |
1071 | wxPoint * _arg2; | |
1072 | wxPoint * _arg3; | |
1073 | PyObject * _argo0 = 0; | |
2348eaee RD |
1074 | wxPoint temp; |
1075 | PyObject * _obj1 = 0; | |
1076 | wxPoint temp0; | |
1077 | PyObject * _obj2 = 0; | |
1078 | wxPoint temp1; | |
1079 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
1080 | char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL }; |
1081 | ||
1082 | self = self; | |
2348eaee | 1083 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
e91a9dfc RD |
1084 | return NULL; |
1085 | if (_argo0) { | |
1086 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1087 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1088 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p."); | |
1089 | return NULL; | |
1090 | } | |
1091 | } | |
2348eaee RD |
1092 | { |
1093 | _arg1 = &temp; | |
1094 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 1095 | return NULL; |
2348eaee RD |
1096 | } |
1097 | { | |
1098 | _arg2 = &temp0; | |
1099 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 1100 | return NULL; |
2348eaee RD |
1101 | } |
1102 | { | |
1103 | _arg3 = &temp1; | |
1104 | if (! wxPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 1105 | return NULL; |
2348eaee | 1106 | } |
e91a9dfc | 1107 | { |
4268f798 | 1108 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1109 | wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); |
e91a9dfc | 1110 | |
4268f798 RD |
1111 | wxPyEndAllowThreads(__tstate); |
1112 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1113 | } Py_INCREF(Py_None); |
1114 | _resultobj = Py_None; | |
1115 | return _resultobj; | |
1116 | } | |
1117 | ||
1118 | #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
1119 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1120 | PyObject * _resultobj; | |
1121 | wxPseudoMetaFile * _arg0; | |
1122 | wxRect * _arg1; | |
1123 | double _arg2; | |
1124 | double _arg3; | |
1125 | PyObject * _argo0 = 0; | |
2348eaee RD |
1126 | wxRect temp; |
1127 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1128 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; |
1129 | ||
1130 | self = self; | |
2348eaee | 1131 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
e91a9dfc RD |
1132 | return NULL; |
1133 | if (_argo0) { | |
1134 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1135 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p."); | |
1137 | return NULL; | |
1138 | } | |
1139 | } | |
2348eaee RD |
1140 | { |
1141 | _arg1 = &temp; | |
1142 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1143 | return NULL; |
2348eaee | 1144 | } |
e91a9dfc | 1145 | { |
4268f798 | 1146 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1147 | wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); |
e91a9dfc | 1148 | |
4268f798 RD |
1149 | wxPyEndAllowThreads(__tstate); |
1150 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1151 | } Py_INCREF(Py_None); |
1152 | _resultobj = Py_None; | |
1153 | return _resultobj; | |
1154 | } | |
1155 | ||
1156 | #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0)) | |
1157 | static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1158 | PyObject * _resultobj; | |
1159 | wxPseudoMetaFile * _arg0; | |
1160 | wxRect * _arg1; | |
1161 | PyObject * _argo0 = 0; | |
2348eaee RD |
1162 | wxRect temp; |
1163 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1164 | char *_kwnames[] = { "self","rect", NULL }; |
1165 | ||
1166 | self = self; | |
2348eaee | 1167 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1168 | return NULL; |
1169 | if (_argo0) { | |
1170 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1171 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1172 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p."); | |
1173 | return NULL; | |
1174 | } | |
1175 | } | |
2348eaee RD |
1176 | { |
1177 | _arg1 = &temp; | |
1178 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1179 | return NULL; |
2348eaee | 1180 | } |
e91a9dfc | 1181 | { |
4268f798 | 1182 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1183 | wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1); |
e91a9dfc | 1184 | |
4268f798 RD |
1185 | wxPyEndAllowThreads(__tstate); |
1186 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1187 | } Py_INCREF(Py_None); |
1188 | _resultobj = Py_None; | |
1189 | return _resultobj; | |
1190 | } | |
1191 | ||
1192 | #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
1193 | static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1194 | PyObject * _resultobj; | |
1195 | wxPseudoMetaFile * _arg0; | |
1196 | wxPoint * _arg1; | |
1197 | PyObject * _argo0 = 0; | |
2348eaee RD |
1198 | wxPoint temp; |
1199 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1200 | char *_kwnames[] = { "self","pt", NULL }; |
1201 | ||
1202 | self = self; | |
2348eaee | 1203 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1204 | return NULL; |
1205 | if (_argo0) { | |
1206 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1207 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1208 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p."); | |
1209 | return NULL; | |
1210 | } | |
1211 | } | |
2348eaee RD |
1212 | { |
1213 | _arg1 = &temp; | |
1214 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 1215 | return NULL; |
2348eaee | 1216 | } |
e91a9dfc | 1217 | { |
4268f798 | 1218 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1219 | wxPseudoMetaFile_DrawPoint(_arg0,*_arg1); |
e91a9dfc | 1220 | |
4268f798 RD |
1221 | wxPyEndAllowThreads(__tstate); |
1222 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1223 | } Py_INCREF(Py_None); |
1224 | _resultobj = Py_None; | |
1225 | return _resultobj; | |
1226 | } | |
1227 | ||
1228 | #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
1229 | static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1230 | PyObject * _resultobj; | |
1231 | wxPseudoMetaFile * _arg0; | |
1232 | wxString * _arg1; | |
1233 | wxPoint * _arg2; | |
1234 | PyObject * _argo0 = 0; | |
1235 | PyObject * _obj1 = 0; | |
2348eaee RD |
1236 | wxPoint temp; |
1237 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
1238 | char *_kwnames[] = { "self","text","pt", NULL }; |
1239 | ||
1240 | self = self; | |
2348eaee | 1241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1242 | return NULL; |
1243 | if (_argo0) { | |
1244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p."); | |
1247 | return NULL; | |
1248 | } | |
1249 | } | |
1250 | { | |
c8bc7bb8 RD |
1251 | _arg1 = wxString_in_helper(_obj1); |
1252 | if (_arg1 == NULL) | |
185d7c3e | 1253 | return NULL; |
e91a9dfc | 1254 | } |
2348eaee RD |
1255 | { |
1256 | _arg2 = &temp; | |
1257 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 1258 | return NULL; |
2348eaee | 1259 | } |
e91a9dfc | 1260 | { |
4268f798 | 1261 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1262 | wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2); |
e91a9dfc | 1263 | |
4268f798 RD |
1264 | wxPyEndAllowThreads(__tstate); |
1265 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1266 | } Py_INCREF(Py_None); |
1267 | _resultobj = Py_None; | |
1268 | { | |
1269 | if (_obj1) | |
1270 | delete _arg1; | |
1271 | } | |
1272 | return _resultobj; | |
1273 | } | |
1274 | ||
1275 | #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
1276 | static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1277 | PyObject * _resultobj; | |
1278 | wxPseudoMetaFile * _arg0; | |
1279 | int _arg1; | |
1280 | wxPoint * _arg2; | |
1281 | PyObject * _argo0 = 0; | |
e0672e2f | 1282 | int NPOINTS; |
e91a9dfc | 1283 | PyObject * _obj2 = 0; |
eec92d76 | 1284 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
1285 | |
1286 | self = self; | |
1287 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2)) | |
1288 | return NULL; | |
1289 | if (_argo0) { | |
1290 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1291 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1292 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p."); | |
1293 | return NULL; | |
1294 | } | |
1295 | } | |
1296 | if (_obj2) | |
1297 | { | |
e0672e2f RD |
1298 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); |
1299 | if (_arg2 == NULL) { | |
1300 | return NULL; | |
1301 | } | |
e91a9dfc RD |
1302 | } |
1303 | { | |
e0672e2f | 1304 | _arg1 = NPOINTS; |
e91a9dfc RD |
1305 | } |
1306 | { | |
4268f798 | 1307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1308 | wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2); |
e91a9dfc | 1309 | |
4268f798 RD |
1310 | wxPyEndAllowThreads(__tstate); |
1311 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1312 | } Py_INCREF(Py_None); |
1313 | _resultobj = Py_None; | |
1314 | { | |
1315 | delete [] _arg2; | |
1316 | } | |
1317 | return _resultobj; | |
1318 | } | |
1319 | ||
1320 | #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
1321 | static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1322 | PyObject * _resultobj; | |
1323 | wxPseudoMetaFile * _arg0; | |
1324 | int _arg1; | |
1325 | wxPoint * _arg2; | |
1326 | int _arg3 = (int ) 0; | |
1327 | PyObject * _argo0 = 0; | |
e0672e2f | 1328 | int NPOINTS; |
e91a9dfc | 1329 | PyObject * _obj2 = 0; |
eec92d76 | 1330 | char *_kwnames[] = { "self","points","flags", NULL }; |
e91a9dfc RD |
1331 | |
1332 | self = self; | |
1333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
1334 | return NULL; | |
1335 | if (_argo0) { | |
1336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p."); | |
1339 | return NULL; | |
1340 | } | |
1341 | } | |
1342 | if (_obj2) | |
1343 | { | |
e0672e2f RD |
1344 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); |
1345 | if (_arg2 == NULL) { | |
1346 | return NULL; | |
1347 | } | |
e91a9dfc RD |
1348 | } |
1349 | { | |
e0672e2f | 1350 | _arg1 = NPOINTS; |
e91a9dfc RD |
1351 | } |
1352 | { | |
4268f798 | 1353 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1354 | wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3); |
e91a9dfc | 1355 | |
4268f798 RD |
1356 | wxPyEndAllowThreads(__tstate); |
1357 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1358 | } Py_INCREF(Py_None); |
1359 | _resultobj = Py_None; | |
1360 | { | |
1361 | delete [] _arg2; | |
1362 | } | |
1363 | return _resultobj; | |
1364 | } | |
1365 | ||
1366 | #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
1367 | static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1368 | PyObject * _resultobj; | |
1369 | wxPseudoMetaFile * _arg0; | |
1370 | int _arg1; | |
1371 | wxPoint * _arg2; | |
1372 | PyObject * _argo0 = 0; | |
e0672e2f | 1373 | int NPOINTS; |
e91a9dfc | 1374 | PyObject * _obj2 = 0; |
eec92d76 | 1375 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
1376 | |
1377 | self = self; | |
1378 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
1379 | return NULL; | |
1380 | if (_argo0) { | |
1381 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1382 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1383 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p."); | |
1384 | return NULL; | |
1385 | } | |
1386 | } | |
1387 | if (_obj2) | |
1388 | { | |
e0672e2f RD |
1389 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); |
1390 | if (_arg2 == NULL) { | |
1391 | return NULL; | |
1392 | } | |
e91a9dfc RD |
1393 | } |
1394 | { | |
e0672e2f | 1395 | _arg1 = NPOINTS; |
e91a9dfc RD |
1396 | } |
1397 | { | |
4268f798 | 1398 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1399 | wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2); |
e91a9dfc | 1400 | |
4268f798 RD |
1401 | wxPyEndAllowThreads(__tstate); |
1402 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1403 | } Py_INCREF(Py_None); |
1404 | _resultobj = Py_None; | |
1405 | { | |
1406 | delete [] _arg2; | |
1407 | } | |
1408 | return _resultobj; | |
1409 | } | |
1410 | ||
1411 | #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
1412 | static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1413 | PyObject * _resultobj; | |
1414 | wxPseudoMetaFile * _arg0; | |
1415 | wxRect * _arg1; | |
1416 | PyObject * _argo0 = 0; | |
2348eaee RD |
1417 | wxRect temp; |
1418 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1419 | char *_kwnames[] = { "self","rect", NULL }; |
1420 | ||
1421 | self = self; | |
2348eaee | 1422 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1423 | return NULL; |
1424 | if (_argo0) { | |
1425 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1426 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1427 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p."); | |
1428 | return NULL; | |
1429 | } | |
1430 | } | |
2348eaee RD |
1431 | { |
1432 | _arg1 = &temp; | |
1433 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 1434 | return NULL; |
2348eaee | 1435 | } |
e91a9dfc | 1436 | { |
4268f798 | 1437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1438 | wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1); |
e91a9dfc | 1439 | |
4268f798 RD |
1440 | wxPyEndAllowThreads(__tstate); |
1441 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1442 | } Py_INCREF(Py_None); |
1443 | _resultobj = Py_None; | |
1444 | return _resultobj; | |
1445 | } | |
1446 | ||
1447 | #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
1448 | static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1449 | PyObject * _resultobj; | |
1450 | wxPseudoMetaFile * _arg0; | |
1451 | PyObject * _argo0 = 0; | |
1452 | char *_kwnames[] = { "self", NULL }; | |
1453 | ||
1454 | self = self; | |
1455 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0)) | |
1456 | return NULL; | |
1457 | if (_argo0) { | |
1458 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1459 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1460 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p."); | |
1461 | return NULL; | |
1462 | } | |
1463 | } | |
1464 | { | |
4268f798 | 1465 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1466 | wxPseudoMetaFile_DestroyClippingRect(_arg0); |
e91a9dfc | 1467 | |
4268f798 RD |
1468 | wxPyEndAllowThreads(__tstate); |
1469 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1470 | } Py_INCREF(Py_None); |
1471 | _resultobj = Py_None; | |
1472 | return _resultobj; | |
1473 | } | |
1474 | ||
1475 | #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1)) | |
1476 | static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1477 | PyObject * _resultobj; | |
1478 | wxPseudoMetaFile * _arg0; | |
1479 | wxPen * _arg1; | |
1480 | bool _arg2 = (bool ) FALSE; | |
1481 | PyObject * _argo0 = 0; | |
d74525f7 | 1482 | PyObject * _obj1 = 0; |
e91a9dfc RD |
1483 | int tempbool2 = (int) FALSE; |
1484 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
1485 | ||
1486 | self = self; | |
d74525f7 | 1487 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2)) |
e91a9dfc RD |
1488 | return NULL; |
1489 | if (_argo0) { | |
1490 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1491 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1492 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p."); | |
1493 | return NULL; | |
1494 | } | |
1495 | } | |
d74525f7 RD |
1496 | { |
1497 | wxPen* temp; | |
1498 | if (_obj1) { | |
1499 | if (_obj1 == Py_None) { temp = NULL; } | |
1500 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
1501 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
e91a9dfc RD |
1502 | return NULL; |
1503 | } | |
1504 | } | |
d74525f7 RD |
1505 | if (temp) |
1506 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
1507 | temp->GetWidth(), | |
1508 | temp->GetStyle()); | |
1509 | else | |
1510 | _arg1 = NULL; | |
1511 | } | |
e91a9dfc RD |
1512 | _arg2 = (bool ) tempbool2; |
1513 | { | |
4268f798 | 1514 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1515 | wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2); |
e91a9dfc | 1516 | |
4268f798 RD |
1517 | wxPyEndAllowThreads(__tstate); |
1518 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1519 | } Py_INCREF(Py_None); |
1520 | _resultobj = Py_None; | |
1521 | return _resultobj; | |
1522 | } | |
1523 | ||
1524 | #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1)) | |
1525 | static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1526 | PyObject * _resultobj; | |
1527 | wxPseudoMetaFile * _arg0; | |
1528 | wxBrush * _arg1; | |
1529 | bool _arg2 = (bool ) FALSE; | |
1530 | PyObject * _argo0 = 0; | |
d74525f7 | 1531 | PyObject * _obj1 = 0; |
e91a9dfc RD |
1532 | int tempbool2 = (int) FALSE; |
1533 | char *_kwnames[] = { "self","brush","isFill", NULL }; | |
1534 | ||
1535 | self = self; | |
d74525f7 | 1536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2)) |
e91a9dfc RD |
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_SetBrush. Expected _wxPseudoMetaFile_p."); | |
1542 | return NULL; | |
1543 | } | |
1544 | } | |
d74525f7 RD |
1545 | { |
1546 | wxBrush* temp; | |
1547 | if (_obj1) { | |
1548 | if (_obj1 == Py_None) { temp = NULL; } | |
1549 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) { | |
1550 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p."); | |
e91a9dfc RD |
1551 | return NULL; |
1552 | } | |
1553 | } | |
d74525f7 RD |
1554 | if (temp) |
1555 | _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle()); | |
1556 | else | |
1557 | _arg1 = NULL; | |
1558 | } | |
e91a9dfc RD |
1559 | _arg2 = (bool ) tempbool2; |
1560 | { | |
4268f798 | 1561 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1562 | wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2); |
e91a9dfc | 1563 | |
4268f798 RD |
1564 | wxPyEndAllowThreads(__tstate); |
1565 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1566 | } Py_INCREF(Py_None); |
1567 | _resultobj = Py_None; | |
1568 | return _resultobj; | |
1569 | } | |
1570 | ||
1571 | #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0)) | |
1572 | static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1573 | PyObject * _resultobj; | |
1574 | wxPseudoMetaFile * _arg0; | |
1575 | wxFont * _arg1; | |
1576 | PyObject * _argo0 = 0; | |
d74525f7 | 1577 | PyObject * _obj1 = 0; |
e91a9dfc RD |
1578 | char *_kwnames[] = { "self","font", NULL }; |
1579 | ||
1580 | self = self; | |
d74525f7 | 1581 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1582 | return NULL; |
1583 | if (_argo0) { | |
1584 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1585 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1586 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p."); | |
1587 | return NULL; | |
1588 | } | |
1589 | } | |
d74525f7 RD |
1590 | { |
1591 | wxFont* temp; | |
1592 | if (_obj1) { | |
1593 | if (_obj1 == Py_None) { temp = NULL; } | |
1594 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) { | |
1595 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p."); | |
e91a9dfc RD |
1596 | return NULL; |
1597 | } | |
1598 | } | |
d74525f7 RD |
1599 | if (temp) |
1600 | _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(), | |
1601 | temp->GetFamily(), | |
1602 | temp->GetStyle(), | |
1603 | temp->GetWeight(), | |
1604 | temp->GetUnderlined(), | |
1605 | temp->GetFaceName(), | |
1606 | temp->GetEncoding()); | |
1607 | else | |
1608 | _arg1 = NULL; | |
1609 | } | |
e91a9dfc | 1610 | { |
4268f798 | 1611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1612 | wxPseudoMetaFile_SetFont(_arg0,_arg1); |
e91a9dfc | 1613 | |
4268f798 RD |
1614 | wxPyEndAllowThreads(__tstate); |
1615 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1616 | } Py_INCREF(Py_None); |
1617 | _resultobj = Py_None; | |
1618 | return _resultobj; | |
1619 | } | |
1620 | ||
1621 | #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0)) | |
1622 | static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1623 | PyObject * _resultobj; | |
1624 | wxPseudoMetaFile * _arg0; | |
1625 | wxColour * _arg1; | |
1626 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
1627 | wxColour temp; |
1628 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1629 | char *_kwnames[] = { "self","colour", NULL }; |
1630 | ||
1631 | self = self; | |
f6bcfd97 | 1632 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1633 | return NULL; |
1634 | if (_argo0) { | |
1635 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1636 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1637 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p."); | |
1638 | return NULL; | |
1639 | } | |
1640 | } | |
f6bcfd97 BP |
1641 | { |
1642 | _arg1 = &temp; | |
1643 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 1644 | return NULL; |
f6bcfd97 | 1645 | } |
e91a9dfc | 1646 | { |
4268f798 | 1647 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1648 | wxPseudoMetaFile_SetTextColour(_arg0,*_arg1); |
e91a9dfc | 1649 | |
4268f798 RD |
1650 | wxPyEndAllowThreads(__tstate); |
1651 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1652 | } Py_INCREF(Py_None); |
1653 | _resultobj = Py_None; | |
1654 | return _resultobj; | |
1655 | } | |
1656 | ||
1657 | #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0)) | |
1658 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1659 | PyObject * _resultobj; | |
1660 | wxPseudoMetaFile * _arg0; | |
1661 | wxColour * _arg1; | |
1662 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
1663 | wxColour temp; |
1664 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
1665 | char *_kwnames[] = { "self","colour", NULL }; |
1666 | ||
1667 | self = self; | |
f6bcfd97 | 1668 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
1669 | return NULL; |
1670 | if (_argo0) { | |
1671 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1672 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1673 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p."); | |
1674 | return NULL; | |
1675 | } | |
1676 | } | |
f6bcfd97 BP |
1677 | { |
1678 | _arg1 = &temp; | |
1679 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 1680 | return NULL; |
f6bcfd97 | 1681 | } |
e91a9dfc | 1682 | { |
4268f798 | 1683 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1684 | wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1); |
e91a9dfc | 1685 | |
4268f798 RD |
1686 | wxPyEndAllowThreads(__tstate); |
1687 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1688 | } Py_INCREF(Py_None); |
1689 | _resultobj = Py_None; | |
1690 | return _resultobj; | |
1691 | } | |
1692 | ||
1693 | #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0)) | |
1694 | static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1695 | PyObject * _resultobj; | |
1696 | wxPseudoMetaFile * _arg0; | |
1697 | int _arg1; | |
1698 | PyObject * _argo0 = 0; | |
1699 | char *_kwnames[] = { "self","mode", NULL }; | |
1700 | ||
1701 | self = self; | |
1702 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
1703 | return NULL; | |
1704 | if (_argo0) { | |
1705 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1706 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) { | |
1707 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p."); | |
1708 | return NULL; | |
1709 | } | |
1710 | } | |
1711 | { | |
4268f798 | 1712 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1713 | wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1); |
e91a9dfc | 1714 | |
4268f798 RD |
1715 | wxPyEndAllowThreads(__tstate); |
1716 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1717 | } Py_INCREF(Py_None); |
1718 | _resultobj = Py_None; | |
1719 | return _resultobj; | |
1720 | } | |
1721 | ||
1722 | static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) { | |
1723 | wxPyRectangleShape *src; | |
1724 | wxPyShape *dest; | |
1725 | src = (wxPyRectangleShape *) ptr; | |
1726 | dest = (wxPyShape *) src; | |
1727 | return (void *) dest; | |
1728 | } | |
1729 | ||
1730 | static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) { | |
1731 | wxPyRectangleShape *src; | |
1732 | wxPyShapeEvtHandler *dest; | |
1733 | src = (wxPyRectangleShape *) ptr; | |
1734 | dest = (wxPyShapeEvtHandler *) src; | |
1735 | return (void *) dest; | |
1736 | } | |
1737 | ||
9416aa89 RD |
1738 | static void *SwigwxPyRectangleShapeTowxObject(void *ptr) { |
1739 | wxPyRectangleShape *src; | |
1740 | wxObject *dest; | |
1741 | src = (wxPyRectangleShape *) ptr; | |
1742 | dest = (wxObject *) src; | |
1743 | return (void *) dest; | |
1744 | } | |
1745 | ||
e91a9dfc RD |
1746 | #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1)) |
1747 | static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1748 | PyObject * _resultobj; | |
1749 | wxPyRectangleShape * _result; | |
1750 | double _arg0 = (double ) 0.0; | |
1751 | double _arg1 = (double ) 0.0; | |
1752 | char *_kwnames[] = { "width","height", NULL }; | |
1753 | char _ptemp[128]; | |
1754 | ||
1755 | self = self; | |
1756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1)) | |
1757 | return NULL; | |
1758 | { | |
4268f798 | 1759 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1760 | _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1); |
e91a9dfc | 1761 | |
4268f798 RD |
1762 | wxPyEndAllowThreads(__tstate); |
1763 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1764 | } if (_result) { |
1765 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p"); | |
1766 | _resultobj = Py_BuildValue("s",_ptemp); | |
1767 | } else { | |
1768 | Py_INCREF(Py_None); | |
1769 | _resultobj = Py_None; | |
1770 | } | |
1771 | return _resultobj; | |
1772 | } | |
1773 | ||
0122b7e3 RD |
1774 | #define wxPyRectangleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
1775 | static PyObject *_wrap_wxPyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
1776 | PyObject * _resultobj; |
1777 | wxPyRectangleShape * _arg0; | |
1778 | PyObject * _arg1; | |
f6bcfd97 | 1779 | PyObject * _arg2; |
e91a9dfc RD |
1780 | PyObject * _argo0 = 0; |
1781 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
1782 | PyObject * _obj2 = 0; |
1783 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
1784 | |
1785 | self = self; | |
0122b7e3 | 1786 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
1787 | return NULL; |
1788 | if (_argo0) { | |
1789 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1790 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
0122b7e3 | 1791 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setCallbackInfo. Expected _wxPyRectangleShape_p."); |
e91a9dfc RD |
1792 | return NULL; |
1793 | } | |
1794 | } | |
1795 | { | |
1796 | _arg1 = _obj1; | |
1797 | } | |
f6bcfd97 BP |
1798 | { |
1799 | _arg2 = _obj2; | |
1800 | } | |
e91a9dfc | 1801 | { |
4268f798 | 1802 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1803 | wxPyRectangleShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc | 1804 | |
4268f798 RD |
1805 | wxPyEndAllowThreads(__tstate); |
1806 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1807 | } Py_INCREF(Py_None); |
1808 | _resultobj = Py_None; | |
1809 | return _resultobj; | |
1810 | } | |
1811 | ||
1812 | #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) | |
1813 | static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1814 | PyObject * _resultobj; | |
1815 | wxPyRectangleShape * _arg0; | |
1816 | double _arg1; | |
1817 | PyObject * _argo0 = 0; | |
1818 | char *_kwnames[] = { "self","radius", NULL }; | |
1819 | ||
1820 | self = self; | |
1821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1)) | |
1822 | return NULL; | |
1823 | if (_argo0) { | |
1824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p."); | |
1827 | return NULL; | |
1828 | } | |
1829 | } | |
1830 | { | |
4268f798 | 1831 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1832 | wxPyRectangleShape_SetCornerRadius(_arg0,_arg1); |
e91a9dfc | 1833 | |
4268f798 RD |
1834 | wxPyEndAllowThreads(__tstate); |
1835 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1836 | } Py_INCREF(Py_None); |
1837 | _resultobj = Py_None; | |
1838 | return _resultobj; | |
1839 | } | |
1840 | ||
1841 | #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
1842 | static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1843 | PyObject * _resultobj; | |
1844 | wxPyRectangleShape * _arg0; | |
1845 | PyObject * _argo0 = 0; | |
1846 | char *_kwnames[] = { "self", NULL }; | |
1847 | ||
1848 | self = self; | |
1849 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0)) | |
1850 | return NULL; | |
1851 | if (_argo0) { | |
1852 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1853 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1854 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p."); | |
1855 | return NULL; | |
1856 | } | |
1857 | } | |
1858 | { | |
4268f798 | 1859 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1860 | wxPyRectangleShape_base_OnDelete(_arg0); |
e91a9dfc | 1861 | |
4268f798 RD |
1862 | wxPyEndAllowThreads(__tstate); |
1863 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1864 | } Py_INCREF(Py_None); |
1865 | _resultobj = Py_None; | |
1866 | return _resultobj; | |
1867 | } | |
1868 | ||
1869 | #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
1870 | static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1871 | PyObject * _resultobj; | |
1872 | wxPyRectangleShape * _arg0; | |
1873 | wxDC * _arg1; | |
1874 | PyObject * _argo0 = 0; | |
1875 | PyObject * _argo1 = 0; | |
1876 | char *_kwnames[] = { "self","dc", NULL }; | |
1877 | ||
1878 | self = self; | |
1879 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
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_OnDraw. 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_OnDraw. Expected _wxDC_p."); | |
1892 | return NULL; | |
1893 | } | |
1894 | } | |
1895 | { | |
4268f798 | 1896 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1897 | wxPyRectangleShape_base_OnDraw(_arg0,*_arg1); |
e91a9dfc | 1898 | |
4268f798 RD |
1899 | wxPyEndAllowThreads(__tstate); |
1900 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1901 | } Py_INCREF(Py_None); |
1902 | _resultobj = Py_None; | |
1903 | return _resultobj; | |
1904 | } | |
1905 | ||
1906 | #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
1907 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(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_OnDrawContents",_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_OnDrawContents. 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_OnDrawContents. Expected _wxDC_p."); | |
1929 | return NULL; | |
1930 | } | |
1931 | } | |
1932 | { | |
4268f798 | 1933 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1934 | wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc | 1935 | |
4268f798 RD |
1936 | wxPyEndAllowThreads(__tstate); |
1937 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1938 | } Py_INCREF(Py_None); |
1939 | _resultobj = Py_None; | |
1940 | return _resultobj; | |
1941 | } | |
1942 | ||
1943 | #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
1944 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1945 | PyObject * _resultobj; | |
1946 | wxPyRectangleShape * _arg0; | |
1947 | wxDC * _arg1; | |
1948 | bool _arg2 = (bool ) FALSE; | |
1949 | PyObject * _argo0 = 0; | |
1950 | PyObject * _argo1 = 0; | |
1951 | int tempbool2 = (int) FALSE; | |
1952 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
1953 | ||
1954 | self = self; | |
1955 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
1956 | return NULL; | |
1957 | if (_argo0) { | |
1958 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1959 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1960 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p."); | |
1961 | return NULL; | |
1962 | } | |
1963 | } | |
1964 | if (_argo1) { | |
1965 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
1966 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
1967 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p."); | |
1968 | return NULL; | |
1969 | } | |
1970 | } | |
1971 | _arg2 = (bool ) tempbool2; | |
1972 | { | |
4268f798 | 1973 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 1974 | wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc | 1975 | |
4268f798 RD |
1976 | wxPyEndAllowThreads(__tstate); |
1977 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
1978 | } Py_INCREF(Py_None); |
1979 | _resultobj = Py_None; | |
1980 | return _resultobj; | |
1981 | } | |
1982 | ||
1983 | #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
1984 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
1985 | PyObject * _resultobj; | |
1986 | wxPyRectangleShape * _arg0; | |
1987 | wxDC * _arg1; | |
1988 | PyObject * _argo0 = 0; | |
1989 | PyObject * _argo1 = 0; | |
1990 | char *_kwnames[] = { "self","dc", NULL }; | |
1991 | ||
1992 | self = self; | |
1993 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
1994 | return NULL; | |
1995 | if (_argo0) { | |
1996 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
1997 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
1998 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p."); | |
1999 | return NULL; | |
2000 | } | |
2001 | } | |
2002 | if (_argo1) { | |
2003 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2004 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2005 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p."); | |
2006 | return NULL; | |
2007 | } | |
2008 | } | |
2009 | { | |
4268f798 | 2010 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2011 | wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc | 2012 | |
4268f798 RD |
2013 | wxPyEndAllowThreads(__tstate); |
2014 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2015 | } Py_INCREF(Py_None); |
2016 | _resultobj = Py_None; | |
2017 | return _resultobj; | |
2018 | } | |
2019 | ||
2020 | #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
2021 | static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2022 | PyObject * _resultobj; | |
2023 | wxPyRectangleShape * _arg0; | |
2024 | wxDC * _arg1; | |
2025 | PyObject * _argo0 = 0; | |
2026 | PyObject * _argo1 = 0; | |
2027 | char *_kwnames[] = { "self","dc", NULL }; | |
2028 | ||
2029 | self = self; | |
2030 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
2031 | return NULL; | |
2032 | if (_argo0) { | |
2033 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2034 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p."); | |
2036 | return NULL; | |
2037 | } | |
2038 | } | |
2039 | if (_argo1) { | |
2040 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2041 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2042 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p."); | |
2043 | return NULL; | |
2044 | } | |
2045 | } | |
2046 | { | |
4268f798 | 2047 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2048 | wxPyRectangleShape_base_OnErase(_arg0,*_arg1); |
e91a9dfc | 2049 | |
4268f798 RD |
2050 | wxPyEndAllowThreads(__tstate); |
2051 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2052 | } Py_INCREF(Py_None); |
2053 | _resultobj = Py_None; | |
2054 | return _resultobj; | |
2055 | } | |
2056 | ||
2057 | #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
2058 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2059 | PyObject * _resultobj; | |
2060 | wxPyRectangleShape * _arg0; | |
2061 | wxDC * _arg1; | |
2062 | PyObject * _argo0 = 0; | |
2063 | PyObject * _argo1 = 0; | |
2064 | char *_kwnames[] = { "self","dc", NULL }; | |
2065 | ||
2066 | self = self; | |
2067 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
2068 | return NULL; | |
2069 | if (_argo0) { | |
2070 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2071 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p."); | |
2073 | return NULL; | |
2074 | } | |
2075 | } | |
2076 | if (_argo1) { | |
2077 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2078 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2079 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p."); | |
2080 | return NULL; | |
2081 | } | |
2082 | } | |
2083 | { | |
4268f798 | 2084 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2085 | wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1); |
e91a9dfc | 2086 | |
4268f798 RD |
2087 | wxPyEndAllowThreads(__tstate); |
2088 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2089 | } Py_INCREF(Py_None); |
2090 | _resultobj = Py_None; | |
2091 | return _resultobj; | |
2092 | } | |
2093 | ||
2094 | #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
2095 | static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2096 | PyObject * _resultobj; | |
2097 | wxPyRectangleShape * _arg0; | |
2098 | wxDC * _arg1; | |
2099 | PyObject * _argo0 = 0; | |
2100 | PyObject * _argo1 = 0; | |
2101 | char *_kwnames[] = { "self","dc", NULL }; | |
2102 | ||
2103 | self = self; | |
2104 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
2105 | return NULL; | |
2106 | if (_argo0) { | |
2107 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2108 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2109 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p."); | |
2110 | return NULL; | |
2111 | } | |
2112 | } | |
2113 | if (_argo1) { | |
2114 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2115 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p."); | |
2117 | return NULL; | |
2118 | } | |
2119 | } | |
2120 | { | |
4268f798 | 2121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2122 | wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1); |
e91a9dfc | 2123 | |
4268f798 RD |
2124 | wxPyEndAllowThreads(__tstate); |
2125 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2126 | } Py_INCREF(Py_None); |
2127 | _resultobj = Py_None; | |
2128 | return _resultobj; | |
2129 | } | |
2130 | ||
2131 | #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2132 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2133 | PyObject * _resultobj; | |
2134 | wxPyRectangleShape * _arg0; | |
2135 | double _arg1; | |
2136 | double _arg2; | |
2137 | int _arg3 = (int ) 0; | |
2138 | int _arg4 = (int ) 0; | |
2139 | PyObject * _argo0 = 0; | |
2140 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2141 | ||
2142 | self = self; | |
2143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2144 | return NULL; | |
2145 | if (_argo0) { | |
2146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p."); | |
2149 | return NULL; | |
2150 | } | |
2151 | } | |
2152 | { | |
4268f798 | 2153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2154 | wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 2155 | |
4268f798 RD |
2156 | wxPyEndAllowThreads(__tstate); |
2157 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2158 | } Py_INCREF(Py_None); |
2159 | _resultobj = Py_None; | |
2160 | return _resultobj; | |
2161 | } | |
2162 | ||
2163 | #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2164 | static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2165 | PyObject * _resultobj; | |
2166 | wxPyRectangleShape * _arg0; | |
2167 | double _arg1; | |
2168 | double _arg2; | |
2169 | int _arg3 = (int ) 0; | |
2170 | int _arg4 = (int ) 0; | |
2171 | PyObject * _argo0 = 0; | |
2172 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2173 | ||
2174 | self = self; | |
2175 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2176 | return NULL; | |
2177 | if (_argo0) { | |
2178 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2179 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2180 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p."); | |
2181 | return NULL; | |
2182 | } | |
2183 | } | |
2184 | { | |
4268f798 | 2185 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2186 | wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 2187 | |
4268f798 RD |
2188 | wxPyEndAllowThreads(__tstate); |
2189 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2190 | } Py_INCREF(Py_None); |
2191 | _resultobj = Py_None; | |
2192 | return _resultobj; | |
2193 | } | |
2194 | ||
2195 | #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2196 | static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2197 | PyObject * _resultobj; | |
2198 | wxPyRectangleShape * _arg0; | |
2199 | double _arg1; | |
2200 | double _arg2; | |
2201 | int _arg3 = (int ) 0; | |
2202 | int _arg4 = (int ) 0; | |
2203 | PyObject * _argo0 = 0; | |
2204 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2205 | ||
2206 | self = self; | |
2207 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2208 | return NULL; | |
2209 | if (_argo0) { | |
2210 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2211 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2212 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p."); | |
2213 | return NULL; | |
2214 | } | |
2215 | } | |
2216 | { | |
4268f798 | 2217 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2218 | wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 2219 | |
4268f798 RD |
2220 | wxPyEndAllowThreads(__tstate); |
2221 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2222 | } Py_INCREF(Py_None); |
2223 | _resultobj = Py_None; | |
2224 | return _resultobj; | |
2225 | } | |
2226 | ||
2227 | #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
2228 | static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2229 | PyObject * _resultobj; | |
2230 | wxPyRectangleShape * _arg0; | |
2231 | double _arg1; | |
2232 | double _arg2; | |
2233 | PyObject * _argo0 = 0; | |
2234 | char *_kwnames[] = { "self","x","y", NULL }; | |
2235 | ||
2236 | self = self; | |
2237 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2238 | return NULL; | |
2239 | if (_argo0) { | |
2240 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2241 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p."); | |
2243 | return NULL; | |
2244 | } | |
2245 | } | |
2246 | { | |
4268f798 | 2247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2248 | wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2); |
e91a9dfc | 2249 | |
4268f798 RD |
2250 | wxPyEndAllowThreads(__tstate); |
2251 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2252 | } Py_INCREF(Py_None); |
2253 | _resultobj = Py_None; | |
2254 | return _resultobj; | |
2255 | } | |
2256 | ||
2257 | #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2258 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2259 | PyObject * _resultobj; | |
2260 | bool _result; | |
2261 | wxPyRectangleShape * _arg0; | |
2262 | wxDC * _arg1; | |
2263 | double _arg2; | |
2264 | double _arg3; | |
2265 | double _arg4; | |
2266 | double _arg5; | |
2267 | bool _arg6 = (bool ) TRUE; | |
2268 | PyObject * _argo0 = 0; | |
2269 | PyObject * _argo1 = 0; | |
2270 | int tempbool6 = (int) TRUE; | |
2271 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2272 | ||
2273 | self = self; | |
2274 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2275 | return NULL; | |
2276 | if (_argo0) { | |
2277 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2278 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2279 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p."); | |
2280 | return NULL; | |
2281 | } | |
2282 | } | |
2283 | if (_argo1) { | |
2284 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2285 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2286 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p."); | |
2287 | return NULL; | |
2288 | } | |
2289 | } | |
2290 | _arg6 = (bool ) tempbool6; | |
2291 | { | |
4268f798 | 2292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2293 | _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 2294 | |
4268f798 RD |
2295 | wxPyEndAllowThreads(__tstate); |
2296 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2297 | } _resultobj = Py_BuildValue("i",_result); |
2298 | return _resultobj; | |
2299 | } | |
2300 | ||
2301 | #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2302 | static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2303 | PyObject * _resultobj; | |
2304 | wxPyRectangleShape * _arg0; | |
2305 | wxDC * _arg1; | |
2306 | double _arg2; | |
2307 | double _arg3; | |
2308 | double _arg4; | |
2309 | double _arg5; | |
2310 | bool _arg6 = (bool ) TRUE; | |
2311 | PyObject * _argo0 = 0; | |
2312 | PyObject * _argo1 = 0; | |
2313 | int tempbool6 = (int) TRUE; | |
2314 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
2315 | ||
2316 | self = self; | |
2317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
2318 | return NULL; | |
2319 | if (_argo0) { | |
2320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p."); | |
2323 | return NULL; | |
2324 | } | |
2325 | } | |
2326 | if (_argo1) { | |
2327 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2328 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p."); | |
2330 | return NULL; | |
2331 | } | |
2332 | } | |
2333 | _arg6 = (bool ) tempbool6; | |
2334 | { | |
4268f798 | 2335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2336 | wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 2337 | |
4268f798 RD |
2338 | wxPyEndAllowThreads(__tstate); |
2339 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2340 | } Py_INCREF(Py_None); |
2341 | _resultobj = Py_None; | |
2342 | return _resultobj; | |
2343 | } | |
2344 | ||
2345 | #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2346 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2347 | PyObject * _resultobj; | |
2348 | wxPyRectangleShape * _arg0; | |
2349 | bool _arg1; | |
2350 | double _arg2; | |
2351 | double _arg3; | |
2352 | int _arg4 = (int ) 0; | |
2353 | int _arg5 = (int ) 0; | |
2354 | PyObject * _argo0 = 0; | |
2355 | int tempbool1; | |
2356 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2357 | ||
2358 | self = self; | |
2359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2360 | return NULL; | |
2361 | if (_argo0) { | |
2362 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2363 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2364 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p."); | |
2365 | return NULL; | |
2366 | } | |
2367 | } | |
2368 | _arg1 = (bool ) tempbool1; | |
2369 | { | |
4268f798 | 2370 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2371 | wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 2372 | |
4268f798 RD |
2373 | wxPyEndAllowThreads(__tstate); |
2374 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2375 | } Py_INCREF(Py_None); |
2376 | _resultobj = Py_None; | |
2377 | return _resultobj; | |
2378 | } | |
2379 | ||
2380 | #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2381 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2382 | PyObject * _resultobj; | |
2383 | wxPyRectangleShape * _arg0; | |
2384 | double _arg1; | |
2385 | double _arg2; | |
2386 | int _arg3 = (int ) 0; | |
2387 | int _arg4 = (int ) 0; | |
2388 | PyObject * _argo0 = 0; | |
2389 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2390 | ||
2391 | self = self; | |
2392 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2393 | return NULL; | |
2394 | if (_argo0) { | |
2395 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2396 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2397 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2398 | return NULL; | |
2399 | } | |
2400 | } | |
2401 | { | |
4268f798 | 2402 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2403 | wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 2404 | |
4268f798 RD |
2405 | wxPyEndAllowThreads(__tstate); |
2406 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2407 | } Py_INCREF(Py_None); |
2408 | _resultobj = Py_None; | |
2409 | return _resultobj; | |
2410 | } | |
2411 | ||
2412 | #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2413 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2414 | PyObject * _resultobj; | |
2415 | wxPyRectangleShape * _arg0; | |
2416 | double _arg1; | |
2417 | double _arg2; | |
2418 | int _arg3 = (int ) 0; | |
2419 | int _arg4 = (int ) 0; | |
2420 | PyObject * _argo0 = 0; | |
2421 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2422 | ||
2423 | self = self; | |
2424 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2425 | return NULL; | |
2426 | if (_argo0) { | |
2427 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2428 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2430 | return NULL; | |
2431 | } | |
2432 | } | |
2433 | { | |
4268f798 | 2434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2435 | wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 2436 | |
4268f798 RD |
2437 | wxPyEndAllowThreads(__tstate); |
2438 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2439 | } Py_INCREF(Py_None); |
2440 | _resultobj = Py_None; | |
2441 | return _resultobj; | |
2442 | } | |
2443 | ||
2444 | #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2445 | static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2446 | PyObject * _resultobj; | |
2447 | wxPyRectangleShape * _arg0; | |
2448 | bool _arg1; | |
2449 | double _arg2; | |
2450 | double _arg3; | |
2451 | int _arg4 = (int ) 0; | |
2452 | int _arg5 = (int ) 0; | |
2453 | PyObject * _argo0 = 0; | |
2454 | int tempbool1; | |
2455 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
2456 | ||
2457 | self = self; | |
2458 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2459 | return NULL; | |
2460 | if (_argo0) { | |
2461 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2462 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2463 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p."); | |
2464 | return NULL; | |
2465 | } | |
2466 | } | |
2467 | _arg1 = (bool ) tempbool1; | |
2468 | { | |
4268f798 | 2469 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2470 | wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 2471 | |
4268f798 RD |
2472 | wxPyEndAllowThreads(__tstate); |
2473 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2474 | } Py_INCREF(Py_None); |
2475 | _resultobj = Py_None; | |
2476 | return _resultobj; | |
2477 | } | |
2478 | ||
2479 | #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2480 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2481 | PyObject * _resultobj; | |
2482 | wxPyRectangleShape * _arg0; | |
2483 | double _arg1; | |
2484 | double _arg2; | |
2485 | int _arg3 = (int ) 0; | |
2486 | int _arg4 = (int ) 0; | |
2487 | PyObject * _argo0 = 0; | |
2488 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2489 | ||
2490 | self = self; | |
2491 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2492 | return NULL; | |
2493 | if (_argo0) { | |
2494 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2495 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2496 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p."); | |
2497 | return NULL; | |
2498 | } | |
2499 | } | |
2500 | { | |
4268f798 | 2501 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2502 | wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 2503 | |
4268f798 RD |
2504 | wxPyEndAllowThreads(__tstate); |
2505 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2506 | } Py_INCREF(Py_None); |
2507 | _resultobj = Py_None; | |
2508 | return _resultobj; | |
2509 | } | |
2510 | ||
2511 | #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
2512 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2513 | PyObject * _resultobj; | |
2514 | wxPyRectangleShape * _arg0; | |
2515 | double _arg1; | |
2516 | double _arg2; | |
2517 | int _arg3 = (int ) 0; | |
2518 | int _arg4 = (int ) 0; | |
2519 | PyObject * _argo0 = 0; | |
2520 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
2521 | ||
2522 | self = self; | |
2523 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
2524 | return NULL; | |
2525 | if (_argo0) { | |
2526 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2527 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2528 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p."); | |
2529 | return NULL; | |
2530 | } | |
2531 | } | |
2532 | { | |
4268f798 | 2533 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2534 | wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 2535 | |
4268f798 RD |
2536 | wxPyEndAllowThreads(__tstate); |
2537 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2538 | } Py_INCREF(Py_None); |
2539 | _resultobj = Py_None; | |
2540 | return _resultobj; | |
2541 | } | |
2542 | ||
2543 | #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2544 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2545 | PyObject * _resultobj; | |
2546 | wxPyRectangleShape * _arg0; | |
2547 | wxDC * _arg1; | |
2548 | double _arg2; | |
2549 | double _arg3; | |
2550 | double _arg4; | |
2551 | double _arg5; | |
2552 | PyObject * _argo0 = 0; | |
2553 | PyObject * _argo1 = 0; | |
2554 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
2555 | ||
2556 | self = self; | |
2557 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2558 | return NULL; | |
2559 | if (_argo0) { | |
2560 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2561 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2562 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p."); | |
2563 | return NULL; | |
2564 | } | |
2565 | } | |
2566 | if (_argo1) { | |
2567 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2568 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2569 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p."); | |
2570 | return NULL; | |
2571 | } | |
2572 | } | |
2573 | { | |
4268f798 | 2574 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2575 | wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 2576 | |
4268f798 RD |
2577 | wxPyEndAllowThreads(__tstate); |
2578 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2579 | } Py_INCREF(Py_None); |
2580 | _resultobj = Py_None; | |
2581 | return _resultobj; | |
2582 | } | |
2583 | ||
2584 | #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
2585 | static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2586 | PyObject * _resultobj; | |
2587 | wxPyRectangleShape * _arg0; | |
2588 | wxDC * _arg1; | |
2589 | PyObject * _argo0 = 0; | |
2590 | PyObject * _argo1 = 0; | |
2591 | char *_kwnames[] = { "self","dc", NULL }; | |
2592 | ||
2593 | self = self; | |
2594 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
2595 | return NULL; | |
2596 | if (_argo0) { | |
2597 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2598 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2599 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p."); | |
2600 | return NULL; | |
2601 | } | |
2602 | } | |
2603 | if (_argo1) { | |
2604 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2605 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2606 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
2607 | return NULL; | |
2608 | } | |
2609 | } | |
2610 | { | |
4268f798 | 2611 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2612 | wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1); |
e91a9dfc | 2613 | |
4268f798 RD |
2614 | wxPyEndAllowThreads(__tstate); |
2615 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2616 | } Py_INCREF(Py_None); |
2617 | _resultobj = Py_None; | |
2618 | return _resultobj; | |
2619 | } | |
2620 | ||
2621 | #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
2622 | static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2623 | PyObject * _resultobj; | |
2624 | wxPyRectangleShape * _arg0; | |
2625 | wxDC * _arg1; | |
2626 | PyObject * _argo0 = 0; | |
2627 | PyObject * _argo1 = 0; | |
2628 | char *_kwnames[] = { "self","dc", NULL }; | |
2629 | ||
2630 | self = self; | |
2631 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
2632 | return NULL; | |
2633 | if (_argo0) { | |
2634 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2635 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2636 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p."); | |
2637 | return NULL; | |
2638 | } | |
2639 | } | |
2640 | if (_argo1) { | |
2641 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2642 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2643 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
2644 | return NULL; | |
2645 | } | |
2646 | } | |
2647 | { | |
4268f798 | 2648 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2649 | wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1); |
e91a9dfc | 2650 | |
4268f798 RD |
2651 | wxPyEndAllowThreads(__tstate); |
2652 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2653 | } Py_INCREF(Py_None); |
2654 | _resultobj = Py_None; | |
2655 | return _resultobj; | |
2656 | } | |
2657 | ||
2658 | #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
2659 | static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2660 | PyObject * _resultobj; | |
2661 | wxPyRectangleShape * _arg0; | |
2662 | wxDC * _arg1; | |
2663 | bool _arg2 = (bool ) TRUE; | |
2664 | PyObject * _argo0 = 0; | |
2665 | PyObject * _argo1 = 0; | |
2666 | int tempbool2 = (int) TRUE; | |
2667 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
2668 | ||
2669 | self = self; | |
2670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
2671 | return NULL; | |
2672 | if (_argo0) { | |
2673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p."); | |
2676 | return NULL; | |
2677 | } | |
2678 | } | |
2679 | if (_argo1) { | |
2680 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2681 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p."); | |
2683 | return NULL; | |
2684 | } | |
2685 | } | |
2686 | _arg2 = (bool ) tempbool2; | |
2687 | { | |
4268f798 | 2688 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2689 | wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2); |
e91a9dfc | 2690 | |
4268f798 RD |
2691 | wxPyEndAllowThreads(__tstate); |
2692 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2693 | } Py_INCREF(Py_None); |
2694 | _resultobj = Py_None; | |
2695 | return _resultobj; | |
2696 | } | |
2697 | ||
2698 | #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
2699 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2700 | PyObject * _resultobj; | |
2701 | wxPyRectangleShape * _arg0; | |
2348eaee | 2702 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2703 | bool _arg2; |
2704 | double _arg3; | |
2705 | double _arg4; | |
2706 | int _arg5 = (int ) 0; | |
2707 | int _arg6 = (int ) 0; | |
2708 | PyObject * _argo0 = 0; | |
2709 | PyObject * _argo1 = 0; | |
2710 | int tempbool2; | |
2711 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
2712 | ||
2713 | self = self; | |
2714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
2715 | return NULL; | |
2716 | if (_argo0) { | |
2717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p."); | |
2720 | return NULL; | |
2721 | } | |
2722 | } | |
2723 | if (_argo1) { | |
2724 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2725 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2727 | return NULL; |
2728 | } | |
2729 | } | |
2730 | _arg2 = (bool ) tempbool2; | |
2731 | { | |
4268f798 | 2732 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2733 | wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 2734 | |
4268f798 RD |
2735 | wxPyEndAllowThreads(__tstate); |
2736 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2737 | } Py_INCREF(Py_None); |
2738 | _resultobj = Py_None; | |
2739 | return _resultobj; | |
2740 | } | |
2741 | ||
2742 | #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2743 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2744 | PyObject * _resultobj; | |
2745 | wxPyRectangleShape * _arg0; | |
2348eaee | 2746 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2747 | double _arg2; |
2748 | double _arg3; | |
2749 | int _arg4 = (int ) 0; | |
2750 | int _arg5 = (int ) 0; | |
2751 | PyObject * _argo0 = 0; | |
2752 | PyObject * _argo1 = 0; | |
2753 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2754 | ||
2755 | self = self; | |
2756 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2757 | return NULL; | |
2758 | if (_argo0) { | |
2759 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2760 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2761 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p."); | |
2762 | return NULL; | |
2763 | } | |
2764 | } | |
2765 | if (_argo1) { | |
2766 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2767 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2769 | return NULL; |
2770 | } | |
2771 | } | |
2772 | { | |
4268f798 | 2773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2774 | wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 2775 | |
4268f798 RD |
2776 | wxPyEndAllowThreads(__tstate); |
2777 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2778 | } Py_INCREF(Py_None); |
2779 | _resultobj = Py_None; | |
2780 | return _resultobj; | |
2781 | } | |
2782 | ||
2783 | #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
2784 | static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2785 | PyObject * _resultobj; | |
2786 | wxPyRectangleShape * _arg0; | |
2348eaee | 2787 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
2788 | double _arg2; |
2789 | double _arg3; | |
2790 | int _arg4 = (int ) 0; | |
2791 | int _arg5 = (int ) 0; | |
2792 | PyObject * _argo0 = 0; | |
2793 | PyObject * _argo1 = 0; | |
2794 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
2795 | ||
2796 | self = self; | |
2797 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
2798 | return NULL; | |
2799 | if (_argo0) { | |
2800 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2801 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2802 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p."); | |
2803 | return NULL; | |
2804 | } | |
2805 | } | |
2806 | if (_argo1) { | |
2807 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
2808 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
2809 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
2810 | return NULL; |
2811 | } | |
2812 | } | |
2813 | { | |
4268f798 | 2814 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2815 | wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 2816 | |
4268f798 RD |
2817 | wxPyEndAllowThreads(__tstate); |
2818 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2819 | } Py_INCREF(Py_None); |
2820 | _resultobj = Py_None; | |
2821 | return _resultobj; | |
2822 | } | |
2823 | ||
2824 | #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
2825 | static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2826 | PyObject * _resultobj; | |
2827 | wxPyRectangleShape * _arg0; | |
2828 | double _arg1; | |
2829 | double _arg2; | |
2830 | PyObject * _argo0 = 0; | |
2831 | char *_kwnames[] = { "self","w","h", NULL }; | |
2832 | ||
2833 | self = self; | |
2834 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2835 | return NULL; | |
2836 | if (_argo0) { | |
2837 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2838 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p."); | |
2840 | return NULL; | |
2841 | } | |
2842 | } | |
2843 | { | |
4268f798 | 2844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2845 | wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2); |
e91a9dfc | 2846 | |
4268f798 RD |
2847 | wxPyEndAllowThreads(__tstate); |
2848 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2849 | } Py_INCREF(Py_None); |
2850 | _resultobj = Py_None; | |
2851 | return _resultobj; | |
2852 | } | |
2853 | ||
2854 | #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
2855 | static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2856 | PyObject * _resultobj; | |
2857 | wxPyRectangleShape * _arg0; | |
2858 | double _arg1; | |
2859 | double _arg2; | |
2860 | PyObject * _argo0 = 0; | |
2861 | char *_kwnames[] = { "self","w","h", NULL }; | |
2862 | ||
2863 | self = self; | |
2864 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
2865 | return NULL; | |
2866 | if (_argo0) { | |
2867 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2868 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) { | |
2869 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p."); | |
2870 | return NULL; | |
2871 | } | |
2872 | } | |
2873 | { | |
4268f798 | 2874 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2875 | wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2); |
e91a9dfc | 2876 | |
4268f798 RD |
2877 | wxPyEndAllowThreads(__tstate); |
2878 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2879 | } Py_INCREF(Py_None); |
2880 | _resultobj = Py_None; | |
2881 | return _resultobj; | |
2882 | } | |
2883 | ||
2348eaee RD |
2884 | static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) { |
2885 | wxPyControlPoint *src; | |
e91a9dfc | 2886 | wxPyRectangleShape *dest; |
2348eaee | 2887 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2888 | dest = (wxPyRectangleShape *) src; |
2889 | return (void *) dest; | |
2890 | } | |
2891 | ||
2348eaee RD |
2892 | static void *SwigwxPyControlPointTowxPyShape(void *ptr) { |
2893 | wxPyControlPoint *src; | |
e91a9dfc | 2894 | wxPyShape *dest; |
2348eaee | 2895 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2896 | dest = (wxPyShape *) src; |
2897 | return (void *) dest; | |
2898 | } | |
2899 | ||
2348eaee RD |
2900 | static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) { |
2901 | wxPyControlPoint *src; | |
e91a9dfc | 2902 | wxPyShapeEvtHandler *dest; |
2348eaee | 2903 | src = (wxPyControlPoint *) ptr; |
e91a9dfc RD |
2904 | dest = (wxPyShapeEvtHandler *) src; |
2905 | return (void *) dest; | |
2906 | } | |
2907 | ||
9416aa89 RD |
2908 | static void *SwigwxPyControlPointTowxObject(void *ptr) { |
2909 | wxPyControlPoint *src; | |
2910 | wxObject *dest; | |
2911 | src = (wxPyControlPoint *) ptr; | |
2912 | dest = (wxObject *) src; | |
2913 | return (void *) dest; | |
2914 | } | |
2915 | ||
2348eaee RD |
2916 | #define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) |
2917 | static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2918 | PyObject * _resultobj; |
2348eaee RD |
2919 | wxPyControlPoint * _result; |
2920 | wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL; | |
2921 | wxPyShape * _arg1 = (wxPyShape *) NULL; | |
2922 | double _arg2 = (double ) 0.0; | |
2923 | double _arg3 = (double ) 0.0; | |
2924 | double _arg4 = (double ) 0.0; | |
2925 | int _arg5 = (int ) 0; | |
2926 | PyObject * _argo0 = 0; | |
2927 | PyObject * _argo1 = 0; | |
2928 | char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL }; | |
e91a9dfc RD |
2929 | char _ptemp[128]; |
2930 | ||
2931 | self = self; | |
2348eaee RD |
2932 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) |
2933 | return NULL; | |
2934 | if (_argo0) { | |
2935 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2936 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) { | |
2937 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p."); | |
2938 | return NULL; | |
2939 | } | |
2940 | } | |
2941 | if (_argo1) { | |
2942 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2943 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
2944 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p."); | |
e91a9dfc | 2945 | return NULL; |
2348eaee RD |
2946 | } |
2947 | } | |
e91a9dfc | 2948 | { |
4268f798 | 2949 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2950 | _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 2951 | |
4268f798 RD |
2952 | wxPyEndAllowThreads(__tstate); |
2953 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc | 2954 | } if (_result) { |
2348eaee | 2955 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p"); |
e91a9dfc RD |
2956 | _resultobj = Py_BuildValue("s",_ptemp); |
2957 | } else { | |
2958 | Py_INCREF(Py_None); | |
2959 | _resultobj = Py_None; | |
2960 | } | |
2961 | return _resultobj; | |
2962 | } | |
2963 | ||
0122b7e3 RD |
2964 | #define wxPyControlPoint__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
2965 | static PyObject *_wrap_wxPyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 2966 | PyObject * _resultobj; |
2348eaee | 2967 | wxPyControlPoint * _arg0; |
e91a9dfc | 2968 | PyObject * _arg1; |
f6bcfd97 | 2969 | PyObject * _arg2; |
e91a9dfc RD |
2970 | PyObject * _argo0 = 0; |
2971 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
2972 | PyObject * _obj2 = 0; |
2973 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
2974 | |
2975 | self = self; | |
0122b7e3 | 2976 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
2977 | return NULL; |
2978 | if (_argo0) { | |
2979 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee | 2980 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
0122b7e3 | 2981 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setCallbackInfo. Expected _wxPyControlPoint_p."); |
e91a9dfc RD |
2982 | return NULL; |
2983 | } | |
2984 | } | |
2985 | { | |
2986 | _arg1 = _obj1; | |
2987 | } | |
f6bcfd97 BP |
2988 | { |
2989 | _arg2 = _obj2; | |
2990 | } | |
e91a9dfc | 2991 | { |
4268f798 | 2992 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 2993 | wxPyControlPoint__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc | 2994 | |
4268f798 RD |
2995 | wxPyEndAllowThreads(__tstate); |
2996 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
2997 | } Py_INCREF(Py_None); |
2998 | _resultobj = Py_None; | |
2999 | return _resultobj; | |
3000 | } | |
3001 | ||
2348eaee RD |
3002 | #define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0)) |
3003 | static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3004 | PyObject * _resultobj; |
2348eaee RD |
3005 | wxPyControlPoint * _arg0; |
3006 | double _arg1; | |
e91a9dfc | 3007 | PyObject * _argo0 = 0; |
2348eaee | 3008 | char *_kwnames[] = { "self","radius", NULL }; |
e91a9dfc RD |
3009 | |
3010 | self = self; | |
2348eaee | 3011 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1)) |
e91a9dfc RD |
3012 | return NULL; |
3013 | if (_argo0) { | |
3014 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3015 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3016 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3017 | return NULL; |
3018 | } | |
3019 | } | |
3020 | { | |
4268f798 | 3021 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3022 | wxPyControlPoint_SetCornerRadius(_arg0,_arg1); |
e91a9dfc | 3023 | |
4268f798 RD |
3024 | wxPyEndAllowThreads(__tstate); |
3025 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3026 | } Py_INCREF(Py_None); |
3027 | _resultobj = Py_None; | |
e91a9dfc RD |
3028 | return _resultobj; |
3029 | } | |
3030 | ||
2348eaee RD |
3031 | #define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) |
3032 | static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3033 | PyObject * _resultobj; |
2348eaee | 3034 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3035 | PyObject * _argo0 = 0; |
3036 | char *_kwnames[] = { "self", NULL }; | |
3037 | ||
3038 | self = self; | |
2348eaee | 3039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0)) |
e91a9dfc RD |
3040 | return NULL; |
3041 | if (_argo0) { | |
3042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3045 | return NULL; |
3046 | } | |
3047 | } | |
3048 | { | |
4268f798 | 3049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3050 | wxPyControlPoint_base_OnDelete(_arg0); |
e91a9dfc | 3051 | |
4268f798 RD |
3052 | wxPyEndAllowThreads(__tstate); |
3053 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3054 | } Py_INCREF(Py_None); |
3055 | _resultobj = Py_None; | |
e91a9dfc RD |
3056 | return _resultobj; |
3057 | } | |
3058 | ||
2348eaee RD |
3059 | #define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) |
3060 | static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3061 | PyObject * _resultobj; |
2348eaee RD |
3062 | wxPyControlPoint * _arg0; |
3063 | wxDC * _arg1; | |
e91a9dfc RD |
3064 | PyObject * _argo0 = 0; |
3065 | PyObject * _argo1 = 0; | |
2348eaee | 3066 | char *_kwnames[] = { "self","dc", NULL }; |
e91a9dfc RD |
3067 | |
3068 | self = self; | |
2348eaee | 3069 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3070 | return NULL; |
3071 | if (_argo0) { | |
3072 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3073 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3074 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3075 | return NULL; |
3076 | } | |
3077 | } | |
3078 | if (_argo1) { | |
3079 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
3080 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { |
3081 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p."); | |
e91a9dfc RD |
3082 | return NULL; |
3083 | } | |
3084 | } | |
3085 | { | |
4268f798 | 3086 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3087 | wxPyControlPoint_base_OnDraw(_arg0,*_arg1); |
e91a9dfc | 3088 | |
4268f798 RD |
3089 | wxPyEndAllowThreads(__tstate); |
3090 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
3091 | } Py_INCREF(Py_None); |
3092 | _resultobj = Py_None; | |
3093 | return _resultobj; | |
3094 | } | |
3095 | ||
2348eaee RD |
3096 | #define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) |
3097 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3098 | PyObject * _resultobj; |
2348eaee RD |
3099 | wxPyControlPoint * _arg0; |
3100 | wxDC * _arg1; | |
e91a9dfc | 3101 | PyObject * _argo0 = 0; |
2348eaee RD |
3102 | PyObject * _argo1 = 0; |
3103 | char *_kwnames[] = { "self","dc", NULL }; | |
e91a9dfc RD |
3104 | |
3105 | self = self; | |
2348eaee | 3106 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3107 | return NULL; |
3108 | if (_argo0) { | |
3109 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3110 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3111 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3112 | return NULL; |
3113 | } | |
3114 | } | |
2348eaee RD |
3115 | if (_argo1) { |
3116 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3117 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3118 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p."); | |
e91a9dfc | 3119 | return NULL; |
2348eaee | 3120 | } |
e91a9dfc | 3121 | } |
e91a9dfc | 3122 | { |
4268f798 | 3123 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3124 | wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc | 3125 | |
4268f798 RD |
3126 | wxPyEndAllowThreads(__tstate); |
3127 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
3128 | } Py_INCREF(Py_None); |
3129 | _resultobj = Py_None; | |
e91a9dfc RD |
3130 | return _resultobj; |
3131 | } | |
3132 | ||
2348eaee RD |
3133 | #define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) |
3134 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3135 | PyObject * _resultobj; |
2348eaee RD |
3136 | wxPyControlPoint * _arg0; |
3137 | wxDC * _arg1; | |
3138 | bool _arg2 = (bool ) FALSE; | |
e91a9dfc | 3139 | PyObject * _argo0 = 0; |
2348eaee RD |
3140 | PyObject * _argo1 = 0; |
3141 | int tempbool2 = (int) FALSE; | |
3142 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
3143 | |
3144 | self = self; | |
2348eaee | 3145 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) |
e91a9dfc RD |
3146 | return NULL; |
3147 | if (_argo0) { | |
3148 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3149 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3150 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p."); | |
3151 | return NULL; | |
3152 | } | |
3153 | } | |
3154 | if (_argo1) { | |
3155 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3156 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3157 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p."); | |
e91a9dfc RD |
3158 | return NULL; |
3159 | } | |
3160 | } | |
2348eaee | 3161 | _arg2 = (bool ) tempbool2; |
e91a9dfc | 3162 | { |
4268f798 | 3163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3164 | wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc | 3165 | |
4268f798 RD |
3166 | wxPyEndAllowThreads(__tstate); |
3167 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
3168 | } Py_INCREF(Py_None); |
3169 | _resultobj = Py_None; | |
3170 | return _resultobj; | |
3171 | } | |
3172 | ||
2348eaee RD |
3173 | #define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) |
3174 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3175 | PyObject * _resultobj; |
2348eaee | 3176 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3177 | wxDC * _arg1; |
3178 | PyObject * _argo0 = 0; | |
3179 | PyObject * _argo1 = 0; | |
3180 | char *_kwnames[] = { "self","dc", NULL }; | |
3181 | ||
3182 | self = self; | |
2348eaee | 3183 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3184 | return NULL; |
3185 | if (_argo0) { | |
3186 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3187 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3188 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3189 | return NULL; |
3190 | } | |
3191 | } | |
3192 | if (_argo1) { | |
3193 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3194 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p."); |
e91a9dfc RD |
3196 | return NULL; |
3197 | } | |
3198 | } | |
3199 | { | |
4268f798 | 3200 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3201 | wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc | 3202 | |
4268f798 RD |
3203 | wxPyEndAllowThreads(__tstate); |
3204 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
3205 | } Py_INCREF(Py_None); |
3206 | _resultobj = Py_None; | |
3207 | return _resultobj; | |
3208 | } | |
3209 | ||
2348eaee RD |
3210 | #define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) |
3211 | static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3212 | PyObject * _resultobj; |
2348eaee | 3213 | wxPyControlPoint * _arg0; |
e91a9dfc RD |
3214 | wxDC * _arg1; |
3215 | PyObject * _argo0 = 0; | |
3216 | PyObject * _argo1 = 0; | |
3217 | char *_kwnames[] = { "self","dc", NULL }; | |
3218 | ||
3219 | self = self; | |
2348eaee | 3220 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1)) |
e91a9dfc RD |
3221 | return NULL; |
3222 | if (_argo0) { | |
3223 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
2348eaee RD |
3224 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { |
3225 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
3226 | return NULL; |
3227 | } | |
3228 | } | |
3229 | if (_argo1) { | |
3230 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3231 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
2348eaee | 3232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p."); |
e91a9dfc RD |
3233 | return NULL; |
3234 | } | |
3235 | } | |
3236 | { | |
4268f798 | 3237 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3238 | wxPyControlPoint_base_OnErase(_arg0,*_arg1); |
e91a9dfc | 3239 | |
4268f798 RD |
3240 | wxPyEndAllowThreads(__tstate); |
3241 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
3242 | } Py_INCREF(Py_None); |
3243 | _resultobj = Py_None; | |
3244 | return _resultobj; | |
3245 | } | |
3246 | ||
2348eaee RD |
3247 | #define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) |
3248 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc | 3249 | PyObject * _resultobj; |
2348eaee | 3250 | wxPyControlPoint * _arg0; |
e91a9dfc | 3251 | wxDC * _arg1; |
e91a9dfc RD |
3252 | PyObject * _argo0 = 0; |
3253 | PyObject * _argo1 = 0; | |
2348eaee RD |
3254 | char *_kwnames[] = { "self","dc", NULL }; |
3255 | ||
3256 | self = self; | |
3257 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
3258 | return NULL; | |
3259 | if (_argo0) { | |
3260 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3261 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3262 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p."); | |
3263 | return NULL; | |
3264 | } | |
3265 | } | |
3266 | if (_argo1) { | |
3267 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3268 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3269 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p."); | |
3270 | return NULL; | |
3271 | } | |
3272 | } | |
3273 | { | |
4268f798 | 3274 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3275 | wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1); |
2348eaee | 3276 | |
4268f798 RD |
3277 | wxPyEndAllowThreads(__tstate); |
3278 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3279 | } Py_INCREF(Py_None); |
3280 | _resultobj = Py_None; | |
3281 | return _resultobj; | |
3282 | } | |
3283 | ||
3284 | #define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
3285 | static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3286 | PyObject * _resultobj; | |
3287 | wxPyControlPoint * _arg0; | |
3288 | wxDC * _arg1; | |
3289 | PyObject * _argo0 = 0; | |
3290 | PyObject * _argo1 = 0; | |
3291 | char *_kwnames[] = { "self","dc", NULL }; | |
3292 | ||
3293 | self = self; | |
3294 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
3295 | return NULL; | |
3296 | if (_argo0) { | |
3297 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3298 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3299 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p."); | |
3300 | return NULL; | |
3301 | } | |
3302 | } | |
3303 | if (_argo1) { | |
3304 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3305 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3306 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p."); | |
3307 | return NULL; | |
3308 | } | |
3309 | } | |
3310 | { | |
4268f798 | 3311 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3312 | wxPyControlPoint_base_OnHighlight(_arg0,*_arg1); |
2348eaee | 3313 | |
4268f798 RD |
3314 | wxPyEndAllowThreads(__tstate); |
3315 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3316 | } Py_INCREF(Py_None); |
3317 | _resultobj = Py_None; | |
3318 | return _resultobj; | |
3319 | } | |
3320 | ||
3321 | #define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3322 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3323 | PyObject * _resultobj; | |
3324 | wxPyControlPoint * _arg0; | |
3325 | double _arg1; | |
3326 | double _arg2; | |
3327 | int _arg3 = (int ) 0; | |
3328 | int _arg4 = (int ) 0; | |
3329 | PyObject * _argo0 = 0; | |
3330 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3331 | ||
3332 | self = self; | |
3333 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3334 | return NULL; | |
3335 | if (_argo0) { | |
3336 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3337 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3338 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p."); | |
3339 | return NULL; | |
3340 | } | |
3341 | } | |
3342 | { | |
4268f798 | 3343 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3344 | wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
2348eaee | 3345 | |
4268f798 RD |
3346 | wxPyEndAllowThreads(__tstate); |
3347 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3348 | } Py_INCREF(Py_None); |
3349 | _resultobj = Py_None; | |
3350 | return _resultobj; | |
3351 | } | |
3352 | ||
3353 | #define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3354 | static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3355 | PyObject * _resultobj; | |
3356 | wxPyControlPoint * _arg0; | |
3357 | double _arg1; | |
3358 | double _arg2; | |
3359 | int _arg3 = (int ) 0; | |
3360 | int _arg4 = (int ) 0; | |
3361 | PyObject * _argo0 = 0; | |
3362 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3363 | ||
3364 | self = self; | |
3365 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3366 | return NULL; | |
3367 | if (_argo0) { | |
3368 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3369 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3370 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p."); | |
3371 | return NULL; | |
3372 | } | |
3373 | } | |
3374 | { | |
4268f798 | 3375 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3376 | wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
2348eaee | 3377 | |
4268f798 RD |
3378 | wxPyEndAllowThreads(__tstate); |
3379 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3380 | } Py_INCREF(Py_None); |
3381 | _resultobj = Py_None; | |
3382 | return _resultobj; | |
3383 | } | |
3384 | ||
3385 | #define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3386 | static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3387 | PyObject * _resultobj; | |
3388 | wxPyControlPoint * _arg0; | |
3389 | double _arg1; | |
3390 | double _arg2; | |
3391 | int _arg3 = (int ) 0; | |
3392 | int _arg4 = (int ) 0; | |
3393 | PyObject * _argo0 = 0; | |
3394 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3395 | ||
3396 | self = self; | |
3397 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3398 | return NULL; | |
3399 | if (_argo0) { | |
3400 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3401 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3402 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p."); | |
3403 | return NULL; | |
3404 | } | |
3405 | } | |
3406 | { | |
4268f798 | 3407 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3408 | wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
2348eaee | 3409 | |
4268f798 RD |
3410 | wxPyEndAllowThreads(__tstate); |
3411 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3412 | } Py_INCREF(Py_None); |
3413 | _resultobj = Py_None; | |
3414 | return _resultobj; | |
3415 | } | |
3416 | ||
3417 | #define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
3418 | static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3419 | PyObject * _resultobj; | |
3420 | wxPyControlPoint * _arg0; | |
3421 | double _arg1; | |
3422 | double _arg2; | |
3423 | PyObject * _argo0 = 0; | |
3424 | char *_kwnames[] = { "self","x","y", NULL }; | |
3425 | ||
3426 | self = self; | |
3427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
3428 | return NULL; | |
3429 | if (_argo0) { | |
3430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p."); | |
3433 | return NULL; | |
3434 | } | |
3435 | } | |
3436 | { | |
4268f798 | 3437 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3438 | wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2); |
2348eaee | 3439 | |
4268f798 RD |
3440 | wxPyEndAllowThreads(__tstate); |
3441 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3442 | } Py_INCREF(Py_None); |
3443 | _resultobj = Py_None; | |
3444 | return _resultobj; | |
3445 | } | |
3446 | ||
3447 | #define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3448 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3449 | PyObject * _resultobj; | |
3450 | bool _result; | |
3451 | wxPyControlPoint * _arg0; | |
3452 | wxDC * _arg1; | |
3453 | double _arg2; | |
3454 | double _arg3; | |
3455 | double _arg4; | |
3456 | double _arg5; | |
3457 | bool _arg6 = (bool ) TRUE; | |
3458 | PyObject * _argo0 = 0; | |
3459 | PyObject * _argo1 = 0; | |
3460 | int tempbool6 = (int) TRUE; | |
3461 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3462 | ||
3463 | self = self; | |
3464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3465 | return NULL; | |
3466 | if (_argo0) { | |
3467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p."); | |
3470 | return NULL; | |
3471 | } | |
3472 | } | |
3473 | if (_argo1) { | |
3474 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3475 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p."); | |
3477 | return NULL; | |
3478 | } | |
3479 | } | |
3480 | _arg6 = (bool ) tempbool6; | |
3481 | { | |
4268f798 | 3482 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3483 | _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
2348eaee | 3484 | |
4268f798 RD |
3485 | wxPyEndAllowThreads(__tstate); |
3486 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3487 | } _resultobj = Py_BuildValue("i",_result); |
3488 | return _resultobj; | |
3489 | } | |
3490 | ||
3491 | #define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3492 | static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3493 | PyObject * _resultobj; | |
3494 | wxPyControlPoint * _arg0; | |
3495 | wxDC * _arg1; | |
3496 | double _arg2; | |
3497 | double _arg3; | |
3498 | double _arg4; | |
3499 | double _arg5; | |
3500 | bool _arg6 = (bool ) TRUE; | |
3501 | PyObject * _argo0 = 0; | |
3502 | PyObject * _argo1 = 0; | |
3503 | int tempbool6 = (int) TRUE; | |
3504 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
3505 | ||
3506 | self = self; | |
3507 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
3508 | return NULL; | |
3509 | if (_argo0) { | |
3510 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3511 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p."); | |
3513 | return NULL; | |
3514 | } | |
3515 | } | |
3516 | if (_argo1) { | |
3517 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3518 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3519 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p."); | |
3520 | return NULL; | |
3521 | } | |
3522 | } | |
3523 | _arg6 = (bool ) tempbool6; | |
3524 | { | |
4268f798 | 3525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3526 | wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
2348eaee | 3527 | |
4268f798 RD |
3528 | wxPyEndAllowThreads(__tstate); |
3529 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3530 | } Py_INCREF(Py_None); |
3531 | _resultobj = Py_None; | |
3532 | return _resultobj; | |
3533 | } | |
3534 | ||
3535 | #define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3536 | static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3537 | PyObject * _resultobj; | |
3538 | wxPyControlPoint * _arg0; | |
3539 | bool _arg1; | |
3540 | double _arg2; | |
3541 | double _arg3; | |
3542 | int _arg4 = (int ) 0; | |
3543 | int _arg5 = (int ) 0; | |
3544 | PyObject * _argo0 = 0; | |
3545 | int tempbool1; | |
3546 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3547 | ||
3548 | self = self; | |
3549 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3550 | return NULL; | |
3551 | if (_argo0) { | |
3552 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3553 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3554 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p."); | |
3555 | return NULL; | |
3556 | } | |
3557 | } | |
3558 | _arg1 = (bool ) tempbool1; | |
3559 | { | |
4268f798 | 3560 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3561 | wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
2348eaee | 3562 | |
4268f798 RD |
3563 | wxPyEndAllowThreads(__tstate); |
3564 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3565 | } Py_INCREF(Py_None); |
3566 | _resultobj = Py_None; | |
3567 | return _resultobj; | |
3568 | } | |
3569 | ||
3570 | #define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3571 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3572 | PyObject * _resultobj; | |
3573 | wxPyControlPoint * _arg0; | |
3574 | double _arg1; | |
3575 | double _arg2; | |
3576 | int _arg3 = (int ) 0; | |
3577 | int _arg4 = (int ) 0; | |
3578 | PyObject * _argo0 = 0; | |
3579 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3580 | ||
3581 | self = self; | |
3582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3583 | return NULL; | |
3584 | if (_argo0) { | |
3585 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3586 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3588 | return NULL; | |
3589 | } | |
3590 | } | |
3591 | { | |
4268f798 | 3592 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3593 | wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
2348eaee | 3594 | |
4268f798 RD |
3595 | wxPyEndAllowThreads(__tstate); |
3596 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3597 | } Py_INCREF(Py_None); |
3598 | _resultobj = Py_None; | |
3599 | return _resultobj; | |
3600 | } | |
3601 | ||
3602 | #define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3603 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3604 | PyObject * _resultobj; | |
3605 | wxPyControlPoint * _arg0; | |
3606 | double _arg1; | |
3607 | double _arg2; | |
3608 | int _arg3 = (int ) 0; | |
3609 | int _arg4 = (int ) 0; | |
3610 | PyObject * _argo0 = 0; | |
3611 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3612 | ||
3613 | self = self; | |
3614 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragLeft. Expected _wxPyControlPoint_p."); | |
3620 | return NULL; | |
3621 | } | |
3622 | } | |
3623 | { | |
4268f798 | 3624 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3625 | wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
2348eaee | 3626 | |
4268f798 RD |
3627 | wxPyEndAllowThreads(__tstate); |
3628 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3629 | } Py_INCREF(Py_None); |
3630 | _resultobj = Py_None; | |
3631 | return _resultobj; | |
3632 | } | |
3633 | ||
3634 | #define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3635 | static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3636 | PyObject * _resultobj; | |
3637 | wxPyControlPoint * _arg0; | |
3638 | bool _arg1; | |
3639 | double _arg2; | |
3640 | double _arg3; | |
3641 | int _arg4 = (int ) 0; | |
3642 | int _arg5 = (int ) 0; | |
3643 | PyObject * _argo0 = 0; | |
3644 | int tempbool1; | |
3645 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
3646 | ||
3647 | self = self; | |
3648 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3649 | return NULL; | |
3650 | if (_argo0) { | |
3651 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3652 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3653 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p."); | |
3654 | return NULL; | |
3655 | } | |
3656 | } | |
3657 | _arg1 = (bool ) tempbool1; | |
3658 | { | |
4268f798 | 3659 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3660 | wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
2348eaee | 3661 | |
4268f798 RD |
3662 | wxPyEndAllowThreads(__tstate); |
3663 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3664 | } Py_INCREF(Py_None); |
3665 | _resultobj = Py_None; | |
3666 | return _resultobj; | |
3667 | } | |
3668 | ||
3669 | #define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3670 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3671 | PyObject * _resultobj; | |
3672 | wxPyControlPoint * _arg0; | |
3673 | double _arg1; | |
3674 | double _arg2; | |
3675 | int _arg3 = (int ) 0; | |
3676 | int _arg4 = (int ) 0; | |
3677 | PyObject * _argo0 = 0; | |
3678 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3679 | ||
3680 | self = self; | |
3681 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3682 | return NULL; | |
3683 | if (_argo0) { | |
3684 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3685 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3686 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p."); | |
3687 | return NULL; | |
3688 | } | |
3689 | } | |
3690 | { | |
4268f798 | 3691 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3692 | wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
2348eaee | 3693 | |
4268f798 RD |
3694 | wxPyEndAllowThreads(__tstate); |
3695 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3696 | } Py_INCREF(Py_None); |
3697 | _resultobj = Py_None; | |
3698 | return _resultobj; | |
3699 | } | |
3700 | ||
3701 | #define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
3702 | static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3703 | PyObject * _resultobj; | |
3704 | wxPyControlPoint * _arg0; | |
3705 | double _arg1; | |
3706 | double _arg2; | |
3707 | int _arg3 = (int ) 0; | |
3708 | int _arg4 = (int ) 0; | |
3709 | PyObject * _argo0 = 0; | |
3710 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
3711 | ||
3712 | self = self; | |
3713 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
3714 | return NULL; | |
3715 | if (_argo0) { | |
3716 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3717 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3718 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p."); | |
3719 | return NULL; | |
3720 | } | |
3721 | } | |
3722 | { | |
4268f798 | 3723 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3724 | wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
2348eaee | 3725 | |
4268f798 RD |
3726 | wxPyEndAllowThreads(__tstate); |
3727 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3728 | } Py_INCREF(Py_None); |
3729 | _resultobj = Py_None; | |
3730 | return _resultobj; | |
3731 | } | |
3732 | ||
3733 | #define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3734 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3735 | PyObject * _resultobj; | |
3736 | wxPyControlPoint * _arg0; | |
3737 | wxDC * _arg1; | |
3738 | double _arg2; | |
3739 | double _arg3; | |
3740 | double _arg4; | |
3741 | double _arg5; | |
3742 | PyObject * _argo0 = 0; | |
3743 | PyObject * _argo1 = 0; | |
3744 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
3745 | ||
3746 | self = self; | |
3747 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3748 | return NULL; | |
3749 | if (_argo0) { | |
3750 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3751 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3752 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p."); | |
3753 | return NULL; | |
3754 | } | |
3755 | } | |
3756 | if (_argo1) { | |
3757 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3758 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3759 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p."); | |
3760 | return NULL; | |
3761 | } | |
3762 | } | |
3763 | { | |
4268f798 | 3764 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3765 | wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
2348eaee | 3766 | |
4268f798 RD |
3767 | wxPyEndAllowThreads(__tstate); |
3768 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3769 | } Py_INCREF(Py_None); |
3770 | _resultobj = Py_None; | |
3771 | return _resultobj; | |
3772 | } | |
3773 | ||
3774 | #define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
3775 | static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3776 | PyObject * _resultobj; | |
3777 | wxPyControlPoint * _arg0; | |
3778 | wxDC * _arg1; | |
3779 | PyObject * _argo0 = 0; | |
3780 | PyObject * _argo1 = 0; | |
3781 | char *_kwnames[] = { "self","dc", NULL }; | |
3782 | ||
3783 | self = self; | |
3784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
3785 | return NULL; | |
3786 | if (_argo0) { | |
3787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p."); | |
3790 | return NULL; | |
3791 | } | |
3792 | } | |
3793 | if (_argo1) { | |
3794 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3795 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3796 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p."); | |
3797 | return NULL; | |
3798 | } | |
3799 | } | |
3800 | { | |
4268f798 | 3801 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3802 | wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1); |
2348eaee | 3803 | |
4268f798 RD |
3804 | wxPyEndAllowThreads(__tstate); |
3805 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3806 | } Py_INCREF(Py_None); |
3807 | _resultobj = Py_None; | |
3808 | return _resultobj; | |
3809 | } | |
3810 | ||
3811 | #define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
3812 | static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3813 | PyObject * _resultobj; | |
3814 | wxPyControlPoint * _arg0; | |
3815 | wxDC * _arg1; | |
3816 | PyObject * _argo0 = 0; | |
3817 | PyObject * _argo1 = 0; | |
3818 | char *_kwnames[] = { "self","dc", NULL }; | |
3819 | ||
3820 | self = self; | |
3821 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
3822 | return NULL; | |
3823 | if (_argo0) { | |
3824 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3825 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3826 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p."); | |
3827 | return NULL; | |
3828 | } | |
3829 | } | |
3830 | if (_argo1) { | |
3831 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3832 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3833 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p."); | |
3834 | return NULL; | |
3835 | } | |
3836 | } | |
3837 | { | |
4268f798 | 3838 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3839 | wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1); |
2348eaee | 3840 | |
4268f798 RD |
3841 | wxPyEndAllowThreads(__tstate); |
3842 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3843 | } Py_INCREF(Py_None); |
3844 | _resultobj = Py_None; | |
3845 | return _resultobj; | |
3846 | } | |
3847 | ||
3848 | #define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
3849 | static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3850 | PyObject * _resultobj; | |
3851 | wxPyControlPoint * _arg0; | |
3852 | wxDC * _arg1; | |
3853 | bool _arg2 = (bool ) TRUE; | |
3854 | PyObject * _argo0 = 0; | |
3855 | PyObject * _argo1 = 0; | |
3856 | int tempbool2 = (int) TRUE; | |
3857 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
3858 | ||
3859 | self = self; | |
3860 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
3861 | return NULL; | |
3862 | if (_argo0) { | |
3863 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3864 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3865 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p."); | |
3866 | return NULL; | |
3867 | } | |
3868 | } | |
3869 | if (_argo1) { | |
3870 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3871 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
3872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p."); | |
3873 | return NULL; | |
3874 | } | |
3875 | } | |
3876 | _arg2 = (bool ) tempbool2; | |
3877 | { | |
4268f798 | 3878 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3879 | wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2); |
2348eaee | 3880 | |
4268f798 RD |
3881 | wxPyEndAllowThreads(__tstate); |
3882 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3883 | } Py_INCREF(Py_None); |
3884 | _resultobj = Py_None; | |
3885 | return _resultobj; | |
3886 | } | |
3887 | ||
3888 | #define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
3889 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3890 | PyObject * _resultobj; | |
3891 | wxPyControlPoint * _arg0; | |
3892 | wxPyControlPoint * _arg1; | |
3893 | bool _arg2; | |
3894 | double _arg3; | |
3895 | double _arg4; | |
3896 | int _arg5 = (int ) 0; | |
3897 | int _arg6 = (int ) 0; | |
3898 | PyObject * _argo0 = 0; | |
3899 | PyObject * _argo1 = 0; | |
3900 | int tempbool2; | |
3901 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
3902 | ||
3903 | self = self; | |
3904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
3905 | return NULL; | |
3906 | if (_argo0) { | |
3907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3910 | return NULL; | |
3911 | } | |
3912 | } | |
3913 | if (_argo1) { | |
3914 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3915 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
3917 | return NULL; | |
3918 | } | |
3919 | } | |
3920 | _arg2 = (bool ) tempbool2; | |
3921 | { | |
4268f798 | 3922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3923 | wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
2348eaee | 3924 | |
4268f798 RD |
3925 | wxPyEndAllowThreads(__tstate); |
3926 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3927 | } Py_INCREF(Py_None); |
3928 | _resultobj = Py_None; | |
3929 | return _resultobj; | |
3930 | } | |
3931 | ||
3932 | #define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3933 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3934 | PyObject * _resultobj; | |
3935 | wxPyControlPoint * _arg0; | |
3936 | wxPyControlPoint * _arg1; | |
3937 | double _arg2; | |
3938 | double _arg3; | |
3939 | int _arg4 = (int ) 0; | |
3940 | int _arg5 = (int ) 0; | |
3941 | PyObject * _argo0 = 0; | |
3942 | PyObject * _argo1 = 0; | |
3943 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3944 | ||
3945 | self = self; | |
3946 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3947 | return NULL; | |
3948 | if (_argo0) { | |
3949 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3950 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3951 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3952 | return NULL; | |
3953 | } | |
3954 | } | |
3955 | if (_argo1) { | |
3956 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3957 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3958 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
3959 | return NULL; | |
3960 | } | |
3961 | } | |
3962 | { | |
4268f798 | 3963 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 3964 | wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
2348eaee | 3965 | |
4268f798 RD |
3966 | wxPyEndAllowThreads(__tstate); |
3967 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
3968 | } Py_INCREF(Py_None); |
3969 | _resultobj = Py_None; | |
3970 | return _resultobj; | |
3971 | } | |
3972 | ||
3973 | #define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
3974 | static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
3975 | PyObject * _resultobj; | |
3976 | wxPyControlPoint * _arg0; | |
3977 | wxPyControlPoint * _arg1; | |
3978 | double _arg2; | |
3979 | double _arg3; | |
3980 | int _arg4 = (int ) 0; | |
3981 | int _arg5 = (int ) 0; | |
3982 | PyObject * _argo0 = 0; | |
3983 | PyObject * _argo1 = 0; | |
3984 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
3985 | ||
3986 | self = self; | |
3987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
3988 | return NULL; | |
3989 | if (_argo0) { | |
3990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
3991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
3992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
3993 | return NULL; | |
3994 | } | |
3995 | } | |
3996 | if (_argo1) { | |
3997 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
3998 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { | |
3999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
4000 | return NULL; | |
4001 | } | |
4002 | } | |
4003 | { | |
4268f798 | 4004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4005 | wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
2348eaee | 4006 | |
4268f798 RD |
4007 | wxPyEndAllowThreads(__tstate); |
4008 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4009 | } Py_INCREF(Py_None); |
4010 | _resultobj = Py_None; | |
4011 | return _resultobj; | |
4012 | } | |
4013 | ||
4014 | #define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
4015 | static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4016 | PyObject * _resultobj; | |
4017 | wxPyControlPoint * _arg0; | |
4018 | double _arg1; | |
4019 | double _arg2; | |
4020 | PyObject * _argo0 = 0; | |
4021 | char *_kwnames[] = { "self","w","h", NULL }; | |
4022 | ||
4023 | self = self; | |
4024 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4025 | return NULL; | |
4026 | if (_argo0) { | |
4027 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4028 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
4029 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p."); | |
4030 | return NULL; | |
4031 | } | |
4032 | } | |
4033 | { | |
4268f798 | 4034 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4035 | wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2); |
2348eaee | 4036 | |
4268f798 RD |
4037 | wxPyEndAllowThreads(__tstate); |
4038 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4039 | } Py_INCREF(Py_None); |
4040 | _resultobj = Py_None; | |
4041 | return _resultobj; | |
4042 | } | |
4043 | ||
4044 | #define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
4045 | static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4046 | PyObject * _resultobj; | |
4047 | wxPyControlPoint * _arg0; | |
4048 | double _arg1; | |
4049 | double _arg2; | |
4050 | PyObject * _argo0 = 0; | |
4051 | char *_kwnames[] = { "self","w","h", NULL }; | |
4052 | ||
4053 | self = self; | |
4054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4055 | return NULL; | |
4056 | if (_argo0) { | |
4057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) { | |
4059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p."); | |
4060 | return NULL; | |
4061 | } | |
4062 | } | |
4063 | { | |
4268f798 | 4064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4065 | wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2); |
2348eaee | 4066 | |
4268f798 RD |
4067 | wxPyEndAllowThreads(__tstate); |
4068 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4069 | } Py_INCREF(Py_None); |
4070 | _resultobj = Py_None; | |
4071 | return _resultobj; | |
4072 | } | |
4073 | ||
4074 | static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) { | |
4075 | wxPyBitmapShape *src; | |
4076 | wxPyRectangleShape *dest; | |
4077 | src = (wxPyBitmapShape *) ptr; | |
4078 | dest = (wxPyRectangleShape *) src; | |
4079 | return (void *) dest; | |
4080 | } | |
4081 | ||
4082 | static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) { | |
4083 | wxPyBitmapShape *src; | |
4084 | wxPyShape *dest; | |
4085 | src = (wxPyBitmapShape *) ptr; | |
4086 | dest = (wxPyShape *) src; | |
4087 | return (void *) dest; | |
4088 | } | |
4089 | ||
4090 | static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) { | |
4091 | wxPyBitmapShape *src; | |
4092 | wxPyShapeEvtHandler *dest; | |
4093 | src = (wxPyBitmapShape *) ptr; | |
4094 | dest = (wxPyShapeEvtHandler *) src; | |
4095 | return (void *) dest; | |
4096 | } | |
4097 | ||
9416aa89 RD |
4098 | static void *SwigwxPyBitmapShapeTowxObject(void *ptr) { |
4099 | wxPyBitmapShape *src; | |
4100 | wxObject *dest; | |
4101 | src = (wxPyBitmapShape *) ptr; | |
4102 | dest = (wxObject *) src; | |
4103 | return (void *) dest; | |
4104 | } | |
4105 | ||
2348eaee RD |
4106 | #define new_wxPyBitmapShape() (new wxPyBitmapShape()) |
4107 | static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4108 | PyObject * _resultobj; | |
4109 | wxPyBitmapShape * _result; | |
4110 | char *_kwnames[] = { NULL }; | |
4111 | char _ptemp[128]; | |
4112 | ||
4113 | self = self; | |
4114 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames)) | |
4115 | return NULL; | |
4116 | { | |
4268f798 | 4117 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4118 | _result = (wxPyBitmapShape *)new_wxPyBitmapShape(); |
2348eaee | 4119 | |
4268f798 RD |
4120 | wxPyEndAllowThreads(__tstate); |
4121 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4122 | } if (_result) { |
4123 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p"); | |
4124 | _resultobj = Py_BuildValue("s",_ptemp); | |
4125 | } else { | |
4126 | Py_INCREF(Py_None); | |
4127 | _resultobj = Py_None; | |
4128 | } | |
4129 | return _resultobj; | |
4130 | } | |
4131 | ||
0122b7e3 RD |
4132 | #define wxPyBitmapShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
4133 | static PyObject *_wrap_wxPyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
2348eaee RD |
4134 | PyObject * _resultobj; |
4135 | wxPyBitmapShape * _arg0; | |
4136 | PyObject * _arg1; | |
f6bcfd97 | 4137 | PyObject * _arg2; |
2348eaee RD |
4138 | PyObject * _argo0 = 0; |
4139 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
4140 | PyObject * _obj2 = 0; |
4141 | char *_kwnames[] = { "self","self","_class", NULL }; | |
2348eaee RD |
4142 | |
4143 | self = self; | |
0122b7e3 | 4144 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
2348eaee RD |
4145 | return NULL; |
4146 | if (_argo0) { | |
4147 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4148 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
0122b7e3 | 4149 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setCallbackInfo. Expected _wxPyBitmapShape_p."); |
2348eaee RD |
4150 | return NULL; |
4151 | } | |
4152 | } | |
4153 | { | |
4154 | _arg1 = _obj1; | |
4155 | } | |
f6bcfd97 BP |
4156 | { |
4157 | _arg2 = _obj2; | |
4158 | } | |
2348eaee | 4159 | { |
4268f798 | 4160 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4161 | wxPyBitmapShape__setCallbackInfo(_arg0,_arg1,_arg2); |
2348eaee | 4162 | |
4268f798 RD |
4163 | wxPyEndAllowThreads(__tstate); |
4164 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4165 | } Py_INCREF(Py_None); |
4166 | _resultobj = Py_None; | |
4167 | return _resultobj; | |
4168 | } | |
4169 | ||
4170 | #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap()) | |
4171 | static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4172 | PyObject * _resultobj; | |
4173 | wxBitmap * _result; | |
4174 | wxPyBitmapShape * _arg0; | |
4175 | PyObject * _argo0 = 0; | |
4176 | char *_kwnames[] = { "self", NULL }; | |
4177 | char _ptemp[128]; | |
4178 | ||
4179 | self = self; | |
4180 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0)) | |
4181 | return NULL; | |
4182 | if (_argo0) { | |
4183 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4184 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4185 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p."); | |
4186 | return NULL; | |
4187 | } | |
4188 | } | |
4189 | { | |
4268f798 | 4190 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4191 | wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0); |
2348eaee RD |
4192 | _result = (wxBitmap *) &_result_ref; |
4193 | ||
4268f798 RD |
4194 | wxPyEndAllowThreads(__tstate); |
4195 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4196 | } if (_result) { |
4197 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p"); | |
4198 | _resultobj = Py_BuildValue("s",_ptemp); | |
4199 | } else { | |
4200 | Py_INCREF(Py_None); | |
4201 | _resultobj = Py_None; | |
4202 | } | |
4203 | return _resultobj; | |
4204 | } | |
4205 | ||
4206 | #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename()) | |
4207 | static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4208 | PyObject * _resultobj; | |
4209 | wxString * _result; | |
4210 | wxPyBitmapShape * _arg0; | |
4211 | PyObject * _argo0 = 0; | |
4212 | char *_kwnames[] = { "self", NULL }; | |
4213 | ||
4214 | self = self; | |
4215 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0)) | |
4216 | return NULL; | |
4217 | if (_argo0) { | |
4218 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4219 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4220 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p."); | |
4221 | return NULL; | |
4222 | } | |
4223 | } | |
4224 | { | |
4268f798 | 4225 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4226 | _result = new wxString (wxPyBitmapShape_GetFilename(_arg0)); |
2348eaee | 4227 | |
4268f798 RD |
4228 | wxPyEndAllowThreads(__tstate); |
4229 | if (PyErr_Occurred()) return NULL; | |
2348eaee | 4230 | }{ |
c8bc7bb8 RD |
4231 | #if wxUSE_UNICODE |
4232 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
4233 | #else | |
eec92d76 | 4234 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 4235 | #endif |
2348eaee RD |
4236 | } |
4237 | { | |
4238 | delete _result; | |
4239 | } | |
4240 | return _resultobj; | |
4241 | } | |
4242 | ||
4243 | #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0)) | |
4244 | static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4245 | PyObject * _resultobj; | |
4246 | wxPyBitmapShape * _arg0; | |
4247 | wxBitmap * _arg1; | |
4248 | PyObject * _argo0 = 0; | |
4249 | PyObject * _argo1 = 0; | |
4250 | char *_kwnames[] = { "self","bitmap", NULL }; | |
4251 | ||
4252 | self = self; | |
4253 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1)) | |
4254 | return NULL; | |
4255 | if (_argo0) { | |
4256 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4257 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4258 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p."); | |
4259 | return NULL; | |
4260 | } | |
4261 | } | |
4262 | if (_argo1) { | |
4263 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4264 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) { | |
4265 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p."); | |
4266 | return NULL; | |
4267 | } | |
4268 | } | |
4269 | { | |
4268f798 | 4270 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4271 | wxPyBitmapShape_SetBitmap(_arg0,*_arg1); |
2348eaee | 4272 | |
4268f798 RD |
4273 | wxPyEndAllowThreads(__tstate); |
4274 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4275 | } Py_INCREF(Py_None); |
4276 | _resultobj = Py_None; | |
4277 | return _resultobj; | |
4278 | } | |
4279 | ||
4280 | #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0)) | |
4281 | static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4282 | PyObject * _resultobj; | |
4283 | wxPyBitmapShape * _arg0; | |
4284 | wxString * _arg1; | |
4285 | PyObject * _argo0 = 0; | |
4286 | PyObject * _obj1 = 0; | |
4287 | char *_kwnames[] = { "self","filename", NULL }; | |
4288 | ||
4289 | self = self; | |
4290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1)) | |
4291 | return NULL; | |
4292 | if (_argo0) { | |
4293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p."); | |
4296 | return NULL; | |
4297 | } | |
4298 | } | |
4299 | { | |
c8bc7bb8 RD |
4300 | _arg1 = wxString_in_helper(_obj1); |
4301 | if (_arg1 == NULL) | |
2348eaee | 4302 | return NULL; |
2348eaee RD |
4303 | } |
4304 | { | |
4268f798 | 4305 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4306 | wxPyBitmapShape_SetFilename(_arg0,*_arg1); |
2348eaee | 4307 | |
4268f798 RD |
4308 | wxPyEndAllowThreads(__tstate); |
4309 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4310 | } Py_INCREF(Py_None); |
4311 | _resultobj = Py_None; | |
4312 | { | |
4313 | if (_obj1) | |
4314 | delete _arg1; | |
4315 | } | |
4316 | return _resultobj; | |
4317 | } | |
4318 | ||
4319 | #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
4320 | static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4321 | PyObject * _resultobj; | |
4322 | wxPyBitmapShape * _arg0; | |
4323 | PyObject * _argo0 = 0; | |
4324 | char *_kwnames[] = { "self", NULL }; | |
4325 | ||
4326 | self = self; | |
4327 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0)) | |
4328 | return NULL; | |
4329 | if (_argo0) { | |
4330 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4331 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4332 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p."); | |
4333 | return NULL; | |
4334 | } | |
4335 | } | |
4336 | { | |
4268f798 | 4337 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4338 | wxPyBitmapShape_base_OnDelete(_arg0); |
2348eaee | 4339 | |
4268f798 RD |
4340 | wxPyEndAllowThreads(__tstate); |
4341 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4342 | } Py_INCREF(Py_None); |
4343 | _resultobj = Py_None; | |
4344 | return _resultobj; | |
4345 | } | |
4346 | ||
4347 | #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
4348 | static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4349 | PyObject * _resultobj; | |
4350 | wxPyBitmapShape * _arg0; | |
4351 | wxDC * _arg1; | |
4352 | PyObject * _argo0 = 0; | |
4353 | PyObject * _argo1 = 0; | |
4354 | char *_kwnames[] = { "self","dc", NULL }; | |
4355 | ||
4356 | self = self; | |
4357 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
4358 | return NULL; | |
4359 | if (_argo0) { | |
4360 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4361 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4362 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p."); | |
4363 | return NULL; | |
4364 | } | |
4365 | } | |
4366 | if (_argo1) { | |
4367 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4368 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4369 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p."); | |
4370 | return NULL; | |
4371 | } | |
4372 | } | |
4373 | { | |
4268f798 | 4374 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4375 | wxPyBitmapShape_base_OnDraw(_arg0,*_arg1); |
2348eaee | 4376 | |
4268f798 RD |
4377 | wxPyEndAllowThreads(__tstate); |
4378 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4379 | } Py_INCREF(Py_None); |
4380 | _resultobj = Py_None; | |
4381 | return _resultobj; | |
4382 | } | |
4383 | ||
4384 | #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
4385 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4386 | PyObject * _resultobj; | |
4387 | wxPyBitmapShape * _arg0; | |
4388 | wxDC * _arg1; | |
4389 | PyObject * _argo0 = 0; | |
4390 | PyObject * _argo1 = 0; | |
4391 | char *_kwnames[] = { "self","dc", NULL }; | |
4392 | ||
4393 | self = self; | |
4394 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
4395 | return NULL; | |
4396 | if (_argo0) { | |
4397 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4398 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4399 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p."); | |
4400 | return NULL; | |
4401 | } | |
4402 | } | |
4403 | if (_argo1) { | |
4404 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4405 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4406 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p."); | |
4407 | return NULL; | |
4408 | } | |
4409 | } | |
4410 | { | |
4268f798 | 4411 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4412 | wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1); |
2348eaee | 4413 | |
4268f798 RD |
4414 | wxPyEndAllowThreads(__tstate); |
4415 | if (PyErr_Occurred()) return NULL; | |
2348eaee RD |
4416 | } Py_INCREF(Py_None); |
4417 | _resultobj = Py_None; | |
4418 | return _resultobj; | |
4419 | } | |
4420 | ||
4421 | #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
4422 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4423 | PyObject * _resultobj; | |
4424 | wxPyBitmapShape * _arg0; | |
4425 | wxDC * _arg1; | |
4426 | bool _arg2 = (bool ) FALSE; | |
4427 | PyObject * _argo0 = 0; | |
4428 | PyObject * _argo1 = 0; | |
4429 | int tempbool2 = (int) FALSE; | |
4430 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
e91a9dfc RD |
4431 | |
4432 | self = self; | |
4433 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
4434 | return NULL; | |
4435 | if (_argo0) { | |
4436 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4437 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p."); | |
4439 | return NULL; | |
4440 | } | |
4441 | } | |
4442 | if (_argo1) { | |
4443 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4444 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4445 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p."); | |
4446 | return NULL; | |
4447 | } | |
4448 | } | |
4449 | _arg2 = (bool ) tempbool2; | |
4450 | { | |
4268f798 | 4451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4452 | wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc | 4453 | |
4268f798 RD |
4454 | wxPyEndAllowThreads(__tstate); |
4455 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4456 | } Py_INCREF(Py_None); |
4457 | _resultobj = Py_None; | |
4458 | return _resultobj; | |
4459 | } | |
4460 | ||
4461 | #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
4462 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4463 | PyObject * _resultobj; | |
4464 | wxPyBitmapShape * _arg0; | |
4465 | wxDC * _arg1; | |
4466 | PyObject * _argo0 = 0; | |
4467 | PyObject * _argo1 = 0; | |
4468 | char *_kwnames[] = { "self","dc", NULL }; | |
4469 | ||
4470 | self = self; | |
4471 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
4472 | return NULL; | |
4473 | if (_argo0) { | |
4474 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4475 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4476 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p."); | |
4477 | return NULL; | |
4478 | } | |
4479 | } | |
4480 | if (_argo1) { | |
4481 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4482 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4483 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p."); | |
4484 | return NULL; | |
4485 | } | |
4486 | } | |
4487 | { | |
4268f798 | 4488 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4489 | wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc | 4490 | |
4268f798 RD |
4491 | wxPyEndAllowThreads(__tstate); |
4492 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4493 | } Py_INCREF(Py_None); |
4494 | _resultobj = Py_None; | |
4495 | return _resultobj; | |
4496 | } | |
4497 | ||
4498 | #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
4499 | static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4500 | PyObject * _resultobj; | |
4501 | wxPyBitmapShape * _arg0; | |
4502 | wxDC * _arg1; | |
4503 | PyObject * _argo0 = 0; | |
4504 | PyObject * _argo1 = 0; | |
4505 | char *_kwnames[] = { "self","dc", NULL }; | |
4506 | ||
4507 | self = self; | |
4508 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
4509 | return NULL; | |
4510 | if (_argo0) { | |
4511 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4512 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4513 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p."); | |
4514 | return NULL; | |
4515 | } | |
4516 | } | |
4517 | if (_argo1) { | |
4518 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4519 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4520 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p."); | |
4521 | return NULL; | |
4522 | } | |
4523 | } | |
4524 | { | |
4268f798 | 4525 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4526 | wxPyBitmapShape_base_OnErase(_arg0,*_arg1); |
e91a9dfc | 4527 | |
4268f798 RD |
4528 | wxPyEndAllowThreads(__tstate); |
4529 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4530 | } Py_INCREF(Py_None); |
4531 | _resultobj = Py_None; | |
4532 | return _resultobj; | |
4533 | } | |
4534 | ||
4535 | #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
4536 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4537 | PyObject * _resultobj; | |
4538 | wxPyBitmapShape * _arg0; | |
4539 | wxDC * _arg1; | |
4540 | PyObject * _argo0 = 0; | |
4541 | PyObject * _argo1 = 0; | |
4542 | char *_kwnames[] = { "self","dc", NULL }; | |
4543 | ||
4544 | self = self; | |
4545 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
4546 | return NULL; | |
4547 | if (_argo0) { | |
4548 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4549 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4550 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p."); | |
4551 | return NULL; | |
4552 | } | |
4553 | } | |
4554 | if (_argo1) { | |
4555 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4556 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4557 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p."); | |
4558 | return NULL; | |
4559 | } | |
4560 | } | |
4561 | { | |
4268f798 | 4562 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4563 | wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1); |
e91a9dfc | 4564 | |
4268f798 RD |
4565 | wxPyEndAllowThreads(__tstate); |
4566 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4567 | } Py_INCREF(Py_None); |
4568 | _resultobj = Py_None; | |
4569 | return _resultobj; | |
4570 | } | |
4571 | ||
4572 | #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
4573 | static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4574 | PyObject * _resultobj; | |
4575 | wxPyBitmapShape * _arg0; | |
4576 | wxDC * _arg1; | |
4577 | PyObject * _argo0 = 0; | |
4578 | PyObject * _argo1 = 0; | |
4579 | char *_kwnames[] = { "self","dc", NULL }; | |
4580 | ||
4581 | self = self; | |
4582 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
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_OnHighlight. 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_OnHighlight. Expected _wxDC_p."); | |
4595 | return NULL; | |
4596 | } | |
4597 | } | |
4598 | { | |
4268f798 | 4599 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4600 | wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1); |
e91a9dfc | 4601 | |
4268f798 RD |
4602 | wxPyEndAllowThreads(__tstate); |
4603 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4604 | } Py_INCREF(Py_None); |
4605 | _resultobj = Py_None; | |
4606 | return _resultobj; | |
4607 | } | |
4608 | ||
4609 | #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4610 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4611 | PyObject * _resultobj; | |
4612 | wxPyBitmapShape * _arg0; | |
4613 | double _arg1; | |
4614 | double _arg2; | |
4615 | int _arg3 = (int ) 0; | |
4616 | int _arg4 = (int ) 0; | |
4617 | PyObject * _argo0 = 0; | |
4618 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4619 | ||
4620 | self = self; | |
4621 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4622 | return NULL; | |
4623 | if (_argo0) { | |
4624 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4625 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4626 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p."); | |
4627 | return NULL; | |
4628 | } | |
4629 | } | |
4630 | { | |
4268f798 | 4631 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4632 | wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 4633 | |
4268f798 RD |
4634 | wxPyEndAllowThreads(__tstate); |
4635 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4636 | } Py_INCREF(Py_None); |
4637 | _resultobj = Py_None; | |
4638 | return _resultobj; | |
4639 | } | |
4640 | ||
4641 | #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4642 | static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4643 | PyObject * _resultobj; | |
4644 | wxPyBitmapShape * _arg0; | |
4645 | double _arg1; | |
4646 | double _arg2; | |
4647 | int _arg3 = (int ) 0; | |
4648 | int _arg4 = (int ) 0; | |
4649 | PyObject * _argo0 = 0; | |
4650 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4651 | ||
4652 | self = self; | |
4653 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4654 | return NULL; | |
4655 | if (_argo0) { | |
4656 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4657 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4658 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p."); | |
4659 | return NULL; | |
4660 | } | |
4661 | } | |
4662 | { | |
4268f798 | 4663 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4664 | wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 4665 | |
4268f798 RD |
4666 | wxPyEndAllowThreads(__tstate); |
4667 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4668 | } Py_INCREF(Py_None); |
4669 | _resultobj = Py_None; | |
4670 | return _resultobj; | |
4671 | } | |
4672 | ||
4673 | #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4674 | static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4675 | PyObject * _resultobj; | |
4676 | wxPyBitmapShape * _arg0; | |
4677 | double _arg1; | |
4678 | double _arg2; | |
4679 | int _arg3 = (int ) 0; | |
4680 | int _arg4 = (int ) 0; | |
4681 | PyObject * _argo0 = 0; | |
4682 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4683 | ||
4684 | self = self; | |
4685 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4686 | return NULL; | |
4687 | if (_argo0) { | |
4688 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4689 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4690 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p."); | |
4691 | return NULL; | |
4692 | } | |
4693 | } | |
4694 | { | |
4268f798 | 4695 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4696 | wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 4697 | |
4268f798 RD |
4698 | wxPyEndAllowThreads(__tstate); |
4699 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4700 | } Py_INCREF(Py_None); |
4701 | _resultobj = Py_None; | |
4702 | return _resultobj; | |
4703 | } | |
4704 | ||
4705 | #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
4706 | static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4707 | PyObject * _resultobj; | |
4708 | wxPyBitmapShape * _arg0; | |
4709 | double _arg1; | |
4710 | double _arg2; | |
4711 | PyObject * _argo0 = 0; | |
4712 | char *_kwnames[] = { "self","x","y", NULL }; | |
4713 | ||
4714 | self = self; | |
4715 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
4716 | return NULL; | |
4717 | if (_argo0) { | |
4718 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4719 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4720 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p."); | |
4721 | return NULL; | |
4722 | } | |
4723 | } | |
4724 | { | |
4268f798 | 4725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4726 | wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2); |
e91a9dfc | 4727 | |
4268f798 RD |
4728 | wxPyEndAllowThreads(__tstate); |
4729 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4730 | } Py_INCREF(Py_None); |
4731 | _resultobj = Py_None; | |
4732 | return _resultobj; | |
4733 | } | |
4734 | ||
4735 | #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4736 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4737 | PyObject * _resultobj; | |
4738 | bool _result; | |
4739 | wxPyBitmapShape * _arg0; | |
4740 | wxDC * _arg1; | |
4741 | double _arg2; | |
4742 | double _arg3; | |
4743 | double _arg4; | |
4744 | double _arg5; | |
4745 | bool _arg6 = (bool ) TRUE; | |
4746 | PyObject * _argo0 = 0; | |
4747 | PyObject * _argo1 = 0; | |
4748 | int tempbool6 = (int) TRUE; | |
4749 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4750 | ||
4751 | self = self; | |
4752 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4753 | return NULL; | |
4754 | if (_argo0) { | |
4755 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4756 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4757 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p."); | |
4758 | return NULL; | |
4759 | } | |
4760 | } | |
4761 | if (_argo1) { | |
4762 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4763 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4764 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p."); | |
4765 | return NULL; | |
4766 | } | |
4767 | } | |
4768 | _arg6 = (bool ) tempbool6; | |
4769 | { | |
4268f798 | 4770 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4771 | _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 4772 | |
4268f798 RD |
4773 | wxPyEndAllowThreads(__tstate); |
4774 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4775 | } _resultobj = Py_BuildValue("i",_result); |
4776 | return _resultobj; | |
4777 | } | |
4778 | ||
4779 | #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
4780 | static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4781 | PyObject * _resultobj; | |
4782 | wxPyBitmapShape * _arg0; | |
4783 | wxDC * _arg1; | |
4784 | double _arg2; | |
4785 | double _arg3; | |
4786 | double _arg4; | |
4787 | double _arg5; | |
4788 | bool _arg6 = (bool ) TRUE; | |
4789 | PyObject * _argo0 = 0; | |
4790 | PyObject * _argo1 = 0; | |
4791 | int tempbool6 = (int) TRUE; | |
4792 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
4793 | ||
4794 | self = self; | |
4795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
4796 | return NULL; | |
4797 | if (_argo0) { | |
4798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p."); | |
4801 | return NULL; | |
4802 | } | |
4803 | } | |
4804 | if (_argo1) { | |
4805 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
4806 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
4807 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p."); | |
4808 | return NULL; | |
4809 | } | |
4810 | } | |
4811 | _arg6 = (bool ) tempbool6; | |
4812 | { | |
4268f798 | 4813 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4814 | wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 4815 | |
4268f798 RD |
4816 | wxPyEndAllowThreads(__tstate); |
4817 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4818 | } Py_INCREF(Py_None); |
4819 | _resultobj = Py_None; | |
4820 | return _resultobj; | |
4821 | } | |
4822 | ||
4823 | #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4824 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4825 | PyObject * _resultobj; | |
4826 | wxPyBitmapShape * _arg0; | |
4827 | bool _arg1; | |
4828 | double _arg2; | |
4829 | double _arg3; | |
4830 | int _arg4 = (int ) 0; | |
4831 | int _arg5 = (int ) 0; | |
4832 | PyObject * _argo0 = 0; | |
4833 | int tempbool1; | |
4834 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4835 | ||
4836 | self = self; | |
4837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4838 | return NULL; | |
4839 | if (_argo0) { | |
4840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p."); | |
4843 | return NULL; | |
4844 | } | |
4845 | } | |
4846 | _arg1 = (bool ) tempbool1; | |
4847 | { | |
4268f798 | 4848 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4849 | wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 4850 | |
4268f798 RD |
4851 | wxPyEndAllowThreads(__tstate); |
4852 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4853 | } Py_INCREF(Py_None); |
4854 | _resultobj = Py_None; | |
4855 | return _resultobj; | |
4856 | } | |
4857 | ||
4858 | #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4859 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4860 | PyObject * _resultobj; | |
4861 | wxPyBitmapShape * _arg0; | |
4862 | double _arg1; | |
4863 | double _arg2; | |
4864 | int _arg3 = (int ) 0; | |
4865 | int _arg4 = (int ) 0; | |
4866 | PyObject * _argo0 = 0; | |
4867 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4868 | ||
4869 | self = self; | |
4870 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4871 | return NULL; | |
4872 | if (_argo0) { | |
4873 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4874 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4875 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
4876 | return NULL; | |
4877 | } | |
4878 | } | |
4879 | { | |
4268f798 | 4880 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4881 | wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 4882 | |
4268f798 RD |
4883 | wxPyEndAllowThreads(__tstate); |
4884 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4885 | } Py_INCREF(Py_None); |
4886 | _resultobj = Py_None; | |
4887 | return _resultobj; | |
4888 | } | |
4889 | ||
4890 | #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4891 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4892 | PyObject * _resultobj; | |
4893 | wxPyBitmapShape * _arg0; | |
4894 | double _arg1; | |
4895 | double _arg2; | |
4896 | int _arg3 = (int ) 0; | |
4897 | int _arg4 = (int ) 0; | |
4898 | PyObject * _argo0 = 0; | |
4899 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4900 | ||
4901 | self = self; | |
4902 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4903 | return NULL; | |
4904 | if (_argo0) { | |
4905 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4906 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4907 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p."); | |
4908 | return NULL; | |
4909 | } | |
4910 | } | |
4911 | { | |
4268f798 | 4912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4913 | wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 4914 | |
4268f798 RD |
4915 | wxPyEndAllowThreads(__tstate); |
4916 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4917 | } Py_INCREF(Py_None); |
4918 | _resultobj = Py_None; | |
4919 | return _resultobj; | |
4920 | } | |
4921 | ||
4922 | #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
4923 | static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4924 | PyObject * _resultobj; | |
4925 | wxPyBitmapShape * _arg0; | |
4926 | bool _arg1; | |
4927 | double _arg2; | |
4928 | double _arg3; | |
4929 | int _arg4 = (int ) 0; | |
4930 | int _arg5 = (int ) 0; | |
4931 | PyObject * _argo0 = 0; | |
4932 | int tempbool1; | |
4933 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
4934 | ||
4935 | self = self; | |
4936 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
4937 | return NULL; | |
4938 | if (_argo0) { | |
4939 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4940 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4941 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p."); | |
4942 | return NULL; | |
4943 | } | |
4944 | } | |
4945 | _arg1 = (bool ) tempbool1; | |
4946 | { | |
4268f798 | 4947 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4948 | wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 4949 | |
4268f798 RD |
4950 | wxPyEndAllowThreads(__tstate); |
4951 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4952 | } Py_INCREF(Py_None); |
4953 | _resultobj = Py_None; | |
4954 | return _resultobj; | |
4955 | } | |
4956 | ||
4957 | #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4958 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4959 | PyObject * _resultobj; | |
4960 | wxPyBitmapShape * _arg0; | |
4961 | double _arg1; | |
4962 | double _arg2; | |
4963 | int _arg3 = (int ) 0; | |
4964 | int _arg4 = (int ) 0; | |
4965 | PyObject * _argo0 = 0; | |
4966 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4967 | ||
4968 | self = self; | |
4969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
4970 | return NULL; | |
4971 | if (_argo0) { | |
4972 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
4973 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
4974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p."); | |
4975 | return NULL; | |
4976 | } | |
4977 | } | |
4978 | { | |
4268f798 | 4979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 4980 | wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 4981 | |
4268f798 RD |
4982 | wxPyEndAllowThreads(__tstate); |
4983 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
4984 | } Py_INCREF(Py_None); |
4985 | _resultobj = Py_None; | |
4986 | return _resultobj; | |
4987 | } | |
4988 | ||
4989 | #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
4990 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
4991 | PyObject * _resultobj; | |
4992 | wxPyBitmapShape * _arg0; | |
4993 | double _arg1; | |
4994 | double _arg2; | |
4995 | int _arg3 = (int ) 0; | |
4996 | int _arg4 = (int ) 0; | |
4997 | PyObject * _argo0 = 0; | |
4998 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
4999 | ||
5000 | self = self; | |
5001 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
5002 | return NULL; | |
5003 | if (_argo0) { | |
5004 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5005 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5006 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p."); | |
5007 | return NULL; | |
5008 | } | |
5009 | } | |
5010 | { | |
4268f798 | 5011 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5012 | wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 5013 | |
4268f798 RD |
5014 | wxPyEndAllowThreads(__tstate); |
5015 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5016 | } Py_INCREF(Py_None); |
5017 | _resultobj = Py_None; | |
5018 | return _resultobj; | |
5019 | } | |
5020 | ||
5021 | #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5022 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5023 | PyObject * _resultobj; | |
5024 | wxPyBitmapShape * _arg0; | |
5025 | wxDC * _arg1; | |
5026 | double _arg2; | |
5027 | double _arg3; | |
5028 | double _arg4; | |
5029 | double _arg5; | |
5030 | PyObject * _argo0 = 0; | |
5031 | PyObject * _argo1 = 0; | |
5032 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
5033 | ||
5034 | self = self; | |
5035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5036 | return NULL; | |
5037 | if (_argo0) { | |
5038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p."); | |
5041 | return NULL; | |
5042 | } | |
5043 | } | |
5044 | if (_argo1) { | |
5045 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5046 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5047 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p."); | |
5048 | return NULL; | |
5049 | } | |
5050 | } | |
5051 | { | |
4268f798 | 5052 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5053 | wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 5054 | |
4268f798 RD |
5055 | wxPyEndAllowThreads(__tstate); |
5056 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5057 | } Py_INCREF(Py_None); |
5058 | _resultobj = Py_None; | |
5059 | return _resultobj; | |
5060 | } | |
5061 | ||
5062 | #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
5063 | static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5064 | PyObject * _resultobj; | |
5065 | wxPyBitmapShape * _arg0; | |
5066 | wxDC * _arg1; | |
5067 | PyObject * _argo0 = 0; | |
5068 | PyObject * _argo1 = 0; | |
5069 | char *_kwnames[] = { "self","dc", NULL }; | |
5070 | ||
5071 | self = self; | |
5072 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
5073 | return NULL; | |
5074 | if (_argo0) { | |
5075 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5076 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5077 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p."); | |
5078 | return NULL; | |
5079 | } | |
5080 | } | |
5081 | if (_argo1) { | |
5082 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5083 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5084 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
5085 | return NULL; | |
5086 | } | |
5087 | } | |
5088 | { | |
4268f798 | 5089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5090 | wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1); |
e91a9dfc | 5091 | |
4268f798 RD |
5092 | wxPyEndAllowThreads(__tstate); |
5093 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5094 | } Py_INCREF(Py_None); |
5095 | _resultobj = Py_None; | |
5096 | return _resultobj; | |
5097 | } | |
5098 | ||
5099 | #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
5100 | static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5101 | PyObject * _resultobj; | |
5102 | wxPyBitmapShape * _arg0; | |
5103 | wxDC * _arg1; | |
5104 | PyObject * _argo0 = 0; | |
5105 | PyObject * _argo1 = 0; | |
5106 | char *_kwnames[] = { "self","dc", NULL }; | |
5107 | ||
5108 | self = self; | |
5109 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
5110 | return NULL; | |
5111 | if (_argo0) { | |
5112 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5113 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5114 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p."); | |
5115 | return NULL; | |
5116 | } | |
5117 | } | |
5118 | if (_argo1) { | |
5119 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5120 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5121 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
5122 | return NULL; | |
5123 | } | |
5124 | } | |
5125 | { | |
4268f798 | 5126 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5127 | wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1); |
e91a9dfc | 5128 | |
4268f798 RD |
5129 | wxPyEndAllowThreads(__tstate); |
5130 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5131 | } Py_INCREF(Py_None); |
5132 | _resultobj = Py_None; | |
5133 | return _resultobj; | |
5134 | } | |
5135 | ||
5136 | #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
5137 | static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5138 | PyObject * _resultobj; | |
5139 | wxPyBitmapShape * _arg0; | |
5140 | wxDC * _arg1; | |
5141 | bool _arg2 = (bool ) TRUE; | |
5142 | PyObject * _argo0 = 0; | |
5143 | PyObject * _argo1 = 0; | |
5144 | int tempbool2 = (int) TRUE; | |
5145 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
5146 | ||
5147 | self = self; | |
5148 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
5149 | return NULL; | |
5150 | if (_argo0) { | |
5151 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5152 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5153 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p."); | |
5154 | return NULL; | |
5155 | } | |
5156 | } | |
5157 | if (_argo1) { | |
5158 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
5159 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
5160 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p."); | |
5161 | return NULL; | |
5162 | } | |
5163 | } | |
5164 | _arg2 = (bool ) tempbool2; | |
5165 | { | |
4268f798 | 5166 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5167 | wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2); |
e91a9dfc | 5168 | |
4268f798 RD |
5169 | wxPyEndAllowThreads(__tstate); |
5170 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5171 | } Py_INCREF(Py_None); |
5172 | _resultobj = Py_None; | |
5173 | return _resultobj; | |
5174 | } | |
5175 | ||
5176 | #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
5177 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5178 | PyObject * _resultobj; | |
5179 | wxPyBitmapShape * _arg0; | |
2348eaee | 5180 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5181 | bool _arg2; |
5182 | double _arg3; | |
5183 | double _arg4; | |
5184 | int _arg5 = (int ) 0; | |
5185 | int _arg6 = (int ) 0; | |
5186 | PyObject * _argo0 = 0; | |
5187 | PyObject * _argo1 = 0; | |
5188 | int tempbool2; | |
5189 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
5190 | ||
5191 | self = self; | |
5192 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
5193 | return NULL; | |
5194 | if (_argo0) { | |
5195 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5196 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5197 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p."); | |
5198 | return NULL; | |
5199 | } | |
5200 | } | |
5201 | if (_argo1) { | |
5202 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5203 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5204 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5205 | return NULL; |
5206 | } | |
5207 | } | |
5208 | _arg2 = (bool ) tempbool2; | |
5209 | { | |
4268f798 | 5210 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5211 | wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 5212 | |
4268f798 RD |
5213 | wxPyEndAllowThreads(__tstate); |
5214 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5215 | } Py_INCREF(Py_None); |
5216 | _resultobj = Py_None; | |
5217 | return _resultobj; | |
5218 | } | |
5219 | ||
5220 | #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5221 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5222 | PyObject * _resultobj; | |
5223 | wxPyBitmapShape * _arg0; | |
2348eaee | 5224 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5225 | double _arg2; |
5226 | double _arg3; | |
5227 | int _arg4 = (int ) 0; | |
5228 | int _arg5 = (int ) 0; | |
5229 | PyObject * _argo0 = 0; | |
5230 | PyObject * _argo1 = 0; | |
5231 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5232 | ||
5233 | self = self; | |
5234 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5235 | return NULL; | |
5236 | if (_argo0) { | |
5237 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5238 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5239 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p."); | |
5240 | return NULL; | |
5241 | } | |
5242 | } | |
5243 | if (_argo1) { | |
5244 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5245 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5247 | return NULL; |
5248 | } | |
5249 | } | |
5250 | { | |
4268f798 | 5251 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5252 | wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 5253 | |
4268f798 RD |
5254 | wxPyEndAllowThreads(__tstate); |
5255 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5256 | } Py_INCREF(Py_None); |
5257 | _resultobj = Py_None; | |
5258 | return _resultobj; | |
5259 | } | |
5260 | ||
5261 | #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
5262 | static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5263 | PyObject * _resultobj; | |
5264 | wxPyBitmapShape * _arg0; | |
2348eaee | 5265 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
5266 | double _arg2; |
5267 | double _arg3; | |
5268 | int _arg4 = (int ) 0; | |
5269 | int _arg5 = (int ) 0; | |
5270 | PyObject * _argo0 = 0; | |
5271 | PyObject * _argo1 = 0; | |
5272 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
5273 | ||
5274 | self = self; | |
5275 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
5276 | return NULL; | |
5277 | if (_argo0) { | |
5278 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5279 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5280 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p."); | |
5281 | return NULL; | |
5282 | } | |
5283 | } | |
5284 | if (_argo1) { | |
5285 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
5286 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
5287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
5288 | return NULL; |
5289 | } | |
5290 | } | |
5291 | { | |
4268f798 | 5292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5293 | wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 5294 | |
4268f798 RD |
5295 | wxPyEndAllowThreads(__tstate); |
5296 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5297 | } Py_INCREF(Py_None); |
5298 | _resultobj = Py_None; | |
5299 | return _resultobj; | |
5300 | } | |
5301 | ||
5302 | #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
5303 | static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5304 | PyObject * _resultobj; | |
5305 | wxPyBitmapShape * _arg0; | |
5306 | double _arg1; | |
5307 | double _arg2; | |
5308 | PyObject * _argo0 = 0; | |
5309 | char *_kwnames[] = { "self","w","h", NULL }; | |
5310 | ||
5311 | self = self; | |
5312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5313 | return NULL; | |
5314 | if (_argo0) { | |
5315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p."); | |
5318 | return NULL; | |
5319 | } | |
5320 | } | |
5321 | { | |
4268f798 | 5322 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5323 | wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2); |
e91a9dfc | 5324 | |
4268f798 RD |
5325 | wxPyEndAllowThreads(__tstate); |
5326 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5327 | } Py_INCREF(Py_None); |
5328 | _resultobj = Py_None; | |
5329 | return _resultobj; | |
5330 | } | |
5331 | ||
5332 | #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
5333 | static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5334 | PyObject * _resultobj; | |
5335 | wxPyBitmapShape * _arg0; | |
5336 | double _arg1; | |
5337 | double _arg2; | |
5338 | PyObject * _argo0 = 0; | |
5339 | char *_kwnames[] = { "self","w","h", NULL }; | |
5340 | ||
5341 | self = self; | |
5342 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
5343 | return NULL; | |
5344 | if (_argo0) { | |
5345 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5346 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) { | |
5347 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p."); | |
5348 | return NULL; | |
5349 | } | |
5350 | } | |
5351 | { | |
4268f798 | 5352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5353 | wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2); |
e91a9dfc | 5354 | |
4268f798 RD |
5355 | wxPyEndAllowThreads(__tstate); |
5356 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5357 | } Py_INCREF(Py_None); |
5358 | _resultobj = Py_None; | |
5359 | return _resultobj; | |
5360 | } | |
5361 | ||
5362 | static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) { | |
5363 | wxPyDrawnShape *src; | |
5364 | wxPyRectangleShape *dest; | |
5365 | src = (wxPyDrawnShape *) ptr; | |
5366 | dest = (wxPyRectangleShape *) src; | |
5367 | return (void *) dest; | |
5368 | } | |
5369 | ||
5370 | static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) { | |
5371 | wxPyDrawnShape *src; | |
5372 | wxPyShape *dest; | |
5373 | src = (wxPyDrawnShape *) ptr; | |
5374 | dest = (wxPyShape *) src; | |
5375 | return (void *) dest; | |
5376 | } | |
5377 | ||
5378 | static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) { | |
5379 | wxPyDrawnShape *src; | |
5380 | wxPyShapeEvtHandler *dest; | |
5381 | src = (wxPyDrawnShape *) ptr; | |
5382 | dest = (wxPyShapeEvtHandler *) src; | |
5383 | return (void *) dest; | |
5384 | } | |
5385 | ||
9416aa89 RD |
5386 | static void *SwigwxPyDrawnShapeTowxObject(void *ptr) { |
5387 | wxPyDrawnShape *src; | |
5388 | wxObject *dest; | |
5389 | src = (wxPyDrawnShape *) ptr; | |
5390 | dest = (wxObject *) src; | |
5391 | return (void *) dest; | |
5392 | } | |
5393 | ||
e91a9dfc RD |
5394 | #define new_wxPyDrawnShape() (new wxPyDrawnShape()) |
5395 | static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5396 | PyObject * _resultobj; | |
5397 | wxPyDrawnShape * _result; | |
5398 | char *_kwnames[] = { NULL }; | |
5399 | char _ptemp[128]; | |
5400 | ||
5401 | self = self; | |
5402 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames)) | |
5403 | return NULL; | |
5404 | { | |
4268f798 | 5405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5406 | _result = (wxPyDrawnShape *)new_wxPyDrawnShape(); |
e91a9dfc | 5407 | |
4268f798 RD |
5408 | wxPyEndAllowThreads(__tstate); |
5409 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5410 | } if (_result) { |
5411 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p"); | |
5412 | _resultobj = Py_BuildValue("s",_ptemp); | |
5413 | } else { | |
5414 | Py_INCREF(Py_None); | |
5415 | _resultobj = Py_None; | |
5416 | } | |
5417 | return _resultobj; | |
5418 | } | |
5419 | ||
0122b7e3 RD |
5420 | #define wxPyDrawnShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
5421 | static PyObject *_wrap_wxPyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
5422 | PyObject * _resultobj; |
5423 | wxPyDrawnShape * _arg0; | |
5424 | PyObject * _arg1; | |
f6bcfd97 | 5425 | PyObject * _arg2; |
e91a9dfc RD |
5426 | PyObject * _argo0 = 0; |
5427 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
5428 | PyObject * _obj2 = 0; |
5429 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
5430 | |
5431 | self = self; | |
0122b7e3 | 5432 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5433 | return NULL; |
5434 | if (_argo0) { | |
5435 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5436 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
0122b7e3 | 5437 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setCallbackInfo. Expected _wxPyDrawnShape_p."); |
e91a9dfc RD |
5438 | return NULL; |
5439 | } | |
5440 | } | |
5441 | { | |
5442 | _arg1 = _obj1; | |
5443 | } | |
f6bcfd97 BP |
5444 | { |
5445 | _arg2 = _obj2; | |
5446 | } | |
e91a9dfc | 5447 | { |
4268f798 | 5448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5449 | wxPyDrawnShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc | 5450 | |
4268f798 RD |
5451 | wxPyEndAllowThreads(__tstate); |
5452 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5453 | } Py_INCREF(Py_None); |
5454 | _resultobj = Py_None; | |
5455 | return _resultobj; | |
5456 | } | |
5457 | ||
5458 | #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
5459 | static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5460 | PyObject * _resultobj; | |
5461 | wxPyDrawnShape * _arg0; | |
5462 | PyObject * _argo0 = 0; | |
5463 | char *_kwnames[] = { "self", NULL }; | |
5464 | ||
5465 | self = self; | |
5466 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0)) | |
5467 | return NULL; | |
5468 | if (_argo0) { | |
5469 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5470 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5471 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p."); | |
5472 | return NULL; | |
5473 | } | |
5474 | } | |
5475 | { | |
4268f798 | 5476 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5477 | wxPyDrawnShape_CalculateSize(_arg0); |
e91a9dfc | 5478 | |
4268f798 RD |
5479 | wxPyEndAllowThreads(__tstate); |
5480 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5481 | } Py_INCREF(Py_None); |
5482 | _resultobj = Py_None; | |
5483 | return _resultobj; | |
5484 | } | |
5485 | ||
5486 | #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect()) | |
5487 | static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5488 | PyObject * _resultobj; | |
5489 | wxPyDrawnShape * _arg0; | |
5490 | PyObject * _argo0 = 0; | |
5491 | char *_kwnames[] = { "self", NULL }; | |
5492 | ||
5493 | self = self; | |
5494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0)) | |
5495 | return NULL; | |
5496 | if (_argo0) { | |
5497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p."); | |
5500 | return NULL; | |
5501 | } | |
5502 | } | |
5503 | { | |
4268f798 | 5504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5505 | wxPyDrawnShape_DestroyClippingRect(_arg0); |
e91a9dfc | 5506 | |
4268f798 RD |
5507 | wxPyEndAllowThreads(__tstate); |
5508 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5509 | } Py_INCREF(Py_None); |
5510 | _resultobj = Py_None; | |
5511 | return _resultobj; | |
5512 | } | |
5513 | ||
5514 | #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2)) | |
5515 | static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5516 | PyObject * _resultobj; | |
5517 | wxPyDrawnShape * _arg0; | |
5518 | wxPoint * _arg1; | |
5519 | wxPoint * _arg2; | |
5520 | wxPoint * _arg3; | |
5521 | PyObject * _argo0 = 0; | |
2348eaee RD |
5522 | wxPoint temp; |
5523 | PyObject * _obj1 = 0; | |
5524 | wxPoint temp0; | |
5525 | PyObject * _obj2 = 0; | |
5526 | wxPoint temp1; | |
5527 | PyObject * _obj3 = 0; | |
e91a9dfc RD |
5528 | char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL }; |
5529 | ||
5530 | self = self; | |
2348eaee | 5531 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3)) |
e91a9dfc RD |
5532 | return NULL; |
5533 | if (_argo0) { | |
5534 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5535 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5536 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p."); | |
5537 | return NULL; | |
5538 | } | |
5539 | } | |
2348eaee RD |
5540 | { |
5541 | _arg1 = &temp; | |
5542 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5543 | return NULL; |
2348eaee RD |
5544 | } |
5545 | { | |
5546 | _arg2 = &temp0; | |
5547 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5548 | return NULL; |
2348eaee RD |
5549 | } |
5550 | { | |
5551 | _arg3 = &temp1; | |
5552 | if (! wxPoint_helper(_obj3, &_arg3)) | |
e91a9dfc | 5553 | return NULL; |
2348eaee | 5554 | } |
e91a9dfc | 5555 | { |
4268f798 | 5556 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5557 | wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3); |
e91a9dfc | 5558 | |
4268f798 RD |
5559 | wxPyEndAllowThreads(__tstate); |
5560 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5561 | } Py_INCREF(Py_None); |
5562 | _resultobj = Py_None; | |
5563 | return _resultobj; | |
5564 | } | |
5565 | ||
5566 | #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0)) | |
5567 | static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5568 | PyObject * _resultobj; | |
5569 | wxPyDrawnShape * _arg0; | |
5570 | int _arg1; | |
5571 | PyObject * _argo0 = 0; | |
5572 | char *_kwnames[] = { "self","angle", NULL }; | |
5573 | ||
5574 | self = self; | |
5575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1)) | |
5576 | return NULL; | |
5577 | if (_argo0) { | |
5578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p."); | |
5581 | return NULL; | |
5582 | } | |
5583 | } | |
5584 | { | |
4268f798 | 5585 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5586 | wxPyDrawnShape_DrawAtAngle(_arg0,_arg1); |
e91a9dfc | 5587 | |
4268f798 RD |
5588 | wxPyEndAllowThreads(__tstate); |
5589 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5590 | } Py_INCREF(Py_None); |
5591 | _resultobj = Py_None; | |
5592 | return _resultobj; | |
5593 | } | |
5594 | ||
5595 | #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2)) | |
5596 | static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5597 | PyObject * _resultobj; | |
5598 | wxPyDrawnShape * _arg0; | |
5599 | wxRect * _arg1; | |
5600 | double _arg2; | |
5601 | double _arg3; | |
5602 | PyObject * _argo0 = 0; | |
2348eaee RD |
5603 | wxRect temp; |
5604 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5605 | char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL }; |
5606 | ||
5607 | self = self; | |
2348eaee | 5608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3)) |
e91a9dfc RD |
5609 | return NULL; |
5610 | if (_argo0) { | |
5611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p."); | |
5614 | return NULL; | |
5615 | } | |
5616 | } | |
2348eaee RD |
5617 | { |
5618 | _arg1 = &temp; | |
5619 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5620 | return NULL; |
2348eaee | 5621 | } |
e91a9dfc | 5622 | { |
4268f798 | 5623 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5624 | wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3); |
e91a9dfc | 5625 | |
4268f798 RD |
5626 | wxPyEndAllowThreads(__tstate); |
5627 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5628 | } Py_INCREF(Py_None); |
5629 | _resultobj = Py_None; | |
5630 | return _resultobj; | |
5631 | } | |
5632 | ||
5633 | #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1)) | |
5634 | static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5635 | PyObject * _resultobj; | |
5636 | wxPyDrawnShape * _arg0; | |
5637 | wxPoint * _arg1; | |
5638 | wxPoint * _arg2; | |
5639 | PyObject * _argo0 = 0; | |
2348eaee RD |
5640 | wxPoint temp; |
5641 | PyObject * _obj1 = 0; | |
5642 | wxPoint temp0; | |
5643 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5644 | char *_kwnames[] = { "self","point1","point2", NULL }; |
5645 | ||
5646 | self = self; | |
2348eaee | 5647 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5648 | return NULL; |
5649 | if (_argo0) { | |
5650 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5651 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p."); | |
5653 | return NULL; | |
5654 | } | |
5655 | } | |
2348eaee RD |
5656 | { |
5657 | _arg1 = &temp; | |
5658 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5659 | return NULL; |
2348eaee RD |
5660 | } |
5661 | { | |
5662 | _arg2 = &temp0; | |
5663 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5664 | return NULL; |
2348eaee | 5665 | } |
e91a9dfc | 5666 | { |
4268f798 | 5667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5668 | wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2); |
e91a9dfc | 5669 | |
4268f798 RD |
5670 | wxPyEndAllowThreads(__tstate); |
5671 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5672 | } Py_INCREF(Py_None); |
5673 | _resultobj = Py_None; | |
5674 | return _resultobj; | |
5675 | } | |
5676 | ||
5677 | #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1)) | |
5678 | static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5679 | PyObject * _resultobj; | |
5680 | wxPyDrawnShape * _arg0; | |
5681 | int _arg1; | |
5682 | wxPoint * _arg2; | |
5683 | PyObject * _argo0 = 0; | |
e0672e2f | 5684 | int NPOINTS; |
e91a9dfc | 5685 | PyObject * _obj2 = 0; |
eec92d76 | 5686 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
5687 | |
5688 | self = self; | |
5689 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2)) | |
5690 | return NULL; | |
5691 | if (_argo0) { | |
5692 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5693 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5694 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p."); | |
5695 | return NULL; | |
5696 | } | |
5697 | } | |
5698 | if (_obj2) | |
5699 | { | |
e0672e2f RD |
5700 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); |
5701 | if (_arg2 == NULL) { | |
5702 | return NULL; | |
5703 | } | |
e91a9dfc RD |
5704 | } |
5705 | { | |
e0672e2f | 5706 | _arg1 = NPOINTS; |
e91a9dfc RD |
5707 | } |
5708 | { | |
4268f798 | 5709 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5710 | wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2); |
e91a9dfc | 5711 | |
4268f798 RD |
5712 | wxPyEndAllowThreads(__tstate); |
5713 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5714 | } Py_INCREF(Py_None); |
5715 | _resultobj = Py_None; | |
5716 | { | |
5717 | delete [] _arg2; | |
5718 | } | |
5719 | return _resultobj; | |
5720 | } | |
5721 | ||
5722 | #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0)) | |
5723 | static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5724 | PyObject * _resultobj; | |
5725 | wxPyDrawnShape * _arg0; | |
5726 | wxPoint * _arg1; | |
5727 | PyObject * _argo0 = 0; | |
2348eaee RD |
5728 | wxPoint temp; |
5729 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5730 | char *_kwnames[] = { "self","point", NULL }; |
5731 | ||
5732 | self = self; | |
2348eaee | 5733 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5734 | return NULL; |
5735 | if (_argo0) { | |
5736 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5737 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5738 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p."); | |
5739 | return NULL; | |
5740 | } | |
5741 | } | |
2348eaee RD |
5742 | { |
5743 | _arg1 = &temp; | |
5744 | if (! wxPoint_helper(_obj1, &_arg1)) | |
e91a9dfc | 5745 | return NULL; |
2348eaee | 5746 | } |
e91a9dfc | 5747 | { |
4268f798 | 5748 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5749 | wxPyDrawnShape_DrawPoint(_arg0,*_arg1); |
e91a9dfc | 5750 | |
4268f798 RD |
5751 | wxPyEndAllowThreads(__tstate); |
5752 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5753 | } Py_INCREF(Py_None); |
5754 | _resultobj = Py_None; | |
5755 | return _resultobj; | |
5756 | } | |
5757 | ||
5758 | #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2)) | |
5759 | static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5760 | PyObject * _resultobj; | |
5761 | wxPyDrawnShape * _arg0; | |
5762 | int _arg1; | |
5763 | wxPoint * _arg2; | |
5764 | int _arg3 = (int ) 0; | |
5765 | PyObject * _argo0 = 0; | |
e0672e2f | 5766 | int NPOINTS; |
e91a9dfc | 5767 | PyObject * _obj2 = 0; |
eec92d76 | 5768 | char *_kwnames[] = { "self","points","flags", NULL }; |
e91a9dfc RD |
5769 | |
5770 | self = self; | |
5771 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3)) | |
5772 | return NULL; | |
5773 | if (_argo0) { | |
5774 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5775 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5776 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p."); | |
5777 | return NULL; | |
5778 | } | |
5779 | } | |
5780 | if (_obj2) | |
5781 | { | |
e0672e2f RD |
5782 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); |
5783 | if (_arg2 == NULL) { | |
5784 | return NULL; | |
5785 | } | |
e91a9dfc RD |
5786 | } |
5787 | { | |
e0672e2f | 5788 | _arg1 = NPOINTS; |
e91a9dfc RD |
5789 | } |
5790 | { | |
4268f798 | 5791 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5792 | wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3); |
e91a9dfc | 5793 | |
4268f798 RD |
5794 | wxPyEndAllowThreads(__tstate); |
5795 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5796 | } Py_INCREF(Py_None); |
5797 | _resultobj = Py_None; | |
5798 | { | |
5799 | delete [] _arg2; | |
5800 | } | |
5801 | return _resultobj; | |
5802 | } | |
5803 | ||
5804 | #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0)) | |
5805 | static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5806 | PyObject * _resultobj; | |
5807 | wxPyDrawnShape * _arg0; | |
5808 | wxRect * _arg1; | |
5809 | PyObject * _argo0 = 0; | |
2348eaee RD |
5810 | wxRect temp; |
5811 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5812 | char *_kwnames[] = { "self","rect", NULL }; |
5813 | ||
5814 | self = self; | |
2348eaee | 5815 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
5816 | return NULL; |
5817 | if (_argo0) { | |
5818 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5819 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5820 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p."); | |
5821 | return NULL; | |
5822 | } | |
5823 | } | |
2348eaee RD |
5824 | { |
5825 | _arg1 = &temp; | |
5826 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5827 | return NULL; |
2348eaee | 5828 | } |
e91a9dfc | 5829 | { |
4268f798 | 5830 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5831 | wxPyDrawnShape_DrawRectangle(_arg0,*_arg1); |
e91a9dfc | 5832 | |
4268f798 RD |
5833 | wxPyEndAllowThreads(__tstate); |
5834 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5835 | } Py_INCREF(Py_None); |
5836 | _resultobj = Py_None; | |
5837 | return _resultobj; | |
5838 | } | |
5839 | ||
5840 | #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1)) | |
5841 | static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5842 | PyObject * _resultobj; | |
5843 | wxPyDrawnShape * _arg0; | |
5844 | wxRect * _arg1; | |
5845 | double _arg2; | |
5846 | PyObject * _argo0 = 0; | |
2348eaee RD |
5847 | wxRect temp; |
5848 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
5849 | char *_kwnames[] = { "self","rect","radius", NULL }; |
5850 | ||
5851 | self = self; | |
2348eaee | 5852 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2)) |
e91a9dfc RD |
5853 | return NULL; |
5854 | if (_argo0) { | |
5855 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5856 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5857 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p."); | |
5858 | return NULL; | |
5859 | } | |
5860 | } | |
2348eaee RD |
5861 | { |
5862 | _arg1 = &temp; | |
5863 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 5864 | return NULL; |
2348eaee | 5865 | } |
e91a9dfc | 5866 | { |
4268f798 | 5867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5868 | wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2); |
e91a9dfc | 5869 | |
4268f798 RD |
5870 | wxPyEndAllowThreads(__tstate); |
5871 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5872 | } Py_INCREF(Py_None); |
5873 | _resultobj = Py_None; | |
5874 | return _resultobj; | |
5875 | } | |
5876 | ||
5877 | #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1)) | |
5878 | static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5879 | PyObject * _resultobj; | |
5880 | wxPyDrawnShape * _arg0; | |
5881 | int _arg1; | |
5882 | wxPoint * _arg2; | |
5883 | PyObject * _argo0 = 0; | |
e0672e2f | 5884 | int NPOINTS; |
e91a9dfc | 5885 | PyObject * _obj2 = 0; |
eec92d76 | 5886 | char *_kwnames[] = { "self","points", NULL }; |
e91a9dfc RD |
5887 | |
5888 | self = self; | |
5889 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2)) | |
5890 | return NULL; | |
5891 | if (_argo0) { | |
5892 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5893 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5894 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p."); | |
5895 | return NULL; | |
5896 | } | |
5897 | } | |
5898 | if (_obj2) | |
5899 | { | |
e0672e2f RD |
5900 | _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS); |
5901 | if (_arg2 == NULL) { | |
5902 | return NULL; | |
5903 | } | |
e91a9dfc RD |
5904 | } |
5905 | { | |
e0672e2f | 5906 | _arg1 = NPOINTS; |
e91a9dfc RD |
5907 | } |
5908 | { | |
4268f798 | 5909 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5910 | wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2); |
e91a9dfc | 5911 | |
4268f798 RD |
5912 | wxPyEndAllowThreads(__tstate); |
5913 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5914 | } Py_INCREF(Py_None); |
5915 | _resultobj = Py_None; | |
5916 | { | |
5917 | delete [] _arg2; | |
5918 | } | |
5919 | return _resultobj; | |
5920 | } | |
5921 | ||
5922 | #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1)) | |
5923 | static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5924 | PyObject * _resultobj; | |
5925 | wxPyDrawnShape * _arg0; | |
5926 | wxString * _arg1; | |
5927 | wxPoint * _arg2; | |
5928 | PyObject * _argo0 = 0; | |
5929 | PyObject * _obj1 = 0; | |
2348eaee RD |
5930 | wxPoint temp; |
5931 | PyObject * _obj2 = 0; | |
e91a9dfc RD |
5932 | char *_kwnames[] = { "self","text","point", NULL }; |
5933 | ||
5934 | self = self; | |
2348eaee | 5935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
5936 | return NULL; |
5937 | if (_argo0) { | |
5938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p."); | |
5941 | return NULL; | |
5942 | } | |
5943 | } | |
5944 | { | |
c8bc7bb8 RD |
5945 | _arg1 = wxString_in_helper(_obj1); |
5946 | if (_arg1 == NULL) | |
185d7c3e | 5947 | return NULL; |
e91a9dfc | 5948 | } |
2348eaee RD |
5949 | { |
5950 | _arg2 = &temp; | |
5951 | if (! wxPoint_helper(_obj2, &_arg2)) | |
e91a9dfc | 5952 | return NULL; |
2348eaee | 5953 | } |
e91a9dfc | 5954 | { |
4268f798 | 5955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5956 | wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2); |
e91a9dfc | 5957 | |
4268f798 RD |
5958 | wxPyEndAllowThreads(__tstate); |
5959 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5960 | } Py_INCREF(Py_None); |
5961 | _resultobj = Py_None; | |
5962 | { | |
5963 | if (_obj1) | |
5964 | delete _arg1; | |
5965 | } | |
5966 | return _resultobj; | |
5967 | } | |
5968 | ||
5969 | #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle()) | |
5970 | static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5971 | PyObject * _resultobj; | |
5972 | int _result; | |
5973 | wxPyDrawnShape * _arg0; | |
5974 | PyObject * _argo0 = 0; | |
5975 | char *_kwnames[] = { "self", NULL }; | |
5976 | ||
5977 | self = self; | |
5978 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0)) | |
5979 | return NULL; | |
5980 | if (_argo0) { | |
5981 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
5982 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
5983 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p."); | |
5984 | return NULL; | |
5985 | } | |
5986 | } | |
5987 | { | |
4268f798 | 5988 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 5989 | _result = (int )wxPyDrawnShape_GetAngle(_arg0); |
e91a9dfc | 5990 | |
4268f798 RD |
5991 | wxPyEndAllowThreads(__tstate); |
5992 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
5993 | } _resultobj = Py_BuildValue("i",_result); |
5994 | return _resultobj; | |
5995 | } | |
5996 | ||
5997 | #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile()) | |
5998 | static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
5999 | PyObject * _resultobj; | |
6000 | wxPseudoMetaFile * _result; | |
6001 | wxPyDrawnShape * _arg0; | |
6002 | PyObject * _argo0 = 0; | |
6003 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
6004 | |
6005 | self = self; | |
6006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0)) | |
6007 | return NULL; | |
6008 | if (_argo0) { | |
6009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p."); | |
6012 | return NULL; | |
6013 | } | |
6014 | } | |
6015 | { | |
4268f798 | 6016 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6017 | wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0); |
e91a9dfc RD |
6018 | _result = (wxPseudoMetaFile *) &_result_ref; |
6019 | ||
4268f798 RD |
6020 | wxPyEndAllowThreads(__tstate); |
6021 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 6022 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
6023 | return _resultobj; |
6024 | } | |
6025 | ||
6026 | #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation()) | |
6027 | static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6028 | PyObject * _resultobj; | |
6029 | double _result; | |
6030 | wxPyDrawnShape * _arg0; | |
6031 | PyObject * _argo0 = 0; | |
6032 | char *_kwnames[] = { "self", NULL }; | |
6033 | ||
6034 | self = self; | |
6035 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0)) | |
6036 | return NULL; | |
6037 | if (_argo0) { | |
6038 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6039 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6040 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p."); | |
6041 | return NULL; | |
6042 | } | |
6043 | } | |
6044 | { | |
4268f798 | 6045 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6046 | _result = (double )wxPyDrawnShape_GetRotation(_arg0); |
e91a9dfc | 6047 | |
4268f798 RD |
6048 | wxPyEndAllowThreads(__tstate); |
6049 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6050 | } _resultobj = Py_BuildValue("d",_result); |
6051 | return _resultobj; | |
6052 | } | |
6053 | ||
6054 | #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0)) | |
6055 | static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6056 | PyObject * _resultobj; | |
6057 | bool _result; | |
6058 | wxPyDrawnShape * _arg0; | |
6059 | char * _arg1; | |
6060 | PyObject * _argo0 = 0; | |
6061 | char *_kwnames[] = { "self","filename", NULL }; | |
6062 | ||
6063 | self = self; | |
6064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1)) | |
6065 | return NULL; | |
6066 | if (_argo0) { | |
6067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p."); | |
6070 | return NULL; | |
6071 | } | |
6072 | } | |
6073 | { | |
4268f798 | 6074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6075 | _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1); |
e91a9dfc | 6076 | |
4268f798 RD |
6077 | wxPyEndAllowThreads(__tstate); |
6078 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6079 | } _resultobj = Py_BuildValue("i",_result); |
6080 | return _resultobj; | |
6081 | } | |
6082 | ||
6083 | #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2)) | |
6084 | static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6085 | PyObject * _resultobj; | |
6086 | wxPyDrawnShape * _arg0; | |
6087 | double _arg1; | |
6088 | double _arg2; | |
6089 | double _arg3; | |
6090 | PyObject * _argo0 = 0; | |
6091 | char *_kwnames[] = { "self","x","y","theta", NULL }; | |
6092 | ||
6093 | self = self; | |
6094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3)) | |
6095 | return NULL; | |
6096 | if (_argo0) { | |
6097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p."); | |
6100 | return NULL; | |
6101 | } | |
6102 | } | |
6103 | { | |
4268f798 | 6104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6105 | wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3); |
e91a9dfc | 6106 | |
4268f798 RD |
6107 | wxPyEndAllowThreads(__tstate); |
6108 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6109 | } Py_INCREF(Py_None); |
6110 | _resultobj = Py_None; | |
6111 | return _resultobj; | |
6112 | } | |
6113 | ||
6114 | #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0)) | |
6115 | static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6116 | PyObject * _resultobj; | |
6117 | wxPyDrawnShape * _arg0; | |
6118 | wxRect * _arg1; | |
6119 | PyObject * _argo0 = 0; | |
2348eaee RD |
6120 | wxRect temp; |
6121 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
6122 | char *_kwnames[] = { "self","rect", NULL }; |
6123 | ||
6124 | self = self; | |
2348eaee | 6125 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
6126 | return NULL; |
6127 | if (_argo0) { | |
6128 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6129 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6130 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p."); | |
6131 | return NULL; | |
6132 | } | |
6133 | } | |
2348eaee RD |
6134 | { |
6135 | _arg1 = &temp; | |
6136 | if (! wxRect_helper(_obj1, &_arg1)) | |
e91a9dfc | 6137 | return NULL; |
2348eaee | 6138 | } |
e91a9dfc | 6139 | { |
4268f798 | 6140 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6141 | wxPyDrawnShape_SetClippingRect(_arg0,*_arg1); |
e91a9dfc | 6142 | |
4268f798 RD |
6143 | wxPyEndAllowThreads(__tstate); |
6144 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6145 | } Py_INCREF(Py_None); |
6146 | _resultobj = Py_None; | |
6147 | return _resultobj; | |
6148 | } | |
6149 | ||
6150 | #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0)) | |
6151 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6152 | PyObject * _resultobj; | |
6153 | wxPyDrawnShape * _arg0; | |
6154 | wxColour * _arg1; | |
6155 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
6156 | wxColour temp; |
6157 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
6158 | char *_kwnames[] = { "self","colour", NULL }; |
6159 | ||
6160 | self = self; | |
f6bcfd97 | 6161 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
6162 | return NULL; |
6163 | if (_argo0) { | |
6164 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6165 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6166 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p."); | |
6167 | return NULL; | |
6168 | } | |
6169 | } | |
f6bcfd97 BP |
6170 | { |
6171 | _arg1 = &temp; | |
6172 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 6173 | return NULL; |
f6bcfd97 | 6174 | } |
e91a9dfc | 6175 | { |
4268f798 | 6176 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6177 | wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1); |
e91a9dfc | 6178 | |
4268f798 RD |
6179 | wxPyEndAllowThreads(__tstate); |
6180 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6181 | } Py_INCREF(Py_None); |
6182 | _resultobj = Py_None; | |
6183 | return _resultobj; | |
6184 | } | |
6185 | ||
6186 | #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0)) | |
6187 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6188 | PyObject * _resultobj; | |
6189 | wxPyDrawnShape * _arg0; | |
6190 | int _arg1; | |
6191 | PyObject * _argo0 = 0; | |
6192 | char *_kwnames[] = { "self","mode", NULL }; | |
6193 | ||
6194 | self = self; | |
6195 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1)) | |
6196 | return NULL; | |
6197 | if (_argo0) { | |
6198 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6199 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6200 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p."); | |
6201 | return NULL; | |
6202 | } | |
6203 | } | |
6204 | { | |
4268f798 | 6205 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6206 | wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1); |
e91a9dfc | 6207 | |
4268f798 RD |
6208 | wxPyEndAllowThreads(__tstate); |
6209 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6210 | } Py_INCREF(Py_None); |
6211 | _resultobj = Py_None; | |
6212 | return _resultobj; | |
6213 | } | |
6214 | ||
6215 | #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1)) | |
6216 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6217 | PyObject * _resultobj; | |
6218 | wxPyDrawnShape * _arg0; | |
6219 | wxBrush * _arg1; | |
6220 | bool _arg2 = (bool ) FALSE; | |
6221 | PyObject * _argo0 = 0; | |
d74525f7 | 6222 | PyObject * _obj1 = 0; |
e91a9dfc RD |
6223 | int tempbool2 = (int) FALSE; |
6224 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6225 | ||
6226 | self = self; | |
d74525f7 | 6227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2)) |
e91a9dfc RD |
6228 | return NULL; |
6229 | if (_argo0) { | |
6230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p."); | |
6233 | return NULL; | |
6234 | } | |
6235 | } | |
d74525f7 RD |
6236 | { |
6237 | wxBrush* temp; | |
6238 | if (_obj1) { | |
6239 | if (_obj1 == Py_None) { temp = NULL; } | |
6240 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) { | |
6241 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p."); | |
e91a9dfc RD |
6242 | return NULL; |
6243 | } | |
6244 | } | |
d74525f7 RD |
6245 | if (temp) |
6246 | _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle()); | |
6247 | else | |
6248 | _arg1 = NULL; | |
6249 | } | |
e91a9dfc RD |
6250 | _arg2 = (bool ) tempbool2; |
6251 | { | |
4268f798 | 6252 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6253 | wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2); |
e91a9dfc | 6254 | |
4268f798 RD |
6255 | wxPyEndAllowThreads(__tstate); |
6256 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6257 | } Py_INCREF(Py_None); |
6258 | _resultobj = Py_None; | |
6259 | return _resultobj; | |
6260 | } | |
6261 | ||
6262 | #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0)) | |
6263 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6264 | PyObject * _resultobj; | |
6265 | wxPyDrawnShape * _arg0; | |
6266 | wxFont * _arg1; | |
6267 | PyObject * _argo0 = 0; | |
d74525f7 | 6268 | PyObject * _obj1 = 0; |
e91a9dfc RD |
6269 | char *_kwnames[] = { "self","font", NULL }; |
6270 | ||
6271 | self = self; | |
d74525f7 | 6272 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
6273 | return NULL; |
6274 | if (_argo0) { | |
6275 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6276 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6277 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p."); | |
6278 | return NULL; | |
6279 | } | |
6280 | } | |
d74525f7 RD |
6281 | { |
6282 | wxFont* temp; | |
6283 | if (_obj1) { | |
6284 | if (_obj1 == Py_None) { temp = NULL; } | |
6285 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) { | |
6286 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p."); | |
e91a9dfc RD |
6287 | return NULL; |
6288 | } | |
6289 | } | |
d74525f7 RD |
6290 | if (temp) |
6291 | _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(), | |
6292 | temp->GetFamily(), | |
6293 | temp->GetStyle(), | |
6294 | temp->GetWeight(), | |
6295 | temp->GetUnderlined(), | |
6296 | temp->GetFaceName(), | |
6297 | temp->GetEncoding()); | |
6298 | else | |
6299 | _arg1 = NULL; | |
6300 | } | |
e91a9dfc | 6301 | { |
4268f798 | 6302 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6303 | wxPyDrawnShape_SetDrawnFont(_arg0,_arg1); |
e91a9dfc | 6304 | |
4268f798 RD |
6305 | wxPyEndAllowThreads(__tstate); |
6306 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6307 | } Py_INCREF(Py_None); |
6308 | _resultobj = Py_None; | |
6309 | return _resultobj; | |
6310 | } | |
6311 | ||
6312 | #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1)) | |
6313 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6314 | PyObject * _resultobj; | |
6315 | wxPyDrawnShape * _arg0; | |
6316 | wxPen * _arg1; | |
6317 | bool _arg2 = (bool ) FALSE; | |
6318 | PyObject * _argo0 = 0; | |
d74525f7 | 6319 | PyObject * _obj1 = 0; |
e91a9dfc RD |
6320 | int tempbool2 = (int) FALSE; |
6321 | char *_kwnames[] = { "self","pen","isOutline", NULL }; | |
6322 | ||
6323 | self = self; | |
d74525f7 | 6324 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2)) |
e91a9dfc RD |
6325 | return NULL; |
6326 | if (_argo0) { | |
6327 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6328 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p."); | |
6330 | return NULL; | |
6331 | } | |
6332 | } | |
d74525f7 RD |
6333 | { |
6334 | wxPen* temp; | |
6335 | if (_obj1) { | |
6336 | if (_obj1 == Py_None) { temp = NULL; } | |
6337 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
6338 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
e91a9dfc RD |
6339 | return NULL; |
6340 | } | |
6341 | } | |
d74525f7 RD |
6342 | if (temp) |
6343 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
6344 | temp->GetWidth(), | |
6345 | temp->GetStyle()); | |
6346 | else | |
6347 | _arg1 = NULL; | |
6348 | } | |
e91a9dfc RD |
6349 | _arg2 = (bool ) tempbool2; |
6350 | { | |
4268f798 | 6351 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6352 | wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2); |
e91a9dfc | 6353 | |
4268f798 RD |
6354 | wxPyEndAllowThreads(__tstate); |
6355 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6356 | } Py_INCREF(Py_None); |
6357 | _resultobj = Py_None; | |
6358 | return _resultobj; | |
6359 | } | |
6360 | ||
6361 | #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0)) | |
6362 | static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6363 | PyObject * _resultobj; | |
6364 | wxPyDrawnShape * _arg0; | |
6365 | wxColour * _arg1; | |
6366 | PyObject * _argo0 = 0; | |
f6bcfd97 BP |
6367 | wxColour temp; |
6368 | PyObject * _obj1 = 0; | |
e91a9dfc RD |
6369 | char *_kwnames[] = { "self","colour", NULL }; |
6370 | ||
6371 | self = self; | |
f6bcfd97 | 6372 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
6373 | return NULL; |
6374 | if (_argo0) { | |
6375 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6376 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6377 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p."); | |
6378 | return NULL; | |
6379 | } | |
6380 | } | |
f6bcfd97 BP |
6381 | { |
6382 | _arg1 = &temp; | |
6383 | if (! wxColour_helper(_obj1, &_arg1)) | |
e91a9dfc | 6384 | return NULL; |
f6bcfd97 | 6385 | } |
e91a9dfc | 6386 | { |
4268f798 | 6387 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6388 | wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1); |
e91a9dfc | 6389 | |
4268f798 RD |
6390 | wxPyEndAllowThreads(__tstate); |
6391 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6392 | } Py_INCREF(Py_None); |
6393 | _resultobj = Py_None; | |
6394 | return _resultobj; | |
6395 | } | |
6396 | ||
6397 | #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1)) | |
6398 | static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6399 | PyObject * _resultobj; | |
6400 | wxPyDrawnShape * _arg0; | |
6401 | double _arg1; | |
6402 | double _arg2; | |
6403 | PyObject * _argo0 = 0; | |
6404 | char *_kwnames[] = { "self","sx","sy", NULL }; | |
6405 | ||
6406 | self = self; | |
6407 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6408 | return NULL; | |
6409 | if (_argo0) { | |
6410 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6411 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6412 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p."); | |
6413 | return NULL; | |
6414 | } | |
6415 | } | |
6416 | { | |
4268f798 | 6417 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6418 | wxPyDrawnShape_Scale(_arg0,_arg1,_arg2); |
e91a9dfc | 6419 | |
4268f798 RD |
6420 | wxPyEndAllowThreads(__tstate); |
6421 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6422 | } Py_INCREF(Py_None); |
6423 | _resultobj = Py_None; | |
6424 | return _resultobj; | |
6425 | } | |
6426 | ||
6427 | #define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0)) | |
6428 | static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6429 | PyObject * _resultobj; | |
6430 | wxPyDrawnShape * _arg0; | |
6431 | bool _arg1; | |
6432 | PyObject * _argo0 = 0; | |
6433 | int tempbool1; | |
6434 | char *_kwnames[] = { "self","save", NULL }; | |
6435 | ||
6436 | self = self; | |
6437 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1)) | |
6438 | return NULL; | |
6439 | if (_argo0) { | |
6440 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6441 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6442 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p."); | |
6443 | return NULL; | |
6444 | } | |
6445 | } | |
6446 | _arg1 = (bool ) tempbool1; | |
6447 | { | |
4268f798 | 6448 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6449 | wxPyDrawnShape_SetSaveToFile(_arg0,_arg1); |
e91a9dfc | 6450 | |
4268f798 RD |
6451 | wxPyEndAllowThreads(__tstate); |
6452 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6453 | } Py_INCREF(Py_None); |
6454 | _resultobj = Py_None; | |
6455 | return _resultobj; | |
6456 | } | |
6457 | ||
6458 | #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1)) | |
6459 | static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6460 | PyObject * _resultobj; | |
6461 | wxPyDrawnShape * _arg0; | |
6462 | double _arg1; | |
6463 | double _arg2; | |
6464 | PyObject * _argo0 = 0; | |
6465 | char *_kwnames[] = { "self","x","y", NULL }; | |
6466 | ||
6467 | self = self; | |
6468 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6469 | return NULL; | |
6470 | if (_argo0) { | |
6471 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6472 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6473 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p."); | |
6474 | return NULL; | |
6475 | } | |
6476 | } | |
6477 | { | |
4268f798 | 6478 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6479 | wxPyDrawnShape_Translate(_arg0,_arg1,_arg2); |
e91a9dfc | 6480 | |
4268f798 RD |
6481 | wxPyEndAllowThreads(__tstate); |
6482 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6483 | } Py_INCREF(Py_None); |
6484 | _resultobj = Py_None; | |
6485 | return _resultobj; | |
6486 | } | |
6487 | ||
6488 | #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
6489 | static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6490 | PyObject * _resultobj; | |
6491 | wxPyDrawnShape * _arg0; | |
6492 | PyObject * _argo0 = 0; | |
6493 | char *_kwnames[] = { "self", NULL }; | |
6494 | ||
6495 | self = self; | |
6496 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0)) | |
6497 | return NULL; | |
6498 | if (_argo0) { | |
6499 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6500 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6501 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p."); | |
6502 | return NULL; | |
6503 | } | |
6504 | } | |
6505 | { | |
4268f798 | 6506 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6507 | wxPyDrawnShape_base_OnDelete(_arg0); |
e91a9dfc | 6508 | |
4268f798 RD |
6509 | wxPyEndAllowThreads(__tstate); |
6510 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6511 | } Py_INCREF(Py_None); |
6512 | _resultobj = Py_None; | |
6513 | return _resultobj; | |
6514 | } | |
6515 | ||
6516 | #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
6517 | static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6518 | PyObject * _resultobj; | |
6519 | wxPyDrawnShape * _arg0; | |
6520 | wxDC * _arg1; | |
6521 | PyObject * _argo0 = 0; | |
6522 | PyObject * _argo1 = 0; | |
6523 | char *_kwnames[] = { "self","dc", NULL }; | |
6524 | ||
6525 | self = self; | |
6526 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
6527 | return NULL; | |
6528 | if (_argo0) { | |
6529 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6530 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6531 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p."); | |
6532 | return NULL; | |
6533 | } | |
6534 | } | |
6535 | if (_argo1) { | |
6536 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6537 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6538 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p."); | |
6539 | return NULL; | |
6540 | } | |
6541 | } | |
6542 | { | |
4268f798 | 6543 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6544 | wxPyDrawnShape_base_OnDraw(_arg0,*_arg1); |
e91a9dfc | 6545 | |
4268f798 RD |
6546 | wxPyEndAllowThreads(__tstate); |
6547 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6548 | } Py_INCREF(Py_None); |
6549 | _resultobj = Py_None; | |
6550 | return _resultobj; | |
6551 | } | |
6552 | ||
6553 | #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
6554 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6555 | PyObject * _resultobj; | |
6556 | wxPyDrawnShape * _arg0; | |
6557 | wxDC * _arg1; | |
6558 | PyObject * _argo0 = 0; | |
6559 | PyObject * _argo1 = 0; | |
6560 | char *_kwnames[] = { "self","dc", NULL }; | |
6561 | ||
6562 | self = self; | |
6563 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
6564 | return NULL; | |
6565 | if (_argo0) { | |
6566 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6567 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6568 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p."); | |
6569 | return NULL; | |
6570 | } | |
6571 | } | |
6572 | if (_argo1) { | |
6573 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6574 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6575 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p."); | |
6576 | return NULL; | |
6577 | } | |
6578 | } | |
6579 | { | |
4268f798 | 6580 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6581 | wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc | 6582 | |
4268f798 RD |
6583 | wxPyEndAllowThreads(__tstate); |
6584 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6585 | } Py_INCREF(Py_None); |
6586 | _resultobj = Py_None; | |
6587 | return _resultobj; | |
6588 | } | |
6589 | ||
6590 | #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
6591 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6592 | PyObject * _resultobj; | |
6593 | wxPyDrawnShape * _arg0; | |
6594 | wxDC * _arg1; | |
6595 | bool _arg2 = (bool ) FALSE; | |
6596 | PyObject * _argo0 = 0; | |
6597 | PyObject * _argo1 = 0; | |
6598 | int tempbool2 = (int) FALSE; | |
6599 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
6600 | ||
6601 | self = self; | |
6602 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
6603 | return NULL; | |
6604 | if (_argo0) { | |
6605 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6606 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6607 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p."); | |
6608 | return NULL; | |
6609 | } | |
6610 | } | |
6611 | if (_argo1) { | |
6612 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6613 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6614 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p."); | |
6615 | return NULL; | |
6616 | } | |
6617 | } | |
6618 | _arg2 = (bool ) tempbool2; | |
6619 | { | |
4268f798 | 6620 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6621 | wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc | 6622 | |
4268f798 RD |
6623 | wxPyEndAllowThreads(__tstate); |
6624 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6625 | } Py_INCREF(Py_None); |
6626 | _resultobj = Py_None; | |
6627 | return _resultobj; | |
6628 | } | |
6629 | ||
6630 | #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
6631 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6632 | PyObject * _resultobj; | |
6633 | wxPyDrawnShape * _arg0; | |
6634 | wxDC * _arg1; | |
6635 | PyObject * _argo0 = 0; | |
6636 | PyObject * _argo1 = 0; | |
6637 | char *_kwnames[] = { "self","dc", NULL }; | |
6638 | ||
6639 | self = self; | |
6640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
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_OnMoveLinks. Expected _wxPyDrawnShape_p."); | |
6646 | return NULL; | |
6647 | } | |
6648 | } | |
6649 | if (_argo1) { | |
6650 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6651 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6652 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p."); | |
6653 | return NULL; | |
6654 | } | |
6655 | } | |
6656 | { | |
4268f798 | 6657 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6658 | wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc | 6659 | |
4268f798 RD |
6660 | wxPyEndAllowThreads(__tstate); |
6661 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6662 | } Py_INCREF(Py_None); |
6663 | _resultobj = Py_None; | |
6664 | return _resultobj; | |
6665 | } | |
6666 | ||
6667 | #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
6668 | static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6669 | PyObject * _resultobj; | |
6670 | wxPyDrawnShape * _arg0; | |
6671 | wxDC * _arg1; | |
6672 | PyObject * _argo0 = 0; | |
6673 | PyObject * _argo1 = 0; | |
6674 | char *_kwnames[] = { "self","dc", NULL }; | |
6675 | ||
6676 | self = self; | |
6677 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
6678 | return NULL; | |
6679 | if (_argo0) { | |
6680 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6681 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6682 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p."); | |
6683 | return NULL; | |
6684 | } | |
6685 | } | |
6686 | if (_argo1) { | |
6687 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6688 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6689 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p."); | |
6690 | return NULL; | |
6691 | } | |
6692 | } | |
6693 | { | |
4268f798 | 6694 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6695 | wxPyDrawnShape_base_OnErase(_arg0,*_arg1); |
e91a9dfc | 6696 | |
4268f798 RD |
6697 | wxPyEndAllowThreads(__tstate); |
6698 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6699 | } Py_INCREF(Py_None); |
6700 | _resultobj = Py_None; | |
6701 | return _resultobj; | |
6702 | } | |
6703 | ||
6704 | #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
6705 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6706 | PyObject * _resultobj; | |
6707 | wxPyDrawnShape * _arg0; | |
6708 | wxDC * _arg1; | |
6709 | PyObject * _argo0 = 0; | |
6710 | PyObject * _argo1 = 0; | |
6711 | char *_kwnames[] = { "self","dc", NULL }; | |
6712 | ||
6713 | self = self; | |
6714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
6715 | return NULL; | |
6716 | if (_argo0) { | |
6717 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6718 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p."); | |
6720 | return NULL; | |
6721 | } | |
6722 | } | |
6723 | if (_argo1) { | |
6724 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6725 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6726 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p."); | |
6727 | return NULL; | |
6728 | } | |
6729 | } | |
6730 | { | |
4268f798 | 6731 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6732 | wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1); |
e91a9dfc | 6733 | |
4268f798 RD |
6734 | wxPyEndAllowThreads(__tstate); |
6735 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6736 | } Py_INCREF(Py_None); |
6737 | _resultobj = Py_None; | |
6738 | return _resultobj; | |
6739 | } | |
6740 | ||
6741 | #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
6742 | static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6743 | PyObject * _resultobj; | |
6744 | wxPyDrawnShape * _arg0; | |
6745 | wxDC * _arg1; | |
6746 | PyObject * _argo0 = 0; | |
6747 | PyObject * _argo1 = 0; | |
6748 | char *_kwnames[] = { "self","dc", NULL }; | |
6749 | ||
6750 | self = self; | |
6751 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
6752 | return NULL; | |
6753 | if (_argo0) { | |
6754 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6755 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6756 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p."); | |
6757 | return NULL; | |
6758 | } | |
6759 | } | |
6760 | if (_argo1) { | |
6761 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6762 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6763 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p."); | |
6764 | return NULL; | |
6765 | } | |
6766 | } | |
6767 | { | |
4268f798 | 6768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6769 | wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1); |
e91a9dfc | 6770 | |
4268f798 RD |
6771 | wxPyEndAllowThreads(__tstate); |
6772 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6773 | } Py_INCREF(Py_None); |
6774 | _resultobj = Py_None; | |
6775 | return _resultobj; | |
6776 | } | |
6777 | ||
6778 | #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6779 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6780 | PyObject * _resultobj; | |
6781 | wxPyDrawnShape * _arg0; | |
6782 | double _arg1; | |
6783 | double _arg2; | |
6784 | int _arg3 = (int ) 0; | |
6785 | int _arg4 = (int ) 0; | |
6786 | PyObject * _argo0 = 0; | |
6787 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6788 | ||
6789 | self = self; | |
6790 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6791 | return NULL; | |
6792 | if (_argo0) { | |
6793 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6794 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6795 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p."); | |
6796 | return NULL; | |
6797 | } | |
6798 | } | |
6799 | { | |
4268f798 | 6800 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6801 | wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 6802 | |
4268f798 RD |
6803 | wxPyEndAllowThreads(__tstate); |
6804 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6805 | } Py_INCREF(Py_None); |
6806 | _resultobj = Py_None; | |
6807 | return _resultobj; | |
6808 | } | |
6809 | ||
6810 | #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6811 | static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(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_OnLeftDoubleClick",_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_OnLeftDoubleClick. Expected _wxPyDrawnShape_p."); | |
6828 | return NULL; | |
6829 | } | |
6830 | } | |
6831 | { | |
4268f798 | 6832 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6833 | wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 6834 | |
4268f798 RD |
6835 | wxPyEndAllowThreads(__tstate); |
6836 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6837 | } Py_INCREF(Py_None); |
6838 | _resultobj = Py_None; | |
6839 | return _resultobj; | |
6840 | } | |
6841 | ||
6842 | #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
6843 | static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6844 | PyObject * _resultobj; | |
6845 | wxPyDrawnShape * _arg0; | |
6846 | double _arg1; | |
6847 | double _arg2; | |
6848 | int _arg3 = (int ) 0; | |
6849 | int _arg4 = (int ) 0; | |
6850 | PyObject * _argo0 = 0; | |
6851 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
6852 | ||
6853 | self = self; | |
6854 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
6855 | return NULL; | |
6856 | if (_argo0) { | |
6857 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6858 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6859 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p."); | |
6860 | return NULL; | |
6861 | } | |
6862 | } | |
6863 | { | |
4268f798 | 6864 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6865 | wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 6866 | |
4268f798 RD |
6867 | wxPyEndAllowThreads(__tstate); |
6868 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6869 | } Py_INCREF(Py_None); |
6870 | _resultobj = Py_None; | |
6871 | return _resultobj; | |
6872 | } | |
6873 | ||
6874 | #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
6875 | static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6876 | PyObject * _resultobj; | |
6877 | wxPyDrawnShape * _arg0; | |
6878 | double _arg1; | |
6879 | double _arg2; | |
6880 | PyObject * _argo0 = 0; | |
6881 | char *_kwnames[] = { "self","x","y", NULL }; | |
6882 | ||
6883 | self = self; | |
6884 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
6885 | return NULL; | |
6886 | if (_argo0) { | |
6887 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6888 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6889 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p."); | |
6890 | return NULL; | |
6891 | } | |
6892 | } | |
6893 | { | |
4268f798 | 6894 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6895 | wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2); |
e91a9dfc | 6896 | |
4268f798 RD |
6897 | wxPyEndAllowThreads(__tstate); |
6898 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6899 | } Py_INCREF(Py_None); |
6900 | _resultobj = Py_None; | |
6901 | return _resultobj; | |
6902 | } | |
6903 | ||
6904 | #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6905 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6906 | PyObject * _resultobj; | |
6907 | bool _result; | |
6908 | wxPyDrawnShape * _arg0; | |
6909 | wxDC * _arg1; | |
6910 | double _arg2; | |
6911 | double _arg3; | |
6912 | double _arg4; | |
6913 | double _arg5; | |
6914 | bool _arg6 = (bool ) TRUE; | |
6915 | PyObject * _argo0 = 0; | |
6916 | PyObject * _argo1 = 0; | |
6917 | int tempbool6 = (int) TRUE; | |
6918 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6919 | ||
6920 | self = self; | |
6921 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6922 | return NULL; | |
6923 | if (_argo0) { | |
6924 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6925 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6926 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p."); | |
6927 | return NULL; | |
6928 | } | |
6929 | } | |
6930 | if (_argo1) { | |
6931 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6932 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6933 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p."); | |
6934 | return NULL; | |
6935 | } | |
6936 | } | |
6937 | _arg6 = (bool ) tempbool6; | |
6938 | { | |
4268f798 | 6939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6940 | _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 6941 | |
4268f798 RD |
6942 | wxPyEndAllowThreads(__tstate); |
6943 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6944 | } _resultobj = Py_BuildValue("i",_result); |
6945 | return _resultobj; | |
6946 | } | |
6947 | ||
6948 | #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
6949 | static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6950 | PyObject * _resultobj; | |
6951 | wxPyDrawnShape * _arg0; | |
6952 | wxDC * _arg1; | |
6953 | double _arg2; | |
6954 | double _arg3; | |
6955 | double _arg4; | |
6956 | double _arg5; | |
6957 | bool _arg6 = (bool ) TRUE; | |
6958 | PyObject * _argo0 = 0; | |
6959 | PyObject * _argo1 = 0; | |
6960 | int tempbool6 = (int) TRUE; | |
6961 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
6962 | ||
6963 | self = self; | |
6964 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
6965 | return NULL; | |
6966 | if (_argo0) { | |
6967 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
6968 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
6969 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p."); | |
6970 | return NULL; | |
6971 | } | |
6972 | } | |
6973 | if (_argo1) { | |
6974 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
6975 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
6976 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p."); | |
6977 | return NULL; | |
6978 | } | |
6979 | } | |
6980 | _arg6 = (bool ) tempbool6; | |
6981 | { | |
4268f798 | 6982 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 6983 | wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 6984 | |
4268f798 RD |
6985 | wxPyEndAllowThreads(__tstate); |
6986 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
6987 | } Py_INCREF(Py_None); |
6988 | _resultobj = Py_None; | |
6989 | return _resultobj; | |
6990 | } | |
6991 | ||
6992 | #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
6993 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
6994 | PyObject * _resultobj; | |
6995 | wxPyDrawnShape * _arg0; | |
6996 | bool _arg1; | |
6997 | double _arg2; | |
6998 | double _arg3; | |
6999 | int _arg4 = (int ) 0; | |
7000 | int _arg5 = (int ) 0; | |
7001 | PyObject * _argo0 = 0; | |
7002 | int tempbool1; | |
7003 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7004 | ||
7005 | self = self; | |
7006 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7007 | return NULL; | |
7008 | if (_argo0) { | |
7009 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7010 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7011 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p."); | |
7012 | return NULL; | |
7013 | } | |
7014 | } | |
7015 | _arg1 = (bool ) tempbool1; | |
7016 | { | |
4268f798 | 7017 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7018 | wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 7019 | |
4268f798 RD |
7020 | wxPyEndAllowThreads(__tstate); |
7021 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7022 | } Py_INCREF(Py_None); |
7023 | _resultobj = Py_None; | |
7024 | return _resultobj; | |
7025 | } | |
7026 | ||
7027 | #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7028 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7029 | PyObject * _resultobj; | |
7030 | wxPyDrawnShape * _arg0; | |
7031 | double _arg1; | |
7032 | double _arg2; | |
7033 | int _arg3 = (int ) 0; | |
7034 | int _arg4 = (int ) 0; | |
7035 | PyObject * _argo0 = 0; | |
7036 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7037 | ||
7038 | self = self; | |
7039 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7040 | return NULL; | |
7041 | if (_argo0) { | |
7042 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7043 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7044 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
7045 | return NULL; | |
7046 | } | |
7047 | } | |
7048 | { | |
4268f798 | 7049 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7050 | wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 7051 | |
4268f798 RD |
7052 | wxPyEndAllowThreads(__tstate); |
7053 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7054 | } Py_INCREF(Py_None); |
7055 | _resultobj = Py_None; | |
7056 | return _resultobj; | |
7057 | } | |
7058 | ||
7059 | #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7060 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7061 | PyObject * _resultobj; | |
7062 | wxPyDrawnShape * _arg0; | |
7063 | double _arg1; | |
7064 | double _arg2; | |
7065 | int _arg3 = (int ) 0; | |
7066 | int _arg4 = (int ) 0; | |
7067 | PyObject * _argo0 = 0; | |
7068 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7069 | ||
7070 | self = self; | |
7071 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7072 | return NULL; | |
7073 | if (_argo0) { | |
7074 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7075 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p."); | |
7077 | return NULL; | |
7078 | } | |
7079 | } | |
7080 | { | |
4268f798 | 7081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7082 | wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 7083 | |
4268f798 RD |
7084 | wxPyEndAllowThreads(__tstate); |
7085 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7086 | } Py_INCREF(Py_None); |
7087 | _resultobj = Py_None; | |
7088 | return _resultobj; | |
7089 | } | |
7090 | ||
7091 | #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7092 | static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7093 | PyObject * _resultobj; | |
7094 | wxPyDrawnShape * _arg0; | |
7095 | bool _arg1; | |
7096 | double _arg2; | |
7097 | double _arg3; | |
7098 | int _arg4 = (int ) 0; | |
7099 | int _arg5 = (int ) 0; | |
7100 | PyObject * _argo0 = 0; | |
7101 | int tempbool1; | |
7102 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
7103 | ||
7104 | self = self; | |
7105 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7106 | return NULL; | |
7107 | if (_argo0) { | |
7108 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7109 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7110 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p."); | |
7111 | return NULL; | |
7112 | } | |
7113 | } | |
7114 | _arg1 = (bool ) tempbool1; | |
7115 | { | |
4268f798 | 7116 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7117 | wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 7118 | |
4268f798 RD |
7119 | wxPyEndAllowThreads(__tstate); |
7120 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7121 | } Py_INCREF(Py_None); |
7122 | _resultobj = Py_None; | |
7123 | return _resultobj; | |
7124 | } | |
7125 | ||
7126 | #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7127 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7128 | PyObject * _resultobj; | |
7129 | wxPyDrawnShape * _arg0; | |
7130 | double _arg1; | |
7131 | double _arg2; | |
7132 | int _arg3 = (int ) 0; | |
7133 | int _arg4 = (int ) 0; | |
7134 | PyObject * _argo0 = 0; | |
7135 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7136 | ||
7137 | self = self; | |
7138 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7139 | return NULL; | |
7140 | if (_argo0) { | |
7141 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7142 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7143 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p."); | |
7144 | return NULL; | |
7145 | } | |
7146 | } | |
7147 | { | |
4268f798 | 7148 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7149 | wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 7150 | |
4268f798 RD |
7151 | wxPyEndAllowThreads(__tstate); |
7152 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7153 | } Py_INCREF(Py_None); |
7154 | _resultobj = Py_None; | |
7155 | return _resultobj; | |
7156 | } | |
7157 | ||
7158 | #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
7159 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7160 | PyObject * _resultobj; | |
7161 | wxPyDrawnShape * _arg0; | |
7162 | double _arg1; | |
7163 | double _arg2; | |
7164 | int _arg3 = (int ) 0; | |
7165 | int _arg4 = (int ) 0; | |
7166 | PyObject * _argo0 = 0; | |
7167 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
7168 | ||
7169 | self = self; | |
7170 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
7171 | return NULL; | |
7172 | if (_argo0) { | |
7173 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7174 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7175 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p."); | |
7176 | return NULL; | |
7177 | } | |
7178 | } | |
7179 | { | |
4268f798 | 7180 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7181 | wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 7182 | |
4268f798 RD |
7183 | wxPyEndAllowThreads(__tstate); |
7184 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7185 | } Py_INCREF(Py_None); |
7186 | _resultobj = Py_None; | |
7187 | return _resultobj; | |
7188 | } | |
7189 | ||
7190 | #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7191 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7192 | PyObject * _resultobj; | |
7193 | wxPyDrawnShape * _arg0; | |
7194 | wxDC * _arg1; | |
7195 | double _arg2; | |
7196 | double _arg3; | |
7197 | double _arg4; | |
7198 | double _arg5; | |
7199 | PyObject * _argo0 = 0; | |
7200 | PyObject * _argo1 = 0; | |
7201 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
7202 | ||
7203 | self = self; | |
7204 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7205 | return NULL; | |
7206 | if (_argo0) { | |
7207 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7208 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7209 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p."); | |
7210 | return NULL; | |
7211 | } | |
7212 | } | |
7213 | if (_argo1) { | |
7214 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7215 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7216 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p."); | |
7217 | return NULL; | |
7218 | } | |
7219 | } | |
7220 | { | |
4268f798 | 7221 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7222 | wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 7223 | |
4268f798 RD |
7224 | wxPyEndAllowThreads(__tstate); |
7225 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7226 | } Py_INCREF(Py_None); |
7227 | _resultobj = Py_None; | |
7228 | return _resultobj; | |
7229 | } | |
7230 | ||
7231 | #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
7232 | static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7233 | PyObject * _resultobj; | |
7234 | wxPyDrawnShape * _arg0; | |
7235 | wxDC * _arg1; | |
7236 | PyObject * _argo0 = 0; | |
7237 | PyObject * _argo1 = 0; | |
7238 | char *_kwnames[] = { "self","dc", NULL }; | |
7239 | ||
7240 | self = self; | |
7241 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
7242 | return NULL; | |
7243 | if (_argo0) { | |
7244 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7245 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7246 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p."); | |
7247 | return NULL; | |
7248 | } | |
7249 | } | |
7250 | if (_argo1) { | |
7251 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7252 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7253 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
7254 | return NULL; | |
7255 | } | |
7256 | } | |
7257 | { | |
4268f798 | 7258 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7259 | wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1); |
e91a9dfc | 7260 | |
4268f798 RD |
7261 | wxPyEndAllowThreads(__tstate); |
7262 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7263 | } Py_INCREF(Py_None); |
7264 | _resultobj = Py_None; | |
7265 | return _resultobj; | |
7266 | } | |
7267 | ||
7268 | #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
7269 | static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7270 | PyObject * _resultobj; | |
7271 | wxPyDrawnShape * _arg0; | |
7272 | wxDC * _arg1; | |
7273 | PyObject * _argo0 = 0; | |
7274 | PyObject * _argo1 = 0; | |
7275 | char *_kwnames[] = { "self","dc", NULL }; | |
7276 | ||
7277 | self = self; | |
7278 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
7279 | return NULL; | |
7280 | if (_argo0) { | |
7281 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7282 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7283 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p."); | |
7284 | return NULL; | |
7285 | } | |
7286 | } | |
7287 | if (_argo1) { | |
7288 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7289 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7290 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
7291 | return NULL; | |
7292 | } | |
7293 | } | |
7294 | { | |
4268f798 | 7295 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7296 | wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1); |
e91a9dfc | 7297 | |
4268f798 RD |
7298 | wxPyEndAllowThreads(__tstate); |
7299 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7300 | } Py_INCREF(Py_None); |
7301 | _resultobj = Py_None; | |
7302 | return _resultobj; | |
7303 | } | |
7304 | ||
7305 | #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
7306 | static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7307 | PyObject * _resultobj; | |
7308 | wxPyDrawnShape * _arg0; | |
7309 | wxDC * _arg1; | |
7310 | bool _arg2 = (bool ) TRUE; | |
7311 | PyObject * _argo0 = 0; | |
7312 | PyObject * _argo1 = 0; | |
7313 | int tempbool2 = (int) TRUE; | |
7314 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
7315 | ||
7316 | self = self; | |
7317 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
7318 | return NULL; | |
7319 | if (_argo0) { | |
7320 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7321 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7322 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p."); | |
7323 | return NULL; | |
7324 | } | |
7325 | } | |
7326 | if (_argo1) { | |
7327 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7328 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
7329 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p."); | |
7330 | return NULL; | |
7331 | } | |
7332 | } | |
7333 | _arg2 = (bool ) tempbool2; | |
7334 | { | |
4268f798 | 7335 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7336 | wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2); |
e91a9dfc | 7337 | |
4268f798 RD |
7338 | wxPyEndAllowThreads(__tstate); |
7339 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7340 | } Py_INCREF(Py_None); |
7341 | _resultobj = Py_None; | |
7342 | return _resultobj; | |
7343 | } | |
7344 | ||
7345 | #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
7346 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7347 | PyObject * _resultobj; | |
7348 | wxPyDrawnShape * _arg0; | |
2348eaee | 7349 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7350 | bool _arg2; |
7351 | double _arg3; | |
7352 | double _arg4; | |
7353 | int _arg5 = (int ) 0; | |
7354 | int _arg6 = (int ) 0; | |
7355 | PyObject * _argo0 = 0; | |
7356 | PyObject * _argo1 = 0; | |
7357 | int tempbool2; | |
7358 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
7359 | ||
7360 | self = self; | |
7361 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
7362 | return NULL; | |
7363 | if (_argo0) { | |
7364 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7365 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7366 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p."); | |
7367 | return NULL; | |
7368 | } | |
7369 | } | |
7370 | if (_argo1) { | |
7371 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7372 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7373 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7374 | return NULL; |
7375 | } | |
7376 | } | |
7377 | _arg2 = (bool ) tempbool2; | |
7378 | { | |
4268f798 | 7379 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7380 | wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 7381 | |
4268f798 RD |
7382 | wxPyEndAllowThreads(__tstate); |
7383 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7384 | } Py_INCREF(Py_None); |
7385 | _resultobj = Py_None; | |
7386 | return _resultobj; | |
7387 | } | |
7388 | ||
7389 | #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7390 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7391 | PyObject * _resultobj; | |
7392 | wxPyDrawnShape * _arg0; | |
2348eaee | 7393 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7394 | double _arg2; |
7395 | double _arg3; | |
7396 | int _arg4 = (int ) 0; | |
7397 | int _arg5 = (int ) 0; | |
7398 | PyObject * _argo0 = 0; | |
7399 | PyObject * _argo1 = 0; | |
7400 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7401 | ||
7402 | self = self; | |
7403 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7404 | return NULL; | |
7405 | if (_argo0) { | |
7406 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7407 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7408 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p."); | |
7409 | return NULL; | |
7410 | } | |
7411 | } | |
7412 | if (_argo1) { | |
7413 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7414 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7415 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7416 | return NULL; |
7417 | } | |
7418 | } | |
7419 | { | |
4268f798 | 7420 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7421 | wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 7422 | |
4268f798 RD |
7423 | wxPyEndAllowThreads(__tstate); |
7424 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7425 | } Py_INCREF(Py_None); |
7426 | _resultobj = Py_None; | |
7427 | return _resultobj; | |
7428 | } | |
7429 | ||
7430 | #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
7431 | static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7432 | PyObject * _resultobj; | |
7433 | wxPyDrawnShape * _arg0; | |
2348eaee | 7434 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
7435 | double _arg2; |
7436 | double _arg3; | |
7437 | int _arg4 = (int ) 0; | |
7438 | int _arg5 = (int ) 0; | |
7439 | PyObject * _argo0 = 0; | |
7440 | PyObject * _argo1 = 0; | |
7441 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
7442 | ||
7443 | self = self; | |
7444 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
7445 | return NULL; | |
7446 | if (_argo0) { | |
7447 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7448 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7449 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p."); | |
7450 | return NULL; | |
7451 | } | |
7452 | } | |
7453 | if (_argo1) { | |
7454 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
7455 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
7456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
7457 | return NULL; |
7458 | } | |
7459 | } | |
7460 | { | |
4268f798 | 7461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7462 | wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 7463 | |
4268f798 RD |
7464 | wxPyEndAllowThreads(__tstate); |
7465 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7466 | } Py_INCREF(Py_None); |
7467 | _resultobj = Py_None; | |
7468 | return _resultobj; | |
7469 | } | |
7470 | ||
7471 | #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
7472 | static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7473 | PyObject * _resultobj; | |
7474 | wxPyDrawnShape * _arg0; | |
7475 | double _arg1; | |
7476 | double _arg2; | |
7477 | PyObject * _argo0 = 0; | |
7478 | char *_kwnames[] = { "self","w","h", NULL }; | |
7479 | ||
7480 | self = self; | |
7481 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7482 | return NULL; | |
7483 | if (_argo0) { | |
7484 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7485 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7486 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p."); | |
7487 | return NULL; | |
7488 | } | |
7489 | } | |
7490 | { | |
4268f798 | 7491 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7492 | wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2); |
e91a9dfc | 7493 | |
4268f798 RD |
7494 | wxPyEndAllowThreads(__tstate); |
7495 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7496 | } Py_INCREF(Py_None); |
7497 | _resultobj = Py_None; | |
7498 | return _resultobj; | |
7499 | } | |
7500 | ||
7501 | #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
7502 | static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7503 | PyObject * _resultobj; | |
7504 | wxPyDrawnShape * _arg0; | |
7505 | double _arg1; | |
7506 | double _arg2; | |
7507 | PyObject * _argo0 = 0; | |
7508 | char *_kwnames[] = { "self","w","h", NULL }; | |
7509 | ||
7510 | self = self; | |
7511 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7512 | return NULL; | |
7513 | if (_argo0) { | |
7514 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7515 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) { | |
7516 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p."); | |
7517 | return NULL; | |
7518 | } | |
7519 | } | |
7520 | { | |
4268f798 | 7521 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7522 | wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2); |
e91a9dfc | 7523 | |
4268f798 RD |
7524 | wxPyEndAllowThreads(__tstate); |
7525 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7526 | } Py_INCREF(Py_None); |
7527 | _resultobj = Py_None; | |
7528 | return _resultobj; | |
7529 | } | |
7530 | ||
9416aa89 RD |
7531 | static void *SwigwxOGLConstraintTowxObject(void *ptr) { |
7532 | wxOGLConstraint *src; | |
7533 | wxObject *dest; | |
7534 | src = (wxOGLConstraint *) ptr; | |
7535 | dest = (wxObject *) src; | |
7536 | return (void *) dest; | |
7537 | } | |
7538 | ||
e91a9dfc | 7539 | static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) { |
99ab9f3b | 7540 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); |
e91a9dfc RD |
7541 | wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list); |
7542 | delete list; | |
7543 | return rv; | |
7544 | } | |
7545 | ||
7546 | static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7547 | PyObject * _resultobj; | |
7548 | wxOGLConstraint * _result; | |
7549 | int _arg0; | |
7550 | wxPyShape * _arg1; | |
7551 | PyObject * _arg2; | |
7552 | PyObject * _argo1 = 0; | |
7553 | PyObject * _obj2 = 0; | |
7554 | char *_kwnames[] = { "type","constraining","constrained", NULL }; | |
7555 | char _ptemp[128]; | |
7556 | ||
7557 | self = self; | |
7558 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2)) | |
7559 | return NULL; | |
7560 | if (_argo1) { | |
7561 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7562 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7563 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p."); | |
7564 | return NULL; | |
7565 | } | |
7566 | } | |
7567 | { | |
7568 | _arg2 = _obj2; | |
7569 | } | |
7570 | { | |
4268f798 | 7571 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7572 | _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2); |
e91a9dfc | 7573 | |
4268f798 RD |
7574 | wxPyEndAllowThreads(__tstate); |
7575 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7576 | } if (_result) { |
7577 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p"); | |
7578 | _resultobj = Py_BuildValue("s",_ptemp); | |
7579 | } else { | |
7580 | Py_INCREF(Py_None); | |
7581 | _resultobj = Py_None; | |
7582 | } | |
7583 | return _resultobj; | |
7584 | } | |
7585 | ||
e91a9dfc RD |
7586 | #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate()) |
7587 | static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7588 | PyObject * _resultobj; | |
7589 | bool _result; | |
7590 | wxOGLConstraint * _arg0; | |
7591 | PyObject * _argo0 = 0; | |
7592 | char *_kwnames[] = { "self", NULL }; | |
7593 | ||
7594 | self = self; | |
7595 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0)) | |
7596 | return NULL; | |
7597 | if (_argo0) { | |
7598 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7599 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7600 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p."); | |
7601 | return NULL; | |
7602 | } | |
7603 | } | |
7604 | { | |
4268f798 | 7605 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7606 | _result = (bool )wxOGLConstraint_Evaluate(_arg0); |
e91a9dfc | 7607 | |
4268f798 RD |
7608 | wxPyEndAllowThreads(__tstate); |
7609 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7610 | } _resultobj = Py_BuildValue("i",_result); |
7611 | return _resultobj; | |
7612 | } | |
7613 | ||
7614 | #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1)) | |
7615 | static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7616 | PyObject * _resultobj; | |
7617 | wxOGLConstraint * _arg0; | |
7618 | double _arg1; | |
7619 | double _arg2; | |
7620 | PyObject * _argo0 = 0; | |
7621 | char *_kwnames[] = { "self","x","y", NULL }; | |
7622 | ||
7623 | self = self; | |
7624 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7625 | return NULL; | |
7626 | if (_argo0) { | |
7627 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7628 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7629 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p."); | |
7630 | return NULL; | |
7631 | } | |
7632 | } | |
7633 | { | |
4268f798 | 7634 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7635 | wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2); |
e91a9dfc | 7636 | |
4268f798 RD |
7637 | wxPyEndAllowThreads(__tstate); |
7638 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7639 | } Py_INCREF(Py_None); |
7640 | _resultobj = Py_None; | |
7641 | return _resultobj; | |
7642 | } | |
7643 | ||
7644 | #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1)) | |
7645 | static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7646 | PyObject * _resultobj; | |
7647 | bool _result; | |
7648 | wxOGLConstraint * _arg0; | |
7649 | double _arg1; | |
7650 | double _arg2; | |
7651 | PyObject * _argo0 = 0; | |
7652 | char *_kwnames[] = { "self","a","b", NULL }; | |
7653 | ||
7654 | self = self; | |
7655 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2)) | |
7656 | return NULL; | |
7657 | if (_argo0) { | |
7658 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7659 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) { | |
7660 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p."); | |
7661 | return NULL; | |
7662 | } | |
7663 | } | |
7664 | { | |
4268f798 | 7665 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7666 | _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2); |
e91a9dfc | 7667 | |
4268f798 RD |
7668 | wxPyEndAllowThreads(__tstate); |
7669 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7670 | } _resultobj = Py_BuildValue("i",_result); |
7671 | return _resultobj; | |
7672 | } | |
7673 | ||
7674 | static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) { | |
7675 | wxPyCompositeShape *src; | |
7676 | wxPyRectangleShape *dest; | |
7677 | src = (wxPyCompositeShape *) ptr; | |
7678 | dest = (wxPyRectangleShape *) src; | |
7679 | return (void *) dest; | |
7680 | } | |
7681 | ||
7682 | static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) { | |
7683 | wxPyCompositeShape *src; | |
7684 | wxPyShape *dest; | |
7685 | src = (wxPyCompositeShape *) ptr; | |
7686 | dest = (wxPyShape *) src; | |
7687 | return (void *) dest; | |
7688 | } | |
7689 | ||
7690 | static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) { | |
7691 | wxPyCompositeShape *src; | |
7692 | wxPyShapeEvtHandler *dest; | |
7693 | src = (wxPyCompositeShape *) ptr; | |
7694 | dest = (wxPyShapeEvtHandler *) src; | |
7695 | return (void *) dest; | |
7696 | } | |
7697 | ||
9416aa89 RD |
7698 | static void *SwigwxPyCompositeShapeTowxObject(void *ptr) { |
7699 | wxPyCompositeShape *src; | |
7700 | wxObject *dest; | |
7701 | src = (wxPyCompositeShape *) ptr; | |
7702 | dest = (wxObject *) src; | |
7703 | return (void *) dest; | |
7704 | } | |
7705 | ||
e91a9dfc RD |
7706 | #define new_wxPyCompositeShape() (new wxPyCompositeShape()) |
7707 | static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7708 | PyObject * _resultobj; | |
7709 | wxPyCompositeShape * _result; | |
7710 | char *_kwnames[] = { NULL }; | |
7711 | char _ptemp[128]; | |
7712 | ||
7713 | self = self; | |
7714 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames)) | |
7715 | return NULL; | |
7716 | { | |
4268f798 | 7717 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7718 | _result = (wxPyCompositeShape *)new_wxPyCompositeShape(); |
e91a9dfc | 7719 | |
4268f798 RD |
7720 | wxPyEndAllowThreads(__tstate); |
7721 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7722 | } if (_result) { |
7723 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p"); | |
7724 | _resultobj = Py_BuildValue("s",_ptemp); | |
7725 | } else { | |
7726 | Py_INCREF(Py_None); | |
7727 | _resultobj = Py_None; | |
7728 | } | |
7729 | return _resultobj; | |
7730 | } | |
7731 | ||
0122b7e3 RD |
7732 | #define wxPyCompositeShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
7733 | static PyObject *_wrap_wxPyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
7734 | PyObject * _resultobj; |
7735 | wxPyCompositeShape * _arg0; | |
7736 | PyObject * _arg1; | |
f6bcfd97 | 7737 | PyObject * _arg2; |
e91a9dfc RD |
7738 | PyObject * _argo0 = 0; |
7739 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
7740 | PyObject * _obj2 = 0; |
7741 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
7742 | |
7743 | self = self; | |
0122b7e3 | 7744 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
7745 | return NULL; |
7746 | if (_argo0) { | |
7747 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7748 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
0122b7e3 | 7749 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setCallbackInfo. Expected _wxPyCompositeShape_p."); |
e91a9dfc RD |
7750 | return NULL; |
7751 | } | |
7752 | } | |
7753 | { | |
7754 | _arg1 = _obj1; | |
7755 | } | |
f6bcfd97 BP |
7756 | { |
7757 | _arg2 = _obj2; | |
7758 | } | |
e91a9dfc | 7759 | { |
4268f798 | 7760 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7761 | wxPyCompositeShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc | 7762 | |
4268f798 RD |
7763 | wxPyEndAllowThreads(__tstate); |
7764 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7765 | } Py_INCREF(Py_None); |
7766 | _resultobj = Py_None; | |
7767 | return _resultobj; | |
7768 | } | |
7769 | ||
7770 | #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1)) | |
7771 | static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7772 | PyObject * _resultobj; | |
7773 | wxPyCompositeShape * _arg0; | |
7774 | wxPyShape * _arg1; | |
7775 | wxPyShape * _arg2 = (wxPyShape *) NULL; | |
7776 | PyObject * _argo0 = 0; | |
7777 | PyObject * _argo1 = 0; | |
7778 | PyObject * _argo2 = 0; | |
7779 | char *_kwnames[] = { "self","child","addAfter", NULL }; | |
7780 | ||
7781 | self = self; | |
7782 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2)) | |
7783 | return NULL; | |
7784 | if (_argo0) { | |
7785 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7786 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7787 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p."); | |
7788 | return NULL; | |
7789 | } | |
7790 | } | |
7791 | if (_argo1) { | |
7792 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7793 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
7794 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7795 | return NULL; | |
7796 | } | |
7797 | } | |
7798 | if (_argo2) { | |
7799 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7800 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7801 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p."); | |
7802 | return NULL; | |
7803 | } | |
7804 | } | |
7805 | { | |
4268f798 | 7806 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7807 | wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2); |
e91a9dfc | 7808 | |
4268f798 RD |
7809 | wxPyEndAllowThreads(__tstate); |
7810 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7811 | } Py_INCREF(Py_None); |
7812 | _resultobj = Py_None; | |
7813 | return _resultobj; | |
7814 | } | |
7815 | ||
7816 | #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0)) | |
7817 | static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7818 | PyObject * _resultobj; | |
7819 | wxOGLConstraint * _result; | |
7820 | wxPyCompositeShape * _arg0; | |
7821 | wxOGLConstraint * _arg1; | |
7822 | PyObject * _argo0 = 0; | |
7823 | PyObject * _argo1 = 0; | |
7824 | char *_kwnames[] = { "self","constraint", NULL }; | |
e91a9dfc RD |
7825 | |
7826 | self = self; | |
7827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1)) | |
7828 | return NULL; | |
7829 | if (_argo0) { | |
7830 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7831 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p."); | |
7833 | return NULL; | |
7834 | } | |
7835 | } | |
7836 | if (_argo1) { | |
7837 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7838 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
7839 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p."); | |
7840 | return NULL; | |
7841 | } | |
7842 | } | |
7843 | { | |
4268f798 | 7844 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7845 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1); |
e91a9dfc | 7846 | |
4268f798 RD |
7847 | wxPyEndAllowThreads(__tstate); |
7848 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 7849 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
7850 | return _resultobj; |
7851 | } | |
7852 | ||
714d23b4 | 7853 | static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) { |
99ab9f3b | 7854 | wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p"); |
714d23b4 RD |
7855 | wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list); |
7856 | delete list; | |
7857 | return rv; | |
7858 | } | |
7859 | static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7860 | PyObject * _resultobj; | |
7861 | wxOGLConstraint * _result; | |
7862 | wxPyCompositeShape * _arg0; | |
7863 | int _arg1; | |
7864 | wxPyShape * _arg2; | |
7865 | PyObject * _arg3; | |
7866 | PyObject * _argo0 = 0; | |
7867 | PyObject * _argo2 = 0; | |
7868 | PyObject * _obj3 = 0; | |
7869 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
714d23b4 RD |
7870 | |
7871 | self = self; | |
7872 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3)) | |
7873 | return NULL; | |
7874 | if (_argo0) { | |
7875 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7876 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7877 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p."); | |
7878 | return NULL; | |
7879 | } | |
7880 | } | |
7881 | if (_argo2) { | |
7882 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7883 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7884 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p."); | |
7885 | return NULL; | |
7886 | } | |
7887 | } | |
7888 | { | |
7889 | _arg3 = _obj3; | |
7890 | } | |
7891 | { | |
4268f798 | 7892 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7893 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3); |
714d23b4 | 7894 | |
4268f798 RD |
7895 | wxPyEndAllowThreads(__tstate); |
7896 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 7897 | }{ _resultobj = wxPyMake_wxObject(_result); } |
714d23b4 RD |
7898 | return _resultobj; |
7899 | } | |
7900 | ||
e91a9dfc RD |
7901 | #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2)) |
7902 | static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7903 | PyObject * _resultobj; | |
7904 | wxOGLConstraint * _result; | |
7905 | wxPyCompositeShape * _arg0; | |
7906 | int _arg1; | |
7907 | wxPyShape * _arg2; | |
7908 | wxPyShape * _arg3; | |
7909 | PyObject * _argo0 = 0; | |
7910 | PyObject * _argo2 = 0; | |
7911 | PyObject * _argo3 = 0; | |
7912 | char *_kwnames[] = { "self","type","constraining","constrained", NULL }; | |
e91a9dfc RD |
7913 | |
7914 | self = self; | |
7915 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3)) | |
7916 | return NULL; | |
7917 | if (_argo0) { | |
7918 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7919 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7920 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p."); | |
7921 | return NULL; | |
7922 | } | |
7923 | } | |
7924 | if (_argo2) { | |
7925 | if (_argo2 == Py_None) { _arg2 = NULL; } | |
7926 | else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) { | |
7927 | PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7928 | return NULL; | |
7929 | } | |
7930 | } | |
7931 | if (_argo3) { | |
7932 | if (_argo3 == Py_None) { _arg3 = NULL; } | |
7933 | else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) { | |
7934 | PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p."); | |
7935 | return NULL; | |
7936 | } | |
7937 | } | |
7938 | { | |
4268f798 | 7939 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7940 | _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3); |
e91a9dfc | 7941 | |
4268f798 RD |
7942 | wxPyEndAllowThreads(__tstate); |
7943 | if (PyErr_Occurred()) return NULL; | |
9416aa89 | 7944 | }{ _resultobj = wxPyMake_wxObject(_result); } |
e91a9dfc RD |
7945 | return _resultobj; |
7946 | } | |
7947 | ||
7948 | #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize()) | |
7949 | static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7950 | PyObject * _resultobj; | |
7951 | wxPyCompositeShape * _arg0; | |
7952 | PyObject * _argo0 = 0; | |
7953 | char *_kwnames[] = { "self", NULL }; | |
7954 | ||
7955 | self = self; | |
7956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0)) | |
7957 | return NULL; | |
7958 | if (_argo0) { | |
7959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p."); | |
7962 | return NULL; | |
7963 | } | |
7964 | } | |
7965 | { | |
4268f798 | 7966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 7967 | wxPyCompositeShape_CalculateSize(_arg0); |
e91a9dfc | 7968 | |
4268f798 RD |
7969 | wxPyEndAllowThreads(__tstate); |
7970 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
7971 | } Py_INCREF(Py_None); |
7972 | _resultobj = Py_None; | |
7973 | return _resultobj; | |
7974 | } | |
7975 | ||
7976 | #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0)) | |
7977 | static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) { | |
7978 | PyObject * _resultobj; | |
7979 | bool _result; | |
7980 | wxPyCompositeShape * _arg0; | |
7981 | wxPyDivisionShape * _arg1; | |
7982 | PyObject * _argo0 = 0; | |
7983 | PyObject * _argo1 = 0; | |
7984 | char *_kwnames[] = { "self","division", NULL }; | |
7985 | ||
7986 | self = self; | |
7987 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1)) | |
7988 | return NULL; | |
7989 | if (_argo0) { | |
7990 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
7991 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
7992 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p."); | |
7993 | return NULL; | |
7994 | } | |
7995 | } | |
7996 | if (_argo1) { | |
7997 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
7998 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
7999 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p."); | |
8000 | return NULL; | |
8001 | } | |
8002 | } | |
8003 | { | |
4268f798 | 8004 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8005 | _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1); |
e91a9dfc | 8006 | |
4268f798 RD |
8007 | wxPyEndAllowThreads(__tstate); |
8008 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8009 | } _resultobj = Py_BuildValue("i",_result); |
8010 | return _resultobj; | |
8011 | } | |
8012 | ||
8013 | #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0)) | |
8014 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8015 | PyObject * _resultobj; | |
8016 | wxPyCompositeShape * _arg0; | |
8017 | wxOGLConstraint * _arg1; | |
8018 | PyObject * _argo0 = 0; | |
8019 | PyObject * _argo1 = 0; | |
8020 | char *_kwnames[] = { "self","constraint", NULL }; | |
8021 | ||
8022 | self = self; | |
8023 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1)) | |
8024 | return NULL; | |
8025 | if (_argo0) { | |
8026 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8027 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8028 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p."); | |
8029 | return NULL; | |
8030 | } | |
8031 | } | |
8032 | if (_argo1) { | |
8033 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8034 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) { | |
8035 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p."); | |
8036 | return NULL; | |
8037 | } | |
8038 | } | |
8039 | { | |
4268f798 | 8040 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8041 | wxPyCompositeShape_DeleteConstraint(_arg0,_arg1); |
e91a9dfc | 8042 | |
4268f798 RD |
8043 | wxPyEndAllowThreads(__tstate); |
8044 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8045 | } Py_INCREF(Py_None); |
8046 | _resultobj = Py_None; | |
8047 | return _resultobj; | |
8048 | } | |
8049 | ||
8050 | #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0)) | |
8051 | static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8052 | PyObject * _resultobj; | |
8053 | wxPyCompositeShape * _arg0; | |
8054 | wxPyShape * _arg1; | |
8055 | PyObject * _argo0 = 0; | |
8056 | PyObject * _argo1 = 0; | |
8057 | char *_kwnames[] = { "self","child", NULL }; | |
8058 | ||
8059 | self = self; | |
8060 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1)) | |
8061 | return NULL; | |
8062 | if (_argo0) { | |
8063 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8064 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8065 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p."); | |
8066 | return NULL; | |
8067 | } | |
8068 | } | |
8069 | if (_argo1) { | |
8070 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8071 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
8072 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p."); | |
8073 | return NULL; | |
8074 | } | |
8075 | } | |
8076 | { | |
4268f798 | 8077 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8078 | wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1); |
e91a9dfc | 8079 | |
4268f798 RD |
8080 | wxPyEndAllowThreads(__tstate); |
8081 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8082 | } Py_INCREF(Py_None); |
8083 | _resultobj = Py_None; | |
8084 | return _resultobj; | |
8085 | } | |
8086 | ||
8087 | #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage()) | |
8088 | static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8089 | PyObject * _resultobj; | |
8090 | wxPyShape * _result; | |
8091 | wxPyCompositeShape * _arg0; | |
8092 | PyObject * _argo0 = 0; | |
8093 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
8094 | |
8095 | self = self; | |
8096 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0)) | |
8097 | return NULL; | |
8098 | if (_argo0) { | |
8099 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8100 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8101 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p."); | |
8102 | return NULL; | |
8103 | } | |
8104 | } | |
8105 | { | |
4268f798 | 8106 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8107 | _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0); |
e91a9dfc | 8108 | |
4268f798 RD |
8109 | wxPyEndAllowThreads(__tstate); |
8110 | if (PyErr_Occurred()) return NULL; | |
2f4e9287 | 8111 | }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); } |
e91a9dfc RD |
8112 | return _resultobj; |
8113 | } | |
8114 | ||
8115 | static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) { | |
8116 | wxList& list = self->GetConstraints(); | |
8117 | return wxPy_ConvertList(&list, "wxOGLConstraint"); | |
8118 | } | |
8119 | static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8120 | PyObject * _resultobj; | |
8121 | PyObject * _result; | |
8122 | wxPyCompositeShape * _arg0; | |
8123 | PyObject * _argo0 = 0; | |
8124 | char *_kwnames[] = { "self", NULL }; | |
8125 | ||
8126 | self = self; | |
8127 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0)) | |
8128 | return NULL; | |
8129 | if (_argo0) { | |
8130 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8131 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8132 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p."); | |
8133 | return NULL; | |
8134 | } | |
8135 | } | |
8136 | { | |
4268f798 | 8137 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8138 | _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0); |
e91a9dfc | 8139 | |
4268f798 RD |
8140 | wxPyEndAllowThreads(__tstate); |
8141 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8142 | }{ |
8143 | _resultobj = _result; | |
8144 | } | |
8145 | return _resultobj; | |
8146 | } | |
8147 | ||
8148 | static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) { | |
8149 | wxList& list = self->GetDivisions(); | |
8150 | return wxPy_ConvertList(&list, "wxPyDivisionShape"); | |
8151 | } | |
8152 | static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8153 | PyObject * _resultobj; | |
8154 | PyObject * _result; | |
8155 | wxPyCompositeShape * _arg0; | |
8156 | PyObject * _argo0 = 0; | |
8157 | char *_kwnames[] = { "self", NULL }; | |
8158 | ||
8159 | self = self; | |
8160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0)) | |
8161 | return NULL; | |
8162 | if (_argo0) { | |
8163 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8164 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8165 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p."); | |
8166 | return NULL; | |
8167 | } | |
8168 | } | |
8169 | { | |
4268f798 | 8170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8171 | _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0); |
e91a9dfc | 8172 | |
4268f798 RD |
8173 | wxPyEndAllowThreads(__tstate); |
8174 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8175 | }{ |
8176 | _resultobj = _result; | |
8177 | } | |
8178 | return _resultobj; | |
8179 | } | |
8180 | ||
8181 | #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer()) | |
8182 | static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8183 | PyObject * _resultobj; | |
8184 | wxPyCompositeShape * _arg0; | |
8185 | PyObject * _argo0 = 0; | |
8186 | char *_kwnames[] = { "self", NULL }; | |
8187 | ||
8188 | self = self; | |
8189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0)) | |
8190 | return NULL; | |
8191 | if (_argo0) { | |
8192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p."); | |
8195 | return NULL; | |
8196 | } | |
8197 | } | |
8198 | { | |
4268f798 | 8199 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8200 | wxPyCompositeShape_MakeContainer(_arg0); |
e91a9dfc | 8201 | |
4268f798 RD |
8202 | wxPyEndAllowThreads(__tstate); |
8203 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8204 | } Py_INCREF(Py_None); |
8205 | _resultobj = Py_None; | |
8206 | return _resultobj; | |
8207 | } | |
8208 | ||
8209 | #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute()) | |
8210 | static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8211 | PyObject * _resultobj; | |
8212 | bool _result; | |
8213 | wxPyCompositeShape * _arg0; | |
8214 | PyObject * _argo0 = 0; | |
8215 | char *_kwnames[] = { "self", NULL }; | |
8216 | ||
8217 | self = self; | |
8218 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0)) | |
8219 | return NULL; | |
8220 | if (_argo0) { | |
8221 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8222 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8223 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p."); | |
8224 | return NULL; | |
8225 | } | |
8226 | } | |
8227 | { | |
4268f798 | 8228 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8229 | _result = (bool )wxPyCompositeShape_Recompute(_arg0); |
e91a9dfc | 8230 | |
4268f798 RD |
8231 | wxPyEndAllowThreads(__tstate); |
8232 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8233 | } _resultobj = Py_BuildValue("i",_result); |
8234 | return _resultobj; | |
8235 | } | |
8236 | ||
8237 | #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0)) | |
8238 | static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8239 | PyObject * _resultobj; | |
8240 | wxPyCompositeShape * _arg0; | |
8241 | wxPyShape * _arg1; | |
8242 | PyObject * _argo0 = 0; | |
8243 | PyObject * _argo1 = 0; | |
8244 | char *_kwnames[] = { "self","child", NULL }; | |
8245 | ||
8246 | self = self; | |
8247 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1)) | |
8248 | return NULL; | |
8249 | if (_argo0) { | |
8250 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8251 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8252 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p."); | |
8253 | return NULL; | |
8254 | } | |
8255 | } | |
8256 | if (_argo1) { | |
8257 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8258 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) { | |
8259 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p."); | |
8260 | return NULL; | |
8261 | } | |
8262 | } | |
8263 | { | |
4268f798 | 8264 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8265 | wxPyCompositeShape_RemoveChild(_arg0,_arg1); |
e91a9dfc | 8266 | |
4268f798 RD |
8267 | wxPyEndAllowThreads(__tstate); |
8268 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8269 | } Py_INCREF(Py_None); |
8270 | _resultobj = Py_None; | |
8271 | return _resultobj; | |
8272 | } | |
8273 | ||
8274 | #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
8275 | static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8276 | PyObject * _resultobj; | |
8277 | wxPyCompositeShape * _arg0; | |
8278 | PyObject * _argo0 = 0; | |
8279 | char *_kwnames[] = { "self", NULL }; | |
8280 | ||
8281 | self = self; | |
8282 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0)) | |
8283 | return NULL; | |
8284 | if (_argo0) { | |
8285 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8286 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8287 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p."); | |
8288 | return NULL; | |
8289 | } | |
8290 | } | |
8291 | { | |
4268f798 | 8292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8293 | wxPyCompositeShape_base_OnDelete(_arg0); |
e91a9dfc | 8294 | |
4268f798 RD |
8295 | wxPyEndAllowThreads(__tstate); |
8296 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8297 | } Py_INCREF(Py_None); |
8298 | _resultobj = Py_None; | |
8299 | return _resultobj; | |
8300 | } | |
8301 | ||
8302 | #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
8303 | static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8304 | PyObject * _resultobj; | |
8305 | wxPyCompositeShape * _arg0; | |
8306 | wxDC * _arg1; | |
8307 | PyObject * _argo0 = 0; | |
8308 | PyObject * _argo1 = 0; | |
8309 | char *_kwnames[] = { "self","dc", NULL }; | |
8310 | ||
8311 | self = self; | |
8312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
8313 | return NULL; | |
8314 | if (_argo0) { | |
8315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p."); | |
8318 | return NULL; | |
8319 | } | |
8320 | } | |
8321 | if (_argo1) { | |
8322 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8323 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p."); | |
8325 | return NULL; | |
8326 | } | |
8327 | } | |
8328 | { | |
4268f798 | 8329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8330 | wxPyCompositeShape_base_OnDraw(_arg0,*_arg1); |
e91a9dfc | 8331 | |
4268f798 RD |
8332 | wxPyEndAllowThreads(__tstate); |
8333 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8334 | } Py_INCREF(Py_None); |
8335 | _resultobj = Py_None; | |
8336 | return _resultobj; | |
8337 | } | |
8338 | ||
8339 | #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
8340 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8341 | PyObject * _resultobj; | |
8342 | wxPyCompositeShape * _arg0; | |
8343 | wxDC * _arg1; | |
8344 | PyObject * _argo0 = 0; | |
8345 | PyObject * _argo1 = 0; | |
8346 | char *_kwnames[] = { "self","dc", NULL }; | |
8347 | ||
8348 | self = self; | |
8349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
8350 | return NULL; | |
8351 | if (_argo0) { | |
8352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p."); | |
8355 | return NULL; | |
8356 | } | |
8357 | } | |
8358 | if (_argo1) { | |
8359 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8360 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p."); | |
8362 | return NULL; | |
8363 | } | |
8364 | } | |
8365 | { | |
4268f798 | 8366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8367 | wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc | 8368 | |
4268f798 RD |
8369 | wxPyEndAllowThreads(__tstate); |
8370 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8371 | } Py_INCREF(Py_None); |
8372 | _resultobj = Py_None; | |
8373 | return _resultobj; | |
8374 | } | |
8375 | ||
8376 | #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
8377 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8378 | PyObject * _resultobj; | |
8379 | wxPyCompositeShape * _arg0; | |
8380 | wxDC * _arg1; | |
8381 | bool _arg2 = (bool ) FALSE; | |
8382 | PyObject * _argo0 = 0; | |
8383 | PyObject * _argo1 = 0; | |
8384 | int tempbool2 = (int) FALSE; | |
8385 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
8386 | ||
8387 | self = self; | |
8388 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
8389 | return NULL; | |
8390 | if (_argo0) { | |
8391 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8392 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8393 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p."); | |
8394 | return NULL; | |
8395 | } | |
8396 | } | |
8397 | if (_argo1) { | |
8398 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8399 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8400 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p."); | |
8401 | return NULL; | |
8402 | } | |
8403 | } | |
8404 | _arg2 = (bool ) tempbool2; | |
8405 | { | |
4268f798 | 8406 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8407 | wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc | 8408 | |
4268f798 RD |
8409 | wxPyEndAllowThreads(__tstate); |
8410 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8411 | } Py_INCREF(Py_None); |
8412 | _resultobj = Py_None; | |
8413 | return _resultobj; | |
8414 | } | |
8415 | ||
8416 | #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
8417 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8418 | PyObject * _resultobj; | |
8419 | wxPyCompositeShape * _arg0; | |
8420 | wxDC * _arg1; | |
8421 | PyObject * _argo0 = 0; | |
8422 | PyObject * _argo1 = 0; | |
8423 | char *_kwnames[] = { "self","dc", NULL }; | |
8424 | ||
8425 | self = self; | |
8426 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
8427 | return NULL; | |
8428 | if (_argo0) { | |
8429 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8430 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8431 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p."); | |
8432 | return NULL; | |
8433 | } | |
8434 | } | |
8435 | if (_argo1) { | |
8436 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8437 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8438 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p."); | |
8439 | return NULL; | |
8440 | } | |
8441 | } | |
8442 | { | |
4268f798 | 8443 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8444 | wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc | 8445 | |
4268f798 RD |
8446 | wxPyEndAllowThreads(__tstate); |
8447 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8448 | } Py_INCREF(Py_None); |
8449 | _resultobj = Py_None; | |
8450 | return _resultobj; | |
8451 | } | |
8452 | ||
8453 | #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
8454 | static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8455 | PyObject * _resultobj; | |
8456 | wxPyCompositeShape * _arg0; | |
8457 | wxDC * _arg1; | |
8458 | PyObject * _argo0 = 0; | |
8459 | PyObject * _argo1 = 0; | |
8460 | char *_kwnames[] = { "self","dc", NULL }; | |
8461 | ||
8462 | self = self; | |
8463 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
8464 | return NULL; | |
8465 | if (_argo0) { | |
8466 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8467 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8468 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p."); | |
8469 | return NULL; | |
8470 | } | |
8471 | } | |
8472 | if (_argo1) { | |
8473 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8474 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8475 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p."); | |
8476 | return NULL; | |
8477 | } | |
8478 | } | |
8479 | { | |
4268f798 | 8480 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8481 | wxPyCompositeShape_base_OnErase(_arg0,*_arg1); |
e91a9dfc | 8482 | |
4268f798 RD |
8483 | wxPyEndAllowThreads(__tstate); |
8484 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8485 | } Py_INCREF(Py_None); |
8486 | _resultobj = Py_None; | |
8487 | return _resultobj; | |
8488 | } | |
8489 | ||
8490 | #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
8491 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8492 | PyObject * _resultobj; | |
8493 | wxPyCompositeShape * _arg0; | |
8494 | wxDC * _arg1; | |
8495 | PyObject * _argo0 = 0; | |
8496 | PyObject * _argo1 = 0; | |
8497 | char *_kwnames[] = { "self","dc", NULL }; | |
8498 | ||
8499 | self = self; | |
8500 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
8501 | return NULL; | |
8502 | if (_argo0) { | |
8503 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8504 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8505 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p."); | |
8506 | return NULL; | |
8507 | } | |
8508 | } | |
8509 | if (_argo1) { | |
8510 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8511 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8512 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p."); | |
8513 | return NULL; | |
8514 | } | |
8515 | } | |
8516 | { | |
4268f798 | 8517 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8518 | wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1); |
e91a9dfc | 8519 | |
4268f798 RD |
8520 | wxPyEndAllowThreads(__tstate); |
8521 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8522 | } Py_INCREF(Py_None); |
8523 | _resultobj = Py_None; | |
8524 | return _resultobj; | |
8525 | } | |
8526 | ||
8527 | #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
8528 | static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8529 | PyObject * _resultobj; | |
8530 | wxPyCompositeShape * _arg0; | |
8531 | wxDC * _arg1; | |
8532 | PyObject * _argo0 = 0; | |
8533 | PyObject * _argo1 = 0; | |
8534 | char *_kwnames[] = { "self","dc", NULL }; | |
8535 | ||
8536 | self = self; | |
8537 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
8538 | return NULL; | |
8539 | if (_argo0) { | |
8540 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8541 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8542 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p."); | |
8543 | return NULL; | |
8544 | } | |
8545 | } | |
8546 | if (_argo1) { | |
8547 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8548 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8549 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p."); | |
8550 | return NULL; | |
8551 | } | |
8552 | } | |
8553 | { | |
4268f798 | 8554 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8555 | wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1); |
e91a9dfc | 8556 | |
4268f798 RD |
8557 | wxPyEndAllowThreads(__tstate); |
8558 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8559 | } Py_INCREF(Py_None); |
8560 | _resultobj = Py_None; | |
8561 | return _resultobj; | |
8562 | } | |
8563 | ||
8564 | #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8565 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8566 | PyObject * _resultobj; | |
8567 | wxPyCompositeShape * _arg0; | |
8568 | double _arg1; | |
8569 | double _arg2; | |
8570 | int _arg3 = (int ) 0; | |
8571 | int _arg4 = (int ) 0; | |
8572 | PyObject * _argo0 = 0; | |
8573 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8574 | ||
8575 | self = self; | |
8576 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8577 | return NULL; | |
8578 | if (_argo0) { | |
8579 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8580 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8581 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p."); | |
8582 | return NULL; | |
8583 | } | |
8584 | } | |
8585 | { | |
4268f798 | 8586 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8587 | wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 8588 | |
4268f798 RD |
8589 | wxPyEndAllowThreads(__tstate); |
8590 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8591 | } Py_INCREF(Py_None); |
8592 | _resultobj = Py_None; | |
8593 | return _resultobj; | |
8594 | } | |
8595 | ||
8596 | #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8597 | static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8598 | PyObject * _resultobj; | |
8599 | wxPyCompositeShape * _arg0; | |
8600 | double _arg1; | |
8601 | double _arg2; | |
8602 | int _arg3 = (int ) 0; | |
8603 | int _arg4 = (int ) 0; | |
8604 | PyObject * _argo0 = 0; | |
8605 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8606 | ||
8607 | self = self; | |
8608 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8609 | return NULL; | |
8610 | if (_argo0) { | |
8611 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8612 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8613 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p."); | |
8614 | return NULL; | |
8615 | } | |
8616 | } | |
8617 | { | |
4268f798 | 8618 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8619 | wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 8620 | |
4268f798 RD |
8621 | wxPyEndAllowThreads(__tstate); |
8622 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8623 | } Py_INCREF(Py_None); |
8624 | _resultobj = Py_None; | |
8625 | return _resultobj; | |
8626 | } | |
8627 | ||
8628 | #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8629 | static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8630 | PyObject * _resultobj; | |
8631 | wxPyCompositeShape * _arg0; | |
8632 | double _arg1; | |
8633 | double _arg2; | |
8634 | int _arg3 = (int ) 0; | |
8635 | int _arg4 = (int ) 0; | |
8636 | PyObject * _argo0 = 0; | |
8637 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8638 | ||
8639 | self = self; | |
8640 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8641 | return NULL; | |
8642 | if (_argo0) { | |
8643 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8644 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8645 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p."); | |
8646 | return NULL; | |
8647 | } | |
8648 | } | |
8649 | { | |
4268f798 | 8650 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8651 | wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 8652 | |
4268f798 RD |
8653 | wxPyEndAllowThreads(__tstate); |
8654 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8655 | } Py_INCREF(Py_None); |
8656 | _resultobj = Py_None; | |
8657 | return _resultobj; | |
8658 | } | |
8659 | ||
8660 | #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
8661 | static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8662 | PyObject * _resultobj; | |
8663 | wxPyCompositeShape * _arg0; | |
8664 | double _arg1; | |
8665 | double _arg2; | |
8666 | PyObject * _argo0 = 0; | |
8667 | char *_kwnames[] = { "self","x","y", NULL }; | |
8668 | ||
8669 | self = self; | |
8670 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
8671 | return NULL; | |
8672 | if (_argo0) { | |
8673 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8674 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8675 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p."); | |
8676 | return NULL; | |
8677 | } | |
8678 | } | |
8679 | { | |
4268f798 | 8680 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8681 | wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2); |
e91a9dfc | 8682 | |
4268f798 RD |
8683 | wxPyEndAllowThreads(__tstate); |
8684 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8685 | } Py_INCREF(Py_None); |
8686 | _resultobj = Py_None; | |
8687 | return _resultobj; | |
8688 | } | |
8689 | ||
8690 | #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8691 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8692 | PyObject * _resultobj; | |
8693 | bool _result; | |
8694 | wxPyCompositeShape * _arg0; | |
8695 | wxDC * _arg1; | |
8696 | double _arg2; | |
8697 | double _arg3; | |
8698 | double _arg4; | |
8699 | double _arg5; | |
8700 | bool _arg6 = (bool ) TRUE; | |
8701 | PyObject * _argo0 = 0; | |
8702 | PyObject * _argo1 = 0; | |
8703 | int tempbool6 = (int) TRUE; | |
8704 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8705 | ||
8706 | self = self; | |
8707 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8708 | return NULL; | |
8709 | if (_argo0) { | |
8710 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8711 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8712 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p."); | |
8713 | return NULL; | |
8714 | } | |
8715 | } | |
8716 | if (_argo1) { | |
8717 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8718 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8719 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p."); | |
8720 | return NULL; | |
8721 | } | |
8722 | } | |
8723 | _arg6 = (bool ) tempbool6; | |
8724 | { | |
4268f798 | 8725 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8726 | _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 8727 | |
4268f798 RD |
8728 | wxPyEndAllowThreads(__tstate); |
8729 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8730 | } _resultobj = Py_BuildValue("i",_result); |
8731 | return _resultobj; | |
8732 | } | |
8733 | ||
8734 | #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
8735 | static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8736 | PyObject * _resultobj; | |
8737 | wxPyCompositeShape * _arg0; | |
8738 | wxDC * _arg1; | |
8739 | double _arg2; | |
8740 | double _arg3; | |
8741 | double _arg4; | |
8742 | double _arg5; | |
8743 | bool _arg6 = (bool ) TRUE; | |
8744 | PyObject * _argo0 = 0; | |
8745 | PyObject * _argo1 = 0; | |
8746 | int tempbool6 = (int) TRUE; | |
8747 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
8748 | ||
8749 | self = self; | |
8750 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
8751 | return NULL; | |
8752 | if (_argo0) { | |
8753 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8754 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8755 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p."); | |
8756 | return NULL; | |
8757 | } | |
8758 | } | |
8759 | if (_argo1) { | |
8760 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
8761 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
8762 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p."); | |
8763 | return NULL; | |
8764 | } | |
8765 | } | |
8766 | _arg6 = (bool ) tempbool6; | |
8767 | { | |
4268f798 | 8768 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8769 | wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 8770 | |
4268f798 RD |
8771 | wxPyEndAllowThreads(__tstate); |
8772 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8773 | } Py_INCREF(Py_None); |
8774 | _resultobj = Py_None; | |
8775 | return _resultobj; | |
8776 | } | |
8777 | ||
8778 | #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8779 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8780 | PyObject * _resultobj; | |
8781 | wxPyCompositeShape * _arg0; | |
8782 | bool _arg1; | |
8783 | double _arg2; | |
8784 | double _arg3; | |
8785 | int _arg4 = (int ) 0; | |
8786 | int _arg5 = (int ) 0; | |
8787 | PyObject * _argo0 = 0; | |
8788 | int tempbool1; | |
8789 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8790 | ||
8791 | self = self; | |
8792 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8793 | return NULL; | |
8794 | if (_argo0) { | |
8795 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8796 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8797 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p."); | |
8798 | return NULL; | |
8799 | } | |
8800 | } | |
8801 | _arg1 = (bool ) tempbool1; | |
8802 | { | |
4268f798 | 8803 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8804 | wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 8805 | |
4268f798 RD |
8806 | wxPyEndAllowThreads(__tstate); |
8807 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8808 | } Py_INCREF(Py_None); |
8809 | _resultobj = Py_None; | |
8810 | return _resultobj; | |
8811 | } | |
8812 | ||
8813 | #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8814 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8815 | PyObject * _resultobj; | |
8816 | wxPyCompositeShape * _arg0; | |
8817 | double _arg1; | |
8818 | double _arg2; | |
8819 | int _arg3 = (int ) 0; | |
8820 | int _arg4 = (int ) 0; | |
8821 | PyObject * _argo0 = 0; | |
8822 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8823 | ||
8824 | self = self; | |
8825 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8826 | return NULL; | |
8827 | if (_argo0) { | |
8828 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8829 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8830 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
8831 | return NULL; | |
8832 | } | |
8833 | } | |
8834 | { | |
4268f798 | 8835 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8836 | wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 8837 | |
4268f798 RD |
8838 | wxPyEndAllowThreads(__tstate); |
8839 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8840 | } Py_INCREF(Py_None); |
8841 | _resultobj = Py_None; | |
8842 | return _resultobj; | |
8843 | } | |
8844 | ||
8845 | #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8846 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8847 | PyObject * _resultobj; | |
8848 | wxPyCompositeShape * _arg0; | |
8849 | double _arg1; | |
8850 | double _arg2; | |
8851 | int _arg3 = (int ) 0; | |
8852 | int _arg4 = (int ) 0; | |
8853 | PyObject * _argo0 = 0; | |
8854 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8855 | ||
8856 | self = self; | |
8857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8858 | return NULL; | |
8859 | if (_argo0) { | |
8860 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8861 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p."); | |
8863 | return NULL; | |
8864 | } | |
8865 | } | |
8866 | { | |
4268f798 | 8867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8868 | wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 8869 | |
4268f798 RD |
8870 | wxPyEndAllowThreads(__tstate); |
8871 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8872 | } Py_INCREF(Py_None); |
8873 | _resultobj = Py_None; | |
8874 | return _resultobj; | |
8875 | } | |
8876 | ||
8877 | #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8878 | static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8879 | PyObject * _resultobj; | |
8880 | wxPyCompositeShape * _arg0; | |
8881 | bool _arg1; | |
8882 | double _arg2; | |
8883 | double _arg3; | |
8884 | int _arg4 = (int ) 0; | |
8885 | int _arg5 = (int ) 0; | |
8886 | PyObject * _argo0 = 0; | |
8887 | int tempbool1; | |
8888 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
8889 | ||
8890 | self = self; | |
8891 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8892 | return NULL; | |
8893 | if (_argo0) { | |
8894 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8895 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8896 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p."); | |
8897 | return NULL; | |
8898 | } | |
8899 | } | |
8900 | _arg1 = (bool ) tempbool1; | |
8901 | { | |
4268f798 | 8902 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8903 | wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 8904 | |
4268f798 RD |
8905 | wxPyEndAllowThreads(__tstate); |
8906 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8907 | } Py_INCREF(Py_None); |
8908 | _resultobj = Py_None; | |
8909 | return _resultobj; | |
8910 | } | |
8911 | ||
8912 | #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8913 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8914 | PyObject * _resultobj; | |
8915 | wxPyCompositeShape * _arg0; | |
8916 | double _arg1; | |
8917 | double _arg2; | |
8918 | int _arg3 = (int ) 0; | |
8919 | int _arg4 = (int ) 0; | |
8920 | PyObject * _argo0 = 0; | |
8921 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8922 | ||
8923 | self = self; | |
8924 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8925 | return NULL; | |
8926 | if (_argo0) { | |
8927 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8928 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8929 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p."); | |
8930 | return NULL; | |
8931 | } | |
8932 | } | |
8933 | { | |
4268f798 | 8934 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8935 | wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 8936 | |
4268f798 RD |
8937 | wxPyEndAllowThreads(__tstate); |
8938 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8939 | } Py_INCREF(Py_None); |
8940 | _resultobj = Py_None; | |
8941 | return _resultobj; | |
8942 | } | |
8943 | ||
8944 | #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
8945 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8946 | PyObject * _resultobj; | |
8947 | wxPyCompositeShape * _arg0; | |
8948 | double _arg1; | |
8949 | double _arg2; | |
8950 | int _arg3 = (int ) 0; | |
8951 | int _arg4 = (int ) 0; | |
8952 | PyObject * _argo0 = 0; | |
8953 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
8954 | ||
8955 | self = self; | |
8956 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
8957 | return NULL; | |
8958 | if (_argo0) { | |
8959 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8960 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8961 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p."); | |
8962 | return NULL; | |
8963 | } | |
8964 | } | |
8965 | { | |
4268f798 | 8966 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 8967 | wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 8968 | |
4268f798 RD |
8969 | wxPyEndAllowThreads(__tstate); |
8970 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
8971 | } Py_INCREF(Py_None); |
8972 | _resultobj = Py_None; | |
8973 | return _resultobj; | |
8974 | } | |
8975 | ||
8976 | #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
8977 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
8978 | PyObject * _resultobj; | |
8979 | wxPyCompositeShape * _arg0; | |
8980 | wxDC * _arg1; | |
8981 | double _arg2; | |
8982 | double _arg3; | |
8983 | double _arg4; | |
8984 | double _arg5; | |
8985 | PyObject * _argo0 = 0; | |
8986 | PyObject * _argo1 = 0; | |
8987 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
8988 | ||
8989 | self = self; | |
8990 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
8991 | return NULL; | |
8992 | if (_argo0) { | |
8993 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
8994 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
8995 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p."); | |
8996 | return NULL; | |
8997 | } | |
8998 | } | |
8999 | if (_argo1) { | |
9000 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9001 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p."); | |
9003 | return NULL; | |
9004 | } | |
9005 | } | |
9006 | { | |
4268f798 | 9007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9008 | wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 9009 | |
4268f798 RD |
9010 | wxPyEndAllowThreads(__tstate); |
9011 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9012 | } Py_INCREF(Py_None); |
9013 | _resultobj = Py_None; | |
9014 | return _resultobj; | |
9015 | } | |
9016 | ||
9017 | #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
9018 | static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9019 | PyObject * _resultobj; | |
9020 | wxPyCompositeShape * _arg0; | |
9021 | wxDC * _arg1; | |
9022 | PyObject * _argo0 = 0; | |
9023 | PyObject * _argo1 = 0; | |
9024 | char *_kwnames[] = { "self","dc", NULL }; | |
9025 | ||
9026 | self = self; | |
9027 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
9028 | return NULL; | |
9029 | if (_argo0) { | |
9030 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9031 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9032 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p."); | |
9033 | return NULL; | |
9034 | } | |
9035 | } | |
9036 | if (_argo1) { | |
9037 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9038 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9039 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
9040 | return NULL; | |
9041 | } | |
9042 | } | |
9043 | { | |
4268f798 | 9044 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9045 | wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1); |
e91a9dfc | 9046 | |
4268f798 RD |
9047 | wxPyEndAllowThreads(__tstate); |
9048 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9049 | } Py_INCREF(Py_None); |
9050 | _resultobj = Py_None; | |
9051 | return _resultobj; | |
9052 | } | |
9053 | ||
9054 | #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
9055 | static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9056 | PyObject * _resultobj; | |
9057 | wxPyCompositeShape * _arg0; | |
9058 | wxDC * _arg1; | |
9059 | PyObject * _argo0 = 0; | |
9060 | PyObject * _argo1 = 0; | |
9061 | char *_kwnames[] = { "self","dc", NULL }; | |
9062 | ||
9063 | self = self; | |
9064 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
9065 | return NULL; | |
9066 | if (_argo0) { | |
9067 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9068 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9069 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p."); | |
9070 | return NULL; | |
9071 | } | |
9072 | } | |
9073 | if (_argo1) { | |
9074 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9075 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9076 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
9077 | return NULL; | |
9078 | } | |
9079 | } | |
9080 | { | |
4268f798 | 9081 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9082 | wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1); |
e91a9dfc | 9083 | |
4268f798 RD |
9084 | wxPyEndAllowThreads(__tstate); |
9085 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9086 | } Py_INCREF(Py_None); |
9087 | _resultobj = Py_None; | |
9088 | return _resultobj; | |
9089 | } | |
9090 | ||
9091 | #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
9092 | static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9093 | PyObject * _resultobj; | |
9094 | wxPyCompositeShape * _arg0; | |
9095 | wxDC * _arg1; | |
9096 | bool _arg2 = (bool ) TRUE; | |
9097 | PyObject * _argo0 = 0; | |
9098 | PyObject * _argo1 = 0; | |
9099 | int tempbool2 = (int) TRUE; | |
9100 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
9101 | ||
9102 | self = self; | |
9103 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9104 | return NULL; | |
9105 | if (_argo0) { | |
9106 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9107 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9108 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p."); | |
9109 | return NULL; | |
9110 | } | |
9111 | } | |
9112 | if (_argo1) { | |
9113 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9114 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9115 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p."); | |
9116 | return NULL; | |
9117 | } | |
9118 | } | |
9119 | _arg2 = (bool ) tempbool2; | |
9120 | { | |
4268f798 | 9121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9122 | wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2); |
e91a9dfc | 9123 | |
4268f798 RD |
9124 | wxPyEndAllowThreads(__tstate); |
9125 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9126 | } Py_INCREF(Py_None); |
9127 | _resultobj = Py_None; | |
9128 | return _resultobj; | |
9129 | } | |
9130 | ||
9131 | #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9132 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9133 | PyObject * _resultobj; | |
9134 | wxPyCompositeShape * _arg0; | |
2348eaee | 9135 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
9136 | bool _arg2; |
9137 | double _arg3; | |
9138 | double _arg4; | |
9139 | int _arg5 = (int ) 0; | |
9140 | int _arg6 = (int ) 0; | |
9141 | PyObject * _argo0 = 0; | |
9142 | PyObject * _argo1 = 0; | |
9143 | int tempbool2; | |
9144 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
9145 | ||
9146 | self = self; | |
9147 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
9148 | return NULL; | |
9149 | if (_argo0) { | |
9150 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9151 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9152 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p."); | |
9153 | return NULL; | |
9154 | } | |
9155 | } | |
9156 | if (_argo1) { | |
9157 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
9158 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
9159 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
9160 | return NULL; |
9161 | } | |
9162 | } | |
9163 | _arg2 = (bool ) tempbool2; | |
9164 | { | |
4268f798 | 9165 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9166 | wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 9167 | |
4268f798 RD |
9168 | wxPyEndAllowThreads(__tstate); |
9169 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9170 | } Py_INCREF(Py_None); |
9171 | _resultobj = Py_None; | |
9172 | return _resultobj; | |
9173 | } | |
9174 | ||
9175 | #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9176 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9177 | PyObject * _resultobj; | |
9178 | wxPyCompositeShape * _arg0; | |
2348eaee | 9179 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
9180 | double _arg2; |
9181 | double _arg3; | |
9182 | int _arg4 = (int ) 0; | |
9183 | int _arg5 = (int ) 0; | |
9184 | PyObject * _argo0 = 0; | |
9185 | PyObject * _argo1 = 0; | |
9186 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
9187 | ||
9188 | self = self; | |
9189 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9190 | return NULL; | |
9191 | if (_argo0) { | |
9192 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9193 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9194 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p."); | |
9195 | return NULL; | |
9196 | } | |
9197 | } | |
9198 | if (_argo1) { | |
9199 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
9200 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
9201 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
9202 | return NULL; |
9203 | } | |
9204 | } | |
9205 | { | |
4268f798 | 9206 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9207 | wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 9208 | |
4268f798 RD |
9209 | wxPyEndAllowThreads(__tstate); |
9210 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9211 | } Py_INCREF(Py_None); |
9212 | _resultobj = Py_None; | |
9213 | return _resultobj; | |
9214 | } | |
9215 | ||
9216 | #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9217 | static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9218 | PyObject * _resultobj; | |
9219 | wxPyCompositeShape * _arg0; | |
2348eaee | 9220 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
9221 | double _arg2; |
9222 | double _arg3; | |
9223 | int _arg4 = (int ) 0; | |
9224 | int _arg5 = (int ) 0; | |
9225 | PyObject * _argo0 = 0; | |
9226 | PyObject * _argo1 = 0; | |
9227 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
9228 | ||
9229 | self = self; | |
9230 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9231 | return NULL; | |
9232 | if (_argo0) { | |
9233 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9234 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9235 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p."); | |
9236 | return NULL; | |
9237 | } | |
9238 | } | |
9239 | if (_argo1) { | |
9240 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
9241 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
9242 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
9243 | return NULL; |
9244 | } | |
9245 | } | |
9246 | { | |
4268f798 | 9247 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9248 | wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 9249 | |
4268f798 RD |
9250 | wxPyEndAllowThreads(__tstate); |
9251 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9252 | } Py_INCREF(Py_None); |
9253 | _resultobj = Py_None; | |
9254 | return _resultobj; | |
9255 | } | |
9256 | ||
9257 | #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
9258 | static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9259 | PyObject * _resultobj; | |
9260 | wxPyCompositeShape * _arg0; | |
9261 | double _arg1; | |
9262 | double _arg2; | |
9263 | PyObject * _argo0 = 0; | |
9264 | char *_kwnames[] = { "self","w","h", NULL }; | |
9265 | ||
9266 | self = self; | |
9267 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9268 | return NULL; | |
9269 | if (_argo0) { | |
9270 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9271 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9272 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p."); | |
9273 | return NULL; | |
9274 | } | |
9275 | } | |
9276 | { | |
4268f798 | 9277 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9278 | wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2); |
e91a9dfc | 9279 | |
4268f798 RD |
9280 | wxPyEndAllowThreads(__tstate); |
9281 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9282 | } Py_INCREF(Py_None); |
9283 | _resultobj = Py_None; | |
9284 | return _resultobj; | |
9285 | } | |
9286 | ||
9287 | #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
9288 | static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9289 | PyObject * _resultobj; | |
9290 | wxPyCompositeShape * _arg0; | |
9291 | double _arg1; | |
9292 | double _arg2; | |
9293 | PyObject * _argo0 = 0; | |
9294 | char *_kwnames[] = { "self","w","h", NULL }; | |
9295 | ||
9296 | self = self; | |
9297 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9298 | return NULL; | |
9299 | if (_argo0) { | |
9300 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9301 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) { | |
9302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p."); | |
9303 | return NULL; | |
9304 | } | |
9305 | } | |
9306 | { | |
4268f798 | 9307 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9308 | wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2); |
e91a9dfc | 9309 | |
4268f798 RD |
9310 | wxPyEndAllowThreads(__tstate); |
9311 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9312 | } Py_INCREF(Py_None); |
9313 | _resultobj = Py_None; | |
9314 | return _resultobj; | |
9315 | } | |
9316 | ||
9317 | static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) { | |
9318 | wxPyDividedShape *src; | |
9319 | wxPyRectangleShape *dest; | |
9320 | src = (wxPyDividedShape *) ptr; | |
9321 | dest = (wxPyRectangleShape *) src; | |
9322 | return (void *) dest; | |
9323 | } | |
9324 | ||
9325 | static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) { | |
9326 | wxPyDividedShape *src; | |
9327 | wxPyShape *dest; | |
9328 | src = (wxPyDividedShape *) ptr; | |
9329 | dest = (wxPyShape *) src; | |
9330 | return (void *) dest; | |
9331 | } | |
9332 | ||
9333 | static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) { | |
9334 | wxPyDividedShape *src; | |
9335 | wxPyShapeEvtHandler *dest; | |
9336 | src = (wxPyDividedShape *) ptr; | |
9337 | dest = (wxPyShapeEvtHandler *) src; | |
9338 | return (void *) dest; | |
9339 | } | |
9340 | ||
9416aa89 RD |
9341 | static void *SwigwxPyDividedShapeTowxObject(void *ptr) { |
9342 | wxPyDividedShape *src; | |
9343 | wxObject *dest; | |
9344 | src = (wxPyDividedShape *) ptr; | |
9345 | dest = (wxObject *) src; | |
9346 | return (void *) dest; | |
9347 | } | |
9348 | ||
e91a9dfc RD |
9349 | #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1)) |
9350 | static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9351 | PyObject * _resultobj; | |
9352 | wxPyDividedShape * _result; | |
9353 | double _arg0 = (double ) 0.0; | |
9354 | double _arg1 = (double ) 0.0; | |
9355 | char *_kwnames[] = { "width","height", NULL }; | |
9356 | char _ptemp[128]; | |
9357 | ||
9358 | self = self; | |
9359 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1)) | |
9360 | return NULL; | |
9361 | { | |
4268f798 | 9362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9363 | _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1); |
e91a9dfc | 9364 | |
4268f798 RD |
9365 | wxPyEndAllowThreads(__tstate); |
9366 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9367 | } if (_result) { |
9368 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p"); | |
9369 | _resultobj = Py_BuildValue("s",_ptemp); | |
9370 | } else { | |
9371 | Py_INCREF(Py_None); | |
9372 | _resultobj = Py_None; | |
9373 | } | |
9374 | return _resultobj; | |
9375 | } | |
9376 | ||
0122b7e3 RD |
9377 | #define wxPyDividedShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
9378 | static PyObject *_wrap_wxPyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
9379 | PyObject * _resultobj; |
9380 | wxPyDividedShape * _arg0; | |
9381 | PyObject * _arg1; | |
f6bcfd97 | 9382 | PyObject * _arg2; |
e91a9dfc RD |
9383 | PyObject * _argo0 = 0; |
9384 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
9385 | PyObject * _obj2 = 0; |
9386 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
9387 | |
9388 | self = self; | |
0122b7e3 | 9389 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
9390 | return NULL; |
9391 | if (_argo0) { | |
9392 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9393 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
0122b7e3 | 9394 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setCallbackInfo. Expected _wxPyDividedShape_p."); |
e91a9dfc RD |
9395 | return NULL; |
9396 | } | |
9397 | } | |
9398 | { | |
9399 | _arg1 = _obj1; | |
9400 | } | |
f6bcfd97 BP |
9401 | { |
9402 | _arg2 = _obj2; | |
9403 | } | |
e91a9dfc | 9404 | { |
4268f798 | 9405 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9406 | wxPyDividedShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc | 9407 | |
4268f798 RD |
9408 | wxPyEndAllowThreads(__tstate); |
9409 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9410 | } Py_INCREF(Py_None); |
9411 | _resultobj = Py_None; | |
9412 | return _resultobj; | |
9413 | } | |
9414 | ||
9415 | #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions()) | |
9416 | static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9417 | PyObject * _resultobj; | |
9418 | wxPyDividedShape * _arg0; | |
9419 | PyObject * _argo0 = 0; | |
9420 | char *_kwnames[] = { "self", NULL }; | |
9421 | ||
9422 | self = self; | |
9423 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0)) | |
9424 | return NULL; | |
9425 | if (_argo0) { | |
9426 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9427 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9428 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p."); | |
9429 | return NULL; | |
9430 | } | |
9431 | } | |
9432 | { | |
4268f798 | 9433 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9434 | wxPyDividedShape_EditRegions(_arg0); |
e91a9dfc | 9435 | |
4268f798 RD |
9436 | wxPyEndAllowThreads(__tstate); |
9437 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9438 | } Py_INCREF(Py_None); |
9439 | _resultobj = Py_None; | |
9440 | return _resultobj; | |
9441 | } | |
9442 | ||
9443 | #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes()) | |
9444 | static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9445 | PyObject * _resultobj; | |
9446 | wxPyDividedShape * _arg0; | |
9447 | PyObject * _argo0 = 0; | |
9448 | char *_kwnames[] = { "self", NULL }; | |
9449 | ||
9450 | self = self; | |
9451 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0)) | |
9452 | return NULL; | |
9453 | if (_argo0) { | |
9454 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9455 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9456 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p."); | |
9457 | return NULL; | |
9458 | } | |
9459 | } | |
9460 | { | |
4268f798 | 9461 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9462 | wxPyDividedShape_SetRegionSizes(_arg0); |
e91a9dfc | 9463 | |
4268f798 RD |
9464 | wxPyEndAllowThreads(__tstate); |
9465 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9466 | } Py_INCREF(Py_None); |
9467 | _resultobj = Py_None; | |
9468 | return _resultobj; | |
9469 | } | |
9470 | ||
9471 | #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
9472 | static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9473 | PyObject * _resultobj; | |
9474 | wxPyDividedShape * _arg0; | |
9475 | PyObject * _argo0 = 0; | |
9476 | char *_kwnames[] = { "self", NULL }; | |
9477 | ||
9478 | self = self; | |
9479 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0)) | |
9480 | return NULL; | |
9481 | if (_argo0) { | |
9482 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9483 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9484 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p."); | |
9485 | return NULL; | |
9486 | } | |
9487 | } | |
9488 | { | |
4268f798 | 9489 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9490 | wxPyDividedShape_base_OnDelete(_arg0); |
e91a9dfc | 9491 | |
4268f798 RD |
9492 | wxPyEndAllowThreads(__tstate); |
9493 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9494 | } Py_INCREF(Py_None); |
9495 | _resultobj = Py_None; | |
9496 | return _resultobj; | |
9497 | } | |
9498 | ||
9499 | #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
9500 | static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9501 | PyObject * _resultobj; | |
9502 | wxPyDividedShape * _arg0; | |
9503 | wxDC * _arg1; | |
9504 | PyObject * _argo0 = 0; | |
9505 | PyObject * _argo1 = 0; | |
9506 | char *_kwnames[] = { "self","dc", NULL }; | |
9507 | ||
9508 | self = self; | |
9509 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
9510 | return NULL; | |
9511 | if (_argo0) { | |
9512 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9513 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9514 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p."); | |
9515 | return NULL; | |
9516 | } | |
9517 | } | |
9518 | if (_argo1) { | |
9519 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9520 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9521 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p."); | |
9522 | return NULL; | |
9523 | } | |
9524 | } | |
9525 | { | |
4268f798 | 9526 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9527 | wxPyDividedShape_base_OnDraw(_arg0,*_arg1); |
e91a9dfc | 9528 | |
4268f798 RD |
9529 | wxPyEndAllowThreads(__tstate); |
9530 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9531 | } Py_INCREF(Py_None); |
9532 | _resultobj = Py_None; | |
9533 | return _resultobj; | |
9534 | } | |
9535 | ||
9536 | #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
9537 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9538 | PyObject * _resultobj; | |
9539 | wxPyDividedShape * _arg0; | |
9540 | wxDC * _arg1; | |
9541 | PyObject * _argo0 = 0; | |
9542 | PyObject * _argo1 = 0; | |
9543 | char *_kwnames[] = { "self","dc", NULL }; | |
9544 | ||
9545 | self = self; | |
9546 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
9547 | return NULL; | |
9548 | if (_argo0) { | |
9549 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9550 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9551 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p."); | |
9552 | return NULL; | |
9553 | } | |
9554 | } | |
9555 | if (_argo1) { | |
9556 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9557 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9558 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p."); | |
9559 | return NULL; | |
9560 | } | |
9561 | } | |
9562 | { | |
4268f798 | 9563 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9564 | wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc | 9565 | |
4268f798 RD |
9566 | wxPyEndAllowThreads(__tstate); |
9567 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9568 | } Py_INCREF(Py_None); |
9569 | _resultobj = Py_None; | |
9570 | return _resultobj; | |
9571 | } | |
9572 | ||
9573 | #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
9574 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9575 | PyObject * _resultobj; | |
9576 | wxPyDividedShape * _arg0; | |
9577 | wxDC * _arg1; | |
9578 | bool _arg2 = (bool ) FALSE; | |
9579 | PyObject * _argo0 = 0; | |
9580 | PyObject * _argo1 = 0; | |
9581 | int tempbool2 = (int) FALSE; | |
9582 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
9583 | ||
9584 | self = self; | |
9585 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
9586 | return NULL; | |
9587 | if (_argo0) { | |
9588 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9589 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9590 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p."); | |
9591 | return NULL; | |
9592 | } | |
9593 | } | |
9594 | if (_argo1) { | |
9595 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9596 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p."); | |
9598 | return NULL; | |
9599 | } | |
9600 | } | |
9601 | _arg2 = (bool ) tempbool2; | |
9602 | { | |
4268f798 | 9603 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9604 | wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc | 9605 | |
4268f798 RD |
9606 | wxPyEndAllowThreads(__tstate); |
9607 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9608 | } Py_INCREF(Py_None); |
9609 | _resultobj = Py_None; | |
9610 | return _resultobj; | |
9611 | } | |
9612 | ||
9613 | #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
9614 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9615 | PyObject * _resultobj; | |
9616 | wxPyDividedShape * _arg0; | |
9617 | wxDC * _arg1; | |
9618 | PyObject * _argo0 = 0; | |
9619 | PyObject * _argo1 = 0; | |
9620 | char *_kwnames[] = { "self","dc", NULL }; | |
9621 | ||
9622 | self = self; | |
9623 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
9624 | return NULL; | |
9625 | if (_argo0) { | |
9626 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9627 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9628 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p."); | |
9629 | return NULL; | |
9630 | } | |
9631 | } | |
9632 | if (_argo1) { | |
9633 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9634 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9635 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p."); | |
9636 | return NULL; | |
9637 | } | |
9638 | } | |
9639 | { | |
4268f798 | 9640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9641 | wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc | 9642 | |
4268f798 RD |
9643 | wxPyEndAllowThreads(__tstate); |
9644 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9645 | } Py_INCREF(Py_None); |
9646 | _resultobj = Py_None; | |
9647 | return _resultobj; | |
9648 | } | |
9649 | ||
9650 | #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
9651 | static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9652 | PyObject * _resultobj; | |
9653 | wxPyDividedShape * _arg0; | |
9654 | wxDC * _arg1; | |
9655 | PyObject * _argo0 = 0; | |
9656 | PyObject * _argo1 = 0; | |
9657 | char *_kwnames[] = { "self","dc", NULL }; | |
9658 | ||
9659 | self = self; | |
9660 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
9661 | return NULL; | |
9662 | if (_argo0) { | |
9663 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9664 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9665 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p."); | |
9666 | return NULL; | |
9667 | } | |
9668 | } | |
9669 | if (_argo1) { | |
9670 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9671 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9672 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p."); | |
9673 | return NULL; | |
9674 | } | |
9675 | } | |
9676 | { | |
4268f798 | 9677 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9678 | wxPyDividedShape_base_OnErase(_arg0,*_arg1); |
e91a9dfc | 9679 | |
4268f798 RD |
9680 | wxPyEndAllowThreads(__tstate); |
9681 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9682 | } Py_INCREF(Py_None); |
9683 | _resultobj = Py_None; | |
9684 | return _resultobj; | |
9685 | } | |
9686 | ||
9687 | #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
9688 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9689 | PyObject * _resultobj; | |
9690 | wxPyDividedShape * _arg0; | |
9691 | wxDC * _arg1; | |
9692 | PyObject * _argo0 = 0; | |
9693 | PyObject * _argo1 = 0; | |
9694 | char *_kwnames[] = { "self","dc", NULL }; | |
9695 | ||
9696 | self = self; | |
9697 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
9698 | return NULL; | |
9699 | if (_argo0) { | |
9700 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9701 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9702 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p."); | |
9703 | return NULL; | |
9704 | } | |
9705 | } | |
9706 | if (_argo1) { | |
9707 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9708 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9709 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p."); | |
9710 | return NULL; | |
9711 | } | |
9712 | } | |
9713 | { | |
4268f798 | 9714 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9715 | wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1); |
e91a9dfc | 9716 | |
4268f798 RD |
9717 | wxPyEndAllowThreads(__tstate); |
9718 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9719 | } Py_INCREF(Py_None); |
9720 | _resultobj = Py_None; | |
9721 | return _resultobj; | |
9722 | } | |
9723 | ||
9724 | #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
9725 | static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9726 | PyObject * _resultobj; | |
9727 | wxPyDividedShape * _arg0; | |
9728 | wxDC * _arg1; | |
9729 | PyObject * _argo0 = 0; | |
9730 | PyObject * _argo1 = 0; | |
9731 | char *_kwnames[] = { "self","dc", NULL }; | |
9732 | ||
9733 | self = self; | |
9734 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
9735 | return NULL; | |
9736 | if (_argo0) { | |
9737 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9738 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9739 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p."); | |
9740 | return NULL; | |
9741 | } | |
9742 | } | |
9743 | if (_argo1) { | |
9744 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9745 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9746 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p."); | |
9747 | return NULL; | |
9748 | } | |
9749 | } | |
9750 | { | |
4268f798 | 9751 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9752 | wxPyDividedShape_base_OnHighlight(_arg0,*_arg1); |
e91a9dfc | 9753 | |
4268f798 RD |
9754 | wxPyEndAllowThreads(__tstate); |
9755 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9756 | } Py_INCREF(Py_None); |
9757 | _resultobj = Py_None; | |
9758 | return _resultobj; | |
9759 | } | |
9760 | ||
9761 | #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9762 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9763 | PyObject * _resultobj; | |
9764 | wxPyDividedShape * _arg0; | |
9765 | double _arg1; | |
9766 | double _arg2; | |
9767 | int _arg3 = (int ) 0; | |
9768 | int _arg4 = (int ) 0; | |
9769 | PyObject * _argo0 = 0; | |
9770 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9771 | ||
9772 | self = self; | |
9773 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9774 | return NULL; | |
9775 | if (_argo0) { | |
9776 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9777 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9778 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p."); | |
9779 | return NULL; | |
9780 | } | |
9781 | } | |
9782 | { | |
4268f798 | 9783 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9784 | wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 9785 | |
4268f798 RD |
9786 | wxPyEndAllowThreads(__tstate); |
9787 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9788 | } Py_INCREF(Py_None); |
9789 | _resultobj = Py_None; | |
9790 | return _resultobj; | |
9791 | } | |
9792 | ||
9793 | #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9794 | static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9795 | PyObject * _resultobj; | |
9796 | wxPyDividedShape * _arg0; | |
9797 | double _arg1; | |
9798 | double _arg2; | |
9799 | int _arg3 = (int ) 0; | |
9800 | int _arg4 = (int ) 0; | |
9801 | PyObject * _argo0 = 0; | |
9802 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9803 | ||
9804 | self = self; | |
9805 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9806 | return NULL; | |
9807 | if (_argo0) { | |
9808 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9809 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9810 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p."); | |
9811 | return NULL; | |
9812 | } | |
9813 | } | |
9814 | { | |
4268f798 | 9815 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9816 | wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 9817 | |
4268f798 RD |
9818 | wxPyEndAllowThreads(__tstate); |
9819 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9820 | } Py_INCREF(Py_None); |
9821 | _resultobj = Py_None; | |
9822 | return _resultobj; | |
9823 | } | |
9824 | ||
9825 | #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
9826 | static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9827 | PyObject * _resultobj; | |
9828 | wxPyDividedShape * _arg0; | |
9829 | double _arg1; | |
9830 | double _arg2; | |
9831 | int _arg3 = (int ) 0; | |
9832 | int _arg4 = (int ) 0; | |
9833 | PyObject * _argo0 = 0; | |
9834 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
9835 | ||
9836 | self = self; | |
9837 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
9838 | return NULL; | |
9839 | if (_argo0) { | |
9840 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9841 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9842 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p."); | |
9843 | return NULL; | |
9844 | } | |
9845 | } | |
9846 | { | |
4268f798 | 9847 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9848 | wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 9849 | |
4268f798 RD |
9850 | wxPyEndAllowThreads(__tstate); |
9851 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9852 | } Py_INCREF(Py_None); |
9853 | _resultobj = Py_None; | |
9854 | return _resultobj; | |
9855 | } | |
9856 | ||
9857 | #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
9858 | static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9859 | PyObject * _resultobj; | |
9860 | wxPyDividedShape * _arg0; | |
9861 | double _arg1; | |
9862 | double _arg2; | |
9863 | PyObject * _argo0 = 0; | |
9864 | char *_kwnames[] = { "self","x","y", NULL }; | |
9865 | ||
9866 | self = self; | |
9867 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
9868 | return NULL; | |
9869 | if (_argo0) { | |
9870 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9871 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9872 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p."); | |
9873 | return NULL; | |
9874 | } | |
9875 | } | |
9876 | { | |
4268f798 | 9877 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9878 | wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2); |
e91a9dfc | 9879 | |
4268f798 RD |
9880 | wxPyEndAllowThreads(__tstate); |
9881 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9882 | } Py_INCREF(Py_None); |
9883 | _resultobj = Py_None; | |
9884 | return _resultobj; | |
9885 | } | |
9886 | ||
9887 | #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9888 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9889 | PyObject * _resultobj; | |
9890 | bool _result; | |
9891 | wxPyDividedShape * _arg0; | |
9892 | wxDC * _arg1; | |
9893 | double _arg2; | |
9894 | double _arg3; | |
9895 | double _arg4; | |
9896 | double _arg5; | |
9897 | bool _arg6 = (bool ) TRUE; | |
9898 | PyObject * _argo0 = 0; | |
9899 | PyObject * _argo1 = 0; | |
9900 | int tempbool6 = (int) TRUE; | |
9901 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9902 | ||
9903 | self = self; | |
9904 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9905 | return NULL; | |
9906 | if (_argo0) { | |
9907 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9908 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9909 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p."); | |
9910 | return NULL; | |
9911 | } | |
9912 | } | |
9913 | if (_argo1) { | |
9914 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9915 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9916 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p."); | |
9917 | return NULL; | |
9918 | } | |
9919 | } | |
9920 | _arg6 = (bool ) tempbool6; | |
9921 | { | |
4268f798 | 9922 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9923 | _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 9924 | |
4268f798 RD |
9925 | wxPyEndAllowThreads(__tstate); |
9926 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9927 | } _resultobj = Py_BuildValue("i",_result); |
9928 | return _resultobj; | |
9929 | } | |
9930 | ||
9931 | #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
9932 | static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9933 | PyObject * _resultobj; | |
9934 | wxPyDividedShape * _arg0; | |
9935 | wxDC * _arg1; | |
9936 | double _arg2; | |
9937 | double _arg3; | |
9938 | double _arg4; | |
9939 | double _arg5; | |
9940 | bool _arg6 = (bool ) TRUE; | |
9941 | PyObject * _argo0 = 0; | |
9942 | PyObject * _argo1 = 0; | |
9943 | int tempbool6 = (int) TRUE; | |
9944 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
9945 | ||
9946 | self = self; | |
9947 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
9948 | return NULL; | |
9949 | if (_argo0) { | |
9950 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9951 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9952 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p."); | |
9953 | return NULL; | |
9954 | } | |
9955 | } | |
9956 | if (_argo1) { | |
9957 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
9958 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
9959 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p."); | |
9960 | return NULL; | |
9961 | } | |
9962 | } | |
9963 | _arg6 = (bool ) tempbool6; | |
9964 | { | |
4268f798 | 9965 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 9966 | wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 9967 | |
4268f798 RD |
9968 | wxPyEndAllowThreads(__tstate); |
9969 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
9970 | } Py_INCREF(Py_None); |
9971 | _resultobj = Py_None; | |
9972 | return _resultobj; | |
9973 | } | |
9974 | ||
9975 | #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
9976 | static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
9977 | PyObject * _resultobj; | |
9978 | wxPyDividedShape * _arg0; | |
9979 | bool _arg1; | |
9980 | double _arg2; | |
9981 | double _arg3; | |
9982 | int _arg4 = (int ) 0; | |
9983 | int _arg5 = (int ) 0; | |
9984 | PyObject * _argo0 = 0; | |
9985 | int tempbool1; | |
9986 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
9987 | ||
9988 | self = self; | |
9989 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
9990 | return NULL; | |
9991 | if (_argo0) { | |
9992 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
9993 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
9994 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p."); | |
9995 | return NULL; | |
9996 | } | |
9997 | } | |
9998 | _arg1 = (bool ) tempbool1; | |
9999 | { | |
4268f798 | 10000 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10001 | wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 10002 | |
4268f798 RD |
10003 | wxPyEndAllowThreads(__tstate); |
10004 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10005 | } Py_INCREF(Py_None); |
10006 | _resultobj = Py_None; | |
10007 | return _resultobj; | |
10008 | } | |
10009 | ||
10010 | #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
10011 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10012 | PyObject * _resultobj; | |
10013 | wxPyDividedShape * _arg0; | |
10014 | double _arg1; | |
10015 | double _arg2; | |
10016 | int _arg3 = (int ) 0; | |
10017 | int _arg4 = (int ) 0; | |
10018 | PyObject * _argo0 = 0; | |
10019 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
10020 | ||
10021 | self = self; | |
10022 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
10023 | return NULL; | |
10024 | if (_argo0) { | |
10025 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10026 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10027 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p."); | |
10028 | return NULL; | |
10029 | } | |
10030 | } | |
10031 | { | |
4268f798 | 10032 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10033 | wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 10034 | |
4268f798 RD |
10035 | wxPyEndAllowThreads(__tstate); |
10036 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10037 | } Py_INCREF(Py_None); |
10038 | _resultobj = Py_None; | |
10039 | return _resultobj; | |
10040 | } | |
10041 | ||
10042 | #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
10043 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10044 | PyObject * _resultobj; | |
10045 | wxPyDividedShape * _arg0; | |
10046 | double _arg1; | |
10047 | double _arg2; | |
10048 | int _arg3 = (int ) 0; | |
10049 | int _arg4 = (int ) 0; | |
10050 | PyObject * _argo0 = 0; | |
10051 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
10052 | ||
10053 | self = self; | |
10054 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
10055 | return NULL; | |
10056 | if (_argo0) { | |
10057 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10058 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10059 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p."); | |
10060 | return NULL; | |
10061 | } | |
10062 | } | |
10063 | { | |
4268f798 | 10064 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10065 | wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 10066 | |
4268f798 RD |
10067 | wxPyEndAllowThreads(__tstate); |
10068 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10069 | } Py_INCREF(Py_None); |
10070 | _resultobj = Py_None; | |
10071 | return _resultobj; | |
10072 | } | |
10073 | ||
10074 | #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10075 | static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10076 | PyObject * _resultobj; | |
10077 | wxPyDividedShape * _arg0; | |
10078 | bool _arg1; | |
10079 | double _arg2; | |
10080 | double _arg3; | |
10081 | int _arg4 = (int ) 0; | |
10082 | int _arg5 = (int ) 0; | |
10083 | PyObject * _argo0 = 0; | |
10084 | int tempbool1; | |
10085 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
10086 | ||
10087 | self = self; | |
10088 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10089 | return NULL; | |
10090 | if (_argo0) { | |
10091 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10092 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10093 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p."); | |
10094 | return NULL; | |
10095 | } | |
10096 | } | |
10097 | _arg1 = (bool ) tempbool1; | |
10098 | { | |
4268f798 | 10099 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10100 | wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 10101 | |
4268f798 RD |
10102 | wxPyEndAllowThreads(__tstate); |
10103 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10104 | } Py_INCREF(Py_None); |
10105 | _resultobj = Py_None; | |
10106 | return _resultobj; | |
10107 | } | |
10108 | ||
10109 | #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
10110 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10111 | PyObject * _resultobj; | |
10112 | wxPyDividedShape * _arg0; | |
10113 | double _arg1; | |
10114 | double _arg2; | |
10115 | int _arg3 = (int ) 0; | |
10116 | int _arg4 = (int ) 0; | |
10117 | PyObject * _argo0 = 0; | |
10118 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
10119 | ||
10120 | self = self; | |
10121 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
10122 | return NULL; | |
10123 | if (_argo0) { | |
10124 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10125 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10126 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p."); | |
10127 | return NULL; | |
10128 | } | |
10129 | } | |
10130 | { | |
4268f798 | 10131 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10132 | wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 10133 | |
4268f798 RD |
10134 | wxPyEndAllowThreads(__tstate); |
10135 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10136 | } Py_INCREF(Py_None); |
10137 | _resultobj = Py_None; | |
10138 | return _resultobj; | |
10139 | } | |
10140 | ||
10141 | #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
10142 | static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10143 | PyObject * _resultobj; | |
10144 | wxPyDividedShape * _arg0; | |
10145 | double _arg1; | |
10146 | double _arg2; | |
10147 | int _arg3 = (int ) 0; | |
10148 | int _arg4 = (int ) 0; | |
10149 | PyObject * _argo0 = 0; | |
10150 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
10151 | ||
10152 | self = self; | |
10153 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
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_OnEndDragRight. Expected _wxPyDividedShape_p."); | |
10159 | return NULL; | |
10160 | } | |
10161 | } | |
10162 | { | |
4268f798 | 10163 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10164 | wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 10165 | |
4268f798 RD |
10166 | wxPyEndAllowThreads(__tstate); |
10167 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10168 | } Py_INCREF(Py_None); |
10169 | _resultobj = Py_None; | |
10170 | return _resultobj; | |
10171 | } | |
10172 | ||
10173 | #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10174 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10175 | PyObject * _resultobj; | |
10176 | wxPyDividedShape * _arg0; | |
10177 | wxDC * _arg1; | |
10178 | double _arg2; | |
10179 | double _arg3; | |
10180 | double _arg4; | |
10181 | double _arg5; | |
10182 | PyObject * _argo0 = 0; | |
10183 | PyObject * _argo1 = 0; | |
10184 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
10185 | ||
10186 | self = self; | |
10187 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10188 | return NULL; | |
10189 | if (_argo0) { | |
10190 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10191 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10192 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p."); | |
10193 | return NULL; | |
10194 | } | |
10195 | } | |
10196 | if (_argo1) { | |
10197 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10198 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10199 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p."); | |
10200 | return NULL; | |
10201 | } | |
10202 | } | |
10203 | { | |
4268f798 | 10204 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10205 | wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 10206 | |
4268f798 RD |
10207 | wxPyEndAllowThreads(__tstate); |
10208 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10209 | } Py_INCREF(Py_None); |
10210 | _resultobj = Py_None; | |
10211 | return _resultobj; | |
10212 | } | |
10213 | ||
10214 | #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
10215 | static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10216 | PyObject * _resultobj; | |
10217 | wxPyDividedShape * _arg0; | |
10218 | wxDC * _arg1; | |
10219 | PyObject * _argo0 = 0; | |
10220 | PyObject * _argo1 = 0; | |
10221 | char *_kwnames[] = { "self","dc", NULL }; | |
10222 | ||
10223 | self = self; | |
10224 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
10225 | return NULL; | |
10226 | if (_argo0) { | |
10227 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10228 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10229 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p."); | |
10230 | return NULL; | |
10231 | } | |
10232 | } | |
10233 | if (_argo1) { | |
10234 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10235 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10236 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
10237 | return NULL; | |
10238 | } | |
10239 | } | |
10240 | { | |
4268f798 | 10241 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10242 | wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1); |
e91a9dfc | 10243 | |
4268f798 RD |
10244 | wxPyEndAllowThreads(__tstate); |
10245 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10246 | } Py_INCREF(Py_None); |
10247 | _resultobj = Py_None; | |
10248 | return _resultobj; | |
10249 | } | |
10250 | ||
10251 | #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
10252 | static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10253 | PyObject * _resultobj; | |
10254 | wxPyDividedShape * _arg0; | |
10255 | wxDC * _arg1; | |
10256 | PyObject * _argo0 = 0; | |
10257 | PyObject * _argo1 = 0; | |
10258 | char *_kwnames[] = { "self","dc", NULL }; | |
10259 | ||
10260 | self = self; | |
10261 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
10262 | return NULL; | |
10263 | if (_argo0) { | |
10264 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10265 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10266 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p."); | |
10267 | return NULL; | |
10268 | } | |
10269 | } | |
10270 | if (_argo1) { | |
10271 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10272 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10273 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
10274 | return NULL; | |
10275 | } | |
10276 | } | |
10277 | { | |
4268f798 | 10278 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10279 | wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1); |
e91a9dfc | 10280 | |
4268f798 RD |
10281 | wxPyEndAllowThreads(__tstate); |
10282 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10283 | } Py_INCREF(Py_None); |
10284 | _resultobj = Py_None; | |
10285 | return _resultobj; | |
10286 | } | |
10287 | ||
10288 | #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
10289 | static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10290 | PyObject * _resultobj; | |
10291 | wxPyDividedShape * _arg0; | |
10292 | wxDC * _arg1; | |
10293 | bool _arg2 = (bool ) TRUE; | |
10294 | PyObject * _argo0 = 0; | |
10295 | PyObject * _argo1 = 0; | |
10296 | int tempbool2 = (int) TRUE; | |
10297 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
10298 | ||
10299 | self = self; | |
10300 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
10301 | return NULL; | |
10302 | if (_argo0) { | |
10303 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10304 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10305 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p."); | |
10306 | return NULL; | |
10307 | } | |
10308 | } | |
10309 | if (_argo1) { | |
10310 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
10311 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
10312 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p."); | |
10313 | return NULL; | |
10314 | } | |
10315 | } | |
10316 | _arg2 = (bool ) tempbool2; | |
10317 | { | |
4268f798 | 10318 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10319 | wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2); |
e91a9dfc | 10320 | |
4268f798 RD |
10321 | wxPyEndAllowThreads(__tstate); |
10322 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10323 | } Py_INCREF(Py_None); |
10324 | _resultobj = Py_None; | |
10325 | return _resultobj; | |
10326 | } | |
10327 | ||
10328 | #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
10329 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10330 | PyObject * _resultobj; | |
10331 | wxPyDividedShape * _arg0; | |
2348eaee | 10332 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10333 | bool _arg2; |
10334 | double _arg3; | |
10335 | double _arg4; | |
10336 | int _arg5 = (int ) 0; | |
10337 | int _arg6 = (int ) 0; | |
10338 | PyObject * _argo0 = 0; | |
10339 | PyObject * _argo1 = 0; | |
10340 | int tempbool2; | |
10341 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
10342 | ||
10343 | self = self; | |
10344 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
10345 | return NULL; | |
10346 | if (_argo0) { | |
10347 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10348 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10349 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p."); | |
10350 | return NULL; | |
10351 | } | |
10352 | } | |
10353 | if (_argo1) { | |
10354 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10355 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10356 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10357 | return NULL; |
10358 | } | |
10359 | } | |
10360 | _arg2 = (bool ) tempbool2; | |
10361 | { | |
4268f798 | 10362 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10363 | wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 10364 | |
4268f798 RD |
10365 | wxPyEndAllowThreads(__tstate); |
10366 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10367 | } Py_INCREF(Py_None); |
10368 | _resultobj = Py_None; | |
10369 | return _resultobj; | |
10370 | } | |
10371 | ||
10372 | #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10373 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10374 | PyObject * _resultobj; | |
10375 | wxPyDividedShape * _arg0; | |
2348eaee | 10376 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10377 | double _arg2; |
10378 | double _arg3; | |
10379 | int _arg4 = (int ) 0; | |
10380 | int _arg5 = (int ) 0; | |
10381 | PyObject * _argo0 = 0; | |
10382 | PyObject * _argo1 = 0; | |
10383 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10384 | ||
10385 | self = self; | |
10386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10387 | return NULL; | |
10388 | if (_argo0) { | |
10389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p."); | |
10392 | return NULL; | |
10393 | } | |
10394 | } | |
10395 | if (_argo1) { | |
10396 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10397 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10398 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10399 | return NULL; |
10400 | } | |
10401 | } | |
10402 | { | |
4268f798 | 10403 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10404 | wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 10405 | |
4268f798 RD |
10406 | wxPyEndAllowThreads(__tstate); |
10407 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10408 | } Py_INCREF(Py_None); |
10409 | _resultobj = Py_None; | |
10410 | return _resultobj; | |
10411 | } | |
10412 | ||
10413 | #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
10414 | static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10415 | PyObject * _resultobj; | |
10416 | wxPyDividedShape * _arg0; | |
2348eaee | 10417 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
10418 | double _arg2; |
10419 | double _arg3; | |
10420 | int _arg4 = (int ) 0; | |
10421 | int _arg5 = (int ) 0; | |
10422 | PyObject * _argo0 = 0; | |
10423 | PyObject * _argo1 = 0; | |
10424 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
10425 | ||
10426 | self = self; | |
10427 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
10428 | return NULL; | |
10429 | if (_argo0) { | |
10430 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10431 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10432 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p."); | |
10433 | return NULL; | |
10434 | } | |
10435 | } | |
10436 | if (_argo1) { | |
10437 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
10438 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
10439 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
10440 | return NULL; |
10441 | } | |
10442 | } | |
10443 | { | |
4268f798 | 10444 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10445 | wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 10446 | |
4268f798 RD |
10447 | wxPyEndAllowThreads(__tstate); |
10448 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10449 | } Py_INCREF(Py_None); |
10450 | _resultobj = Py_None; | |
10451 | return _resultobj; | |
10452 | } | |
10453 | ||
10454 | #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
10455 | static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10456 | PyObject * _resultobj; | |
10457 | wxPyDividedShape * _arg0; | |
10458 | double _arg1; | |
10459 | double _arg2; | |
10460 | PyObject * _argo0 = 0; | |
10461 | char *_kwnames[] = { "self","w","h", NULL }; | |
10462 | ||
10463 | self = self; | |
10464 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10465 | return NULL; | |
10466 | if (_argo0) { | |
10467 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10468 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10469 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p."); | |
10470 | return NULL; | |
10471 | } | |
10472 | } | |
10473 | { | |
4268f798 | 10474 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10475 | wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2); |
e91a9dfc | 10476 | |
4268f798 RD |
10477 | wxPyEndAllowThreads(__tstate); |
10478 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10479 | } Py_INCREF(Py_None); |
10480 | _resultobj = Py_None; | |
10481 | return _resultobj; | |
10482 | } | |
10483 | ||
10484 | #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
10485 | static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10486 | PyObject * _resultobj; | |
10487 | wxPyDividedShape * _arg0; | |
10488 | double _arg1; | |
10489 | double _arg2; | |
10490 | PyObject * _argo0 = 0; | |
10491 | char *_kwnames[] = { "self","w","h", NULL }; | |
10492 | ||
10493 | self = self; | |
10494 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
10495 | return NULL; | |
10496 | if (_argo0) { | |
10497 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10498 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) { | |
10499 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p."); | |
10500 | return NULL; | |
10501 | } | |
10502 | } | |
10503 | { | |
4268f798 | 10504 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10505 | wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2); |
e91a9dfc | 10506 | |
4268f798 RD |
10507 | wxPyEndAllowThreads(__tstate); |
10508 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10509 | } Py_INCREF(Py_None); |
10510 | _resultobj = Py_None; | |
10511 | return _resultobj; | |
10512 | } | |
10513 | ||
10514 | static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) { | |
10515 | wxPyDivisionShape *src; | |
10516 | wxPyCompositeShape *dest; | |
10517 | src = (wxPyDivisionShape *) ptr; | |
10518 | dest = (wxPyCompositeShape *) src; | |
10519 | return (void *) dest; | |
10520 | } | |
10521 | ||
10522 | static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) { | |
10523 | wxPyDivisionShape *src; | |
10524 | wxPyRectangleShape *dest; | |
10525 | src = (wxPyDivisionShape *) ptr; | |
10526 | dest = (wxPyRectangleShape *) src; | |
10527 | return (void *) dest; | |
10528 | } | |
10529 | ||
10530 | static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) { | |
10531 | wxPyDivisionShape *src; | |
10532 | wxPyShape *dest; | |
10533 | src = (wxPyDivisionShape *) ptr; | |
10534 | dest = (wxPyShape *) src; | |
10535 | return (void *) dest; | |
10536 | } | |
10537 | ||
10538 | static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) { | |
10539 | wxPyDivisionShape *src; | |
10540 | wxPyShapeEvtHandler *dest; | |
10541 | src = (wxPyDivisionShape *) ptr; | |
10542 | dest = (wxPyShapeEvtHandler *) src; | |
10543 | return (void *) dest; | |
10544 | } | |
10545 | ||
9416aa89 RD |
10546 | static void *SwigwxPyDivisionShapeTowxObject(void *ptr) { |
10547 | wxPyDivisionShape *src; | |
10548 | wxObject *dest; | |
10549 | src = (wxPyDivisionShape *) ptr; | |
10550 | dest = (wxObject *) src; | |
10551 | return (void *) dest; | |
10552 | } | |
10553 | ||
e91a9dfc RD |
10554 | #define new_wxPyDivisionShape() (new wxPyDivisionShape()) |
10555 | static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10556 | PyObject * _resultobj; | |
10557 | wxPyDivisionShape * _result; | |
10558 | char *_kwnames[] = { NULL }; | |
10559 | char _ptemp[128]; | |
10560 | ||
10561 | self = self; | |
10562 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames)) | |
10563 | return NULL; | |
10564 | { | |
4268f798 | 10565 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10566 | _result = (wxPyDivisionShape *)new_wxPyDivisionShape(); |
e91a9dfc | 10567 | |
4268f798 RD |
10568 | wxPyEndAllowThreads(__tstate); |
10569 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10570 | } if (_result) { |
10571 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p"); | |
10572 | _resultobj = Py_BuildValue("s",_ptemp); | |
10573 | } else { | |
10574 | Py_INCREF(Py_None); | |
10575 | _resultobj = Py_None; | |
10576 | } | |
10577 | return _resultobj; | |
10578 | } | |
10579 | ||
0122b7e3 RD |
10580 | #define wxPyDivisionShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1)) |
10581 | static PyObject *_wrap_wxPyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) { | |
e91a9dfc RD |
10582 | PyObject * _resultobj; |
10583 | wxPyDivisionShape * _arg0; | |
10584 | PyObject * _arg1; | |
f6bcfd97 | 10585 | PyObject * _arg2; |
e91a9dfc RD |
10586 | PyObject * _argo0 = 0; |
10587 | PyObject * _obj1 = 0; | |
f6bcfd97 BP |
10588 | PyObject * _obj2 = 0; |
10589 | char *_kwnames[] = { "self","self","_class", NULL }; | |
e91a9dfc RD |
10590 | |
10591 | self = self; | |
0122b7e3 | 10592 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2)) |
e91a9dfc RD |
10593 | return NULL; |
10594 | if (_argo0) { | |
10595 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10596 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
0122b7e3 | 10597 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setCallbackInfo. Expected _wxPyDivisionShape_p."); |
e91a9dfc RD |
10598 | return NULL; |
10599 | } | |
10600 | } | |
10601 | { | |
10602 | _arg1 = _obj1; | |
10603 | } | |
f6bcfd97 BP |
10604 | { |
10605 | _arg2 = _obj2; | |
10606 | } | |
e91a9dfc | 10607 | { |
4268f798 | 10608 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10609 | wxPyDivisionShape__setCallbackInfo(_arg0,_arg1,_arg2); |
e91a9dfc | 10610 | |
4268f798 RD |
10611 | wxPyEndAllowThreads(__tstate); |
10612 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10613 | } Py_INCREF(Py_None); |
10614 | _resultobj = Py_None; | |
10615 | return _resultobj; | |
10616 | } | |
10617 | ||
10618 | #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1)) | |
10619 | static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10620 | PyObject * _resultobj; | |
10621 | wxPyDivisionShape * _arg0; | |
10622 | double _arg1; | |
10623 | bool _arg2; | |
10624 | PyObject * _argo0 = 0; | |
10625 | int tempbool2; | |
10626 | char *_kwnames[] = { "self","bottom","test", NULL }; | |
10627 | ||
10628 | self = self; | |
10629 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10630 | return NULL; | |
10631 | if (_argo0) { | |
10632 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10633 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10634 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p."); | |
10635 | return NULL; | |
10636 | } | |
10637 | } | |
10638 | _arg2 = (bool ) tempbool2; | |
10639 | { | |
4268f798 | 10640 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10641 | wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2); |
e91a9dfc | 10642 | |
4268f798 RD |
10643 | wxPyEndAllowThreads(__tstate); |
10644 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10645 | } Py_INCREF(Py_None); |
10646 | _resultobj = Py_None; | |
10647 | return _resultobj; | |
10648 | } | |
10649 | ||
10650 | #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1)) | |
10651 | static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10652 | PyObject * _resultobj; | |
10653 | wxPyDivisionShape * _arg0; | |
10654 | double _arg1; | |
10655 | bool _arg2; | |
10656 | PyObject * _argo0 = 0; | |
10657 | int tempbool2; | |
10658 | char *_kwnames[] = { "self","left","test", NULL }; | |
10659 | ||
10660 | self = self; | |
10661 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10662 | return NULL; | |
10663 | if (_argo0) { | |
10664 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10665 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10666 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p."); | |
10667 | return NULL; | |
10668 | } | |
10669 | } | |
10670 | _arg2 = (bool ) tempbool2; | |
10671 | { | |
4268f798 | 10672 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10673 | wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2); |
e91a9dfc | 10674 | |
4268f798 RD |
10675 | wxPyEndAllowThreads(__tstate); |
10676 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10677 | } Py_INCREF(Py_None); |
10678 | _resultobj = Py_None; | |
10679 | return _resultobj; | |
10680 | } | |
10681 | ||
10682 | #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1)) | |
10683 | static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10684 | PyObject * _resultobj; | |
10685 | wxPyDivisionShape * _arg0; | |
10686 | double _arg1; | |
10687 | bool _arg2; | |
10688 | PyObject * _argo0 = 0; | |
10689 | int tempbool2; | |
10690 | char *_kwnames[] = { "self","right","test", NULL }; | |
10691 | ||
10692 | self = self; | |
10693 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10694 | return NULL; | |
10695 | if (_argo0) { | |
10696 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10697 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10698 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p."); | |
10699 | return NULL; | |
10700 | } | |
10701 | } | |
10702 | _arg2 = (bool ) tempbool2; | |
10703 | { | |
4268f798 | 10704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10705 | wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2); |
e91a9dfc | 10706 | |
4268f798 RD |
10707 | wxPyEndAllowThreads(__tstate); |
10708 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10709 | } Py_INCREF(Py_None); |
10710 | _resultobj = Py_None; | |
10711 | return _resultobj; | |
10712 | } | |
10713 | ||
10714 | #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1)) | |
10715 | static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10716 | PyObject * _resultobj; | |
10717 | wxPyDivisionShape * _arg0; | |
10718 | double _arg1; | |
10719 | bool _arg2; | |
10720 | PyObject * _argo0 = 0; | |
10721 | int tempbool2; | |
10722 | char *_kwnames[] = { "self","top","test", NULL }; | |
10723 | ||
10724 | self = self; | |
10725 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2)) | |
10726 | return NULL; | |
10727 | if (_argo0) { | |
10728 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10729 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10730 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p."); | |
10731 | return NULL; | |
10732 | } | |
10733 | } | |
10734 | _arg2 = (bool ) tempbool2; | |
10735 | { | |
4268f798 | 10736 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10737 | wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2); |
e91a9dfc | 10738 | |
4268f798 RD |
10739 | wxPyEndAllowThreads(__tstate); |
10740 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10741 | } Py_INCREF(Py_None); |
10742 | _resultobj = Py_None; | |
10743 | return _resultobj; | |
10744 | } | |
10745 | ||
10746 | #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0)) | |
10747 | static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10748 | PyObject * _resultobj; | |
10749 | wxPyDivisionShape * _arg0; | |
10750 | int _arg1; | |
10751 | PyObject * _argo0 = 0; | |
10752 | char *_kwnames[] = { "self","direction", NULL }; | |
10753 | ||
10754 | self = self; | |
10755 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1)) | |
10756 | return NULL; | |
10757 | if (_argo0) { | |
10758 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10759 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10760 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p."); | |
10761 | return NULL; | |
10762 | } | |
10763 | } | |
10764 | { | |
4268f798 | 10765 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10766 | wxPyDivisionShape_Divide(_arg0,_arg1); |
e91a9dfc | 10767 | |
4268f798 RD |
10768 | wxPyEndAllowThreads(__tstate); |
10769 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10770 | } Py_INCREF(Py_None); |
10771 | _resultobj = Py_None; | |
10772 | return _resultobj; | |
10773 | } | |
10774 | ||
10775 | #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0)) | |
10776 | static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10777 | PyObject * _resultobj; | |
10778 | wxPyDivisionShape * _arg0; | |
10779 | int _arg1; | |
10780 | PyObject * _argo0 = 0; | |
10781 | char *_kwnames[] = { "self","side", NULL }; | |
10782 | ||
10783 | self = self; | |
10784 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1)) | |
10785 | return NULL; | |
10786 | if (_argo0) { | |
10787 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10788 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10789 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p."); | |
10790 | return NULL; | |
10791 | } | |
10792 | } | |
10793 | { | |
4268f798 | 10794 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10795 | wxPyDivisionShape_EditEdge(_arg0,_arg1); |
e91a9dfc | 10796 | |
4268f798 RD |
10797 | wxPyEndAllowThreads(__tstate); |
10798 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10799 | } Py_INCREF(Py_None); |
10800 | _resultobj = Py_None; | |
10801 | return _resultobj; | |
10802 | } | |
10803 | ||
10804 | #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide()) | |
10805 | static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10806 | PyObject * _resultobj; | |
10807 | wxPyDivisionShape * _result; | |
10808 | wxPyDivisionShape * _arg0; | |
10809 | PyObject * _argo0 = 0; | |
10810 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
10811 | |
10812 | self = self; | |
10813 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0)) | |
10814 | return NULL; | |
10815 | if (_argo0) { | |
10816 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10817 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10818 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p."); | |
10819 | return NULL; | |
10820 | } | |
10821 | } | |
10822 | { | |
4268f798 | 10823 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10824 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0); |
e91a9dfc | 10825 | |
4268f798 RD |
10826 | wxPyEndAllowThreads(__tstate); |
10827 | if (PyErr_Occurred()) return NULL; | |
2f4e9287 | 10828 | }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); } |
e91a9dfc RD |
10829 | return _resultobj; |
10830 | } | |
10831 | ||
10832 | #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide()) | |
10833 | static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10834 | PyObject * _resultobj; | |
10835 | int _result; | |
10836 | wxPyDivisionShape * _arg0; | |
10837 | PyObject * _argo0 = 0; | |
10838 | char *_kwnames[] = { "self", NULL }; | |
10839 | ||
10840 | self = self; | |
10841 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0)) | |
10842 | return NULL; | |
10843 | if (_argo0) { | |
10844 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10845 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10846 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p."); | |
10847 | return NULL; | |
10848 | } | |
10849 | } | |
10850 | { | |
4268f798 | 10851 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10852 | _result = (int )wxPyDivisionShape_GetHandleSide(_arg0); |
e91a9dfc | 10853 | |
4268f798 RD |
10854 | wxPyEndAllowThreads(__tstate); |
10855 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10856 | } _resultobj = Py_BuildValue("i",_result); |
10857 | return _resultobj; | |
10858 | } | |
10859 | ||
10860 | #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide()) | |
10861 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10862 | PyObject * _resultobj; | |
10863 | wxPyDivisionShape * _result; | |
10864 | wxPyDivisionShape * _arg0; | |
10865 | PyObject * _argo0 = 0; | |
10866 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
10867 | |
10868 | self = self; | |
10869 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0)) | |
10870 | return NULL; | |
10871 | if (_argo0) { | |
10872 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10873 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10874 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p."); | |
10875 | return NULL; | |
10876 | } | |
10877 | } | |
10878 | { | |
4268f798 | 10879 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10880 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0); |
e91a9dfc | 10881 | |
4268f798 RD |
10882 | wxPyEndAllowThreads(__tstate); |
10883 | if (PyErr_Occurred()) return NULL; | |
2f4e9287 | 10884 | }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); } |
e91a9dfc RD |
10885 | return _resultobj; |
10886 | } | |
10887 | ||
10888 | #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour()) | |
10889 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10890 | PyObject * _resultobj; | |
10891 | wxString * _result; | |
10892 | wxPyDivisionShape * _arg0; | |
10893 | PyObject * _argo0 = 0; | |
10894 | char *_kwnames[] = { "self", NULL }; | |
10895 | ||
10896 | self = self; | |
10897 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0)) | |
10898 | return NULL; | |
10899 | if (_argo0) { | |
10900 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10901 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10902 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
10903 | return NULL; | |
10904 | } | |
10905 | } | |
10906 | { | |
4268f798 | 10907 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10908 | _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0)); |
e91a9dfc | 10909 | |
4268f798 RD |
10910 | wxPyEndAllowThreads(__tstate); |
10911 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc | 10912 | }{ |
c8bc7bb8 RD |
10913 | #if wxUSE_UNICODE |
10914 | _resultobj = PyUnicode_FromUnicode(_result->c_str(), _result->Len()); | |
10915 | #else | |
eec92d76 | 10916 | _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len()); |
c8bc7bb8 | 10917 | #endif |
e91a9dfc RD |
10918 | } |
10919 | { | |
10920 | delete _result; | |
10921 | } | |
10922 | return _resultobj; | |
10923 | } | |
10924 | ||
10925 | #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen()) | |
10926 | static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10927 | PyObject * _resultobj; | |
10928 | wxPen * _result; | |
10929 | wxPyDivisionShape * _arg0; | |
10930 | PyObject * _argo0 = 0; | |
10931 | char *_kwnames[] = { "self", NULL }; | |
10932 | char _ptemp[128]; | |
10933 | ||
10934 | self = self; | |
10935 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0)) | |
10936 | return NULL; | |
10937 | if (_argo0) { | |
10938 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10939 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10940 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
10941 | return NULL; | |
10942 | } | |
10943 | } | |
10944 | { | |
4268f798 | 10945 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10946 | _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0); |
e91a9dfc | 10947 | |
4268f798 RD |
10948 | wxPyEndAllowThreads(__tstate); |
10949 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
10950 | } if (_result) { |
10951 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
10952 | _resultobj = Py_BuildValue("s",_ptemp); | |
10953 | } else { | |
10954 | Py_INCREF(Py_None); | |
10955 | _resultobj = Py_None; | |
10956 | } | |
10957 | return _resultobj; | |
10958 | } | |
10959 | ||
10960 | #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide()) | |
10961 | static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10962 | PyObject * _resultobj; | |
10963 | wxPyDivisionShape * _result; | |
10964 | wxPyDivisionShape * _arg0; | |
10965 | PyObject * _argo0 = 0; | |
10966 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
10967 | |
10968 | self = self; | |
10969 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0)) | |
10970 | return NULL; | |
10971 | if (_argo0) { | |
10972 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
10973 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
10974 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p."); | |
10975 | return NULL; | |
10976 | } | |
10977 | } | |
10978 | { | |
4268f798 | 10979 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 10980 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0); |
e91a9dfc | 10981 | |
4268f798 RD |
10982 | wxPyEndAllowThreads(__tstate); |
10983 | if (PyErr_Occurred()) return NULL; | |
2f4e9287 | 10984 | }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); } |
e91a9dfc RD |
10985 | return _resultobj; |
10986 | } | |
10987 | ||
10988 | #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide()) | |
10989 | static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
10990 | PyObject * _resultobj; | |
10991 | wxPyDivisionShape * _result; | |
10992 | wxPyDivisionShape * _arg0; | |
10993 | PyObject * _argo0 = 0; | |
10994 | char *_kwnames[] = { "self", NULL }; | |
e91a9dfc RD |
10995 | |
10996 | self = self; | |
10997 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0)) | |
10998 | return NULL; | |
10999 | if (_argo0) { | |
11000 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11001 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11002 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p."); | |
11003 | return NULL; | |
11004 | } | |
11005 | } | |
11006 | { | |
4268f798 | 11007 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11008 | _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0); |
e91a9dfc | 11009 | |
4268f798 RD |
11010 | wxPyEndAllowThreads(__tstate); |
11011 | if (PyErr_Occurred()) return NULL; | |
2f4e9287 | 11012 | }{ _resultobj = wxPyMake_wxShapeEvtHandler(_result); } |
e91a9dfc RD |
11013 | return _resultobj; |
11014 | } | |
11015 | ||
11016 | #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen()) | |
11017 | static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11018 | PyObject * _resultobj; | |
11019 | wxPen * _result; | |
11020 | wxPyDivisionShape * _arg0; | |
11021 | PyObject * _argo0 = 0; | |
11022 | char *_kwnames[] = { "self", NULL }; | |
11023 | char _ptemp[128]; | |
11024 | ||
11025 | self = self; | |
11026 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0)) | |
11027 | return NULL; | |
11028 | if (_argo0) { | |
11029 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11030 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11031 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p."); | |
11032 | return NULL; | |
11033 | } | |
11034 | } | |
11035 | { | |
4268f798 | 11036 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11037 | _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0); |
e91a9dfc | 11038 | |
4268f798 RD |
11039 | wxPyEndAllowThreads(__tstate); |
11040 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11041 | } if (_result) { |
11042 | SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p"); | |
11043 | _resultobj = Py_BuildValue("s",_ptemp); | |
11044 | } else { | |
11045 | Py_INCREF(Py_None); | |
11046 | _resultobj = Py_None; | |
11047 | } | |
11048 | return _resultobj; | |
11049 | } | |
11050 | ||
11051 | #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2)) | |
11052 | static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11053 | PyObject * _resultobj; | |
11054 | wxPyDivisionShape * _arg0; | |
11055 | int _arg1; | |
11056 | double _arg2; | |
11057 | bool _arg3; | |
11058 | PyObject * _argo0 = 0; | |
11059 | int tempbool3; | |
11060 | char *_kwnames[] = { "self","side","newPos","test", NULL }; | |
11061 | ||
11062 | self = self; | |
11063 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3)) | |
11064 | return NULL; | |
11065 | if (_argo0) { | |
11066 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11067 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11068 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p."); | |
11069 | return NULL; | |
11070 | } | |
11071 | } | |
11072 | _arg3 = (bool ) tempbool3; | |
11073 | { | |
4268f798 | 11074 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11075 | wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3); |
e91a9dfc | 11076 | |
4268f798 RD |
11077 | wxPyEndAllowThreads(__tstate); |
11078 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11079 | } Py_INCREF(Py_None); |
11080 | _resultobj = Py_None; | |
11081 | return _resultobj; | |
11082 | } | |
11083 | ||
11084 | #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1)) | |
11085 | static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11086 | PyObject * _resultobj; | |
11087 | wxPyDivisionShape * _arg0; | |
11088 | double _arg1; | |
11089 | double _arg2; | |
11090 | PyObject * _argo0 = 0; | |
11091 | char *_kwnames[] = { "self","x","y", NULL }; | |
11092 | ||
11093 | self = self; | |
11094 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11095 | return NULL; | |
11096 | if (_argo0) { | |
11097 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11098 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11099 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p."); | |
11100 | return NULL; | |
11101 | } | |
11102 | } | |
11103 | { | |
4268f798 | 11104 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11105 | wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2); |
e91a9dfc | 11106 | |
4268f798 RD |
11107 | wxPyEndAllowThreads(__tstate); |
11108 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11109 | } Py_INCREF(Py_None); |
11110 | _resultobj = Py_None; | |
11111 | return _resultobj; | |
11112 | } | |
11113 | ||
11114 | #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0)) | |
11115 | static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11116 | PyObject * _resultobj; | |
11117 | wxPyDivisionShape * _arg0; | |
11118 | wxPyDivisionShape * _arg1; | |
11119 | PyObject * _argo0 = 0; | |
11120 | PyObject * _argo1 = 0; | |
11121 | char *_kwnames[] = { "self","shape", NULL }; | |
11122 | ||
11123 | self = self; | |
11124 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1)) | |
11125 | return NULL; | |
11126 | if (_argo0) { | |
11127 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11128 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11129 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
11130 | return NULL; | |
11131 | } | |
11132 | } | |
11133 | if (_argo1) { | |
11134 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11135 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11136 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p."); | |
11137 | return NULL; | |
11138 | } | |
11139 | } | |
11140 | { | |
4268f798 | 11141 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11142 | wxPyDivisionShape_SetBottomSide(_arg0,_arg1); |
e91a9dfc | 11143 | |
4268f798 RD |
11144 | wxPyEndAllowThreads(__tstate); |
11145 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11146 | } Py_INCREF(Py_None); |
11147 | _resultobj = Py_None; | |
11148 | return _resultobj; | |
11149 | } | |
11150 | ||
11151 | #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0)) | |
11152 | static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11153 | PyObject * _resultobj; | |
11154 | wxPyDivisionShape * _arg0; | |
11155 | int _arg1; | |
11156 | PyObject * _argo0 = 0; | |
11157 | char *_kwnames[] = { "self","side", NULL }; | |
11158 | ||
11159 | self = self; | |
11160 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1)) | |
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_SetHandleSide. Expected _wxPyDivisionShape_p."); | |
11166 | return NULL; | |
11167 | } | |
11168 | } | |
11169 | { | |
4268f798 | 11170 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11171 | wxPyDivisionShape_SetHandleSide(_arg0,_arg1); |
e91a9dfc | 11172 | |
4268f798 RD |
11173 | wxPyEndAllowThreads(__tstate); |
11174 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11175 | } Py_INCREF(Py_None); |
11176 | _resultobj = Py_None; | |
11177 | return _resultobj; | |
11178 | } | |
11179 | ||
11180 | #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0)) | |
11181 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11182 | PyObject * _resultobj; | |
11183 | wxPyDivisionShape * _arg0; | |
11184 | wxPyDivisionShape * _arg1; | |
11185 | PyObject * _argo0 = 0; | |
11186 | PyObject * _argo1 = 0; | |
11187 | char *_kwnames[] = { "self","shape", NULL }; | |
11188 | ||
11189 | self = self; | |
11190 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1)) | |
11191 | return NULL; | |
11192 | if (_argo0) { | |
11193 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11194 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11195 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
11196 | return NULL; | |
11197 | } | |
11198 | } | |
11199 | if (_argo1) { | |
11200 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11201 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11202 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p."); | |
11203 | return NULL; | |
11204 | } | |
11205 | } | |
11206 | { | |
4268f798 | 11207 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11208 | wxPyDivisionShape_SetLeftSide(_arg0,_arg1); |
e91a9dfc | 11209 | |
4268f798 RD |
11210 | wxPyEndAllowThreads(__tstate); |
11211 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11212 | } Py_INCREF(Py_None); |
11213 | _resultobj = Py_None; | |
11214 | return _resultobj; | |
11215 | } | |
11216 | ||
11217 | #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0)) | |
11218 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11219 | PyObject * _resultobj; | |
11220 | wxPyDivisionShape * _arg0; | |
11221 | wxString * _arg1; | |
11222 | PyObject * _argo0 = 0; | |
11223 | PyObject * _obj1 = 0; | |
11224 | char *_kwnames[] = { "self","colour", NULL }; | |
11225 | ||
11226 | self = self; | |
11227 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1)) | |
11228 | return NULL; | |
11229 | if (_argo0) { | |
11230 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11231 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11232 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p."); | |
11233 | return NULL; | |
11234 | } | |
11235 | } | |
11236 | { | |
c8bc7bb8 RD |
11237 | _arg1 = wxString_in_helper(_obj1); |
11238 | if (_arg1 == NULL) | |
e91a9dfc | 11239 | return NULL; |
e91a9dfc RD |
11240 | } |
11241 | { | |
4268f798 | 11242 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11243 | wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1); |
e91a9dfc | 11244 | |
4268f798 RD |
11245 | wxPyEndAllowThreads(__tstate); |
11246 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11247 | } Py_INCREF(Py_None); |
11248 | _resultobj = Py_None; | |
11249 | { | |
11250 | if (_obj1) | |
11251 | delete _arg1; | |
11252 | } | |
11253 | return _resultobj; | |
11254 | } | |
11255 | ||
11256 | #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0)) | |
11257 | static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11258 | PyObject * _resultobj; | |
11259 | wxPyDivisionShape * _arg0; | |
11260 | wxPen * _arg1; | |
11261 | PyObject * _argo0 = 0; | |
d74525f7 | 11262 | PyObject * _obj1 = 0; |
e91a9dfc RD |
11263 | char *_kwnames[] = { "self","pen", NULL }; |
11264 | ||
11265 | self = self; | |
d74525f7 | 11266 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
11267 | return NULL; |
11268 | if (_argo0) { | |
11269 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11270 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11271 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p."); | |
11272 | return NULL; | |
11273 | } | |
11274 | } | |
d74525f7 RD |
11275 | { |
11276 | wxPen* temp; | |
11277 | if (_obj1) { | |
11278 | if (_obj1 == Py_None) { temp = NULL; } | |
11279 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
11280 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
e91a9dfc RD |
11281 | return NULL; |
11282 | } | |
11283 | } | |
d74525f7 RD |
11284 | if (temp) |
11285 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
11286 | temp->GetWidth(), | |
11287 | temp->GetStyle()); | |
11288 | else | |
11289 | _arg1 = NULL; | |
11290 | } | |
e91a9dfc | 11291 | { |
4268f798 | 11292 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11293 | wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1); |
e91a9dfc | 11294 | |
4268f798 RD |
11295 | wxPyEndAllowThreads(__tstate); |
11296 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11297 | } Py_INCREF(Py_None); |
11298 | _resultobj = Py_None; | |
11299 | return _resultobj; | |
11300 | } | |
11301 | ||
11302 | #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0)) | |
11303 | static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11304 | PyObject * _resultobj; | |
11305 | wxPyDivisionShape * _arg0; | |
11306 | wxPyDivisionShape * _arg1; | |
11307 | PyObject * _argo0 = 0; | |
11308 | PyObject * _argo1 = 0; | |
11309 | char *_kwnames[] = { "self","shape", NULL }; | |
11310 | ||
11311 | self = self; | |
11312 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1)) | |
11313 | return NULL; | |
11314 | if (_argo0) { | |
11315 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11316 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11317 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
11318 | return NULL; | |
11319 | } | |
11320 | } | |
11321 | if (_argo1) { | |
11322 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11323 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11324 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p."); | |
11325 | return NULL; | |
11326 | } | |
11327 | } | |
11328 | { | |
4268f798 | 11329 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11330 | wxPyDivisionShape_SetRightSide(_arg0,_arg1); |
e91a9dfc | 11331 | |
4268f798 RD |
11332 | wxPyEndAllowThreads(__tstate); |
11333 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11334 | } Py_INCREF(Py_None); |
11335 | _resultobj = Py_None; | |
11336 | return _resultobj; | |
11337 | } | |
11338 | ||
11339 | #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0)) | |
11340 | static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11341 | PyObject * _resultobj; | |
11342 | wxPyDivisionShape * _arg0; | |
11343 | wxPyDivisionShape * _arg1; | |
11344 | PyObject * _argo0 = 0; | |
11345 | PyObject * _argo1 = 0; | |
11346 | char *_kwnames[] = { "self","shape", NULL }; | |
11347 | ||
11348 | self = self; | |
11349 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1)) | |
11350 | return NULL; | |
11351 | if (_argo0) { | |
11352 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11353 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11354 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11355 | return NULL; | |
11356 | } | |
11357 | } | |
11358 | if (_argo1) { | |
11359 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11360 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) { | |
11361 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p."); | |
11362 | return NULL; | |
11363 | } | |
11364 | } | |
11365 | { | |
4268f798 | 11366 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11367 | wxPyDivisionShape_SetTopSide(_arg0,_arg1); |
e91a9dfc | 11368 | |
4268f798 RD |
11369 | wxPyEndAllowThreads(__tstate); |
11370 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11371 | } Py_INCREF(Py_None); |
11372 | _resultobj = Py_None; | |
11373 | return _resultobj; | |
11374 | } | |
11375 | ||
11376 | #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0)) | |
11377 | static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11378 | PyObject * _resultobj; | |
11379 | wxPyDivisionShape * _arg0; | |
11380 | wxString * _arg1; | |
11381 | PyObject * _argo0 = 0; | |
11382 | PyObject * _obj1 = 0; | |
11383 | char *_kwnames[] = { "self","colour", NULL }; | |
11384 | ||
11385 | self = self; | |
11386 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1)) | |
11387 | return NULL; | |
11388 | if (_argo0) { | |
11389 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11390 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11391 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p."); | |
11392 | return NULL; | |
11393 | } | |
11394 | } | |
11395 | { | |
c8bc7bb8 RD |
11396 | _arg1 = wxString_in_helper(_obj1); |
11397 | if (_arg1 == NULL) | |
185d7c3e | 11398 | return NULL; |
e91a9dfc RD |
11399 | } |
11400 | { | |
4268f798 | 11401 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11402 | wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1); |
e91a9dfc | 11403 | |
4268f798 RD |
11404 | wxPyEndAllowThreads(__tstate); |
11405 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11406 | } Py_INCREF(Py_None); |
11407 | _resultobj = Py_None; | |
11408 | { | |
11409 | if (_obj1) | |
11410 | delete _arg1; | |
11411 | } | |
11412 | return _resultobj; | |
11413 | } | |
11414 | ||
11415 | #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0)) | |
11416 | static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11417 | PyObject * _resultobj; | |
11418 | wxPyDivisionShape * _arg0; | |
11419 | wxPen * _arg1; | |
11420 | PyObject * _argo0 = 0; | |
d74525f7 | 11421 | PyObject * _obj1 = 0; |
e91a9dfc RD |
11422 | char *_kwnames[] = { "self","pen", NULL }; |
11423 | ||
11424 | self = self; | |
d74525f7 | 11425 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1)) |
e91a9dfc RD |
11426 | return NULL; |
11427 | if (_argo0) { | |
11428 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11429 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11430 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p."); | |
11431 | return NULL; | |
11432 | } | |
11433 | } | |
d74525f7 RD |
11434 | { |
11435 | wxPen* temp; | |
11436 | if (_obj1) { | |
11437 | if (_obj1 == Py_None) { temp = NULL; } | |
11438 | else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) { | |
11439 | PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p."); | |
e91a9dfc RD |
11440 | return NULL; |
11441 | } | |
11442 | } | |
d74525f7 RD |
11443 | if (temp) |
11444 | _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(), | |
11445 | temp->GetWidth(), | |
11446 | temp->GetStyle()); | |
11447 | else | |
11448 | _arg1 = NULL; | |
11449 | } | |
e91a9dfc | 11450 | { |
4268f798 | 11451 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11452 | wxPyDivisionShape_SetTopSidePen(_arg0,_arg1); |
e91a9dfc | 11453 | |
4268f798 RD |
11454 | wxPyEndAllowThreads(__tstate); |
11455 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11456 | } Py_INCREF(Py_None); |
11457 | _resultobj = Py_None; | |
11458 | return _resultobj; | |
11459 | } | |
11460 | ||
11461 | #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete()) | |
11462 | static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11463 | PyObject * _resultobj; | |
11464 | wxPyDivisionShape * _arg0; | |
11465 | PyObject * _argo0 = 0; | |
11466 | char *_kwnames[] = { "self", NULL }; | |
11467 | ||
11468 | self = self; | |
11469 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0)) | |
11470 | return NULL; | |
11471 | if (_argo0) { | |
11472 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11473 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11474 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p."); | |
11475 | return NULL; | |
11476 | } | |
11477 | } | |
11478 | { | |
4268f798 | 11479 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11480 | wxPyDivisionShape_base_OnDelete(_arg0); |
e91a9dfc | 11481 | |
4268f798 RD |
11482 | wxPyEndAllowThreads(__tstate); |
11483 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11484 | } Py_INCREF(Py_None); |
11485 | _resultobj = Py_None; | |
11486 | return _resultobj; | |
11487 | } | |
11488 | ||
11489 | #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0)) | |
11490 | static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11491 | PyObject * _resultobj; | |
11492 | wxPyDivisionShape * _arg0; | |
11493 | wxDC * _arg1; | |
11494 | PyObject * _argo0 = 0; | |
11495 | PyObject * _argo1 = 0; | |
11496 | char *_kwnames[] = { "self","dc", NULL }; | |
11497 | ||
11498 | self = self; | |
11499 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1)) | |
11500 | return NULL; | |
11501 | if (_argo0) { | |
11502 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11503 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11504 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p."); | |
11505 | return NULL; | |
11506 | } | |
11507 | } | |
11508 | if (_argo1) { | |
11509 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11510 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11511 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p."); | |
11512 | return NULL; | |
11513 | } | |
11514 | } | |
11515 | { | |
4268f798 | 11516 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11517 | wxPyDivisionShape_base_OnDraw(_arg0,*_arg1); |
e91a9dfc | 11518 | |
4268f798 RD |
11519 | wxPyEndAllowThreads(__tstate); |
11520 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11521 | } Py_INCREF(Py_None); |
11522 | _resultobj = Py_None; | |
11523 | return _resultobj; | |
11524 | } | |
11525 | ||
11526 | #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0)) | |
11527 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11528 | PyObject * _resultobj; | |
11529 | wxPyDivisionShape * _arg0; | |
11530 | wxDC * _arg1; | |
11531 | PyObject * _argo0 = 0; | |
11532 | PyObject * _argo1 = 0; | |
11533 | char *_kwnames[] = { "self","dc", NULL }; | |
11534 | ||
11535 | self = self; | |
11536 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1)) | |
11537 | return NULL; | |
11538 | if (_argo0) { | |
11539 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11540 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11541 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p."); | |
11542 | return NULL; | |
11543 | } | |
11544 | } | |
11545 | if (_argo1) { | |
11546 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11547 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11548 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p."); | |
11549 | return NULL; | |
11550 | } | |
11551 | } | |
11552 | { | |
4268f798 | 11553 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11554 | wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1); |
e91a9dfc | 11555 | |
4268f798 RD |
11556 | wxPyEndAllowThreads(__tstate); |
11557 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11558 | } Py_INCREF(Py_None); |
11559 | _resultobj = Py_None; | |
11560 | return _resultobj; | |
11561 | } | |
11562 | ||
11563 | #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1)) | |
11564 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11565 | PyObject * _resultobj; | |
11566 | wxPyDivisionShape * _arg0; | |
11567 | wxDC * _arg1; | |
11568 | bool _arg2 = (bool ) FALSE; | |
11569 | PyObject * _argo0 = 0; | |
11570 | PyObject * _argo1 = 0; | |
11571 | int tempbool2 = (int) FALSE; | |
11572 | char *_kwnames[] = { "self","dc","erase", NULL }; | |
11573 | ||
11574 | self = self; | |
11575 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
11576 | return NULL; | |
11577 | if (_argo0) { | |
11578 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11579 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11580 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p."); | |
11581 | return NULL; | |
11582 | } | |
11583 | } | |
11584 | if (_argo1) { | |
11585 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11586 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11587 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p."); | |
11588 | return NULL; | |
11589 | } | |
11590 | } | |
11591 | _arg2 = (bool ) tempbool2; | |
11592 | { | |
4268f798 | 11593 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11594 | wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2); |
e91a9dfc | 11595 | |
4268f798 RD |
11596 | wxPyEndAllowThreads(__tstate); |
11597 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11598 | } Py_INCREF(Py_None); |
11599 | _resultobj = Py_None; | |
11600 | return _resultobj; | |
11601 | } | |
11602 | ||
11603 | #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0)) | |
11604 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11605 | PyObject * _resultobj; | |
11606 | wxPyDivisionShape * _arg0; | |
11607 | wxDC * _arg1; | |
11608 | PyObject * _argo0 = 0; | |
11609 | PyObject * _argo1 = 0; | |
11610 | char *_kwnames[] = { "self","dc", NULL }; | |
11611 | ||
11612 | self = self; | |
11613 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1)) | |
11614 | return NULL; | |
11615 | if (_argo0) { | |
11616 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11617 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11618 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p."); | |
11619 | return NULL; | |
11620 | } | |
11621 | } | |
11622 | if (_argo1) { | |
11623 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11624 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11625 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p."); | |
11626 | return NULL; | |
11627 | } | |
11628 | } | |
11629 | { | |
4268f798 | 11630 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11631 | wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1); |
e91a9dfc | 11632 | |
4268f798 RD |
11633 | wxPyEndAllowThreads(__tstate); |
11634 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11635 | } Py_INCREF(Py_None); |
11636 | _resultobj = Py_None; | |
11637 | return _resultobj; | |
11638 | } | |
11639 | ||
11640 | #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0)) | |
11641 | static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11642 | PyObject * _resultobj; | |
11643 | wxPyDivisionShape * _arg0; | |
11644 | wxDC * _arg1; | |
11645 | PyObject * _argo0 = 0; | |
11646 | PyObject * _argo1 = 0; | |
11647 | char *_kwnames[] = { "self","dc", NULL }; | |
11648 | ||
11649 | self = self; | |
11650 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1)) | |
11651 | return NULL; | |
11652 | if (_argo0) { | |
11653 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11654 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11655 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p."); | |
11656 | return NULL; | |
11657 | } | |
11658 | } | |
11659 | if (_argo1) { | |
11660 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11661 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11662 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p."); | |
11663 | return NULL; | |
11664 | } | |
11665 | } | |
11666 | { | |
4268f798 | 11667 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11668 | wxPyDivisionShape_base_OnErase(_arg0,*_arg1); |
e91a9dfc | 11669 | |
4268f798 RD |
11670 | wxPyEndAllowThreads(__tstate); |
11671 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11672 | } Py_INCREF(Py_None); |
11673 | _resultobj = Py_None; | |
11674 | return _resultobj; | |
11675 | } | |
11676 | ||
11677 | #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0)) | |
11678 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11679 | PyObject * _resultobj; | |
11680 | wxPyDivisionShape * _arg0; | |
11681 | wxDC * _arg1; | |
11682 | PyObject * _argo0 = 0; | |
11683 | PyObject * _argo1 = 0; | |
11684 | char *_kwnames[] = { "self","dc", NULL }; | |
11685 | ||
11686 | self = self; | |
11687 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1)) | |
11688 | return NULL; | |
11689 | if (_argo0) { | |
11690 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11691 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11692 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p."); | |
11693 | return NULL; | |
11694 | } | |
11695 | } | |
11696 | if (_argo1) { | |
11697 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11698 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11699 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p."); | |
11700 | return NULL; | |
11701 | } | |
11702 | } | |
11703 | { | |
4268f798 | 11704 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11705 | wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1); |
e91a9dfc | 11706 | |
4268f798 RD |
11707 | wxPyEndAllowThreads(__tstate); |
11708 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11709 | } Py_INCREF(Py_None); |
11710 | _resultobj = Py_None; | |
11711 | return _resultobj; | |
11712 | } | |
11713 | ||
11714 | #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0)) | |
11715 | static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11716 | PyObject * _resultobj; | |
11717 | wxPyDivisionShape * _arg0; | |
11718 | wxDC * _arg1; | |
11719 | PyObject * _argo0 = 0; | |
11720 | PyObject * _argo1 = 0; | |
11721 | char *_kwnames[] = { "self","dc", NULL }; | |
11722 | ||
11723 | self = self; | |
11724 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1)) | |
11725 | return NULL; | |
11726 | if (_argo0) { | |
11727 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11728 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11729 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p."); | |
11730 | return NULL; | |
11731 | } | |
11732 | } | |
11733 | if (_argo1) { | |
11734 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11735 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11736 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p."); | |
11737 | return NULL; | |
11738 | } | |
11739 | } | |
11740 | { | |
4268f798 | 11741 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11742 | wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1); |
e91a9dfc | 11743 | |
4268f798 RD |
11744 | wxPyEndAllowThreads(__tstate); |
11745 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11746 | } Py_INCREF(Py_None); |
11747 | _resultobj = Py_None; | |
11748 | return _resultobj; | |
11749 | } | |
11750 | ||
11751 | #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11752 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11753 | PyObject * _resultobj; | |
11754 | wxPyDivisionShape * _arg0; | |
11755 | double _arg1; | |
11756 | double _arg2; | |
11757 | int _arg3 = (int ) 0; | |
11758 | int _arg4 = (int ) 0; | |
11759 | PyObject * _argo0 = 0; | |
11760 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11761 | ||
11762 | self = self; | |
11763 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11764 | return NULL; | |
11765 | if (_argo0) { | |
11766 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11767 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11768 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p."); | |
11769 | return NULL; | |
11770 | } | |
11771 | } | |
11772 | { | |
4268f798 | 11773 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11774 | wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 11775 | |
4268f798 RD |
11776 | wxPyEndAllowThreads(__tstate); |
11777 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11778 | } Py_INCREF(Py_None); |
11779 | _resultobj = Py_None; | |
11780 | return _resultobj; | |
11781 | } | |
11782 | ||
11783 | #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11784 | static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11785 | PyObject * _resultobj; | |
11786 | wxPyDivisionShape * _arg0; | |
11787 | double _arg1; | |
11788 | double _arg2; | |
11789 | int _arg3 = (int ) 0; | |
11790 | int _arg4 = (int ) 0; | |
11791 | PyObject * _argo0 = 0; | |
11792 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11793 | ||
11794 | self = self; | |
11795 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11796 | return NULL; | |
11797 | if (_argo0) { | |
11798 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11799 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11800 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p."); | |
11801 | return NULL; | |
11802 | } | |
11803 | } | |
11804 | { | |
4268f798 | 11805 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11806 | wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 11807 | |
4268f798 RD |
11808 | wxPyEndAllowThreads(__tstate); |
11809 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11810 | } Py_INCREF(Py_None); |
11811 | _resultobj = Py_None; | |
11812 | return _resultobj; | |
11813 | } | |
11814 | ||
11815 | #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
11816 | static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11817 | PyObject * _resultobj; | |
11818 | wxPyDivisionShape * _arg0; | |
11819 | double _arg1; | |
11820 | double _arg2; | |
11821 | int _arg3 = (int ) 0; | |
11822 | int _arg4 = (int ) 0; | |
11823 | PyObject * _argo0 = 0; | |
11824 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
11825 | ||
11826 | self = self; | |
11827 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
11828 | return NULL; | |
11829 | if (_argo0) { | |
11830 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11831 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11832 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p."); | |
11833 | return NULL; | |
11834 | } | |
11835 | } | |
11836 | { | |
4268f798 | 11837 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11838 | wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 11839 | |
4268f798 RD |
11840 | wxPyEndAllowThreads(__tstate); |
11841 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11842 | } Py_INCREF(Py_None); |
11843 | _resultobj = Py_None; | |
11844 | return _resultobj; | |
11845 | } | |
11846 | ||
11847 | #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1)) | |
11848 | static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11849 | PyObject * _resultobj; | |
11850 | wxPyDivisionShape * _arg0; | |
11851 | double _arg1; | |
11852 | double _arg2; | |
11853 | PyObject * _argo0 = 0; | |
11854 | char *_kwnames[] = { "self","x","y", NULL }; | |
11855 | ||
11856 | self = self; | |
11857 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
11858 | return NULL; | |
11859 | if (_argo0) { | |
11860 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11861 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11862 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p."); | |
11863 | return NULL; | |
11864 | } | |
11865 | } | |
11866 | { | |
4268f798 | 11867 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11868 | wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2); |
e91a9dfc | 11869 | |
4268f798 RD |
11870 | wxPyEndAllowThreads(__tstate); |
11871 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11872 | } Py_INCREF(Py_None); |
11873 | _resultobj = Py_None; | |
11874 | return _resultobj; | |
11875 | } | |
11876 | ||
11877 | #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11878 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11879 | PyObject * _resultobj; | |
11880 | bool _result; | |
11881 | wxPyDivisionShape * _arg0; | |
11882 | wxDC * _arg1; | |
11883 | double _arg2; | |
11884 | double _arg3; | |
11885 | double _arg4; | |
11886 | double _arg5; | |
11887 | bool _arg6 = (bool ) TRUE; | |
11888 | PyObject * _argo0 = 0; | |
11889 | PyObject * _argo1 = 0; | |
11890 | int tempbool6 = (int) TRUE; | |
11891 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11892 | ||
11893 | self = self; | |
11894 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11895 | return NULL; | |
11896 | if (_argo0) { | |
11897 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11898 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11899 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p."); | |
11900 | return NULL; | |
11901 | } | |
11902 | } | |
11903 | if (_argo1) { | |
11904 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11905 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11906 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p."); | |
11907 | return NULL; | |
11908 | } | |
11909 | } | |
11910 | _arg6 = (bool ) tempbool6; | |
11911 | { | |
4268f798 | 11912 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11913 | _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 11914 | |
4268f798 RD |
11915 | wxPyEndAllowThreads(__tstate); |
11916 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11917 | } _resultobj = Py_BuildValue("i",_result); |
11918 | return _resultobj; | |
11919 | } | |
11920 | ||
11921 | #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
11922 | static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11923 | PyObject * _resultobj; | |
11924 | wxPyDivisionShape * _arg0; | |
11925 | wxDC * _arg1; | |
11926 | double _arg2; | |
11927 | double _arg3; | |
11928 | double _arg4; | |
11929 | double _arg5; | |
11930 | bool _arg6 = (bool ) TRUE; | |
11931 | PyObject * _argo0 = 0; | |
11932 | PyObject * _argo1 = 0; | |
11933 | int tempbool6 = (int) TRUE; | |
11934 | char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL }; | |
11935 | ||
11936 | self = self; | |
11937 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6)) | |
11938 | return NULL; | |
11939 | if (_argo0) { | |
11940 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11941 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11942 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p."); | |
11943 | return NULL; | |
11944 | } | |
11945 | } | |
11946 | if (_argo1) { | |
11947 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
11948 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
11949 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p."); | |
11950 | return NULL; | |
11951 | } | |
11952 | } | |
11953 | _arg6 = (bool ) tempbool6; | |
11954 | { | |
4268f798 | 11955 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11956 | wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 11957 | |
4268f798 RD |
11958 | wxPyEndAllowThreads(__tstate); |
11959 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11960 | } Py_INCREF(Py_None); |
11961 | _resultobj = Py_None; | |
11962 | return _resultobj; | |
11963 | } | |
11964 | ||
11965 | #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
11966 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
11967 | PyObject * _resultobj; | |
11968 | wxPyDivisionShape * _arg0; | |
11969 | bool _arg1; | |
11970 | double _arg2; | |
11971 | double _arg3; | |
11972 | int _arg4 = (int ) 0; | |
11973 | int _arg5 = (int ) 0; | |
11974 | PyObject * _argo0 = 0; | |
11975 | int tempbool1; | |
11976 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
11977 | ||
11978 | self = self; | |
11979 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
11980 | return NULL; | |
11981 | if (_argo0) { | |
11982 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
11983 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
11984 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p."); | |
11985 | return NULL; | |
11986 | } | |
11987 | } | |
11988 | _arg1 = (bool ) tempbool1; | |
11989 | { | |
4268f798 | 11990 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 11991 | wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 11992 | |
4268f798 RD |
11993 | wxPyEndAllowThreads(__tstate); |
11994 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
11995 | } Py_INCREF(Py_None); |
11996 | _resultobj = Py_None; | |
11997 | return _resultobj; | |
11998 | } | |
11999 | ||
12000 | #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
12001 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12002 | PyObject * _resultobj; | |
12003 | wxPyDivisionShape * _arg0; | |
12004 | double _arg1; | |
12005 | double _arg2; | |
12006 | int _arg3 = (int ) 0; | |
12007 | int _arg4 = (int ) 0; | |
12008 | PyObject * _argo0 = 0; | |
12009 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
12010 | ||
12011 | self = self; | |
12012 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
12013 | return NULL; | |
12014 | if (_argo0) { | |
12015 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12016 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12017 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
12018 | return NULL; | |
12019 | } | |
12020 | } | |
12021 | { | |
4268f798 | 12022 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12023 | wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 12024 | |
4268f798 RD |
12025 | wxPyEndAllowThreads(__tstate); |
12026 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12027 | } Py_INCREF(Py_None); |
12028 | _resultobj = Py_None; | |
12029 | return _resultobj; | |
12030 | } | |
12031 | ||
12032 | #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
12033 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12034 | PyObject * _resultobj; | |
12035 | wxPyDivisionShape * _arg0; | |
12036 | double _arg1; | |
12037 | double _arg2; | |
12038 | int _arg3 = (int ) 0; | |
12039 | int _arg4 = (int ) 0; | |
12040 | PyObject * _argo0 = 0; | |
12041 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
12042 | ||
12043 | self = self; | |
12044 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
12045 | return NULL; | |
12046 | if (_argo0) { | |
12047 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12048 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12049 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p."); | |
12050 | return NULL; | |
12051 | } | |
12052 | } | |
12053 | { | |
4268f798 | 12054 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12055 | wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 12056 | |
4268f798 RD |
12057 | wxPyEndAllowThreads(__tstate); |
12058 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12059 | } Py_INCREF(Py_None); |
12060 | _resultobj = Py_None; | |
12061 | return _resultobj; | |
12062 | } | |
12063 | ||
12064 | #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12065 | static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12066 | PyObject * _resultobj; | |
12067 | wxPyDivisionShape * _arg0; | |
12068 | bool _arg1; | |
12069 | double _arg2; | |
12070 | double _arg3; | |
12071 | int _arg4 = (int ) 0; | |
12072 | int _arg5 = (int ) 0; | |
12073 | PyObject * _argo0 = 0; | |
12074 | int tempbool1; | |
12075 | char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL }; | |
12076 | ||
12077 | self = self; | |
12078 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12079 | return NULL; | |
12080 | if (_argo0) { | |
12081 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12082 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12083 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p."); | |
12084 | return NULL; | |
12085 | } | |
12086 | } | |
12087 | _arg1 = (bool ) tempbool1; | |
12088 | { | |
4268f798 | 12089 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12090 | wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 12091 | |
4268f798 RD |
12092 | wxPyEndAllowThreads(__tstate); |
12093 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12094 | } Py_INCREF(Py_None); |
12095 | _resultobj = Py_None; | |
12096 | return _resultobj; | |
12097 | } | |
12098 | ||
12099 | #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
12100 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12101 | PyObject * _resultobj; | |
12102 | wxPyDivisionShape * _arg0; | |
12103 | double _arg1; | |
12104 | double _arg2; | |
12105 | int _arg3 = (int ) 0; | |
12106 | int _arg4 = (int ) 0; | |
12107 | PyObject * _argo0 = 0; | |
12108 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
12109 | ||
12110 | self = self; | |
12111 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
12112 | return NULL; | |
12113 | if (_argo0) { | |
12114 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12115 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12116 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p."); | |
12117 | return NULL; | |
12118 | } | |
12119 | } | |
12120 | { | |
4268f798 | 12121 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12122 | wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 12123 | |
4268f798 RD |
12124 | wxPyEndAllowThreads(__tstate); |
12125 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12126 | } Py_INCREF(Py_None); |
12127 | _resultobj = Py_None; | |
12128 | return _resultobj; | |
12129 | } | |
12130 | ||
12131 | #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3)) | |
12132 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12133 | PyObject * _resultobj; | |
12134 | wxPyDivisionShape * _arg0; | |
12135 | double _arg1; | |
12136 | double _arg2; | |
12137 | int _arg3 = (int ) 0; | |
12138 | int _arg4 = (int ) 0; | |
12139 | PyObject * _argo0 = 0; | |
12140 | char *_kwnames[] = { "self","x","y","keys","attachment", NULL }; | |
12141 | ||
12142 | self = self; | |
12143 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4)) | |
12144 | return NULL; | |
12145 | if (_argo0) { | |
12146 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12147 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12148 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p."); | |
12149 | return NULL; | |
12150 | } | |
12151 | } | |
12152 | { | |
4268f798 | 12153 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12154 | wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4); |
e91a9dfc | 12155 | |
4268f798 RD |
12156 | wxPyEndAllowThreads(__tstate); |
12157 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12158 | } Py_INCREF(Py_None); |
12159 | _resultobj = Py_None; | |
12160 | return _resultobj; | |
12161 | } | |
12162 | ||
12163 | #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12164 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12165 | PyObject * _resultobj; | |
12166 | wxPyDivisionShape * _arg0; | |
12167 | wxDC * _arg1; | |
12168 | double _arg2; | |
12169 | double _arg3; | |
12170 | double _arg4; | |
12171 | double _arg5; | |
12172 | PyObject * _argo0 = 0; | |
12173 | PyObject * _argo1 = 0; | |
12174 | char *_kwnames[] = { "self","dc","x","y","w","h", NULL }; | |
12175 | ||
12176 | self = self; | |
12177 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12178 | return NULL; | |
12179 | if (_argo0) { | |
12180 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12181 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12182 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p."); | |
12183 | return NULL; | |
12184 | } | |
12185 | } | |
12186 | if (_argo1) { | |
12187 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12188 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
12189 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p."); | |
12190 | return NULL; | |
12191 | } | |
12192 | } | |
12193 | { | |
4268f798 | 12194 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12195 | wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 12196 | |
4268f798 RD |
12197 | wxPyEndAllowThreads(__tstate); |
12198 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12199 | } Py_INCREF(Py_None); |
12200 | _resultobj = Py_None; | |
12201 | return _resultobj; | |
12202 | } | |
12203 | ||
12204 | #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0)) | |
12205 | static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12206 | PyObject * _resultobj; | |
12207 | wxPyDivisionShape * _arg0; | |
12208 | wxDC * _arg1; | |
12209 | PyObject * _argo0 = 0; | |
12210 | PyObject * _argo1 = 0; | |
12211 | char *_kwnames[] = { "self","dc", NULL }; | |
12212 | ||
12213 | self = self; | |
12214 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1)) | |
12215 | return NULL; | |
12216 | if (_argo0) { | |
12217 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12218 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12219 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p."); | |
12220 | return NULL; | |
12221 | } | |
12222 | } | |
12223 | if (_argo1) { | |
12224 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12225 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
12226 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p."); | |
12227 | return NULL; | |
12228 | } | |
12229 | } | |
12230 | { | |
4268f798 | 12231 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12232 | wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1); |
e91a9dfc | 12233 | |
4268f798 RD |
12234 | wxPyEndAllowThreads(__tstate); |
12235 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12236 | } Py_INCREF(Py_None); |
12237 | _resultobj = Py_None; | |
12238 | return _resultobj; | |
12239 | } | |
12240 | ||
12241 | #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0)) | |
12242 | static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12243 | PyObject * _resultobj; | |
12244 | wxPyDivisionShape * _arg0; | |
12245 | wxDC * _arg1; | |
12246 | PyObject * _argo0 = 0; | |
12247 | PyObject * _argo1 = 0; | |
12248 | char *_kwnames[] = { "self","dc", NULL }; | |
12249 | ||
12250 | self = self; | |
12251 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1)) | |
12252 | return NULL; | |
12253 | if (_argo0) { | |
12254 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12255 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12256 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p."); | |
12257 | return NULL; | |
12258 | } | |
12259 | } | |
12260 | if (_argo1) { | |
12261 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12262 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
12263 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p."); | |
12264 | return NULL; | |
12265 | } | |
12266 | } | |
12267 | { | |
4268f798 | 12268 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12269 | wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1); |
e91a9dfc | 12270 | |
4268f798 RD |
12271 | wxPyEndAllowThreads(__tstate); |
12272 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12273 | } Py_INCREF(Py_None); |
12274 | _resultobj = Py_None; | |
12275 | return _resultobj; | |
12276 | } | |
12277 | ||
12278 | #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1)) | |
12279 | static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12280 | PyObject * _resultobj; | |
12281 | wxPyDivisionShape * _arg0; | |
12282 | wxDC * _arg1; | |
12283 | bool _arg2 = (bool ) TRUE; | |
12284 | PyObject * _argo0 = 0; | |
12285 | PyObject * _argo1 = 0; | |
12286 | int tempbool2 = (int) TRUE; | |
12287 | char *_kwnames[] = { "self","dc","moveControlPoints", NULL }; | |
12288 | ||
12289 | self = self; | |
12290 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2)) | |
12291 | return NULL; | |
12292 | if (_argo0) { | |
12293 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12294 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12295 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p."); | |
12296 | return NULL; | |
12297 | } | |
12298 | } | |
12299 | if (_argo1) { | |
12300 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
12301 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) { | |
12302 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p."); | |
12303 | return NULL; | |
12304 | } | |
12305 | } | |
12306 | _arg2 = (bool ) tempbool2; | |
12307 | { | |
4268f798 | 12308 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12309 | wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2); |
e91a9dfc | 12310 | |
4268f798 RD |
12311 | wxPyEndAllowThreads(__tstate); |
12312 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12313 | } Py_INCREF(Py_None); |
12314 | _resultobj = Py_None; | |
12315 | return _resultobj; | |
12316 | } | |
12317 | ||
12318 | #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5)) | |
12319 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12320 | PyObject * _resultobj; | |
12321 | wxPyDivisionShape * _arg0; | |
2348eaee | 12322 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12323 | bool _arg2; |
12324 | double _arg3; | |
12325 | double _arg4; | |
12326 | int _arg5 = (int ) 0; | |
12327 | int _arg6 = (int ) 0; | |
12328 | PyObject * _argo0 = 0; | |
12329 | PyObject * _argo1 = 0; | |
12330 | int tempbool2; | |
12331 | char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL }; | |
12332 | ||
12333 | self = self; | |
12334 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6)) | |
12335 | return NULL; | |
12336 | if (_argo0) { | |
12337 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12338 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12339 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p."); | |
12340 | return NULL; | |
12341 | } | |
12342 | } | |
12343 | if (_argo1) { | |
12344 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12345 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12346 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12347 | return NULL; |
12348 | } | |
12349 | } | |
12350 | _arg2 = (bool ) tempbool2; | |
12351 | { | |
4268f798 | 12352 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12353 | wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6); |
e91a9dfc | 12354 | |
4268f798 RD |
12355 | wxPyEndAllowThreads(__tstate); |
12356 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12357 | } Py_INCREF(Py_None); |
12358 | _resultobj = Py_None; | |
12359 | return _resultobj; | |
12360 | } | |
12361 | ||
12362 | #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12363 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12364 | PyObject * _resultobj; | |
12365 | wxPyDivisionShape * _arg0; | |
2348eaee | 12366 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12367 | double _arg2; |
12368 | double _arg3; | |
12369 | int _arg4 = (int ) 0; | |
12370 | int _arg5 = (int ) 0; | |
12371 | PyObject * _argo0 = 0; | |
12372 | PyObject * _argo1 = 0; | |
12373 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12374 | ||
12375 | self = self; | |
12376 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12377 | return NULL; | |
12378 | if (_argo0) { | |
12379 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12380 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12381 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p."); | |
12382 | return NULL; | |
12383 | } | |
12384 | } | |
12385 | if (_argo1) { | |
12386 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12387 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12388 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12389 | return NULL; |
12390 | } | |
12391 | } | |
12392 | { | |
4268f798 | 12393 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12394 | wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 12395 | |
4268f798 RD |
12396 | wxPyEndAllowThreads(__tstate); |
12397 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12398 | } Py_INCREF(Py_None); |
12399 | _resultobj = Py_None; | |
12400 | return _resultobj; | |
12401 | } | |
12402 | ||
12403 | #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4)) | |
12404 | static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12405 | PyObject * _resultobj; | |
12406 | wxPyDivisionShape * _arg0; | |
2348eaee | 12407 | wxPyControlPoint * _arg1; |
e91a9dfc RD |
12408 | double _arg2; |
12409 | double _arg3; | |
12410 | int _arg4 = (int ) 0; | |
12411 | int _arg5 = (int ) 0; | |
12412 | PyObject * _argo0 = 0; | |
12413 | PyObject * _argo1 = 0; | |
12414 | char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL }; | |
12415 | ||
12416 | self = self; | |
12417 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5)) | |
12418 | return NULL; | |
12419 | if (_argo0) { | |
12420 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12421 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12422 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p."); | |
12423 | return NULL; | |
12424 | } | |
12425 | } | |
12426 | if (_argo1) { | |
12427 | if (_argo1 == Py_None) { _arg1 = NULL; } | |
2348eaee RD |
12428 | else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) { |
12429 | PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p."); | |
e91a9dfc RD |
12430 | return NULL; |
12431 | } | |
12432 | } | |
12433 | { | |
4268f798 | 12434 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12435 | wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5); |
e91a9dfc | 12436 | |
4268f798 RD |
12437 | wxPyEndAllowThreads(__tstate); |
12438 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12439 | } Py_INCREF(Py_None); |
12440 | _resultobj = Py_None; | |
12441 | return _resultobj; | |
12442 | } | |
12443 | ||
12444 | #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1)) | |
12445 | static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12446 | PyObject * _resultobj; | |
12447 | wxPyDivisionShape * _arg0; | |
12448 | double _arg1; | |
12449 | double _arg2; | |
12450 | PyObject * _argo0 = 0; | |
12451 | char *_kwnames[] = { "self","w","h", NULL }; | |
12452 | ||
12453 | self = self; | |
12454 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12455 | return NULL; | |
12456 | if (_argo0) { | |
12457 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12458 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12459 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p."); | |
12460 | return NULL; | |
12461 | } | |
12462 | } | |
12463 | { | |
4268f798 | 12464 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12465 | wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2); |
e91a9dfc | 12466 | |
4268f798 RD |
12467 | wxPyEndAllowThreads(__tstate); |
12468 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12469 | } Py_INCREF(Py_None); |
12470 | _resultobj = Py_None; | |
12471 | return _resultobj; | |
12472 | } | |
12473 | ||
12474 | #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1)) | |
12475 | static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) { | |
12476 | PyObject * _resultobj; | |
12477 | wxPyDivisionShape * _arg0; | |
12478 | double _arg1; | |
12479 | double _arg2; | |
12480 | PyObject * _argo0 = 0; | |
12481 | char *_kwnames[] = { "self","w","h", NULL }; | |
12482 | ||
12483 | self = self; | |
12484 | if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2)) | |
12485 | return NULL; | |
12486 | if (_argo0) { | |
12487 | if (_argo0 == Py_None) { _arg0 = NULL; } | |
12488 | else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) { | |
12489 | PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p."); | |
12490 | return NULL; | |
12491 | } | |
12492 | } | |
12493 | { | |
4268f798 | 12494 | PyThreadState* __tstate = wxPyBeginAllowThreads(); |
c8bc7bb8 | 12495 | wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2); |
e91a9dfc | 12496 | |
4268f798 RD |
12497 | wxPyEndAllowThreads(__tstate); |
12498 | if (PyErr_Occurred()) return NULL; | |
e91a9dfc RD |
12499 | } Py_INCREF(Py_None); |
12500 | _resultobj = Py_None; | |
12501 | return _resultobj; | |
12502 | } | |
12503 | ||
12504 | static PyMethodDef oglshapescMethods[] = { | |
12505 | { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12506 | { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12507 | { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12508 | { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12509 | { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12510 | { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12511 | { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12512 | { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12513 | { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12514 | { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12515 | { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12516 | { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12517 | { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12518 | { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12519 | { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12520 | { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12521 | { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12522 | { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12523 | { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12524 | { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12525 | { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12526 | { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12527 | { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12528 | { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12529 | { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12530 | { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12531 | { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12532 | { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12533 | { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12534 | { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12535 | { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12536 | { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12537 | { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12538 | { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12539 | { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12540 | { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12541 | { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12542 | { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12543 | { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS }, | |
12544 | { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS }, | |
12545 | { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12546 | { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS }, | |
12547 | { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS }, | |
12548 | { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS }, | |
12549 | { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS }, | |
12550 | { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS }, | |
12551 | { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS }, | |
12552 | { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS }, | |
12553 | { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS }, | |
12554 | { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS }, | |
12555 | { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS }, | |
12556 | { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS }, | |
12557 | { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS }, | |
12558 | { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 12559 | { "wxPyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12560 | { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS }, |
12561 | { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12562 | { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12563 | { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12564 | { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12565 | { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12566 | { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12567 | { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12568 | { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12569 | { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12570 | { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12571 | { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12572 | { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12573 | { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12574 | { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12575 | { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12576 | { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12577 | { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12578 | { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12579 | { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12580 | { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12581 | { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12582 | { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12583 | { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12584 | { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12585 | { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12586 | { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12587 | { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12588 | { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12589 | { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12590 | { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS }, | |
12591 | { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 12592 | { "wxPyDividedShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12593 | { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS }, |
12594 | { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12595 | { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12596 | { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12597 | { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12598 | { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12599 | { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12600 | { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12601 | { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12602 | { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12603 | { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12604 | { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12605 | { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12606 | { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12607 | { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12608 | { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12609 | { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12610 | { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12611 | { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12612 | { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12613 | { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12614 | { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12615 | { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12616 | { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12617 | { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12618 | { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12619 | { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12620 | { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12621 | { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12622 | { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12623 | { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS }, | |
12624 | { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS }, | |
12625 | { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS }, | |
12626 | { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS }, | |
12627 | { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS }, | |
12628 | { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS }, | |
12629 | { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS }, | |
12630 | { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS }, | |
12631 | { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS }, | |
12632 | { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12633 | { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS }, | |
714d23b4 | 12634 | { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12635 | { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS }, |
12636 | { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 12637 | { "wxPyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_wxPyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12638 | { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS }, |
12639 | { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS }, | |
12640 | { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS }, | |
12641 | { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS }, | |
e91a9dfc RD |
12642 | { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS }, |
12643 | { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12644 | { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12645 | { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12646 | { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12647 | { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12648 | { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12649 | { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12650 | { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12651 | { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12652 | { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12653 | { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12654 | { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12655 | { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12656 | { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12657 | { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12658 | { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12659 | { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12660 | { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12661 | { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12662 | { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12663 | { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12664 | { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12665 | { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12666 | { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12667 | { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12668 | { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12669 | { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12670 | { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12671 | { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12672 | { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12673 | { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS }, | |
12674 | { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12675 | { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12676 | { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS }, | |
12677 | { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS }, | |
12678 | { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS }, | |
12679 | { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12680 | { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12681 | { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12682 | { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12683 | { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12684 | { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS }, | |
12685 | { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12686 | { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS }, | |
12687 | { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12688 | { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12689 | { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12690 | { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12691 | { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12692 | { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12693 | { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12694 | { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12695 | { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12696 | { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS }, | |
12697 | { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12698 | { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12699 | { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 12700 | { "wxPyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12701 | { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS }, |
12702 | { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, | |
12703 | { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12704 | { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12705 | { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12706 | { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12707 | { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12708 | { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12709 | { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12710 | { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12711 | { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12712 | { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12713 | { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12714 | { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12715 | { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12716 | { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12717 | { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12718 | { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12719 | { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12720 | { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12721 | { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12722 | { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12723 | { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12724 | { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12725 | { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12726 | { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12727 | { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12728 | { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12729 | { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12730 | { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12731 | { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12732 | { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
12733 | { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS }, | |
12734 | { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 12735 | { "wxPyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_wxPyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc | 12736 | { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS }, |
2348eaee RD |
12737 | { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12738 | { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12739 | { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12740 | { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12741 | { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12742 | { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12743 | { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12744 | { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12745 | { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12746 | { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12747 | { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12748 | { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12749 | { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12750 | { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12751 | { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12752 | { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12753 | { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12754 | { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12755 | { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12756 | { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12757 | { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12758 | { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12759 | { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12760 | { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12761 | { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12762 | { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12763 | { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12764 | { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12765 | { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12766 | { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 12767 | { "wxPyControlPoint__setCallbackInfo", (PyCFunction) _wrap_wxPyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
2348eaee | 12768 | { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12769 | { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS }, |
12770 | { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS }, | |
12771 | { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12772 | { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12773 | { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12774 | { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS }, | |
12775 | { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12776 | { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS }, | |
12777 | { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS }, | |
12778 | { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12779 | { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12780 | { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS }, | |
12781 | { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12782 | { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12783 | { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS }, | |
12784 | { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS }, | |
12785 | { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS }, | |
12786 | { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS }, | |
12787 | { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS }, | |
12788 | { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS }, | |
12789 | { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS }, | |
12790 | { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS }, | |
12791 | { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS }, | |
12792 | { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS }, | |
12793 | { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS }, | |
12794 | { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS }, | |
12795 | { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS }, | |
12796 | { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS }, | |
12797 | { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS }, | |
12798 | { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS }, | |
0122b7e3 | 12799 | { "wxPyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_wxPyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS }, |
e91a9dfc RD |
12800 | { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS }, |
12801 | { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS }, | |
12802 | { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS }, | |
12803 | { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS }, | |
12804 | { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS }, | |
12805 | { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS }, | |
12806 | { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS }, | |
12807 | { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12808 | { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS }, | |
12809 | { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS }, | |
12810 | { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS }, | |
12811 | { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS }, | |
12812 | { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS }, | |
12813 | { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS }, | |
12814 | { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS }, | |
12815 | { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS }, | |
12816 | { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS }, | |
12817 | { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12818 | { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS }, | |
12819 | { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS }, | |
12820 | { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS }, | |
12821 | { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12822 | { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS }, | |
12823 | { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12824 | { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS }, | |
12825 | { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12826 | { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS }, | |
12827 | { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS }, | |
12828 | { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12829 | { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS }, | |
12830 | { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS }, | |
12831 | { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS }, | |
12832 | { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12833 | { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS }, | |
12834 | { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS }, | |
12835 | { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS }, | |
12836 | { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS }, | |
12837 | { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS }, | |
12838 | { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS }, | |
12839 | { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12840 | { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS }, | |
12841 | { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS }, | |
12842 | { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12843 | { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS }, | |
12844 | { NULL, NULL } | |
12845 | }; | |
12846 | #ifdef __cplusplus | |
12847 | } | |
12848 | #endif | |
12849 | /* | |
12850 | * This table is used by the pointer type-checker | |
12851 | */ | |
12852 | static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = { | |
e91a9dfc | 12853 | { "_signed_long","_long",0}, |
eec92d76 | 12854 | { "_wxPrintQuality","_wxCoord",0}, |
e91a9dfc RD |
12855 | { "_wxPrintQuality","_int",0}, |
12856 | { "_wxPrintQuality","_signed_int",0}, | |
12857 | { "_wxPrintQuality","_unsigned_int",0}, | |
12858 | { "_wxPrintQuality","_wxWindowID",0}, | |
12859 | { "_wxPrintQuality","_uint",0}, | |
12860 | { "_wxPrintQuality","_EBool",0}, | |
12861 | { "_wxPrintQuality","_size_t",0}, | |
c368d904 | 12862 | { "_wxPrintQuality","_time_t",0}, |
e91a9dfc | 12863 | { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape}, |
e91a9dfc | 12864 | { "_byte","_unsigned_char",0}, |
e91a9dfc RD |
12865 | { "_long","_unsigned_long",0}, |
12866 | { "_long","_signed_long",0}, | |
eec92d76 | 12867 | { "_size_t","_wxCoord",0}, |
e91a9dfc | 12868 | { "_size_t","_wxPrintQuality",0}, |
c368d904 | 12869 | { "_size_t","_time_t",0}, |
e91a9dfc RD |
12870 | { "_size_t","_unsigned_int",0}, |
12871 | { "_size_t","_int",0}, | |
12872 | { "_size_t","_wxWindowID",0}, | |
12873 | { "_size_t","_uint",0}, | |
eec92d76 | 12874 | { "_uint","_wxCoord",0}, |
e91a9dfc | 12875 | { "_uint","_wxPrintQuality",0}, |
c368d904 | 12876 | { "_uint","_time_t",0}, |
e91a9dfc RD |
12877 | { "_uint","_size_t",0}, |
12878 | { "_uint","_unsigned_int",0}, | |
12879 | { "_uint","_int",0}, | |
12880 | { "_uint","_wxWindowID",0}, | |
c368d904 | 12881 | { "_wxChar","_char",0}, |
c368d904 | 12882 | { "_char","_wxChar",0}, |
19a97bd6 | 12883 | { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0}, |
eec92d76 | 12884 | { "_EBool","_wxCoord",0}, |
e91a9dfc RD |
12885 | { "_EBool","_wxPrintQuality",0}, |
12886 | { "_EBool","_signed_int",0}, | |
12887 | { "_EBool","_int",0}, | |
12888 | { "_EBool","_wxWindowID",0}, | |
e91a9dfc | 12889 | { "_unsigned_long","_long",0}, |
19a97bd6 | 12890 | { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0}, |
eec92d76 | 12891 | { "_signed_int","_wxCoord",0}, |
e91a9dfc RD |
12892 | { "_signed_int","_wxPrintQuality",0}, |
12893 | { "_signed_int","_EBool",0}, | |
12894 | { "_signed_int","_wxWindowID",0}, | |
12895 | { "_signed_int","_int",0}, | |
c368d904 | 12896 | { "_WXTYPE","_wxDateTime_t",0}, |
e91a9dfc RD |
12897 | { "_WXTYPE","_short",0}, |
12898 | { "_WXTYPE","_signed_short",0}, | |
12899 | { "_WXTYPE","_unsigned_short",0}, | |
c368d904 | 12900 | { "_unsigned_short","_wxDateTime_t",0}, |
e91a9dfc RD |
12901 | { "_unsigned_short","_WXTYPE",0}, |
12902 | { "_unsigned_short","_short",0}, | |
9416aa89 | 12903 | { "_wxObject","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxObject}, |
9416aa89 | 12904 | { "_wxObject","_wxPyDividedShape",SwigwxPyDividedShapeTowxObject}, |
9416aa89 | 12905 | { "_wxObject","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxObject}, |
9416aa89 | 12906 | { "_wxObject","_wxOGLConstraint",SwigwxOGLConstraintTowxObject}, |
9416aa89 | 12907 | { "_wxObject","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxObject}, |
9416aa89 | 12908 | { "_wxObject","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxObject}, |
9416aa89 | 12909 | { "_wxObject","_wxPyControlPoint",SwigwxPyControlPointTowxObject}, |
9416aa89 | 12910 | { "_wxObject","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxObject}, |
9416aa89 | 12911 | { "_wxObject","_wxPseudoMetaFile",SwigwxPseudoMetaFileTowxObject}, |
e91a9dfc RD |
12912 | { "_signed_short","_WXTYPE",0}, |
12913 | { "_signed_short","_short",0}, | |
e91a9dfc | 12914 | { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape}, |
e91a9dfc | 12915 | { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape}, |
e91a9dfc | 12916 | { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape}, |
e91a9dfc | 12917 | { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape}, |
e91a9dfc | 12918 | { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape}, |
2348eaee | 12919 | { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape}, |
e91a9dfc | 12920 | { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape}, |
e91a9dfc | 12921 | { "_unsigned_char","_byte",0}, |
eec92d76 | 12922 | { "_unsigned_int","_wxCoord",0}, |
e91a9dfc | 12923 | { "_unsigned_int","_wxPrintQuality",0}, |
c368d904 | 12924 | { "_unsigned_int","_time_t",0}, |
e91a9dfc RD |
12925 | { "_unsigned_int","_size_t",0}, |
12926 | { "_unsigned_int","_uint",0}, | |
12927 | { "_unsigned_int","_wxWindowID",0}, | |
12928 | { "_unsigned_int","_int",0}, | |
c368d904 | 12929 | { "_short","_wxDateTime_t",0}, |
e91a9dfc RD |
12930 | { "_short","_WXTYPE",0}, |
12931 | { "_short","_unsigned_short",0}, | |
12932 | { "_short","_signed_short",0}, | |
eec92d76 | 12933 | { "_wxWindowID","_wxCoord",0}, |
e91a9dfc | 12934 | { "_wxWindowID","_wxPrintQuality",0}, |
c368d904 | 12935 | { "_wxWindowID","_time_t",0}, |
e91a9dfc RD |
12936 | { "_wxWindowID","_size_t",0}, |
12937 | { "_wxWindowID","_EBool",0}, | |
12938 | { "_wxWindowID","_uint",0}, | |
12939 | { "_wxWindowID","_int",0}, | |
12940 | { "_wxWindowID","_signed_int",0}, | |
12941 | { "_wxWindowID","_unsigned_int",0}, | |
eec92d76 | 12942 | { "_int","_wxCoord",0}, |
e91a9dfc | 12943 | { "_int","_wxPrintQuality",0}, |
c368d904 | 12944 | { "_int","_time_t",0}, |
e91a9dfc RD |
12945 | { "_int","_size_t",0}, |
12946 | { "_int","_EBool",0}, | |
12947 | { "_int","_uint",0}, | |
12948 | { "_int","_wxWindowID",0}, | |
12949 | { "_int","_unsigned_int",0}, | |
12950 | { "_int","_signed_int",0}, | |
c368d904 RD |
12951 | { "_wxDateTime_t","_unsigned_short",0}, |
12952 | { "_wxDateTime_t","_short",0}, | |
12953 | { "_wxDateTime_t","_WXTYPE",0}, | |
c368d904 RD |
12954 | { "_time_t","_wxCoord",0}, |
12955 | { "_time_t","_wxPrintQuality",0}, | |
12956 | { "_time_t","_unsigned_int",0}, | |
12957 | { "_time_t","_int",0}, | |
12958 | { "_time_t","_wxWindowID",0}, | |
12959 | { "_time_t","_uint",0}, | |
12960 | { "_time_t","_size_t",0}, | |
eec92d76 RD |
12961 | { "_wxCoord","_int",0}, |
12962 | { "_wxCoord","_signed_int",0}, | |
12963 | { "_wxCoord","_unsigned_int",0}, | |
12964 | { "_wxCoord","_wxWindowID",0}, | |
12965 | { "_wxCoord","_uint",0}, | |
12966 | { "_wxCoord","_EBool",0}, | |
12967 | { "_wxCoord","_size_t",0}, | |
c368d904 | 12968 | { "_wxCoord","_time_t",0}, |
eec92d76 | 12969 | { "_wxCoord","_wxPrintQuality",0}, |
e91a9dfc | 12970 | { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 12971 | { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 12972 | { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 12973 | { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 12974 | { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler}, |
2348eaee | 12975 | { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler}, |
e91a9dfc | 12976 | { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler}, |
e91a9dfc | 12977 | { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape}, |
e91a9dfc | 12978 | { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape}, |
e91a9dfc | 12979 | { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape}, |
e91a9dfc | 12980 | { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape}, |
e91a9dfc | 12981 | { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape}, |
2348eaee | 12982 | { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape}, |
e91a9dfc RD |
12983 | {0,0,0}}; |
12984 | ||
12985 | static PyObject *SWIG_globals; | |
12986 | #ifdef __cplusplus | |
12987 | extern "C" | |
12988 | #endif | |
12989 | SWIGEXPORT(void) initoglshapesc() { | |
12990 | PyObject *m, *d; | |
12991 | SWIG_globals = SWIG_newvarlink(); | |
12992 | m = Py_InitModule("oglshapesc", oglshapescMethods); | |
12993 | d = PyModule_GetDict(m); | |
12994 | { | |
12995 | int i; | |
12996 | for (i = 0; _swig_mapping[i].n1; i++) | |
12997 | SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv); | |
12998 | } | |
12999 | } |