]> git.saurik.com Git - wxWidgets.git/blame - wxPython/contrib/ogl/oglshapes.cpp
For Python 2.2 builds
[wxWidgets.git] / wxPython / contrib / ogl / oglshapes.cpp
CommitLineData
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
42extern "C" {
43#endif
9ae9011b 44
e91a9dfc
RD
45extern void SWIG_MakePtr(char *, void *, char *);
46extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
47extern char *SWIG_GetPtr(char *, void **, char *);
48extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
49extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
50extern 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
62static 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
7a446686
RD
88#if PYTHON_API_VERSION >= 1009
89 static char* wxStringErrorMsg = "String or Unicode type required";
90#else
0122b7e3 91 static char* wxStringErrorMsg = "String type required";
7a446686 92#endif
e91a9dfc
RD
93
94 WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
95
2348eaee
RD
96 WXSHAPE_IMP_CALLBACKS(wxPyControlPoint, wxControlPoint);
97
e91a9dfc
RD
98 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
99
100 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
101
102 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
103
104 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
105
106 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
107#ifdef __cplusplus
108extern "C" {
109#endif
9416aa89
RD
110static void *SwigwxPseudoMetaFileTowxObject(void *ptr) {
111 wxPseudoMetaFile *src;
112 wxObject *dest;
113 src = (wxPseudoMetaFile *) ptr;
114 dest = (wxObject *) src;
115 return (void *) dest;
116}
117
e91a9dfc
RD
118#define new_wxPseudoMetaFile() (new wxPseudoMetaFile())
119static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
120 PyObject * _resultobj;
121 wxPseudoMetaFile * _result;
122 char *_kwnames[] = { NULL };
123 char _ptemp[128];
124
125 self = self;
126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames))
127 return NULL;
128{
129 wxPy_BEGIN_ALLOW_THREADS;
130 _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile();
131
132 wxPy_END_ALLOW_THREADS;
133} if (_result) {
134 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
135 _resultobj = Py_BuildValue("s",_ptemp);
136 } else {
137 Py_INCREF(Py_None);
138 _resultobj = Py_None;
139 }
140 return _resultobj;
141}
142
143#define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj)
144static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
145 PyObject * _resultobj;
146 wxPseudoMetaFile * _arg0;
147 PyObject * _argo0 = 0;
148 char *_kwnames[] = { "self", NULL };
149
150 self = self;
151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0))
152 return NULL;
153 if (_argo0) {
154 if (_argo0 == Py_None) { _arg0 = NULL; }
155 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
156 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p.");
157 return NULL;
158 }
159 }
160{
161 wxPy_BEGIN_ALLOW_THREADS;
162 delete_wxPseudoMetaFile(_arg0);
163
164 wxPy_END_ALLOW_THREADS;
165} Py_INCREF(Py_None);
166 _resultobj = Py_None;
167 return _resultobj;
168}
169
170#define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2))
171static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
172 PyObject * _resultobj;
173 wxPseudoMetaFile * _arg0;
174 wxDC * _arg1;
175 double _arg2;
176 double _arg3;
177 PyObject * _argo0 = 0;
178 PyObject * _argo1 = 0;
179 char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL };
180
181 self = self;
182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
183 return NULL;
184 if (_argo0) {
185 if (_argo0 == Py_None) { _arg0 = NULL; }
186 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
187 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p.");
188 return NULL;
189 }
190 }
191 if (_argo1) {
192 if (_argo1 == Py_None) { _arg1 = NULL; }
193 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
194 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p.");
195 return NULL;
196 }
197 }
198{
199 wxPy_BEGIN_ALLOW_THREADS;
200 wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3);
201
202 wxPy_END_ALLOW_THREADS;
203} Py_INCREF(Py_None);
204 _resultobj = Py_None;
205 return _resultobj;
206}
207
208#define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1))
209static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
210 PyObject * _resultobj;
211 wxPseudoMetaFile * _arg0;
212 wxExpr * _arg1;
213 int _arg2;
214 PyObject * _argo0 = 0;
215 PyObject * _argo1 = 0;
216 char *_kwnames[] = { "self","clause","whichAngle", NULL };
217
218 self = self;
219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
220 return NULL;
221 if (_argo0) {
222 if (_argo0 == Py_None) { _arg0 = NULL; }
223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p.");
225 return NULL;
226 }
227 }
228 if (_argo1) {
229 if (_argo1 == Py_None) { _arg1 = NULL; }
230 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
231 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p.");
232 return NULL;
233 }
234 }
235{
236 wxPy_BEGIN_ALLOW_THREADS;
237 wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2);
238
239 wxPy_END_ALLOW_THREADS;
240} Py_INCREF(Py_None);
241 _resultobj = Py_None;
242 return _resultobj;
243}
244
245#define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1))
246static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
247 PyObject * _resultobj;
248 wxPseudoMetaFile * _arg0;
249 wxExpr * _arg1;
250 int _arg2;
251 PyObject * _argo0 = 0;
252 PyObject * _argo1 = 0;
253 char *_kwnames[] = { "self","clause","whichAngle", NULL };
254
255 self = self;
256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
257 return NULL;
258 if (_argo0) {
259 if (_argo0 == Py_None) { _arg0 = NULL; }
260 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
261 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p.");
262 return NULL;
263 }
264 }
265 if (_argo1) {
266 if (_argo1 == Py_None) { _arg1 = NULL; }
267 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
268 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p.");
269 return NULL;
270 }
271 }
272{
273 wxPy_BEGIN_ALLOW_THREADS;
274 wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2);
275
276 wxPy_END_ALLOW_THREADS;
277} Py_INCREF(Py_None);
278 _resultobj = Py_None;
279 return _resultobj;
280}
281
282#define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear())
283static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
284 PyObject * _resultobj;
285 wxPseudoMetaFile * _arg0;
286 PyObject * _argo0 = 0;
287 char *_kwnames[] = { "self", NULL };
288
289 self = self;
290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0))
291 return NULL;
292 if (_argo0) {
293 if (_argo0 == Py_None) { _arg0 = NULL; }
294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p.");
296 return NULL;
297 }
298 }
299{
300 wxPy_BEGIN_ALLOW_THREADS;
301 wxPseudoMetaFile_Clear(_arg0);
302
303 wxPy_END_ALLOW_THREADS;
304} Py_INCREF(Py_None);
305 _resultobj = Py_None;
306 return _resultobj;
307}
308
309#define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
310static 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{
336 wxPy_BEGIN_ALLOW_THREADS;
337 wxPseudoMetaFile_Copy(_arg0,*_arg1);
338
339 wxPy_END_ALLOW_THREADS;
340} Py_INCREF(Py_None);
341 _resultobj = Py_None;
342 return _resultobj;
343}
344
345#define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
346static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
347 PyObject * _resultobj;
348 wxPseudoMetaFile * _arg0;
349 double _arg1;
350 double _arg2;
351 PyObject * _argo0 = 0;
352 char *_kwnames[] = { "self","sx","sy", NULL };
353
354 self = self;
355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
356 return NULL;
357 if (_argo0) {
358 if (_argo0 == Py_None) { _arg0 = NULL; }
359 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
360 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p.");
361 return NULL;
362 }
363 }
364{
365 wxPy_BEGIN_ALLOW_THREADS;
366 wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2);
367
368 wxPy_END_ALLOW_THREADS;
369} Py_INCREF(Py_None);
370 _resultobj = Py_None;
371 return _resultobj;
372}
373
374#define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1))
375static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
376 PyObject * _resultobj;
377 wxPseudoMetaFile * _arg0;
378 double _arg1;
379 double _arg2;
380 PyObject * _argo0 = 0;
381 char *_kwnames[] = { "self","w","h", NULL };
382
383 self = self;
384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2))
385 return NULL;
386 if (_argo0) {
387 if (_argo0 == Py_None) { _arg0 = NULL; }
388 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
389 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p.");
390 return NULL;
391 }
392 }
393{
394 wxPy_BEGIN_ALLOW_THREADS;
395 wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2);
396
397 wxPy_END_ALLOW_THREADS;
398} Py_INCREF(Py_None);
399 _resultobj = Py_None;
400 return _resultobj;
401}
402
403#define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
404static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
405 PyObject * _resultobj;
406 wxPseudoMetaFile * _arg0;
407 double _arg1;
408 double _arg2;
409 PyObject * _argo0 = 0;
410 char *_kwnames[] = { "self","x","y", NULL };
411
412 self = self;
413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
414 return NULL;
415 if (_argo0) {
416 if (_argo0 == Py_None) { _arg0 = NULL; }
417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p.");
419 return NULL;
420 }
421 }
422{
423 wxPy_BEGIN_ALLOW_THREADS;
424 wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2);
425
426 wxPy_END_ALLOW_THREADS;
427} Py_INCREF(Py_None);
428 _resultobj = Py_None;
429 return _resultobj;
430}
431
432#define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
433static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
434 PyObject * _resultobj;
435 wxPseudoMetaFile * _arg0;
436 double _arg1;
437 double _arg2;
438 double _arg3;
439 PyObject * _argo0 = 0;
440 char *_kwnames[] = { "self","x","y","theta", NULL };
441
442 self = self;
443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
444 return NULL;
445 if (_argo0) {
446 if (_argo0 == Py_None) { _arg0 = NULL; }
447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p.");
449 return NULL;
450 }
451 }
452{
453 wxPy_BEGIN_ALLOW_THREADS;
454 wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3);
455
456 wxPy_END_ALLOW_THREADS;
457} Py_INCREF(Py_None);
458 _resultobj = Py_None;
459 return _resultobj;
460}
461
462#define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2))
463static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
464 PyObject * _resultobj;
465 bool _result;
466 wxPseudoMetaFile * _arg0;
467 char * _arg1;
468 double * _arg2;
469 double * _arg3;
470 PyObject * _argo0 = 0;
471 PyObject * _argo2 = 0;
472 PyObject * _argo3 = 0;
473 char *_kwnames[] = { "self","filename","width","height", NULL };
474
475 self = self;
476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
477 return NULL;
478 if (_argo0) {
479 if (_argo0 == Py_None) { _arg0 = NULL; }
480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p.");
482 return NULL;
483 }
484 }
485 if (_argo2) {
486 if (_argo2 == Py_None) { _arg2 = NULL; }
487 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
488 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
489 return NULL;
490 }
491 }
492 if (_argo3) {
493 if (_argo3 == Py_None) { _arg3 = NULL; }
494 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
495 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
496 return NULL;
497 }
498 }
499{
500 wxPy_BEGIN_ALLOW_THREADS;
501 _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3);
502
503 wxPy_END_ALLOW_THREADS;
504} _resultobj = Py_BuildValue("i",_result);
505 return _resultobj;
506}
507
508#define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
509static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
510 PyObject * _resultobj;
511 wxPseudoMetaFile * _arg0;
512 double * _arg1;
513 double * _arg2;
514 double * _arg3;
515 double * _arg4;
516 PyObject * _argo0 = 0;
517 PyObject * _argo1 = 0;
518 PyObject * _argo2 = 0;
519 PyObject * _argo3 = 0;
520 PyObject * _argo4 = 0;
521 char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL };
522
523 self = self;
524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4))
525 return NULL;
526 if (_argo0) {
527 if (_argo0 == Py_None) { _arg0 = NULL; }
528 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
529 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p.");
530 return NULL;
531 }
532 }
533 if (_argo1) {
534 if (_argo1 == Py_None) { _arg1 = NULL; }
535 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) {
536 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
537 return NULL;
538 }
539 }
540 if (_argo2) {
541 if (_argo2 == Py_None) { _arg2 = NULL; }
542 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
543 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
544 return NULL;
545 }
546 }
547 if (_argo3) {
548 if (_argo3 == Py_None) { _arg3 = NULL; }
549 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
550 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
551 return NULL;
552 }
553 }
554 if (_argo4) {
555 if (_argo4 == Py_None) { _arg4 = NULL; }
556 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) {
557 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
558 return NULL;
559 }
560 }
561{
562 wxPy_BEGIN_ALLOW_THREADS;
563 wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4);
564
565 wxPy_END_ALLOW_THREADS;
566} Py_INCREF(Py_None);
567 _resultobj = Py_None;
568 return _resultobj;
569}
570
571#define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0))
572static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
573 PyObject * _resultobj;
574 wxPseudoMetaFile * _arg0;
575 wxDrawnShape * _arg1;
576 PyObject * _argo0 = 0;
577 PyObject * _argo1 = 0;
578 char *_kwnames[] = { "self","shape", NULL };
579
580 self = self;
581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1))
582 return NULL;
583 if (_argo0) {
584 if (_argo0 == Py_None) { _arg0 = NULL; }
585 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
586 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p.");
587 return NULL;
588 }
589 }
590 if (_argo1) {
591 if (_argo1 == Py_None) { _arg1 = NULL; }
592 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) {
593 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p.");
594 return NULL;
595 }
596 }
597{
598 wxPy_BEGIN_ALLOW_THREADS;
599 wxPseudoMetaFile_CalculateSize(_arg0,_arg1);
600
601 wxPy_END_ALLOW_THREADS;
602} Py_INCREF(Py_None);
603 _resultobj = Py_None;
604 return _resultobj;
605}
606
607#define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0))
608static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
609 PyObject * _resultobj;
610 wxPseudoMetaFile * _arg0;
611 bool _arg1;
612 PyObject * _argo0 = 0;
613 int tempbool1;
614 char *_kwnames[] = { "self","rot", NULL };
615
616 self = self;
617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1))
618 return NULL;
619 if (_argo0) {
620 if (_argo0 == Py_None) { _arg0 = NULL; }
621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p.");
623 return NULL;
624 }
625 }
626 _arg1 = (bool ) tempbool1;
627{
628 wxPy_BEGIN_ALLOW_THREADS;
629 wxPseudoMetaFile_SetRotateable(_arg0,_arg1);
630
631 wxPy_END_ALLOW_THREADS;
632} Py_INCREF(Py_None);
633 _resultobj = Py_None;
634 return _resultobj;
635}
636
637#define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable())
638static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
639 PyObject * _resultobj;
640 bool _result;
641 wxPseudoMetaFile * _arg0;
642 PyObject * _argo0 = 0;
643 char *_kwnames[] = { "self", NULL };
644
645 self = self;
646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0))
647 return NULL;
648 if (_argo0) {
649 if (_argo0 == Py_None) { _arg0 = NULL; }
650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p.");
652 return NULL;
653 }
654 }
655{
656 wxPy_BEGIN_ALLOW_THREADS;
657 _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0);
658
659 wxPy_END_ALLOW_THREADS;
660} _resultobj = Py_BuildValue("i",_result);
661 return _resultobj;
662}
663
664#define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
665static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
666 PyObject * _resultobj;
667 wxPseudoMetaFile * _arg0;
668 double _arg1;
669 double _arg2;
670 PyObject * _argo0 = 0;
671 char *_kwnames[] = { "self","w","h", NULL };
672
673 self = self;
674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
675 return NULL;
676 if (_argo0) {
677 if (_argo0 == Py_None) { _arg0 = NULL; }
678 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
679 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p.");
680 return NULL;
681 }
682 }
683{
684 wxPy_BEGIN_ALLOW_THREADS;
685 wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2);
686
687 wxPy_END_ALLOW_THREADS;
688} Py_INCREF(Py_None);
689 _resultobj = Py_None;
690 return _resultobj;
691}
692
693#define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0))
694static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
695 PyObject * _resultobj;
696 wxPseudoMetaFile * _arg0;
697 wxBrush * _arg1;
698 PyObject * _argo0 = 0;
d74525f7 699 PyObject * _obj1 = 0;
e91a9dfc
RD
700 char *_kwnames[] = { "self","brush", NULL };
701
702 self = self;
d74525f7 703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
704 return NULL;
705 if (_argo0) {
706 if (_argo0 == Py_None) { _arg0 = NULL; }
707 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
708 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p.");
709 return NULL;
710 }
711 }
d74525f7
RD
712{
713 wxBrush* temp;
714 if (_obj1) {
715 if (_obj1 == Py_None) { temp = NULL; }
716 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
717 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
e91a9dfc
RD
718 return NULL;
719 }
720 }
d74525f7
RD
721 if (temp)
722 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
723 else
724 _arg1 = NULL;
725}
e91a9dfc
RD
726{
727 wxPy_BEGIN_ALLOW_THREADS;
728 wxPseudoMetaFile_SetFillBrush(_arg0,_arg1);
729
730 wxPy_END_ALLOW_THREADS;
731} Py_INCREF(Py_None);
732 _resultobj = Py_None;
733 return _resultobj;
734}
735
736#define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush())
737static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
738 PyObject * _resultobj;
739 wxBrush * _result;
740 wxPseudoMetaFile * _arg0;
741 PyObject * _argo0 = 0;
742 char *_kwnames[] = { "self", NULL };
743 char _ptemp[128];
744
745 self = self;
746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0))
747 return NULL;
748 if (_argo0) {
749 if (_argo0 == Py_None) { _arg0 = NULL; }
750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p.");
752 return NULL;
753 }
754 }
755{
756 wxPy_BEGIN_ALLOW_THREADS;
757 _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0);
758
759 wxPy_END_ALLOW_THREADS;
760} if (_result) {
761 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
762 _resultobj = Py_BuildValue("s",_ptemp);
763 } else {
764 Py_INCREF(Py_None);
765 _resultobj = Py_None;
766 }
767 return _resultobj;
768}
769
770#define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0))
771static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
772 PyObject * _resultobj;
773 wxPseudoMetaFile * _arg0;
774 wxPen * _arg1;
775 PyObject * _argo0 = 0;
d74525f7 776 PyObject * _obj1 = 0;
e91a9dfc
RD
777 char *_kwnames[] = { "self","pen", NULL };
778
779 self = self;
d74525f7 780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
781 return NULL;
782 if (_argo0) {
783 if (_argo0 == Py_None) { _arg0 = NULL; }
784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p.");
786 return NULL;
787 }
788 }
d74525f7
RD
789{
790 wxPen* temp;
791 if (_obj1) {
792 if (_obj1 == Py_None) { temp = NULL; }
793 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
794 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
795 return NULL;
796 }
797 }
d74525f7
RD
798 if (temp)
799 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
800 temp->GetWidth(),
801 temp->GetStyle());
802 else
803 _arg1 = NULL;
804}
e91a9dfc
RD
805{
806 wxPy_BEGIN_ALLOW_THREADS;
807 wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1);
808
809 wxPy_END_ALLOW_THREADS;
810} Py_INCREF(Py_None);
811 _resultobj = Py_None;
812 return _resultobj;
813}
814
815#define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen())
816static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
817 PyObject * _resultobj;
818 wxPen * _result;
819 wxPseudoMetaFile * _arg0;
820 PyObject * _argo0 = 0;
821 char *_kwnames[] = { "self", NULL };
822 char _ptemp[128];
823
824 self = self;
825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0))
826 return NULL;
827 if (_argo0) {
828 if (_argo0 == Py_None) { _arg0 = NULL; }
829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p.");
831 return NULL;
832 }
833 }
834{
835 wxPy_BEGIN_ALLOW_THREADS;
836 _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0);
837
838 wxPy_END_ALLOW_THREADS;
839} if (_result) {
840 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
841 _resultobj = Py_BuildValue("s",_ptemp);
842 } else {
843 Py_INCREF(Py_None);
844 _resultobj = Py_None;
845 }
846 return _resultobj;
847}
848
849#define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0))
850static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
851 PyObject * _resultobj;
852 wxPseudoMetaFile * _arg0;
853 int _arg1;
854 PyObject * _argo0 = 0;
855 char *_kwnames[] = { "self","op", NULL };
856
857 self = self;
858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1))
859 return NULL;
860 if (_argo0) {
861 if (_argo0 == Py_None) { _arg0 = NULL; }
862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p.");
864 return NULL;
865 }
866 }
867{
868 wxPy_BEGIN_ALLOW_THREADS;
869 wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1);
870
871 wxPy_END_ALLOW_THREADS;
872} Py_INCREF(Py_None);
873 _resultobj = Py_None;
874 return _resultobj;
875}
876
877#define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp())
878static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
879 PyObject * _resultobj;
880 int _result;
881 wxPseudoMetaFile * _arg0;
882 PyObject * _argo0 = 0;
883 char *_kwnames[] = { "self", NULL };
884
885 self = self;
886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0))
887 return NULL;
888 if (_argo0) {
889 if (_argo0 == Py_None) { _arg0 = NULL; }
890 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
891 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p.");
892 return NULL;
893 }
894 }
895{
896 wxPy_BEGIN_ALLOW_THREADS;
897 _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0);
898
899 wxPy_END_ALLOW_THREADS;
900} _resultobj = Py_BuildValue("i",_result);
901 return _resultobj;
902}
903
904#define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid())
905static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
906 PyObject * _resultobj;
907 bool _result;
908 wxPseudoMetaFile * _arg0;
909 PyObject * _argo0 = 0;
910 char *_kwnames[] = { "self", NULL };
911
912 self = self;
913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0))
914 return NULL;
915 if (_argo0) {
916 if (_argo0 == Py_None) { _arg0 = NULL; }
917 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
918 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p.");
919 return NULL;
920 }
921 }
922{
923 wxPy_BEGIN_ALLOW_THREADS;
924 _result = (bool )wxPseudoMetaFile_IsValid(_arg0);
925
926 wxPy_END_ALLOW_THREADS;
927} _resultobj = Py_BuildValue("i",_result);
928 return _resultobj;
929}
930
931#define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
932static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
933 PyObject * _resultobj;
934 wxPseudoMetaFile * _arg0;
935 wxPoint * _arg1;
936 wxPoint * _arg2;
937 PyObject * _argo0 = 0;
2348eaee
RD
938 wxPoint temp;
939 PyObject * _obj1 = 0;
940 wxPoint temp0;
941 PyObject * _obj2 = 0;
e91a9dfc
RD
942 char *_kwnames[] = { "self","pt1","pt2", NULL };
943
944 self = self;
2348eaee 945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
946 return NULL;
947 if (_argo0) {
948 if (_argo0 == Py_None) { _arg0 = NULL; }
949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p.");
951 return NULL;
952 }
953 }
2348eaee
RD
954{
955 _arg1 = &temp;
956 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 957 return NULL;
2348eaee
RD
958}
959{
960 _arg2 = &temp0;
961 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 962 return NULL;
2348eaee 963}
e91a9dfc
RD
964{
965 wxPy_BEGIN_ALLOW_THREADS;
966 wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2);
967
968 wxPy_END_ALLOW_THREADS;
969} Py_INCREF(Py_None);
970 _resultobj = Py_None;
971 return _resultobj;
972}
973
974#define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
975static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject * _resultobj;
977 wxPseudoMetaFile * _arg0;
978 wxRect * _arg1;
979 PyObject * _argo0 = 0;
2348eaee
RD
980 wxRect temp;
981 PyObject * _obj1 = 0;
e91a9dfc
RD
982 char *_kwnames[] = { "self","rect", NULL };
983
984 self = self;
2348eaee 985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
986 return NULL;
987 if (_argo0) {
988 if (_argo0 == Py_None) { _arg0 = NULL; }
989 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
990 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRectangle. Expected _wxPseudoMetaFile_p.");
991 return NULL;
992 }
993 }
2348eaee
RD
994{
995 _arg1 = &temp;
996 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 997 return NULL;
2348eaee 998}
e91a9dfc
RD
999{
1000 wxPy_BEGIN_ALLOW_THREADS;
1001 wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1);
1002
1003 wxPy_END_ALLOW_THREADS;
1004} Py_INCREF(Py_None);
1005 _resultobj = Py_None;
1006 return _resultobj;
1007}
1008
1009#define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
1010static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
1011 PyObject * _resultobj;
1012 wxPseudoMetaFile * _arg0;
1013 wxRect * _arg1;
1014 double _arg2;
1015 PyObject * _argo0 = 0;
2348eaee
RD
1016 wxRect temp;
1017 PyObject * _obj1 = 0;
e91a9dfc
RD
1018 char *_kwnames[] = { "self","rect","radius", NULL };
1019
1020 self = self;
2348eaee 1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
e91a9dfc
RD
1022 return NULL;
1023 if (_argo0) {
1024 if (_argo0 == Py_None) { _arg0 = NULL; }
1025 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1026 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p.");
1027 return NULL;
1028 }
1029 }
2348eaee
RD
1030{
1031 _arg1 = &temp;
1032 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1033 return NULL;
2348eaee 1034}
e91a9dfc
RD
1035{
1036 wxPy_BEGIN_ALLOW_THREADS;
1037 wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
1038
1039 wxPy_END_ALLOW_THREADS;
1040} Py_INCREF(Py_None);
1041 _resultobj = Py_None;
1042 return _resultobj;
1043}
1044
1045#define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
1046static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1047 PyObject * _resultobj;
1048 wxPseudoMetaFile * _arg0;
1049 wxPoint * _arg1;
1050 wxPoint * _arg2;
1051 wxPoint * _arg3;
1052 PyObject * _argo0 = 0;
2348eaee
RD
1053 wxPoint temp;
1054 PyObject * _obj1 = 0;
1055 wxPoint temp0;
1056 PyObject * _obj2 = 0;
1057 wxPoint temp1;
1058 PyObject * _obj3 = 0;
e91a9dfc
RD
1059 char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL };
1060
1061 self = self;
2348eaee 1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
e91a9dfc
RD
1063 return NULL;
1064 if (_argo0) {
1065 if (_argo0 == Py_None) { _arg0 = NULL; }
1066 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1067 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawArc. Expected _wxPseudoMetaFile_p.");
1068 return NULL;
1069 }
1070 }
2348eaee
RD
1071{
1072 _arg1 = &temp;
1073 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 1074 return NULL;
2348eaee
RD
1075}
1076{
1077 _arg2 = &temp0;
1078 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 1079 return NULL;
2348eaee
RD
1080}
1081{
1082 _arg3 = &temp1;
1083 if (! wxPoint_helper(_obj3, &_arg3))
e91a9dfc 1084 return NULL;
2348eaee 1085}
e91a9dfc
RD
1086{
1087 wxPy_BEGIN_ALLOW_THREADS;
1088 wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
1089
1090 wxPy_END_ALLOW_THREADS;
1091} Py_INCREF(Py_None);
1092 _resultobj = Py_None;
1093 return _resultobj;
1094}
1095
1096#define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
1097static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1098 PyObject * _resultobj;
1099 wxPseudoMetaFile * _arg0;
1100 wxRect * _arg1;
1101 double _arg2;
1102 double _arg3;
1103 PyObject * _argo0 = 0;
2348eaee
RD
1104 wxRect temp;
1105 PyObject * _obj1 = 0;
e91a9dfc
RD
1106 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
1107
1108 self = self;
2348eaee 1109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
e91a9dfc
RD
1110 return NULL;
1111 if (_argo0) {
1112 if (_argo0 == Py_None) { _arg0 = NULL; }
1113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p.");
1115 return NULL;
1116 }
1117 }
2348eaee
RD
1118{
1119 _arg1 = &temp;
1120 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1121 return NULL;
2348eaee 1122}
e91a9dfc
RD
1123{
1124 wxPy_BEGIN_ALLOW_THREADS;
1125 wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
1126
1127 wxPy_END_ALLOW_THREADS;
1128} Py_INCREF(Py_None);
1129 _resultobj = Py_None;
1130 return _resultobj;
1131}
1132
1133#define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0))
1134static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
1135 PyObject * _resultobj;
1136 wxPseudoMetaFile * _arg0;
1137 wxRect * _arg1;
1138 PyObject * _argo0 = 0;
2348eaee
RD
1139 wxRect temp;
1140 PyObject * _obj1 = 0;
e91a9dfc
RD
1141 char *_kwnames[] = { "self","rect", NULL };
1142
1143 self = self;
2348eaee 1144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1145 return NULL;
1146 if (_argo0) {
1147 if (_argo0 == Py_None) { _arg0 = NULL; }
1148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p.");
1150 return NULL;
1151 }
1152 }
2348eaee
RD
1153{
1154 _arg1 = &temp;
1155 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1156 return NULL;
2348eaee 1157}
e91a9dfc
RD
1158{
1159 wxPy_BEGIN_ALLOW_THREADS;
1160 wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1);
1161
1162 wxPy_END_ALLOW_THREADS;
1163} Py_INCREF(Py_None);
1164 _resultobj = Py_None;
1165 return _resultobj;
1166}
1167
1168#define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
1169static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1170 PyObject * _resultobj;
1171 wxPseudoMetaFile * _arg0;
1172 wxPoint * _arg1;
1173 PyObject * _argo0 = 0;
2348eaee
RD
1174 wxPoint temp;
1175 PyObject * _obj1 = 0;
e91a9dfc
RD
1176 char *_kwnames[] = { "self","pt", NULL };
1177
1178 self = self;
2348eaee 1179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1180 return NULL;
1181 if (_argo0) {
1182 if (_argo0 == Py_None) { _arg0 = NULL; }
1183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p.");
1185 return NULL;
1186 }
1187 }
2348eaee
RD
1188{
1189 _arg1 = &temp;
1190 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 1191 return NULL;
2348eaee 1192}
e91a9dfc
RD
1193{
1194 wxPy_BEGIN_ALLOW_THREADS;
1195 wxPseudoMetaFile_DrawPoint(_arg0,*_arg1);
1196
1197 wxPy_END_ALLOW_THREADS;
1198} Py_INCREF(Py_None);
1199 _resultobj = Py_None;
1200 return _resultobj;
1201}
1202
1203#define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
1204static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
1205 PyObject * _resultobj;
1206 wxPseudoMetaFile * _arg0;
1207 wxString * _arg1;
1208 wxPoint * _arg2;
1209 PyObject * _argo0 = 0;
1210 PyObject * _obj1 = 0;
2348eaee
RD
1211 wxPoint temp;
1212 PyObject * _obj2 = 0;
e91a9dfc
RD
1213 char *_kwnames[] = { "self","text","pt", NULL };
1214
1215 self = self;
2348eaee 1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
1217 return NULL;
1218 if (_argo0) {
1219 if (_argo0 == Py_None) { _arg0 = NULL; }
1220 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1221 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p.");
1222 return NULL;
1223 }
1224 }
1225{
185d7c3e
RD
1226#if PYTHON_API_VERSION >= 1009
1227 char* tmpPtr; int tmpSize;
1228 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 1229 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
1230 return NULL;
1231 }
1232 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
1233 return NULL;
1234 _arg1 = new wxString(tmpPtr, tmpSize);
1235#else
e91a9dfc
RD
1236 if (!PyString_Check(_obj1)) {
1237 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1238 return NULL;
1239 }
185d7c3e
RD
1240 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
1241#endif
e91a9dfc 1242}
2348eaee
RD
1243{
1244 _arg2 = &temp;
1245 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 1246 return NULL;
2348eaee 1247}
e91a9dfc
RD
1248{
1249 wxPy_BEGIN_ALLOW_THREADS;
1250 wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2);
1251
1252 wxPy_END_ALLOW_THREADS;
1253} Py_INCREF(Py_None);
1254 _resultobj = Py_None;
1255{
1256 if (_obj1)
1257 delete _arg1;
1258}
1259 return _resultobj;
1260}
1261
1262#define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
1263static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
1264 PyObject * _resultobj;
1265 wxPseudoMetaFile * _arg0;
1266 int _arg1;
1267 wxPoint * _arg2;
1268 PyObject * _argo0 = 0;
e0672e2f 1269 int NPOINTS;
e91a9dfc 1270 PyObject * _obj2 = 0;
eec92d76 1271 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
1272
1273 self = self;
1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2))
1275 return NULL;
1276 if (_argo0) {
1277 if (_argo0 == Py_None) { _arg0 = NULL; }
1278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p.");
1280 return NULL;
1281 }
1282 }
1283 if (_obj2)
1284{
e0672e2f
RD
1285 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1286 if (_arg2 == NULL) {
1287 return NULL;
1288 }
e91a9dfc
RD
1289}
1290{
e0672e2f 1291 _arg1 = NPOINTS;
e91a9dfc
RD
1292}
1293{
1294 wxPy_BEGIN_ALLOW_THREADS;
1295 wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2);
1296
1297 wxPy_END_ALLOW_THREADS;
1298} Py_INCREF(Py_None);
1299 _resultobj = Py_None;
1300{
1301 delete [] _arg2;
1302}
1303 return _resultobj;
1304}
1305
1306#define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
1307static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
1308 PyObject * _resultobj;
1309 wxPseudoMetaFile * _arg0;
1310 int _arg1;
1311 wxPoint * _arg2;
1312 int _arg3 = (int ) 0;
1313 PyObject * _argo0 = 0;
e0672e2f 1314 int NPOINTS;
e91a9dfc 1315 PyObject * _obj2 = 0;
eec92d76 1316 char *_kwnames[] = { "self","points","flags", NULL };
e91a9dfc
RD
1317
1318 self = self;
1319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
1320 return NULL;
1321 if (_argo0) {
1322 if (_argo0 == Py_None) { _arg0 = NULL; }
1323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p.");
1325 return NULL;
1326 }
1327 }
1328 if (_obj2)
1329{
e0672e2f
RD
1330 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1331 if (_arg2 == NULL) {
1332 return NULL;
1333 }
e91a9dfc
RD
1334}
1335{
e0672e2f 1336 _arg1 = NPOINTS;
e91a9dfc
RD
1337}
1338{
1339 wxPy_BEGIN_ALLOW_THREADS;
1340 wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
1341
1342 wxPy_END_ALLOW_THREADS;
1343} Py_INCREF(Py_None);
1344 _resultobj = Py_None;
1345{
1346 delete [] _arg2;
1347}
1348 return _resultobj;
1349}
1350
1351#define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1352static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject * _resultobj;
1354 wxPseudoMetaFile * _arg0;
1355 int _arg1;
1356 wxPoint * _arg2;
1357 PyObject * _argo0 = 0;
e0672e2f 1358 int NPOINTS;
e91a9dfc 1359 PyObject * _obj2 = 0;
eec92d76 1360 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
1361
1362 self = self;
1363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2))
1364 return NULL;
1365 if (_argo0) {
1366 if (_argo0 == Py_None) { _arg0 = NULL; }
1367 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1368 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p.");
1369 return NULL;
1370 }
1371 }
1372 if (_obj2)
1373{
e0672e2f
RD
1374 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
1375 if (_arg2 == NULL) {
1376 return NULL;
1377 }
e91a9dfc
RD
1378}
1379{
e0672e2f 1380 _arg1 = NPOINTS;
e91a9dfc
RD
1381}
1382{
1383 wxPy_BEGIN_ALLOW_THREADS;
1384 wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2);
1385
1386 wxPy_END_ALLOW_THREADS;
1387} Py_INCREF(Py_None);
1388 _resultobj = Py_None;
1389{
1390 delete [] _arg2;
1391}
1392 return _resultobj;
1393}
1394
1395#define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
1396static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1397 PyObject * _resultobj;
1398 wxPseudoMetaFile * _arg0;
1399 wxRect * _arg1;
1400 PyObject * _argo0 = 0;
2348eaee
RD
1401 wxRect temp;
1402 PyObject * _obj1 = 0;
e91a9dfc
RD
1403 char *_kwnames[] = { "self","rect", NULL };
1404
1405 self = self;
2348eaee 1406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1407 return NULL;
1408 if (_argo0) {
1409 if (_argo0 == Py_None) { _arg0 = NULL; }
1410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p.");
1412 return NULL;
1413 }
1414 }
2348eaee
RD
1415{
1416 _arg1 = &temp;
1417 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 1418 return NULL;
2348eaee 1419}
e91a9dfc
RD
1420{
1421 wxPy_BEGIN_ALLOW_THREADS;
1422 wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1);
1423
1424 wxPy_END_ALLOW_THREADS;
1425} Py_INCREF(Py_None);
1426 _resultobj = Py_None;
1427 return _resultobj;
1428}
1429
1430#define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
1431static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1432 PyObject * _resultobj;
1433 wxPseudoMetaFile * _arg0;
1434 PyObject * _argo0 = 0;
1435 char *_kwnames[] = { "self", NULL };
1436
1437 self = self;
1438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0))
1439 return NULL;
1440 if (_argo0) {
1441 if (_argo0 == Py_None) { _arg0 = NULL; }
1442 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1443 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p.");
1444 return NULL;
1445 }
1446 }
1447{
1448 wxPy_BEGIN_ALLOW_THREADS;
1449 wxPseudoMetaFile_DestroyClippingRect(_arg0);
1450
1451 wxPy_END_ALLOW_THREADS;
1452} Py_INCREF(Py_None);
1453 _resultobj = Py_None;
1454 return _resultobj;
1455}
1456
1457#define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1))
1458static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1459 PyObject * _resultobj;
1460 wxPseudoMetaFile * _arg0;
1461 wxPen * _arg1;
1462 bool _arg2 = (bool ) FALSE;
1463 PyObject * _argo0 = 0;
d74525f7 1464 PyObject * _obj1 = 0;
e91a9dfc
RD
1465 int tempbool2 = (int) FALSE;
1466 char *_kwnames[] = { "self","pen","isOutline", NULL };
1467
1468 self = self;
d74525f7 1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
1470 return NULL;
1471 if (_argo0) {
1472 if (_argo0 == Py_None) { _arg0 = NULL; }
1473 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1474 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p.");
1475 return NULL;
1476 }
1477 }
d74525f7
RD
1478{
1479 wxPen* temp;
1480 if (_obj1) {
1481 if (_obj1 == Py_None) { temp = NULL; }
1482 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
1483 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
1484 return NULL;
1485 }
1486 }
d74525f7
RD
1487 if (temp)
1488 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
1489 temp->GetWidth(),
1490 temp->GetStyle());
1491 else
1492 _arg1 = NULL;
1493}
e91a9dfc
RD
1494 _arg2 = (bool ) tempbool2;
1495{
1496 wxPy_BEGIN_ALLOW_THREADS;
1497 wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2);
1498
1499 wxPy_END_ALLOW_THREADS;
1500} Py_INCREF(Py_None);
1501 _resultobj = Py_None;
1502 return _resultobj;
1503}
1504
1505#define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1))
1506static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
1507 PyObject * _resultobj;
1508 wxPseudoMetaFile * _arg0;
1509 wxBrush * _arg1;
1510 bool _arg2 = (bool ) FALSE;
1511 PyObject * _argo0 = 0;
d74525f7 1512 PyObject * _obj1 = 0;
e91a9dfc
RD
1513 int tempbool2 = (int) FALSE;
1514 char *_kwnames[] = { "self","brush","isFill", NULL };
1515
1516 self = self;
d74525f7 1517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
1518 return NULL;
1519 if (_argo0) {
1520 if (_argo0 == Py_None) { _arg0 = NULL; }
1521 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1522 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p.");
1523 return NULL;
1524 }
1525 }
d74525f7
RD
1526{
1527 wxBrush* temp;
1528 if (_obj1) {
1529 if (_obj1 == Py_None) { temp = NULL; }
1530 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
1531 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
e91a9dfc
RD
1532 return NULL;
1533 }
1534 }
d74525f7
RD
1535 if (temp)
1536 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
1537 else
1538 _arg1 = NULL;
1539}
e91a9dfc
RD
1540 _arg2 = (bool ) tempbool2;
1541{
1542 wxPy_BEGIN_ALLOW_THREADS;
1543 wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2);
1544
1545 wxPy_END_ALLOW_THREADS;
1546} Py_INCREF(Py_None);
1547 _resultobj = Py_None;
1548 return _resultobj;
1549}
1550
1551#define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1552static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject * _resultobj;
1554 wxPseudoMetaFile * _arg0;
1555 wxFont * _arg1;
1556 PyObject * _argo0 = 0;
d74525f7 1557 PyObject * _obj1 = 0;
e91a9dfc
RD
1558 char *_kwnames[] = { "self","font", NULL };
1559
1560 self = self;
d74525f7 1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1562 return NULL;
1563 if (_argo0) {
1564 if (_argo0 == Py_None) { _arg0 = NULL; }
1565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p.");
1567 return NULL;
1568 }
1569 }
d74525f7
RD
1570{
1571 wxFont* temp;
1572 if (_obj1) {
1573 if (_obj1 == Py_None) { temp = NULL; }
1574 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
1575 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
e91a9dfc
RD
1576 return NULL;
1577 }
1578 }
d74525f7
RD
1579 if (temp)
1580 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
1581 temp->GetFamily(),
1582 temp->GetStyle(),
1583 temp->GetWeight(),
1584 temp->GetUnderlined(),
1585 temp->GetFaceName(),
1586 temp->GetEncoding());
1587 else
1588 _arg1 = NULL;
1589}
e91a9dfc
RD
1590{
1591 wxPy_BEGIN_ALLOW_THREADS;
1592 wxPseudoMetaFile_SetFont(_arg0,_arg1);
1593
1594 wxPy_END_ALLOW_THREADS;
1595} Py_INCREF(Py_None);
1596 _resultobj = Py_None;
1597 return _resultobj;
1598}
1599
1600#define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1601static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1602 PyObject * _resultobj;
1603 wxPseudoMetaFile * _arg0;
1604 wxColour * _arg1;
1605 PyObject * _argo0 = 0;
f6bcfd97
BP
1606 wxColour temp;
1607 PyObject * _obj1 = 0;
e91a9dfc
RD
1608 char *_kwnames[] = { "self","colour", NULL };
1609
1610 self = self;
f6bcfd97 1611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1612 return NULL;
1613 if (_argo0) {
1614 if (_argo0 == Py_None) { _arg0 = NULL; }
1615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p.");
1617 return NULL;
1618 }
1619 }
f6bcfd97
BP
1620{
1621 _arg1 = &temp;
1622 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 1623 return NULL;
f6bcfd97 1624}
e91a9dfc
RD
1625{
1626 wxPy_BEGIN_ALLOW_THREADS;
1627 wxPseudoMetaFile_SetTextColour(_arg0,*_arg1);
1628
1629 wxPy_END_ALLOW_THREADS;
1630} Py_INCREF(Py_None);
1631 _resultobj = Py_None;
1632 return _resultobj;
1633}
1634
1635#define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1636static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject * _resultobj;
1638 wxPseudoMetaFile * _arg0;
1639 wxColour * _arg1;
1640 PyObject * _argo0 = 0;
f6bcfd97
BP
1641 wxColour temp;
1642 PyObject * _obj1 = 0;
e91a9dfc
RD
1643 char *_kwnames[] = { "self","colour", NULL };
1644
1645 self = self;
f6bcfd97 1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
1647 return NULL;
1648 if (_argo0) {
1649 if (_argo0 == Py_None) { _arg0 = NULL; }
1650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p.");
1652 return NULL;
1653 }
1654 }
f6bcfd97
BP
1655{
1656 _arg1 = &temp;
1657 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 1658 return NULL;
f6bcfd97 1659}
e91a9dfc
RD
1660{
1661 wxPy_BEGIN_ALLOW_THREADS;
1662 wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1);
1663
1664 wxPy_END_ALLOW_THREADS;
1665} Py_INCREF(Py_None);
1666 _resultobj = Py_None;
1667 return _resultobj;
1668}
1669
1670#define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1671static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1672 PyObject * _resultobj;
1673 wxPseudoMetaFile * _arg0;
1674 int _arg1;
1675 PyObject * _argo0 = 0;
1676 char *_kwnames[] = { "self","mode", NULL };
1677
1678 self = self;
1679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
1680 return NULL;
1681 if (_argo0) {
1682 if (_argo0 == Py_None) { _arg0 = NULL; }
1683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p.");
1685 return NULL;
1686 }
1687 }
1688{
1689 wxPy_BEGIN_ALLOW_THREADS;
1690 wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1);
1691
1692 wxPy_END_ALLOW_THREADS;
1693} Py_INCREF(Py_None);
1694 _resultobj = Py_None;
1695 return _resultobj;
1696}
1697
1698static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) {
1699 wxPyRectangleShape *src;
1700 wxPyShape *dest;
1701 src = (wxPyRectangleShape *) ptr;
1702 dest = (wxPyShape *) src;
1703 return (void *) dest;
1704}
1705
1706static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) {
1707 wxPyRectangleShape *src;
1708 wxPyShapeEvtHandler *dest;
1709 src = (wxPyRectangleShape *) ptr;
1710 dest = (wxPyShapeEvtHandler *) src;
1711 return (void *) dest;
1712}
1713
9416aa89
RD
1714static void *SwigwxPyRectangleShapeTowxObject(void *ptr) {
1715 wxPyRectangleShape *src;
1716 wxObject *dest;
1717 src = (wxPyRectangleShape *) ptr;
1718 dest = (wxObject *) src;
1719 return (void *) dest;
1720}
1721
e91a9dfc
RD
1722#define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1))
1723static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1724 PyObject * _resultobj;
1725 wxPyRectangleShape * _result;
1726 double _arg0 = (double ) 0.0;
1727 double _arg1 = (double ) 0.0;
1728 char *_kwnames[] = { "width","height", NULL };
1729 char _ptemp[128];
1730
1731 self = self;
1732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1))
1733 return NULL;
1734{
1735 wxPy_BEGIN_ALLOW_THREADS;
1736 _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1);
1737
1738 wxPy_END_ALLOW_THREADS;
1739} if (_result) {
1740 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p");
1741 _resultobj = Py_BuildValue("s",_ptemp);
1742 } else {
1743 Py_INCREF(Py_None);
1744 _resultobj = Py_None;
1745 }
1746 return _resultobj;
1747}
1748
0122b7e3
RD
1749#define wxPyRectangleShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
1750static PyObject *_wrap_wxPyRectangleShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
1751 PyObject * _resultobj;
1752 wxPyRectangleShape * _arg0;
1753 PyObject * _arg1;
f6bcfd97 1754 PyObject * _arg2;
e91a9dfc
RD
1755 PyObject * _argo0 = 0;
1756 PyObject * _obj1 = 0;
f6bcfd97
BP
1757 PyObject * _obj2 = 0;
1758 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
1759
1760 self = self;
0122b7e3 1761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyRectangleShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
1762 return NULL;
1763 if (_argo0) {
1764 if (_argo0 == Py_None) { _arg0 = NULL; }
1765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
0122b7e3 1766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setCallbackInfo. Expected _wxPyRectangleShape_p.");
e91a9dfc
RD
1767 return NULL;
1768 }
1769 }
1770{
1771 _arg1 = _obj1;
1772}
f6bcfd97
BP
1773{
1774 _arg2 = _obj2;
1775}
e91a9dfc
RD
1776{
1777 wxPy_BEGIN_ALLOW_THREADS;
0122b7e3 1778 wxPyRectangleShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc
RD
1779
1780 wxPy_END_ALLOW_THREADS;
1781} Py_INCREF(Py_None);
1782 _resultobj = Py_None;
1783 return _resultobj;
1784}
1785
1786#define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
1787static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
1788 PyObject * _resultobj;
1789 wxPyRectangleShape * _arg0;
1790 double _arg1;
1791 PyObject * _argo0 = 0;
1792 char *_kwnames[] = { "self","radius", NULL };
1793
1794 self = self;
1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1))
1796 return NULL;
1797 if (_argo0) {
1798 if (_argo0 == Py_None) { _arg0 = NULL; }
1799 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1800 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p.");
1801 return NULL;
1802 }
1803 }
1804{
1805 wxPy_BEGIN_ALLOW_THREADS;
1806 wxPyRectangleShape_SetCornerRadius(_arg0,_arg1);
1807
1808 wxPy_END_ALLOW_THREADS;
1809} Py_INCREF(Py_None);
1810 _resultobj = Py_None;
1811 return _resultobj;
1812}
1813
1814#define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1815static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1816 PyObject * _resultobj;
1817 wxPyRectangleShape * _arg0;
1818 PyObject * _argo0 = 0;
1819 char *_kwnames[] = { "self", NULL };
1820
1821 self = self;
1822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0))
1823 return NULL;
1824 if (_argo0) {
1825 if (_argo0 == Py_None) { _arg0 = NULL; }
1826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p.");
1828 return NULL;
1829 }
1830 }
1831{
1832 wxPy_BEGIN_ALLOW_THREADS;
1833 wxPyRectangleShape_base_OnDelete(_arg0);
1834
1835 wxPy_END_ALLOW_THREADS;
1836} Py_INCREF(Py_None);
1837 _resultobj = Py_None;
1838 return _resultobj;
1839}
1840
1841#define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1842static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject * _resultobj;
1844 wxPyRectangleShape * _arg0;
1845 wxDC * _arg1;
1846 PyObject * _argo0 = 0;
1847 PyObject * _argo1 = 0;
1848 char *_kwnames[] = { "self","dc", NULL };
1849
1850 self = self;
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
1852 return NULL;
1853 if (_argo0) {
1854 if (_argo0 == Py_None) { _arg0 = NULL; }
1855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p.");
1857 return NULL;
1858 }
1859 }
1860 if (_argo1) {
1861 if (_argo1 == Py_None) { _arg1 = NULL; }
1862 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1863 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p.");
1864 return NULL;
1865 }
1866 }
1867{
1868 wxPy_BEGIN_ALLOW_THREADS;
1869 wxPyRectangleShape_base_OnDraw(_arg0,*_arg1);
1870
1871 wxPy_END_ALLOW_THREADS;
1872} Py_INCREF(Py_None);
1873 _resultobj = Py_None;
1874 return _resultobj;
1875}
1876
1877#define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1878static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1879 PyObject * _resultobj;
1880 wxPyRectangleShape * _arg0;
1881 wxDC * _arg1;
1882 PyObject * _argo0 = 0;
1883 PyObject * _argo1 = 0;
1884 char *_kwnames[] = { "self","dc", NULL };
1885
1886 self = self;
1887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1888 return NULL;
1889 if (_argo0) {
1890 if (_argo0 == Py_None) { _arg0 = NULL; }
1891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p.");
1893 return NULL;
1894 }
1895 }
1896 if (_argo1) {
1897 if (_argo1 == Py_None) { _arg1 = NULL; }
1898 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p.");
1900 return NULL;
1901 }
1902 }
1903{
1904 wxPy_BEGIN_ALLOW_THREADS;
1905 wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1);
1906
1907 wxPy_END_ALLOW_THREADS;
1908} Py_INCREF(Py_None);
1909 _resultobj = Py_None;
1910 return _resultobj;
1911}
1912
1913#define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1914static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1915 PyObject * _resultobj;
1916 wxPyRectangleShape * _arg0;
1917 wxDC * _arg1;
1918 bool _arg2 = (bool ) FALSE;
1919 PyObject * _argo0 = 0;
1920 PyObject * _argo1 = 0;
1921 int tempbool2 = (int) FALSE;
1922 char *_kwnames[] = { "self","dc","erase", NULL };
1923
1924 self = self;
1925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1926 return NULL;
1927 if (_argo0) {
1928 if (_argo0 == Py_None) { _arg0 = NULL; }
1929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p.");
1931 return NULL;
1932 }
1933 }
1934 if (_argo1) {
1935 if (_argo1 == Py_None) { _arg1 = NULL; }
1936 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1937 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p.");
1938 return NULL;
1939 }
1940 }
1941 _arg2 = (bool ) tempbool2;
1942{
1943 wxPy_BEGIN_ALLOW_THREADS;
1944 wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1945
1946 wxPy_END_ALLOW_THREADS;
1947} Py_INCREF(Py_None);
1948 _resultobj = Py_None;
1949 return _resultobj;
1950}
1951
1952#define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1953static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject * _resultobj;
1955 wxPyRectangleShape * _arg0;
1956 wxDC * _arg1;
1957 PyObject * _argo0 = 0;
1958 PyObject * _argo1 = 0;
1959 char *_kwnames[] = { "self","dc", NULL };
1960
1961 self = self;
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
1963 return NULL;
1964 if (_argo0) {
1965 if (_argo0 == Py_None) { _arg0 = NULL; }
1966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p.");
1968 return NULL;
1969 }
1970 }
1971 if (_argo1) {
1972 if (_argo1 == Py_None) { _arg1 = NULL; }
1973 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1974 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p.");
1975 return NULL;
1976 }
1977 }
1978{
1979 wxPy_BEGIN_ALLOW_THREADS;
1980 wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1);
1981
1982 wxPy_END_ALLOW_THREADS;
1983} Py_INCREF(Py_None);
1984 _resultobj = Py_None;
1985 return _resultobj;
1986}
1987
1988#define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1989static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject * _resultobj;
1991 wxPyRectangleShape * _arg0;
1992 wxDC * _arg1;
1993 PyObject * _argo0 = 0;
1994 PyObject * _argo1 = 0;
1995 char *_kwnames[] = { "self","dc", NULL };
1996
1997 self = self;
1998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1))
1999 return NULL;
2000 if (_argo0) {
2001 if (_argo0 == Py_None) { _arg0 = NULL; }
2002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p.");
2004 return NULL;
2005 }
2006 }
2007 if (_argo1) {
2008 if (_argo1 == Py_None) { _arg1 = NULL; }
2009 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2010 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p.");
2011 return NULL;
2012 }
2013 }
2014{
2015 wxPy_BEGIN_ALLOW_THREADS;
2016 wxPyRectangleShape_base_OnErase(_arg0,*_arg1);
2017
2018 wxPy_END_ALLOW_THREADS;
2019} Py_INCREF(Py_None);
2020 _resultobj = Py_None;
2021 return _resultobj;
2022}
2023
2024#define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
2025static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
2026 PyObject * _resultobj;
2027 wxPyRectangleShape * _arg0;
2028 wxDC * _arg1;
2029 PyObject * _argo0 = 0;
2030 PyObject * _argo1 = 0;
2031 char *_kwnames[] = { "self","dc", NULL };
2032
2033 self = self;
2034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
2035 return NULL;
2036 if (_argo0) {
2037 if (_argo0 == Py_None) { _arg0 = NULL; }
2038 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2039 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p.");
2040 return NULL;
2041 }
2042 }
2043 if (_argo1) {
2044 if (_argo1 == Py_None) { _arg1 = NULL; }
2045 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2046 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p.");
2047 return NULL;
2048 }
2049 }
2050{
2051 wxPy_BEGIN_ALLOW_THREADS;
2052 wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1);
2053
2054 wxPy_END_ALLOW_THREADS;
2055} Py_INCREF(Py_None);
2056 _resultobj = Py_None;
2057 return _resultobj;
2058}
2059
2060#define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
2061static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2062 PyObject * _resultobj;
2063 wxPyRectangleShape * _arg0;
2064 wxDC * _arg1;
2065 PyObject * _argo0 = 0;
2066 PyObject * _argo1 = 0;
2067 char *_kwnames[] = { "self","dc", NULL };
2068
2069 self = self;
2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
2071 return NULL;
2072 if (_argo0) {
2073 if (_argo0 == Py_None) { _arg0 = NULL; }
2074 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2075 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p.");
2076 return NULL;
2077 }
2078 }
2079 if (_argo1) {
2080 if (_argo1 == Py_None) { _arg1 = NULL; }
2081 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2082 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p.");
2083 return NULL;
2084 }
2085 }
2086{
2087 wxPy_BEGIN_ALLOW_THREADS;
2088 wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1);
2089
2090 wxPy_END_ALLOW_THREADS;
2091} Py_INCREF(Py_None);
2092 _resultobj = Py_None;
2093 return _resultobj;
2094}
2095
2096#define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2097static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2098 PyObject * _resultobj;
2099 wxPyRectangleShape * _arg0;
2100 double _arg1;
2101 double _arg2;
2102 int _arg3 = (int ) 0;
2103 int _arg4 = (int ) 0;
2104 PyObject * _argo0 = 0;
2105 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2106
2107 self = self;
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2109 return NULL;
2110 if (_argo0) {
2111 if (_argo0 == Py_None) { _arg0 = NULL; }
2112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p.");
2114 return NULL;
2115 }
2116 }
2117{
2118 wxPy_BEGIN_ALLOW_THREADS;
2119 wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2120
2121 wxPy_END_ALLOW_THREADS;
2122} Py_INCREF(Py_None);
2123 _resultobj = Py_None;
2124 return _resultobj;
2125}
2126
2127#define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2128static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2129 PyObject * _resultobj;
2130 wxPyRectangleShape * _arg0;
2131 double _arg1;
2132 double _arg2;
2133 int _arg3 = (int ) 0;
2134 int _arg4 = (int ) 0;
2135 PyObject * _argo0 = 0;
2136 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2137
2138 self = self;
2139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2140 return NULL;
2141 if (_argo0) {
2142 if (_argo0 == Py_None) { _arg0 = NULL; }
2143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p.");
2145 return NULL;
2146 }
2147 }
2148{
2149 wxPy_BEGIN_ALLOW_THREADS;
2150 wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2151
2152 wxPy_END_ALLOW_THREADS;
2153} Py_INCREF(Py_None);
2154 _resultobj = Py_None;
2155 return _resultobj;
2156}
2157
2158#define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2159static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject * _resultobj;
2161 wxPyRectangleShape * _arg0;
2162 double _arg1;
2163 double _arg2;
2164 int _arg3 = (int ) 0;
2165 int _arg4 = (int ) 0;
2166 PyObject * _argo0 = 0;
2167 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2168
2169 self = self;
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2171 return NULL;
2172 if (_argo0) {
2173 if (_argo0 == Py_None) { _arg0 = NULL; }
2174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p.");
2176 return NULL;
2177 }
2178 }
2179{
2180 wxPy_BEGIN_ALLOW_THREADS;
2181 wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2182
2183 wxPy_END_ALLOW_THREADS;
2184} Py_INCREF(Py_None);
2185 _resultobj = Py_None;
2186 return _resultobj;
2187}
2188
2189#define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
2190static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject * _resultobj;
2192 wxPyRectangleShape * _arg0;
2193 double _arg1;
2194 double _arg2;
2195 PyObject * _argo0 = 0;
2196 char *_kwnames[] = { "self","x","y", NULL };
2197
2198 self = self;
2199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
2200 return NULL;
2201 if (_argo0) {
2202 if (_argo0 == Py_None) { _arg0 = NULL; }
2203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p.");
2205 return NULL;
2206 }
2207 }
2208{
2209 wxPy_BEGIN_ALLOW_THREADS;
2210 wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2);
2211
2212 wxPy_END_ALLOW_THREADS;
2213} Py_INCREF(Py_None);
2214 _resultobj = Py_None;
2215 return _resultobj;
2216}
2217
2218#define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2219static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2220 PyObject * _resultobj;
2221 bool _result;
2222 wxPyRectangleShape * _arg0;
2223 wxDC * _arg1;
2224 double _arg2;
2225 double _arg3;
2226 double _arg4;
2227 double _arg5;
2228 bool _arg6 = (bool ) TRUE;
2229 PyObject * _argo0 = 0;
2230 PyObject * _argo1 = 0;
2231 int tempbool6 = (int) TRUE;
2232 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2233
2234 self = self;
2235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2236 return NULL;
2237 if (_argo0) {
2238 if (_argo0 == Py_None) { _arg0 = NULL; }
2239 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2240 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p.");
2241 return NULL;
2242 }
2243 }
2244 if (_argo1) {
2245 if (_argo1 == Py_None) { _arg1 = NULL; }
2246 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2247 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p.");
2248 return NULL;
2249 }
2250 }
2251 _arg6 = (bool ) tempbool6;
2252{
2253 wxPy_BEGIN_ALLOW_THREADS;
2254 _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2255
2256 wxPy_END_ALLOW_THREADS;
2257} _resultobj = Py_BuildValue("i",_result);
2258 return _resultobj;
2259}
2260
2261#define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2262static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2263 PyObject * _resultobj;
2264 wxPyRectangleShape * _arg0;
2265 wxDC * _arg1;
2266 double _arg2;
2267 double _arg3;
2268 double _arg4;
2269 double _arg5;
2270 bool _arg6 = (bool ) TRUE;
2271 PyObject * _argo0 = 0;
2272 PyObject * _argo1 = 0;
2273 int tempbool6 = (int) TRUE;
2274 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2275
2276 self = self;
2277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2278 return NULL;
2279 if (_argo0) {
2280 if (_argo0 == Py_None) { _arg0 = NULL; }
2281 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2282 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p.");
2283 return NULL;
2284 }
2285 }
2286 if (_argo1) {
2287 if (_argo1 == Py_None) { _arg1 = NULL; }
2288 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2289 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p.");
2290 return NULL;
2291 }
2292 }
2293 _arg6 = (bool ) tempbool6;
2294{
2295 wxPy_BEGIN_ALLOW_THREADS;
2296 wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2297
2298 wxPy_END_ALLOW_THREADS;
2299} Py_INCREF(Py_None);
2300 _resultobj = Py_None;
2301 return _resultobj;
2302}
2303
2304#define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2305static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2306 PyObject * _resultobj;
2307 wxPyRectangleShape * _arg0;
2308 bool _arg1;
2309 double _arg2;
2310 double _arg3;
2311 int _arg4 = (int ) 0;
2312 int _arg5 = (int ) 0;
2313 PyObject * _argo0 = 0;
2314 int tempbool1;
2315 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2316
2317 self = self;
2318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2319 return NULL;
2320 if (_argo0) {
2321 if (_argo0 == Py_None) { _arg0 = NULL; }
2322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p.");
2324 return NULL;
2325 }
2326 }
2327 _arg1 = (bool ) tempbool1;
2328{
2329 wxPy_BEGIN_ALLOW_THREADS;
2330 wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2331
2332 wxPy_END_ALLOW_THREADS;
2333} Py_INCREF(Py_None);
2334 _resultobj = Py_None;
2335 return _resultobj;
2336}
2337
2338#define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2339static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2340 PyObject * _resultobj;
2341 wxPyRectangleShape * _arg0;
2342 double _arg1;
2343 double _arg2;
2344 int _arg3 = (int ) 0;
2345 int _arg4 = (int ) 0;
2346 PyObject * _argo0 = 0;
2347 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2348
2349 self = self;
2350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2351 return NULL;
2352 if (_argo0) {
2353 if (_argo0 == Py_None) { _arg0 = NULL; }
2354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p.");
2356 return NULL;
2357 }
2358 }
2359{
2360 wxPy_BEGIN_ALLOW_THREADS;
2361 wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2362
2363 wxPy_END_ALLOW_THREADS;
2364} Py_INCREF(Py_None);
2365 _resultobj = Py_None;
2366 return _resultobj;
2367}
2368
2369#define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2370static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2371 PyObject * _resultobj;
2372 wxPyRectangleShape * _arg0;
2373 double _arg1;
2374 double _arg2;
2375 int _arg3 = (int ) 0;
2376 int _arg4 = (int ) 0;
2377 PyObject * _argo0 = 0;
2378 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2379
2380 self = self;
2381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2382 return NULL;
2383 if (_argo0) {
2384 if (_argo0 == Py_None) { _arg0 = NULL; }
2385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p.");
2387 return NULL;
2388 }
2389 }
2390{
2391 wxPy_BEGIN_ALLOW_THREADS;
2392 wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2393
2394 wxPy_END_ALLOW_THREADS;
2395} Py_INCREF(Py_None);
2396 _resultobj = Py_None;
2397 return _resultobj;
2398}
2399
2400#define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2401static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2402 PyObject * _resultobj;
2403 wxPyRectangleShape * _arg0;
2404 bool _arg1;
2405 double _arg2;
2406 double _arg3;
2407 int _arg4 = (int ) 0;
2408 int _arg5 = (int ) 0;
2409 PyObject * _argo0 = 0;
2410 int tempbool1;
2411 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2412
2413 self = self;
2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2415 return NULL;
2416 if (_argo0) {
2417 if (_argo0 == Py_None) { _arg0 = NULL; }
2418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p.");
2420 return NULL;
2421 }
2422 }
2423 _arg1 = (bool ) tempbool1;
2424{
2425 wxPy_BEGIN_ALLOW_THREADS;
2426 wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2427
2428 wxPy_END_ALLOW_THREADS;
2429} Py_INCREF(Py_None);
2430 _resultobj = Py_None;
2431 return _resultobj;
2432}
2433
2434#define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2435static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2436 PyObject * _resultobj;
2437 wxPyRectangleShape * _arg0;
2438 double _arg1;
2439 double _arg2;
2440 int _arg3 = (int ) 0;
2441 int _arg4 = (int ) 0;
2442 PyObject * _argo0 = 0;
2443 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2444
2445 self = self;
2446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2447 return NULL;
2448 if (_argo0) {
2449 if (_argo0 == Py_None) { _arg0 = NULL; }
2450 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2451 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p.");
2452 return NULL;
2453 }
2454 }
2455{
2456 wxPy_BEGIN_ALLOW_THREADS;
2457 wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2458
2459 wxPy_END_ALLOW_THREADS;
2460} Py_INCREF(Py_None);
2461 _resultobj = Py_None;
2462 return _resultobj;
2463}
2464
2465#define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2466static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2467 PyObject * _resultobj;
2468 wxPyRectangleShape * _arg0;
2469 double _arg1;
2470 double _arg2;
2471 int _arg3 = (int ) 0;
2472 int _arg4 = (int ) 0;
2473 PyObject * _argo0 = 0;
2474 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2475
2476 self = self;
2477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2478 return NULL;
2479 if (_argo0) {
2480 if (_argo0 == Py_None) { _arg0 = NULL; }
2481 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2482 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p.");
2483 return NULL;
2484 }
2485 }
2486{
2487 wxPy_BEGIN_ALLOW_THREADS;
2488 wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2489
2490 wxPy_END_ALLOW_THREADS;
2491} Py_INCREF(Py_None);
2492 _resultobj = Py_None;
2493 return _resultobj;
2494}
2495
2496#define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2497static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2498 PyObject * _resultobj;
2499 wxPyRectangleShape * _arg0;
2500 wxDC * _arg1;
2501 double _arg2;
2502 double _arg3;
2503 double _arg4;
2504 double _arg5;
2505 PyObject * _argo0 = 0;
2506 PyObject * _argo1 = 0;
2507 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2508
2509 self = self;
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2511 return NULL;
2512 if (_argo0) {
2513 if (_argo0 == Py_None) { _arg0 = NULL; }
2514 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2515 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p.");
2516 return NULL;
2517 }
2518 }
2519 if (_argo1) {
2520 if (_argo1 == Py_None) { _arg1 = NULL; }
2521 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2522 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p.");
2523 return NULL;
2524 }
2525 }
2526{
2527 wxPy_BEGIN_ALLOW_THREADS;
2528 wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2529
2530 wxPy_END_ALLOW_THREADS;
2531} Py_INCREF(Py_None);
2532 _resultobj = Py_None;
2533 return _resultobj;
2534}
2535
2536#define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2537static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2538 PyObject * _resultobj;
2539 wxPyRectangleShape * _arg0;
2540 wxDC * _arg1;
2541 PyObject * _argo0 = 0;
2542 PyObject * _argo1 = 0;
2543 char *_kwnames[] = { "self","dc", NULL };
2544
2545 self = self;
2546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2547 return NULL;
2548 if (_argo0) {
2549 if (_argo0 == Py_None) { _arg0 = NULL; }
2550 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2551 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p.");
2552 return NULL;
2553 }
2554 }
2555 if (_argo1) {
2556 if (_argo1 == Py_None) { _arg1 = NULL; }
2557 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2558 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2559 return NULL;
2560 }
2561 }
2562{
2563 wxPy_BEGIN_ALLOW_THREADS;
2564 wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1);
2565
2566 wxPy_END_ALLOW_THREADS;
2567} Py_INCREF(Py_None);
2568 _resultobj = Py_None;
2569 return _resultobj;
2570}
2571
2572#define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2573static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2574 PyObject * _resultobj;
2575 wxPyRectangleShape * _arg0;
2576 wxDC * _arg1;
2577 PyObject * _argo0 = 0;
2578 PyObject * _argo1 = 0;
2579 char *_kwnames[] = { "self","dc", NULL };
2580
2581 self = self;
2582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2583 return NULL;
2584 if (_argo0) {
2585 if (_argo0 == Py_None) { _arg0 = NULL; }
2586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p.");
2588 return NULL;
2589 }
2590 }
2591 if (_argo1) {
2592 if (_argo1 == Py_None) { _arg1 = NULL; }
2593 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2594 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2595 return NULL;
2596 }
2597 }
2598{
2599 wxPy_BEGIN_ALLOW_THREADS;
2600 wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1);
2601
2602 wxPy_END_ALLOW_THREADS;
2603} Py_INCREF(Py_None);
2604 _resultobj = Py_None;
2605 return _resultobj;
2606}
2607
2608#define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2609static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2610 PyObject * _resultobj;
2611 wxPyRectangleShape * _arg0;
2612 wxDC * _arg1;
2613 bool _arg2 = (bool ) TRUE;
2614 PyObject * _argo0 = 0;
2615 PyObject * _argo1 = 0;
2616 int tempbool2 = (int) TRUE;
2617 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2618
2619 self = self;
2620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2621 return NULL;
2622 if (_argo0) {
2623 if (_argo0 == Py_None) { _arg0 = NULL; }
2624 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2625 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p.");
2626 return NULL;
2627 }
2628 }
2629 if (_argo1) {
2630 if (_argo1 == Py_None) { _arg1 = NULL; }
2631 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2632 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p.");
2633 return NULL;
2634 }
2635 }
2636 _arg2 = (bool ) tempbool2;
2637{
2638 wxPy_BEGIN_ALLOW_THREADS;
2639 wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
2640
2641 wxPy_END_ALLOW_THREADS;
2642} Py_INCREF(Py_None);
2643 _resultobj = Py_None;
2644 return _resultobj;
2645}
2646
2647#define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2648static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2649 PyObject * _resultobj;
2650 wxPyRectangleShape * _arg0;
2348eaee 2651 wxPyControlPoint * _arg1;
e91a9dfc
RD
2652 bool _arg2;
2653 double _arg3;
2654 double _arg4;
2655 int _arg5 = (int ) 0;
2656 int _arg6 = (int ) 0;
2657 PyObject * _argo0 = 0;
2658 PyObject * _argo1 = 0;
2659 int tempbool2;
2660 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2661
2662 self = self;
2663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2664 return NULL;
2665 if (_argo0) {
2666 if (_argo0 == Py_None) { _arg0 = NULL; }
2667 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2668 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p.");
2669 return NULL;
2670 }
2671 }
2672 if (_argo1) {
2673 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
2674 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2675 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2676 return NULL;
2677 }
2678 }
2679 _arg2 = (bool ) tempbool2;
2680{
2681 wxPy_BEGIN_ALLOW_THREADS;
2682 wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2683
2684 wxPy_END_ALLOW_THREADS;
2685} Py_INCREF(Py_None);
2686 _resultobj = Py_None;
2687 return _resultobj;
2688}
2689
2690#define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2691static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2692 PyObject * _resultobj;
2693 wxPyRectangleShape * _arg0;
2348eaee 2694 wxPyControlPoint * _arg1;
e91a9dfc
RD
2695 double _arg2;
2696 double _arg3;
2697 int _arg4 = (int ) 0;
2698 int _arg5 = (int ) 0;
2699 PyObject * _argo0 = 0;
2700 PyObject * _argo1 = 0;
2701 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2702
2703 self = self;
2704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2705 return NULL;
2706 if (_argo0) {
2707 if (_argo0 == Py_None) { _arg0 = NULL; }
2708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p.");
2710 return NULL;
2711 }
2712 }
2713 if (_argo1) {
2714 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
2715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2717 return NULL;
2718 }
2719 }
2720{
2721 wxPy_BEGIN_ALLOW_THREADS;
2722 wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2723
2724 wxPy_END_ALLOW_THREADS;
2725} Py_INCREF(Py_None);
2726 _resultobj = Py_None;
2727 return _resultobj;
2728}
2729
2730#define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2731static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject * _resultobj;
2733 wxPyRectangleShape * _arg0;
2348eaee 2734 wxPyControlPoint * _arg1;
e91a9dfc
RD
2735 double _arg2;
2736 double _arg3;
2737 int _arg4 = (int ) 0;
2738 int _arg5 = (int ) 0;
2739 PyObject * _argo0 = 0;
2740 PyObject * _argo1 = 0;
2741 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2742
2743 self = self;
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2745 return NULL;
2746 if (_argo0) {
2747 if (_argo0 == Py_None) { _arg0 = NULL; }
2748 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2749 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p.");
2750 return NULL;
2751 }
2752 }
2753 if (_argo1) {
2754 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
2755 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
2756 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2757 return NULL;
2758 }
2759 }
2760{
2761 wxPy_BEGIN_ALLOW_THREADS;
2762 wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2763
2764 wxPy_END_ALLOW_THREADS;
2765} Py_INCREF(Py_None);
2766 _resultobj = Py_None;
2767 return _resultobj;
2768}
2769
2770#define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2771static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2772 PyObject * _resultobj;
2773 wxPyRectangleShape * _arg0;
2774 double _arg1;
2775 double _arg2;
2776 PyObject * _argo0 = 0;
2777 char *_kwnames[] = { "self","w","h", NULL };
2778
2779 self = self;
2780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2781 return NULL;
2782 if (_argo0) {
2783 if (_argo0 == Py_None) { _arg0 = NULL; }
2784 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2785 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p.");
2786 return NULL;
2787 }
2788 }
2789{
2790 wxPy_BEGIN_ALLOW_THREADS;
2791 wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2);
2792
2793 wxPy_END_ALLOW_THREADS;
2794} Py_INCREF(Py_None);
2795 _resultobj = Py_None;
2796 return _resultobj;
2797}
2798
2799#define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2800static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2801 PyObject * _resultobj;
2802 wxPyRectangleShape * _arg0;
2803 double _arg1;
2804 double _arg2;
2805 PyObject * _argo0 = 0;
2806 char *_kwnames[] = { "self","w","h", NULL };
2807
2808 self = self;
2809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2810 return NULL;
2811 if (_argo0) {
2812 if (_argo0 == Py_None) { _arg0 = NULL; }
2813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p.");
2815 return NULL;
2816 }
2817 }
2818{
2819 wxPy_BEGIN_ALLOW_THREADS;
2820 wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2);
2821
2822 wxPy_END_ALLOW_THREADS;
2823} Py_INCREF(Py_None);
2824 _resultobj = Py_None;
2825 return _resultobj;
2826}
2827
2348eaee
RD
2828static void *SwigwxPyControlPointTowxPyRectangleShape(void *ptr) {
2829 wxPyControlPoint *src;
e91a9dfc 2830 wxPyRectangleShape *dest;
2348eaee 2831 src = (wxPyControlPoint *) ptr;
e91a9dfc
RD
2832 dest = (wxPyRectangleShape *) src;
2833 return (void *) dest;
2834}
2835
2348eaee
RD
2836static void *SwigwxPyControlPointTowxPyShape(void *ptr) {
2837 wxPyControlPoint *src;
e91a9dfc 2838 wxPyShape *dest;
2348eaee 2839 src = (wxPyControlPoint *) ptr;
e91a9dfc
RD
2840 dest = (wxPyShape *) src;
2841 return (void *) dest;
2842}
2843
2348eaee
RD
2844static void *SwigwxPyControlPointTowxPyShapeEvtHandler(void *ptr) {
2845 wxPyControlPoint *src;
e91a9dfc 2846 wxPyShapeEvtHandler *dest;
2348eaee 2847 src = (wxPyControlPoint *) ptr;
e91a9dfc
RD
2848 dest = (wxPyShapeEvtHandler *) src;
2849 return (void *) dest;
2850}
2851
9416aa89
RD
2852static void *SwigwxPyControlPointTowxObject(void *ptr) {
2853 wxPyControlPoint *src;
2854 wxObject *dest;
2855 src = (wxPyControlPoint *) ptr;
2856 dest = (wxObject *) src;
2857 return (void *) dest;
2858}
2859
2348eaee
RD
2860#define new_wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (new wxPyControlPoint(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2861static PyObject *_wrap_new_wxPyControlPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 2862 PyObject * _resultobj;
2348eaee
RD
2863 wxPyControlPoint * _result;
2864 wxPyShapeCanvas * _arg0 = (wxPyShapeCanvas *) NULL;
2865 wxPyShape * _arg1 = (wxPyShape *) NULL;
2866 double _arg2 = (double ) 0.0;
2867 double _arg3 = (double ) 0.0;
2868 double _arg4 = (double ) 0.0;
2869 int _arg5 = (int ) 0;
2870 PyObject * _argo0 = 0;
2871 PyObject * _argo1 = 0;
2872 char *_kwnames[] = { "the_canvas","object","size","the_xoffset","the_yoffset","the_type", NULL };
e91a9dfc
RD
2873 char _ptemp[128];
2874
2875 self = self;
2348eaee
RD
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|OOdddi:new_wxPyControlPoint",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2877 return NULL;
2878 if (_argo0) {
2879 if (_argo0 == Py_None) { _arg0 = NULL; }
2880 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyShapeCanvas_p")) {
2881 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of new_wxPyControlPoint. Expected _wxPyShapeCanvas_p.");
2882 return NULL;
2883 }
2884 }
2885 if (_argo1) {
2886 if (_argo1 == Py_None) { _arg1 = NULL; }
2887 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
2888 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxPyControlPoint. Expected _wxPyShape_p.");
e91a9dfc 2889 return NULL;
2348eaee
RD
2890 }
2891 }
e91a9dfc
RD
2892{
2893 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 2894 _result = (wxPyControlPoint *)new_wxPyControlPoint(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
e91a9dfc
RD
2895
2896 wxPy_END_ALLOW_THREADS;
2897} if (_result) {
2348eaee 2898 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyControlPoint_p");
e91a9dfc
RD
2899 _resultobj = Py_BuildValue("s",_ptemp);
2900 } else {
2901 Py_INCREF(Py_None);
2902 _resultobj = Py_None;
2903 }
2904 return _resultobj;
2905}
2906
0122b7e3
RD
2907#define wxPyControlPoint__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
2908static PyObject *_wrap_wxPyControlPoint__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 2909 PyObject * _resultobj;
2348eaee 2910 wxPyControlPoint * _arg0;
e91a9dfc 2911 PyObject * _arg1;
f6bcfd97 2912 PyObject * _arg2;
e91a9dfc
RD
2913 PyObject * _argo0 = 0;
2914 PyObject * _obj1 = 0;
f6bcfd97
BP
2915 PyObject * _obj2 = 0;
2916 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
2917
2918 self = self;
0122b7e3 2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyControlPoint__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
2920 return NULL;
2921 if (_argo0) {
2922 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee 2923 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
0122b7e3 2924 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint__setCallbackInfo. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2925 return NULL;
2926 }
2927 }
2928{
2929 _arg1 = _obj1;
2930}
f6bcfd97
BP
2931{
2932 _arg2 = _obj2;
2933}
e91a9dfc
RD
2934{
2935 wxPy_BEGIN_ALLOW_THREADS;
0122b7e3 2936 wxPyControlPoint__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc
RD
2937
2938 wxPy_END_ALLOW_THREADS;
2939} Py_INCREF(Py_None);
2940 _resultobj = Py_None;
2941 return _resultobj;
2942}
2943
2348eaee
RD
2944#define wxPyControlPoint_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
2945static PyObject *_wrap_wxPyControlPoint_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 2946 PyObject * _resultobj;
2348eaee
RD
2947 wxPyControlPoint * _arg0;
2948 double _arg1;
e91a9dfc 2949 PyObject * _argo0 = 0;
2348eaee 2950 char *_kwnames[] = { "self","radius", NULL };
e91a9dfc
RD
2951
2952 self = self;
2348eaee 2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyControlPoint_SetCornerRadius",_kwnames,&_argo0,&_arg1))
e91a9dfc
RD
2954 return NULL;
2955 if (_argo0) {
2956 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
2957 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2958 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_SetCornerRadius. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2959 return NULL;
2960 }
2961 }
2962{
2963 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 2964 wxPyControlPoint_SetCornerRadius(_arg0,_arg1);
e91a9dfc
RD
2965
2966 wxPy_END_ALLOW_THREADS;
2348eaee
RD
2967} Py_INCREF(Py_None);
2968 _resultobj = Py_None;
e91a9dfc
RD
2969 return _resultobj;
2970}
2971
2348eaee
RD
2972#define wxPyControlPoint_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
2973static PyObject *_wrap_wxPyControlPoint_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 2974 PyObject * _resultobj;
2348eaee 2975 wxPyControlPoint * _arg0;
e91a9dfc
RD
2976 PyObject * _argo0 = 0;
2977 char *_kwnames[] = { "self", NULL };
2978
2979 self = self;
2348eaee 2980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyControlPoint_base_OnDelete",_kwnames,&_argo0))
e91a9dfc
RD
2981 return NULL;
2982 if (_argo0) {
2983 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
2984 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
2985 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDelete. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
2986 return NULL;
2987 }
2988 }
2989{
2990 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 2991 wxPyControlPoint_base_OnDelete(_arg0);
e91a9dfc
RD
2992
2993 wxPy_END_ALLOW_THREADS;
2348eaee
RD
2994} Py_INCREF(Py_None);
2995 _resultobj = Py_None;
e91a9dfc
RD
2996 return _resultobj;
2997}
2998
2348eaee
RD
2999#define wxPyControlPoint_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
3000static PyObject *_wrap_wxPyControlPoint_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3001 PyObject * _resultobj;
2348eaee
RD
3002 wxPyControlPoint * _arg0;
3003 wxDC * _arg1;
e91a9dfc
RD
3004 PyObject * _argo0 = 0;
3005 PyObject * _argo1 = 0;
2348eaee 3006 char *_kwnames[] = { "self","dc", NULL };
e91a9dfc
RD
3007
3008 self = self;
2348eaee 3009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDraw",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3010 return NULL;
3011 if (_argo0) {
3012 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3013 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3014 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDraw. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3015 return NULL;
3016 }
3017 }
3018 if (_argo1) {
3019 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
3020 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3021 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDraw. Expected _wxDC_p.");
e91a9dfc
RD
3022 return NULL;
3023 }
3024 }
3025{
3026 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 3027 wxPyControlPoint_base_OnDraw(_arg0,*_arg1);
e91a9dfc
RD
3028
3029 wxPy_END_ALLOW_THREADS;
3030} Py_INCREF(Py_None);
3031 _resultobj = Py_None;
3032 return _resultobj;
3033}
3034
2348eaee
RD
3035#define wxPyControlPoint_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
3036static PyObject *_wrap_wxPyControlPoint_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3037 PyObject * _resultobj;
2348eaee
RD
3038 wxPyControlPoint * _arg0;
3039 wxDC * _arg1;
e91a9dfc 3040 PyObject * _argo0 = 0;
2348eaee
RD
3041 PyObject * _argo1 = 0;
3042 char *_kwnames[] = { "self","dc", NULL };
e91a9dfc
RD
3043
3044 self = self;
2348eaee 3045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3046 return NULL;
3047 if (_argo0) {
3048 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3049 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3050 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawContents. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3051 return NULL;
3052 }
3053 }
2348eaee
RD
3054 if (_argo1) {
3055 if (_argo1 == Py_None) { _arg1 = NULL; }
3056 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3057 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawContents. Expected _wxDC_p.");
e91a9dfc 3058 return NULL;
2348eaee 3059 }
e91a9dfc 3060 }
e91a9dfc
RD
3061{
3062 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 3063 wxPyControlPoint_base_OnDrawContents(_arg0,*_arg1);
e91a9dfc
RD
3064
3065 wxPy_END_ALLOW_THREADS;
3066} Py_INCREF(Py_None);
3067 _resultobj = Py_None;
e91a9dfc
RD
3068 return _resultobj;
3069}
3070
2348eaee
RD
3071#define wxPyControlPoint_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
3072static PyObject *_wrap_wxPyControlPoint_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3073 PyObject * _resultobj;
2348eaee
RD
3074 wxPyControlPoint * _arg0;
3075 wxDC * _arg1;
3076 bool _arg2 = (bool ) FALSE;
e91a9dfc 3077 PyObject * _argo0 = 0;
2348eaee
RD
3078 PyObject * _argo1 = 0;
3079 int tempbool2 = (int) FALSE;
3080 char *_kwnames[] = { "self","dc","erase", NULL };
e91a9dfc
RD
3081
3082 self = self;
2348eaee 3083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
e91a9dfc
RD
3084 return NULL;
3085 if (_argo0) {
3086 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawBranches. Expected _wxPyControlPoint_p.");
3089 return NULL;
3090 }
3091 }
3092 if (_argo1) {
3093 if (_argo1 == Py_None) { _arg1 = NULL; }
3094 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawBranches. Expected _wxDC_p.");
e91a9dfc
RD
3096 return NULL;
3097 }
3098 }
2348eaee 3099 _arg2 = (bool ) tempbool2;
e91a9dfc
RD
3100{
3101 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 3102 wxPyControlPoint_base_OnDrawBranches(_arg0,*_arg1,_arg2);
e91a9dfc
RD
3103
3104 wxPy_END_ALLOW_THREADS;
3105} Py_INCREF(Py_None);
3106 _resultobj = Py_None;
3107 return _resultobj;
3108}
3109
2348eaee
RD
3110#define wxPyControlPoint_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
3111static PyObject *_wrap_wxPyControlPoint_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3112 PyObject * _resultobj;
2348eaee 3113 wxPyControlPoint * _arg0;
e91a9dfc
RD
3114 wxDC * _arg1;
3115 PyObject * _argo0 = 0;
3116 PyObject * _argo1 = 0;
3117 char *_kwnames[] = { "self","dc", NULL };
3118
3119 self = self;
2348eaee 3120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3121 return NULL;
3122 if (_argo0) {
3123 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3124 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3125 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLinks. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3126 return NULL;
3127 }
3128 }
3129 if (_argo1) {
3130 if (_argo1 == Py_None) { _arg1 = NULL; }
3131 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2348eaee 3132 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLinks. Expected _wxDC_p.");
e91a9dfc
RD
3133 return NULL;
3134 }
3135 }
3136{
3137 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 3138 wxPyControlPoint_base_OnMoveLinks(_arg0,*_arg1);
e91a9dfc
RD
3139
3140 wxPy_END_ALLOW_THREADS;
3141} Py_INCREF(Py_None);
3142 _resultobj = Py_None;
3143 return _resultobj;
3144}
3145
2348eaee
RD
3146#define wxPyControlPoint_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
3147static PyObject *_wrap_wxPyControlPoint_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3148 PyObject * _resultobj;
2348eaee 3149 wxPyControlPoint * _arg0;
e91a9dfc
RD
3150 wxDC * _arg1;
3151 PyObject * _argo0 = 0;
3152 PyObject * _argo1 = 0;
3153 char *_kwnames[] = { "self","dc", NULL };
3154
3155 self = self;
2348eaee 3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnErase",_kwnames,&_argo0,&_argo1))
e91a9dfc
RD
3157 return NULL;
3158 if (_argo0) {
3159 if (_argo0 == Py_None) { _arg0 = NULL; }
2348eaee
RD
3160 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3161 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnErase. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
3162 return NULL;
3163 }
3164 }
3165 if (_argo1) {
3166 if (_argo1 == Py_None) { _arg1 = NULL; }
3167 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2348eaee 3168 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnErase. Expected _wxDC_p.");
e91a9dfc
RD
3169 return NULL;
3170 }
3171 }
3172{
3173 wxPy_BEGIN_ALLOW_THREADS;
2348eaee 3174 wxPyControlPoint_base_OnErase(_arg0,*_arg1);
e91a9dfc
RD
3175
3176 wxPy_END_ALLOW_THREADS;
3177} Py_INCREF(Py_None);
3178 _resultobj = Py_None;
3179 return _resultobj;
3180}
3181
2348eaee
RD
3182#define wxPyControlPoint_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
3183static PyObject *_wrap_wxPyControlPoint_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc 3184 PyObject * _resultobj;
2348eaee 3185 wxPyControlPoint * _arg0;
e91a9dfc 3186 wxDC * _arg1;
e91a9dfc
RD
3187 PyObject * _argo0 = 0;
3188 PyObject * _argo1 = 0;
2348eaee
RD
3189 char *_kwnames[] = { "self","dc", NULL };
3190
3191 self = self;
3192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
3193 return NULL;
3194 if (_argo0) {
3195 if (_argo0 == Py_None) { _arg0 = NULL; }
3196 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3197 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseContents. Expected _wxPyControlPoint_p.");
3198 return NULL;
3199 }
3200 }
3201 if (_argo1) {
3202 if (_argo1 == Py_None) { _arg1 = NULL; }
3203 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3204 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseContents. Expected _wxDC_p.");
3205 return NULL;
3206 }
3207 }
3208{
3209 wxPy_BEGIN_ALLOW_THREADS;
3210 wxPyControlPoint_base_OnEraseContents(_arg0,*_arg1);
3211
3212 wxPy_END_ALLOW_THREADS;
3213} Py_INCREF(Py_None);
3214 _resultobj = Py_None;
3215 return _resultobj;
3216}
3217
3218#define wxPyControlPoint_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
3219static PyObject *_wrap_wxPyControlPoint_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject * _resultobj;
3221 wxPyControlPoint * _arg0;
3222 wxDC * _arg1;
3223 PyObject * _argo0 = 0;
3224 PyObject * _argo1 = 0;
3225 char *_kwnames[] = { "self","dc", NULL };
3226
3227 self = self;
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnHighlight",_kwnames,&_argo0,&_argo1))
3229 return NULL;
3230 if (_argo0) {
3231 if (_argo0 == Py_None) { _arg0 = NULL; }
3232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnHighlight. Expected _wxPyControlPoint_p.");
3234 return NULL;
3235 }
3236 }
3237 if (_argo1) {
3238 if (_argo1 == Py_None) { _arg1 = NULL; }
3239 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3240 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnHighlight. Expected _wxDC_p.");
3241 return NULL;
3242 }
3243 }
3244{
3245 wxPy_BEGIN_ALLOW_THREADS;
3246 wxPyControlPoint_base_OnHighlight(_arg0,*_arg1);
3247
3248 wxPy_END_ALLOW_THREADS;
3249} Py_INCREF(Py_None);
3250 _resultobj = Py_None;
3251 return _resultobj;
3252}
3253
3254#define wxPyControlPoint_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3255static PyObject *_wrap_wxPyControlPoint_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject * _resultobj;
3257 wxPyControlPoint * _arg0;
3258 double _arg1;
3259 double _arg2;
3260 int _arg3 = (int ) 0;
3261 int _arg4 = (int ) 0;
3262 PyObject * _argo0 = 0;
3263 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3264
3265 self = self;
3266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3267 return NULL;
3268 if (_argo0) {
3269 if (_argo0 == Py_None) { _arg0 = NULL; }
3270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftClick. Expected _wxPyControlPoint_p.");
3272 return NULL;
3273 }
3274 }
3275{
3276 wxPy_BEGIN_ALLOW_THREADS;
3277 wxPyControlPoint_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3278
3279 wxPy_END_ALLOW_THREADS;
3280} Py_INCREF(Py_None);
3281 _resultobj = Py_None;
3282 return _resultobj;
3283}
3284
3285#define wxPyControlPoint_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3286static PyObject *_wrap_wxPyControlPoint_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3287 PyObject * _resultobj;
3288 wxPyControlPoint * _arg0;
3289 double _arg1;
3290 double _arg2;
3291 int _arg3 = (int ) 0;
3292 int _arg4 = (int ) 0;
3293 PyObject * _argo0 = 0;
3294 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3295
3296 self = self;
3297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3298 return NULL;
3299 if (_argo0) {
3300 if (_argo0 == Py_None) { _arg0 = NULL; }
3301 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3302 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnLeftDoubleClick. Expected _wxPyControlPoint_p.");
3303 return NULL;
3304 }
3305 }
3306{
3307 wxPy_BEGIN_ALLOW_THREADS;
3308 wxPyControlPoint_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3309
3310 wxPy_END_ALLOW_THREADS;
3311} Py_INCREF(Py_None);
3312 _resultobj = Py_None;
3313 return _resultobj;
3314}
3315
3316#define wxPyControlPoint_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3317static PyObject *_wrap_wxPyControlPoint_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject * _resultobj;
3319 wxPyControlPoint * _arg0;
3320 double _arg1;
3321 double _arg2;
3322 int _arg3 = (int ) 0;
3323 int _arg4 = (int ) 0;
3324 PyObject * _argo0 = 0;
3325 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3326
3327 self = self;
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3329 return NULL;
3330 if (_argo0) {
3331 if (_argo0 == Py_None) { _arg0 = NULL; }
3332 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3333 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnRightClick. Expected _wxPyControlPoint_p.");
3334 return NULL;
3335 }
3336 }
3337{
3338 wxPy_BEGIN_ALLOW_THREADS;
3339 wxPyControlPoint_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3340
3341 wxPy_END_ALLOW_THREADS;
3342} Py_INCREF(Py_None);
3343 _resultobj = Py_None;
3344 return _resultobj;
3345}
3346
3347#define wxPyControlPoint_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
3348static PyObject *_wrap_wxPyControlPoint_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject * _resultobj;
3350 wxPyControlPoint * _arg0;
3351 double _arg1;
3352 double _arg2;
3353 PyObject * _argo0 = 0;
3354 char *_kwnames[] = { "self","x","y", NULL };
3355
3356 self = self;
3357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
3358 return NULL;
3359 if (_argo0) {
3360 if (_argo0 == Py_None) { _arg0 = NULL; }
3361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSize. Expected _wxPyControlPoint_p.");
3363 return NULL;
3364 }
3365 }
3366{
3367 wxPy_BEGIN_ALLOW_THREADS;
3368 wxPyControlPoint_base_OnSize(_arg0,_arg1,_arg2);
3369
3370 wxPy_END_ALLOW_THREADS;
3371} Py_INCREF(Py_None);
3372 _resultobj = Py_None;
3373 return _resultobj;
3374}
3375
3376#define wxPyControlPoint_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3377static PyObject *_wrap_wxPyControlPoint_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject * _resultobj;
3379 bool _result;
3380 wxPyControlPoint * _arg0;
3381 wxDC * _arg1;
3382 double _arg2;
3383 double _arg3;
3384 double _arg4;
3385 double _arg5;
3386 bool _arg6 = (bool ) TRUE;
3387 PyObject * _argo0 = 0;
3388 PyObject * _argo1 = 0;
3389 int tempbool6 = (int) TRUE;
3390 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3391
3392 self = self;
3393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3394 return NULL;
3395 if (_argo0) {
3396 if (_argo0 == Py_None) { _arg0 = NULL; }
3397 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3398 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePre. Expected _wxPyControlPoint_p.");
3399 return NULL;
3400 }
3401 }
3402 if (_argo1) {
3403 if (_argo1 == Py_None) { _arg1 = NULL; }
3404 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3405 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePre. Expected _wxDC_p.");
3406 return NULL;
3407 }
3408 }
3409 _arg6 = (bool ) tempbool6;
3410{
3411 wxPy_BEGIN_ALLOW_THREADS;
3412 _result = (bool )wxPyControlPoint_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3413
3414 wxPy_END_ALLOW_THREADS;
3415} _resultobj = Py_BuildValue("i",_result);
3416 return _resultobj;
3417}
3418
3419#define wxPyControlPoint_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3420static PyObject *_wrap_wxPyControlPoint_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
3421 PyObject * _resultobj;
3422 wxPyControlPoint * _arg0;
3423 wxDC * _arg1;
3424 double _arg2;
3425 double _arg3;
3426 double _arg4;
3427 double _arg5;
3428 bool _arg6 = (bool ) TRUE;
3429 PyObject * _argo0 = 0;
3430 PyObject * _argo1 = 0;
3431 int tempbool6 = (int) TRUE;
3432 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3433
3434 self = self;
3435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyControlPoint_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3436 return NULL;
3437 if (_argo0) {
3438 if (_argo0 == Py_None) { _arg0 = NULL; }
3439 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3440 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMovePost. Expected _wxPyControlPoint_p.");
3441 return NULL;
3442 }
3443 }
3444 if (_argo1) {
3445 if (_argo1 == Py_None) { _arg1 = NULL; }
3446 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3447 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMovePost. Expected _wxDC_p.");
3448 return NULL;
3449 }
3450 }
3451 _arg6 = (bool ) tempbool6;
3452{
3453 wxPy_BEGIN_ALLOW_THREADS;
3454 wxPyControlPoint_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3455
3456 wxPy_END_ALLOW_THREADS;
3457} Py_INCREF(Py_None);
3458 _resultobj = Py_None;
3459 return _resultobj;
3460}
3461
3462#define wxPyControlPoint_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3463static PyObject *_wrap_wxPyControlPoint_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3464 PyObject * _resultobj;
3465 wxPyControlPoint * _arg0;
3466 bool _arg1;
3467 double _arg2;
3468 double _arg3;
3469 int _arg4 = (int ) 0;
3470 int _arg5 = (int ) 0;
3471 PyObject * _argo0 = 0;
3472 int tempbool1;
3473 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3474
3475 self = self;
3476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3477 return NULL;
3478 if (_argo0) {
3479 if (_argo0 == Py_None) { _arg0 = NULL; }
3480 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3481 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragLeft. Expected _wxPyControlPoint_p.");
3482 return NULL;
3483 }
3484 }
3485 _arg1 = (bool ) tempbool1;
3486{
3487 wxPy_BEGIN_ALLOW_THREADS;
3488 wxPyControlPoint_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3489
3490 wxPy_END_ALLOW_THREADS;
3491} Py_INCREF(Py_None);
3492 _resultobj = Py_None;
3493 return _resultobj;
3494}
3495
3496#define wxPyControlPoint_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3497static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3498 PyObject * _resultobj;
3499 wxPyControlPoint * _arg0;
3500 double _arg1;
3501 double _arg2;
3502 int _arg3 = (int ) 0;
3503 int _arg4 = (int ) 0;
3504 PyObject * _argo0 = 0;
3505 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3506
3507 self = self;
3508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3509 return NULL;
3510 if (_argo0) {
3511 if (_argo0 == Py_None) { _arg0 = NULL; }
3512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragLeft. Expected _wxPyControlPoint_p.");
3514 return NULL;
3515 }
3516 }
3517{
3518 wxPy_BEGIN_ALLOW_THREADS;
3519 wxPyControlPoint_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3520
3521 wxPy_END_ALLOW_THREADS;
3522} Py_INCREF(Py_None);
3523 _resultobj = Py_None;
3524 return _resultobj;
3525}
3526
3527#define wxPyControlPoint_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3528static PyObject *_wrap_wxPyControlPoint_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3529 PyObject * _resultobj;
3530 wxPyControlPoint * _arg0;
3531 double _arg1;
3532 double _arg2;
3533 int _arg3 = (int ) 0;
3534 int _arg4 = (int ) 0;
3535 PyObject * _argo0 = 0;
3536 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3537
3538 self = self;
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3540 return NULL;
3541 if (_argo0) {
3542 if (_argo0 == Py_None) { _arg0 = NULL; }
3543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragLeft. Expected _wxPyControlPoint_p.");
3545 return NULL;
3546 }
3547 }
3548{
3549 wxPy_BEGIN_ALLOW_THREADS;
3550 wxPyControlPoint_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3551
3552 wxPy_END_ALLOW_THREADS;
3553} Py_INCREF(Py_None);
3554 _resultobj = Py_None;
3555 return _resultobj;
3556}
3557
3558#define wxPyControlPoint_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3559static PyObject *_wrap_wxPyControlPoint_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3560 PyObject * _resultobj;
3561 wxPyControlPoint * _arg0;
3562 bool _arg1;
3563 double _arg2;
3564 double _arg3;
3565 int _arg4 = (int ) 0;
3566 int _arg5 = (int ) 0;
3567 PyObject * _argo0 = 0;
3568 int tempbool1;
3569 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3570
3571 self = self;
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyControlPoint_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3573 return NULL;
3574 if (_argo0) {
3575 if (_argo0 == Py_None) { _arg0 = NULL; }
3576 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3577 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDragRight. Expected _wxPyControlPoint_p.");
3578 return NULL;
3579 }
3580 }
3581 _arg1 = (bool ) tempbool1;
3582{
3583 wxPy_BEGIN_ALLOW_THREADS;
3584 wxPyControlPoint_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3585
3586 wxPy_END_ALLOW_THREADS;
3587} Py_INCREF(Py_None);
3588 _resultobj = Py_None;
3589 return _resultobj;
3590}
3591
3592#define wxPyControlPoint_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3593static PyObject *_wrap_wxPyControlPoint_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3594 PyObject * _resultobj;
3595 wxPyControlPoint * _arg0;
3596 double _arg1;
3597 double _arg2;
3598 int _arg3 = (int ) 0;
3599 int _arg4 = (int ) 0;
3600 PyObject * _argo0 = 0;
3601 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3602
3603 self = self;
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3605 return NULL;
3606 if (_argo0) {
3607 if (_argo0 == Py_None) { _arg0 = NULL; }
3608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginDragRight. Expected _wxPyControlPoint_p.");
3610 return NULL;
3611 }
3612 }
3613{
3614 wxPy_BEGIN_ALLOW_THREADS;
3615 wxPyControlPoint_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3616
3617 wxPy_END_ALLOW_THREADS;
3618} Py_INCREF(Py_None);
3619 _resultobj = Py_None;
3620 return _resultobj;
3621}
3622
3623#define wxPyControlPoint_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3624static PyObject *_wrap_wxPyControlPoint_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3625 PyObject * _resultobj;
3626 wxPyControlPoint * _arg0;
3627 double _arg1;
3628 double _arg2;
3629 int _arg3 = (int ) 0;
3630 int _arg4 = (int ) 0;
3631 PyObject * _argo0 = 0;
3632 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3633
3634 self = self;
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyControlPoint_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3636 return NULL;
3637 if (_argo0) {
3638 if (_argo0 == Py_None) { _arg0 = NULL; }
3639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndDragRight. Expected _wxPyControlPoint_p.");
3641 return NULL;
3642 }
3643 }
3644{
3645 wxPy_BEGIN_ALLOW_THREADS;
3646 wxPyControlPoint_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3647
3648 wxPy_END_ALLOW_THREADS;
3649} Py_INCREF(Py_None);
3650 _resultobj = Py_None;
3651 return _resultobj;
3652}
3653
3654#define wxPyControlPoint_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3655static PyObject *_wrap_wxPyControlPoint_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3656 PyObject * _resultobj;
3657 wxPyControlPoint * _arg0;
3658 wxDC * _arg1;
3659 double _arg2;
3660 double _arg3;
3661 double _arg4;
3662 double _arg5;
3663 PyObject * _argo0 = 0;
3664 PyObject * _argo1 = 0;
3665 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
3666
3667 self = self;
3668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyControlPoint_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3669 return NULL;
3670 if (_argo0) {
3671 if (_argo0 == Py_None) { _arg0 = NULL; }
3672 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3673 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawOutline. Expected _wxPyControlPoint_p.");
3674 return NULL;
3675 }
3676 }
3677 if (_argo1) {
3678 if (_argo1 == Py_None) { _arg1 = NULL; }
3679 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3680 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawOutline. Expected _wxDC_p.");
3681 return NULL;
3682 }
3683 }
3684{
3685 wxPy_BEGIN_ALLOW_THREADS;
3686 wxPyControlPoint_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3687
3688 wxPy_END_ALLOW_THREADS;
3689} Py_INCREF(Py_None);
3690 _resultobj = Py_None;
3691 return _resultobj;
3692}
3693
3694#define wxPyControlPoint_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
3695static PyObject *_wrap_wxPyControlPoint_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject * _resultobj;
3697 wxPyControlPoint * _arg0;
3698 wxDC * _arg1;
3699 PyObject * _argo0 = 0;
3700 PyObject * _argo1 = 0;
3701 char *_kwnames[] = { "self","dc", NULL };
3702
3703 self = self;
3704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
3705 return NULL;
3706 if (_argo0) {
3707 if (_argo0 == Py_None) { _arg0 = NULL; }
3708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxPyControlPoint_p.");
3710 return NULL;
3711 }
3712 }
3713 if (_argo1) {
3714 if (_argo1 == Py_None) { _arg1 = NULL; }
3715 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3716 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnDrawControlPoints. Expected _wxDC_p.");
3717 return NULL;
3718 }
3719 }
3720{
3721 wxPy_BEGIN_ALLOW_THREADS;
3722 wxPyControlPoint_base_OnDrawControlPoints(_arg0,*_arg1);
3723
3724 wxPy_END_ALLOW_THREADS;
3725} Py_INCREF(Py_None);
3726 _resultobj = Py_None;
3727 return _resultobj;
3728}
3729
3730#define wxPyControlPoint_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
3731static PyObject *_wrap_wxPyControlPoint_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3732 PyObject * _resultobj;
3733 wxPyControlPoint * _arg0;
3734 wxDC * _arg1;
3735 PyObject * _argo0 = 0;
3736 PyObject * _argo1 = 0;
3737 char *_kwnames[] = { "self","dc", NULL };
3738
3739 self = self;
3740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyControlPoint_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
3741 return NULL;
3742 if (_argo0) {
3743 if (_argo0 == Py_None) { _arg0 = NULL; }
3744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxPyControlPoint_p.");
3746 return NULL;
3747 }
3748 }
3749 if (_argo1) {
3750 if (_argo1 == Py_None) { _arg1 = NULL; }
3751 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3752 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnEraseControlPoints. Expected _wxDC_p.");
3753 return NULL;
3754 }
3755 }
3756{
3757 wxPy_BEGIN_ALLOW_THREADS;
3758 wxPyControlPoint_base_OnEraseControlPoints(_arg0,*_arg1);
3759
3760 wxPy_END_ALLOW_THREADS;
3761} Py_INCREF(Py_None);
3762 _resultobj = Py_None;
3763 return _resultobj;
3764}
3765
3766#define wxPyControlPoint_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
3767static PyObject *_wrap_wxPyControlPoint_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3768 PyObject * _resultobj;
3769 wxPyControlPoint * _arg0;
3770 wxDC * _arg1;
3771 bool _arg2 = (bool ) TRUE;
3772 PyObject * _argo0 = 0;
3773 PyObject * _argo1 = 0;
3774 int tempbool2 = (int) TRUE;
3775 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
3776
3777 self = self;
3778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyControlPoint_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
3779 return NULL;
3780 if (_argo0) {
3781 if (_argo0 == Py_None) { _arg0 = NULL; }
3782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnMoveLink. Expected _wxPyControlPoint_p.");
3784 return NULL;
3785 }
3786 }
3787 if (_argo1) {
3788 if (_argo1 == Py_None) { _arg1 = NULL; }
3789 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3790 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnMoveLink. Expected _wxDC_p.");
3791 return NULL;
3792 }
3793 }
3794 _arg2 = (bool ) tempbool2;
3795{
3796 wxPy_BEGIN_ALLOW_THREADS;
3797 wxPyControlPoint_base_OnMoveLink(_arg0,*_arg1,_arg2);
3798
3799 wxPy_END_ALLOW_THREADS;
3800} Py_INCREF(Py_None);
3801 _resultobj = Py_None;
3802 return _resultobj;
3803}
3804
3805#define wxPyControlPoint_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3806static PyObject *_wrap_wxPyControlPoint_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3807 PyObject * _resultobj;
3808 wxPyControlPoint * _arg0;
3809 wxPyControlPoint * _arg1;
3810 bool _arg2;
3811 double _arg3;
3812 double _arg4;
3813 int _arg5 = (int ) 0;
3814 int _arg6 = (int ) 0;
3815 PyObject * _argo0 = 0;
3816 PyObject * _argo1 = 0;
3817 int tempbool2;
3818 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
3819
3820 self = self;
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyControlPoint_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
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_OnSizingDragLeft. 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,"_wxPyControlPoint_p")) {
3833 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
3834 return NULL;
3835 }
3836 }
3837 _arg2 = (bool ) tempbool2;
3838{
3839 wxPy_BEGIN_ALLOW_THREADS;
3840 wxPyControlPoint_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3841
3842 wxPy_END_ALLOW_THREADS;
3843} Py_INCREF(Py_None);
3844 _resultobj = Py_None;
3845 return _resultobj;
3846}
3847
3848#define wxPyControlPoint_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3849static PyObject *_wrap_wxPyControlPoint_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3850 PyObject * _resultobj;
3851 wxPyControlPoint * _arg0;
3852 wxPyControlPoint * _arg1;
3853 double _arg2;
3854 double _arg3;
3855 int _arg4 = (int ) 0;
3856 int _arg5 = (int ) 0;
3857 PyObject * _argo0 = 0;
3858 PyObject * _argo1 = 0;
3859 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3860
3861 self = self;
3862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3863 return NULL;
3864 if (_argo0) {
3865 if (_argo0 == Py_None) { _arg0 = NULL; }
3866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3868 return NULL;
3869 }
3870 }
3871 if (_argo1) {
3872 if (_argo1 == Py_None) { _arg1 = NULL; }
3873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
3875 return NULL;
3876 }
3877 }
3878{
3879 wxPy_BEGIN_ALLOW_THREADS;
3880 wxPyControlPoint_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3881
3882 wxPy_END_ALLOW_THREADS;
3883} Py_INCREF(Py_None);
3884 _resultobj = Py_None;
3885 return _resultobj;
3886}
3887
3888#define wxPyControlPoint_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3889static PyObject *_wrap_wxPyControlPoint_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject * _resultobj;
3891 wxPyControlPoint * _arg0;
3892 wxPyControlPoint * _arg1;
3893 double _arg2;
3894 double _arg3;
3895 int _arg4 = (int ) 0;
3896 int _arg5 = (int ) 0;
3897 PyObject * _argo0 = 0;
3898 PyObject * _argo1 = 0;
3899 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3900
3901 self = self;
3902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyControlPoint_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3903 return NULL;
3904 if (_argo0) {
3905 if (_argo0 == Py_None) { _arg0 = NULL; }
3906 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3907 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3908 return NULL;
3909 }
3910 }
3911 if (_argo1) {
3912 if (_argo1 == Py_None) { _arg1 = NULL; }
3913 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
3914 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyControlPoint_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
3915 return NULL;
3916 }
3917 }
3918{
3919 wxPy_BEGIN_ALLOW_THREADS;
3920 wxPyControlPoint_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3921
3922 wxPy_END_ALLOW_THREADS;
3923} Py_INCREF(Py_None);
3924 _resultobj = Py_None;
3925 return _resultobj;
3926}
3927
3928#define wxPyControlPoint_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
3929static PyObject *_wrap_wxPyControlPoint_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3930 PyObject * _resultobj;
3931 wxPyControlPoint * _arg0;
3932 double _arg1;
3933 double _arg2;
3934 PyObject * _argo0 = 0;
3935 char *_kwnames[] = { "self","w","h", NULL };
3936
3937 self = self;
3938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
3939 return NULL;
3940 if (_argo0) {
3941 if (_argo0 == Py_None) { _arg0 = NULL; }
3942 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3943 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnBeginSize. Expected _wxPyControlPoint_p.");
3944 return NULL;
3945 }
3946 }
3947{
3948 wxPy_BEGIN_ALLOW_THREADS;
3949 wxPyControlPoint_base_OnBeginSize(_arg0,_arg1,_arg2);
3950
3951 wxPy_END_ALLOW_THREADS;
3952} Py_INCREF(Py_None);
3953 _resultobj = Py_None;
3954 return _resultobj;
3955}
3956
3957#define wxPyControlPoint_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
3958static PyObject *_wrap_wxPyControlPoint_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3959 PyObject * _resultobj;
3960 wxPyControlPoint * _arg0;
3961 double _arg1;
3962 double _arg2;
3963 PyObject * _argo0 = 0;
3964 char *_kwnames[] = { "self","w","h", NULL };
3965
3966 self = self;
3967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyControlPoint_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
3968 return NULL;
3969 if (_argo0) {
3970 if (_argo0 == Py_None) { _arg0 = NULL; }
3971 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyControlPoint_p")) {
3972 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyControlPoint_base_OnEndSize. Expected _wxPyControlPoint_p.");
3973 return NULL;
3974 }
3975 }
3976{
3977 wxPy_BEGIN_ALLOW_THREADS;
3978 wxPyControlPoint_base_OnEndSize(_arg0,_arg1,_arg2);
3979
3980 wxPy_END_ALLOW_THREADS;
3981} Py_INCREF(Py_None);
3982 _resultobj = Py_None;
3983 return _resultobj;
3984}
3985
3986static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) {
3987 wxPyBitmapShape *src;
3988 wxPyRectangleShape *dest;
3989 src = (wxPyBitmapShape *) ptr;
3990 dest = (wxPyRectangleShape *) src;
3991 return (void *) dest;
3992}
3993
3994static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) {
3995 wxPyBitmapShape *src;
3996 wxPyShape *dest;
3997 src = (wxPyBitmapShape *) ptr;
3998 dest = (wxPyShape *) src;
3999 return (void *) dest;
4000}
4001
4002static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) {
4003 wxPyBitmapShape *src;
4004 wxPyShapeEvtHandler *dest;
4005 src = (wxPyBitmapShape *) ptr;
4006 dest = (wxPyShapeEvtHandler *) src;
4007 return (void *) dest;
4008}
4009
9416aa89
RD
4010static void *SwigwxPyBitmapShapeTowxObject(void *ptr) {
4011 wxPyBitmapShape *src;
4012 wxObject *dest;
4013 src = (wxPyBitmapShape *) ptr;
4014 dest = (wxObject *) src;
4015 return (void *) dest;
4016}
4017
2348eaee
RD
4018#define new_wxPyBitmapShape() (new wxPyBitmapShape())
4019static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject * _resultobj;
4021 wxPyBitmapShape * _result;
4022 char *_kwnames[] = { NULL };
4023 char _ptemp[128];
4024
4025 self = self;
4026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames))
4027 return NULL;
4028{
4029 wxPy_BEGIN_ALLOW_THREADS;
4030 _result = (wxPyBitmapShape *)new_wxPyBitmapShape();
4031
4032 wxPy_END_ALLOW_THREADS;
4033} if (_result) {
4034 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p");
4035 _resultobj = Py_BuildValue("s",_ptemp);
4036 } else {
4037 Py_INCREF(Py_None);
4038 _resultobj = Py_None;
4039 }
4040 return _resultobj;
4041}
4042
0122b7e3
RD
4043#define wxPyBitmapShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
4044static PyObject *_wrap_wxPyBitmapShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
2348eaee
RD
4045 PyObject * _resultobj;
4046 wxPyBitmapShape * _arg0;
4047 PyObject * _arg1;
f6bcfd97 4048 PyObject * _arg2;
2348eaee
RD
4049 PyObject * _argo0 = 0;
4050 PyObject * _obj1 = 0;
f6bcfd97
BP
4051 PyObject * _obj2 = 0;
4052 char *_kwnames[] = { "self","self","_class", NULL };
2348eaee
RD
4053
4054 self = self;
0122b7e3 4055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyBitmapShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
2348eaee
RD
4056 return NULL;
4057 if (_argo0) {
4058 if (_argo0 == Py_None) { _arg0 = NULL; }
4059 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
0122b7e3 4060 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setCallbackInfo. Expected _wxPyBitmapShape_p.");
2348eaee
RD
4061 return NULL;
4062 }
4063 }
4064{
4065 _arg1 = _obj1;
4066}
f6bcfd97
BP
4067{
4068 _arg2 = _obj2;
4069}
2348eaee
RD
4070{
4071 wxPy_BEGIN_ALLOW_THREADS;
0122b7e3 4072 wxPyBitmapShape__setCallbackInfo(_arg0,_arg1,_arg2);
2348eaee
RD
4073
4074 wxPy_END_ALLOW_THREADS;
4075} Py_INCREF(Py_None);
4076 _resultobj = Py_None;
4077 return _resultobj;
4078}
4079
4080#define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap())
4081static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4082 PyObject * _resultobj;
4083 wxBitmap * _result;
4084 wxPyBitmapShape * _arg0;
4085 PyObject * _argo0 = 0;
4086 char *_kwnames[] = { "self", NULL };
4087 char _ptemp[128];
4088
4089 self = self;
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0))
4091 return NULL;
4092 if (_argo0) {
4093 if (_argo0 == Py_None) { _arg0 = NULL; }
4094 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4095 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p.");
4096 return NULL;
4097 }
4098 }
4099{
4100 wxPy_BEGIN_ALLOW_THREADS;
4101 wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0);
4102 _result = (wxBitmap *) &_result_ref;
4103
4104 wxPy_END_ALLOW_THREADS;
4105} if (_result) {
4106 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
4107 _resultobj = Py_BuildValue("s",_ptemp);
4108 } else {
4109 Py_INCREF(Py_None);
4110 _resultobj = Py_None;
4111 }
4112 return _resultobj;
4113}
4114
4115#define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename())
4116static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4117 PyObject * _resultobj;
4118 wxString * _result;
4119 wxPyBitmapShape * _arg0;
4120 PyObject * _argo0 = 0;
4121 char *_kwnames[] = { "self", NULL };
4122
4123 self = self;
4124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0))
4125 return NULL;
4126 if (_argo0) {
4127 if (_argo0 == Py_None) { _arg0 = NULL; }
4128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p.");
4130 return NULL;
4131 }
4132 }
4133{
4134 wxPy_BEGIN_ALLOW_THREADS;
4135 _result = new wxString (wxPyBitmapShape_GetFilename(_arg0));
4136
4137 wxPy_END_ALLOW_THREADS;
4138}{
eec92d76 4139 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
2348eaee
RD
4140}
4141{
4142 delete _result;
4143}
4144 return _resultobj;
4145}
4146
4147#define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
4148static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4149 PyObject * _resultobj;
4150 wxPyBitmapShape * _arg0;
4151 wxBitmap * _arg1;
4152 PyObject * _argo0 = 0;
4153 PyObject * _argo1 = 0;
4154 char *_kwnames[] = { "self","bitmap", NULL };
4155
4156 self = self;
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1))
4158 return NULL;
4159 if (_argo0) {
4160 if (_argo0 == Py_None) { _arg0 = NULL; }
4161 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4162 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p.");
4163 return NULL;
4164 }
4165 }
4166 if (_argo1) {
4167 if (_argo1 == Py_None) { _arg1 = NULL; }
4168 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
4169 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p.");
4170 return NULL;
4171 }
4172 }
4173{
4174 wxPy_BEGIN_ALLOW_THREADS;
4175 wxPyBitmapShape_SetBitmap(_arg0,*_arg1);
4176
4177 wxPy_END_ALLOW_THREADS;
4178} Py_INCREF(Py_None);
4179 _resultobj = Py_None;
4180 return _resultobj;
4181}
4182
4183#define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
4184static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
4185 PyObject * _resultobj;
4186 wxPyBitmapShape * _arg0;
4187 wxString * _arg1;
4188 PyObject * _argo0 = 0;
4189 PyObject * _obj1 = 0;
4190 char *_kwnames[] = { "self","filename", NULL };
4191
4192 self = self;
4193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1))
4194 return NULL;
4195 if (_argo0) {
4196 if (_argo0 == Py_None) { _arg0 = NULL; }
4197 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4198 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p.");
4199 return NULL;
4200 }
4201 }
4202{
185d7c3e
RD
4203#if PYTHON_API_VERSION >= 1009
4204 char* tmpPtr; int tmpSize;
4205 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 4206 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
4207 return NULL;
4208 }
4209 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
4210 return NULL;
4211 _arg1 = new wxString(tmpPtr, tmpSize);
4212#else
2348eaee
RD
4213 if (!PyString_Check(_obj1)) {
4214 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4215 return NULL;
4216 }
185d7c3e
RD
4217 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
4218#endif
2348eaee
RD
4219}
4220{
4221 wxPy_BEGIN_ALLOW_THREADS;
4222 wxPyBitmapShape_SetFilename(_arg0,*_arg1);
4223
4224 wxPy_END_ALLOW_THREADS;
4225} Py_INCREF(Py_None);
4226 _resultobj = Py_None;
4227{
4228 if (_obj1)
4229 delete _arg1;
4230}
4231 return _resultobj;
4232}
4233
4234#define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
4235static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject * _resultobj;
4237 wxPyBitmapShape * _arg0;
4238 PyObject * _argo0 = 0;
4239 char *_kwnames[] = { "self", NULL };
4240
4241 self = self;
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0))
4243 return NULL;
4244 if (_argo0) {
4245 if (_argo0 == Py_None) { _arg0 = NULL; }
4246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p.");
4248 return NULL;
4249 }
4250 }
4251{
4252 wxPy_BEGIN_ALLOW_THREADS;
4253 wxPyBitmapShape_base_OnDelete(_arg0);
4254
4255 wxPy_END_ALLOW_THREADS;
4256} Py_INCREF(Py_None);
4257 _resultobj = Py_None;
4258 return _resultobj;
4259}
4260
4261#define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
4262static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
4263 PyObject * _resultobj;
4264 wxPyBitmapShape * _arg0;
4265 wxDC * _arg1;
4266 PyObject * _argo0 = 0;
4267 PyObject * _argo1 = 0;
4268 char *_kwnames[] = { "self","dc", NULL };
4269
4270 self = self;
4271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
4272 return NULL;
4273 if (_argo0) {
4274 if (_argo0 == Py_None) { _arg0 = NULL; }
4275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p.");
4277 return NULL;
4278 }
4279 }
4280 if (_argo1) {
4281 if (_argo1 == Py_None) { _arg1 = NULL; }
4282 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p.");
4284 return NULL;
4285 }
4286 }
4287{
4288 wxPy_BEGIN_ALLOW_THREADS;
4289 wxPyBitmapShape_base_OnDraw(_arg0,*_arg1);
4290
4291 wxPy_END_ALLOW_THREADS;
4292} Py_INCREF(Py_None);
4293 _resultobj = Py_None;
4294 return _resultobj;
4295}
4296
4297#define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
4298static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject * _resultobj;
4300 wxPyBitmapShape * _arg0;
4301 wxDC * _arg1;
4302 PyObject * _argo0 = 0;
4303 PyObject * _argo1 = 0;
4304 char *_kwnames[] = { "self","dc", NULL };
4305
4306 self = self;
4307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
4308 return NULL;
4309 if (_argo0) {
4310 if (_argo0 == Py_None) { _arg0 = NULL; }
4311 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4312 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p.");
4313 return NULL;
4314 }
4315 }
4316 if (_argo1) {
4317 if (_argo1 == Py_None) { _arg1 = NULL; }
4318 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4319 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p.");
4320 return NULL;
4321 }
4322 }
4323{
4324 wxPy_BEGIN_ALLOW_THREADS;
4325 wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1);
4326
4327 wxPy_END_ALLOW_THREADS;
4328} Py_INCREF(Py_None);
4329 _resultobj = Py_None;
4330 return _resultobj;
4331}
4332
4333#define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
4334static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
4335 PyObject * _resultobj;
4336 wxPyBitmapShape * _arg0;
4337 wxDC * _arg1;
4338 bool _arg2 = (bool ) FALSE;
4339 PyObject * _argo0 = 0;
4340 PyObject * _argo1 = 0;
4341 int tempbool2 = (int) FALSE;
4342 char *_kwnames[] = { "self","dc","erase", NULL };
e91a9dfc
RD
4343
4344 self = self;
4345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
4346 return NULL;
4347 if (_argo0) {
4348 if (_argo0 == Py_None) { _arg0 = NULL; }
4349 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4350 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p.");
4351 return NULL;
4352 }
4353 }
4354 if (_argo1) {
4355 if (_argo1 == Py_None) { _arg1 = NULL; }
4356 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4357 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p.");
4358 return NULL;
4359 }
4360 }
4361 _arg2 = (bool ) tempbool2;
4362{
4363 wxPy_BEGIN_ALLOW_THREADS;
4364 wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
4365
4366 wxPy_END_ALLOW_THREADS;
4367} Py_INCREF(Py_None);
4368 _resultobj = Py_None;
4369 return _resultobj;
4370}
4371
4372#define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
4373static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
4374 PyObject * _resultobj;
4375 wxPyBitmapShape * _arg0;
4376 wxDC * _arg1;
4377 PyObject * _argo0 = 0;
4378 PyObject * _argo1 = 0;
4379 char *_kwnames[] = { "self","dc", NULL };
4380
4381 self = self;
4382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
4383 return NULL;
4384 if (_argo0) {
4385 if (_argo0 == Py_None) { _arg0 = NULL; }
4386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p.");
4388 return NULL;
4389 }
4390 }
4391 if (_argo1) {
4392 if (_argo1 == Py_None) { _arg1 = NULL; }
4393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p.");
4395 return NULL;
4396 }
4397 }
4398{
4399 wxPy_BEGIN_ALLOW_THREADS;
4400 wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1);
4401
4402 wxPy_END_ALLOW_THREADS;
4403} Py_INCREF(Py_None);
4404 _resultobj = Py_None;
4405 return _resultobj;
4406}
4407
4408#define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
4409static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
4410 PyObject * _resultobj;
4411 wxPyBitmapShape * _arg0;
4412 wxDC * _arg1;
4413 PyObject * _argo0 = 0;
4414 PyObject * _argo1 = 0;
4415 char *_kwnames[] = { "self","dc", NULL };
4416
4417 self = self;
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1))
4419 return NULL;
4420 if (_argo0) {
4421 if (_argo0 == Py_None) { _arg0 = NULL; }
4422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p.");
4424 return NULL;
4425 }
4426 }
4427 if (_argo1) {
4428 if (_argo1 == Py_None) { _arg1 = NULL; }
4429 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4430 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p.");
4431 return NULL;
4432 }
4433 }
4434{
4435 wxPy_BEGIN_ALLOW_THREADS;
4436 wxPyBitmapShape_base_OnErase(_arg0,*_arg1);
4437
4438 wxPy_END_ALLOW_THREADS;
4439} Py_INCREF(Py_None);
4440 _resultobj = Py_None;
4441 return _resultobj;
4442}
4443
4444#define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
4445static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
4446 PyObject * _resultobj;
4447 wxPyBitmapShape * _arg0;
4448 wxDC * _arg1;
4449 PyObject * _argo0 = 0;
4450 PyObject * _argo1 = 0;
4451 char *_kwnames[] = { "self","dc", NULL };
4452
4453 self = self;
4454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
4455 return NULL;
4456 if (_argo0) {
4457 if (_argo0 == Py_None) { _arg0 = NULL; }
4458 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4459 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p.");
4460 return NULL;
4461 }
4462 }
4463 if (_argo1) {
4464 if (_argo1 == Py_None) { _arg1 = NULL; }
4465 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4466 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p.");
4467 return NULL;
4468 }
4469 }
4470{
4471 wxPy_BEGIN_ALLOW_THREADS;
4472 wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1);
4473
4474 wxPy_END_ALLOW_THREADS;
4475} Py_INCREF(Py_None);
4476 _resultobj = Py_None;
4477 return _resultobj;
4478}
4479
4480#define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
4481static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
4482 PyObject * _resultobj;
4483 wxPyBitmapShape * _arg0;
4484 wxDC * _arg1;
4485 PyObject * _argo0 = 0;
4486 PyObject * _argo1 = 0;
4487 char *_kwnames[] = { "self","dc", NULL };
4488
4489 self = self;
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
4491 return NULL;
4492 if (_argo0) {
4493 if (_argo0 == Py_None) { _arg0 = NULL; }
4494 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4495 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p.");
4496 return NULL;
4497 }
4498 }
4499 if (_argo1) {
4500 if (_argo1 == Py_None) { _arg1 = NULL; }
4501 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4502 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p.");
4503 return NULL;
4504 }
4505 }
4506{
4507 wxPy_BEGIN_ALLOW_THREADS;
4508 wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1);
4509
4510 wxPy_END_ALLOW_THREADS;
4511} Py_INCREF(Py_None);
4512 _resultobj = Py_None;
4513 return _resultobj;
4514}
4515
4516#define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4517static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject * _resultobj;
4519 wxPyBitmapShape * _arg0;
4520 double _arg1;
4521 double _arg2;
4522 int _arg3 = (int ) 0;
4523 int _arg4 = (int ) 0;
4524 PyObject * _argo0 = 0;
4525 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4526
4527 self = self;
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4529 return NULL;
4530 if (_argo0) {
4531 if (_argo0 == Py_None) { _arg0 = NULL; }
4532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p.");
4534 return NULL;
4535 }
4536 }
4537{
4538 wxPy_BEGIN_ALLOW_THREADS;
4539 wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4540
4541 wxPy_END_ALLOW_THREADS;
4542} Py_INCREF(Py_None);
4543 _resultobj = Py_None;
4544 return _resultobj;
4545}
4546
4547#define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4548static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject * _resultobj;
4550 wxPyBitmapShape * _arg0;
4551 double _arg1;
4552 double _arg2;
4553 int _arg3 = (int ) 0;
4554 int _arg4 = (int ) 0;
4555 PyObject * _argo0 = 0;
4556 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4557
4558 self = self;
4559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4560 return NULL;
4561 if (_argo0) {
4562 if (_argo0 == Py_None) { _arg0 = NULL; }
4563 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4564 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p.");
4565 return NULL;
4566 }
4567 }
4568{
4569 wxPy_BEGIN_ALLOW_THREADS;
4570 wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4571
4572 wxPy_END_ALLOW_THREADS;
4573} Py_INCREF(Py_None);
4574 _resultobj = Py_None;
4575 return _resultobj;
4576}
4577
4578#define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4579static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject * _resultobj;
4581 wxPyBitmapShape * _arg0;
4582 double _arg1;
4583 double _arg2;
4584 int _arg3 = (int ) 0;
4585 int _arg4 = (int ) 0;
4586 PyObject * _argo0 = 0;
4587 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4588
4589 self = self;
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4591 return NULL;
4592 if (_argo0) {
4593 if (_argo0 == Py_None) { _arg0 = NULL; }
4594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p.");
4596 return NULL;
4597 }
4598 }
4599{
4600 wxPy_BEGIN_ALLOW_THREADS;
4601 wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
4602
4603 wxPy_END_ALLOW_THREADS;
4604} Py_INCREF(Py_None);
4605 _resultobj = Py_None;
4606 return _resultobj;
4607}
4608
4609#define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
4610static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4611 PyObject * _resultobj;
4612 wxPyBitmapShape * _arg0;
4613 double _arg1;
4614 double _arg2;
4615 PyObject * _argo0 = 0;
4616 char *_kwnames[] = { "self","x","y", NULL };
4617
4618 self = self;
4619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
4620 return NULL;
4621 if (_argo0) {
4622 if (_argo0 == Py_None) { _arg0 = NULL; }
4623 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4624 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p.");
4625 return NULL;
4626 }
4627 }
4628{
4629 wxPy_BEGIN_ALLOW_THREADS;
4630 wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2);
4631
4632 wxPy_END_ALLOW_THREADS;
4633} Py_INCREF(Py_None);
4634 _resultobj = Py_None;
4635 return _resultobj;
4636}
4637
4638#define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4639static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
4640 PyObject * _resultobj;
4641 bool _result;
4642 wxPyBitmapShape * _arg0;
4643 wxDC * _arg1;
4644 double _arg2;
4645 double _arg3;
4646 double _arg4;
4647 double _arg5;
4648 bool _arg6 = (bool ) TRUE;
4649 PyObject * _argo0 = 0;
4650 PyObject * _argo1 = 0;
4651 int tempbool6 = (int) TRUE;
4652 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4653
4654 self = self;
4655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4656 return NULL;
4657 if (_argo0) {
4658 if (_argo0 == Py_None) { _arg0 = NULL; }
4659 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4660 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p.");
4661 return NULL;
4662 }
4663 }
4664 if (_argo1) {
4665 if (_argo1 == Py_None) { _arg1 = NULL; }
4666 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4667 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p.");
4668 return NULL;
4669 }
4670 }
4671 _arg6 = (bool ) tempbool6;
4672{
4673 wxPy_BEGIN_ALLOW_THREADS;
4674 _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4675
4676 wxPy_END_ALLOW_THREADS;
4677} _resultobj = Py_BuildValue("i",_result);
4678 return _resultobj;
4679}
4680
4681#define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
4682static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject * _resultobj;
4684 wxPyBitmapShape * _arg0;
4685 wxDC * _arg1;
4686 double _arg2;
4687 double _arg3;
4688 double _arg4;
4689 double _arg5;
4690 bool _arg6 = (bool ) TRUE;
4691 PyObject * _argo0 = 0;
4692 PyObject * _argo1 = 0;
4693 int tempbool6 = (int) TRUE;
4694 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
4695
4696 self = self;
4697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
4698 return NULL;
4699 if (_argo0) {
4700 if (_argo0 == Py_None) { _arg0 = NULL; }
4701 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4702 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p.");
4703 return NULL;
4704 }
4705 }
4706 if (_argo1) {
4707 if (_argo1 == Py_None) { _arg1 = NULL; }
4708 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4709 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p.");
4710 return NULL;
4711 }
4712 }
4713 _arg6 = (bool ) tempbool6;
4714{
4715 wxPy_BEGIN_ALLOW_THREADS;
4716 wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
4717
4718 wxPy_END_ALLOW_THREADS;
4719} Py_INCREF(Py_None);
4720 _resultobj = Py_None;
4721 return _resultobj;
4722}
4723
4724#define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4725static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4726 PyObject * _resultobj;
4727 wxPyBitmapShape * _arg0;
4728 bool _arg1;
4729 double _arg2;
4730 double _arg3;
4731 int _arg4 = (int ) 0;
4732 int _arg5 = (int ) 0;
4733 PyObject * _argo0 = 0;
4734 int tempbool1;
4735 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4736
4737 self = self;
4738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4739 return NULL;
4740 if (_argo0) {
4741 if (_argo0 == Py_None) { _arg0 = NULL; }
4742 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4743 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p.");
4744 return NULL;
4745 }
4746 }
4747 _arg1 = (bool ) tempbool1;
4748{
4749 wxPy_BEGIN_ALLOW_THREADS;
4750 wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4751
4752 wxPy_END_ALLOW_THREADS;
4753} Py_INCREF(Py_None);
4754 _resultobj = Py_None;
4755 return _resultobj;
4756}
4757
4758#define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4759static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4760 PyObject * _resultobj;
4761 wxPyBitmapShape * _arg0;
4762 double _arg1;
4763 double _arg2;
4764 int _arg3 = (int ) 0;
4765 int _arg4 = (int ) 0;
4766 PyObject * _argo0 = 0;
4767 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4768
4769 self = self;
4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4771 return NULL;
4772 if (_argo0) {
4773 if (_argo0 == Py_None) { _arg0 = NULL; }
4774 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4775 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p.");
4776 return NULL;
4777 }
4778 }
4779{
4780 wxPy_BEGIN_ALLOW_THREADS;
4781 wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4782
4783 wxPy_END_ALLOW_THREADS;
4784} Py_INCREF(Py_None);
4785 _resultobj = Py_None;
4786 return _resultobj;
4787}
4788
4789#define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4790static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
4791 PyObject * _resultobj;
4792 wxPyBitmapShape * _arg0;
4793 double _arg1;
4794 double _arg2;
4795 int _arg3 = (int ) 0;
4796 int _arg4 = (int ) 0;
4797 PyObject * _argo0 = 0;
4798 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4799
4800 self = self;
4801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4802 return NULL;
4803 if (_argo0) {
4804 if (_argo0 == Py_None) { _arg0 = NULL; }
4805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p.");
4807 return NULL;
4808 }
4809 }
4810{
4811 wxPy_BEGIN_ALLOW_THREADS;
4812 wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
4813
4814 wxPy_END_ALLOW_THREADS;
4815} Py_INCREF(Py_None);
4816 _resultobj = Py_None;
4817 return _resultobj;
4818}
4819
4820#define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4821static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4822 PyObject * _resultobj;
4823 wxPyBitmapShape * _arg0;
4824 bool _arg1;
4825 double _arg2;
4826 double _arg3;
4827 int _arg4 = (int ) 0;
4828 int _arg5 = (int ) 0;
4829 PyObject * _argo0 = 0;
4830 int tempbool1;
4831 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
4832
4833 self = self;
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
4835 return NULL;
4836 if (_argo0) {
4837 if (_argo0 == Py_None) { _arg0 = NULL; }
4838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p.");
4840 return NULL;
4841 }
4842 }
4843 _arg1 = (bool ) tempbool1;
4844{
4845 wxPy_BEGIN_ALLOW_THREADS;
4846 wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
4847
4848 wxPy_END_ALLOW_THREADS;
4849} Py_INCREF(Py_None);
4850 _resultobj = Py_None;
4851 return _resultobj;
4852}
4853
4854#define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4855static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject * _resultobj;
4857 wxPyBitmapShape * _arg0;
4858 double _arg1;
4859 double _arg2;
4860 int _arg3 = (int ) 0;
4861 int _arg4 = (int ) 0;
4862 PyObject * _argo0 = 0;
4863 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4864
4865 self = self;
4866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4867 return NULL;
4868 if (_argo0) {
4869 if (_argo0 == Py_None) { _arg0 = NULL; }
4870 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4871 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p.");
4872 return NULL;
4873 }
4874 }
4875{
4876 wxPy_BEGIN_ALLOW_THREADS;
4877 wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4878
4879 wxPy_END_ALLOW_THREADS;
4880} Py_INCREF(Py_None);
4881 _resultobj = Py_None;
4882 return _resultobj;
4883}
4884
4885#define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
4886static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject * _resultobj;
4888 wxPyBitmapShape * _arg0;
4889 double _arg1;
4890 double _arg2;
4891 int _arg3 = (int ) 0;
4892 int _arg4 = (int ) 0;
4893 PyObject * _argo0 = 0;
4894 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
4895
4896 self = self;
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
4898 return NULL;
4899 if (_argo0) {
4900 if (_argo0 == Py_None) { _arg0 = NULL; }
4901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p.");
4903 return NULL;
4904 }
4905 }
4906{
4907 wxPy_BEGIN_ALLOW_THREADS;
4908 wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
4909
4910 wxPy_END_ALLOW_THREADS;
4911} Py_INCREF(Py_None);
4912 _resultobj = Py_None;
4913 return _resultobj;
4914}
4915
4916#define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
4917static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject * _resultobj;
4919 wxPyBitmapShape * _arg0;
4920 wxDC * _arg1;
4921 double _arg2;
4922 double _arg3;
4923 double _arg4;
4924 double _arg5;
4925 PyObject * _argo0 = 0;
4926 PyObject * _argo1 = 0;
4927 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
4928
4929 self = self;
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
4931 return NULL;
4932 if (_argo0) {
4933 if (_argo0 == Py_None) { _arg0 = NULL; }
4934 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4935 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p.");
4936 return NULL;
4937 }
4938 }
4939 if (_argo1) {
4940 if (_argo1 == Py_None) { _arg1 = NULL; }
4941 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4942 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p.");
4943 return NULL;
4944 }
4945 }
4946{
4947 wxPy_BEGIN_ALLOW_THREADS;
4948 wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
4949
4950 wxPy_END_ALLOW_THREADS;
4951} Py_INCREF(Py_None);
4952 _resultobj = Py_None;
4953 return _resultobj;
4954}
4955
4956#define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
4957static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4958 PyObject * _resultobj;
4959 wxPyBitmapShape * _arg0;
4960 wxDC * _arg1;
4961 PyObject * _argo0 = 0;
4962 PyObject * _argo1 = 0;
4963 char *_kwnames[] = { "self","dc", NULL };
4964
4965 self = self;
4966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
4967 return NULL;
4968 if (_argo0) {
4969 if (_argo0 == Py_None) { _arg0 = NULL; }
4970 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4971 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p.");
4972 return NULL;
4973 }
4974 }
4975 if (_argo1) {
4976 if (_argo1 == Py_None) { _arg1 = NULL; }
4977 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
4978 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p.");
4979 return NULL;
4980 }
4981 }
4982{
4983 wxPy_BEGIN_ALLOW_THREADS;
4984 wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1);
4985
4986 wxPy_END_ALLOW_THREADS;
4987} Py_INCREF(Py_None);
4988 _resultobj = Py_None;
4989 return _resultobj;
4990}
4991
4992#define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
4993static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
4994 PyObject * _resultobj;
4995 wxPyBitmapShape * _arg0;
4996 wxDC * _arg1;
4997 PyObject * _argo0 = 0;
4998 PyObject * _argo1 = 0;
4999 char *_kwnames[] = { "self","dc", NULL };
5000
5001 self = self;
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
5003 return NULL;
5004 if (_argo0) {
5005 if (_argo0 == Py_None) { _arg0 = NULL; }
5006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p.");
5008 return NULL;
5009 }
5010 }
5011 if (_argo1) {
5012 if (_argo1 == Py_None) { _arg1 = NULL; }
5013 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5014 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5015 return NULL;
5016 }
5017 }
5018{
5019 wxPy_BEGIN_ALLOW_THREADS;
5020 wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1);
5021
5022 wxPy_END_ALLOW_THREADS;
5023} Py_INCREF(Py_None);
5024 _resultobj = Py_None;
5025 return _resultobj;
5026}
5027
5028#define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5029static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject * _resultobj;
5031 wxPyBitmapShape * _arg0;
5032 wxDC * _arg1;
5033 bool _arg2 = (bool ) TRUE;
5034 PyObject * _argo0 = 0;
5035 PyObject * _argo1 = 0;
5036 int tempbool2 = (int) TRUE;
5037 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
5038
5039 self = self;
5040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
5041 return NULL;
5042 if (_argo0) {
5043 if (_argo0 == Py_None) { _arg0 = NULL; }
5044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p.");
5046 return NULL;
5047 }
5048 }
5049 if (_argo1) {
5050 if (_argo1 == Py_None) { _arg1 = NULL; }
5051 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5052 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p.");
5053 return NULL;
5054 }
5055 }
5056 _arg2 = (bool ) tempbool2;
5057{
5058 wxPy_BEGIN_ALLOW_THREADS;
5059 wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
5060
5061 wxPy_END_ALLOW_THREADS;
5062} Py_INCREF(Py_None);
5063 _resultobj = Py_None;
5064 return _resultobj;
5065}
5066
5067#define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5068static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject * _resultobj;
5070 wxPyBitmapShape * _arg0;
2348eaee 5071 wxPyControlPoint * _arg1;
e91a9dfc
RD
5072 bool _arg2;
5073 double _arg3;
5074 double _arg4;
5075 int _arg5 = (int ) 0;
5076 int _arg6 = (int ) 0;
5077 PyObject * _argo0 = 0;
5078 PyObject * _argo1 = 0;
5079 int tempbool2;
5080 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
5081
5082 self = self;
5083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
5084 return NULL;
5085 if (_argo0) {
5086 if (_argo0 == Py_None) { _arg0 = NULL; }
5087 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5088 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p.");
5089 return NULL;
5090 }
5091 }
5092 if (_argo1) {
5093 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
5094 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5095 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
5096 return NULL;
5097 }
5098 }
5099 _arg2 = (bool ) tempbool2;
5100{
5101 wxPy_BEGIN_ALLOW_THREADS;
5102 wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5103
5104 wxPy_END_ALLOW_THREADS;
5105} Py_INCREF(Py_None);
5106 _resultobj = Py_None;
5107 return _resultobj;
5108}
5109
5110#define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5111static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5112 PyObject * _resultobj;
5113 wxPyBitmapShape * _arg0;
2348eaee 5114 wxPyControlPoint * _arg1;
e91a9dfc
RD
5115 double _arg2;
5116 double _arg3;
5117 int _arg4 = (int ) 0;
5118 int _arg5 = (int ) 0;
5119 PyObject * _argo0 = 0;
5120 PyObject * _argo1 = 0;
5121 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5122
5123 self = self;
5124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5125 return NULL;
5126 if (_argo0) {
5127 if (_argo0 == Py_None) { _arg0 = NULL; }
5128 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5129 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p.");
5130 return NULL;
5131 }
5132 }
5133 if (_argo1) {
5134 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
5135 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5136 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
5137 return NULL;
5138 }
5139 }
5140{
5141 wxPy_BEGIN_ALLOW_THREADS;
5142 wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5143
5144 wxPy_END_ALLOW_THREADS;
5145} Py_INCREF(Py_None);
5146 _resultobj = Py_None;
5147 return _resultobj;
5148}
5149
5150#define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5151static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject * _resultobj;
5153 wxPyBitmapShape * _arg0;
2348eaee 5154 wxPyControlPoint * _arg1;
e91a9dfc
RD
5155 double _arg2;
5156 double _arg3;
5157 int _arg4 = (int ) 0;
5158 int _arg5 = (int ) 0;
5159 PyObject * _argo0 = 0;
5160 PyObject * _argo1 = 0;
5161 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
5162
5163 self = self;
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5165 return NULL;
5166 if (_argo0) {
5167 if (_argo0 == Py_None) { _arg0 = NULL; }
5168 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5169 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p.");
5170 return NULL;
5171 }
5172 }
5173 if (_argo1) {
5174 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
5175 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
5176 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
5177 return NULL;
5178 }
5179 }
5180{
5181 wxPy_BEGIN_ALLOW_THREADS;
5182 wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5183
5184 wxPy_END_ALLOW_THREADS;
5185} Py_INCREF(Py_None);
5186 _resultobj = Py_None;
5187 return _resultobj;
5188}
5189
5190#define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
5191static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5192 PyObject * _resultobj;
5193 wxPyBitmapShape * _arg0;
5194 double _arg1;
5195 double _arg2;
5196 PyObject * _argo0 = 0;
5197 char *_kwnames[] = { "self","w","h", NULL };
5198
5199 self = self;
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
5201 return NULL;
5202 if (_argo0) {
5203 if (_argo0 == Py_None) { _arg0 = NULL; }
5204 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5205 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p.");
5206 return NULL;
5207 }
5208 }
5209{
5210 wxPy_BEGIN_ALLOW_THREADS;
5211 wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2);
5212
5213 wxPy_END_ALLOW_THREADS;
5214} Py_INCREF(Py_None);
5215 _resultobj = Py_None;
5216 return _resultobj;
5217}
5218
5219#define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
5220static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5221 PyObject * _resultobj;
5222 wxPyBitmapShape * _arg0;
5223 double _arg1;
5224 double _arg2;
5225 PyObject * _argo0 = 0;
5226 char *_kwnames[] = { "self","w","h", NULL };
5227
5228 self = self;
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
5230 return NULL;
5231 if (_argo0) {
5232 if (_argo0 == Py_None) { _arg0 = NULL; }
5233 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
5234 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p.");
5235 return NULL;
5236 }
5237 }
5238{
5239 wxPy_BEGIN_ALLOW_THREADS;
5240 wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2);
5241
5242 wxPy_END_ALLOW_THREADS;
5243} Py_INCREF(Py_None);
5244 _resultobj = Py_None;
5245 return _resultobj;
5246}
5247
5248static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) {
5249 wxPyDrawnShape *src;
5250 wxPyRectangleShape *dest;
5251 src = (wxPyDrawnShape *) ptr;
5252 dest = (wxPyRectangleShape *) src;
5253 return (void *) dest;
5254}
5255
5256static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) {
5257 wxPyDrawnShape *src;
5258 wxPyShape *dest;
5259 src = (wxPyDrawnShape *) ptr;
5260 dest = (wxPyShape *) src;
5261 return (void *) dest;
5262}
5263
5264static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) {
5265 wxPyDrawnShape *src;
5266 wxPyShapeEvtHandler *dest;
5267 src = (wxPyDrawnShape *) ptr;
5268 dest = (wxPyShapeEvtHandler *) src;
5269 return (void *) dest;
5270}
5271
9416aa89
RD
5272static void *SwigwxPyDrawnShapeTowxObject(void *ptr) {
5273 wxPyDrawnShape *src;
5274 wxObject *dest;
5275 src = (wxPyDrawnShape *) ptr;
5276 dest = (wxObject *) src;
5277 return (void *) dest;
5278}
5279
e91a9dfc
RD
5280#define new_wxPyDrawnShape() (new wxPyDrawnShape())
5281static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject * _resultobj;
5283 wxPyDrawnShape * _result;
5284 char *_kwnames[] = { NULL };
5285 char _ptemp[128];
5286
5287 self = self;
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames))
5289 return NULL;
5290{
5291 wxPy_BEGIN_ALLOW_THREADS;
5292 _result = (wxPyDrawnShape *)new_wxPyDrawnShape();
5293
5294 wxPy_END_ALLOW_THREADS;
5295} if (_result) {
5296 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p");
5297 _resultobj = Py_BuildValue("s",_ptemp);
5298 } else {
5299 Py_INCREF(Py_None);
5300 _resultobj = Py_None;
5301 }
5302 return _resultobj;
5303}
5304
0122b7e3
RD
5305#define wxPyDrawnShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
5306static PyObject *_wrap_wxPyDrawnShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
5307 PyObject * _resultobj;
5308 wxPyDrawnShape * _arg0;
5309 PyObject * _arg1;
f6bcfd97 5310 PyObject * _arg2;
e91a9dfc
RD
5311 PyObject * _argo0 = 0;
5312 PyObject * _obj1 = 0;
f6bcfd97
BP
5313 PyObject * _obj2 = 0;
5314 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
5315
5316 self = self;
0122b7e3 5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
5318 return NULL;
5319 if (_argo0) {
5320 if (_argo0 == Py_None) { _arg0 = NULL; }
5321 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
0122b7e3 5322 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setCallbackInfo. Expected _wxPyDrawnShape_p.");
e91a9dfc
RD
5323 return NULL;
5324 }
5325 }
5326{
5327 _arg1 = _obj1;
5328}
f6bcfd97
BP
5329{
5330 _arg2 = _obj2;
5331}
e91a9dfc
RD
5332{
5333 wxPy_BEGIN_ALLOW_THREADS;
0122b7e3 5334 wxPyDrawnShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc
RD
5335
5336 wxPy_END_ALLOW_THREADS;
5337} Py_INCREF(Py_None);
5338 _resultobj = Py_None;
5339 return _resultobj;
5340}
5341
5342#define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
5343static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject * _resultobj;
5345 wxPyDrawnShape * _arg0;
5346 PyObject * _argo0 = 0;
5347 char *_kwnames[] = { "self", NULL };
5348
5349 self = self;
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0))
5351 return NULL;
5352 if (_argo0) {
5353 if (_argo0 == Py_None) { _arg0 = NULL; }
5354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p.");
5356 return NULL;
5357 }
5358 }
5359{
5360 wxPy_BEGIN_ALLOW_THREADS;
5361 wxPyDrawnShape_CalculateSize(_arg0);
5362
5363 wxPy_END_ALLOW_THREADS;
5364} Py_INCREF(Py_None);
5365 _resultobj = Py_None;
5366 return _resultobj;
5367}
5368
5369#define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
5370static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5371 PyObject * _resultobj;
5372 wxPyDrawnShape * _arg0;
5373 PyObject * _argo0 = 0;
5374 char *_kwnames[] = { "self", NULL };
5375
5376 self = self;
5377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0))
5378 return NULL;
5379 if (_argo0) {
5380 if (_argo0 == Py_None) { _arg0 = NULL; }
5381 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5382 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p.");
5383 return NULL;
5384 }
5385 }
5386{
5387 wxPy_BEGIN_ALLOW_THREADS;
5388 wxPyDrawnShape_DestroyClippingRect(_arg0);
5389
5390 wxPy_END_ALLOW_THREADS;
5391} Py_INCREF(Py_None);
5392 _resultobj = Py_None;
5393 return _resultobj;
5394}
5395
5396#define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
5397static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject * _resultobj;
5399 wxPyDrawnShape * _arg0;
5400 wxPoint * _arg1;
5401 wxPoint * _arg2;
5402 wxPoint * _arg3;
5403 PyObject * _argo0 = 0;
2348eaee
RD
5404 wxPoint temp;
5405 PyObject * _obj1 = 0;
5406 wxPoint temp0;
5407 PyObject * _obj2 = 0;
5408 wxPoint temp1;
5409 PyObject * _obj3 = 0;
e91a9dfc
RD
5410 char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL };
5411
5412 self = self;
2348eaee 5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_obj1,&_obj2,&_obj3))
e91a9dfc
RD
5414 return NULL;
5415 if (_argo0) {
5416 if (_argo0 == Py_None) { _arg0 = NULL; }
5417 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5418 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p.");
5419 return NULL;
5420 }
5421 }
2348eaee
RD
5422{
5423 _arg1 = &temp;
5424 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 5425 return NULL;
2348eaee
RD
5426}
5427{
5428 _arg2 = &temp0;
5429 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 5430 return NULL;
2348eaee
RD
5431}
5432{
5433 _arg3 = &temp1;
5434 if (! wxPoint_helper(_obj3, &_arg3))
e91a9dfc 5435 return NULL;
2348eaee 5436}
e91a9dfc
RD
5437{
5438 wxPy_BEGIN_ALLOW_THREADS;
5439 wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
5440
5441 wxPy_END_ALLOW_THREADS;
5442} Py_INCREF(Py_None);
5443 _resultobj = Py_None;
5444 return _resultobj;
5445}
5446
5447#define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0))
5448static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject * _resultobj;
5450 wxPyDrawnShape * _arg0;
5451 int _arg1;
5452 PyObject * _argo0 = 0;
5453 char *_kwnames[] = { "self","angle", NULL };
5454
5455 self = self;
5456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1))
5457 return NULL;
5458 if (_argo0) {
5459 if (_argo0 == Py_None) { _arg0 = NULL; }
5460 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5461 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p.");
5462 return NULL;
5463 }
5464 }
5465{
5466 wxPy_BEGIN_ALLOW_THREADS;
5467 wxPyDrawnShape_DrawAtAngle(_arg0,_arg1);
5468
5469 wxPy_END_ALLOW_THREADS;
5470} Py_INCREF(Py_None);
5471 _resultobj = Py_None;
5472 return _resultobj;
5473}
5474
5475#define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
5476static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
5477 PyObject * _resultobj;
5478 wxPyDrawnShape * _arg0;
5479 wxRect * _arg1;
5480 double _arg2;
5481 double _arg3;
5482 PyObject * _argo0 = 0;
2348eaee
RD
5483 wxRect temp;
5484 PyObject * _obj1 = 0;
e91a9dfc
RD
5485 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
5486
5487 self = self;
2348eaee 5488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_obj1,&_arg2,&_arg3))
e91a9dfc
RD
5489 return NULL;
5490 if (_argo0) {
5491 if (_argo0 == Py_None) { _arg0 = NULL; }
5492 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5493 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p.");
5494 return NULL;
5495 }
5496 }
2348eaee
RD
5497{
5498 _arg1 = &temp;
5499 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 5500 return NULL;
2348eaee 5501}
e91a9dfc
RD
5502{
5503 wxPy_BEGIN_ALLOW_THREADS;
5504 wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
5505
5506 wxPy_END_ALLOW_THREADS;
5507} Py_INCREF(Py_None);
5508 _resultobj = Py_None;
5509 return _resultobj;
5510}
5511
5512#define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
5513static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
5514 PyObject * _resultobj;
5515 wxPyDrawnShape * _arg0;
5516 wxPoint * _arg1;
5517 wxPoint * _arg2;
5518 PyObject * _argo0 = 0;
2348eaee
RD
5519 wxPoint temp;
5520 PyObject * _obj1 = 0;
5521 wxPoint temp0;
5522 PyObject * _obj2 = 0;
e91a9dfc
RD
5523 char *_kwnames[] = { "self","point1","point2", NULL };
5524
5525 self = self;
2348eaee 5526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
5527 return NULL;
5528 if (_argo0) {
5529 if (_argo0 == Py_None) { _arg0 = NULL; }
5530 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5531 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p.");
5532 return NULL;
5533 }
5534 }
2348eaee
RD
5535{
5536 _arg1 = &temp;
5537 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 5538 return NULL;
2348eaee
RD
5539}
5540{
5541 _arg2 = &temp0;
5542 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 5543 return NULL;
2348eaee 5544}
e91a9dfc
RD
5545{
5546 wxPy_BEGIN_ALLOW_THREADS;
5547 wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2);
5548
5549 wxPy_END_ALLOW_THREADS;
5550} Py_INCREF(Py_None);
5551 _resultobj = Py_None;
5552 return _resultobj;
5553}
5554
5555#define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
5556static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
5557 PyObject * _resultobj;
5558 wxPyDrawnShape * _arg0;
5559 int _arg1;
5560 wxPoint * _arg2;
5561 PyObject * _argo0 = 0;
e0672e2f 5562 int NPOINTS;
e91a9dfc 5563 PyObject * _obj2 = 0;
eec92d76 5564 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
5565
5566 self = self;
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2))
5568 return NULL;
5569 if (_argo0) {
5570 if (_argo0 == Py_None) { _arg0 = NULL; }
5571 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5572 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p.");
5573 return NULL;
5574 }
5575 }
5576 if (_obj2)
5577{
e0672e2f
RD
5578 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5579 if (_arg2 == NULL) {
5580 return NULL;
5581 }
e91a9dfc
RD
5582}
5583{
e0672e2f 5584 _arg1 = NPOINTS;
e91a9dfc
RD
5585}
5586{
5587 wxPy_BEGIN_ALLOW_THREADS;
5588 wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2);
5589
5590 wxPy_END_ALLOW_THREADS;
5591} Py_INCREF(Py_None);
5592 _resultobj = Py_None;
5593{
5594 delete [] _arg2;
5595}
5596 return _resultobj;
5597}
5598
5599#define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
5600static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject * _resultobj;
5602 wxPyDrawnShape * _arg0;
5603 wxPoint * _arg1;
5604 PyObject * _argo0 = 0;
2348eaee
RD
5605 wxPoint temp;
5606 PyObject * _obj1 = 0;
e91a9dfc
RD
5607 char *_kwnames[] = { "self","point", NULL };
5608
5609 self = self;
2348eaee 5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
5611 return NULL;
5612 if (_argo0) {
5613 if (_argo0 == Py_None) { _arg0 = NULL; }
5614 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5615 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p.");
5616 return NULL;
5617 }
5618 }
2348eaee
RD
5619{
5620 _arg1 = &temp;
5621 if (! wxPoint_helper(_obj1, &_arg1))
e91a9dfc 5622 return NULL;
2348eaee 5623}
e91a9dfc
RD
5624{
5625 wxPy_BEGIN_ALLOW_THREADS;
5626 wxPyDrawnShape_DrawPoint(_arg0,*_arg1);
5627
5628 wxPy_END_ALLOW_THREADS;
5629} Py_INCREF(Py_None);
5630 _resultobj = Py_None;
5631 return _resultobj;
5632}
5633
5634#define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
5635static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
5636 PyObject * _resultobj;
5637 wxPyDrawnShape * _arg0;
5638 int _arg1;
5639 wxPoint * _arg2;
5640 int _arg3 = (int ) 0;
5641 PyObject * _argo0 = 0;
e0672e2f 5642 int NPOINTS;
e91a9dfc 5643 PyObject * _obj2 = 0;
eec92d76 5644 char *_kwnames[] = { "self","points","flags", NULL };
e91a9dfc
RD
5645
5646 self = self;
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
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_DrawPolygon. Expected _wxPyDrawnShape_p.");
5653 return NULL;
5654 }
5655 }
5656 if (_obj2)
5657{
e0672e2f
RD
5658 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5659 if (_arg2 == NULL) {
5660 return NULL;
5661 }
e91a9dfc
RD
5662}
5663{
e0672e2f 5664 _arg1 = NPOINTS;
e91a9dfc
RD
5665}
5666{
5667 wxPy_BEGIN_ALLOW_THREADS;
5668 wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
5669
5670 wxPy_END_ALLOW_THREADS;
5671} Py_INCREF(Py_None);
5672 _resultobj = Py_None;
5673{
5674 delete [] _arg2;
5675}
5676 return _resultobj;
5677}
5678
5679#define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
5680static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5681 PyObject * _resultobj;
5682 wxPyDrawnShape * _arg0;
5683 wxRect * _arg1;
5684 PyObject * _argo0 = 0;
2348eaee
RD
5685 wxRect temp;
5686 PyObject * _obj1 = 0;
e91a9dfc
RD
5687 char *_kwnames[] = { "self","rect", NULL };
5688
5689 self = self;
2348eaee 5690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
5691 return NULL;
5692 if (_argo0) {
5693 if (_argo0 == Py_None) { _arg0 = NULL; }
5694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p.");
5696 return NULL;
5697 }
5698 }
2348eaee
RD
5699{
5700 _arg1 = &temp;
5701 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 5702 return NULL;
2348eaee 5703}
e91a9dfc
RD
5704{
5705 wxPy_BEGIN_ALLOW_THREADS;
5706 wxPyDrawnShape_DrawRectangle(_arg0,*_arg1);
5707
5708 wxPy_END_ALLOW_THREADS;
5709} Py_INCREF(Py_None);
5710 _resultobj = Py_None;
5711 return _resultobj;
5712}
5713
5714#define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
5715static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
5716 PyObject * _resultobj;
5717 wxPyDrawnShape * _arg0;
5718 wxRect * _arg1;
5719 double _arg2;
5720 PyObject * _argo0 = 0;
2348eaee
RD
5721 wxRect temp;
5722 PyObject * _obj1 = 0;
e91a9dfc
RD
5723 char *_kwnames[] = { "self","rect","radius", NULL };
5724
5725 self = self;
2348eaee 5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_obj1,&_arg2))
e91a9dfc
RD
5727 return NULL;
5728 if (_argo0) {
5729 if (_argo0 == Py_None) { _arg0 = NULL; }
5730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p.");
5732 return NULL;
5733 }
5734 }
2348eaee
RD
5735{
5736 _arg1 = &temp;
5737 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 5738 return NULL;
2348eaee 5739}
e91a9dfc
RD
5740{
5741 wxPy_BEGIN_ALLOW_THREADS;
5742 wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
5743
5744 wxPy_END_ALLOW_THREADS;
5745} Py_INCREF(Py_None);
5746 _resultobj = Py_None;
5747 return _resultobj;
5748}
5749
5750#define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
5751static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject * _resultobj;
5753 wxPyDrawnShape * _arg0;
5754 int _arg1;
5755 wxPoint * _arg2;
5756 PyObject * _argo0 = 0;
e0672e2f 5757 int NPOINTS;
e91a9dfc 5758 PyObject * _obj2 = 0;
eec92d76 5759 char *_kwnames[] = { "self","points", NULL };
e91a9dfc
RD
5760
5761 self = self;
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2))
5763 return NULL;
5764 if (_argo0) {
5765 if (_argo0 == Py_None) { _arg0 = NULL; }
5766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p.");
5768 return NULL;
5769 }
5770 }
5771 if (_obj2)
5772{
e0672e2f
RD
5773 _arg2 = wxPoint_LIST_helper(_obj2, &NPOINTS);
5774 if (_arg2 == NULL) {
5775 return NULL;
5776 }
e91a9dfc
RD
5777}
5778{
e0672e2f 5779 _arg1 = NPOINTS;
e91a9dfc
RD
5780}
5781{
5782 wxPy_BEGIN_ALLOW_THREADS;
5783 wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2);
5784
5785 wxPy_END_ALLOW_THREADS;
5786} Py_INCREF(Py_None);
5787 _resultobj = Py_None;
5788{
5789 delete [] _arg2;
5790}
5791 return _resultobj;
5792}
5793
5794#define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
5795static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
5796 PyObject * _resultobj;
5797 wxPyDrawnShape * _arg0;
5798 wxString * _arg1;
5799 wxPoint * _arg2;
5800 PyObject * _argo0 = 0;
5801 PyObject * _obj1 = 0;
2348eaee
RD
5802 wxPoint temp;
5803 PyObject * _obj2 = 0;
e91a9dfc
RD
5804 char *_kwnames[] = { "self","text","point", NULL };
5805
5806 self = self;
2348eaee 5807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
5808 return NULL;
5809 if (_argo0) {
5810 if (_argo0 == Py_None) { _arg0 = NULL; }
5811 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5812 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p.");
5813 return NULL;
5814 }
5815 }
5816{
185d7c3e
RD
5817#if PYTHON_API_VERSION >= 1009
5818 char* tmpPtr; int tmpSize;
5819 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 5820 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
5821 return NULL;
5822 }
5823 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
5824 return NULL;
5825 _arg1 = new wxString(tmpPtr, tmpSize);
5826#else
e91a9dfc
RD
5827 if (!PyString_Check(_obj1)) {
5828 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
5829 return NULL;
5830 }
185d7c3e
RD
5831 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
5832#endif
e91a9dfc 5833}
2348eaee
RD
5834{
5835 _arg2 = &temp;
5836 if (! wxPoint_helper(_obj2, &_arg2))
e91a9dfc 5837 return NULL;
2348eaee 5838}
e91a9dfc
RD
5839{
5840 wxPy_BEGIN_ALLOW_THREADS;
5841 wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2);
5842
5843 wxPy_END_ALLOW_THREADS;
5844} Py_INCREF(Py_None);
5845 _resultobj = Py_None;
5846{
5847 if (_obj1)
5848 delete _arg1;
5849}
5850 return _resultobj;
5851}
5852
5853#define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle())
5854static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
5855 PyObject * _resultobj;
5856 int _result;
5857 wxPyDrawnShape * _arg0;
5858 PyObject * _argo0 = 0;
5859 char *_kwnames[] = { "self", NULL };
5860
5861 self = self;
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0))
5863 return NULL;
5864 if (_argo0) {
5865 if (_argo0 == Py_None) { _arg0 = NULL; }
5866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p.");
5868 return NULL;
5869 }
5870 }
5871{
5872 wxPy_BEGIN_ALLOW_THREADS;
5873 _result = (int )wxPyDrawnShape_GetAngle(_arg0);
5874
5875 wxPy_END_ALLOW_THREADS;
5876} _resultobj = Py_BuildValue("i",_result);
5877 return _resultobj;
5878}
5879
5880#define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
5881static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5882 PyObject * _resultobj;
5883 wxPseudoMetaFile * _result;
5884 wxPyDrawnShape * _arg0;
5885 PyObject * _argo0 = 0;
5886 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
5887
5888 self = self;
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0))
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_GetMetaFile. Expected _wxPyDrawnShape_p.");
5895 return NULL;
5896 }
5897 }
5898{
5899 wxPy_BEGIN_ALLOW_THREADS;
5900 wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0);
5901 _result = (wxPseudoMetaFile *) &_result_ref;
5902
5903 wxPy_END_ALLOW_THREADS;
9416aa89 5904}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
5905 return _resultobj;
5906}
5907
5908#define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation())
5909static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject * _resultobj;
5911 double _result;
5912 wxPyDrawnShape * _arg0;
5913 PyObject * _argo0 = 0;
5914 char *_kwnames[] = { "self", NULL };
5915
5916 self = self;
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0))
5918 return NULL;
5919 if (_argo0) {
5920 if (_argo0 == Py_None) { _arg0 = NULL; }
5921 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5922 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p.");
5923 return NULL;
5924 }
5925 }
5926{
5927 wxPy_BEGIN_ALLOW_THREADS;
5928 _result = (double )wxPyDrawnShape_GetRotation(_arg0);
5929
5930 wxPy_END_ALLOW_THREADS;
5931} _resultobj = Py_BuildValue("d",_result);
5932 return _resultobj;
5933}
5934
5935#define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0))
5936static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5937 PyObject * _resultobj;
5938 bool _result;
5939 wxPyDrawnShape * _arg0;
5940 char * _arg1;
5941 PyObject * _argo0 = 0;
5942 char *_kwnames[] = { "self","filename", NULL };
5943
5944 self = self;
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1))
5946 return NULL;
5947 if (_argo0) {
5948 if (_argo0 == Py_None) { _arg0 = NULL; }
5949 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5950 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p.");
5951 return NULL;
5952 }
5953 }
5954{
5955 wxPy_BEGIN_ALLOW_THREADS;
5956 _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1);
5957
5958 wxPy_END_ALLOW_THREADS;
5959} _resultobj = Py_BuildValue("i",_result);
5960 return _resultobj;
5961}
5962
5963#define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
5964static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
5965 PyObject * _resultobj;
5966 wxPyDrawnShape * _arg0;
5967 double _arg1;
5968 double _arg2;
5969 double _arg3;
5970 PyObject * _argo0 = 0;
5971 char *_kwnames[] = { "self","x","y","theta", NULL };
5972
5973 self = self;
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
5975 return NULL;
5976 if (_argo0) {
5977 if (_argo0 == Py_None) { _arg0 = NULL; }
5978 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5979 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p.");
5980 return NULL;
5981 }
5982 }
5983{
5984 wxPy_BEGIN_ALLOW_THREADS;
5985 wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3);
5986
5987 wxPy_END_ALLOW_THREADS;
5988} Py_INCREF(Py_None);
5989 _resultobj = Py_None;
5990 return _resultobj;
5991}
5992
5993#define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
5994static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5995 PyObject * _resultobj;
5996 wxPyDrawnShape * _arg0;
5997 wxRect * _arg1;
5998 PyObject * _argo0 = 0;
2348eaee
RD
5999 wxRect temp;
6000 PyObject * _obj1 = 0;
e91a9dfc
RD
6001 char *_kwnames[] = { "self","rect", NULL };
6002
6003 self = self;
2348eaee 6004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6005 return NULL;
6006 if (_argo0) {
6007 if (_argo0 == Py_None) { _arg0 = NULL; }
6008 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6009 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p.");
6010 return NULL;
6011 }
6012 }
2348eaee
RD
6013{
6014 _arg1 = &temp;
6015 if (! wxRect_helper(_obj1, &_arg1))
e91a9dfc 6016 return NULL;
2348eaee 6017}
e91a9dfc
RD
6018{
6019 wxPy_BEGIN_ALLOW_THREADS;
6020 wxPyDrawnShape_SetClippingRect(_arg0,*_arg1);
6021
6022 wxPy_END_ALLOW_THREADS;
6023} Py_INCREF(Py_None);
6024 _resultobj = Py_None;
6025 return _resultobj;
6026}
6027
6028#define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0))
6029static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6030 PyObject * _resultobj;
6031 wxPyDrawnShape * _arg0;
6032 wxColour * _arg1;
6033 PyObject * _argo0 = 0;
f6bcfd97
BP
6034 wxColour temp;
6035 PyObject * _obj1 = 0;
e91a9dfc
RD
6036 char *_kwnames[] = { "self","colour", NULL };
6037
6038 self = self;
f6bcfd97 6039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6040 return NULL;
6041 if (_argo0) {
6042 if (_argo0 == Py_None) { _arg0 = NULL; }
6043 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6044 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p.");
6045 return NULL;
6046 }
6047 }
f6bcfd97
BP
6048{
6049 _arg1 = &temp;
6050 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 6051 return NULL;
f6bcfd97 6052}
e91a9dfc
RD
6053{
6054 wxPy_BEGIN_ALLOW_THREADS;
6055 wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1);
6056
6057 wxPy_END_ALLOW_THREADS;
6058} Py_INCREF(Py_None);
6059 _resultobj = Py_None;
6060 return _resultobj;
6061}
6062
6063#define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0))
6064static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
6065 PyObject * _resultobj;
6066 wxPyDrawnShape * _arg0;
6067 int _arg1;
6068 PyObject * _argo0 = 0;
6069 char *_kwnames[] = { "self","mode", NULL };
6070
6071 self = self;
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1))
6073 return NULL;
6074 if (_argo0) {
6075 if (_argo0 == Py_None) { _arg0 = NULL; }
6076 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6077 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p.");
6078 return NULL;
6079 }
6080 }
6081{
6082 wxPy_BEGIN_ALLOW_THREADS;
6083 wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1);
6084
6085 wxPy_END_ALLOW_THREADS;
6086} Py_INCREF(Py_None);
6087 _resultobj = Py_None;
6088 return _resultobj;
6089}
6090
6091#define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1))
6092static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
6093 PyObject * _resultobj;
6094 wxPyDrawnShape * _arg0;
6095 wxBrush * _arg1;
6096 bool _arg2 = (bool ) FALSE;
6097 PyObject * _argo0 = 0;
d74525f7 6098 PyObject * _obj1 = 0;
e91a9dfc
RD
6099 int tempbool2 = (int) FALSE;
6100 char *_kwnames[] = { "self","pen","isOutline", NULL };
6101
6102 self = self;
d74525f7 6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
6104 return NULL;
6105 if (_argo0) {
6106 if (_argo0 == Py_None) { _arg0 = NULL; }
6107 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6108 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p.");
6109 return NULL;
6110 }
6111 }
d74525f7
RD
6112{
6113 wxBrush* temp;
6114 if (_obj1) {
6115 if (_obj1 == Py_None) { temp = NULL; }
6116 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxBrush_p")) {
6117 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxBrush_p.");
e91a9dfc
RD
6118 return NULL;
6119 }
6120 }
d74525f7
RD
6121 if (temp)
6122 _arg1 = wxTheBrushList->FindOrCreateBrush(temp->GetColour(), temp->GetStyle());
6123 else
6124 _arg1 = NULL;
6125}
e91a9dfc
RD
6126 _arg2 = (bool ) tempbool2;
6127{
6128 wxPy_BEGIN_ALLOW_THREADS;
6129 wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2);
6130
6131 wxPy_END_ALLOW_THREADS;
6132} Py_INCREF(Py_None);
6133 _resultobj = Py_None;
6134 return _resultobj;
6135}
6136
6137#define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0))
6138static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6139 PyObject * _resultobj;
6140 wxPyDrawnShape * _arg0;
6141 wxFont * _arg1;
6142 PyObject * _argo0 = 0;
d74525f7 6143 PyObject * _obj1 = 0;
e91a9dfc
RD
6144 char *_kwnames[] = { "self","font", NULL };
6145
6146 self = self;
d74525f7 6147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6148 return NULL;
6149 if (_argo0) {
6150 if (_argo0 == Py_None) { _arg0 = NULL; }
6151 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6152 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p.");
6153 return NULL;
6154 }
6155 }
d74525f7
RD
6156{
6157 wxFont* temp;
6158 if (_obj1) {
6159 if (_obj1 == Py_None) { temp = NULL; }
6160 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxFont_p")) {
6161 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxFont_p.");
e91a9dfc
RD
6162 return NULL;
6163 }
6164 }
d74525f7
RD
6165 if (temp)
6166 _arg1 = wxTheFontList->FindOrCreateFont(temp->GetPointSize(),
6167 temp->GetFamily(),
6168 temp->GetStyle(),
6169 temp->GetWeight(),
6170 temp->GetUnderlined(),
6171 temp->GetFaceName(),
6172 temp->GetEncoding());
6173 else
6174 _arg1 = NULL;
6175}
e91a9dfc
RD
6176{
6177 wxPy_BEGIN_ALLOW_THREADS;
6178 wxPyDrawnShape_SetDrawnFont(_arg0,_arg1);
6179
6180 wxPy_END_ALLOW_THREADS;
6181} Py_INCREF(Py_None);
6182 _resultobj = Py_None;
6183 return _resultobj;
6184}
6185
6186#define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1))
6187static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject * _resultobj;
6189 wxPyDrawnShape * _arg0;
6190 wxPen * _arg1;
6191 bool _arg2 = (bool ) FALSE;
6192 PyObject * _argo0 = 0;
d74525f7 6193 PyObject * _obj1 = 0;
e91a9dfc
RD
6194 int tempbool2 = (int) FALSE;
6195 char *_kwnames[] = { "self","pen","isOutline", NULL };
6196
6197 self = self;
d74525f7 6198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_obj1,&tempbool2))
e91a9dfc
RD
6199 return NULL;
6200 if (_argo0) {
6201 if (_argo0 == Py_None) { _arg0 = NULL; }
6202 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6203 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p.");
6204 return NULL;
6205 }
6206 }
d74525f7
RD
6207{
6208 wxPen* temp;
6209 if (_obj1) {
6210 if (_obj1 == Py_None) { temp = NULL; }
6211 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
6212 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
6213 return NULL;
6214 }
6215 }
d74525f7
RD
6216 if (temp)
6217 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
6218 temp->GetWidth(),
6219 temp->GetStyle());
6220 else
6221 _arg1 = NULL;
6222}
e91a9dfc
RD
6223 _arg2 = (bool ) tempbool2;
6224{
6225 wxPy_BEGIN_ALLOW_THREADS;
6226 wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2);
6227
6228 wxPy_END_ALLOW_THREADS;
6229} Py_INCREF(Py_None);
6230 _resultobj = Py_None;
6231 return _resultobj;
6232}
6233
6234#define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0))
6235static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6236 PyObject * _resultobj;
6237 wxPyDrawnShape * _arg0;
6238 wxColour * _arg1;
6239 PyObject * _argo0 = 0;
f6bcfd97
BP
6240 wxColour temp;
6241 PyObject * _obj1 = 0;
e91a9dfc
RD
6242 char *_kwnames[] = { "self","colour", NULL };
6243
6244 self = self;
f6bcfd97 6245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
6246 return NULL;
6247 if (_argo0) {
6248 if (_argo0 == Py_None) { _arg0 = NULL; }
6249 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6250 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p.");
6251 return NULL;
6252 }
6253 }
f6bcfd97
BP
6254{
6255 _arg1 = &temp;
6256 if (! wxColour_helper(_obj1, &_arg1))
e91a9dfc 6257 return NULL;
f6bcfd97 6258}
e91a9dfc
RD
6259{
6260 wxPy_BEGIN_ALLOW_THREADS;
6261 wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1);
6262
6263 wxPy_END_ALLOW_THREADS;
6264} Py_INCREF(Py_None);
6265 _resultobj = Py_None;
6266 return _resultobj;
6267}
6268
6269#define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
6270static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject * _resultobj;
6272 wxPyDrawnShape * _arg0;
6273 double _arg1;
6274 double _arg2;
6275 PyObject * _argo0 = 0;
6276 char *_kwnames[] = { "self","sx","sy", NULL };
6277
6278 self = self;
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
6280 return NULL;
6281 if (_argo0) {
6282 if (_argo0 == Py_None) { _arg0 = NULL; }
6283 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6284 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p.");
6285 return NULL;
6286 }
6287 }
6288{
6289 wxPy_BEGIN_ALLOW_THREADS;
6290 wxPyDrawnShape_Scale(_arg0,_arg1,_arg2);
6291
6292 wxPy_END_ALLOW_THREADS;
6293} Py_INCREF(Py_None);
6294 _resultobj = Py_None;
6295 return _resultobj;
6296}
6297
6298#define wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0))
6299static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6300 PyObject * _resultobj;
6301 wxPyDrawnShape * _arg0;
6302 bool _arg1;
6303 PyObject * _argo0 = 0;
6304 int tempbool1;
6305 char *_kwnames[] = { "self","save", NULL };
6306
6307 self = self;
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1))
6309 return NULL;
6310 if (_argo0) {
6311 if (_argo0 == Py_None) { _arg0 = NULL; }
6312 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6313 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p.");
6314 return NULL;
6315 }
6316 }
6317 _arg1 = (bool ) tempbool1;
6318{
6319 wxPy_BEGIN_ALLOW_THREADS;
6320 wxPyDrawnShape_SetSaveToFile(_arg0,_arg1);
6321
6322 wxPy_END_ALLOW_THREADS;
6323} Py_INCREF(Py_None);
6324 _resultobj = Py_None;
6325 return _resultobj;
6326}
6327
6328#define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
6329static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
6330 PyObject * _resultobj;
6331 wxPyDrawnShape * _arg0;
6332 double _arg1;
6333 double _arg2;
6334 PyObject * _argo0 = 0;
6335 char *_kwnames[] = { "self","x","y", NULL };
6336
6337 self = self;
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
6339 return NULL;
6340 if (_argo0) {
6341 if (_argo0 == Py_None) { _arg0 = NULL; }
6342 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6343 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p.");
6344 return NULL;
6345 }
6346 }
6347{
6348 wxPy_BEGIN_ALLOW_THREADS;
6349 wxPyDrawnShape_Translate(_arg0,_arg1,_arg2);
6350
6351 wxPy_END_ALLOW_THREADS;
6352} Py_INCREF(Py_None);
6353 _resultobj = Py_None;
6354 return _resultobj;
6355}
6356
6357#define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6358static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject * _resultobj;
6360 wxPyDrawnShape * _arg0;
6361 PyObject * _argo0 = 0;
6362 char *_kwnames[] = { "self", NULL };
6363
6364 self = self;
6365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0))
6366 return NULL;
6367 if (_argo0) {
6368 if (_argo0 == Py_None) { _arg0 = NULL; }
6369 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6370 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p.");
6371 return NULL;
6372 }
6373 }
6374{
6375 wxPy_BEGIN_ALLOW_THREADS;
6376 wxPyDrawnShape_base_OnDelete(_arg0);
6377
6378 wxPy_END_ALLOW_THREADS;
6379} Py_INCREF(Py_None);
6380 _resultobj = Py_None;
6381 return _resultobj;
6382}
6383
6384#define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6385static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject * _resultobj;
6387 wxPyDrawnShape * _arg0;
6388 wxDC * _arg1;
6389 PyObject * _argo0 = 0;
6390 PyObject * _argo1 = 0;
6391 char *_kwnames[] = { "self","dc", NULL };
6392
6393 self = self;
6394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
6395 return NULL;
6396 if (_argo0) {
6397 if (_argo0 == Py_None) { _arg0 = NULL; }
6398 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6399 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p.");
6400 return NULL;
6401 }
6402 }
6403 if (_argo1) {
6404 if (_argo1 == Py_None) { _arg1 = NULL; }
6405 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6406 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p.");
6407 return NULL;
6408 }
6409 }
6410{
6411 wxPy_BEGIN_ALLOW_THREADS;
6412 wxPyDrawnShape_base_OnDraw(_arg0,*_arg1);
6413
6414 wxPy_END_ALLOW_THREADS;
6415} Py_INCREF(Py_None);
6416 _resultobj = Py_None;
6417 return _resultobj;
6418}
6419
6420#define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6421static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6422 PyObject * _resultobj;
6423 wxPyDrawnShape * _arg0;
6424 wxDC * _arg1;
6425 PyObject * _argo0 = 0;
6426 PyObject * _argo1 = 0;
6427 char *_kwnames[] = { "self","dc", NULL };
6428
6429 self = self;
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
6431 return NULL;
6432 if (_argo0) {
6433 if (_argo0 == Py_None) { _arg0 = NULL; }
6434 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6435 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p.");
6436 return NULL;
6437 }
6438 }
6439 if (_argo1) {
6440 if (_argo1 == Py_None) { _arg1 = NULL; }
6441 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6442 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p.");
6443 return NULL;
6444 }
6445 }
6446{
6447 wxPy_BEGIN_ALLOW_THREADS;
6448 wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1);
6449
6450 wxPy_END_ALLOW_THREADS;
6451} Py_INCREF(Py_None);
6452 _resultobj = Py_None;
6453 return _resultobj;
6454}
6455
6456#define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6457static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6458 PyObject * _resultobj;
6459 wxPyDrawnShape * _arg0;
6460 wxDC * _arg1;
6461 bool _arg2 = (bool ) FALSE;
6462 PyObject * _argo0 = 0;
6463 PyObject * _argo1 = 0;
6464 int tempbool2 = (int) FALSE;
6465 char *_kwnames[] = { "self","dc","erase", NULL };
6466
6467 self = self;
6468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
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_base_OnDrawBranches. Expected _wxPyDrawnShape_p.");
6474 return NULL;
6475 }
6476 }
6477 if (_argo1) {
6478 if (_argo1 == Py_None) { _arg1 = NULL; }
6479 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6480 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p.");
6481 return NULL;
6482 }
6483 }
6484 _arg2 = (bool ) tempbool2;
6485{
6486 wxPy_BEGIN_ALLOW_THREADS;
6487 wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
6488
6489 wxPy_END_ALLOW_THREADS;
6490} Py_INCREF(Py_None);
6491 _resultobj = Py_None;
6492 return _resultobj;
6493}
6494
6495#define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6496static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6497 PyObject * _resultobj;
6498 wxPyDrawnShape * _arg0;
6499 wxDC * _arg1;
6500 PyObject * _argo0 = 0;
6501 PyObject * _argo1 = 0;
6502 char *_kwnames[] = { "self","dc", NULL };
6503
6504 self = self;
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
6506 return NULL;
6507 if (_argo0) {
6508 if (_argo0 == Py_None) { _arg0 = NULL; }
6509 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6510 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p.");
6511 return NULL;
6512 }
6513 }
6514 if (_argo1) {
6515 if (_argo1 == Py_None) { _arg1 = NULL; }
6516 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6517 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p.");
6518 return NULL;
6519 }
6520 }
6521{
6522 wxPy_BEGIN_ALLOW_THREADS;
6523 wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1);
6524
6525 wxPy_END_ALLOW_THREADS;
6526} Py_INCREF(Py_None);
6527 _resultobj = Py_None;
6528 return _resultobj;
6529}
6530
6531#define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
6532static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
6533 PyObject * _resultobj;
6534 wxPyDrawnShape * _arg0;
6535 wxDC * _arg1;
6536 PyObject * _argo0 = 0;
6537 PyObject * _argo1 = 0;
6538 char *_kwnames[] = { "self","dc", NULL };
6539
6540 self = self;
6541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1))
6542 return NULL;
6543 if (_argo0) {
6544 if (_argo0 == Py_None) { _arg0 = NULL; }
6545 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6546 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p.");
6547 return NULL;
6548 }
6549 }
6550 if (_argo1) {
6551 if (_argo1 == Py_None) { _arg1 = NULL; }
6552 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6553 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p.");
6554 return NULL;
6555 }
6556 }
6557{
6558 wxPy_BEGIN_ALLOW_THREADS;
6559 wxPyDrawnShape_base_OnErase(_arg0,*_arg1);
6560
6561 wxPy_END_ALLOW_THREADS;
6562} Py_INCREF(Py_None);
6563 _resultobj = Py_None;
6564 return _resultobj;
6565}
6566
6567#define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
6568static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject * _resultobj;
6570 wxPyDrawnShape * _arg0;
6571 wxDC * _arg1;
6572 PyObject * _argo0 = 0;
6573 PyObject * _argo1 = 0;
6574 char *_kwnames[] = { "self","dc", NULL };
6575
6576 self = self;
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
6578 return NULL;
6579 if (_argo0) {
6580 if (_argo0 == Py_None) { _arg0 = NULL; }
6581 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6582 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p.");
6583 return NULL;
6584 }
6585 }
6586 if (_argo1) {
6587 if (_argo1 == Py_None) { _arg1 = NULL; }
6588 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6589 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p.");
6590 return NULL;
6591 }
6592 }
6593{
6594 wxPy_BEGIN_ALLOW_THREADS;
6595 wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1);
6596
6597 wxPy_END_ALLOW_THREADS;
6598} Py_INCREF(Py_None);
6599 _resultobj = Py_None;
6600 return _resultobj;
6601}
6602
6603#define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
6604static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
6605 PyObject * _resultobj;
6606 wxPyDrawnShape * _arg0;
6607 wxDC * _arg1;
6608 PyObject * _argo0 = 0;
6609 PyObject * _argo1 = 0;
6610 char *_kwnames[] = { "self","dc", NULL };
6611
6612 self = self;
6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
6614 return NULL;
6615 if (_argo0) {
6616 if (_argo0 == Py_None) { _arg0 = NULL; }
6617 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6618 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p.");
6619 return NULL;
6620 }
6621 }
6622 if (_argo1) {
6623 if (_argo1 == Py_None) { _arg1 = NULL; }
6624 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6625 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p.");
6626 return NULL;
6627 }
6628 }
6629{
6630 wxPy_BEGIN_ALLOW_THREADS;
6631 wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1);
6632
6633 wxPy_END_ALLOW_THREADS;
6634} Py_INCREF(Py_None);
6635 _resultobj = Py_None;
6636 return _resultobj;
6637}
6638
6639#define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6640static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6641 PyObject * _resultobj;
6642 wxPyDrawnShape * _arg0;
6643 double _arg1;
6644 double _arg2;
6645 int _arg3 = (int ) 0;
6646 int _arg4 = (int ) 0;
6647 PyObject * _argo0 = 0;
6648 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6649
6650 self = self;
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6652 return NULL;
6653 if (_argo0) {
6654 if (_argo0 == Py_None) { _arg0 = NULL; }
6655 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6656 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p.");
6657 return NULL;
6658 }
6659 }
6660{
6661 wxPy_BEGIN_ALLOW_THREADS;
6662 wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6663
6664 wxPy_END_ALLOW_THREADS;
6665} Py_INCREF(Py_None);
6666 _resultobj = Py_None;
6667 return _resultobj;
6668}
6669
6670#define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6671static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6672 PyObject * _resultobj;
6673 wxPyDrawnShape * _arg0;
6674 double _arg1;
6675 double _arg2;
6676 int _arg3 = (int ) 0;
6677 int _arg4 = (int ) 0;
6678 PyObject * _argo0 = 0;
6679 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6680
6681 self = self;
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6683 return NULL;
6684 if (_argo0) {
6685 if (_argo0 == Py_None) { _arg0 = NULL; }
6686 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6687 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p.");
6688 return NULL;
6689 }
6690 }
6691{
6692 wxPy_BEGIN_ALLOW_THREADS;
6693 wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6694
6695 wxPy_END_ALLOW_THREADS;
6696} Py_INCREF(Py_None);
6697 _resultobj = Py_None;
6698 return _resultobj;
6699}
6700
6701#define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6702static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
6703 PyObject * _resultobj;
6704 wxPyDrawnShape * _arg0;
6705 double _arg1;
6706 double _arg2;
6707 int _arg3 = (int ) 0;
6708 int _arg4 = (int ) 0;
6709 PyObject * _argo0 = 0;
6710 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6711
6712 self = self;
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6714 return NULL;
6715 if (_argo0) {
6716 if (_argo0 == Py_None) { _arg0 = NULL; }
6717 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6718 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p.");
6719 return NULL;
6720 }
6721 }
6722{
6723 wxPy_BEGIN_ALLOW_THREADS;
6724 wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
6725
6726 wxPy_END_ALLOW_THREADS;
6727} Py_INCREF(Py_None);
6728 _resultobj = Py_None;
6729 return _resultobj;
6730}
6731
6732#define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
6733static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject * _resultobj;
6735 wxPyDrawnShape * _arg0;
6736 double _arg1;
6737 double _arg2;
6738 PyObject * _argo0 = 0;
6739 char *_kwnames[] = { "self","x","y", NULL };
6740
6741 self = self;
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
6743 return NULL;
6744 if (_argo0) {
6745 if (_argo0 == Py_None) { _arg0 = NULL; }
6746 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6747 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p.");
6748 return NULL;
6749 }
6750 }
6751{
6752 wxPy_BEGIN_ALLOW_THREADS;
6753 wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2);
6754
6755 wxPy_END_ALLOW_THREADS;
6756} Py_INCREF(Py_None);
6757 _resultobj = Py_None;
6758 return _resultobj;
6759}
6760
6761#define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6762static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject * _resultobj;
6764 bool _result;
6765 wxPyDrawnShape * _arg0;
6766 wxDC * _arg1;
6767 double _arg2;
6768 double _arg3;
6769 double _arg4;
6770 double _arg5;
6771 bool _arg6 = (bool ) TRUE;
6772 PyObject * _argo0 = 0;
6773 PyObject * _argo1 = 0;
6774 int tempbool6 = (int) TRUE;
6775 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6776
6777 self = self;
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6779 return NULL;
6780 if (_argo0) {
6781 if (_argo0 == Py_None) { _arg0 = NULL; }
6782 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6783 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p.");
6784 return NULL;
6785 }
6786 }
6787 if (_argo1) {
6788 if (_argo1 == Py_None) { _arg1 = NULL; }
6789 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6790 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p.");
6791 return NULL;
6792 }
6793 }
6794 _arg6 = (bool ) tempbool6;
6795{
6796 wxPy_BEGIN_ALLOW_THREADS;
6797 _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6798
6799 wxPy_END_ALLOW_THREADS;
6800} _resultobj = Py_BuildValue("i",_result);
6801 return _resultobj;
6802}
6803
6804#define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
6805static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject * _resultobj;
6807 wxPyDrawnShape * _arg0;
6808 wxDC * _arg1;
6809 double _arg2;
6810 double _arg3;
6811 double _arg4;
6812 double _arg5;
6813 bool _arg6 = (bool ) TRUE;
6814 PyObject * _argo0 = 0;
6815 PyObject * _argo1 = 0;
6816 int tempbool6 = (int) TRUE;
6817 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
6818
6819 self = self;
6820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
6821 return NULL;
6822 if (_argo0) {
6823 if (_argo0 == Py_None) { _arg0 = NULL; }
6824 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6825 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p.");
6826 return NULL;
6827 }
6828 }
6829 if (_argo1) {
6830 if (_argo1 == Py_None) { _arg1 = NULL; }
6831 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6832 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p.");
6833 return NULL;
6834 }
6835 }
6836 _arg6 = (bool ) tempbool6;
6837{
6838 wxPy_BEGIN_ALLOW_THREADS;
6839 wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
6840
6841 wxPy_END_ALLOW_THREADS;
6842} Py_INCREF(Py_None);
6843 _resultobj = Py_None;
6844 return _resultobj;
6845}
6846
6847#define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6848static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6849 PyObject * _resultobj;
6850 wxPyDrawnShape * _arg0;
6851 bool _arg1;
6852 double _arg2;
6853 double _arg3;
6854 int _arg4 = (int ) 0;
6855 int _arg5 = (int ) 0;
6856 PyObject * _argo0 = 0;
6857 int tempbool1;
6858 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
6859
6860 self = self;
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
6862 return NULL;
6863 if (_argo0) {
6864 if (_argo0 == Py_None) { _arg0 = NULL; }
6865 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6866 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p.");
6867 return NULL;
6868 }
6869 }
6870 _arg1 = (bool ) tempbool1;
6871{
6872 wxPy_BEGIN_ALLOW_THREADS;
6873 wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6874
6875 wxPy_END_ALLOW_THREADS;
6876} Py_INCREF(Py_None);
6877 _resultobj = Py_None;
6878 return _resultobj;
6879}
6880
6881#define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6882static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6883 PyObject * _resultobj;
6884 wxPyDrawnShape * _arg0;
6885 double _arg1;
6886 double _arg2;
6887 int _arg3 = (int ) 0;
6888 int _arg4 = (int ) 0;
6889 PyObject * _argo0 = 0;
6890 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6891
6892 self = self;
6893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6894 return NULL;
6895 if (_argo0) {
6896 if (_argo0 == Py_None) { _arg0 = NULL; }
6897 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6898 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p.");
6899 return NULL;
6900 }
6901 }
6902{
6903 wxPy_BEGIN_ALLOW_THREADS;
6904 wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
6905
6906 wxPy_END_ALLOW_THREADS;
6907} Py_INCREF(Py_None);
6908 _resultobj = Py_None;
6909 return _resultobj;
6910}
6911
6912#define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6913static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6914 PyObject * _resultobj;
6915 wxPyDrawnShape * _arg0;
6916 double _arg1;
6917 double _arg2;
6918 int _arg3 = (int ) 0;
6919 int _arg4 = (int ) 0;
6920 PyObject * _argo0 = 0;
6921 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6922
6923 self = self;
6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6925 return NULL;
6926 if (_argo0) {
6927 if (_argo0 == Py_None) { _arg0 = NULL; }
6928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p.");
6930 return NULL;
6931 }
6932 }
6933{
6934 wxPy_BEGIN_ALLOW_THREADS;
6935 wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
6936
6937 wxPy_END_ALLOW_THREADS;
6938} Py_INCREF(Py_None);
6939 _resultobj = Py_None;
6940 return _resultobj;
6941}
6942
6943#define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6944static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
6945 PyObject * _resultobj;
6946 wxPyDrawnShape * _arg0;
6947 bool _arg1;
6948 double _arg2;
6949 double _arg3;
6950 int _arg4 = (int ) 0;
6951 int _arg5 = (int ) 0;
6952 PyObject * _argo0 = 0;
6953 int tempbool1;
6954 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
6955
6956 self = self;
6957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
6958 return NULL;
6959 if (_argo0) {
6960 if (_argo0 == Py_None) { _arg0 = NULL; }
6961 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6962 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragRight. Expected _wxPyDrawnShape_p.");
6963 return NULL;
6964 }
6965 }
6966 _arg1 = (bool ) tempbool1;
6967{
6968 wxPy_BEGIN_ALLOW_THREADS;
6969 wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6970
6971 wxPy_END_ALLOW_THREADS;
6972} Py_INCREF(Py_None);
6973 _resultobj = Py_None;
6974 return _resultobj;
6975}
6976
6977#define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
6978static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject * _resultobj;
6980 wxPyDrawnShape * _arg0;
6981 double _arg1;
6982 double _arg2;
6983 int _arg3 = (int ) 0;
6984 int _arg4 = (int ) 0;
6985 PyObject * _argo0 = 0;
6986 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
6987
6988 self = self;
6989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
6990 return NULL;
6991 if (_argo0) {
6992 if (_argo0 == Py_None) { _arg0 = NULL; }
6993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p.");
6995 return NULL;
6996 }
6997 }
6998{
6999 wxPy_BEGIN_ALLOW_THREADS;
7000 wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7001
7002 wxPy_END_ALLOW_THREADS;
7003} Py_INCREF(Py_None);
7004 _resultobj = Py_None;
7005 return _resultobj;
7006}
7007
7008#define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7009static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7010 PyObject * _resultobj;
7011 wxPyDrawnShape * _arg0;
7012 double _arg1;
7013 double _arg2;
7014 int _arg3 = (int ) 0;
7015 int _arg4 = (int ) 0;
7016 PyObject * _argo0 = 0;
7017 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7018
7019 self = self;
7020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7021 return NULL;
7022 if (_argo0) {
7023 if (_argo0 == Py_None) { _arg0 = NULL; }
7024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p.");
7026 return NULL;
7027 }
7028 }
7029{
7030 wxPy_BEGIN_ALLOW_THREADS;
7031 wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7032
7033 wxPy_END_ALLOW_THREADS;
7034} Py_INCREF(Py_None);
7035 _resultobj = Py_None;
7036 return _resultobj;
7037}
7038
7039#define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7040static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7041 PyObject * _resultobj;
7042 wxPyDrawnShape * _arg0;
7043 wxDC * _arg1;
7044 double _arg2;
7045 double _arg3;
7046 double _arg4;
7047 double _arg5;
7048 PyObject * _argo0 = 0;
7049 PyObject * _argo1 = 0;
7050 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7051
7052 self = self;
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7054 return NULL;
7055 if (_argo0) {
7056 if (_argo0 == Py_None) { _arg0 = NULL; }
7057 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7058 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p.");
7059 return NULL;
7060 }
7061 }
7062 if (_argo1) {
7063 if (_argo1 == Py_None) { _arg1 = NULL; }
7064 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7065 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p.");
7066 return NULL;
7067 }
7068 }
7069{
7070 wxPy_BEGIN_ALLOW_THREADS;
7071 wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7072
7073 wxPy_END_ALLOW_THREADS;
7074} Py_INCREF(Py_None);
7075 _resultobj = Py_None;
7076 return _resultobj;
7077}
7078
7079#define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7080static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7081 PyObject * _resultobj;
7082 wxPyDrawnShape * _arg0;
7083 wxDC * _arg1;
7084 PyObject * _argo0 = 0;
7085 PyObject * _argo1 = 0;
7086 char *_kwnames[] = { "self","dc", NULL };
7087
7088 self = self;
7089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7090 return NULL;
7091 if (_argo0) {
7092 if (_argo0 == Py_None) { _arg0 = NULL; }
7093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p.");
7095 return NULL;
7096 }
7097 }
7098 if (_argo1) {
7099 if (_argo1 == Py_None) { _arg1 = NULL; }
7100 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7101 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7102 return NULL;
7103 }
7104 }
7105{
7106 wxPy_BEGIN_ALLOW_THREADS;
7107 wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1);
7108
7109 wxPy_END_ALLOW_THREADS;
7110} Py_INCREF(Py_None);
7111 _resultobj = Py_None;
7112 return _resultobj;
7113}
7114
7115#define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7116static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7117 PyObject * _resultobj;
7118 wxPyDrawnShape * _arg0;
7119 wxDC * _arg1;
7120 PyObject * _argo0 = 0;
7121 PyObject * _argo1 = 0;
7122 char *_kwnames[] = { "self","dc", NULL };
7123
7124 self = self;
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7126 return NULL;
7127 if (_argo0) {
7128 if (_argo0 == Py_None) { _arg0 = NULL; }
7129 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7130 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p.");
7131 return NULL;
7132 }
7133 }
7134 if (_argo1) {
7135 if (_argo1 == Py_None) { _arg1 = NULL; }
7136 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7137 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7138 return NULL;
7139 }
7140 }
7141{
7142 wxPy_BEGIN_ALLOW_THREADS;
7143 wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1);
7144
7145 wxPy_END_ALLOW_THREADS;
7146} Py_INCREF(Py_None);
7147 _resultobj = Py_None;
7148 return _resultobj;
7149}
7150
7151#define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7152static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7153 PyObject * _resultobj;
7154 wxPyDrawnShape * _arg0;
7155 wxDC * _arg1;
7156 bool _arg2 = (bool ) TRUE;
7157 PyObject * _argo0 = 0;
7158 PyObject * _argo1 = 0;
7159 int tempbool2 = (int) TRUE;
7160 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7161
7162 self = self;
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7164 return NULL;
7165 if (_argo0) {
7166 if (_argo0 == Py_None) { _arg0 = NULL; }
7167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p.");
7169 return NULL;
7170 }
7171 }
7172 if (_argo1) {
7173 if (_argo1 == Py_None) { _arg1 = NULL; }
7174 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7175 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p.");
7176 return NULL;
7177 }
7178 }
7179 _arg2 = (bool ) tempbool2;
7180{
7181 wxPy_BEGIN_ALLOW_THREADS;
7182 wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7183
7184 wxPy_END_ALLOW_THREADS;
7185} Py_INCREF(Py_None);
7186 _resultobj = Py_None;
7187 return _resultobj;
7188}
7189
7190#define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7191static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject * _resultobj;
7193 wxPyDrawnShape * _arg0;
2348eaee 7194 wxPyControlPoint * _arg1;
e91a9dfc
RD
7195 bool _arg2;
7196 double _arg3;
7197 double _arg4;
7198 int _arg5 = (int ) 0;
7199 int _arg6 = (int ) 0;
7200 PyObject * _argo0 = 0;
7201 PyObject * _argo1 = 0;
7202 int tempbool2;
7203 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7204
7205 self = self;
7206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7207 return NULL;
7208 if (_argo0) {
7209 if (_argo0 == Py_None) { _arg0 = NULL; }
7210 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7211 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p.");
7212 return NULL;
7213 }
7214 }
7215 if (_argo1) {
7216 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
7217 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7218 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
7219 return NULL;
7220 }
7221 }
7222 _arg2 = (bool ) tempbool2;
7223{
7224 wxPy_BEGIN_ALLOW_THREADS;
7225 wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7226
7227 wxPy_END_ALLOW_THREADS;
7228} Py_INCREF(Py_None);
7229 _resultobj = Py_None;
7230 return _resultobj;
7231}
7232
7233#define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7234static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7235 PyObject * _resultobj;
7236 wxPyDrawnShape * _arg0;
2348eaee 7237 wxPyControlPoint * _arg1;
e91a9dfc
RD
7238 double _arg2;
7239 double _arg3;
7240 int _arg4 = (int ) 0;
7241 int _arg5 = (int ) 0;
7242 PyObject * _argo0 = 0;
7243 PyObject * _argo1 = 0;
7244 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7245
7246 self = self;
7247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7248 return NULL;
7249 if (_argo0) {
7250 if (_argo0 == Py_None) { _arg0 = NULL; }
7251 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7252 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p.");
7253 return NULL;
7254 }
7255 }
7256 if (_argo1) {
7257 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
7258 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7259 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
7260 return NULL;
7261 }
7262 }
7263{
7264 wxPy_BEGIN_ALLOW_THREADS;
7265 wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7266
7267 wxPy_END_ALLOW_THREADS;
7268} Py_INCREF(Py_None);
7269 _resultobj = Py_None;
7270 return _resultobj;
7271}
7272
7273#define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7274static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject * _resultobj;
7276 wxPyDrawnShape * _arg0;
2348eaee 7277 wxPyControlPoint * _arg1;
e91a9dfc
RD
7278 double _arg2;
7279 double _arg3;
7280 int _arg4 = (int ) 0;
7281 int _arg5 = (int ) 0;
7282 PyObject * _argo0 = 0;
7283 PyObject * _argo1 = 0;
7284 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7285
7286 self = self;
7287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7288 return NULL;
7289 if (_argo0) {
7290 if (_argo0 == Py_None) { _arg0 = NULL; }
7291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p.");
7293 return NULL;
7294 }
7295 }
7296 if (_argo1) {
7297 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
7298 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
7299 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
7300 return NULL;
7301 }
7302 }
7303{
7304 wxPy_BEGIN_ALLOW_THREADS;
7305 wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7306
7307 wxPy_END_ALLOW_THREADS;
7308} Py_INCREF(Py_None);
7309 _resultobj = Py_None;
7310 return _resultobj;
7311}
7312
7313#define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7314static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject * _resultobj;
7316 wxPyDrawnShape * _arg0;
7317 double _arg1;
7318 double _arg2;
7319 PyObject * _argo0 = 0;
7320 char *_kwnames[] = { "self","w","h", NULL };
7321
7322 self = self;
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7324 return NULL;
7325 if (_argo0) {
7326 if (_argo0 == Py_None) { _arg0 = NULL; }
7327 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7328 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p.");
7329 return NULL;
7330 }
7331 }
7332{
7333 wxPy_BEGIN_ALLOW_THREADS;
7334 wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7335
7336 wxPy_END_ALLOW_THREADS;
7337} Py_INCREF(Py_None);
7338 _resultobj = Py_None;
7339 return _resultobj;
7340}
7341
7342#define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7343static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7344 PyObject * _resultobj;
7345 wxPyDrawnShape * _arg0;
7346 double _arg1;
7347 double _arg2;
7348 PyObject * _argo0 = 0;
7349 char *_kwnames[] = { "self","w","h", NULL };
7350
7351 self = self;
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7353 return NULL;
7354 if (_argo0) {
7355 if (_argo0 == Py_None) { _arg0 = NULL; }
7356 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
7357 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p.");
7358 return NULL;
7359 }
7360 }
7361{
7362 wxPy_BEGIN_ALLOW_THREADS;
7363 wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2);
7364
7365 wxPy_END_ALLOW_THREADS;
7366} Py_INCREF(Py_None);
7367 _resultobj = Py_None;
7368 return _resultobj;
7369}
7370
9416aa89
RD
7371static void *SwigwxOGLConstraintTowxObject(void *ptr) {
7372 wxOGLConstraint *src;
7373 wxObject *dest;
7374 src = (wxOGLConstraint *) ptr;
7375 dest = (wxObject *) src;
7376 return (void *) dest;
7377}
7378
e91a9dfc 7379static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) {
99ab9f3b 7380 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
e91a9dfc
RD
7381 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
7382 delete list;
7383 return rv;
7384 }
7385
7386static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7387 PyObject * _resultobj;
7388 wxOGLConstraint * _result;
7389 int _arg0;
7390 wxPyShape * _arg1;
7391 PyObject * _arg2;
7392 PyObject * _argo1 = 0;
7393 PyObject * _obj2 = 0;
7394 char *_kwnames[] = { "type","constraining","constrained", NULL };
7395 char _ptemp[128];
7396
7397 self = self;
7398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2))
7399 return NULL;
7400 if (_argo1) {
7401 if (_argo1 == Py_None) { _arg1 = NULL; }
7402 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7403 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p.");
7404 return NULL;
7405 }
7406 }
7407{
7408 _arg2 = _obj2;
7409}
7410{
7411 wxPy_BEGIN_ALLOW_THREADS;
7412 _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2);
7413
7414 wxPy_END_ALLOW_THREADS;
7415} if (_result) {
7416 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
7417 _resultobj = Py_BuildValue("s",_ptemp);
7418 } else {
7419 Py_INCREF(Py_None);
7420 _resultobj = Py_None;
7421 }
7422 return _resultobj;
7423}
7424
e91a9dfc
RD
7425#define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate())
7426static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
7427 PyObject * _resultobj;
7428 bool _result;
7429 wxOGLConstraint * _arg0;
7430 PyObject * _argo0 = 0;
7431 char *_kwnames[] = { "self", NULL };
7432
7433 self = self;
7434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0))
7435 return NULL;
7436 if (_argo0) {
7437 if (_argo0 == Py_None) { _arg0 = NULL; }
7438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p.");
7440 return NULL;
7441 }
7442 }
7443{
7444 wxPy_BEGIN_ALLOW_THREADS;
7445 _result = (bool )wxOGLConstraint_Evaluate(_arg0);
7446
7447 wxPy_END_ALLOW_THREADS;
7448} _resultobj = Py_BuildValue("i",_result);
7449 return _resultobj;
7450}
7451
7452#define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1))
7453static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject * _resultobj;
7455 wxOGLConstraint * _arg0;
7456 double _arg1;
7457 double _arg2;
7458 PyObject * _argo0 = 0;
7459 char *_kwnames[] = { "self","x","y", NULL };
7460
7461 self = self;
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2))
7463 return NULL;
7464 if (_argo0) {
7465 if (_argo0 == Py_None) { _arg0 = NULL; }
7466 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7467 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p.");
7468 return NULL;
7469 }
7470 }
7471{
7472 wxPy_BEGIN_ALLOW_THREADS;
7473 wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2);
7474
7475 wxPy_END_ALLOW_THREADS;
7476} Py_INCREF(Py_None);
7477 _resultobj = Py_None;
7478 return _resultobj;
7479}
7480
7481#define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1))
7482static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject * _resultobj;
7484 bool _result;
7485 wxOGLConstraint * _arg0;
7486 double _arg1;
7487 double _arg2;
7488 PyObject * _argo0 = 0;
7489 char *_kwnames[] = { "self","a","b", NULL };
7490
7491 self = self;
7492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2))
7493 return NULL;
7494 if (_argo0) {
7495 if (_argo0 == Py_None) { _arg0 = NULL; }
7496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
7497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p.");
7498 return NULL;
7499 }
7500 }
7501{
7502 wxPy_BEGIN_ALLOW_THREADS;
7503 _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2);
7504
7505 wxPy_END_ALLOW_THREADS;
7506} _resultobj = Py_BuildValue("i",_result);
7507 return _resultobj;
7508}
7509
7510static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) {
7511 wxPyCompositeShape *src;
7512 wxPyRectangleShape *dest;
7513 src = (wxPyCompositeShape *) ptr;
7514 dest = (wxPyRectangleShape *) src;
7515 return (void *) dest;
7516}
7517
7518static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) {
7519 wxPyCompositeShape *src;
7520 wxPyShape *dest;
7521 src = (wxPyCompositeShape *) ptr;
7522 dest = (wxPyShape *) src;
7523 return (void *) dest;
7524}
7525
7526static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) {
7527 wxPyCompositeShape *src;
7528 wxPyShapeEvtHandler *dest;
7529 src = (wxPyCompositeShape *) ptr;
7530 dest = (wxPyShapeEvtHandler *) src;
7531 return (void *) dest;
7532}
7533
9416aa89
RD
7534static void *SwigwxPyCompositeShapeTowxObject(void *ptr) {
7535 wxPyCompositeShape *src;
7536 wxObject *dest;
7537 src = (wxPyCompositeShape *) ptr;
7538 dest = (wxObject *) src;
7539 return (void *) dest;
7540}
7541
e91a9dfc
RD
7542#define new_wxPyCompositeShape() (new wxPyCompositeShape())
7543static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject * _resultobj;
7545 wxPyCompositeShape * _result;
7546 char *_kwnames[] = { NULL };
7547 char _ptemp[128];
7548
7549 self = self;
7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames))
7551 return NULL;
7552{
7553 wxPy_BEGIN_ALLOW_THREADS;
7554 _result = (wxPyCompositeShape *)new_wxPyCompositeShape();
7555
7556 wxPy_END_ALLOW_THREADS;
7557} if (_result) {
7558 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p");
7559 _resultobj = Py_BuildValue("s",_ptemp);
7560 } else {
7561 Py_INCREF(Py_None);
7562 _resultobj = Py_None;
7563 }
7564 return _resultobj;
7565}
7566
0122b7e3
RD
7567#define wxPyCompositeShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
7568static PyObject *_wrap_wxPyCompositeShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
7569 PyObject * _resultobj;
7570 wxPyCompositeShape * _arg0;
7571 PyObject * _arg1;
f6bcfd97 7572 PyObject * _arg2;
e91a9dfc
RD
7573 PyObject * _argo0 = 0;
7574 PyObject * _obj1 = 0;
f6bcfd97
BP
7575 PyObject * _obj2 = 0;
7576 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
7577
7578 self = self;
0122b7e3 7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyCompositeShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
7580 return NULL;
7581 if (_argo0) {
7582 if (_argo0 == Py_None) { _arg0 = NULL; }
7583 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
0122b7e3 7584 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setCallbackInfo. Expected _wxPyCompositeShape_p.");
e91a9dfc
RD
7585 return NULL;
7586 }
7587 }
7588{
7589 _arg1 = _obj1;
7590}
f6bcfd97
BP
7591{
7592 _arg2 = _obj2;
7593}
e91a9dfc
RD
7594{
7595 wxPy_BEGIN_ALLOW_THREADS;
0122b7e3 7596 wxPyCompositeShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc
RD
7597
7598 wxPy_END_ALLOW_THREADS;
7599} Py_INCREF(Py_None);
7600 _resultobj = Py_None;
7601 return _resultobj;
7602}
7603
7604#define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1))
7605static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject * _resultobj;
7607 wxPyCompositeShape * _arg0;
7608 wxPyShape * _arg1;
7609 wxPyShape * _arg2 = (wxPyShape *) NULL;
7610 PyObject * _argo0 = 0;
7611 PyObject * _argo1 = 0;
7612 PyObject * _argo2 = 0;
7613 char *_kwnames[] = { "self","child","addAfter", NULL };
7614
7615 self = self;
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2))
7617 return NULL;
7618 if (_argo0) {
7619 if (_argo0 == Py_None) { _arg0 = NULL; }
7620 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7621 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p.");
7622 return NULL;
7623 }
7624 }
7625 if (_argo1) {
7626 if (_argo1 == Py_None) { _arg1 = NULL; }
7627 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7628 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7629 return NULL;
7630 }
7631 }
7632 if (_argo2) {
7633 if (_argo2 == Py_None) { _arg2 = NULL; }
7634 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7635 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
7636 return NULL;
7637 }
7638 }
7639{
7640 wxPy_BEGIN_ALLOW_THREADS;
7641 wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2);
7642
7643 wxPy_END_ALLOW_THREADS;
7644} Py_INCREF(Py_None);
7645 _resultobj = Py_None;
7646 return _resultobj;
7647}
7648
7649#define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0))
7650static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject * _resultobj;
7652 wxOGLConstraint * _result;
7653 wxPyCompositeShape * _arg0;
7654 wxOGLConstraint * _arg1;
7655 PyObject * _argo0 = 0;
7656 PyObject * _argo1 = 0;
7657 char *_kwnames[] = { "self","constraint", NULL };
e91a9dfc
RD
7658
7659 self = self;
7660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1))
7661 return NULL;
7662 if (_argo0) {
7663 if (_argo0 == Py_None) { _arg0 = NULL; }
7664 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7665 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p.");
7666 return NULL;
7667 }
7668 }
7669 if (_argo1) {
7670 if (_argo1 == Py_None) { _arg1 = NULL; }
7671 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7672 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p.");
7673 return NULL;
7674 }
7675 }
7676{
7677 wxPy_BEGIN_ALLOW_THREADS;
7678 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1);
7679
7680 wxPy_END_ALLOW_THREADS;
9416aa89 7681}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
7682 return _resultobj;
7683}
7684
714d23b4 7685static wxOGLConstraint * wxPyCompositeShape_AddConstrainedShapes(wxPyCompositeShape *self,int type,wxPyShape * constraining,PyObject * constrained) {
99ab9f3b 7686 wxList* list = wxPy_wxListHelper(constrained, "_wxPyShape_p");
714d23b4
RD
7687 wxOGLConstraint* rv = self->AddConstraint(type, constraining, *list);
7688 delete list;
7689 return rv;
7690 }
7691static PyObject *_wrap_wxPyCompositeShape_AddConstrainedShapes(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject * _resultobj;
7693 wxOGLConstraint * _result;
7694 wxPyCompositeShape * _arg0;
7695 int _arg1;
7696 wxPyShape * _arg2;
7697 PyObject * _arg3;
7698 PyObject * _argo0 = 0;
7699 PyObject * _argo2 = 0;
7700 PyObject * _obj3 = 0;
7701 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
714d23b4
RD
7702
7703 self = self;
7704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddConstrainedShapes",_kwnames,&_argo0,&_arg1,&_argo2,&_obj3))
7705 return NULL;
7706 if (_argo0) {
7707 if (_argo0 == Py_None) { _arg0 = NULL; }
7708 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7709 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyCompositeShape_p.");
7710 return NULL;
7711 }
7712 }
7713 if (_argo2) {
7714 if (_argo2 == Py_None) { _arg2 = NULL; }
7715 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7716 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddConstrainedShapes. Expected _wxPyShape_p.");
7717 return NULL;
7718 }
7719 }
7720{
7721 _arg3 = _obj3;
7722}
7723{
7724 wxPy_BEGIN_ALLOW_THREADS;
7725 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstrainedShapes(_arg0,_arg1,_arg2,_arg3);
7726
7727 wxPy_END_ALLOW_THREADS;
9416aa89 7728}{ _resultobj = wxPyMake_wxObject(_result); }
714d23b4
RD
7729 return _resultobj;
7730}
7731
e91a9dfc
RD
7732#define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2))
7733static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7734 PyObject * _resultobj;
7735 wxOGLConstraint * _result;
7736 wxPyCompositeShape * _arg0;
7737 int _arg1;
7738 wxPyShape * _arg2;
7739 wxPyShape * _arg3;
7740 PyObject * _argo0 = 0;
7741 PyObject * _argo2 = 0;
7742 PyObject * _argo3 = 0;
7743 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
e91a9dfc
RD
7744
7745 self = self;
7746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
7747 return NULL;
7748 if (_argo0) {
7749 if (_argo0 == Py_None) { _arg0 = NULL; }
7750 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7751 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p.");
7752 return NULL;
7753 }
7754 }
7755 if (_argo2) {
7756 if (_argo2 == Py_None) { _arg2 = NULL; }
7757 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
7758 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7759 return NULL;
7760 }
7761 }
7762 if (_argo3) {
7763 if (_argo3 == Py_None) { _arg3 = NULL; }
7764 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) {
7765 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
7766 return NULL;
7767 }
7768 }
7769{
7770 wxPy_BEGIN_ALLOW_THREADS;
7771 _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3);
7772
7773 wxPy_END_ALLOW_THREADS;
9416aa89 7774}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
7775 return _resultobj;
7776}
7777
7778#define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
7779static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject * _resultobj;
7781 wxPyCompositeShape * _arg0;
7782 PyObject * _argo0 = 0;
7783 char *_kwnames[] = { "self", NULL };
7784
7785 self = self;
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0))
7787 return NULL;
7788 if (_argo0) {
7789 if (_argo0 == Py_None) { _arg0 = NULL; }
7790 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7791 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p.");
7792 return NULL;
7793 }
7794 }
7795{
7796 wxPy_BEGIN_ALLOW_THREADS;
7797 wxPyCompositeShape_CalculateSize(_arg0);
7798
7799 wxPy_END_ALLOW_THREADS;
7800} Py_INCREF(Py_None);
7801 _resultobj = Py_None;
7802 return _resultobj;
7803}
7804
7805#define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0))
7806static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
7807 PyObject * _resultobj;
7808 bool _result;
7809 wxPyCompositeShape * _arg0;
7810 wxPyDivisionShape * _arg1;
7811 PyObject * _argo0 = 0;
7812 PyObject * _argo1 = 0;
7813 char *_kwnames[] = { "self","division", NULL };
7814
7815 self = self;
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1))
7817 return NULL;
7818 if (_argo0) {
7819 if (_argo0 == Py_None) { _arg0 = NULL; }
7820 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7821 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p.");
7822 return NULL;
7823 }
7824 }
7825 if (_argo1) {
7826 if (_argo1 == Py_None) { _arg1 = NULL; }
7827 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
7828 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p.");
7829 return NULL;
7830 }
7831 }
7832{
7833 wxPy_BEGIN_ALLOW_THREADS;
7834 _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1);
7835
7836 wxPy_END_ALLOW_THREADS;
7837} _resultobj = Py_BuildValue("i",_result);
7838 return _resultobj;
7839}
7840
7841#define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0))
7842static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
7843 PyObject * _resultobj;
7844 wxPyCompositeShape * _arg0;
7845 wxOGLConstraint * _arg1;
7846 PyObject * _argo0 = 0;
7847 PyObject * _argo1 = 0;
7848 char *_kwnames[] = { "self","constraint", NULL };
7849
7850 self = self;
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1))
7852 return NULL;
7853 if (_argo0) {
7854 if (_argo0 == Py_None) { _arg0 = NULL; }
7855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p.");
7857 return NULL;
7858 }
7859 }
7860 if (_argo1) {
7861 if (_argo1 == Py_None) { _arg1 = NULL; }
7862 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
7863 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p.");
7864 return NULL;
7865 }
7866 }
7867{
7868 wxPy_BEGIN_ALLOW_THREADS;
7869 wxPyCompositeShape_DeleteConstraint(_arg0,_arg1);
7870
7871 wxPy_END_ALLOW_THREADS;
7872} Py_INCREF(Py_None);
7873 _resultobj = Py_None;
7874 return _resultobj;
7875}
7876
7877#define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0))
7878static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
7879 PyObject * _resultobj;
7880 wxPyCompositeShape * _arg0;
7881 wxPyShape * _arg1;
7882 PyObject * _argo0 = 0;
7883 PyObject * _argo1 = 0;
7884 char *_kwnames[] = { "self","child", NULL };
7885
7886 self = self;
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1))
7888 return NULL;
7889 if (_argo0) {
7890 if (_argo0 == Py_None) { _arg0 = NULL; }
7891 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7892 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p.");
7893 return NULL;
7894 }
7895 }
7896 if (_argo1) {
7897 if (_argo1 == Py_None) { _arg1 = NULL; }
7898 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
7899 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p.");
7900 return NULL;
7901 }
7902 }
7903{
7904 wxPy_BEGIN_ALLOW_THREADS;
7905 wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1);
7906
7907 wxPy_END_ALLOW_THREADS;
7908} Py_INCREF(Py_None);
7909 _resultobj = Py_None;
7910 return _resultobj;
7911}
7912
7913#define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage())
7914static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7915 PyObject * _resultobj;
7916 wxPyShape * _result;
7917 wxPyCompositeShape * _arg0;
7918 PyObject * _argo0 = 0;
7919 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
7920
7921 self = self;
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0))
7923 return NULL;
7924 if (_argo0) {
7925 if (_argo0 == Py_None) { _arg0 = NULL; }
7926 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7927 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p.");
7928 return NULL;
7929 }
7930 }
7931{
7932 wxPy_BEGIN_ALLOW_THREADS;
7933 _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0);
7934
7935 wxPy_END_ALLOW_THREADS;
9416aa89 7936}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
7937 return _resultobj;
7938}
7939
7940static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) {
7941 wxList& list = self->GetConstraints();
7942 return wxPy_ConvertList(&list, "wxOGLConstraint");
7943 }
7944static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
7945 PyObject * _resultobj;
7946 PyObject * _result;
7947 wxPyCompositeShape * _arg0;
7948 PyObject * _argo0 = 0;
7949 char *_kwnames[] = { "self", NULL };
7950
7951 self = self;
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0))
7953 return NULL;
7954 if (_argo0) {
7955 if (_argo0 == Py_None) { _arg0 = NULL; }
7956 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7957 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p.");
7958 return NULL;
7959 }
7960 }
7961{
7962 wxPy_BEGIN_ALLOW_THREADS;
7963 _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0);
7964
7965 wxPy_END_ALLOW_THREADS;
7966}{
7967 _resultobj = _result;
7968}
7969 return _resultobj;
7970}
7971
7972static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) {
7973 wxList& list = self->GetDivisions();
7974 return wxPy_ConvertList(&list, "wxPyDivisionShape");
7975 }
7976static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
7977 PyObject * _resultobj;
7978 PyObject * _result;
7979 wxPyCompositeShape * _arg0;
7980 PyObject * _argo0 = 0;
7981 char *_kwnames[] = { "self", NULL };
7982
7983 self = self;
7984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0))
7985 return NULL;
7986 if (_argo0) {
7987 if (_argo0 == Py_None) { _arg0 = NULL; }
7988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p.");
7990 return NULL;
7991 }
7992 }
7993{
7994 wxPy_BEGIN_ALLOW_THREADS;
7995 _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0);
7996
7997 wxPy_END_ALLOW_THREADS;
7998}{
7999 _resultobj = _result;
8000}
8001 return _resultobj;
8002}
8003
8004#define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer())
8005static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
8006 PyObject * _resultobj;
8007 wxPyCompositeShape * _arg0;
8008 PyObject * _argo0 = 0;
8009 char *_kwnames[] = { "self", NULL };
8010
8011 self = self;
8012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0))
8013 return NULL;
8014 if (_argo0) {
8015 if (_argo0 == Py_None) { _arg0 = NULL; }
8016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p.");
8018 return NULL;
8019 }
8020 }
8021{
8022 wxPy_BEGIN_ALLOW_THREADS;
8023 wxPyCompositeShape_MakeContainer(_arg0);
8024
8025 wxPy_END_ALLOW_THREADS;
8026} Py_INCREF(Py_None);
8027 _resultobj = Py_None;
8028 return _resultobj;
8029}
8030
8031#define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute())
8032static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
8033 PyObject * _resultobj;
8034 bool _result;
8035 wxPyCompositeShape * _arg0;
8036 PyObject * _argo0 = 0;
8037 char *_kwnames[] = { "self", NULL };
8038
8039 self = self;
8040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0))
8041 return NULL;
8042 if (_argo0) {
8043 if (_argo0 == Py_None) { _arg0 = NULL; }
8044 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8045 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p.");
8046 return NULL;
8047 }
8048 }
8049{
8050 wxPy_BEGIN_ALLOW_THREADS;
8051 _result = (bool )wxPyCompositeShape_Recompute(_arg0);
8052
8053 wxPy_END_ALLOW_THREADS;
8054} _resultobj = Py_BuildValue("i",_result);
8055 return _resultobj;
8056}
8057
8058#define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
8059static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
8060 PyObject * _resultobj;
8061 wxPyCompositeShape * _arg0;
8062 wxPyShape * _arg1;
8063 PyObject * _argo0 = 0;
8064 PyObject * _argo1 = 0;
8065 char *_kwnames[] = { "self","child", NULL };
8066
8067 self = self;
8068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1))
8069 return NULL;
8070 if (_argo0) {
8071 if (_argo0 == Py_None) { _arg0 = NULL; }
8072 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8073 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p.");
8074 return NULL;
8075 }
8076 }
8077 if (_argo1) {
8078 if (_argo1 == Py_None) { _arg1 = NULL; }
8079 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
8080 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p.");
8081 return NULL;
8082 }
8083 }
8084{
8085 wxPy_BEGIN_ALLOW_THREADS;
8086 wxPyCompositeShape_RemoveChild(_arg0,_arg1);
8087
8088 wxPy_END_ALLOW_THREADS;
8089} Py_INCREF(Py_None);
8090 _resultobj = Py_None;
8091 return _resultobj;
8092}
8093
8094#define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
8095static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
8096 PyObject * _resultobj;
8097 wxPyCompositeShape * _arg0;
8098 PyObject * _argo0 = 0;
8099 char *_kwnames[] = { "self", NULL };
8100
8101 self = self;
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0))
8103 return NULL;
8104 if (_argo0) {
8105 if (_argo0 == Py_None) { _arg0 = NULL; }
8106 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8107 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p.");
8108 return NULL;
8109 }
8110 }
8111{
8112 wxPy_BEGIN_ALLOW_THREADS;
8113 wxPyCompositeShape_base_OnDelete(_arg0);
8114
8115 wxPy_END_ALLOW_THREADS;
8116} Py_INCREF(Py_None);
8117 _resultobj = Py_None;
8118 return _resultobj;
8119}
8120
8121#define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
8122static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8123 PyObject * _resultobj;
8124 wxPyCompositeShape * _arg0;
8125 wxDC * _arg1;
8126 PyObject * _argo0 = 0;
8127 PyObject * _argo1 = 0;
8128 char *_kwnames[] = { "self","dc", NULL };
8129
8130 self = self;
8131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
8132 return NULL;
8133 if (_argo0) {
8134 if (_argo0 == Py_None) { _arg0 = NULL; }
8135 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8136 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p.");
8137 return NULL;
8138 }
8139 }
8140 if (_argo1) {
8141 if (_argo1 == Py_None) { _arg1 = NULL; }
8142 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8143 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p.");
8144 return NULL;
8145 }
8146 }
8147{
8148 wxPy_BEGIN_ALLOW_THREADS;
8149 wxPyCompositeShape_base_OnDraw(_arg0,*_arg1);
8150
8151 wxPy_END_ALLOW_THREADS;
8152} Py_INCREF(Py_None);
8153 _resultobj = Py_None;
8154 return _resultobj;
8155}
8156
8157#define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
8158static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8159 PyObject * _resultobj;
8160 wxPyCompositeShape * _arg0;
8161 wxDC * _arg1;
8162 PyObject * _argo0 = 0;
8163 PyObject * _argo1 = 0;
8164 char *_kwnames[] = { "self","dc", NULL };
8165
8166 self = self;
8167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
8168 return NULL;
8169 if (_argo0) {
8170 if (_argo0 == Py_None) { _arg0 = NULL; }
8171 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8172 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p.");
8173 return NULL;
8174 }
8175 }
8176 if (_argo1) {
8177 if (_argo1 == Py_None) { _arg1 = NULL; }
8178 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8179 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p.");
8180 return NULL;
8181 }
8182 }
8183{
8184 wxPy_BEGIN_ALLOW_THREADS;
8185 wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1);
8186
8187 wxPy_END_ALLOW_THREADS;
8188} Py_INCREF(Py_None);
8189 _resultobj = Py_None;
8190 return _resultobj;
8191}
8192
8193#define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
8194static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8195 PyObject * _resultobj;
8196 wxPyCompositeShape * _arg0;
8197 wxDC * _arg1;
8198 bool _arg2 = (bool ) FALSE;
8199 PyObject * _argo0 = 0;
8200 PyObject * _argo1 = 0;
8201 int tempbool2 = (int) FALSE;
8202 char *_kwnames[] = { "self","dc","erase", NULL };
8203
8204 self = self;
8205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
8206 return NULL;
8207 if (_argo0) {
8208 if (_argo0 == Py_None) { _arg0 = NULL; }
8209 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8210 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p.");
8211 return NULL;
8212 }
8213 }
8214 if (_argo1) {
8215 if (_argo1 == Py_None) { _arg1 = NULL; }
8216 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8217 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p.");
8218 return NULL;
8219 }
8220 }
8221 _arg2 = (bool ) tempbool2;
8222{
8223 wxPy_BEGIN_ALLOW_THREADS;
8224 wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
8225
8226 wxPy_END_ALLOW_THREADS;
8227} Py_INCREF(Py_None);
8228 _resultobj = Py_None;
8229 return _resultobj;
8230}
8231
8232#define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
8233static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8234 PyObject * _resultobj;
8235 wxPyCompositeShape * _arg0;
8236 wxDC * _arg1;
8237 PyObject * _argo0 = 0;
8238 PyObject * _argo1 = 0;
8239 char *_kwnames[] = { "self","dc", NULL };
8240
8241 self = self;
8242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
8243 return NULL;
8244 if (_argo0) {
8245 if (_argo0 == Py_None) { _arg0 = NULL; }
8246 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8247 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p.");
8248 return NULL;
8249 }
8250 }
8251 if (_argo1) {
8252 if (_argo1 == Py_None) { _arg1 = NULL; }
8253 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8254 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p.");
8255 return NULL;
8256 }
8257 }
8258{
8259 wxPy_BEGIN_ALLOW_THREADS;
8260 wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1);
8261
8262 wxPy_END_ALLOW_THREADS;
8263} Py_INCREF(Py_None);
8264 _resultobj = Py_None;
8265 return _resultobj;
8266}
8267
8268#define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
8269static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8270 PyObject * _resultobj;
8271 wxPyCompositeShape * _arg0;
8272 wxDC * _arg1;
8273 PyObject * _argo0 = 0;
8274 PyObject * _argo1 = 0;
8275 char *_kwnames[] = { "self","dc", NULL };
8276
8277 self = self;
8278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1))
8279 return NULL;
8280 if (_argo0) {
8281 if (_argo0 == Py_None) { _arg0 = NULL; }
8282 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8283 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p.");
8284 return NULL;
8285 }
8286 }
8287 if (_argo1) {
8288 if (_argo1 == Py_None) { _arg1 = NULL; }
8289 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8290 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p.");
8291 return NULL;
8292 }
8293 }
8294{
8295 wxPy_BEGIN_ALLOW_THREADS;
8296 wxPyCompositeShape_base_OnErase(_arg0,*_arg1);
8297
8298 wxPy_END_ALLOW_THREADS;
8299} Py_INCREF(Py_None);
8300 _resultobj = Py_None;
8301 return _resultobj;
8302}
8303
8304#define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
8305static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8306 PyObject * _resultobj;
8307 wxPyCompositeShape * _arg0;
8308 wxDC * _arg1;
8309 PyObject * _argo0 = 0;
8310 PyObject * _argo1 = 0;
8311 char *_kwnames[] = { "self","dc", NULL };
8312
8313 self = self;
8314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
8315 return NULL;
8316 if (_argo0) {
8317 if (_argo0 == Py_None) { _arg0 = NULL; }
8318 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8319 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p.");
8320 return NULL;
8321 }
8322 }
8323 if (_argo1) {
8324 if (_argo1 == Py_None) { _arg1 = NULL; }
8325 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8326 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p.");
8327 return NULL;
8328 }
8329 }
8330{
8331 wxPy_BEGIN_ALLOW_THREADS;
8332 wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1);
8333
8334 wxPy_END_ALLOW_THREADS;
8335} Py_INCREF(Py_None);
8336 _resultobj = Py_None;
8337 return _resultobj;
8338}
8339
8340#define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
8341static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8342 PyObject * _resultobj;
8343 wxPyCompositeShape * _arg0;
8344 wxDC * _arg1;
8345 PyObject * _argo0 = 0;
8346 PyObject * _argo1 = 0;
8347 char *_kwnames[] = { "self","dc", NULL };
8348
8349 self = self;
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
8351 return NULL;
8352 if (_argo0) {
8353 if (_argo0 == Py_None) { _arg0 = NULL; }
8354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p.");
8356 return NULL;
8357 }
8358 }
8359 if (_argo1) {
8360 if (_argo1 == Py_None) { _arg1 = NULL; }
8361 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8362 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p.");
8363 return NULL;
8364 }
8365 }
8366{
8367 wxPy_BEGIN_ALLOW_THREADS;
8368 wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1);
8369
8370 wxPy_END_ALLOW_THREADS;
8371} Py_INCREF(Py_None);
8372 _resultobj = Py_None;
8373 return _resultobj;
8374}
8375
8376#define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8377static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8378 PyObject * _resultobj;
8379 wxPyCompositeShape * _arg0;
8380 double _arg1;
8381 double _arg2;
8382 int _arg3 = (int ) 0;
8383 int _arg4 = (int ) 0;
8384 PyObject * _argo0 = 0;
8385 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8386
8387 self = self;
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
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_OnLeftClick. Expected _wxPyCompositeShape_p.");
8394 return NULL;
8395 }
8396 }
8397{
8398 wxPy_BEGIN_ALLOW_THREADS;
8399 wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8400
8401 wxPy_END_ALLOW_THREADS;
8402} Py_INCREF(Py_None);
8403 _resultobj = Py_None;
8404 return _resultobj;
8405}
8406
8407#define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8408static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8409 PyObject * _resultobj;
8410 wxPyCompositeShape * _arg0;
8411 double _arg1;
8412 double _arg2;
8413 int _arg3 = (int ) 0;
8414 int _arg4 = (int ) 0;
8415 PyObject * _argo0 = 0;
8416 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8417
8418 self = self;
8419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8420 return NULL;
8421 if (_argo0) {
8422 if (_argo0 == Py_None) { _arg0 = NULL; }
8423 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8424 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p.");
8425 return NULL;
8426 }
8427 }
8428{
8429 wxPy_BEGIN_ALLOW_THREADS;
8430 wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8431
8432 wxPy_END_ALLOW_THREADS;
8433} Py_INCREF(Py_None);
8434 _resultobj = Py_None;
8435 return _resultobj;
8436}
8437
8438#define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8439static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8440 PyObject * _resultobj;
8441 wxPyCompositeShape * _arg0;
8442 double _arg1;
8443 double _arg2;
8444 int _arg3 = (int ) 0;
8445 int _arg4 = (int ) 0;
8446 PyObject * _argo0 = 0;
8447 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8448
8449 self = self;
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8451 return NULL;
8452 if (_argo0) {
8453 if (_argo0 == Py_None) { _arg0 = NULL; }
8454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p.");
8456 return NULL;
8457 }
8458 }
8459{
8460 wxPy_BEGIN_ALLOW_THREADS;
8461 wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8462
8463 wxPy_END_ALLOW_THREADS;
8464} Py_INCREF(Py_None);
8465 _resultobj = Py_None;
8466 return _resultobj;
8467}
8468
8469#define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
8470static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject * _resultobj;
8472 wxPyCompositeShape * _arg0;
8473 double _arg1;
8474 double _arg2;
8475 PyObject * _argo0 = 0;
8476 char *_kwnames[] = { "self","x","y", NULL };
8477
8478 self = self;
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
8480 return NULL;
8481 if (_argo0) {
8482 if (_argo0 == Py_None) { _arg0 = NULL; }
8483 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8484 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p.");
8485 return NULL;
8486 }
8487 }
8488{
8489 wxPy_BEGIN_ALLOW_THREADS;
8490 wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2);
8491
8492 wxPy_END_ALLOW_THREADS;
8493} Py_INCREF(Py_None);
8494 _resultobj = Py_None;
8495 return _resultobj;
8496}
8497
8498#define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8499static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8500 PyObject * _resultobj;
8501 bool _result;
8502 wxPyCompositeShape * _arg0;
8503 wxDC * _arg1;
8504 double _arg2;
8505 double _arg3;
8506 double _arg4;
8507 double _arg5;
8508 bool _arg6 = (bool ) TRUE;
8509 PyObject * _argo0 = 0;
8510 PyObject * _argo1 = 0;
8511 int tempbool6 = (int) TRUE;
8512 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8513
8514 self = self;
8515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8516 return NULL;
8517 if (_argo0) {
8518 if (_argo0 == Py_None) { _arg0 = NULL; }
8519 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8520 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p.");
8521 return NULL;
8522 }
8523 }
8524 if (_argo1) {
8525 if (_argo1 == Py_None) { _arg1 = NULL; }
8526 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8527 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p.");
8528 return NULL;
8529 }
8530 }
8531 _arg6 = (bool ) tempbool6;
8532{
8533 wxPy_BEGIN_ALLOW_THREADS;
8534 _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8535
8536 wxPy_END_ALLOW_THREADS;
8537} _resultobj = Py_BuildValue("i",_result);
8538 return _resultobj;
8539}
8540
8541#define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8542static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8543 PyObject * _resultobj;
8544 wxPyCompositeShape * _arg0;
8545 wxDC * _arg1;
8546 double _arg2;
8547 double _arg3;
8548 double _arg4;
8549 double _arg5;
8550 bool _arg6 = (bool ) TRUE;
8551 PyObject * _argo0 = 0;
8552 PyObject * _argo1 = 0;
8553 int tempbool6 = (int) TRUE;
8554 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8555
8556 self = self;
8557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8558 return NULL;
8559 if (_argo0) {
8560 if (_argo0 == Py_None) { _arg0 = NULL; }
8561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p.");
8563 return NULL;
8564 }
8565 }
8566 if (_argo1) {
8567 if (_argo1 == Py_None) { _arg1 = NULL; }
8568 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8569 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p.");
8570 return NULL;
8571 }
8572 }
8573 _arg6 = (bool ) tempbool6;
8574{
8575 wxPy_BEGIN_ALLOW_THREADS;
8576 wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8577
8578 wxPy_END_ALLOW_THREADS;
8579} Py_INCREF(Py_None);
8580 _resultobj = Py_None;
8581 return _resultobj;
8582}
8583
8584#define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8585static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8586 PyObject * _resultobj;
8587 wxPyCompositeShape * _arg0;
8588 bool _arg1;
8589 double _arg2;
8590 double _arg3;
8591 int _arg4 = (int ) 0;
8592 int _arg5 = (int ) 0;
8593 PyObject * _argo0 = 0;
8594 int tempbool1;
8595 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8596
8597 self = self;
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8599 return NULL;
8600 if (_argo0) {
8601 if (_argo0 == Py_None) { _arg0 = NULL; }
8602 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8603 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p.");
8604 return NULL;
8605 }
8606 }
8607 _arg1 = (bool ) tempbool1;
8608{
8609 wxPy_BEGIN_ALLOW_THREADS;
8610 wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8611
8612 wxPy_END_ALLOW_THREADS;
8613} Py_INCREF(Py_None);
8614 _resultobj = Py_None;
8615 return _resultobj;
8616}
8617
8618#define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8619static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8620 PyObject * _resultobj;
8621 wxPyCompositeShape * _arg0;
8622 double _arg1;
8623 double _arg2;
8624 int _arg3 = (int ) 0;
8625 int _arg4 = (int ) 0;
8626 PyObject * _argo0 = 0;
8627 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8628
8629 self = self;
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8631 return NULL;
8632 if (_argo0) {
8633 if (_argo0 == Py_None) { _arg0 = NULL; }
8634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p.");
8636 return NULL;
8637 }
8638 }
8639{
8640 wxPy_BEGIN_ALLOW_THREADS;
8641 wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8642
8643 wxPy_END_ALLOW_THREADS;
8644} Py_INCREF(Py_None);
8645 _resultobj = Py_None;
8646 return _resultobj;
8647}
8648
8649#define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8650static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8651 PyObject * _resultobj;
8652 wxPyCompositeShape * _arg0;
8653 double _arg1;
8654 double _arg2;
8655 int _arg3 = (int ) 0;
8656 int _arg4 = (int ) 0;
8657 PyObject * _argo0 = 0;
8658 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8659
8660 self = self;
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8662 return NULL;
8663 if (_argo0) {
8664 if (_argo0 == Py_None) { _arg0 = NULL; }
8665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p.");
8667 return NULL;
8668 }
8669 }
8670{
8671 wxPy_BEGIN_ALLOW_THREADS;
8672 wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8673
8674 wxPy_END_ALLOW_THREADS;
8675} Py_INCREF(Py_None);
8676 _resultobj = Py_None;
8677 return _resultobj;
8678}
8679
8680#define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8681static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8682 PyObject * _resultobj;
8683 wxPyCompositeShape * _arg0;
8684 bool _arg1;
8685 double _arg2;
8686 double _arg3;
8687 int _arg4 = (int ) 0;
8688 int _arg5 = (int ) 0;
8689 PyObject * _argo0 = 0;
8690 int tempbool1;
8691 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8692
8693 self = self;
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8695 return NULL;
8696 if (_argo0) {
8697 if (_argo0 == Py_None) { _arg0 = NULL; }
8698 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8699 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p.");
8700 return NULL;
8701 }
8702 }
8703 _arg1 = (bool ) tempbool1;
8704{
8705 wxPy_BEGIN_ALLOW_THREADS;
8706 wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8707
8708 wxPy_END_ALLOW_THREADS;
8709} Py_INCREF(Py_None);
8710 _resultobj = Py_None;
8711 return _resultobj;
8712}
8713
8714#define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8715static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8716 PyObject * _resultobj;
8717 wxPyCompositeShape * _arg0;
8718 double _arg1;
8719 double _arg2;
8720 int _arg3 = (int ) 0;
8721 int _arg4 = (int ) 0;
8722 PyObject * _argo0 = 0;
8723 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8724
8725 self = self;
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8727 return NULL;
8728 if (_argo0) {
8729 if (_argo0 == Py_None) { _arg0 = NULL; }
8730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p.");
8732 return NULL;
8733 }
8734 }
8735{
8736 wxPy_BEGIN_ALLOW_THREADS;
8737 wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8738
8739 wxPy_END_ALLOW_THREADS;
8740} Py_INCREF(Py_None);
8741 _resultobj = Py_None;
8742 return _resultobj;
8743}
8744
8745#define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8746static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject * _resultobj;
8748 wxPyCompositeShape * _arg0;
8749 double _arg1;
8750 double _arg2;
8751 int _arg3 = (int ) 0;
8752 int _arg4 = (int ) 0;
8753 PyObject * _argo0 = 0;
8754 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8755
8756 self = self;
8757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8758 return NULL;
8759 if (_argo0) {
8760 if (_argo0 == Py_None) { _arg0 = NULL; }
8761 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8762 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p.");
8763 return NULL;
8764 }
8765 }
8766{
8767 wxPy_BEGIN_ALLOW_THREADS;
8768 wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8769
8770 wxPy_END_ALLOW_THREADS;
8771} Py_INCREF(Py_None);
8772 _resultobj = Py_None;
8773 return _resultobj;
8774}
8775
8776#define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8777static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject * _resultobj;
8779 wxPyCompositeShape * _arg0;
8780 wxDC * _arg1;
8781 double _arg2;
8782 double _arg3;
8783 double _arg4;
8784 double _arg5;
8785 PyObject * _argo0 = 0;
8786 PyObject * _argo1 = 0;
8787 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
8788
8789 self = self;
8790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8791 return NULL;
8792 if (_argo0) {
8793 if (_argo0 == Py_None) { _arg0 = NULL; }
8794 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8795 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p.");
8796 return NULL;
8797 }
8798 }
8799 if (_argo1) {
8800 if (_argo1 == Py_None) { _arg1 = NULL; }
8801 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8802 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p.");
8803 return NULL;
8804 }
8805 }
8806{
8807 wxPy_BEGIN_ALLOW_THREADS;
8808 wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
8809
8810 wxPy_END_ALLOW_THREADS;
8811} Py_INCREF(Py_None);
8812 _resultobj = Py_None;
8813 return _resultobj;
8814}
8815
8816#define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
8817static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8818 PyObject * _resultobj;
8819 wxPyCompositeShape * _arg0;
8820 wxDC * _arg1;
8821 PyObject * _argo0 = 0;
8822 PyObject * _argo1 = 0;
8823 char *_kwnames[] = { "self","dc", NULL };
8824
8825 self = self;
8826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
8827 return NULL;
8828 if (_argo0) {
8829 if (_argo0 == Py_None) { _arg0 = NULL; }
8830 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8831 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p.");
8832 return NULL;
8833 }
8834 }
8835 if (_argo1) {
8836 if (_argo1 == Py_None) { _arg1 = NULL; }
8837 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8838 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p.");
8839 return NULL;
8840 }
8841 }
8842{
8843 wxPy_BEGIN_ALLOW_THREADS;
8844 wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1);
8845
8846 wxPy_END_ALLOW_THREADS;
8847} Py_INCREF(Py_None);
8848 _resultobj = Py_None;
8849 return _resultobj;
8850}
8851
8852#define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
8853static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject * _resultobj;
8855 wxPyCompositeShape * _arg0;
8856 wxDC * _arg1;
8857 PyObject * _argo0 = 0;
8858 PyObject * _argo1 = 0;
8859 char *_kwnames[] = { "self","dc", NULL };
8860
8861 self = self;
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
8863 return NULL;
8864 if (_argo0) {
8865 if (_argo0 == Py_None) { _arg0 = NULL; }
8866 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8867 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p.");
8868 return NULL;
8869 }
8870 }
8871 if (_argo1) {
8872 if (_argo1 == Py_None) { _arg1 = NULL; }
8873 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8874 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p.");
8875 return NULL;
8876 }
8877 }
8878{
8879 wxPy_BEGIN_ALLOW_THREADS;
8880 wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1);
8881
8882 wxPy_END_ALLOW_THREADS;
8883} Py_INCREF(Py_None);
8884 _resultobj = Py_None;
8885 return _resultobj;
8886}
8887
8888#define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
8889static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8890 PyObject * _resultobj;
8891 wxPyCompositeShape * _arg0;
8892 wxDC * _arg1;
8893 bool _arg2 = (bool ) TRUE;
8894 PyObject * _argo0 = 0;
8895 PyObject * _argo1 = 0;
8896 int tempbool2 = (int) TRUE;
8897 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
8898
8899 self = self;
8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
8901 return NULL;
8902 if (_argo0) {
8903 if (_argo0 == Py_None) { _arg0 = NULL; }
8904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p.");
8906 return NULL;
8907 }
8908 }
8909 if (_argo1) {
8910 if (_argo1 == Py_None) { _arg1 = NULL; }
8911 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8912 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p.");
8913 return NULL;
8914 }
8915 }
8916 _arg2 = (bool ) tempbool2;
8917{
8918 wxPy_BEGIN_ALLOW_THREADS;
8919 wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
8920
8921 wxPy_END_ALLOW_THREADS;
8922} Py_INCREF(Py_None);
8923 _resultobj = Py_None;
8924 return _resultobj;
8925}
8926
8927#define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8928static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8929 PyObject * _resultobj;
8930 wxPyCompositeShape * _arg0;
2348eaee 8931 wxPyControlPoint * _arg1;
e91a9dfc
RD
8932 bool _arg2;
8933 double _arg3;
8934 double _arg4;
8935 int _arg5 = (int ) 0;
8936 int _arg6 = (int ) 0;
8937 PyObject * _argo0 = 0;
8938 PyObject * _argo1 = 0;
8939 int tempbool2;
8940 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
8941
8942 self = self;
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
8944 return NULL;
8945 if (_argo0) {
8946 if (_argo0 == Py_None) { _arg0 = NULL; }
8947 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8948 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p.");
8949 return NULL;
8950 }
8951 }
8952 if (_argo1) {
8953 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
8954 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
8955 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
8956 return NULL;
8957 }
8958 }
8959 _arg2 = (bool ) tempbool2;
8960{
8961 wxPy_BEGIN_ALLOW_THREADS;
8962 wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8963
8964 wxPy_END_ALLOW_THREADS;
8965} Py_INCREF(Py_None);
8966 _resultobj = Py_None;
8967 return _resultobj;
8968}
8969
8970#define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8971static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8972 PyObject * _resultobj;
8973 wxPyCompositeShape * _arg0;
2348eaee 8974 wxPyControlPoint * _arg1;
e91a9dfc
RD
8975 double _arg2;
8976 double _arg3;
8977 int _arg4 = (int ) 0;
8978 int _arg5 = (int ) 0;
8979 PyObject * _argo0 = 0;
8980 PyObject * _argo1 = 0;
8981 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
8982
8983 self = self;
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8985 return NULL;
8986 if (_argo0) {
8987 if (_argo0 == Py_None) { _arg0 = NULL; }
8988 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
8989 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p.");
8990 return NULL;
8991 }
8992 }
8993 if (_argo1) {
8994 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
8995 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
8996 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
8997 return NULL;
8998 }
8999 }
9000{
9001 wxPy_BEGIN_ALLOW_THREADS;
9002 wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9003
9004 wxPy_END_ALLOW_THREADS;
9005} Py_INCREF(Py_None);
9006 _resultobj = Py_None;
9007 return _resultobj;
9008}
9009
9010#define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9011static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject * _resultobj;
9013 wxPyCompositeShape * _arg0;
2348eaee 9014 wxPyControlPoint * _arg1;
e91a9dfc
RD
9015 double _arg2;
9016 double _arg3;
9017 int _arg4 = (int ) 0;
9018 int _arg5 = (int ) 0;
9019 PyObject * _argo0 = 0;
9020 PyObject * _argo1 = 0;
9021 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
9022
9023 self = self;
9024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9025 return NULL;
9026 if (_argo0) {
9027 if (_argo0 == Py_None) { _arg0 = NULL; }
9028 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9029 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p.");
9030 return NULL;
9031 }
9032 }
9033 if (_argo1) {
9034 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
9035 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
9036 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
9037 return NULL;
9038 }
9039 }
9040{
9041 wxPy_BEGIN_ALLOW_THREADS;
9042 wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9043
9044 wxPy_END_ALLOW_THREADS;
9045} Py_INCREF(Py_None);
9046 _resultobj = Py_None;
9047 return _resultobj;
9048}
9049
9050#define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
9051static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject * _resultobj;
9053 wxPyCompositeShape * _arg0;
9054 double _arg1;
9055 double _arg2;
9056 PyObject * _argo0 = 0;
9057 char *_kwnames[] = { "self","w","h", NULL };
9058
9059 self = self;
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
9061 return NULL;
9062 if (_argo0) {
9063 if (_argo0 == Py_None) { _arg0 = NULL; }
9064 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9065 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p.");
9066 return NULL;
9067 }
9068 }
9069{
9070 wxPy_BEGIN_ALLOW_THREADS;
9071 wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2);
9072
9073 wxPy_END_ALLOW_THREADS;
9074} Py_INCREF(Py_None);
9075 _resultobj = Py_None;
9076 return _resultobj;
9077}
9078
9079#define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
9080static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9081 PyObject * _resultobj;
9082 wxPyCompositeShape * _arg0;
9083 double _arg1;
9084 double _arg2;
9085 PyObject * _argo0 = 0;
9086 char *_kwnames[] = { "self","w","h", NULL };
9087
9088 self = self;
9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
9090 return NULL;
9091 if (_argo0) {
9092 if (_argo0 == Py_None) { _arg0 = NULL; }
9093 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
9094 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p.");
9095 return NULL;
9096 }
9097 }
9098{
9099 wxPy_BEGIN_ALLOW_THREADS;
9100 wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2);
9101
9102 wxPy_END_ALLOW_THREADS;
9103} Py_INCREF(Py_None);
9104 _resultobj = Py_None;
9105 return _resultobj;
9106}
9107
9108static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) {
9109 wxPyDividedShape *src;
9110 wxPyRectangleShape *dest;
9111 src = (wxPyDividedShape *) ptr;
9112 dest = (wxPyRectangleShape *) src;
9113 return (void *) dest;
9114}
9115
9116static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) {
9117 wxPyDividedShape *src;
9118 wxPyShape *dest;
9119 src = (wxPyDividedShape *) ptr;
9120 dest = (wxPyShape *) src;
9121 return (void *) dest;
9122}
9123
9124static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) {
9125 wxPyDividedShape *src;
9126 wxPyShapeEvtHandler *dest;
9127 src = (wxPyDividedShape *) ptr;
9128 dest = (wxPyShapeEvtHandler *) src;
9129 return (void *) dest;
9130}
9131
9416aa89
RD
9132static void *SwigwxPyDividedShapeTowxObject(void *ptr) {
9133 wxPyDividedShape *src;
9134 wxObject *dest;
9135 src = (wxPyDividedShape *) ptr;
9136 dest = (wxObject *) src;
9137 return (void *) dest;
9138}
9139
e91a9dfc
RD
9140#define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1))
9141static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9142 PyObject * _resultobj;
9143 wxPyDividedShape * _result;
9144 double _arg0 = (double ) 0.0;
9145 double _arg1 = (double ) 0.0;
9146 char *_kwnames[] = { "width","height", NULL };
9147 char _ptemp[128];
9148
9149 self = self;
9150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1))
9151 return NULL;
9152{
9153 wxPy_BEGIN_ALLOW_THREADS;
9154 _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1);
9155
9156 wxPy_END_ALLOW_THREADS;
9157} if (_result) {
9158 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p");
9159 _resultobj = Py_BuildValue("s",_ptemp);
9160 } else {
9161 Py_INCREF(Py_None);
9162 _resultobj = Py_None;
9163 }
9164 return _resultobj;
9165}
9166
0122b7e3
RD
9167#define wxPyDividedShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
9168static PyObject *_wrap_wxPyDividedShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
9169 PyObject * _resultobj;
9170 wxPyDividedShape * _arg0;
9171 PyObject * _arg1;
f6bcfd97 9172 PyObject * _arg2;
e91a9dfc
RD
9173 PyObject * _argo0 = 0;
9174 PyObject * _obj1 = 0;
f6bcfd97
BP
9175 PyObject * _obj2 = 0;
9176 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
9177
9178 self = self;
0122b7e3 9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDividedShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
9180 return NULL;
9181 if (_argo0) {
9182 if (_argo0 == Py_None) { _arg0 = NULL; }
9183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
0122b7e3 9184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setCallbackInfo. Expected _wxPyDividedShape_p.");
e91a9dfc
RD
9185 return NULL;
9186 }
9187 }
9188{
9189 _arg1 = _obj1;
9190}
f6bcfd97
BP
9191{
9192 _arg2 = _obj2;
9193}
e91a9dfc
RD
9194{
9195 wxPy_BEGIN_ALLOW_THREADS;
0122b7e3 9196 wxPyDividedShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc
RD
9197
9198 wxPy_END_ALLOW_THREADS;
9199} Py_INCREF(Py_None);
9200 _resultobj = Py_None;
9201 return _resultobj;
9202}
9203
9204#define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions())
9205static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
9206 PyObject * _resultobj;
9207 wxPyDividedShape * _arg0;
9208 PyObject * _argo0 = 0;
9209 char *_kwnames[] = { "self", NULL };
9210
9211 self = self;
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0))
9213 return NULL;
9214 if (_argo0) {
9215 if (_argo0 == Py_None) { _arg0 = NULL; }
9216 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9217 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p.");
9218 return NULL;
9219 }
9220 }
9221{
9222 wxPy_BEGIN_ALLOW_THREADS;
9223 wxPyDividedShape_EditRegions(_arg0);
9224
9225 wxPy_END_ALLOW_THREADS;
9226} Py_INCREF(Py_None);
9227 _resultobj = Py_None;
9228 return _resultobj;
9229}
9230
9231#define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes())
9232static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject * _resultobj;
9234 wxPyDividedShape * _arg0;
9235 PyObject * _argo0 = 0;
9236 char *_kwnames[] = { "self", NULL };
9237
9238 self = self;
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0))
9240 return NULL;
9241 if (_argo0) {
9242 if (_argo0 == Py_None) { _arg0 = NULL; }
9243 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9244 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p.");
9245 return NULL;
9246 }
9247 }
9248{
9249 wxPy_BEGIN_ALLOW_THREADS;
9250 wxPyDividedShape_SetRegionSizes(_arg0);
9251
9252 wxPy_END_ALLOW_THREADS;
9253} Py_INCREF(Py_None);
9254 _resultobj = Py_None;
9255 return _resultobj;
9256}
9257
9258#define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
9259static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject * _resultobj;
9261 wxPyDividedShape * _arg0;
9262 PyObject * _argo0 = 0;
9263 char *_kwnames[] = { "self", NULL };
9264
9265 self = self;
9266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0))
9267 return NULL;
9268 if (_argo0) {
9269 if (_argo0 == Py_None) { _arg0 = NULL; }
9270 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9271 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p.");
9272 return NULL;
9273 }
9274 }
9275{
9276 wxPy_BEGIN_ALLOW_THREADS;
9277 wxPyDividedShape_base_OnDelete(_arg0);
9278
9279 wxPy_END_ALLOW_THREADS;
9280} Py_INCREF(Py_None);
9281 _resultobj = Py_None;
9282 return _resultobj;
9283}
9284
9285#define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
9286static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9287 PyObject * _resultobj;
9288 wxPyDividedShape * _arg0;
9289 wxDC * _arg1;
9290 PyObject * _argo0 = 0;
9291 PyObject * _argo1 = 0;
9292 char *_kwnames[] = { "self","dc", NULL };
9293
9294 self = self;
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
9296 return NULL;
9297 if (_argo0) {
9298 if (_argo0 == Py_None) { _arg0 = NULL; }
9299 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9300 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p.");
9301 return NULL;
9302 }
9303 }
9304 if (_argo1) {
9305 if (_argo1 == Py_None) { _arg1 = NULL; }
9306 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9307 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p.");
9308 return NULL;
9309 }
9310 }
9311{
9312 wxPy_BEGIN_ALLOW_THREADS;
9313 wxPyDividedShape_base_OnDraw(_arg0,*_arg1);
9314
9315 wxPy_END_ALLOW_THREADS;
9316} Py_INCREF(Py_None);
9317 _resultobj = Py_None;
9318 return _resultobj;
9319}
9320
9321#define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
9322static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9323 PyObject * _resultobj;
9324 wxPyDividedShape * _arg0;
9325 wxDC * _arg1;
9326 PyObject * _argo0 = 0;
9327 PyObject * _argo1 = 0;
9328 char *_kwnames[] = { "self","dc", NULL };
9329
9330 self = self;
9331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
9332 return NULL;
9333 if (_argo0) {
9334 if (_argo0 == Py_None) { _arg0 = NULL; }
9335 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9336 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p.");
9337 return NULL;
9338 }
9339 }
9340 if (_argo1) {
9341 if (_argo1 == Py_None) { _arg1 = NULL; }
9342 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9343 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p.");
9344 return NULL;
9345 }
9346 }
9347{
9348 wxPy_BEGIN_ALLOW_THREADS;
9349 wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1);
9350
9351 wxPy_END_ALLOW_THREADS;
9352} Py_INCREF(Py_None);
9353 _resultobj = Py_None;
9354 return _resultobj;
9355}
9356
9357#define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
9358static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
9359 PyObject * _resultobj;
9360 wxPyDividedShape * _arg0;
9361 wxDC * _arg1;
9362 bool _arg2 = (bool ) FALSE;
9363 PyObject * _argo0 = 0;
9364 PyObject * _argo1 = 0;
9365 int tempbool2 = (int) FALSE;
9366 char *_kwnames[] = { "self","dc","erase", NULL };
9367
9368 self = self;
9369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
9370 return NULL;
9371 if (_argo0) {
9372 if (_argo0 == Py_None) { _arg0 = NULL; }
9373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p.");
9375 return NULL;
9376 }
9377 }
9378 if (_argo1) {
9379 if (_argo1 == Py_None) { _arg1 = NULL; }
9380 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9381 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p.");
9382 return NULL;
9383 }
9384 }
9385 _arg2 = (bool ) tempbool2;
9386{
9387 wxPy_BEGIN_ALLOW_THREADS;
9388 wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
9389
9390 wxPy_END_ALLOW_THREADS;
9391} Py_INCREF(Py_None);
9392 _resultobj = Py_None;
9393 return _resultobj;
9394}
9395
9396#define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
9397static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
9398 PyObject * _resultobj;
9399 wxPyDividedShape * _arg0;
9400 wxDC * _arg1;
9401 PyObject * _argo0 = 0;
9402 PyObject * _argo1 = 0;
9403 char *_kwnames[] = { "self","dc", NULL };
9404
9405 self = self;
9406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
9407 return NULL;
9408 if (_argo0) {
9409 if (_argo0 == Py_None) { _arg0 = NULL; }
9410 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9411 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p.");
9412 return NULL;
9413 }
9414 }
9415 if (_argo1) {
9416 if (_argo1 == Py_None) { _arg1 = NULL; }
9417 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9418 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p.");
9419 return NULL;
9420 }
9421 }
9422{
9423 wxPy_BEGIN_ALLOW_THREADS;
9424 wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1);
9425
9426 wxPy_END_ALLOW_THREADS;
9427} Py_INCREF(Py_None);
9428 _resultobj = Py_None;
9429 return _resultobj;
9430}
9431
9432#define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
9433static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
9434 PyObject * _resultobj;
9435 wxPyDividedShape * _arg0;
9436 wxDC * _arg1;
9437 PyObject * _argo0 = 0;
9438 PyObject * _argo1 = 0;
9439 char *_kwnames[] = { "self","dc", NULL };
9440
9441 self = self;
9442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1))
9443 return NULL;
9444 if (_argo0) {
9445 if (_argo0 == Py_None) { _arg0 = NULL; }
9446 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9447 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p.");
9448 return NULL;
9449 }
9450 }
9451 if (_argo1) {
9452 if (_argo1 == Py_None) { _arg1 = NULL; }
9453 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9454 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p.");
9455 return NULL;
9456 }
9457 }
9458{
9459 wxPy_BEGIN_ALLOW_THREADS;
9460 wxPyDividedShape_base_OnErase(_arg0,*_arg1);
9461
9462 wxPy_END_ALLOW_THREADS;
9463} Py_INCREF(Py_None);
9464 _resultobj = Py_None;
9465 return _resultobj;
9466}
9467
9468#define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
9469static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject * _resultobj;
9471 wxPyDividedShape * _arg0;
9472 wxDC * _arg1;
9473 PyObject * _argo0 = 0;
9474 PyObject * _argo1 = 0;
9475 char *_kwnames[] = { "self","dc", NULL };
9476
9477 self = self;
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
9479 return NULL;
9480 if (_argo0) {
9481 if (_argo0 == Py_None) { _arg0 = NULL; }
9482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p.");
9484 return NULL;
9485 }
9486 }
9487 if (_argo1) {
9488 if (_argo1 == Py_None) { _arg1 = NULL; }
9489 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9490 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p.");
9491 return NULL;
9492 }
9493 }
9494{
9495 wxPy_BEGIN_ALLOW_THREADS;
9496 wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1);
9497
9498 wxPy_END_ALLOW_THREADS;
9499} Py_INCREF(Py_None);
9500 _resultobj = Py_None;
9501 return _resultobj;
9502}
9503
9504#define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
9505static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
9506 PyObject * _resultobj;
9507 wxPyDividedShape * _arg0;
9508 wxDC * _arg1;
9509 PyObject * _argo0 = 0;
9510 PyObject * _argo1 = 0;
9511 char *_kwnames[] = { "self","dc", NULL };
9512
9513 self = self;
9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
9515 return NULL;
9516 if (_argo0) {
9517 if (_argo0 == Py_None) { _arg0 = NULL; }
9518 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9519 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p.");
9520 return NULL;
9521 }
9522 }
9523 if (_argo1) {
9524 if (_argo1 == Py_None) { _arg1 = NULL; }
9525 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9526 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p.");
9527 return NULL;
9528 }
9529 }
9530{
9531 wxPy_BEGIN_ALLOW_THREADS;
9532 wxPyDividedShape_base_OnHighlight(_arg0,*_arg1);
9533
9534 wxPy_END_ALLOW_THREADS;
9535} Py_INCREF(Py_None);
9536 _resultobj = Py_None;
9537 return _resultobj;
9538}
9539
9540#define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9541static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject * _resultobj;
9543 wxPyDividedShape * _arg0;
9544 double _arg1;
9545 double _arg2;
9546 int _arg3 = (int ) 0;
9547 int _arg4 = (int ) 0;
9548 PyObject * _argo0 = 0;
9549 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9550
9551 self = self;
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9553 return NULL;
9554 if (_argo0) {
9555 if (_argo0 == Py_None) { _arg0 = NULL; }
9556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p.");
9558 return NULL;
9559 }
9560 }
9561{
9562 wxPy_BEGIN_ALLOW_THREADS;
9563 wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9564
9565 wxPy_END_ALLOW_THREADS;
9566} Py_INCREF(Py_None);
9567 _resultobj = Py_None;
9568 return _resultobj;
9569}
9570
9571#define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9572static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9573 PyObject * _resultobj;
9574 wxPyDividedShape * _arg0;
9575 double _arg1;
9576 double _arg2;
9577 int _arg3 = (int ) 0;
9578 int _arg4 = (int ) 0;
9579 PyObject * _argo0 = 0;
9580 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9581
9582 self = self;
9583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9584 return NULL;
9585 if (_argo0) {
9586 if (_argo0 == Py_None) { _arg0 = NULL; }
9587 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9588 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p.");
9589 return NULL;
9590 }
9591 }
9592{
9593 wxPy_BEGIN_ALLOW_THREADS;
9594 wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9595
9596 wxPy_END_ALLOW_THREADS;
9597} Py_INCREF(Py_None);
9598 _resultobj = Py_None;
9599 return _resultobj;
9600}
9601
9602#define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9603static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
9604 PyObject * _resultobj;
9605 wxPyDividedShape * _arg0;
9606 double _arg1;
9607 double _arg2;
9608 int _arg3 = (int ) 0;
9609 int _arg4 = (int ) 0;
9610 PyObject * _argo0 = 0;
9611 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9612
9613 self = self;
9614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9615 return NULL;
9616 if (_argo0) {
9617 if (_argo0 == Py_None) { _arg0 = NULL; }
9618 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9619 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p.");
9620 return NULL;
9621 }
9622 }
9623{
9624 wxPy_BEGIN_ALLOW_THREADS;
9625 wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
9626
9627 wxPy_END_ALLOW_THREADS;
9628} Py_INCREF(Py_None);
9629 _resultobj = Py_None;
9630 return _resultobj;
9631}
9632
9633#define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
9634static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
9635 PyObject * _resultobj;
9636 wxPyDividedShape * _arg0;
9637 double _arg1;
9638 double _arg2;
9639 PyObject * _argo0 = 0;
9640 char *_kwnames[] = { "self","x","y", NULL };
9641
9642 self = self;
9643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
9644 return NULL;
9645 if (_argo0) {
9646 if (_argo0 == Py_None) { _arg0 = NULL; }
9647 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9648 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p.");
9649 return NULL;
9650 }
9651 }
9652{
9653 wxPy_BEGIN_ALLOW_THREADS;
9654 wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2);
9655
9656 wxPy_END_ALLOW_THREADS;
9657} Py_INCREF(Py_None);
9658 _resultobj = Py_None;
9659 return _resultobj;
9660}
9661
9662#define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9663static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
9664 PyObject * _resultobj;
9665 bool _result;
9666 wxPyDividedShape * _arg0;
9667 wxDC * _arg1;
9668 double _arg2;
9669 double _arg3;
9670 double _arg4;
9671 double _arg5;
9672 bool _arg6 = (bool ) TRUE;
9673 PyObject * _argo0 = 0;
9674 PyObject * _argo1 = 0;
9675 int tempbool6 = (int) TRUE;
9676 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9677
9678 self = self;
9679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9680 return NULL;
9681 if (_argo0) {
9682 if (_argo0 == Py_None) { _arg0 = NULL; }
9683 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9684 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p.");
9685 return NULL;
9686 }
9687 }
9688 if (_argo1) {
9689 if (_argo1 == Py_None) { _arg1 = NULL; }
9690 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9691 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p.");
9692 return NULL;
9693 }
9694 }
9695 _arg6 = (bool ) tempbool6;
9696{
9697 wxPy_BEGIN_ALLOW_THREADS;
9698 _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9699
9700 wxPy_END_ALLOW_THREADS;
9701} _resultobj = Py_BuildValue("i",_result);
9702 return _resultobj;
9703}
9704
9705#define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
9706static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject * _resultobj;
9708 wxPyDividedShape * _arg0;
9709 wxDC * _arg1;
9710 double _arg2;
9711 double _arg3;
9712 double _arg4;
9713 double _arg5;
9714 bool _arg6 = (bool ) TRUE;
9715 PyObject * _argo0 = 0;
9716 PyObject * _argo1 = 0;
9717 int tempbool6 = (int) TRUE;
9718 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
9719
9720 self = self;
9721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
9722 return NULL;
9723 if (_argo0) {
9724 if (_argo0 == Py_None) { _arg0 = NULL; }
9725 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9726 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p.");
9727 return NULL;
9728 }
9729 }
9730 if (_argo1) {
9731 if (_argo1 == Py_None) { _arg1 = NULL; }
9732 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9733 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p.");
9734 return NULL;
9735 }
9736 }
9737 _arg6 = (bool ) tempbool6;
9738{
9739 wxPy_BEGIN_ALLOW_THREADS;
9740 wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
9741
9742 wxPy_END_ALLOW_THREADS;
9743} Py_INCREF(Py_None);
9744 _resultobj = Py_None;
9745 return _resultobj;
9746}
9747
9748#define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9749static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9750 PyObject * _resultobj;
9751 wxPyDividedShape * _arg0;
9752 bool _arg1;
9753 double _arg2;
9754 double _arg3;
9755 int _arg4 = (int ) 0;
9756 int _arg5 = (int ) 0;
9757 PyObject * _argo0 = 0;
9758 int tempbool1;
9759 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9760
9761 self = self;
9762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
9763 return NULL;
9764 if (_argo0) {
9765 if (_argo0 == Py_None) { _arg0 = NULL; }
9766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p.");
9768 return NULL;
9769 }
9770 }
9771 _arg1 = (bool ) tempbool1;
9772{
9773 wxPy_BEGIN_ALLOW_THREADS;
9774 wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9775
9776 wxPy_END_ALLOW_THREADS;
9777} Py_INCREF(Py_None);
9778 _resultobj = Py_None;
9779 return _resultobj;
9780}
9781
9782#define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9783static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9784 PyObject * _resultobj;
9785 wxPyDividedShape * _arg0;
9786 double _arg1;
9787 double _arg2;
9788 int _arg3 = (int ) 0;
9789 int _arg4 = (int ) 0;
9790 PyObject * _argo0 = 0;
9791 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9792
9793 self = self;
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9795 return NULL;
9796 if (_argo0) {
9797 if (_argo0 == Py_None) { _arg0 = NULL; }
9798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p.");
9800 return NULL;
9801 }
9802 }
9803{
9804 wxPy_BEGIN_ALLOW_THREADS;
9805 wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9806
9807 wxPy_END_ALLOW_THREADS;
9808} Py_INCREF(Py_None);
9809 _resultobj = Py_None;
9810 return _resultobj;
9811}
9812
9813#define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9814static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 wxPyDividedShape * _arg0;
9817 double _arg1;
9818 double _arg2;
9819 int _arg3 = (int ) 0;
9820 int _arg4 = (int ) 0;
9821 PyObject * _argo0 = 0;
9822 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9823
9824 self = self;
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9826 return NULL;
9827 if (_argo0) {
9828 if (_argo0 == Py_None) { _arg0 = NULL; }
9829 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9830 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p.");
9831 return NULL;
9832 }
9833 }
9834{
9835 wxPy_BEGIN_ALLOW_THREADS;
9836 wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
9837
9838 wxPy_END_ALLOW_THREADS;
9839} Py_INCREF(Py_None);
9840 _resultobj = Py_None;
9841 return _resultobj;
9842}
9843
9844#define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9845static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9846 PyObject * _resultobj;
9847 wxPyDividedShape * _arg0;
9848 bool _arg1;
9849 double _arg2;
9850 double _arg3;
9851 int _arg4 = (int ) 0;
9852 int _arg5 = (int ) 0;
9853 PyObject * _argo0 = 0;
9854 int tempbool1;
9855 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
9856
9857 self = self;
9858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
9859 return NULL;
9860 if (_argo0) {
9861 if (_argo0 == Py_None) { _arg0 = NULL; }
9862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p.");
9864 return NULL;
9865 }
9866 }
9867 _arg1 = (bool ) tempbool1;
9868{
9869 wxPy_BEGIN_ALLOW_THREADS;
9870 wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
9871
9872 wxPy_END_ALLOW_THREADS;
9873} Py_INCREF(Py_None);
9874 _resultobj = Py_None;
9875 return _resultobj;
9876}
9877
9878#define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9879static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9880 PyObject * _resultobj;
9881 wxPyDividedShape * _arg0;
9882 double _arg1;
9883 double _arg2;
9884 int _arg3 = (int ) 0;
9885 int _arg4 = (int ) 0;
9886 PyObject * _argo0 = 0;
9887 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9888
9889 self = self;
9890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9891 return NULL;
9892 if (_argo0) {
9893 if (_argo0 == Py_None) { _arg0 = NULL; }
9894 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9895 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p.");
9896 return NULL;
9897 }
9898 }
9899{
9900 wxPy_BEGIN_ALLOW_THREADS;
9901 wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
9902
9903 wxPy_END_ALLOW_THREADS;
9904} Py_INCREF(Py_None);
9905 _resultobj = Py_None;
9906 return _resultobj;
9907}
9908
9909#define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
9910static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject * _resultobj;
9912 wxPyDividedShape * _arg0;
9913 double _arg1;
9914 double _arg2;
9915 int _arg3 = (int ) 0;
9916 int _arg4 = (int ) 0;
9917 PyObject * _argo0 = 0;
9918 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
9919
9920 self = self;
9921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
9922 return NULL;
9923 if (_argo0) {
9924 if (_argo0 == Py_None) { _arg0 = NULL; }
9925 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9926 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p.");
9927 return NULL;
9928 }
9929 }
9930{
9931 wxPy_BEGIN_ALLOW_THREADS;
9932 wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
9933
9934 wxPy_END_ALLOW_THREADS;
9935} Py_INCREF(Py_None);
9936 _resultobj = Py_None;
9937 return _resultobj;
9938}
9939
9940#define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
9941static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
9942 PyObject * _resultobj;
9943 wxPyDividedShape * _arg0;
9944 wxDC * _arg1;
9945 double _arg2;
9946 double _arg3;
9947 double _arg4;
9948 double _arg5;
9949 PyObject * _argo0 = 0;
9950 PyObject * _argo1 = 0;
9951 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
9952
9953 self = self;
9954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
9955 return NULL;
9956 if (_argo0) {
9957 if (_argo0 == Py_None) { _arg0 = NULL; }
9958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p.");
9960 return NULL;
9961 }
9962 }
9963 if (_argo1) {
9964 if (_argo1 == Py_None) { _arg1 = NULL; }
9965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p.");
9967 return NULL;
9968 }
9969 }
9970{
9971 wxPy_BEGIN_ALLOW_THREADS;
9972 wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
9973
9974 wxPy_END_ALLOW_THREADS;
9975} Py_INCREF(Py_None);
9976 _resultobj = Py_None;
9977 return _resultobj;
9978}
9979
9980#define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
9981static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
9982 PyObject * _resultobj;
9983 wxPyDividedShape * _arg0;
9984 wxDC * _arg1;
9985 PyObject * _argo0 = 0;
9986 PyObject * _argo1 = 0;
9987 char *_kwnames[] = { "self","dc", NULL };
9988
9989 self = self;
9990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
9991 return NULL;
9992 if (_argo0) {
9993 if (_argo0 == Py_None) { _arg0 = NULL; }
9994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
9995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p.");
9996 return NULL;
9997 }
9998 }
9999 if (_argo1) {
10000 if (_argo1 == Py_None) { _arg1 = NULL; }
10001 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10002 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p.");
10003 return NULL;
10004 }
10005 }
10006{
10007 wxPy_BEGIN_ALLOW_THREADS;
10008 wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1);
10009
10010 wxPy_END_ALLOW_THREADS;
10011} Py_INCREF(Py_None);
10012 _resultobj = Py_None;
10013 return _resultobj;
10014}
10015
10016#define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
10017static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10018 PyObject * _resultobj;
10019 wxPyDividedShape * _arg0;
10020 wxDC * _arg1;
10021 PyObject * _argo0 = 0;
10022 PyObject * _argo1 = 0;
10023 char *_kwnames[] = { "self","dc", NULL };
10024
10025 self = self;
10026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
10027 return NULL;
10028 if (_argo0) {
10029 if (_argo0 == Py_None) { _arg0 = NULL; }
10030 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10031 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p.");
10032 return NULL;
10033 }
10034 }
10035 if (_argo1) {
10036 if (_argo1 == Py_None) { _arg1 = NULL; }
10037 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10038 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p.");
10039 return NULL;
10040 }
10041 }
10042{
10043 wxPy_BEGIN_ALLOW_THREADS;
10044 wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1);
10045
10046 wxPy_END_ALLOW_THREADS;
10047} Py_INCREF(Py_None);
10048 _resultobj = Py_None;
10049 return _resultobj;
10050}
10051
10052#define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
10053static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10054 PyObject * _resultobj;
10055 wxPyDividedShape * _arg0;
10056 wxDC * _arg1;
10057 bool _arg2 = (bool ) TRUE;
10058 PyObject * _argo0 = 0;
10059 PyObject * _argo1 = 0;
10060 int tempbool2 = (int) TRUE;
10061 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
10062
10063 self = self;
10064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
10065 return NULL;
10066 if (_argo0) {
10067 if (_argo0 == Py_None) { _arg0 = NULL; }
10068 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10069 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p.");
10070 return NULL;
10071 }
10072 }
10073 if (_argo1) {
10074 if (_argo1 == Py_None) { _arg1 = NULL; }
10075 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10076 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p.");
10077 return NULL;
10078 }
10079 }
10080 _arg2 = (bool ) tempbool2;
10081{
10082 wxPy_BEGIN_ALLOW_THREADS;
10083 wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
10084
10085 wxPy_END_ALLOW_THREADS;
10086} Py_INCREF(Py_None);
10087 _resultobj = Py_None;
10088 return _resultobj;
10089}
10090
10091#define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10092static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10093 PyObject * _resultobj;
10094 wxPyDividedShape * _arg0;
2348eaee 10095 wxPyControlPoint * _arg1;
e91a9dfc
RD
10096 bool _arg2;
10097 double _arg3;
10098 double _arg4;
10099 int _arg5 = (int ) 0;
10100 int _arg6 = (int ) 0;
10101 PyObject * _argo0 = 0;
10102 PyObject * _argo1 = 0;
10103 int tempbool2;
10104 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
10105
10106 self = self;
10107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
10108 return NULL;
10109 if (_argo0) {
10110 if (_argo0 == Py_None) { _arg0 = NULL; }
10111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p.");
10113 return NULL;
10114 }
10115 }
10116 if (_argo1) {
10117 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
10118 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10119 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
10120 return NULL;
10121 }
10122 }
10123 _arg2 = (bool ) tempbool2;
10124{
10125 wxPy_BEGIN_ALLOW_THREADS;
10126 wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10127
10128 wxPy_END_ALLOW_THREADS;
10129} Py_INCREF(Py_None);
10130 _resultobj = Py_None;
10131 return _resultobj;
10132}
10133
10134#define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10135static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10136 PyObject * _resultobj;
10137 wxPyDividedShape * _arg0;
2348eaee 10138 wxPyControlPoint * _arg1;
e91a9dfc
RD
10139 double _arg2;
10140 double _arg3;
10141 int _arg4 = (int ) 0;
10142 int _arg5 = (int ) 0;
10143 PyObject * _argo0 = 0;
10144 PyObject * _argo1 = 0;
10145 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10146
10147 self = self;
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10149 return NULL;
10150 if (_argo0) {
10151 if (_argo0 == Py_None) { _arg0 = NULL; }
10152 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10153 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p.");
10154 return NULL;
10155 }
10156 }
10157 if (_argo1) {
10158 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
10159 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10160 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
10161 return NULL;
10162 }
10163 }
10164{
10165 wxPy_BEGIN_ALLOW_THREADS;
10166 wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10167
10168 wxPy_END_ALLOW_THREADS;
10169} Py_INCREF(Py_None);
10170 _resultobj = Py_None;
10171 return _resultobj;
10172}
10173
10174#define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10175static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10176 PyObject * _resultobj;
10177 wxPyDividedShape * _arg0;
2348eaee 10178 wxPyControlPoint * _arg1;
e91a9dfc
RD
10179 double _arg2;
10180 double _arg3;
10181 int _arg4 = (int ) 0;
10182 int _arg5 = (int ) 0;
10183 PyObject * _argo0 = 0;
10184 PyObject * _argo1 = 0;
10185 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10186
10187 self = self;
10188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10189 return NULL;
10190 if (_argo0) {
10191 if (_argo0 == Py_None) { _arg0 = NULL; }
10192 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10193 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p.");
10194 return NULL;
10195 }
10196 }
10197 if (_argo1) {
10198 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
10199 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
10200 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
10201 return NULL;
10202 }
10203 }
10204{
10205 wxPy_BEGIN_ALLOW_THREADS;
10206 wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10207
10208 wxPy_END_ALLOW_THREADS;
10209} Py_INCREF(Py_None);
10210 _resultobj = Py_None;
10211 return _resultobj;
10212}
10213
10214#define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
10215static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10216 PyObject * _resultobj;
10217 wxPyDividedShape * _arg0;
10218 double _arg1;
10219 double _arg2;
10220 PyObject * _argo0 = 0;
10221 char *_kwnames[] = { "self","w","h", NULL };
10222
10223 self = self;
10224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
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_OnBeginSize. Expected _wxPyDividedShape_p.");
10230 return NULL;
10231 }
10232 }
10233{
10234 wxPy_BEGIN_ALLOW_THREADS;
10235 wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2);
10236
10237 wxPy_END_ALLOW_THREADS;
10238} Py_INCREF(Py_None);
10239 _resultobj = Py_None;
10240 return _resultobj;
10241}
10242
10243#define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
10244static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject * _resultobj;
10246 wxPyDividedShape * _arg0;
10247 double _arg1;
10248 double _arg2;
10249 PyObject * _argo0 = 0;
10250 char *_kwnames[] = { "self","w","h", NULL };
10251
10252 self = self;
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
10254 return NULL;
10255 if (_argo0) {
10256 if (_argo0 == Py_None) { _arg0 = NULL; }
10257 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
10258 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p.");
10259 return NULL;
10260 }
10261 }
10262{
10263 wxPy_BEGIN_ALLOW_THREADS;
10264 wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2);
10265
10266 wxPy_END_ALLOW_THREADS;
10267} Py_INCREF(Py_None);
10268 _resultobj = Py_None;
10269 return _resultobj;
10270}
10271
10272static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) {
10273 wxPyDivisionShape *src;
10274 wxPyCompositeShape *dest;
10275 src = (wxPyDivisionShape *) ptr;
10276 dest = (wxPyCompositeShape *) src;
10277 return (void *) dest;
10278}
10279
10280static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) {
10281 wxPyDivisionShape *src;
10282 wxPyRectangleShape *dest;
10283 src = (wxPyDivisionShape *) ptr;
10284 dest = (wxPyRectangleShape *) src;
10285 return (void *) dest;
10286}
10287
10288static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) {
10289 wxPyDivisionShape *src;
10290 wxPyShape *dest;
10291 src = (wxPyDivisionShape *) ptr;
10292 dest = (wxPyShape *) src;
10293 return (void *) dest;
10294}
10295
10296static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) {
10297 wxPyDivisionShape *src;
10298 wxPyShapeEvtHandler *dest;
10299 src = (wxPyDivisionShape *) ptr;
10300 dest = (wxPyShapeEvtHandler *) src;
10301 return (void *) dest;
10302}
10303
9416aa89
RD
10304static void *SwigwxPyDivisionShapeTowxObject(void *ptr) {
10305 wxPyDivisionShape *src;
10306 wxObject *dest;
10307 src = (wxPyDivisionShape *) ptr;
10308 dest = (wxObject *) src;
10309 return (void *) dest;
10310}
10311
e91a9dfc
RD
10312#define new_wxPyDivisionShape() (new wxPyDivisionShape())
10313static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
10314 PyObject * _resultobj;
10315 wxPyDivisionShape * _result;
10316 char *_kwnames[] = { NULL };
10317 char _ptemp[128];
10318
10319 self = self;
10320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames))
10321 return NULL;
10322{
10323 wxPy_BEGIN_ALLOW_THREADS;
10324 _result = (wxPyDivisionShape *)new_wxPyDivisionShape();
10325
10326 wxPy_END_ALLOW_THREADS;
10327} if (_result) {
10328 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
10329 _resultobj = Py_BuildValue("s",_ptemp);
10330 } else {
10331 Py_INCREF(Py_None);
10332 _resultobj = Py_None;
10333 }
10334 return _resultobj;
10335}
10336
0122b7e3
RD
10337#define wxPyDivisionShape__setCallbackInfo(_swigobj,_swigarg0,_swigarg1) (_swigobj->_setCallbackInfo(_swigarg0,_swigarg1))
10338static PyObject *_wrap_wxPyDivisionShape__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
e91a9dfc
RD
10339 PyObject * _resultobj;
10340 wxPyDivisionShape * _arg0;
10341 PyObject * _arg1;
f6bcfd97 10342 PyObject * _arg2;
e91a9dfc
RD
10343 PyObject * _argo0 = 0;
10344 PyObject * _obj1 = 0;
f6bcfd97
BP
10345 PyObject * _obj2 = 0;
10346 char *_kwnames[] = { "self","self","_class", NULL };
e91a9dfc
RD
10347
10348 self = self;
0122b7e3 10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDivisionShape__setCallbackInfo",_kwnames,&_argo0,&_obj1,&_obj2))
e91a9dfc
RD
10350 return NULL;
10351 if (_argo0) {
10352 if (_argo0 == Py_None) { _arg0 = NULL; }
10353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
0122b7e3 10354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setCallbackInfo. Expected _wxPyDivisionShape_p.");
e91a9dfc
RD
10355 return NULL;
10356 }
10357 }
10358{
10359 _arg1 = _obj1;
10360}
f6bcfd97
BP
10361{
10362 _arg2 = _obj2;
10363}
e91a9dfc
RD
10364{
10365 wxPy_BEGIN_ALLOW_THREADS;
0122b7e3 10366 wxPyDivisionShape__setCallbackInfo(_arg0,_arg1,_arg2);
e91a9dfc
RD
10367
10368 wxPy_END_ALLOW_THREADS;
10369} Py_INCREF(Py_None);
10370 _resultobj = Py_None;
10371 return _resultobj;
10372}
10373
10374#define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1))
10375static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject * _resultobj;
10377 wxPyDivisionShape * _arg0;
10378 double _arg1;
10379 bool _arg2;
10380 PyObject * _argo0 = 0;
10381 int tempbool2;
10382 char *_kwnames[] = { "self","bottom","test", NULL };
10383
10384 self = self;
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2))
10386 return NULL;
10387 if (_argo0) {
10388 if (_argo0 == Py_None) { _arg0 = NULL; }
10389 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10390 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p.");
10391 return NULL;
10392 }
10393 }
10394 _arg2 = (bool ) tempbool2;
10395{
10396 wxPy_BEGIN_ALLOW_THREADS;
10397 wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2);
10398
10399 wxPy_END_ALLOW_THREADS;
10400} Py_INCREF(Py_None);
10401 _resultobj = Py_None;
10402 return _resultobj;
10403}
10404
10405#define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1))
10406static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10407 PyObject * _resultobj;
10408 wxPyDivisionShape * _arg0;
10409 double _arg1;
10410 bool _arg2;
10411 PyObject * _argo0 = 0;
10412 int tempbool2;
10413 char *_kwnames[] = { "self","left","test", NULL };
10414
10415 self = self;
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2))
10417 return NULL;
10418 if (_argo0) {
10419 if (_argo0 == Py_None) { _arg0 = NULL; }
10420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p.");
10422 return NULL;
10423 }
10424 }
10425 _arg2 = (bool ) tempbool2;
10426{
10427 wxPy_BEGIN_ALLOW_THREADS;
10428 wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2);
10429
10430 wxPy_END_ALLOW_THREADS;
10431} Py_INCREF(Py_None);
10432 _resultobj = Py_None;
10433 return _resultobj;
10434}
10435
10436#define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1))
10437static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10438 PyObject * _resultobj;
10439 wxPyDivisionShape * _arg0;
10440 double _arg1;
10441 bool _arg2;
10442 PyObject * _argo0 = 0;
10443 int tempbool2;
10444 char *_kwnames[] = { "self","right","test", NULL };
10445
10446 self = self;
10447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2))
10448 return NULL;
10449 if (_argo0) {
10450 if (_argo0 == Py_None) { _arg0 = NULL; }
10451 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10452 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p.");
10453 return NULL;
10454 }
10455 }
10456 _arg2 = (bool ) tempbool2;
10457{
10458 wxPy_BEGIN_ALLOW_THREADS;
10459 wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2);
10460
10461 wxPy_END_ALLOW_THREADS;
10462} Py_INCREF(Py_None);
10463 _resultobj = Py_None;
10464 return _resultobj;
10465}
10466
10467#define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1))
10468static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
10469 PyObject * _resultobj;
10470 wxPyDivisionShape * _arg0;
10471 double _arg1;
10472 bool _arg2;
10473 PyObject * _argo0 = 0;
10474 int tempbool2;
10475 char *_kwnames[] = { "self","top","test", NULL };
10476
10477 self = self;
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2))
10479 return NULL;
10480 if (_argo0) {
10481 if (_argo0 == Py_None) { _arg0 = NULL; }
10482 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10483 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p.");
10484 return NULL;
10485 }
10486 }
10487 _arg2 = (bool ) tempbool2;
10488{
10489 wxPy_BEGIN_ALLOW_THREADS;
10490 wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2);
10491
10492 wxPy_END_ALLOW_THREADS;
10493} Py_INCREF(Py_None);
10494 _resultobj = Py_None;
10495 return _resultobj;
10496}
10497
10498#define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0))
10499static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
10500 PyObject * _resultobj;
10501 wxPyDivisionShape * _arg0;
10502 int _arg1;
10503 PyObject * _argo0 = 0;
10504 char *_kwnames[] = { "self","direction", NULL };
10505
10506 self = self;
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1))
10508 return NULL;
10509 if (_argo0) {
10510 if (_argo0 == Py_None) { _arg0 = NULL; }
10511 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10512 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p.");
10513 return NULL;
10514 }
10515 }
10516{
10517 wxPy_BEGIN_ALLOW_THREADS;
10518 wxPyDivisionShape_Divide(_arg0,_arg1);
10519
10520 wxPy_END_ALLOW_THREADS;
10521} Py_INCREF(Py_None);
10522 _resultobj = Py_None;
10523 return _resultobj;
10524}
10525
10526#define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0))
10527static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
10528 PyObject * _resultobj;
10529 wxPyDivisionShape * _arg0;
10530 int _arg1;
10531 PyObject * _argo0 = 0;
10532 char *_kwnames[] = { "self","side", NULL };
10533
10534 self = self;
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1))
10536 return NULL;
10537 if (_argo0) {
10538 if (_argo0 == Py_None) { _arg0 = NULL; }
10539 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10540 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p.");
10541 return NULL;
10542 }
10543 }
10544{
10545 wxPy_BEGIN_ALLOW_THREADS;
10546 wxPyDivisionShape_EditEdge(_arg0,_arg1);
10547
10548 wxPy_END_ALLOW_THREADS;
10549} Py_INCREF(Py_None);
10550 _resultobj = Py_None;
10551 return _resultobj;
10552}
10553
10554#define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide())
10555static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10556 PyObject * _resultobj;
10557 wxPyDivisionShape * _result;
10558 wxPyDivisionShape * _arg0;
10559 PyObject * _argo0 = 0;
10560 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
10561
10562 self = self;
10563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0))
10564 return NULL;
10565 if (_argo0) {
10566 if (_argo0 == Py_None) { _arg0 = NULL; }
10567 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10568 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p.");
10569 return NULL;
10570 }
10571 }
10572{
10573 wxPy_BEGIN_ALLOW_THREADS;
10574 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0);
10575
10576 wxPy_END_ALLOW_THREADS;
9416aa89 10577}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
10578 return _resultobj;
10579}
10580
10581#define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide())
10582static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10583 PyObject * _resultobj;
10584 int _result;
10585 wxPyDivisionShape * _arg0;
10586 PyObject * _argo0 = 0;
10587 char *_kwnames[] = { "self", NULL };
10588
10589 self = self;
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0))
10591 return NULL;
10592 if (_argo0) {
10593 if (_argo0 == Py_None) { _arg0 = NULL; }
10594 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10595 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p.");
10596 return NULL;
10597 }
10598 }
10599{
10600 wxPy_BEGIN_ALLOW_THREADS;
10601 _result = (int )wxPyDivisionShape_GetHandleSide(_arg0);
10602
10603 wxPy_END_ALLOW_THREADS;
10604} _resultobj = Py_BuildValue("i",_result);
10605 return _resultobj;
10606}
10607
10608#define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide())
10609static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject * _resultobj;
10611 wxPyDivisionShape * _result;
10612 wxPyDivisionShape * _arg0;
10613 PyObject * _argo0 = 0;
10614 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
10615
10616 self = self;
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0))
10618 return NULL;
10619 if (_argo0) {
10620 if (_argo0 == Py_None) { _arg0 = NULL; }
10621 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10622 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p.");
10623 return NULL;
10624 }
10625 }
10626{
10627 wxPy_BEGIN_ALLOW_THREADS;
10628 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0);
10629
10630 wxPy_END_ALLOW_THREADS;
9416aa89 10631}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
10632 return _resultobj;
10633}
10634
10635#define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour())
10636static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject * _resultobj;
10638 wxString * _result;
10639 wxPyDivisionShape * _arg0;
10640 PyObject * _argo0 = 0;
10641 char *_kwnames[] = { "self", NULL };
10642
10643 self = self;
10644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0))
10645 return NULL;
10646 if (_argo0) {
10647 if (_argo0 == Py_None) { _arg0 = NULL; }
10648 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10649 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p.");
10650 return NULL;
10651 }
10652 }
10653{
10654 wxPy_BEGIN_ALLOW_THREADS;
10655 _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0));
10656
10657 wxPy_END_ALLOW_THREADS;
10658}{
eec92d76 10659 _resultobj = PyString_FromStringAndSize(_result->c_str(), _result->Len());
e91a9dfc
RD
10660}
10661{
10662 delete _result;
10663}
10664 return _resultobj;
10665}
10666
10667#define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen())
10668static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10669 PyObject * _resultobj;
10670 wxPen * _result;
10671 wxPyDivisionShape * _arg0;
10672 PyObject * _argo0 = 0;
10673 char *_kwnames[] = { "self", NULL };
10674 char _ptemp[128];
10675
10676 self = self;
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0))
10678 return NULL;
10679 if (_argo0) {
10680 if (_argo0 == Py_None) { _arg0 = NULL; }
10681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p.");
10683 return NULL;
10684 }
10685 }
10686{
10687 wxPy_BEGIN_ALLOW_THREADS;
10688 _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0);
10689
10690 wxPy_END_ALLOW_THREADS;
10691} if (_result) {
10692 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10693 _resultobj = Py_BuildValue("s",_ptemp);
10694 } else {
10695 Py_INCREF(Py_None);
10696 _resultobj = Py_None;
10697 }
10698 return _resultobj;
10699}
10700
10701#define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide())
10702static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10703 PyObject * _resultobj;
10704 wxPyDivisionShape * _result;
10705 wxPyDivisionShape * _arg0;
10706 PyObject * _argo0 = 0;
10707 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
10708
10709 self = self;
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0))
10711 return NULL;
10712 if (_argo0) {
10713 if (_argo0 == Py_None) { _arg0 = NULL; }
10714 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10715 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p.");
10716 return NULL;
10717 }
10718 }
10719{
10720 wxPy_BEGIN_ALLOW_THREADS;
10721 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0);
10722
10723 wxPy_END_ALLOW_THREADS;
9416aa89 10724}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
10725 return _resultobj;
10726}
10727
10728#define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide())
10729static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10730 PyObject * _resultobj;
10731 wxPyDivisionShape * _result;
10732 wxPyDivisionShape * _arg0;
10733 PyObject * _argo0 = 0;
10734 char *_kwnames[] = { "self", NULL };
e91a9dfc
RD
10735
10736 self = self;
10737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0))
10738 return NULL;
10739 if (_argo0) {
10740 if (_argo0 == Py_None) { _arg0 = NULL; }
10741 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10742 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p.");
10743 return NULL;
10744 }
10745 }
10746{
10747 wxPy_BEGIN_ALLOW_THREADS;
10748 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0);
10749
10750 wxPy_END_ALLOW_THREADS;
9416aa89 10751}{ _resultobj = wxPyMake_wxObject(_result); }
e91a9dfc
RD
10752 return _resultobj;
10753}
10754
10755#define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen())
10756static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
10757 PyObject * _resultobj;
10758 wxPen * _result;
10759 wxPyDivisionShape * _arg0;
10760 PyObject * _argo0 = 0;
10761 char *_kwnames[] = { "self", NULL };
10762 char _ptemp[128];
10763
10764 self = self;
10765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0))
10766 return NULL;
10767 if (_argo0) {
10768 if (_argo0 == Py_None) { _arg0 = NULL; }
10769 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10770 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p.");
10771 return NULL;
10772 }
10773 }
10774{
10775 wxPy_BEGIN_ALLOW_THREADS;
10776 _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0);
10777
10778 wxPy_END_ALLOW_THREADS;
10779} if (_result) {
10780 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
10781 _resultobj = Py_BuildValue("s",_ptemp);
10782 } else {
10783 Py_INCREF(Py_None);
10784 _resultobj = Py_None;
10785 }
10786 return _resultobj;
10787}
10788
10789#define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2))
10790static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
10791 PyObject * _resultobj;
10792 wxPyDivisionShape * _arg0;
10793 int _arg1;
10794 double _arg2;
10795 bool _arg3;
10796 PyObject * _argo0 = 0;
10797 int tempbool3;
10798 char *_kwnames[] = { "self","side","newPos","test", NULL };
10799
10800 self = self;
10801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
10802 return NULL;
10803 if (_argo0) {
10804 if (_argo0 == Py_None) { _arg0 = NULL; }
10805 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10806 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p.");
10807 return NULL;
10808 }
10809 }
10810 _arg3 = (bool ) tempbool3;
10811{
10812 wxPy_BEGIN_ALLOW_THREADS;
10813 wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3);
10814
10815 wxPy_END_ALLOW_THREADS;
10816} Py_INCREF(Py_None);
10817 _resultobj = Py_None;
10818 return _resultobj;
10819}
10820
10821#define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
10822static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10823 PyObject * _resultobj;
10824 wxPyDivisionShape * _arg0;
10825 double _arg1;
10826 double _arg2;
10827 PyObject * _argo0 = 0;
10828 char *_kwnames[] = { "self","x","y", NULL };
10829
10830 self = self;
10831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2))
10832 return NULL;
10833 if (_argo0) {
10834 if (_argo0 == Py_None) { _arg0 = NULL; }
10835 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10836 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p.");
10837 return NULL;
10838 }
10839 }
10840{
10841 wxPy_BEGIN_ALLOW_THREADS;
10842 wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2);
10843
10844 wxPy_END_ALLOW_THREADS;
10845} Py_INCREF(Py_None);
10846 _resultobj = Py_None;
10847 return _resultobj;
10848}
10849
10850#define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0))
10851static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10852 PyObject * _resultobj;
10853 wxPyDivisionShape * _arg0;
10854 wxPyDivisionShape * _arg1;
10855 PyObject * _argo0 = 0;
10856 PyObject * _argo1 = 0;
10857 char *_kwnames[] = { "self","shape", NULL };
10858
10859 self = self;
10860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1))
10861 return NULL;
10862 if (_argo0) {
10863 if (_argo0 == Py_None) { _arg0 = NULL; }
10864 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10865 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
10866 return NULL;
10867 }
10868 }
10869 if (_argo1) {
10870 if (_argo1 == Py_None) { _arg1 = NULL; }
10871 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
10872 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
10873 return NULL;
10874 }
10875 }
10876{
10877 wxPy_BEGIN_ALLOW_THREADS;
10878 wxPyDivisionShape_SetBottomSide(_arg0,_arg1);
10879
10880 wxPy_END_ALLOW_THREADS;
10881} Py_INCREF(Py_None);
10882 _resultobj = Py_None;
10883 return _resultobj;
10884}
10885
10886#define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0))
10887static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10888 PyObject * _resultobj;
10889 wxPyDivisionShape * _arg0;
10890 int _arg1;
10891 PyObject * _argo0 = 0;
10892 char *_kwnames[] = { "self","side", NULL };
10893
10894 self = self;
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1))
10896 return NULL;
10897 if (_argo0) {
10898 if (_argo0 == Py_None) { _arg0 = NULL; }
10899 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10900 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p.");
10901 return NULL;
10902 }
10903 }
10904{
10905 wxPy_BEGIN_ALLOW_THREADS;
10906 wxPyDivisionShape_SetHandleSide(_arg0,_arg1);
10907
10908 wxPy_END_ALLOW_THREADS;
10909} Py_INCREF(Py_None);
10910 _resultobj = Py_None;
10911 return _resultobj;
10912}
10913
10914#define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0))
10915static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
10916 PyObject * _resultobj;
10917 wxPyDivisionShape * _arg0;
10918 wxPyDivisionShape * _arg1;
10919 PyObject * _argo0 = 0;
10920 PyObject * _argo1 = 0;
10921 char *_kwnames[] = { "self","shape", NULL };
10922
10923 self = self;
10924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1))
10925 return NULL;
10926 if (_argo0) {
10927 if (_argo0 == Py_None) { _arg0 = NULL; }
10928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
10930 return NULL;
10931 }
10932 }
10933 if (_argo1) {
10934 if (_argo1 == Py_None) { _arg1 = NULL; }
10935 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
10936 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
10937 return NULL;
10938 }
10939 }
10940{
10941 wxPy_BEGIN_ALLOW_THREADS;
10942 wxPyDivisionShape_SetLeftSide(_arg0,_arg1);
10943
10944 wxPy_END_ALLOW_THREADS;
10945} Py_INCREF(Py_None);
10946 _resultobj = Py_None;
10947 return _resultobj;
10948}
10949
10950#define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0))
10951static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10952 PyObject * _resultobj;
10953 wxPyDivisionShape * _arg0;
10954 wxString * _arg1;
10955 PyObject * _argo0 = 0;
10956 PyObject * _obj1 = 0;
10957 char *_kwnames[] = { "self","colour", NULL };
10958
10959 self = self;
10960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1))
10961 return NULL;
10962 if (_argo0) {
10963 if (_argo0 == Py_None) { _arg0 = NULL; }
10964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p.");
10966 return NULL;
10967 }
10968 }
10969{
185d7c3e
RD
10970#if PYTHON_API_VERSION >= 1009
10971 char* tmpPtr; int tmpSize;
10972 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 10973 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
10974 return NULL;
10975 }
10976 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
10977 return NULL;
10978 _arg1 = new wxString(tmpPtr, tmpSize);
10979#else
e91a9dfc
RD
10980 if (!PyString_Check(_obj1)) {
10981 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
10982 return NULL;
10983 }
185d7c3e
RD
10984 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
10985#endif
e91a9dfc
RD
10986}
10987{
10988 wxPy_BEGIN_ALLOW_THREADS;
10989 wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1);
10990
10991 wxPy_END_ALLOW_THREADS;
10992} Py_INCREF(Py_None);
10993 _resultobj = Py_None;
10994{
10995 if (_obj1)
10996 delete _arg1;
10997}
10998 return _resultobj;
10999}
11000
11001#define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0))
11002static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11003 PyObject * _resultobj;
11004 wxPyDivisionShape * _arg0;
11005 wxPen * _arg1;
11006 PyObject * _argo0 = 0;
d74525f7 11007 PyObject * _obj1 = 0;
e91a9dfc
RD
11008 char *_kwnames[] = { "self","pen", NULL };
11009
11010 self = self;
d74525f7 11011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
11012 return NULL;
11013 if (_argo0) {
11014 if (_argo0 == Py_None) { _arg0 = NULL; }
11015 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11016 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p.");
11017 return NULL;
11018 }
11019 }
d74525f7
RD
11020{
11021 wxPen* temp;
11022 if (_obj1) {
11023 if (_obj1 == Py_None) { temp = NULL; }
11024 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11025 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
11026 return NULL;
11027 }
11028 }
d74525f7
RD
11029 if (temp)
11030 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11031 temp->GetWidth(),
11032 temp->GetStyle());
11033 else
11034 _arg1 = NULL;
11035}
e91a9dfc
RD
11036{
11037 wxPy_BEGIN_ALLOW_THREADS;
11038 wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1);
11039
11040 wxPy_END_ALLOW_THREADS;
11041} Py_INCREF(Py_None);
11042 _resultobj = Py_None;
11043 return _resultobj;
11044}
11045
11046#define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0))
11047static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11048 PyObject * _resultobj;
11049 wxPyDivisionShape * _arg0;
11050 wxPyDivisionShape * _arg1;
11051 PyObject * _argo0 = 0;
11052 PyObject * _argo1 = 0;
11053 char *_kwnames[] = { "self","shape", NULL };
11054
11055 self = self;
11056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1))
11057 return NULL;
11058 if (_argo0) {
11059 if (_argo0 == Py_None) { _arg0 = NULL; }
11060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11062 return NULL;
11063 }
11064 }
11065 if (_argo1) {
11066 if (_argo1 == Py_None) { _arg1 = NULL; }
11067 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11068 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
11069 return NULL;
11070 }
11071 }
11072{
11073 wxPy_BEGIN_ALLOW_THREADS;
11074 wxPyDivisionShape_SetRightSide(_arg0,_arg1);
11075
11076 wxPy_END_ALLOW_THREADS;
11077} Py_INCREF(Py_None);
11078 _resultobj = Py_None;
11079 return _resultobj;
11080}
11081
11082#define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0))
11083static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
11084 PyObject * _resultobj;
11085 wxPyDivisionShape * _arg0;
11086 wxPyDivisionShape * _arg1;
11087 PyObject * _argo0 = 0;
11088 PyObject * _argo1 = 0;
11089 char *_kwnames[] = { "self","shape", NULL };
11090
11091 self = self;
11092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1))
11093 return NULL;
11094 if (_argo0) {
11095 if (_argo0 == Py_None) { _arg0 = NULL; }
11096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11098 return NULL;
11099 }
11100 }
11101 if (_argo1) {
11102 if (_argo1 == Py_None) { _arg1 = NULL; }
11103 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
11104 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
11105 return NULL;
11106 }
11107 }
11108{
11109 wxPy_BEGIN_ALLOW_THREADS;
11110 wxPyDivisionShape_SetTopSide(_arg0,_arg1);
11111
11112 wxPy_END_ALLOW_THREADS;
11113} Py_INCREF(Py_None);
11114 _resultobj = Py_None;
11115 return _resultobj;
11116}
11117
11118#define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0))
11119static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject * _resultobj;
11121 wxPyDivisionShape * _arg0;
11122 wxString * _arg1;
11123 PyObject * _argo0 = 0;
11124 PyObject * _obj1 = 0;
11125 char *_kwnames[] = { "self","colour", NULL };
11126
11127 self = self;
11128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1))
11129 return NULL;
11130 if (_argo0) {
11131 if (_argo0 == Py_None) { _arg0 = NULL; }
11132 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11133 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p.");
11134 return NULL;
11135 }
11136 }
11137{
185d7c3e
RD
11138#if PYTHON_API_VERSION >= 1009
11139 char* tmpPtr; int tmpSize;
11140 if (!PyString_Check(_obj1) && !PyUnicode_Check(_obj1)) {
7a446686 11141 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
185d7c3e
RD
11142 return NULL;
11143 }
11144 if (PyString_AsStringAndSize(_obj1, &tmpPtr, &tmpSize) == -1)
11145 return NULL;
11146 _arg1 = new wxString(tmpPtr, tmpSize);
11147#else
e91a9dfc
RD
11148 if (!PyString_Check(_obj1)) {
11149 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
11150 return NULL;
11151 }
185d7c3e
RD
11152 _arg1 = new wxString(PyString_AS_STRING(_obj1), PyString_GET_SIZE(_obj1));
11153#endif
e91a9dfc
RD
11154}
11155{
11156 wxPy_BEGIN_ALLOW_THREADS;
11157 wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1);
11158
11159 wxPy_END_ALLOW_THREADS;
11160} Py_INCREF(Py_None);
11161 _resultobj = Py_None;
11162{
11163 if (_obj1)
11164 delete _arg1;
11165}
11166 return _resultobj;
11167}
11168
11169#define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0))
11170static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
11171 PyObject * _resultobj;
11172 wxPyDivisionShape * _arg0;
11173 wxPen * _arg1;
11174 PyObject * _argo0 = 0;
d74525f7 11175 PyObject * _obj1 = 0;
e91a9dfc
RD
11176 char *_kwnames[] = { "self","pen", NULL };
11177
11178 self = self;
d74525f7 11179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_obj1))
e91a9dfc
RD
11180 return NULL;
11181 if (_argo0) {
11182 if (_argo0 == Py_None) { _arg0 = NULL; }
11183 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11184 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p.");
11185 return NULL;
11186 }
11187 }
d74525f7
RD
11188{
11189 wxPen* temp;
11190 if (_obj1) {
11191 if (_obj1 == Py_None) { temp = NULL; }
11192 else if (SWIG_GetPtrObj(_obj1, (void **) &temp,"_wxPen_p")) {
11193 PyErr_SetString(PyExc_TypeError,"Type error, expected _wxPen_p.");
e91a9dfc
RD
11194 return NULL;
11195 }
11196 }
d74525f7
RD
11197 if (temp)
11198 _arg1 = wxThePenList->FindOrCreatePen(temp->GetColour(),
11199 temp->GetWidth(),
11200 temp->GetStyle());
11201 else
11202 _arg1 = NULL;
11203}
e91a9dfc
RD
11204{
11205 wxPy_BEGIN_ALLOW_THREADS;
11206 wxPyDivisionShape_SetTopSidePen(_arg0,_arg1);
11207
11208 wxPy_END_ALLOW_THREADS;
11209} Py_INCREF(Py_None);
11210 _resultobj = Py_None;
11211 return _resultobj;
11212}
11213
11214#define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
11215static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
11216 PyObject * _resultobj;
11217 wxPyDivisionShape * _arg0;
11218 PyObject * _argo0 = 0;
11219 char *_kwnames[] = { "self", NULL };
11220
11221 self = self;
11222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0))
11223 return NULL;
11224 if (_argo0) {
11225 if (_argo0 == Py_None) { _arg0 = NULL; }
11226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p.");
11228 return NULL;
11229 }
11230 }
11231{
11232 wxPy_BEGIN_ALLOW_THREADS;
11233 wxPyDivisionShape_base_OnDelete(_arg0);
11234
11235 wxPy_END_ALLOW_THREADS;
11236} Py_INCREF(Py_None);
11237 _resultobj = Py_None;
11238 return _resultobj;
11239}
11240
11241#define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
11242static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
11243 PyObject * _resultobj;
11244 wxPyDivisionShape * _arg0;
11245 wxDC * _arg1;
11246 PyObject * _argo0 = 0;
11247 PyObject * _argo1 = 0;
11248 char *_kwnames[] = { "self","dc", NULL };
11249
11250 self = self;
11251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
11252 return NULL;
11253 if (_argo0) {
11254 if (_argo0 == Py_None) { _arg0 = NULL; }
11255 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11256 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p.");
11257 return NULL;
11258 }
11259 }
11260 if (_argo1) {
11261 if (_argo1 == Py_None) { _arg1 = NULL; }
11262 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11263 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p.");
11264 return NULL;
11265 }
11266 }
11267{
11268 wxPy_BEGIN_ALLOW_THREADS;
11269 wxPyDivisionShape_base_OnDraw(_arg0,*_arg1);
11270
11271 wxPy_END_ALLOW_THREADS;
11272} Py_INCREF(Py_None);
11273 _resultobj = Py_None;
11274 return _resultobj;
11275}
11276
11277#define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
11278static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11279 PyObject * _resultobj;
11280 wxPyDivisionShape * _arg0;
11281 wxDC * _arg1;
11282 PyObject * _argo0 = 0;
11283 PyObject * _argo1 = 0;
11284 char *_kwnames[] = { "self","dc", NULL };
11285
11286 self = self;
11287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
11288 return NULL;
11289 if (_argo0) {
11290 if (_argo0 == Py_None) { _arg0 = NULL; }
11291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p.");
11293 return NULL;
11294 }
11295 }
11296 if (_argo1) {
11297 if (_argo1 == Py_None) { _arg1 = NULL; }
11298 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11299 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p.");
11300 return NULL;
11301 }
11302 }
11303{
11304 wxPy_BEGIN_ALLOW_THREADS;
11305 wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1);
11306
11307 wxPy_END_ALLOW_THREADS;
11308} Py_INCREF(Py_None);
11309 _resultobj = Py_None;
11310 return _resultobj;
11311}
11312
11313#define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
11314static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
11315 PyObject * _resultobj;
11316 wxPyDivisionShape * _arg0;
11317 wxDC * _arg1;
11318 bool _arg2 = (bool ) FALSE;
11319 PyObject * _argo0 = 0;
11320 PyObject * _argo1 = 0;
11321 int tempbool2 = (int) FALSE;
11322 char *_kwnames[] = { "self","dc","erase", NULL };
11323
11324 self = self;
11325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
11326 return NULL;
11327 if (_argo0) {
11328 if (_argo0 == Py_None) { _arg0 = NULL; }
11329 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11330 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p.");
11331 return NULL;
11332 }
11333 }
11334 if (_argo1) {
11335 if (_argo1 == Py_None) { _arg1 = NULL; }
11336 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11337 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p.");
11338 return NULL;
11339 }
11340 }
11341 _arg2 = (bool ) tempbool2;
11342{
11343 wxPy_BEGIN_ALLOW_THREADS;
11344 wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
11345
11346 wxPy_END_ALLOW_THREADS;
11347} Py_INCREF(Py_None);
11348 _resultobj = Py_None;
11349 return _resultobj;
11350}
11351
11352#define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
11353static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
11354 PyObject * _resultobj;
11355 wxPyDivisionShape * _arg0;
11356 wxDC * _arg1;
11357 PyObject * _argo0 = 0;
11358 PyObject * _argo1 = 0;
11359 char *_kwnames[] = { "self","dc", NULL };
11360
11361 self = self;
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
11363 return NULL;
11364 if (_argo0) {
11365 if (_argo0 == Py_None) { _arg0 = NULL; }
11366 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11367 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p.");
11368 return NULL;
11369 }
11370 }
11371 if (_argo1) {
11372 if (_argo1 == Py_None) { _arg1 = NULL; }
11373 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11374 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p.");
11375 return NULL;
11376 }
11377 }
11378{
11379 wxPy_BEGIN_ALLOW_THREADS;
11380 wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1);
11381
11382 wxPy_END_ALLOW_THREADS;
11383} Py_INCREF(Py_None);
11384 _resultobj = Py_None;
11385 return _resultobj;
11386}
11387
11388#define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
11389static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
11390 PyObject * _resultobj;
11391 wxPyDivisionShape * _arg0;
11392 wxDC * _arg1;
11393 PyObject * _argo0 = 0;
11394 PyObject * _argo1 = 0;
11395 char *_kwnames[] = { "self","dc", NULL };
11396
11397 self = self;
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1))
11399 return NULL;
11400 if (_argo0) {
11401 if (_argo0 == Py_None) { _arg0 = NULL; }
11402 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11403 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p.");
11404 return NULL;
11405 }
11406 }
11407 if (_argo1) {
11408 if (_argo1 == Py_None) { _arg1 = NULL; }
11409 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11410 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p.");
11411 return NULL;
11412 }
11413 }
11414{
11415 wxPy_BEGIN_ALLOW_THREADS;
11416 wxPyDivisionShape_base_OnErase(_arg0,*_arg1);
11417
11418 wxPy_END_ALLOW_THREADS;
11419} Py_INCREF(Py_None);
11420 _resultobj = Py_None;
11421 return _resultobj;
11422}
11423
11424#define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
11425static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
11426 PyObject * _resultobj;
11427 wxPyDivisionShape * _arg0;
11428 wxDC * _arg1;
11429 PyObject * _argo0 = 0;
11430 PyObject * _argo1 = 0;
11431 char *_kwnames[] = { "self","dc", NULL };
11432
11433 self = self;
11434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
11435 return NULL;
11436 if (_argo0) {
11437 if (_argo0 == Py_None) { _arg0 = NULL; }
11438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p.");
11440 return NULL;
11441 }
11442 }
11443 if (_argo1) {
11444 if (_argo1 == Py_None) { _arg1 = NULL; }
11445 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11446 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p.");
11447 return NULL;
11448 }
11449 }
11450{
11451 wxPy_BEGIN_ALLOW_THREADS;
11452 wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1);
11453
11454 wxPy_END_ALLOW_THREADS;
11455} Py_INCREF(Py_None);
11456 _resultobj = Py_None;
11457 return _resultobj;
11458}
11459
11460#define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
11461static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
11462 PyObject * _resultobj;
11463 wxPyDivisionShape * _arg0;
11464 wxDC * _arg1;
11465 PyObject * _argo0 = 0;
11466 PyObject * _argo1 = 0;
11467 char *_kwnames[] = { "self","dc", NULL };
11468
11469 self = self;
11470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
11471 return NULL;
11472 if (_argo0) {
11473 if (_argo0 == Py_None) { _arg0 = NULL; }
11474 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11475 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p.");
11476 return NULL;
11477 }
11478 }
11479 if (_argo1) {
11480 if (_argo1 == Py_None) { _arg1 = NULL; }
11481 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11482 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p.");
11483 return NULL;
11484 }
11485 }
11486{
11487 wxPy_BEGIN_ALLOW_THREADS;
11488 wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1);
11489
11490 wxPy_END_ALLOW_THREADS;
11491} Py_INCREF(Py_None);
11492 _resultobj = Py_None;
11493 return _resultobj;
11494}
11495
11496#define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11497static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject * _resultobj;
11499 wxPyDivisionShape * _arg0;
11500 double _arg1;
11501 double _arg2;
11502 int _arg3 = (int ) 0;
11503 int _arg4 = (int ) 0;
11504 PyObject * _argo0 = 0;
11505 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11506
11507 self = self;
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11509 return NULL;
11510 if (_argo0) {
11511 if (_argo0 == Py_None) { _arg0 = NULL; }
11512 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11513 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p.");
11514 return NULL;
11515 }
11516 }
11517{
11518 wxPy_BEGIN_ALLOW_THREADS;
11519 wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11520
11521 wxPy_END_ALLOW_THREADS;
11522} Py_INCREF(Py_None);
11523 _resultobj = Py_None;
11524 return _resultobj;
11525}
11526
11527#define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11528static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11529 PyObject * _resultobj;
11530 wxPyDivisionShape * _arg0;
11531 double _arg1;
11532 double _arg2;
11533 int _arg3 = (int ) 0;
11534 int _arg4 = (int ) 0;
11535 PyObject * _argo0 = 0;
11536 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11537
11538 self = self;
11539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11540 return NULL;
11541 if (_argo0) {
11542 if (_argo0 == Py_None) { _arg0 = NULL; }
11543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p.");
11545 return NULL;
11546 }
11547 }
11548{
11549 wxPy_BEGIN_ALLOW_THREADS;
11550 wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11551
11552 wxPy_END_ALLOW_THREADS;
11553} Py_INCREF(Py_None);
11554 _resultobj = Py_None;
11555 return _resultobj;
11556}
11557
11558#define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11559static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
11560 PyObject * _resultobj;
11561 wxPyDivisionShape * _arg0;
11562 double _arg1;
11563 double _arg2;
11564 int _arg3 = (int ) 0;
11565 int _arg4 = (int ) 0;
11566 PyObject * _argo0 = 0;
11567 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11568
11569 self = self;
11570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11571 return NULL;
11572 if (_argo0) {
11573 if (_argo0 == Py_None) { _arg0 = NULL; }
11574 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11575 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p.");
11576 return NULL;
11577 }
11578 }
11579{
11580 wxPy_BEGIN_ALLOW_THREADS;
11581 wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
11582
11583 wxPy_END_ALLOW_THREADS;
11584} Py_INCREF(Py_None);
11585 _resultobj = Py_None;
11586 return _resultobj;
11587}
11588
11589#define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
11590static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11591 PyObject * _resultobj;
11592 wxPyDivisionShape * _arg0;
11593 double _arg1;
11594 double _arg2;
11595 PyObject * _argo0 = 0;
11596 char *_kwnames[] = { "self","x","y", NULL };
11597
11598 self = self;
11599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
11600 return NULL;
11601 if (_argo0) {
11602 if (_argo0 == Py_None) { _arg0 = NULL; }
11603 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11604 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p.");
11605 return NULL;
11606 }
11607 }
11608{
11609 wxPy_BEGIN_ALLOW_THREADS;
11610 wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2);
11611
11612 wxPy_END_ALLOW_THREADS;
11613} Py_INCREF(Py_None);
11614 _resultobj = Py_None;
11615 return _resultobj;
11616}
11617
11618#define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11619static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
11620 PyObject * _resultobj;
11621 bool _result;
11622 wxPyDivisionShape * _arg0;
11623 wxDC * _arg1;
11624 double _arg2;
11625 double _arg3;
11626 double _arg4;
11627 double _arg5;
11628 bool _arg6 = (bool ) TRUE;
11629 PyObject * _argo0 = 0;
11630 PyObject * _argo1 = 0;
11631 int tempbool6 = (int) TRUE;
11632 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11633
11634 self = self;
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11636 return NULL;
11637 if (_argo0) {
11638 if (_argo0 == Py_None) { _arg0 = NULL; }
11639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p.");
11641 return NULL;
11642 }
11643 }
11644 if (_argo1) {
11645 if (_argo1 == Py_None) { _arg1 = NULL; }
11646 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11647 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p.");
11648 return NULL;
11649 }
11650 }
11651 _arg6 = (bool ) tempbool6;
11652{
11653 wxPy_BEGIN_ALLOW_THREADS;
11654 _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11655
11656 wxPy_END_ALLOW_THREADS;
11657} _resultobj = Py_BuildValue("i",_result);
11658 return _resultobj;
11659}
11660
11661#define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
11662static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
11663 PyObject * _resultobj;
11664 wxPyDivisionShape * _arg0;
11665 wxDC * _arg1;
11666 double _arg2;
11667 double _arg3;
11668 double _arg4;
11669 double _arg5;
11670 bool _arg6 = (bool ) TRUE;
11671 PyObject * _argo0 = 0;
11672 PyObject * _argo1 = 0;
11673 int tempbool6 = (int) TRUE;
11674 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
11675
11676 self = self;
11677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
11678 return NULL;
11679 if (_argo0) {
11680 if (_argo0 == Py_None) { _arg0 = NULL; }
11681 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11682 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p.");
11683 return NULL;
11684 }
11685 }
11686 if (_argo1) {
11687 if (_argo1 == Py_None) { _arg1 = NULL; }
11688 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11689 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p.");
11690 return NULL;
11691 }
11692 }
11693 _arg6 = (bool ) tempbool6;
11694{
11695 wxPy_BEGIN_ALLOW_THREADS;
11696 wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
11697
11698 wxPy_END_ALLOW_THREADS;
11699} Py_INCREF(Py_None);
11700 _resultobj = Py_None;
11701 return _resultobj;
11702}
11703
11704#define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11705static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11706 PyObject * _resultobj;
11707 wxPyDivisionShape * _arg0;
11708 bool _arg1;
11709 double _arg2;
11710 double _arg3;
11711 int _arg4 = (int ) 0;
11712 int _arg5 = (int ) 0;
11713 PyObject * _argo0 = 0;
11714 int tempbool1;
11715 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11716
11717 self = self;
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
11719 return NULL;
11720 if (_argo0) {
11721 if (_argo0 == Py_None) { _arg0 = NULL; }
11722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p.");
11724 return NULL;
11725 }
11726 }
11727 _arg1 = (bool ) tempbool1;
11728{
11729 wxPy_BEGIN_ALLOW_THREADS;
11730 wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11731
11732 wxPy_END_ALLOW_THREADS;
11733} Py_INCREF(Py_None);
11734 _resultobj = Py_None;
11735 return _resultobj;
11736}
11737
11738#define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11739static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11740 PyObject * _resultobj;
11741 wxPyDivisionShape * _arg0;
11742 double _arg1;
11743 double _arg2;
11744 int _arg3 = (int ) 0;
11745 int _arg4 = (int ) 0;
11746 PyObject * _argo0 = 0;
11747 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11748
11749 self = self;
11750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11751 return NULL;
11752 if (_argo0) {
11753 if (_argo0 == Py_None) { _arg0 = NULL; }
11754 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11755 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p.");
11756 return NULL;
11757 }
11758 }
11759{
11760 wxPy_BEGIN_ALLOW_THREADS;
11761 wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11762
11763 wxPy_END_ALLOW_THREADS;
11764} Py_INCREF(Py_None);
11765 _resultobj = Py_None;
11766 return _resultobj;
11767}
11768
11769#define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11770static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject * _resultobj;
11772 wxPyDivisionShape * _arg0;
11773 double _arg1;
11774 double _arg2;
11775 int _arg3 = (int ) 0;
11776 int _arg4 = (int ) 0;
11777 PyObject * _argo0 = 0;
11778 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11779
11780 self = self;
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11782 return NULL;
11783 if (_argo0) {
11784 if (_argo0 == Py_None) { _arg0 = NULL; }
11785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p.");
11787 return NULL;
11788 }
11789 }
11790{
11791 wxPy_BEGIN_ALLOW_THREADS;
11792 wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
11793
11794 wxPy_END_ALLOW_THREADS;
11795} Py_INCREF(Py_None);
11796 _resultobj = Py_None;
11797 return _resultobj;
11798}
11799
11800#define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11801static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject * _resultobj;
11803 wxPyDivisionShape * _arg0;
11804 bool _arg1;
11805 double _arg2;
11806 double _arg3;
11807 int _arg4 = (int ) 0;
11808 int _arg5 = (int ) 0;
11809 PyObject * _argo0 = 0;
11810 int tempbool1;
11811 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
11812
11813 self = self;
11814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
11815 return NULL;
11816 if (_argo0) {
11817 if (_argo0 == Py_None) { _arg0 = NULL; }
11818 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11819 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p.");
11820 return NULL;
11821 }
11822 }
11823 _arg1 = (bool ) tempbool1;
11824{
11825 wxPy_BEGIN_ALLOW_THREADS;
11826 wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
11827
11828 wxPy_END_ALLOW_THREADS;
11829} Py_INCREF(Py_None);
11830 _resultobj = Py_None;
11831 return _resultobj;
11832}
11833
11834#define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11835static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11836 PyObject * _resultobj;
11837 wxPyDivisionShape * _arg0;
11838 double _arg1;
11839 double _arg2;
11840 int _arg3 = (int ) 0;
11841 int _arg4 = (int ) 0;
11842 PyObject * _argo0 = 0;
11843 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11844
11845 self = self;
11846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11847 return NULL;
11848 if (_argo0) {
11849 if (_argo0 == Py_None) { _arg0 = NULL; }
11850 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11851 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p.");
11852 return NULL;
11853 }
11854 }
11855{
11856 wxPy_BEGIN_ALLOW_THREADS;
11857 wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
11858
11859 wxPy_END_ALLOW_THREADS;
11860} Py_INCREF(Py_None);
11861 _resultobj = Py_None;
11862 return _resultobj;
11863}
11864
11865#define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
11866static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
11867 PyObject * _resultobj;
11868 wxPyDivisionShape * _arg0;
11869 double _arg1;
11870 double _arg2;
11871 int _arg3 = (int ) 0;
11872 int _arg4 = (int ) 0;
11873 PyObject * _argo0 = 0;
11874 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
11875
11876 self = self;
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
11878 return NULL;
11879 if (_argo0) {
11880 if (_argo0 == Py_None) { _arg0 = NULL; }
11881 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11882 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p.");
11883 return NULL;
11884 }
11885 }
11886{
11887 wxPy_BEGIN_ALLOW_THREADS;
11888 wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
11889
11890 wxPy_END_ALLOW_THREADS;
11891} Py_INCREF(Py_None);
11892 _resultobj = Py_None;
11893 return _resultobj;
11894}
11895
11896#define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
11897static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
11898 PyObject * _resultobj;
11899 wxPyDivisionShape * _arg0;
11900 wxDC * _arg1;
11901 double _arg2;
11902 double _arg3;
11903 double _arg4;
11904 double _arg5;
11905 PyObject * _argo0 = 0;
11906 PyObject * _argo1 = 0;
11907 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
11908
11909 self = self;
11910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
11911 return NULL;
11912 if (_argo0) {
11913 if (_argo0 == Py_None) { _arg0 = NULL; }
11914 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11915 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p.");
11916 return NULL;
11917 }
11918 }
11919 if (_argo1) {
11920 if (_argo1 == Py_None) { _arg1 = NULL; }
11921 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11922 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p.");
11923 return NULL;
11924 }
11925 }
11926{
11927 wxPy_BEGIN_ALLOW_THREADS;
11928 wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
11929
11930 wxPy_END_ALLOW_THREADS;
11931} Py_INCREF(Py_None);
11932 _resultobj = Py_None;
11933 return _resultobj;
11934}
11935
11936#define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
11937static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11938 PyObject * _resultobj;
11939 wxPyDivisionShape * _arg0;
11940 wxDC * _arg1;
11941 PyObject * _argo0 = 0;
11942 PyObject * _argo1 = 0;
11943 char *_kwnames[] = { "self","dc", NULL };
11944
11945 self = self;
11946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
11947 return NULL;
11948 if (_argo0) {
11949 if (_argo0 == Py_None) { _arg0 = NULL; }
11950 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11951 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p.");
11952 return NULL;
11953 }
11954 }
11955 if (_argo1) {
11956 if (_argo1 == Py_None) { _arg1 = NULL; }
11957 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11958 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p.");
11959 return NULL;
11960 }
11961 }
11962{
11963 wxPy_BEGIN_ALLOW_THREADS;
11964 wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1);
11965
11966 wxPy_END_ALLOW_THREADS;
11967} Py_INCREF(Py_None);
11968 _resultobj = Py_None;
11969 return _resultobj;
11970}
11971
11972#define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
11973static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject * _resultobj;
11975 wxPyDivisionShape * _arg0;
11976 wxDC * _arg1;
11977 PyObject * _argo0 = 0;
11978 PyObject * _argo1 = 0;
11979 char *_kwnames[] = { "self","dc", NULL };
11980
11981 self = self;
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
11983 return NULL;
11984 if (_argo0) {
11985 if (_argo0 == Py_None) { _arg0 = NULL; }
11986 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
11987 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p.");
11988 return NULL;
11989 }
11990 }
11991 if (_argo1) {
11992 if (_argo1 == Py_None) { _arg1 = NULL; }
11993 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
11994 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p.");
11995 return NULL;
11996 }
11997 }
11998{
11999 wxPy_BEGIN_ALLOW_THREADS;
12000 wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1);
12001
12002 wxPy_END_ALLOW_THREADS;
12003} Py_INCREF(Py_None);
12004 _resultobj = Py_None;
12005 return _resultobj;
12006}
12007
12008#define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
12009static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
12010 PyObject * _resultobj;
12011 wxPyDivisionShape * _arg0;
12012 wxDC * _arg1;
12013 bool _arg2 = (bool ) TRUE;
12014 PyObject * _argo0 = 0;
12015 PyObject * _argo1 = 0;
12016 int tempbool2 = (int) TRUE;
12017 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
12018
12019 self = self;
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
12021 return NULL;
12022 if (_argo0) {
12023 if (_argo0 == Py_None) { _arg0 = NULL; }
12024 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12025 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p.");
12026 return NULL;
12027 }
12028 }
12029 if (_argo1) {
12030 if (_argo1 == Py_None) { _arg1 = NULL; }
12031 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
12032 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p.");
12033 return NULL;
12034 }
12035 }
12036 _arg2 = (bool ) tempbool2;
12037{
12038 wxPy_BEGIN_ALLOW_THREADS;
12039 wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
12040
12041 wxPy_END_ALLOW_THREADS;
12042} Py_INCREF(Py_None);
12043 _resultobj = Py_None;
12044 return _resultobj;
12045}
12046
12047#define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
12048static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject * _resultobj;
12050 wxPyDivisionShape * _arg0;
2348eaee 12051 wxPyControlPoint * _arg1;
e91a9dfc
RD
12052 bool _arg2;
12053 double _arg3;
12054 double _arg4;
12055 int _arg5 = (int ) 0;
12056 int _arg6 = (int ) 0;
12057 PyObject * _argo0 = 0;
12058 PyObject * _argo1 = 0;
12059 int tempbool2;
12060 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
12061
12062 self = self;
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
12064 return NULL;
12065 if (_argo0) {
12066 if (_argo0 == Py_None) { _arg0 = NULL; }
12067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p.");
12069 return NULL;
12070 }
12071 }
12072 if (_argo1) {
12073 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
12074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
12076 return NULL;
12077 }
12078 }
12079 _arg2 = (bool ) tempbool2;
12080{
12081 wxPy_BEGIN_ALLOW_THREADS;
12082 wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
12083
12084 wxPy_END_ALLOW_THREADS;
12085} Py_INCREF(Py_None);
12086 _resultobj = Py_None;
12087 return _resultobj;
12088}
12089
12090#define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12091static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12092 PyObject * _resultobj;
12093 wxPyDivisionShape * _arg0;
2348eaee 12094 wxPyControlPoint * _arg1;
e91a9dfc
RD
12095 double _arg2;
12096 double _arg3;
12097 int _arg4 = (int ) 0;
12098 int _arg5 = (int ) 0;
12099 PyObject * _argo0 = 0;
12100 PyObject * _argo1 = 0;
12101 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12102
12103 self = self;
12104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12105 return NULL;
12106 if (_argo0) {
12107 if (_argo0 == Py_None) { _arg0 = NULL; }
12108 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12109 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p.");
12110 return NULL;
12111 }
12112 }
12113 if (_argo1) {
12114 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
12115 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12116 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
12117 return NULL;
12118 }
12119 }
12120{
12121 wxPy_BEGIN_ALLOW_THREADS;
12122 wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12123
12124 wxPy_END_ALLOW_THREADS;
12125} Py_INCREF(Py_None);
12126 _resultobj = Py_None;
12127 return _resultobj;
12128}
12129
12130#define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
12131static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
12132 PyObject * _resultobj;
12133 wxPyDivisionShape * _arg0;
2348eaee 12134 wxPyControlPoint * _arg1;
e91a9dfc
RD
12135 double _arg2;
12136 double _arg3;
12137 int _arg4 = (int ) 0;
12138 int _arg5 = (int ) 0;
12139 PyObject * _argo0 = 0;
12140 PyObject * _argo1 = 0;
12141 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
12142
12143 self = self;
12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
12145 return NULL;
12146 if (_argo0) {
12147 if (_argo0 == Py_None) { _arg0 = NULL; }
12148 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12149 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p.");
12150 return NULL;
12151 }
12152 }
12153 if (_argo1) {
12154 if (_argo1 == Py_None) { _arg1 = NULL; }
2348eaee
RD
12155 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyControlPoint_p")) {
12156 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyControlPoint_p.");
e91a9dfc
RD
12157 return NULL;
12158 }
12159 }
12160{
12161 wxPy_BEGIN_ALLOW_THREADS;
12162 wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
12163
12164 wxPy_END_ALLOW_THREADS;
12165} Py_INCREF(Py_None);
12166 _resultobj = Py_None;
12167 return _resultobj;
12168}
12169
12170#define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
12171static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12172 PyObject * _resultobj;
12173 wxPyDivisionShape * _arg0;
12174 double _arg1;
12175 double _arg2;
12176 PyObject * _argo0 = 0;
12177 char *_kwnames[] = { "self","w","h", NULL };
12178
12179 self = self;
12180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
12181 return NULL;
12182 if (_argo0) {
12183 if (_argo0 == Py_None) { _arg0 = NULL; }
12184 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12185 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p.");
12186 return NULL;
12187 }
12188 }
12189{
12190 wxPy_BEGIN_ALLOW_THREADS;
12191 wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2);
12192
12193 wxPy_END_ALLOW_THREADS;
12194} Py_INCREF(Py_None);
12195 _resultobj = Py_None;
12196 return _resultobj;
12197}
12198
12199#define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
12200static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12201 PyObject * _resultobj;
12202 wxPyDivisionShape * _arg0;
12203 double _arg1;
12204 double _arg2;
12205 PyObject * _argo0 = 0;
12206 char *_kwnames[] = { "self","w","h", NULL };
12207
12208 self = self;
12209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
12210 return NULL;
12211 if (_argo0) {
12212 if (_argo0 == Py_None) { _arg0 = NULL; }
12213 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
12214 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p.");
12215 return NULL;
12216 }
12217 }
12218{
12219 wxPy_BEGIN_ALLOW_THREADS;
12220 wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2);
12221
12222 wxPy_END_ALLOW_THREADS;
12223} Py_INCREF(Py_None);
12224 _resultobj = Py_None;
12225 return _resultobj;
12226}
12227
12228static PyMethodDef oglshapescMethods[] = {
12229 { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12230 { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12231 { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12232 { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12233 { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12234 { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12235 { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12236 { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12237 { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12238 { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12239 { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12240 { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12241 { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12242 { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12243 { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12244 { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12245 { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12246 { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12247 { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12248 { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12249 { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12250 { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12251 { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12252 { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12253 { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12254 { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12255 { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12256 { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12257 { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12258 { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12259 { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
12260 { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
12261 { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
12262 { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12263 { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12264 { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
12265 { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
12266 { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
12267 { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
12268 { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
12269 { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
12270 { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
12271 { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
12272 { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
12273 { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
12274 { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
12275 { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
12276 { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
12277 { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
12278 { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
12279 { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
12280 { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
12281 { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
12282 { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12283 { "wxPyDivisionShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDivisionShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12284 { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS },
12285 { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12286 { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12287 { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12288 { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12289 { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12290 { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12291 { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12292 { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12293 { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12294 { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12295 { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12296 { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12297 { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12298 { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12299 { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12300 { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12301 { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12302 { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12303 { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12304 { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12305 { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12306 { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12307 { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12308 { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12309 { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12310 { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12311 { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12312 { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12313 { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12314 { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
12315 { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12316 { "wxPyDividedShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDividedShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12317 { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS },
12318 { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12319 { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12320 { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12321 { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12322 { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12323 { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12324 { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12325 { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12326 { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12327 { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12328 { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12329 { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12330 { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12331 { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12332 { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12333 { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12334 { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12335 { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12336 { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12337 { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12338 { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12339 { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12340 { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12341 { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12342 { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12343 { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12344 { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12345 { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12346 { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12347 { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
12348 { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
12349 { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
12350 { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
12351 { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
12352 { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
12353 { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
12354 { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
12355 { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
12356 { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12357 { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
714d23b4 12358 { "wxPyCompositeShape_AddConstrainedShapes", (PyCFunction) _wrap_wxPyCompositeShape_AddConstrainedShapes, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12359 { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
12360 { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12361 { "wxPyCompositeShape__setCallbackInfo", (PyCFunction) _wrap_wxPyCompositeShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12362 { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS },
12363 { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
12364 { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
12365 { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12366 { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
12367 { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12368 { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12369 { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12370 { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12371 { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12372 { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12373 { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12374 { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12375 { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12376 { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12377 { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12378 { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12379 { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12380 { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12381 { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12382 { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12383 { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12384 { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12385 { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12386 { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12387 { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12388 { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12389 { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12390 { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12391 { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12392 { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12393 { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12394 { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12395 { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12396 { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
12397 { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
12398 { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
12399 { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
12400 { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
12401 { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
12402 { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
12403 { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12404 { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12405 { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12406 { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
12407 { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12408 { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
12409 { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
12410 { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
12411 { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
12412 { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12413 { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12414 { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12415 { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12416 { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12417 { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
12418 { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
12419 { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12420 { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
12421 { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
12422 { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12423 { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12424 { "wxPyDrawnShape__setCallbackInfo", (PyCFunction) _wrap_wxPyDrawnShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12425 { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS },
12426 { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12427 { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12428 { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12429 { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12430 { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12431 { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12432 { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12433 { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12434 { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12435 { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12436 { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12437 { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12438 { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12439 { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12440 { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12441 { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12442 { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12443 { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12444 { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12445 { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12446 { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12447 { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12448 { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12449 { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12450 { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12451 { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12452 { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12453 { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12454 { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12455 { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
12456 { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
12457 { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
12458 { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12459 { "wxPyBitmapShape__setCallbackInfo", (PyCFunction) _wrap_wxPyBitmapShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc 12460 { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS },
2348eaee
RD
12461 { "wxPyControlPoint_base_OnEndSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12462 { "wxPyControlPoint_base_OnBeginSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12463 { "wxPyControlPoint_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12464 { "wxPyControlPoint_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12465 { "wxPyControlPoint_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12466 { "wxPyControlPoint_base_OnMoveLink", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12467 { "wxPyControlPoint_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12468 { "wxPyControlPoint_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12469 { "wxPyControlPoint_base_OnDrawOutline", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12470 { "wxPyControlPoint_base_OnEndDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12471 { "wxPyControlPoint_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12472 { "wxPyControlPoint_base_OnDragRight", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12473 { "wxPyControlPoint_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12474 { "wxPyControlPoint_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12475 { "wxPyControlPoint_base_OnDragLeft", (PyCFunction) _wrap_wxPyControlPoint_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12476 { "wxPyControlPoint_base_OnMovePost", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12477 { "wxPyControlPoint_base_OnMovePre", (PyCFunction) _wrap_wxPyControlPoint_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12478 { "wxPyControlPoint_base_OnSize", (PyCFunction) _wrap_wxPyControlPoint_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12479 { "wxPyControlPoint_base_OnRightClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12480 { "wxPyControlPoint_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12481 { "wxPyControlPoint_base_OnLeftClick", (PyCFunction) _wrap_wxPyControlPoint_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12482 { "wxPyControlPoint_base_OnHighlight", (PyCFunction) _wrap_wxPyControlPoint_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12483 { "wxPyControlPoint_base_OnEraseContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12484 { "wxPyControlPoint_base_OnErase", (PyCFunction) _wrap_wxPyControlPoint_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12485 { "wxPyControlPoint_base_OnMoveLinks", (PyCFunction) _wrap_wxPyControlPoint_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12486 { "wxPyControlPoint_base_OnDrawBranches", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12487 { "wxPyControlPoint_base_OnDrawContents", (PyCFunction) _wrap_wxPyControlPoint_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12488 { "wxPyControlPoint_base_OnDraw", (PyCFunction) _wrap_wxPyControlPoint_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12489 { "wxPyControlPoint_base_OnDelete", (PyCFunction) _wrap_wxPyControlPoint_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12490 { "wxPyControlPoint_SetCornerRadius", (PyCFunction) _wrap_wxPyControlPoint_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12491 { "wxPyControlPoint__setCallbackInfo", (PyCFunction) _wrap_wxPyControlPoint__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
2348eaee 12492 { "new_wxPyControlPoint", (PyCFunction) _wrap_new_wxPyControlPoint, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12493 { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
12494 { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
12495 { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12496 { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12497 { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
12498 { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
12499 { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
12500 { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
12501 { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
12502 { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
12503 { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
12504 { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
12505 { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
12506 { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
12507 { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
12508 { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
12509 { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
12510 { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
12511 { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
12512 { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
12513 { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
12514 { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
12515 { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
12516 { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
12517 { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
12518 { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
12519 { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
12520 { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
12521 { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
12522 { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
0122b7e3 12523 { "wxPyRectangleShape__setCallbackInfo", (PyCFunction) _wrap_wxPyRectangleShape__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
e91a9dfc
RD
12524 { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS },
12525 { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
12526 { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
12527 { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
12528 { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
12529 { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
12530 { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
12531 { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
12532 { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
12533 { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
12534 { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
12535 { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
12536 { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
12537 { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
12538 { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
12539 { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
12540 { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
12541 { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
12542 { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
12543 { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
12544 { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
12545 { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12546 { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
12547 { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12548 { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
12549 { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
12550 { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
12551 { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
12552 { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
12553 { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
12554 { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
12555 { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
12556 { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
12557 { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
12558 { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
12559 { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
12560 { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
12561 { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
12562 { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
12563 { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS },
12564 { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS },
12565 { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
12566 { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12567 { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
12568 { NULL, NULL }
12569};
12570#ifdef __cplusplus
12571}
12572#endif
12573/*
12574 * This table is used by the pointer type-checker
12575 */
12576static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
e91a9dfc 12577 { "_signed_long","_long",0},
eec92d76 12578 { "_wxPrintQuality","_wxCoord",0},
e91a9dfc
RD
12579 { "_wxPrintQuality","_int",0},
12580 { "_wxPrintQuality","_signed_int",0},
12581 { "_wxPrintQuality","_unsigned_int",0},
12582 { "_wxPrintQuality","_wxWindowID",0},
12583 { "_wxPrintQuality","_uint",0},
12584 { "_wxPrintQuality","_EBool",0},
12585 { "_wxPrintQuality","_size_t",0},
c368d904 12586 { "_wxPrintQuality","_time_t",0},
e91a9dfc 12587 { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
e91a9dfc 12588 { "_byte","_unsigned_char",0},
e91a9dfc
RD
12589 { "_long","_unsigned_long",0},
12590 { "_long","_signed_long",0},
eec92d76 12591 { "_size_t","_wxCoord",0},
e91a9dfc 12592 { "_size_t","_wxPrintQuality",0},
c368d904 12593 { "_size_t","_time_t",0},
e91a9dfc
RD
12594 { "_size_t","_unsigned_int",0},
12595 { "_size_t","_int",0},
12596 { "_size_t","_wxWindowID",0},
12597 { "_size_t","_uint",0},
eec92d76 12598 { "_uint","_wxCoord",0},
e91a9dfc 12599 { "_uint","_wxPrintQuality",0},
c368d904 12600 { "_uint","_time_t",0},
e91a9dfc
RD
12601 { "_uint","_size_t",0},
12602 { "_uint","_unsigned_int",0},
12603 { "_uint","_int",0},
12604 { "_uint","_wxWindowID",0},
c368d904 12605 { "_wxChar","_char",0},
c368d904 12606 { "_char","_wxChar",0},
19a97bd6 12607 { "_struct_wxNativeFontInfo","_wxNativeFontInfo",0},
eec92d76 12608 { "_EBool","_wxCoord",0},
e91a9dfc
RD
12609 { "_EBool","_wxPrintQuality",0},
12610 { "_EBool","_signed_int",0},
12611 { "_EBool","_int",0},
12612 { "_EBool","_wxWindowID",0},
e91a9dfc 12613 { "_unsigned_long","_long",0},
19a97bd6 12614 { "_wxNativeFontInfo","_struct_wxNativeFontInfo",0},
eec92d76 12615 { "_signed_int","_wxCoord",0},
e91a9dfc
RD
12616 { "_signed_int","_wxPrintQuality",0},
12617 { "_signed_int","_EBool",0},
12618 { "_signed_int","_wxWindowID",0},
12619 { "_signed_int","_int",0},
c368d904 12620 { "_WXTYPE","_wxDateTime_t",0},
e91a9dfc
RD
12621 { "_WXTYPE","_short",0},
12622 { "_WXTYPE","_signed_short",0},
12623 { "_WXTYPE","_unsigned_short",0},
c368d904 12624 { "_unsigned_short","_wxDateTime_t",0},
e91a9dfc
RD
12625 { "_unsigned_short","_WXTYPE",0},
12626 { "_unsigned_short","_short",0},
9416aa89 12627 { "_wxObject","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxObject},
9416aa89 12628 { "_wxObject","_wxPyDividedShape",SwigwxPyDividedShapeTowxObject},
9416aa89 12629 { "_wxObject","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxObject},
9416aa89 12630 { "_wxObject","_wxOGLConstraint",SwigwxOGLConstraintTowxObject},
9416aa89 12631 { "_wxObject","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxObject},
9416aa89 12632 { "_wxObject","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxObject},
9416aa89 12633 { "_wxObject","_wxPyControlPoint",SwigwxPyControlPointTowxObject},
9416aa89 12634 { "_wxObject","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxObject},
9416aa89 12635 { "_wxObject","_wxPseudoMetaFile",SwigwxPseudoMetaFileTowxObject},
e91a9dfc
RD
12636 { "_signed_short","_WXTYPE",0},
12637 { "_signed_short","_short",0},
e91a9dfc 12638 { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
e91a9dfc 12639 { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
e91a9dfc 12640 { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
e91a9dfc 12641 { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
e91a9dfc 12642 { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
2348eaee 12643 { "_wxPyShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyShape},
e91a9dfc 12644 { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
e91a9dfc 12645 { "_unsigned_char","_byte",0},
eec92d76 12646 { "_unsigned_int","_wxCoord",0},
e91a9dfc 12647 { "_unsigned_int","_wxPrintQuality",0},
c368d904 12648 { "_unsigned_int","_time_t",0},
e91a9dfc
RD
12649 { "_unsigned_int","_size_t",0},
12650 { "_unsigned_int","_uint",0},
12651 { "_unsigned_int","_wxWindowID",0},
12652 { "_unsigned_int","_int",0},
c368d904 12653 { "_short","_wxDateTime_t",0},
e91a9dfc
RD
12654 { "_short","_WXTYPE",0},
12655 { "_short","_unsigned_short",0},
12656 { "_short","_signed_short",0},
eec92d76 12657 { "_wxWindowID","_wxCoord",0},
e91a9dfc 12658 { "_wxWindowID","_wxPrintQuality",0},
c368d904 12659 { "_wxWindowID","_time_t",0},
e91a9dfc
RD
12660 { "_wxWindowID","_size_t",0},
12661 { "_wxWindowID","_EBool",0},
12662 { "_wxWindowID","_uint",0},
12663 { "_wxWindowID","_int",0},
12664 { "_wxWindowID","_signed_int",0},
12665 { "_wxWindowID","_unsigned_int",0},
eec92d76 12666 { "_int","_wxCoord",0},
e91a9dfc 12667 { "_int","_wxPrintQuality",0},
c368d904 12668 { "_int","_time_t",0},
e91a9dfc
RD
12669 { "_int","_size_t",0},
12670 { "_int","_EBool",0},
12671 { "_int","_uint",0},
12672 { "_int","_wxWindowID",0},
12673 { "_int","_unsigned_int",0},
12674 { "_int","_signed_int",0},
c368d904
RD
12675 { "_wxDateTime_t","_unsigned_short",0},
12676 { "_wxDateTime_t","_short",0},
12677 { "_wxDateTime_t","_WXTYPE",0},
c368d904
RD
12678 { "_time_t","_wxCoord",0},
12679 { "_time_t","_wxPrintQuality",0},
12680 { "_time_t","_unsigned_int",0},
12681 { "_time_t","_int",0},
12682 { "_time_t","_wxWindowID",0},
12683 { "_time_t","_uint",0},
12684 { "_time_t","_size_t",0},
eec92d76
RD
12685 { "_wxCoord","_int",0},
12686 { "_wxCoord","_signed_int",0},
12687 { "_wxCoord","_unsigned_int",0},
12688 { "_wxCoord","_wxWindowID",0},
12689 { "_wxCoord","_uint",0},
12690 { "_wxCoord","_EBool",0},
12691 { "_wxCoord","_size_t",0},
c368d904 12692 { "_wxCoord","_time_t",0},
eec92d76 12693 { "_wxCoord","_wxPrintQuality",0},
e91a9dfc 12694 { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
e91a9dfc 12695 { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
e91a9dfc 12696 { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
e91a9dfc 12697 { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
e91a9dfc 12698 { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
2348eaee 12699 { "_wxPyShapeEvtHandler","_wxPyControlPoint",SwigwxPyControlPointTowxPyShapeEvtHandler},
e91a9dfc 12700 { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
e91a9dfc 12701 { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
e91a9dfc 12702 { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
e91a9dfc 12703 { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
e91a9dfc 12704 { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
e91a9dfc 12705 { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
2348eaee 12706 { "_wxPyRectangleShape","_wxPyControlPoint",SwigwxPyControlPointTowxPyRectangleShape},
e91a9dfc
RD
12707{0,0,0}};
12708
12709static PyObject *SWIG_globals;
12710#ifdef __cplusplus
12711extern "C"
12712#endif
12713SWIGEXPORT(void) initoglshapesc() {
12714 PyObject *m, *d;
12715 SWIG_globals = SWIG_newvarlink();
12716 m = Py_InitModule("oglshapesc", oglshapescMethods);
12717 d = PyModule_GetDict(m);
12718{
12719 int i;
12720 for (i = 0; _swig_mapping[i].n1; i++)
12721 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
12722}
12723}