]> git.saurik.com Git - wxWidgets.git/blob - utils/wxPython/modules/ogl/oglshapes.cpp
updates of some SWIG generated stuff
[wxWidgets.git] / utils / wxPython / modules / ogl / oglshapes.cpp
1 /*
2 * FILE : oglshapes.cpp
3 *
4 * This file was automatically generated by :
5 * Simplified Wrapper and Interface Generator (SWIG)
6 * Version 1.1 (Build 810)
7 *
8 * Portions Copyright (c) 1995-1998
9 * The University of Utah and The Regents of the University of California.
10 * Permission is granted to distribute this file in any manner provided
11 * this notice remains intact.
12 *
13 * Do not make changes to this file--changes will be lost!
14 *
15 */
16
17
18 #define SWIGCODE
19 /* Implementation : PYTHON */
20
21 #define SWIGPYTHON
22 #include <string.h>
23 #include <stdlib.h>
24 /* Definitions for Windows/Unix exporting */
25 #if defined(__WIN32__)
26 # if defined(_MSC_VER)
27 # define SWIGEXPORT(a) __declspec(dllexport) a
28 # else
29 # if defined(__BORLANDC__)
30 # define SWIGEXPORT(a) a _export
31 # else
32 # define SWIGEXPORT(a) a
33 # endif
34 # endif
35 #else
36 # define SWIGEXPORT(a) a
37 #endif
38
39 #ifdef __cplusplus
40 extern "C" {
41 #endif
42 #include "Python.h"
43 extern void SWIG_MakePtr(char *, void *, char *);
44 extern void SWIG_RegisterMapping(char *, char *, void *(*)(void *));
45 extern char *SWIG_GetPtr(char *, void **, char *);
46 extern char *SWIG_GetPtrObj(PyObject *, void **, char *);
47 extern void SWIG_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
48 extern PyObject *SWIG_newvarlink(void);
49 #ifdef __cplusplus
50 }
51 #endif
52 #define SWIG_init initoglshapesc
53
54 #define SWIG_name "oglshapesc"
55
56 #include "helpers.h"
57 #include "oglhelpers.h"
58
59 static PyObject* l_output_helper(PyObject* target, PyObject* o) {
60 PyObject* o2;
61 PyObject* o3;
62 if (!target) {
63 target = o;
64 } else if (target == Py_None) {
65 Py_DECREF(Py_None);
66 target = o;
67 } else {
68 if (!PyList_Check(target)) {
69 o2 = target;
70 target = PyList_New(0);
71 PyList_Append(target, o2);
72 Py_XDECREF(o2);
73 }
74 PyList_Append(target,o);
75 Py_XDECREF(o);
76 }
77 return target;
78 }
79
80 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
81 PyObject* o2;
82 PyObject* o3;
83
84 if (!target) {
85 target = o;
86 } else if (target == Py_None) {
87 Py_DECREF(Py_None);
88 target = o;
89 } else {
90 if (!PyTuple_Check(target)) {
91 o2 = target;
92 target = PyTuple_New(1);
93 PyTuple_SetItem(target, 0, o2);
94 }
95 o3 = PyTuple_New(1);
96 PyTuple_SetItem(o3, 0, o);
97
98 o2 = target;
99 target = PySequence_Concat(o2, o3);
100 Py_DECREF(o2);
101 Py_DECREF(o3);
102 }
103 return target;
104 }
105
106
107 HELPEREXPORT byte* byte_LIST_helper(PyObject* source);
108 HELPEREXPORT int* int_LIST_helper(PyObject* source);
109 HELPEREXPORT long* long_LIST_helper(PyObject* source);
110 HELPEREXPORT char** string_LIST_helper(PyObject* source);
111 HELPEREXPORT wxPoint* wxPoint_LIST_helper(PyObject* source);
112 HELPEREXPORT wxBitmap** wxBitmap_LIST_helper(PyObject* source);
113 HELPEREXPORT wxString* wxString_LIST_helper(PyObject* source);
114 HELPEREXPORT wxAcceleratorEntry* wxAcceleratorEntry_LIST_helper(PyObject* source);
115
116
117 static char* wxStringErrorMsg = "string type is required for parameter";
118
119 WXSHAPE_IMP_CALLBACKS(wxPyRectangleShape, wxRectangleShape);
120
121 WXSHAPE_IMP_CALLBACKS(wxPyBitmapShape, wxBitmapShape);
122
123 WXSHAPE_IMP_CALLBACKS(wxPyDrawnShape, wxDrawnShape);
124
125 WXSHAPE_IMP_CALLBACKS(wxPyCompositeShape, wxCompositeShape);
126
127 WXSHAPE_IMP_CALLBACKS(wxPyDividedShape, wxDividedShape);
128
129 WXSHAPE_IMP_CALLBACKS(wxPyDivisionShape, wxDivisionShape);
130 #ifdef __cplusplus
131 extern "C" {
132 #endif
133 #define new_wxPseudoMetaFile() (new wxPseudoMetaFile())
134 static PyObject *_wrap_new_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
135 PyObject * _resultobj;
136 wxPseudoMetaFile * _result;
137 char *_kwnames[] = { NULL };
138 char _ptemp[128];
139
140 self = self;
141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPseudoMetaFile",_kwnames))
142 return NULL;
143 {
144 wxPy_BEGIN_ALLOW_THREADS;
145 _result = (wxPseudoMetaFile *)new_wxPseudoMetaFile();
146
147 wxPy_END_ALLOW_THREADS;
148 } if (_result) {
149 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
150 _resultobj = Py_BuildValue("s",_ptemp);
151 } else {
152 Py_INCREF(Py_None);
153 _resultobj = Py_None;
154 }
155 return _resultobj;
156 }
157
158 #define delete_wxPseudoMetaFile(_swigobj) (delete _swigobj)
159 static PyObject *_wrap_delete_wxPseudoMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
160 PyObject * _resultobj;
161 wxPseudoMetaFile * _arg0;
162 PyObject * _argo0 = 0;
163 char *_kwnames[] = { "self", NULL };
164
165 self = self;
166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxPseudoMetaFile",_kwnames,&_argo0))
167 return NULL;
168 if (_argo0) {
169 if (_argo0 == Py_None) { _arg0 = NULL; }
170 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
171 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxPseudoMetaFile. Expected _wxPseudoMetaFile_p.");
172 return NULL;
173 }
174 }
175 {
176 wxPy_BEGIN_ALLOW_THREADS;
177 delete_wxPseudoMetaFile(_arg0);
178
179 wxPy_END_ALLOW_THREADS;
180 } Py_INCREF(Py_None);
181 _resultobj = Py_None;
182 return _resultobj;
183 }
184
185 #define wxPseudoMetaFile_Draw(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Draw(_swigarg0,_swigarg1,_swigarg2))
186 static PyObject *_wrap_wxPseudoMetaFile_Draw(PyObject *self, PyObject *args, PyObject *kwargs) {
187 PyObject * _resultobj;
188 wxPseudoMetaFile * _arg0;
189 wxDC * _arg1;
190 double _arg2;
191 double _arg3;
192 PyObject * _argo0 = 0;
193 PyObject * _argo1 = 0;
194 char *_kwnames[] = { "self","dc","xoffset","yoffset", NULL };
195
196 self = self;
197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_Draw",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
198 return NULL;
199 if (_argo0) {
200 if (_argo0 == Py_None) { _arg0 = NULL; }
201 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
202 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Draw. Expected _wxPseudoMetaFile_p.");
203 return NULL;
204 }
205 }
206 if (_argo1) {
207 if (_argo1 == Py_None) { _arg1 = NULL; }
208 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
209 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Draw. Expected _wxDC_p.");
210 return NULL;
211 }
212 }
213 {
214 wxPy_BEGIN_ALLOW_THREADS;
215 wxPseudoMetaFile_Draw(_arg0,*_arg1,_arg2,_arg3);
216
217 wxPy_END_ALLOW_THREADS;
218 } Py_INCREF(Py_None);
219 _resultobj = Py_None;
220 return _resultobj;
221 }
222
223 #define wxPseudoMetaFile_WriteAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->WriteAttributes(_swigarg0,_swigarg1))
224 static PyObject *_wrap_wxPseudoMetaFile_WriteAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
225 PyObject * _resultobj;
226 wxPseudoMetaFile * _arg0;
227 wxExpr * _arg1;
228 int _arg2;
229 PyObject * _argo0 = 0;
230 PyObject * _argo1 = 0;
231 char *_kwnames[] = { "self","clause","whichAngle", NULL };
232
233 self = self;
234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_WriteAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
235 return NULL;
236 if (_argo0) {
237 if (_argo0 == Py_None) { _arg0 = NULL; }
238 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
239 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_WriteAttributes. Expected _wxPseudoMetaFile_p.");
240 return NULL;
241 }
242 }
243 if (_argo1) {
244 if (_argo1 == Py_None) { _arg1 = NULL; }
245 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
246 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_WriteAttributes. Expected _wxExpr_p.");
247 return NULL;
248 }
249 }
250 {
251 wxPy_BEGIN_ALLOW_THREADS;
252 wxPseudoMetaFile_WriteAttributes(_arg0,_arg1,_arg2);
253
254 wxPy_END_ALLOW_THREADS;
255 } Py_INCREF(Py_None);
256 _resultobj = Py_None;
257 return _resultobj;
258 }
259
260 #define wxPseudoMetaFile_ReadAttributes(_swigobj,_swigarg0,_swigarg1) (_swigobj->ReadAttributes(_swigarg0,_swigarg1))
261 static PyObject *_wrap_wxPseudoMetaFile_ReadAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
262 PyObject * _resultobj;
263 wxPseudoMetaFile * _arg0;
264 wxExpr * _arg1;
265 int _arg2;
266 PyObject * _argo0 = 0;
267 PyObject * _argo1 = 0;
268 char *_kwnames[] = { "self","clause","whichAngle", NULL };
269
270 self = self;
271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOi:wxPseudoMetaFile_ReadAttributes",_kwnames,&_argo0,&_argo1,&_arg2))
272 return NULL;
273 if (_argo0) {
274 if (_argo0 == Py_None) { _arg0 = NULL; }
275 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
276 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ReadAttributes. Expected _wxPseudoMetaFile_p.");
277 return NULL;
278 }
279 }
280 if (_argo1) {
281 if (_argo1 == Py_None) { _arg1 = NULL; }
282 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxExpr_p")) {
283 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_ReadAttributes. Expected _wxExpr_p.");
284 return NULL;
285 }
286 }
287 {
288 wxPy_BEGIN_ALLOW_THREADS;
289 wxPseudoMetaFile_ReadAttributes(_arg0,_arg1,_arg2);
290
291 wxPy_END_ALLOW_THREADS;
292 } Py_INCREF(Py_None);
293 _resultobj = Py_None;
294 return _resultobj;
295 }
296
297 #define wxPseudoMetaFile_Clear(_swigobj) (_swigobj->Clear())
298 static PyObject *_wrap_wxPseudoMetaFile_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
299 PyObject * _resultobj;
300 wxPseudoMetaFile * _arg0;
301 PyObject * _argo0 = 0;
302 char *_kwnames[] = { "self", NULL };
303
304 self = self;
305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_Clear",_kwnames,&_argo0))
306 return NULL;
307 if (_argo0) {
308 if (_argo0 == Py_None) { _arg0 = NULL; }
309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Clear. Expected _wxPseudoMetaFile_p.");
311 return NULL;
312 }
313 }
314 {
315 wxPy_BEGIN_ALLOW_THREADS;
316 wxPseudoMetaFile_Clear(_arg0);
317
318 wxPy_END_ALLOW_THREADS;
319 } Py_INCREF(Py_None);
320 _resultobj = Py_None;
321 return _resultobj;
322 }
323
324 #define wxPseudoMetaFile_Copy(_swigobj,_swigarg0) (_swigobj->Copy(_swigarg0))
325 static PyObject *_wrap_wxPseudoMetaFile_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
326 PyObject * _resultobj;
327 wxPseudoMetaFile * _arg0;
328 wxPseudoMetaFile * _arg1;
329 PyObject * _argo0 = 0;
330 PyObject * _argo1 = 0;
331 char *_kwnames[] = { "self","copy", NULL };
332
333 self = self;
334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_Copy",_kwnames,&_argo0,&_argo1))
335 return NULL;
336 if (_argo0) {
337 if (_argo0 == Py_None) { _arg0 = NULL; }
338 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
339 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
340 return NULL;
341 }
342 }
343 if (_argo1) {
344 if (_argo1 == Py_None) { _arg1 = NULL; }
345 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPseudoMetaFile_p")) {
346 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_Copy. Expected _wxPseudoMetaFile_p.");
347 return NULL;
348 }
349 }
350 {
351 wxPy_BEGIN_ALLOW_THREADS;
352 wxPseudoMetaFile_Copy(_arg0,*_arg1);
353
354 wxPy_END_ALLOW_THREADS;
355 } Py_INCREF(Py_None);
356 _resultobj = Py_None;
357 return _resultobj;
358 }
359
360 #define wxPseudoMetaFile_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
361 static PyObject *_wrap_wxPseudoMetaFile_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
362 PyObject * _resultobj;
363 wxPseudoMetaFile * _arg0;
364 double _arg1;
365 double _arg2;
366 PyObject * _argo0 = 0;
367 char *_kwnames[] = { "self","sx","sy", NULL };
368
369 self = self;
370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
371 return NULL;
372 if (_argo0) {
373 if (_argo0 == Py_None) { _arg0 = NULL; }
374 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
375 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Scale. Expected _wxPseudoMetaFile_p.");
376 return NULL;
377 }
378 }
379 {
380 wxPy_BEGIN_ALLOW_THREADS;
381 wxPseudoMetaFile_Scale(_arg0,_arg1,_arg2);
382
383 wxPy_END_ALLOW_THREADS;
384 } Py_INCREF(Py_None);
385 _resultobj = Py_None;
386 return _resultobj;
387 }
388
389 #define wxPseudoMetaFile_ScaleTo(_swigobj,_swigarg0,_swigarg1) (_swigobj->ScaleTo(_swigarg0,_swigarg1))
390 static PyObject *_wrap_wxPseudoMetaFile_ScaleTo(PyObject *self, PyObject *args, PyObject *kwargs) {
391 PyObject * _resultobj;
392 wxPseudoMetaFile * _arg0;
393 double _arg1;
394 double _arg2;
395 PyObject * _argo0 = 0;
396 char *_kwnames[] = { "self","w","h", NULL };
397
398 self = self;
399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_ScaleTo",_kwnames,&_argo0,&_arg1,&_arg2))
400 return NULL;
401 if (_argo0) {
402 if (_argo0 == Py_None) { _arg0 = NULL; }
403 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
404 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_ScaleTo. Expected _wxPseudoMetaFile_p.");
405 return NULL;
406 }
407 }
408 {
409 wxPy_BEGIN_ALLOW_THREADS;
410 wxPseudoMetaFile_ScaleTo(_arg0,_arg1,_arg2);
411
412 wxPy_END_ALLOW_THREADS;
413 } Py_INCREF(Py_None);
414 _resultobj = Py_None;
415 return _resultobj;
416 }
417
418 #define wxPseudoMetaFile_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
419 static PyObject *_wrap_wxPseudoMetaFile_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
420 PyObject * _resultobj;
421 wxPseudoMetaFile * _arg0;
422 double _arg1;
423 double _arg2;
424 PyObject * _argo0 = 0;
425 char *_kwnames[] = { "self","x","y", NULL };
426
427 self = self;
428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
429 return NULL;
430 if (_argo0) {
431 if (_argo0 == Py_None) { _arg0 = NULL; }
432 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
433 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Translate. Expected _wxPseudoMetaFile_p.");
434 return NULL;
435 }
436 }
437 {
438 wxPy_BEGIN_ALLOW_THREADS;
439 wxPseudoMetaFile_Translate(_arg0,_arg1,_arg2);
440
441 wxPy_END_ALLOW_THREADS;
442 } Py_INCREF(Py_None);
443 _resultobj = Py_None;
444 return _resultobj;
445 }
446
447 #define wxPseudoMetaFile_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
448 static PyObject *_wrap_wxPseudoMetaFile_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
449 PyObject * _resultobj;
450 wxPseudoMetaFile * _arg0;
451 double _arg1;
452 double _arg2;
453 double _arg3;
454 PyObject * _argo0 = 0;
455 char *_kwnames[] = { "self","x","y","theta", NULL };
456
457 self = self;
458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPseudoMetaFile_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
459 return NULL;
460 if (_argo0) {
461 if (_argo0 == Py_None) { _arg0 = NULL; }
462 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
463 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_Rotate. Expected _wxPseudoMetaFile_p.");
464 return NULL;
465 }
466 }
467 {
468 wxPy_BEGIN_ALLOW_THREADS;
469 wxPseudoMetaFile_Rotate(_arg0,_arg1,_arg2,_arg3);
470
471 wxPy_END_ALLOW_THREADS;
472 } Py_INCREF(Py_None);
473 _resultobj = Py_None;
474 return _resultobj;
475 }
476
477 #define wxPseudoMetaFile_LoadFromMetaFile(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->LoadFromMetaFile(_swigarg0,_swigarg1,_swigarg2))
478 static PyObject *_wrap_wxPseudoMetaFile_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
479 PyObject * _resultobj;
480 bool _result;
481 wxPseudoMetaFile * _arg0;
482 char * _arg1;
483 double * _arg2;
484 double * _arg3;
485 PyObject * _argo0 = 0;
486 PyObject * _argo2 = 0;
487 PyObject * _argo3 = 0;
488 char *_kwnames[] = { "self","filename","width","height", NULL };
489
490 self = self;
491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OsOO:wxPseudoMetaFile_LoadFromMetaFile",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
492 return NULL;
493 if (_argo0) {
494 if (_argo0 == Py_None) { _arg0 = NULL; }
495 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
496 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_LoadFromMetaFile. Expected _wxPseudoMetaFile_p.");
497 return NULL;
498 }
499 }
500 if (_argo2) {
501 if (_argo2 == Py_None) { _arg2 = NULL; }
502 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
503 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
504 return NULL;
505 }
506 }
507 if (_argo3) {
508 if (_argo3 == Py_None) { _arg3 = NULL; }
509 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
510 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_LoadFromMetaFile. Expected _double_p.");
511 return NULL;
512 }
513 }
514 {
515 wxPy_BEGIN_ALLOW_THREADS;
516 _result = (bool )wxPseudoMetaFile_LoadFromMetaFile(_arg0,_arg1,_arg2,_arg3);
517
518 wxPy_END_ALLOW_THREADS;
519 } _resultobj = Py_BuildValue("i",_result);
520 return _resultobj;
521 }
522
523 #define wxPseudoMetaFile_GetBounds(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->GetBounds(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
524 static PyObject *_wrap_wxPseudoMetaFile_GetBounds(PyObject *self, PyObject *args, PyObject *kwargs) {
525 PyObject * _resultobj;
526 wxPseudoMetaFile * _arg0;
527 double * _arg1;
528 double * _arg2;
529 double * _arg3;
530 double * _arg4;
531 PyObject * _argo0 = 0;
532 PyObject * _argo1 = 0;
533 PyObject * _argo2 = 0;
534 PyObject * _argo3 = 0;
535 PyObject * _argo4 = 0;
536 char *_kwnames[] = { "self","minX","minY","maxX","maxY", NULL };
537
538 self = self;
539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOOO:wxPseudoMetaFile_GetBounds",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3,&_argo4))
540 return NULL;
541 if (_argo0) {
542 if (_argo0 == Py_None) { _arg0 = NULL; }
543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetBounds. Expected _wxPseudoMetaFile_p.");
545 return NULL;
546 }
547 }
548 if (_argo1) {
549 if (_argo1 == Py_None) { _arg1 = NULL; }
550 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_double_p")) {
551 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
552 return NULL;
553 }
554 }
555 if (_argo2) {
556 if (_argo2 == Py_None) { _arg2 = NULL; }
557 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_double_p")) {
558 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
559 return NULL;
560 }
561 }
562 if (_argo3) {
563 if (_argo3 == Py_None) { _arg3 = NULL; }
564 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_double_p")) {
565 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
566 return NULL;
567 }
568 }
569 if (_argo4) {
570 if (_argo4 == Py_None) { _arg4 = NULL; }
571 else if (SWIG_GetPtrObj(_argo4,(void **) &_arg4,"_double_p")) {
572 PyErr_SetString(PyExc_TypeError,"Type error in argument 5 of wxPseudoMetaFile_GetBounds. Expected _double_p.");
573 return NULL;
574 }
575 }
576 {
577 wxPy_BEGIN_ALLOW_THREADS;
578 wxPseudoMetaFile_GetBounds(_arg0,_arg1,_arg2,_arg3,_arg4);
579
580 wxPy_END_ALLOW_THREADS;
581 } Py_INCREF(Py_None);
582 _resultobj = Py_None;
583 return _resultobj;
584 }
585
586 #define wxPseudoMetaFile_CalculateSize(_swigobj,_swigarg0) (_swigobj->CalculateSize(_swigarg0))
587 static PyObject *_wrap_wxPseudoMetaFile_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
588 PyObject * _resultobj;
589 wxPseudoMetaFile * _arg0;
590 wxDrawnShape * _arg1;
591 PyObject * _argo0 = 0;
592 PyObject * _argo1 = 0;
593 char *_kwnames[] = { "self","shape", NULL };
594
595 self = self;
596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_CalculateSize",_kwnames,&_argo0,&_argo1))
597 return NULL;
598 if (_argo0) {
599 if (_argo0 == Py_None) { _arg0 = NULL; }
600 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
601 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_CalculateSize. Expected _wxPseudoMetaFile_p.");
602 return NULL;
603 }
604 }
605 if (_argo1) {
606 if (_argo1 == Py_None) { _arg1 = NULL; }
607 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDrawnShape_p")) {
608 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_CalculateSize. Expected _wxDrawnShape_p.");
609 return NULL;
610 }
611 }
612 {
613 wxPy_BEGIN_ALLOW_THREADS;
614 wxPseudoMetaFile_CalculateSize(_arg0,_arg1);
615
616 wxPy_END_ALLOW_THREADS;
617 } Py_INCREF(Py_None);
618 _resultobj = Py_None;
619 return _resultobj;
620 }
621
622 #define wxPseudoMetaFile_SetRotateable(_swigobj,_swigarg0) (_swigobj->SetRotateable(_swigarg0))
623 static PyObject *_wrap_wxPseudoMetaFile_SetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
624 PyObject * _resultobj;
625 wxPseudoMetaFile * _arg0;
626 bool _arg1;
627 PyObject * _argo0 = 0;
628 int tempbool1;
629 char *_kwnames[] = { "self","rot", NULL };
630
631 self = self;
632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetRotateable",_kwnames,&_argo0,&tempbool1))
633 return NULL;
634 if (_argo0) {
635 if (_argo0 == Py_None) { _arg0 = NULL; }
636 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
637 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetRotateable. Expected _wxPseudoMetaFile_p.");
638 return NULL;
639 }
640 }
641 _arg1 = (bool ) tempbool1;
642 {
643 wxPy_BEGIN_ALLOW_THREADS;
644 wxPseudoMetaFile_SetRotateable(_arg0,_arg1);
645
646 wxPy_END_ALLOW_THREADS;
647 } Py_INCREF(Py_None);
648 _resultobj = Py_None;
649 return _resultobj;
650 }
651
652 #define wxPseudoMetaFile_GetRotateable(_swigobj) (_swigobj->GetRotateable())
653 static PyObject *_wrap_wxPseudoMetaFile_GetRotateable(PyObject *self, PyObject *args, PyObject *kwargs) {
654 PyObject * _resultobj;
655 bool _result;
656 wxPseudoMetaFile * _arg0;
657 PyObject * _argo0 = 0;
658 char *_kwnames[] = { "self", NULL };
659
660 self = self;
661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetRotateable",_kwnames,&_argo0))
662 return NULL;
663 if (_argo0) {
664 if (_argo0 == Py_None) { _arg0 = NULL; }
665 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
666 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetRotateable. Expected _wxPseudoMetaFile_p.");
667 return NULL;
668 }
669 }
670 {
671 wxPy_BEGIN_ALLOW_THREADS;
672 _result = (bool )wxPseudoMetaFile_GetRotateable(_arg0);
673
674 wxPy_END_ALLOW_THREADS;
675 } _resultobj = Py_BuildValue("i",_result);
676 return _resultobj;
677 }
678
679 #define wxPseudoMetaFile_SetSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSize(_swigarg0,_swigarg1))
680 static PyObject *_wrap_wxPseudoMetaFile_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
681 PyObject * _resultobj;
682 wxPseudoMetaFile * _arg0;
683 double _arg1;
684 double _arg2;
685 PyObject * _argo0 = 0;
686 char *_kwnames[] = { "self","w","h", NULL };
687
688 self = self;
689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPseudoMetaFile_SetSize",_kwnames,&_argo0,&_arg1,&_arg2))
690 return NULL;
691 if (_argo0) {
692 if (_argo0 == Py_None) { _arg0 = NULL; }
693 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
694 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetSize. Expected _wxPseudoMetaFile_p.");
695 return NULL;
696 }
697 }
698 {
699 wxPy_BEGIN_ALLOW_THREADS;
700 wxPseudoMetaFile_SetSize(_arg0,_arg1,_arg2);
701
702 wxPy_END_ALLOW_THREADS;
703 } Py_INCREF(Py_None);
704 _resultobj = Py_None;
705 return _resultobj;
706 }
707
708 #define wxPseudoMetaFile_SetFillBrush(_swigobj,_swigarg0) (_swigobj->SetFillBrush(_swigarg0))
709 static PyObject *_wrap_wxPseudoMetaFile_SetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
710 PyObject * _resultobj;
711 wxPseudoMetaFile * _arg0;
712 wxBrush * _arg1;
713 PyObject * _argo0 = 0;
714 PyObject * _argo1 = 0;
715 char *_kwnames[] = { "self","brush", NULL };
716
717 self = self;
718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFillBrush",_kwnames,&_argo0,&_argo1))
719 return NULL;
720 if (_argo0) {
721 if (_argo0 == Py_None) { _arg0 = NULL; }
722 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
723 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFillBrush. Expected _wxPseudoMetaFile_p.");
724 return NULL;
725 }
726 }
727 if (_argo1) {
728 if (_argo1 == Py_None) { _arg1 = NULL; }
729 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
730 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetFillBrush. Expected _wxBrush_p.");
731 return NULL;
732 }
733 }
734 {
735 wxPy_BEGIN_ALLOW_THREADS;
736 wxPseudoMetaFile_SetFillBrush(_arg0,_arg1);
737
738 wxPy_END_ALLOW_THREADS;
739 } Py_INCREF(Py_None);
740 _resultobj = Py_None;
741 return _resultobj;
742 }
743
744 #define wxPseudoMetaFile_GetFillBrush(_swigobj) (_swigobj->GetFillBrush())
745 static PyObject *_wrap_wxPseudoMetaFile_GetFillBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
746 PyObject * _resultobj;
747 wxBrush * _result;
748 wxPseudoMetaFile * _arg0;
749 PyObject * _argo0 = 0;
750 char *_kwnames[] = { "self", NULL };
751 char _ptemp[128];
752
753 self = self;
754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetFillBrush",_kwnames,&_argo0))
755 return NULL;
756 if (_argo0) {
757 if (_argo0 == Py_None) { _arg0 = NULL; }
758 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
759 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetFillBrush. Expected _wxPseudoMetaFile_p.");
760 return NULL;
761 }
762 }
763 {
764 wxPy_BEGIN_ALLOW_THREADS;
765 _result = (wxBrush *)wxPseudoMetaFile_GetFillBrush(_arg0);
766
767 wxPy_END_ALLOW_THREADS;
768 } if (_result) {
769 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBrush_p");
770 _resultobj = Py_BuildValue("s",_ptemp);
771 } else {
772 Py_INCREF(Py_None);
773 _resultobj = Py_None;
774 }
775 return _resultobj;
776 }
777
778 #define wxPseudoMetaFile_SetOutlinePen(_swigobj,_swigarg0) (_swigobj->SetOutlinePen(_swigarg0))
779 static PyObject *_wrap_wxPseudoMetaFile_SetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
780 PyObject * _resultobj;
781 wxPseudoMetaFile * _arg0;
782 wxPen * _arg1;
783 PyObject * _argo0 = 0;
784 PyObject * _argo1 = 0;
785 char *_kwnames[] = { "self","pen", NULL };
786
787 self = self;
788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetOutlinePen",_kwnames,&_argo0,&_argo1))
789 return NULL;
790 if (_argo0) {
791 if (_argo0 == Py_None) { _arg0 = NULL; }
792 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
793 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPseudoMetaFile_p.");
794 return NULL;
795 }
796 }
797 if (_argo1) {
798 if (_argo1 == Py_None) { _arg1 = NULL; }
799 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
800 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetOutlinePen. Expected _wxPen_p.");
801 return NULL;
802 }
803 }
804 {
805 wxPy_BEGIN_ALLOW_THREADS;
806 wxPseudoMetaFile_SetOutlinePen(_arg0,_arg1);
807
808 wxPy_END_ALLOW_THREADS;
809 } Py_INCREF(Py_None);
810 _resultobj = Py_None;
811 return _resultobj;
812 }
813
814 #define wxPseudoMetaFile_GetOutlinePen(_swigobj) (_swigobj->GetOutlinePen())
815 static PyObject *_wrap_wxPseudoMetaFile_GetOutlinePen(PyObject *self, PyObject *args, PyObject *kwargs) {
816 PyObject * _resultobj;
817 wxPen * _result;
818 wxPseudoMetaFile * _arg0;
819 PyObject * _argo0 = 0;
820 char *_kwnames[] = { "self", NULL };
821 char _ptemp[128];
822
823 self = self;
824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlinePen",_kwnames,&_argo0))
825 return NULL;
826 if (_argo0) {
827 if (_argo0 == Py_None) { _arg0 = NULL; }
828 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
829 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlinePen. Expected _wxPseudoMetaFile_p.");
830 return NULL;
831 }
832 }
833 {
834 wxPy_BEGIN_ALLOW_THREADS;
835 _result = (wxPen *)wxPseudoMetaFile_GetOutlinePen(_arg0);
836
837 wxPy_END_ALLOW_THREADS;
838 } if (_result) {
839 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
840 _resultobj = Py_BuildValue("s",_ptemp);
841 } else {
842 Py_INCREF(Py_None);
843 _resultobj = Py_None;
844 }
845 return _resultobj;
846 }
847
848 #define wxPseudoMetaFile_SetOutlineOp(_swigobj,_swigarg0) (_swigobj->SetOutlineOp(_swigarg0))
849 static PyObject *_wrap_wxPseudoMetaFile_SetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
850 PyObject * _resultobj;
851 wxPseudoMetaFile * _arg0;
852 int _arg1;
853 PyObject * _argo0 = 0;
854 char *_kwnames[] = { "self","op", NULL };
855
856 self = self;
857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetOutlineOp",_kwnames,&_argo0,&_arg1))
858 return NULL;
859 if (_argo0) {
860 if (_argo0 == Py_None) { _arg0 = NULL; }
861 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
862 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetOutlineOp. Expected _wxPseudoMetaFile_p.");
863 return NULL;
864 }
865 }
866 {
867 wxPy_BEGIN_ALLOW_THREADS;
868 wxPseudoMetaFile_SetOutlineOp(_arg0,_arg1);
869
870 wxPy_END_ALLOW_THREADS;
871 } Py_INCREF(Py_None);
872 _resultobj = Py_None;
873 return _resultobj;
874 }
875
876 #define wxPseudoMetaFile_GetOutlineOp(_swigobj) (_swigobj->GetOutlineOp())
877 static PyObject *_wrap_wxPseudoMetaFile_GetOutlineOp(PyObject *self, PyObject *args, PyObject *kwargs) {
878 PyObject * _resultobj;
879 int _result;
880 wxPseudoMetaFile * _arg0;
881 PyObject * _argo0 = 0;
882 char *_kwnames[] = { "self", NULL };
883
884 self = self;
885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_GetOutlineOp",_kwnames,&_argo0))
886 return NULL;
887 if (_argo0) {
888 if (_argo0 == Py_None) { _arg0 = NULL; }
889 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
890 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_GetOutlineOp. Expected _wxPseudoMetaFile_p.");
891 return NULL;
892 }
893 }
894 {
895 wxPy_BEGIN_ALLOW_THREADS;
896 _result = (int )wxPseudoMetaFile_GetOutlineOp(_arg0);
897
898 wxPy_END_ALLOW_THREADS;
899 } _resultobj = Py_BuildValue("i",_result);
900 return _resultobj;
901 }
902
903 #define wxPseudoMetaFile_IsValid(_swigobj) (_swigobj->IsValid())
904 static PyObject *_wrap_wxPseudoMetaFile_IsValid(PyObject *self, PyObject *args, PyObject *kwargs) {
905 PyObject * _resultobj;
906 bool _result;
907 wxPseudoMetaFile * _arg0;
908 PyObject * _argo0 = 0;
909 char *_kwnames[] = { "self", NULL };
910
911 self = self;
912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_IsValid",_kwnames,&_argo0))
913 return NULL;
914 if (_argo0) {
915 if (_argo0 == Py_None) { _arg0 = NULL; }
916 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
917 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_IsValid. Expected _wxPseudoMetaFile_p.");
918 return NULL;
919 }
920 }
921 {
922 wxPy_BEGIN_ALLOW_THREADS;
923 _result = (bool )wxPseudoMetaFile_IsValid(_arg0);
924
925 wxPy_END_ALLOW_THREADS;
926 } _resultobj = Py_BuildValue("i",_result);
927 return _resultobj;
928 }
929
930 #define wxPseudoMetaFile_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
931 static PyObject *_wrap_wxPseudoMetaFile_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
932 PyObject * _resultobj;
933 wxPseudoMetaFile * _arg0;
934 wxPoint * _arg1;
935 wxPoint * _arg2;
936 PyObject * _argo0 = 0;
937 PyObject * _argo1 = 0;
938 PyObject * _argo2 = 0;
939 char *_kwnames[] = { "self","pt1","pt2", NULL };
940
941 self = self;
942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawLine",_kwnames,&_argo0,&_argo1,&_argo2))
943 return NULL;
944 if (_argo0) {
945 if (_argo0 == Py_None) { _arg0 = NULL; }
946 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
947 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLine. Expected _wxPseudoMetaFile_p.");
948 return NULL;
949 }
950 }
951 if (_argo1) {
952 if (_argo1 == Py_None) { _arg1 = NULL; }
953 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
954 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_DrawLine. Expected _wxPoint_p.");
955 return NULL;
956 }
957 }
958 if (_argo2) {
959 if (_argo2 == Py_None) { _arg2 = NULL; }
960 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
961 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_DrawLine. Expected _wxPoint_p.");
962 return NULL;
963 }
964 }
965 {
966 wxPy_BEGIN_ALLOW_THREADS;
967 wxPseudoMetaFile_DrawLine(_arg0,*_arg1,*_arg2);
968
969 wxPy_END_ALLOW_THREADS;
970 } Py_INCREF(Py_None);
971 _resultobj = Py_None;
972 return _resultobj;
973 }
974
975 #define wxPseudoMetaFile_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
976 static PyObject *_wrap_wxPseudoMetaFile_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
977 PyObject * _resultobj;
978 wxPseudoMetaFile * _arg0;
979 wxRect * _arg1;
980 PyObject * _argo0 = 0;
981 PyObject * _argo1 = 0;
982 char *_kwnames[] = { "self","rect", NULL };
983
984 self = self;
985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawRectangle",_kwnames,&_argo0,&_argo1))
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 }
994 if (_argo1) {
995 if (_argo1 == Py_None) { _arg1 = NULL; }
996 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
997 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_DrawRectangle. Expected _wxRect_p.");
998 return NULL;
999 }
1000 }
1001 {
1002 wxPy_BEGIN_ALLOW_THREADS;
1003 wxPseudoMetaFile_DrawRectangle(_arg0,*_arg1);
1004
1005 wxPy_END_ALLOW_THREADS;
1006 } Py_INCREF(Py_None);
1007 _resultobj = Py_None;
1008 return _resultobj;
1009 }
1010
1011 #define wxPseudoMetaFile_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
1012 static PyObject *_wrap_wxPseudoMetaFile_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
1013 PyObject * _resultobj;
1014 wxPseudoMetaFile * _arg0;
1015 wxRect * _arg1;
1016 double _arg2;
1017 PyObject * _argo0 = 0;
1018 PyObject * _argo1 = 0;
1019 char *_kwnames[] = { "self","rect","radius", NULL };
1020
1021 self = self;
1022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPseudoMetaFile_DrawRoundedRectangle",_kwnames,&_argo0,&_argo1,&_arg2))
1023 return NULL;
1024 if (_argo0) {
1025 if (_argo0 == Py_None) { _arg0 = NULL; }
1026 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1027 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxPseudoMetaFile_p.");
1028 return NULL;
1029 }
1030 }
1031 if (_argo1) {
1032 if (_argo1 == Py_None) { _arg1 = NULL; }
1033 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
1034 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_DrawRoundedRectangle. Expected _wxRect_p.");
1035 return NULL;
1036 }
1037 }
1038 {
1039 wxPy_BEGIN_ALLOW_THREADS;
1040 wxPseudoMetaFile_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
1041
1042 wxPy_END_ALLOW_THREADS;
1043 } Py_INCREF(Py_None);
1044 _resultobj = Py_None;
1045 return _resultobj;
1046 }
1047
1048 #define wxPseudoMetaFile_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
1049 static PyObject *_wrap_wxPseudoMetaFile_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1050 PyObject * _resultobj;
1051 wxPseudoMetaFile * _arg0;
1052 wxPoint * _arg1;
1053 wxPoint * _arg2;
1054 wxPoint * _arg3;
1055 PyObject * _argo0 = 0;
1056 PyObject * _argo1 = 0;
1057 PyObject * _argo2 = 0;
1058 PyObject * _argo3 = 0;
1059 char *_kwnames[] = { "self","centrePt","startPt","endPt", NULL };
1060
1061 self = self;
1062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPseudoMetaFile_DrawArc",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3))
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 }
1071 if (_argo1) {
1072 if (_argo1 == Py_None) { _arg1 = NULL; }
1073 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
1074 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_DrawArc. Expected _wxPoint_p.");
1075 return NULL;
1076 }
1077 }
1078 if (_argo2) {
1079 if (_argo2 == Py_None) { _arg2 = NULL; }
1080 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
1081 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_DrawArc. Expected _wxPoint_p.");
1082 return NULL;
1083 }
1084 }
1085 if (_argo3) {
1086 if (_argo3 == Py_None) { _arg3 = NULL; }
1087 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
1088 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPseudoMetaFile_DrawArc. Expected _wxPoint_p.");
1089 return NULL;
1090 }
1091 }
1092 {
1093 wxPy_BEGIN_ALLOW_THREADS;
1094 wxPseudoMetaFile_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
1095
1096 wxPy_END_ALLOW_THREADS;
1097 } Py_INCREF(Py_None);
1098 _resultobj = Py_None;
1099 return _resultobj;
1100 }
1101
1102 #define wxPseudoMetaFile_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
1103 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
1104 PyObject * _resultobj;
1105 wxPseudoMetaFile * _arg0;
1106 wxRect * _arg1;
1107 double _arg2;
1108 double _arg3;
1109 PyObject * _argo0 = 0;
1110 PyObject * _argo1 = 0;
1111 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
1112
1113 self = self;
1114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPseudoMetaFile_DrawEllipticArc",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
1115 return NULL;
1116 if (_argo0) {
1117 if (_argo0 == Py_None) { _arg0 = NULL; }
1118 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1119 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxPseudoMetaFile_p.");
1120 return NULL;
1121 }
1122 }
1123 if (_argo1) {
1124 if (_argo1 == Py_None) { _arg1 = NULL; }
1125 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
1126 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_DrawEllipticArc. Expected _wxRect_p.");
1127 return NULL;
1128 }
1129 }
1130 {
1131 wxPy_BEGIN_ALLOW_THREADS;
1132 wxPseudoMetaFile_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
1133
1134 wxPy_END_ALLOW_THREADS;
1135 } Py_INCREF(Py_None);
1136 _resultobj = Py_None;
1137 return _resultobj;
1138 }
1139
1140 #define wxPseudoMetaFile_DrawEllipse(_swigobj,_swigarg0) (_swigobj->DrawEllipse(_swigarg0))
1141 static PyObject *_wrap_wxPseudoMetaFile_DrawEllipse(PyObject *self, PyObject *args, PyObject *kwargs) {
1142 PyObject * _resultobj;
1143 wxPseudoMetaFile * _arg0;
1144 wxRect * _arg1;
1145 PyObject * _argo0 = 0;
1146 PyObject * _argo1 = 0;
1147 char *_kwnames[] = { "self","rect", NULL };
1148
1149 self = self;
1150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawEllipse",_kwnames,&_argo0,&_argo1))
1151 return NULL;
1152 if (_argo0) {
1153 if (_argo0 == Py_None) { _arg0 = NULL; }
1154 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1155 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawEllipse. Expected _wxPseudoMetaFile_p.");
1156 return NULL;
1157 }
1158 }
1159 if (_argo1) {
1160 if (_argo1 == Py_None) { _arg1 = NULL; }
1161 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
1162 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_DrawEllipse. Expected _wxRect_p.");
1163 return NULL;
1164 }
1165 }
1166 {
1167 wxPy_BEGIN_ALLOW_THREADS;
1168 wxPseudoMetaFile_DrawEllipse(_arg0,*_arg1);
1169
1170 wxPy_END_ALLOW_THREADS;
1171 } Py_INCREF(Py_None);
1172 _resultobj = Py_None;
1173 return _resultobj;
1174 }
1175
1176 #define wxPseudoMetaFile_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
1177 static PyObject *_wrap_wxPseudoMetaFile_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
1178 PyObject * _resultobj;
1179 wxPseudoMetaFile * _arg0;
1180 wxPoint * _arg1;
1181 PyObject * _argo0 = 0;
1182 PyObject * _argo1 = 0;
1183 char *_kwnames[] = { "self","pt", NULL };
1184
1185 self = self;
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawPoint",_kwnames,&_argo0,&_argo1))
1187 return NULL;
1188 if (_argo0) {
1189 if (_argo0 == Py_None) { _arg0 = NULL; }
1190 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1191 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPoint. Expected _wxPseudoMetaFile_p.");
1192 return NULL;
1193 }
1194 }
1195 if (_argo1) {
1196 if (_argo1 == Py_None) { _arg1 = NULL; }
1197 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
1198 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_DrawPoint. Expected _wxPoint_p.");
1199 return NULL;
1200 }
1201 }
1202 {
1203 wxPy_BEGIN_ALLOW_THREADS;
1204 wxPseudoMetaFile_DrawPoint(_arg0,*_arg1);
1205
1206 wxPy_END_ALLOW_THREADS;
1207 } Py_INCREF(Py_None);
1208 _resultobj = Py_None;
1209 return _resultobj;
1210 }
1211
1212 #define wxPseudoMetaFile_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
1213 static PyObject *_wrap_wxPseudoMetaFile_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
1214 PyObject * _resultobj;
1215 wxPseudoMetaFile * _arg0;
1216 wxString * _arg1;
1217 wxPoint * _arg2;
1218 PyObject * _argo0 = 0;
1219 PyObject * _obj1 = 0;
1220 PyObject * _argo2 = 0;
1221 char *_kwnames[] = { "self","text","pt", NULL };
1222
1223 self = self;
1224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPseudoMetaFile_DrawText",_kwnames,&_argo0,&_obj1,&_argo2))
1225 return NULL;
1226 if (_argo0) {
1227 if (_argo0 == Py_None) { _arg0 = NULL; }
1228 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1229 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawText. Expected _wxPseudoMetaFile_p.");
1230 return NULL;
1231 }
1232 }
1233 {
1234 if (!PyString_Check(_obj1)) {
1235 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
1236 return NULL;
1237 }
1238 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
1239 }
1240 if (_argo2) {
1241 if (_argo2 == Py_None) { _arg2 = NULL; }
1242 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
1243 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPseudoMetaFile_DrawText. Expected _wxPoint_p.");
1244 return NULL;
1245 }
1246 }
1247 {
1248 wxPy_BEGIN_ALLOW_THREADS;
1249 wxPseudoMetaFile_DrawText(_arg0,*_arg1,*_arg2);
1250
1251 wxPy_END_ALLOW_THREADS;
1252 } Py_INCREF(Py_None);
1253 _resultobj = Py_None;
1254 {
1255 if (_obj1)
1256 delete _arg1;
1257 }
1258 return _resultobj;
1259 }
1260
1261 #define wxPseudoMetaFile_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
1262 static PyObject *_wrap_wxPseudoMetaFile_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
1263 PyObject * _resultobj;
1264 wxPseudoMetaFile * _arg0;
1265 int _arg1;
1266 wxPoint * _arg2;
1267 PyObject * _argo0 = 0;
1268 PyObject * _obj2 = 0;
1269 char *_kwnames[] = { "self","LIST", NULL };
1270
1271 self = self;
1272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawLines",_kwnames,&_argo0,&_obj2))
1273 return NULL;
1274 if (_argo0) {
1275 if (_argo0 == Py_None) { _arg0 = NULL; }
1276 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1277 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawLines. Expected _wxPseudoMetaFile_p.");
1278 return NULL;
1279 }
1280 }
1281 if (_obj2)
1282 {
1283 _arg2 = wxPoint_LIST_helper(_obj2);
1284 if (_arg2 == NULL) {
1285 return NULL;
1286 }
1287 }
1288 {
1289 if (_obj2) {
1290 _arg1 = PyList_Size(_obj2);
1291 }
1292 else {
1293 _arg1 = 0;
1294 }
1295 }
1296 {
1297 wxPy_BEGIN_ALLOW_THREADS;
1298 wxPseudoMetaFile_DrawLines(_arg0,_arg1,_arg2);
1299
1300 wxPy_END_ALLOW_THREADS;
1301 } Py_INCREF(Py_None);
1302 _resultobj = Py_None;
1303 {
1304 delete [] _arg2;
1305 }
1306 return _resultobj;
1307 }
1308
1309 #define wxPseudoMetaFile_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
1310 static PyObject *_wrap_wxPseudoMetaFile_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
1311 PyObject * _resultobj;
1312 wxPseudoMetaFile * _arg0;
1313 int _arg1;
1314 wxPoint * _arg2;
1315 int _arg3 = (int ) 0;
1316 PyObject * _argo0 = 0;
1317 PyObject * _obj2 = 0;
1318 char *_kwnames[] = { "self","LIST","flags", NULL };
1319
1320 self = self;
1321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
1322 return NULL;
1323 if (_argo0) {
1324 if (_argo0 == Py_None) { _arg0 = NULL; }
1325 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1326 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawPolygon. Expected _wxPseudoMetaFile_p.");
1327 return NULL;
1328 }
1329 }
1330 if (_obj2)
1331 {
1332 _arg2 = wxPoint_LIST_helper(_obj2);
1333 if (_arg2 == NULL) {
1334 return NULL;
1335 }
1336 }
1337 {
1338 if (_obj2) {
1339 _arg1 = PyList_Size(_obj2);
1340 }
1341 else {
1342 _arg1 = 0;
1343 }
1344 }
1345 {
1346 wxPy_BEGIN_ALLOW_THREADS;
1347 wxPseudoMetaFile_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
1348
1349 wxPy_END_ALLOW_THREADS;
1350 } Py_INCREF(Py_None);
1351 _resultobj = Py_None;
1352 {
1353 delete [] _arg2;
1354 }
1355 return _resultobj;
1356 }
1357
1358 #define wxPseudoMetaFile_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
1359 static PyObject *_wrap_wxPseudoMetaFile_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
1360 PyObject * _resultobj;
1361 wxPseudoMetaFile * _arg0;
1362 int _arg1;
1363 wxPoint * _arg2;
1364 PyObject * _argo0 = 0;
1365 PyObject * _obj2 = 0;
1366 char *_kwnames[] = { "self","LIST", NULL };
1367
1368 self = self;
1369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_DrawSpline",_kwnames,&_argo0,&_obj2))
1370 return NULL;
1371 if (_argo0) {
1372 if (_argo0 == Py_None) { _arg0 = NULL; }
1373 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1374 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DrawSpline. Expected _wxPseudoMetaFile_p.");
1375 return NULL;
1376 }
1377 }
1378 if (_obj2)
1379 {
1380 _arg2 = wxPoint_LIST_helper(_obj2);
1381 if (_arg2 == NULL) {
1382 return NULL;
1383 }
1384 }
1385 {
1386 if (_obj2) {
1387 _arg1 = PyList_Size(_obj2);
1388 }
1389 else {
1390 _arg1 = 0;
1391 }
1392 }
1393 {
1394 wxPy_BEGIN_ALLOW_THREADS;
1395 wxPseudoMetaFile_DrawSpline(_arg0,_arg1,_arg2);
1396
1397 wxPy_END_ALLOW_THREADS;
1398 } Py_INCREF(Py_None);
1399 _resultobj = Py_None;
1400 {
1401 delete [] _arg2;
1402 }
1403 return _resultobj;
1404 }
1405
1406 #define wxPseudoMetaFile_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
1407 static PyObject *_wrap_wxPseudoMetaFile_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject * _resultobj;
1409 wxPseudoMetaFile * _arg0;
1410 wxRect * _arg1;
1411 PyObject * _argo0 = 0;
1412 PyObject * _argo1 = 0;
1413 char *_kwnames[] = { "self","rect", NULL };
1414
1415 self = self;
1416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetClippingRect",_kwnames,&_argo0,&_argo1))
1417 return NULL;
1418 if (_argo0) {
1419 if (_argo0 == Py_None) { _arg0 = NULL; }
1420 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1421 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetClippingRect. Expected _wxPseudoMetaFile_p.");
1422 return NULL;
1423 }
1424 }
1425 if (_argo1) {
1426 if (_argo1 == Py_None) { _arg1 = NULL; }
1427 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
1428 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetClippingRect. Expected _wxRect_p.");
1429 return NULL;
1430 }
1431 }
1432 {
1433 wxPy_BEGIN_ALLOW_THREADS;
1434 wxPseudoMetaFile_SetClippingRect(_arg0,*_arg1);
1435
1436 wxPy_END_ALLOW_THREADS;
1437 } Py_INCREF(Py_None);
1438 _resultobj = Py_None;
1439 return _resultobj;
1440 }
1441
1442 #define wxPseudoMetaFile_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
1443 static PyObject *_wrap_wxPseudoMetaFile_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
1444 PyObject * _resultobj;
1445 wxPseudoMetaFile * _arg0;
1446 PyObject * _argo0 = 0;
1447 char *_kwnames[] = { "self", NULL };
1448
1449 self = self;
1450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPseudoMetaFile_DestroyClippingRect",_kwnames,&_argo0))
1451 return NULL;
1452 if (_argo0) {
1453 if (_argo0 == Py_None) { _arg0 = NULL; }
1454 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1455 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_DestroyClippingRect. Expected _wxPseudoMetaFile_p.");
1456 return NULL;
1457 }
1458 }
1459 {
1460 wxPy_BEGIN_ALLOW_THREADS;
1461 wxPseudoMetaFile_DestroyClippingRect(_arg0);
1462
1463 wxPy_END_ALLOW_THREADS;
1464 } Py_INCREF(Py_None);
1465 _resultobj = Py_None;
1466 return _resultobj;
1467 }
1468
1469 #define wxPseudoMetaFile_SetPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetPen(_swigarg0,_swigarg1))
1470 static PyObject *_wrap_wxPseudoMetaFile_SetPen(PyObject *self, PyObject *args, PyObject *kwargs) {
1471 PyObject * _resultobj;
1472 wxPseudoMetaFile * _arg0;
1473 wxPen * _arg1;
1474 bool _arg2 = (bool ) FALSE;
1475 PyObject * _argo0 = 0;
1476 PyObject * _argo1 = 0;
1477 int tempbool2 = (int) FALSE;
1478 char *_kwnames[] = { "self","pen","isOutline", NULL };
1479
1480 self = self;
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetPen",_kwnames,&_argo0,&_argo1,&tempbool2))
1482 return NULL;
1483 if (_argo0) {
1484 if (_argo0 == Py_None) { _arg0 = NULL; }
1485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetPen. Expected _wxPseudoMetaFile_p.");
1487 return NULL;
1488 }
1489 }
1490 if (_argo1) {
1491 if (_argo1 == Py_None) { _arg1 = NULL; }
1492 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
1493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetPen. Expected _wxPen_p.");
1494 return NULL;
1495 }
1496 }
1497 _arg2 = (bool ) tempbool2;
1498 {
1499 wxPy_BEGIN_ALLOW_THREADS;
1500 wxPseudoMetaFile_SetPen(_arg0,_arg1,_arg2);
1501
1502 wxPy_END_ALLOW_THREADS;
1503 } Py_INCREF(Py_None);
1504 _resultobj = Py_None;
1505 return _resultobj;
1506 }
1507
1508 #define wxPseudoMetaFile_SetBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetBrush(_swigarg0,_swigarg1))
1509 static PyObject *_wrap_wxPseudoMetaFile_SetBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
1510 PyObject * _resultobj;
1511 wxPseudoMetaFile * _arg0;
1512 wxBrush * _arg1;
1513 bool _arg2 = (bool ) FALSE;
1514 PyObject * _argo0 = 0;
1515 PyObject * _argo1 = 0;
1516 int tempbool2 = (int) FALSE;
1517 char *_kwnames[] = { "self","brush","isFill", NULL };
1518
1519 self = self;
1520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPseudoMetaFile_SetBrush",_kwnames,&_argo0,&_argo1,&tempbool2))
1521 return NULL;
1522 if (_argo0) {
1523 if (_argo0 == Py_None) { _arg0 = NULL; }
1524 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1525 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBrush. Expected _wxPseudoMetaFile_p.");
1526 return NULL;
1527 }
1528 }
1529 if (_argo1) {
1530 if (_argo1 == Py_None) { _arg1 = NULL; }
1531 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
1532 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetBrush. Expected _wxBrush_p.");
1533 return NULL;
1534 }
1535 }
1536 _arg2 = (bool ) tempbool2;
1537 {
1538 wxPy_BEGIN_ALLOW_THREADS;
1539 wxPseudoMetaFile_SetBrush(_arg0,_arg1,_arg2);
1540
1541 wxPy_END_ALLOW_THREADS;
1542 } Py_INCREF(Py_None);
1543 _resultobj = Py_None;
1544 return _resultobj;
1545 }
1546
1547 #define wxPseudoMetaFile_SetFont(_swigobj,_swigarg0) (_swigobj->SetFont(_swigarg0))
1548 static PyObject *_wrap_wxPseudoMetaFile_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject * _resultobj;
1550 wxPseudoMetaFile * _arg0;
1551 wxFont * _arg1;
1552 PyObject * _argo0 = 0;
1553 PyObject * _argo1 = 0;
1554 char *_kwnames[] = { "self","font", NULL };
1555
1556 self = self;
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetFont",_kwnames,&_argo0,&_argo1))
1558 return NULL;
1559 if (_argo0) {
1560 if (_argo0 == Py_None) { _arg0 = NULL; }
1561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetFont. Expected _wxPseudoMetaFile_p.");
1563 return NULL;
1564 }
1565 }
1566 if (_argo1) {
1567 if (_argo1 == Py_None) { _arg1 = NULL; }
1568 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
1569 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetFont. Expected _wxFont_p.");
1570 return NULL;
1571 }
1572 }
1573 {
1574 wxPy_BEGIN_ALLOW_THREADS;
1575 wxPseudoMetaFile_SetFont(_arg0,_arg1);
1576
1577 wxPy_END_ALLOW_THREADS;
1578 } Py_INCREF(Py_None);
1579 _resultobj = Py_None;
1580 return _resultobj;
1581 }
1582
1583 #define wxPseudoMetaFile_SetTextColour(_swigobj,_swigarg0) (_swigobj->SetTextColour(_swigarg0))
1584 static PyObject *_wrap_wxPseudoMetaFile_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject * _resultobj;
1586 wxPseudoMetaFile * _arg0;
1587 wxColour * _arg1;
1588 PyObject * _argo0 = 0;
1589 PyObject * _argo1 = 0;
1590 char *_kwnames[] = { "self","colour", NULL };
1591
1592 self = self;
1593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetTextColour",_kwnames,&_argo0,&_argo1))
1594 return NULL;
1595 if (_argo0) {
1596 if (_argo0 == Py_None) { _arg0 = NULL; }
1597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetTextColour. Expected _wxPseudoMetaFile_p.");
1599 return NULL;
1600 }
1601 }
1602 if (_argo1) {
1603 if (_argo1 == Py_None) { _arg1 = NULL; }
1604 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
1605 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetTextColour. Expected _wxColour_p.");
1606 return NULL;
1607 }
1608 }
1609 {
1610 wxPy_BEGIN_ALLOW_THREADS;
1611 wxPseudoMetaFile_SetTextColour(_arg0,*_arg1);
1612
1613 wxPy_END_ALLOW_THREADS;
1614 } Py_INCREF(Py_None);
1615 _resultobj = Py_None;
1616 return _resultobj;
1617 }
1618
1619 #define wxPseudoMetaFile_SetBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetBackgroundColour(_swigarg0))
1620 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject * _resultobj;
1622 wxPseudoMetaFile * _arg0;
1623 wxColour * _arg1;
1624 PyObject * _argo0 = 0;
1625 PyObject * _argo1 = 0;
1626 char *_kwnames[] = { "self","colour", NULL };
1627
1628 self = self;
1629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPseudoMetaFile_SetBackgroundColour",_kwnames,&_argo0,&_argo1))
1630 return NULL;
1631 if (_argo0) {
1632 if (_argo0 == Py_None) { _arg0 = NULL; }
1633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxPseudoMetaFile_p.");
1635 return NULL;
1636 }
1637 }
1638 if (_argo1) {
1639 if (_argo1 == Py_None) { _arg1 = NULL; }
1640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
1641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPseudoMetaFile_SetBackgroundColour. Expected _wxColour_p.");
1642 return NULL;
1643 }
1644 }
1645 {
1646 wxPy_BEGIN_ALLOW_THREADS;
1647 wxPseudoMetaFile_SetBackgroundColour(_arg0,*_arg1);
1648
1649 wxPy_END_ALLOW_THREADS;
1650 } Py_INCREF(Py_None);
1651 _resultobj = Py_None;
1652 return _resultobj;
1653 }
1654
1655 #define wxPseudoMetaFile_SetBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetBackgroundMode(_swigarg0))
1656 static PyObject *_wrap_wxPseudoMetaFile_SetBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject * _resultobj;
1658 wxPseudoMetaFile * _arg0;
1659 int _arg1;
1660 PyObject * _argo0 = 0;
1661 char *_kwnames[] = { "self","mode", NULL };
1662
1663 self = self;
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPseudoMetaFile_SetBackgroundMode",_kwnames,&_argo0,&_arg1))
1665 return NULL;
1666 if (_argo0) {
1667 if (_argo0 == Py_None) { _arg0 = NULL; }
1668 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPseudoMetaFile_p")) {
1669 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPseudoMetaFile_SetBackgroundMode. Expected _wxPseudoMetaFile_p.");
1670 return NULL;
1671 }
1672 }
1673 {
1674 wxPy_BEGIN_ALLOW_THREADS;
1675 wxPseudoMetaFile_SetBackgroundMode(_arg0,_arg1);
1676
1677 wxPy_END_ALLOW_THREADS;
1678 } Py_INCREF(Py_None);
1679 _resultobj = Py_None;
1680 return _resultobj;
1681 }
1682
1683 static void *SwigwxPyRectangleShapeTowxPyShape(void *ptr) {
1684 wxPyRectangleShape *src;
1685 wxPyShape *dest;
1686 src = (wxPyRectangleShape *) ptr;
1687 dest = (wxPyShape *) src;
1688 return (void *) dest;
1689 }
1690
1691 static void *SwigwxPyRectangleShapeTowxPyShapeEvtHandler(void *ptr) {
1692 wxPyRectangleShape *src;
1693 wxPyShapeEvtHandler *dest;
1694 src = (wxPyRectangleShape *) ptr;
1695 dest = (wxPyShapeEvtHandler *) src;
1696 return (void *) dest;
1697 }
1698
1699 #define new_wxPyRectangleShape(_swigarg0,_swigarg1) (new wxPyRectangleShape(_swigarg0,_swigarg1))
1700 static PyObject *_wrap_new_wxPyRectangleShape(PyObject *self, PyObject *args, PyObject *kwargs) {
1701 PyObject * _resultobj;
1702 wxPyRectangleShape * _result;
1703 double _arg0 = (double ) 0.0;
1704 double _arg1 = (double ) 0.0;
1705 char *_kwnames[] = { "width","height", NULL };
1706 char _ptemp[128];
1707
1708 self = self;
1709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyRectangleShape",_kwnames,&_arg0,&_arg1))
1710 return NULL;
1711 {
1712 wxPy_BEGIN_ALLOW_THREADS;
1713 _result = (wxPyRectangleShape *)new_wxPyRectangleShape(_arg0,_arg1);
1714
1715 wxPy_END_ALLOW_THREADS;
1716 } if (_result) {
1717 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyRectangleShape_p");
1718 _resultobj = Py_BuildValue("s",_ptemp);
1719 } else {
1720 Py_INCREF(Py_None);
1721 _resultobj = Py_None;
1722 }
1723 return _resultobj;
1724 }
1725
1726 #define wxPyRectangleShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
1727 static PyObject *_wrap_wxPyRectangleShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject * _resultobj;
1729 wxPyRectangleShape * _arg0;
1730 PyObject * _arg1;
1731 PyObject * _argo0 = 0;
1732 PyObject * _obj1 = 0;
1733 char *_kwnames[] = { "self","self", NULL };
1734
1735 self = self;
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape__setSelf",_kwnames,&_argo0,&_obj1))
1737 return NULL;
1738 if (_argo0) {
1739 if (_argo0 == Py_None) { _arg0 = NULL; }
1740 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1741 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape__setSelf. Expected _wxPyRectangleShape_p.");
1742 return NULL;
1743 }
1744 }
1745 {
1746 _arg1 = _obj1;
1747 }
1748 {
1749 wxPy_BEGIN_ALLOW_THREADS;
1750 wxPyRectangleShape__setSelf(_arg0,_arg1);
1751
1752 wxPy_END_ALLOW_THREADS;
1753 } Py_INCREF(Py_None);
1754 _resultobj = Py_None;
1755 return _resultobj;
1756 }
1757
1758 #define wxPyRectangleShape_SetCornerRadius(_swigobj,_swigarg0) (_swigobj->SetCornerRadius(_swigarg0))
1759 static PyObject *_wrap_wxPyRectangleShape_SetCornerRadius(PyObject *self, PyObject *args, PyObject *kwargs) {
1760 PyObject * _resultobj;
1761 wxPyRectangleShape * _arg0;
1762 double _arg1;
1763 PyObject * _argo0 = 0;
1764 char *_kwnames[] = { "self","radius", NULL };
1765
1766 self = self;
1767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Od:wxPyRectangleShape_SetCornerRadius",_kwnames,&_argo0,&_arg1))
1768 return NULL;
1769 if (_argo0) {
1770 if (_argo0 == Py_None) { _arg0 = NULL; }
1771 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1772 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_SetCornerRadius. Expected _wxPyRectangleShape_p.");
1773 return NULL;
1774 }
1775 }
1776 {
1777 wxPy_BEGIN_ALLOW_THREADS;
1778 wxPyRectangleShape_SetCornerRadius(_arg0,_arg1);
1779
1780 wxPy_END_ALLOW_THREADS;
1781 } Py_INCREF(Py_None);
1782 _resultobj = Py_None;
1783 return _resultobj;
1784 }
1785
1786 #define wxPyRectangleShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
1787 static PyObject *_wrap_wxPyRectangleShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
1788 PyObject * _resultobj;
1789 wxPyRectangleShape * _arg0;
1790 PyObject * _argo0 = 0;
1791 char *_kwnames[] = { "self", NULL };
1792
1793 self = self;
1794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyRectangleShape_base_OnDelete",_kwnames,&_argo0))
1795 return NULL;
1796 if (_argo0) {
1797 if (_argo0 == Py_None) { _arg0 = NULL; }
1798 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1799 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDelete. Expected _wxPyRectangleShape_p.");
1800 return NULL;
1801 }
1802 }
1803 {
1804 wxPy_BEGIN_ALLOW_THREADS;
1805 wxPyRectangleShape_base_OnDelete(_arg0);
1806
1807 wxPy_END_ALLOW_THREADS;
1808 } Py_INCREF(Py_None);
1809 _resultobj = Py_None;
1810 return _resultobj;
1811 }
1812
1813 #define wxPyRectangleShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
1814 static PyObject *_wrap_wxPyRectangleShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
1815 PyObject * _resultobj;
1816 wxPyRectangleShape * _arg0;
1817 wxDC * _arg1;
1818 PyObject * _argo0 = 0;
1819 PyObject * _argo1 = 0;
1820 char *_kwnames[] = { "self","dc", NULL };
1821
1822 self = self;
1823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
1824 return NULL;
1825 if (_argo0) {
1826 if (_argo0 == Py_None) { _arg0 = NULL; }
1827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDraw. Expected _wxPyRectangleShape_p.");
1829 return NULL;
1830 }
1831 }
1832 if (_argo1) {
1833 if (_argo1 == Py_None) { _arg1 = NULL; }
1834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDraw. Expected _wxDC_p.");
1836 return NULL;
1837 }
1838 }
1839 {
1840 wxPy_BEGIN_ALLOW_THREADS;
1841 wxPyRectangleShape_base_OnDraw(_arg0,*_arg1);
1842
1843 wxPy_END_ALLOW_THREADS;
1844 } Py_INCREF(Py_None);
1845 _resultobj = Py_None;
1846 return _resultobj;
1847 }
1848
1849 #define wxPyRectangleShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
1850 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1851 PyObject * _resultobj;
1852 wxPyRectangleShape * _arg0;
1853 wxDC * _arg1;
1854 PyObject * _argo0 = 0;
1855 PyObject * _argo1 = 0;
1856 char *_kwnames[] = { "self","dc", NULL };
1857
1858 self = self;
1859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
1860 return NULL;
1861 if (_argo0) {
1862 if (_argo0 == Py_None) { _arg0 = NULL; }
1863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawContents. Expected _wxPyRectangleShape_p.");
1865 return NULL;
1866 }
1867 }
1868 if (_argo1) {
1869 if (_argo1 == Py_None) { _arg1 = NULL; }
1870 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1871 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawContents. Expected _wxDC_p.");
1872 return NULL;
1873 }
1874 }
1875 {
1876 wxPy_BEGIN_ALLOW_THREADS;
1877 wxPyRectangleShape_base_OnDrawContents(_arg0,*_arg1);
1878
1879 wxPy_END_ALLOW_THREADS;
1880 } Py_INCREF(Py_None);
1881 _resultobj = Py_None;
1882 return _resultobj;
1883 }
1884
1885 #define wxPyRectangleShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
1886 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
1887 PyObject * _resultobj;
1888 wxPyRectangleShape * _arg0;
1889 wxDC * _arg1;
1890 bool _arg2 = (bool ) FALSE;
1891 PyObject * _argo0 = 0;
1892 PyObject * _argo1 = 0;
1893 int tempbool2 = (int) FALSE;
1894 char *_kwnames[] = { "self","dc","erase", NULL };
1895
1896 self = self;
1897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
1898 return NULL;
1899 if (_argo0) {
1900 if (_argo0 == Py_None) { _arg0 = NULL; }
1901 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1902 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxPyRectangleShape_p.");
1903 return NULL;
1904 }
1905 }
1906 if (_argo1) {
1907 if (_argo1 == Py_None) { _arg1 = NULL; }
1908 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1909 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawBranches. Expected _wxDC_p.");
1910 return NULL;
1911 }
1912 }
1913 _arg2 = (bool ) tempbool2;
1914 {
1915 wxPy_BEGIN_ALLOW_THREADS;
1916 wxPyRectangleShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
1917
1918 wxPy_END_ALLOW_THREADS;
1919 } Py_INCREF(Py_None);
1920 _resultobj = Py_None;
1921 return _resultobj;
1922 }
1923
1924 #define wxPyRectangleShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
1925 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
1926 PyObject * _resultobj;
1927 wxPyRectangleShape * _arg0;
1928 wxDC * _arg1;
1929 PyObject * _argo0 = 0;
1930 PyObject * _argo1 = 0;
1931 char *_kwnames[] = { "self","dc", NULL };
1932
1933 self = self;
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
1935 return NULL;
1936 if (_argo0) {
1937 if (_argo0 == Py_None) { _arg0 = NULL; }
1938 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1939 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxPyRectangleShape_p.");
1940 return NULL;
1941 }
1942 }
1943 if (_argo1) {
1944 if (_argo1 == Py_None) { _arg1 = NULL; }
1945 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1946 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLinks. Expected _wxDC_p.");
1947 return NULL;
1948 }
1949 }
1950 {
1951 wxPy_BEGIN_ALLOW_THREADS;
1952 wxPyRectangleShape_base_OnMoveLinks(_arg0,*_arg1);
1953
1954 wxPy_END_ALLOW_THREADS;
1955 } Py_INCREF(Py_None);
1956 _resultobj = Py_None;
1957 return _resultobj;
1958 }
1959
1960 #define wxPyRectangleShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
1961 static PyObject *_wrap_wxPyRectangleShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
1962 PyObject * _resultobj;
1963 wxPyRectangleShape * _arg0;
1964 wxDC * _arg1;
1965 PyObject * _argo0 = 0;
1966 PyObject * _argo1 = 0;
1967 char *_kwnames[] = { "self","dc", NULL };
1968
1969 self = self;
1970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnErase",_kwnames,&_argo0,&_argo1))
1971 return NULL;
1972 if (_argo0) {
1973 if (_argo0 == Py_None) { _arg0 = NULL; }
1974 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
1975 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnErase. Expected _wxPyRectangleShape_p.");
1976 return NULL;
1977 }
1978 }
1979 if (_argo1) {
1980 if (_argo1 == Py_None) { _arg1 = NULL; }
1981 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
1982 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnErase. Expected _wxDC_p.");
1983 return NULL;
1984 }
1985 }
1986 {
1987 wxPy_BEGIN_ALLOW_THREADS;
1988 wxPyRectangleShape_base_OnErase(_arg0,*_arg1);
1989
1990 wxPy_END_ALLOW_THREADS;
1991 } Py_INCREF(Py_None);
1992 _resultobj = Py_None;
1993 return _resultobj;
1994 }
1995
1996 #define wxPyRectangleShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
1997 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
1998 PyObject * _resultobj;
1999 wxPyRectangleShape * _arg0;
2000 wxDC * _arg1;
2001 PyObject * _argo0 = 0;
2002 PyObject * _argo1 = 0;
2003 char *_kwnames[] = { "self","dc", NULL };
2004
2005 self = self;
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
2007 return NULL;
2008 if (_argo0) {
2009 if (_argo0 == Py_None) { _arg0 = NULL; }
2010 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2011 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseContents. Expected _wxPyRectangleShape_p.");
2012 return NULL;
2013 }
2014 }
2015 if (_argo1) {
2016 if (_argo1 == Py_None) { _arg1 = NULL; }
2017 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2018 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseContents. Expected _wxDC_p.");
2019 return NULL;
2020 }
2021 }
2022 {
2023 wxPy_BEGIN_ALLOW_THREADS;
2024 wxPyRectangleShape_base_OnEraseContents(_arg0,*_arg1);
2025
2026 wxPy_END_ALLOW_THREADS;
2027 } Py_INCREF(Py_None);
2028 _resultobj = Py_None;
2029 return _resultobj;
2030 }
2031
2032 #define wxPyRectangleShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
2033 static PyObject *_wrap_wxPyRectangleShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
2034 PyObject * _resultobj;
2035 wxPyRectangleShape * _arg0;
2036 wxDC * _arg1;
2037 PyObject * _argo0 = 0;
2038 PyObject * _argo1 = 0;
2039 char *_kwnames[] = { "self","dc", NULL };
2040
2041 self = self;
2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
2043 return NULL;
2044 if (_argo0) {
2045 if (_argo0 == Py_None) { _arg0 = NULL; }
2046 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2047 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnHighlight. Expected _wxPyRectangleShape_p.");
2048 return NULL;
2049 }
2050 }
2051 if (_argo1) {
2052 if (_argo1 == Py_None) { _arg1 = NULL; }
2053 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2054 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnHighlight. Expected _wxDC_p.");
2055 return NULL;
2056 }
2057 }
2058 {
2059 wxPy_BEGIN_ALLOW_THREADS;
2060 wxPyRectangleShape_base_OnHighlight(_arg0,*_arg1);
2061
2062 wxPy_END_ALLOW_THREADS;
2063 } Py_INCREF(Py_None);
2064 _resultobj = Py_None;
2065 return _resultobj;
2066 }
2067
2068 #define wxPyRectangleShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2069 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject * _resultobj;
2071 wxPyRectangleShape * _arg0;
2072 double _arg1;
2073 double _arg2;
2074 int _arg3 = (int ) 0;
2075 int _arg4 = (int ) 0;
2076 PyObject * _argo0 = 0;
2077 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2078
2079 self = self;
2080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2081 return NULL;
2082 if (_argo0) {
2083 if (_argo0 == Py_None) { _arg0 = NULL; }
2084 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2085 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftClick. Expected _wxPyRectangleShape_p.");
2086 return NULL;
2087 }
2088 }
2089 {
2090 wxPy_BEGIN_ALLOW_THREADS;
2091 wxPyRectangleShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2092
2093 wxPy_END_ALLOW_THREADS;
2094 } Py_INCREF(Py_None);
2095 _resultobj = Py_None;
2096 return _resultobj;
2097 }
2098
2099 #define wxPyRectangleShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2100 static PyObject *_wrap_wxPyRectangleShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2101 PyObject * _resultobj;
2102 wxPyRectangleShape * _arg0;
2103 double _arg1;
2104 double _arg2;
2105 int _arg3 = (int ) 0;
2106 int _arg4 = (int ) 0;
2107 PyObject * _argo0 = 0;
2108 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2109
2110 self = self;
2111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2112 return NULL;
2113 if (_argo0) {
2114 if (_argo0 == Py_None) { _arg0 = NULL; }
2115 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2116 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnLeftDoubleClick. Expected _wxPyRectangleShape_p.");
2117 return NULL;
2118 }
2119 }
2120 {
2121 wxPy_BEGIN_ALLOW_THREADS;
2122 wxPyRectangleShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2123
2124 wxPy_END_ALLOW_THREADS;
2125 } Py_INCREF(Py_None);
2126 _resultobj = Py_None;
2127 return _resultobj;
2128 }
2129
2130 #define wxPyRectangleShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2131 static PyObject *_wrap_wxPyRectangleShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
2132 PyObject * _resultobj;
2133 wxPyRectangleShape * _arg0;
2134 double _arg1;
2135 double _arg2;
2136 int _arg3 = (int ) 0;
2137 int _arg4 = (int ) 0;
2138 PyObject * _argo0 = 0;
2139 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2140
2141 self = self;
2142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2143 return NULL;
2144 if (_argo0) {
2145 if (_argo0 == Py_None) { _arg0 = NULL; }
2146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnRightClick. Expected _wxPyRectangleShape_p.");
2148 return NULL;
2149 }
2150 }
2151 {
2152 wxPy_BEGIN_ALLOW_THREADS;
2153 wxPyRectangleShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
2154
2155 wxPy_END_ALLOW_THREADS;
2156 } Py_INCREF(Py_None);
2157 _resultobj = Py_None;
2158 return _resultobj;
2159 }
2160
2161 #define wxPyRectangleShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
2162 static PyObject *_wrap_wxPyRectangleShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2163 PyObject * _resultobj;
2164 wxPyRectangleShape * _arg0;
2165 double _arg1;
2166 double _arg2;
2167 PyObject * _argo0 = 0;
2168 char *_kwnames[] = { "self","x","y", NULL };
2169
2170 self = self;
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
2172 return NULL;
2173 if (_argo0) {
2174 if (_argo0 == Py_None) { _arg0 = NULL; }
2175 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2176 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSize. Expected _wxPyRectangleShape_p.");
2177 return NULL;
2178 }
2179 }
2180 {
2181 wxPy_BEGIN_ALLOW_THREADS;
2182 wxPyRectangleShape_base_OnSize(_arg0,_arg1,_arg2);
2183
2184 wxPy_END_ALLOW_THREADS;
2185 } Py_INCREF(Py_None);
2186 _resultobj = Py_None;
2187 return _resultobj;
2188 }
2189
2190 #define wxPyRectangleShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2191 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
2192 PyObject * _resultobj;
2193 bool _result;
2194 wxPyRectangleShape * _arg0;
2195 wxDC * _arg1;
2196 double _arg2;
2197 double _arg3;
2198 double _arg4;
2199 double _arg5;
2200 bool _arg6 = (bool ) TRUE;
2201 PyObject * _argo0 = 0;
2202 PyObject * _argo1 = 0;
2203 int tempbool6 = (int) TRUE;
2204 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2205
2206 self = self;
2207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2208 return NULL;
2209 if (_argo0) {
2210 if (_argo0 == Py_None) { _arg0 = NULL; }
2211 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2212 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePre. Expected _wxPyRectangleShape_p.");
2213 return NULL;
2214 }
2215 }
2216 if (_argo1) {
2217 if (_argo1 == Py_None) { _arg1 = NULL; }
2218 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2219 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePre. Expected _wxDC_p.");
2220 return NULL;
2221 }
2222 }
2223 _arg6 = (bool ) tempbool6;
2224 {
2225 wxPy_BEGIN_ALLOW_THREADS;
2226 _result = (bool )wxPyRectangleShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2227
2228 wxPy_END_ALLOW_THREADS;
2229 } _resultobj = Py_BuildValue("i",_result);
2230 return _resultobj;
2231 }
2232
2233 #define wxPyRectangleShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2234 static PyObject *_wrap_wxPyRectangleShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject * _resultobj;
2236 wxPyRectangleShape * _arg0;
2237 wxDC * _arg1;
2238 double _arg2;
2239 double _arg3;
2240 double _arg4;
2241 double _arg5;
2242 bool _arg6 = (bool ) TRUE;
2243 PyObject * _argo0 = 0;
2244 PyObject * _argo1 = 0;
2245 int tempbool6 = (int) TRUE;
2246 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
2247
2248 self = self;
2249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyRectangleShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
2250 return NULL;
2251 if (_argo0) {
2252 if (_argo0 == Py_None) { _arg0 = NULL; }
2253 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2254 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMovePost. Expected _wxPyRectangleShape_p.");
2255 return NULL;
2256 }
2257 }
2258 if (_argo1) {
2259 if (_argo1 == Py_None) { _arg1 = NULL; }
2260 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2261 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMovePost. Expected _wxDC_p.");
2262 return NULL;
2263 }
2264 }
2265 _arg6 = (bool ) tempbool6;
2266 {
2267 wxPy_BEGIN_ALLOW_THREADS;
2268 wxPyRectangleShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2269
2270 wxPy_END_ALLOW_THREADS;
2271 } Py_INCREF(Py_None);
2272 _resultobj = Py_None;
2273 return _resultobj;
2274 }
2275
2276 #define wxPyRectangleShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2277 static PyObject *_wrap_wxPyRectangleShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2278 PyObject * _resultobj;
2279 wxPyRectangleShape * _arg0;
2280 bool _arg1;
2281 double _arg2;
2282 double _arg3;
2283 int _arg4 = (int ) 0;
2284 int _arg5 = (int ) 0;
2285 PyObject * _argo0 = 0;
2286 int tempbool1;
2287 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2288
2289 self = self;
2290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2291 return NULL;
2292 if (_argo0) {
2293 if (_argo0 == Py_None) { _arg0 = NULL; }
2294 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2295 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragLeft. Expected _wxPyRectangleShape_p.");
2296 return NULL;
2297 }
2298 }
2299 _arg1 = (bool ) tempbool1;
2300 {
2301 wxPy_BEGIN_ALLOW_THREADS;
2302 wxPyRectangleShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2303
2304 wxPy_END_ALLOW_THREADS;
2305 } Py_INCREF(Py_None);
2306 _resultobj = Py_None;
2307 return _resultobj;
2308 }
2309
2310 #define wxPyRectangleShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2311 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject * _resultobj;
2313 wxPyRectangleShape * _arg0;
2314 double _arg1;
2315 double _arg2;
2316 int _arg3 = (int ) 0;
2317 int _arg4 = (int ) 0;
2318 PyObject * _argo0 = 0;
2319 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2320
2321 self = self;
2322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2323 return NULL;
2324 if (_argo0) {
2325 if (_argo0 == Py_None) { _arg0 = NULL; }
2326 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2327 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragLeft. Expected _wxPyRectangleShape_p.");
2328 return NULL;
2329 }
2330 }
2331 {
2332 wxPy_BEGIN_ALLOW_THREADS;
2333 wxPyRectangleShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2334
2335 wxPy_END_ALLOW_THREADS;
2336 } Py_INCREF(Py_None);
2337 _resultobj = Py_None;
2338 return _resultobj;
2339 }
2340
2341 #define wxPyRectangleShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2342 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject * _resultobj;
2344 wxPyRectangleShape * _arg0;
2345 double _arg1;
2346 double _arg2;
2347 int _arg3 = (int ) 0;
2348 int _arg4 = (int ) 0;
2349 PyObject * _argo0 = 0;
2350 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2351
2352 self = self;
2353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2354 return NULL;
2355 if (_argo0) {
2356 if (_argo0 == Py_None) { _arg0 = NULL; }
2357 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2358 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragLeft. Expected _wxPyRectangleShape_p.");
2359 return NULL;
2360 }
2361 }
2362 {
2363 wxPy_BEGIN_ALLOW_THREADS;
2364 wxPyRectangleShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
2365
2366 wxPy_END_ALLOW_THREADS;
2367 } Py_INCREF(Py_None);
2368 _resultobj = Py_None;
2369 return _resultobj;
2370 }
2371
2372 #define wxPyRectangleShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2373 static PyObject *_wrap_wxPyRectangleShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject * _resultobj;
2375 wxPyRectangleShape * _arg0;
2376 bool _arg1;
2377 double _arg2;
2378 double _arg3;
2379 int _arg4 = (int ) 0;
2380 int _arg5 = (int ) 0;
2381 PyObject * _argo0 = 0;
2382 int tempbool1;
2383 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
2384
2385 self = self;
2386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyRectangleShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
2387 return NULL;
2388 if (_argo0) {
2389 if (_argo0 == Py_None) { _arg0 = NULL; }
2390 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2391 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDragRight. Expected _wxPyRectangleShape_p.");
2392 return NULL;
2393 }
2394 }
2395 _arg1 = (bool ) tempbool1;
2396 {
2397 wxPy_BEGIN_ALLOW_THREADS;
2398 wxPyRectangleShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2399
2400 wxPy_END_ALLOW_THREADS;
2401 } Py_INCREF(Py_None);
2402 _resultobj = Py_None;
2403 return _resultobj;
2404 }
2405
2406 #define wxPyRectangleShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2407 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2408 PyObject * _resultobj;
2409 wxPyRectangleShape * _arg0;
2410 double _arg1;
2411 double _arg2;
2412 int _arg3 = (int ) 0;
2413 int _arg4 = (int ) 0;
2414 PyObject * _argo0 = 0;
2415 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2416
2417 self = self;
2418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2419 return NULL;
2420 if (_argo0) {
2421 if (_argo0 == Py_None) { _arg0 = NULL; }
2422 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2423 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginDragRight. Expected _wxPyRectangleShape_p.");
2424 return NULL;
2425 }
2426 }
2427 {
2428 wxPy_BEGIN_ALLOW_THREADS;
2429 wxPyRectangleShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2430
2431 wxPy_END_ALLOW_THREADS;
2432 } Py_INCREF(Py_None);
2433 _resultobj = Py_None;
2434 return _resultobj;
2435 }
2436
2437 #define wxPyRectangleShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
2438 static PyObject *_wrap_wxPyRectangleShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject * _resultobj;
2440 wxPyRectangleShape * _arg0;
2441 double _arg1;
2442 double _arg2;
2443 int _arg3 = (int ) 0;
2444 int _arg4 = (int ) 0;
2445 PyObject * _argo0 = 0;
2446 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
2447
2448 self = self;
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyRectangleShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
2450 return NULL;
2451 if (_argo0) {
2452 if (_argo0 == Py_None) { _arg0 = NULL; }
2453 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2454 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndDragRight. Expected _wxPyRectangleShape_p.");
2455 return NULL;
2456 }
2457 }
2458 {
2459 wxPy_BEGIN_ALLOW_THREADS;
2460 wxPyRectangleShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
2461
2462 wxPy_END_ALLOW_THREADS;
2463 } Py_INCREF(Py_None);
2464 _resultobj = Py_None;
2465 return _resultobj;
2466 }
2467
2468 #define wxPyRectangleShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2469 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject * _resultobj;
2471 wxPyRectangleShape * _arg0;
2472 wxDC * _arg1;
2473 double _arg2;
2474 double _arg3;
2475 double _arg4;
2476 double _arg5;
2477 PyObject * _argo0 = 0;
2478 PyObject * _argo1 = 0;
2479 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
2480
2481 self = self;
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyRectangleShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2483 return NULL;
2484 if (_argo0) {
2485 if (_argo0 == Py_None) { _arg0 = NULL; }
2486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxPyRectangleShape_p.");
2488 return NULL;
2489 }
2490 }
2491 if (_argo1) {
2492 if (_argo1 == Py_None) { _arg1 = NULL; }
2493 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2494 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawOutline. Expected _wxDC_p.");
2495 return NULL;
2496 }
2497 }
2498 {
2499 wxPy_BEGIN_ALLOW_THREADS;
2500 wxPyRectangleShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
2501
2502 wxPy_END_ALLOW_THREADS;
2503 } Py_INCREF(Py_None);
2504 _resultobj = Py_None;
2505 return _resultobj;
2506 }
2507
2508 #define wxPyRectangleShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
2509 static PyObject *_wrap_wxPyRectangleShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject * _resultobj;
2511 wxPyRectangleShape * _arg0;
2512 wxDC * _arg1;
2513 PyObject * _argo0 = 0;
2514 PyObject * _argo1 = 0;
2515 char *_kwnames[] = { "self","dc", NULL };
2516
2517 self = self;
2518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
2519 return NULL;
2520 if (_argo0) {
2521 if (_argo0 == Py_None) { _arg0 = NULL; }
2522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxPyRectangleShape_p.");
2524 return NULL;
2525 }
2526 }
2527 if (_argo1) {
2528 if (_argo1 == Py_None) { _arg1 = NULL; }
2529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnDrawControlPoints. Expected _wxDC_p.");
2531 return NULL;
2532 }
2533 }
2534 {
2535 wxPy_BEGIN_ALLOW_THREADS;
2536 wxPyRectangleShape_base_OnDrawControlPoints(_arg0,*_arg1);
2537
2538 wxPy_END_ALLOW_THREADS;
2539 } Py_INCREF(Py_None);
2540 _resultobj = Py_None;
2541 return _resultobj;
2542 }
2543
2544 #define wxPyRectangleShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
2545 static PyObject *_wrap_wxPyRectangleShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
2546 PyObject * _resultobj;
2547 wxPyRectangleShape * _arg0;
2548 wxDC * _arg1;
2549 PyObject * _argo0 = 0;
2550 PyObject * _argo1 = 0;
2551 char *_kwnames[] = { "self","dc", NULL };
2552
2553 self = self;
2554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyRectangleShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
2555 return NULL;
2556 if (_argo0) {
2557 if (_argo0 == Py_None) { _arg0 = NULL; }
2558 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2559 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxPyRectangleShape_p.");
2560 return NULL;
2561 }
2562 }
2563 if (_argo1) {
2564 if (_argo1 == Py_None) { _arg1 = NULL; }
2565 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2566 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnEraseControlPoints. Expected _wxDC_p.");
2567 return NULL;
2568 }
2569 }
2570 {
2571 wxPy_BEGIN_ALLOW_THREADS;
2572 wxPyRectangleShape_base_OnEraseControlPoints(_arg0,*_arg1);
2573
2574 wxPy_END_ALLOW_THREADS;
2575 } Py_INCREF(Py_None);
2576 _resultobj = Py_None;
2577 return _resultobj;
2578 }
2579
2580 #define wxPyRectangleShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
2581 static PyObject *_wrap_wxPyRectangleShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
2582 PyObject * _resultobj;
2583 wxPyRectangleShape * _arg0;
2584 wxDC * _arg1;
2585 bool _arg2 = (bool ) TRUE;
2586 PyObject * _argo0 = 0;
2587 PyObject * _argo1 = 0;
2588 int tempbool2 = (int) TRUE;
2589 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
2590
2591 self = self;
2592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyRectangleShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
2593 return NULL;
2594 if (_argo0) {
2595 if (_argo0 == Py_None) { _arg0 = NULL; }
2596 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2597 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnMoveLink. Expected _wxPyRectangleShape_p.");
2598 return NULL;
2599 }
2600 }
2601 if (_argo1) {
2602 if (_argo1 == Py_None) { _arg1 = NULL; }
2603 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
2604 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnMoveLink. Expected _wxDC_p.");
2605 return NULL;
2606 }
2607 }
2608 _arg2 = (bool ) tempbool2;
2609 {
2610 wxPy_BEGIN_ALLOW_THREADS;
2611 wxPyRectangleShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
2612
2613 wxPy_END_ALLOW_THREADS;
2614 } Py_INCREF(Py_None);
2615 _resultobj = Py_None;
2616 return _resultobj;
2617 }
2618
2619 #define wxPyRectangleShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
2620 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2621 PyObject * _resultobj;
2622 wxPyRectangleShape * _arg0;
2623 wxControlPoint * _arg1;
2624 bool _arg2;
2625 double _arg3;
2626 double _arg4;
2627 int _arg5 = (int ) 0;
2628 int _arg6 = (int ) 0;
2629 PyObject * _argo0 = 0;
2630 PyObject * _argo1 = 0;
2631 int tempbool2;
2632 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
2633
2634 self = self;
2635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyRectangleShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
2636 return NULL;
2637 if (_argo0) {
2638 if (_argo0 == Py_None) { _arg0 = NULL; }
2639 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2640 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxPyRectangleShape_p.");
2641 return NULL;
2642 }
2643 }
2644 if (_argo1) {
2645 if (_argo1 == Py_None) { _arg1 = NULL; }
2646 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
2647 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
2648 return NULL;
2649 }
2650 }
2651 _arg2 = (bool ) tempbool2;
2652 {
2653 wxPy_BEGIN_ALLOW_THREADS;
2654 wxPyRectangleShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
2655
2656 wxPy_END_ALLOW_THREADS;
2657 } Py_INCREF(Py_None);
2658 _resultobj = Py_None;
2659 return _resultobj;
2660 }
2661
2662 #define wxPyRectangleShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2663 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject * _resultobj;
2665 wxPyRectangleShape * _arg0;
2666 wxControlPoint * _arg1;
2667 double _arg2;
2668 double _arg3;
2669 int _arg4 = (int ) 0;
2670 int _arg5 = (int ) 0;
2671 PyObject * _argo0 = 0;
2672 PyObject * _argo1 = 0;
2673 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2674
2675 self = self;
2676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2677 return NULL;
2678 if (_argo0) {
2679 if (_argo0 == Py_None) { _arg0 = NULL; }
2680 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2681 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxPyRectangleShape_p.");
2682 return NULL;
2683 }
2684 }
2685 if (_argo1) {
2686 if (_argo1 == Py_None) { _arg1 = NULL; }
2687 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
2688 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
2689 return NULL;
2690 }
2691 }
2692 {
2693 wxPy_BEGIN_ALLOW_THREADS;
2694 wxPyRectangleShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2695
2696 wxPy_END_ALLOW_THREADS;
2697 } Py_INCREF(Py_None);
2698 _resultobj = Py_None;
2699 return _resultobj;
2700 }
2701
2702 #define wxPyRectangleShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
2703 static PyObject *_wrap_wxPyRectangleShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
2704 PyObject * _resultobj;
2705 wxPyRectangleShape * _arg0;
2706 wxControlPoint * _arg1;
2707 double _arg2;
2708 double _arg3;
2709 int _arg4 = (int ) 0;
2710 int _arg5 = (int ) 0;
2711 PyObject * _argo0 = 0;
2712 PyObject * _argo1 = 0;
2713 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
2714
2715 self = self;
2716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyRectangleShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
2717 return NULL;
2718 if (_argo0) {
2719 if (_argo0 == Py_None) { _arg0 = NULL; }
2720 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2721 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxPyRectangleShape_p.");
2722 return NULL;
2723 }
2724 }
2725 if (_argo1) {
2726 if (_argo1 == Py_None) { _arg1 = NULL; }
2727 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
2728 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyRectangleShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
2729 return NULL;
2730 }
2731 }
2732 {
2733 wxPy_BEGIN_ALLOW_THREADS;
2734 wxPyRectangleShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
2735
2736 wxPy_END_ALLOW_THREADS;
2737 } Py_INCREF(Py_None);
2738 _resultobj = Py_None;
2739 return _resultobj;
2740 }
2741
2742 #define wxPyRectangleShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
2743 static PyObject *_wrap_wxPyRectangleShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2744 PyObject * _resultobj;
2745 wxPyRectangleShape * _arg0;
2746 double _arg1;
2747 double _arg2;
2748 PyObject * _argo0 = 0;
2749 char *_kwnames[] = { "self","w","h", NULL };
2750
2751 self = self;
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
2753 return NULL;
2754 if (_argo0) {
2755 if (_argo0 == Py_None) { _arg0 = NULL; }
2756 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2757 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnBeginSize. Expected _wxPyRectangleShape_p.");
2758 return NULL;
2759 }
2760 }
2761 {
2762 wxPy_BEGIN_ALLOW_THREADS;
2763 wxPyRectangleShape_base_OnBeginSize(_arg0,_arg1,_arg2);
2764
2765 wxPy_END_ALLOW_THREADS;
2766 } Py_INCREF(Py_None);
2767 _resultobj = Py_None;
2768 return _resultobj;
2769 }
2770
2771 #define wxPyRectangleShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
2772 static PyObject *_wrap_wxPyRectangleShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
2773 PyObject * _resultobj;
2774 wxPyRectangleShape * _arg0;
2775 double _arg1;
2776 double _arg2;
2777 PyObject * _argo0 = 0;
2778 char *_kwnames[] = { "self","w","h", NULL };
2779
2780 self = self;
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyRectangleShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
2782 return NULL;
2783 if (_argo0) {
2784 if (_argo0 == Py_None) { _arg0 = NULL; }
2785 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyRectangleShape_p")) {
2786 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyRectangleShape_base_OnEndSize. Expected _wxPyRectangleShape_p.");
2787 return NULL;
2788 }
2789 }
2790 {
2791 wxPy_BEGIN_ALLOW_THREADS;
2792 wxPyRectangleShape_base_OnEndSize(_arg0,_arg1,_arg2);
2793
2794 wxPy_END_ALLOW_THREADS;
2795 } Py_INCREF(Py_None);
2796 _resultobj = Py_None;
2797 return _resultobj;
2798 }
2799
2800 static void *SwigwxPyBitmapShapeTowxPyRectangleShape(void *ptr) {
2801 wxPyBitmapShape *src;
2802 wxPyRectangleShape *dest;
2803 src = (wxPyBitmapShape *) ptr;
2804 dest = (wxPyRectangleShape *) src;
2805 return (void *) dest;
2806 }
2807
2808 static void *SwigwxPyBitmapShapeTowxPyShape(void *ptr) {
2809 wxPyBitmapShape *src;
2810 wxPyShape *dest;
2811 src = (wxPyBitmapShape *) ptr;
2812 dest = (wxPyShape *) src;
2813 return (void *) dest;
2814 }
2815
2816 static void *SwigwxPyBitmapShapeTowxPyShapeEvtHandler(void *ptr) {
2817 wxPyBitmapShape *src;
2818 wxPyShapeEvtHandler *dest;
2819 src = (wxPyBitmapShape *) ptr;
2820 dest = (wxPyShapeEvtHandler *) src;
2821 return (void *) dest;
2822 }
2823
2824 #define new_wxPyBitmapShape() (new wxPyBitmapShape())
2825 static PyObject *_wrap_new_wxPyBitmapShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject * _resultobj;
2827 wxPyBitmapShape * _result;
2828 char *_kwnames[] = { NULL };
2829 char _ptemp[128];
2830
2831 self = self;
2832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyBitmapShape",_kwnames))
2833 return NULL;
2834 {
2835 wxPy_BEGIN_ALLOW_THREADS;
2836 _result = (wxPyBitmapShape *)new_wxPyBitmapShape();
2837
2838 wxPy_END_ALLOW_THREADS;
2839 } if (_result) {
2840 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyBitmapShape_p");
2841 _resultobj = Py_BuildValue("s",_ptemp);
2842 } else {
2843 Py_INCREF(Py_None);
2844 _resultobj = Py_None;
2845 }
2846 return _resultobj;
2847 }
2848
2849 #define wxPyBitmapShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
2850 static PyObject *_wrap_wxPyBitmapShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject * _resultobj;
2852 wxPyBitmapShape * _arg0;
2853 PyObject * _arg1;
2854 PyObject * _argo0 = 0;
2855 PyObject * _obj1 = 0;
2856 char *_kwnames[] = { "self","self", NULL };
2857
2858 self = self;
2859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape__setSelf",_kwnames,&_argo0,&_obj1))
2860 return NULL;
2861 if (_argo0) {
2862 if (_argo0 == Py_None) { _arg0 = NULL; }
2863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
2864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape__setSelf. Expected _wxPyBitmapShape_p.");
2865 return NULL;
2866 }
2867 }
2868 {
2869 _arg1 = _obj1;
2870 }
2871 {
2872 wxPy_BEGIN_ALLOW_THREADS;
2873 wxPyBitmapShape__setSelf(_arg0,_arg1);
2874
2875 wxPy_END_ALLOW_THREADS;
2876 } Py_INCREF(Py_None);
2877 _resultobj = Py_None;
2878 return _resultobj;
2879 }
2880
2881 #define wxPyBitmapShape_GetBitmap(_swigobj) (_swigobj->GetBitmap())
2882 static PyObject *_wrap_wxPyBitmapShape_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2883 PyObject * _resultobj;
2884 wxBitmap * _result;
2885 wxPyBitmapShape * _arg0;
2886 PyObject * _argo0 = 0;
2887 char *_kwnames[] = { "self", NULL };
2888 char _ptemp[128];
2889
2890 self = self;
2891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetBitmap",_kwnames,&_argo0))
2892 return NULL;
2893 if (_argo0) {
2894 if (_argo0 == Py_None) { _arg0 = NULL; }
2895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
2896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetBitmap. Expected _wxPyBitmapShape_p.");
2897 return NULL;
2898 }
2899 }
2900 {
2901 wxPy_BEGIN_ALLOW_THREADS;
2902 wxBitmap & _result_ref = wxPyBitmapShape_GetBitmap(_arg0);
2903 _result = (wxBitmap *) &_result_ref;
2904
2905 wxPy_END_ALLOW_THREADS;
2906 } if (_result) {
2907 SWIG_MakePtr(_ptemp, (char *) _result,"_wxBitmap_p");
2908 _resultobj = Py_BuildValue("s",_ptemp);
2909 } else {
2910 Py_INCREF(Py_None);
2911 _resultobj = Py_None;
2912 }
2913 return _resultobj;
2914 }
2915
2916 #define wxPyBitmapShape_GetFilename(_swigobj) (_swigobj->GetFilename())
2917 static PyObject *_wrap_wxPyBitmapShape_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
2918 PyObject * _resultobj;
2919 wxString * _result;
2920 wxPyBitmapShape * _arg0;
2921 PyObject * _argo0 = 0;
2922 char *_kwnames[] = { "self", NULL };
2923
2924 self = self;
2925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_GetFilename",_kwnames,&_argo0))
2926 return NULL;
2927 if (_argo0) {
2928 if (_argo0 == Py_None) { _arg0 = NULL; }
2929 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
2930 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_GetFilename. Expected _wxPyBitmapShape_p.");
2931 return NULL;
2932 }
2933 }
2934 {
2935 wxPy_BEGIN_ALLOW_THREADS;
2936 _result = new wxString (wxPyBitmapShape_GetFilename(_arg0));
2937
2938 wxPy_END_ALLOW_THREADS;
2939 }{
2940 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
2941 }
2942 {
2943 delete _result;
2944 }
2945 return _resultobj;
2946 }
2947
2948 #define wxPyBitmapShape_SetBitmap(_swigobj,_swigarg0) (_swigobj->SetBitmap(_swigarg0))
2949 static PyObject *_wrap_wxPyBitmapShape_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject * _resultobj;
2951 wxPyBitmapShape * _arg0;
2952 wxBitmap * _arg1;
2953 PyObject * _argo0 = 0;
2954 PyObject * _argo1 = 0;
2955 char *_kwnames[] = { "self","bitmap", NULL };
2956
2957 self = self;
2958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetBitmap",_kwnames,&_argo0,&_argo1))
2959 return NULL;
2960 if (_argo0) {
2961 if (_argo0 == Py_None) { _arg0 = NULL; }
2962 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
2963 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetBitmap. Expected _wxPyBitmapShape_p.");
2964 return NULL;
2965 }
2966 }
2967 if (_argo1) {
2968 if (_argo1 == Py_None) { _arg1 = NULL; }
2969 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBitmap_p")) {
2970 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_SetBitmap. Expected _wxBitmap_p.");
2971 return NULL;
2972 }
2973 }
2974 {
2975 wxPy_BEGIN_ALLOW_THREADS;
2976 wxPyBitmapShape_SetBitmap(_arg0,*_arg1);
2977
2978 wxPy_END_ALLOW_THREADS;
2979 } Py_INCREF(Py_None);
2980 _resultobj = Py_None;
2981 return _resultobj;
2982 }
2983
2984 #define wxPyBitmapShape_SetFilename(_swigobj,_swigarg0) (_swigobj->SetFilename(_swigarg0))
2985 static PyObject *_wrap_wxPyBitmapShape_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
2986 PyObject * _resultobj;
2987 wxPyBitmapShape * _arg0;
2988 wxString * _arg1;
2989 PyObject * _argo0 = 0;
2990 PyObject * _obj1 = 0;
2991 char *_kwnames[] = { "self","filename", NULL };
2992
2993 self = self;
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_SetFilename",_kwnames,&_argo0,&_obj1))
2995 return NULL;
2996 if (_argo0) {
2997 if (_argo0 == Py_None) { _arg0 = NULL; }
2998 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
2999 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_SetFilename. Expected _wxPyBitmapShape_p.");
3000 return NULL;
3001 }
3002 }
3003 {
3004 if (!PyString_Check(_obj1)) {
3005 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
3006 return NULL;
3007 }
3008 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
3009 }
3010 {
3011 wxPy_BEGIN_ALLOW_THREADS;
3012 wxPyBitmapShape_SetFilename(_arg0,*_arg1);
3013
3014 wxPy_END_ALLOW_THREADS;
3015 } Py_INCREF(Py_None);
3016 _resultobj = Py_None;
3017 {
3018 if (_obj1)
3019 delete _arg1;
3020 }
3021 return _resultobj;
3022 }
3023
3024 #define wxPyBitmapShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
3025 static PyObject *_wrap_wxPyBitmapShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject * _resultobj;
3027 wxPyBitmapShape * _arg0;
3028 PyObject * _argo0 = 0;
3029 char *_kwnames[] = { "self", NULL };
3030
3031 self = self;
3032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyBitmapShape_base_OnDelete",_kwnames,&_argo0))
3033 return NULL;
3034 if (_argo0) {
3035 if (_argo0 == Py_None) { _arg0 = NULL; }
3036 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3037 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDelete. Expected _wxPyBitmapShape_p.");
3038 return NULL;
3039 }
3040 }
3041 {
3042 wxPy_BEGIN_ALLOW_THREADS;
3043 wxPyBitmapShape_base_OnDelete(_arg0);
3044
3045 wxPy_END_ALLOW_THREADS;
3046 } Py_INCREF(Py_None);
3047 _resultobj = Py_None;
3048 return _resultobj;
3049 }
3050
3051 #define wxPyBitmapShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
3052 static PyObject *_wrap_wxPyBitmapShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
3053 PyObject * _resultobj;
3054 wxPyBitmapShape * _arg0;
3055 wxDC * _arg1;
3056 PyObject * _argo0 = 0;
3057 PyObject * _argo1 = 0;
3058 char *_kwnames[] = { "self","dc", NULL };
3059
3060 self = self;
3061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
3062 return NULL;
3063 if (_argo0) {
3064 if (_argo0 == Py_None) { _arg0 = NULL; }
3065 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3066 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDraw. Expected _wxPyBitmapShape_p.");
3067 return NULL;
3068 }
3069 }
3070 if (_argo1) {
3071 if (_argo1 == Py_None) { _arg1 = NULL; }
3072 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3073 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDraw. Expected _wxDC_p.");
3074 return NULL;
3075 }
3076 }
3077 {
3078 wxPy_BEGIN_ALLOW_THREADS;
3079 wxPyBitmapShape_base_OnDraw(_arg0,*_arg1);
3080
3081 wxPy_END_ALLOW_THREADS;
3082 } Py_INCREF(Py_None);
3083 _resultobj = Py_None;
3084 return _resultobj;
3085 }
3086
3087 #define wxPyBitmapShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
3088 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3089 PyObject * _resultobj;
3090 wxPyBitmapShape * _arg0;
3091 wxDC * _arg1;
3092 PyObject * _argo0 = 0;
3093 PyObject * _argo1 = 0;
3094 char *_kwnames[] = { "self","dc", NULL };
3095
3096 self = self;
3097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
3098 return NULL;
3099 if (_argo0) {
3100 if (_argo0 == Py_None) { _arg0 = NULL; }
3101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawContents. Expected _wxPyBitmapShape_p.");
3103 return NULL;
3104 }
3105 }
3106 if (_argo1) {
3107 if (_argo1 == Py_None) { _arg1 = NULL; }
3108 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3109 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawContents. Expected _wxDC_p.");
3110 return NULL;
3111 }
3112 }
3113 {
3114 wxPy_BEGIN_ALLOW_THREADS;
3115 wxPyBitmapShape_base_OnDrawContents(_arg0,*_arg1);
3116
3117 wxPy_END_ALLOW_THREADS;
3118 } Py_INCREF(Py_None);
3119 _resultobj = Py_None;
3120 return _resultobj;
3121 }
3122
3123 #define wxPyBitmapShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
3124 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
3125 PyObject * _resultobj;
3126 wxPyBitmapShape * _arg0;
3127 wxDC * _arg1;
3128 bool _arg2 = (bool ) FALSE;
3129 PyObject * _argo0 = 0;
3130 PyObject * _argo1 = 0;
3131 int tempbool2 = (int) FALSE;
3132 char *_kwnames[] = { "self","dc","erase", NULL };
3133
3134 self = self;
3135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
3136 return NULL;
3137 if (_argo0) {
3138 if (_argo0 == Py_None) { _arg0 = NULL; }
3139 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3140 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxPyBitmapShape_p.");
3141 return NULL;
3142 }
3143 }
3144 if (_argo1) {
3145 if (_argo1 == Py_None) { _arg1 = NULL; }
3146 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3147 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawBranches. Expected _wxDC_p.");
3148 return NULL;
3149 }
3150 }
3151 _arg2 = (bool ) tempbool2;
3152 {
3153 wxPy_BEGIN_ALLOW_THREADS;
3154 wxPyBitmapShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
3155
3156 wxPy_END_ALLOW_THREADS;
3157 } Py_INCREF(Py_None);
3158 _resultobj = Py_None;
3159 return _resultobj;
3160 }
3161
3162 #define wxPyBitmapShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
3163 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject * _resultobj;
3165 wxPyBitmapShape * _arg0;
3166 wxDC * _arg1;
3167 PyObject * _argo0 = 0;
3168 PyObject * _argo1 = 0;
3169 char *_kwnames[] = { "self","dc", NULL };
3170
3171 self = self;
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
3173 return NULL;
3174 if (_argo0) {
3175 if (_argo0 == Py_None) { _arg0 = NULL; }
3176 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3177 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxPyBitmapShape_p.");
3178 return NULL;
3179 }
3180 }
3181 if (_argo1) {
3182 if (_argo1 == Py_None) { _arg1 = NULL; }
3183 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3184 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLinks. Expected _wxDC_p.");
3185 return NULL;
3186 }
3187 }
3188 {
3189 wxPy_BEGIN_ALLOW_THREADS;
3190 wxPyBitmapShape_base_OnMoveLinks(_arg0,*_arg1);
3191
3192 wxPy_END_ALLOW_THREADS;
3193 } Py_INCREF(Py_None);
3194 _resultobj = Py_None;
3195 return _resultobj;
3196 }
3197
3198 #define wxPyBitmapShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
3199 static PyObject *_wrap_wxPyBitmapShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject * _resultobj;
3201 wxPyBitmapShape * _arg0;
3202 wxDC * _arg1;
3203 PyObject * _argo0 = 0;
3204 PyObject * _argo1 = 0;
3205 char *_kwnames[] = { "self","dc", NULL };
3206
3207 self = self;
3208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnErase",_kwnames,&_argo0,&_argo1))
3209 return NULL;
3210 if (_argo0) {
3211 if (_argo0 == Py_None) { _arg0 = NULL; }
3212 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3213 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnErase. Expected _wxPyBitmapShape_p.");
3214 return NULL;
3215 }
3216 }
3217 if (_argo1) {
3218 if (_argo1 == Py_None) { _arg1 = NULL; }
3219 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3220 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnErase. Expected _wxDC_p.");
3221 return NULL;
3222 }
3223 }
3224 {
3225 wxPy_BEGIN_ALLOW_THREADS;
3226 wxPyBitmapShape_base_OnErase(_arg0,*_arg1);
3227
3228 wxPy_END_ALLOW_THREADS;
3229 } Py_INCREF(Py_None);
3230 _resultobj = Py_None;
3231 return _resultobj;
3232 }
3233
3234 #define wxPyBitmapShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
3235 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject * _resultobj;
3237 wxPyBitmapShape * _arg0;
3238 wxDC * _arg1;
3239 PyObject * _argo0 = 0;
3240 PyObject * _argo1 = 0;
3241 char *_kwnames[] = { "self","dc", NULL };
3242
3243 self = self;
3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
3245 return NULL;
3246 if (_argo0) {
3247 if (_argo0 == Py_None) { _arg0 = NULL; }
3248 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3249 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseContents. Expected _wxPyBitmapShape_p.");
3250 return NULL;
3251 }
3252 }
3253 if (_argo1) {
3254 if (_argo1 == Py_None) { _arg1 = NULL; }
3255 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3256 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseContents. Expected _wxDC_p.");
3257 return NULL;
3258 }
3259 }
3260 {
3261 wxPy_BEGIN_ALLOW_THREADS;
3262 wxPyBitmapShape_base_OnEraseContents(_arg0,*_arg1);
3263
3264 wxPy_END_ALLOW_THREADS;
3265 } Py_INCREF(Py_None);
3266 _resultobj = Py_None;
3267 return _resultobj;
3268 }
3269
3270 #define wxPyBitmapShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
3271 static PyObject *_wrap_wxPyBitmapShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
3272 PyObject * _resultobj;
3273 wxPyBitmapShape * _arg0;
3274 wxDC * _arg1;
3275 PyObject * _argo0 = 0;
3276 PyObject * _argo1 = 0;
3277 char *_kwnames[] = { "self","dc", NULL };
3278
3279 self = self;
3280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
3281 return NULL;
3282 if (_argo0) {
3283 if (_argo0 == Py_None) { _arg0 = NULL; }
3284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnHighlight. Expected _wxPyBitmapShape_p.");
3286 return NULL;
3287 }
3288 }
3289 if (_argo1) {
3290 if (_argo1 == Py_None) { _arg1 = NULL; }
3291 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3292 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnHighlight. Expected _wxDC_p.");
3293 return NULL;
3294 }
3295 }
3296 {
3297 wxPy_BEGIN_ALLOW_THREADS;
3298 wxPyBitmapShape_base_OnHighlight(_arg0,*_arg1);
3299
3300 wxPy_END_ALLOW_THREADS;
3301 } Py_INCREF(Py_None);
3302 _resultobj = Py_None;
3303 return _resultobj;
3304 }
3305
3306 #define wxPyBitmapShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3307 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3308 PyObject * _resultobj;
3309 wxPyBitmapShape * _arg0;
3310 double _arg1;
3311 double _arg2;
3312 int _arg3 = (int ) 0;
3313 int _arg4 = (int ) 0;
3314 PyObject * _argo0 = 0;
3315 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3316
3317 self = self;
3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3319 return NULL;
3320 if (_argo0) {
3321 if (_argo0 == Py_None) { _arg0 = NULL; }
3322 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3323 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftClick. Expected _wxPyBitmapShape_p.");
3324 return NULL;
3325 }
3326 }
3327 {
3328 wxPy_BEGIN_ALLOW_THREADS;
3329 wxPyBitmapShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3330
3331 wxPy_END_ALLOW_THREADS;
3332 } Py_INCREF(Py_None);
3333 _resultobj = Py_None;
3334 return _resultobj;
3335 }
3336
3337 #define wxPyBitmapShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3338 static PyObject *_wrap_wxPyBitmapShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3339 PyObject * _resultobj;
3340 wxPyBitmapShape * _arg0;
3341 double _arg1;
3342 double _arg2;
3343 int _arg3 = (int ) 0;
3344 int _arg4 = (int ) 0;
3345 PyObject * _argo0 = 0;
3346 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3347
3348 self = self;
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3350 return NULL;
3351 if (_argo0) {
3352 if (_argo0 == Py_None) { _arg0 = NULL; }
3353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnLeftDoubleClick. Expected _wxPyBitmapShape_p.");
3355 return NULL;
3356 }
3357 }
3358 {
3359 wxPy_BEGIN_ALLOW_THREADS;
3360 wxPyBitmapShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3361
3362 wxPy_END_ALLOW_THREADS;
3363 } Py_INCREF(Py_None);
3364 _resultobj = Py_None;
3365 return _resultobj;
3366 }
3367
3368 #define wxPyBitmapShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3369 static PyObject *_wrap_wxPyBitmapShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
3370 PyObject * _resultobj;
3371 wxPyBitmapShape * _arg0;
3372 double _arg1;
3373 double _arg2;
3374 int _arg3 = (int ) 0;
3375 int _arg4 = (int ) 0;
3376 PyObject * _argo0 = 0;
3377 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3378
3379 self = self;
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3381 return NULL;
3382 if (_argo0) {
3383 if (_argo0 == Py_None) { _arg0 = NULL; }
3384 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3385 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnRightClick. Expected _wxPyBitmapShape_p.");
3386 return NULL;
3387 }
3388 }
3389 {
3390 wxPy_BEGIN_ALLOW_THREADS;
3391 wxPyBitmapShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
3392
3393 wxPy_END_ALLOW_THREADS;
3394 } Py_INCREF(Py_None);
3395 _resultobj = Py_None;
3396 return _resultobj;
3397 }
3398
3399 #define wxPyBitmapShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
3400 static PyObject *_wrap_wxPyBitmapShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3401 PyObject * _resultobj;
3402 wxPyBitmapShape * _arg0;
3403 double _arg1;
3404 double _arg2;
3405 PyObject * _argo0 = 0;
3406 char *_kwnames[] = { "self","x","y", NULL };
3407
3408 self = self;
3409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
3410 return NULL;
3411 if (_argo0) {
3412 if (_argo0 == Py_None) { _arg0 = NULL; }
3413 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3414 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSize. Expected _wxPyBitmapShape_p.");
3415 return NULL;
3416 }
3417 }
3418 {
3419 wxPy_BEGIN_ALLOW_THREADS;
3420 wxPyBitmapShape_base_OnSize(_arg0,_arg1,_arg2);
3421
3422 wxPy_END_ALLOW_THREADS;
3423 } Py_INCREF(Py_None);
3424 _resultobj = Py_None;
3425 return _resultobj;
3426 }
3427
3428 #define wxPyBitmapShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3429 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject * _resultobj;
3431 bool _result;
3432 wxPyBitmapShape * _arg0;
3433 wxDC * _arg1;
3434 double _arg2;
3435 double _arg3;
3436 double _arg4;
3437 double _arg5;
3438 bool _arg6 = (bool ) TRUE;
3439 PyObject * _argo0 = 0;
3440 PyObject * _argo1 = 0;
3441 int tempbool6 = (int) TRUE;
3442 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3443
3444 self = self;
3445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3446 return NULL;
3447 if (_argo0) {
3448 if (_argo0 == Py_None) { _arg0 = NULL; }
3449 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3450 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePre. Expected _wxPyBitmapShape_p.");
3451 return NULL;
3452 }
3453 }
3454 if (_argo1) {
3455 if (_argo1 == Py_None) { _arg1 = NULL; }
3456 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3457 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePre. Expected _wxDC_p.");
3458 return NULL;
3459 }
3460 }
3461 _arg6 = (bool ) tempbool6;
3462 {
3463 wxPy_BEGIN_ALLOW_THREADS;
3464 _result = (bool )wxPyBitmapShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3465
3466 wxPy_END_ALLOW_THREADS;
3467 } _resultobj = Py_BuildValue("i",_result);
3468 return _resultobj;
3469 }
3470
3471 #define wxPyBitmapShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3472 static PyObject *_wrap_wxPyBitmapShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
3473 PyObject * _resultobj;
3474 wxPyBitmapShape * _arg0;
3475 wxDC * _arg1;
3476 double _arg2;
3477 double _arg3;
3478 double _arg4;
3479 double _arg5;
3480 bool _arg6 = (bool ) TRUE;
3481 PyObject * _argo0 = 0;
3482 PyObject * _argo1 = 0;
3483 int tempbool6 = (int) TRUE;
3484 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
3485
3486 self = self;
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyBitmapShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
3488 return NULL;
3489 if (_argo0) {
3490 if (_argo0 == Py_None) { _arg0 = NULL; }
3491 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3492 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMovePost. Expected _wxPyBitmapShape_p.");
3493 return NULL;
3494 }
3495 }
3496 if (_argo1) {
3497 if (_argo1 == Py_None) { _arg1 = NULL; }
3498 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3499 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMovePost. Expected _wxDC_p.");
3500 return NULL;
3501 }
3502 }
3503 _arg6 = (bool ) tempbool6;
3504 {
3505 wxPy_BEGIN_ALLOW_THREADS;
3506 wxPyBitmapShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3507
3508 wxPy_END_ALLOW_THREADS;
3509 } Py_INCREF(Py_None);
3510 _resultobj = Py_None;
3511 return _resultobj;
3512 }
3513
3514 #define wxPyBitmapShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3515 static PyObject *_wrap_wxPyBitmapShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3516 PyObject * _resultobj;
3517 wxPyBitmapShape * _arg0;
3518 bool _arg1;
3519 double _arg2;
3520 double _arg3;
3521 int _arg4 = (int ) 0;
3522 int _arg5 = (int ) 0;
3523 PyObject * _argo0 = 0;
3524 int tempbool1;
3525 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3526
3527 self = self;
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3529 return NULL;
3530 if (_argo0) {
3531 if (_argo0 == Py_None) { _arg0 = NULL; }
3532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragLeft. Expected _wxPyBitmapShape_p.");
3534 return NULL;
3535 }
3536 }
3537 _arg1 = (bool ) tempbool1;
3538 {
3539 wxPy_BEGIN_ALLOW_THREADS;
3540 wxPyBitmapShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3541
3542 wxPy_END_ALLOW_THREADS;
3543 } Py_INCREF(Py_None);
3544 _resultobj = Py_None;
3545 return _resultobj;
3546 }
3547
3548 #define wxPyBitmapShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3549 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3550 PyObject * _resultobj;
3551 wxPyBitmapShape * _arg0;
3552 double _arg1;
3553 double _arg2;
3554 int _arg3 = (int ) 0;
3555 int _arg4 = (int ) 0;
3556 PyObject * _argo0 = 0;
3557 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3558
3559 self = self;
3560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3561 return NULL;
3562 if (_argo0) {
3563 if (_argo0 == Py_None) { _arg0 = NULL; }
3564 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3565 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragLeft. Expected _wxPyBitmapShape_p.");
3566 return NULL;
3567 }
3568 }
3569 {
3570 wxPy_BEGIN_ALLOW_THREADS;
3571 wxPyBitmapShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3572
3573 wxPy_END_ALLOW_THREADS;
3574 } Py_INCREF(Py_None);
3575 _resultobj = Py_None;
3576 return _resultobj;
3577 }
3578
3579 #define wxPyBitmapShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3580 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3581 PyObject * _resultobj;
3582 wxPyBitmapShape * _arg0;
3583 double _arg1;
3584 double _arg2;
3585 int _arg3 = (int ) 0;
3586 int _arg4 = (int ) 0;
3587 PyObject * _argo0 = 0;
3588 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3589
3590 self = self;
3591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3592 return NULL;
3593 if (_argo0) {
3594 if (_argo0 == Py_None) { _arg0 = NULL; }
3595 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3596 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragLeft. Expected _wxPyBitmapShape_p.");
3597 return NULL;
3598 }
3599 }
3600 {
3601 wxPy_BEGIN_ALLOW_THREADS;
3602 wxPyBitmapShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
3603
3604 wxPy_END_ALLOW_THREADS;
3605 } Py_INCREF(Py_None);
3606 _resultobj = Py_None;
3607 return _resultobj;
3608 }
3609
3610 #define wxPyBitmapShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3611 static PyObject *_wrap_wxPyBitmapShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3612 PyObject * _resultobj;
3613 wxPyBitmapShape * _arg0;
3614 bool _arg1;
3615 double _arg2;
3616 double _arg3;
3617 int _arg4 = (int ) 0;
3618 int _arg5 = (int ) 0;
3619 PyObject * _argo0 = 0;
3620 int tempbool1;
3621 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
3622
3623 self = self;
3624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyBitmapShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
3625 return NULL;
3626 if (_argo0) {
3627 if (_argo0 == Py_None) { _arg0 = NULL; }
3628 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3629 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDragRight. Expected _wxPyBitmapShape_p.");
3630 return NULL;
3631 }
3632 }
3633 _arg1 = (bool ) tempbool1;
3634 {
3635 wxPy_BEGIN_ALLOW_THREADS;
3636 wxPyBitmapShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3637
3638 wxPy_END_ALLOW_THREADS;
3639 } Py_INCREF(Py_None);
3640 _resultobj = Py_None;
3641 return _resultobj;
3642 }
3643
3644 #define wxPyBitmapShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3645 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3646 PyObject * _resultobj;
3647 wxPyBitmapShape * _arg0;
3648 double _arg1;
3649 double _arg2;
3650 int _arg3 = (int ) 0;
3651 int _arg4 = (int ) 0;
3652 PyObject * _argo0 = 0;
3653 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3654
3655 self = self;
3656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3657 return NULL;
3658 if (_argo0) {
3659 if (_argo0 == Py_None) { _arg0 = NULL; }
3660 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3661 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginDragRight. Expected _wxPyBitmapShape_p.");
3662 return NULL;
3663 }
3664 }
3665 {
3666 wxPy_BEGIN_ALLOW_THREADS;
3667 wxPyBitmapShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3668
3669 wxPy_END_ALLOW_THREADS;
3670 } Py_INCREF(Py_None);
3671 _resultobj = Py_None;
3672 return _resultobj;
3673 }
3674
3675 #define wxPyBitmapShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
3676 static PyObject *_wrap_wxPyBitmapShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3677 PyObject * _resultobj;
3678 wxPyBitmapShape * _arg0;
3679 double _arg1;
3680 double _arg2;
3681 int _arg3 = (int ) 0;
3682 int _arg4 = (int ) 0;
3683 PyObject * _argo0 = 0;
3684 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
3685
3686 self = self;
3687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyBitmapShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
3688 return NULL;
3689 if (_argo0) {
3690 if (_argo0 == Py_None) { _arg0 = NULL; }
3691 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3692 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndDragRight. Expected _wxPyBitmapShape_p.");
3693 return NULL;
3694 }
3695 }
3696 {
3697 wxPy_BEGIN_ALLOW_THREADS;
3698 wxPyBitmapShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
3699
3700 wxPy_END_ALLOW_THREADS;
3701 } Py_INCREF(Py_None);
3702 _resultobj = Py_None;
3703 return _resultobj;
3704 }
3705
3706 #define wxPyBitmapShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3707 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
3708 PyObject * _resultobj;
3709 wxPyBitmapShape * _arg0;
3710 wxDC * _arg1;
3711 double _arg2;
3712 double _arg3;
3713 double _arg4;
3714 double _arg5;
3715 PyObject * _argo0 = 0;
3716 PyObject * _argo1 = 0;
3717 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
3718
3719 self = self;
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyBitmapShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3721 return NULL;
3722 if (_argo0) {
3723 if (_argo0 == Py_None) { _arg0 = NULL; }
3724 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3725 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxPyBitmapShape_p.");
3726 return NULL;
3727 }
3728 }
3729 if (_argo1) {
3730 if (_argo1 == Py_None) { _arg1 = NULL; }
3731 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3732 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawOutline. Expected _wxDC_p.");
3733 return NULL;
3734 }
3735 }
3736 {
3737 wxPy_BEGIN_ALLOW_THREADS;
3738 wxPyBitmapShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
3739
3740 wxPy_END_ALLOW_THREADS;
3741 } Py_INCREF(Py_None);
3742 _resultobj = Py_None;
3743 return _resultobj;
3744 }
3745
3746 #define wxPyBitmapShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
3747 static PyObject *_wrap_wxPyBitmapShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3748 PyObject * _resultobj;
3749 wxPyBitmapShape * _arg0;
3750 wxDC * _arg1;
3751 PyObject * _argo0 = 0;
3752 PyObject * _argo1 = 0;
3753 char *_kwnames[] = { "self","dc", NULL };
3754
3755 self = self;
3756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
3757 return NULL;
3758 if (_argo0) {
3759 if (_argo0 == Py_None) { _arg0 = NULL; }
3760 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3761 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxPyBitmapShape_p.");
3762 return NULL;
3763 }
3764 }
3765 if (_argo1) {
3766 if (_argo1 == Py_None) { _arg1 = NULL; }
3767 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3768 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnDrawControlPoints. Expected _wxDC_p.");
3769 return NULL;
3770 }
3771 }
3772 {
3773 wxPy_BEGIN_ALLOW_THREADS;
3774 wxPyBitmapShape_base_OnDrawControlPoints(_arg0,*_arg1);
3775
3776 wxPy_END_ALLOW_THREADS;
3777 } Py_INCREF(Py_None);
3778 _resultobj = Py_None;
3779 return _resultobj;
3780 }
3781
3782 #define wxPyBitmapShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
3783 static PyObject *_wrap_wxPyBitmapShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
3784 PyObject * _resultobj;
3785 wxPyBitmapShape * _arg0;
3786 wxDC * _arg1;
3787 PyObject * _argo0 = 0;
3788 PyObject * _argo1 = 0;
3789 char *_kwnames[] = { "self","dc", NULL };
3790
3791 self = self;
3792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyBitmapShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
3793 return NULL;
3794 if (_argo0) {
3795 if (_argo0 == Py_None) { _arg0 = NULL; }
3796 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3797 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxPyBitmapShape_p.");
3798 return NULL;
3799 }
3800 }
3801 if (_argo1) {
3802 if (_argo1 == Py_None) { _arg1 = NULL; }
3803 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3804 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnEraseControlPoints. Expected _wxDC_p.");
3805 return NULL;
3806 }
3807 }
3808 {
3809 wxPy_BEGIN_ALLOW_THREADS;
3810 wxPyBitmapShape_base_OnEraseControlPoints(_arg0,*_arg1);
3811
3812 wxPy_END_ALLOW_THREADS;
3813 } Py_INCREF(Py_None);
3814 _resultobj = Py_None;
3815 return _resultobj;
3816 }
3817
3818 #define wxPyBitmapShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
3819 static PyObject *_wrap_wxPyBitmapShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
3820 PyObject * _resultobj;
3821 wxPyBitmapShape * _arg0;
3822 wxDC * _arg1;
3823 bool _arg2 = (bool ) TRUE;
3824 PyObject * _argo0 = 0;
3825 PyObject * _argo1 = 0;
3826 int tempbool2 = (int) TRUE;
3827 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
3828
3829 self = self;
3830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyBitmapShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
3831 return NULL;
3832 if (_argo0) {
3833 if (_argo0 == Py_None) { _arg0 = NULL; }
3834 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3835 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnMoveLink. Expected _wxPyBitmapShape_p.");
3836 return NULL;
3837 }
3838 }
3839 if (_argo1) {
3840 if (_argo1 == Py_None) { _arg1 = NULL; }
3841 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
3842 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnMoveLink. Expected _wxDC_p.");
3843 return NULL;
3844 }
3845 }
3846 _arg2 = (bool ) tempbool2;
3847 {
3848 wxPy_BEGIN_ALLOW_THREADS;
3849 wxPyBitmapShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
3850
3851 wxPy_END_ALLOW_THREADS;
3852 } Py_INCREF(Py_None);
3853 _resultobj = Py_None;
3854 return _resultobj;
3855 }
3856
3857 #define wxPyBitmapShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
3858 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject * _resultobj;
3860 wxPyBitmapShape * _arg0;
3861 wxControlPoint * _arg1;
3862 bool _arg2;
3863 double _arg3;
3864 double _arg4;
3865 int _arg5 = (int ) 0;
3866 int _arg6 = (int ) 0;
3867 PyObject * _argo0 = 0;
3868 PyObject * _argo1 = 0;
3869 int tempbool2;
3870 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
3871
3872 self = self;
3873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyBitmapShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
3874 return NULL;
3875 if (_argo0) {
3876 if (_argo0 == Py_None) { _arg0 = NULL; }
3877 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3878 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxPyBitmapShape_p.");
3879 return NULL;
3880 }
3881 }
3882 if (_argo1) {
3883 if (_argo1 == Py_None) { _arg1 = NULL; }
3884 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
3885 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
3886 return NULL;
3887 }
3888 }
3889 _arg2 = (bool ) tempbool2;
3890 {
3891 wxPy_BEGIN_ALLOW_THREADS;
3892 wxPyBitmapShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
3893
3894 wxPy_END_ALLOW_THREADS;
3895 } Py_INCREF(Py_None);
3896 _resultobj = Py_None;
3897 return _resultobj;
3898 }
3899
3900 #define wxPyBitmapShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3901 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3902 PyObject * _resultobj;
3903 wxPyBitmapShape * _arg0;
3904 wxControlPoint * _arg1;
3905 double _arg2;
3906 double _arg3;
3907 int _arg4 = (int ) 0;
3908 int _arg5 = (int ) 0;
3909 PyObject * _argo0 = 0;
3910 PyObject * _argo1 = 0;
3911 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3912
3913 self = self;
3914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3915 return NULL;
3916 if (_argo0) {
3917 if (_argo0 == Py_None) { _arg0 = NULL; }
3918 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3919 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxPyBitmapShape_p.");
3920 return NULL;
3921 }
3922 }
3923 if (_argo1) {
3924 if (_argo1 == Py_None) { _arg1 = NULL; }
3925 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
3926 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
3927 return NULL;
3928 }
3929 }
3930 {
3931 wxPy_BEGIN_ALLOW_THREADS;
3932 wxPyBitmapShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3933
3934 wxPy_END_ALLOW_THREADS;
3935 } Py_INCREF(Py_None);
3936 _resultobj = Py_None;
3937 return _resultobj;
3938 }
3939
3940 #define wxPyBitmapShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
3941 static PyObject *_wrap_wxPyBitmapShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject * _resultobj;
3943 wxPyBitmapShape * _arg0;
3944 wxControlPoint * _arg1;
3945 double _arg2;
3946 double _arg3;
3947 int _arg4 = (int ) 0;
3948 int _arg5 = (int ) 0;
3949 PyObject * _argo0 = 0;
3950 PyObject * _argo1 = 0;
3951 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
3952
3953 self = self;
3954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyBitmapShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
3955 return NULL;
3956 if (_argo0) {
3957 if (_argo0 == Py_None) { _arg0 = NULL; }
3958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxPyBitmapShape_p.");
3960 return NULL;
3961 }
3962 }
3963 if (_argo1) {
3964 if (_argo1 == Py_None) { _arg1 = NULL; }
3965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
3966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyBitmapShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
3967 return NULL;
3968 }
3969 }
3970 {
3971 wxPy_BEGIN_ALLOW_THREADS;
3972 wxPyBitmapShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
3973
3974 wxPy_END_ALLOW_THREADS;
3975 } Py_INCREF(Py_None);
3976 _resultobj = Py_None;
3977 return _resultobj;
3978 }
3979
3980 #define wxPyBitmapShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
3981 static PyObject *_wrap_wxPyBitmapShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3982 PyObject * _resultobj;
3983 wxPyBitmapShape * _arg0;
3984 double _arg1;
3985 double _arg2;
3986 PyObject * _argo0 = 0;
3987 char *_kwnames[] = { "self","w","h", NULL };
3988
3989 self = self;
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
3991 return NULL;
3992 if (_argo0) {
3993 if (_argo0 == Py_None) { _arg0 = NULL; }
3994 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
3995 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnBeginSize. Expected _wxPyBitmapShape_p.");
3996 return NULL;
3997 }
3998 }
3999 {
4000 wxPy_BEGIN_ALLOW_THREADS;
4001 wxPyBitmapShape_base_OnBeginSize(_arg0,_arg1,_arg2);
4002
4003 wxPy_END_ALLOW_THREADS;
4004 } Py_INCREF(Py_None);
4005 _resultobj = Py_None;
4006 return _resultobj;
4007 }
4008
4009 #define wxPyBitmapShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
4010 static PyObject *_wrap_wxPyBitmapShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject * _resultobj;
4012 wxPyBitmapShape * _arg0;
4013 double _arg1;
4014 double _arg2;
4015 PyObject * _argo0 = 0;
4016 char *_kwnames[] = { "self","w","h", NULL };
4017
4018 self = self;
4019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyBitmapShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
4020 return NULL;
4021 if (_argo0) {
4022 if (_argo0 == Py_None) { _arg0 = NULL; }
4023 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyBitmapShape_p")) {
4024 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyBitmapShape_base_OnEndSize. Expected _wxPyBitmapShape_p.");
4025 return NULL;
4026 }
4027 }
4028 {
4029 wxPy_BEGIN_ALLOW_THREADS;
4030 wxPyBitmapShape_base_OnEndSize(_arg0,_arg1,_arg2);
4031
4032 wxPy_END_ALLOW_THREADS;
4033 } Py_INCREF(Py_None);
4034 _resultobj = Py_None;
4035 return _resultobj;
4036 }
4037
4038 static void *SwigwxPyDrawnShapeTowxPyRectangleShape(void *ptr) {
4039 wxPyDrawnShape *src;
4040 wxPyRectangleShape *dest;
4041 src = (wxPyDrawnShape *) ptr;
4042 dest = (wxPyRectangleShape *) src;
4043 return (void *) dest;
4044 }
4045
4046 static void *SwigwxPyDrawnShapeTowxPyShape(void *ptr) {
4047 wxPyDrawnShape *src;
4048 wxPyShape *dest;
4049 src = (wxPyDrawnShape *) ptr;
4050 dest = (wxPyShape *) src;
4051 return (void *) dest;
4052 }
4053
4054 static void *SwigwxPyDrawnShapeTowxPyShapeEvtHandler(void *ptr) {
4055 wxPyDrawnShape *src;
4056 wxPyShapeEvtHandler *dest;
4057 src = (wxPyDrawnShape *) ptr;
4058 dest = (wxPyShapeEvtHandler *) src;
4059 return (void *) dest;
4060 }
4061
4062 #define new_wxPyDrawnShape() (new wxPyDrawnShape())
4063 static PyObject *_wrap_new_wxPyDrawnShape(PyObject *self, PyObject *args, PyObject *kwargs) {
4064 PyObject * _resultobj;
4065 wxPyDrawnShape * _result;
4066 char *_kwnames[] = { NULL };
4067 char _ptemp[128];
4068
4069 self = self;
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDrawnShape",_kwnames))
4071 return NULL;
4072 {
4073 wxPy_BEGIN_ALLOW_THREADS;
4074 _result = (wxPyDrawnShape *)new_wxPyDrawnShape();
4075
4076 wxPy_END_ALLOW_THREADS;
4077 } if (_result) {
4078 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDrawnShape_p");
4079 _resultobj = Py_BuildValue("s",_ptemp);
4080 } else {
4081 Py_INCREF(Py_None);
4082 _resultobj = Py_None;
4083 }
4084 return _resultobj;
4085 }
4086
4087 #define wxPyDrawnShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
4088 static PyObject *_wrap_wxPyDrawnShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
4089 PyObject * _resultobj;
4090 wxPyDrawnShape * _arg0;
4091 PyObject * _arg1;
4092 PyObject * _argo0 = 0;
4093 PyObject * _obj1 = 0;
4094 char *_kwnames[] = { "self","self", NULL };
4095
4096 self = self;
4097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape__setSelf",_kwnames,&_argo0,&_obj1))
4098 return NULL;
4099 if (_argo0) {
4100 if (_argo0 == Py_None) { _arg0 = NULL; }
4101 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4102 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape__setSelf. Expected _wxPyDrawnShape_p.");
4103 return NULL;
4104 }
4105 }
4106 {
4107 _arg1 = _obj1;
4108 }
4109 {
4110 wxPy_BEGIN_ALLOW_THREADS;
4111 wxPyDrawnShape__setSelf(_arg0,_arg1);
4112
4113 wxPy_END_ALLOW_THREADS;
4114 } Py_INCREF(Py_None);
4115 _resultobj = Py_None;
4116 return _resultobj;
4117 }
4118
4119 #define wxPyDrawnShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
4120 static PyObject *_wrap_wxPyDrawnShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
4121 PyObject * _resultobj;
4122 wxPyDrawnShape * _arg0;
4123 PyObject * _argo0 = 0;
4124 char *_kwnames[] = { "self", NULL };
4125
4126 self = self;
4127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_CalculateSize",_kwnames,&_argo0))
4128 return NULL;
4129 if (_argo0) {
4130 if (_argo0 == Py_None) { _arg0 = NULL; }
4131 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4132 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_CalculateSize. Expected _wxPyDrawnShape_p.");
4133 return NULL;
4134 }
4135 }
4136 {
4137 wxPy_BEGIN_ALLOW_THREADS;
4138 wxPyDrawnShape_CalculateSize(_arg0);
4139
4140 wxPy_END_ALLOW_THREADS;
4141 } Py_INCREF(Py_None);
4142 _resultobj = Py_None;
4143 return _resultobj;
4144 }
4145
4146 #define wxPyDrawnShape_DestroyClippingRect(_swigobj) (_swigobj->DestroyClippingRect())
4147 static PyObject *_wrap_wxPyDrawnShape_DestroyClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4148 PyObject * _resultobj;
4149 wxPyDrawnShape * _arg0;
4150 PyObject * _argo0 = 0;
4151 char *_kwnames[] = { "self", NULL };
4152
4153 self = self;
4154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_DestroyClippingRect",_kwnames,&_argo0))
4155 return NULL;
4156 if (_argo0) {
4157 if (_argo0 == Py_None) { _arg0 = NULL; }
4158 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4159 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DestroyClippingRect. Expected _wxPyDrawnShape_p.");
4160 return NULL;
4161 }
4162 }
4163 {
4164 wxPy_BEGIN_ALLOW_THREADS;
4165 wxPyDrawnShape_DestroyClippingRect(_arg0);
4166
4167 wxPy_END_ALLOW_THREADS;
4168 } Py_INCREF(Py_None);
4169 _resultobj = Py_None;
4170 return _resultobj;
4171 }
4172
4173 #define wxPyDrawnShape_DrawArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawArc(_swigarg0,_swigarg1,_swigarg2))
4174 static PyObject *_wrap_wxPyDrawnShape_DrawArc(PyObject *self, PyObject *args, PyObject *kwargs) {
4175 PyObject * _resultobj;
4176 wxPyDrawnShape * _arg0;
4177 wxPoint * _arg1;
4178 wxPoint * _arg2;
4179 wxPoint * _arg3;
4180 PyObject * _argo0 = 0;
4181 PyObject * _argo1 = 0;
4182 PyObject * _argo2 = 0;
4183 PyObject * _argo3 = 0;
4184 char *_kwnames[] = { "self","centrePoint","startPoint","endPoint", NULL };
4185
4186 self = self;
4187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOOO:wxPyDrawnShape_DrawArc",_kwnames,&_argo0,&_argo1,&_argo2,&_argo3))
4188 return NULL;
4189 if (_argo0) {
4190 if (_argo0 == Py_None) { _arg0 = NULL; }
4191 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4192 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawArc. Expected _wxPyDrawnShape_p.");
4193 return NULL;
4194 }
4195 }
4196 if (_argo1) {
4197 if (_argo1 == Py_None) { _arg1 = NULL; }
4198 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
4199 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_DrawArc. Expected _wxPoint_p.");
4200 return NULL;
4201 }
4202 }
4203 if (_argo2) {
4204 if (_argo2 == Py_None) { _arg2 = NULL; }
4205 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
4206 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyDrawnShape_DrawArc. Expected _wxPoint_p.");
4207 return NULL;
4208 }
4209 }
4210 if (_argo3) {
4211 if (_argo3 == Py_None) { _arg3 = NULL; }
4212 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPoint_p")) {
4213 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyDrawnShape_DrawArc. Expected _wxPoint_p.");
4214 return NULL;
4215 }
4216 }
4217 {
4218 wxPy_BEGIN_ALLOW_THREADS;
4219 wxPyDrawnShape_DrawArc(_arg0,*_arg1,*_arg2,*_arg3);
4220
4221 wxPy_END_ALLOW_THREADS;
4222 } Py_INCREF(Py_None);
4223 _resultobj = Py_None;
4224 return _resultobj;
4225 }
4226
4227 #define wxPyDrawnShape_DrawAtAngle(_swigobj,_swigarg0) (_swigobj->DrawAtAngle(_swigarg0))
4228 static PyObject *_wrap_wxPyDrawnShape_DrawAtAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4229 PyObject * _resultobj;
4230 wxPyDrawnShape * _arg0;
4231 int _arg1;
4232 PyObject * _argo0 = 0;
4233 char *_kwnames[] = { "self","angle", NULL };
4234
4235 self = self;
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_DrawAtAngle",_kwnames,&_argo0,&_arg1))
4237 return NULL;
4238 if (_argo0) {
4239 if (_argo0 == Py_None) { _arg0 = NULL; }
4240 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4241 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawAtAngle. Expected _wxPyDrawnShape_p.");
4242 return NULL;
4243 }
4244 }
4245 {
4246 wxPy_BEGIN_ALLOW_THREADS;
4247 wxPyDrawnShape_DrawAtAngle(_arg0,_arg1);
4248
4249 wxPy_END_ALLOW_THREADS;
4250 } Py_INCREF(Py_None);
4251 _resultobj = Py_None;
4252 return _resultobj;
4253 }
4254
4255 #define wxPyDrawnShape_DrawEllipticArc(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawEllipticArc(_swigarg0,_swigarg1,_swigarg2))
4256 static PyObject *_wrap_wxPyDrawnShape_DrawEllipticArc(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject * _resultobj;
4258 wxPyDrawnShape * _arg0;
4259 wxRect * _arg1;
4260 double _arg2;
4261 double _arg3;
4262 PyObject * _argo0 = 0;
4263 PyObject * _argo1 = 0;
4264 char *_kwnames[] = { "self","rect","startAngle","endAngle", NULL };
4265
4266 self = self;
4267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd:wxPyDrawnShape_DrawEllipticArc",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3))
4268 return NULL;
4269 if (_argo0) {
4270 if (_argo0 == Py_None) { _arg0 = NULL; }
4271 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4272 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawEllipticArc. Expected _wxPyDrawnShape_p.");
4273 return NULL;
4274 }
4275 }
4276 if (_argo1) {
4277 if (_argo1 == Py_None) { _arg1 = NULL; }
4278 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
4279 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_DrawEllipticArc. Expected _wxRect_p.");
4280 return NULL;
4281 }
4282 }
4283 {
4284 wxPy_BEGIN_ALLOW_THREADS;
4285 wxPyDrawnShape_DrawEllipticArc(_arg0,*_arg1,_arg2,_arg3);
4286
4287 wxPy_END_ALLOW_THREADS;
4288 } Py_INCREF(Py_None);
4289 _resultobj = Py_None;
4290 return _resultobj;
4291 }
4292
4293 #define wxPyDrawnShape_DrawLine(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLine(_swigarg0,_swigarg1))
4294 static PyObject *_wrap_wxPyDrawnShape_DrawLine(PyObject *self, PyObject *args, PyObject *kwargs) {
4295 PyObject * _resultobj;
4296 wxPyDrawnShape * _arg0;
4297 wxPoint * _arg1;
4298 wxPoint * _arg2;
4299 PyObject * _argo0 = 0;
4300 PyObject * _argo1 = 0;
4301 PyObject * _argo2 = 0;
4302 char *_kwnames[] = { "self","point1","point2", NULL };
4303
4304 self = self;
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawLine",_kwnames,&_argo0,&_argo1,&_argo2))
4306 return NULL;
4307 if (_argo0) {
4308 if (_argo0 == Py_None) { _arg0 = NULL; }
4309 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4310 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLine. Expected _wxPyDrawnShape_p.");
4311 return NULL;
4312 }
4313 }
4314 if (_argo1) {
4315 if (_argo1 == Py_None) { _arg1 = NULL; }
4316 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
4317 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_DrawLine. Expected _wxPoint_p.");
4318 return NULL;
4319 }
4320 }
4321 if (_argo2) {
4322 if (_argo2 == Py_None) { _arg2 = NULL; }
4323 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
4324 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyDrawnShape_DrawLine. Expected _wxPoint_p.");
4325 return NULL;
4326 }
4327 }
4328 {
4329 wxPy_BEGIN_ALLOW_THREADS;
4330 wxPyDrawnShape_DrawLine(_arg0,*_arg1,*_arg2);
4331
4332 wxPy_END_ALLOW_THREADS;
4333 } Py_INCREF(Py_None);
4334 _resultobj = Py_None;
4335 return _resultobj;
4336 }
4337
4338 #define wxPyDrawnShape_DrawLines(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawLines(_swigarg0,_swigarg1))
4339 static PyObject *_wrap_wxPyDrawnShape_DrawLines(PyObject *self, PyObject *args, PyObject *kwargs) {
4340 PyObject * _resultobj;
4341 wxPyDrawnShape * _arg0;
4342 int _arg1;
4343 wxPoint * _arg2;
4344 PyObject * _argo0 = 0;
4345 PyObject * _obj2 = 0;
4346 char *_kwnames[] = { "self","LIST", NULL };
4347
4348 self = self;
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawLines",_kwnames,&_argo0,&_obj2))
4350 return NULL;
4351 if (_argo0) {
4352 if (_argo0 == Py_None) { _arg0 = NULL; }
4353 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4354 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawLines. Expected _wxPyDrawnShape_p.");
4355 return NULL;
4356 }
4357 }
4358 if (_obj2)
4359 {
4360 _arg2 = wxPoint_LIST_helper(_obj2);
4361 if (_arg2 == NULL) {
4362 return NULL;
4363 }
4364 }
4365 {
4366 if (_obj2) {
4367 _arg1 = PyList_Size(_obj2);
4368 }
4369 else {
4370 _arg1 = 0;
4371 }
4372 }
4373 {
4374 wxPy_BEGIN_ALLOW_THREADS;
4375 wxPyDrawnShape_DrawLines(_arg0,_arg1,_arg2);
4376
4377 wxPy_END_ALLOW_THREADS;
4378 } Py_INCREF(Py_None);
4379 _resultobj = Py_None;
4380 {
4381 delete [] _arg2;
4382 }
4383 return _resultobj;
4384 }
4385
4386 #define wxPyDrawnShape_DrawPoint(_swigobj,_swigarg0) (_swigobj->DrawPoint(_swigarg0))
4387 static PyObject *_wrap_wxPyDrawnShape_DrawPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4388 PyObject * _resultobj;
4389 wxPyDrawnShape * _arg0;
4390 wxPoint * _arg1;
4391 PyObject * _argo0 = 0;
4392 PyObject * _argo1 = 0;
4393 char *_kwnames[] = { "self","point", NULL };
4394
4395 self = self;
4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawPoint",_kwnames,&_argo0,&_argo1))
4397 return NULL;
4398 if (_argo0) {
4399 if (_argo0 == Py_None) { _arg0 = NULL; }
4400 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4401 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPoint. Expected _wxPyDrawnShape_p.");
4402 return NULL;
4403 }
4404 }
4405 if (_argo1) {
4406 if (_argo1 == Py_None) { _arg1 = NULL; }
4407 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPoint_p")) {
4408 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_DrawPoint. Expected _wxPoint_p.");
4409 return NULL;
4410 }
4411 }
4412 {
4413 wxPy_BEGIN_ALLOW_THREADS;
4414 wxPyDrawnShape_DrawPoint(_arg0,*_arg1);
4415
4416 wxPy_END_ALLOW_THREADS;
4417 } Py_INCREF(Py_None);
4418 _resultobj = Py_None;
4419 return _resultobj;
4420 }
4421
4422 #define wxPyDrawnShape_DrawPolygon(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->DrawPolygon(_swigarg0,_swigarg1,_swigarg2))
4423 static PyObject *_wrap_wxPyDrawnShape_DrawPolygon(PyObject *self, PyObject *args, PyObject *kwargs) {
4424 PyObject * _resultobj;
4425 wxPyDrawnShape * _arg0;
4426 int _arg1;
4427 wxPoint * _arg2;
4428 int _arg3 = (int ) 0;
4429 PyObject * _argo0 = 0;
4430 PyObject * _obj2 = 0;
4431 char *_kwnames[] = { "self","LIST","flags", NULL };
4432
4433 self = self;
4434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_DrawPolygon",_kwnames,&_argo0,&_obj2,&_arg3))
4435 return NULL;
4436 if (_argo0) {
4437 if (_argo0 == Py_None) { _arg0 = NULL; }
4438 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4439 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawPolygon. Expected _wxPyDrawnShape_p.");
4440 return NULL;
4441 }
4442 }
4443 if (_obj2)
4444 {
4445 _arg2 = wxPoint_LIST_helper(_obj2);
4446 if (_arg2 == NULL) {
4447 return NULL;
4448 }
4449 }
4450 {
4451 if (_obj2) {
4452 _arg1 = PyList_Size(_obj2);
4453 }
4454 else {
4455 _arg1 = 0;
4456 }
4457 }
4458 {
4459 wxPy_BEGIN_ALLOW_THREADS;
4460 wxPyDrawnShape_DrawPolygon(_arg0,_arg1,_arg2,_arg3);
4461
4462 wxPy_END_ALLOW_THREADS;
4463 } Py_INCREF(Py_None);
4464 _resultobj = Py_None;
4465 {
4466 delete [] _arg2;
4467 }
4468 return _resultobj;
4469 }
4470
4471 #define wxPyDrawnShape_DrawRectangle(_swigobj,_swigarg0) (_swigobj->DrawRectangle(_swigarg0))
4472 static PyObject *_wrap_wxPyDrawnShape_DrawRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject * _resultobj;
4474 wxPyDrawnShape * _arg0;
4475 wxRect * _arg1;
4476 PyObject * _argo0 = 0;
4477 PyObject * _argo1 = 0;
4478 char *_kwnames[] = { "self","rect", NULL };
4479
4480 self = self;
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawRectangle",_kwnames,&_argo0,&_argo1))
4482 return NULL;
4483 if (_argo0) {
4484 if (_argo0 == Py_None) { _arg0 = NULL; }
4485 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4486 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRectangle. Expected _wxPyDrawnShape_p.");
4487 return NULL;
4488 }
4489 }
4490 if (_argo1) {
4491 if (_argo1 == Py_None) { _arg1 = NULL; }
4492 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
4493 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_DrawRectangle. Expected _wxRect_p.");
4494 return NULL;
4495 }
4496 }
4497 {
4498 wxPy_BEGIN_ALLOW_THREADS;
4499 wxPyDrawnShape_DrawRectangle(_arg0,*_arg1);
4500
4501 wxPy_END_ALLOW_THREADS;
4502 } Py_INCREF(Py_None);
4503 _resultobj = Py_None;
4504 return _resultobj;
4505 }
4506
4507 #define wxPyDrawnShape_DrawRoundedRectangle(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawRoundedRectangle(_swigarg0,_swigarg1))
4508 static PyObject *_wrap_wxPyDrawnShape_DrawRoundedRectangle(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject * _resultobj;
4510 wxPyDrawnShape * _arg0;
4511 wxRect * _arg1;
4512 double _arg2;
4513 PyObject * _argo0 = 0;
4514 PyObject * _argo1 = 0;
4515 char *_kwnames[] = { "self","rect","radius", NULL };
4516
4517 self = self;
4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOd:wxPyDrawnShape_DrawRoundedRectangle",_kwnames,&_argo0,&_argo1,&_arg2))
4519 return NULL;
4520 if (_argo0) {
4521 if (_argo0 == Py_None) { _arg0 = NULL; }
4522 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4523 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxPyDrawnShape_p.");
4524 return NULL;
4525 }
4526 }
4527 if (_argo1) {
4528 if (_argo1 == Py_None) { _arg1 = NULL; }
4529 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
4530 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_DrawRoundedRectangle. Expected _wxRect_p.");
4531 return NULL;
4532 }
4533 }
4534 {
4535 wxPy_BEGIN_ALLOW_THREADS;
4536 wxPyDrawnShape_DrawRoundedRectangle(_arg0,*_arg1,_arg2);
4537
4538 wxPy_END_ALLOW_THREADS;
4539 } Py_INCREF(Py_None);
4540 _resultobj = Py_None;
4541 return _resultobj;
4542 }
4543
4544 #define wxPyDrawnShape_DrawSpline(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawSpline(_swigarg0,_swigarg1))
4545 static PyObject *_wrap_wxPyDrawnShape_DrawSpline(PyObject *self, PyObject *args, PyObject *kwargs) {
4546 PyObject * _resultobj;
4547 wxPyDrawnShape * _arg0;
4548 int _arg1;
4549 wxPoint * _arg2;
4550 PyObject * _argo0 = 0;
4551 PyObject * _obj2 = 0;
4552 char *_kwnames[] = { "self","LIST", NULL };
4553
4554 self = self;
4555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_DrawSpline",_kwnames,&_argo0,&_obj2))
4556 return NULL;
4557 if (_argo0) {
4558 if (_argo0 == Py_None) { _arg0 = NULL; }
4559 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4560 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawSpline. Expected _wxPyDrawnShape_p.");
4561 return NULL;
4562 }
4563 }
4564 if (_obj2)
4565 {
4566 _arg2 = wxPoint_LIST_helper(_obj2);
4567 if (_arg2 == NULL) {
4568 return NULL;
4569 }
4570 }
4571 {
4572 if (_obj2) {
4573 _arg1 = PyList_Size(_obj2);
4574 }
4575 else {
4576 _arg1 = 0;
4577 }
4578 }
4579 {
4580 wxPy_BEGIN_ALLOW_THREADS;
4581 wxPyDrawnShape_DrawSpline(_arg0,_arg1,_arg2);
4582
4583 wxPy_END_ALLOW_THREADS;
4584 } Py_INCREF(Py_None);
4585 _resultobj = Py_None;
4586 {
4587 delete [] _arg2;
4588 }
4589 return _resultobj;
4590 }
4591
4592 #define wxPyDrawnShape_DrawText(_swigobj,_swigarg0,_swigarg1) (_swigobj->DrawText(_swigarg0,_swigarg1))
4593 static PyObject *_wrap_wxPyDrawnShape_DrawText(PyObject *self, PyObject *args, PyObject *kwargs) {
4594 PyObject * _resultobj;
4595 wxPyDrawnShape * _arg0;
4596 wxString * _arg1;
4597 wxPoint * _arg2;
4598 PyObject * _argo0 = 0;
4599 PyObject * _obj1 = 0;
4600 PyObject * _argo2 = 0;
4601 char *_kwnames[] = { "self","text","point", NULL };
4602
4603 self = self;
4604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOO:wxPyDrawnShape_DrawText",_kwnames,&_argo0,&_obj1,&_argo2))
4605 return NULL;
4606 if (_argo0) {
4607 if (_argo0 == Py_None) { _arg0 = NULL; }
4608 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4609 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_DrawText. Expected _wxPyDrawnShape_p.");
4610 return NULL;
4611 }
4612 }
4613 {
4614 if (!PyString_Check(_obj1)) {
4615 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
4616 return NULL;
4617 }
4618 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
4619 }
4620 if (_argo2) {
4621 if (_argo2 == Py_None) { _arg2 = NULL; }
4622 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPoint_p")) {
4623 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyDrawnShape_DrawText. Expected _wxPoint_p.");
4624 return NULL;
4625 }
4626 }
4627 {
4628 wxPy_BEGIN_ALLOW_THREADS;
4629 wxPyDrawnShape_DrawText(_arg0,*_arg1,*_arg2);
4630
4631 wxPy_END_ALLOW_THREADS;
4632 } Py_INCREF(Py_None);
4633 _resultobj = Py_None;
4634 {
4635 if (_obj1)
4636 delete _arg1;
4637 }
4638 return _resultobj;
4639 }
4640
4641 #define wxPyDrawnShape_GetAngle(_swigobj) (_swigobj->GetAngle())
4642 static PyObject *_wrap_wxPyDrawnShape_GetAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4643 PyObject * _resultobj;
4644 int _result;
4645 wxPyDrawnShape * _arg0;
4646 PyObject * _argo0 = 0;
4647 char *_kwnames[] = { "self", NULL };
4648
4649 self = self;
4650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetAngle",_kwnames,&_argo0))
4651 return NULL;
4652 if (_argo0) {
4653 if (_argo0 == Py_None) { _arg0 = NULL; }
4654 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4655 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetAngle. Expected _wxPyDrawnShape_p.");
4656 return NULL;
4657 }
4658 }
4659 {
4660 wxPy_BEGIN_ALLOW_THREADS;
4661 _result = (int )wxPyDrawnShape_GetAngle(_arg0);
4662
4663 wxPy_END_ALLOW_THREADS;
4664 } _resultobj = Py_BuildValue("i",_result);
4665 return _resultobj;
4666 }
4667
4668 #define wxPyDrawnShape_GetMetaFile(_swigobj) (_swigobj->GetMetaFile())
4669 static PyObject *_wrap_wxPyDrawnShape_GetMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject * _resultobj;
4671 wxPseudoMetaFile * _result;
4672 wxPyDrawnShape * _arg0;
4673 PyObject * _argo0 = 0;
4674 char *_kwnames[] = { "self", NULL };
4675 char _ptemp[128];
4676
4677 self = self;
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetMetaFile",_kwnames,&_argo0))
4679 return NULL;
4680 if (_argo0) {
4681 if (_argo0 == Py_None) { _arg0 = NULL; }
4682 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4683 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetMetaFile. Expected _wxPyDrawnShape_p.");
4684 return NULL;
4685 }
4686 }
4687 {
4688 wxPy_BEGIN_ALLOW_THREADS;
4689 wxPseudoMetaFile & _result_ref = wxPyDrawnShape_GetMetaFile(_arg0);
4690 _result = (wxPseudoMetaFile *) &_result_ref;
4691
4692 wxPy_END_ALLOW_THREADS;
4693 } if (_result) {
4694 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPseudoMetaFile_p");
4695 _resultobj = Py_BuildValue("s",_ptemp);
4696 } else {
4697 Py_INCREF(Py_None);
4698 _resultobj = Py_None;
4699 }
4700 return _resultobj;
4701 }
4702
4703 #define wxPyDrawnShape_GetRotation(_swigobj) (_swigobj->GetRotation())
4704 static PyObject *_wrap_wxPyDrawnShape_GetRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
4705 PyObject * _resultobj;
4706 double _result;
4707 wxPyDrawnShape * _arg0;
4708 PyObject * _argo0 = 0;
4709 char *_kwnames[] = { "self", NULL };
4710
4711 self = self;
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_GetRotation",_kwnames,&_argo0))
4713 return NULL;
4714 if (_argo0) {
4715 if (_argo0 == Py_None) { _arg0 = NULL; }
4716 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4717 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_GetRotation. Expected _wxPyDrawnShape_p.");
4718 return NULL;
4719 }
4720 }
4721 {
4722 wxPy_BEGIN_ALLOW_THREADS;
4723 _result = (double )wxPyDrawnShape_GetRotation(_arg0);
4724
4725 wxPy_END_ALLOW_THREADS;
4726 } _resultobj = Py_BuildValue("d",_result);
4727 return _resultobj;
4728 }
4729
4730 #define wxPyDrawnShape_LoadFromMetaFile(_swigobj,_swigarg0) (_swigobj->LoadFromMetaFile(_swigarg0))
4731 static PyObject *_wrap_wxPyDrawnShape_LoadFromMetaFile(PyObject *self, PyObject *args, PyObject *kwargs) {
4732 PyObject * _resultobj;
4733 bool _result;
4734 wxPyDrawnShape * _arg0;
4735 char * _arg1;
4736 PyObject * _argo0 = 0;
4737 char *_kwnames[] = { "self","filename", NULL };
4738
4739 self = self;
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Os:wxPyDrawnShape_LoadFromMetaFile",_kwnames,&_argo0,&_arg1))
4741 return NULL;
4742 if (_argo0) {
4743 if (_argo0 == Py_None) { _arg0 = NULL; }
4744 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4745 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_LoadFromMetaFile. Expected _wxPyDrawnShape_p.");
4746 return NULL;
4747 }
4748 }
4749 {
4750 wxPy_BEGIN_ALLOW_THREADS;
4751 _result = (bool )wxPyDrawnShape_LoadFromMetaFile(_arg0,_arg1);
4752
4753 wxPy_END_ALLOW_THREADS;
4754 } _resultobj = Py_BuildValue("i",_result);
4755 return _resultobj;
4756 }
4757
4758 #define wxPyDrawnShape_Rotate(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->Rotate(_swigarg0,_swigarg1,_swigarg2))
4759 static PyObject *_wrap_wxPyDrawnShape_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
4760 PyObject * _resultobj;
4761 wxPyDrawnShape * _arg0;
4762 double _arg1;
4763 double _arg2;
4764 double _arg3;
4765 PyObject * _argo0 = 0;
4766 char *_kwnames[] = { "self","x","y","theta", NULL };
4767
4768 self = self;
4769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oddd:wxPyDrawnShape_Rotate",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3))
4770 return NULL;
4771 if (_argo0) {
4772 if (_argo0 == Py_None) { _arg0 = NULL; }
4773 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4774 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Rotate. Expected _wxPyDrawnShape_p.");
4775 return NULL;
4776 }
4777 }
4778 {
4779 wxPy_BEGIN_ALLOW_THREADS;
4780 wxPyDrawnShape_Rotate(_arg0,_arg1,_arg2,_arg3);
4781
4782 wxPy_END_ALLOW_THREADS;
4783 } Py_INCREF(Py_None);
4784 _resultobj = Py_None;
4785 return _resultobj;
4786 }
4787
4788 #define wxPyDrawnShape_SetClippingRect(_swigobj,_swigarg0) (_swigobj->SetClippingRect(_swigarg0))
4789 static PyObject *_wrap_wxPyDrawnShape_SetClippingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject * _resultobj;
4791 wxPyDrawnShape * _arg0;
4792 wxRect * _arg1;
4793 PyObject * _argo0 = 0;
4794 PyObject * _argo1 = 0;
4795 char *_kwnames[] = { "self","rect", NULL };
4796
4797 self = self;
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetClippingRect",_kwnames,&_argo0,&_argo1))
4799 return NULL;
4800 if (_argo0) {
4801 if (_argo0 == Py_None) { _arg0 = NULL; }
4802 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4803 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetClippingRect. Expected _wxPyDrawnShape_p.");
4804 return NULL;
4805 }
4806 }
4807 if (_argo1) {
4808 if (_argo1 == Py_None) { _arg1 = NULL; }
4809 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxRect_p")) {
4810 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetClippingRect. Expected _wxRect_p.");
4811 return NULL;
4812 }
4813 }
4814 {
4815 wxPy_BEGIN_ALLOW_THREADS;
4816 wxPyDrawnShape_SetClippingRect(_arg0,*_arg1);
4817
4818 wxPy_END_ALLOW_THREADS;
4819 } Py_INCREF(Py_None);
4820 _resultobj = Py_None;
4821 return _resultobj;
4822 }
4823
4824 #define wxPyDrawnShape_SetDrawnBackgroundColour(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundColour(_swigarg0))
4825 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
4826 PyObject * _resultobj;
4827 wxPyDrawnShape * _arg0;
4828 wxColour * _arg1;
4829 PyObject * _argo0 = 0;
4830 PyObject * _argo1 = 0;
4831 char *_kwnames[] = { "self","colour", NULL };
4832
4833 self = self;
4834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnBackgroundColour",_kwnames,&_argo0,&_argo1))
4835 return NULL;
4836 if (_argo0) {
4837 if (_argo0 == Py_None) { _arg0 = NULL; }
4838 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4839 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxPyDrawnShape_p.");
4840 return NULL;
4841 }
4842 }
4843 if (_argo1) {
4844 if (_argo1 == Py_None) { _arg1 = NULL; }
4845 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
4846 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnBackgroundColour. Expected _wxColour_p.");
4847 return NULL;
4848 }
4849 }
4850 {
4851 wxPy_BEGIN_ALLOW_THREADS;
4852 wxPyDrawnShape_SetDrawnBackgroundColour(_arg0,*_arg1);
4853
4854 wxPy_END_ALLOW_THREADS;
4855 } Py_INCREF(Py_None);
4856 _resultobj = Py_None;
4857 return _resultobj;
4858 }
4859
4860 #define wxPyDrawnShape_SetDrawnBackgroundMode(_swigobj,_swigarg0) (_swigobj->SetDrawnBackgroundMode(_swigarg0))
4861 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBackgroundMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject * _resultobj;
4863 wxPyDrawnShape * _arg0;
4864 int _arg1;
4865 PyObject * _argo0 = 0;
4866 char *_kwnames[] = { "self","mode", NULL };
4867
4868 self = self;
4869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetDrawnBackgroundMode",_kwnames,&_argo0,&_arg1))
4870 return NULL;
4871 if (_argo0) {
4872 if (_argo0 == Py_None) { _arg0 = NULL; }
4873 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4874 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBackgroundMode. Expected _wxPyDrawnShape_p.");
4875 return NULL;
4876 }
4877 }
4878 {
4879 wxPy_BEGIN_ALLOW_THREADS;
4880 wxPyDrawnShape_SetDrawnBackgroundMode(_arg0,_arg1);
4881
4882 wxPy_END_ALLOW_THREADS;
4883 } Py_INCREF(Py_None);
4884 _resultobj = Py_None;
4885 return _resultobj;
4886 }
4887
4888 #define wxPyDrawnShape_SetDrawnBrush(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnBrush(_swigarg0,_swigarg1))
4889 static PyObject *_wrap_wxPyDrawnShape_SetDrawnBrush(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject * _resultobj;
4891 wxPyDrawnShape * _arg0;
4892 wxBrush * _arg1;
4893 bool _arg2 = (bool ) FALSE;
4894 PyObject * _argo0 = 0;
4895 PyObject * _argo1 = 0;
4896 int tempbool2 = (int) FALSE;
4897 char *_kwnames[] = { "self","pen","isOutline", NULL };
4898
4899 self = self;
4900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnBrush",_kwnames,&_argo0,&_argo1,&tempbool2))
4901 return NULL;
4902 if (_argo0) {
4903 if (_argo0 == Py_None) { _arg0 = NULL; }
4904 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4905 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnBrush. Expected _wxPyDrawnShape_p.");
4906 return NULL;
4907 }
4908 }
4909 if (_argo1) {
4910 if (_argo1 == Py_None) { _arg1 = NULL; }
4911 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxBrush_p")) {
4912 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnBrush. Expected _wxBrush_p.");
4913 return NULL;
4914 }
4915 }
4916 _arg2 = (bool ) tempbool2;
4917 {
4918 wxPy_BEGIN_ALLOW_THREADS;
4919 wxPyDrawnShape_SetDrawnBrush(_arg0,_arg1,_arg2);
4920
4921 wxPy_END_ALLOW_THREADS;
4922 } Py_INCREF(Py_None);
4923 _resultobj = Py_None;
4924 return _resultobj;
4925 }
4926
4927 #define wxPyDrawnShape_SetDrawnFont(_swigobj,_swigarg0) (_swigobj->SetDrawnFont(_swigarg0))
4928 static PyObject *_wrap_wxPyDrawnShape_SetDrawnFont(PyObject *self, PyObject *args, PyObject *kwargs) {
4929 PyObject * _resultobj;
4930 wxPyDrawnShape * _arg0;
4931 wxFont * _arg1;
4932 PyObject * _argo0 = 0;
4933 PyObject * _argo1 = 0;
4934 char *_kwnames[] = { "self","font", NULL };
4935
4936 self = self;
4937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnFont",_kwnames,&_argo0,&_argo1))
4938 return NULL;
4939 if (_argo0) {
4940 if (_argo0 == Py_None) { _arg0 = NULL; }
4941 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4942 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnFont. Expected _wxPyDrawnShape_p.");
4943 return NULL;
4944 }
4945 }
4946 if (_argo1) {
4947 if (_argo1 == Py_None) { _arg1 = NULL; }
4948 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxFont_p")) {
4949 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnFont. Expected _wxFont_p.");
4950 return NULL;
4951 }
4952 }
4953 {
4954 wxPy_BEGIN_ALLOW_THREADS;
4955 wxPyDrawnShape_SetDrawnFont(_arg0,_arg1);
4956
4957 wxPy_END_ALLOW_THREADS;
4958 } Py_INCREF(Py_None);
4959 _resultobj = Py_None;
4960 return _resultobj;
4961 }
4962
4963 #define wxPyDrawnShape_SetDrawnPen(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetDrawnPen(_swigarg0,_swigarg1))
4964 static PyObject *_wrap_wxPyDrawnShape_SetDrawnPen(PyObject *self, PyObject *args, PyObject *kwargs) {
4965 PyObject * _resultobj;
4966 wxPyDrawnShape * _arg0;
4967 wxPen * _arg1;
4968 bool _arg2 = (bool ) FALSE;
4969 PyObject * _argo0 = 0;
4970 PyObject * _argo1 = 0;
4971 int tempbool2 = (int) FALSE;
4972 char *_kwnames[] = { "self","pen","isOutline", NULL };
4973
4974 self = self;
4975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_SetDrawnPen",_kwnames,&_argo0,&_argo1,&tempbool2))
4976 return NULL;
4977 if (_argo0) {
4978 if (_argo0 == Py_None) { _arg0 = NULL; }
4979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
4980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnPen. Expected _wxPyDrawnShape_p.");
4981 return NULL;
4982 }
4983 }
4984 if (_argo1) {
4985 if (_argo1 == Py_None) { _arg1 = NULL; }
4986 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
4987 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnPen. Expected _wxPen_p.");
4988 return NULL;
4989 }
4990 }
4991 _arg2 = (bool ) tempbool2;
4992 {
4993 wxPy_BEGIN_ALLOW_THREADS;
4994 wxPyDrawnShape_SetDrawnPen(_arg0,_arg1,_arg2);
4995
4996 wxPy_END_ALLOW_THREADS;
4997 } Py_INCREF(Py_None);
4998 _resultobj = Py_None;
4999 return _resultobj;
5000 }
5001
5002 #define wxPyDrawnShape_SetDrawnTextColour(_swigobj,_swigarg0) (_swigobj->SetDrawnTextColour(_swigarg0))
5003 static PyObject *_wrap_wxPyDrawnShape_SetDrawnTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5004 PyObject * _resultobj;
5005 wxPyDrawnShape * _arg0;
5006 wxColour * _arg1;
5007 PyObject * _argo0 = 0;
5008 PyObject * _argo1 = 0;
5009 char *_kwnames[] = { "self","colour", NULL };
5010
5011 self = self;
5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_SetDrawnTextColour",_kwnames,&_argo0,&_argo1))
5013 return NULL;
5014 if (_argo0) {
5015 if (_argo0 == Py_None) { _arg0 = NULL; }
5016 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5017 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxPyDrawnShape_p.");
5018 return NULL;
5019 }
5020 }
5021 if (_argo1) {
5022 if (_argo1 == Py_None) { _arg1 = NULL; }
5023 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxColour_p")) {
5024 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_SetDrawnTextColour. Expected _wxColour_p.");
5025 return NULL;
5026 }
5027 }
5028 {
5029 wxPy_BEGIN_ALLOW_THREADS;
5030 wxPyDrawnShape_SetDrawnTextColour(_arg0,*_arg1);
5031
5032 wxPy_END_ALLOW_THREADS;
5033 } Py_INCREF(Py_None);
5034 _resultobj = Py_None;
5035 return _resultobj;
5036 }
5037
5038 #define wxPyDrawnShape_Scale(_swigobj,_swigarg0,_swigarg1) (_swigobj->Scale(_swigarg0,_swigarg1))
5039 static PyObject *_wrap_wxPyDrawnShape_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
5040 PyObject * _resultobj;
5041 wxPyDrawnShape * _arg0;
5042 double _arg1;
5043 double _arg2;
5044 PyObject * _argo0 = 0;
5045 char *_kwnames[] = { "self","sx","sy", NULL };
5046
5047 self = self;
5048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Scale",_kwnames,&_argo0,&_arg1,&_arg2))
5049 return NULL;
5050 if (_argo0) {
5051 if (_argo0 == Py_None) { _arg0 = NULL; }
5052 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5053 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Scale. Expected _wxPyDrawnShape_p.");
5054 return NULL;
5055 }
5056 }
5057 {
5058 wxPy_BEGIN_ALLOW_THREADS;
5059 wxPyDrawnShape_Scale(_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 wxPyDrawnShape_SetSaveToFile(_swigobj,_swigarg0) (_swigobj->SetSaveToFile(_swigarg0))
5068 static PyObject *_wrap_wxPyDrawnShape_SetSaveToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
5069 PyObject * _resultobj;
5070 wxPyDrawnShape * _arg0;
5071 bool _arg1;
5072 PyObject * _argo0 = 0;
5073 int tempbool1;
5074 char *_kwnames[] = { "self","save", NULL };
5075
5076 self = self;
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDrawnShape_SetSaveToFile",_kwnames,&_argo0,&tempbool1))
5078 return NULL;
5079 if (_argo0) {
5080 if (_argo0 == Py_None) { _arg0 = NULL; }
5081 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5082 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_SetSaveToFile. Expected _wxPyDrawnShape_p.");
5083 return NULL;
5084 }
5085 }
5086 _arg1 = (bool ) tempbool1;
5087 {
5088 wxPy_BEGIN_ALLOW_THREADS;
5089 wxPyDrawnShape_SetSaveToFile(_arg0,_arg1);
5090
5091 wxPy_END_ALLOW_THREADS;
5092 } Py_INCREF(Py_None);
5093 _resultobj = Py_None;
5094 return _resultobj;
5095 }
5096
5097 #define wxPyDrawnShape_Translate(_swigobj,_swigarg0,_swigarg1) (_swigobj->Translate(_swigarg0,_swigarg1))
5098 static PyObject *_wrap_wxPyDrawnShape_Translate(PyObject *self, PyObject *args, PyObject *kwargs) {
5099 PyObject * _resultobj;
5100 wxPyDrawnShape * _arg0;
5101 double _arg1;
5102 double _arg2;
5103 PyObject * _argo0 = 0;
5104 char *_kwnames[] = { "self","x","y", NULL };
5105
5106 self = self;
5107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_Translate",_kwnames,&_argo0,&_arg1,&_arg2))
5108 return NULL;
5109 if (_argo0) {
5110 if (_argo0 == Py_None) { _arg0 = NULL; }
5111 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5112 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_Translate. Expected _wxPyDrawnShape_p.");
5113 return NULL;
5114 }
5115 }
5116 {
5117 wxPy_BEGIN_ALLOW_THREADS;
5118 wxPyDrawnShape_Translate(_arg0,_arg1,_arg2);
5119
5120 wxPy_END_ALLOW_THREADS;
5121 } Py_INCREF(Py_None);
5122 _resultobj = Py_None;
5123 return _resultobj;
5124 }
5125
5126 #define wxPyDrawnShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
5127 static PyObject *_wrap_wxPyDrawnShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
5128 PyObject * _resultobj;
5129 wxPyDrawnShape * _arg0;
5130 PyObject * _argo0 = 0;
5131 char *_kwnames[] = { "self", NULL };
5132
5133 self = self;
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDrawnShape_base_OnDelete",_kwnames,&_argo0))
5135 return NULL;
5136 if (_argo0) {
5137 if (_argo0 == Py_None) { _arg0 = NULL; }
5138 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5139 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDelete. Expected _wxPyDrawnShape_p.");
5140 return NULL;
5141 }
5142 }
5143 {
5144 wxPy_BEGIN_ALLOW_THREADS;
5145 wxPyDrawnShape_base_OnDelete(_arg0);
5146
5147 wxPy_END_ALLOW_THREADS;
5148 } Py_INCREF(Py_None);
5149 _resultobj = Py_None;
5150 return _resultobj;
5151 }
5152
5153 #define wxPyDrawnShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
5154 static PyObject *_wrap_wxPyDrawnShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject * _resultobj;
5156 wxPyDrawnShape * _arg0;
5157 wxDC * _arg1;
5158 PyObject * _argo0 = 0;
5159 PyObject * _argo1 = 0;
5160 char *_kwnames[] = { "self","dc", NULL };
5161
5162 self = self;
5163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
5164 return NULL;
5165 if (_argo0) {
5166 if (_argo0 == Py_None) { _arg0 = NULL; }
5167 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5168 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDraw. Expected _wxPyDrawnShape_p.");
5169 return NULL;
5170 }
5171 }
5172 if (_argo1) {
5173 if (_argo1 == Py_None) { _arg1 = NULL; }
5174 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5175 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDraw. Expected _wxDC_p.");
5176 return NULL;
5177 }
5178 }
5179 {
5180 wxPy_BEGIN_ALLOW_THREADS;
5181 wxPyDrawnShape_base_OnDraw(_arg0,*_arg1);
5182
5183 wxPy_END_ALLOW_THREADS;
5184 } Py_INCREF(Py_None);
5185 _resultobj = Py_None;
5186 return _resultobj;
5187 }
5188
5189 #define wxPyDrawnShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
5190 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject * _resultobj;
5192 wxPyDrawnShape * _arg0;
5193 wxDC * _arg1;
5194 PyObject * _argo0 = 0;
5195 PyObject * _argo1 = 0;
5196 char *_kwnames[] = { "self","dc", NULL };
5197
5198 self = self;
5199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
5200 return NULL;
5201 if (_argo0) {
5202 if (_argo0 == Py_None) { _arg0 = NULL; }
5203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawContents. Expected _wxPyDrawnShape_p.");
5205 return NULL;
5206 }
5207 }
5208 if (_argo1) {
5209 if (_argo1 == Py_None) { _arg1 = NULL; }
5210 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5211 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawContents. Expected _wxDC_p.");
5212 return NULL;
5213 }
5214 }
5215 {
5216 wxPy_BEGIN_ALLOW_THREADS;
5217 wxPyDrawnShape_base_OnDrawContents(_arg0,*_arg1);
5218
5219 wxPy_END_ALLOW_THREADS;
5220 } Py_INCREF(Py_None);
5221 _resultobj = Py_None;
5222 return _resultobj;
5223 }
5224
5225 #define wxPyDrawnShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
5226 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject * _resultobj;
5228 wxPyDrawnShape * _arg0;
5229 wxDC * _arg1;
5230 bool _arg2 = (bool ) FALSE;
5231 PyObject * _argo0 = 0;
5232 PyObject * _argo1 = 0;
5233 int tempbool2 = (int) FALSE;
5234 char *_kwnames[] = { "self","dc","erase", NULL };
5235
5236 self = self;
5237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
5238 return NULL;
5239 if (_argo0) {
5240 if (_argo0 == Py_None) { _arg0 = NULL; }
5241 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5242 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxPyDrawnShape_p.");
5243 return NULL;
5244 }
5245 }
5246 if (_argo1) {
5247 if (_argo1 == Py_None) { _arg1 = NULL; }
5248 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5249 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawBranches. Expected _wxDC_p.");
5250 return NULL;
5251 }
5252 }
5253 _arg2 = (bool ) tempbool2;
5254 {
5255 wxPy_BEGIN_ALLOW_THREADS;
5256 wxPyDrawnShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
5257
5258 wxPy_END_ALLOW_THREADS;
5259 } Py_INCREF(Py_None);
5260 _resultobj = Py_None;
5261 return _resultobj;
5262 }
5263
5264 #define wxPyDrawnShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
5265 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
5266 PyObject * _resultobj;
5267 wxPyDrawnShape * _arg0;
5268 wxDC * _arg1;
5269 PyObject * _argo0 = 0;
5270 PyObject * _argo1 = 0;
5271 char *_kwnames[] = { "self","dc", NULL };
5272
5273 self = self;
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
5275 return NULL;
5276 if (_argo0) {
5277 if (_argo0 == Py_None) { _arg0 = NULL; }
5278 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5279 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxPyDrawnShape_p.");
5280 return NULL;
5281 }
5282 }
5283 if (_argo1) {
5284 if (_argo1 == Py_None) { _arg1 = NULL; }
5285 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5286 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLinks. Expected _wxDC_p.");
5287 return NULL;
5288 }
5289 }
5290 {
5291 wxPy_BEGIN_ALLOW_THREADS;
5292 wxPyDrawnShape_base_OnMoveLinks(_arg0,*_arg1);
5293
5294 wxPy_END_ALLOW_THREADS;
5295 } Py_INCREF(Py_None);
5296 _resultobj = Py_None;
5297 return _resultobj;
5298 }
5299
5300 #define wxPyDrawnShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
5301 static PyObject *_wrap_wxPyDrawnShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
5302 PyObject * _resultobj;
5303 wxPyDrawnShape * _arg0;
5304 wxDC * _arg1;
5305 PyObject * _argo0 = 0;
5306 PyObject * _argo1 = 0;
5307 char *_kwnames[] = { "self","dc", NULL };
5308
5309 self = self;
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnErase",_kwnames,&_argo0,&_argo1))
5311 return NULL;
5312 if (_argo0) {
5313 if (_argo0 == Py_None) { _arg0 = NULL; }
5314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnErase. Expected _wxPyDrawnShape_p.");
5316 return NULL;
5317 }
5318 }
5319 if (_argo1) {
5320 if (_argo1 == Py_None) { _arg1 = NULL; }
5321 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5322 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnErase. Expected _wxDC_p.");
5323 return NULL;
5324 }
5325 }
5326 {
5327 wxPy_BEGIN_ALLOW_THREADS;
5328 wxPyDrawnShape_base_OnErase(_arg0,*_arg1);
5329
5330 wxPy_END_ALLOW_THREADS;
5331 } Py_INCREF(Py_None);
5332 _resultobj = Py_None;
5333 return _resultobj;
5334 }
5335
5336 #define wxPyDrawnShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
5337 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
5338 PyObject * _resultobj;
5339 wxPyDrawnShape * _arg0;
5340 wxDC * _arg1;
5341 PyObject * _argo0 = 0;
5342 PyObject * _argo1 = 0;
5343 char *_kwnames[] = { "self","dc", NULL };
5344
5345 self = self;
5346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
5347 return NULL;
5348 if (_argo0) {
5349 if (_argo0 == Py_None) { _arg0 = NULL; }
5350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseContents. Expected _wxPyDrawnShape_p.");
5352 return NULL;
5353 }
5354 }
5355 if (_argo1) {
5356 if (_argo1 == Py_None) { _arg1 = NULL; }
5357 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5358 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseContents. Expected _wxDC_p.");
5359 return NULL;
5360 }
5361 }
5362 {
5363 wxPy_BEGIN_ALLOW_THREADS;
5364 wxPyDrawnShape_base_OnEraseContents(_arg0,*_arg1);
5365
5366 wxPy_END_ALLOW_THREADS;
5367 } Py_INCREF(Py_None);
5368 _resultobj = Py_None;
5369 return _resultobj;
5370 }
5371
5372 #define wxPyDrawnShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
5373 static PyObject *_wrap_wxPyDrawnShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject * _resultobj;
5375 wxPyDrawnShape * _arg0;
5376 wxDC * _arg1;
5377 PyObject * _argo0 = 0;
5378 PyObject * _argo1 = 0;
5379 char *_kwnames[] = { "self","dc", NULL };
5380
5381 self = self;
5382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
5383 return NULL;
5384 if (_argo0) {
5385 if (_argo0 == Py_None) { _arg0 = NULL; }
5386 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5387 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnHighlight. Expected _wxPyDrawnShape_p.");
5388 return NULL;
5389 }
5390 }
5391 if (_argo1) {
5392 if (_argo1 == Py_None) { _arg1 = NULL; }
5393 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5394 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnHighlight. Expected _wxDC_p.");
5395 return NULL;
5396 }
5397 }
5398 {
5399 wxPy_BEGIN_ALLOW_THREADS;
5400 wxPyDrawnShape_base_OnHighlight(_arg0,*_arg1);
5401
5402 wxPy_END_ALLOW_THREADS;
5403 } Py_INCREF(Py_None);
5404 _resultobj = Py_None;
5405 return _resultobj;
5406 }
5407
5408 #define wxPyDrawnShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5409 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
5410 PyObject * _resultobj;
5411 wxPyDrawnShape * _arg0;
5412 double _arg1;
5413 double _arg2;
5414 int _arg3 = (int ) 0;
5415 int _arg4 = (int ) 0;
5416 PyObject * _argo0 = 0;
5417 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5418
5419 self = self;
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5421 return NULL;
5422 if (_argo0) {
5423 if (_argo0 == Py_None) { _arg0 = NULL; }
5424 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5425 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftClick. Expected _wxPyDrawnShape_p.");
5426 return NULL;
5427 }
5428 }
5429 {
5430 wxPy_BEGIN_ALLOW_THREADS;
5431 wxPyDrawnShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
5432
5433 wxPy_END_ALLOW_THREADS;
5434 } Py_INCREF(Py_None);
5435 _resultobj = Py_None;
5436 return _resultobj;
5437 }
5438
5439 #define wxPyDrawnShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5440 static PyObject *_wrap_wxPyDrawnShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
5441 PyObject * _resultobj;
5442 wxPyDrawnShape * _arg0;
5443 double _arg1;
5444 double _arg2;
5445 int _arg3 = (int ) 0;
5446 int _arg4 = (int ) 0;
5447 PyObject * _argo0 = 0;
5448 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5449
5450 self = self;
5451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5452 return NULL;
5453 if (_argo0) {
5454 if (_argo0 == Py_None) { _arg0 = NULL; }
5455 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5456 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnLeftDoubleClick. Expected _wxPyDrawnShape_p.");
5457 return NULL;
5458 }
5459 }
5460 {
5461 wxPy_BEGIN_ALLOW_THREADS;
5462 wxPyDrawnShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
5463
5464 wxPy_END_ALLOW_THREADS;
5465 } Py_INCREF(Py_None);
5466 _resultobj = Py_None;
5467 return _resultobj;
5468 }
5469
5470 #define wxPyDrawnShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5471 static PyObject *_wrap_wxPyDrawnShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
5472 PyObject * _resultobj;
5473 wxPyDrawnShape * _arg0;
5474 double _arg1;
5475 double _arg2;
5476 int _arg3 = (int ) 0;
5477 int _arg4 = (int ) 0;
5478 PyObject * _argo0 = 0;
5479 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5480
5481 self = self;
5482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5483 return NULL;
5484 if (_argo0) {
5485 if (_argo0 == Py_None) { _arg0 = NULL; }
5486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnRightClick. Expected _wxPyDrawnShape_p.");
5488 return NULL;
5489 }
5490 }
5491 {
5492 wxPy_BEGIN_ALLOW_THREADS;
5493 wxPyDrawnShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
5494
5495 wxPy_END_ALLOW_THREADS;
5496 } Py_INCREF(Py_None);
5497 _resultobj = Py_None;
5498 return _resultobj;
5499 }
5500
5501 #define wxPyDrawnShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
5502 static PyObject *_wrap_wxPyDrawnShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5503 PyObject * _resultobj;
5504 wxPyDrawnShape * _arg0;
5505 double _arg1;
5506 double _arg2;
5507 PyObject * _argo0 = 0;
5508 char *_kwnames[] = { "self","x","y", NULL };
5509
5510 self = self;
5511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
5512 return NULL;
5513 if (_argo0) {
5514 if (_argo0 == Py_None) { _arg0 = NULL; }
5515 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5516 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSize. Expected _wxPyDrawnShape_p.");
5517 return NULL;
5518 }
5519 }
5520 {
5521 wxPy_BEGIN_ALLOW_THREADS;
5522 wxPyDrawnShape_base_OnSize(_arg0,_arg1,_arg2);
5523
5524 wxPy_END_ALLOW_THREADS;
5525 } Py_INCREF(Py_None);
5526 _resultobj = Py_None;
5527 return _resultobj;
5528 }
5529
5530 #define wxPyDrawnShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5531 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
5532 PyObject * _resultobj;
5533 bool _result;
5534 wxPyDrawnShape * _arg0;
5535 wxDC * _arg1;
5536 double _arg2;
5537 double _arg3;
5538 double _arg4;
5539 double _arg5;
5540 bool _arg6 = (bool ) TRUE;
5541 PyObject * _argo0 = 0;
5542 PyObject * _argo1 = 0;
5543 int tempbool6 = (int) TRUE;
5544 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
5545
5546 self = self;
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
5548 return NULL;
5549 if (_argo0) {
5550 if (_argo0 == Py_None) { _arg0 = NULL; }
5551 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5552 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePre. Expected _wxPyDrawnShape_p.");
5553 return NULL;
5554 }
5555 }
5556 if (_argo1) {
5557 if (_argo1 == Py_None) { _arg1 = NULL; }
5558 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5559 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePre. Expected _wxDC_p.");
5560 return NULL;
5561 }
5562 }
5563 _arg6 = (bool ) tempbool6;
5564 {
5565 wxPy_BEGIN_ALLOW_THREADS;
5566 _result = (bool )wxPyDrawnShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5567
5568 wxPy_END_ALLOW_THREADS;
5569 } _resultobj = Py_BuildValue("i",_result);
5570 return _resultobj;
5571 }
5572
5573 #define wxPyDrawnShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5574 static PyObject *_wrap_wxPyDrawnShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
5575 PyObject * _resultobj;
5576 wxPyDrawnShape * _arg0;
5577 wxDC * _arg1;
5578 double _arg2;
5579 double _arg3;
5580 double _arg4;
5581 double _arg5;
5582 bool _arg6 = (bool ) TRUE;
5583 PyObject * _argo0 = 0;
5584 PyObject * _argo1 = 0;
5585 int tempbool6 = (int) TRUE;
5586 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
5587
5588 self = self;
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDrawnShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
5590 return NULL;
5591 if (_argo0) {
5592 if (_argo0 == Py_None) { _arg0 = NULL; }
5593 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5594 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMovePost. Expected _wxPyDrawnShape_p.");
5595 return NULL;
5596 }
5597 }
5598 if (_argo1) {
5599 if (_argo1 == Py_None) { _arg1 = NULL; }
5600 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5601 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMovePost. Expected _wxDC_p.");
5602 return NULL;
5603 }
5604 }
5605 _arg6 = (bool ) tempbool6;
5606 {
5607 wxPy_BEGIN_ALLOW_THREADS;
5608 wxPyDrawnShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5609
5610 wxPy_END_ALLOW_THREADS;
5611 } Py_INCREF(Py_None);
5612 _resultobj = Py_None;
5613 return _resultobj;
5614 }
5615
5616 #define wxPyDrawnShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5617 static PyObject *_wrap_wxPyDrawnShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject * _resultobj;
5619 wxPyDrawnShape * _arg0;
5620 bool _arg1;
5621 double _arg2;
5622 double _arg3;
5623 int _arg4 = (int ) 0;
5624 int _arg5 = (int ) 0;
5625 PyObject * _argo0 = 0;
5626 int tempbool1;
5627 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
5628
5629 self = self;
5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
5631 return NULL;
5632 if (_argo0) {
5633 if (_argo0 == Py_None) { _arg0 = NULL; }
5634 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5635 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDragLeft. Expected _wxPyDrawnShape_p.");
5636 return NULL;
5637 }
5638 }
5639 _arg1 = (bool ) tempbool1;
5640 {
5641 wxPy_BEGIN_ALLOW_THREADS;
5642 wxPyDrawnShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5643
5644 wxPy_END_ALLOW_THREADS;
5645 } Py_INCREF(Py_None);
5646 _resultobj = Py_None;
5647 return _resultobj;
5648 }
5649
5650 #define wxPyDrawnShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5651 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject * _resultobj;
5653 wxPyDrawnShape * _arg0;
5654 double _arg1;
5655 double _arg2;
5656 int _arg3 = (int ) 0;
5657 int _arg4 = (int ) 0;
5658 PyObject * _argo0 = 0;
5659 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5660
5661 self = self;
5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5663 return NULL;
5664 if (_argo0) {
5665 if (_argo0 == Py_None) { _arg0 = NULL; }
5666 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5667 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragLeft. Expected _wxPyDrawnShape_p.");
5668 return NULL;
5669 }
5670 }
5671 {
5672 wxPy_BEGIN_ALLOW_THREADS;
5673 wxPyDrawnShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
5674
5675 wxPy_END_ALLOW_THREADS;
5676 } Py_INCREF(Py_None);
5677 _resultobj = Py_None;
5678 return _resultobj;
5679 }
5680
5681 #define wxPyDrawnShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5682 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5683 PyObject * _resultobj;
5684 wxPyDrawnShape * _arg0;
5685 double _arg1;
5686 double _arg2;
5687 int _arg3 = (int ) 0;
5688 int _arg4 = (int ) 0;
5689 PyObject * _argo0 = 0;
5690 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5691
5692 self = self;
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5694 return NULL;
5695 if (_argo0) {
5696 if (_argo0 == Py_None) { _arg0 = NULL; }
5697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragLeft. Expected _wxPyDrawnShape_p.");
5699 return NULL;
5700 }
5701 }
5702 {
5703 wxPy_BEGIN_ALLOW_THREADS;
5704 wxPyDrawnShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
5705
5706 wxPy_END_ALLOW_THREADS;
5707 } Py_INCREF(Py_None);
5708 _resultobj = Py_None;
5709 return _resultobj;
5710 }
5711
5712 #define wxPyDrawnShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5713 static PyObject *_wrap_wxPyDrawnShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject * _resultobj;
5715 wxPyDrawnShape * _arg0;
5716 bool _arg1;
5717 double _arg2;
5718 double _arg3;
5719 int _arg4 = (int ) 0;
5720 int _arg5 = (int ) 0;
5721 PyObject * _argo0 = 0;
5722 int tempbool1;
5723 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
5724
5725 self = self;
5726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDrawnShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
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_base_OnDragRight. Expected _wxPyDrawnShape_p.");
5732 return NULL;
5733 }
5734 }
5735 _arg1 = (bool ) tempbool1;
5736 {
5737 wxPy_BEGIN_ALLOW_THREADS;
5738 wxPyDrawnShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
5739
5740 wxPy_END_ALLOW_THREADS;
5741 } Py_INCREF(Py_None);
5742 _resultobj = Py_None;
5743 return _resultobj;
5744 }
5745
5746 #define wxPyDrawnShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5747 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject * _resultobj;
5749 wxPyDrawnShape * _arg0;
5750 double _arg1;
5751 double _arg2;
5752 int _arg3 = (int ) 0;
5753 int _arg4 = (int ) 0;
5754 PyObject * _argo0 = 0;
5755 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5756
5757 self = self;
5758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5759 return NULL;
5760 if (_argo0) {
5761 if (_argo0 == Py_None) { _arg0 = NULL; }
5762 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5763 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginDragRight. Expected _wxPyDrawnShape_p.");
5764 return NULL;
5765 }
5766 }
5767 {
5768 wxPy_BEGIN_ALLOW_THREADS;
5769 wxPyDrawnShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
5770
5771 wxPy_END_ALLOW_THREADS;
5772 } Py_INCREF(Py_None);
5773 _resultobj = Py_None;
5774 return _resultobj;
5775 }
5776
5777 #define wxPyDrawnShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
5778 static PyObject *_wrap_wxPyDrawnShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject * _resultobj;
5780 wxPyDrawnShape * _arg0;
5781 double _arg1;
5782 double _arg2;
5783 int _arg3 = (int ) 0;
5784 int _arg4 = (int ) 0;
5785 PyObject * _argo0 = 0;
5786 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
5787
5788 self = self;
5789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDrawnShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
5790 return NULL;
5791 if (_argo0) {
5792 if (_argo0 == Py_None) { _arg0 = NULL; }
5793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndDragRight. Expected _wxPyDrawnShape_p.");
5795 return NULL;
5796 }
5797 }
5798 {
5799 wxPy_BEGIN_ALLOW_THREADS;
5800 wxPyDrawnShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
5801
5802 wxPy_END_ALLOW_THREADS;
5803 } Py_INCREF(Py_None);
5804 _resultobj = Py_None;
5805 return _resultobj;
5806 }
5807
5808 #define wxPyDrawnShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
5809 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject * _resultobj;
5811 wxPyDrawnShape * _arg0;
5812 wxDC * _arg1;
5813 double _arg2;
5814 double _arg3;
5815 double _arg4;
5816 double _arg5;
5817 PyObject * _argo0 = 0;
5818 PyObject * _argo1 = 0;
5819 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
5820
5821 self = self;
5822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDrawnShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
5823 return NULL;
5824 if (_argo0) {
5825 if (_argo0 == Py_None) { _arg0 = NULL; }
5826 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5827 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxPyDrawnShape_p.");
5828 return NULL;
5829 }
5830 }
5831 if (_argo1) {
5832 if (_argo1 == Py_None) { _arg1 = NULL; }
5833 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5834 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawOutline. Expected _wxDC_p.");
5835 return NULL;
5836 }
5837 }
5838 {
5839 wxPy_BEGIN_ALLOW_THREADS;
5840 wxPyDrawnShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
5841
5842 wxPy_END_ALLOW_THREADS;
5843 } Py_INCREF(Py_None);
5844 _resultobj = Py_None;
5845 return _resultobj;
5846 }
5847
5848 #define wxPyDrawnShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
5849 static PyObject *_wrap_wxPyDrawnShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
5850 PyObject * _resultobj;
5851 wxPyDrawnShape * _arg0;
5852 wxDC * _arg1;
5853 PyObject * _argo0 = 0;
5854 PyObject * _argo1 = 0;
5855 char *_kwnames[] = { "self","dc", NULL };
5856
5857 self = self;
5858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
5859 return NULL;
5860 if (_argo0) {
5861 if (_argo0 == Py_None) { _arg0 = NULL; }
5862 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5863 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxPyDrawnShape_p.");
5864 return NULL;
5865 }
5866 }
5867 if (_argo1) {
5868 if (_argo1 == Py_None) { _arg1 = NULL; }
5869 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5870 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnDrawControlPoints. Expected _wxDC_p.");
5871 return NULL;
5872 }
5873 }
5874 {
5875 wxPy_BEGIN_ALLOW_THREADS;
5876 wxPyDrawnShape_base_OnDrawControlPoints(_arg0,*_arg1);
5877
5878 wxPy_END_ALLOW_THREADS;
5879 } Py_INCREF(Py_None);
5880 _resultobj = Py_None;
5881 return _resultobj;
5882 }
5883
5884 #define wxPyDrawnShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
5885 static PyObject *_wrap_wxPyDrawnShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
5886 PyObject * _resultobj;
5887 wxPyDrawnShape * _arg0;
5888 wxDC * _arg1;
5889 PyObject * _argo0 = 0;
5890 PyObject * _argo1 = 0;
5891 char *_kwnames[] = { "self","dc", NULL };
5892
5893 self = self;
5894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDrawnShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
5895 return NULL;
5896 if (_argo0) {
5897 if (_argo0 == Py_None) { _arg0 = NULL; }
5898 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5899 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxPyDrawnShape_p.");
5900 return NULL;
5901 }
5902 }
5903 if (_argo1) {
5904 if (_argo1 == Py_None) { _arg1 = NULL; }
5905 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5906 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnEraseControlPoints. Expected _wxDC_p.");
5907 return NULL;
5908 }
5909 }
5910 {
5911 wxPy_BEGIN_ALLOW_THREADS;
5912 wxPyDrawnShape_base_OnEraseControlPoints(_arg0,*_arg1);
5913
5914 wxPy_END_ALLOW_THREADS;
5915 } Py_INCREF(Py_None);
5916 _resultobj = Py_None;
5917 return _resultobj;
5918 }
5919
5920 #define wxPyDrawnShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
5921 static PyObject *_wrap_wxPyDrawnShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
5922 PyObject * _resultobj;
5923 wxPyDrawnShape * _arg0;
5924 wxDC * _arg1;
5925 bool _arg2 = (bool ) TRUE;
5926 PyObject * _argo0 = 0;
5927 PyObject * _argo1 = 0;
5928 int tempbool2 = (int) TRUE;
5929 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
5930
5931 self = self;
5932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDrawnShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
5933 return NULL;
5934 if (_argo0) {
5935 if (_argo0 == Py_None) { _arg0 = NULL; }
5936 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5937 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnMoveLink. Expected _wxPyDrawnShape_p.");
5938 return NULL;
5939 }
5940 }
5941 if (_argo1) {
5942 if (_argo1 == Py_None) { _arg1 = NULL; }
5943 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
5944 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnMoveLink. Expected _wxDC_p.");
5945 return NULL;
5946 }
5947 }
5948 _arg2 = (bool ) tempbool2;
5949 {
5950 wxPy_BEGIN_ALLOW_THREADS;
5951 wxPyDrawnShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
5952
5953 wxPy_END_ALLOW_THREADS;
5954 } Py_INCREF(Py_None);
5955 _resultobj = Py_None;
5956 return _resultobj;
5957 }
5958
5959 #define wxPyDrawnShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
5960 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject * _resultobj;
5962 wxPyDrawnShape * _arg0;
5963 wxControlPoint * _arg1;
5964 bool _arg2;
5965 double _arg3;
5966 double _arg4;
5967 int _arg5 = (int ) 0;
5968 int _arg6 = (int ) 0;
5969 PyObject * _argo0 = 0;
5970 PyObject * _argo1 = 0;
5971 int tempbool2;
5972 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
5973
5974 self = self;
5975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDrawnShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
5976 return NULL;
5977 if (_argo0) {
5978 if (_argo0 == Py_None) { _arg0 = NULL; }
5979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
5980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxPyDrawnShape_p.");
5981 return NULL;
5982 }
5983 }
5984 if (_argo1) {
5985 if (_argo1 == Py_None) { _arg1 = NULL; }
5986 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
5987 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
5988 return NULL;
5989 }
5990 }
5991 _arg2 = (bool ) tempbool2;
5992 {
5993 wxPy_BEGIN_ALLOW_THREADS;
5994 wxPyDrawnShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
5995
5996 wxPy_END_ALLOW_THREADS;
5997 } Py_INCREF(Py_None);
5998 _resultobj = Py_None;
5999 return _resultobj;
6000 }
6001
6002 #define wxPyDrawnShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6003 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject * _resultobj;
6005 wxPyDrawnShape * _arg0;
6006 wxControlPoint * _arg1;
6007 double _arg2;
6008 double _arg3;
6009 int _arg4 = (int ) 0;
6010 int _arg5 = (int ) 0;
6011 PyObject * _argo0 = 0;
6012 PyObject * _argo1 = 0;
6013 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
6014
6015 self = self;
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
6017 return NULL;
6018 if (_argo0) {
6019 if (_argo0 == Py_None) { _arg0 = NULL; }
6020 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6021 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxPyDrawnShape_p.");
6022 return NULL;
6023 }
6024 }
6025 if (_argo1) {
6026 if (_argo1 == Py_None) { _arg1 = NULL; }
6027 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
6028 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
6029 return NULL;
6030 }
6031 }
6032 {
6033 wxPy_BEGIN_ALLOW_THREADS;
6034 wxPyDrawnShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6035
6036 wxPy_END_ALLOW_THREADS;
6037 } Py_INCREF(Py_None);
6038 _resultobj = Py_None;
6039 return _resultobj;
6040 }
6041
6042 #define wxPyDrawnShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
6043 static PyObject *_wrap_wxPyDrawnShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject * _resultobj;
6045 wxPyDrawnShape * _arg0;
6046 wxControlPoint * _arg1;
6047 double _arg2;
6048 double _arg3;
6049 int _arg4 = (int ) 0;
6050 int _arg5 = (int ) 0;
6051 PyObject * _argo0 = 0;
6052 PyObject * _argo1 = 0;
6053 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
6054
6055 self = self;
6056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDrawnShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
6057 return NULL;
6058 if (_argo0) {
6059 if (_argo0 == Py_None) { _arg0 = NULL; }
6060 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6061 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxPyDrawnShape_p.");
6062 return NULL;
6063 }
6064 }
6065 if (_argo1) {
6066 if (_argo1 == Py_None) { _arg1 = NULL; }
6067 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
6068 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDrawnShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
6069 return NULL;
6070 }
6071 }
6072 {
6073 wxPy_BEGIN_ALLOW_THREADS;
6074 wxPyDrawnShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
6075
6076 wxPy_END_ALLOW_THREADS;
6077 } Py_INCREF(Py_None);
6078 _resultobj = Py_None;
6079 return _resultobj;
6080 }
6081
6082 #define wxPyDrawnShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
6083 static PyObject *_wrap_wxPyDrawnShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject * _resultobj;
6085 wxPyDrawnShape * _arg0;
6086 double _arg1;
6087 double _arg2;
6088 PyObject * _argo0 = 0;
6089 char *_kwnames[] = { "self","w","h", NULL };
6090
6091 self = self;
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
6093 return NULL;
6094 if (_argo0) {
6095 if (_argo0 == Py_None) { _arg0 = NULL; }
6096 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6097 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnBeginSize. Expected _wxPyDrawnShape_p.");
6098 return NULL;
6099 }
6100 }
6101 {
6102 wxPy_BEGIN_ALLOW_THREADS;
6103 wxPyDrawnShape_base_OnBeginSize(_arg0,_arg1,_arg2);
6104
6105 wxPy_END_ALLOW_THREADS;
6106 } Py_INCREF(Py_None);
6107 _resultobj = Py_None;
6108 return _resultobj;
6109 }
6110
6111 #define wxPyDrawnShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
6112 static PyObject *_wrap_wxPyDrawnShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6113 PyObject * _resultobj;
6114 wxPyDrawnShape * _arg0;
6115 double _arg1;
6116 double _arg2;
6117 PyObject * _argo0 = 0;
6118 char *_kwnames[] = { "self","w","h", NULL };
6119
6120 self = self;
6121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDrawnShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
6122 return NULL;
6123 if (_argo0) {
6124 if (_argo0 == Py_None) { _arg0 = NULL; }
6125 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDrawnShape_p")) {
6126 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDrawnShape_base_OnEndSize. Expected _wxPyDrawnShape_p.");
6127 return NULL;
6128 }
6129 }
6130 {
6131 wxPy_BEGIN_ALLOW_THREADS;
6132 wxPyDrawnShape_base_OnEndSize(_arg0,_arg1,_arg2);
6133
6134 wxPy_END_ALLOW_THREADS;
6135 } Py_INCREF(Py_None);
6136 _resultobj = Py_None;
6137 return _resultobj;
6138 }
6139
6140 static wxOGLConstraint *new_wxOGLConstraint(int type,wxPyShape *constraining,PyObject *constrained) {
6141 wxList* list = wxPy_wxListHelper(constrained, "wxPyShape");
6142 wxOGLConstraint* rv = new wxOGLConstraint(type, constraining, *list);
6143 delete list;
6144 return rv;
6145 }
6146
6147 static PyObject *_wrap_new_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject * _resultobj;
6149 wxOGLConstraint * _result;
6150 int _arg0;
6151 wxPyShape * _arg1;
6152 PyObject * _arg2;
6153 PyObject * _argo1 = 0;
6154 PyObject * _obj2 = 0;
6155 char *_kwnames[] = { "type","constraining","constrained", NULL };
6156 char _ptemp[128];
6157
6158 self = self;
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"iOO:new_wxOGLConstraint",_kwnames,&_arg0,&_argo1,&_obj2))
6160 return NULL;
6161 if (_argo1) {
6162 if (_argo1 == Py_None) { _arg1 = NULL; }
6163 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6164 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of new_wxOGLConstraint. Expected _wxPyShape_p.");
6165 return NULL;
6166 }
6167 }
6168 {
6169 _arg2 = _obj2;
6170 }
6171 {
6172 wxPy_BEGIN_ALLOW_THREADS;
6173 _result = (wxOGLConstraint *)new_wxOGLConstraint(_arg0,_arg1,_arg2);
6174
6175 wxPy_END_ALLOW_THREADS;
6176 } if (_result) {
6177 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
6178 _resultobj = Py_BuildValue("s",_ptemp);
6179 } else {
6180 Py_INCREF(Py_None);
6181 _resultobj = Py_None;
6182 }
6183 return _resultobj;
6184 }
6185
6186 #define delete_wxOGLConstraint(_swigobj) (delete _swigobj)
6187 static PyObject *_wrap_delete_wxOGLConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject * _resultobj;
6189 wxOGLConstraint * _arg0;
6190 PyObject * _argo0 = 0;
6191 char *_kwnames[] = { "self", NULL };
6192
6193 self = self;
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:delete_wxOGLConstraint",_kwnames,&_argo0))
6195 return NULL;
6196 if (_argo0) {
6197 if (_argo0 == Py_None) { _arg0 = NULL; }
6198 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
6199 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of delete_wxOGLConstraint. Expected _wxOGLConstraint_p.");
6200 return NULL;
6201 }
6202 }
6203 {
6204 wxPy_BEGIN_ALLOW_THREADS;
6205 delete_wxOGLConstraint(_arg0);
6206
6207 wxPy_END_ALLOW_THREADS;
6208 } Py_INCREF(Py_None);
6209 _resultobj = Py_None;
6210 return _resultobj;
6211 }
6212
6213 #define wxOGLConstraint_Evaluate(_swigobj) (_swigobj->Evaluate())
6214 static PyObject *_wrap_wxOGLConstraint_Evaluate(PyObject *self, PyObject *args, PyObject *kwargs) {
6215 PyObject * _resultobj;
6216 bool _result;
6217 wxOGLConstraint * _arg0;
6218 PyObject * _argo0 = 0;
6219 char *_kwnames[] = { "self", NULL };
6220
6221 self = self;
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxOGLConstraint_Evaluate",_kwnames,&_argo0))
6223 return NULL;
6224 if (_argo0) {
6225 if (_argo0 == Py_None) { _arg0 = NULL; }
6226 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
6227 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Evaluate. Expected _wxOGLConstraint_p.");
6228 return NULL;
6229 }
6230 }
6231 {
6232 wxPy_BEGIN_ALLOW_THREADS;
6233 _result = (bool )wxOGLConstraint_Evaluate(_arg0);
6234
6235 wxPy_END_ALLOW_THREADS;
6236 } _resultobj = Py_BuildValue("i",_result);
6237 return _resultobj;
6238 }
6239
6240 #define wxOGLConstraint_SetSpacing(_swigobj,_swigarg0,_swigarg1) (_swigobj->SetSpacing(_swigarg0,_swigarg1))
6241 static PyObject *_wrap_wxOGLConstraint_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject * _resultobj;
6243 wxOGLConstraint * _arg0;
6244 double _arg1;
6245 double _arg2;
6246 PyObject * _argo0 = 0;
6247 char *_kwnames[] = { "self","x","y", NULL };
6248
6249 self = self;
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_SetSpacing",_kwnames,&_argo0,&_arg1,&_arg2))
6251 return NULL;
6252 if (_argo0) {
6253 if (_argo0 == Py_None) { _arg0 = NULL; }
6254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
6255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_SetSpacing. Expected _wxOGLConstraint_p.");
6256 return NULL;
6257 }
6258 }
6259 {
6260 wxPy_BEGIN_ALLOW_THREADS;
6261 wxOGLConstraint_SetSpacing(_arg0,_arg1,_arg2);
6262
6263 wxPy_END_ALLOW_THREADS;
6264 } Py_INCREF(Py_None);
6265 _resultobj = Py_None;
6266 return _resultobj;
6267 }
6268
6269 #define wxOGLConstraint_Equals(_swigobj,_swigarg0,_swigarg1) (_swigobj->Equals(_swigarg0,_swigarg1))
6270 static PyObject *_wrap_wxOGLConstraint_Equals(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject * _resultobj;
6272 bool _result;
6273 wxOGLConstraint * _arg0;
6274 double _arg1;
6275 double _arg2;
6276 PyObject * _argo0 = 0;
6277 char *_kwnames[] = { "self","a","b", NULL };
6278
6279 self = self;
6280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxOGLConstraint_Equals",_kwnames,&_argo0,&_arg1,&_arg2))
6281 return NULL;
6282 if (_argo0) {
6283 if (_argo0 == Py_None) { _arg0 = NULL; }
6284 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxOGLConstraint_p")) {
6285 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxOGLConstraint_Equals. Expected _wxOGLConstraint_p.");
6286 return NULL;
6287 }
6288 }
6289 {
6290 wxPy_BEGIN_ALLOW_THREADS;
6291 _result = (bool )wxOGLConstraint_Equals(_arg0,_arg1,_arg2);
6292
6293 wxPy_END_ALLOW_THREADS;
6294 } _resultobj = Py_BuildValue("i",_result);
6295 return _resultobj;
6296 }
6297
6298 static void *SwigwxPyCompositeShapeTowxPyRectangleShape(void *ptr) {
6299 wxPyCompositeShape *src;
6300 wxPyRectangleShape *dest;
6301 src = (wxPyCompositeShape *) ptr;
6302 dest = (wxPyRectangleShape *) src;
6303 return (void *) dest;
6304 }
6305
6306 static void *SwigwxPyCompositeShapeTowxPyShape(void *ptr) {
6307 wxPyCompositeShape *src;
6308 wxPyShape *dest;
6309 src = (wxPyCompositeShape *) ptr;
6310 dest = (wxPyShape *) src;
6311 return (void *) dest;
6312 }
6313
6314 static void *SwigwxPyCompositeShapeTowxPyShapeEvtHandler(void *ptr) {
6315 wxPyCompositeShape *src;
6316 wxPyShapeEvtHandler *dest;
6317 src = (wxPyCompositeShape *) ptr;
6318 dest = (wxPyShapeEvtHandler *) src;
6319 return (void *) dest;
6320 }
6321
6322 #define new_wxPyCompositeShape() (new wxPyCompositeShape())
6323 static PyObject *_wrap_new_wxPyCompositeShape(PyObject *self, PyObject *args, PyObject *kwargs) {
6324 PyObject * _resultobj;
6325 wxPyCompositeShape * _result;
6326 char *_kwnames[] = { NULL };
6327 char _ptemp[128];
6328
6329 self = self;
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyCompositeShape",_kwnames))
6331 return NULL;
6332 {
6333 wxPy_BEGIN_ALLOW_THREADS;
6334 _result = (wxPyCompositeShape *)new_wxPyCompositeShape();
6335
6336 wxPy_END_ALLOW_THREADS;
6337 } if (_result) {
6338 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyCompositeShape_p");
6339 _resultobj = Py_BuildValue("s",_ptemp);
6340 } else {
6341 Py_INCREF(Py_None);
6342 _resultobj = Py_None;
6343 }
6344 return _resultobj;
6345 }
6346
6347 #define wxPyCompositeShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
6348 static PyObject *_wrap_wxPyCompositeShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
6349 PyObject * _resultobj;
6350 wxPyCompositeShape * _arg0;
6351 PyObject * _arg1;
6352 PyObject * _argo0 = 0;
6353 PyObject * _obj1 = 0;
6354 char *_kwnames[] = { "self","self", NULL };
6355
6356 self = self;
6357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape__setSelf",_kwnames,&_argo0,&_obj1))
6358 return NULL;
6359 if (_argo0) {
6360 if (_argo0 == Py_None) { _arg0 = NULL; }
6361 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6362 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape__setSelf. Expected _wxPyCompositeShape_p.");
6363 return NULL;
6364 }
6365 }
6366 {
6367 _arg1 = _obj1;
6368 }
6369 {
6370 wxPy_BEGIN_ALLOW_THREADS;
6371 wxPyCompositeShape__setSelf(_arg0,_arg1);
6372
6373 wxPy_END_ALLOW_THREADS;
6374 } Py_INCREF(Py_None);
6375 _resultobj = Py_None;
6376 return _resultobj;
6377 }
6378
6379 #define wxPyCompositeShape_AddChild(_swigobj,_swigarg0,_swigarg1) (_swigobj->AddChild(_swigarg0,_swigarg1))
6380 static PyObject *_wrap_wxPyCompositeShape_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6381 PyObject * _resultobj;
6382 wxPyCompositeShape * _arg0;
6383 wxPyShape * _arg1;
6384 wxPyShape * _arg2 = (wxPyShape *) NULL;
6385 PyObject * _argo0 = 0;
6386 PyObject * _argo1 = 0;
6387 PyObject * _argo2 = 0;
6388 char *_kwnames[] = { "self","child","addAfter", NULL };
6389
6390 self = self;
6391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|O:wxPyCompositeShape_AddChild",_kwnames,&_argo0,&_argo1,&_argo2))
6392 return NULL;
6393 if (_argo0) {
6394 if (_argo0 == Py_None) { _arg0 = NULL; }
6395 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6396 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddChild. Expected _wxPyCompositeShape_p.");
6397 return NULL;
6398 }
6399 }
6400 if (_argo1) {
6401 if (_argo1 == Py_None) { _arg1 = NULL; }
6402 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6403 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
6404 return NULL;
6405 }
6406 }
6407 if (_argo2) {
6408 if (_argo2 == Py_None) { _arg2 = NULL; }
6409 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
6410 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddChild. Expected _wxPyShape_p.");
6411 return NULL;
6412 }
6413 }
6414 {
6415 wxPy_BEGIN_ALLOW_THREADS;
6416 wxPyCompositeShape_AddChild(_arg0,_arg1,_arg2);
6417
6418 wxPy_END_ALLOW_THREADS;
6419 } Py_INCREF(Py_None);
6420 _resultobj = Py_None;
6421 return _resultobj;
6422 }
6423
6424 #define wxPyCompositeShape_AddConstraint(_swigobj,_swigarg0) (_swigobj->AddConstraint(_swigarg0))
6425 static PyObject *_wrap_wxPyCompositeShape_AddConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
6426 PyObject * _resultobj;
6427 wxOGLConstraint * _result;
6428 wxPyCompositeShape * _arg0;
6429 wxOGLConstraint * _arg1;
6430 PyObject * _argo0 = 0;
6431 PyObject * _argo1 = 0;
6432 char *_kwnames[] = { "self","constraint", NULL };
6433 char _ptemp[128];
6434
6435 self = self;
6436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_AddConstraint",_kwnames,&_argo0,&_argo1))
6437 return NULL;
6438 if (_argo0) {
6439 if (_argo0 == Py_None) { _arg0 = NULL; }
6440 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6441 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddConstraint. Expected _wxPyCompositeShape_p.");
6442 return NULL;
6443 }
6444 }
6445 if (_argo1) {
6446 if (_argo1 == Py_None) { _arg1 = NULL; }
6447 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
6448 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_AddConstraint. Expected _wxOGLConstraint_p.");
6449 return NULL;
6450 }
6451 }
6452 {
6453 wxPy_BEGIN_ALLOW_THREADS;
6454 _result = (wxOGLConstraint *)wxPyCompositeShape_AddConstraint(_arg0,_arg1);
6455
6456 wxPy_END_ALLOW_THREADS;
6457 } if (_result) {
6458 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
6459 _resultobj = Py_BuildValue("s",_ptemp);
6460 } else {
6461 Py_INCREF(Py_None);
6462 _resultobj = Py_None;
6463 }
6464 return _resultobj;
6465 }
6466
6467 #define wxPyCompositeShape_AddSimpleConstraint(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->AddConstraint(_swigarg0,_swigarg1,_swigarg2))
6468 static PyObject *_wrap_wxPyCompositeShape_AddSimpleConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject * _resultobj;
6470 wxOGLConstraint * _result;
6471 wxPyCompositeShape * _arg0;
6472 int _arg1;
6473 wxPyShape * _arg2;
6474 wxPyShape * _arg3;
6475 PyObject * _argo0 = 0;
6476 PyObject * _argo2 = 0;
6477 PyObject * _argo3 = 0;
6478 char *_kwnames[] = { "self","type","constraining","constrained", NULL };
6479 char _ptemp[128];
6480
6481 self = self;
6482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OiOO:wxPyCompositeShape_AddSimpleConstraint",_kwnames,&_argo0,&_arg1,&_argo2,&_argo3))
6483 return NULL;
6484 if (_argo0) {
6485 if (_argo0 == Py_None) { _arg0 = NULL; }
6486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyCompositeShape_p.");
6488 return NULL;
6489 }
6490 }
6491 if (_argo2) {
6492 if (_argo2 == Py_None) { _arg2 = NULL; }
6493 else if (SWIG_GetPtrObj(_argo2,(void **) &_arg2,"_wxPyShape_p")) {
6494 PyErr_SetString(PyExc_TypeError,"Type error in argument 3 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
6495 return NULL;
6496 }
6497 }
6498 if (_argo3) {
6499 if (_argo3 == Py_None) { _arg3 = NULL; }
6500 else if (SWIG_GetPtrObj(_argo3,(void **) &_arg3,"_wxPyShape_p")) {
6501 PyErr_SetString(PyExc_TypeError,"Type error in argument 4 of wxPyCompositeShape_AddSimpleConstraint. Expected _wxPyShape_p.");
6502 return NULL;
6503 }
6504 }
6505 {
6506 wxPy_BEGIN_ALLOW_THREADS;
6507 _result = (wxOGLConstraint *)wxPyCompositeShape_AddSimpleConstraint(_arg0,_arg1,_arg2,_arg3);
6508
6509 wxPy_END_ALLOW_THREADS;
6510 } if (_result) {
6511 SWIG_MakePtr(_ptemp, (char *) _result,"_wxOGLConstraint_p");
6512 _resultobj = Py_BuildValue("s",_ptemp);
6513 } else {
6514 Py_INCREF(Py_None);
6515 _resultobj = Py_None;
6516 }
6517 return _resultobj;
6518 }
6519
6520 #define wxPyCompositeShape_CalculateSize(_swigobj) (_swigobj->CalculateSize())
6521 static PyObject *_wrap_wxPyCompositeShape_CalculateSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6522 PyObject * _resultobj;
6523 wxPyCompositeShape * _arg0;
6524 PyObject * _argo0 = 0;
6525 char *_kwnames[] = { "self", NULL };
6526
6527 self = self;
6528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_CalculateSize",_kwnames,&_argo0))
6529 return NULL;
6530 if (_argo0) {
6531 if (_argo0 == Py_None) { _arg0 = NULL; }
6532 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6533 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_CalculateSize. Expected _wxPyCompositeShape_p.");
6534 return NULL;
6535 }
6536 }
6537 {
6538 wxPy_BEGIN_ALLOW_THREADS;
6539 wxPyCompositeShape_CalculateSize(_arg0);
6540
6541 wxPy_END_ALLOW_THREADS;
6542 } Py_INCREF(Py_None);
6543 _resultobj = Py_None;
6544 return _resultobj;
6545 }
6546
6547 #define wxPyCompositeShape_ContainsDivision(_swigobj,_swigarg0) (_swigobj->ContainsDivision(_swigarg0))
6548 static PyObject *_wrap_wxPyCompositeShape_ContainsDivision(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject * _resultobj;
6550 bool _result;
6551 wxPyCompositeShape * _arg0;
6552 wxPyDivisionShape * _arg1;
6553 PyObject * _argo0 = 0;
6554 PyObject * _argo1 = 0;
6555 char *_kwnames[] = { "self","division", NULL };
6556
6557 self = self;
6558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_ContainsDivision",_kwnames,&_argo0,&_argo1))
6559 return NULL;
6560 if (_argo0) {
6561 if (_argo0 == Py_None) { _arg0 = NULL; }
6562 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6563 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_ContainsDivision. Expected _wxPyCompositeShape_p.");
6564 return NULL;
6565 }
6566 }
6567 if (_argo1) {
6568 if (_argo1 == Py_None) { _arg1 = NULL; }
6569 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
6570 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_ContainsDivision. Expected _wxPyDivisionShape_p.");
6571 return NULL;
6572 }
6573 }
6574 {
6575 wxPy_BEGIN_ALLOW_THREADS;
6576 _result = (bool )wxPyCompositeShape_ContainsDivision(_arg0,_arg1);
6577
6578 wxPy_END_ALLOW_THREADS;
6579 } _resultobj = Py_BuildValue("i",_result);
6580 return _resultobj;
6581 }
6582
6583 #define wxPyCompositeShape_DeleteConstraint(_swigobj,_swigarg0) (_swigobj->DeleteConstraint(_swigarg0))
6584 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
6585 PyObject * _resultobj;
6586 wxPyCompositeShape * _arg0;
6587 wxOGLConstraint * _arg1;
6588 PyObject * _argo0 = 0;
6589 PyObject * _argo1 = 0;
6590 char *_kwnames[] = { "self","constraint", NULL };
6591
6592 self = self;
6593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraint",_kwnames,&_argo0,&_argo1))
6594 return NULL;
6595 if (_argo0) {
6596 if (_argo0 == Py_None) { _arg0 = NULL; }
6597 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6598 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraint. Expected _wxPyCompositeShape_p.");
6599 return NULL;
6600 }
6601 }
6602 if (_argo1) {
6603 if (_argo1 == Py_None) { _arg1 = NULL; }
6604 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxOGLConstraint_p")) {
6605 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraint. Expected _wxOGLConstraint_p.");
6606 return NULL;
6607 }
6608 }
6609 {
6610 wxPy_BEGIN_ALLOW_THREADS;
6611 wxPyCompositeShape_DeleteConstraint(_arg0,_arg1);
6612
6613 wxPy_END_ALLOW_THREADS;
6614 } Py_INCREF(Py_None);
6615 _resultobj = Py_None;
6616 return _resultobj;
6617 }
6618
6619 #define wxPyCompositeShape_DeleteConstraintsInvolvingChild(_swigobj,_swigarg0) (_swigobj->DeleteConstraintsInvolvingChild(_swigarg0))
6620 static PyObject *_wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject * _resultobj;
6622 wxPyCompositeShape * _arg0;
6623 wxPyShape * _arg1;
6624 PyObject * _argo0 = 0;
6625 PyObject * _argo1 = 0;
6626 char *_kwnames[] = { "self","child", NULL };
6627
6628 self = self;
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_DeleteConstraintsInvolvingChild",_kwnames,&_argo0,&_argo1))
6630 return NULL;
6631 if (_argo0) {
6632 if (_argo0 == Py_None) { _arg0 = NULL; }
6633 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6634 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyCompositeShape_p.");
6635 return NULL;
6636 }
6637 }
6638 if (_argo1) {
6639 if (_argo1 == Py_None) { _arg1 = NULL; }
6640 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6641 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_DeleteConstraintsInvolvingChild. Expected _wxPyShape_p.");
6642 return NULL;
6643 }
6644 }
6645 {
6646 wxPy_BEGIN_ALLOW_THREADS;
6647 wxPyCompositeShape_DeleteConstraintsInvolvingChild(_arg0,_arg1);
6648
6649 wxPy_END_ALLOW_THREADS;
6650 } Py_INCREF(Py_None);
6651 _resultobj = Py_None;
6652 return _resultobj;
6653 }
6654
6655 #define wxPyCompositeShape_FindContainerImage(_swigobj) (_swigobj->FindContainerImage())
6656 static PyObject *_wrap_wxPyCompositeShape_FindContainerImage(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject * _resultobj;
6658 wxPyShape * _result;
6659 wxPyCompositeShape * _arg0;
6660 PyObject * _argo0 = 0;
6661 char *_kwnames[] = { "self", NULL };
6662 char _ptemp[128];
6663
6664 self = self;
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_FindContainerImage",_kwnames,&_argo0))
6666 return NULL;
6667 if (_argo0) {
6668 if (_argo0 == Py_None) { _arg0 = NULL; }
6669 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6670 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_FindContainerImage. Expected _wxPyCompositeShape_p.");
6671 return NULL;
6672 }
6673 }
6674 {
6675 wxPy_BEGIN_ALLOW_THREADS;
6676 _result = (wxPyShape *)wxPyCompositeShape_FindContainerImage(_arg0);
6677
6678 wxPy_END_ALLOW_THREADS;
6679 } if (_result) {
6680 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyShape_p");
6681 _resultobj = Py_BuildValue("s",_ptemp);
6682 } else {
6683 Py_INCREF(Py_None);
6684 _resultobj = Py_None;
6685 }
6686 return _resultobj;
6687 }
6688
6689 static PyObject * wxPyCompositeShape_GetConstraints(wxPyCompositeShape *self) {
6690 wxList& list = self->GetConstraints();
6691 return wxPy_ConvertList(&list, "wxOGLConstraint");
6692 }
6693 static PyObject *_wrap_wxPyCompositeShape_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
6694 PyObject * _resultobj;
6695 PyObject * _result;
6696 wxPyCompositeShape * _arg0;
6697 PyObject * _argo0 = 0;
6698 char *_kwnames[] = { "self", NULL };
6699
6700 self = self;
6701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetConstraints",_kwnames,&_argo0))
6702 return NULL;
6703 if (_argo0) {
6704 if (_argo0 == Py_None) { _arg0 = NULL; }
6705 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6706 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetConstraints. Expected _wxPyCompositeShape_p.");
6707 return NULL;
6708 }
6709 }
6710 {
6711 wxPy_BEGIN_ALLOW_THREADS;
6712 _result = (PyObject *)wxPyCompositeShape_GetConstraints(_arg0);
6713
6714 wxPy_END_ALLOW_THREADS;
6715 }{
6716 _resultobj = _result;
6717 }
6718 return _resultobj;
6719 }
6720
6721 static PyObject * wxPyCompositeShape_GetDivisions(wxPyCompositeShape *self) {
6722 wxList& list = self->GetDivisions();
6723 return wxPy_ConvertList(&list, "wxPyDivisionShape");
6724 }
6725 static PyObject *_wrap_wxPyCompositeShape_GetDivisions(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject * _resultobj;
6727 PyObject * _result;
6728 wxPyCompositeShape * _arg0;
6729 PyObject * _argo0 = 0;
6730 char *_kwnames[] = { "self", NULL };
6731
6732 self = self;
6733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_GetDivisions",_kwnames,&_argo0))
6734 return NULL;
6735 if (_argo0) {
6736 if (_argo0 == Py_None) { _arg0 = NULL; }
6737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_GetDivisions. Expected _wxPyCompositeShape_p.");
6739 return NULL;
6740 }
6741 }
6742 {
6743 wxPy_BEGIN_ALLOW_THREADS;
6744 _result = (PyObject *)wxPyCompositeShape_GetDivisions(_arg0);
6745
6746 wxPy_END_ALLOW_THREADS;
6747 }{
6748 _resultobj = _result;
6749 }
6750 return _resultobj;
6751 }
6752
6753 #define wxPyCompositeShape_MakeContainer(_swigobj) (_swigobj->MakeContainer())
6754 static PyObject *_wrap_wxPyCompositeShape_MakeContainer(PyObject *self, PyObject *args, PyObject *kwargs) {
6755 PyObject * _resultobj;
6756 wxPyCompositeShape * _arg0;
6757 PyObject * _argo0 = 0;
6758 char *_kwnames[] = { "self", NULL };
6759
6760 self = self;
6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_MakeContainer",_kwnames,&_argo0))
6762 return NULL;
6763 if (_argo0) {
6764 if (_argo0 == Py_None) { _arg0 = NULL; }
6765 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6766 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_MakeContainer. Expected _wxPyCompositeShape_p.");
6767 return NULL;
6768 }
6769 }
6770 {
6771 wxPy_BEGIN_ALLOW_THREADS;
6772 wxPyCompositeShape_MakeContainer(_arg0);
6773
6774 wxPy_END_ALLOW_THREADS;
6775 } Py_INCREF(Py_None);
6776 _resultobj = Py_None;
6777 return _resultobj;
6778 }
6779
6780 #define wxPyCompositeShape_Recompute(_swigobj) (_swigobj->Recompute())
6781 static PyObject *_wrap_wxPyCompositeShape_Recompute(PyObject *self, PyObject *args, PyObject *kwargs) {
6782 PyObject * _resultobj;
6783 bool _result;
6784 wxPyCompositeShape * _arg0;
6785 PyObject * _argo0 = 0;
6786 char *_kwnames[] = { "self", NULL };
6787
6788 self = self;
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_Recompute",_kwnames,&_argo0))
6790 return NULL;
6791 if (_argo0) {
6792 if (_argo0 == Py_None) { _arg0 = NULL; }
6793 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6794 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_Recompute. Expected _wxPyCompositeShape_p.");
6795 return NULL;
6796 }
6797 }
6798 {
6799 wxPy_BEGIN_ALLOW_THREADS;
6800 _result = (bool )wxPyCompositeShape_Recompute(_arg0);
6801
6802 wxPy_END_ALLOW_THREADS;
6803 } _resultobj = Py_BuildValue("i",_result);
6804 return _resultobj;
6805 }
6806
6807 #define wxPyCompositeShape_RemoveChild(_swigobj,_swigarg0) (_swigobj->RemoveChild(_swigarg0))
6808 static PyObject *_wrap_wxPyCompositeShape_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
6809 PyObject * _resultobj;
6810 wxPyCompositeShape * _arg0;
6811 wxPyShape * _arg1;
6812 PyObject * _argo0 = 0;
6813 PyObject * _argo1 = 0;
6814 char *_kwnames[] = { "self","child", NULL };
6815
6816 self = self;
6817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_RemoveChild",_kwnames,&_argo0,&_argo1))
6818 return NULL;
6819 if (_argo0) {
6820 if (_argo0 == Py_None) { _arg0 = NULL; }
6821 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6822 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_RemoveChild. Expected _wxPyCompositeShape_p.");
6823 return NULL;
6824 }
6825 }
6826 if (_argo1) {
6827 if (_argo1 == Py_None) { _arg1 = NULL; }
6828 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyShape_p")) {
6829 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_RemoveChild. Expected _wxPyShape_p.");
6830 return NULL;
6831 }
6832 }
6833 {
6834 wxPy_BEGIN_ALLOW_THREADS;
6835 wxPyCompositeShape_RemoveChild(_arg0,_arg1);
6836
6837 wxPy_END_ALLOW_THREADS;
6838 } Py_INCREF(Py_None);
6839 _resultobj = Py_None;
6840 return _resultobj;
6841 }
6842
6843 #define wxPyCompositeShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
6844 static PyObject *_wrap_wxPyCompositeShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject * _resultobj;
6846 wxPyCompositeShape * _arg0;
6847 PyObject * _argo0 = 0;
6848 char *_kwnames[] = { "self", NULL };
6849
6850 self = self;
6851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyCompositeShape_base_OnDelete",_kwnames,&_argo0))
6852 return NULL;
6853 if (_argo0) {
6854 if (_argo0 == Py_None) { _arg0 = NULL; }
6855 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6856 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDelete. Expected _wxPyCompositeShape_p.");
6857 return NULL;
6858 }
6859 }
6860 {
6861 wxPy_BEGIN_ALLOW_THREADS;
6862 wxPyCompositeShape_base_OnDelete(_arg0);
6863
6864 wxPy_END_ALLOW_THREADS;
6865 } Py_INCREF(Py_None);
6866 _resultobj = Py_None;
6867 return _resultobj;
6868 }
6869
6870 #define wxPyCompositeShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
6871 static PyObject *_wrap_wxPyCompositeShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
6872 PyObject * _resultobj;
6873 wxPyCompositeShape * _arg0;
6874 wxDC * _arg1;
6875 PyObject * _argo0 = 0;
6876 PyObject * _argo1 = 0;
6877 char *_kwnames[] = { "self","dc", NULL };
6878
6879 self = self;
6880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
6881 return NULL;
6882 if (_argo0) {
6883 if (_argo0 == Py_None) { _arg0 = NULL; }
6884 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6885 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDraw. Expected _wxPyCompositeShape_p.");
6886 return NULL;
6887 }
6888 }
6889 if (_argo1) {
6890 if (_argo1 == Py_None) { _arg1 = NULL; }
6891 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6892 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDraw. Expected _wxDC_p.");
6893 return NULL;
6894 }
6895 }
6896 {
6897 wxPy_BEGIN_ALLOW_THREADS;
6898 wxPyCompositeShape_base_OnDraw(_arg0,*_arg1);
6899
6900 wxPy_END_ALLOW_THREADS;
6901 } Py_INCREF(Py_None);
6902 _resultobj = Py_None;
6903 return _resultobj;
6904 }
6905
6906 #define wxPyCompositeShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
6907 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
6908 PyObject * _resultobj;
6909 wxPyCompositeShape * _arg0;
6910 wxDC * _arg1;
6911 PyObject * _argo0 = 0;
6912 PyObject * _argo1 = 0;
6913 char *_kwnames[] = { "self","dc", NULL };
6914
6915 self = self;
6916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
6917 return NULL;
6918 if (_argo0) {
6919 if (_argo0 == Py_None) { _arg0 = NULL; }
6920 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6921 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawContents. Expected _wxPyCompositeShape_p.");
6922 return NULL;
6923 }
6924 }
6925 if (_argo1) {
6926 if (_argo1 == Py_None) { _arg1 = NULL; }
6927 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6928 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawContents. Expected _wxDC_p.");
6929 return NULL;
6930 }
6931 }
6932 {
6933 wxPy_BEGIN_ALLOW_THREADS;
6934 wxPyCompositeShape_base_OnDrawContents(_arg0,*_arg1);
6935
6936 wxPy_END_ALLOW_THREADS;
6937 } Py_INCREF(Py_None);
6938 _resultobj = Py_None;
6939 return _resultobj;
6940 }
6941
6942 #define wxPyCompositeShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
6943 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject * _resultobj;
6945 wxPyCompositeShape * _arg0;
6946 wxDC * _arg1;
6947 bool _arg2 = (bool ) FALSE;
6948 PyObject * _argo0 = 0;
6949 PyObject * _argo1 = 0;
6950 int tempbool2 = (int) FALSE;
6951 char *_kwnames[] = { "self","dc","erase", NULL };
6952
6953 self = self;
6954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
6955 return NULL;
6956 if (_argo0) {
6957 if (_argo0 == Py_None) { _arg0 = NULL; }
6958 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6959 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxPyCompositeShape_p.");
6960 return NULL;
6961 }
6962 }
6963 if (_argo1) {
6964 if (_argo1 == Py_None) { _arg1 = NULL; }
6965 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
6966 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawBranches. Expected _wxDC_p.");
6967 return NULL;
6968 }
6969 }
6970 _arg2 = (bool ) tempbool2;
6971 {
6972 wxPy_BEGIN_ALLOW_THREADS;
6973 wxPyCompositeShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
6974
6975 wxPy_END_ALLOW_THREADS;
6976 } Py_INCREF(Py_None);
6977 _resultobj = Py_None;
6978 return _resultobj;
6979 }
6980
6981 #define wxPyCompositeShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
6982 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject * _resultobj;
6984 wxPyCompositeShape * _arg0;
6985 wxDC * _arg1;
6986 PyObject * _argo0 = 0;
6987 PyObject * _argo1 = 0;
6988 char *_kwnames[] = { "self","dc", NULL };
6989
6990 self = self;
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
6992 return NULL;
6993 if (_argo0) {
6994 if (_argo0 == Py_None) { _arg0 = NULL; }
6995 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
6996 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxPyCompositeShape_p.");
6997 return NULL;
6998 }
6999 }
7000 if (_argo1) {
7001 if (_argo1 == Py_None) { _arg1 = NULL; }
7002 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7003 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLinks. Expected _wxDC_p.");
7004 return NULL;
7005 }
7006 }
7007 {
7008 wxPy_BEGIN_ALLOW_THREADS;
7009 wxPyCompositeShape_base_OnMoveLinks(_arg0,*_arg1);
7010
7011 wxPy_END_ALLOW_THREADS;
7012 } Py_INCREF(Py_None);
7013 _resultobj = Py_None;
7014 return _resultobj;
7015 }
7016
7017 #define wxPyCompositeShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
7018 static PyObject *_wrap_wxPyCompositeShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject * _resultobj;
7020 wxPyCompositeShape * _arg0;
7021 wxDC * _arg1;
7022 PyObject * _argo0 = 0;
7023 PyObject * _argo1 = 0;
7024 char *_kwnames[] = { "self","dc", NULL };
7025
7026 self = self;
7027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnErase",_kwnames,&_argo0,&_argo1))
7028 return NULL;
7029 if (_argo0) {
7030 if (_argo0 == Py_None) { _arg0 = NULL; }
7031 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7032 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnErase. Expected _wxPyCompositeShape_p.");
7033 return NULL;
7034 }
7035 }
7036 if (_argo1) {
7037 if (_argo1 == Py_None) { _arg1 = NULL; }
7038 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7039 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnErase. Expected _wxDC_p.");
7040 return NULL;
7041 }
7042 }
7043 {
7044 wxPy_BEGIN_ALLOW_THREADS;
7045 wxPyCompositeShape_base_OnErase(_arg0,*_arg1);
7046
7047 wxPy_END_ALLOW_THREADS;
7048 } Py_INCREF(Py_None);
7049 _resultobj = Py_None;
7050 return _resultobj;
7051 }
7052
7053 #define wxPyCompositeShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
7054 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
7055 PyObject * _resultobj;
7056 wxPyCompositeShape * _arg0;
7057 wxDC * _arg1;
7058 PyObject * _argo0 = 0;
7059 PyObject * _argo1 = 0;
7060 char *_kwnames[] = { "self","dc", NULL };
7061
7062 self = self;
7063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
7064 return NULL;
7065 if (_argo0) {
7066 if (_argo0 == Py_None) { _arg0 = NULL; }
7067 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7068 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseContents. Expected _wxPyCompositeShape_p.");
7069 return NULL;
7070 }
7071 }
7072 if (_argo1) {
7073 if (_argo1 == Py_None) { _arg1 = NULL; }
7074 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7075 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseContents. Expected _wxDC_p.");
7076 return NULL;
7077 }
7078 }
7079 {
7080 wxPy_BEGIN_ALLOW_THREADS;
7081 wxPyCompositeShape_base_OnEraseContents(_arg0,*_arg1);
7082
7083 wxPy_END_ALLOW_THREADS;
7084 } Py_INCREF(Py_None);
7085 _resultobj = Py_None;
7086 return _resultobj;
7087 }
7088
7089 #define wxPyCompositeShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
7090 static PyObject *_wrap_wxPyCompositeShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
7091 PyObject * _resultobj;
7092 wxPyCompositeShape * _arg0;
7093 wxDC * _arg1;
7094 PyObject * _argo0 = 0;
7095 PyObject * _argo1 = 0;
7096 char *_kwnames[] = { "self","dc", NULL };
7097
7098 self = self;
7099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
7100 return NULL;
7101 if (_argo0) {
7102 if (_argo0 == Py_None) { _arg0 = NULL; }
7103 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7104 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnHighlight. Expected _wxPyCompositeShape_p.");
7105 return NULL;
7106 }
7107 }
7108 if (_argo1) {
7109 if (_argo1 == Py_None) { _arg1 = NULL; }
7110 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7111 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnHighlight. Expected _wxDC_p.");
7112 return NULL;
7113 }
7114 }
7115 {
7116 wxPy_BEGIN_ALLOW_THREADS;
7117 wxPyCompositeShape_base_OnHighlight(_arg0,*_arg1);
7118
7119 wxPy_END_ALLOW_THREADS;
7120 } Py_INCREF(Py_None);
7121 _resultobj = Py_None;
7122 return _resultobj;
7123 }
7124
7125 #define wxPyCompositeShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7126 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7127 PyObject * _resultobj;
7128 wxPyCompositeShape * _arg0;
7129 double _arg1;
7130 double _arg2;
7131 int _arg3 = (int ) 0;
7132 int _arg4 = (int ) 0;
7133 PyObject * _argo0 = 0;
7134 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7135
7136 self = self;
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7138 return NULL;
7139 if (_argo0) {
7140 if (_argo0 == Py_None) { _arg0 = NULL; }
7141 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7142 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftClick. Expected _wxPyCompositeShape_p.");
7143 return NULL;
7144 }
7145 }
7146 {
7147 wxPy_BEGIN_ALLOW_THREADS;
7148 wxPyCompositeShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7149
7150 wxPy_END_ALLOW_THREADS;
7151 } Py_INCREF(Py_None);
7152 _resultobj = Py_None;
7153 return _resultobj;
7154 }
7155
7156 #define wxPyCompositeShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7157 static PyObject *_wrap_wxPyCompositeShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject * _resultobj;
7159 wxPyCompositeShape * _arg0;
7160 double _arg1;
7161 double _arg2;
7162 int _arg3 = (int ) 0;
7163 int _arg4 = (int ) 0;
7164 PyObject * _argo0 = 0;
7165 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7166
7167 self = self;
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7169 return NULL;
7170 if (_argo0) {
7171 if (_argo0 == Py_None) { _arg0 = NULL; }
7172 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7173 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnLeftDoubleClick. Expected _wxPyCompositeShape_p.");
7174 return NULL;
7175 }
7176 }
7177 {
7178 wxPy_BEGIN_ALLOW_THREADS;
7179 wxPyCompositeShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7180
7181 wxPy_END_ALLOW_THREADS;
7182 } Py_INCREF(Py_None);
7183 _resultobj = Py_None;
7184 return _resultobj;
7185 }
7186
7187 #define wxPyCompositeShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7188 static PyObject *_wrap_wxPyCompositeShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject * _resultobj;
7190 wxPyCompositeShape * _arg0;
7191 double _arg1;
7192 double _arg2;
7193 int _arg3 = (int ) 0;
7194 int _arg4 = (int ) 0;
7195 PyObject * _argo0 = 0;
7196 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7197
7198 self = self;
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7200 return NULL;
7201 if (_argo0) {
7202 if (_argo0 == Py_None) { _arg0 = NULL; }
7203 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7204 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnRightClick. Expected _wxPyCompositeShape_p.");
7205 return NULL;
7206 }
7207 }
7208 {
7209 wxPy_BEGIN_ALLOW_THREADS;
7210 wxPyCompositeShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
7211
7212 wxPy_END_ALLOW_THREADS;
7213 } Py_INCREF(Py_None);
7214 _resultobj = Py_None;
7215 return _resultobj;
7216 }
7217
7218 #define wxPyCompositeShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
7219 static PyObject *_wrap_wxPyCompositeShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject * _resultobj;
7221 wxPyCompositeShape * _arg0;
7222 double _arg1;
7223 double _arg2;
7224 PyObject * _argo0 = 0;
7225 char *_kwnames[] = { "self","x","y", NULL };
7226
7227 self = self;
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
7229 return NULL;
7230 if (_argo0) {
7231 if (_argo0 == Py_None) { _arg0 = NULL; }
7232 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7233 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSize. Expected _wxPyCompositeShape_p.");
7234 return NULL;
7235 }
7236 }
7237 {
7238 wxPy_BEGIN_ALLOW_THREADS;
7239 wxPyCompositeShape_base_OnSize(_arg0,_arg1,_arg2);
7240
7241 wxPy_END_ALLOW_THREADS;
7242 } Py_INCREF(Py_None);
7243 _resultobj = Py_None;
7244 return _resultobj;
7245 }
7246
7247 #define wxPyCompositeShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7248 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject * _resultobj;
7250 bool _result;
7251 wxPyCompositeShape * _arg0;
7252 wxDC * _arg1;
7253 double _arg2;
7254 double _arg3;
7255 double _arg4;
7256 double _arg5;
7257 bool _arg6 = (bool ) TRUE;
7258 PyObject * _argo0 = 0;
7259 PyObject * _argo1 = 0;
7260 int tempbool6 = (int) TRUE;
7261 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7262
7263 self = self;
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7265 return NULL;
7266 if (_argo0) {
7267 if (_argo0 == Py_None) { _arg0 = NULL; }
7268 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7269 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePre. Expected _wxPyCompositeShape_p.");
7270 return NULL;
7271 }
7272 }
7273 if (_argo1) {
7274 if (_argo1 == Py_None) { _arg1 = NULL; }
7275 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7276 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePre. Expected _wxDC_p.");
7277 return NULL;
7278 }
7279 }
7280 _arg6 = (bool ) tempbool6;
7281 {
7282 wxPy_BEGIN_ALLOW_THREADS;
7283 _result = (bool )wxPyCompositeShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7284
7285 wxPy_END_ALLOW_THREADS;
7286 } _resultobj = Py_BuildValue("i",_result);
7287 return _resultobj;
7288 }
7289
7290 #define wxPyCompositeShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7291 static PyObject *_wrap_wxPyCompositeShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
7292 PyObject * _resultobj;
7293 wxPyCompositeShape * _arg0;
7294 wxDC * _arg1;
7295 double _arg2;
7296 double _arg3;
7297 double _arg4;
7298 double _arg5;
7299 bool _arg6 = (bool ) TRUE;
7300 PyObject * _argo0 = 0;
7301 PyObject * _argo1 = 0;
7302 int tempbool6 = (int) TRUE;
7303 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
7304
7305 self = self;
7306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyCompositeShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
7307 return NULL;
7308 if (_argo0) {
7309 if (_argo0 == Py_None) { _arg0 = NULL; }
7310 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7311 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMovePost. Expected _wxPyCompositeShape_p.");
7312 return NULL;
7313 }
7314 }
7315 if (_argo1) {
7316 if (_argo1 == Py_None) { _arg1 = NULL; }
7317 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7318 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMovePost. Expected _wxDC_p.");
7319 return NULL;
7320 }
7321 }
7322 _arg6 = (bool ) tempbool6;
7323 {
7324 wxPy_BEGIN_ALLOW_THREADS;
7325 wxPyCompositeShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7326
7327 wxPy_END_ALLOW_THREADS;
7328 } Py_INCREF(Py_None);
7329 _resultobj = Py_None;
7330 return _resultobj;
7331 }
7332
7333 #define wxPyCompositeShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7334 static PyObject *_wrap_wxPyCompositeShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7335 PyObject * _resultobj;
7336 wxPyCompositeShape * _arg0;
7337 bool _arg1;
7338 double _arg2;
7339 double _arg3;
7340 int _arg4 = (int ) 0;
7341 int _arg5 = (int ) 0;
7342 PyObject * _argo0 = 0;
7343 int tempbool1;
7344 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7345
7346 self = self;
7347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7348 return NULL;
7349 if (_argo0) {
7350 if (_argo0 == Py_None) { _arg0 = NULL; }
7351 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7352 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragLeft. Expected _wxPyCompositeShape_p.");
7353 return NULL;
7354 }
7355 }
7356 _arg1 = (bool ) tempbool1;
7357 {
7358 wxPy_BEGIN_ALLOW_THREADS;
7359 wxPyCompositeShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7360
7361 wxPy_END_ALLOW_THREADS;
7362 } Py_INCREF(Py_None);
7363 _resultobj = Py_None;
7364 return _resultobj;
7365 }
7366
7367 #define wxPyCompositeShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7368 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7369 PyObject * _resultobj;
7370 wxPyCompositeShape * _arg0;
7371 double _arg1;
7372 double _arg2;
7373 int _arg3 = (int ) 0;
7374 int _arg4 = (int ) 0;
7375 PyObject * _argo0 = 0;
7376 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7377
7378 self = self;
7379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7380 return NULL;
7381 if (_argo0) {
7382 if (_argo0 == Py_None) { _arg0 = NULL; }
7383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragLeft. Expected _wxPyCompositeShape_p.");
7385 return NULL;
7386 }
7387 }
7388 {
7389 wxPy_BEGIN_ALLOW_THREADS;
7390 wxPyCompositeShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7391
7392 wxPy_END_ALLOW_THREADS;
7393 } Py_INCREF(Py_None);
7394 _resultobj = Py_None;
7395 return _resultobj;
7396 }
7397
7398 #define wxPyCompositeShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7399 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7400 PyObject * _resultobj;
7401 wxPyCompositeShape * _arg0;
7402 double _arg1;
7403 double _arg2;
7404 int _arg3 = (int ) 0;
7405 int _arg4 = (int ) 0;
7406 PyObject * _argo0 = 0;
7407 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7408
7409 self = self;
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7411 return NULL;
7412 if (_argo0) {
7413 if (_argo0 == Py_None) { _arg0 = NULL; }
7414 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7415 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragLeft. Expected _wxPyCompositeShape_p.");
7416 return NULL;
7417 }
7418 }
7419 {
7420 wxPy_BEGIN_ALLOW_THREADS;
7421 wxPyCompositeShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
7422
7423 wxPy_END_ALLOW_THREADS;
7424 } Py_INCREF(Py_None);
7425 _resultobj = Py_None;
7426 return _resultobj;
7427 }
7428
7429 #define wxPyCompositeShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7430 static PyObject *_wrap_wxPyCompositeShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject * _resultobj;
7432 wxPyCompositeShape * _arg0;
7433 bool _arg1;
7434 double _arg2;
7435 double _arg3;
7436 int _arg4 = (int ) 0;
7437 int _arg5 = (int ) 0;
7438 PyObject * _argo0 = 0;
7439 int tempbool1;
7440 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
7441
7442 self = self;
7443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyCompositeShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
7444 return NULL;
7445 if (_argo0) {
7446 if (_argo0 == Py_None) { _arg0 = NULL; }
7447 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7448 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDragRight. Expected _wxPyCompositeShape_p.");
7449 return NULL;
7450 }
7451 }
7452 _arg1 = (bool ) tempbool1;
7453 {
7454 wxPy_BEGIN_ALLOW_THREADS;
7455 wxPyCompositeShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7456
7457 wxPy_END_ALLOW_THREADS;
7458 } Py_INCREF(Py_None);
7459 _resultobj = Py_None;
7460 return _resultobj;
7461 }
7462
7463 #define wxPyCompositeShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7464 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7465 PyObject * _resultobj;
7466 wxPyCompositeShape * _arg0;
7467 double _arg1;
7468 double _arg2;
7469 int _arg3 = (int ) 0;
7470 int _arg4 = (int ) 0;
7471 PyObject * _argo0 = 0;
7472 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7473
7474 self = self;
7475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7476 return NULL;
7477 if (_argo0) {
7478 if (_argo0 == Py_None) { _arg0 = NULL; }
7479 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7480 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginDragRight. Expected _wxPyCompositeShape_p.");
7481 return NULL;
7482 }
7483 }
7484 {
7485 wxPy_BEGIN_ALLOW_THREADS;
7486 wxPyCompositeShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7487
7488 wxPy_END_ALLOW_THREADS;
7489 } Py_INCREF(Py_None);
7490 _resultobj = Py_None;
7491 return _resultobj;
7492 }
7493
7494 #define wxPyCompositeShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
7495 static PyObject *_wrap_wxPyCompositeShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject * _resultobj;
7497 wxPyCompositeShape * _arg0;
7498 double _arg1;
7499 double _arg2;
7500 int _arg3 = (int ) 0;
7501 int _arg4 = (int ) 0;
7502 PyObject * _argo0 = 0;
7503 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
7504
7505 self = self;
7506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyCompositeShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
7507 return NULL;
7508 if (_argo0) {
7509 if (_argo0 == Py_None) { _arg0 = NULL; }
7510 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7511 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndDragRight. Expected _wxPyCompositeShape_p.");
7512 return NULL;
7513 }
7514 }
7515 {
7516 wxPy_BEGIN_ALLOW_THREADS;
7517 wxPyCompositeShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
7518
7519 wxPy_END_ALLOW_THREADS;
7520 } Py_INCREF(Py_None);
7521 _resultobj = Py_None;
7522 return _resultobj;
7523 }
7524
7525 #define wxPyCompositeShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7526 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
7527 PyObject * _resultobj;
7528 wxPyCompositeShape * _arg0;
7529 wxDC * _arg1;
7530 double _arg2;
7531 double _arg3;
7532 double _arg4;
7533 double _arg5;
7534 PyObject * _argo0 = 0;
7535 PyObject * _argo1 = 0;
7536 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
7537
7538 self = self;
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyCompositeShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7540 return NULL;
7541 if (_argo0) {
7542 if (_argo0 == Py_None) { _arg0 = NULL; }
7543 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7544 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxPyCompositeShape_p.");
7545 return NULL;
7546 }
7547 }
7548 if (_argo1) {
7549 if (_argo1 == Py_None) { _arg1 = NULL; }
7550 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7551 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawOutline. Expected _wxDC_p.");
7552 return NULL;
7553 }
7554 }
7555 {
7556 wxPy_BEGIN_ALLOW_THREADS;
7557 wxPyCompositeShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
7558
7559 wxPy_END_ALLOW_THREADS;
7560 } Py_INCREF(Py_None);
7561 _resultobj = Py_None;
7562 return _resultobj;
7563 }
7564
7565 #define wxPyCompositeShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
7566 static PyObject *_wrap_wxPyCompositeShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7567 PyObject * _resultobj;
7568 wxPyCompositeShape * _arg0;
7569 wxDC * _arg1;
7570 PyObject * _argo0 = 0;
7571 PyObject * _argo1 = 0;
7572 char *_kwnames[] = { "self","dc", NULL };
7573
7574 self = self;
7575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
7576 return NULL;
7577 if (_argo0) {
7578 if (_argo0 == Py_None) { _arg0 = NULL; }
7579 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7580 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxPyCompositeShape_p.");
7581 return NULL;
7582 }
7583 }
7584 if (_argo1) {
7585 if (_argo1 == Py_None) { _arg1 = NULL; }
7586 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7587 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnDrawControlPoints. Expected _wxDC_p.");
7588 return NULL;
7589 }
7590 }
7591 {
7592 wxPy_BEGIN_ALLOW_THREADS;
7593 wxPyCompositeShape_base_OnDrawControlPoints(_arg0,*_arg1);
7594
7595 wxPy_END_ALLOW_THREADS;
7596 } Py_INCREF(Py_None);
7597 _resultobj = Py_None;
7598 return _resultobj;
7599 }
7600
7601 #define wxPyCompositeShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
7602 static PyObject *_wrap_wxPyCompositeShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
7603 PyObject * _resultobj;
7604 wxPyCompositeShape * _arg0;
7605 wxDC * _arg1;
7606 PyObject * _argo0 = 0;
7607 PyObject * _argo1 = 0;
7608 char *_kwnames[] = { "self","dc", NULL };
7609
7610 self = self;
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyCompositeShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
7612 return NULL;
7613 if (_argo0) {
7614 if (_argo0 == Py_None) { _arg0 = NULL; }
7615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxPyCompositeShape_p.");
7617 return NULL;
7618 }
7619 }
7620 if (_argo1) {
7621 if (_argo1 == Py_None) { _arg1 = NULL; }
7622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnEraseControlPoints. Expected _wxDC_p.");
7624 return NULL;
7625 }
7626 }
7627 {
7628 wxPy_BEGIN_ALLOW_THREADS;
7629 wxPyCompositeShape_base_OnEraseControlPoints(_arg0,*_arg1);
7630
7631 wxPy_END_ALLOW_THREADS;
7632 } Py_INCREF(Py_None);
7633 _resultobj = Py_None;
7634 return _resultobj;
7635 }
7636
7637 #define wxPyCompositeShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
7638 static PyObject *_wrap_wxPyCompositeShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
7639 PyObject * _resultobj;
7640 wxPyCompositeShape * _arg0;
7641 wxDC * _arg1;
7642 bool _arg2 = (bool ) TRUE;
7643 PyObject * _argo0 = 0;
7644 PyObject * _argo1 = 0;
7645 int tempbool2 = (int) TRUE;
7646 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
7647
7648 self = self;
7649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyCompositeShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
7650 return NULL;
7651 if (_argo0) {
7652 if (_argo0 == Py_None) { _arg0 = NULL; }
7653 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7654 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnMoveLink. Expected _wxPyCompositeShape_p.");
7655 return NULL;
7656 }
7657 }
7658 if (_argo1) {
7659 if (_argo1 == Py_None) { _arg1 = NULL; }
7660 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
7661 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnMoveLink. Expected _wxDC_p.");
7662 return NULL;
7663 }
7664 }
7665 _arg2 = (bool ) tempbool2;
7666 {
7667 wxPy_BEGIN_ALLOW_THREADS;
7668 wxPyCompositeShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
7669
7670 wxPy_END_ALLOW_THREADS;
7671 } Py_INCREF(Py_None);
7672 _resultobj = Py_None;
7673 return _resultobj;
7674 }
7675
7676 #define wxPyCompositeShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
7677 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7678 PyObject * _resultobj;
7679 wxPyCompositeShape * _arg0;
7680 wxControlPoint * _arg1;
7681 bool _arg2;
7682 double _arg3;
7683 double _arg4;
7684 int _arg5 = (int ) 0;
7685 int _arg6 = (int ) 0;
7686 PyObject * _argo0 = 0;
7687 PyObject * _argo1 = 0;
7688 int tempbool2;
7689 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
7690
7691 self = self;
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyCompositeShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
7693 return NULL;
7694 if (_argo0) {
7695 if (_argo0 == Py_None) { _arg0 = NULL; }
7696 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7697 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxPyCompositeShape_p.");
7698 return NULL;
7699 }
7700 }
7701 if (_argo1) {
7702 if (_argo1 == Py_None) { _arg1 = NULL; }
7703 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
7704 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
7705 return NULL;
7706 }
7707 }
7708 _arg2 = (bool ) tempbool2;
7709 {
7710 wxPy_BEGIN_ALLOW_THREADS;
7711 wxPyCompositeShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
7712
7713 wxPy_END_ALLOW_THREADS;
7714 } Py_INCREF(Py_None);
7715 _resultobj = Py_None;
7716 return _resultobj;
7717 }
7718
7719 #define wxPyCompositeShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7720 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject * _resultobj;
7722 wxPyCompositeShape * _arg0;
7723 wxControlPoint * _arg1;
7724 double _arg2;
7725 double _arg3;
7726 int _arg4 = (int ) 0;
7727 int _arg5 = (int ) 0;
7728 PyObject * _argo0 = 0;
7729 PyObject * _argo1 = 0;
7730 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7731
7732 self = self;
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7734 return NULL;
7735 if (_argo0) {
7736 if (_argo0 == Py_None) { _arg0 = NULL; }
7737 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7738 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxPyCompositeShape_p.");
7739 return NULL;
7740 }
7741 }
7742 if (_argo1) {
7743 if (_argo1 == Py_None) { _arg1 = NULL; }
7744 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
7745 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
7746 return NULL;
7747 }
7748 }
7749 {
7750 wxPy_BEGIN_ALLOW_THREADS;
7751 wxPyCompositeShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7752
7753 wxPy_END_ALLOW_THREADS;
7754 } Py_INCREF(Py_None);
7755 _resultobj = Py_None;
7756 return _resultobj;
7757 }
7758
7759 #define wxPyCompositeShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
7760 static PyObject *_wrap_wxPyCompositeShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
7761 PyObject * _resultobj;
7762 wxPyCompositeShape * _arg0;
7763 wxControlPoint * _arg1;
7764 double _arg2;
7765 double _arg3;
7766 int _arg4 = (int ) 0;
7767 int _arg5 = (int ) 0;
7768 PyObject * _argo0 = 0;
7769 PyObject * _argo1 = 0;
7770 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
7771
7772 self = self;
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyCompositeShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
7774 return NULL;
7775 if (_argo0) {
7776 if (_argo0 == Py_None) { _arg0 = NULL; }
7777 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7778 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxPyCompositeShape_p.");
7779 return NULL;
7780 }
7781 }
7782 if (_argo1) {
7783 if (_argo1 == Py_None) { _arg1 = NULL; }
7784 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
7785 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyCompositeShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
7786 return NULL;
7787 }
7788 }
7789 {
7790 wxPy_BEGIN_ALLOW_THREADS;
7791 wxPyCompositeShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
7792
7793 wxPy_END_ALLOW_THREADS;
7794 } Py_INCREF(Py_None);
7795 _resultobj = Py_None;
7796 return _resultobj;
7797 }
7798
7799 #define wxPyCompositeShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
7800 static PyObject *_wrap_wxPyCompositeShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject * _resultobj;
7802 wxPyCompositeShape * _arg0;
7803 double _arg1;
7804 double _arg2;
7805 PyObject * _argo0 = 0;
7806 char *_kwnames[] = { "self","w","h", NULL };
7807
7808 self = self;
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
7810 return NULL;
7811 if (_argo0) {
7812 if (_argo0 == Py_None) { _arg0 = NULL; }
7813 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7814 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnBeginSize. Expected _wxPyCompositeShape_p.");
7815 return NULL;
7816 }
7817 }
7818 {
7819 wxPy_BEGIN_ALLOW_THREADS;
7820 wxPyCompositeShape_base_OnBeginSize(_arg0,_arg1,_arg2);
7821
7822 wxPy_END_ALLOW_THREADS;
7823 } Py_INCREF(Py_None);
7824 _resultobj = Py_None;
7825 return _resultobj;
7826 }
7827
7828 #define wxPyCompositeShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
7829 static PyObject *_wrap_wxPyCompositeShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7830 PyObject * _resultobj;
7831 wxPyCompositeShape * _arg0;
7832 double _arg1;
7833 double _arg2;
7834 PyObject * _argo0 = 0;
7835 char *_kwnames[] = { "self","w","h", NULL };
7836
7837 self = self;
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyCompositeShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
7839 return NULL;
7840 if (_argo0) {
7841 if (_argo0 == Py_None) { _arg0 = NULL; }
7842 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyCompositeShape_p")) {
7843 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyCompositeShape_base_OnEndSize. Expected _wxPyCompositeShape_p.");
7844 return NULL;
7845 }
7846 }
7847 {
7848 wxPy_BEGIN_ALLOW_THREADS;
7849 wxPyCompositeShape_base_OnEndSize(_arg0,_arg1,_arg2);
7850
7851 wxPy_END_ALLOW_THREADS;
7852 } Py_INCREF(Py_None);
7853 _resultobj = Py_None;
7854 return _resultobj;
7855 }
7856
7857 static void *SwigwxPyDividedShapeTowxPyRectangleShape(void *ptr) {
7858 wxPyDividedShape *src;
7859 wxPyRectangleShape *dest;
7860 src = (wxPyDividedShape *) ptr;
7861 dest = (wxPyRectangleShape *) src;
7862 return (void *) dest;
7863 }
7864
7865 static void *SwigwxPyDividedShapeTowxPyShape(void *ptr) {
7866 wxPyDividedShape *src;
7867 wxPyShape *dest;
7868 src = (wxPyDividedShape *) ptr;
7869 dest = (wxPyShape *) src;
7870 return (void *) dest;
7871 }
7872
7873 static void *SwigwxPyDividedShapeTowxPyShapeEvtHandler(void *ptr) {
7874 wxPyDividedShape *src;
7875 wxPyShapeEvtHandler *dest;
7876 src = (wxPyDividedShape *) ptr;
7877 dest = (wxPyShapeEvtHandler *) src;
7878 return (void *) dest;
7879 }
7880
7881 #define new_wxPyDividedShape(_swigarg0,_swigarg1) (new wxPyDividedShape(_swigarg0,_swigarg1))
7882 static PyObject *_wrap_new_wxPyDividedShape(PyObject *self, PyObject *args, PyObject *kwargs) {
7883 PyObject * _resultobj;
7884 wxPyDividedShape * _result;
7885 double _arg0 = (double ) 0.0;
7886 double _arg1 = (double ) 0.0;
7887 char *_kwnames[] = { "width","height", NULL };
7888 char _ptemp[128];
7889
7890 self = self;
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"|dd:new_wxPyDividedShape",_kwnames,&_arg0,&_arg1))
7892 return NULL;
7893 {
7894 wxPy_BEGIN_ALLOW_THREADS;
7895 _result = (wxPyDividedShape *)new_wxPyDividedShape(_arg0,_arg1);
7896
7897 wxPy_END_ALLOW_THREADS;
7898 } if (_result) {
7899 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDividedShape_p");
7900 _resultobj = Py_BuildValue("s",_ptemp);
7901 } else {
7902 Py_INCREF(Py_None);
7903 _resultobj = Py_None;
7904 }
7905 return _resultobj;
7906 }
7907
7908 #define wxPyDividedShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
7909 static PyObject *_wrap_wxPyDividedShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
7910 PyObject * _resultobj;
7911 wxPyDividedShape * _arg0;
7912 PyObject * _arg1;
7913 PyObject * _argo0 = 0;
7914 PyObject * _obj1 = 0;
7915 char *_kwnames[] = { "self","self", NULL };
7916
7917 self = self;
7918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape__setSelf",_kwnames,&_argo0,&_obj1))
7919 return NULL;
7920 if (_argo0) {
7921 if (_argo0 == Py_None) { _arg0 = NULL; }
7922 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
7923 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape__setSelf. Expected _wxPyDividedShape_p.");
7924 return NULL;
7925 }
7926 }
7927 {
7928 _arg1 = _obj1;
7929 }
7930 {
7931 wxPy_BEGIN_ALLOW_THREADS;
7932 wxPyDividedShape__setSelf(_arg0,_arg1);
7933
7934 wxPy_END_ALLOW_THREADS;
7935 } Py_INCREF(Py_None);
7936 _resultobj = Py_None;
7937 return _resultobj;
7938 }
7939
7940 #define wxPyDividedShape_EditRegions(_swigobj) (_swigobj->EditRegions())
7941 static PyObject *_wrap_wxPyDividedShape_EditRegions(PyObject *self, PyObject *args, PyObject *kwargs) {
7942 PyObject * _resultobj;
7943 wxPyDividedShape * _arg0;
7944 PyObject * _argo0 = 0;
7945 char *_kwnames[] = { "self", NULL };
7946
7947 self = self;
7948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_EditRegions",_kwnames,&_argo0))
7949 return NULL;
7950 if (_argo0) {
7951 if (_argo0 == Py_None) { _arg0 = NULL; }
7952 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
7953 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_EditRegions. Expected _wxPyDividedShape_p.");
7954 return NULL;
7955 }
7956 }
7957 {
7958 wxPy_BEGIN_ALLOW_THREADS;
7959 wxPyDividedShape_EditRegions(_arg0);
7960
7961 wxPy_END_ALLOW_THREADS;
7962 } Py_INCREF(Py_None);
7963 _resultobj = Py_None;
7964 return _resultobj;
7965 }
7966
7967 #define wxPyDividedShape_SetRegionSizes(_swigobj) (_swigobj->SetRegionSizes())
7968 static PyObject *_wrap_wxPyDividedShape_SetRegionSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
7969 PyObject * _resultobj;
7970 wxPyDividedShape * _arg0;
7971 PyObject * _argo0 = 0;
7972 char *_kwnames[] = { "self", NULL };
7973
7974 self = self;
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_SetRegionSizes",_kwnames,&_argo0))
7976 return NULL;
7977 if (_argo0) {
7978 if (_argo0 == Py_None) { _arg0 = NULL; }
7979 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
7980 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_SetRegionSizes. Expected _wxPyDividedShape_p.");
7981 return NULL;
7982 }
7983 }
7984 {
7985 wxPy_BEGIN_ALLOW_THREADS;
7986 wxPyDividedShape_SetRegionSizes(_arg0);
7987
7988 wxPy_END_ALLOW_THREADS;
7989 } Py_INCREF(Py_None);
7990 _resultobj = Py_None;
7991 return _resultobj;
7992 }
7993
7994 #define wxPyDividedShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
7995 static PyObject *_wrap_wxPyDividedShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
7996 PyObject * _resultobj;
7997 wxPyDividedShape * _arg0;
7998 PyObject * _argo0 = 0;
7999 char *_kwnames[] = { "self", NULL };
8000
8001 self = self;
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDividedShape_base_OnDelete",_kwnames,&_argo0))
8003 return NULL;
8004 if (_argo0) {
8005 if (_argo0 == Py_None) { _arg0 = NULL; }
8006 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8007 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDelete. Expected _wxPyDividedShape_p.");
8008 return NULL;
8009 }
8010 }
8011 {
8012 wxPy_BEGIN_ALLOW_THREADS;
8013 wxPyDividedShape_base_OnDelete(_arg0);
8014
8015 wxPy_END_ALLOW_THREADS;
8016 } Py_INCREF(Py_None);
8017 _resultobj = Py_None;
8018 return _resultobj;
8019 }
8020
8021 #define wxPyDividedShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
8022 static PyObject *_wrap_wxPyDividedShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject * _resultobj;
8024 wxPyDividedShape * _arg0;
8025 wxDC * _arg1;
8026 PyObject * _argo0 = 0;
8027 PyObject * _argo1 = 0;
8028 char *_kwnames[] = { "self","dc", NULL };
8029
8030 self = self;
8031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
8032 return NULL;
8033 if (_argo0) {
8034 if (_argo0 == Py_None) { _arg0 = NULL; }
8035 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8036 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDraw. Expected _wxPyDividedShape_p.");
8037 return NULL;
8038 }
8039 }
8040 if (_argo1) {
8041 if (_argo1 == Py_None) { _arg1 = NULL; }
8042 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8043 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDraw. Expected _wxDC_p.");
8044 return NULL;
8045 }
8046 }
8047 {
8048 wxPy_BEGIN_ALLOW_THREADS;
8049 wxPyDividedShape_base_OnDraw(_arg0,*_arg1);
8050
8051 wxPy_END_ALLOW_THREADS;
8052 } Py_INCREF(Py_None);
8053 _resultobj = Py_None;
8054 return _resultobj;
8055 }
8056
8057 #define wxPyDividedShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
8058 static PyObject *_wrap_wxPyDividedShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8059 PyObject * _resultobj;
8060 wxPyDividedShape * _arg0;
8061 wxDC * _arg1;
8062 PyObject * _argo0 = 0;
8063 PyObject * _argo1 = 0;
8064 char *_kwnames[] = { "self","dc", NULL };
8065
8066 self = self;
8067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
8068 return NULL;
8069 if (_argo0) {
8070 if (_argo0 == Py_None) { _arg0 = NULL; }
8071 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8072 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawContents. Expected _wxPyDividedShape_p.");
8073 return NULL;
8074 }
8075 }
8076 if (_argo1) {
8077 if (_argo1 == Py_None) { _arg1 = NULL; }
8078 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8079 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawContents. Expected _wxDC_p.");
8080 return NULL;
8081 }
8082 }
8083 {
8084 wxPy_BEGIN_ALLOW_THREADS;
8085 wxPyDividedShape_base_OnDrawContents(_arg0,*_arg1);
8086
8087 wxPy_END_ALLOW_THREADS;
8088 } Py_INCREF(Py_None);
8089 _resultobj = Py_None;
8090 return _resultobj;
8091 }
8092
8093 #define wxPyDividedShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
8094 static PyObject *_wrap_wxPyDividedShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
8095 PyObject * _resultobj;
8096 wxPyDividedShape * _arg0;
8097 wxDC * _arg1;
8098 bool _arg2 = (bool ) FALSE;
8099 PyObject * _argo0 = 0;
8100 PyObject * _argo1 = 0;
8101 int tempbool2 = (int) FALSE;
8102 char *_kwnames[] = { "self","dc","erase", NULL };
8103
8104 self = self;
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
8106 return NULL;
8107 if (_argo0) {
8108 if (_argo0 == Py_None) { _arg0 = NULL; }
8109 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8110 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawBranches. Expected _wxPyDividedShape_p.");
8111 return NULL;
8112 }
8113 }
8114 if (_argo1) {
8115 if (_argo1 == Py_None) { _arg1 = NULL; }
8116 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8117 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawBranches. Expected _wxDC_p.");
8118 return NULL;
8119 }
8120 }
8121 _arg2 = (bool ) tempbool2;
8122 {
8123 wxPy_BEGIN_ALLOW_THREADS;
8124 wxPyDividedShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
8125
8126 wxPy_END_ALLOW_THREADS;
8127 } Py_INCREF(Py_None);
8128 _resultobj = Py_None;
8129 return _resultobj;
8130 }
8131
8132 #define wxPyDividedShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
8133 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
8134 PyObject * _resultobj;
8135 wxPyDividedShape * _arg0;
8136 wxDC * _arg1;
8137 PyObject * _argo0 = 0;
8138 PyObject * _argo1 = 0;
8139 char *_kwnames[] = { "self","dc", NULL };
8140
8141 self = self;
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
8143 return NULL;
8144 if (_argo0) {
8145 if (_argo0 == Py_None) { _arg0 = NULL; }
8146 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8147 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLinks. Expected _wxPyDividedShape_p.");
8148 return NULL;
8149 }
8150 }
8151 if (_argo1) {
8152 if (_argo1 == Py_None) { _arg1 = NULL; }
8153 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8154 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLinks. Expected _wxDC_p.");
8155 return NULL;
8156 }
8157 }
8158 {
8159 wxPy_BEGIN_ALLOW_THREADS;
8160 wxPyDividedShape_base_OnMoveLinks(_arg0,*_arg1);
8161
8162 wxPy_END_ALLOW_THREADS;
8163 } Py_INCREF(Py_None);
8164 _resultobj = Py_None;
8165 return _resultobj;
8166 }
8167
8168 #define wxPyDividedShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
8169 static PyObject *_wrap_wxPyDividedShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
8170 PyObject * _resultobj;
8171 wxPyDividedShape * _arg0;
8172 wxDC * _arg1;
8173 PyObject * _argo0 = 0;
8174 PyObject * _argo1 = 0;
8175 char *_kwnames[] = { "self","dc", NULL };
8176
8177 self = self;
8178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnErase",_kwnames,&_argo0,&_argo1))
8179 return NULL;
8180 if (_argo0) {
8181 if (_argo0 == Py_None) { _arg0 = NULL; }
8182 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8183 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnErase. Expected _wxPyDividedShape_p.");
8184 return NULL;
8185 }
8186 }
8187 if (_argo1) {
8188 if (_argo1 == Py_None) { _arg1 = NULL; }
8189 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8190 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnErase. Expected _wxDC_p.");
8191 return NULL;
8192 }
8193 }
8194 {
8195 wxPy_BEGIN_ALLOW_THREADS;
8196 wxPyDividedShape_base_OnErase(_arg0,*_arg1);
8197
8198 wxPy_END_ALLOW_THREADS;
8199 } Py_INCREF(Py_None);
8200 _resultobj = Py_None;
8201 return _resultobj;
8202 }
8203
8204 #define wxPyDividedShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
8205 static PyObject *_wrap_wxPyDividedShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
8206 PyObject * _resultobj;
8207 wxPyDividedShape * _arg0;
8208 wxDC * _arg1;
8209 PyObject * _argo0 = 0;
8210 PyObject * _argo1 = 0;
8211 char *_kwnames[] = { "self","dc", NULL };
8212
8213 self = self;
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
8215 return NULL;
8216 if (_argo0) {
8217 if (_argo0 == Py_None) { _arg0 = NULL; }
8218 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8219 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseContents. Expected _wxPyDividedShape_p.");
8220 return NULL;
8221 }
8222 }
8223 if (_argo1) {
8224 if (_argo1 == Py_None) { _arg1 = NULL; }
8225 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8226 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseContents. Expected _wxDC_p.");
8227 return NULL;
8228 }
8229 }
8230 {
8231 wxPy_BEGIN_ALLOW_THREADS;
8232 wxPyDividedShape_base_OnEraseContents(_arg0,*_arg1);
8233
8234 wxPy_END_ALLOW_THREADS;
8235 } Py_INCREF(Py_None);
8236 _resultobj = Py_None;
8237 return _resultobj;
8238 }
8239
8240 #define wxPyDividedShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
8241 static PyObject *_wrap_wxPyDividedShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject * _resultobj;
8243 wxPyDividedShape * _arg0;
8244 wxDC * _arg1;
8245 PyObject * _argo0 = 0;
8246 PyObject * _argo1 = 0;
8247 char *_kwnames[] = { "self","dc", NULL };
8248
8249 self = self;
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
8251 return NULL;
8252 if (_argo0) {
8253 if (_argo0 == Py_None) { _arg0 = NULL; }
8254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnHighlight. Expected _wxPyDividedShape_p.");
8256 return NULL;
8257 }
8258 }
8259 if (_argo1) {
8260 if (_argo1 == Py_None) { _arg1 = NULL; }
8261 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8262 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnHighlight. Expected _wxDC_p.");
8263 return NULL;
8264 }
8265 }
8266 {
8267 wxPy_BEGIN_ALLOW_THREADS;
8268 wxPyDividedShape_base_OnHighlight(_arg0,*_arg1);
8269
8270 wxPy_END_ALLOW_THREADS;
8271 } Py_INCREF(Py_None);
8272 _resultobj = Py_None;
8273 return _resultobj;
8274 }
8275
8276 #define wxPyDividedShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8277 static PyObject *_wrap_wxPyDividedShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject * _resultobj;
8279 wxPyDividedShape * _arg0;
8280 double _arg1;
8281 double _arg2;
8282 int _arg3 = (int ) 0;
8283 int _arg4 = (int ) 0;
8284 PyObject * _argo0 = 0;
8285 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8286
8287 self = self;
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8289 return NULL;
8290 if (_argo0) {
8291 if (_argo0 == Py_None) { _arg0 = NULL; }
8292 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8293 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftClick. Expected _wxPyDividedShape_p.");
8294 return NULL;
8295 }
8296 }
8297 {
8298 wxPy_BEGIN_ALLOW_THREADS;
8299 wxPyDividedShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8300
8301 wxPy_END_ALLOW_THREADS;
8302 } Py_INCREF(Py_None);
8303 _resultobj = Py_None;
8304 return _resultobj;
8305 }
8306
8307 #define wxPyDividedShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8308 static PyObject *_wrap_wxPyDividedShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8309 PyObject * _resultobj;
8310 wxPyDividedShape * _arg0;
8311 double _arg1;
8312 double _arg2;
8313 int _arg3 = (int ) 0;
8314 int _arg4 = (int ) 0;
8315 PyObject * _argo0 = 0;
8316 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8317
8318 self = self;
8319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8320 return NULL;
8321 if (_argo0) {
8322 if (_argo0 == Py_None) { _arg0 = NULL; }
8323 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8324 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnLeftDoubleClick. Expected _wxPyDividedShape_p.");
8325 return NULL;
8326 }
8327 }
8328 {
8329 wxPy_BEGIN_ALLOW_THREADS;
8330 wxPyDividedShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8331
8332 wxPy_END_ALLOW_THREADS;
8333 } Py_INCREF(Py_None);
8334 _resultobj = Py_None;
8335 return _resultobj;
8336 }
8337
8338 #define wxPyDividedShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8339 static PyObject *_wrap_wxPyDividedShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
8340 PyObject * _resultobj;
8341 wxPyDividedShape * _arg0;
8342 double _arg1;
8343 double _arg2;
8344 int _arg3 = (int ) 0;
8345 int _arg4 = (int ) 0;
8346 PyObject * _argo0 = 0;
8347 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8348
8349 self = self;
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8351 return NULL;
8352 if (_argo0) {
8353 if (_argo0 == Py_None) { _arg0 = NULL; }
8354 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8355 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnRightClick. Expected _wxPyDividedShape_p.");
8356 return NULL;
8357 }
8358 }
8359 {
8360 wxPy_BEGIN_ALLOW_THREADS;
8361 wxPyDividedShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
8362
8363 wxPy_END_ALLOW_THREADS;
8364 } Py_INCREF(Py_None);
8365 _resultobj = Py_None;
8366 return _resultobj;
8367 }
8368
8369 #define wxPyDividedShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
8370 static PyObject *_wrap_wxPyDividedShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8371 PyObject * _resultobj;
8372 wxPyDividedShape * _arg0;
8373 double _arg1;
8374 double _arg2;
8375 PyObject * _argo0 = 0;
8376 char *_kwnames[] = { "self","x","y", NULL };
8377
8378 self = self;
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
8380 return NULL;
8381 if (_argo0) {
8382 if (_argo0 == Py_None) { _arg0 = NULL; }
8383 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8384 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSize. Expected _wxPyDividedShape_p.");
8385 return NULL;
8386 }
8387 }
8388 {
8389 wxPy_BEGIN_ALLOW_THREADS;
8390 wxPyDividedShape_base_OnSize(_arg0,_arg1,_arg2);
8391
8392 wxPy_END_ALLOW_THREADS;
8393 } Py_INCREF(Py_None);
8394 _resultobj = Py_None;
8395 return _resultobj;
8396 }
8397
8398 #define wxPyDividedShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8399 static PyObject *_wrap_wxPyDividedShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
8400 PyObject * _resultobj;
8401 bool _result;
8402 wxPyDividedShape * _arg0;
8403 wxDC * _arg1;
8404 double _arg2;
8405 double _arg3;
8406 double _arg4;
8407 double _arg5;
8408 bool _arg6 = (bool ) TRUE;
8409 PyObject * _argo0 = 0;
8410 PyObject * _argo1 = 0;
8411 int tempbool6 = (int) TRUE;
8412 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8413
8414 self = self;
8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8416 return NULL;
8417 if (_argo0) {
8418 if (_argo0 == Py_None) { _arg0 = NULL; }
8419 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8420 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePre. Expected _wxPyDividedShape_p.");
8421 return NULL;
8422 }
8423 }
8424 if (_argo1) {
8425 if (_argo1 == Py_None) { _arg1 = NULL; }
8426 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8427 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePre. Expected _wxDC_p.");
8428 return NULL;
8429 }
8430 }
8431 _arg6 = (bool ) tempbool6;
8432 {
8433 wxPy_BEGIN_ALLOW_THREADS;
8434 _result = (bool )wxPyDividedShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8435
8436 wxPy_END_ALLOW_THREADS;
8437 } _resultobj = Py_BuildValue("i",_result);
8438 return _resultobj;
8439 }
8440
8441 #define wxPyDividedShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8442 static PyObject *_wrap_wxPyDividedShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
8443 PyObject * _resultobj;
8444 wxPyDividedShape * _arg0;
8445 wxDC * _arg1;
8446 double _arg2;
8447 double _arg3;
8448 double _arg4;
8449 double _arg5;
8450 bool _arg6 = (bool ) TRUE;
8451 PyObject * _argo0 = 0;
8452 PyObject * _argo1 = 0;
8453 int tempbool6 = (int) TRUE;
8454 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
8455
8456 self = self;
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDividedShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
8458 return NULL;
8459 if (_argo0) {
8460 if (_argo0 == Py_None) { _arg0 = NULL; }
8461 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8462 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMovePost. Expected _wxPyDividedShape_p.");
8463 return NULL;
8464 }
8465 }
8466 if (_argo1) {
8467 if (_argo1 == Py_None) { _arg1 = NULL; }
8468 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8469 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMovePost. Expected _wxDC_p.");
8470 return NULL;
8471 }
8472 }
8473 _arg6 = (bool ) tempbool6;
8474 {
8475 wxPy_BEGIN_ALLOW_THREADS;
8476 wxPyDividedShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8477
8478 wxPy_END_ALLOW_THREADS;
8479 } Py_INCREF(Py_None);
8480 _resultobj = Py_None;
8481 return _resultobj;
8482 }
8483
8484 #define wxPyDividedShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8485 static PyObject *_wrap_wxPyDividedShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8486 PyObject * _resultobj;
8487 wxPyDividedShape * _arg0;
8488 bool _arg1;
8489 double _arg2;
8490 double _arg3;
8491 int _arg4 = (int ) 0;
8492 int _arg5 = (int ) 0;
8493 PyObject * _argo0 = 0;
8494 int tempbool1;
8495 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8496
8497 self = self;
8498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8499 return NULL;
8500 if (_argo0) {
8501 if (_argo0 == Py_None) { _arg0 = NULL; }
8502 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8503 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragLeft. Expected _wxPyDividedShape_p.");
8504 return NULL;
8505 }
8506 }
8507 _arg1 = (bool ) tempbool1;
8508 {
8509 wxPy_BEGIN_ALLOW_THREADS;
8510 wxPyDividedShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8511
8512 wxPy_END_ALLOW_THREADS;
8513 } Py_INCREF(Py_None);
8514 _resultobj = Py_None;
8515 return _resultobj;
8516 }
8517
8518 #define wxPyDividedShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8519 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8520 PyObject * _resultobj;
8521 wxPyDividedShape * _arg0;
8522 double _arg1;
8523 double _arg2;
8524 int _arg3 = (int ) 0;
8525 int _arg4 = (int ) 0;
8526 PyObject * _argo0 = 0;
8527 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8528
8529 self = self;
8530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8531 return NULL;
8532 if (_argo0) {
8533 if (_argo0 == Py_None) { _arg0 = NULL; }
8534 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8535 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragLeft. Expected _wxPyDividedShape_p.");
8536 return NULL;
8537 }
8538 }
8539 {
8540 wxPy_BEGIN_ALLOW_THREADS;
8541 wxPyDividedShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8542
8543 wxPy_END_ALLOW_THREADS;
8544 } Py_INCREF(Py_None);
8545 _resultobj = Py_None;
8546 return _resultobj;
8547 }
8548
8549 #define wxPyDividedShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8550 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8551 PyObject * _resultobj;
8552 wxPyDividedShape * _arg0;
8553 double _arg1;
8554 double _arg2;
8555 int _arg3 = (int ) 0;
8556 int _arg4 = (int ) 0;
8557 PyObject * _argo0 = 0;
8558 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8559
8560 self = self;
8561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8562 return NULL;
8563 if (_argo0) {
8564 if (_argo0 == Py_None) { _arg0 = NULL; }
8565 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8566 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragLeft. Expected _wxPyDividedShape_p.");
8567 return NULL;
8568 }
8569 }
8570 {
8571 wxPy_BEGIN_ALLOW_THREADS;
8572 wxPyDividedShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
8573
8574 wxPy_END_ALLOW_THREADS;
8575 } Py_INCREF(Py_None);
8576 _resultobj = Py_None;
8577 return _resultobj;
8578 }
8579
8580 #define wxPyDividedShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8581 static PyObject *_wrap_wxPyDividedShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8582 PyObject * _resultobj;
8583 wxPyDividedShape * _arg0;
8584 bool _arg1;
8585 double _arg2;
8586 double _arg3;
8587 int _arg4 = (int ) 0;
8588 int _arg5 = (int ) 0;
8589 PyObject * _argo0 = 0;
8590 int tempbool1;
8591 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
8592
8593 self = self;
8594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDividedShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
8595 return NULL;
8596 if (_argo0) {
8597 if (_argo0 == Py_None) { _arg0 = NULL; }
8598 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8599 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDragRight. Expected _wxPyDividedShape_p.");
8600 return NULL;
8601 }
8602 }
8603 _arg1 = (bool ) tempbool1;
8604 {
8605 wxPy_BEGIN_ALLOW_THREADS;
8606 wxPyDividedShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8607
8608 wxPy_END_ALLOW_THREADS;
8609 } Py_INCREF(Py_None);
8610 _resultobj = Py_None;
8611 return _resultobj;
8612 }
8613
8614 #define wxPyDividedShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8615 static PyObject *_wrap_wxPyDividedShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8616 PyObject * _resultobj;
8617 wxPyDividedShape * _arg0;
8618 double _arg1;
8619 double _arg2;
8620 int _arg3 = (int ) 0;
8621 int _arg4 = (int ) 0;
8622 PyObject * _argo0 = 0;
8623 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8624
8625 self = self;
8626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8627 return NULL;
8628 if (_argo0) {
8629 if (_argo0 == Py_None) { _arg0 = NULL; }
8630 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8631 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginDragRight. Expected _wxPyDividedShape_p.");
8632 return NULL;
8633 }
8634 }
8635 {
8636 wxPy_BEGIN_ALLOW_THREADS;
8637 wxPyDividedShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8638
8639 wxPy_END_ALLOW_THREADS;
8640 } Py_INCREF(Py_None);
8641 _resultobj = Py_None;
8642 return _resultobj;
8643 }
8644
8645 #define wxPyDividedShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
8646 static PyObject *_wrap_wxPyDividedShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject * _resultobj;
8648 wxPyDividedShape * _arg0;
8649 double _arg1;
8650 double _arg2;
8651 int _arg3 = (int ) 0;
8652 int _arg4 = (int ) 0;
8653 PyObject * _argo0 = 0;
8654 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
8655
8656 self = self;
8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDividedShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
8658 return NULL;
8659 if (_argo0) {
8660 if (_argo0 == Py_None) { _arg0 = NULL; }
8661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndDragRight. Expected _wxPyDividedShape_p.");
8663 return NULL;
8664 }
8665 }
8666 {
8667 wxPy_BEGIN_ALLOW_THREADS;
8668 wxPyDividedShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
8669
8670 wxPy_END_ALLOW_THREADS;
8671 } Py_INCREF(Py_None);
8672 _resultobj = Py_None;
8673 return _resultobj;
8674 }
8675
8676 #define wxPyDividedShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8677 static PyObject *_wrap_wxPyDividedShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject * _resultobj;
8679 wxPyDividedShape * _arg0;
8680 wxDC * _arg1;
8681 double _arg2;
8682 double _arg3;
8683 double _arg4;
8684 double _arg5;
8685 PyObject * _argo0 = 0;
8686 PyObject * _argo1 = 0;
8687 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
8688
8689 self = self;
8690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDividedShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8691 return NULL;
8692 if (_argo0) {
8693 if (_argo0 == Py_None) { _arg0 = NULL; }
8694 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8695 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawOutline. Expected _wxPyDividedShape_p.");
8696 return NULL;
8697 }
8698 }
8699 if (_argo1) {
8700 if (_argo1 == Py_None) { _arg1 = NULL; }
8701 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8702 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawOutline. Expected _wxDC_p.");
8703 return NULL;
8704 }
8705 }
8706 {
8707 wxPy_BEGIN_ALLOW_THREADS;
8708 wxPyDividedShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
8709
8710 wxPy_END_ALLOW_THREADS;
8711 } Py_INCREF(Py_None);
8712 _resultobj = Py_None;
8713 return _resultobj;
8714 }
8715
8716 #define wxPyDividedShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
8717 static PyObject *_wrap_wxPyDividedShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8718 PyObject * _resultobj;
8719 wxPyDividedShape * _arg0;
8720 wxDC * _arg1;
8721 PyObject * _argo0 = 0;
8722 PyObject * _argo1 = 0;
8723 char *_kwnames[] = { "self","dc", NULL };
8724
8725 self = self;
8726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
8727 return NULL;
8728 if (_argo0) {
8729 if (_argo0 == Py_None) { _arg0 = NULL; }
8730 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8731 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxPyDividedShape_p.");
8732 return NULL;
8733 }
8734 }
8735 if (_argo1) {
8736 if (_argo1 == Py_None) { _arg1 = NULL; }
8737 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8738 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnDrawControlPoints. Expected _wxDC_p.");
8739 return NULL;
8740 }
8741 }
8742 {
8743 wxPy_BEGIN_ALLOW_THREADS;
8744 wxPyDividedShape_base_OnDrawControlPoints(_arg0,*_arg1);
8745
8746 wxPy_END_ALLOW_THREADS;
8747 } Py_INCREF(Py_None);
8748 _resultobj = Py_None;
8749 return _resultobj;
8750 }
8751
8752 #define wxPyDividedShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
8753 static PyObject *_wrap_wxPyDividedShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
8754 PyObject * _resultobj;
8755 wxPyDividedShape * _arg0;
8756 wxDC * _arg1;
8757 PyObject * _argo0 = 0;
8758 PyObject * _argo1 = 0;
8759 char *_kwnames[] = { "self","dc", NULL };
8760
8761 self = self;
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDividedShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
8763 return NULL;
8764 if (_argo0) {
8765 if (_argo0 == Py_None) { _arg0 = NULL; }
8766 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8767 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxPyDividedShape_p.");
8768 return NULL;
8769 }
8770 }
8771 if (_argo1) {
8772 if (_argo1 == Py_None) { _arg1 = NULL; }
8773 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8774 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnEraseControlPoints. Expected _wxDC_p.");
8775 return NULL;
8776 }
8777 }
8778 {
8779 wxPy_BEGIN_ALLOW_THREADS;
8780 wxPyDividedShape_base_OnEraseControlPoints(_arg0,*_arg1);
8781
8782 wxPy_END_ALLOW_THREADS;
8783 } Py_INCREF(Py_None);
8784 _resultobj = Py_None;
8785 return _resultobj;
8786 }
8787
8788 #define wxPyDividedShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
8789 static PyObject *_wrap_wxPyDividedShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
8790 PyObject * _resultobj;
8791 wxPyDividedShape * _arg0;
8792 wxDC * _arg1;
8793 bool _arg2 = (bool ) TRUE;
8794 PyObject * _argo0 = 0;
8795 PyObject * _argo1 = 0;
8796 int tempbool2 = (int) TRUE;
8797 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
8798
8799 self = self;
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDividedShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
8801 return NULL;
8802 if (_argo0) {
8803 if (_argo0 == Py_None) { _arg0 = NULL; }
8804 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8805 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnMoveLink. Expected _wxPyDividedShape_p.");
8806 return NULL;
8807 }
8808 }
8809 if (_argo1) {
8810 if (_argo1 == Py_None) { _arg1 = NULL; }
8811 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
8812 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnMoveLink. Expected _wxDC_p.");
8813 return NULL;
8814 }
8815 }
8816 _arg2 = (bool ) tempbool2;
8817 {
8818 wxPy_BEGIN_ALLOW_THREADS;
8819 wxPyDividedShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
8820
8821 wxPy_END_ALLOW_THREADS;
8822 } Py_INCREF(Py_None);
8823 _resultobj = Py_None;
8824 return _resultobj;
8825 }
8826
8827 #define wxPyDividedShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
8828 static PyObject *_wrap_wxPyDividedShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject * _resultobj;
8830 wxPyDividedShape * _arg0;
8831 wxControlPoint * _arg1;
8832 bool _arg2;
8833 double _arg3;
8834 double _arg4;
8835 int _arg5 = (int ) 0;
8836 int _arg6 = (int ) 0;
8837 PyObject * _argo0 = 0;
8838 PyObject * _argo1 = 0;
8839 int tempbool2;
8840 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
8841
8842 self = self;
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDividedShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
8844 return NULL;
8845 if (_argo0) {
8846 if (_argo0 == Py_None) { _arg0 = NULL; }
8847 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8848 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxPyDividedShape_p.");
8849 return NULL;
8850 }
8851 }
8852 if (_argo1) {
8853 if (_argo1 == Py_None) { _arg1 = NULL; }
8854 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
8855 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
8856 return NULL;
8857 }
8858 }
8859 _arg2 = (bool ) tempbool2;
8860 {
8861 wxPy_BEGIN_ALLOW_THREADS;
8862 wxPyDividedShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
8863
8864 wxPy_END_ALLOW_THREADS;
8865 } Py_INCREF(Py_None);
8866 _resultobj = Py_None;
8867 return _resultobj;
8868 }
8869
8870 #define wxPyDividedShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8871 static PyObject *_wrap_wxPyDividedShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8872 PyObject * _resultobj;
8873 wxPyDividedShape * _arg0;
8874 wxControlPoint * _arg1;
8875 double _arg2;
8876 double _arg3;
8877 int _arg4 = (int ) 0;
8878 int _arg5 = (int ) 0;
8879 PyObject * _argo0 = 0;
8880 PyObject * _argo1 = 0;
8881 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
8882
8883 self = self;
8884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8885 return NULL;
8886 if (_argo0) {
8887 if (_argo0 == Py_None) { _arg0 = NULL; }
8888 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8889 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxPyDividedShape_p.");
8890 return NULL;
8891 }
8892 }
8893 if (_argo1) {
8894 if (_argo1 == Py_None) { _arg1 = NULL; }
8895 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
8896 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
8897 return NULL;
8898 }
8899 }
8900 {
8901 wxPy_BEGIN_ALLOW_THREADS;
8902 wxPyDividedShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8903
8904 wxPy_END_ALLOW_THREADS;
8905 } Py_INCREF(Py_None);
8906 _resultobj = Py_None;
8907 return _resultobj;
8908 }
8909
8910 #define wxPyDividedShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
8911 static PyObject *_wrap_wxPyDividedShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
8912 PyObject * _resultobj;
8913 wxPyDividedShape * _arg0;
8914 wxControlPoint * _arg1;
8915 double _arg2;
8916 double _arg3;
8917 int _arg4 = (int ) 0;
8918 int _arg5 = (int ) 0;
8919 PyObject * _argo0 = 0;
8920 PyObject * _argo1 = 0;
8921 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
8922
8923 self = self;
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDividedShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
8925 return NULL;
8926 if (_argo0) {
8927 if (_argo0 == Py_None) { _arg0 = NULL; }
8928 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8929 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxPyDividedShape_p.");
8930 return NULL;
8931 }
8932 }
8933 if (_argo1) {
8934 if (_argo1 == Py_None) { _arg1 = NULL; }
8935 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
8936 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDividedShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
8937 return NULL;
8938 }
8939 }
8940 {
8941 wxPy_BEGIN_ALLOW_THREADS;
8942 wxPyDividedShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
8943
8944 wxPy_END_ALLOW_THREADS;
8945 } Py_INCREF(Py_None);
8946 _resultobj = Py_None;
8947 return _resultobj;
8948 }
8949
8950 #define wxPyDividedShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
8951 static PyObject *_wrap_wxPyDividedShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8952 PyObject * _resultobj;
8953 wxPyDividedShape * _arg0;
8954 double _arg1;
8955 double _arg2;
8956 PyObject * _argo0 = 0;
8957 char *_kwnames[] = { "self","w","h", NULL };
8958
8959 self = self;
8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
8961 return NULL;
8962 if (_argo0) {
8963 if (_argo0 == Py_None) { _arg0 = NULL; }
8964 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8965 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnBeginSize. Expected _wxPyDividedShape_p.");
8966 return NULL;
8967 }
8968 }
8969 {
8970 wxPy_BEGIN_ALLOW_THREADS;
8971 wxPyDividedShape_base_OnBeginSize(_arg0,_arg1,_arg2);
8972
8973 wxPy_END_ALLOW_THREADS;
8974 } Py_INCREF(Py_None);
8975 _resultobj = Py_None;
8976 return _resultobj;
8977 }
8978
8979 #define wxPyDividedShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
8980 static PyObject *_wrap_wxPyDividedShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject * _resultobj;
8982 wxPyDividedShape * _arg0;
8983 double _arg1;
8984 double _arg2;
8985 PyObject * _argo0 = 0;
8986 char *_kwnames[] = { "self","w","h", NULL };
8987
8988 self = self;
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDividedShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
8990 return NULL;
8991 if (_argo0) {
8992 if (_argo0 == Py_None) { _arg0 = NULL; }
8993 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDividedShape_p")) {
8994 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDividedShape_base_OnEndSize. Expected _wxPyDividedShape_p.");
8995 return NULL;
8996 }
8997 }
8998 {
8999 wxPy_BEGIN_ALLOW_THREADS;
9000 wxPyDividedShape_base_OnEndSize(_arg0,_arg1,_arg2);
9001
9002 wxPy_END_ALLOW_THREADS;
9003 } Py_INCREF(Py_None);
9004 _resultobj = Py_None;
9005 return _resultobj;
9006 }
9007
9008 static void *SwigwxPyDivisionShapeTowxPyCompositeShape(void *ptr) {
9009 wxPyDivisionShape *src;
9010 wxPyCompositeShape *dest;
9011 src = (wxPyDivisionShape *) ptr;
9012 dest = (wxPyCompositeShape *) src;
9013 return (void *) dest;
9014 }
9015
9016 static void *SwigwxPyDivisionShapeTowxPyRectangleShape(void *ptr) {
9017 wxPyDivisionShape *src;
9018 wxPyRectangleShape *dest;
9019 src = (wxPyDivisionShape *) ptr;
9020 dest = (wxPyRectangleShape *) src;
9021 return (void *) dest;
9022 }
9023
9024 static void *SwigwxPyDivisionShapeTowxPyShape(void *ptr) {
9025 wxPyDivisionShape *src;
9026 wxPyShape *dest;
9027 src = (wxPyDivisionShape *) ptr;
9028 dest = (wxPyShape *) src;
9029 return (void *) dest;
9030 }
9031
9032 static void *SwigwxPyDivisionShapeTowxPyShapeEvtHandler(void *ptr) {
9033 wxPyDivisionShape *src;
9034 wxPyShapeEvtHandler *dest;
9035 src = (wxPyDivisionShape *) ptr;
9036 dest = (wxPyShapeEvtHandler *) src;
9037 return (void *) dest;
9038 }
9039
9040 #define new_wxPyDivisionShape() (new wxPyDivisionShape())
9041 static PyObject *_wrap_new_wxPyDivisionShape(PyObject *self, PyObject *args, PyObject *kwargs) {
9042 PyObject * _resultobj;
9043 wxPyDivisionShape * _result;
9044 char *_kwnames[] = { NULL };
9045 char _ptemp[128];
9046
9047 self = self;
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,":new_wxPyDivisionShape",_kwnames))
9049 return NULL;
9050 {
9051 wxPy_BEGIN_ALLOW_THREADS;
9052 _result = (wxPyDivisionShape *)new_wxPyDivisionShape();
9053
9054 wxPy_END_ALLOW_THREADS;
9055 } if (_result) {
9056 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
9057 _resultobj = Py_BuildValue("s",_ptemp);
9058 } else {
9059 Py_INCREF(Py_None);
9060 _resultobj = Py_None;
9061 }
9062 return _resultobj;
9063 }
9064
9065 #define wxPyDivisionShape__setSelf(_swigobj,_swigarg0) (_swigobj->_setSelf(_swigarg0))
9066 static PyObject *_wrap_wxPyDivisionShape__setSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
9067 PyObject * _resultobj;
9068 wxPyDivisionShape * _arg0;
9069 PyObject * _arg1;
9070 PyObject * _argo0 = 0;
9071 PyObject * _obj1 = 0;
9072 char *_kwnames[] = { "self","self", NULL };
9073
9074 self = self;
9075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape__setSelf",_kwnames,&_argo0,&_obj1))
9076 return NULL;
9077 if (_argo0) {
9078 if (_argo0 == Py_None) { _arg0 = NULL; }
9079 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9080 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape__setSelf. Expected _wxPyDivisionShape_p.");
9081 return NULL;
9082 }
9083 }
9084 {
9085 _arg1 = _obj1;
9086 }
9087 {
9088 wxPy_BEGIN_ALLOW_THREADS;
9089 wxPyDivisionShape__setSelf(_arg0,_arg1);
9090
9091 wxPy_END_ALLOW_THREADS;
9092 } Py_INCREF(Py_None);
9093 _resultobj = Py_None;
9094 return _resultobj;
9095 }
9096
9097 #define wxPyDivisionShape_AdjustBottom(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustBottom(_swigarg0,_swigarg1))
9098 static PyObject *_wrap_wxPyDivisionShape_AdjustBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
9099 PyObject * _resultobj;
9100 wxPyDivisionShape * _arg0;
9101 double _arg1;
9102 bool _arg2;
9103 PyObject * _argo0 = 0;
9104 int tempbool2;
9105 char *_kwnames[] = { "self","bottom","test", NULL };
9106
9107 self = self;
9108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustBottom",_kwnames,&_argo0,&_arg1,&tempbool2))
9109 return NULL;
9110 if (_argo0) {
9111 if (_argo0 == Py_None) { _arg0 = NULL; }
9112 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9113 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustBottom. Expected _wxPyDivisionShape_p.");
9114 return NULL;
9115 }
9116 }
9117 _arg2 = (bool ) tempbool2;
9118 {
9119 wxPy_BEGIN_ALLOW_THREADS;
9120 wxPyDivisionShape_AdjustBottom(_arg0,_arg1,_arg2);
9121
9122 wxPy_END_ALLOW_THREADS;
9123 } Py_INCREF(Py_None);
9124 _resultobj = Py_None;
9125 return _resultobj;
9126 }
9127
9128 #define wxPyDivisionShape_AdjustLeft(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustLeft(_swigarg0,_swigarg1))
9129 static PyObject *_wrap_wxPyDivisionShape_AdjustLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject * _resultobj;
9131 wxPyDivisionShape * _arg0;
9132 double _arg1;
9133 bool _arg2;
9134 PyObject * _argo0 = 0;
9135 int tempbool2;
9136 char *_kwnames[] = { "self","left","test", NULL };
9137
9138 self = self;
9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustLeft",_kwnames,&_argo0,&_arg1,&tempbool2))
9140 return NULL;
9141 if (_argo0) {
9142 if (_argo0 == Py_None) { _arg0 = NULL; }
9143 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9144 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustLeft. Expected _wxPyDivisionShape_p.");
9145 return NULL;
9146 }
9147 }
9148 _arg2 = (bool ) tempbool2;
9149 {
9150 wxPy_BEGIN_ALLOW_THREADS;
9151 wxPyDivisionShape_AdjustLeft(_arg0,_arg1,_arg2);
9152
9153 wxPy_END_ALLOW_THREADS;
9154 } Py_INCREF(Py_None);
9155 _resultobj = Py_None;
9156 return _resultobj;
9157 }
9158
9159 #define wxPyDivisionShape_AdjustRight(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustRight(_swigarg0,_swigarg1))
9160 static PyObject *_wrap_wxPyDivisionShape_AdjustRight(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject * _resultobj;
9162 wxPyDivisionShape * _arg0;
9163 double _arg1;
9164 bool _arg2;
9165 PyObject * _argo0 = 0;
9166 int tempbool2;
9167 char *_kwnames[] = { "self","right","test", NULL };
9168
9169 self = self;
9170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustRight",_kwnames,&_argo0,&_arg1,&tempbool2))
9171 return NULL;
9172 if (_argo0) {
9173 if (_argo0 == Py_None) { _arg0 = NULL; }
9174 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9175 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustRight. Expected _wxPyDivisionShape_p.");
9176 return NULL;
9177 }
9178 }
9179 _arg2 = (bool ) tempbool2;
9180 {
9181 wxPy_BEGIN_ALLOW_THREADS;
9182 wxPyDivisionShape_AdjustRight(_arg0,_arg1,_arg2);
9183
9184 wxPy_END_ALLOW_THREADS;
9185 } Py_INCREF(Py_None);
9186 _resultobj = Py_None;
9187 return _resultobj;
9188 }
9189
9190 #define wxPyDivisionShape_AdjustTop(_swigobj,_swigarg0,_swigarg1) (_swigobj->AdjustTop(_swigarg0,_swigarg1))
9191 static PyObject *_wrap_wxPyDivisionShape_AdjustTop(PyObject *self, PyObject *args, PyObject *kwargs) {
9192 PyObject * _resultobj;
9193 wxPyDivisionShape * _arg0;
9194 double _arg1;
9195 bool _arg2;
9196 PyObject * _argo0 = 0;
9197 int tempbool2;
9198 char *_kwnames[] = { "self","top","test", NULL };
9199
9200 self = self;
9201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odi:wxPyDivisionShape_AdjustTop",_kwnames,&_argo0,&_arg1,&tempbool2))
9202 return NULL;
9203 if (_argo0) {
9204 if (_argo0 == Py_None) { _arg0 = NULL; }
9205 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9206 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_AdjustTop. Expected _wxPyDivisionShape_p.");
9207 return NULL;
9208 }
9209 }
9210 _arg2 = (bool ) tempbool2;
9211 {
9212 wxPy_BEGIN_ALLOW_THREADS;
9213 wxPyDivisionShape_AdjustTop(_arg0,_arg1,_arg2);
9214
9215 wxPy_END_ALLOW_THREADS;
9216 } Py_INCREF(Py_None);
9217 _resultobj = Py_None;
9218 return _resultobj;
9219 }
9220
9221 #define wxPyDivisionShape_Divide(_swigobj,_swigarg0) (_swigobj->Divide(_swigarg0))
9222 static PyObject *_wrap_wxPyDivisionShape_Divide(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject * _resultobj;
9224 wxPyDivisionShape * _arg0;
9225 int _arg1;
9226 PyObject * _argo0 = 0;
9227 char *_kwnames[] = { "self","direction", NULL };
9228
9229 self = self;
9230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_Divide",_kwnames,&_argo0,&_arg1))
9231 return NULL;
9232 if (_argo0) {
9233 if (_argo0 == Py_None) { _arg0 = NULL; }
9234 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9235 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_Divide. Expected _wxPyDivisionShape_p.");
9236 return NULL;
9237 }
9238 }
9239 {
9240 wxPy_BEGIN_ALLOW_THREADS;
9241 wxPyDivisionShape_Divide(_arg0,_arg1);
9242
9243 wxPy_END_ALLOW_THREADS;
9244 } Py_INCREF(Py_None);
9245 _resultobj = Py_None;
9246 return _resultobj;
9247 }
9248
9249 #define wxPyDivisionShape_EditEdge(_swigobj,_swigarg0) (_swigobj->EditEdge(_swigarg0))
9250 static PyObject *_wrap_wxPyDivisionShape_EditEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
9251 PyObject * _resultobj;
9252 wxPyDivisionShape * _arg0;
9253 int _arg1;
9254 PyObject * _argo0 = 0;
9255 char *_kwnames[] = { "self","side", NULL };
9256
9257 self = self;
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_EditEdge",_kwnames,&_argo0,&_arg1))
9259 return NULL;
9260 if (_argo0) {
9261 if (_argo0 == Py_None) { _arg0 = NULL; }
9262 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9263 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_EditEdge. Expected _wxPyDivisionShape_p.");
9264 return NULL;
9265 }
9266 }
9267 {
9268 wxPy_BEGIN_ALLOW_THREADS;
9269 wxPyDivisionShape_EditEdge(_arg0,_arg1);
9270
9271 wxPy_END_ALLOW_THREADS;
9272 } Py_INCREF(Py_None);
9273 _resultobj = Py_None;
9274 return _resultobj;
9275 }
9276
9277 #define wxPyDivisionShape_GetBottomSide(_swigobj) (_swigobj->GetBottomSide())
9278 static PyObject *_wrap_wxPyDivisionShape_GetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject * _resultobj;
9280 wxPyDivisionShape * _result;
9281 wxPyDivisionShape * _arg0;
9282 PyObject * _argo0 = 0;
9283 char *_kwnames[] = { "self", NULL };
9284 char _ptemp[128];
9285
9286 self = self;
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetBottomSide",_kwnames,&_argo0))
9288 return NULL;
9289 if (_argo0) {
9290 if (_argo0 == Py_None) { _arg0 = NULL; }
9291 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9292 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetBottomSide. Expected _wxPyDivisionShape_p.");
9293 return NULL;
9294 }
9295 }
9296 {
9297 wxPy_BEGIN_ALLOW_THREADS;
9298 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetBottomSide(_arg0);
9299
9300 wxPy_END_ALLOW_THREADS;
9301 } if (_result) {
9302 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
9303 _resultobj = Py_BuildValue("s",_ptemp);
9304 } else {
9305 Py_INCREF(Py_None);
9306 _resultobj = Py_None;
9307 }
9308 return _resultobj;
9309 }
9310
9311 #define wxPyDivisionShape_GetHandleSide(_swigobj) (_swigobj->GetHandleSide())
9312 static PyObject *_wrap_wxPyDivisionShape_GetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9313 PyObject * _resultobj;
9314 int _result;
9315 wxPyDivisionShape * _arg0;
9316 PyObject * _argo0 = 0;
9317 char *_kwnames[] = { "self", NULL };
9318
9319 self = self;
9320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetHandleSide",_kwnames,&_argo0))
9321 return NULL;
9322 if (_argo0) {
9323 if (_argo0 == Py_None) { _arg0 = NULL; }
9324 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9325 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetHandleSide. Expected _wxPyDivisionShape_p.");
9326 return NULL;
9327 }
9328 }
9329 {
9330 wxPy_BEGIN_ALLOW_THREADS;
9331 _result = (int )wxPyDivisionShape_GetHandleSide(_arg0);
9332
9333 wxPy_END_ALLOW_THREADS;
9334 } _resultobj = Py_BuildValue("i",_result);
9335 return _resultobj;
9336 }
9337
9338 #define wxPyDivisionShape_GetLeftSide(_swigobj) (_swigobj->GetLeftSide())
9339 static PyObject *_wrap_wxPyDivisionShape_GetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject * _resultobj;
9341 wxPyDivisionShape * _result;
9342 wxPyDivisionShape * _arg0;
9343 PyObject * _argo0 = 0;
9344 char *_kwnames[] = { "self", NULL };
9345 char _ptemp[128];
9346
9347 self = self;
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSide",_kwnames,&_argo0))
9349 return NULL;
9350 if (_argo0) {
9351 if (_argo0 == Py_None) { _arg0 = NULL; }
9352 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9353 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSide. Expected _wxPyDivisionShape_p.");
9354 return NULL;
9355 }
9356 }
9357 {
9358 wxPy_BEGIN_ALLOW_THREADS;
9359 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetLeftSide(_arg0);
9360
9361 wxPy_END_ALLOW_THREADS;
9362 } if (_result) {
9363 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
9364 _resultobj = Py_BuildValue("s",_ptemp);
9365 } else {
9366 Py_INCREF(Py_None);
9367 _resultobj = Py_None;
9368 }
9369 return _resultobj;
9370 }
9371
9372 #define wxPyDivisionShape_GetLeftSideColour(_swigobj) (_swigobj->GetLeftSideColour())
9373 static PyObject *_wrap_wxPyDivisionShape_GetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9374 PyObject * _resultobj;
9375 wxString * _result;
9376 wxPyDivisionShape * _arg0;
9377 PyObject * _argo0 = 0;
9378 char *_kwnames[] = { "self", NULL };
9379
9380 self = self;
9381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSideColour",_kwnames,&_argo0))
9382 return NULL;
9383 if (_argo0) {
9384 if (_argo0 == Py_None) { _arg0 = NULL; }
9385 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9386 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSideColour. Expected _wxPyDivisionShape_p.");
9387 return NULL;
9388 }
9389 }
9390 {
9391 wxPy_BEGIN_ALLOW_THREADS;
9392 _result = new wxString (wxPyDivisionShape_GetLeftSideColour(_arg0));
9393
9394 wxPy_END_ALLOW_THREADS;
9395 }{
9396 _resultobj = PyString_FromString(WXSTRINGCAST *(_result));
9397 }
9398 {
9399 delete _result;
9400 }
9401 return _resultobj;
9402 }
9403
9404 #define wxPyDivisionShape_GetLeftSidePen(_swigobj) (_swigobj->GetLeftSidePen())
9405 static PyObject *_wrap_wxPyDivisionShape_GetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9406 PyObject * _resultobj;
9407 wxPen * _result;
9408 wxPyDivisionShape * _arg0;
9409 PyObject * _argo0 = 0;
9410 char *_kwnames[] = { "self", NULL };
9411 char _ptemp[128];
9412
9413 self = self;
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetLeftSidePen",_kwnames,&_argo0))
9415 return NULL;
9416 if (_argo0) {
9417 if (_argo0 == Py_None) { _arg0 = NULL; }
9418 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9419 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetLeftSidePen. Expected _wxPyDivisionShape_p.");
9420 return NULL;
9421 }
9422 }
9423 {
9424 wxPy_BEGIN_ALLOW_THREADS;
9425 _result = (wxPen *)wxPyDivisionShape_GetLeftSidePen(_arg0);
9426
9427 wxPy_END_ALLOW_THREADS;
9428 } if (_result) {
9429 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
9430 _resultobj = Py_BuildValue("s",_ptemp);
9431 } else {
9432 Py_INCREF(Py_None);
9433 _resultobj = Py_None;
9434 }
9435 return _resultobj;
9436 }
9437
9438 #define wxPyDivisionShape_GetRightSide(_swigobj) (_swigobj->GetRightSide())
9439 static PyObject *_wrap_wxPyDivisionShape_GetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9440 PyObject * _resultobj;
9441 wxPyDivisionShape * _result;
9442 wxPyDivisionShape * _arg0;
9443 PyObject * _argo0 = 0;
9444 char *_kwnames[] = { "self", NULL };
9445 char _ptemp[128];
9446
9447 self = self;
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetRightSide",_kwnames,&_argo0))
9449 return NULL;
9450 if (_argo0) {
9451 if (_argo0 == Py_None) { _arg0 = NULL; }
9452 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9453 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetRightSide. Expected _wxPyDivisionShape_p.");
9454 return NULL;
9455 }
9456 }
9457 {
9458 wxPy_BEGIN_ALLOW_THREADS;
9459 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetRightSide(_arg0);
9460
9461 wxPy_END_ALLOW_THREADS;
9462 } if (_result) {
9463 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
9464 _resultobj = Py_BuildValue("s",_ptemp);
9465 } else {
9466 Py_INCREF(Py_None);
9467 _resultobj = Py_None;
9468 }
9469 return _resultobj;
9470 }
9471
9472 #define wxPyDivisionShape_GetTopSide(_swigobj) (_swigobj->GetTopSide())
9473 static PyObject *_wrap_wxPyDivisionShape_GetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9474 PyObject * _resultobj;
9475 wxPyDivisionShape * _result;
9476 wxPyDivisionShape * _arg0;
9477 PyObject * _argo0 = 0;
9478 char *_kwnames[] = { "self", NULL };
9479 char _ptemp[128];
9480
9481 self = self;
9482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSide",_kwnames,&_argo0))
9483 return NULL;
9484 if (_argo0) {
9485 if (_argo0 == Py_None) { _arg0 = NULL; }
9486 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9487 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSide. Expected _wxPyDivisionShape_p.");
9488 return NULL;
9489 }
9490 }
9491 {
9492 wxPy_BEGIN_ALLOW_THREADS;
9493 _result = (wxPyDivisionShape *)wxPyDivisionShape_GetTopSide(_arg0);
9494
9495 wxPy_END_ALLOW_THREADS;
9496 } if (_result) {
9497 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPyDivisionShape_p");
9498 _resultobj = Py_BuildValue("s",_ptemp);
9499 } else {
9500 Py_INCREF(Py_None);
9501 _resultobj = Py_None;
9502 }
9503 return _resultobj;
9504 }
9505
9506 #define wxPyDivisionShape_GetTopSidePen(_swigobj) (_swigobj->GetTopSidePen())
9507 static PyObject *_wrap_wxPyDivisionShape_GetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject * _resultobj;
9509 wxPen * _result;
9510 wxPyDivisionShape * _arg0;
9511 PyObject * _argo0 = 0;
9512 char *_kwnames[] = { "self", NULL };
9513 char _ptemp[128];
9514
9515 self = self;
9516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_GetTopSidePen",_kwnames,&_argo0))
9517 return NULL;
9518 if (_argo0) {
9519 if (_argo0 == Py_None) { _arg0 = NULL; }
9520 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9521 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_GetTopSidePen. Expected _wxPyDivisionShape_p.");
9522 return NULL;
9523 }
9524 }
9525 {
9526 wxPy_BEGIN_ALLOW_THREADS;
9527 _result = (wxPen *)wxPyDivisionShape_GetTopSidePen(_arg0);
9528
9529 wxPy_END_ALLOW_THREADS;
9530 } if (_result) {
9531 SWIG_MakePtr(_ptemp, (char *) _result,"_wxPen_p");
9532 _resultobj = Py_BuildValue("s",_ptemp);
9533 } else {
9534 Py_INCREF(Py_None);
9535 _resultobj = Py_None;
9536 }
9537 return _resultobj;
9538 }
9539
9540 #define wxPyDivisionShape_ResizeAdjoining(_swigobj,_swigarg0,_swigarg1,_swigarg2) (_swigobj->ResizeAdjoining(_swigarg0,_swigarg1,_swigarg2))
9541 static PyObject *_wrap_wxPyDivisionShape_ResizeAdjoining(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject * _resultobj;
9543 wxPyDivisionShape * _arg0;
9544 int _arg1;
9545 double _arg2;
9546 bool _arg3;
9547 PyObject * _argo0 = 0;
9548 int tempbool3;
9549 char *_kwnames[] = { "self","side","newPos","test", NULL };
9550
9551 self = self;
9552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidi:wxPyDivisionShape_ResizeAdjoining",_kwnames,&_argo0,&_arg1,&_arg2,&tempbool3))
9553 return NULL;
9554 if (_argo0) {
9555 if (_argo0 == Py_None) { _arg0 = NULL; }
9556 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9557 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_ResizeAdjoining. Expected _wxPyDivisionShape_p.");
9558 return NULL;
9559 }
9560 }
9561 _arg3 = (bool ) tempbool3;
9562 {
9563 wxPy_BEGIN_ALLOW_THREADS;
9564 wxPyDivisionShape_ResizeAdjoining(_arg0,_arg1,_arg2,_arg3);
9565
9566 wxPy_END_ALLOW_THREADS;
9567 } Py_INCREF(Py_None);
9568 _resultobj = Py_None;
9569 return _resultobj;
9570 }
9571
9572 #define wxPyDivisionShape_PopupMenu(_swigobj,_swigarg0,_swigarg1) (_swigobj->PopupMenu(_swigarg0,_swigarg1))
9573 static PyObject *_wrap_wxPyDivisionShape_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9574 PyObject * _resultobj;
9575 wxPyDivisionShape * _arg0;
9576 double _arg1;
9577 double _arg2;
9578 PyObject * _argo0 = 0;
9579 char *_kwnames[] = { "self","x","y", NULL };
9580
9581 self = self;
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_PopupMenu",_kwnames,&_argo0,&_arg1,&_arg2))
9583 return NULL;
9584 if (_argo0) {
9585 if (_argo0 == Py_None) { _arg0 = NULL; }
9586 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9587 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_PopupMenu. Expected _wxPyDivisionShape_p.");
9588 return NULL;
9589 }
9590 }
9591 {
9592 wxPy_BEGIN_ALLOW_THREADS;
9593 wxPyDivisionShape_PopupMenu(_arg0,_arg1,_arg2);
9594
9595 wxPy_END_ALLOW_THREADS;
9596 } Py_INCREF(Py_None);
9597 _resultobj = Py_None;
9598 return _resultobj;
9599 }
9600
9601 #define wxPyDivisionShape_SetBottomSide(_swigobj,_swigarg0) (_swigobj->SetBottomSide(_swigarg0))
9602 static PyObject *_wrap_wxPyDivisionShape_SetBottomSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9603 PyObject * _resultobj;
9604 wxPyDivisionShape * _arg0;
9605 wxPyDivisionShape * _arg1;
9606 PyObject * _argo0 = 0;
9607 PyObject * _argo1 = 0;
9608 char *_kwnames[] = { "self","shape", NULL };
9609
9610 self = self;
9611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetBottomSide",_kwnames,&_argo0,&_argo1))
9612 return NULL;
9613 if (_argo0) {
9614 if (_argo0 == Py_None) { _arg0 = NULL; }
9615 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9616 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
9617 return NULL;
9618 }
9619 }
9620 if (_argo1) {
9621 if (_argo1 == Py_None) { _arg1 = NULL; }
9622 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
9623 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetBottomSide. Expected _wxPyDivisionShape_p.");
9624 return NULL;
9625 }
9626 }
9627 {
9628 wxPy_BEGIN_ALLOW_THREADS;
9629 wxPyDivisionShape_SetBottomSide(_arg0,_arg1);
9630
9631 wxPy_END_ALLOW_THREADS;
9632 } Py_INCREF(Py_None);
9633 _resultobj = Py_None;
9634 return _resultobj;
9635 }
9636
9637 #define wxPyDivisionShape_SetHandleSide(_swigobj,_swigarg0) (_swigobj->SetHandleSide(_swigarg0))
9638 static PyObject *_wrap_wxPyDivisionShape_SetHandleSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9639 PyObject * _resultobj;
9640 wxPyDivisionShape * _arg0;
9641 int _arg1;
9642 PyObject * _argo0 = 0;
9643 char *_kwnames[] = { "self","side", NULL };
9644
9645 self = self;
9646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oi:wxPyDivisionShape_SetHandleSide",_kwnames,&_argo0,&_arg1))
9647 return NULL;
9648 if (_argo0) {
9649 if (_argo0 == Py_None) { _arg0 = NULL; }
9650 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9651 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetHandleSide. Expected _wxPyDivisionShape_p.");
9652 return NULL;
9653 }
9654 }
9655 {
9656 wxPy_BEGIN_ALLOW_THREADS;
9657 wxPyDivisionShape_SetHandleSide(_arg0,_arg1);
9658
9659 wxPy_END_ALLOW_THREADS;
9660 } Py_INCREF(Py_None);
9661 _resultobj = Py_None;
9662 return _resultobj;
9663 }
9664
9665 #define wxPyDivisionShape_SetLeftSide(_swigobj,_swigarg0) (_swigobj->SetLeftSide(_swigarg0))
9666 static PyObject *_wrap_wxPyDivisionShape_SetLeftSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9667 PyObject * _resultobj;
9668 wxPyDivisionShape * _arg0;
9669 wxPyDivisionShape * _arg1;
9670 PyObject * _argo0 = 0;
9671 PyObject * _argo1 = 0;
9672 char *_kwnames[] = { "self","shape", NULL };
9673
9674 self = self;
9675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSide",_kwnames,&_argo0,&_argo1))
9676 return NULL;
9677 if (_argo0) {
9678 if (_argo0 == Py_None) { _arg0 = NULL; }
9679 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9680 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
9681 return NULL;
9682 }
9683 }
9684 if (_argo1) {
9685 if (_argo1 == Py_None) { _arg1 = NULL; }
9686 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
9687 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSide. Expected _wxPyDivisionShape_p.");
9688 return NULL;
9689 }
9690 }
9691 {
9692 wxPy_BEGIN_ALLOW_THREADS;
9693 wxPyDivisionShape_SetLeftSide(_arg0,_arg1);
9694
9695 wxPy_END_ALLOW_THREADS;
9696 } Py_INCREF(Py_None);
9697 _resultobj = Py_None;
9698 return _resultobj;
9699 }
9700
9701 #define wxPyDivisionShape_SetLeftSideColour(_swigobj,_swigarg0) (_swigobj->SetLeftSideColour(_swigarg0))
9702 static PyObject *_wrap_wxPyDivisionShape_SetLeftSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9703 PyObject * _resultobj;
9704 wxPyDivisionShape * _arg0;
9705 wxString * _arg1;
9706 PyObject * _argo0 = 0;
9707 PyObject * _obj1 = 0;
9708 char *_kwnames[] = { "self","colour", NULL };
9709
9710 self = self;
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSideColour",_kwnames,&_argo0,&_obj1))
9712 return NULL;
9713 if (_argo0) {
9714 if (_argo0 == Py_None) { _arg0 = NULL; }
9715 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9716 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSideColour. Expected _wxPyDivisionShape_p.");
9717 return NULL;
9718 }
9719 }
9720 {
9721 if (!PyString_Check(_obj1)) {
9722 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9723 return NULL;
9724 }
9725 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
9726 }
9727 {
9728 wxPy_BEGIN_ALLOW_THREADS;
9729 wxPyDivisionShape_SetLeftSideColour(_arg0,*_arg1);
9730
9731 wxPy_END_ALLOW_THREADS;
9732 } Py_INCREF(Py_None);
9733 _resultobj = Py_None;
9734 {
9735 if (_obj1)
9736 delete _arg1;
9737 }
9738 return _resultobj;
9739 }
9740
9741 #define wxPyDivisionShape_SetLeftSidePen(_swigobj,_swigarg0) (_swigobj->SetLeftSidePen(_swigarg0))
9742 static PyObject *_wrap_wxPyDivisionShape_SetLeftSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9743 PyObject * _resultobj;
9744 wxPyDivisionShape * _arg0;
9745 wxPen * _arg1;
9746 PyObject * _argo0 = 0;
9747 PyObject * _argo1 = 0;
9748 char *_kwnames[] = { "self","pen", NULL };
9749
9750 self = self;
9751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetLeftSidePen",_kwnames,&_argo0,&_argo1))
9752 return NULL;
9753 if (_argo0) {
9754 if (_argo0 == Py_None) { _arg0 = NULL; }
9755 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9756 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPyDivisionShape_p.");
9757 return NULL;
9758 }
9759 }
9760 if (_argo1) {
9761 if (_argo1 == Py_None) { _arg1 = NULL; }
9762 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
9763 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetLeftSidePen. Expected _wxPen_p.");
9764 return NULL;
9765 }
9766 }
9767 {
9768 wxPy_BEGIN_ALLOW_THREADS;
9769 wxPyDivisionShape_SetLeftSidePen(_arg0,_arg1);
9770
9771 wxPy_END_ALLOW_THREADS;
9772 } Py_INCREF(Py_None);
9773 _resultobj = Py_None;
9774 return _resultobj;
9775 }
9776
9777 #define wxPyDivisionShape_SetRightSide(_swigobj,_swigarg0) (_swigobj->SetRightSide(_swigarg0))
9778 static PyObject *_wrap_wxPyDivisionShape_SetRightSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9779 PyObject * _resultobj;
9780 wxPyDivisionShape * _arg0;
9781 wxPyDivisionShape * _arg1;
9782 PyObject * _argo0 = 0;
9783 PyObject * _argo1 = 0;
9784 char *_kwnames[] = { "self","shape", NULL };
9785
9786 self = self;
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetRightSide",_kwnames,&_argo0,&_argo1))
9788 return NULL;
9789 if (_argo0) {
9790 if (_argo0 == Py_None) { _arg0 = NULL; }
9791 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9792 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
9793 return NULL;
9794 }
9795 }
9796 if (_argo1) {
9797 if (_argo1 == Py_None) { _arg1 = NULL; }
9798 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
9799 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetRightSide. Expected _wxPyDivisionShape_p.");
9800 return NULL;
9801 }
9802 }
9803 {
9804 wxPy_BEGIN_ALLOW_THREADS;
9805 wxPyDivisionShape_SetRightSide(_arg0,_arg1);
9806
9807 wxPy_END_ALLOW_THREADS;
9808 } Py_INCREF(Py_None);
9809 _resultobj = Py_None;
9810 return _resultobj;
9811 }
9812
9813 #define wxPyDivisionShape_SetTopSide(_swigobj,_swigarg0) (_swigobj->SetTopSide(_swigarg0))
9814 static PyObject *_wrap_wxPyDivisionShape_SetTopSide(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject * _resultobj;
9816 wxPyDivisionShape * _arg0;
9817 wxPyDivisionShape * _arg1;
9818 PyObject * _argo0 = 0;
9819 PyObject * _argo1 = 0;
9820 char *_kwnames[] = { "self","shape", NULL };
9821
9822 self = self;
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSide",_kwnames,&_argo0,&_argo1))
9824 return NULL;
9825 if (_argo0) {
9826 if (_argo0 == Py_None) { _arg0 = NULL; }
9827 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9828 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
9829 return NULL;
9830 }
9831 }
9832 if (_argo1) {
9833 if (_argo1 == Py_None) { _arg1 = NULL; }
9834 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPyDivisionShape_p")) {
9835 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSide. Expected _wxPyDivisionShape_p.");
9836 return NULL;
9837 }
9838 }
9839 {
9840 wxPy_BEGIN_ALLOW_THREADS;
9841 wxPyDivisionShape_SetTopSide(_arg0,_arg1);
9842
9843 wxPy_END_ALLOW_THREADS;
9844 } Py_INCREF(Py_None);
9845 _resultobj = Py_None;
9846 return _resultobj;
9847 }
9848
9849 #define wxPyDivisionShape_SetTopSideColour(_swigobj,_swigarg0) (_swigobj->SetTopSideColour(_swigarg0))
9850 static PyObject *_wrap_wxPyDivisionShape_SetTopSideColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9851 PyObject * _resultobj;
9852 wxPyDivisionShape * _arg0;
9853 wxString * _arg1;
9854 PyObject * _argo0 = 0;
9855 PyObject * _obj1 = 0;
9856 char *_kwnames[] = { "self","colour", NULL };
9857
9858 self = self;
9859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSideColour",_kwnames,&_argo0,&_obj1))
9860 return NULL;
9861 if (_argo0) {
9862 if (_argo0 == Py_None) { _arg0 = NULL; }
9863 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9864 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSideColour. Expected _wxPyDivisionShape_p.");
9865 return NULL;
9866 }
9867 }
9868 {
9869 if (!PyString_Check(_obj1)) {
9870 PyErr_SetString(PyExc_TypeError, wxStringErrorMsg);
9871 return NULL;
9872 }
9873 _arg1 = new wxString(PyString_AsString(_obj1), PyString_Size(_obj1));
9874 }
9875 {
9876 wxPy_BEGIN_ALLOW_THREADS;
9877 wxPyDivisionShape_SetTopSideColour(_arg0,*_arg1);
9878
9879 wxPy_END_ALLOW_THREADS;
9880 } Py_INCREF(Py_None);
9881 _resultobj = Py_None;
9882 {
9883 if (_obj1)
9884 delete _arg1;
9885 }
9886 return _resultobj;
9887 }
9888
9889 #define wxPyDivisionShape_SetTopSidePen(_swigobj,_swigarg0) (_swigobj->SetTopSidePen(_swigarg0))
9890 static PyObject *_wrap_wxPyDivisionShape_SetTopSidePen(PyObject *self, PyObject *args, PyObject *kwargs) {
9891 PyObject * _resultobj;
9892 wxPyDivisionShape * _arg0;
9893 wxPen * _arg1;
9894 PyObject * _argo0 = 0;
9895 PyObject * _argo1 = 0;
9896 char *_kwnames[] = { "self","pen", NULL };
9897
9898 self = self;
9899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_SetTopSidePen",_kwnames,&_argo0,&_argo1))
9900 return NULL;
9901 if (_argo0) {
9902 if (_argo0 == Py_None) { _arg0 = NULL; }
9903 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9904 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_SetTopSidePen. Expected _wxPyDivisionShape_p.");
9905 return NULL;
9906 }
9907 }
9908 if (_argo1) {
9909 if (_argo1 == Py_None) { _arg1 = NULL; }
9910 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxPen_p")) {
9911 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_SetTopSidePen. Expected _wxPen_p.");
9912 return NULL;
9913 }
9914 }
9915 {
9916 wxPy_BEGIN_ALLOW_THREADS;
9917 wxPyDivisionShape_SetTopSidePen(_arg0,_arg1);
9918
9919 wxPy_END_ALLOW_THREADS;
9920 } Py_INCREF(Py_None);
9921 _resultobj = Py_None;
9922 return _resultobj;
9923 }
9924
9925 #define wxPyDivisionShape_base_OnDelete(_swigobj) (_swigobj->base_OnDelete())
9926 static PyObject *_wrap_wxPyDivisionShape_base_OnDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
9927 PyObject * _resultobj;
9928 wxPyDivisionShape * _arg0;
9929 PyObject * _argo0 = 0;
9930 char *_kwnames[] = { "self", NULL };
9931
9932 self = self;
9933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"O:wxPyDivisionShape_base_OnDelete",_kwnames,&_argo0))
9934 return NULL;
9935 if (_argo0) {
9936 if (_argo0 == Py_None) { _arg0 = NULL; }
9937 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9938 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDelete. Expected _wxPyDivisionShape_p.");
9939 return NULL;
9940 }
9941 }
9942 {
9943 wxPy_BEGIN_ALLOW_THREADS;
9944 wxPyDivisionShape_base_OnDelete(_arg0);
9945
9946 wxPy_END_ALLOW_THREADS;
9947 } Py_INCREF(Py_None);
9948 _resultobj = Py_None;
9949 return _resultobj;
9950 }
9951
9952 #define wxPyDivisionShape_base_OnDraw(_swigobj,_swigarg0) (_swigobj->base_OnDraw(_swigarg0))
9953 static PyObject *_wrap_wxPyDivisionShape_base_OnDraw(PyObject *self, PyObject *args, PyObject *kwargs) {
9954 PyObject * _resultobj;
9955 wxPyDivisionShape * _arg0;
9956 wxDC * _arg1;
9957 PyObject * _argo0 = 0;
9958 PyObject * _argo1 = 0;
9959 char *_kwnames[] = { "self","dc", NULL };
9960
9961 self = self;
9962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDraw",_kwnames,&_argo0,&_argo1))
9963 return NULL;
9964 if (_argo0) {
9965 if (_argo0 == Py_None) { _arg0 = NULL; }
9966 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
9967 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDraw. Expected _wxPyDivisionShape_p.");
9968 return NULL;
9969 }
9970 }
9971 if (_argo1) {
9972 if (_argo1 == Py_None) { _arg1 = NULL; }
9973 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
9974 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDraw. Expected _wxDC_p.");
9975 return NULL;
9976 }
9977 }
9978 {
9979 wxPy_BEGIN_ALLOW_THREADS;
9980 wxPyDivisionShape_base_OnDraw(_arg0,*_arg1);
9981
9982 wxPy_END_ALLOW_THREADS;
9983 } Py_INCREF(Py_None);
9984 _resultobj = Py_None;
9985 return _resultobj;
9986 }
9987
9988 #define wxPyDivisionShape_base_OnDrawContents(_swigobj,_swigarg0) (_swigobj->base_OnDrawContents(_swigarg0))
9989 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawContents(PyObject *self, PyObject *args, PyObject *kwargs) {
9990 PyObject * _resultobj;
9991 wxPyDivisionShape * _arg0;
9992 wxDC * _arg1;
9993 PyObject * _argo0 = 0;
9994 PyObject * _argo1 = 0;
9995 char *_kwnames[] = { "self","dc", NULL };
9996
9997 self = self;
9998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawContents",_kwnames,&_argo0,&_argo1))
9999 return NULL;
10000 if (_argo0) {
10001 if (_argo0 == Py_None) { _arg0 = NULL; }
10002 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10003 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawContents. Expected _wxPyDivisionShape_p.");
10004 return NULL;
10005 }
10006 }
10007 if (_argo1) {
10008 if (_argo1 == Py_None) { _arg1 = NULL; }
10009 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10010 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawContents. Expected _wxDC_p.");
10011 return NULL;
10012 }
10013 }
10014 {
10015 wxPy_BEGIN_ALLOW_THREADS;
10016 wxPyDivisionShape_base_OnDrawContents(_arg0,*_arg1);
10017
10018 wxPy_END_ALLOW_THREADS;
10019 } Py_INCREF(Py_None);
10020 _resultobj = Py_None;
10021 return _resultobj;
10022 }
10023
10024 #define wxPyDivisionShape_base_OnDrawBranches(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnDrawBranches(_swigarg0,_swigarg1))
10025 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawBranches(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject * _resultobj;
10027 wxPyDivisionShape * _arg0;
10028 wxDC * _arg1;
10029 bool _arg2 = (bool ) FALSE;
10030 PyObject * _argo0 = 0;
10031 PyObject * _argo1 = 0;
10032 int tempbool2 = (int) FALSE;
10033 char *_kwnames[] = { "self","dc","erase", NULL };
10034
10035 self = self;
10036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnDrawBranches",_kwnames,&_argo0,&_argo1,&tempbool2))
10037 return NULL;
10038 if (_argo0) {
10039 if (_argo0 == Py_None) { _arg0 = NULL; }
10040 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10041 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxPyDivisionShape_p.");
10042 return NULL;
10043 }
10044 }
10045 if (_argo1) {
10046 if (_argo1 == Py_None) { _arg1 = NULL; }
10047 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10048 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawBranches. Expected _wxDC_p.");
10049 return NULL;
10050 }
10051 }
10052 _arg2 = (bool ) tempbool2;
10053 {
10054 wxPy_BEGIN_ALLOW_THREADS;
10055 wxPyDivisionShape_base_OnDrawBranches(_arg0,*_arg1,_arg2);
10056
10057 wxPy_END_ALLOW_THREADS;
10058 } Py_INCREF(Py_None);
10059 _resultobj = Py_None;
10060 return _resultobj;
10061 }
10062
10063 #define wxPyDivisionShape_base_OnMoveLinks(_swigobj,_swigarg0) (_swigobj->base_OnMoveLinks(_swigarg0))
10064 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLinks(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject * _resultobj;
10066 wxPyDivisionShape * _arg0;
10067 wxDC * _arg1;
10068 PyObject * _argo0 = 0;
10069 PyObject * _argo1 = 0;
10070 char *_kwnames[] = { "self","dc", NULL };
10071
10072 self = self;
10073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnMoveLinks",_kwnames,&_argo0,&_argo1))
10074 return NULL;
10075 if (_argo0) {
10076 if (_argo0 == Py_None) { _arg0 = NULL; }
10077 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10078 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxPyDivisionShape_p.");
10079 return NULL;
10080 }
10081 }
10082 if (_argo1) {
10083 if (_argo1 == Py_None) { _arg1 = NULL; }
10084 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10085 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLinks. Expected _wxDC_p.");
10086 return NULL;
10087 }
10088 }
10089 {
10090 wxPy_BEGIN_ALLOW_THREADS;
10091 wxPyDivisionShape_base_OnMoveLinks(_arg0,*_arg1);
10092
10093 wxPy_END_ALLOW_THREADS;
10094 } Py_INCREF(Py_None);
10095 _resultobj = Py_None;
10096 return _resultobj;
10097 }
10098
10099 #define wxPyDivisionShape_base_OnErase(_swigobj,_swigarg0) (_swigobj->base_OnErase(_swigarg0))
10100 static PyObject *_wrap_wxPyDivisionShape_base_OnErase(PyObject *self, PyObject *args, PyObject *kwargs) {
10101 PyObject * _resultobj;
10102 wxPyDivisionShape * _arg0;
10103 wxDC * _arg1;
10104 PyObject * _argo0 = 0;
10105 PyObject * _argo1 = 0;
10106 char *_kwnames[] = { "self","dc", NULL };
10107
10108 self = self;
10109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnErase",_kwnames,&_argo0,&_argo1))
10110 return NULL;
10111 if (_argo0) {
10112 if (_argo0 == Py_None) { _arg0 = NULL; }
10113 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10114 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnErase. Expected _wxPyDivisionShape_p.");
10115 return NULL;
10116 }
10117 }
10118 if (_argo1) {
10119 if (_argo1 == Py_None) { _arg1 = NULL; }
10120 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10121 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnErase. Expected _wxDC_p.");
10122 return NULL;
10123 }
10124 }
10125 {
10126 wxPy_BEGIN_ALLOW_THREADS;
10127 wxPyDivisionShape_base_OnErase(_arg0,*_arg1);
10128
10129 wxPy_END_ALLOW_THREADS;
10130 } Py_INCREF(Py_None);
10131 _resultobj = Py_None;
10132 return _resultobj;
10133 }
10134
10135 #define wxPyDivisionShape_base_OnEraseContents(_swigobj,_swigarg0) (_swigobj->base_OnEraseContents(_swigarg0))
10136 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseContents(PyObject *self, PyObject *args, PyObject *kwargs) {
10137 PyObject * _resultobj;
10138 wxPyDivisionShape * _arg0;
10139 wxDC * _arg1;
10140 PyObject * _argo0 = 0;
10141 PyObject * _argo1 = 0;
10142 char *_kwnames[] = { "self","dc", NULL };
10143
10144 self = self;
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseContents",_kwnames,&_argo0,&_argo1))
10146 return NULL;
10147 if (_argo0) {
10148 if (_argo0 == Py_None) { _arg0 = NULL; }
10149 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10150 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseContents. Expected _wxPyDivisionShape_p.");
10151 return NULL;
10152 }
10153 }
10154 if (_argo1) {
10155 if (_argo1 == Py_None) { _arg1 = NULL; }
10156 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10157 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseContents. Expected _wxDC_p.");
10158 return NULL;
10159 }
10160 }
10161 {
10162 wxPy_BEGIN_ALLOW_THREADS;
10163 wxPyDivisionShape_base_OnEraseContents(_arg0,*_arg1);
10164
10165 wxPy_END_ALLOW_THREADS;
10166 } Py_INCREF(Py_None);
10167 _resultobj = Py_None;
10168 return _resultobj;
10169 }
10170
10171 #define wxPyDivisionShape_base_OnHighlight(_swigobj,_swigarg0) (_swigobj->base_OnHighlight(_swigarg0))
10172 static PyObject *_wrap_wxPyDivisionShape_base_OnHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
10173 PyObject * _resultobj;
10174 wxPyDivisionShape * _arg0;
10175 wxDC * _arg1;
10176 PyObject * _argo0 = 0;
10177 PyObject * _argo1 = 0;
10178 char *_kwnames[] = { "self","dc", NULL };
10179
10180 self = self;
10181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnHighlight",_kwnames,&_argo0,&_argo1))
10182 return NULL;
10183 if (_argo0) {
10184 if (_argo0 == Py_None) { _arg0 = NULL; }
10185 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10186 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnHighlight. Expected _wxPyDivisionShape_p.");
10187 return NULL;
10188 }
10189 }
10190 if (_argo1) {
10191 if (_argo1 == Py_None) { _arg1 = NULL; }
10192 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10193 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnHighlight. Expected _wxDC_p.");
10194 return NULL;
10195 }
10196 }
10197 {
10198 wxPy_BEGIN_ALLOW_THREADS;
10199 wxPyDivisionShape_base_OnHighlight(_arg0,*_arg1);
10200
10201 wxPy_END_ALLOW_THREADS;
10202 } Py_INCREF(Py_None);
10203 _resultobj = Py_None;
10204 return _resultobj;
10205 }
10206
10207 #define wxPyDivisionShape_base_OnLeftClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10208 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10209 PyObject * _resultobj;
10210 wxPyDivisionShape * _arg0;
10211 double _arg1;
10212 double _arg2;
10213 int _arg3 = (int ) 0;
10214 int _arg4 = (int ) 0;
10215 PyObject * _argo0 = 0;
10216 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10217
10218 self = self;
10219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10220 return NULL;
10221 if (_argo0) {
10222 if (_argo0 == Py_None) { _arg0 = NULL; }
10223 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10224 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftClick. Expected _wxPyDivisionShape_p.");
10225 return NULL;
10226 }
10227 }
10228 {
10229 wxPy_BEGIN_ALLOW_THREADS;
10230 wxPyDivisionShape_base_OnLeftClick(_arg0,_arg1,_arg2,_arg3,_arg4);
10231
10232 wxPy_END_ALLOW_THREADS;
10233 } Py_INCREF(Py_None);
10234 _resultobj = Py_None;
10235 return _resultobj;
10236 }
10237
10238 #define wxPyDivisionShape_base_OnLeftDoubleClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnLeftDoubleClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10239 static PyObject *_wrap_wxPyDivisionShape_base_OnLeftDoubleClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject * _resultobj;
10241 wxPyDivisionShape * _arg0;
10242 double _arg1;
10243 double _arg2;
10244 int _arg3 = (int ) 0;
10245 int _arg4 = (int ) 0;
10246 PyObject * _argo0 = 0;
10247 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10248
10249 self = self;
10250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnLeftDoubleClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10251 return NULL;
10252 if (_argo0) {
10253 if (_argo0 == Py_None) { _arg0 = NULL; }
10254 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10255 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnLeftDoubleClick. Expected _wxPyDivisionShape_p.");
10256 return NULL;
10257 }
10258 }
10259 {
10260 wxPy_BEGIN_ALLOW_THREADS;
10261 wxPyDivisionShape_base_OnLeftDoubleClick(_arg0,_arg1,_arg2,_arg3,_arg4);
10262
10263 wxPy_END_ALLOW_THREADS;
10264 } Py_INCREF(Py_None);
10265 _resultobj = Py_None;
10266 return _resultobj;
10267 }
10268
10269 #define wxPyDivisionShape_base_OnRightClick(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnRightClick(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10270 static PyObject *_wrap_wxPyDivisionShape_base_OnRightClick(PyObject *self, PyObject *args, PyObject *kwargs) {
10271 PyObject * _resultobj;
10272 wxPyDivisionShape * _arg0;
10273 double _arg1;
10274 double _arg2;
10275 int _arg3 = (int ) 0;
10276 int _arg4 = (int ) 0;
10277 PyObject * _argo0 = 0;
10278 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10279
10280 self = self;
10281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnRightClick",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10282 return NULL;
10283 if (_argo0) {
10284 if (_argo0 == Py_None) { _arg0 = NULL; }
10285 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10286 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnRightClick. Expected _wxPyDivisionShape_p.");
10287 return NULL;
10288 }
10289 }
10290 {
10291 wxPy_BEGIN_ALLOW_THREADS;
10292 wxPyDivisionShape_base_OnRightClick(_arg0,_arg1,_arg2,_arg3,_arg4);
10293
10294 wxPy_END_ALLOW_THREADS;
10295 } Py_INCREF(Py_None);
10296 _resultobj = Py_None;
10297 return _resultobj;
10298 }
10299
10300 #define wxPyDivisionShape_base_OnSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnSize(_swigarg0,_swigarg1))
10301 static PyObject *_wrap_wxPyDivisionShape_base_OnSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10302 PyObject * _resultobj;
10303 wxPyDivisionShape * _arg0;
10304 double _arg1;
10305 double _arg2;
10306 PyObject * _argo0 = 0;
10307 char *_kwnames[] = { "self","x","y", NULL };
10308
10309 self = self;
10310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnSize",_kwnames,&_argo0,&_arg1,&_arg2))
10311 return NULL;
10312 if (_argo0) {
10313 if (_argo0 == Py_None) { _arg0 = NULL; }
10314 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10315 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSize. Expected _wxPyDivisionShape_p.");
10316 return NULL;
10317 }
10318 }
10319 {
10320 wxPy_BEGIN_ALLOW_THREADS;
10321 wxPyDivisionShape_base_OnSize(_arg0,_arg1,_arg2);
10322
10323 wxPy_END_ALLOW_THREADS;
10324 } Py_INCREF(Py_None);
10325 _resultobj = Py_None;
10326 return _resultobj;
10327 }
10328
10329 #define wxPyDivisionShape_base_OnMovePre(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePre(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10330 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePre(PyObject *self, PyObject *args, PyObject *kwargs) {
10331 PyObject * _resultobj;
10332 bool _result;
10333 wxPyDivisionShape * _arg0;
10334 wxDC * _arg1;
10335 double _arg2;
10336 double _arg3;
10337 double _arg4;
10338 double _arg5;
10339 bool _arg6 = (bool ) TRUE;
10340 PyObject * _argo0 = 0;
10341 PyObject * _argo1 = 0;
10342 int tempbool6 = (int) TRUE;
10343 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
10344
10345 self = self;
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePre",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
10347 return NULL;
10348 if (_argo0) {
10349 if (_argo0 == Py_None) { _arg0 = NULL; }
10350 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10351 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePre. Expected _wxPyDivisionShape_p.");
10352 return NULL;
10353 }
10354 }
10355 if (_argo1) {
10356 if (_argo1 == Py_None) { _arg1 = NULL; }
10357 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10358 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePre. Expected _wxDC_p.");
10359 return NULL;
10360 }
10361 }
10362 _arg6 = (bool ) tempbool6;
10363 {
10364 wxPy_BEGIN_ALLOW_THREADS;
10365 _result = (bool )wxPyDivisionShape_base_OnMovePre(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10366
10367 wxPy_END_ALLOW_THREADS;
10368 } _resultobj = Py_BuildValue("i",_result);
10369 return _resultobj;
10370 }
10371
10372 #define wxPyDivisionShape_base_OnMovePost(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnMovePost(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10373 static PyObject *_wrap_wxPyDivisionShape_base_OnMovePost(PyObject *self, PyObject *args, PyObject *kwargs) {
10374 PyObject * _resultobj;
10375 wxPyDivisionShape * _arg0;
10376 wxDC * _arg1;
10377 double _arg2;
10378 double _arg3;
10379 double _arg4;
10380 double _arg5;
10381 bool _arg6 = (bool ) TRUE;
10382 PyObject * _argo0 = 0;
10383 PyObject * _argo1 = 0;
10384 int tempbool6 = (int) TRUE;
10385 char *_kwnames[] = { "self","dc","x","y","old_x","old_y","display", NULL };
10386
10387 self = self;
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd|i:wxPyDivisionShape_base_OnMovePost",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5,&tempbool6))
10389 return NULL;
10390 if (_argo0) {
10391 if (_argo0 == Py_None) { _arg0 = NULL; }
10392 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10393 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMovePost. Expected _wxPyDivisionShape_p.");
10394 return NULL;
10395 }
10396 }
10397 if (_argo1) {
10398 if (_argo1 == Py_None) { _arg1 = NULL; }
10399 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10400 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMovePost. Expected _wxDC_p.");
10401 return NULL;
10402 }
10403 }
10404 _arg6 = (bool ) tempbool6;
10405 {
10406 wxPy_BEGIN_ALLOW_THREADS;
10407 wxPyDivisionShape_base_OnMovePost(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10408
10409 wxPy_END_ALLOW_THREADS;
10410 } Py_INCREF(Py_None);
10411 _resultobj = Py_None;
10412 return _resultobj;
10413 }
10414
10415 #define wxPyDivisionShape_base_OnDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10416 static PyObject *_wrap_wxPyDivisionShape_base_OnDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10417 PyObject * _resultobj;
10418 wxPyDivisionShape * _arg0;
10419 bool _arg1;
10420 double _arg2;
10421 double _arg3;
10422 int _arg4 = (int ) 0;
10423 int _arg5 = (int ) 0;
10424 PyObject * _argo0 = 0;
10425 int tempbool1;
10426 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
10427
10428 self = self;
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragLeft",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
10430 return NULL;
10431 if (_argo0) {
10432 if (_argo0 == Py_None) { _arg0 = NULL; }
10433 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10434 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragLeft. Expected _wxPyDivisionShape_p.");
10435 return NULL;
10436 }
10437 }
10438 _arg1 = (bool ) tempbool1;
10439 {
10440 wxPy_BEGIN_ALLOW_THREADS;
10441 wxPyDivisionShape_base_OnDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10442
10443 wxPy_END_ALLOW_THREADS;
10444 } Py_INCREF(Py_None);
10445 _resultobj = Py_None;
10446 return _resultobj;
10447 }
10448
10449 #define wxPyDivisionShape_base_OnBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10450 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject * _resultobj;
10452 wxPyDivisionShape * _arg0;
10453 double _arg1;
10454 double _arg2;
10455 int _arg3 = (int ) 0;
10456 int _arg4 = (int ) 0;
10457 PyObject * _argo0 = 0;
10458 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10459
10460 self = self;
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10462 return NULL;
10463 if (_argo0) {
10464 if (_argo0 == Py_None) { _arg0 = NULL; }
10465 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10466 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragLeft. Expected _wxPyDivisionShape_p.");
10467 return NULL;
10468 }
10469 }
10470 {
10471 wxPy_BEGIN_ALLOW_THREADS;
10472 wxPyDivisionShape_base_OnBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
10473
10474 wxPy_END_ALLOW_THREADS;
10475 } Py_INCREF(Py_None);
10476 _resultobj = Py_None;
10477 return _resultobj;
10478 }
10479
10480 #define wxPyDivisionShape_base_OnEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10481 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject * _resultobj;
10483 wxPyDivisionShape * _arg0;
10484 double _arg1;
10485 double _arg2;
10486 int _arg3 = (int ) 0;
10487 int _arg4 = (int ) 0;
10488 PyObject * _argo0 = 0;
10489 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10490
10491 self = self;
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragLeft",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10493 return NULL;
10494 if (_argo0) {
10495 if (_argo0 == Py_None) { _arg0 = NULL; }
10496 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10497 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragLeft. Expected _wxPyDivisionShape_p.");
10498 return NULL;
10499 }
10500 }
10501 {
10502 wxPy_BEGIN_ALLOW_THREADS;
10503 wxPyDivisionShape_base_OnEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4);
10504
10505 wxPy_END_ALLOW_THREADS;
10506 } Py_INCREF(Py_None);
10507 _resultobj = Py_None;
10508 return _resultobj;
10509 }
10510
10511 #define wxPyDivisionShape_base_OnDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10512 static PyObject *_wrap_wxPyDivisionShape_base_OnDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject * _resultobj;
10514 wxPyDivisionShape * _arg0;
10515 bool _arg1;
10516 double _arg2;
10517 double _arg3;
10518 int _arg4 = (int ) 0;
10519 int _arg5 = (int ) 0;
10520 PyObject * _argo0 = 0;
10521 int tempbool1;
10522 char *_kwnames[] = { "self","draw","x","y","keys","attachment", NULL };
10523
10524 self = self;
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Oidd|ii:wxPyDivisionShape_base_OnDragRight",_kwnames,&_argo0,&tempbool1,&_arg2,&_arg3,&_arg4,&_arg5))
10526 return NULL;
10527 if (_argo0) {
10528 if (_argo0 == Py_None) { _arg0 = NULL; }
10529 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10530 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDragRight. Expected _wxPyDivisionShape_p.");
10531 return NULL;
10532 }
10533 }
10534 _arg1 = (bool ) tempbool1;
10535 {
10536 wxPy_BEGIN_ALLOW_THREADS;
10537 wxPyDivisionShape_base_OnDragRight(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10538
10539 wxPy_END_ALLOW_THREADS;
10540 } Py_INCREF(Py_None);
10541 _resultobj = Py_None;
10542 return _resultobj;
10543 }
10544
10545 #define wxPyDivisionShape_base_OnBeginDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnBeginDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10546 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10547 PyObject * _resultobj;
10548 wxPyDivisionShape * _arg0;
10549 double _arg1;
10550 double _arg2;
10551 int _arg3 = (int ) 0;
10552 int _arg4 = (int ) 0;
10553 PyObject * _argo0 = 0;
10554 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10555
10556 self = self;
10557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnBeginDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10558 return NULL;
10559 if (_argo0) {
10560 if (_argo0 == Py_None) { _arg0 = NULL; }
10561 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10562 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginDragRight. Expected _wxPyDivisionShape_p.");
10563 return NULL;
10564 }
10565 }
10566 {
10567 wxPy_BEGIN_ALLOW_THREADS;
10568 wxPyDivisionShape_base_OnBeginDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10569
10570 wxPy_END_ALLOW_THREADS;
10571 } Py_INCREF(Py_None);
10572 _resultobj = Py_None;
10573 return _resultobj;
10574 }
10575
10576 #define wxPyDivisionShape_base_OnEndDragRight(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3) (_swigobj->base_OnEndDragRight(_swigarg0,_swigarg1,_swigarg2,_swigarg3))
10577 static PyObject *_wrap_wxPyDivisionShape_base_OnEndDragRight(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject * _resultobj;
10579 wxPyDivisionShape * _arg0;
10580 double _arg1;
10581 double _arg2;
10582 int _arg3 = (int ) 0;
10583 int _arg4 = (int ) 0;
10584 PyObject * _argo0 = 0;
10585 char *_kwnames[] = { "self","x","y","keys","attachment", NULL };
10586
10587 self = self;
10588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd|ii:wxPyDivisionShape_base_OnEndDragRight",_kwnames,&_argo0,&_arg1,&_arg2,&_arg3,&_arg4))
10589 return NULL;
10590 if (_argo0) {
10591 if (_argo0 == Py_None) { _arg0 = NULL; }
10592 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10593 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndDragRight. Expected _wxPyDivisionShape_p.");
10594 return NULL;
10595 }
10596 }
10597 {
10598 wxPy_BEGIN_ALLOW_THREADS;
10599 wxPyDivisionShape_base_OnEndDragRight(_arg0,_arg1,_arg2,_arg3,_arg4);
10600
10601 wxPy_END_ALLOW_THREADS;
10602 } Py_INCREF(Py_None);
10603 _resultobj = Py_None;
10604 return _resultobj;
10605 }
10606
10607 #define wxPyDivisionShape_base_OnDrawOutline(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnDrawOutline(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10608 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawOutline(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject * _resultobj;
10610 wxPyDivisionShape * _arg0;
10611 wxDC * _arg1;
10612 double _arg2;
10613 double _arg3;
10614 double _arg4;
10615 double _arg5;
10616 PyObject * _argo0 = 0;
10617 PyObject * _argo1 = 0;
10618 char *_kwnames[] = { "self","dc","x","y","w","h", NULL };
10619
10620 self = self;
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdddd:wxPyDivisionShape_base_OnDrawOutline",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10622 return NULL;
10623 if (_argo0) {
10624 if (_argo0 == Py_None) { _arg0 = NULL; }
10625 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10626 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxPyDivisionShape_p.");
10627 return NULL;
10628 }
10629 }
10630 if (_argo1) {
10631 if (_argo1 == Py_None) { _arg1 = NULL; }
10632 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10633 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawOutline. Expected _wxDC_p.");
10634 return NULL;
10635 }
10636 }
10637 {
10638 wxPy_BEGIN_ALLOW_THREADS;
10639 wxPyDivisionShape_base_OnDrawOutline(_arg0,*_arg1,_arg2,_arg3,_arg4,_arg5);
10640
10641 wxPy_END_ALLOW_THREADS;
10642 } Py_INCREF(Py_None);
10643 _resultobj = Py_None;
10644 return _resultobj;
10645 }
10646
10647 #define wxPyDivisionShape_base_OnDrawControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnDrawControlPoints(_swigarg0))
10648 static PyObject *_wrap_wxPyDivisionShape_base_OnDrawControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10649 PyObject * _resultobj;
10650 wxPyDivisionShape * _arg0;
10651 wxDC * _arg1;
10652 PyObject * _argo0 = 0;
10653 PyObject * _argo1 = 0;
10654 char *_kwnames[] = { "self","dc", NULL };
10655
10656 self = self;
10657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnDrawControlPoints",_kwnames,&_argo0,&_argo1))
10658 return NULL;
10659 if (_argo0) {
10660 if (_argo0 == Py_None) { _arg0 = NULL; }
10661 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10662 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxPyDivisionShape_p.");
10663 return NULL;
10664 }
10665 }
10666 if (_argo1) {
10667 if (_argo1 == Py_None) { _arg1 = NULL; }
10668 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10669 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnDrawControlPoints. Expected _wxDC_p.");
10670 return NULL;
10671 }
10672 }
10673 {
10674 wxPy_BEGIN_ALLOW_THREADS;
10675 wxPyDivisionShape_base_OnDrawControlPoints(_arg0,*_arg1);
10676
10677 wxPy_END_ALLOW_THREADS;
10678 } Py_INCREF(Py_None);
10679 _resultobj = Py_None;
10680 return _resultobj;
10681 }
10682
10683 #define wxPyDivisionShape_base_OnEraseControlPoints(_swigobj,_swigarg0) (_swigobj->base_OnEraseControlPoints(_swigarg0))
10684 static PyObject *_wrap_wxPyDivisionShape_base_OnEraseControlPoints(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject * _resultobj;
10686 wxPyDivisionShape * _arg0;
10687 wxDC * _arg1;
10688 PyObject * _argo0 = 0;
10689 PyObject * _argo1 = 0;
10690 char *_kwnames[] = { "self","dc", NULL };
10691
10692 self = self;
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO:wxPyDivisionShape_base_OnEraseControlPoints",_kwnames,&_argo0,&_argo1))
10694 return NULL;
10695 if (_argo0) {
10696 if (_argo0 == Py_None) { _arg0 = NULL; }
10697 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10698 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxPyDivisionShape_p.");
10699 return NULL;
10700 }
10701 }
10702 if (_argo1) {
10703 if (_argo1 == Py_None) { _arg1 = NULL; }
10704 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10705 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnEraseControlPoints. Expected _wxDC_p.");
10706 return NULL;
10707 }
10708 }
10709 {
10710 wxPy_BEGIN_ALLOW_THREADS;
10711 wxPyDivisionShape_base_OnEraseControlPoints(_arg0,*_arg1);
10712
10713 wxPy_END_ALLOW_THREADS;
10714 } Py_INCREF(Py_None);
10715 _resultobj = Py_None;
10716 return _resultobj;
10717 }
10718
10719 #define wxPyDivisionShape_base_OnMoveLink(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnMoveLink(_swigarg0,_swigarg1))
10720 static PyObject *_wrap_wxPyDivisionShape_base_OnMoveLink(PyObject *self, PyObject *args, PyObject *kwargs) {
10721 PyObject * _resultobj;
10722 wxPyDivisionShape * _arg0;
10723 wxDC * _arg1;
10724 bool _arg2 = (bool ) TRUE;
10725 PyObject * _argo0 = 0;
10726 PyObject * _argo1 = 0;
10727 int tempbool2 = (int) TRUE;
10728 char *_kwnames[] = { "self","dc","moveControlPoints", NULL };
10729
10730 self = self;
10731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OO|i:wxPyDivisionShape_base_OnMoveLink",_kwnames,&_argo0,&_argo1,&tempbool2))
10732 return NULL;
10733 if (_argo0) {
10734 if (_argo0 == Py_None) { _arg0 = NULL; }
10735 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10736 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnMoveLink. Expected _wxPyDivisionShape_p.");
10737 return NULL;
10738 }
10739 }
10740 if (_argo1) {
10741 if (_argo1 == Py_None) { _arg1 = NULL; }
10742 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxDC_p")) {
10743 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnMoveLink. Expected _wxDC_p.");
10744 return NULL;
10745 }
10746 }
10747 _arg2 = (bool ) tempbool2;
10748 {
10749 wxPy_BEGIN_ALLOW_THREADS;
10750 wxPyDivisionShape_base_OnMoveLink(_arg0,*_arg1,_arg2);
10751
10752 wxPy_END_ALLOW_THREADS;
10753 } Py_INCREF(Py_None);
10754 _resultobj = Py_None;
10755 return _resultobj;
10756 }
10757
10758 #define wxPyDivisionShape_base_OnSizingDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5) (_swigobj->base_OnSizingDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4,_swigarg5))
10759 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10760 PyObject * _resultobj;
10761 wxPyDivisionShape * _arg0;
10762 wxControlPoint * _arg1;
10763 bool _arg2;
10764 double _arg3;
10765 double _arg4;
10766 int _arg5 = (int ) 0;
10767 int _arg6 = (int ) 0;
10768 PyObject * _argo0 = 0;
10769 PyObject * _argo1 = 0;
10770 int tempbool2;
10771 char *_kwnames[] = { "self","pt","draw","x","y","keys","attachment", NULL };
10772
10773 self = self;
10774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOidd|ii:wxPyDivisionShape_base_OnSizingDragLeft",_kwnames,&_argo0,&_argo1,&tempbool2,&_arg3,&_arg4,&_arg5,&_arg6))
10775 return NULL;
10776 if (_argo0) {
10777 if (_argo0 == Py_None) { _arg0 = NULL; }
10778 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10779 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxPyDivisionShape_p.");
10780 return NULL;
10781 }
10782 }
10783 if (_argo1) {
10784 if (_argo1 == Py_None) { _arg1 = NULL; }
10785 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
10786 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingDragLeft. Expected _wxControlPoint_p.");
10787 return NULL;
10788 }
10789 }
10790 _arg2 = (bool ) tempbool2;
10791 {
10792 wxPy_BEGIN_ALLOW_THREADS;
10793 wxPyDivisionShape_base_OnSizingDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5,_arg6);
10794
10795 wxPy_END_ALLOW_THREADS;
10796 } Py_INCREF(Py_None);
10797 _resultobj = Py_None;
10798 return _resultobj;
10799 }
10800
10801 #define wxPyDivisionShape_base_OnSizingBeginDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingBeginDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10802 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10803 PyObject * _resultobj;
10804 wxPyDivisionShape * _arg0;
10805 wxControlPoint * _arg1;
10806 double _arg2;
10807 double _arg3;
10808 int _arg4 = (int ) 0;
10809 int _arg5 = (int ) 0;
10810 PyObject * _argo0 = 0;
10811 PyObject * _argo1 = 0;
10812 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10813
10814 self = self;
10815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingBeginDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10816 return NULL;
10817 if (_argo0) {
10818 if (_argo0 == Py_None) { _arg0 = NULL; }
10819 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10820 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxPyDivisionShape_p.");
10821 return NULL;
10822 }
10823 }
10824 if (_argo1) {
10825 if (_argo1 == Py_None) { _arg1 = NULL; }
10826 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
10827 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingBeginDragLeft. Expected _wxControlPoint_p.");
10828 return NULL;
10829 }
10830 }
10831 {
10832 wxPy_BEGIN_ALLOW_THREADS;
10833 wxPyDivisionShape_base_OnSizingBeginDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10834
10835 wxPy_END_ALLOW_THREADS;
10836 } Py_INCREF(Py_None);
10837 _resultobj = Py_None;
10838 return _resultobj;
10839 }
10840
10841 #define wxPyDivisionShape_base_OnSizingEndDragLeft(_swigobj,_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4) (_swigobj->base_OnSizingEndDragLeft(_swigarg0,_swigarg1,_swigarg2,_swigarg3,_swigarg4))
10842 static PyObject *_wrap_wxPyDivisionShape_base_OnSizingEndDragLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject * _resultobj;
10844 wxPyDivisionShape * _arg0;
10845 wxControlPoint * _arg1;
10846 double _arg2;
10847 double _arg3;
10848 int _arg4 = (int ) 0;
10849 int _arg5 = (int ) 0;
10850 PyObject * _argo0 = 0;
10851 PyObject * _argo1 = 0;
10852 char *_kwnames[] = { "self","pt","x","y","keys","attachment", NULL };
10853
10854 self = self;
10855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"OOdd|ii:wxPyDivisionShape_base_OnSizingEndDragLeft",_kwnames,&_argo0,&_argo1,&_arg2,&_arg3,&_arg4,&_arg5))
10856 return NULL;
10857 if (_argo0) {
10858 if (_argo0 == Py_None) { _arg0 = NULL; }
10859 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10860 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxPyDivisionShape_p.");
10861 return NULL;
10862 }
10863 }
10864 if (_argo1) {
10865 if (_argo1 == Py_None) { _arg1 = NULL; }
10866 else if (SWIG_GetPtrObj(_argo1,(void **) &_arg1,"_wxControlPoint_p")) {
10867 PyErr_SetString(PyExc_TypeError,"Type error in argument 2 of wxPyDivisionShape_base_OnSizingEndDragLeft. Expected _wxControlPoint_p.");
10868 return NULL;
10869 }
10870 }
10871 {
10872 wxPy_BEGIN_ALLOW_THREADS;
10873 wxPyDivisionShape_base_OnSizingEndDragLeft(_arg0,_arg1,_arg2,_arg3,_arg4,_arg5);
10874
10875 wxPy_END_ALLOW_THREADS;
10876 } Py_INCREF(Py_None);
10877 _resultobj = Py_None;
10878 return _resultobj;
10879 }
10880
10881 #define wxPyDivisionShape_base_OnBeginSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnBeginSize(_swigarg0,_swigarg1))
10882 static PyObject *_wrap_wxPyDivisionShape_base_OnBeginSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10883 PyObject * _resultobj;
10884 wxPyDivisionShape * _arg0;
10885 double _arg1;
10886 double _arg2;
10887 PyObject * _argo0 = 0;
10888 char *_kwnames[] = { "self","w","h", NULL };
10889
10890 self = self;
10891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnBeginSize",_kwnames,&_argo0,&_arg1,&_arg2))
10892 return NULL;
10893 if (_argo0) {
10894 if (_argo0 == Py_None) { _arg0 = NULL; }
10895 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10896 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnBeginSize. Expected _wxPyDivisionShape_p.");
10897 return NULL;
10898 }
10899 }
10900 {
10901 wxPy_BEGIN_ALLOW_THREADS;
10902 wxPyDivisionShape_base_OnBeginSize(_arg0,_arg1,_arg2);
10903
10904 wxPy_END_ALLOW_THREADS;
10905 } Py_INCREF(Py_None);
10906 _resultobj = Py_None;
10907 return _resultobj;
10908 }
10909
10910 #define wxPyDivisionShape_base_OnEndSize(_swigobj,_swigarg0,_swigarg1) (_swigobj->base_OnEndSize(_swigarg0,_swigarg1))
10911 static PyObject *_wrap_wxPyDivisionShape_base_OnEndSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject * _resultobj;
10913 wxPyDivisionShape * _arg0;
10914 double _arg1;
10915 double _arg2;
10916 PyObject * _argo0 = 0;
10917 char *_kwnames[] = { "self","w","h", NULL };
10918
10919 self = self;
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,"Odd:wxPyDivisionShape_base_OnEndSize",_kwnames,&_argo0,&_arg1,&_arg2))
10921 return NULL;
10922 if (_argo0) {
10923 if (_argo0 == Py_None) { _arg0 = NULL; }
10924 else if (SWIG_GetPtrObj(_argo0,(void **) &_arg0,"_wxPyDivisionShape_p")) {
10925 PyErr_SetString(PyExc_TypeError,"Type error in argument 1 of wxPyDivisionShape_base_OnEndSize. Expected _wxPyDivisionShape_p.");
10926 return NULL;
10927 }
10928 }
10929 {
10930 wxPy_BEGIN_ALLOW_THREADS;
10931 wxPyDivisionShape_base_OnEndSize(_arg0,_arg1,_arg2);
10932
10933 wxPy_END_ALLOW_THREADS;
10934 } Py_INCREF(Py_None);
10935 _resultobj = Py_None;
10936 return _resultobj;
10937 }
10938
10939 static PyMethodDef oglshapescMethods[] = {
10940 { "wxPyDivisionShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
10941 { "wxPyDivisionShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
10942 { "wxPyDivisionShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
10943 { "wxPyDivisionShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
10944 { "wxPyDivisionShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
10945 { "wxPyDivisionShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
10946 { "wxPyDivisionShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
10947 { "wxPyDivisionShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
10948 { "wxPyDivisionShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
10949 { "wxPyDivisionShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
10950 { "wxPyDivisionShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
10951 { "wxPyDivisionShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
10952 { "wxPyDivisionShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
10953 { "wxPyDivisionShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
10954 { "wxPyDivisionShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
10955 { "wxPyDivisionShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
10956 { "wxPyDivisionShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
10957 { "wxPyDivisionShape_base_OnSize", (PyCFunction) _wrap_wxPyDivisionShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
10958 { "wxPyDivisionShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
10959 { "wxPyDivisionShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
10960 { "wxPyDivisionShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDivisionShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
10961 { "wxPyDivisionShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDivisionShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
10962 { "wxPyDivisionShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
10963 { "wxPyDivisionShape_base_OnErase", (PyCFunction) _wrap_wxPyDivisionShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
10964 { "wxPyDivisionShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDivisionShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
10965 { "wxPyDivisionShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
10966 { "wxPyDivisionShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
10967 { "wxPyDivisionShape_base_OnDraw", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
10968 { "wxPyDivisionShape_base_OnDelete", (PyCFunction) _wrap_wxPyDivisionShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
10969 { "wxPyDivisionShape_SetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSidePen, METH_VARARGS | METH_KEYWORDS },
10970 { "wxPyDivisionShape_SetTopSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSideColour, METH_VARARGS | METH_KEYWORDS },
10971 { "wxPyDivisionShape_SetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_SetTopSide, METH_VARARGS | METH_KEYWORDS },
10972 { "wxPyDivisionShape_SetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_SetRightSide, METH_VARARGS | METH_KEYWORDS },
10973 { "wxPyDivisionShape_SetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
10974 { "wxPyDivisionShape_SetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
10975 { "wxPyDivisionShape_SetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_SetLeftSide, METH_VARARGS | METH_KEYWORDS },
10976 { "wxPyDivisionShape_SetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_SetHandleSide, METH_VARARGS | METH_KEYWORDS },
10977 { "wxPyDivisionShape_SetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_SetBottomSide, METH_VARARGS | METH_KEYWORDS },
10978 { "wxPyDivisionShape_PopupMenu", (PyCFunction) _wrap_wxPyDivisionShape_PopupMenu, METH_VARARGS | METH_KEYWORDS },
10979 { "wxPyDivisionShape_ResizeAdjoining", (PyCFunction) _wrap_wxPyDivisionShape_ResizeAdjoining, METH_VARARGS | METH_KEYWORDS },
10980 { "wxPyDivisionShape_GetTopSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSidePen, METH_VARARGS | METH_KEYWORDS },
10981 { "wxPyDivisionShape_GetTopSide", (PyCFunction) _wrap_wxPyDivisionShape_GetTopSide, METH_VARARGS | METH_KEYWORDS },
10982 { "wxPyDivisionShape_GetRightSide", (PyCFunction) _wrap_wxPyDivisionShape_GetRightSide, METH_VARARGS | METH_KEYWORDS },
10983 { "wxPyDivisionShape_GetLeftSidePen", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSidePen, METH_VARARGS | METH_KEYWORDS },
10984 { "wxPyDivisionShape_GetLeftSideColour", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSideColour, METH_VARARGS | METH_KEYWORDS },
10985 { "wxPyDivisionShape_GetLeftSide", (PyCFunction) _wrap_wxPyDivisionShape_GetLeftSide, METH_VARARGS | METH_KEYWORDS },
10986 { "wxPyDivisionShape_GetHandleSide", (PyCFunction) _wrap_wxPyDivisionShape_GetHandleSide, METH_VARARGS | METH_KEYWORDS },
10987 { "wxPyDivisionShape_GetBottomSide", (PyCFunction) _wrap_wxPyDivisionShape_GetBottomSide, METH_VARARGS | METH_KEYWORDS },
10988 { "wxPyDivisionShape_EditEdge", (PyCFunction) _wrap_wxPyDivisionShape_EditEdge, METH_VARARGS | METH_KEYWORDS },
10989 { "wxPyDivisionShape_Divide", (PyCFunction) _wrap_wxPyDivisionShape_Divide, METH_VARARGS | METH_KEYWORDS },
10990 { "wxPyDivisionShape_AdjustTop", (PyCFunction) _wrap_wxPyDivisionShape_AdjustTop, METH_VARARGS | METH_KEYWORDS },
10991 { "wxPyDivisionShape_AdjustRight", (PyCFunction) _wrap_wxPyDivisionShape_AdjustRight, METH_VARARGS | METH_KEYWORDS },
10992 { "wxPyDivisionShape_AdjustLeft", (PyCFunction) _wrap_wxPyDivisionShape_AdjustLeft, METH_VARARGS | METH_KEYWORDS },
10993 { "wxPyDivisionShape_AdjustBottom", (PyCFunction) _wrap_wxPyDivisionShape_AdjustBottom, METH_VARARGS | METH_KEYWORDS },
10994 { "wxPyDivisionShape__setSelf", (PyCFunction) _wrap_wxPyDivisionShape__setSelf, METH_VARARGS | METH_KEYWORDS },
10995 { "new_wxPyDivisionShape", (PyCFunction) _wrap_new_wxPyDivisionShape, METH_VARARGS | METH_KEYWORDS },
10996 { "wxPyDividedShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
10997 { "wxPyDividedShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
10998 { "wxPyDividedShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
10999 { "wxPyDividedShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11000 { "wxPyDividedShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
11001 { "wxPyDividedShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
11002 { "wxPyDividedShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
11003 { "wxPyDividedShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
11004 { "wxPyDividedShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
11005 { "wxPyDividedShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
11006 { "wxPyDividedShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
11007 { "wxPyDividedShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
11008 { "wxPyDividedShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11009 { "wxPyDividedShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11010 { "wxPyDividedShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDividedShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
11011 { "wxPyDividedShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
11012 { "wxPyDividedShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDividedShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
11013 { "wxPyDividedShape_base_OnSize", (PyCFunction) _wrap_wxPyDividedShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
11014 { "wxPyDividedShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
11015 { "wxPyDividedShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
11016 { "wxPyDividedShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDividedShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
11017 { "wxPyDividedShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDividedShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
11018 { "wxPyDividedShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
11019 { "wxPyDividedShape_base_OnErase", (PyCFunction) _wrap_wxPyDividedShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
11020 { "wxPyDividedShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDividedShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
11021 { "wxPyDividedShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
11022 { "wxPyDividedShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDividedShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
11023 { "wxPyDividedShape_base_OnDraw", (PyCFunction) _wrap_wxPyDividedShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
11024 { "wxPyDividedShape_base_OnDelete", (PyCFunction) _wrap_wxPyDividedShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
11025 { "wxPyDividedShape_SetRegionSizes", (PyCFunction) _wrap_wxPyDividedShape_SetRegionSizes, METH_VARARGS | METH_KEYWORDS },
11026 { "wxPyDividedShape_EditRegions", (PyCFunction) _wrap_wxPyDividedShape_EditRegions, METH_VARARGS | METH_KEYWORDS },
11027 { "wxPyDividedShape__setSelf", (PyCFunction) _wrap_wxPyDividedShape__setSelf, METH_VARARGS | METH_KEYWORDS },
11028 { "new_wxPyDividedShape", (PyCFunction) _wrap_new_wxPyDividedShape, METH_VARARGS | METH_KEYWORDS },
11029 { "wxPyCompositeShape_base_OnEndSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
11030 { "wxPyCompositeShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
11031 { "wxPyCompositeShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11032 { "wxPyCompositeShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11033 { "wxPyCompositeShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
11034 { "wxPyCompositeShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
11035 { "wxPyCompositeShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
11036 { "wxPyCompositeShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
11037 { "wxPyCompositeShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
11038 { "wxPyCompositeShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
11039 { "wxPyCompositeShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
11040 { "wxPyCompositeShape_base_OnDragRight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
11041 { "wxPyCompositeShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11042 { "wxPyCompositeShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11043 { "wxPyCompositeShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
11044 { "wxPyCompositeShape_base_OnMovePost", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
11045 { "wxPyCompositeShape_base_OnMovePre", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
11046 { "wxPyCompositeShape_base_OnSize", (PyCFunction) _wrap_wxPyCompositeShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
11047 { "wxPyCompositeShape_base_OnRightClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
11048 { "wxPyCompositeShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
11049 { "wxPyCompositeShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyCompositeShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
11050 { "wxPyCompositeShape_base_OnHighlight", (PyCFunction) _wrap_wxPyCompositeShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
11051 { "wxPyCompositeShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
11052 { "wxPyCompositeShape_base_OnErase", (PyCFunction) _wrap_wxPyCompositeShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
11053 { "wxPyCompositeShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyCompositeShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
11054 { "wxPyCompositeShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
11055 { "wxPyCompositeShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
11056 { "wxPyCompositeShape_base_OnDraw", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
11057 { "wxPyCompositeShape_base_OnDelete", (PyCFunction) _wrap_wxPyCompositeShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
11058 { "wxPyCompositeShape_RemoveChild", (PyCFunction) _wrap_wxPyCompositeShape_RemoveChild, METH_VARARGS | METH_KEYWORDS },
11059 { "wxPyCompositeShape_Recompute", (PyCFunction) _wrap_wxPyCompositeShape_Recompute, METH_VARARGS | METH_KEYWORDS },
11060 { "wxPyCompositeShape_MakeContainer", (PyCFunction) _wrap_wxPyCompositeShape_MakeContainer, METH_VARARGS | METH_KEYWORDS },
11061 { "wxPyCompositeShape_GetDivisions", (PyCFunction) _wrap_wxPyCompositeShape_GetDivisions, METH_VARARGS | METH_KEYWORDS },
11062 { "wxPyCompositeShape_GetConstraints", (PyCFunction) _wrap_wxPyCompositeShape_GetConstraints, METH_VARARGS | METH_KEYWORDS },
11063 { "wxPyCompositeShape_FindContainerImage", (PyCFunction) _wrap_wxPyCompositeShape_FindContainerImage, METH_VARARGS | METH_KEYWORDS },
11064 { "wxPyCompositeShape_DeleteConstraintsInvolvingChild", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraintsInvolvingChild, METH_VARARGS | METH_KEYWORDS },
11065 { "wxPyCompositeShape_DeleteConstraint", (PyCFunction) _wrap_wxPyCompositeShape_DeleteConstraint, METH_VARARGS | METH_KEYWORDS },
11066 { "wxPyCompositeShape_ContainsDivision", (PyCFunction) _wrap_wxPyCompositeShape_ContainsDivision, METH_VARARGS | METH_KEYWORDS },
11067 { "wxPyCompositeShape_CalculateSize", (PyCFunction) _wrap_wxPyCompositeShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
11068 { "wxPyCompositeShape_AddSimpleConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddSimpleConstraint, METH_VARARGS | METH_KEYWORDS },
11069 { "wxPyCompositeShape_AddConstraint", (PyCFunction) _wrap_wxPyCompositeShape_AddConstraint, METH_VARARGS | METH_KEYWORDS },
11070 { "wxPyCompositeShape_AddChild", (PyCFunction) _wrap_wxPyCompositeShape_AddChild, METH_VARARGS | METH_KEYWORDS },
11071 { "wxPyCompositeShape__setSelf", (PyCFunction) _wrap_wxPyCompositeShape__setSelf, METH_VARARGS | METH_KEYWORDS },
11072 { "new_wxPyCompositeShape", (PyCFunction) _wrap_new_wxPyCompositeShape, METH_VARARGS | METH_KEYWORDS },
11073 { "wxOGLConstraint_Equals", (PyCFunction) _wrap_wxOGLConstraint_Equals, METH_VARARGS | METH_KEYWORDS },
11074 { "wxOGLConstraint_SetSpacing", (PyCFunction) _wrap_wxOGLConstraint_SetSpacing, METH_VARARGS | METH_KEYWORDS },
11075 { "wxOGLConstraint_Evaluate", (PyCFunction) _wrap_wxOGLConstraint_Evaluate, METH_VARARGS | METH_KEYWORDS },
11076 { "delete_wxOGLConstraint", (PyCFunction) _wrap_delete_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
11077 { "new_wxOGLConstraint", (PyCFunction) _wrap_new_wxOGLConstraint, METH_VARARGS | METH_KEYWORDS },
11078 { "wxPyDrawnShape_base_OnEndSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
11079 { "wxPyDrawnShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
11080 { "wxPyDrawnShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11081 { "wxPyDrawnShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11082 { "wxPyDrawnShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
11083 { "wxPyDrawnShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
11084 { "wxPyDrawnShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
11085 { "wxPyDrawnShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
11086 { "wxPyDrawnShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
11087 { "wxPyDrawnShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
11088 { "wxPyDrawnShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
11089 { "wxPyDrawnShape_base_OnDragRight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
11090 { "wxPyDrawnShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11091 { "wxPyDrawnShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11092 { "wxPyDrawnShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
11093 { "wxPyDrawnShape_base_OnMovePost", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
11094 { "wxPyDrawnShape_base_OnMovePre", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
11095 { "wxPyDrawnShape_base_OnSize", (PyCFunction) _wrap_wxPyDrawnShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
11096 { "wxPyDrawnShape_base_OnRightClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
11097 { "wxPyDrawnShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
11098 { "wxPyDrawnShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyDrawnShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
11099 { "wxPyDrawnShape_base_OnHighlight", (PyCFunction) _wrap_wxPyDrawnShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
11100 { "wxPyDrawnShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
11101 { "wxPyDrawnShape_base_OnErase", (PyCFunction) _wrap_wxPyDrawnShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
11102 { "wxPyDrawnShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyDrawnShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
11103 { "wxPyDrawnShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
11104 { "wxPyDrawnShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
11105 { "wxPyDrawnShape_base_OnDraw", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
11106 { "wxPyDrawnShape_base_OnDelete", (PyCFunction) _wrap_wxPyDrawnShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
11107 { "wxPyDrawnShape_Translate", (PyCFunction) _wrap_wxPyDrawnShape_Translate, METH_VARARGS | METH_KEYWORDS },
11108 { "wxPyDrawnShape_SetSaveToFile", (PyCFunction) _wrap_wxPyDrawnShape_SetSaveToFile, METH_VARARGS | METH_KEYWORDS },
11109 { "wxPyDrawnShape_Scale", (PyCFunction) _wrap_wxPyDrawnShape_Scale, METH_VARARGS | METH_KEYWORDS },
11110 { "wxPyDrawnShape_SetDrawnTextColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnTextColour, METH_VARARGS | METH_KEYWORDS },
11111 { "wxPyDrawnShape_SetDrawnPen", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnPen, METH_VARARGS | METH_KEYWORDS },
11112 { "wxPyDrawnShape_SetDrawnFont", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnFont, METH_VARARGS | METH_KEYWORDS },
11113 { "wxPyDrawnShape_SetDrawnBrush", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBrush, METH_VARARGS | METH_KEYWORDS },
11114 { "wxPyDrawnShape_SetDrawnBackgroundMode", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundMode, METH_VARARGS | METH_KEYWORDS },
11115 { "wxPyDrawnShape_SetDrawnBackgroundColour", (PyCFunction) _wrap_wxPyDrawnShape_SetDrawnBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11116 { "wxPyDrawnShape_SetClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
11117 { "wxPyDrawnShape_Rotate", (PyCFunction) _wrap_wxPyDrawnShape_Rotate, METH_VARARGS | METH_KEYWORDS },
11118 { "wxPyDrawnShape_LoadFromMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
11119 { "wxPyDrawnShape_GetRotation", (PyCFunction) _wrap_wxPyDrawnShape_GetRotation, METH_VARARGS | METH_KEYWORDS },
11120 { "wxPyDrawnShape_GetMetaFile", (PyCFunction) _wrap_wxPyDrawnShape_GetMetaFile, METH_VARARGS | METH_KEYWORDS },
11121 { "wxPyDrawnShape_GetAngle", (PyCFunction) _wrap_wxPyDrawnShape_GetAngle, METH_VARARGS | METH_KEYWORDS },
11122 { "wxPyDrawnShape_DrawText", (PyCFunction) _wrap_wxPyDrawnShape_DrawText, METH_VARARGS | METH_KEYWORDS },
11123 { "wxPyDrawnShape_DrawSpline", (PyCFunction) _wrap_wxPyDrawnShape_DrawSpline, METH_VARARGS | METH_KEYWORDS },
11124 { "wxPyDrawnShape_DrawRoundedRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
11125 { "wxPyDrawnShape_DrawRectangle", (PyCFunction) _wrap_wxPyDrawnShape_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
11126 { "wxPyDrawnShape_DrawPolygon", (PyCFunction) _wrap_wxPyDrawnShape_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
11127 { "wxPyDrawnShape_DrawPoint", (PyCFunction) _wrap_wxPyDrawnShape_DrawPoint, METH_VARARGS | METH_KEYWORDS },
11128 { "wxPyDrawnShape_DrawLines", (PyCFunction) _wrap_wxPyDrawnShape_DrawLines, METH_VARARGS | METH_KEYWORDS },
11129 { "wxPyDrawnShape_DrawLine", (PyCFunction) _wrap_wxPyDrawnShape_DrawLine, METH_VARARGS | METH_KEYWORDS },
11130 { "wxPyDrawnShape_DrawEllipticArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
11131 { "wxPyDrawnShape_DrawAtAngle", (PyCFunction) _wrap_wxPyDrawnShape_DrawAtAngle, METH_VARARGS | METH_KEYWORDS },
11132 { "wxPyDrawnShape_DrawArc", (PyCFunction) _wrap_wxPyDrawnShape_DrawArc, METH_VARARGS | METH_KEYWORDS },
11133 { "wxPyDrawnShape_DestroyClippingRect", (PyCFunction) _wrap_wxPyDrawnShape_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
11134 { "wxPyDrawnShape_CalculateSize", (PyCFunction) _wrap_wxPyDrawnShape_CalculateSize, METH_VARARGS | METH_KEYWORDS },
11135 { "wxPyDrawnShape__setSelf", (PyCFunction) _wrap_wxPyDrawnShape__setSelf, METH_VARARGS | METH_KEYWORDS },
11136 { "new_wxPyDrawnShape", (PyCFunction) _wrap_new_wxPyDrawnShape, METH_VARARGS | METH_KEYWORDS },
11137 { "wxPyBitmapShape_base_OnEndSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
11138 { "wxPyBitmapShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
11139 { "wxPyBitmapShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11140 { "wxPyBitmapShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11141 { "wxPyBitmapShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
11142 { "wxPyBitmapShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
11143 { "wxPyBitmapShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
11144 { "wxPyBitmapShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
11145 { "wxPyBitmapShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
11146 { "wxPyBitmapShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
11147 { "wxPyBitmapShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
11148 { "wxPyBitmapShape_base_OnDragRight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
11149 { "wxPyBitmapShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11150 { "wxPyBitmapShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11151 { "wxPyBitmapShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
11152 { "wxPyBitmapShape_base_OnMovePost", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
11153 { "wxPyBitmapShape_base_OnMovePre", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
11154 { "wxPyBitmapShape_base_OnSize", (PyCFunction) _wrap_wxPyBitmapShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
11155 { "wxPyBitmapShape_base_OnRightClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
11156 { "wxPyBitmapShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
11157 { "wxPyBitmapShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyBitmapShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
11158 { "wxPyBitmapShape_base_OnHighlight", (PyCFunction) _wrap_wxPyBitmapShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
11159 { "wxPyBitmapShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
11160 { "wxPyBitmapShape_base_OnErase", (PyCFunction) _wrap_wxPyBitmapShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
11161 { "wxPyBitmapShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyBitmapShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
11162 { "wxPyBitmapShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
11163 { "wxPyBitmapShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
11164 { "wxPyBitmapShape_base_OnDraw", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
11165 { "wxPyBitmapShape_base_OnDelete", (PyCFunction) _wrap_wxPyBitmapShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
11166 { "wxPyBitmapShape_SetFilename", (PyCFunction) _wrap_wxPyBitmapShape_SetFilename, METH_VARARGS | METH_KEYWORDS },
11167 { "wxPyBitmapShape_SetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_SetBitmap, METH_VARARGS | METH_KEYWORDS },
11168 { "wxPyBitmapShape_GetFilename", (PyCFunction) _wrap_wxPyBitmapShape_GetFilename, METH_VARARGS | METH_KEYWORDS },
11169 { "wxPyBitmapShape_GetBitmap", (PyCFunction) _wrap_wxPyBitmapShape_GetBitmap, METH_VARARGS | METH_KEYWORDS },
11170 { "wxPyBitmapShape__setSelf", (PyCFunction) _wrap_wxPyBitmapShape__setSelf, METH_VARARGS | METH_KEYWORDS },
11171 { "new_wxPyBitmapShape", (PyCFunction) _wrap_new_wxPyBitmapShape, METH_VARARGS | METH_KEYWORDS },
11172 { "wxPyRectangleShape_base_OnEndSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndSize, METH_VARARGS | METH_KEYWORDS },
11173 { "wxPyRectangleShape_base_OnBeginSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginSize, METH_VARARGS | METH_KEYWORDS },
11174 { "wxPyRectangleShape_base_OnSizingEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11175 { "wxPyRectangleShape_base_OnSizingBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11176 { "wxPyRectangleShape_base_OnSizingDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSizingDragLeft, METH_VARARGS | METH_KEYWORDS },
11177 { "wxPyRectangleShape_base_OnMoveLink", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLink, METH_VARARGS | METH_KEYWORDS },
11178 { "wxPyRectangleShape_base_OnEraseControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseControlPoints, METH_VARARGS | METH_KEYWORDS },
11179 { "wxPyRectangleShape_base_OnDrawControlPoints", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawControlPoints, METH_VARARGS | METH_KEYWORDS },
11180 { "wxPyRectangleShape_base_OnDrawOutline", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawOutline, METH_VARARGS | METH_KEYWORDS },
11181 { "wxPyRectangleShape_base_OnEndDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragRight, METH_VARARGS | METH_KEYWORDS },
11182 { "wxPyRectangleShape_base_OnBeginDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragRight, METH_VARARGS | METH_KEYWORDS },
11183 { "wxPyRectangleShape_base_OnDragRight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragRight, METH_VARARGS | METH_KEYWORDS },
11184 { "wxPyRectangleShape_base_OnEndDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEndDragLeft, METH_VARARGS | METH_KEYWORDS },
11185 { "wxPyRectangleShape_base_OnBeginDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnBeginDragLeft, METH_VARARGS | METH_KEYWORDS },
11186 { "wxPyRectangleShape_base_OnDragLeft", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDragLeft, METH_VARARGS | METH_KEYWORDS },
11187 { "wxPyRectangleShape_base_OnMovePost", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePost, METH_VARARGS | METH_KEYWORDS },
11188 { "wxPyRectangleShape_base_OnMovePre", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMovePre, METH_VARARGS | METH_KEYWORDS },
11189 { "wxPyRectangleShape_base_OnSize", (PyCFunction) _wrap_wxPyRectangleShape_base_OnSize, METH_VARARGS | METH_KEYWORDS },
11190 { "wxPyRectangleShape_base_OnRightClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnRightClick, METH_VARARGS | METH_KEYWORDS },
11191 { "wxPyRectangleShape_base_OnLeftDoubleClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftDoubleClick, METH_VARARGS | METH_KEYWORDS },
11192 { "wxPyRectangleShape_base_OnLeftClick", (PyCFunction) _wrap_wxPyRectangleShape_base_OnLeftClick, METH_VARARGS | METH_KEYWORDS },
11193 { "wxPyRectangleShape_base_OnHighlight", (PyCFunction) _wrap_wxPyRectangleShape_base_OnHighlight, METH_VARARGS | METH_KEYWORDS },
11194 { "wxPyRectangleShape_base_OnEraseContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnEraseContents, METH_VARARGS | METH_KEYWORDS },
11195 { "wxPyRectangleShape_base_OnErase", (PyCFunction) _wrap_wxPyRectangleShape_base_OnErase, METH_VARARGS | METH_KEYWORDS },
11196 { "wxPyRectangleShape_base_OnMoveLinks", (PyCFunction) _wrap_wxPyRectangleShape_base_OnMoveLinks, METH_VARARGS | METH_KEYWORDS },
11197 { "wxPyRectangleShape_base_OnDrawBranches", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawBranches, METH_VARARGS | METH_KEYWORDS },
11198 { "wxPyRectangleShape_base_OnDrawContents", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDrawContents, METH_VARARGS | METH_KEYWORDS },
11199 { "wxPyRectangleShape_base_OnDraw", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDraw, METH_VARARGS | METH_KEYWORDS },
11200 { "wxPyRectangleShape_base_OnDelete", (PyCFunction) _wrap_wxPyRectangleShape_base_OnDelete, METH_VARARGS | METH_KEYWORDS },
11201 { "wxPyRectangleShape_SetCornerRadius", (PyCFunction) _wrap_wxPyRectangleShape_SetCornerRadius, METH_VARARGS | METH_KEYWORDS },
11202 { "wxPyRectangleShape__setSelf", (PyCFunction) _wrap_wxPyRectangleShape__setSelf, METH_VARARGS | METH_KEYWORDS },
11203 { "new_wxPyRectangleShape", (PyCFunction) _wrap_new_wxPyRectangleShape, METH_VARARGS | METH_KEYWORDS },
11204 { "wxPseudoMetaFile_SetBackgroundMode", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundMode, METH_VARARGS | METH_KEYWORDS },
11205 { "wxPseudoMetaFile_SetBackgroundColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
11206 { "wxPseudoMetaFile_SetTextColour", (PyCFunction) _wrap_wxPseudoMetaFile_SetTextColour, METH_VARARGS | METH_KEYWORDS },
11207 { "wxPseudoMetaFile_SetFont", (PyCFunction) _wrap_wxPseudoMetaFile_SetFont, METH_VARARGS | METH_KEYWORDS },
11208 { "wxPseudoMetaFile_SetBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetBrush, METH_VARARGS | METH_KEYWORDS },
11209 { "wxPseudoMetaFile_SetPen", (PyCFunction) _wrap_wxPseudoMetaFile_SetPen, METH_VARARGS | METH_KEYWORDS },
11210 { "wxPseudoMetaFile_DestroyClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_DestroyClippingRect, METH_VARARGS | METH_KEYWORDS },
11211 { "wxPseudoMetaFile_SetClippingRect", (PyCFunction) _wrap_wxPseudoMetaFile_SetClippingRect, METH_VARARGS | METH_KEYWORDS },
11212 { "wxPseudoMetaFile_DrawSpline", (PyCFunction) _wrap_wxPseudoMetaFile_DrawSpline, METH_VARARGS | METH_KEYWORDS },
11213 { "wxPseudoMetaFile_DrawPolygon", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPolygon, METH_VARARGS | METH_KEYWORDS },
11214 { "wxPseudoMetaFile_DrawLines", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLines, METH_VARARGS | METH_KEYWORDS },
11215 { "wxPseudoMetaFile_DrawText", (PyCFunction) _wrap_wxPseudoMetaFile_DrawText, METH_VARARGS | METH_KEYWORDS },
11216 { "wxPseudoMetaFile_DrawPoint", (PyCFunction) _wrap_wxPseudoMetaFile_DrawPoint, METH_VARARGS | METH_KEYWORDS },
11217 { "wxPseudoMetaFile_DrawEllipse", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipse, METH_VARARGS | METH_KEYWORDS },
11218 { "wxPseudoMetaFile_DrawEllipticArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawEllipticArc, METH_VARARGS | METH_KEYWORDS },
11219 { "wxPseudoMetaFile_DrawArc", (PyCFunction) _wrap_wxPseudoMetaFile_DrawArc, METH_VARARGS | METH_KEYWORDS },
11220 { "wxPseudoMetaFile_DrawRoundedRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRoundedRectangle, METH_VARARGS | METH_KEYWORDS },
11221 { "wxPseudoMetaFile_DrawRectangle", (PyCFunction) _wrap_wxPseudoMetaFile_DrawRectangle, METH_VARARGS | METH_KEYWORDS },
11222 { "wxPseudoMetaFile_DrawLine", (PyCFunction) _wrap_wxPseudoMetaFile_DrawLine, METH_VARARGS | METH_KEYWORDS },
11223 { "wxPseudoMetaFile_IsValid", (PyCFunction) _wrap_wxPseudoMetaFile_IsValid, METH_VARARGS | METH_KEYWORDS },
11224 { "wxPseudoMetaFile_GetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlineOp, METH_VARARGS | METH_KEYWORDS },
11225 { "wxPseudoMetaFile_SetOutlineOp", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlineOp, METH_VARARGS | METH_KEYWORDS },
11226 { "wxPseudoMetaFile_GetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_GetOutlinePen, METH_VARARGS | METH_KEYWORDS },
11227 { "wxPseudoMetaFile_SetOutlinePen", (PyCFunction) _wrap_wxPseudoMetaFile_SetOutlinePen, METH_VARARGS | METH_KEYWORDS },
11228 { "wxPseudoMetaFile_GetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_GetFillBrush, METH_VARARGS | METH_KEYWORDS },
11229 { "wxPseudoMetaFile_SetFillBrush", (PyCFunction) _wrap_wxPseudoMetaFile_SetFillBrush, METH_VARARGS | METH_KEYWORDS },
11230 { "wxPseudoMetaFile_SetSize", (PyCFunction) _wrap_wxPseudoMetaFile_SetSize, METH_VARARGS | METH_KEYWORDS },
11231 { "wxPseudoMetaFile_GetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_GetRotateable, METH_VARARGS | METH_KEYWORDS },
11232 { "wxPseudoMetaFile_SetRotateable", (PyCFunction) _wrap_wxPseudoMetaFile_SetRotateable, METH_VARARGS | METH_KEYWORDS },
11233 { "wxPseudoMetaFile_CalculateSize", (PyCFunction) _wrap_wxPseudoMetaFile_CalculateSize, METH_VARARGS | METH_KEYWORDS },
11234 { "wxPseudoMetaFile_GetBounds", (PyCFunction) _wrap_wxPseudoMetaFile_GetBounds, METH_VARARGS | METH_KEYWORDS },
11235 { "wxPseudoMetaFile_LoadFromMetaFile", (PyCFunction) _wrap_wxPseudoMetaFile_LoadFromMetaFile, METH_VARARGS | METH_KEYWORDS },
11236 { "wxPseudoMetaFile_Rotate", (PyCFunction) _wrap_wxPseudoMetaFile_Rotate, METH_VARARGS | METH_KEYWORDS },
11237 { "wxPseudoMetaFile_Translate", (PyCFunction) _wrap_wxPseudoMetaFile_Translate, METH_VARARGS | METH_KEYWORDS },
11238 { "wxPseudoMetaFile_ScaleTo", (PyCFunction) _wrap_wxPseudoMetaFile_ScaleTo, METH_VARARGS | METH_KEYWORDS },
11239 { "wxPseudoMetaFile_Scale", (PyCFunction) _wrap_wxPseudoMetaFile_Scale, METH_VARARGS | METH_KEYWORDS },
11240 { "wxPseudoMetaFile_Copy", (PyCFunction) _wrap_wxPseudoMetaFile_Copy, METH_VARARGS | METH_KEYWORDS },
11241 { "wxPseudoMetaFile_Clear", (PyCFunction) _wrap_wxPseudoMetaFile_Clear, METH_VARARGS | METH_KEYWORDS },
11242 { "wxPseudoMetaFile_ReadAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_ReadAttributes, METH_VARARGS | METH_KEYWORDS },
11243 { "wxPseudoMetaFile_WriteAttributes", (PyCFunction) _wrap_wxPseudoMetaFile_WriteAttributes, METH_VARARGS | METH_KEYWORDS },
11244 { "wxPseudoMetaFile_Draw", (PyCFunction) _wrap_wxPseudoMetaFile_Draw, METH_VARARGS | METH_KEYWORDS },
11245 { "delete_wxPseudoMetaFile", (PyCFunction) _wrap_delete_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
11246 { "new_wxPseudoMetaFile", (PyCFunction) _wrap_new_wxPseudoMetaFile, METH_VARARGS | METH_KEYWORDS },
11247 { NULL, NULL }
11248 };
11249 #ifdef __cplusplus
11250 }
11251 #endif
11252 /*
11253 * This table is used by the pointer type-checker
11254 */
11255 static struct { char *n1; char *n2; void *(*pcnv)(void *); } _swig_mapping[] = {
11256 { "_wxAcceleratorTable","_class_wxAcceleratorTable",0},
11257 { "_wxEvent","_class_wxEvent",0},
11258 { "_class_wxActivateEvent","_wxActivateEvent",0},
11259 { "_signed_long","_long",0},
11260 { "_wxMenuEvent","_class_wxMenuEvent",0},
11261 { "_class_wxJPEGHandler","_wxJPEGHandler",0},
11262 { "_wxBMPHandler","_class_wxBMPHandler",0},
11263 { "_wxImage","_class_wxImage",0},
11264 { "_wxPrintQuality","_int",0},
11265 { "_wxPrintQuality","_signed_int",0},
11266 { "_wxPrintQuality","_unsigned_int",0},
11267 { "_wxPrintQuality","_wxWindowID",0},
11268 { "_wxPrintQuality","_uint",0},
11269 { "_wxPrintQuality","_EBool",0},
11270 { "_wxPrintQuality","_size_t",0},
11271 { "_wxFontData","_class_wxFontData",0},
11272 { "___wxPyCleanup","_class___wxPyCleanup",0},
11273 { "_class_wxRegionIterator","_wxRegionIterator",0},
11274 { "_class_wxMenuBar","_wxMenuBar",0},
11275 { "_class_wxPyTreeItemData","_wxPyTreeItemData",0},
11276 { "_class_wxEvtHandler","_wxEvtHandler",0},
11277 { "_wxPaintEvent","_class_wxPaintEvent",0},
11278 { "_wxGIFHandler","_class_wxGIFHandler",0},
11279 { "_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
11280 { "_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
11281 { "_wxPyCompositeShape","_class_wxPyCompositeShape",0},
11282 { "_wxIndividualLayoutConstraint","_class_wxIndividualLayoutConstraint",0},
11283 { "_wxCursor","_class_wxCursor",0},
11284 { "_wxNotifyEvent","_class_wxNotifyEvent",0},
11285 { "_wxImageHandler","_class_wxImageHandler",0},
11286 { "_class_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
11287 { "_class_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
11288 { "_class_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
11289 { "_class_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
11290 { "_class_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
11291 { "_class_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
11292 { "_class_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
11293 { "_class_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
11294 { "_class_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
11295 { "_class_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
11296 { "_class_wxPyRectangleShape","_wxPyRectangleShape",0},
11297 { "_class_wxTreeCtrl","_wxTreeCtrl",0},
11298 { "_wxMask","_class_wxMask",0},
11299 { "_wxToolTip","_class_wxToolTip",0},
11300 { "_wxGrid","_class_wxGrid",0},
11301 { "_wxPNGHandler","_class_wxPNGHandler",0},
11302 { "_class_wxOGLConstraint","_wxOGLConstraint",0},
11303 { "_class_wxColourData","_wxColourData",0},
11304 { "_class_wxPageSetupDialogData","_wxPageSetupDialogData",0},
11305 { "_wxPrinter","_class_wxPrinter",0},
11306 { "_wxPseudoMetaFile","_class_wxPseudoMetaFile",0},
11307 { "_wxPen","_class_wxPen",0},
11308 { "_wxUpdateUIEvent","_class_wxUpdateUIEvent",0},
11309 { "_byte","_unsigned_char",0},
11310 { "_wxStaticBox","_class_wxStaticBox",0},
11311 { "_wxChoice","_class_wxChoice",0},
11312 { "_wxSlider","_class_wxSlider",0},
11313 { "_wxNotebookEvent","_class_wxNotebookEvent",0},
11314 { "_wxPyPrintout","_class_wxPyPrintout",0},
11315 { "_wxShapeRegion","_class_wxShapeRegion",0},
11316 { "_long","_wxDash",0},
11317 { "_long","_unsigned_long",0},
11318 { "_long","_signed_long",0},
11319 { "_wxImageList","_class_wxImageList",0},
11320 { "_wxDropFilesEvent","_class_wxDropFilesEvent",0},
11321 { "_wxBitmapButton","_class_wxBitmapButton",0},
11322 { "_wxSashWindow","_class_wxSashWindow",0},
11323 { "_class_wxPrintDialogData","_wxPrintDialogData",0},
11324 { "_class_wxAcceleratorTable","_wxAcceleratorTable",0},
11325 { "_class_wxGauge","_wxGauge",0},
11326 { "_class_wxSashEvent","_wxSashEvent",0},
11327 { "_wxDC","_class_wxDC",0},
11328 { "_wxListEvent","_class_wxListEvent",0},
11329 { "_class_wxSingleChoiceDialog","_wxSingleChoiceDialog",0},
11330 { "_wxProgressDialog","_class_wxProgressDialog",0},
11331 { "_class_wxBMPHandler","_wxBMPHandler",0},
11332 { "_wxPrintPreview","_class_wxPrintPreview",0},
11333 { "_wxSpinEvent","_class_wxSpinEvent",0},
11334 { "_wxSashLayoutWindow","_class_wxSashLayoutWindow",0},
11335 { "_wxPyBitmapShape","_class_wxPyBitmapShape",0},
11336 { "_size_t","_wxPrintQuality",0},
11337 { "_size_t","_unsigned_int",0},
11338 { "_size_t","_int",0},
11339 { "_size_t","_wxWindowID",0},
11340 { "_size_t","_uint",0},
11341 { "_class_wxRealPoint","_wxRealPoint",0},
11342 { "_class_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
11343 { "_class_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
11344 { "_class_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
11345 { "_class_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
11346 { "_class_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
11347 { "_class_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
11348 { "_class_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
11349 { "_class_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
11350 { "_class_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
11351 { "_class_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
11352 { "_class_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
11353 { "_class_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
11354 { "_class_wxPyShapeEvtHandler","_wxPyShapeEvtHandler",0},
11355 { "_class_wxMenuItem","_wxMenuItem",0},
11356 { "_class_wxPaintEvent","_wxPaintEvent",0},
11357 { "_wxSysColourChangedEvent","_class_wxSysColourChangedEvent",0},
11358 { "_class_wxStatusBar","_wxStatusBar",0},
11359 { "_class_wxGIFHandler","_wxGIFHandler",0},
11360 { "_class_wxPyCompositeShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
11361 { "_class_wxPyCompositeShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyCompositeShape},
11362 { "_class_wxPyCompositeShape","_wxPyCompositeShape",0},
11363 { "_class_wxPostScriptDC","_wxPostScriptDC",0},
11364 { "_wxPanel","_class_wxPanel",0},
11365 { "_wxInitDialogEvent","_class_wxInitDialogEvent",0},
11366 { "_wxCheckBox","_class_wxCheckBox",0},
11367 { "_wxPyEvent","_class_wxPyEvent",0},
11368 { "_wxTextCtrl","_class_wxTextCtrl",0},
11369 { "_class_wxMask","_wxMask",0},
11370 { "_class_wxToolTip","_wxToolTip",0},
11371 { "_class_wxKeyEvent","_wxKeyEvent",0},
11372 { "_class_wxGrid","_wxGrid",0},
11373 { "_class_wxPNGHandler","_wxPNGHandler",0},
11374 { "_wxColour","_class_wxColour",0},
11375 { "_class_wxDialog","_wxDialog",0},
11376 { "_wxPageSetupDialog","_class_wxPageSetupDialog",0},
11377 { "_class_wxPrinter","_wxPrinter",0},
11378 { "_wxIdleEvent","_class_wxIdleEvent",0},
11379 { "_class_wxUpdateUIEvent","_wxUpdateUIEvent",0},
11380 { "_wxToolBar","_class_wxToolBar",0},
11381 { "_wxStaticLine","_class_wxStaticLine",0},
11382 { "_class_wxLayoutAlgorithm","_wxLayoutAlgorithm",0},
11383 { "_wxBrush","_class_wxBrush",0},
11384 { "_wxMiniFrame","_class_wxMiniFrame",0},
11385 { "_class_wxNotebookEvent","_wxNotebookEvent",0},
11386 { "_class_wxPyPrintout","_wxPyPrintout",0},
11387 { "_class_wxSashWindow","_wxSashWindow",0},
11388 { "_wxShowEvent","_class_wxShowEvent",0},
11389 { "_class_wxPyDivisionShape","_wxPyDivisionShape",0},
11390 { "_uint","_wxPrintQuality",0},
11391 { "_uint","_size_t",0},
11392 { "_uint","_unsigned_int",0},
11393 { "_uint","_int",0},
11394 { "_uint","_wxWindowID",0},
11395 { "_class_wxEvent","_wxEvent",0},
11396 { "_wxCheckListBox","_class_wxCheckListBox",0},
11397 { "_wxSplitterEvent","_class_wxSplitterEvent",0},
11398 { "_wxGridEvent","_class_wxGridEvent",0},
11399 { "_wxRect","_class_wxRect",0},
11400 { "_wxCommandEvent","_class_wxCommandEvent",0},
11401 { "_wxSizeEvent","_class_wxSizeEvent",0},
11402 { "_class_wxImage","_wxImage",0},
11403 { "_wxPoint","_class_wxPoint",0},
11404 { "_class_wxSashLayoutWindow","_wxSashLayoutWindow",0},
11405 { "_class_wxPyBitmapShape","_wxPyBitmapShape",0},
11406 { "_class_wxButton","_wxButton",0},
11407 { "_wxRadioBox","_class_wxRadioBox",0},
11408 { "_class_wxFontData","_wxFontData",0},
11409 { "_class___wxPyCleanup","___wxPyCleanup",0},
11410 { "_wxBitmap","_class_wxBitmap",0},
11411 { "_wxPrintDialog","_class_wxPrintDialog",0},
11412 { "_wxPyTimer","_class_wxPyTimer",0},
11413 { "_wxWindowDC","_class_wxWindowDC",0},
11414 { "_wxScrollBar","_class_wxScrollBar",0},
11415 { "_wxSpinButton","_class_wxSpinButton",0},
11416 { "_wxToolBarTool","_class_wxToolBarTool",0},
11417 { "_wxColourDialog","_class_wxColourDialog",0},
11418 { "_wxPrintData","_class_wxPrintData",0},
11419 { "_class_wxIndividualLayoutConstraint","_wxIndividualLayoutConstraint",0},
11420 { "_class_wxNotifyEvent","_wxNotifyEvent",0},
11421 { "_wxMessageDialog","_class_wxMessageDialog",0},
11422 { "_class_wxPyEvent","_wxPyEvent",0},
11423 { "_wxTextEntryDialog","_class_wxTextEntryDialog",0},
11424 { "_class_wxIconizeEvent","_wxIconizeEvent",0},
11425 { "_class_wxStaticBitmap","_wxStaticBitmap",0},
11426 { "_class_wxPyDrawnShape","_wxPyDrawnShape",0},
11427 { "_wxMDIChildFrame","_class_wxMDIChildFrame",0},
11428 { "_wxListItem","_class_wxListItem",0},
11429 { "_class_wxPseudoMetaFile","_wxPseudoMetaFile",0},
11430 { "_class_wxToolBar","_wxToolBar",0},
11431 { "_class_wxStaticLine","_wxStaticLine",0},
11432 { "_wxScrollEvent","_class_wxScrollEvent",0},
11433 { "_wxCalculateLayoutEvent","_class_wxCalculateLayoutEvent",0},
11434 { "_class_wxShapeRegion","_wxShapeRegion",0},
11435 { "_EBool","_wxPrintQuality",0},
11436 { "_EBool","_signed_int",0},
11437 { "_EBool","_int",0},
11438 { "_EBool","_wxWindowID",0},
11439 { "_class_wxRegion","_wxRegion",0},
11440 { "_class_wxDropFilesEvent","_wxDropFilesEvent",0},
11441 { "_class_wxPreviewFrame","_wxPreviewFrame",0},
11442 { "_wxStaticText","_class_wxStaticText",0},
11443 { "_wxFont","_class_wxFont",0},
11444 { "_wxCloseEvent","_class_wxCloseEvent",0},
11445 { "_class_wxSplitterEvent","_wxSplitterEvent",0},
11446 { "_wxNotebook","_class_wxNotebook",0},
11447 { "_unsigned_long","_wxDash",0},
11448 { "_unsigned_long","_long",0},
11449 { "_class_wxRect","_wxRect",0},
11450 { "_class_wxDC","_wxDC",0},
11451 { "_wxScrollWinEvent","_class_wxScrollWinEvent",0},
11452 { "_class_wxProgressDialog","_wxProgressDialog",0},
11453 { "_wxPyApp","_class_wxPyApp",0},
11454 { "_wxMDIParentFrame","_class_wxMDIParentFrame",0},
11455 { "_class_wxTreeEvent","_wxTreeEvent",0},
11456 { "_class_wxDirDialog","_wxDirDialog",0},
11457 { "_class_wxPyTimer","_wxPyTimer",0},
11458 { "_wxFocusEvent","_class_wxFocusEvent",0},
11459 { "_wxMaximizeEvent","_class_wxMaximizeEvent",0},
11460 { "_class_wxSpinButton","_wxSpinButton",0},
11461 { "_wxAcceleratorEntry","_class_wxAcceleratorEntry",0},
11462 { "_class_wxPanel","_wxPanel",0},
11463 { "_class_wxCheckBox","_wxCheckBox",0},
11464 { "_wxComboBox","_class_wxComboBox",0},
11465 { "_wxRadioButton","_class_wxRadioButton",0},
11466 { "_class_wxMessageDialog","_wxMessageDialog",0},
11467 { "_signed_int","_wxPrintQuality",0},
11468 { "_signed_int","_EBool",0},
11469 { "_signed_int","_wxWindowID",0},
11470 { "_signed_int","_int",0},
11471 { "_class_wxTextCtrl","_wxTextCtrl",0},
11472 { "_wxLayoutConstraints","_class_wxLayoutConstraints",0},
11473 { "_wxMenu","_class_wxMenu",0},
11474 { "_class_wxMoveEvent","_wxMoveEvent",0},
11475 { "_wxListBox","_class_wxListBox",0},
11476 { "_wxScreenDC","_class_wxScreenDC",0},
11477 { "_class_wxMDIChildFrame","_wxMDIChildFrame",0},
11478 { "_WXTYPE","_short",0},
11479 { "_WXTYPE","_signed_short",0},
11480 { "_WXTYPE","_unsigned_short",0},
11481 { "_wxFileDialog","_class_wxFileDialog",0},
11482 { "_class_wxMDIClientWindow","_wxMDIClientWindow",0},
11483 { "_class_wxBrush","_wxBrush",0},
11484 { "_unsigned_short","_WXTYPE",0},
11485 { "_unsigned_short","_short",0},
11486 { "_class_wxWindow","_wxWindow",0},
11487 { "_wxSplitterWindow","_class_wxSplitterWindow",0},
11488 { "_class_wxStaticText","_wxStaticText",0},
11489 { "_wxPrintDialogData","_class_wxPrintDialogData",0},
11490 { "_class_wxFont","_wxFont",0},
11491 { "_class_wxCloseEvent","_wxCloseEvent",0},
11492 { "_wxSashEvent","_class_wxSashEvent",0},
11493 { "_class_wxMenuEvent","_wxMenuEvent",0},
11494 { "_wxClientDC","_class_wxClientDC",0},
11495 { "_wxMouseEvent","_class_wxMouseEvent",0},
11496 { "_wxListCtrl","_class_wxListCtrl",0},
11497 { "_wxSingleChoiceDialog","_class_wxSingleChoiceDialog",0},
11498 { "_wxPyDividedShape","_class_wxPyDividedShape",0},
11499 { "_class_wxPoint","_wxPoint",0},
11500 { "_wxRealPoint","_class_wxRealPoint",0},
11501 { "_class_wxRadioBox","_wxRadioBox",0},
11502 { "_wxGridCell","_class_wxGridCell",0},
11503 { "_signed_short","_WXTYPE",0},
11504 { "_signed_short","_short",0},
11505 { "_wxMemoryDC","_class_wxMemoryDC",0},
11506 { "_class_wxPrintDialog","_wxPrintDialog",0},
11507 { "_wxPaintDC","_class_wxPaintDC",0},
11508 { "_class_wxWindowDC","_wxWindowDC",0},
11509 { "_class_wxFocusEvent","_wxFocusEvent",0},
11510 { "_class_wxMaximizeEvent","_wxMaximizeEvent",0},
11511 { "_wxStatusBar","_class_wxStatusBar",0},
11512 { "_class_wxToolBarTool","_wxToolBarTool",0},
11513 { "_class_wxAcceleratorEntry","_wxAcceleratorEntry",0},
11514 { "_class_wxCursor","_wxCursor",0},
11515 { "_wxPostScriptDC","_class_wxPostScriptDC",0},
11516 { "_class_wxImageHandler","_wxImageHandler",0},
11517 { "_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
11518 { "_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
11519 { "_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
11520 { "_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
11521 { "_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
11522 { "_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
11523 { "_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
11524 { "_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
11525 { "_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
11526 { "_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
11527 { "_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
11528 { "_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
11529 { "_wxPyShape","_class_wxPyShape",0},
11530 { "_wxScrolledWindow","_class_wxScrolledWindow",0},
11531 { "_wxTreeItemId","_class_wxTreeItemId",0},
11532 { "_unsigned_char","_byte",0},
11533 { "_class_wxMenu","_wxMenu",0},
11534 { "_wxControl","_class_wxControl",0},
11535 { "_class_wxListBox","_wxListBox",0},
11536 { "_unsigned_int","_wxPrintQuality",0},
11537 { "_unsigned_int","_size_t",0},
11538 { "_unsigned_int","_uint",0},
11539 { "_unsigned_int","_wxWindowID",0},
11540 { "_unsigned_int","_int",0},
11541 { "_wxIcon","_class_wxIcon",0},
11542 { "_wxDialog","_class_wxDialog",0},
11543 { "_class_wxListItem","_wxListItem",0},
11544 { "_class_wxPen","_wxPen",0},
11545 { "_class_wxFileDialog","_wxFileDialog",0},
11546 { "_wxQueryLayoutInfoEvent","_class_wxQueryLayoutInfoEvent",0},
11547 { "_short","_WXTYPE",0},
11548 { "_short","_unsigned_short",0},
11549 { "_short","_signed_short",0},
11550 { "_class_wxStaticBox","_wxStaticBox",0},
11551 { "_wxLayoutAlgorithm","_class_wxLayoutAlgorithm",0},
11552 { "_class_wxScrollEvent","_wxScrollEvent",0},
11553 { "_wxJoystickEvent","_class_wxJoystickEvent",0},
11554 { "_class_wxChoice","_wxChoice",0},
11555 { "_class_wxSlider","_wxSlider",0},
11556 { "_class_wxCalculateLayoutEvent","_wxCalculateLayoutEvent",0},
11557 { "_class_wxImageList","_wxImageList",0},
11558 { "_class_wxBitmapButton","_wxBitmapButton",0},
11559 { "_wxFrame","_class_wxFrame",0},
11560 { "_wxPyDivisionShape","_class_wxPyDivisionShape",0},
11561 { "_class_wxNotebook","_wxNotebook",0},
11562 { "_wxJPEGHandler","_class_wxJPEGHandler",0},
11563 { "_wxWindowID","_wxPrintQuality",0},
11564 { "_wxWindowID","_size_t",0},
11565 { "_wxWindowID","_EBool",0},
11566 { "_wxWindowID","_uint",0},
11567 { "_wxWindowID","_int",0},
11568 { "_wxWindowID","_signed_int",0},
11569 { "_wxWindowID","_unsigned_int",0},
11570 { "_class_wxScrollWinEvent","_wxScrollWinEvent",0},
11571 { "_int","_wxPrintQuality",0},
11572 { "_int","_size_t",0},
11573 { "_int","_EBool",0},
11574 { "_int","_uint",0},
11575 { "_int","_wxWindowID",0},
11576 { "_int","_unsigned_int",0},
11577 { "_int","_signed_int",0},
11578 { "_class_wxMouseEvent","_wxMouseEvent",0},
11579 { "_class_wxListEvent","_wxListEvent",0},
11580 { "_class_wxPrintPreview","_wxPrintPreview",0},
11581 { "_class_wxSpinEvent","_wxSpinEvent",0},
11582 { "_wxButton","_class_wxButton",0},
11583 { "_class_wxPyApp","_wxPyApp",0},
11584 { "_wxSize","_class_wxSize",0},
11585 { "_wxRegionIterator","_class_wxRegionIterator",0},
11586 { "_class_wxMDIParentFrame","_wxMDIParentFrame",0},
11587 { "_wxPyTreeItemData","_class_wxPyTreeItemData",0},
11588 { "_class_wxPaintDC","_wxPaintDC",0},
11589 { "_class_wxSysColourChangedEvent","_wxSysColourChangedEvent",0},
11590 { "_class_wxInitDialogEvent","_wxInitDialogEvent",0},
11591 { "_class_wxComboBox","_wxComboBox",0},
11592 { "_class_wxRadioButton","_wxRadioButton",0},
11593 { "_class_wxPyShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
11594 { "_class_wxPyShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShape},
11595 { "_class_wxPyShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
11596 { "_class_wxPyShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShape},
11597 { "_class_wxPyShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
11598 { "_class_wxPyShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShape},
11599 { "_class_wxPyShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
11600 { "_class_wxPyShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShape},
11601 { "_class_wxPyShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
11602 { "_class_wxPyShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShape},
11603 { "_class_wxPyShape","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
11604 { "_class_wxPyShape","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShape},
11605 { "_class_wxPyShape","_wxPyShape",0},
11606 { "_class_wxTreeItemId","_wxTreeItemId",0},
11607 { "_wxTreeCtrl","_class_wxTreeCtrl",0},
11608 { "_class_wxLayoutConstraints","_wxLayoutConstraints",0},
11609 { "_wxIconizeEvent","_class_wxIconizeEvent",0},
11610 { "_class_wxControl","_wxControl",0},
11611 { "_wxStaticBitmap","_class_wxStaticBitmap",0},
11612 { "_wxPyDrawnShape","_class_wxPyDrawnShape",0},
11613 { "_class_wxIcon","_wxIcon",0},
11614 { "_class_wxColour","_wxColour",0},
11615 { "_class_wxScreenDC","_wxScreenDC",0},
11616 { "_class_wxPageSetupDialog","_wxPageSetupDialog",0},
11617 { "_wxPalette","_class_wxPalette",0},
11618 { "_class_wxIdleEvent","_wxIdleEvent",0},
11619 { "_wxEraseEvent","_class_wxEraseEvent",0},
11620 { "_class_wxJoystickEvent","_wxJoystickEvent",0},
11621 { "_class_wxMiniFrame","_wxMiniFrame",0},
11622 { "_wxFontDialog","_class_wxFontDialog",0},
11623 { "_wxRegion","_class_wxRegion",0},
11624 { "_class_wxSplitterWindow","_wxSplitterWindow",0},
11625 { "_wxPreviewFrame","_class_wxPreviewFrame",0},
11626 { "_class_wxShowEvent","_wxShowEvent",0},
11627 { "_wxActivateEvent","_class_wxActivateEvent",0},
11628 { "_wxGauge","_class_wxGauge",0},
11629 { "_class_wxCheckListBox","_wxCheckListBox",0},
11630 { "_class_wxGridEvent","_wxGridEvent",0},
11631 { "_class_wxCommandEvent","_wxCommandEvent",0},
11632 { "_class_wxClientDC","_wxClientDC",0},
11633 { "_class_wxSizeEvent","_wxSizeEvent",0},
11634 { "_class_wxListCtrl","_wxListCtrl",0},
11635 { "_class_wxPyDividedShape","_wxPyDividedShape",0},
11636 { "_class_wxGridCell","_wxGridCell",0},
11637 { "_class_wxSize","_wxSize",0},
11638 { "_class_wxBitmap","_wxBitmap",0},
11639 { "_class_wxMemoryDC","_wxMemoryDC",0},
11640 { "_wxMenuBar","_class_wxMenuBar",0},
11641 { "_wxTreeEvent","_class_wxTreeEvent",0},
11642 { "_wxDirDialog","_class_wxDirDialog",0},
11643 { "_wxPyShapeEvtHandler","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
11644 { "_wxPyShapeEvtHandler","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyShapeEvtHandler},
11645 { "_wxPyShapeEvtHandler","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
11646 { "_wxPyShapeEvtHandler","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyShapeEvtHandler},
11647 { "_wxPyShapeEvtHandler","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
11648 { "_wxPyShapeEvtHandler","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyShapeEvtHandler},
11649 { "_wxPyShapeEvtHandler","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
11650 { "_wxPyShapeEvtHandler","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyShapeEvtHandler},
11651 { "_wxPyShapeEvtHandler","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
11652 { "_wxPyShapeEvtHandler","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyShapeEvtHandler},
11653 { "_wxPyShapeEvtHandler","_class_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
11654 { "_wxPyShapeEvtHandler","_wxPyRectangleShape",SwigwxPyRectangleShapeTowxPyShapeEvtHandler},
11655 { "_wxPyShapeEvtHandler","_class_wxPyShapeEvtHandler",0},
11656 { "_wxEvtHandler","_class_wxEvtHandler",0},
11657 { "_wxMenuItem","_class_wxMenuItem",0},
11658 { "_class_wxScrollBar","_wxScrollBar",0},
11659 { "_class_wxColourDialog","_wxColourDialog",0},
11660 { "_class_wxPrintData","_wxPrintData",0},
11661 { "_wxDash","_unsigned_long",0},
11662 { "_wxDash","_long",0},
11663 { "_wxPyRectangleShape","_class_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
11664 { "_wxPyRectangleShape","_wxPyDivisionShape",SwigwxPyDivisionShapeTowxPyRectangleShape},
11665 { "_wxPyRectangleShape","_class_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
11666 { "_wxPyRectangleShape","_wxPyDividedShape",SwigwxPyDividedShapeTowxPyRectangleShape},
11667 { "_wxPyRectangleShape","_class_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
11668 { "_wxPyRectangleShape","_wxPyCompositeShape",SwigwxPyCompositeShapeTowxPyRectangleShape},
11669 { "_wxPyRectangleShape","_class_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
11670 { "_wxPyRectangleShape","_wxPyDrawnShape",SwigwxPyDrawnShapeTowxPyRectangleShape},
11671 { "_wxPyRectangleShape","_class_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
11672 { "_wxPyRectangleShape","_wxPyBitmapShape",SwigwxPyBitmapShapeTowxPyRectangleShape},
11673 { "_wxPyRectangleShape","_class_wxPyRectangleShape",0},
11674 { "_class_wxScrolledWindow","_wxScrolledWindow",0},
11675 { "_class_wxTextEntryDialog","_wxTextEntryDialog",0},
11676 { "_wxKeyEvent","_class_wxKeyEvent",0},
11677 { "_wxMoveEvent","_class_wxMoveEvent",0},
11678 { "_wxOGLConstraint","_class_wxOGLConstraint",0},
11679 { "_wxColourData","_class_wxColourData",0},
11680 { "_wxPageSetupDialogData","_class_wxPageSetupDialogData",0},
11681 { "_class_wxPalette","_wxPalette",0},
11682 { "_class_wxQueryLayoutInfoEvent","_wxQueryLayoutInfoEvent",0},
11683 { "_class_wxEraseEvent","_wxEraseEvent",0},
11684 { "_wxMDIClientWindow","_class_wxMDIClientWindow",0},
11685 { "_class_wxFontDialog","_wxFontDialog",0},
11686 { "_wxWindow","_class_wxWindow",0},
11687 { "_class_wxFrame","_wxFrame",0},
11688 {0,0,0}};
11689
11690 static PyObject *SWIG_globals;
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 SWIGEXPORT(void) initoglshapesc() {
11695 PyObject *m, *d;
11696 SWIG_globals = SWIG_newvarlink();
11697 m = Py_InitModule("oglshapesc", oglshapescMethods);
11698 d = PyModule_GetDict(m);
11699 {
11700 int i;
11701 for (i = 0; _swig_mapping[i].n1; i++)
11702 SWIG_RegisterMapping(_swig_mapping[i].n1,_swig_mapping[i].n2,_swig_mapping[i].pcnv);
11703 }
11704 }